@@ -364,6 +364,26 @@ the child kit's name:
364364$ sbx run claude-sonnet --kit ./claude-sonnet
365365```
366366
367+ Proxy-managed OAuth isn't supported for a third-party kit that extends the
368+ built-in ` claude ` agent. Store an Anthropic API key on the host before the first
369+ launch:
370+
371+ ``` console
372+ $ sbx secret set anthropic
373+ ```
374+
375+ When you launch the kit for the first time, ` sbx ` prompts you to approve its
376+ inherited Anthropic credentials. Because this is a third-party schema v2 kit,
377+ ` sbx ` records your approval as a
378+ [ credential binding] ( ../security/credentials.md#credential-bindings ) . The
379+ sandbox receives a sentinel value, and the proxy injects the real API key into
380+ requests to the domains declared by the kit.
381+
382+ > [ !WARNING]
383+ > The approval prompt also lists OAuth, but OAuth doesn't work for the extended
384+ > agent. If you use Claude Code's ` /login ` command, Claude Code stores the real
385+ > OAuth tokens inside the sandbox.
386+
367387OpenCode supports an additional config file through ` OPENCODE_CONFIG ` . Keep the
368388kit's config separate from the sandbox-managed
369389` /home/agent/.config/opencode/opencode.json ` , for example at
@@ -431,7 +451,9 @@ sandbox:
431451
432452The child inherits the built-in image, credentials, network permissions,
433453persistent volumes, settings, MCP integration, and agent instructions. Its
434- ` sandbox.entrypoint` replaces the inherited entrypoint.
454+ ` sandbox.entrypoint` replaces the inherited entrypoint. Proxy-managed OAuth
455+ isn't supported for the extended agent, so follow the
456+ [Anthropic API-key setup](#customize-agent-settings) before launching it.
435457
436458Launch with the kit's `name:` as the agent argument to `sbx run` :
437459
0 commit comments