@tencent-ai/codebuddy-code 2.67.0 → 2.68.0-next.19b562c.20260330

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.
Files changed (457) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/codebuddy-headless.js +58 -58
  3. package/dist/codebuddy.js +120 -79
  4. package/dist/web-ui/assets/{index-BPT-qRRx.js → index-Cl0stqCM.js} +145 -116
  5. package/dist/web-ui/assets/index-Dt1puyHn.css +32 -0
  6. package/dist/web-ui/docs/cn/cli/acp.md +152 -0
  7. package/dist/web-ui/docs/cn/cli/agent-teams.md +327 -0
  8. package/dist/web-ui/docs/cn/cli/bash-sandboxing.md +290 -0
  9. package/dist/web-ui/docs/cn/cli/best-practices.md +554 -0
  10. package/dist/web-ui/docs/cn/cli/channels-reference.md +293 -0
  11. package/dist/web-ui/docs/cn/cli/channels.md +215 -0
  12. package/dist/web-ui/docs/cn/cli/checkpointing.md +51 -0
  13. package/dist/web-ui/docs/cn/cli/cli-reference.md +187 -0
  14. package/dist/web-ui/docs/cn/cli/common-workflows.md +1013 -0
  15. package/dist/web-ui/docs/cn/cli/costs.md +174 -0
  16. package/dist/web-ui/docs/cn/cli/devcontainer.md +553 -0
  17. package/dist/web-ui/docs/cn/cli/env-vars.md +326 -0
  18. package/dist/web-ui/docs/cn/cli/gitlab-ci-cd.md +357 -0
  19. package/dist/web-ui/docs/cn/cli/headless.md +258 -0
  20. package/dist/web-ui/docs/cn/cli/hooks-guide.md +9 -0
  21. package/dist/web-ui/docs/cn/cli/hooks.md +805 -0
  22. package/dist/web-ui/docs/cn/cli/iam.md +530 -0
  23. package/dist/web-ui/docs/cn/cli/ide-integrations.md +92 -0
  24. package/dist/web-ui/docs/cn/cli/installation.md +291 -0
  25. package/dist/web-ui/docs/cn/cli/interactive-mode.md +233 -0
  26. package/dist/web-ui/docs/cn/cli/mcp.md +739 -0
  27. package/dist/web-ui/docs/cn/cli/memory.md +436 -0
  28. package/dist/web-ui/docs/cn/cli/models.md +356 -0
  29. package/dist/web-ui/docs/cn/cli/overview.md +100 -0
  30. package/dist/web-ui/docs/cn/cli/plugin-marketplaces.md +533 -0
  31. package/dist/web-ui/docs/cn/cli/plugins-reference.md +774 -0
  32. package/dist/web-ui/docs/cn/cli/plugins.md +689 -0
  33. package/dist/web-ui/docs/cn/cli/quickstart.md +249 -0
  34. package/dist/web-ui/docs/cn/cli/release-notes/README.md +199 -0
  35. package/dist/web-ui/docs/cn/cli/release-notes/v2.10.0.md +23 -0
  36. package/dist/web-ui/docs/cn/cli/release-notes/v2.10.1.md +5 -0
  37. package/dist/web-ui/docs/cn/cli/release-notes/v2.11.0.md +24 -0
  38. package/dist/web-ui/docs/cn/cli/release-notes/v2.12.0.md +21 -0
  39. package/dist/web-ui/docs/cn/cli/release-notes/v2.13.0.md +20 -0
  40. package/dist/web-ui/docs/cn/cli/release-notes/v2.14.0.md +22 -0
  41. package/dist/web-ui/docs/cn/cli/release-notes/v2.14.1.md +8 -0
  42. package/dist/web-ui/docs/cn/cli/release-notes/v2.15.0.md +18 -0
  43. package/dist/web-ui/docs/cn/cli/release-notes/v2.15.1.md +11 -0
  44. package/dist/web-ui/docs/cn/cli/release-notes/v2.16.0.md +20 -0
  45. package/dist/web-ui/docs/cn/cli/release-notes/v2.17.0.md +29 -0
  46. package/dist/web-ui/docs/cn/cli/release-notes/v2.18.0.md +17 -0
  47. package/dist/web-ui/docs/cn/cli/release-notes/v2.19.0.md +11 -0
  48. package/dist/web-ui/docs/cn/cli/release-notes/v2.19.1.md +14 -0
  49. package/dist/web-ui/docs/cn/cli/release-notes/v2.19.2.md +11 -0
  50. package/dist/web-ui/docs/cn/cli/release-notes/v2.20.0.md +23 -0
  51. package/dist/web-ui/docs/cn/cli/release-notes/v2.20.1.md +15 -0
  52. package/dist/web-ui/docs/cn/cli/release-notes/v2.21.0.md +13 -0
  53. package/dist/web-ui/docs/cn/cli/release-notes/v2.22.0.md +16 -0
  54. package/dist/web-ui/docs/cn/cli/release-notes/v2.23.0.md +20 -0
  55. package/dist/web-ui/docs/cn/cli/release-notes/v2.23.2.md +5 -0
  56. package/dist/web-ui/docs/cn/cli/release-notes/v2.23.3.md +5 -0
  57. package/dist/web-ui/docs/cn/cli/release-notes/v2.23.4.md +15 -0
  58. package/dist/web-ui/docs/cn/cli/release-notes/v2.23.5.md +11 -0
  59. package/dist/web-ui/docs/cn/cli/release-notes/v2.24.0.md +17 -0
  60. package/dist/web-ui/docs/cn/cli/release-notes/v2.25.0.md +18 -0
  61. package/dist/web-ui/docs/cn/cli/release-notes/v2.25.1.md +21 -0
  62. package/dist/web-ui/docs/cn/cli/release-notes/v2.26.0.md +18 -0
  63. package/dist/web-ui/docs/cn/cli/release-notes/v2.27.0.md +16 -0
  64. package/dist/web-ui/docs/cn/cli/release-notes/v2.27.1.md +16 -0
  65. package/dist/web-ui/docs/cn/cli/release-notes/v2.27.2.md +7 -0
  66. package/dist/web-ui/docs/cn/cli/release-notes/v2.27.3.md +15 -0
  67. package/dist/web-ui/docs/cn/cli/release-notes/v2.28.0.md +26 -0
  68. package/dist/web-ui/docs/cn/cli/release-notes/v2.28.1.md +5 -0
  69. package/dist/web-ui/docs/cn/cli/release-notes/v2.29.0.md +35 -0
  70. package/dist/web-ui/docs/cn/cli/release-notes/v2.3.1.md +16 -0
  71. package/dist/web-ui/docs/cn/cli/release-notes/v2.30.0.md +19 -0
  72. package/dist/web-ui/docs/cn/cli/release-notes/v2.30.1.md +5 -0
  73. package/dist/web-ui/docs/cn/cli/release-notes/v2.31.0.md +51 -0
  74. package/dist/web-ui/docs/cn/cli/release-notes/v2.31.1.md +11 -0
  75. package/dist/web-ui/docs/cn/cli/release-notes/v2.31.2.md +16 -0
  76. package/dist/web-ui/docs/cn/cli/release-notes/v2.32.0.md +19 -0
  77. package/dist/web-ui/docs/cn/cli/release-notes/v2.33.0.md +28 -0
  78. package/dist/web-ui/docs/cn/cli/release-notes/v2.33.1.md +7 -0
  79. package/dist/web-ui/docs/cn/cli/release-notes/v2.36.3.md +17 -0
  80. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.0.md +15 -0
  81. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.1.md +15 -0
  82. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.10.md +5 -0
  83. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.11.md +8 -0
  84. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.12.md +14 -0
  85. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.13.md +11 -0
  86. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.14.md +24 -0
  87. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.15.md +11 -0
  88. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.16.md +9 -0
  89. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.17.md +5 -0
  90. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.18.md +9 -0
  91. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.19.md +5 -0
  92. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.2.md +28 -0
  93. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.20.md +8 -0
  94. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.3.md +22 -0
  95. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.4.md +19 -0
  96. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.5.md +5 -0
  97. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.6.md +5 -0
  98. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.7.md +5 -0
  99. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.8.md +5 -0
  100. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.9.md +8 -0
  101. package/dist/web-ui/docs/cn/cli/release-notes/v2.38.0.md +22 -0
  102. package/dist/web-ui/docs/cn/cli/release-notes/v2.38.1.md +6 -0
  103. package/dist/web-ui/docs/cn/cli/release-notes/v2.38.2.md +9 -0
  104. package/dist/web-ui/docs/cn/cli/release-notes/v2.39.0.md +18 -0
  105. package/dist/web-ui/docs/cn/cli/release-notes/v2.4.0.md +19 -0
  106. package/dist/web-ui/docs/cn/cli/release-notes/v2.40.0.md +20 -0
  107. package/dist/web-ui/docs/cn/cli/release-notes/v2.40.1.md +6 -0
  108. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.0.md +15 -0
  109. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.1.md +6 -0
  110. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.2.md +5 -0
  111. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.3.md +8 -0
  112. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.4.md +5 -0
  113. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.5.md +10 -0
  114. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.6.md +9 -0
  115. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.7.md +14 -0
  116. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.8.md +18 -0
  117. package/dist/web-ui/docs/cn/cli/release-notes/v2.42.0.md +39 -0
  118. package/dist/web-ui/docs/cn/cli/release-notes/v2.42.1.md +8 -0
  119. package/dist/web-ui/docs/cn/cli/release-notes/v2.42.3.md +18 -0
  120. package/dist/web-ui/docs/cn/cli/release-notes/v2.43.0.md +27 -0
  121. package/dist/web-ui/docs/cn/cli/release-notes/v2.43.1.md +27 -0
  122. package/dist/web-ui/docs/cn/cli/release-notes/v2.44.0.md +11 -0
  123. package/dist/web-ui/docs/cn/cli/release-notes/v2.44.1.md +22 -0
  124. package/dist/web-ui/docs/cn/cli/release-notes/v2.45.0.md +34 -0
  125. package/dist/web-ui/docs/cn/cli/release-notes/v2.45.1.md +7 -0
  126. package/dist/web-ui/docs/cn/cli/release-notes/v2.46.0.md +12 -0
  127. package/dist/web-ui/docs/cn/cli/release-notes/v2.47.0.md +20 -0
  128. package/dist/web-ui/docs/cn/cli/release-notes/v2.48.0.md +32 -0
  129. package/dist/web-ui/docs/cn/cli/release-notes/v2.48.1.md +11 -0
  130. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.0.md +26 -0
  131. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.1.md +14 -0
  132. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.2.md +39 -0
  133. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.3.md +7 -0
  134. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.5.md +11 -0
  135. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.6.md +9 -0
  136. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.7.md +7 -0
  137. package/dist/web-ui/docs/cn/cli/release-notes/v2.5.0.md +24 -0
  138. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.0.md +25 -0
  139. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.1.md +9 -0
  140. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.2.md +11 -0
  141. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.3.md +5 -0
  142. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.4.md +17 -0
  143. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.5.md +16 -0
  144. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.6.md +15 -0
  145. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.7.md +15 -0
  146. package/dist/web-ui/docs/cn/cli/release-notes/v2.51.0.md +24 -0
  147. package/dist/web-ui/docs/cn/cli/release-notes/v2.51.1.md +17 -0
  148. package/dist/web-ui/docs/cn/cli/release-notes/v2.51.2.md +5 -0
  149. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.0.md +30 -0
  150. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.1.md +28 -0
  151. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.2.md +12 -0
  152. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.3.md +13 -0
  153. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.4.md +27 -0
  154. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.5.md +21 -0
  155. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.6.md +7 -0
  156. package/dist/web-ui/docs/cn/cli/release-notes/v2.53.0.md +29 -0
  157. package/dist/web-ui/docs/cn/cli/release-notes/v2.54.0.md +26 -0
  158. package/dist/web-ui/docs/cn/cli/release-notes/v2.55.0.md +21 -0
  159. package/dist/web-ui/docs/cn/cli/release-notes/v2.55.1.md +13 -0
  160. package/dist/web-ui/docs/cn/cli/release-notes/v2.56.0.md +20 -0
  161. package/dist/web-ui/docs/cn/cli/release-notes/v2.56.1.md +5 -0
  162. package/dist/web-ui/docs/cn/cli/release-notes/v2.57.0.md +32 -0
  163. package/dist/web-ui/docs/cn/cli/release-notes/v2.57.1.md +10 -0
  164. package/dist/web-ui/docs/cn/cli/release-notes/v2.58.0.md +34 -0
  165. package/dist/web-ui/docs/cn/cli/release-notes/v2.59.0.md +28 -0
  166. package/dist/web-ui/docs/cn/cli/release-notes/v2.6.0.md +5 -0
  167. package/dist/web-ui/docs/cn/cli/release-notes/v2.6.1.md +10 -0
  168. package/dist/web-ui/docs/cn/cli/release-notes/v2.60.0.md +20 -0
  169. package/dist/web-ui/docs/cn/cli/release-notes/v2.61.0.md +29 -0
  170. package/dist/web-ui/docs/cn/cli/release-notes/v2.61.1.md +5 -0
  171. package/dist/web-ui/docs/cn/cli/release-notes/v2.61.2.md +6 -0
  172. package/dist/web-ui/docs/cn/cli/release-notes/v2.61.3.md +13 -0
  173. package/dist/web-ui/docs/cn/cli/release-notes/v2.62.0.md +21 -0
  174. package/dist/web-ui/docs/cn/cli/release-notes/v2.62.1.md +11 -0
  175. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.0.md +19 -0
  176. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.1.md +5 -0
  177. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.2.md +7 -0
  178. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.3.md +6 -0
  179. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.4.md +8 -0
  180. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.5.md +6 -0
  181. package/dist/web-ui/docs/cn/cli/release-notes/v2.64.0.md +37 -0
  182. package/dist/web-ui/docs/cn/cli/release-notes/v2.64.1.md +6 -0
  183. package/dist/web-ui/docs/cn/cli/release-notes/v2.64.2.md +11 -0
  184. package/dist/web-ui/docs/cn/cli/release-notes/v2.65.0.md +19 -0
  185. package/dist/web-ui/docs/cn/cli/release-notes/v2.65.1.md +11 -0
  186. package/dist/web-ui/docs/cn/cli/release-notes/v2.66.0.md +15 -0
  187. package/dist/web-ui/docs/cn/cli/release-notes/v2.66.1.md +14 -0
  188. package/dist/web-ui/docs/cn/cli/release-notes/v2.66.2.md +5 -0
  189. package/dist/web-ui/docs/cn/cli/release-notes/v2.67.0.md +33 -0
  190. package/dist/web-ui/docs/cn/cli/release-notes/v2.7.0.md +16 -0
  191. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.0.md +18 -0
  192. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.1.md +17 -0
  193. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.2.md +5 -0
  194. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.3.md +14 -0
  195. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.4.md +9 -0
  196. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.5.md +5 -0
  197. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.6.md +14 -0
  198. package/dist/web-ui/docs/cn/cli/release-notes/v2.9.0.md +5 -0
  199. package/dist/web-ui/docs/cn/cli/remote-control.md +247 -0
  200. package/dist/web-ui/docs/cn/cli/sandboxing.md +316 -0
  201. package/dist/web-ui/docs/cn/cli/scheduled-tasks.md +161 -0
  202. package/dist/web-ui/docs/cn/cli/sdk-custom-tools.md +1195 -0
  203. package/dist/web-ui/docs/cn/cli/sdk-demos.md +347 -0
  204. package/dist/web-ui/docs/cn/cli/sdk-hooks.md +803 -0
  205. package/dist/web-ui/docs/cn/cli/sdk-mcp.md +643 -0
  206. package/dist/web-ui/docs/cn/cli/sdk-permissions.md +501 -0
  207. package/dist/web-ui/docs/cn/cli/sdk-python.md +783 -0
  208. package/dist/web-ui/docs/cn/cli/sdk-sessions.md +332 -0
  209. package/dist/web-ui/docs/cn/cli/sdk-typescript.md +759 -0
  210. package/dist/web-ui/docs/cn/cli/sdk.md +1105 -0
  211. package/dist/web-ui/docs/cn/cli/security.md +387 -0
  212. package/dist/web-ui/docs/cn/cli/settings.md +602 -0
  213. package/dist/web-ui/docs/cn/cli/skills.md +448 -0
  214. package/dist/web-ui/docs/cn/cli/slash-commands.md +397 -0
  215. package/dist/web-ui/docs/cn/cli/statusline.md +525 -0
  216. package/dist/web-ui/docs/cn/cli/sub-agents.md +634 -0
  217. package/dist/web-ui/docs/cn/cli/terminal-config.md +77 -0
  218. package/dist/web-ui/docs/cn/cli/tools-reference.md +99 -0
  219. package/dist/web-ui/docs/cn/cli/troubleshooting.md +190 -0
  220. package/dist/web-ui/docs/cn/cli/web-ui.md +164 -0
  221. package/dist/web-ui/docs/cn/cli/wecom-bot-setup.md +274 -0
  222. package/dist/web-ui/docs/cn/cli/worktree.md +660 -0
  223. package/dist/web-ui/docs/en/cli/acp.md +126 -0
  224. package/dist/web-ui/docs/en/cli/agent-teams.md +327 -0
  225. package/dist/web-ui/docs/en/cli/bash-sandboxing.md +357 -0
  226. package/dist/web-ui/docs/en/cli/best-practices.md +554 -0
  227. package/dist/web-ui/docs/en/cli/channels-reference.md +293 -0
  228. package/dist/web-ui/docs/en/cli/channels.md +215 -0
  229. package/dist/web-ui/docs/en/cli/checkpointing.md +53 -0
  230. package/dist/web-ui/docs/en/cli/cli-reference.md +187 -0
  231. package/dist/web-ui/docs/en/cli/common-workflows.md +1011 -0
  232. package/dist/web-ui/docs/en/cli/costs.md +174 -0
  233. package/dist/web-ui/docs/en/cli/devcontainer.md +553 -0
  234. package/dist/web-ui/docs/en/cli/env-vars.md +326 -0
  235. package/dist/web-ui/docs/en/cli/gitlab-ci-cd.md +357 -0
  236. package/dist/web-ui/docs/en/cli/headless.md +258 -0
  237. package/dist/web-ui/docs/en/cli/hooks-guide.md +9 -0
  238. package/dist/web-ui/docs/en/cli/hooks.md +801 -0
  239. package/dist/web-ui/docs/en/cli/iam.md +526 -0
  240. package/dist/web-ui/docs/en/cli/ide-integrations.md +92 -0
  241. package/dist/web-ui/docs/en/cli/installation.md +266 -0
  242. package/dist/web-ui/docs/en/cli/interactive-mode.md +233 -0
  243. package/dist/web-ui/docs/en/cli/mcp.md +739 -0
  244. package/dist/web-ui/docs/en/cli/memory.md +436 -0
  245. package/dist/web-ui/docs/en/cli/models.md +355 -0
  246. package/dist/web-ui/docs/en/cli/overview.md +100 -0
  247. package/dist/web-ui/docs/en/cli/plugin-marketplaces.md +534 -0
  248. package/dist/web-ui/docs/en/cli/plugins-reference.md +774 -0
  249. package/dist/web-ui/docs/en/cli/plugins.md +688 -0
  250. package/dist/web-ui/docs/en/cli/quickstart.md +249 -0
  251. package/dist/web-ui/docs/en/cli/release-notes/README.md +193 -0
  252. package/dist/web-ui/docs/en/cli/release-notes/v2.10.0.md +23 -0
  253. package/dist/web-ui/docs/en/cli/release-notes/v2.10.1.md +5 -0
  254. package/dist/web-ui/docs/en/cli/release-notes/v2.11.0.md +24 -0
  255. package/dist/web-ui/docs/en/cli/release-notes/v2.12.0.md +21 -0
  256. package/dist/web-ui/docs/en/cli/release-notes/v2.13.0.md +20 -0
  257. package/dist/web-ui/docs/en/cli/release-notes/v2.14.0.md +22 -0
  258. package/dist/web-ui/docs/en/cli/release-notes/v2.14.1.md +8 -0
  259. package/dist/web-ui/docs/en/cli/release-notes/v2.15.0.md +18 -0
  260. package/dist/web-ui/docs/en/cli/release-notes/v2.15.1.md +11 -0
  261. package/dist/web-ui/docs/en/cli/release-notes/v2.16.0.md +20 -0
  262. package/dist/web-ui/docs/en/cli/release-notes/v2.17.0.md +29 -0
  263. package/dist/web-ui/docs/en/cli/release-notes/v2.18.0.md +17 -0
  264. package/dist/web-ui/docs/en/cli/release-notes/v2.19.0.md +11 -0
  265. package/dist/web-ui/docs/en/cli/release-notes/v2.19.1.md +14 -0
  266. package/dist/web-ui/docs/en/cli/release-notes/v2.19.2.md +11 -0
  267. package/dist/web-ui/docs/en/cli/release-notes/v2.20.0.md +23 -0
  268. package/dist/web-ui/docs/en/cli/release-notes/v2.20.1.md +15 -0
  269. package/dist/web-ui/docs/en/cli/release-notes/v2.21.0.md +13 -0
  270. package/dist/web-ui/docs/en/cli/release-notes/v2.22.0.md +16 -0
  271. package/dist/web-ui/docs/en/cli/release-notes/v2.23.0.md +41 -0
  272. package/dist/web-ui/docs/en/cli/release-notes/v2.23.2.md +5 -0
  273. package/dist/web-ui/docs/en/cli/release-notes/v2.23.3.md +5 -0
  274. package/dist/web-ui/docs/en/cli/release-notes/v2.23.4.md +15 -0
  275. package/dist/web-ui/docs/en/cli/release-notes/v2.23.5.md +11 -0
  276. package/dist/web-ui/docs/en/cli/release-notes/v2.24.0.md +17 -0
  277. package/dist/web-ui/docs/en/cli/release-notes/v2.25.0.md +18 -0
  278. package/dist/web-ui/docs/en/cli/release-notes/v2.25.1.md +21 -0
  279. package/dist/web-ui/docs/en/cli/release-notes/v2.26.0.md +18 -0
  280. package/dist/web-ui/docs/en/cli/release-notes/v2.27.0.md +16 -0
  281. package/dist/web-ui/docs/en/cli/release-notes/v2.27.1.md +16 -0
  282. package/dist/web-ui/docs/en/cli/release-notes/v2.27.2.md +7 -0
  283. package/dist/web-ui/docs/en/cli/release-notes/v2.27.3.md +15 -0
  284. package/dist/web-ui/docs/en/cli/release-notes/v2.28.0.md +26 -0
  285. package/dist/web-ui/docs/en/cli/release-notes/v2.28.1.md +5 -0
  286. package/dist/web-ui/docs/en/cli/release-notes/v2.29.0.md +35 -0
  287. package/dist/web-ui/docs/en/cli/release-notes/v2.3.1.md +16 -0
  288. package/dist/web-ui/docs/en/cli/release-notes/v2.30.0.md +19 -0
  289. package/dist/web-ui/docs/en/cli/release-notes/v2.30.1.md +5 -0
  290. package/dist/web-ui/docs/en/cli/release-notes/v2.31.0.md +51 -0
  291. package/dist/web-ui/docs/en/cli/release-notes/v2.31.1.md +11 -0
  292. package/dist/web-ui/docs/en/cli/release-notes/v2.31.2.md +16 -0
  293. package/dist/web-ui/docs/en/cli/release-notes/v2.32.0.md +19 -0
  294. package/dist/web-ui/docs/en/cli/release-notes/v2.33.0.md +28 -0
  295. package/dist/web-ui/docs/en/cli/release-notes/v2.33.1.md +7 -0
  296. package/dist/web-ui/docs/en/cli/release-notes/v2.34.0.md +27 -0
  297. package/dist/web-ui/docs/en/cli/release-notes/v2.34.1.md +7 -0
  298. package/dist/web-ui/docs/en/cli/release-notes/v2.35.0.md +22 -0
  299. package/dist/web-ui/docs/en/cli/release-notes/v2.36.0.md +23 -0
  300. package/dist/web-ui/docs/en/cli/release-notes/v2.36.1.md +5 -0
  301. package/dist/web-ui/docs/en/cli/release-notes/v2.36.2.md +22 -0
  302. package/dist/web-ui/docs/en/cli/release-notes/v2.36.3.md +17 -0
  303. package/dist/web-ui/docs/en/cli/release-notes/v2.37.0.md +15 -0
  304. package/dist/web-ui/docs/en/cli/release-notes/v2.37.1.md +15 -0
  305. package/dist/web-ui/docs/en/cli/release-notes/v2.37.10.md +5 -0
  306. package/dist/web-ui/docs/en/cli/release-notes/v2.37.11.md +8 -0
  307. package/dist/web-ui/docs/en/cli/release-notes/v2.37.12.md +14 -0
  308. package/dist/web-ui/docs/en/cli/release-notes/v2.37.13.md +11 -0
  309. package/dist/web-ui/docs/en/cli/release-notes/v2.37.14.md +24 -0
  310. package/dist/web-ui/docs/en/cli/release-notes/v2.37.15.md +11 -0
  311. package/dist/web-ui/docs/en/cli/release-notes/v2.37.16.md +9 -0
  312. package/dist/web-ui/docs/en/cli/release-notes/v2.37.17.md +5 -0
  313. package/dist/web-ui/docs/en/cli/release-notes/v2.37.18.md +9 -0
  314. package/dist/web-ui/docs/en/cli/release-notes/v2.37.19.md +5 -0
  315. package/dist/web-ui/docs/en/cli/release-notes/v2.37.2.md +28 -0
  316. package/dist/web-ui/docs/en/cli/release-notes/v2.37.20.md +8 -0
  317. package/dist/web-ui/docs/en/cli/release-notes/v2.37.3.md +22 -0
  318. package/dist/web-ui/docs/en/cli/release-notes/v2.37.4.md +19 -0
  319. package/dist/web-ui/docs/en/cli/release-notes/v2.37.5.md +5 -0
  320. package/dist/web-ui/docs/en/cli/release-notes/v2.37.6.md +5 -0
  321. package/dist/web-ui/docs/en/cli/release-notes/v2.37.7.md +5 -0
  322. package/dist/web-ui/docs/en/cli/release-notes/v2.37.8.md +5 -0
  323. package/dist/web-ui/docs/en/cli/release-notes/v2.37.9.md +8 -0
  324. package/dist/web-ui/docs/en/cli/release-notes/v2.38.0.md +22 -0
  325. package/dist/web-ui/docs/en/cli/release-notes/v2.38.1.md +6 -0
  326. package/dist/web-ui/docs/en/cli/release-notes/v2.38.2.md +9 -0
  327. package/dist/web-ui/docs/en/cli/release-notes/v2.39.0.md +18 -0
  328. package/dist/web-ui/docs/en/cli/release-notes/v2.4.0.md +19 -0
  329. package/dist/web-ui/docs/en/cli/release-notes/v2.40.0.md +20 -0
  330. package/dist/web-ui/docs/en/cli/release-notes/v2.40.1.md +6 -0
  331. package/dist/web-ui/docs/en/cli/release-notes/v2.41.0.md +15 -0
  332. package/dist/web-ui/docs/en/cli/release-notes/v2.41.1.md +6 -0
  333. package/dist/web-ui/docs/en/cli/release-notes/v2.41.2.md +5 -0
  334. package/dist/web-ui/docs/en/cli/release-notes/v2.41.3.md +8 -0
  335. package/dist/web-ui/docs/en/cli/release-notes/v2.41.4.md +5 -0
  336. package/dist/web-ui/docs/en/cli/release-notes/v2.41.5.md +10 -0
  337. package/dist/web-ui/docs/en/cli/release-notes/v2.41.6.md +9 -0
  338. package/dist/web-ui/docs/en/cli/release-notes/v2.41.7.md +14 -0
  339. package/dist/web-ui/docs/en/cli/release-notes/v2.41.8.md +18 -0
  340. package/dist/web-ui/docs/en/cli/release-notes/v2.42.0.md +39 -0
  341. package/dist/web-ui/docs/en/cli/release-notes/v2.42.1.md +8 -0
  342. package/dist/web-ui/docs/en/cli/release-notes/v2.42.3.md +18 -0
  343. package/dist/web-ui/docs/en/cli/release-notes/v2.43.0.md +27 -0
  344. package/dist/web-ui/docs/en/cli/release-notes/v2.43.1.md +27 -0
  345. package/dist/web-ui/docs/en/cli/release-notes/v2.44.0.md +11 -0
  346. package/dist/web-ui/docs/en/cli/release-notes/v2.44.1.md +22 -0
  347. package/dist/web-ui/docs/en/cli/release-notes/v2.45.0.md +34 -0
  348. package/dist/web-ui/docs/en/cli/release-notes/v2.45.1.md +7 -0
  349. package/dist/web-ui/docs/en/cli/release-notes/v2.46.0.md +12 -0
  350. package/dist/web-ui/docs/en/cli/release-notes/v2.47.0.md +20 -0
  351. package/dist/web-ui/docs/en/cli/release-notes/v2.48.0.md +32 -0
  352. package/dist/web-ui/docs/en/cli/release-notes/v2.48.1.md +11 -0
  353. package/dist/web-ui/docs/en/cli/release-notes/v2.49.0.md +26 -0
  354. package/dist/web-ui/docs/en/cli/release-notes/v2.49.1.md +14 -0
  355. package/dist/web-ui/docs/en/cli/release-notes/v2.49.2.md +39 -0
  356. package/dist/web-ui/docs/en/cli/release-notes/v2.49.3.md +7 -0
  357. package/dist/web-ui/docs/en/cli/release-notes/v2.49.5.md +11 -0
  358. package/dist/web-ui/docs/en/cli/release-notes/v2.49.6.md +9 -0
  359. package/dist/web-ui/docs/en/cli/release-notes/v2.49.7.md +7 -0
  360. package/dist/web-ui/docs/en/cli/release-notes/v2.5.0.md +24 -0
  361. package/dist/web-ui/docs/en/cli/release-notes/v2.50.0.md +25 -0
  362. package/dist/web-ui/docs/en/cli/release-notes/v2.50.1.md +9 -0
  363. package/dist/web-ui/docs/en/cli/release-notes/v2.50.2.md +11 -0
  364. package/dist/web-ui/docs/en/cli/release-notes/v2.50.3.md +5 -0
  365. package/dist/web-ui/docs/en/cli/release-notes/v2.50.4.md +17 -0
  366. package/dist/web-ui/docs/en/cli/release-notes/v2.50.5.md +16 -0
  367. package/dist/web-ui/docs/en/cli/release-notes/v2.50.6.md +15 -0
  368. package/dist/web-ui/docs/en/cli/release-notes/v2.50.7.md +15 -0
  369. package/dist/web-ui/docs/en/cli/release-notes/v2.51.0.md +24 -0
  370. package/dist/web-ui/docs/en/cli/release-notes/v2.51.1.md +17 -0
  371. package/dist/web-ui/docs/en/cli/release-notes/v2.51.2.md +5 -0
  372. package/dist/web-ui/docs/en/cli/release-notes/v2.52.0.md +30 -0
  373. package/dist/web-ui/docs/en/cli/release-notes/v2.52.1.md +28 -0
  374. package/dist/web-ui/docs/en/cli/release-notes/v2.52.2.md +12 -0
  375. package/dist/web-ui/docs/en/cli/release-notes/v2.52.3.md +13 -0
  376. package/dist/web-ui/docs/en/cli/release-notes/v2.52.4.md +27 -0
  377. package/dist/web-ui/docs/en/cli/release-notes/v2.52.5.md +21 -0
  378. package/dist/web-ui/docs/en/cli/release-notes/v2.52.6.md +7 -0
  379. package/dist/web-ui/docs/en/cli/release-notes/v2.53.0.md +29 -0
  380. package/dist/web-ui/docs/en/cli/release-notes/v2.54.0.md +26 -0
  381. package/dist/web-ui/docs/en/cli/release-notes/v2.55.0.md +21 -0
  382. package/dist/web-ui/docs/en/cli/release-notes/v2.55.1.md +13 -0
  383. package/dist/web-ui/docs/en/cli/release-notes/v2.56.0.md +20 -0
  384. package/dist/web-ui/docs/en/cli/release-notes/v2.56.1.md +5 -0
  385. package/dist/web-ui/docs/en/cli/release-notes/v2.57.0.md +32 -0
  386. package/dist/web-ui/docs/en/cli/release-notes/v2.57.1.md +10 -0
  387. package/dist/web-ui/docs/en/cli/release-notes/v2.58.0.md +34 -0
  388. package/dist/web-ui/docs/en/cli/release-notes/v2.59.0.md +28 -0
  389. package/dist/web-ui/docs/en/cli/release-notes/v2.6.0.md +5 -0
  390. package/dist/web-ui/docs/en/cli/release-notes/v2.6.1.md +10 -0
  391. package/dist/web-ui/docs/en/cli/release-notes/v2.60.0.md +20 -0
  392. package/dist/web-ui/docs/en/cli/release-notes/v2.61.0.md +29 -0
  393. package/dist/web-ui/docs/en/cli/release-notes/v2.61.1.md +5 -0
  394. package/dist/web-ui/docs/en/cli/release-notes/v2.61.2.md +6 -0
  395. package/dist/web-ui/docs/en/cli/release-notes/v2.61.3.md +13 -0
  396. package/dist/web-ui/docs/en/cli/release-notes/v2.62.0.md +21 -0
  397. package/dist/web-ui/docs/en/cli/release-notes/v2.62.1.md +11 -0
  398. package/dist/web-ui/docs/en/cli/release-notes/v2.63.0.md +19 -0
  399. package/dist/web-ui/docs/en/cli/release-notes/v2.63.1.md +5 -0
  400. package/dist/web-ui/docs/en/cli/release-notes/v2.63.2.md +7 -0
  401. package/dist/web-ui/docs/en/cli/release-notes/v2.63.3.md +6 -0
  402. package/dist/web-ui/docs/en/cli/release-notes/v2.63.4.md +8 -0
  403. package/dist/web-ui/docs/en/cli/release-notes/v2.63.5.md +6 -0
  404. package/dist/web-ui/docs/en/cli/release-notes/v2.64.0.md +37 -0
  405. package/dist/web-ui/docs/en/cli/release-notes/v2.64.1.md +6 -0
  406. package/dist/web-ui/docs/en/cli/release-notes/v2.64.2.md +11 -0
  407. package/dist/web-ui/docs/en/cli/release-notes/v2.65.0.md +19 -0
  408. package/dist/web-ui/docs/en/cli/release-notes/v2.65.1.md +11 -0
  409. package/dist/web-ui/docs/en/cli/release-notes/v2.66.0.md +15 -0
  410. package/dist/web-ui/docs/en/cli/release-notes/v2.66.1.md +14 -0
  411. package/dist/web-ui/docs/en/cli/release-notes/v2.66.2.md +5 -0
  412. package/dist/web-ui/docs/en/cli/release-notes/v2.67.0.md +33 -0
  413. package/dist/web-ui/docs/en/cli/release-notes/v2.7.0.md +16 -0
  414. package/dist/web-ui/docs/en/cli/release-notes/v2.8.0.md +18 -0
  415. package/dist/web-ui/docs/en/cli/release-notes/v2.8.1.md +17 -0
  416. package/dist/web-ui/docs/en/cli/release-notes/v2.8.2.md +5 -0
  417. package/dist/web-ui/docs/en/cli/release-notes/v2.8.3.md +14 -0
  418. package/dist/web-ui/docs/en/cli/release-notes/v2.8.4.md +9 -0
  419. package/dist/web-ui/docs/en/cli/release-notes/v2.8.5.md +5 -0
  420. package/dist/web-ui/docs/en/cli/release-notes/v2.8.6.md +14 -0
  421. package/dist/web-ui/docs/en/cli/release-notes/v2.9.0.md +5 -0
  422. package/dist/web-ui/docs/en/cli/remote-control.md +247 -0
  423. package/dist/web-ui/docs/en/cli/sandboxing.md +316 -0
  424. package/dist/web-ui/docs/en/cli/scheduled-tasks.md +160 -0
  425. package/dist/web-ui/docs/en/cli/sdk-custom-tools.md +1131 -0
  426. package/dist/web-ui/docs/en/cli/sdk-demos.md +347 -0
  427. package/dist/web-ui/docs/en/cli/sdk-hooks.md +813 -0
  428. package/dist/web-ui/docs/en/cli/sdk-mcp.md +645 -0
  429. package/dist/web-ui/docs/en/cli/sdk-permissions.md +461 -0
  430. package/dist/web-ui/docs/en/cli/sdk-python.md +797 -0
  431. package/dist/web-ui/docs/en/cli/sdk-sessions.md +340 -0
  432. package/dist/web-ui/docs/en/cli/sdk-typescript.md +770 -0
  433. package/dist/web-ui/docs/en/cli/sdk.md +1103 -0
  434. package/dist/web-ui/docs/en/cli/security.md +388 -0
  435. package/dist/web-ui/docs/en/cli/settings.md +602 -0
  436. package/dist/web-ui/docs/en/cli/skills.md +448 -0
  437. package/dist/web-ui/docs/en/cli/slash-commands.md +397 -0
  438. package/dist/web-ui/docs/en/cli/statusline.md +525 -0
  439. package/dist/web-ui/docs/en/cli/sub-agents.md +621 -0
  440. package/dist/web-ui/docs/en/cli/terminal-config.md +77 -0
  441. package/dist/web-ui/docs/en/cli/tools-reference.md +99 -0
  442. package/dist/web-ui/docs/en/cli/troubleshooting.md +190 -0
  443. package/dist/web-ui/docs/en/cli/web-ui.md +164 -0
  444. package/dist/web-ui/docs/en/cli/wecom-bot-setup.md +274 -0
  445. package/dist/web-ui/docs/en/cli/worktree.md +660 -0
  446. package/dist/web-ui/docs/search-index-en.json +1 -0
  447. package/dist/web-ui/docs/search-index-zh.json +1 -0
  448. package/dist/web-ui/docs/sidebar-en.json +1 -0
  449. package/dist/web-ui/docs/sidebar-zh.json +1 -0
  450. package/dist/web-ui/index.html +2 -2
  451. package/package.json +3 -2
  452. package/product.cloudhosted.json +2 -2
  453. package/product.internal.json +2 -2
  454. package/product.ioa.json +2 -2
  455. package/product.json +3 -3
  456. package/product.selfhosted.json +2 -2
  457. package/dist/web-ui/assets/index-f_ibHSHw.css +0 -32
