From 97256257f960b7dd62666a8b4906ed338cb24a5e Mon Sep 17 00:00:00 2001 From: Dan Barr Date: Fri, 17 Jan 2025 16:43:09 -0500 Subject: [PATCH 1/2] Update codegate version command --- docs/how-to/use-with-aider.mdx | 2 +- docs/how-to/use-with-continue.mdx | 2 +- docs/how-to/use-with-copilot.mdx | 2 +- docs/quickstart-continue.mdx | 2 +- docs/quickstart-copilot.mdx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/how-to/use-with-aider.mdx b/docs/how-to/use-with-aider.mdx index e051408..9ec75ee 100644 --- a/docs/how-to/use-with-aider.mdx +++ b/docs/how-to/use-with-aider.mdx @@ -33,7 +33,7 @@ To configure Aider to send requests through CodeGate: ## Verify configuration To verify that you've successfully connected Aider to CodeGate, type -`/ask codegate-version` into the Aider chat in your terminal. You should receive +`/ask codegate version` into the Aider chat in your terminal. You should receive a response like "CodeGate version 0.1.7": ## Next steps diff --git a/docs/how-to/use-with-continue.mdx b/docs/how-to/use-with-continue.mdx index aa14a32..1139ee8 100644 --- a/docs/how-to/use-with-continue.mdx +++ b/docs/how-to/use-with-continue.mdx @@ -379,7 +379,7 @@ Otherwise, remove the `apiKey` parameter from both sections. ## Verify configuration To verify that you've successfully connected Continue to CodeGate, open the -Continue chat and type `codegate-version`. You should receive a response like +Continue chat and type `codegate version`. You should receive a response like "CodeGate version 0.1.7": -Enter `codegate-version` in the chat box to confirm that Continue is +Enter `codegate version` in the chat box to confirm that Continue is communicating with CodeGate. CodeGate responds with its version number. ## Explore CodeGate's features diff --git a/docs/quickstart-copilot.mdx b/docs/quickstart-copilot.mdx index 3e20fc9..532da9e 100644 --- a/docs/quickstart-copilot.mdx +++ b/docs/quickstart-copilot.mdx @@ -94,7 +94,7 @@ Add the following settings to your configuration: } ``` -Enter `codegate-version` in the Copilot chat to confirm that CodeGate is +Enter `codegate version` in the Copilot chat to confirm that CodeGate is intercepting Copilot traffic. CodeGate responds with its version number. ## Explore CodeGate's key features From 4bdcd4eefffb0064bf8be5dc803415b11b09c199 Mon Sep 17 00:00:00 2001 From: Dan Barr Date: Fri, 17 Jan 2025 16:50:04 -0500 Subject: [PATCH 2/2] Fix lint-staged coverage --- .lintstagedrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.lintstagedrc b/.lintstagedrc index 5a624ac..d32a243 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,5 +1,5 @@ { - "*.{js,jsx,ts,tsx,mjs,cjs}": ["npx prettier --write", "npx eslint --fix"], + "*.{js,jsx,ts,tsx,mjs,cjs,mdx}": ["npx prettier --write", "npx eslint --fix"], "*.md": ["npx prettier --write", "npx markdownlint-cli2 --fix"], - "*.css": ["npx prettier --write"] + "*.{css,json,jsonc,yaml,yml}": ["npx prettier --write"] }