fix(docs): correct lane start action API and sandbox/approval enum values

This commit is contained in:
2026-08-27 10:55:27 +07:00
parent 24de68cfe1
commit b31da64d4f
2 changed files with 34 additions and 13 deletions
+4 -4
View File
@@ -50,15 +50,15 @@ Both modes' path field has a **Browse** button next to it, opening a small folde
A lane is driven by a tool: **Claude** (default) or **Codex**, chosen in the "+ Add lane" modal and immutable once the lane exists. A lane's tool determines which CLI is spawned when a run starts.
- **`claude` (default)** — `claude` binary is invoked; the session's hooks, messages, and tool calls flow through the dashboard. Claude lanes render Sessions, Analytics, cost, and stage-detection badges; liveness is tracked by the Claude Code session.
- **`codex` (experimental)** — `codex` binary is invoked instead. The Run Setup panel shows model, sandbox approval, and reasoning effort toggles instead of the Claude session picker, and offers "Resume last Codex run" instead of picking a session. Resume uses `codex resume --last`.
- **`codex` (experimental)** — `codex` binary is invoked instead. The Run Setup panel shows fields for model, sandbox, and approval mode instead of the Claude session picker, and offers "Resume last Codex run" instead of picking a session. Resume uses `codex resume --last`.
### How Codex arguments map
The Run Setup panel's model, sandbox, approval, and reasoning-effort toggles map directly onto `codex` command-line arguments:
The Run Setup panel's fields map directly onto `codex` command-line arguments:
- **Model** → `codex -m <model>` (e.g. `codex -m claude-opus-5`)
- **Sandbox** → `-s` (enables restricted filesystem/network mode)
- **Approval** → `-a` (prompts for confirmation before tool execution)
- **Sandbox** (optional) → `-s <mode>` where mode is one of `read-only`, `workspace-write`, or `danger-full-access`
- **Approval** (optional) → `-a <mode>` where mode is one of `on-request` or `never`
- **Reasoning effort** → `-c model_reasoning_effort=<level>` (e.g. `medium`)
A codex lane's run console shows the full command line before execution.