chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-30 05:09:55 +00:00
parent 0a5bed2bc2
commit 797cb530e5
2 changed files with 26 additions and 26 deletions
+6 -6
View File
@@ -309,12 +309,12 @@ export const run = Effect.fn("Tui.run")(function* (input: TuiInput) {
<PromptHistoryProvider> <PromptHistoryProvider>
<PromptRefProvider> <PromptRefProvider>
<EditorContextProvider> <EditorContextProvider>
<LocationProvider> <LocationProvider>
<App <App
onSnapshot={input.onSnapshot} onSnapshot={input.onSnapshot}
pluginHost={input.pluginHost} pluginHost={input.pluginHost}
/> />
</LocationProvider> </LocationProvider>
</EditorContextProvider> </EditorContextProvider>
</PromptRefProvider> </PromptRefProvider>
</PromptHistoryProvider> </PromptHistoryProvider>
+20 -20
View File
@@ -362,26 +362,26 @@ opencode run --attach http://localhost:4096 "Explain async/await in JavaScript"
#### Flags #### Flags
| Flag | Short | Description | | Flag | Short | Description |
| ------------------------------------------------------------ | ----- | -------------------------------------------------------------------------- | | ---------------------------------------- | ----- | -------------------------------------------------------------------------- |
| <nobr><code>{"--command"}</code></nobr> | | The command to run, use message for args | | <nobr><code>{"--command"}</code></nobr> | | The command to run, use message for args |
| <nobr><code>{"--continue"}</code></nobr> | `-c` | Continue the last session | | <nobr><code>{"--continue"}</code></nobr> | `-c` | Continue the last session |
| <nobr><code>{"--session"}</code></nobr> | `-s` | Session ID to continue | | <nobr><code>{"--session"}</code></nobr> | `-s` | Session ID to continue |
| <nobr><code>{"--fork"}</code></nobr> | | Fork the session when continuing (use with `--continue` or `--session`) | | <nobr><code>{"--fork"}</code></nobr> | | Fork the session when continuing (use with `--continue` or `--session`) |
| <nobr><code>{"--share"}</code></nobr> | | Share the session | | <nobr><code>{"--share"}</code></nobr> | | Share the session |
| <nobr><code>{"--model"}</code></nobr> | `-m` | Model to use in the form of provider/model | | <nobr><code>{"--model"}</code></nobr> | `-m` | Model to use in the form of provider/model |
| <nobr><code>{"--agent"}</code></nobr> | | Agent to use | | <nobr><code>{"--agent"}</code></nobr> | | Agent to use |
| <nobr><code>{"--file"}</code></nobr> | `-f` | File(s) to attach to message | | <nobr><code>{"--file"}</code></nobr> | `-f` | File(s) to attach to message |
| <nobr><code>{"--format"}</code></nobr> | | Format: default (formatted) or json (raw JSON events) | | <nobr><code>{"--format"}</code></nobr> | | Format: default (formatted) or json (raw JSON events) |
| <nobr><code>{"--title"}</code></nobr> | | Title for the session (uses truncated prompt if no value provided) | | <nobr><code>{"--title"}</code></nobr> | | Title for the session (uses truncated prompt if no value provided) |
| <nobr><code>{"--attach"}</code></nobr> | | Attach to a running opencode server (e.g., http://localhost:4096) | | <nobr><code>{"--attach"}</code></nobr> | | Attach to a running opencode server (e.g., http://localhost:4096) |
| <nobr><code>{"--password"}</code></nobr> | `-p` | Basic auth password (defaults to `OPENCODE_SERVER_PASSWORD`) | | <nobr><code>{"--password"}</code></nobr> | `-p` | Basic auth password (defaults to `OPENCODE_SERVER_PASSWORD`) |
| <nobr><code>{"--username"}</code></nobr> | `-u` | Basic auth username (defaults to `OPENCODE_SERVER_USERNAME` or `opencode`) | | <nobr><code>{"--username"}</code></nobr> | `-u` | Basic auth username (defaults to `OPENCODE_SERVER_USERNAME` or `opencode`) |
| <nobr><code>{"--dir"}</code></nobr> | | Directory to run in, or path on the remote server when attaching | | <nobr><code>{"--dir"}</code></nobr> | | Directory to run in, or path on the remote server when attaching |
| <nobr><code>{"--port"}</code></nobr> | | Port for the local server (defaults to random port) | | <nobr><code>{"--port"}</code></nobr> | | Port for the local server (defaults to random port) |
| <nobr><code>{"--variant"}</code></nobr> | | Model variant (provider-specific reasoning effort) | | <nobr><code>{"--variant"}</code></nobr> | | Model variant (provider-specific reasoning effort) |
| <nobr><code>{"--thinking"}</code></nobr> | | Show thinking blocks | | <nobr><code>{"--thinking"}</code></nobr> | | Show thinking blocks |
| <nobr><code>{"--auto"}</code></nobr> | | Auto-approve permissions that are not explicitly denied | | <nobr><code>{"--auto"}</code></nobr> | | Auto-approve permissions that are not explicitly denied |
--- ---