@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,602 @@
|
|
|
1
|
+
# Settings Configuration
|
|
2
|
+
|
|
3
|
+
CodeBuddy Code uses a layered configuration system that enables personalization at different levels, from personal preferences to team standards to project-specific requirements.
|
|
4
|
+
|
|
5
|
+
## Configuration Files
|
|
6
|
+
|
|
7
|
+
The `settings.json` file is the official mechanism for configuring CodeBuddy Code, supporting layered settings:
|
|
8
|
+
|
|
9
|
+
* **User settings** are defined in `~/.codebuddy/settings.json` and apply to all projects
|
|
10
|
+
* **Project settings** are stored in the project directory:
|
|
11
|
+
* `.codebuddy/settings.json` for settings checked into source control and shared with the team
|
|
12
|
+
* `.codebuddy/settings.local.json` for settings not checked in, suitable for personal preferences and experiments. CodeBuddy Code automatically configures git to ignore this file
|
|
13
|
+
|
|
14
|
+
### Complete Configuration Example
|
|
15
|
+
|
|
16
|
+
```json
|
|
17
|
+
{
|
|
18
|
+
"language": "English",
|
|
19
|
+
"permissions": {
|
|
20
|
+
"allow": [
|
|
21
|
+
"Bash(npm run lint)",
|
|
22
|
+
"Bash(npm run test:*)",
|
|
23
|
+
"Read(~/.zshrc)"
|
|
24
|
+
],
|
|
25
|
+
"ask": [
|
|
26
|
+
"Bash(git push:*)"
|
|
27
|
+
],
|
|
28
|
+
"deny": [
|
|
29
|
+
"Bash(curl:*)",
|
|
30
|
+
"Read(./.env)",
|
|
31
|
+
"Read(./.env.*)",
|
|
32
|
+
"Read(./secrets/**)"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"env": {
|
|
36
|
+
"NODE_ENV": "development",
|
|
37
|
+
"DEBUG": "codebuddy:*"
|
|
38
|
+
},
|
|
39
|
+
"model": "gpt-5",
|
|
40
|
+
"cleanupPeriodDays": 30,
|
|
41
|
+
"includeCoAuthoredBy": false,
|
|
42
|
+
"statusLine": {
|
|
43
|
+
"type": "command",
|
|
44
|
+
"command": "~/.codebuddy/statusline.sh"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Available Settings
|
|
50
|
+
|
|
51
|
+
`settings.json` supports the following options:
|
|
52
|
+
|
|
53
|
+
| Key | Description | Example |
|
|
54
|
+
|:------|:-----|:-----|
|
|
55
|
+
| `language` | Preferred response language. When set, CodeBuddy Code will respond in the specified language. Leave empty to auto-detect based on user input | `"English"` |
|
|
56
|
+
| `apiKeyHelper` | Custom script executed in `/bin/sh` that generates an authentication value. This value is sent as both `X-Api-Key` and `Authorization: Bearer` headers for model requests | `/bin/generate_temp_api_key.sh` |
|
|
57
|
+
| `textToImageModel` | Model ID used for text-to-image generation | `"your-image-model"` |
|
|
58
|
+
| `imageToImageModel` | Model ID used for image-to-image generation | `"your-edit-model"` |
|
|
59
|
+
| `cleanupPeriodDays` | How long to locally retain chat history based on last activity date (default: 30 days) | `20` |
|
|
60
|
+
| `env` | Environment variables applied to every session | `{"FOO": "bar"}` |
|
|
61
|
+
| `includeCoAuthoredBy` | Whether to include `co-authored-by CodeBuddy` attribution in git commits and pull requests (default: `true`) | `false` |
|
|
62
|
+
| `permissions` | Permission configuration, see table below | |
|
|
63
|
+
| `hooks` | Configure custom commands to run before and after tool execution. See [hooks documentation](hooks.md) | `{"PreToolUse": {"Bash": "echo 'Running command...'"}}` |
|
|
64
|
+
| `disableAllHooks` | Disable all [hooks](hooks.md) | `true` |
|
|
65
|
+
| `model` | Override the default model used by CodeBuddy Code | `"gpt-5"` |
|
|
66
|
+
| `statusLine` | Configure a custom status line to display context. See [statusLine documentation](#status-line-configuration) | `{"type": "command", "command": "~/.codebuddy/statusline.sh"}` |
|
|
67
|
+
| `enableAllProjectMcpServers` | Auto-approve all MCP servers defined in the project's `.mcp.json` file | `true` |
|
|
68
|
+
| `enabledMcpjsonServers` | List of specific MCP servers approved from `.mcp.json` files | `["memory", "github"]` |
|
|
69
|
+
| `disabledMcpjsonServers` | List of specific MCP servers rejected from `.mcp.json` files | `["filesystem"]` |
|
|
70
|
+
| `autoCompactEnabled` | Enable auto-compaction | `true` |
|
|
71
|
+
| `autoUpdates` | Auto-update settings | `false` |
|
|
72
|
+
| `alwaysThinkingEnabled` | Always enable thinking mode | `true` |
|
|
73
|
+
| `showTokensCounter` | Whether to show the tokens counter in the interface | `false` |
|
|
74
|
+
| `endpoint` | Custom server endpoint address | `"https://api.example.com"` |
|
|
75
|
+
| `envRouteMode` | Environment routing mode configuration | `"production"` |
|
|
76
|
+
| `sandbox` | Bash sandbox configuration, see [Bash Sandbox Settings](#bash-sandbox-settings) | `{"enabled": true}` |
|
|
77
|
+
| `promptSuggestionEnabled` | Enable prompt suggestions, automatically predicting next actions after the agent completes a conversation (default: `true`) | `false` |
|
|
78
|
+
| `reasoningEffort` | Reasoning effort level, controlling the depth of model reasoning. Options: `low`, `medium`, `high`, `xhigh`. When empty, uses the product configuration default. Can be toggled via the `/config` panel; selecting `auto` is equivalent to clearing this setting | `"high"` |
|
|
79
|
+
| `memory` | [Experimental] Memory feature configuration, see [Memory Configuration](#memory-configuration-experimental) | `{"enabled": true}` |
|
|
80
|
+
|
|
81
|
+
### Permission Settings
|
|
82
|
+
|
|
83
|
+
| Key | Description | Example |
|
|
84
|
+
|:------|:-----|:-----|
|
|
85
|
+
| `allow` | Array of [permission rules](iam.md#configuring-permissions) allowing tool use. **Note:** Bash rules use prefix matching, not regex | `[ "Bash(git diff:*)" ]` |
|
|
86
|
+
| `ask` | Array of [permission rules](iam.md#configuring-permissions) requiring confirmation for tool use | `[ "Bash(git push:*)" ]` |
|
|
87
|
+
| `deny` | Array of [permission rules](iam.md#configuring-permissions) denying tool use. Used to exclude CodeBuddy Code from accessing sensitive files. **Note:** Bash patterns are prefix-matched and can be bypassed (see [Bash Permission Limitations](iam.md#tool-specific-permission-rules)) | `[ "WebFetch", "Bash(curl:*)", "Read(./.env)", "Read(./secrets/**)" ]` |
|
|
88
|
+
| `additionalDirectories` | Additional [working directories](iam.md#working-directories) that CodeBuddy can access | `[ "../docs/" ]` |
|
|
89
|
+
| `defaultMode` | Default [permission mode](iam.md#permission-modes) when opening CodeBuddy Code | `"acceptEdits"` |
|
|
90
|
+
| `disableBypassPermissionsMode` | Set to `"disable"` to prevent activating `bypassPermissions` mode. This disables the `-y` and `--dangerously-skip-permissions` CLI flags | `"disable"` |
|
|
91
|
+
|
|
92
|
+
### Memory Configuration (Experimental)
|
|
93
|
+
|
|
94
|
+
Memory allows CodeBuddy Code to maintain persistent memory across sessions, automatically managing project context and learning history.
|
|
95
|
+
|
|
96
|
+
| Key | Description | Example |
|
|
97
|
+
|:------|:-----|:-----|
|
|
98
|
+
| `enabled` | Whether to enable memory (default: `false`) | `true` |
|
|
99
|
+
| `autoMemoryEnabled` | Whether to enable Auto Memory (default: `true`). Auto Memory allows CodeBuddy to automatically manage persistent cross-session memory, stored in `~/.codebuddy/memories/` | `true` |
|
|
100
|
+
| `typedMemory` | [Experimental] Whether to enable Typed Memory mode (default: `false`). When enabled, uses 4 memory types (user/feedback/project/reference) + YAML frontmatter format | `true` |
|
|
101
|
+
| `teamMemory.enabled` | Whether to enable team memory mode (default: `false`). When enabled, project memories are stored in the project directory for team sharing | `true` |
|
|
102
|
+
| `teamMemory.userId` | Team user ID for isolating different users' memories. Defaults to auto-detection (git user.name > system username) | `"yangsubo"` |
|
|
103
|
+
|
|
104
|
+
**Configuration example:**
|
|
105
|
+
|
|
106
|
+
```json
|
|
107
|
+
{
|
|
108
|
+
"memory": {
|
|
109
|
+
"enabled": true,
|
|
110
|
+
"autoMemoryEnabled": true,
|
|
111
|
+
"typedMemory": false,
|
|
112
|
+
"teamMemory": {
|
|
113
|
+
"enabled": true,
|
|
114
|
+
"userId": "yangsubo"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**Memory storage locations:**
|
|
121
|
+
|
|
122
|
+
- **Personal mode** (default): `~/.codebuddy/memories/{project-id}/`
|
|
123
|
+
- **Team mode**: `{project}/.codebuddy/memories/@{user-id}/`
|
|
124
|
+
- **Global memory**: `~/.codebuddy/memories/global/`
|
|
125
|
+
|
|
126
|
+
This feature can also be enabled via the `/config` command in the settings panel.
|
|
127
|
+
|
|
128
|
+
### Bash Sandbox Settings
|
|
129
|
+
|
|
130
|
+
Configure advanced sandbox behavior. The sandbox isolates bash commands from your filesystem and network. See [Bash Sandbox Documentation](bash-sandboxing.md) for details.
|
|
131
|
+
|
|
132
|
+
**Filesystem and network restrictions** are configured via Read, Edit, and WebFetch permission rules, not through these sandbox settings.
|
|
133
|
+
|
|
134
|
+
| Key | Description | Example |
|
|
135
|
+
|:------|:-----|:-----|
|
|
136
|
+
| `enabled` | Enable bash sandbox (macOS/Linux only). Default: false | `true` |
|
|
137
|
+
| `autoAllowBashIfSandboxed` | Auto-approve bash commands in sandbox environment. Default: true | `true` |
|
|
138
|
+
| `excludedCommands` | Commands that should run outside the sandbox | `["git", "docker"]` |
|
|
139
|
+
| `allowUnsandboxedCommands` | Allow running commands outside sandbox via `dangerouslyDisableSandbox` parameter. Set to `false` to completely disable |
|
|
140
|
+
| `network.allowUnixSockets` | Unix socket paths accessible in sandbox (for SSH agents, etc.) | `["~/.ssh/agent-socket"]` |
|
|
141
|
+
| `network.allowLocalBinding` | Allow binding to localhost ports (macOS only). Default: false | `true` |
|
|
142
|
+
| `network.httpProxyPort` | HTTP proxy port if you want to use your own proxy. If unspecified, CodeBuddy runs its own proxy | `8080` |
|
|
143
|
+
| `network.socksProxyPort` | SOCKS5 proxy port if you want to use your own proxy. If unspecified, CodeBuddy runs its own proxy | `8081` |
|
|
144
|
+
| `enableWeakerNestedSandbox` | Enable weaker sandbox for unprivileged Docker environments (Linux only). **Reduces security.** Default: false | `true` |
|
|
145
|
+
|
|
146
|
+
**Configuration example:**
|
|
147
|
+
|
|
148
|
+
```json
|
|
149
|
+
{
|
|
150
|
+
"sandbox": {
|
|
151
|
+
"enabled": true,
|
|
152
|
+
"autoAllowBashIfSandboxed": true,
|
|
153
|
+
"excludedCommands": ["docker"],
|
|
154
|
+
"network": {
|
|
155
|
+
"allowUnixSockets": [
|
|
156
|
+
"/var/run/docker.sock"
|
|
157
|
+
],
|
|
158
|
+
"allowLocalBinding": true
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"permissions": {
|
|
162
|
+
"deny": [
|
|
163
|
+
"Read(.envrc)",
|
|
164
|
+
"Read(~/.aws/**)"
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
**Filesystem access** is controlled via Read/Edit permissions:
|
|
171
|
+
|
|
172
|
+
* Read deny rules block file reads in sandbox
|
|
173
|
+
* Edit allow rules permit file writes (beyond defaults like the current working directory)
|
|
174
|
+
* Edit deny rules block writes within allowed paths
|
|
175
|
+
|
|
176
|
+
> **Note**: The sandbox adds CodeBuddy configuration files (`settings.json`, `settings.local.json`) to a write-protection list by default, preventing commands or tools inside the sandbox from tampering with configuration. See [Bash Sandbox - Configuration File Protection](bash-sandboxing.md#configuration-file-protection) for details.
|
|
177
|
+
|
|
178
|
+
**Network access** is controlled via WebFetch permissions:
|
|
179
|
+
|
|
180
|
+
* WebFetch allow rules permit network domains
|
|
181
|
+
* WebFetch deny rules block network domains
|
|
182
|
+
|
|
183
|
+
### Settings Priority
|
|
184
|
+
|
|
185
|
+
Settings are applied in priority order (highest to lowest):
|
|
186
|
+
|
|
187
|
+
1. **Command-line arguments**
|
|
188
|
+
* Temporary overrides for a specific session
|
|
189
|
+
|
|
190
|
+
2. **Local project settings** (`.codebuddy/settings.local.json`)
|
|
191
|
+
* Personal project-specific settings
|
|
192
|
+
|
|
193
|
+
3. **Shared project settings** (`.codebuddy/settings.json`)
|
|
194
|
+
* Team-shared project settings in source control
|
|
195
|
+
|
|
196
|
+
4. **User settings** (`~/.codebuddy/settings.json`)
|
|
197
|
+
* Personal global settings
|
|
198
|
+
|
|
199
|
+
This hierarchy ensures teams can establish shared standards while still allowing individual customization.
|
|
200
|
+
|
|
201
|
+
### Configuration System Key Points
|
|
202
|
+
|
|
203
|
+
* **Memory files (CODEBUDDY.md)**: Contain instructions and context that CodeBuddy loads at startup
|
|
204
|
+
* **Settings files (JSON)**: Configure permissions, environment variables, and tool behavior
|
|
205
|
+
* **Slash commands**: Custom commands callable via `/command-name` during sessions
|
|
206
|
+
* **MCP servers**: Extend CodeBuddy Code with additional tools and integrations
|
|
207
|
+
* **Priority**: Higher-level configurations override lower-level ones
|
|
208
|
+
* **Inheritance**: Settings are merged; more specific settings add to or override broader ones
|
|
209
|
+
|
|
210
|
+
### Excluding Sensitive Files
|
|
211
|
+
|
|
212
|
+
To prevent CodeBuddy Code from accessing files containing sensitive information (such as API keys, secrets, environment files), use the `permissions.deny` setting in `.codebuddy/settings.json`:
|
|
213
|
+
|
|
214
|
+
```json
|
|
215
|
+
{
|
|
216
|
+
"permissions": {
|
|
217
|
+
"deny": [
|
|
218
|
+
"Read(./.env)",
|
|
219
|
+
"Read(./.env.*)",
|
|
220
|
+
"Read(./secrets/**)",
|
|
221
|
+
"Read(./config/credentials.json)",
|
|
222
|
+
"Read(./build)"
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Files matching these patterns will be completely invisible to CodeBuddy Code, preventing any accidental exposure of sensitive data.
|
|
229
|
+
|
|
230
|
+
## Sub-Agent Configuration
|
|
231
|
+
|
|
232
|
+
CodeBuddy Code supports custom AI sub-agents configurable at user and project levels. These sub-agents are stored as Markdown files with YAML frontmatter:
|
|
233
|
+
|
|
234
|
+
* **User sub-agents**: `~/.codebuddy/agents/` - Available across all projects
|
|
235
|
+
* **Project sub-agents**: `.codebuddy/agents/` - Project-specific, shareable with the team
|
|
236
|
+
|
|
237
|
+
Sub-agent files define specialized AI assistants with custom prompts and tool permissions. See [Sub-Agents Documentation](sub-agents.md) for details.
|
|
238
|
+
|
|
239
|
+
## Plugin Configuration
|
|
240
|
+
|
|
241
|
+
CodeBuddy Code supports a plugin system that allows you to extend functionality with custom commands, agents, hooks, and MCP servers. Plugins are distributed through marketplaces and can be configured at user and project levels.
|
|
242
|
+
|
|
243
|
+
### Plugin Settings
|
|
244
|
+
|
|
245
|
+
Plugin-related settings in `settings.json`:
|
|
246
|
+
|
|
247
|
+
```json
|
|
248
|
+
{
|
|
249
|
+
"enabledPlugins": {
|
|
250
|
+
"formatter@company-tools": true,
|
|
251
|
+
"deployer@company-tools": true,
|
|
252
|
+
"analyzer@security-plugins": false
|
|
253
|
+
},
|
|
254
|
+
"extraKnownMarketplaces": {
|
|
255
|
+
"company-tools": {
|
|
256
|
+
"source": {
|
|
257
|
+
"source": "github",
|
|
258
|
+
"repo": "company/codebuddy-plugins"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
#### `enabledPlugins`
|
|
266
|
+
|
|
267
|
+
Controls which plugins are enabled. Format: `"plugin-name@marketplace-name": true/false`
|
|
268
|
+
|
|
269
|
+
**Scopes**:
|
|
270
|
+
|
|
271
|
+
* **User settings** (`~/.codebuddy/settings.json`): Personal plugin preferences
|
|
272
|
+
* **Project settings** (`.codebuddy/settings.json`): Project-specific plugins shared with the team
|
|
273
|
+
* **Local settings** (`.codebuddy/settings.local.json`): Per-machine overrides (not committed)
|
|
274
|
+
|
|
275
|
+
**Example**:
|
|
276
|
+
|
|
277
|
+
```json
|
|
278
|
+
{
|
|
279
|
+
"enabledPlugins": {
|
|
280
|
+
"code-formatter@team-tools": true,
|
|
281
|
+
"deployment-tools@team-tools": true,
|
|
282
|
+
"experimental-features@personal": false
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
#### `extraKnownMarketplaces`
|
|
288
|
+
|
|
289
|
+
Defines additional marketplaces that should be available for the project. Typically used in project-level settings to ensure team members can access required plugin sources.
|
|
290
|
+
|
|
291
|
+
**When a project includes `extraKnownMarketplaces`**:
|
|
292
|
+
|
|
293
|
+
1. Team members are prompted to install marketplaces when trusting the folder
|
|
294
|
+
2. Team members are then prompted to install plugins from that marketplace
|
|
295
|
+
3. Users can skip unwanted marketplaces or plugins (stored in user settings)
|
|
296
|
+
4. Installation respects trust boundaries and requires explicit consent
|
|
297
|
+
|
|
298
|
+
**Example**:
|
|
299
|
+
|
|
300
|
+
```json
|
|
301
|
+
{
|
|
302
|
+
"extraKnownMarketplaces": {
|
|
303
|
+
"company-tools": {
|
|
304
|
+
"source": {
|
|
305
|
+
"source": "github",
|
|
306
|
+
"repo": "company-org/codebuddy-plugins"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"security-plugins": {
|
|
310
|
+
"source": {
|
|
311
|
+
"source": "git",
|
|
312
|
+
"url": "https://git.company.com/security/plugins.git"
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
**Marketplace source types**:
|
|
320
|
+
|
|
321
|
+
* `github`: GitHub repository (using `repo`)
|
|
322
|
+
* `git`: Any git URL (using `url`)
|
|
323
|
+
* `directory`: Local filesystem path (using `path`, for development only)
|
|
324
|
+
|
|
325
|
+
### Managing Plugins
|
|
326
|
+
|
|
327
|
+
Use the `/plugin` command to interactively manage plugins:
|
|
328
|
+
|
|
329
|
+
* Browse available plugins in marketplaces
|
|
330
|
+
* Install/uninstall plugins
|
|
331
|
+
* Enable/disable plugins
|
|
332
|
+
* View plugin details (provided commands, agents, hooks)
|
|
333
|
+
* Add/remove marketplaces
|
|
334
|
+
|
|
335
|
+
See [Plugin Documentation](plugins.md) for details.
|
|
336
|
+
|
|
337
|
+
## Environment Variables
|
|
338
|
+
|
|
339
|
+
CodeBuddy Code supports environment variables to control its behavior. All environment variables can also be configured in the `env` field of [`settings.json`](#available-settings), which automatically applies them to every session or rolls out configuration for an entire team.
|
|
340
|
+
|
|
341
|
+
For the complete environment variable reference, see [**Environment Variables Reference**](./env-vars.md).
|
|
342
|
+
|
|
343
|
+
### Quick Start
|
|
344
|
+
|
|
345
|
+
**Basic authentication configuration**:
|
|
346
|
+
|
|
347
|
+
```bash
|
|
348
|
+
# Using API key
|
|
349
|
+
export CODEBUDDY_API_KEY="your-api-key"
|
|
350
|
+
codebuddy
|
|
351
|
+
|
|
352
|
+
# Or using auth token
|
|
353
|
+
export CODEBUDDY_AUTH_TOKEN="your-token"
|
|
354
|
+
codebuddy
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
**Setting up proxy**:
|
|
358
|
+
|
|
359
|
+
```bash
|
|
360
|
+
export HTTPS_PROXY="https://proxy.example.com:8080"
|
|
361
|
+
export NO_PROXY="localhost,127.0.0.1"
|
|
362
|
+
codebuddy
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
**Enabling advanced features**:
|
|
366
|
+
|
|
367
|
+
```bash
|
|
368
|
+
# Extended thinking
|
|
369
|
+
export MAX_THINKING_TOKENS="10000"
|
|
370
|
+
|
|
371
|
+
# Auto memory
|
|
372
|
+
export CODEBUDDY_DISABLE_AUTO_MEMORY="0"
|
|
373
|
+
|
|
374
|
+
codebuddy -p "your query"
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
### Configuring in settings.json
|
|
378
|
+
|
|
379
|
+
Environment variables can also be set in the `env` field of `settings.json`:
|
|
380
|
+
|
|
381
|
+
```json
|
|
382
|
+
{
|
|
383
|
+
"env": {
|
|
384
|
+
"CODEBUDDY_API_KEY": "your-api-key",
|
|
385
|
+
"HTTPS_PROXY": "https://proxy.example.com:8080",
|
|
386
|
+
"MAX_THINKING_TOKENS": "10000"
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
For more configuration examples and advanced usage, see [**Environment Variables Reference**](./env-vars.md) and [**Usage Examples**](./env-vars.md#usage-examples).
|
|
392
|
+
|
|
393
|
+
## Status Line Configuration
|
|
394
|
+
|
|
395
|
+
Configure the status line displayed at the bottom of the terminal, which can show current session, model, cost, and other information:
|
|
396
|
+
|
|
397
|
+
| Key | Type | Description |
|
|
398
|
+
|--------|------|------|
|
|
399
|
+
| `statusLine.type` | string | Status line type, currently supports "command" |
|
|
400
|
+
| `statusLine.command` | string | Command path to execute, supports ~ path expansion |
|
|
401
|
+
|
|
402
|
+
```json
|
|
403
|
+
{
|
|
404
|
+
"statusLine": {
|
|
405
|
+
"type": "command",
|
|
406
|
+
"command": "~/.codebuddy/statusline-script.sh"
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
The status line command receives JSON data containing session information via stdin, including:
|
|
412
|
+
- `session_id`: Session ID
|
|
413
|
+
- `model`: Current model information
|
|
414
|
+
- `workspace`: Workspace path information
|
|
415
|
+
- `cost`: Cost statistics
|
|
416
|
+
- `version`: Application version
|
|
417
|
+
|
|
418
|
+
Use the `/statusline` command to quickly configure the status line.
|
|
419
|
+
|
|
420
|
+
## Configuration Management Commands
|
|
421
|
+
|
|
422
|
+
Use the `codebuddy config` command to manage configuration:
|
|
423
|
+
|
|
424
|
+
### Basic Syntax
|
|
425
|
+
```bash
|
|
426
|
+
codebuddy config [command] [options]
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
### Available Commands
|
|
430
|
+
|
|
431
|
+
| Command | Syntax | Description |
|
|
432
|
+
|------|------|------|
|
|
433
|
+
| `get` | `codebuddy config get <key>` | Get a configuration value |
|
|
434
|
+
| `set` | `codebuddy config set [options] <key> <value>` | Set a configuration value |
|
|
435
|
+
| `list` | `codebuddy config list` (alias: `ls`) | List all configuration |
|
|
436
|
+
| `add` | `codebuddy config add <key> <values...>` | Add items to an array configuration |
|
|
437
|
+
| `remove` | `codebuddy config remove <key> [values...]` (alias: `rm`) | Remove configuration or array items |
|
|
438
|
+
|
|
439
|
+
### Options
|
|
440
|
+
|
|
441
|
+
| Option | Description | Applicable Commands |
|
|
442
|
+
|------|------|----------|
|
|
443
|
+
| `-g, --global` | Set global configuration | `set` |
|
|
444
|
+
|
|
445
|
+
### Usage Examples
|
|
446
|
+
|
|
447
|
+
#### Viewing Configuration
|
|
448
|
+
```bash
|
|
449
|
+
# List all configuration
|
|
450
|
+
codebuddy config list
|
|
451
|
+
|
|
452
|
+
# Get a specific configuration value
|
|
453
|
+
codebuddy config get model
|
|
454
|
+
codebuddy config get permissions
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
#### Setting Configuration
|
|
458
|
+
```bash
|
|
459
|
+
# Set project-level model (no -g flag needed)
|
|
460
|
+
codebuddy config set model gpt-5
|
|
461
|
+
|
|
462
|
+
# Set global model (requires -g flag)
|
|
463
|
+
codebuddy config set -g model gpt-4
|
|
464
|
+
|
|
465
|
+
# Set project-level permission configuration (no -g flag needed)
|
|
466
|
+
codebuddy config set permissions '{"allow": ["Read", "Edit"], "deny": ["Bash(rm:*)"]}'
|
|
467
|
+
|
|
468
|
+
# Set project-level environment variables (no -g flag needed)
|
|
469
|
+
codebuddy config set env '{"NODE_ENV": "development", "DEBUG": "true"}'
|
|
470
|
+
|
|
471
|
+
# Set global-only configuration (requires -g flag)
|
|
472
|
+
codebuddy config set -g cleanupPeriodDays 30
|
|
473
|
+
codebuddy config set -g includeCoAuthoredBy false
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
## Tools Available to CodeBuddy
|
|
477
|
+
|
|
478
|
+
CodeBuddy Code has access to a powerful set of tools to help it understand and modify your codebase:
|
|
479
|
+
|
|
480
|
+
| Tool | Description | Requires Permission |
|
|
481
|
+
|:-----|:-----|:---------|
|
|
482
|
+
| **AskUserQuestion** | Ask the user multiple-choice questions to gather information or clarify ambiguities | No |
|
|
483
|
+
| **Bash** | Execute shell commands in your environment | Yes |
|
|
484
|
+
| **TaskOutput** | Retrieve output from running or completed background tasks | No |
|
|
485
|
+
| **Edit** | Make targeted edits to specific files | Yes |
|
|
486
|
+
| **MultiEdit** | Make multiple edits to a single file in one operation | Yes |
|
|
487
|
+
| **ExitPlanMode** | Prompt the user to exit plan mode and begin coding | Yes |
|
|
488
|
+
| **Glob** | Find files using pattern matching | No |
|
|
489
|
+
| **Grep** | Search for patterns in file contents | No |
|
|
490
|
+
| **TaskStop** | Terminate a running background task by ID | No |
|
|
491
|
+
| **LSP** | Interact with LSP servers for code intelligence features (go-to-definition, find references, hover information, etc.) | No |
|
|
492
|
+
| **NotebookEdit** | Modify Jupyter notebook cells | Yes |
|
|
493
|
+
| **Read** | Read file contents | No |
|
|
494
|
+
| **Skill** | Execute a skill in the main conversation | Yes |
|
|
495
|
+
| **SlashCommand** | Run [custom slash commands](slash-commands.md#slashcommand-tool) | Yes |
|
|
496
|
+
| **Task** | Run sub-agents to handle complex multi-step tasks | No |
|
|
497
|
+
| **TaskOutput** | Retrieve output from running or completed background tasks | No |
|
|
498
|
+
| **TaskCreate** | Create tasks to track work progress | No |
|
|
499
|
+
| **TaskUpdate** | Update task status (pending/in_progress/completed) | No |
|
|
500
|
+
| **TaskList** | List current tasks | No |
|
|
501
|
+
| **TaskGet** | Get specific task details | No |
|
|
502
|
+
| **WebFetch** | Fetch content from a specified URL | Yes |
|
|
503
|
+
| **WebSearch** | Perform web search with domain filtering | Yes |
|
|
504
|
+
| **Write** | Create or overwrite files | Yes |
|
|
505
|
+
|
|
506
|
+
Permission rules can be configured using `/permissions` or in [Permission Settings](#permission-settings). See also [Tool-Specific Permission Rules](iam.md#tool-specific-permission-rules).
|
|
507
|
+
|
|
508
|
+
### Extending Tools with Hooks
|
|
509
|
+
|
|
510
|
+
You can use [CodeBuddy Code hooks](hooks.md) to run custom commands before and after any tool execution.
|
|
511
|
+
|
|
512
|
+
For example, you can automatically run a Python formatter after CodeBuddy modifies Python files, or prevent modifications to production configuration files by blocking Write operations to certain paths.
|
|
513
|
+
|
|
514
|
+
## Common Configuration Scenarios
|
|
515
|
+
|
|
516
|
+
### Team Collaboration Configuration
|
|
517
|
+
|
|
518
|
+
**Shared project configuration** (`.codebuddy/settings.json`):
|
|
519
|
+
```json
|
|
520
|
+
{
|
|
521
|
+
"model": "gpt-5",
|
|
522
|
+
"permissions": {
|
|
523
|
+
"allow": ["Read", "Edit", "Bash(git:*)", "Bash(npm:*)"],
|
|
524
|
+
"ask": ["WebFetch", "Bash(docker:*)"],
|
|
525
|
+
"deny": ["Bash(rm:*)", "Bash(sudo:*)"]
|
|
526
|
+
},
|
|
527
|
+
"env": {
|
|
528
|
+
"NODE_ENV": "development"
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
**Personal local configuration** (`.codebuddy/settings.local.json`):
|
|
534
|
+
```json
|
|
535
|
+
{
|
|
536
|
+
"model": "gpt-4",
|
|
537
|
+
"env": {
|
|
538
|
+
"DEBUG": "myapp:*"
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
```
|
|
542
|
+
|
|
543
|
+
### Security Configuration
|
|
544
|
+
|
|
545
|
+
Restrict sensitive operations and file access:
|
|
546
|
+
|
|
547
|
+
```json
|
|
548
|
+
{
|
|
549
|
+
"permissions": {
|
|
550
|
+
"allow": ["Read", "Edit(src/**)", "Bash(git:status,git:diff)"],
|
|
551
|
+
"ask": ["WebFetch", "Bash(curl:*)"],
|
|
552
|
+
"deny": [
|
|
553
|
+
"Edit(**/*.env)",
|
|
554
|
+
"Edit(**/*.key)",
|
|
555
|
+
"Edit(**/*.pem)",
|
|
556
|
+
"Bash(wget:*)",
|
|
557
|
+
"Read(/etc/**)",
|
|
558
|
+
"Read(~/.ssh/**)"
|
|
559
|
+
],
|
|
560
|
+
"defaultMode": "default"
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
### Sandbox Security Configuration
|
|
566
|
+
|
|
567
|
+
Enable sandbox and configure filesystem and network access:
|
|
568
|
+
|
|
569
|
+
```json
|
|
570
|
+
{
|
|
571
|
+
"sandbox": {
|
|
572
|
+
"enabled": true,
|
|
573
|
+
"autoAllowBashIfSandboxed": true,
|
|
574
|
+
"excludedCommands": ["docker", "git"],
|
|
575
|
+
"network": {
|
|
576
|
+
"allowUnixSockets": ["/var/run/docker.sock"],
|
|
577
|
+
"allowLocalBinding": true
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"permissions": {
|
|
581
|
+
"allow": [
|
|
582
|
+
"Edit(src/**)",
|
|
583
|
+
"WebFetch(https://api.github.com/**)"
|
|
584
|
+
],
|
|
585
|
+
"deny": [
|
|
586
|
+
"Read(.envrc)",
|
|
587
|
+
"Read(~/.aws/**)",
|
|
588
|
+
"Edit(**/*.env)"
|
|
589
|
+
]
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
## See Also
|
|
595
|
+
|
|
596
|
+
* [Identity and Access Management](iam.md#configuring-permissions) - Learn about CodeBuddy Code's permission system
|
|
597
|
+
* [Bash Sandbox](bash-sandboxing.md) - Learn about sandbox isolation
|
|
598
|
+
* [Troubleshooting](troubleshooting.md) - Solutions for common configuration issues
|
|
599
|
+
|
|
600
|
+
---
|
|
601
|
+
|
|
602
|
+
*The right configuration makes CodeBuddy Code better understand your needs*
|