Skip to content

Commit 3d9d9da

Browse files
committed
Merge branch 'main' into cline
2 parents 0999846 + c342a32 commit 3d9d9da

File tree

10 files changed

+98
-92
lines changed

10 files changed

+98
-92
lines changed

.github/dependabot.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,26 @@ updates:
33
- package-ecosystem: 'npm'
44
directory: '/'
55
schedule:
6-
interval: 'daily'
6+
interval: 'weekly'
77
groups:
88
docusaurus:
99
patterns:
1010
- '*docusaurus*'
11-
eslint:
11+
linters:
1212
patterns:
13-
- '*eslint*'
13+
- '*lint*'
14+
- 'globals'
15+
- 'husky'
16+
- 'prettier'
1417
ignore:
1518
# Pin key docusaurus dependencies to major versions
19+
- dependency-name: 'react'
20+
update-types: ['version-update:semver-major']
1621
- dependency-name: '@mdx-js/react'
1722
update-types: ['version-update:semver-major']
1823
- dependency-name: 'prism-react-renderer'
1924
update-types: ['version-update:semver-major']
2025
- package-ecosystem: 'github-actions'
2126
directory: '/'
2227
schedule:
23-
interval: 'daily'
28+
interval: 'weekly'

.github/workflows/_security-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3333

3434
- name: Set up Node.js
35-
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
35+
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
3636
with:
3737
node-version: '22'
3838

STYLE-GUIDE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ sentence.
210210

211211
### Products/brands
212212

213+
**aider** - an open source AI pair programmer in your terminal. It's written
214+
lowercase unless it starts a sentence.
215+
213216
**Continue** - an open source AI coding assistant for IDEs that connects to many
214217
model providers. It's written as just "Continue" (not "Continue.dev", which is
215218
their website).

