Default the sandbox agent to claude
The Claude configuration, plugin and skills support added for sandboxes only applies when the agent is claude, so codex was no longer the sensible default.
This commit is contained in:
@@ -119,8 +119,9 @@ Optional personal defaults:
|
||||
|
||||
```toml
|
||||
[env]
|
||||
AI_SBX_AGENT = "codex"
|
||||
AI_SBX_AGENT = "claude"
|
||||
AI_SBX_MODE = "clone"
|
||||
# AI_SBX_TEMPLATE = "git.mroberts.dev/you/claude-sbx:v1" # unset = stock image
|
||||
```
|
||||
|
||||
Confirm it loaded:
|
||||
@@ -257,7 +258,7 @@ provider "aws" {
|
||||
| Option | Default | Effect |
|
||||
| --- | --- | --- |
|
||||
| `--aws-profile NAME` | none | Host profile to expose. Repeatable. Trailing `-readonly` stripped inside the sandbox |
|
||||
| `--agent NAME` | `codex` | Sandbox agent. See `sbx create --help` for the list |
|
||||
| `--agent NAME` | `claude` | Sandbox agent. See `sbx create --help` for the list |
|
||||
| `--clone` | on | Give the agent a private in-container clone; its commits reach the host via the `sandbox-<name>` git remote |
|
||||
| `--template REF` | `AI_SBX_TEMPLATE` | Custom sandbox image |
|
||||
| `--stock-template` | off | Ignore `AI_SBX_TEMPLATE` for this repository |
|
||||
@@ -269,7 +270,7 @@ provider "aws" {
|
||||
|
||||
| Variable | Default | Overrides |
|
||||
| --- | --- | --- |
|
||||
| `AI_SBX_AGENT` | `codex` | `--agent` |
|
||||
| `AI_SBX_AGENT` | `claude` | `--agent` |
|
||||
| `AI_SBX_MODE` | `clone` | `--clone` / `--direct` |
|
||||
| `AI_SBX_TOKEN_DAYS` | `30` | token expiry pre-filled on the form (1–366, or `none`) |
|
||||
| `AI_SBX_TEMPLATE` | unset | `--template` / `--stock-template` |
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@ set -euo pipefail
|
||||
|
||||
PROGRAM="ai:sbx"
|
||||
CONFIG_ROOT="${XDG_CONFIG_HOME:-$HOME/.config}/ai-sbx"
|
||||
DEFAULT_AGENT="${AI_SBX_AGENT:-codex}"
|
||||
DEFAULT_AGENT="${AI_SBX_AGENT:-claude}"
|
||||
DEFAULT_MODE="${AI_SBX_MODE:-clone}"
|
||||
DEFAULT_TOKEN_DAYS="${AI_SBX_TOKEN_DAYS:-30}"
|
||||
DEFAULT_TEMPLATE="${AI_SBX_TEMPLATE:-}"
|
||||
@@ -79,7 +79,7 @@ Setup options:
|
||||
May be supplied more than once. A trailing
|
||||
-readonly is stripped from the profile name
|
||||
written into the sandbox.
|
||||
--agent NAME Sandbox agent. Default: codex
|
||||
--agent NAME Sandbox agent. Default: claude
|
||||
--direct Mount the host working tree read-write.
|
||||
--clone Give the agent a private in-container clone
|
||||
of the repository, mounted read-only.
|
||||
|
||||
Reference in New Issue
Block a user