@tencent-ai/agent-sdk 0.3.98 → 0.3.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/CHANGELOG.md +50 -0
- package/cli/dist/codebuddy-headless.js +137 -108
- package/cli/dist/web-ui/assets/index-BoMlEqUE.js +439 -0
- package/cli/dist/web-ui/assets/index-Dt1puyHn.css +32 -0
- package/cli/dist/web-ui/docs/cn/cli/acp.md +152 -0
- package/cli/dist/web-ui/docs/cn/cli/agent-teams.md +327 -0
- package/cli/dist/web-ui/docs/cn/cli/bash-sandboxing.md +290 -0
- package/cli/dist/web-ui/docs/cn/cli/best-practices.md +554 -0
- package/cli/dist/web-ui/docs/cn/cli/channels-reference.md +293 -0
- package/cli/dist/web-ui/docs/cn/cli/channels.md +215 -0
- package/cli/dist/web-ui/docs/cn/cli/checkpointing.md +51 -0
- package/cli/dist/web-ui/docs/cn/cli/cli-reference.md +187 -0
- package/cli/dist/web-ui/docs/cn/cli/common-workflows.md +1013 -0
- package/cli/dist/web-ui/docs/cn/cli/costs.md +174 -0
- package/cli/dist/web-ui/docs/cn/cli/devcontainer.md +553 -0
- package/cli/dist/web-ui/docs/cn/cli/env-vars.md +326 -0
- package/cli/dist/web-ui/docs/cn/cli/gitlab-ci-cd.md +357 -0
- package/cli/dist/web-ui/docs/cn/cli/headless.md +258 -0
- package/cli/dist/web-ui/docs/cn/cli/hooks-guide.md +9 -0
- package/cli/dist/web-ui/docs/cn/cli/hooks.md +805 -0
- package/cli/dist/web-ui/docs/cn/cli/iam.md +530 -0
- package/cli/dist/web-ui/docs/cn/cli/ide-integrations.md +92 -0
- package/cli/dist/web-ui/docs/cn/cli/installation.md +291 -0
- package/cli/dist/web-ui/docs/cn/cli/interactive-mode.md +233 -0
- package/cli/dist/web-ui/docs/cn/cli/mcp.md +739 -0
- package/cli/dist/web-ui/docs/cn/cli/memory.md +436 -0
- package/cli/dist/web-ui/docs/cn/cli/models.md +356 -0
- package/cli/dist/web-ui/docs/cn/cli/overview.md +100 -0
- package/cli/dist/web-ui/docs/cn/cli/plugin-marketplaces.md +533 -0
- package/cli/dist/web-ui/docs/cn/cli/plugins-reference.md +774 -0
- package/cli/dist/web-ui/docs/cn/cli/plugins.md +689 -0
- package/cli/dist/web-ui/docs/cn/cli/quickstart.md +249 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/README.md +199 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.10.0.md +23 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.10.1.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.11.0.md +24 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.12.0.md +21 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.13.0.md +20 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.14.0.md +22 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.14.1.md +8 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.15.0.md +18 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.15.1.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.16.0.md +20 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.17.0.md +29 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.18.0.md +17 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.0.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.1.md +14 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.2.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.20.0.md +23 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.20.1.md +15 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.21.0.md +13 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.22.0.md +16 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.0.md +20 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.2.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.3.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.4.md +15 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.5.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.24.0.md +17 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.25.0.md +18 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.25.1.md +21 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.26.0.md +18 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.0.md +16 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.1.md +16 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.2.md +7 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.3.md +15 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.28.0.md +26 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.28.1.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.29.0.md +35 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.3.1.md +16 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.30.0.md +19 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.30.1.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.0.md +51 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.1.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.2.md +16 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.32.0.md +19 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.33.0.md +28 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.33.1.md +7 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.36.3.md +17 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.0.md +15 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.1.md +15 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.10.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.11.md +8 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.12.md +14 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.13.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.14.md +24 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.15.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.16.md +9 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.17.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.18.md +9 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.19.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.2.md +28 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.20.md +8 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.3.md +22 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.4.md +19 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.5.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.6.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.7.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.8.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.9.md +8 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.0.md +22 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.1.md +6 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.2.md +9 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.39.0.md +18 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.4.0.md +19 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.40.0.md +20 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.40.1.md +6 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.0.md +15 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.1.md +6 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.2.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.3.md +8 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.4.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.5.md +10 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.6.md +9 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.7.md +14 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.8.md +18 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.0.md +39 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.1.md +8 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.3.md +18 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.43.0.md +27 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.43.1.md +27 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.44.0.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.44.1.md +22 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.45.0.md +34 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.45.1.md +7 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.46.0.md +12 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.47.0.md +20 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.48.0.md +32 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.48.1.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.0.md +26 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.1.md +14 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.2.md +39 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.3.md +7 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.5.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.6.md +9 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.7.md +7 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.5.0.md +24 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.0.md +25 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.1.md +9 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.2.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.3.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.4.md +17 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.5.md +16 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.6.md +15 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.7.md +15 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.0.md +24 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.1.md +17 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.2.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.0.md +30 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.1.md +28 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.2.md +12 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.3.md +13 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.4.md +27 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.5.md +21 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.6.md +7 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.53.0.md +29 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.54.0.md +26 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.55.0.md +21 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.55.1.md +13 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.56.0.md +20 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.56.1.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.57.0.md +32 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.57.1.md +10 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.58.0.md +34 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.59.0.md +28 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.6.0.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.6.1.md +10 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.60.0.md +20 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.0.md +29 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.1.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.2.md +6 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.3.md +13 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.62.0.md +21 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.62.1.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.0.md +19 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.1.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.2.md +7 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.3.md +6 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.4.md +8 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.5.md +6 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.0.md +37 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.1.md +6 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.2.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.65.0.md +19 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.65.1.md +11 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.0.md +15 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.1.md +14 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.2.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.67.0.md +33 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.7.0.md +16 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.0.md +18 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.1.md +17 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.2.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.3.md +14 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.4.md +9 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.5.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.6.md +14 -0
- package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.9.0.md +5 -0
- package/cli/dist/web-ui/docs/cn/cli/remote-control.md +247 -0
- package/cli/dist/web-ui/docs/cn/cli/sandboxing.md +316 -0
- package/cli/dist/web-ui/docs/cn/cli/scheduled-tasks.md +161 -0
- package/cli/dist/web-ui/docs/cn/cli/sdk-custom-tools.md +1195 -0
- package/cli/dist/web-ui/docs/cn/cli/sdk-demos.md +347 -0
- package/cli/dist/web-ui/docs/cn/cli/sdk-hooks.md +803 -0
- package/cli/dist/web-ui/docs/cn/cli/sdk-mcp.md +643 -0
- package/cli/dist/web-ui/docs/cn/cli/sdk-permissions.md +501 -0
- package/cli/dist/web-ui/docs/cn/cli/sdk-python.md +783 -0
- package/cli/dist/web-ui/docs/cn/cli/sdk-sessions.md +332 -0
- package/cli/dist/web-ui/docs/cn/cli/sdk-typescript.md +759 -0
- package/cli/dist/web-ui/docs/cn/cli/sdk.md +1105 -0
- package/cli/dist/web-ui/docs/cn/cli/security.md +387 -0
- package/cli/dist/web-ui/docs/cn/cli/settings.md +602 -0
- package/cli/dist/web-ui/docs/cn/cli/skills.md +448 -0
- package/cli/dist/web-ui/docs/cn/cli/slash-commands.md +397 -0
- package/cli/dist/web-ui/docs/cn/cli/statusline.md +525 -0
- package/cli/dist/web-ui/docs/cn/cli/sub-agents.md +634 -0
- package/cli/dist/web-ui/docs/cn/cli/terminal-config.md +77 -0
- package/cli/dist/web-ui/docs/cn/cli/tools-reference.md +99 -0
- package/cli/dist/web-ui/docs/cn/cli/troubleshooting.md +190 -0
- package/cli/dist/web-ui/docs/cn/cli/web-ui.md +164 -0
- package/cli/dist/web-ui/docs/cn/cli/wecom-bot-setup.md +274 -0
- package/cli/dist/web-ui/docs/cn/cli/worktree.md +660 -0
- package/cli/dist/web-ui/docs/en/cli/acp.md +126 -0
- package/cli/dist/web-ui/docs/en/cli/agent-teams.md +327 -0
- package/cli/dist/web-ui/docs/en/cli/bash-sandboxing.md +357 -0
- package/cli/dist/web-ui/docs/en/cli/best-practices.md +554 -0
- package/cli/dist/web-ui/docs/en/cli/channels-reference.md +293 -0
- package/cli/dist/web-ui/docs/en/cli/channels.md +215 -0
- package/cli/dist/web-ui/docs/en/cli/checkpointing.md +53 -0
- package/cli/dist/web-ui/docs/en/cli/cli-reference.md +187 -0
- package/cli/dist/web-ui/docs/en/cli/common-workflows.md +1011 -0
- package/cli/dist/web-ui/docs/en/cli/costs.md +174 -0
- package/cli/dist/web-ui/docs/en/cli/devcontainer.md +553 -0
- package/cli/dist/web-ui/docs/en/cli/env-vars.md +326 -0
- package/cli/dist/web-ui/docs/en/cli/gitlab-ci-cd.md +357 -0
- package/cli/dist/web-ui/docs/en/cli/headless.md +258 -0
- package/cli/dist/web-ui/docs/en/cli/hooks-guide.md +9 -0
- package/cli/dist/web-ui/docs/en/cli/hooks.md +801 -0
- package/cli/dist/web-ui/docs/en/cli/iam.md +526 -0
- package/cli/dist/web-ui/docs/en/cli/ide-integrations.md +92 -0
- package/cli/dist/web-ui/docs/en/cli/installation.md +266 -0
- package/cli/dist/web-ui/docs/en/cli/interactive-mode.md +233 -0
- package/cli/dist/web-ui/docs/en/cli/mcp.md +739 -0
- package/cli/dist/web-ui/docs/en/cli/memory.md +436 -0
- package/cli/dist/web-ui/docs/en/cli/models.md +355 -0
- package/cli/dist/web-ui/docs/en/cli/overview.md +100 -0
- package/cli/dist/web-ui/docs/en/cli/plugin-marketplaces.md +534 -0
- package/cli/dist/web-ui/docs/en/cli/plugins-reference.md +774 -0
- package/cli/dist/web-ui/docs/en/cli/plugins.md +688 -0
- package/cli/dist/web-ui/docs/en/cli/quickstart.md +249 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/README.md +193 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.10.0.md +23 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.10.1.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.11.0.md +24 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.12.0.md +21 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.13.0.md +20 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.14.0.md +22 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.14.1.md +8 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.15.0.md +18 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.15.1.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.16.0.md +20 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.17.0.md +29 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.18.0.md +17 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.0.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.1.md +14 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.2.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.20.0.md +23 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.20.1.md +15 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.21.0.md +13 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.22.0.md +16 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.0.md +41 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.2.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.3.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.4.md +15 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.5.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.24.0.md +17 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.25.0.md +18 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.25.1.md +21 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.26.0.md +18 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.0.md +16 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.1.md +16 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.2.md +7 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.3.md +15 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.28.0.md +26 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.28.1.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.29.0.md +35 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.3.1.md +16 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.30.0.md +19 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.30.1.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.0.md +51 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.1.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.2.md +16 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.32.0.md +19 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.33.0.md +28 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.33.1.md +7 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.34.0.md +27 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.34.1.md +7 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.35.0.md +22 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.0.md +23 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.1.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.2.md +22 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.3.md +17 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.0.md +15 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.1.md +15 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.10.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.11.md +8 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.12.md +14 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.13.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.14.md +24 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.15.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.16.md +9 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.17.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.18.md +9 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.19.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.2.md +28 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.20.md +8 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.3.md +22 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.4.md +19 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.5.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.6.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.7.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.8.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.9.md +8 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.0.md +22 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.1.md +6 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.2.md +9 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.39.0.md +18 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.4.0.md +19 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.40.0.md +20 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.40.1.md +6 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.0.md +15 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.1.md +6 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.2.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.3.md +8 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.4.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.5.md +10 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.6.md +9 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.7.md +14 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.8.md +18 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.0.md +39 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.1.md +8 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.3.md +18 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.43.0.md +27 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.43.1.md +27 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.44.0.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.44.1.md +22 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.45.0.md +34 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.45.1.md +7 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.46.0.md +12 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.47.0.md +20 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.48.0.md +32 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.48.1.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.0.md +26 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.1.md +14 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.2.md +39 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.3.md +7 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.5.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.6.md +9 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.7.md +7 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.5.0.md +24 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.0.md +25 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.1.md +9 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.2.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.3.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.4.md +17 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.5.md +16 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.6.md +15 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.7.md +15 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.0.md +24 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.1.md +17 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.2.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.0.md +30 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.1.md +28 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.2.md +12 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.3.md +13 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.4.md +27 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.5.md +21 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.6.md +7 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.53.0.md +29 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.54.0.md +26 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.55.0.md +21 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.55.1.md +13 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.56.0.md +20 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.56.1.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.57.0.md +32 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.57.1.md +10 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.58.0.md +34 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.59.0.md +28 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.6.0.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.6.1.md +10 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.60.0.md +20 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.0.md +29 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.1.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.2.md +6 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.3.md +13 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.62.0.md +21 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.62.1.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.0.md +19 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.1.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.2.md +7 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.3.md +6 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.4.md +8 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.5.md +6 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.0.md +37 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.1.md +6 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.2.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.65.0.md +19 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.65.1.md +11 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.0.md +15 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.1.md +14 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.2.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.67.0.md +33 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.7.0.md +16 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.0.md +18 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.1.md +17 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.2.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.3.md +14 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.4.md +9 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.5.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.6.md +14 -0
- package/cli/dist/web-ui/docs/en/cli/release-notes/v2.9.0.md +5 -0
- package/cli/dist/web-ui/docs/en/cli/remote-control.md +247 -0
- package/cli/dist/web-ui/docs/en/cli/sandboxing.md +316 -0
- package/cli/dist/web-ui/docs/en/cli/scheduled-tasks.md +160 -0
- package/cli/dist/web-ui/docs/en/cli/sdk-custom-tools.md +1131 -0
- package/cli/dist/web-ui/docs/en/cli/sdk-demos.md +347 -0
- package/cli/dist/web-ui/docs/en/cli/sdk-hooks.md +813 -0
- package/cli/dist/web-ui/docs/en/cli/sdk-mcp.md +645 -0
- package/cli/dist/web-ui/docs/en/cli/sdk-permissions.md +461 -0
- package/cli/dist/web-ui/docs/en/cli/sdk-python.md +797 -0
- package/cli/dist/web-ui/docs/en/cli/sdk-sessions.md +340 -0
- package/cli/dist/web-ui/docs/en/cli/sdk-typescript.md +770 -0
- package/cli/dist/web-ui/docs/en/cli/sdk.md +1103 -0
- package/cli/dist/web-ui/docs/en/cli/security.md +388 -0
- package/cli/dist/web-ui/docs/en/cli/settings.md +602 -0
- package/cli/dist/web-ui/docs/en/cli/skills.md +448 -0
- package/cli/dist/web-ui/docs/en/cli/slash-commands.md +397 -0
- package/cli/dist/web-ui/docs/en/cli/statusline.md +525 -0
- package/cli/dist/web-ui/docs/en/cli/sub-agents.md +621 -0
- package/cli/dist/web-ui/docs/en/cli/terminal-config.md +77 -0
- package/cli/dist/web-ui/docs/en/cli/tools-reference.md +99 -0
- package/cli/dist/web-ui/docs/en/cli/troubleshooting.md +190 -0
- package/cli/dist/web-ui/docs/en/cli/web-ui.md +164 -0
- package/cli/dist/web-ui/docs/en/cli/wecom-bot-setup.md +274 -0
- package/cli/dist/web-ui/docs/en/cli/worktree.md +660 -0
- package/cli/dist/web-ui/docs/search-index-en.json +1 -0
- package/cli/dist/web-ui/docs/search-index-zh.json +1 -0
- package/cli/dist/web-ui/docs/sidebar-en.json +1 -0
- package/cli/dist/web-ui/docs/sidebar-zh.json +1 -0
- package/cli/dist/web-ui/index.html +2 -2
- package/cli/package.json +1 -1
- package/cli/product.cloudhosted.json +4 -3
- package/cli/product.internal.json +4 -3
- package/cli/product.ioa.json +4 -3
- package/cli/product.json +13 -6
- package/cli/product.selfhosted.json +4 -3
- package/package.json +1 -1
- package/cli/dist/web-ui/assets/index-4SCgPWnj.css +0 -32
- package/cli/dist/web-ui/assets/index-BijmmKDe.js +0 -391
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
# Sandbox Usage Guide (Beta)
|
|
2
|
+
|
|
3
|
+
> ⚠️ **Beta Feature**: The Sandbox feature is currently in Beta. APIs and functionality may change.
|
|
4
|
+
|
|
5
|
+
CodeBuddy supports running in isolated sandbox environments, providing secure code execution and project development environments.
|
|
6
|
+
|
|
7
|
+
## 🎯 Sandbox Types
|
|
8
|
+
|
|
9
|
+
- **Container Sandbox**: Local container environment based on Docker/Podman
|
|
10
|
+
- **E2B Sandbox**: Remote isolated environment based on E2B cloud service
|
|
11
|
+
- **Teleport Mode**: Connect to remotely deployed sandbox services
|
|
12
|
+
|
|
13
|
+
## 🚀 Quick Start
|
|
14
|
+
|
|
15
|
+
### Container Sandbox
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Basic usage - automatically mounts current directory
|
|
19
|
+
codebuddy --sandbox "Help me analyze this project"
|
|
20
|
+
|
|
21
|
+
# Equivalent to
|
|
22
|
+
codebuddy --sandbox container "Help me analyze this project"
|
|
23
|
+
|
|
24
|
+
# Pipe mode
|
|
25
|
+
echo "Run tests" | codebuddy --sandbox --print
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**Prerequisites**:
|
|
29
|
+
- Docker or Podman installed
|
|
30
|
+
- Docker daemon running
|
|
31
|
+
|
|
32
|
+
### E2B Sandbox (Cloud)
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
# Set E2B API Key
|
|
36
|
+
export E2B_API_KEY=your_api_key
|
|
37
|
+
|
|
38
|
+
# Basic usage (requires full API URL)
|
|
39
|
+
codebuddy --sandbox https://api.e2b.dev "Create a Python web application"
|
|
40
|
+
|
|
41
|
+
# Upload current working directory
|
|
42
|
+
codebuddy --sandbox https://api.e2b.dev --sandbox-upload-dir "Analyze this project"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Teleport Mode (Remote Connection)
|
|
46
|
+
|
|
47
|
+
Teleport mode is used to connect to remote sandbox environments created by BGA (Background Agent). This is a special connection mode primarily used for cloud scheduling scenarios.
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# Connect to remote sandbox using teleport value
|
|
51
|
+
codebuddy --teleport session_abc123XYZ4567890 "Connect to remote sandbox"
|
|
52
|
+
|
|
53
|
+
# Custom headers (for authentication or routing)
|
|
54
|
+
codebuddy --teleport session_abc123XYZ4567890 \
|
|
55
|
+
-H "X-Domain: example.com" \
|
|
56
|
+
-H "X-Enterprise-Id: ent123" \
|
|
57
|
+
"Execute task"
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**Teleport Value Format**:
|
|
61
|
+
- Format: `session_{cliSessionId}`
|
|
62
|
+
- `cliSessionId`: Unique session identifier
|
|
63
|
+
- Example: `session_abc123XYZ4567890`
|
|
64
|
+
|
|
65
|
+
**How It Works**:
|
|
66
|
+
1. BGA backend generates a unique `cliSessionId`
|
|
67
|
+
2. BGA clones code to `/workspace/{cliSessionId}` directory in the sandbox
|
|
68
|
+
3. BGA generates teleport command: `codebuddy --teleport session_{cliSessionId}`
|
|
69
|
+
4. CLI parses the teleport value, connects to the specified sandbox and switches to the correct working directory
|
|
70
|
+
5. Executes commands as `root` user in the sandbox
|
|
71
|
+
|
|
72
|
+
**Prerequisites**:
|
|
73
|
+
- Valid teleport value (generated by BGA backend)
|
|
74
|
+
- Correct authentication credentials (via E2B_API_KEY or CODEBUDDY_AUTH_TOKEN)
|
|
75
|
+
- Network connectivity to BGA backend service
|
|
76
|
+
|
|
77
|
+
**Features**:
|
|
78
|
+
- Code is prepared by BGA backend, no upload needed
|
|
79
|
+
- Automatically executes commands as root user
|
|
80
|
+
- Working directory automatically set to `/workspace/{cliSessionId}`
|
|
81
|
+
- Supports custom HTTP headers for authentication and routing
|
|
82
|
+
|
|
83
|
+
## 📦 Sandbox Reuse Mechanism
|
|
84
|
+
|
|
85
|
+
### Alias System
|
|
86
|
+
|
|
87
|
+
Assign independent sandboxes for users/projects:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
# Use user ID as alias
|
|
91
|
+
codebuddy --sandbox https://api.e2b.dev --sandbox-id user-123 -p "Task"
|
|
92
|
+
|
|
93
|
+
# Use project name as alias
|
|
94
|
+
codebuddy --sandbox https://api.e2b.dev --sandbox-id project-foo -p "Task"
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Alias mappings are stored in `~/.codebuddy/sandbox-state.json`, supporting automatic creation and reuse.
|
|
98
|
+
|
|
99
|
+
### Default Behavior
|
|
100
|
+
|
|
101
|
+
Sandboxes are automatically reused without manually specifying IDs:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
# First time - creates new sandbox
|
|
105
|
+
$ codebuddy --sandbox https://api.e2b.dev "Hello"
|
|
106
|
+
[Sandbox] Creating new E2B sandbox...
|
|
107
|
+
[Sandbox] Created new sandbox: sb_abc123
|
|
108
|
+
|
|
109
|
+
# Next launch - automatically reuses
|
|
110
|
+
$ codebuddy --sandbox https://api.e2b.dev "Continue working"
|
|
111
|
+
[Sandbox] Reusing sandbox: sb_abc123
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Multi-Project Management
|
|
115
|
+
|
|
116
|
+
A single sandbox can host multiple projects, automatically isolated in different directories:
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
/workspace/
|
|
120
|
+
├── home-user-projectA/
|
|
121
|
+
├── home-user-projectB/
|
|
122
|
+
└── var-www-website/
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## ⚙️ Advanced Parameters
|
|
126
|
+
|
|
127
|
+
### Sandbox Creation and Connection
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
# Force create new sandbox (ignore cache)
|
|
131
|
+
codebuddy --sandbox --sandbox-new "Start from scratch"
|
|
132
|
+
|
|
133
|
+
# Connect to specific sandbox ID (real ID)
|
|
134
|
+
codebuddy --sandbox --sandbox-id sb_abc123 "Continue previous work"
|
|
135
|
+
|
|
136
|
+
# Use aliases (custom names, auto-create and reuse)
|
|
137
|
+
codebuddy --sandbox https://api.e2b.dev --sandbox-id user-123 -p "Task" # User ID
|
|
138
|
+
codebuddy --sandbox https://api.e2b.dev --sandbox-id project-foo -p "Task" # Project name
|
|
139
|
+
codebuddy --sandbox https://api.e2b.dev --sandbox-id team-backend -p "Task" # Team name
|
|
140
|
+
|
|
141
|
+
# Terminate sandbox on exit (default keeps running for reuse)
|
|
142
|
+
codebuddy --sandbox --sandbox-kill "Clean up after completion"
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Environment Variable Configuration
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
# E2B configuration
|
|
149
|
+
export E2B_API_KEY=your_api_key # Required
|
|
150
|
+
export E2B_TEMPLATE=base # Template name (default: base)
|
|
151
|
+
export E2B_TIMEOUT_MS=3600000 # Timeout (default: 1 hour)
|
|
152
|
+
export E2B_ALLOW_INTERNET_ACCESS=true # Allow internet access (default: true)
|
|
153
|
+
|
|
154
|
+
# Container Sandbox configuration
|
|
155
|
+
export CODEBUDDY_SANDBOX_IMAGE=node:20-alpine # Docker image
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
## 📊 Sandbox Management
|
|
159
|
+
|
|
160
|
+
### List Sandboxes
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
$ codebuddy sandbox list
|
|
164
|
+
E2B Sandboxes:
|
|
165
|
+
* sb_abc123 (2 projects, last used 2m ago)
|
|
166
|
+
sb_xyz789 (1 project, last used 2h ago)
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### View Details
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
# View current sandbox
|
|
173
|
+
$ codebuddy sandbox info
|
|
174
|
+
|
|
175
|
+
# View specific sandbox
|
|
176
|
+
$ codebuddy sandbox info sb_xyz789
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### Terminate Sandbox
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
$ codebuddy sandbox kill sb_abc123
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### Clean Up Invalid Sandboxes
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
$ codebuddy sandbox clean
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
## 🔍 How It Works
|
|
192
|
+
|
|
193
|
+
### Project Directory Mapping
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
Local path: /Users/yangsubo/projectA
|
|
197
|
+
Sandbox path: /workspace/Users-yangsubo-projectA
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### State Persistence
|
|
201
|
+
|
|
202
|
+
Sandbox state is saved in `~/.codebuddy/sandbox-state.json`
|
|
203
|
+
|
|
204
|
+
## 💡 Best Practices
|
|
205
|
+
|
|
206
|
+
### 1. Choose the Right Sandbox Type
|
|
207
|
+
|
|
208
|
+
```bash
|
|
209
|
+
# Need local container isolation
|
|
210
|
+
codebuddy --sandbox container "Local development task"
|
|
211
|
+
|
|
212
|
+
# Cloud collaboration or no local environment
|
|
213
|
+
codebuddy --sandbox https://api.e2b.dev "Cloud development"
|
|
214
|
+
|
|
215
|
+
# Connect to remotely deployed sandbox service
|
|
216
|
+
codebuddy --teleport session_abc123XYZ4567890 "Remote development"
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### 2. Project Isolation
|
|
220
|
+
|
|
221
|
+
```bash
|
|
222
|
+
cd ~/work/projectA
|
|
223
|
+
codebuddy --sandbox "Develop feature X"
|
|
224
|
+
|
|
225
|
+
cd ~/work/projectB
|
|
226
|
+
codebuddy --sandbox "Fix bug Y"
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
### 3. Long-term Development
|
|
230
|
+
|
|
231
|
+
```bash
|
|
232
|
+
# Day one
|
|
233
|
+
codebuddy --sandbox "Set up development environment"
|
|
234
|
+
|
|
235
|
+
# Day two - instant startup, environment preserved
|
|
236
|
+
codebuddy --sandbox "Continue development"
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
### 4. Temporary Tasks
|
|
240
|
+
|
|
241
|
+
Use `--sandbox-kill` for automatic cleanup:
|
|
242
|
+
|
|
243
|
+
```bash
|
|
244
|
+
codebuddy --sandbox --sandbox-kill "Quickly test an idea"
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
### 5. Regular Cleanup
|
|
248
|
+
|
|
249
|
+
```bash
|
|
250
|
+
# View all sandboxes
|
|
251
|
+
codebuddy sandbox list
|
|
252
|
+
|
|
253
|
+
# Clean up invalid ones
|
|
254
|
+
codebuddy sandbox clean
|
|
255
|
+
|
|
256
|
+
# Manually terminate specific sandbox
|
|
257
|
+
codebuddy sandbox kill sb_old123
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
## ⚠️ Important Notes
|
|
261
|
+
|
|
262
|
+
### Container Sandbox
|
|
263
|
+
|
|
264
|
+
- **Mount Mode**: Container sandbox automatically mounts current directory, file changes sync in real-time
|
|
265
|
+
- **Network Isolation**: Docker container is isolated from host network
|
|
266
|
+
- **Resource Limits**: Subject to Docker configuration limits
|
|
267
|
+
|
|
268
|
+
### E2B Sandbox
|
|
269
|
+
|
|
270
|
+
- **Upload Delay**: Initial project upload takes time, more files means slower upload
|
|
271
|
+
- **File Sync**: Automatic sync not supported, requires re-upload or manual sync
|
|
272
|
+
- **Cost**: E2B cloud service may incur charges, check official pricing
|
|
273
|
+
- **Timeout**: Sandboxes have maximum runtime limits (default: 1 hour)
|
|
274
|
+
|
|
275
|
+
### Interactive Commands
|
|
276
|
+
|
|
277
|
+
Both E2B and Container support interactive PTY:
|
|
278
|
+
|
|
279
|
+
```bash
|
|
280
|
+
codebuddy --sandbox "Edit main.py with vim"
|
|
281
|
+
codebuddy --sandbox "Run htop to view processes"
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
## 🔧 Troubleshooting
|
|
285
|
+
|
|
286
|
+
### Docker Not Running
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
Error: Neither Docker nor Podman is available
|
|
290
|
+
```
|
|
291
|
+
**Solution**: Start Docker Desktop or Podman
|
|
292
|
+
|
|
293
|
+
### E2B API Key Missing
|
|
294
|
+
|
|
295
|
+
```bash
|
|
296
|
+
Error: E2B_API_KEY environment variable is required
|
|
297
|
+
```
|
|
298
|
+
**Solution**: `export E2B_API_KEY=your_key_here`
|
|
299
|
+
|
|
300
|
+
### Sandbox Connection Failed
|
|
301
|
+
|
|
302
|
+
```bash
|
|
303
|
+
Failed to connect to sandbox sb_abc123
|
|
304
|
+
```
|
|
305
|
+
**Solution**: Sandbox may have expired, use `--sandbox-new` to create a new one
|
|
306
|
+
|
|
307
|
+
### View Debug Logs
|
|
308
|
+
|
|
309
|
+
```bash
|
|
310
|
+
codebuddy --sandbox --debug "Test command"
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
## 📚 Related Documentation
|
|
314
|
+
|
|
315
|
+
- [CLI Reference](./cli-reference.md) - Complete command-line parameter documentation
|
|
316
|
+
- [E2B Official Documentation](https://e2b.dev/docs) - E2B cloud service documentation
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# Scheduled Tasks
|
|
2
|
+
|
|
3
|
+
CodeBuddy Code supports creating and managing scheduled tasks within a session. You can set up tasks that execute instructions on a recurring schedule or trigger a one-time action at a specific future time. Common use cases include: periodically checking build status, polling for task completion, setting reminders at specific times, and more.
|
|
4
|
+
|
|
5
|
+
> **Note**: Scheduled tasks are session-scoped. Tasks are only active while CodeBuddy Code is running and are automatically cleared upon exit.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Creating One-Time Reminders
|
|
9
|
+
|
|
10
|
+
If you only need a reminder at a specific future time, you can describe it in natural language:
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
Remind me at 4:30 PM to sync today's progress
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
Check the build task output in one hour
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
Generate a daily work report for yesterday at 9 AM tomorrow
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
These tasks trigger once at the specified time and are automatically deleted after execution.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Managing Existing Tasks
|
|
29
|
+
|
|
30
|
+
### View All Current Tasks
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
What scheduled tasks do I have right now?
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The list includes the task ID, execution frequency, task type (recurring / one-time), and the associated instruction.
|
|
37
|
+
|
|
38
|
+
### Cancel a Task
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
Cancel the deployment check scheduled task
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Or cancel by task ID:
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
Delete the scheduled task with ID xxx
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Under the hood, these correspond to the `CronList` and `CronDelete` tools, which can be operated through conversation without needing to remember specific commands.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Task Execution Mechanism
|
|
55
|
+
|
|
56
|
+
### Execution Timing
|
|
57
|
+
|
|
58
|
+
Tasks only trigger when the session is **idle** — that is, when the system is not processing other requests. If an operation is in progress when the task is due, the trigger is deferred until the operation completes.
|
|
59
|
+
|
|
60
|
+
### Time Jitter
|
|
61
|
+
|
|
62
|
+
The system adds a small random offset to task trigger times to prevent congestion from many tasks firing simultaneously:
|
|
63
|
+
|
|
64
|
+
- **Recurring tasks**: Delayed by up to 10% of the cycle duration (capped at 15 minutes)
|
|
65
|
+
- **One-time tasks**: For tasks set to the hour or half-hour, may trigger up to 90 seconds early
|
|
66
|
+
|
|
67
|
+
For example, a task set to run `every hour` may actually trigger randomly within 0–6 minutes after the hour.
|
|
68
|
+
|
|
69
|
+
### Auto-Expiration
|
|
70
|
+
|
|
71
|
+
**Recurring tasks automatically expire and are deleted after 3 days**, with one final trigger before expiration.
|
|
72
|
+
If you need tasks to persist longer, you can recreate them after expiration or use an external scheduling solution (such as GitHub Actions).
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Cron Expression Reference
|
|
77
|
+
|
|
78
|
+
For precise schedules like "every Monday at 10 AM" or "the 1st of every month," simply describe your requirement to the AI, and it will automatically convert it to a cron expression and create the task:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
Generate a weekly work plan every Monday at 10 AM
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
On the 1st of every month, compile last month's code commit statistics grouped by contributor
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
Every Friday at 5:30 PM, remind me to sync progress and update task status
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
Every day at noon, check if there are any PRs awaiting my review
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
On weekdays at 9:15 AM, list yesterday's unmerged PRs
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
The AI response will include the actual cron expression and execution frequency used, so you can confirm whether it matches your expectations.
|
|
101
|
+
|
|
102
|
+
**Format:**
|
|
103
|
+
```
|
|
104
|
+
Minute Hour Day Month Weekday
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**Common expressions:**
|
|
108
|
+
|
|
109
|
+
| Expression | Meaning |
|
|
110
|
+
|--------|------|
|
|
111
|
+
| `*/5 * * * *` | Every 5 minutes |
|
|
112
|
+
| `*/15 * * * *` | Every 15 minutes |
|
|
113
|
+
| `0 * * * *` | Every hour on the hour |
|
|
114
|
+
| `0 9 * * *` | Every day at 9 AM |
|
|
115
|
+
| `0 9 * * 1-5` | Weekdays at 9 AM |
|
|
116
|
+
| `0 0 1 * *` | Midnight on the 1st of every month |
|
|
117
|
+
| `30 18 * * 5` | Every Friday at 6:30 PM |
|
|
118
|
+
|
|
119
|
+
**Field descriptions:**
|
|
120
|
+
|
|
121
|
+
| Field | Range | Special Characters |
|
|
122
|
+
|------|---------|---------|
|
|
123
|
+
| Minute | 0–59 | `*` (any), `*/N` (every N minutes), `N,M` (list), `N-M` (range) |
|
|
124
|
+
| Hour | 0–23 | Same as above |
|
|
125
|
+
| Day | 1–31 | Same as above |
|
|
126
|
+
| Month | 1–12 | Same as above |
|
|
127
|
+
| Weekday | 0–6 | 0 or 7 = Sunday, 1 = Monday, and so on |
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## Notes
|
|
132
|
+
|
|
133
|
+
| Item | Description |
|
|
134
|
+
|------|------|
|
|
135
|
+
| **Session-bound** | Tasks exist within the session. They are lost when CodeBuddy Code exits and are not persisted to disk |
|
|
136
|
+
| **Recurring task limit** | A maximum of 50 scheduled tasks can exist simultaneously per session |
|
|
137
|
+
| **Minimum interval** | 1 minute (sub-minute intervals are automatically rounded up) |
|
|
138
|
+
| **Task expiration** | Recurring tasks are automatically cleared after 3 days |
|
|
139
|
+
| **No backfill** | Missed tasks during session interruptions are not retroactively executed |
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Disabling Scheduled Tasks
|
|
144
|
+
|
|
145
|
+
To completely disable the scheduled tasks feature, set the following environment variable:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
CODEBUDDY_DISABLE_CRON=1 codebuddy
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
Once enabled, the `/loop` skill is no longer available, and the `CronCreate`, `CronList`, and `CronDelete` tools are also disabled.
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## Related Documentation
|
|
156
|
+
|
|
157
|
+
- [Skills System](./skills.md)
|
|
158
|
+
- [Slash Command Reference](./slash-commands.md)
|
|
159
|
+
- [Sessions and Context Management](./cli-reference.md)
|
|
160
|
+
- [Hooks Event System](./hooks.md)
|