@@ -0,0 +1,688 @@
1
+ # CodeBuddy Plugin System
2
+
3
+ CodeBuddy Code supports a powerful plugin system that allows you to extend and customize the CLI's functionality. Through plugins, you can add new commands, skills, and hooks, creating a personalized development environment that fits your workflow.
4
+
5
+ ## Core Concepts
6
+
7
+ ### What is a Plugin?
8
+
9
+ A plugin is a reusable functionality package that can contain the following components:
10
+
11
+ - **Commands**: Slash commands that users can manually trigger
12
+ - **Skills**: Specialized capabilities that the AI automatically recognizes and invokes
13
+ - **Hooks**: Operations that automatically execute when specific events are triggered
14
+
15
+ ### What is a Plugin Marketplace?
16
+
17
+ A plugin marketplace is a publishing and distribution channel for plugins. CodeBuddy supports multiple types of plugin marketplaces:
18
+
19
+ - **Local Directory Marketplace**: Load plugins from the local filesystem
20
+ - **GitHub Repository Marketplace**: Fetch plugins from GitHub repositories
21
+ - **HTTP/HTTPS Marketplace**: Fetch plugin manifests and packages from HTTP(S) servers
22
+
23
+ ## Quick Start
24
+
25
+ There are three ways to manage plugins: **Team Configuration Auto-Installation**, **Interactive Interface**, and **Command-Line Subcommands**.
26
+
27
+ ### Method 1: Team Configuration Auto-Installation (Recommended)
28
+
29
+ Teams can configure `extraKnownMarketplaces` and `enabledPlugins` in the project's `.codebuddy/settings.json` to enable automatic plugin installation and activation. When team members start CodeBuddy, the system automatically installs the plugin marketplaces and plugins specified in the configuration.
30
+
31
+ #### Configuration Example
32
+
33
+ Add the following configuration to `.codebuddy/settings.json`:
34
+
35
+ ```json
36
+ {
37
+ "extraKnownMarketplaces": {
38
+ "team-marketplace": {
39
+ "source": {
40
+ "source": "github",
41
+ "repo": "your-org/team-plugins-marketplace"
42
+ }
43
+ },
44
+ "custom-marketplace": {
45
+ "source": {
46
+ "source": "git",
47
+ "url": "https://git.example.com/plugins-marketplace"
48
+ }
49
+ }
50
+ },
51
+ "enabledPlugins": {
52
+ "team-plugin-a@team-marketplace": true,
53
+ "team-plugin-b@team-marketplace": true
54
+ }
55
+ }
56
+ ```
57
+
58
+ #### Configuration Explanation
59
+
60
+ - **`extraKnownMarketplaces`**: Define additional plugin marketplaces
61
+ - Key is the marketplace name (e.g., `team-marketplace`)
62
+ - `source.source`: Marketplace type, supports `github`, `git`, and `url`
63
+ - `source.repo`: GitHub repository path (format: `owner/repo`, only when source is `github`)
64
+ - `source.url`: Git repository URL or HTTP(S) marketplace.json URL (only when source is `git` or `url`)
65
+
66
+ - **`enabledPlugins`**: Specify plugins to enable
67
+ - Key format: `plugin-name@marketplace-name`
68
+ - Value `true` means enabled, `false` means disabled
69
+
70
+ #### Automatic Installation Flow
71
+
72
+ 1. **Startup Detection**: CodeBuddy automatically detects the configuration file on startup
73
+ 2. **Marketplace Installation**: Automatically installs marketplaces from `extraKnownMarketplaces` that are not yet installed
74
+ 3. **Plugin Installation**: Automatically installs enabled plugins from `enabledPlugins` that are not yet installed
75
+ 4. **Background Execution**: The installation process executes asynchronously in the background without blocking the startup flow
76
+ 5. **Logging**: The installation process logs detailed information, viewable with `--debug`
77
+
78
+ #### Advantages
79
+
80
+ - **Team Consistency**: Ensures team members use the same plugin configuration
81
+ - **Automation**: No manual installation needed, improving development efficiency
82
+ - **Version Control**: Configuration files can be committed to Git for team collaboration
83
+ - **Flexible Override**: Individuals can override team configuration in their local configuration
84
+
85
+ ### Method 2: Interactive Interface
86
+
87
+ Enter `/plugin` in CodeBuddy conversation to open the interactive plugin management interface.
88
+
89
+ #### Opening the Management Interface
90
+
91
+ ```bash
92
+ /plugin
93
+ ```
94
+
95
+ #### Interface Features
96
+
97
+ The interactive interface contains the following 6 tabs:
98
+
99
+ 1. **Discover** - Browse all available plugins, view installation counts, descriptions, and more
100
+ - Real-time plugin search
101
+ - Display plugin installation statistics
102
+ - Quick plugin installation
103
+
104
+ 2. **Browse** - Browse and install plugins from configured marketplaces
105
+ - Browse by marketplace category
106
+ - View plugin details
107
+ - Install plugins
108
+
109
+ 3. **Installed** - Manage installed plugins
110
+ - View installed plugin list and status
111
+ - Enable/disable plugins
112
+ - Uninstall plugins
113
+ - View plugin details
114
+
115
+ 4. **Marketplaces** - Manage plugin marketplaces
116
+ - View configured marketplace list
117
+ - Update marketplace information
118
+ - Remove marketplaces
119
+
120
+ 5. **Add Marketplace** - Add new plugin marketplace sources
121
+ - Support local paths, GitHub repositories, Git URLs, and HTTP URLs
122
+ - Automatic marketplace source type detection
123
+ - Set marketplace display name
124
+
125
+ 6. **Errors** - View errors that occurred during plugin loading and operations
126
+ - Detailed error information and error types
127
+ - Error timestamps and related context
128
+ - Help diagnose and resolve issues
129
+
130
+ #### Interactive Command Examples
131
+
132
+ ```bash
133
+ /plugin # Open management interface
134
+ /plugin install my-plugin # Install plugin
135
+ /plugin install my-plugin@marketplace # Install from specified marketplace
136
+ /plugin enable my-plugin # Enable disabled plugin
137
+ /plugin disable my-plugin # Disable enabled plugin
138
+ /plugin uninstall my-plugin # Uninstall plugin
139
+ /plugin marketplace add <source> # Add marketplace
140
+ /plugin marketplace list # List marketplaces
141
+ /plugin marketplace update <name> # Update marketplace
142
+ /plugin marketplace remove <name> # Remove marketplace
143
+ ```
144
+
145
+ ### Method 3: Command-Line Subcommands
146
+
147
+ Use the `codebuddy plugin` command in the terminal for management.
148
+
149
+ #### Plugin Operations
150
+
151
+ ```bash
152
+ # Install plugin
153
+ codebuddy plugin install <plugin> # Install from default marketplace
154
+ codebuddy plugin install <plugin>@<marketplace> # Install from specified marketplace
155
+ codebuddy plugin i <plugin> # Shorthand form
156
+
157
+ # Enable and disable plugins
158
+ codebuddy plugin enable <plugin> # Enable plugin
159
+ codebuddy plugin disable <plugin> # Disable plugin
160
+
161
+ # Uninstall plugin
162
+ codebuddy plugin uninstall <plugin> # Uninstall plugin
163
+ codebuddy plugin remove <plugin> # Alias form
164
+
165
+ # Validate plugin or marketplace manifest
166
+ codebuddy plugin validate <path> # Validate local plugin or marketplace
167
+ ```
168
+
169
+ #### Marketplace Management
170
+
171
+ ```bash
172
+ # Add marketplace
173
+ codebuddy plugin marketplace add <source>
174
+ codebuddy plugin marketplace add <source> -n <name> # Specify marketplace name
175
+
176
+ # List marketplaces
177
+ codebuddy plugin marketplace list
178
+
179
+ # Update marketplace
180
+ codebuddy plugin marketplace update <name>
181
+
182
+ # Remove marketplace
183
+ codebuddy plugin marketplace remove <name>
184
+ codebuddy plugin marketplace rm <name> # Alias form
185
+ ```
186
+
187
+ ## Plugin Management
188
+
189
+ ### Adding a Plugin Marketplace
190
+
191
+ #### Using the Interactive Interface
192
+
193
+ 1. Enter `/plugin`
194
+ 2. Select "3. Add marketplace"
195
+ 3. Enter the marketplace source address
196
+ 4. Wait for automatic marketplace type recognition and plugin manifest loading
197
+
198
+ #### Using Subcommands
199
+
200
+ ```bash
201
+ # Add GitHub repository marketplace
202
+ codebuddy plugin marketplace add https://github.com/username/plugin-repo
203
+
204
+ # Add marketplace and specify display name
205
+ codebuddy plugin marketplace add https://github.com/username/plugin-repo -n my-marketplace
206
+
207
+ # Add local directory marketplace
208
+ codebuddy plugin marketplace add /path/to/local/plugins
209
+
210
+ # Add HTTP marketplace
211
+ codebuddy plugin marketplace add https://example.com/plugins
212
+ ```
213
+
214
+ **Parameter Explanation**:
215
+ - `<source>`: Marketplace source address (local path, GitHub URL, or HTTP(S) URL)
216
+ - `-n, --name <name>`: Optional, specify a display name for the marketplace
217
+
218
+ ### Installing Plugins
219
+
220
+ #### Using the Interactive Interface
221
+
222
+ 1. Enter `/plugin`
223
+ 2. Select "1. Browse and install plugins"
224
+ 3. Select the plugin marketplace
225
+ 4. Browse available plugins and select to install
226
+
227
+ #### Using Subcommands
228
+
229
+ ```bash
230
+ # Install from default marketplace
231
+ codebuddy plugin install my-plugin
232
+
233
+ # Install from specified marketplace
234
+ codebuddy plugin install my-plugin@marketplace-name
235
+
236
+ # Using alias
237
+ codebuddy plugin i my-plugin
238
+ ```
239
+
240
+ ### Enabling and Disabling Plugins
241
+
242
+ #### Using the Interactive Interface
243
+
244
+ 1. Enter `/plugin`
245
+ 2. Select "2. Manage plugins"
246
+ 3. Select the plugin to enable or disable
247
+
248
+ #### Using Subcommands
249
+
250
+ ```bash
251
+ # Enable plugin
252
+ codebuddy plugin enable my-plugin
253
+
254
+ # Disable plugin
255
+ codebuddy plugin disable my-plugin
256
+ ```
257
+
258
+ **Note**: CodeBuddy must be restarted after enabling/disabling plugins for changes to take effect.
259
+
260
+ ### Uninstalling Plugins
261
+
262
+ #### Using the Interactive Interface
263
+
264
+ 1. Enter `/plugin`
265
+ 2. Select "2. Manage plugins"
266
+ 3. Select the plugin to uninstall and confirm uninstallation
267
+
268
+ #### Using Subcommands
269
+
270
+ ```bash
271
+ # Uninstall plugin
272
+ codebuddy plugin uninstall my-plugin
273
+
274
+ # Using alias
275
+ codebuddy plugin remove my-plugin
276
+ ```
277
+
278
+ ### Managing Plugin Marketplaces
279
+
280
+ #### List Marketplaces
281
+
282
+ Using the interactive interface:
283
+ 1. Enter `/plugin`
284
+ 2. Select "4. Manage marketplaces"
285
+
286
+ Using subcommands:
287
+ ```bash
288
+ codebuddy plugin marketplace list
289
+ ```
290
+
291
+ #### Update Marketplace
292
+
293
+ Using the interactive interface:
294
+ 1. Enter `/plugin`
295
+ 2. Select "4. Manage marketplaces"
296
+ 3. Select the marketplace to update
297
+
298
+ Using subcommands:
299
+ ```bash
300
+ codebuddy plugin marketplace update my-marketplace
301
+ ```
302
+
303
+ #### Remove Marketplace
304
+
305
+ Using the interactive interface:
306
+ 1. Enter `/plugin`
307
+ 2. Select "4. Manage marketplaces"
308
+ 3. Select the marketplace to remove and confirm removal
309
+
310
+ Using subcommands:
311
+ ```bash
312
+ codebuddy plugin marketplace remove my-marketplace
313
+ codebuddy plugin marketplace rm my-marketplace
314
+ ```
315
+
316
+ ### Validating Plugin or Marketplace Manifests
317
+
318
+ ```bash
319
+ # Validate plugin manifest format
320
+ codebuddy plugin validate /path/to/plugin
321
+
322
+ # Validate marketplace manifest format
323
+ codebuddy plugin validate /path/to/marketplace
324
+
325
+ # Validate plugin manifest from GitHub
326
+ codebuddy plugin validate https://github.com/username/plugin-repo
327
+ ```
328
+
329
+ The validate command checks the format and completeness of `plugin.json` or `marketplace.json`.
330
+
331
+ ## Plugin Structure
332
+
333
+ ### Standard Plugin Directory Structure
334
+
335
+ ```
336
+ my-plugin/
337
+ ├── .codebuddy-plugin/ # Metadata directory (required)
338
+ │ └── plugin.json # Plugin manifest file
339
+ ├── commands/ # Commands directory (optional)
340
+ │ └── example.md
341
+ ├── agents/ # Agents directory (optional)
342
+ │ └── example.md
343
+ ├── skills/ # Skills directory (optional)
344
+ │ └── example/
345
+ │ └── SKILL.md
346
+ ├── hooks/ # Hooks directory (optional)
347
+ │ └── hooks.json
348
+ ├── .mcp.json # MCP configuration file (optional)
349
+ └── .lsp.json # LSP configuration file (optional)
350
+ ```
351
+
352
+ ### plugin.json Format
353
+
354
+ The plugin manifest file defines the plugin's metadata and included components, located at `.codebuddy-plugin/plugin.json`:
355
+
356
+ ```json
357
+ {
358
+ "name": "my-plugin",
359
+ "version": "1.0.0",
360
+ "description": "Plugin description",
361
+ "author": {
362
+ "name": "Author Name",
363
+ "email": "author@example.com"
364
+ },
365
+ "homepage": "https://github.com/username/my-plugin",
366
+ "repository": "https://github.com/username/my-plugin",
367
+ "keywords": ["example"],
368
+ "category": "Development Tools",
369
+ "commands": [],
370
+ "agents": [],
371
+ "skills": [],
372
+ "hooks": "./hooks/hooks.json"
373
+ }
374
+ ```
375
+
376
+ ### Commands
377
+
378
+ Plugins can provide custom slash commands that users can manually trigger. Commands are defined as Markdown files.
379
+
380
+ **Example**: `commands/example.md`
381
+
382
+ ```markdown
383
+
384
+ This is an example command. It executes when the user enters /my-plugin:example.
385
+
386
+ Argument: $1
387
+ ```
388
+
389
+ Commands are registered in the format `/plugin-name:command-name`.
390
+
391
+ For detailed information, refer to: [Slash Commands Documentation](slash-commands.md)
392
+
393
+ ### Skills
394
+
395
+ Skills are specialized capability templates that the AI can automatically recognize and invoke.
396
+
397
+ **Example**: `skills/SKILL.md`
398
+
399
+ ```markdown
400
+ ---
401
+ description: "Skill description"
402
+ ---
403
+
404
+ Detailed skill description and usage scenarios...
405
+ ```
406
+
407
+ For detailed information, refer to: [Skills Documentation](skills.md)
408
+
409
+ ### Hooks
410
+
411
+ Hooks allow automatic execution of operations when specific events occur.
412
+
413
+ **Example**: `hooks/hooks.json`
414
+
415
+ ```json
416
+ {
417
+ "hooks": {
418
+ "user-prompt-submit-hook": [
419
+ {
420
+ "hooks": [
421
+ {
422
+ "type": "command",
423
+ "command": "echo 'User submitted: $INPUT'",
424
+ "timeout": 5000
425
+ }
426
+ ]
427
+ }
428
+ ]
429
+ }
430
+ }
431
+ ```
432
+
433
+ For detailed information, refer to: [Hooks Documentation](hooks.md)
434
+
435
+ ### LSP (Language Server Protocol)
436
+
437
+ LSP plugins provide real-time code intelligence for the AI, enabling it to understand code structure, type definitions, function signatures, and more.
438
+
439
+ #### Usage Recommendations
440
+
441
+ For common languages (such as TypeScript, Python, Rust, etc.), it's recommended to install pre-built LSP plugins directly from the official plugin marketplace. You only need to create custom LSP plugins when supporting languages not yet covered.
442
+
443
+ #### Configuring LSP Servers
444
+
445
+ Configure LSP servers by adding a `.lsp.json` file to the plugin root directory:
446
+
447
+ **Example**: `.lsp.json`
448
+
449
+ ```json
450
+ {
451
+ "go": {
452
+ "command": "gopls",
453
+ "args": ["serve"],
454
+ "extensionToLanguage": {
455
+ ".go": "go"
456
+ }
457
+ }
458
+ }
459
+ ```
460
+
461
+ #### Configuration Field Descriptions
462
+
463
+ - **Language Identifier** (e.g., `"go"`): Defines the language supported by the LSP server
464
+ - `command`: The command name of the LSP server executable
465
+ - `args`: Array of arguments passed to the command
466
+ - `extensionToLanguage`: Mapping of file extensions to language identifiers
467
+
468
+ #### Multi-Language Configuration Example
469
+
470
+ ```json
471
+ {
472
+ "python": {
473
+ "command": "pylsp",
474
+ "args": [],
475
+ "extensionToLanguage": {
476
+ ".py": "python"
477
+ }
478
+ },
479
+ "rust": {
480
+ "command": "rust-analyzer",
481
+ "args": [],
482
+ "extensionToLanguage": {
483
+ ".rs": "rust"
484
+ }
485
+ }
486
+ }
487
+ ```
488
+
489
+ #### Installation Requirements
490
+
491
+ When installing plugins that include LSP configurations, users must have the corresponding language server binaries pre-installed on their system. For example:
492
+
493
+ - **Go**: Requires `gopls` (`go install golang.org/x/tools/gopls@latest`)
494
+ - **Python**: Requires `python-lsp-server` (`pip install python-lsp-server`)
495
+ - **Rust**: Requires `rust-analyzer` (`rustup component add rust-analyzer`)
496
+
497
+ #### How It Works
498
+
499
+ 1. CodeBuddy reads the `.lsp.json` configuration on startup
500
+ 2. Automatically starts the corresponding LSP server based on file extensions
501
+ 3. AI obtains code intelligence information via the LSP protocol
502
+ 4. Provides more accurate code suggestions and modifications
503
+
504
+ #### Best Practices
505
+
506
+ 1. **Provide Installation Instructions**: Clearly document the required language servers in the plugin's README
507
+ 2. **Version Compatibility**: Document the supported language server version range
508
+ 3. **Use Official Plugins**: Prefer officially maintained LSP plugins to avoid duplicate work
509
+ 4. **Thorough Testing**: Ensure LSP configurations work correctly across different operating systems
510
+
511
+ ## Plugin Marketplace Types
512
+
513
+ ### GitHub Marketplace
514
+
515
+ Publish and fetch plugins from GitHub repositories.
516
+
517
+ **Repository Structure**:
518
+
519
+ ```
520
+ plugin-repo/
521
+ ├── .codebuddy-plugin/
522
+ │ └── marketplace.json # Marketplace manifest
523
+ └── plugins/
524
+ ├── plugin1/
525
+ │ ├── .codebuddy-plugin/
526
+ │ │ └── plugin.json
527
+ │ └── ...
528
+ └── plugin2/
529
+ ├── .codebuddy-plugin/
530
+ │ └── plugin.json
531
+ └── ...
532
+ ```
533
+
534
+ **marketplace.json** Format:
535
+
536
+ ```json
537
+ {
538
+ "name": "My Plugin Marketplace",
539
+ "plugins": [
540
+ {
541
+ "name": "plugin1",
542
+ "source": "plugins/plugin1",
543
+ "description": "Plugin 1 description"
544
+ },
545
+ {
546
+ "name": "plugin2",
547
+ "source": "plugins/plugin2",
548
+ "description": "Plugin 2 description"
549
+ }
550
+ ]
551
+ }
552
+ ```
553
+
554
+ ### HTTP Marketplace
555
+
556
+ Provide plugins through HTTP(S) servers.
557
+
558
+ **Server Requirements**:
559
+
560
+ - Provide `/marketplace.json` - Marketplace manifest
561
+ - Provide `/plugins/<plugin-name>/plugin.json` - Plugin manifest
562
+ - Provide plugin file downloads
563
+
564
+ ### Local Directory Marketplace
565
+
566
+ Load plugins from the local filesystem, suitable for development and testing.
567
+
568
+ **Directory Structure**:
569
+
570
+ ```
571
+ local-plugins/
572
+ ├── .codebuddy-plugin/
573
+ │ └── marketplace.json
574
+ └── plugins/
575
+ └── my-plugin/
576
+ ├── .codebuddy-plugin/
577
+ │ └── plugin.json
578
+ └── ...
579
+ ```
580
+
581
+ ## Best Practices
582
+
583
+ ### Plugin Development Recommendations
584
+
585
+ 1. **Follow Naming Conventions**: Use clear, descriptive plugin names
586
+ 2. **Provide Complete Metadata**: Provide detailed descriptions and author information in `plugin.json`
587
+ 3. **Version Management**: Use semantic versioning (Semantic Versioning)
588
+ 4. **Complete Documentation**: Provide clear descriptions for each command and skill
589
+ 5. **Thorough Testing**: Test plugins in local marketplace before publishing
590
+
591
+ ### Security Considerations
592
+
593
+ 1. **Only Install Plugins from Trusted Sources**: Plugins can execute commands and access the filesystem
594
+ 2. **Review Plugin Code**: Check plugin commands and hooks before installation
595
+ 3. **Use Permission Controls**: Limit plugin access through CodeBuddy's permission system
596
+
597
+ ### Plugin Publishing Workflow
598
+
599
+ 1. Create plugin directory and files
600
+ 2. Write `plugin.json`
601
+ 3. Test plugin in local marketplace
602
+ 4. Create GitHub repository or HTTP server
603
+ 5. Add `marketplace.json`
604
+ 6. Share marketplace address with users
605
+
606
+ ## Troubleshooting
607
+
608
+ ### Marketplace Not Loading
609
+
610
+ **Problem**: Unable to add marketplace or can't see plugins from it
611
+
612
+ **Solution**:
613
+
614
+ * Verify marketplace URL is accessible
615
+ * Check if `.codebuddy-plugin/marketplace.json` exists at the specified path
616
+ * Use `codebuddy plugin validate` to ensure JSON syntax is valid
617
+ * For private repositories, confirm you have access permissions
618
+
619
+ #### Plugin Installation Failed
620
+
621
+ **Problem**: Marketplace appears but plugin installation fails
622
+
623
+ **Solution**:
624
+
625
+ * Verify plugin source URL is accessible
626
+ * Check if plugin directory contains required files
627
+ * For GitHub sources, ensure repository is public or you have access permissions
628
+ * Test plugin source by manually cloning/downloading
629
+
630
+ ### Plugin Not Loading
631
+
632
+ **Problem**: Plugin is installed but not working
633
+
634
+ **Solution**:
635
+
636
+ * Confirm plugin is enabled: `/plugin` → "3. Installed"
637
+ * Check that `plugin.json` format is correct
638
+ * Restart CodeBuddy to load new plugins
639
+ * Use `--debug` mode to view loading logs
640
+
641
+ ### Command Not Available
642
+
643
+ **Problem**: Plugin is installed but commands are unavailable
644
+
645
+ **Solution**:
646
+
647
+ * Confirm command path is correctly configured in `plugin.json`
648
+ * Check that command file exists
649
+ * Verify command file format follows Markdown specifications
650
+
651
+ ### Marketplace Connection Failed
652
+
653
+ **Problem**: Unable to connect to marketplace or fetch plugin list
654
+
655
+ **Solution**:
656
+
657
+ * **GitHub marketplace**: Check network connection and repository access permissions
658
+ * **HTTP marketplace**: Confirm server is accessible
659
+ * **Local marketplace**: Verify directory path and permissions
660
+
661
+ ### Validation and Testing
662
+
663
+ Test your marketplace and plugins before sharing:
664
+
665
+ ```bash
666
+ # Validate marketplace JSON syntax
667
+ codebuddy plugin validate .
668
+
669
+ # Validate specific plugin
670
+ codebuddy plugin validate /path/to/plugin
671
+
672
+ # Add local marketplace for testing
673
+ codebuddy plugin marketplace add ./path/to/marketplace
674
+
675
+ # Test plugin installation
676
+ codebuddy plugin install test-plugin@marketplace-name
677
+ ```
678
+
679
+ ## Related Documentation
680
+
681
+ - **[Plugin Reference Documentation](plugins-reference.md)** - Complete technical specification for plugin development
682
+ - **[Slash Commands](slash-commands.md)** - Learn about the command system
683
+ - **[Skills](skills.md)** - Learn about the skills system
684
+ - **[Hooks](hooks.md)** - Master the hooks mechanism
685
+
686
+ ---
687
+
688
+ *Make CodeBuddy more powerful through the plugin system 🚀*