feat: Customizing the sandbox environment

This commit is contained in:
刘伟光 2026-01-13 10:39:32 +08:00
parent 52d6d1ff13
commit c0c94bd4fc
5 changed files with 18 additions and 13 deletions

View file

@ -10,4 +10,5 @@ export default {
'web-search': 'Web Search',
memory: 'Memory',
'mcp-server': 'MCP Servers',
sandbox: 'Sandboxing',
};

View file

@ -0,0 +1,13 @@
## Customizing the sandbox environment (Docker/Podman)
If you need extra tools inside the container (e.g., `git`, `python`, `rg`), create a custom Dockerfile:
1. `cd packages/cli`
2. `npm link`
3. `which qwen`
4. `cd your-project`
- Path: `.qwen/sandbox.Dockerfile`
- Then run with: `BUILD_SANDBOX=1 qwen -s ...`
This builds a project-specific image based on the default sandbox image.