From 797cb530e58d6311288570c9ee52bf6528681d6a Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Tue, 30 Jun 2026 05:09:55 +0000 Subject: [PATCH] chore: generate --- packages/tui/src/app.tsx | 12 ++++---- packages/web/src/content/docs/cli.mdx | 40 +++++++++++++-------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/packages/tui/src/app.tsx b/packages/tui/src/app.tsx index 5788a947a1..979d35e198 100644 --- a/packages/tui/src/app.tsx +++ b/packages/tui/src/app.tsx @@ -309,12 +309,12 @@ export const run = Effect.fn("Tui.run")(function* (input: TuiInput) { - - - + + + diff --git a/packages/web/src/content/docs/cli.mdx b/packages/web/src/content/docs/cli.mdx index b44a27f4e1..94d9ba3c75 100644 --- a/packages/web/src/content/docs/cli.mdx +++ b/packages/web/src/content/docs/cli.mdx @@ -362,26 +362,26 @@ opencode run --attach http://localhost:4096 "Explain async/await in JavaScript" #### Flags -| Flag | Short | Description | -| ------------------------------------------------------------ | ----- | -------------------------------------------------------------------------- | -| {"--command"} | | The command to run, use message for args | -| {"--continue"} | `-c` | Continue the last session | -| {"--session"} | `-s` | Session ID to continue | -| {"--fork"} | | Fork the session when continuing (use with `--continue` or `--session`) | -| {"--share"} | | Share the session | -| {"--model"} | `-m` | Model to use in the form of provider/model | -| {"--agent"} | | Agent to use | -| {"--file"} | `-f` | File(s) to attach to message | -| {"--format"} | | Format: default (formatted) or json (raw JSON events) | -| {"--title"} | | Title for the session (uses truncated prompt if no value provided) | -| {"--attach"} | | Attach to a running opencode server (e.g., http://localhost:4096) | -| {"--password"} | `-p` | Basic auth password (defaults to `OPENCODE_SERVER_PASSWORD`) | -| {"--username"} | `-u` | Basic auth username (defaults to `OPENCODE_SERVER_USERNAME` or `opencode`) | -| {"--dir"} | | Directory to run in, or path on the remote server when attaching | -| {"--port"} | | Port for the local server (defaults to random port) | -| {"--variant"} | | Model variant (provider-specific reasoning effort) | -| {"--thinking"} | | Show thinking blocks | -| {"--auto"} | | Auto-approve permissions that are not explicitly denied | +| Flag | Short | Description | +| ---------------------------------------- | ----- | -------------------------------------------------------------------------- | +| {"--command"} | | The command to run, use message for args | +| {"--continue"} | `-c` | Continue the last session | +| {"--session"} | `-s` | Session ID to continue | +| {"--fork"} | | Fork the session when continuing (use with `--continue` or `--session`) | +| {"--share"} | | Share the session | +| {"--model"} | `-m` | Model to use in the form of provider/model | +| {"--agent"} | | Agent to use | +| {"--file"} | `-f` | File(s) to attach to message | +| {"--format"} | | Format: default (formatted) or json (raw JSON events) | +| {"--title"} | | Title for the session (uses truncated prompt if no value provided) | +| {"--attach"} | | Attach to a running opencode server (e.g., http://localhost:4096) | +| {"--password"} | `-p` | Basic auth password (defaults to `OPENCODE_SERVER_PASSWORD`) | +| {"--username"} | `-u` | Basic auth username (defaults to `OPENCODE_SERVER_USERNAME` or `opencode`) | +| {"--dir"} | | Directory to run in, or path on the remote server when attaching | +| {"--port"} | | Port for the local server (defaults to random port) | +| {"--variant"} | | Model variant (provider-specific reasoning effort) | +| {"--thinking"} | | Show thinking blocks | +| {"--auto"} | | Auto-approve permissions that are not explicitly denied | ---