diff --git a/CLAUDE.md b/CLAUDE.md index 3564c84..4ceb0f6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -54,8 +54,8 @@ - `acp-http-client`: protocol-pure ACP-over-HTTP (`/v1/acp`) with no Sandbox-specific HTTP helpers. - `sandbox-agent`: `SandboxAgent` SDK wrapper that combines ACP session operations with Sandbox control-plane and filesystem helpers. - `SandboxAgent` entry points are `SandboxAgent.connect(...)` and `SandboxAgent.start(...)`. -- Stable Sandbox session methods are `createSession`, `resumeSession`, `resumeOrCreateSession`, `destroySession`, `sendSessionMethod`, and `onSessionEvent`. -- `Session` helpers are `prompt(...)`, `send(...)`, and `onEvent(...)`. +- Stable Sandbox session methods are `createSession`, `resumeSession`, `resumeOrCreateSession`, `destroySession`, `sendSessionMethod`, `onSessionEvent`, `setSessionMode`, `setSessionModel`, `setSessionThoughtLevel`, `setSessionConfigOption`, `getSessionConfigOptions`, and `getSessionModes`. +- `Session` helpers are `prompt(...)`, `send(...)`, `onEvent(...)`, `setMode(...)`, `setModel(...)`, `setThoughtLevel(...)`, `setConfigOption(...)`, `getConfigOptions()`, and `getModes()`. - Cleanup is `sdk.dispose()`. ### Docs Source Of Truth diff --git a/docs/agent-sessions.mdx b/docs/agent-sessions.mdx index 1fd3932..a224acd 100644 --- a/docs/agent-sessions.mdx +++ b/docs/agent-sessions.mdx @@ -91,7 +91,7 @@ Set the model, mode, or thought level on a session at creation time or after: const session = await sdk.createSession({ agent: "codex", model: "gpt-5.3-codex", - mode: "plan", + mode: "auto", thoughtLevel: "high", }); ``` @@ -99,7 +99,7 @@ const session = await sdk.createSession({ ```ts // After creation await session.setModel("gpt-5.2-codex"); -await session.setMode("build"); +await session.setMode("full-access"); await session.setThoughtLevel("medium"); ``` diff --git a/docs/sdk-overview.mdx b/docs/sdk-overview.mdx index 6cc9099..3e21461 100644 --- a/docs/sdk-overview.mdx +++ b/docs/sdk-overview.mdx @@ -111,7 +111,7 @@ const session = await sdk.createSession({ }); await session.setModel("gpt-5.2-codex"); -await session.setMode("plan"); +await session.setMode("auto"); const options = await session.getConfigOptions(); const modes = await session.getModes();