We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e8792f0 + efd876f commit 2b8be5dCopy full SHA for 2b8be5d
1 file changed
content/manuals/ai/sandboxes/agents/opencode.md
@@ -64,6 +64,20 @@ OpenCode uses a TUI interface and doesn't require extensive configuration
64
files. The agent prompts you to select a provider when it starts, and you can
65
switch providers during a session.
66
67
+### Pass options at runtime
68
+
69
+Pass OpenCode CLI options after `--`:
70
71
+```console
72
+$ sbx run opencode --name <sandbox-name> -- <opencode-options>
73
+```
74
75
+For example, to resume an existing session in a named sandbox:
76
77
78
+$ sbx run <sandbox-name> -- -s <session-id>
79
80
81
### TUI mode
82
83
OpenCode launches in TUI mode by default. The interface shows:
0 commit comments