@tencent-ai/agent-sdk 0.3.99 → 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 +26 -0
- package/cli/dist/codebuddy-headless.js +53 -53
- 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 +2 -2
- package/cli/product.internal.json +2 -2
- package/cli/product.ioa.json +2 -2
- package/cli/product.json +3 -3
- package/cli/product.selfhosted.json +2 -2
- package/package.json +1 -1
- package/cli/dist/web-ui/assets/index-BPT-qRRx.js +0 -411
- package/cli/dist/web-ui/assets/index-f_ibHSHw.css +0 -32
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
# 插件市场 (Plugin Marketplaces)
|
|
2
|
+
|
|
3
|
+
插件市场(Plugin Marketplace)是一个插件目录文件,用于分发和管理 CodeBuddy 扩展。它是一个 JSON 格式的配置文件,列出了可用的插件及其来源信息。
|
|
4
|
+
|
|
5
|
+
## 核心功能
|
|
6
|
+
|
|
7
|
+
- **集中发现**:在一个地方浏览来自多个来源的插件
|
|
8
|
+
- **版本管理**:自动跟踪和更新插件版本
|
|
9
|
+
- **自动更新**:支持启用自动更新,定期同步市场内容
|
|
10
|
+
- **团队分发**:在组织内共享必需的插件
|
|
11
|
+
- **灵活来源**:支持 Git 仓库、GitHub 仓库、本地路径和 HTTP URL
|
|
12
|
+
|
|
13
|
+
## 使用插件市场
|
|
14
|
+
|
|
15
|
+
### 前置要求
|
|
16
|
+
|
|
17
|
+
- 已安装并运行 CodeBuddy
|
|
18
|
+
- 基本了解 JSON 文件格式
|
|
19
|
+
- 创建 marketplace 需要:Git 仓库或本地开发环境
|
|
20
|
+
|
|
21
|
+
### 添加插件市场
|
|
22
|
+
|
|
23
|
+
#### 1. 添加 GitHub 市场
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
/plugin marketplace add owner/repo
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
要求仓库包含 `.codebuddy-plugin/marketplace.json` 文件。
|
|
30
|
+
|
|
31
|
+
#### 2. 添加 Git 仓库市场
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# HTTPS 格式
|
|
35
|
+
/plugin marketplace add https://gitlab.com/company/plugins.git
|
|
36
|
+
|
|
37
|
+
# SSH 格式 (git@)
|
|
38
|
+
/plugin marketplace add git@gitlab.com:company/plugins.git
|
|
39
|
+
|
|
40
|
+
# .git 后缀格式
|
|
41
|
+
/plugin marketplace add https://example.com/repo.git
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
#### 3. 添加本地市场(用于开发)
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
# 添加包含 .codebuddy-plugin/marketplace.json 的本地目录
|
|
48
|
+
/plugin marketplace add ./my-marketplace
|
|
49
|
+
|
|
50
|
+
# 直接添加 marketplace.json 文件路径
|
|
51
|
+
/plugin marketplace add ./path/to/marketplace.json
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
#### 4. 添加 HTTP 市场
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# 通过 URL 添加远程 marketplace.json
|
|
58
|
+
/plugin marketplace add https://url.of/marketplace.json
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### 从市场安装插件
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
# 从已知的 marketplace 安装
|
|
65
|
+
/plugin install plugin-name@marketplace-name
|
|
66
|
+
|
|
67
|
+
# 交互式浏览可用插件
|
|
68
|
+
/plugin
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### 验证市场安装
|
|
72
|
+
|
|
73
|
+
1. **列出市场**:运行 `/plugin marketplace list` 确认已添加
|
|
74
|
+
2. **浏览插件**:使用 `/plugin` 查看 marketplace 中的可用插件
|
|
75
|
+
3. **测试安装**:尝试安装一个插件以验证 marketplace 正常工作
|
|
76
|
+
|
|
77
|
+
## 团队配置
|
|
78
|
+
|
|
79
|
+
### 自动安装团队市场
|
|
80
|
+
|
|
81
|
+
在 `.codebuddy/settings.json` 中配置:
|
|
82
|
+
|
|
83
|
+
```json
|
|
84
|
+
{
|
|
85
|
+
"extraKnownMarketplaces": {
|
|
86
|
+
"team-tools": {
|
|
87
|
+
"source": {
|
|
88
|
+
"source": "github",
|
|
89
|
+
"repo": "your-org/codebuddy-plugins"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"project-specific": {
|
|
93
|
+
"source": {
|
|
94
|
+
"source": "git",
|
|
95
|
+
"url": "https://git.company.com/project-plugins.git"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"enabledPlugins": {
|
|
100
|
+
"plugin-a@team-tools": true,
|
|
101
|
+
"plugin-b@team-tools": true
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
当团队成员启动 CodeBuddy 时,系统会自动安装这些 marketplace 和 `enabledPlugins` 字段中指定的插件。
|
|
107
|
+
|
|
108
|
+
### 自动安装流程
|
|
109
|
+
|
|
110
|
+
1. **启动检测**:CodeBuddy 启动时会自动检测配置文件
|
|
111
|
+
2. **市场安装**:自动安装 `extraKnownMarketplaces` 中未安装的市场
|
|
112
|
+
3. **插件安装**:自动安装 `enabledPlugins` 中已启用但未安装的插件
|
|
113
|
+
4. **后台执行**:安装过程在后台异步执行,不阻塞启动流程
|
|
114
|
+
5. **日志记录**:安装过程会记录详细日志,可通过 `--debug` 查看
|
|
115
|
+
|
|
116
|
+
## 创建自己的市场
|
|
117
|
+
|
|
118
|
+
### 创建前置要求
|
|
119
|
+
|
|
120
|
+
- Git 仓库(GitHub、GitLab 或其他 git 托管服务)
|
|
121
|
+
- 了解 JSON 文件格式
|
|
122
|
+
- 一个或多个要分发的插件
|
|
123
|
+
|
|
124
|
+
### 创建市场文件
|
|
125
|
+
|
|
126
|
+
在仓库根目录创建 `.codebuddy-plugin/marketplace.json`:
|
|
127
|
+
|
|
128
|
+
```json
|
|
129
|
+
{
|
|
130
|
+
"name": "company-tools",
|
|
131
|
+
"owner": {
|
|
132
|
+
"name": "DevTools Team",
|
|
133
|
+
"email": "[email protected]"
|
|
134
|
+
},
|
|
135
|
+
"plugins": [
|
|
136
|
+
{
|
|
137
|
+
"name": "code-formatter",
|
|
138
|
+
"source": "./plugins/formatter",
|
|
139
|
+
"description": "Automatic code formatting on save",
|
|
140
|
+
"version": "2.1.0"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "deployment-tools",
|
|
144
|
+
"source": {
|
|
145
|
+
"source": "github",
|
|
146
|
+
"repo": "company/deploy-plugin"
|
|
147
|
+
},
|
|
148
|
+
"description": "Deployment automation tools"
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### 市场配置结构 (Marketplace Schema)
|
|
155
|
+
|
|
156
|
+
#### 必需字段
|
|
157
|
+
|
|
158
|
+
| 字段 | 类型 | 描述 |
|
|
159
|
+
|------|------|------|
|
|
160
|
+
| name | string | 市场标识符(kebab-case,无空格)|
|
|
161
|
+
| owner | object | 市场维护者信息 |
|
|
162
|
+
| plugins | array | 可用插件列表 |
|
|
163
|
+
|
|
164
|
+
#### 可选元数据字段
|
|
165
|
+
|
|
166
|
+
| 字段 | 类型 | 描述 |
|
|
167
|
+
|------|------|------|
|
|
168
|
+
| description | string | 市场简要描述 |
|
|
169
|
+
| version | string | 市场版本 |
|
|
170
|
+
|
|
171
|
+
### 插件条目配置
|
|
172
|
+
|
|
173
|
+
#### 必需字段
|
|
174
|
+
|
|
175
|
+
| 字段 | 类型 | 描述 |
|
|
176
|
+
|------|------|------|
|
|
177
|
+
| name | string | 插件标识符(kebab-case,无空格)|
|
|
178
|
+
| source | string/object | 插件获取来源 |
|
|
179
|
+
| description | string | 插件简要描述 |
|
|
180
|
+
|
|
181
|
+
#### 可选元数据字段
|
|
182
|
+
|
|
183
|
+
| 字段 | 类型 | 描述 |
|
|
184
|
+
|------|------|------|
|
|
185
|
+
| version | string | 插件版本 |
|
|
186
|
+
| author | object | 插件作者信息 |
|
|
187
|
+
| homepage | string | 插件主页或文档 URL |
|
|
188
|
+
| repository | string | 源代码仓库 URL |
|
|
189
|
+
| license | string | SPDX 许可证标识符(如 MIT、Apache-2.0)|
|
|
190
|
+
| keywords | array | 用于插件发现和分类的标签 |
|
|
191
|
+
| category | string | 插件分类 |
|
|
192
|
+
| strict | boolean | 要求插件文件夹中有 plugin.json(默认:true)|
|
|
193
|
+
|
|
194
|
+
#### 组件配置字段
|
|
195
|
+
|
|
196
|
+
| 字段 | 类型 | 描述 |
|
|
197
|
+
|------|------|------|
|
|
198
|
+
| commands | string/array | 命令文件或目录的自定义路径 |
|
|
199
|
+
| agents | string/array | Agent 文件的自定义路径 |
|
|
200
|
+
| skills | string/array | Skill 文件的自定义路径 |
|
|
201
|
+
| hooks | string/object | 自定义 hooks 配置或 hooks 文件路径 |
|
|
202
|
+
| mcpServers | string/object | MCP 服务器配置或 MCP 配置路径 |
|
|
203
|
+
|
|
204
|
+
**关于 strict 字段**:
|
|
205
|
+
|
|
206
|
+
- `strict: true`(默认):插件必须包含 `plugin.json` 清单文件,marketplace 字段补充这些值
|
|
207
|
+
- `strict: false`:`plugin.json` 是可选的。如果缺失,marketplace 条目作为完整的插件清单
|
|
208
|
+
|
|
209
|
+
### 插件来源类型
|
|
210
|
+
|
|
211
|
+
#### 1. 相对路径(Local)
|
|
212
|
+
|
|
213
|
+
用于同一仓库中的插件:
|
|
214
|
+
|
|
215
|
+
```json
|
|
216
|
+
{
|
|
217
|
+
"name": "my-plugin",
|
|
218
|
+
"source": "./plugins/my-plugin",
|
|
219
|
+
"description": "My local plugin"
|
|
220
|
+
}
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
#### 2. GitHub 仓库
|
|
224
|
+
|
|
225
|
+
```json
|
|
226
|
+
{
|
|
227
|
+
"name": "github-plugin",
|
|
228
|
+
"source": {
|
|
229
|
+
"source": "github",
|
|
230
|
+
"repo": "owner/plugin-repo"
|
|
231
|
+
},
|
|
232
|
+
"description": "Plugin from GitHub"
|
|
233
|
+
}
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
#### 3. Git URL
|
|
237
|
+
|
|
238
|
+
```json
|
|
239
|
+
{
|
|
240
|
+
"name": "git-plugin",
|
|
241
|
+
"source": {
|
|
242
|
+
"source": "url",
|
|
243
|
+
"url": "https://gitlab.com/team/plugin.git"
|
|
244
|
+
},
|
|
245
|
+
"description": "Plugin from Git URL"
|
|
246
|
+
}
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
### 高级插件条目示例
|
|
250
|
+
|
|
251
|
+
```json
|
|
252
|
+
{
|
|
253
|
+
"name": "enterprise-tools",
|
|
254
|
+
"source": {
|
|
255
|
+
"source": "github",
|
|
256
|
+
"repo": "company/enterprise-plugin"
|
|
257
|
+
},
|
|
258
|
+
"description": "Enterprise workflow automation tools",
|
|
259
|
+
"version": "2.1.0",
|
|
260
|
+
"author": {
|
|
261
|
+
"name": "Enterprise Team",
|
|
262
|
+
"email": "[email protected]"
|
|
263
|
+
},
|
|
264
|
+
"homepage": "https://docs.company.com/plugins/enterprise-tools",
|
|
265
|
+
"repository": "https://github.com/company/enterprise-plugin",
|
|
266
|
+
"license": "MIT",
|
|
267
|
+
"keywords": ["enterprise", "workflow", "automation"],
|
|
268
|
+
"category": "productivity",
|
|
269
|
+
"commands": [
|
|
270
|
+
"./commands/core/",
|
|
271
|
+
"./commands/enterprise/",
|
|
272
|
+
"./commands/experimental/preview.md"
|
|
273
|
+
],
|
|
274
|
+
"agents": [
|
|
275
|
+
"./agents/security-reviewer.md",
|
|
276
|
+
"./agents/compliance-checker.md"
|
|
277
|
+
],
|
|
278
|
+
"skills": [
|
|
279
|
+
"./skills/deployment.md",
|
|
280
|
+
"./skills/monitoring.md"
|
|
281
|
+
],
|
|
282
|
+
"hooks": {
|
|
283
|
+
"PostToolUse": [
|
|
284
|
+
{
|
|
285
|
+
"matcher": "Write|Edit",
|
|
286
|
+
"hooks": [{
|
|
287
|
+
"type": "command",
|
|
288
|
+
"command": "${CODEBUDDY_PLUGIN_ROOT}/scripts/validate.sh"
|
|
289
|
+
}]
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
"mcpServers": {
|
|
294
|
+
"enterprise-db": {
|
|
295
|
+
"command": "${CODEBUDDY_PLUGIN_ROOT}/servers/db-server",
|
|
296
|
+
"args": ["--config", "${CODEBUDDY_PLUGIN_ROOT}/config.json"]
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"strict": false
|
|
300
|
+
}
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
**注意**:`${CODEBUDDY_PLUGIN_ROOT}` 是一个环境变量,解析为插件的安装目录。
|
|
304
|
+
|
|
305
|
+
## 托管和分发市场
|
|
306
|
+
|
|
307
|
+
### 1. 在 GitHub 上托管(推荐)
|
|
308
|
+
|
|
309
|
+
**步骤**:
|
|
310
|
+
|
|
311
|
+
1. 创建仓库:为 marketplace 设置新仓库
|
|
312
|
+
2. 添加 marketplace 文件:创建 `.codebuddy-plugin/marketplace.json` 并定义插件
|
|
313
|
+
3. 与团队共享:团队成员使用 `/plugin marketplace add owner/repo` 添加
|
|
314
|
+
|
|
315
|
+
**优势**:内置版本控制、问题跟踪和团队协作功能
|
|
316
|
+
|
|
317
|
+
### 2. 在其他 Git 服务上托管
|
|
318
|
+
|
|
319
|
+
任何 git 托管服务都可以用于 marketplace 分发。例如使用 GitLab:
|
|
320
|
+
|
|
321
|
+
```bash
|
|
322
|
+
/plugin marketplace add https://gitlab.com/company/plugins.git
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
### 3. 使用 HTTP URL 托管
|
|
326
|
+
|
|
327
|
+
可以将 marketplace.json 文件托管在任何 HTTP(S) 服务器上:
|
|
328
|
+
|
|
329
|
+
```bash
|
|
330
|
+
/plugin marketplace add https://example.com/path/to/marketplace.json
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
### 4. 使用本地市场进行开发
|
|
334
|
+
|
|
335
|
+
在分发前本地测试 marketplace:
|
|
336
|
+
|
|
337
|
+
```bash
|
|
338
|
+
# 添加本地 marketplace 进行测试
|
|
339
|
+
/plugin marketplace add ./my-local-marketplace
|
|
340
|
+
|
|
341
|
+
# 测试插件安装
|
|
342
|
+
/plugin install test-plugin@my-local-marketplace
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
## 市场管理操作
|
|
346
|
+
|
|
347
|
+
### 列出已知的市场
|
|
348
|
+
|
|
349
|
+
```bash
|
|
350
|
+
/plugin marketplace list
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
显示所有配置的 marketplace 及其来源和状态。
|
|
354
|
+
|
|
355
|
+
### 更新市场元数据
|
|
356
|
+
|
|
357
|
+
```bash
|
|
358
|
+
/plugin marketplace update marketplace-name
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
从 marketplace 来源刷新插件列表和元数据。
|
|
362
|
+
|
|
363
|
+
### 移除市场
|
|
364
|
+
|
|
365
|
+
```bash
|
|
366
|
+
/plugin marketplace remove marketplace-name
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
从配置中移除 marketplace。
|
|
370
|
+
|
|
371
|
+
**⚠️ 警告**:移除 marketplace 将卸载从中安装的所有插件。
|
|
372
|
+
|
|
373
|
+
### 管理自动更新
|
|
374
|
+
|
|
375
|
+
可以为市场启用自动更新功能,CodeBuddy 会在启动时自动检查并更新已启用的市场。
|
|
376
|
+
|
|
377
|
+
**启用方式**:
|
|
378
|
+
|
|
379
|
+
1. 运行 `/plugin` 命令进入插件管理界面
|
|
380
|
+
2. 选择「Marketplaces」查看市场列表
|
|
381
|
+
3. 选择需要配置的市场
|
|
382
|
+
4. 选择「Enable auto-update」或「Disable auto-update」切换状态
|
|
383
|
+
|
|
384
|
+
**自动更新机制**:
|
|
385
|
+
|
|
386
|
+
- 启动时延迟 5 秒后执行,不影响主流程
|
|
387
|
+
- 仅更新距上次更新超过 24 小时的市场
|
|
388
|
+
- 多个市场间隔 2 秒依次更新,避免资源竞争
|
|
389
|
+
- 更新失败不影响其他市场,错误记录到日志
|
|
390
|
+
|
|
391
|
+
## 实现原理
|
|
392
|
+
|
|
393
|
+
### 市场类型
|
|
394
|
+
|
|
395
|
+
CodeBuddy 支持以下几种市场类型:
|
|
396
|
+
|
|
397
|
+
1. **Directory(本地目录)**:从本地文件系统加载插件
|
|
398
|
+
2. **GitHub**:从 GitHub 仓库克隆和更新插件
|
|
399
|
+
3. **Git**:从任意 Git 仓库克隆和更新插件
|
|
400
|
+
4. **URL(HTTP)**:从 HTTP(S) URL 下载 marketplace.json
|
|
401
|
+
|
|
402
|
+
### 市场工厂模式
|
|
403
|
+
|
|
404
|
+
通过 `MarketplaceFactory` 根据配置创建不同类型的市场实例:
|
|
405
|
+
|
|
406
|
+
```typescript
|
|
407
|
+
// 根据源类型创建对应的市场实例
|
|
408
|
+
switch (sourceType) {
|
|
409
|
+
case MarketplaceType.Directory:
|
|
410
|
+
marketplace = new DirectoryMarketplace();
|
|
411
|
+
break;
|
|
412
|
+
case MarketplaceType.Github:
|
|
413
|
+
case MarketplaceType.Git:
|
|
414
|
+
marketplace = new GithubMarketplace();
|
|
415
|
+
break;
|
|
416
|
+
case MarketplaceType.URL:
|
|
417
|
+
marketplace = new HttpMarketplace();
|
|
418
|
+
break;
|
|
419
|
+
default:
|
|
420
|
+
marketplace = new BaseMarketplace();
|
|
421
|
+
break;
|
|
422
|
+
}
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
### 安装流程
|
|
426
|
+
|
|
427
|
+
1. **解析源**:根据输入字符串判断市场类型(本地路径、GitHub 仓库、Git URL、HTTP URL)
|
|
428
|
+
2. **下载/克隆**:根据市场类型下载或克隆市场内容
|
|
429
|
+
3. **读取清单**:解析 `.codebuddy-plugin/marketplace.json` 文件
|
|
430
|
+
4. **保存配置**:将市场信息保存到本地存储
|
|
431
|
+
5. **更新缓存**:刷新插件缓存和市场列表
|
|
432
|
+
|
|
433
|
+
### 插件安装器
|
|
434
|
+
|
|
435
|
+
CodeBuddy 使用插件安装器(PluginInstaller)来处理不同类型的插件源:
|
|
436
|
+
|
|
437
|
+
- **本地安装器**:处理相对路径插件
|
|
438
|
+
- **Git 安装器**:处理 GitHub 和 Git URL 插件
|
|
439
|
+
|
|
440
|
+
每个安装器实现以下方法:
|
|
441
|
+
|
|
442
|
+
- `support(source)`:判断是否支持该插件源
|
|
443
|
+
- `isInstalled(plugin, targetDir)`:检查插件是否已安装
|
|
444
|
+
- `install(plugin, targetDir)`:安装插件
|
|
445
|
+
- `update(plugin, installedPath)`:更新插件
|
|
446
|
+
|
|
447
|
+
## 故障排除
|
|
448
|
+
|
|
449
|
+
### 常见问题
|
|
450
|
+
|
|
451
|
+
#### 1. 市场无法加载
|
|
452
|
+
|
|
453
|
+
**症状**:无法添加 marketplace 或看不到其中的插件
|
|
454
|
+
|
|
455
|
+
**解决方案**:
|
|
456
|
+
|
|
457
|
+
- 验证 marketplace URL 可访问
|
|
458
|
+
- 检查指定路径是否存在 `.codebuddy-plugin/marketplace.json`
|
|
459
|
+
- 确保 JSON 语法有效
|
|
460
|
+
- 对于私有仓库,确认您有访问权限
|
|
461
|
+
|
|
462
|
+
#### 2. 插件安装失败
|
|
463
|
+
|
|
464
|
+
**症状**:Marketplace 显示但插件安装失败
|
|
465
|
+
|
|
466
|
+
**解决方案**:
|
|
467
|
+
|
|
468
|
+
- 验证插件源 URL 可访问
|
|
469
|
+
- 检查插件目录是否包含必需文件
|
|
470
|
+
- 对于 GitHub 源,确保仓库是公开的或您有访问权限
|
|
471
|
+
- 通过克隆/下载手动测试插件源
|
|
472
|
+
|
|
473
|
+
#### 3. Git 操作失败
|
|
474
|
+
|
|
475
|
+
**症状**:克隆或拉取仓库时出错
|
|
476
|
+
|
|
477
|
+
**解决方案**:
|
|
478
|
+
|
|
479
|
+
- 确保已安装 Git 并可在命令行使用
|
|
480
|
+
- 检查网络连接和代理设置
|
|
481
|
+
- 验证 Git 凭据配置正确
|
|
482
|
+
- 使用 `--debug` 标志查看详细日志
|
|
483
|
+
|
|
484
|
+
### 调试技巧
|
|
485
|
+
|
|
486
|
+
1. **启用调试日志**:
|
|
487
|
+
|
|
488
|
+
```bash
|
|
489
|
+
codebuddy --debug
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
2. **手动验证市场文件**:
|
|
493
|
+
|
|
494
|
+
```bash
|
|
495
|
+
# 检查 marketplace.json 格式
|
|
496
|
+
cat .codebuddy-plugin/marketplace.json | jq
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
3. **测试 Git 克隆**:
|
|
500
|
+
|
|
501
|
+
```bash
|
|
502
|
+
# 手动测试 Git 克隆是否成功
|
|
503
|
+
git clone https://github.com/owner/repo.git /tmp/test-clone
|
|
504
|
+
```
|
|
505
|
+
|
|
506
|
+
## 下一步
|
|
507
|
+
|
|
508
|
+
### 对于市场用户
|
|
509
|
+
|
|
510
|
+
- 发现社区 marketplaces:在 GitHub 上搜索 CodeBuddy 插件集合
|
|
511
|
+
- 贡献反馈:向 marketplace 维护者报告问题和建议改进
|
|
512
|
+
- 分享有用的 marketplaces:帮助团队发现有价值的插件集合
|
|
513
|
+
|
|
514
|
+
### 对于市场创建者
|
|
515
|
+
|
|
516
|
+
- 构建插件集合:围绕特定用例创建主题 marketplace
|
|
517
|
+
- 建立版本控制:实施清晰的版本控制和更新策略
|
|
518
|
+
- 社区参与:收集反馈并维护活跃的 marketplace 社区
|
|
519
|
+
- 文档:提供清晰的 README 文件解释 marketplace 内容
|
|
520
|
+
|
|
521
|
+
### 对于组织
|
|
522
|
+
|
|
523
|
+
- 私有 marketplaces:为专有工具设置内部 marketplace
|
|
524
|
+
- 治理策略:建立插件审批和安全审查指南
|
|
525
|
+
- 培训资源:帮助团队有效发现和采用有用的插件
|
|
526
|
+
|
|
527
|
+
## 相关资源
|
|
528
|
+
|
|
529
|
+
- [插件系统](./plugins.md) - 插件系统总览
|
|
530
|
+
- [技能系统](./skills.md) - 创建和使用技能
|
|
531
|
+
- [斜杠命令](./slash-commands.md) - 创建自定义命令
|
|
532
|
+
- [Hooks](./hooks.md) - 创建事件钩子
|
|
533
|
+
- [设置](./settings.md) - 插件配置选项
|