docs/about/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Related: [Upgrade CodeGate](../how-to/install.md#upgrade-codegate)
2424
[Workspaces](../features/workspaces.mdx).
2525

2626
- **Aider support** - 13 Jan, 2025\
27-
CodeGate version 0.1.6 adds support for [Aider](https://aider.chat/), an LLM
27+
CodeGate version 0.1.6 adds support for [aider](https://aider.chat/), an AI
2828
pair programmer in your terminal. See the
2929
[how-to guide](../how-to/use-with-aider.mdx) to learn more.
3030

docs/how-to/install.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ application settings, see [Configure CodeGate](./configure.md)
4242

4343
### Alternative run commands {#examples}
4444

45-
Run with minimal functionality for use with **Continue**, **Aider**, or
45+
Run with minimal functionality for use with **Continue**, **aider**, or
4646
**Cline**:
4747

4848
```bash
@@ -151,17 +151,17 @@ persistent volume.
151151

152152
Now that CodeGate is running, proceed to configure your IDE integration.
153153

154-
- [Use CodeGate with GitHub Copilot](./use-with-copilot.mdx)
155-
- [Use CodeGate with Continue](./use-with-continue.mdx)
156-
- [Use CodeGate with Aider](./use-with-aider.mdx)
154+
- [Use CodeGate with aider](./use-with-aider.mdx)
157155
- [Use CodeGate with Cline](./use-with-cline.mdx)
156+
- [Use CodeGate with Continue](./use-with-continue.mdx)
157+
- [Use CodeGate with GitHub Copilot](./use-with-copilot.mdx)
158158

159159
## Remove CodeGate
160160

161161
If you decide to stop using CodeGate, follow the removal steps for your IDE
162162
integration:
163163

164-
- [Remove CodeGate - GitHub Copilot](./use-with-copilot.mdx#remove-codegate)
165-
- [Remove CodeGate - Continue](./use-with-continue.mdx#remove-codegate)
166-
- [Remove CodeGate - Aider](./use-with-aider.mdx#remove-codegate)
164+
- [Remove CodeGate - aider](./use-with-aider.mdx#remove-codegate)
167165
- [Remove CodeGate - Cline](./use-with-cline.mdx#remove-codegate)
166+
- [Remove CodeGate - Continue](./use-with-continue.mdx#remove-codegate)
167+
- [Remove CodeGate - GitHub Copilot](./use-with-copilot.mdx#remove-codegate)

docs/how-to/use-with-aider.mdx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Use CodeGate with Aider
3-
description: Configure the Aider for CodeGate
4-
sidebar_label: Use with Aider
2+
title: Use CodeGate with aider
3+
description: Configure aider for CodeGate
4+
sidebar_label: Use with aider
55
sidebar_position: 90
66
---
77

@@ -10,7 +10,7 @@ import AiderProviders from '../partials/_aider-providers.mdx';
1010
[Aider](https://aider.chat/) is an open source AI coding assistant that lets you
1111
pair program with LLMs in your terminal.
1212

13-
CodeGate works with the following AI model providers through Aider:
13+
CodeGate works with the following AI model providers through aider:
1414

1515
- Local / self-managed:
1616
- [Ollama](https://ollama.com/)
@@ -19,21 +19,21 @@ CodeGate works with the following AI model providers through Aider:
1919

2020
:::note
2121

22-
This guide assumes you have already installed Aider using their
22+
This guide assumes you have already installed aider using their
2323
[installation instructions](https://aider.chat/docs/install.html).
2424

2525
:::
2626

27-
## Configure Aider to use CodeGate
27+
## Configure aider to use CodeGate
2828

29-
To configure Aider to send requests through CodeGate:
29+
To configure aider to send requests through CodeGate:
3030

3131
<AiderProviders />
3232

3333
## Verify configuration
3434

35-
To verify that you've successfully connected Aider to CodeGate, type
36-
`/ask codegate version` into the Aider chat in your terminal. You should receive
35+
To verify that you've successfully connected aider to CodeGate, type
36+
`/ask codegate version` into the aider chat in your terminal. You should receive
3737
a response like "CodeGate version 0.1.7":
3838

3939
## Next steps
@@ -48,7 +48,7 @@ Learn more about CodeGate's features:
4848
If you decide to stop using CodeGate, follow these steps to remove it and revert
4949
your environment.
5050

51-
1. Stop Aider and unset the environment variables you set during the
51+
1. Quit aider and unset the environment variables you set during the
5252
configuration process:
5353

5454
**OpenAI:** `unset OPENAI_API_BASE` (macOS/Linux) or
@@ -57,8 +57,6 @@ your environment.
5757
**Ollama:** `unset OLLAMA_API_BASE` (macOS/Linux) or
5858
`setx OLLAMA_API_BASE ""` (Windows)
5959

60-
1. Re-launch Aider.
61-
6260
1. Stop and remove the CodeGate container:
6361

6462
```bash

docs/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ sidebar_position: 1
88

99
## What is CodeGate?
1010

11-
CodeGate is local prompt gateway that sits between your AI coding assistant and
12-
LLM to enhance privacy and security. CodeGate performs code security reviews,
13-
identifies vulnerabilities in package dependencies, and prevents sensitive data
14-
like secrets from being shared with AI models.
11+
CodeGate is a local prompt gateway that sits between your AI coding assistant
12+
and LLM to enhance privacy and security. CodeGate performs code security
13+
reviews, identifies vulnerabilities in package dependencies, and prevents
14+
sensitive data like secrets from being shared with AI models.
1515

1616
```mermaid
1717
sequenceDiagram

docs/partials/_aider-providers.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ You need an [OpenAI API](https://openai.com/api/) account to use this provider.
1010
To use a different OpenAI-compatible endpoint, set the `CODEGATE_OPENAI_URL`
1111
[configuration parameter](../how-to/configure.md#config-parameters).
1212

13-
Before you run Aider, set environment variables for your API key and to set the
14-
API base URL to CodeGate's API port. Alternately, use one of Aider's other
13+
Before you run aider, set environment variables for your API key and to set the
14+
API base URL to CodeGate's API port. Alternately, use one of aider's other
1515
[supported configuration methods](https://aider.chat/docs/config/api-keys.html)
1616
to set the corresponding values.
1717

@@ -51,7 +51,7 @@ Replace `<YOUR_API_KEY>` with your
5151
[OpenAI API key](https://platform.openai.com/api-keys).
5252

5353
Then run `aider` as normal. For more information, see the
54-
[Aider docs for connecting to OpenAI](https://aider.chat/docs/llms/openai.html).
54+
[aider docs for connecting to OpenAI](https://aider.chat/docs/llms/openai.html).
5555

5656
</TabItem>
5757
<TabItem value="ollama" label="Ollama">
@@ -64,8 +64,8 @@ changed the default Ollama server port or to connect to a remote Ollama
6464
instance, launch CodeGate with the `CODEGATE_OLLAMA_URL` environment variable
6565
set to the correct URL. See [Configure CodeGate](../how-to/configure.md).
6666

67-
Before you run Aider, set the Ollama base URL to CodeGate's API port using an
68-
environment variable. Alternately, use one of Aider's other
67+
Before you run aider, set the Ollama base URL to CodeGate's API port using an
68+
environment variable. Alternately, use one of aider's other
6969
[supported configuration methods](https://aider.chat/docs/config/api-keys.html)
7070
to set the corresponding values.
7171

@@ -79,7 +79,7 @@ export OLLAMA_API_BASE=http://localhost:8989/ollama
7979
:::note
8080

8181
To persist this setting, add it to your shell profile (e.g., `~/.bashrc` or
82-
`~/.zshrc`) or use one of Aider's other
82+
`~/.zshrc`) or use one of's aider's other
8383
[supported configuration methods](https://aider.chat/docs/config/api-keys.html).
8484

8585
:::
@@ -100,7 +100,7 @@ Restart your shell after running `setx`.
100100
</TabItem>
101101
</Tabs>
102102

103-
Then run Aider:
103+
Then run aider:
104104

105105
```bash
106106
aider --model ollama_chat/<MODEL_NAME>
@@ -112,7 +112,7 @@ locally using `ollama pull`.
112112
<LocalModelRecommendation />
113113

114114
For more information, see the
115-
[Aider docs for connecting to Ollama](https://aider.chat/docs/llms/ollama.html).
115+
[aider docs for connecting to Ollama](https://aider.chat/docs/llms/ollama.html).
116116

117117
</TabItem>
118118
</Tabs>

0 commit comments

Comments
 (0)