@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,436 @@
|
|
|
1
|
+
# Managing CodeBuddy's Memory
|
|
2
|
+
|
|
3
|
+
> Learn how to manage CodeBuddy Code's memory across sessions using different memory locations and best practices.
|
|
4
|
+
|
|
5
|
+
CodeBuddy Code can remember your preferences across sessions, such as code style guides and common commands in your workflow.
|
|
6
|
+
|
|
7
|
+
## Determining Memory Types
|
|
8
|
+
|
|
9
|
+
CodeBuddy Code provides four hierarchically structured memory locations, each serving a different purpose:
|
|
10
|
+
|
|
11
|
+
| Memory Type | Location | Purpose | Example Use Cases | Shared With |
|
|
12
|
+
|-------------|----------|---------|-------------------|-------------|
|
|
13
|
+
| **User Memory** | `~/.codebuddy/CODEBUDDY.md` | Personal preferences across all projects | Code style preferences, personal tool shortcuts | Only you (across all projects) |
|
|
14
|
+
| **User Rules** | `~/.codebuddy/rules/*.md` | Modular personal rules | Personal coding habits, common workflows | Only you (across all projects) |
|
|
15
|
+
| **Project Memory** | `./CODEBUDDY.md` or `./.codebuddy/CODEBUDDY.md` | Team-shared instructions for a project | Project architecture, coding standards, common workflows | Team members via source control |
|
|
16
|
+
| **Project Rules** | `./.codebuddy/rules/*.md` | Modular, topic-specific project instructions | Language-specific guidelines, testing specifications, API standards | Team members via source control |
|
|
17
|
+
| **Project Memory (Local)** | `./CODEBUDDY.local.md` | Personal project-specific preferences | Your sandbox URL, preferred test data | Only you (current project) |
|
|
18
|
+
|
|
19
|
+
All memory files are automatically loaded into CodeBuddy Code's context at startup. The loading order is as follows:
|
|
20
|
+
|
|
21
|
+
1. **User-level**: Load main files like `~/.codebuddy/CODEBUDDY.md` and all rules under `~/.codebuddy/rules/`
|
|
22
|
+
2. **Project-level main files**: Recursively load all `CODEBUDDY.md` and `CODEBUDDY.local.md` from current working directory upward
|
|
23
|
+
3. **Project-level rules**: Only load rules under `.codebuddy/rules/` in the current working directory (not parent directories)
|
|
24
|
+
4. **Subdirectory memory**: When CodeBuddy operates on files in subdirectories, dynamically load that subdirectory's `CODEBUDDY.md`
|
|
25
|
+
5. **Local memory**: Load `./CODEBUDDY.local.md`
|
|
26
|
+
|
|
27
|
+
> **Tip**: CODEBUDDY.local.md files are automatically added to .gitignore, making them ideal for storing private project-specific preferences that should not be committed to version control.
|
|
28
|
+
|
|
29
|
+
## CODEBUDDY.md Imports
|
|
30
|
+
|
|
31
|
+
CODEBUDDY.md files can import additional files using the `@path/to/import` syntax. The following example imports 3 files:
|
|
32
|
+
|
|
33
|
+
```markdown
|
|
34
|
+
See @README for project overview, and @package.json for available npm commands.
|
|
35
|
+
|
|
36
|
+
# Additional Instructions
|
|
37
|
+
- Git workflow @docs/git-instructions.md
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Both relative and absolute paths are supported. In particular, importing files from the user's home directory is a convenient way for team members to provide personal instructions that are not committed to the repository. Imports are an alternative to CODEBUDDY.local.md and work better with multiple git worktrees.
|
|
41
|
+
|
|
42
|
+
```markdown
|
|
43
|
+
# Personal Preferences
|
|
44
|
+
- @~/.codebuddy/my-project-instructions.md
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
To avoid potential conflicts, imports within code blocks and code spans are not parsed.
|
|
48
|
+
|
|
49
|
+
```markdown
|
|
50
|
+
This code span won't be treated as an import: `@tencent-ai/codebuddy-code`
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Imported files can recursively import additional files, up to a maximum depth of 5 levels. You can view which memory files are loaded by running the `/memory` command.
|
|
54
|
+
|
|
55
|
+
## How CodeBuddy Finds Memory
|
|
56
|
+
|
|
57
|
+
CodeBuddy Code reads memory recursively: Starting from the current working directory, CodeBuddy Code recurses up to (but not including) the root directory `/`, and reads any CODEBUDDY.md or CODEBUDDY.local.md files it finds. This works particularly well in large repositories where you run CodeBuddy Code in `foo/bar/`, with memories in both `foo/CODEBUDDY.md` and `foo/bar/CODEBUDDY.md`.
|
|
58
|
+
|
|
59
|
+
CodeBuddy also discovers CODEBUDDY.md files nested in subtrees below the current working directory. These files are not loaded at startup, but are only included when CodeBuddy reads files in those subtrees.
|
|
60
|
+
|
|
61
|
+
## Managing Memory with `/memory`
|
|
62
|
+
|
|
63
|
+
Use the `/memory` slash command during a session to open the memory management panel. In this panel you can:
|
|
64
|
+
|
|
65
|
+
- Open the Auto Memory directory
|
|
66
|
+
- Open the `MEMORY.md` index file
|
|
67
|
+
- Toggle the Auto Memory switch
|
|
68
|
+
|
|
69
|
+
## Setting Up Project Memory
|
|
70
|
+
|
|
71
|
+
Suppose you want to set up a CODEBUDDY.md file to store important project information, conventions, and commonly used commands. Project memory can be stored in `./CODEBUDDY.md` or `./.codebuddy/CODEBUDDY.md`.
|
|
72
|
+
|
|
73
|
+
Bootstrap a CODEBUDDY.md for your codebase using the following command:
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
> /init
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
> **Tips**:
|
|
80
|
+
> - Include common commands (build, test, lint) to avoid repetitive searches
|
|
81
|
+
> - Document code style preferences and naming conventions
|
|
82
|
+
> - Add project-specific important architectural patterns
|
|
83
|
+
> - CODEBUDDY.md memory can be used for both team-shared instructions and personal preferences
|
|
84
|
+
|
|
85
|
+
## Modular Rules with `.codebuddy/rules/`
|
|
86
|
+
|
|
87
|
+
For larger projects, you can use the `.codebuddy/rules/` directory to organize instructions into multiple files. This allows teams to maintain focused, well-organized rule files instead of a single large CODEBUDDY.md.
|
|
88
|
+
|
|
89
|
+
### Basic Structure
|
|
90
|
+
|
|
91
|
+
Place markdown files in your project's `.codebuddy/rules/` directory:
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
your-project/
|
|
95
|
+
├── .codebuddy/
|
|
96
|
+
│ ├── CODEBUDDY.md # Main project instructions
|
|
97
|
+
│ └── rules/
|
|
98
|
+
│ ├── code-style.md # Code style guidelines
|
|
99
|
+
│ ├── testing.md # Testing specifications
|
|
100
|
+
│ └── security.md # Security requirements
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
All `.md` files in `.codebuddy/rules/` are automatically loaded as project memory with the same priority as `.codebuddy/CODEBUDDY.md`.
|
|
104
|
+
|
|
105
|
+
> **Note**: Project-level rules are only loaded from `.codebuddy/rules/` in the current working directory (workDir), not from parent directories. This ensures clear rule scoping.
|
|
106
|
+
|
|
107
|
+
### Rule Control Fields
|
|
108
|
+
|
|
109
|
+
Rule files support the following YAML frontmatter fields to control loading and application behavior:
|
|
110
|
+
|
|
111
|
+
| Field | Type | Default | Description |
|
|
112
|
+
|-------|------|---------|-------------|
|
|
113
|
+
| `enabled` | boolean | `true` | Whether to load this rule. When set to `false`, the rule is not loaded at all |
|
|
114
|
+
| `alwaysApply` | boolean | `true` | Whether to always apply this rule |
|
|
115
|
+
| `paths` | string/string[] | - | File path glob patterns that trigger the rule |
|
|
116
|
+
|
|
117
|
+
#### Rule Type Determination
|
|
118
|
+
|
|
119
|
+
Rule type is determined by both `alwaysApply` and `paths`:
|
|
120
|
+
|
|
121
|
+
| alwaysApply | paths | Rule Type | Behavior |
|
|
122
|
+
|-------------|-------|-----------|----------|
|
|
123
|
+
| `true` (default) | any | ALWAYS | Always injected into context |
|
|
124
|
+
| `false` | has value | MANUAL (conditional trigger) | Only triggered when operating on matching files |
|
|
125
|
+
| `false` | none | Not supported | Rule will not be loaded |
|
|
126
|
+
|
|
127
|
+
#### Examples
|
|
128
|
+
|
|
129
|
+
**Always-applied rule** (default behavior):
|
|
130
|
+
|
|
131
|
+
```markdown
|
|
132
|
+
|
|
133
|
+
# General Code Standards
|
|
134
|
+
|
|
135
|
+
- Use 2-space indentation
|
|
136
|
+
- Keep blank line at end of file
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
**Conditionally triggered rule**:
|
|
140
|
+
|
|
141
|
+
```markdown
|
|
142
|
+
---
|
|
143
|
+
alwaysApply: false
|
|
144
|
+
paths: src/api/**/*.ts
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
# API Development Rules
|
|
148
|
+
|
|
149
|
+
- All API endpoints must include input validation
|
|
150
|
+
- Use standard error response format
|
|
151
|
+
- Include OpenAPI documentation comments
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
**Disabled rule** (temporarily turned off):
|
|
155
|
+
|
|
156
|
+
```markdown
|
|
157
|
+
---
|
|
158
|
+
enabled: false
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
# Rules not currently in use
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
> **Note**: The `paths` field is not limited to `.codebuddy/rules/` directory; it can be used in all memory files (including CODEBUDDY.md, CODEBUDDY.local.md).
|
|
165
|
+
|
|
166
|
+
### Glob Patterns
|
|
167
|
+
|
|
168
|
+
The `paths` field supports standard glob patterns with the `matchBase` option enabled:
|
|
169
|
+
|
|
170
|
+
| Pattern | Matches |
|
|
171
|
+
|---------|---------|
|
|
172
|
+
| `**/*.ts` | All TypeScript files in any directory |
|
|
173
|
+
| `*.ts` | All TypeScript files in any directory (matchBase mode) |
|
|
174
|
+
| `src/**/*` | All files under the `src/` directory |
|
|
175
|
+
| `*.md` | Markdown files in any directory |
|
|
176
|
+
| `src/components/*.tsx` | React components in a specific directory |
|
|
177
|
+
|
|
178
|
+
> **matchBase explanation**: With matchBase enabled, patterns without path separators (like `*.ts`) match files in any directory. For example, `*.ts` can match `src/utils/helper.ts`.
|
|
179
|
+
|
|
180
|
+
You can use braces to efficiently match multiple patterns:
|
|
181
|
+
|
|
182
|
+
```markdown
|
|
183
|
+
---
|
|
184
|
+
paths: src/**/*.{ts,tsx}
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
# TypeScript/React Rules
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
This expands to match `src/**/*.ts` and `src/**/*.tsx`. You can also combine multiple patterns with commas:
|
|
191
|
+
|
|
192
|
+
```markdown
|
|
193
|
+
---
|
|
194
|
+
paths: {src,lib}/**/*.ts, tests/**/*.test.ts
|
|
195
|
+
---
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Subdirectories
|
|
199
|
+
|
|
200
|
+
Rules can be organized into subdirectories for better structure:
|
|
201
|
+
|
|
202
|
+
```
|
|
203
|
+
.codebuddy/rules/
|
|
204
|
+
├── frontend/
|
|
205
|
+
│ ├── react.md
|
|
206
|
+
│ └── styles.md
|
|
207
|
+
├── backend/
|
|
208
|
+
│ ├── api.md
|
|
209
|
+
│ └── database.md
|
|
210
|
+
└── general.md
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
All `.md` files are discovered recursively.
|
|
214
|
+
|
|
215
|
+
### Symlinks
|
|
216
|
+
|
|
217
|
+
The `.codebuddy/rules/` directory supports symlinks, allowing you to share common rules across multiple projects:
|
|
218
|
+
|
|
219
|
+
```bash
|
|
220
|
+
# Symlink a shared rules directory
|
|
221
|
+
ln -s ~/shared-codebuddy-rules .codebuddy/rules/shared
|
|
222
|
+
|
|
223
|
+
# Symlink individual rule files
|
|
224
|
+
ln -s ~/company-standards/security.md .codebuddy/rules/security.md
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
Symlinks are resolved and their contents are loaded normally. Circular symlinks are detected and handled gracefully.
|
|
228
|
+
|
|
229
|
+
### User-Level Rules
|
|
230
|
+
|
|
231
|
+
You can create personal rules that apply to all projects in `~/.codebuddy/rules/`:
|
|
232
|
+
|
|
233
|
+
```
|
|
234
|
+
~/.codebuddy/rules/
|
|
235
|
+
├── preferences.md # Your personal coding preferences
|
|
236
|
+
└── workflows.md # Your preferred workflows
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
User-level rules are loaded before project rules, giving project rules higher priority.
|
|
240
|
+
|
|
241
|
+
> **Best Practices**:
|
|
242
|
+
> - **Keep rules focused**: Each file should cover one topic (e.g., `testing.md`, `api-design.md`)
|
|
243
|
+
> - **Use descriptive filenames**: Filenames should indicate what the rules cover
|
|
244
|
+
> - **Use conditional rules sparingly**: Only add `paths` frontmatter when rules truly apply to specific file types
|
|
245
|
+
> - **Organize with subdirectories**: Group related rules (e.g., `frontend/`, `backend/`)
|
|
246
|
+
|
|
247
|
+
## Memory Best Practices
|
|
248
|
+
|
|
249
|
+
- **Be specific**: "Use 2-space indentation" is better than "Format code properly".
|
|
250
|
+
- **Use structured organization**: Format each memory as a bullet point and group related memories under descriptive markdown headings.
|
|
251
|
+
- **Regular reviews**: Update memory as the project evolves to ensure CodeBuddy always uses the latest information and context.
|
|
252
|
+
|
|
253
|
+
## Setting Language Preferences
|
|
254
|
+
|
|
255
|
+
It is recommended to use the `/config` command to configure your preferred response language (see [Settings Configuration](settings.md#available-settings)), which is the simplest and most direct way:
|
|
256
|
+
|
|
257
|
+
```
|
|
258
|
+
> /config
|
|
259
|
+
# Select Language, enter your preferred language, e.g., "Simplified Chinese"
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
If you need more granular control (such as code comment language, commit message language), you can add to your memory file:
|
|
263
|
+
|
|
264
|
+
```markdown
|
|
265
|
+
## CodeBuddy Added Memories
|
|
266
|
+
|
|
267
|
+
### Language Preferences
|
|
268
|
+
- Code comments in Chinese
|
|
269
|
+
- Commit messages in Chinese
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
Project-level language settings override user-level settings.
|
|
273
|
+
|
|
274
|
+
## Hierarchical Memory Strategy Example
|
|
275
|
+
|
|
276
|
+
### User-Level Memory (`~/.codebuddy/CODEBUDDY.md`)
|
|
277
|
+
|
|
278
|
+
```markdown
|
|
279
|
+
## CodeBuddy Added Memories
|
|
280
|
+
|
|
281
|
+
### Tool Preferences
|
|
282
|
+
- Use pnpm instead of npm
|
|
283
|
+
|
|
284
|
+
### Code Preferences
|
|
285
|
+
- Prefer functional programming style
|
|
286
|
+
- Prioritize code readability
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
> **Tip**: Response language is recommended to be set via `/config` rather than configured in memory files.
|
|
290
|
+
|
|
291
|
+
### Project-Level Memory (`./CODEBUDDY.md`)
|
|
292
|
+
|
|
293
|
+
```markdown
|
|
294
|
+
## CodeBuddy Added Memories
|
|
295
|
+
|
|
296
|
+
### Project Architecture
|
|
297
|
+
- Using microservices architecture
|
|
298
|
+
- Frontend: React + TypeScript
|
|
299
|
+
- Backend: Node.js + Express
|
|
300
|
+
|
|
301
|
+
### Team Conventions
|
|
302
|
+
- PRs require 2 reviewers
|
|
303
|
+
- Follow Conventional Commits
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
### Local Project Memory (`./CODEBUDDY.local.md`)
|
|
307
|
+
|
|
308
|
+
```markdown
|
|
309
|
+
## CodeBuddy Added Memories
|
|
310
|
+
|
|
311
|
+
### Local Development Configuration
|
|
312
|
+
- Database port: 5433
|
|
313
|
+
- Use debug mode
|
|
314
|
+
- Skip CI for quick testing
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
## Auto Memory System
|
|
318
|
+
|
|
319
|
+
Auto Memory is CodeBuddy Code's automatic memory system, allowing CodeBuddy to automatically save and retrieve persistent memories across sessions. Unlike the static memory of CODEBUDDY.md, Auto Memory is managed autonomously by CodeBuddy as it works.
|
|
320
|
+
|
|
321
|
+
### Storage Location
|
|
322
|
+
|
|
323
|
+
- **Project memory**: `~/.codebuddy/memories/{project-id}/`
|
|
324
|
+
- **Global memory**: `~/.codebuddy/memories/global/`
|
|
325
|
+
|
|
326
|
+
Each project has a `MEMORY.md` index file, whose first 200 lines are automatically loaded into the session context. Detailed memory content should be stored in separate topic files (e.g., `preferences.md`, `decisions.md`) and linked from MEMORY.md.
|
|
327
|
+
|
|
328
|
+
### Enabling and Disabling
|
|
329
|
+
|
|
330
|
+
- Toggle Auto Memory via the `/config` panel
|
|
331
|
+
- Toggle via the `/memory` command panel
|
|
332
|
+
- Configure via `settings.json`: `"memory": { "autoMemoryEnabled": false }`
|
|
333
|
+
- Via environment variable: `CODEBUDDY_DISABLE_AUTO_MEMORY=1`
|
|
334
|
+
|
|
335
|
+
### Typed Memory Mode (Experimental)
|
|
336
|
+
|
|
337
|
+
Typed Memory is an enhanced version of Auto Memory that provides a structured memory type system. When enabled, memory files are managed using YAML frontmatter and 4 types.
|
|
338
|
+
|
|
339
|
+
**4 memory types:**
|
|
340
|
+
|
|
341
|
+
| Type | Purpose | Example |
|
|
342
|
+
|------|---------|---------|
|
|
343
|
+
| `user` | User's role, goals, preferences, and knowledge background | "User is a senior backend engineer proficient in Go" |
|
|
344
|
+
| `feedback` | User's corrections and guidance on CodeBuddy behavior | "Don't mock the database in tests" |
|
|
345
|
+
| `project` | Ongoing project work, goals, and decisions | "Freeze non-critical merges starting next Wednesday" |
|
|
346
|
+
| `reference` | References to external systems and resources | "Bug tracking in Linear project INGEST" |
|
|
347
|
+
|
|
348
|
+
**Memory file format:**
|
|
349
|
+
|
|
350
|
+
```markdown
|
|
351
|
+
---
|
|
352
|
+
name: User Role
|
|
353
|
+
description: User's professional background and technical expertise
|
|
354
|
+
type: user
|
|
355
|
+
---
|
|
356
|
+
|
|
357
|
+
The user is a senior backend engineer with 10 years of Go experience, but new to the project's React frontend.
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
**How to enable:**
|
|
361
|
+
|
|
362
|
+
- Enable `[Experimental] Typed Memory` via the `/config` panel
|
|
363
|
+
- Configure via `settings.json`: `"memory": { "typedMemory": true }`
|
|
364
|
+
- Via environment variable: `CODEBUDDY_TYPED_MEMORY_ENABLED=true`
|
|
365
|
+
|
|
366
|
+
> **Tip**: When Typed Memory is disabled, Auto Memory uses a simplified general format without a type system or YAML frontmatter.
|
|
367
|
+
|
|
368
|
+
## Cache and Reload
|
|
369
|
+
|
|
370
|
+
| Operation | Reloads | Notes |
|
|
371
|
+
|-----------|---------|-------|
|
|
372
|
+
| Process restart | Yes | Cache cleared |
|
|
373
|
+
| Edit via /memory | Yes | Cache automatically cleared |
|
|
374
|
+
| /clear command | No | Only clears message history |
|
|
375
|
+
| Manual file modification | No | Requires manual restart |
|
|
376
|
+
| Add/delete rule files | No | Requires manual restart |
|
|
377
|
+
|
|
378
|
+
## Frequently Asked Questions
|
|
379
|
+
|
|
380
|
+
**What is the difference between AGENTS.md and CODEBUDDY.md?**
|
|
381
|
+
|
|
382
|
+
CodeBuddy Code supports both AGENTS.md and CODEBUDDY.md as project memory files:
|
|
383
|
+
|
|
384
|
+
- **AGENTS.md Support**: If a `CODEBUDDY.md` file exists in the project, project-level memory will use CODEBUDDY.md, otherwise it will use AGENTS.md
|
|
385
|
+
- **Auto-detection**: The system automatically detects whether an AGENTS.md file exists in the project
|
|
386
|
+
|
|
387
|
+
### Recommended: Use CODEBUDDY.md
|
|
388
|
+
|
|
389
|
+
While we maintain support for AGENTS.md, it is recommended that new projects use CODEBUDDY.md as the memory filename to maintain consistency with the CodeBuddy Code brand.
|
|
390
|
+
|
|
391
|
+
**How to migrate AGENTS.md to CODEBUDDY.md?**
|
|
392
|
+
|
|
393
|
+
Simply rename `AGENTS.md` to `CODEBUDDY.md`. The system will auto-detect, and CODEBUDDY.md takes priority.
|
|
394
|
+
|
|
395
|
+
**How are memory files synchronized?**
|
|
396
|
+
|
|
397
|
+
- **Project Memory**: Synced with team via Git
|
|
398
|
+
- **User Memory**: Stored locally, not synced
|
|
399
|
+
- **Local Project Memory**: Stored locally, automatically added to .gitignore
|
|
400
|
+
|
|
401
|
+
**When do conditional rules trigger?**
|
|
402
|
+
|
|
403
|
+
They trigger in these situations:
|
|
404
|
+
- When referencing a file with `@path/to/file`
|
|
405
|
+
- When using file operation tools like Read, Glob, Grep, Edit, Write
|
|
406
|
+
|
|
407
|
+
Once triggered, matching rules are injected into the current message context as system reminders. When all conditional rules have been injected, they won't be injected again.
|
|
408
|
+
|
|
409
|
+
**How to debug rule loading issues?**
|
|
410
|
+
|
|
411
|
+
1. Run `/memory` to view the list of loaded rules
|
|
412
|
+
2. Check if frontmatter format is correct (`---` separators)
|
|
413
|
+
3. Confirm glob patterns are matching
|
|
414
|
+
4. Restart CodeBuddy to clear cache
|
|
415
|
+
|
|
416
|
+
**Is there a size limit for rule files?**
|
|
417
|
+
|
|
418
|
+
It's recommended to keep them concise. For particularly large specification documents, use `@import` syntax to reference them rather than including directly.
|
|
419
|
+
|
|
420
|
+
## Compatibility with CodeBuddy IDE
|
|
421
|
+
|
|
422
|
+
CodeBuddy Code CLI and CodeBuddy IDE both support memory/rules functionality, but conditional rules trigger differently:
|
|
423
|
+
|
|
424
|
+
- **CLI**: Conditional rules trigger automatically through glob pattern matching on file operations (including @ references and tool calls), without support for model-intelligent rule selection
|
|
425
|
+
- **IDE**: Conditional rules support manual user references via @RuleName, and also support model-based intelligent decision activation based on context
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
## Related Resources
|
|
429
|
+
|
|
430
|
+
- [Settings Configuration](settings.md) - Configure CodeBuddy Code behavior
|
|
431
|
+
- [Slash Commands](slash-commands.md) - All available commands
|
|
432
|
+
- [Quick Start](quickstart.md) - Quick start guide
|
|
433
|
+
|
|
434
|
+
---
|
|
435
|
+
|
|
436
|
+
*Through effective memory management, make CodeBuddy Code better understand your needs and preferences*
|