mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
fix(sandbox): use Docker runner for agent.configure() in sandbox mode (#3133)
Agent config functions (setupClaudeCodeConfig, setupCodexConfig, etc.) captured the bare host runner from local/agents.ts, bypassing the Docker wrapper. This caused config files like ~/.claude/settings.json to be written to the host filesystem instead of inside the sandbox container. Fix: when --beta sandbox is active, recreate agents with the Docker-wrapped runner so configure()/install() closures execute inside the container. Co-authored-by: spawn-bot <spawn-bot@openrouter.ai> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3b61c22f25
commit
1599444517
3 changed files with 75 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@openrouter/spawn",
|
||||
"version": "0.30.2",
|
||||
"version": "0.30.3",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"spawn": "cli.js"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue