@tencent-ai/codebuddy-code 2.67.0 → 2.68.0
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/CHANGELOG.md +26 -0
- package/dist/codebuddy-headless.js +53 -53
- package/dist/codebuddy.js +93 -64
- package/dist/web-ui/assets/index-BoMlEqUE.js +439 -0
- package/dist/web-ui/assets/index-Dt1puyHn.css +32 -0
- package/dist/web-ui/docs/cn/cli/acp.md +152 -0
- package/dist/web-ui/docs/cn/cli/agent-teams.md +327 -0
- package/dist/web-ui/docs/cn/cli/bash-sandboxing.md +290 -0
- package/dist/web-ui/docs/cn/cli/best-practices.md +554 -0
- package/dist/web-ui/docs/cn/cli/channels-reference.md +293 -0
- package/dist/web-ui/docs/cn/cli/channels.md +215 -0
- package/dist/web-ui/docs/cn/cli/checkpointing.md +51 -0
- package/dist/web-ui/docs/cn/cli/cli-reference.md +187 -0
- package/dist/web-ui/docs/cn/cli/common-workflows.md +1013 -0
- package/dist/web-ui/docs/cn/cli/costs.md +174 -0
- package/dist/web-ui/docs/cn/cli/devcontainer.md +553 -0
- package/dist/web-ui/docs/cn/cli/env-vars.md +326 -0
- package/dist/web-ui/docs/cn/cli/gitlab-ci-cd.md +357 -0
- package/dist/web-ui/docs/cn/cli/headless.md +258 -0
- package/dist/web-ui/docs/cn/cli/hooks-guide.md +9 -0
- package/dist/web-ui/docs/cn/cli/hooks.md +805 -0
- package/dist/web-ui/docs/cn/cli/iam.md +530 -0
- package/dist/web-ui/docs/cn/cli/ide-integrations.md +92 -0
- package/dist/web-ui/docs/cn/cli/installation.md +291 -0
- package/dist/web-ui/docs/cn/cli/interactive-mode.md +233 -0
- package/dist/web-ui/docs/cn/cli/mcp.md +739 -0
- package/dist/web-ui/docs/cn/cli/memory.md +436 -0
- package/dist/web-ui/docs/cn/cli/models.md +356 -0
- package/dist/web-ui/docs/cn/cli/overview.md +100 -0
- package/dist/web-ui/docs/cn/cli/plugin-marketplaces.md +533 -0
- package/dist/web-ui/docs/cn/cli/plugins-reference.md +774 -0
- package/dist/web-ui/docs/cn/cli/plugins.md +689 -0
- package/dist/web-ui/docs/cn/cli/quickstart.md +249 -0
- package/dist/web-ui/docs/cn/cli/release-notes/README.md +199 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.10.0.md +23 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.10.1.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.11.0.md +24 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.12.0.md +21 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.13.0.md +20 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.14.0.md +22 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.14.1.md +8 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.15.0.md +18 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.15.1.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.16.0.md +20 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.17.0.md +29 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.18.0.md +17 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.19.0.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.19.1.md +14 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.19.2.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.20.0.md +23 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.20.1.md +15 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.21.0.md +13 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.22.0.md +16 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.23.0.md +20 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.23.2.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.23.3.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.23.4.md +15 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.23.5.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.24.0.md +17 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.25.0.md +18 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.25.1.md +21 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.26.0.md +18 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.27.0.md +16 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.27.1.md +16 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.27.2.md +7 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.27.3.md +15 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.28.0.md +26 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.28.1.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.29.0.md +35 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.3.1.md +16 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.30.0.md +19 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.30.1.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.31.0.md +51 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.31.1.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.31.2.md +16 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.32.0.md +19 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.33.0.md +28 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.33.1.md +7 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.36.3.md +17 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.0.md +15 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.1.md +15 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.10.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.11.md +8 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.12.md +14 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.13.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.14.md +24 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.15.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.16.md +9 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.17.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.18.md +9 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.19.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.2.md +28 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.20.md +8 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.3.md +22 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.4.md +19 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.5.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.6.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.7.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.8.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.37.9.md +8 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.38.0.md +22 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.38.1.md +6 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.38.2.md +9 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.39.0.md +18 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.4.0.md +19 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.40.0.md +20 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.40.1.md +6 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.41.0.md +15 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.41.1.md +6 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.41.2.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.41.3.md +8 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.41.4.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.41.5.md +10 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.41.6.md +9 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.41.7.md +14 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.41.8.md +18 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.42.0.md +39 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.42.1.md +8 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.42.3.md +18 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.43.0.md +27 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.43.1.md +27 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.44.0.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.44.1.md +22 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.45.0.md +34 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.45.1.md +7 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.46.0.md +12 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.47.0.md +20 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.48.0.md +32 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.48.1.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.49.0.md +26 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.49.1.md +14 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.49.2.md +39 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.49.3.md +7 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.49.5.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.49.6.md +9 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.49.7.md +7 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.5.0.md +24 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.50.0.md +25 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.50.1.md +9 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.50.2.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.50.3.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.50.4.md +17 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.50.5.md +16 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.50.6.md +15 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.50.7.md +15 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.51.0.md +24 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.51.1.md +17 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.51.2.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.52.0.md +30 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.52.1.md +28 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.52.2.md +12 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.52.3.md +13 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.52.4.md +27 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.52.5.md +21 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.52.6.md +7 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.53.0.md +29 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.54.0.md +26 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.55.0.md +21 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.55.1.md +13 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.56.0.md +20 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.56.1.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.57.0.md +32 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.57.1.md +10 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.58.0.md +34 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.59.0.md +28 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.6.0.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.6.1.md +10 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.60.0.md +20 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.61.0.md +29 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.61.1.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.61.2.md +6 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.61.3.md +13 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.62.0.md +21 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.62.1.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.63.0.md +19 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.63.1.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.63.2.md +7 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.63.3.md +6 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.63.4.md +8 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.63.5.md +6 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.64.0.md +37 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.64.1.md +6 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.64.2.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.65.0.md +19 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.65.1.md +11 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.66.0.md +15 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.66.1.md +14 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.66.2.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.67.0.md +33 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.7.0.md +16 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.8.0.md +18 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.8.1.md +17 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.8.2.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.8.3.md +14 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.8.4.md +9 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.8.5.md +5 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.8.6.md +14 -0
- package/dist/web-ui/docs/cn/cli/release-notes/v2.9.0.md +5 -0
- package/dist/web-ui/docs/cn/cli/remote-control.md +247 -0
- package/dist/web-ui/docs/cn/cli/sandboxing.md +316 -0
- package/dist/web-ui/docs/cn/cli/scheduled-tasks.md +161 -0
- package/dist/web-ui/docs/cn/cli/sdk-custom-tools.md +1195 -0
- package/dist/web-ui/docs/cn/cli/sdk-demos.md +347 -0
- package/dist/web-ui/docs/cn/cli/sdk-hooks.md +803 -0
- package/dist/web-ui/docs/cn/cli/sdk-mcp.md +643 -0
- package/dist/web-ui/docs/cn/cli/sdk-permissions.md +501 -0
- package/dist/web-ui/docs/cn/cli/sdk-python.md +783 -0
- package/dist/web-ui/docs/cn/cli/sdk-sessions.md +332 -0
- package/dist/web-ui/docs/cn/cli/sdk-typescript.md +759 -0
- package/dist/web-ui/docs/cn/cli/sdk.md +1105 -0
- package/dist/web-ui/docs/cn/cli/security.md +387 -0
- package/dist/web-ui/docs/cn/cli/settings.md +602 -0
- package/dist/web-ui/docs/cn/cli/skills.md +448 -0
- package/dist/web-ui/docs/cn/cli/slash-commands.md +397 -0
- package/dist/web-ui/docs/cn/cli/statusline.md +525 -0
- package/dist/web-ui/docs/cn/cli/sub-agents.md +634 -0
- package/dist/web-ui/docs/cn/cli/terminal-config.md +77 -0
- package/dist/web-ui/docs/cn/cli/tools-reference.md +99 -0
- package/dist/web-ui/docs/cn/cli/troubleshooting.md +190 -0
- package/dist/web-ui/docs/cn/cli/web-ui.md +164 -0
- package/dist/web-ui/docs/cn/cli/wecom-bot-setup.md +274 -0
- package/dist/web-ui/docs/cn/cli/worktree.md +660 -0
- package/dist/web-ui/docs/en/cli/acp.md +126 -0
- package/dist/web-ui/docs/en/cli/agent-teams.md +327 -0
- package/dist/web-ui/docs/en/cli/bash-sandboxing.md +357 -0
- package/dist/web-ui/docs/en/cli/best-practices.md +554 -0
- package/dist/web-ui/docs/en/cli/channels-reference.md +293 -0
- package/dist/web-ui/docs/en/cli/channels.md +215 -0
- package/dist/web-ui/docs/en/cli/checkpointing.md +53 -0
- package/dist/web-ui/docs/en/cli/cli-reference.md +187 -0
- package/dist/web-ui/docs/en/cli/common-workflows.md +1011 -0
- package/dist/web-ui/docs/en/cli/costs.md +174 -0
- package/dist/web-ui/docs/en/cli/devcontainer.md +553 -0
- package/dist/web-ui/docs/en/cli/env-vars.md +326 -0
- package/dist/web-ui/docs/en/cli/gitlab-ci-cd.md +357 -0
- package/dist/web-ui/docs/en/cli/headless.md +258 -0
- package/dist/web-ui/docs/en/cli/hooks-guide.md +9 -0
- package/dist/web-ui/docs/en/cli/hooks.md +801 -0
- package/dist/web-ui/docs/en/cli/iam.md +526 -0
- package/dist/web-ui/docs/en/cli/ide-integrations.md +92 -0
- package/dist/web-ui/docs/en/cli/installation.md +266 -0
- package/dist/web-ui/docs/en/cli/interactive-mode.md +233 -0
- package/dist/web-ui/docs/en/cli/mcp.md +739 -0
- package/dist/web-ui/docs/en/cli/memory.md +436 -0
- package/dist/web-ui/docs/en/cli/models.md +355 -0
- package/dist/web-ui/docs/en/cli/overview.md +100 -0
- package/dist/web-ui/docs/en/cli/plugin-marketplaces.md +534 -0
- package/dist/web-ui/docs/en/cli/plugins-reference.md +774 -0
- package/dist/web-ui/docs/en/cli/plugins.md +688 -0
- package/dist/web-ui/docs/en/cli/quickstart.md +249 -0
- package/dist/web-ui/docs/en/cli/release-notes/README.md +193 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.10.0.md +23 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.10.1.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.11.0.md +24 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.12.0.md +21 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.13.0.md +20 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.14.0.md +22 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.14.1.md +8 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.15.0.md +18 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.15.1.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.16.0.md +20 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.17.0.md +29 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.18.0.md +17 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.19.0.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.19.1.md +14 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.19.2.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.20.0.md +23 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.20.1.md +15 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.21.0.md +13 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.22.0.md +16 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.23.0.md +41 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.23.2.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.23.3.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.23.4.md +15 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.23.5.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.24.0.md +17 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.25.0.md +18 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.25.1.md +21 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.26.0.md +18 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.27.0.md +16 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.27.1.md +16 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.27.2.md +7 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.27.3.md +15 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.28.0.md +26 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.28.1.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.29.0.md +35 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.3.1.md +16 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.30.0.md +19 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.30.1.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.31.0.md +51 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.31.1.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.31.2.md +16 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.32.0.md +19 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.33.0.md +28 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.33.1.md +7 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.34.0.md +27 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.34.1.md +7 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.35.0.md +22 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.36.0.md +23 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.36.1.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.36.2.md +22 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.36.3.md +17 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.0.md +15 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.1.md +15 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.10.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.11.md +8 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.12.md +14 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.13.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.14.md +24 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.15.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.16.md +9 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.17.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.18.md +9 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.19.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.2.md +28 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.20.md +8 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.3.md +22 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.4.md +19 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.5.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.6.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.7.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.8.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.37.9.md +8 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.38.0.md +22 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.38.1.md +6 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.38.2.md +9 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.39.0.md +18 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.4.0.md +19 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.40.0.md +20 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.40.1.md +6 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.41.0.md +15 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.41.1.md +6 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.41.2.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.41.3.md +8 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.41.4.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.41.5.md +10 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.41.6.md +9 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.41.7.md +14 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.41.8.md +18 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.42.0.md +39 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.42.1.md +8 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.42.3.md +18 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.43.0.md +27 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.43.1.md +27 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.44.0.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.44.1.md +22 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.45.0.md +34 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.45.1.md +7 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.46.0.md +12 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.47.0.md +20 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.48.0.md +32 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.48.1.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.49.0.md +26 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.49.1.md +14 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.49.2.md +39 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.49.3.md +7 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.49.5.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.49.6.md +9 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.49.7.md +7 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.5.0.md +24 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.50.0.md +25 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.50.1.md +9 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.50.2.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.50.3.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.50.4.md +17 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.50.5.md +16 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.50.6.md +15 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.50.7.md +15 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.51.0.md +24 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.51.1.md +17 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.51.2.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.52.0.md +30 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.52.1.md +28 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.52.2.md +12 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.52.3.md +13 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.52.4.md +27 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.52.5.md +21 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.52.6.md +7 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.53.0.md +29 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.54.0.md +26 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.55.0.md +21 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.55.1.md +13 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.56.0.md +20 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.56.1.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.57.0.md +32 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.57.1.md +10 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.58.0.md +34 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.59.0.md +28 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.6.0.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.6.1.md +10 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.60.0.md +20 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.61.0.md +29 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.61.1.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.61.2.md +6 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.61.3.md +13 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.62.0.md +21 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.62.1.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.63.0.md +19 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.63.1.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.63.2.md +7 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.63.3.md +6 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.63.4.md +8 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.63.5.md +6 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.64.0.md +37 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.64.1.md +6 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.64.2.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.65.0.md +19 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.65.1.md +11 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.66.0.md +15 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.66.1.md +14 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.66.2.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.67.0.md +33 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.7.0.md +16 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.8.0.md +18 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.8.1.md +17 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.8.2.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.8.3.md +14 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.8.4.md +9 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.8.5.md +5 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.8.6.md +14 -0
- package/dist/web-ui/docs/en/cli/release-notes/v2.9.0.md +5 -0
- package/dist/web-ui/docs/en/cli/remote-control.md +247 -0
- package/dist/web-ui/docs/en/cli/sandboxing.md +316 -0
- package/dist/web-ui/docs/en/cli/scheduled-tasks.md +160 -0
- package/dist/web-ui/docs/en/cli/sdk-custom-tools.md +1131 -0
- package/dist/web-ui/docs/en/cli/sdk-demos.md +347 -0
- package/dist/web-ui/docs/en/cli/sdk-hooks.md +813 -0
- package/dist/web-ui/docs/en/cli/sdk-mcp.md +645 -0
- package/dist/web-ui/docs/en/cli/sdk-permissions.md +461 -0
- package/dist/web-ui/docs/en/cli/sdk-python.md +797 -0
- package/dist/web-ui/docs/en/cli/sdk-sessions.md +340 -0
- package/dist/web-ui/docs/en/cli/sdk-typescript.md +770 -0
- package/dist/web-ui/docs/en/cli/sdk.md +1103 -0
- package/dist/web-ui/docs/en/cli/security.md +388 -0
- package/dist/web-ui/docs/en/cli/settings.md +602 -0
- package/dist/web-ui/docs/en/cli/skills.md +448 -0
- package/dist/web-ui/docs/en/cli/slash-commands.md +397 -0
- package/dist/web-ui/docs/en/cli/statusline.md +525 -0
- package/dist/web-ui/docs/en/cli/sub-agents.md +621 -0
- package/dist/web-ui/docs/en/cli/terminal-config.md +77 -0
- package/dist/web-ui/docs/en/cli/tools-reference.md +99 -0
- package/dist/web-ui/docs/en/cli/troubleshooting.md +190 -0
- package/dist/web-ui/docs/en/cli/web-ui.md +164 -0
- package/dist/web-ui/docs/en/cli/wecom-bot-setup.md +274 -0
- package/dist/web-ui/docs/en/cli/worktree.md +660 -0
- package/dist/web-ui/docs/search-index-en.json +1 -0
- package/dist/web-ui/docs/search-index-zh.json +1 -0
- package/dist/web-ui/docs/sidebar-en.json +1 -0
- package/dist/web-ui/docs/sidebar-zh.json +1 -0
- package/dist/web-ui/index.html +2 -2
- package/package.json +1 -1
- package/product.cloudhosted.json +2 -2
- package/product.internal.json +2 -2
- package/product.ioa.json +2 -2
- package/product.json +3 -3
- package/product.selfhosted.json +2 -2
- package/dist/web-ui/assets/index-BPT-qRRx.js +0 -411
- package/dist/web-ui/assets/index-f_ibHSHw.css +0 -32
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
# models.json Configuration Guide
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
`models.json` is a configuration file used to customize the model list and control the model dropdown display. This configuration supports two levels:
|
|
6
|
+
|
|
7
|
+
- **User-level**: `~/.codebuddy/models.json` - Global configuration applicable to all projects
|
|
8
|
+
- **Project-level**: `<workspace>/.codebuddy/models.json` - Project-specific configuration with higher priority than user-level
|
|
9
|
+
|
|
10
|
+
## Configuration File Locations
|
|
11
|
+
|
|
12
|
+
### User-level Configuration
|
|
13
|
+
```
|
|
14
|
+
~/.codebuddy/models.json
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Project-level Configuration
|
|
18
|
+
```
|
|
19
|
+
<project-root>/.codebuddy/models.json
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Configuration Priority
|
|
23
|
+
|
|
24
|
+
Configuration merge priority from highest to lowest:
|
|
25
|
+
1. Project-level models.json
|
|
26
|
+
2. User-level models.json
|
|
27
|
+
3. Built-in default configuration
|
|
28
|
+
|
|
29
|
+
Project-level configuration will override user-level configuration for the same model definitions (based on `id` field matching). `availableModels` field: project-level completely overrides user-level, no merging.
|
|
30
|
+
|
|
31
|
+
## Configuration Structure
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"models": [
|
|
36
|
+
{
|
|
37
|
+
"id": "model-id",
|
|
38
|
+
"name": "Model Display Name",
|
|
39
|
+
"vendor": "vendor-name",
|
|
40
|
+
"apiKey": "sk-actual-api-key-value",
|
|
41
|
+
"maxInputTokens": 200000,
|
|
42
|
+
"maxOutputTokens": 8192,
|
|
43
|
+
"url": "https://api.example.com/v1/chat/completions",
|
|
44
|
+
"temperature": 0.7,
|
|
45
|
+
"supportsToolCall": true,
|
|
46
|
+
"supportsImages": true
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"availableModels": ["model-id-1", "model-id-2"]
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Configuration Field Description
|
|
54
|
+
|
|
55
|
+
### models
|
|
56
|
+
Type: `Array<LanguageModel>`
|
|
57
|
+
|
|
58
|
+
Define custom model list. You can add new models or override built-in model configurations.
|
|
59
|
+
|
|
60
|
+
#### LanguageModel Fields
|
|
61
|
+
|
|
62
|
+
| Field | Type | Required | Description |
|
|
63
|
+
|------|------|------|------|
|
|
64
|
+
| `id` | string | ✓ | Model unique identifier |
|
|
65
|
+
| `name` | string | - | Model display name |
|
|
66
|
+
| `vendor` | string | - | Model vendor (e.g., OpenAI, Google) |
|
|
67
|
+
| `apiKey` | string | - | API key, supports environment variable references (see Security Configuration below) |
|
|
68
|
+
| `maxInputTokens` | number | - | Maximum input tokens |
|
|
69
|
+
| `maxOutputTokens` | number | - | Maximum output tokens |
|
|
70
|
+
| `url` | string | - | API endpoint URL, supports environment variable references (must be complete interface path, typically ending with `/chat/completions`) |
|
|
71
|
+
| `temperature` | number | - | Sampling temperature, range 0-2, higher values produce more random output, lower values produce more deterministic output |
|
|
72
|
+
| `supportsToolCall` | boolean | - | Whether tool calls are supported |
|
|
73
|
+
| `supportsImages` | boolean | - | Whether image input is supported |
|
|
74
|
+
| `supportsReasoning` | boolean | - | Whether reasoning mode is supported |
|
|
75
|
+
|
|
76
|
+
**Important Notes:**
|
|
77
|
+
- Currently only supports OpenAI interface format API
|
|
78
|
+
- `url` field must be the complete interface path, typically ending with `/chat/completions`
|
|
79
|
+
- Examples: `https://api.openai.com/v1/chat/completions` or `http://localhost:11434/v1/chat/completions`
|
|
80
|
+
|
|
81
|
+
### Security Configuration: Using Environment Variable References
|
|
82
|
+
|
|
83
|
+
To avoid storing API keys in plain text in configuration files, the `apiKey` and `url` fields support environment variable reference syntax `${VAR_NAME}`.
|
|
84
|
+
|
|
85
|
+
**Syntax Format:**
|
|
86
|
+
```
|
|
87
|
+
${ENVIRONMENT_VARIABLE_NAME}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**Configuration Example:**
|
|
91
|
+
|
|
92
|
+
```json
|
|
93
|
+
{
|
|
94
|
+
"models": [
|
|
95
|
+
{
|
|
96
|
+
"id": "gpt-4o",
|
|
97
|
+
"name": "GPT-4o",
|
|
98
|
+
"vendor": "OpenAI",
|
|
99
|
+
"apiKey": "${OPENAI_API_KEY}",
|
|
100
|
+
"url": "https://api.openai.com/v1/chat/completions"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**Setting Environment Variables:**
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
# Add to ~/.zshrc or ~/.bashrc
|
|
110
|
+
export OPENAI_API_KEY="sk-your-actual-api-key"
|
|
111
|
+
|
|
112
|
+
# Or set temporarily at startup
|
|
113
|
+
OPENAI_API_KEY="sk-xxx" codebuddy
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
**Using System Keychain (macOS):**
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
# Store key in Keychain
|
|
120
|
+
security add-generic-password -a "$USER" -s "openai-api-key" -w "sk-xxx"
|
|
121
|
+
|
|
122
|
+
# Configure auto-export in ~/.zshrc
|
|
123
|
+
export OPENAI_API_KEY=$(security find-generic-password -s "openai-api-key" -w 2>/dev/null)
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
**Important Notes:**
|
|
127
|
+
- Environment variables are resolved at CLI startup
|
|
128
|
+
- If an environment variable doesn't exist, the original placeholder is retained (which will cause API call failures)
|
|
129
|
+
- It's recommended to set `models.json` file permissions to `600` (owner read/write only)
|
|
130
|
+
- Do not commit configuration files containing actual keys to version control systems
|
|
131
|
+
|
|
132
|
+
### availableModels
|
|
133
|
+
Type: `Array<string>`
|
|
134
|
+
|
|
135
|
+
Control which models are displayed in the model dropdown list. Only model IDs listed in this array will be shown in the UI.
|
|
136
|
+
|
|
137
|
+
- If not configured or empty array, all models are displayed
|
|
138
|
+
- When configured, only listed model IDs are displayed
|
|
139
|
+
- Can include both built-in and custom model IDs
|
|
140
|
+
|
|
141
|
+
## Use Cases
|
|
142
|
+
|
|
143
|
+
### 1. Add Custom Model
|
|
144
|
+
|
|
145
|
+
Add new model configuration at user or project level:
|
|
146
|
+
|
|
147
|
+
```json
|
|
148
|
+
{
|
|
149
|
+
"models": [
|
|
150
|
+
{
|
|
151
|
+
"id": "my-custom-model",
|
|
152
|
+
"name": "My Custom Model",
|
|
153
|
+
"vendor": "OpenAI",
|
|
154
|
+
"apiKey": "sk-custom-key-here",
|
|
155
|
+
"maxInputTokens": 128000,
|
|
156
|
+
"maxOutputTokens": 4096,
|
|
157
|
+
"url": "https://api.myservice.com/v1/chat/completions",
|
|
158
|
+
"supportsToolCall": true
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### 2. Override Built-in Model Configuration
|
|
165
|
+
|
|
166
|
+
Modify default parameters of built-in models:
|
|
167
|
+
|
|
168
|
+
```json
|
|
169
|
+
{
|
|
170
|
+
"models": [
|
|
171
|
+
{
|
|
172
|
+
"id": "gpt-4-turbo",
|
|
173
|
+
"name": "GPT-4 Turbo (Custom Endpoint)",
|
|
174
|
+
"vendor": "OpenAI",
|
|
175
|
+
"url": "https://my-proxy.example.com/v1/chat/completions",
|
|
176
|
+
"apiKey": "sk-your-key-here"
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
}
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### 3. Limit Available Model List
|
|
183
|
+
|
|
184
|
+
Only display specific models in the dropdown list:
|
|
185
|
+
|
|
186
|
+
```json
|
|
187
|
+
{
|
|
188
|
+
"availableModels": [
|
|
189
|
+
"gpt-4-turbo",
|
|
190
|
+
"gpt-4o",
|
|
191
|
+
"my-custom-model"
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### 4. Project-Specific Configuration
|
|
197
|
+
|
|
198
|
+
Use different models or API endpoints for specific projects:
|
|
199
|
+
|
|
200
|
+
**Project A** (`.codebuddy/models.json`):
|
|
201
|
+
```json
|
|
202
|
+
{
|
|
203
|
+
"models": [
|
|
204
|
+
{
|
|
205
|
+
"id": "project-a-model",
|
|
206
|
+
"name": "Project A Model",
|
|
207
|
+
"vendor": "OpenAI",
|
|
208
|
+
"url": "https://project-a-api.example.com/v1/chat/completions",
|
|
209
|
+
"apiKey": "sk-project-a-key",
|
|
210
|
+
"maxInputTokens": 100000,
|
|
211
|
+
"maxOutputTokens": 4096
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"availableModels": ["project-a-model", "gpt-4-turbo"]
|
|
215
|
+
}
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
## Hot Reload
|
|
219
|
+
|
|
220
|
+
Configuration file supports hot reload:
|
|
221
|
+
- File changes are automatically detected
|
|
222
|
+
- Uses 1 second debounce delay to avoid frequent reloads
|
|
223
|
+
- Configuration updates are automatically synced to the application
|
|
224
|
+
|
|
225
|
+
Monitored files:
|
|
226
|
+
- `~/.codebuddy/models.json` (user-level)
|
|
227
|
+
- `<workspace>/.codebuddy/models.json` (project-level)
|
|
228
|
+
|
|
229
|
+
## Tagging System
|
|
230
|
+
|
|
231
|
+
Models added through `models.json` are automatically tagged with the `custom` tag for easy identification and filtering in the UI.
|
|
232
|
+
|
|
233
|
+
## Merge Strategy
|
|
234
|
+
|
|
235
|
+
Configuration uses `SmartMerge` strategy:
|
|
236
|
+
- Model configurations with the same ID are overridden
|
|
237
|
+
- Models with different IDs are appended
|
|
238
|
+
- Project-level configuration takes priority over user-level configuration
|
|
239
|
+
- `availableModels` filtering is executed after all merging is complete
|
|
240
|
+
|
|
241
|
+
## Example Configurations
|
|
242
|
+
|
|
243
|
+
### API Endpoint URL Format
|
|
244
|
+
|
|
245
|
+
**Must use complete path:**
|
|
246
|
+
All custom model `url` fields should typically end with `/chat/completions`.
|
|
247
|
+
|
|
248
|
+
✅ **Correct Examples:**
|
|
249
|
+
```
|
|
250
|
+
https://api.openai.com/v1/chat/completions
|
|
251
|
+
https://api.myservice.com/v1/chat/completions
|
|
252
|
+
http://localhost:11434/v1/chat/completions
|
|
253
|
+
https://my-proxy.example.com/v1/chat/completions
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
❌ **Incorrect Examples:**
|
|
257
|
+
```
|
|
258
|
+
https://api.openai.com/v1
|
|
259
|
+
https://api.myservice.com
|
|
260
|
+
http://localhost:11434
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
### OpenRouter Platform Configuration Example
|
|
264
|
+
|
|
265
|
+
Using OpenRouter to access various models:
|
|
266
|
+
|
|
267
|
+
```json
|
|
268
|
+
{
|
|
269
|
+
"models": [
|
|
270
|
+
{
|
|
271
|
+
"id": "openai/gpt-4o",
|
|
272
|
+
"name": "open-router-model",
|
|
273
|
+
"url": "https://openrouter.ai/api/v1/chat/completions",
|
|
274
|
+
"apiKey": "sk-or-v1-your-openrouter-api-key",
|
|
275
|
+
"maxInputTokens": 128000,
|
|
276
|
+
"maxOutputTokens": 4096,
|
|
277
|
+
"supportsToolCall": true,
|
|
278
|
+
"supportsImages": false
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
}
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
### DeepSeek Platform Configuration Example
|
|
285
|
+
|
|
286
|
+
Using DeepSeek models:
|
|
287
|
+
|
|
288
|
+
```json
|
|
289
|
+
{
|
|
290
|
+
"models": [
|
|
291
|
+
{
|
|
292
|
+
"id": "deepseek-chat",
|
|
293
|
+
"name": "DeepSeek Chat",
|
|
294
|
+
"vendor": "DeepSeek",
|
|
295
|
+
"url": "https://api.deepseek.com/v1/chat/completions",
|
|
296
|
+
"apiKey": "sk-your-deepseek-api-key",
|
|
297
|
+
"maxInputTokens": 32000,
|
|
298
|
+
"maxOutputTokens": 4096,
|
|
299
|
+
"supportsToolCall": true,
|
|
300
|
+
"supportsImages": false
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
### Complete Example
|
|
307
|
+
|
|
308
|
+
```json
|
|
309
|
+
{
|
|
310
|
+
"models": [
|
|
311
|
+
{
|
|
312
|
+
"id": "gpt-4o",
|
|
313
|
+
"name": "GPT-4o",
|
|
314
|
+
"vendor": "OpenAI",
|
|
315
|
+
"apiKey": "sk-your-openai-key",
|
|
316
|
+
"maxInputTokens": 128000,
|
|
317
|
+
"maxOutputTokens": 16384,
|
|
318
|
+
"supportsToolCall": true,
|
|
319
|
+
"supportsImages": true
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"id": "my-local-llm",
|
|
323
|
+
"name": "My Local LLM",
|
|
324
|
+
"vendor": "Ollama",
|
|
325
|
+
"url": "http://localhost:11434/v1/chat/completions",
|
|
326
|
+
"apiKey": "ollama",
|
|
327
|
+
"maxInputTokens": 8192,
|
|
328
|
+
"maxOutputTokens": 2048,
|
|
329
|
+
"supportsToolCall": true
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"availableModels": [
|
|
333
|
+
"gpt-4o",
|
|
334
|
+
"my-local-llm"
|
|
335
|
+
]
|
|
336
|
+
}
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
## Troubleshooting
|
|
340
|
+
|
|
341
|
+
### Configuration Not Taking Effect
|
|
342
|
+
1. Check if JSON format is correct
|
|
343
|
+
2. Confirm file path is correct
|
|
344
|
+
3. View log output to confirm configuration is loaded
|
|
345
|
+
4. Confirm API keys in environment variables are set
|
|
346
|
+
|
|
347
|
+
### Model Not Showing in List
|
|
348
|
+
1. Check if model ID is listed in `availableModels`
|
|
349
|
+
2. Confirm `models` configuration is correct
|
|
350
|
+
3. Verify all required fields (`id`, `name`, `provider`) are provided
|
|
351
|
+
|
|
352
|
+
### Hot Reload Not Triggered
|
|
353
|
+
- Configuration file changes have 1 second debounce delay
|
|
354
|
+
- Ensure file is actually saved to disk
|
|
355
|
+
- Check if file watching started normally (view debug logs)
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Overview
|
|
2
|
+
|
|
3
|
+
**Tencent Cloud Intelligent Coding Assistant - Making Code Development Smarter and More Efficient**
|
|
4
|
+
|
|
5
|
+
CodeBuddy Code is an intelligent programming tool based on Tencent Cloud AI technology, deeply integrated with the Tencent Cloud ecosystem, providing full-link AI assistance from code writing to project deployment.
|
|
6
|
+
|
|
7
|
+
## Why Choose CodeBuddy Code?
|
|
8
|
+
|
|
9
|
+
### 🚀 Drive the Entire DevOps Lifecycle with Natural Language
|
|
10
|
+
|
|
11
|
+
CodeBuddy Code enables you to describe requirements in natural language and automate full-link development tasks from code writing, testing, debugging, to deployment, achieving extreme automation efficiency. Whether it's a simple code modification or a complex architecture refactoring, it can be easily accomplished through conversational interaction.
|
|
12
|
+
|
|
13
|
+
### 🔧 Native Terminal, Seamless Integration
|
|
14
|
+
|
|
15
|
+
* **Familiar Environment**: Get AI assistance directly in your familiar command-line environment, without switching development tools or learning new interfaces.
|
|
16
|
+
* **Native Experience**: Perfectly integrates into your existing development workflow, supporting all mainstream operating systems and terminals.
|
|
17
|
+
* **Zero Learning Curve**: Maintain your original development habits, with the AI assistant working silently in the background.
|
|
18
|
+
|
|
19
|
+
### ⚡ Powerful Out-of-the-Box Capabilities
|
|
20
|
+
|
|
21
|
+
* **Built-in Toolchain**: Integrates core development tools such as file editing, command execution, Git operations, and test execution.
|
|
22
|
+
* **Intelligent Commits**: Automatically generates standardized commit messages, supporting code review and change management.
|
|
23
|
+
* **Flexible Expansion**: Easily integrate third-party tools and services through MCP (Model Context Protocol).
|
|
24
|
+
* **Custom Development Tools**: Customize exclusive development assistants based on project needs.
|
|
25
|
+
|
|
26
|
+
### 🛠️ AI Integration with Unix Philosophy
|
|
27
|
+
|
|
28
|
+
* **Pipe-Friendly**: Like `grep` and `awk`, it natively supports pipe input for intelligent analysis.
|
|
29
|
+
|
|
30
|
+
* **Script Integration**: Perfectly integrates into shell scripts and automation toolchains.
|
|
31
|
+
|
|
32
|
+
* **Compositional Capabilities**: Seamlessly combines with existing Unix tools to build powerful AI-driven workflows.
|
|
33
|
+
|
|
34
|
+
* **Standard Input/Output**: Follows Unix standards, supporting redirection and pipe operations.
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Pipe Integration Example
|
|
38
|
+
|
|
39
|
+
git log --oneline | codebuddy "Analyze these commits and identify potential issues"
|
|
40
|
+
cat error.log | codebuddy "Help me analyze these error logs"
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Quick Experience
|
|
44
|
+
|
|
45
|
+
### Environment Requirements
|
|
46
|
+
|
|
47
|
+
* Node.js 18.0+
|
|
48
|
+
|
|
49
|
+
### One-Click Installation
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
npm install -g @tencent-ai/codebuddy-code
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Getting Started
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
# Enter the project directory
|
|
59
|
+
cd my-project
|
|
60
|
+
|
|
61
|
+
# Start CodeBuddy
|
|
62
|
+
codebuddy
|
|
63
|
+
cbc
|
|
64
|
+
|
|
65
|
+
# Or ask directly
|
|
66
|
+
codebuddy "Help me optimize the performance of this function"
|
|
67
|
+
cbc "Help me optimize the performance of this function"
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Next Steps
|
|
71
|
+
|
|
72
|
+
### 📚 In-depth Understanding
|
|
73
|
+
|
|
74
|
+
* [Quickstart Guide](./quickstart.md) - Detailed setup and usage guide
|
|
75
|
+
* [Common Workflows](./common-workflows.md) - Features like extended thinking, image pasting, --resume, etc.
|
|
76
|
+
* [IDE Integrations](./ide-integrations.md) - Use in your favorite editor
|
|
77
|
+
|
|
78
|
+
### 🔧 Configuration and Extension
|
|
79
|
+
|
|
80
|
+
* [MCP Integration](./mcp.md) - Model Context Protocol integration
|
|
81
|
+
* [Slash Commands](./slash-commands.md) - Built-in command reference
|
|
82
|
+
* [Settings Configuration](./settings.md) - Configuration files, environment variables, tool settings
|
|
83
|
+
|
|
84
|
+
### 🚀 Advanced Usage
|
|
85
|
+
|
|
86
|
+
* **GitHub Actions** - CI/CD integration
|
|
87
|
+
* **SDK Development** - Extension and customization
|
|
88
|
+
* **Enterprise Deployment** - Containerized deployment
|
|
89
|
+
|
|
90
|
+
### 🆘 Get Help
|
|
91
|
+
|
|
92
|
+
* [Troubleshooting](./troubleshooting.md) - Common problem solutions
|
|
93
|
+
* [CLI Reference](./reference.md) - Complete command-line reference
|
|
94
|
+
* **Interactive Mode** - Keyboard shortcuts and tips
|
|
95
|
+
|
|
96
|
+
## Feedback and Support
|
|
97
|
+
|
|
98
|
+
* 📧 Technical Support: codebuddy@tencent.com
|
|
99
|
+
* 🌐 [Official Website (China)](https://copilot.tencent.com/cli)
|
|
100
|
+
* 🌐 [Official Website (Overseas)](https://www.codebuddy.ai/cli)
|