You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/web/src/content/docs/agents.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ You can switch between agents during a session or invoke them with the `@` menti
15
15
16
16
## Types
17
17
18
-
There are two types of agents in opencode; primary agents and subagents.
18
+
There are two types of agents in OpenCode; primary agents and subagents.
19
19
20
20
---
21
21
@@ -27,7 +27,7 @@ Primary agents are the main assistants you interact with directly. You can cycle
27
27
You can use the **Tab** key to switch between primary agents during a session.
28
28
:::
29
29
30
-
opencode comes with two built-in primary agents, **Build** and **Plan**. We'll
30
+
OpenCode comes with two built-in primary agents, **Build** and **Plan**. We'll
31
31
look at these below.
32
32
33
33
---
@@ -36,13 +36,13 @@ look at these below.
36
36
37
37
Subagents are specialized assistants that primary agents can invoke for specific tasks. You can also manually invoke them by **@ mentioning** them in your messages.
38
38
39
-
opencode comes with one built-in subagent, **General**. We'll look at this below.
39
+
OpenCode comes with one built-in subagent, **General**. We'll look at this below.
40
40
41
41
---
42
42
43
43
## Built-in
44
44
45
-
opencode comes with two built-in primary agents and one built-in subagent.
45
+
OpenCode comes with two built-in primary agents and one built-in subagent.
46
46
47
47
---
48
48
@@ -245,7 +245,7 @@ Temperature values typically range from 0.0 to 1.0:
245
245
}
246
246
```
247
247
248
-
If no temperature is specified, opencode uses model-specific defaults; typically 0 for most models, 0.55 for Qwen models.
248
+
If no temperature is specified, OpenCode uses model-specific defaults; typically 0 for most models, 0.55 for Qwen models.
249
249
250
250
---
251
251
@@ -279,7 +279,7 @@ Specify a custom system prompt file for this agent with the `prompt` config. The
279
279
}
280
280
```
281
281
282
-
This path is relative to where the config file is located. So this works for both the global opencode config and the project specific config.
282
+
This path is relative to where the config file is located. So this works for both the global OpenCode config and the project specific config.
The opencode CLI by default starts the [TUI](/docs/tui) when run without any arguments.
8
+
The OpenCode CLI by default starts the [TUI](/docs/tui) when run without any arguments.
9
9
10
10
```bash
11
11
opencode
12
12
```
13
13
14
-
But it also accepts commands as documented on this page. This allows you to interact with opencode programmatically.
14
+
But it also accepts commands as documented on this page. This allows you to interact with OpenCode programmatically.
15
15
16
16
```bash
17
17
opencode run "Explain how closures work in JavaScript"
@@ -21,13 +21,13 @@ opencode run "Explain how closures work in JavaScript"
21
21
22
22
## Commands
23
23
24
-
The opencode CLI also has the following commands.
24
+
The OpenCode CLI also has the following commands.
25
25
26
26
---
27
27
28
28
### agent
29
29
30
-
Manage agents for opencode.
30
+
Manage agents for OpenCode.
31
31
32
32
```bash
33
33
opencode agent [command]
@@ -59,13 +59,13 @@ opencode auth [command]
59
59
60
60
#### login
61
61
62
-
opencode is powered by the provider list at [Models.dev](https://models.dev), so you can use `opencode auth login` to configure API keys for any provider you'd like to use. This is stored in `~/.local/share/opencode/auth.json`.
62
+
OpenCode is powered by the provider list at [Models.dev](https://models.dev), so you can use `opencode auth login` to configure API keys for any provider you'd like to use. This is stored in `~/.local/share/opencode/auth.json`.
63
63
64
64
```bash
65
65
opencode auth login
66
66
```
67
67
68
-
When opencode starts up it loads the providers from the credentials file. And if there are any keys defined in your environments or a `.env` file in your project.
68
+
When OpenCode starts up it loads the providers from the credentials file. And if there are any keys defined in your environments or a `.env` file in your project.
Copy file name to clipboardExpand all lines: packages/web/src/content/docs/config.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
title: Config
3
-
description: Using the opencode JSON config.
3
+
description: Using the OpenCode JSON config.
4
4
---
5
5
6
-
You can configure opencode using a JSON config file.
6
+
You can configure OpenCode using a JSON config file.
7
7
8
8
---
9
9
10
10
## Format
11
11
12
-
opencode supports both **JSON** and **JSONC** (JSON with Comments) formats.
12
+
OpenCode supports both **JSON** and **JSONC** (JSON with Comments) formats.
13
13
14
14
```jsonc title="opencode.jsonc"
15
15
{
@@ -32,7 +32,7 @@ different order of precedence.
32
32
33
33
### Global
34
34
35
-
Place your global opencode config in `~/.config/opencode/opencode.json`. You'll want to use the global config for things like themes, providers, or keybinds.
35
+
Place your global OpenCode config in `~/.config/opencode/opencode.json`. You'll want to use the global config for things like themes, providers, or keybinds.
36
36
37
37
---
38
38
@@ -44,7 +44,7 @@ You can also add a `opencode.json` in your project. It takes precedence over the
44
44
Place project specific config in the root of your project.
45
45
:::
46
46
47
-
When opencode starts up, it looks for a config file in the current directory or traverse up to the nearest Git directory.
47
+
When OpenCode starts up, it looks for a config file in the current directory or traverse up to the nearest Git directory.
48
48
49
49
This is also safe to be checked into Git and uses the same schema as the global one.
50
50
@@ -71,7 +71,7 @@ Your editor should be able to validate and autocomplete based on the schema.
71
71
72
72
### Models
73
73
74
-
You can configure the providers and models you want to use in your opencode config through the `provider`, `model` and `small_model` options.
74
+
You can configure the providers and models you want to use in your OpenCode config through the `provider`, `model` and `small_model` options.
75
75
76
76
```json title="opencode.json"
77
77
{
@@ -82,15 +82,15 @@ You can configure the providers and models you want to use in your opencode conf
82
82
}
83
83
```
84
84
85
-
The `small_model` option configures a separate model for lightweight tasks like title generation. By default, opencode tries to use a cheaper model if one is available from your provider, otherwise it falls back to your main model.
85
+
The `small_model` option configures a separate model for lightweight tasks like title generation. By default, OpenCode tries to use a cheaper model if one is available from your provider, otherwise it falls back to your main model.
86
86
87
87
You can also configure [local models](/docs/models#local). [Learn more](/docs/models).
88
88
89
89
---
90
90
91
91
### Themes
92
92
93
-
You can configure the theme you want to use in your opencode config through the `theme` option.
93
+
You can configure the theme you want to use in your OpenCode config through the `theme` option.
94
94
95
95
```json title="opencode.json"
96
96
{
@@ -193,7 +193,7 @@ You can customize your keybinds through the `keybinds` option.
193
193
194
194
### Autoupdate
195
195
196
-
opencode will automatically download any new updates when it starts up. You can disable this with the `autoupdate` option.
196
+
OpenCode will automatically download any new updates when it starts up. You can disable this with the `autoupdate` option.
Copy file name to clipboardExpand all lines: packages/web/src/content/docs/enterprise.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
2
title: Enterprise
3
-
description: Using opencode in your organization.
3
+
description: Using OpenCode in your organization.
4
4
---
5
5
6
6
importconfigfrom"../../../config.mjs"
7
7
exportconst email =`mailto:${config.email}`
8
8
9
-
opencode does not store any of your code or context data. This makes it easy for
10
-
you to use opencode at your organization.
9
+
OpenCode does not store any of your code or context data. This makes it easy for
10
+
you to use OpenCode at your organization.
11
11
12
12
To get started, we recommend:
13
13
@@ -18,7 +18,7 @@ To get started, we recommend:
18
18
19
19
## Trial
20
20
21
-
Since opencode is open source and does not store any of your code or context data, your developers can simply [get started](/docs/) and carry out a trial.
21
+
Since OpenCode is open source and does not store any of your code or context data, your developers can simply [get started](/docs/) and carry out a trial.
Copy file name to clipboardExpand all lines: packages/web/src/content/docs/formatters.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
title: Formatters
3
-
description: opencode uses language specific formatters.
3
+
description: OpenCode uses language specific formatters.
4
4
---
5
5
6
-
opencode automatically formats files after they are written or edited using language-specific formatters. This ensures that the code that is generated follows the code styles of your project.
6
+
OpenCode automatically formats files after they are written or edited using language-specific formatters. This ensures that the code that is generated follows the code styles of your project.
7
7
8
8
---
9
9
10
10
## Built-in
11
11
12
-
opencode comes with several built-in formatters for popular languages and frameworks. Below is a list of the formatters, supported file extensions, and commands or config options it needs.
12
+
OpenCode comes with several built-in formatters for popular languages and frameworks. Below is a list of the formatters, supported file extensions, and commands or config options it needs.
Copy file name to clipboardExpand all lines: packages/web/src/content/docs/ide.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,24 @@
1
1
---
2
2
title: IDE
3
-
description: The opencode extension for VS Code, Cursor, and other IDEs
3
+
description: The OpenCode extension for VS Code, Cursor, and other IDEs
4
4
---
5
5
6
-
opencode integrates with VS Code, Cursor, or any IDE that supports a terminal. Just run `opencode` in the terminal to get started.
6
+
OpenCode integrates with VS Code, Cursor, or any IDE that supports a terminal. Just run `opencode` in the terminal to get started.
7
7
8
8
---
9
9
10
10
## Usage
11
11
12
-
-**Quick Launch**: Use `Cmd+Esc` (Mac) or `Ctrl+Esc` (Windows/Linux) to open opencode in a split terminal view, or focus an existing terminal session if one is already running.
13
-
-**New Session**: Use `Cmd+Shift+Esc` (Mac) or `Ctrl+Shift+Esc` (Windows/Linux) to start a new opencode terminal session, even if one is already open. You can also click the opencode button in the UI.
14
-
-**Context Awareness**: Automatically share your current selection or tab with opencode.
12
+
-**Quick Launch**: Use `Cmd+Esc` (Mac) or `Ctrl+Esc` (Windows/Linux) to open OpenCode in a split terminal view, or focus an existing terminal session if one is already running.
13
+
-**New Session**: Use `Cmd+Shift+Esc` (Mac) or `Ctrl+Shift+Esc` (Windows/Linux) to start a new OpenCode terminal session, even if one is already open. You can also click the OpenCode button in the UI.
14
+
-**Context Awareness**: Automatically share your current selection or tab with OpenCode.
15
15
-**File Reference Shortcuts**: Use `Cmd+Option+K` (Mac) or `Alt+Ctrl+K` (Linux/Windows) to insert file references. For example, `@File#L37-42`.
16
16
17
17
---
18
18
19
19
## Installation
20
20
21
-
To install opencode on VS Code and popular forks like Cursor, Windsurf, VSCodium:
21
+
To install OpenCode on VS Code and popular forks like Cursor, Windsurf, VSCodium:
22
22
23
23
1. Open VS Code
24
24
2. Open the integrated terminal
@@ -30,7 +30,7 @@ If on the other hand you want to use your own IDE when you run `/editor` or `/ex
30
30
31
31
### Manual Install
32
32
33
-
Search for **opencode** in the Extension Marketplace and click **Install**.
33
+
Search for **OpenCode** in the Extension Marketplace and click **Install**.
0 commit comments