docs: correct usage commands for opencode v2 CLI (--agent only on run/mini)
This commit is contained in:
1 parent
8fce64c34e
commit
c20a4f0226
1 file changed
+4
-1
@@ -40,9 +40,12 @@ upstream revision each release carries).
|
|||||||
Start OpenCode with the `pocock` agent selected and describe what you want to build:
|
Start OpenCode with the `pocock` agent selected and describe what you want to build:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
opencode --agent pocock
|
opencode mini --agent pocock # interactive (v2.0.29: --agent is not a top-level flag)
|
||||||
|
opencode run --agent pocock "build …" --auto # one-shot, autonomous
|
||||||
```
|
```
|
||||||
|
|
||||||
|
In the default TUI (plain `opencode`), switch to `pocock` with the agent picker instead.
|
||||||
|
|
||||||
| Agent | Role |
|
| Agent | Role |
|
||||||
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `pocock` | Primary orchestrator. Routes with `ask-matt`, walks grill → spec → tickets → build → review → retro, proposes before each user-invoked step, runs `implement-spec` with one git worktree per ticket and parallel `pocock-worker` subagents. |
|
| `pocock` | Primary orchestrator. Routes with `ask-matt`, walks grill → spec → tickets → build → review → retro, proposes before each user-invoked step, runs `implement-spec` with one git worktree per ticket and parallel `pocock-worker` subagents. |
|
||||||
|
|||||||
Reference in new issue
Block a user