@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.
Files changed (458) hide show
  1. package/cli/CHANGELOG.md +26 -0
  2. package/cli/dist/codebuddy-headless.js +53 -53
  3. package/cli/dist/web-ui/assets/index-BoMlEqUE.js +439 -0
  4. package/cli/dist/web-ui/assets/index-Dt1puyHn.css +32 -0
  5. package/cli/dist/web-ui/docs/cn/cli/acp.md +152 -0
  6. package/cli/dist/web-ui/docs/cn/cli/agent-teams.md +327 -0
  7. package/cli/dist/web-ui/docs/cn/cli/bash-sandboxing.md +290 -0
  8. package/cli/dist/web-ui/docs/cn/cli/best-practices.md +554 -0
  9. package/cli/dist/web-ui/docs/cn/cli/channels-reference.md +293 -0
  10. package/cli/dist/web-ui/docs/cn/cli/channels.md +215 -0
  11. package/cli/dist/web-ui/docs/cn/cli/checkpointing.md +51 -0
  12. package/cli/dist/web-ui/docs/cn/cli/cli-reference.md +187 -0
  13. package/cli/dist/web-ui/docs/cn/cli/common-workflows.md +1013 -0
  14. package/cli/dist/web-ui/docs/cn/cli/costs.md +174 -0
  15. package/cli/dist/web-ui/docs/cn/cli/devcontainer.md +553 -0
  16. package/cli/dist/web-ui/docs/cn/cli/env-vars.md +326 -0
  17. package/cli/dist/web-ui/docs/cn/cli/gitlab-ci-cd.md +357 -0
  18. package/cli/dist/web-ui/docs/cn/cli/headless.md +258 -0
  19. package/cli/dist/web-ui/docs/cn/cli/hooks-guide.md +9 -0
  20. package/cli/dist/web-ui/docs/cn/cli/hooks.md +805 -0
  21. package/cli/dist/web-ui/docs/cn/cli/iam.md +530 -0
  22. package/cli/dist/web-ui/docs/cn/cli/ide-integrations.md +92 -0
  23. package/cli/dist/web-ui/docs/cn/cli/installation.md +291 -0
  24. package/cli/dist/web-ui/docs/cn/cli/interactive-mode.md +233 -0
  25. package/cli/dist/web-ui/docs/cn/cli/mcp.md +739 -0
  26. package/cli/dist/web-ui/docs/cn/cli/memory.md +436 -0
  27. package/cli/dist/web-ui/docs/cn/cli/models.md +356 -0
  28. package/cli/dist/web-ui/docs/cn/cli/overview.md +100 -0
  29. package/cli/dist/web-ui/docs/cn/cli/plugin-marketplaces.md +533 -0
  30. package/cli/dist/web-ui/docs/cn/cli/plugins-reference.md +774 -0
  31. package/cli/dist/web-ui/docs/cn/cli/plugins.md +689 -0
  32. package/cli/dist/web-ui/docs/cn/cli/quickstart.md +249 -0
  33. package/cli/dist/web-ui/docs/cn/cli/release-notes/README.md +199 -0
  34. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.10.0.md +23 -0
  35. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.10.1.md +5 -0
  36. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.11.0.md +24 -0
  37. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.12.0.md +21 -0
  38. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.13.0.md +20 -0
  39. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.14.0.md +22 -0
  40. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.14.1.md +8 -0
  41. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.15.0.md +18 -0
  42. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.15.1.md +11 -0
  43. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.16.0.md +20 -0
  44. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.17.0.md +29 -0
  45. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.18.0.md +17 -0
  46. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.0.md +11 -0
  47. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.1.md +14 -0
  48. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.2.md +11 -0
  49. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.20.0.md +23 -0
  50. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.20.1.md +15 -0
  51. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.21.0.md +13 -0
  52. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.22.0.md +16 -0
  53. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.0.md +20 -0
  54. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.2.md +5 -0
  55. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.3.md +5 -0
  56. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.4.md +15 -0
  57. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.5.md +11 -0
  58. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.24.0.md +17 -0
  59. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.25.0.md +18 -0
  60. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.25.1.md +21 -0
  61. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.26.0.md +18 -0
  62. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.0.md +16 -0
  63. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.1.md +16 -0
  64. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.2.md +7 -0
  65. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.3.md +15 -0
  66. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.28.0.md +26 -0
  67. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.28.1.md +5 -0
  68. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.29.0.md +35 -0
  69. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.3.1.md +16 -0
  70. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.30.0.md +19 -0
  71. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.30.1.md +5 -0
  72. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.0.md +51 -0
  73. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.1.md +11 -0
  74. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.2.md +16 -0
  75. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.32.0.md +19 -0
  76. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.33.0.md +28 -0
  77. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.33.1.md +7 -0
  78. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.36.3.md +17 -0
  79. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.0.md +15 -0
  80. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.1.md +15 -0
  81. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.10.md +5 -0
  82. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.11.md +8 -0
  83. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.12.md +14 -0
  84. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.13.md +11 -0
  85. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.14.md +24 -0
  86. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.15.md +11 -0
  87. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.16.md +9 -0
  88. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.17.md +5 -0
  89. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.18.md +9 -0
  90. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.19.md +5 -0
  91. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.2.md +28 -0
  92. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.20.md +8 -0
  93. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.3.md +22 -0
  94. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.4.md +19 -0
  95. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.5.md +5 -0
  96. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.6.md +5 -0
  97. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.7.md +5 -0
  98. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.8.md +5 -0
  99. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.9.md +8 -0
  100. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.0.md +22 -0
  101. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.1.md +6 -0
  102. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.2.md +9 -0
  103. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.39.0.md +18 -0
  104. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.4.0.md +19 -0
  105. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.40.0.md +20 -0
  106. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.40.1.md +6 -0
  107. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.0.md +15 -0
  108. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.1.md +6 -0
  109. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.2.md +5 -0
  110. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.3.md +8 -0
  111. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.4.md +5 -0
  112. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.5.md +10 -0
  113. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.6.md +9 -0
  114. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.7.md +14 -0
  115. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.8.md +18 -0
  116. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.0.md +39 -0
  117. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.1.md +8 -0
  118. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.3.md +18 -0
  119. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.43.0.md +27 -0
  120. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.43.1.md +27 -0
  121. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.44.0.md +11 -0
  122. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.44.1.md +22 -0
  123. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.45.0.md +34 -0
  124. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.45.1.md +7 -0
  125. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.46.0.md +12 -0
  126. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.47.0.md +20 -0
  127. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.48.0.md +32 -0
  128. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.48.1.md +11 -0
  129. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.0.md +26 -0
  130. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.1.md +14 -0
  131. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.2.md +39 -0
  132. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.3.md +7 -0
  133. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.5.md +11 -0
  134. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.6.md +9 -0
  135. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.7.md +7 -0
  136. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.5.0.md +24 -0
  137. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.0.md +25 -0
  138. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.1.md +9 -0
  139. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.2.md +11 -0
  140. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.3.md +5 -0
  141. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.4.md +17 -0
  142. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.5.md +16 -0
  143. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.6.md +15 -0
  144. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.7.md +15 -0
  145. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.0.md +24 -0
  146. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.1.md +17 -0
  147. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.2.md +5 -0
  148. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.0.md +30 -0
  149. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.1.md +28 -0
  150. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.2.md +12 -0
  151. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.3.md +13 -0
  152. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.4.md +27 -0
  153. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.5.md +21 -0
  154. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.6.md +7 -0
  155. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.53.0.md +29 -0
  156. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.54.0.md +26 -0
  157. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.55.0.md +21 -0
  158. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.55.1.md +13 -0
  159. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.56.0.md +20 -0
  160. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.56.1.md +5 -0
  161. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.57.0.md +32 -0
  162. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.57.1.md +10 -0
  163. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.58.0.md +34 -0
  164. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.59.0.md +28 -0
  165. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.6.0.md +5 -0
  166. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.6.1.md +10 -0
  167. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.60.0.md +20 -0
  168. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.0.md +29 -0
  169. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.1.md +5 -0
  170. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.2.md +6 -0
  171. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.3.md +13 -0
  172. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.62.0.md +21 -0
  173. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.62.1.md +11 -0
  174. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.0.md +19 -0
  175. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.1.md +5 -0
  176. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.2.md +7 -0
  177. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.3.md +6 -0
  178. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.4.md +8 -0
  179. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.5.md +6 -0
  180. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.0.md +37 -0
  181. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.1.md +6 -0
  182. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.2.md +11 -0
  183. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.65.0.md +19 -0
  184. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.65.1.md +11 -0
  185. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.0.md +15 -0
  186. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.1.md +14 -0
  187. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.2.md +5 -0
  188. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.67.0.md +33 -0
  189. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.7.0.md +16 -0
  190. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.0.md +18 -0
  191. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.1.md +17 -0
  192. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.2.md +5 -0
  193. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.3.md +14 -0
  194. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.4.md +9 -0
  195. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.5.md +5 -0
  196. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.6.md +14 -0
  197. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.9.0.md +5 -0
  198. package/cli/dist/web-ui/docs/cn/cli/remote-control.md +247 -0
  199. package/cli/dist/web-ui/docs/cn/cli/sandboxing.md +316 -0
  200. package/cli/dist/web-ui/docs/cn/cli/scheduled-tasks.md +161 -0
  201. package/cli/dist/web-ui/docs/cn/cli/sdk-custom-tools.md +1195 -0
  202. package/cli/dist/web-ui/docs/cn/cli/sdk-demos.md +347 -0
  203. package/cli/dist/web-ui/docs/cn/cli/sdk-hooks.md +803 -0
  204. package/cli/dist/web-ui/docs/cn/cli/sdk-mcp.md +643 -0
  205. package/cli/dist/web-ui/docs/cn/cli/sdk-permissions.md +501 -0
  206. package/cli/dist/web-ui/docs/cn/cli/sdk-python.md +783 -0
  207. package/cli/dist/web-ui/docs/cn/cli/sdk-sessions.md +332 -0
  208. package/cli/dist/web-ui/docs/cn/cli/sdk-typescript.md +759 -0
  209. package/cli/dist/web-ui/docs/cn/cli/sdk.md +1105 -0
  210. package/cli/dist/web-ui/docs/cn/cli/security.md +387 -0
  211. package/cli/dist/web-ui/docs/cn/cli/settings.md +602 -0
  212. package/cli/dist/web-ui/docs/cn/cli/skills.md +448 -0
  213. package/cli/dist/web-ui/docs/cn/cli/slash-commands.md +397 -0
  214. package/cli/dist/web-ui/docs/cn/cli/statusline.md +525 -0
  215. package/cli/dist/web-ui/docs/cn/cli/sub-agents.md +634 -0
  216. package/cli/dist/web-ui/docs/cn/cli/terminal-config.md +77 -0
  217. package/cli/dist/web-ui/docs/cn/cli/tools-reference.md +99 -0
  218. package/cli/dist/web-ui/docs/cn/cli/troubleshooting.md +190 -0
  219. package/cli/dist/web-ui/docs/cn/cli/web-ui.md +164 -0
  220. package/cli/dist/web-ui/docs/cn/cli/wecom-bot-setup.md +274 -0
  221. package/cli/dist/web-ui/docs/cn/cli/worktree.md +660 -0
  222. package/cli/dist/web-ui/docs/en/cli/acp.md +126 -0
  223. package/cli/dist/web-ui/docs/en/cli/agent-teams.md +327 -0
  224. package/cli/dist/web-ui/docs/en/cli/bash-sandboxing.md +357 -0
  225. package/cli/dist/web-ui/docs/en/cli/best-practices.md +554 -0
  226. package/cli/dist/web-ui/docs/en/cli/channels-reference.md +293 -0
  227. package/cli/dist/web-ui/docs/en/cli/channels.md +215 -0
  228. package/cli/dist/web-ui/docs/en/cli/checkpointing.md +53 -0
  229. package/cli/dist/web-ui/docs/en/cli/cli-reference.md +187 -0
  230. package/cli/dist/web-ui/docs/en/cli/common-workflows.md +1011 -0
  231. package/cli/dist/web-ui/docs/en/cli/costs.md +174 -0
  232. package/cli/dist/web-ui/docs/en/cli/devcontainer.md +553 -0
  233. package/cli/dist/web-ui/docs/en/cli/env-vars.md +326 -0
  234. package/cli/dist/web-ui/docs/en/cli/gitlab-ci-cd.md +357 -0
  235. package/cli/dist/web-ui/docs/en/cli/headless.md +258 -0
  236. package/cli/dist/web-ui/docs/en/cli/hooks-guide.md +9 -0
  237. package/cli/dist/web-ui/docs/en/cli/hooks.md +801 -0
  238. package/cli/dist/web-ui/docs/en/cli/iam.md +526 -0
  239. package/cli/dist/web-ui/docs/en/cli/ide-integrations.md +92 -0
  240. package/cli/dist/web-ui/docs/en/cli/installation.md +266 -0
  241. package/cli/dist/web-ui/docs/en/cli/interactive-mode.md +233 -0
  242. package/cli/dist/web-ui/docs/en/cli/mcp.md +739 -0
  243. package/cli/dist/web-ui/docs/en/cli/memory.md +436 -0
  244. package/cli/dist/web-ui/docs/en/cli/models.md +355 -0
  245. package/cli/dist/web-ui/docs/en/cli/overview.md +100 -0
  246. package/cli/dist/web-ui/docs/en/cli/plugin-marketplaces.md +534 -0
  247. package/cli/dist/web-ui/docs/en/cli/plugins-reference.md +774 -0
  248. package/cli/dist/web-ui/docs/en/cli/plugins.md +688 -0
  249. package/cli/dist/web-ui/docs/en/cli/quickstart.md +249 -0
  250. package/cli/dist/web-ui/docs/en/cli/release-notes/README.md +193 -0
  251. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.10.0.md +23 -0
  252. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.10.1.md +5 -0
  253. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.11.0.md +24 -0
  254. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.12.0.md +21 -0
  255. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.13.0.md +20 -0
  256. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.14.0.md +22 -0
  257. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.14.1.md +8 -0
  258. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.15.0.md +18 -0
  259. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.15.1.md +11 -0
  260. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.16.0.md +20 -0
  261. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.17.0.md +29 -0
  262. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.18.0.md +17 -0
  263. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.0.md +11 -0
  264. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.1.md +14 -0
  265. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.2.md +11 -0
  266. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.20.0.md +23 -0
  267. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.20.1.md +15 -0
  268. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.21.0.md +13 -0
  269. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.22.0.md +16 -0
  270. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.0.md +41 -0
  271. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.2.md +5 -0
  272. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.3.md +5 -0
  273. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.4.md +15 -0
  274. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.5.md +11 -0
  275. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.24.0.md +17 -0
  276. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.25.0.md +18 -0
  277. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.25.1.md +21 -0
  278. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.26.0.md +18 -0
  279. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.0.md +16 -0
  280. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.1.md +16 -0
  281. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.2.md +7 -0
  282. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.3.md +15 -0
  283. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.28.0.md +26 -0
  284. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.28.1.md +5 -0
  285. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.29.0.md +35 -0
  286. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.3.1.md +16 -0
  287. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.30.0.md +19 -0
  288. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.30.1.md +5 -0
  289. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.0.md +51 -0
  290. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.1.md +11 -0
  291. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.2.md +16 -0
  292. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.32.0.md +19 -0
  293. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.33.0.md +28 -0
  294. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.33.1.md +7 -0
  295. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.34.0.md +27 -0
  296. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.34.1.md +7 -0
  297. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.35.0.md +22 -0
  298. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.0.md +23 -0
  299. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.1.md +5 -0
  300. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.2.md +22 -0
  301. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.3.md +17 -0
  302. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.0.md +15 -0
  303. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.1.md +15 -0
  304. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.10.md +5 -0
  305. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.11.md +8 -0
  306. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.12.md +14 -0
  307. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.13.md +11 -0
  308. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.14.md +24 -0
  309. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.15.md +11 -0
  310. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.16.md +9 -0
  311. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.17.md +5 -0
  312. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.18.md +9 -0
  313. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.19.md +5 -0
  314. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.2.md +28 -0
  315. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.20.md +8 -0
  316. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.3.md +22 -0
  317. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.4.md +19 -0
  318. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.5.md +5 -0
  319. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.6.md +5 -0
  320. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.7.md +5 -0
  321. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.8.md +5 -0
  322. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.9.md +8 -0
  323. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.0.md +22 -0
  324. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.1.md +6 -0
  325. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.2.md +9 -0
  326. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.39.0.md +18 -0
  327. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.4.0.md +19 -0
  328. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.40.0.md +20 -0
  329. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.40.1.md +6 -0
  330. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.0.md +15 -0
  331. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.1.md +6 -0
  332. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.2.md +5 -0
  333. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.3.md +8 -0
  334. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.4.md +5 -0
  335. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.5.md +10 -0
  336. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.6.md +9 -0
  337. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.7.md +14 -0
  338. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.8.md +18 -0
  339. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.0.md +39 -0
  340. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.1.md +8 -0
  341. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.3.md +18 -0
  342. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.43.0.md +27 -0
  343. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.43.1.md +27 -0
  344. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.44.0.md +11 -0
  345. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.44.1.md +22 -0
  346. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.45.0.md +34 -0
  347. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.45.1.md +7 -0
  348. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.46.0.md +12 -0
  349. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.47.0.md +20 -0
  350. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.48.0.md +32 -0
  351. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.48.1.md +11 -0
  352. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.0.md +26 -0
  353. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.1.md +14 -0
  354. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.2.md +39 -0
  355. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.3.md +7 -0
  356. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.5.md +11 -0
  357. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.6.md +9 -0
  358. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.7.md +7 -0
  359. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.5.0.md +24 -0
  360. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.0.md +25 -0
  361. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.1.md +9 -0
  362. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.2.md +11 -0
  363. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.3.md +5 -0
  364. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.4.md +17 -0
  365. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.5.md +16 -0
  366. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.6.md +15 -0
  367. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.7.md +15 -0
  368. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.0.md +24 -0
  369. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.1.md +17 -0
  370. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.2.md +5 -0
  371. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.0.md +30 -0
  372. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.1.md +28 -0
  373. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.2.md +12 -0
  374. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.3.md +13 -0
  375. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.4.md +27 -0
  376. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.5.md +21 -0
  377. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.6.md +7 -0
  378. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.53.0.md +29 -0
  379. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.54.0.md +26 -0
  380. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.55.0.md +21 -0
  381. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.55.1.md +13 -0
  382. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.56.0.md +20 -0
  383. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.56.1.md +5 -0
  384. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.57.0.md +32 -0
  385. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.57.1.md +10 -0
  386. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.58.0.md +34 -0
  387. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.59.0.md +28 -0
  388. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.6.0.md +5 -0
  389. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.6.1.md +10 -0
  390. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.60.0.md +20 -0
  391. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.0.md +29 -0
  392. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.1.md +5 -0
  393. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.2.md +6 -0
  394. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.3.md +13 -0
  395. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.62.0.md +21 -0
  396. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.62.1.md +11 -0
  397. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.0.md +19 -0
  398. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.1.md +5 -0
  399. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.2.md +7 -0
  400. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.3.md +6 -0
  401. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.4.md +8 -0
  402. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.5.md +6 -0
  403. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.0.md +37 -0
  404. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.1.md +6 -0
  405. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.2.md +11 -0
  406. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.65.0.md +19 -0
  407. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.65.1.md +11 -0
  408. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.0.md +15 -0
  409. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.1.md +14 -0
  410. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.2.md +5 -0
  411. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.67.0.md +33 -0
  412. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.7.0.md +16 -0
  413. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.0.md +18 -0
  414. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.1.md +17 -0
  415. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.2.md +5 -0
  416. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.3.md +14 -0
  417. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.4.md +9 -0
  418. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.5.md +5 -0
  419. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.6.md +14 -0
  420. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.9.0.md +5 -0
  421. package/cli/dist/web-ui/docs/en/cli/remote-control.md +247 -0
  422. package/cli/dist/web-ui/docs/en/cli/sandboxing.md +316 -0
  423. package/cli/dist/web-ui/docs/en/cli/scheduled-tasks.md +160 -0
  424. package/cli/dist/web-ui/docs/en/cli/sdk-custom-tools.md +1131 -0
  425. package/cli/dist/web-ui/docs/en/cli/sdk-demos.md +347 -0
  426. package/cli/dist/web-ui/docs/en/cli/sdk-hooks.md +813 -0
  427. package/cli/dist/web-ui/docs/en/cli/sdk-mcp.md +645 -0
  428. package/cli/dist/web-ui/docs/en/cli/sdk-permissions.md +461 -0
  429. package/cli/dist/web-ui/docs/en/cli/sdk-python.md +797 -0
  430. package/cli/dist/web-ui/docs/en/cli/sdk-sessions.md +340 -0
  431. package/cli/dist/web-ui/docs/en/cli/sdk-typescript.md +770 -0
  432. package/cli/dist/web-ui/docs/en/cli/sdk.md +1103 -0
  433. package/cli/dist/web-ui/docs/en/cli/security.md +388 -0
  434. package/cli/dist/web-ui/docs/en/cli/settings.md +602 -0
  435. package/cli/dist/web-ui/docs/en/cli/skills.md +448 -0
  436. package/cli/dist/web-ui/docs/en/cli/slash-commands.md +397 -0
  437. package/cli/dist/web-ui/docs/en/cli/statusline.md +525 -0
  438. package/cli/dist/web-ui/docs/en/cli/sub-agents.md +621 -0
  439. package/cli/dist/web-ui/docs/en/cli/terminal-config.md +77 -0
  440. package/cli/dist/web-ui/docs/en/cli/tools-reference.md +99 -0
  441. package/cli/dist/web-ui/docs/en/cli/troubleshooting.md +190 -0
  442. package/cli/dist/web-ui/docs/en/cli/web-ui.md +164 -0
  443. package/cli/dist/web-ui/docs/en/cli/wecom-bot-setup.md +274 -0
  444. package/cli/dist/web-ui/docs/en/cli/worktree.md +660 -0
  445. package/cli/dist/web-ui/docs/search-index-en.json +1 -0
  446. package/cli/dist/web-ui/docs/search-index-zh.json +1 -0
  447. package/cli/dist/web-ui/docs/sidebar-en.json +1 -0
  448. package/cli/dist/web-ui/docs/sidebar-zh.json +1 -0
  449. package/cli/dist/web-ui/index.html +2 -2
  450. package/cli/package.json +1 -1
  451. package/cli/product.cloudhosted.json +2 -2
  452. package/cli/product.internal.json +2 -2
  453. package/cli/product.ioa.json +2 -2
  454. package/cli/product.json +3 -3
  455. package/cli/product.selfhosted.json +2 -2
  456. package/package.json +1 -1
  457. package/cli/dist/web-ui/assets/index-BPT-qRRx.js +0 -411
  458. package/cli/dist/web-ui/assets/index-f_ibHSHw.css +0 -32
@@ -0,0 +1,774 @@
1
+ # CodeBuddy Plugin Reference
2
+
3
+ ## Overview
4
+
5
+ The CodeBuddy plugin system allows you to extend the AI assistant's functionality through a standardized plugin mechanism. Plugins can provide custom commands, agents, skills, hooks, MCP servers, and LSP servers.
6
+
7
+ description: Command description
8
+ allowed-tools: Read,Write,Bash
9
+ argument-hint: Argument hint
10
+ model: Model ID or name to use
11
+ ---
12
+
13
+ Command prompt content
14
+ ```
15
+
16
+ **Command File Organization**:
17
+ - Supports nested subdirectory organization
18
+ - Subdirectory paths are converted to command names using colon separators
19
+ - Example: `commands/deploy/production.md` → command name `deploy:production`
20
+
21
+ ### 2. Agents
22
+
23
+ **Location**: `agents/` directory in the plugin root
24
+ **Format**: Markdown files with frontmatter
25
+
26
+ **Frontmatter Configuration**:
27
+ ```markdown
28
+ ---
29
+ name: Agent name (optional, defaults to filename)
30
+ description: Agent description
31
+ model: Model ID or name to use
32
+ tools: Read,Write,Bash (comma-separated list of available tools)
33
+ color: #FF5733 (agent display color, optional)
34
+ ---
35
+
36
+ Agent instruction content
37
+ ```
38
+
39
+ **Features**:
40
+ - Agents can be invoked as tools by the main agent
41
+ - Support custom tool lists
42
+ - Automatically generate source tags to identify origin
43
+
44
+ ### 3. Skills
45
+
46
+ **Location**: `skills/` directory in the plugin root
47
+ **Format**: Each skill is a subdirectory containing a `SKILL.md` file
48
+
49
+ **Directory Structure**:
50
+ ```
51
+ skills/
52
+ ├── pdf-processor/
53
+ │ ├── SKILL.md
54
+ │ ├── reference.md (optional)
55
+ │ └── scripts/ (optional)
56
+ └── code-reviewer/
57
+ └── SKILL.md
58
+ ```
59
+
60
+ **SKILL.md Frontmatter Configuration**:
61
+ ```markdown
62
+ ---
63
+ name: Skill name (optional, defaults to directory name)
64
+ description: Skill description
65
+ allowed-tools: Read,Write,Bash (list of allowed tools)
66
+ ---
67
+
68
+ Skill instruction content
69
+ ```
70
+
71
+ **Features**:
72
+ - Skills can include auxiliary files and scripts
73
+ - The skill's `baseDirectory` points to the skill directory, allowing access to resource files in the same directory
74
+
75
+ ### 4. Hooks
76
+
77
+ **Location**: `hooks/hooks.json` in the plugin root, or configured via PluginInfo extension fields in `plugin.json`
78
+ **Format**: JSON configuration containing event matchers and actions
79
+
80
+ **Configuration Example**:
81
+ ```json
82
+ {
83
+ "PostToolUse": [
84
+ {
85
+ "matcher": "Write|Edit",
86
+ "hooks": [
87
+ {
88
+ "type": "command",
89
+ "command": "${CODEBUDDY_PLUGIN_ROOT}/scripts/format-code.sh",
90
+ "timeout": 30000
91
+ }
92
+ ]
93
+ }
94
+ ]
95
+ }
96
+ ```
97
+
98
+ **Available Events**:
99
+ - `PreToolUse`: Triggered before tool use
100
+ - `PostToolUse`: Triggered after tool use
101
+ - `UserPromptSubmit`: Triggered when user submits a prompt
102
+ - `Notification`: Triggered when sending a notification
103
+ - `Stop`: Triggered when attempting to stop
104
+ - `SubagentStop`: Triggered when sub-agent attempts to stop
105
+ - `SessionStart`: Triggered at session start
106
+ - `SessionEnd`: Triggered at session end
107
+ - `PreCompact`: Triggered before conversation history compression
108
+
109
+ **Hook Types**:
110
+ - `command`: Execute a shell command or script
111
+
112
+ **Matcher Rules**:
113
+ - Supports regex matching for tool names
114
+ - Example: `"Write|Edit"` matches Write or Edit tools
115
+
116
+ ### 5. MCP Servers
117
+
118
+ **Location**:
119
+ - `.mcp.json` configuration file in the plugin root
120
+ - Or configured via PluginInfo extension fields in `plugin.json`
121
+
122
+ **Configuration Example** (.mcp.json):
123
+ ```json
124
+ {
125
+ "mcpServers": {
126
+ "plugin-database": {
127
+ "command": "${CODEBUDDY_PLUGIN_ROOT}/servers/db-server",
128
+ "args": ["--config", "${CODEBUDDY_PLUGIN_ROOT}/config.json"],
129
+ "env": {
130
+ "DB_PATH": "${CODEBUDDY_PLUGIN_ROOT}/data"
131
+ }
132
+ },
133
+ "plugin-api-client": {
134
+ "command": "npx",
135
+ "args": ["@company/mcp-server", "--plugin-mode"],
136
+ "cwd": "${CODEBUDDY_PLUGIN_ROOT}"
137
+ }
138
+ }
139
+ }
140
+ ```
141
+
142
+ **Integration Behavior**:
143
+ - MCP servers automatically start when the plugin is enabled
144
+ - Servers appear as standard MCP tools in the toolkit
145
+ - Server functionality seamlessly integrates with existing tools
146
+
147
+ ### 6. LSP Servers
148
+
149
+ > **Tip**: Need to use an LSP plugin? Install from the official marketplace—search for "lsp" in the `/plugin` Discover tab. This section describes how to create LSP plugins for languages not covered by the official marketplace.
150
+
151
+ Plugins can provide [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) (LSP) servers to give the AI assistant real-time code intelligence support when working on codebases.
152
+
153
+ LSP integration provides:
154
+
155
+ * **Instant diagnostics**: AI assistant sees errors and warnings immediately after each edit
156
+ * **Code navigation**: Jump to definition, find references, and hover information
157
+ * **Language awareness**: Type information and documentation for code symbols
158
+
159
+ **Location**: `.lsp.json` file in the plugin root, or inline configuration in `plugin.json`
160
+
161
+ **Format**: JSON configuration mapping language server names to their configurations
162
+
163
+ **`.lsp.json` File Format**:
164
+
165
+ ```json
166
+ {
167
+ "go": {
168
+ "command": "gopls",
169
+ "args": ["serve"],
170
+ "extensionToLanguage": {
171
+ ".go": "go"
172
+ }
173
+ }
174
+ }
175
+ ```
176
+
177
+ **Inline Configuration in `plugin.json`**:
178
+
179
+ ```json
180
+ {
181
+ "name": "my-plugin",
182
+ "lspServers": {
183
+ "go": {
184
+ "command": "gopls",
185
+ "args": ["serve"],
186
+ "extensionToLanguage": {
187
+ ".go": "go"
188
+ }
189
+ }
190
+ }
191
+ }
192
+ ```
193
+
194
+ **Required Fields**:
195
+
196
+ | Field | Description |
197
+ | :--- | :--- |
198
+ | `command` | The LSP binary to execute (must be in PATH) |
199
+ | `extensionToLanguage` | Maps file extensions to language identifiers |
200
+
201
+ **Optional Fields**:
202
+
203
+ | Field | Description |
204
+ | :--- | :--- |
205
+ | `args` | Command-line arguments for the LSP server |
206
+ | `transport` | Communication transport: `stdio` (default) or `socket` |
207
+ | `env` | Environment variables to set when starting the server |
208
+ | `initializationOptions` | Options passed to the server during initialization |
209
+ | `settings` | Settings passed via `workspace/didChangeConfiguration` |
210
+ | `workspaceFolder` | Workspace folder path for the server |
211
+ | `startupTimeout` | Maximum time to wait for server startup (milliseconds) |
212
+ | `shutdownTimeout` | Maximum time to wait for graceful shutdown (milliseconds) |
213
+ | `restartOnCrash` | Whether to automatically restart when the server crashes |
214
+ | `maxRestarts` | Maximum restart attempts before giving up |
215
+ | `loggingConfig` | Debug logging configuration (see below) |
216
+
217
+ > **Warning**: **You must install the language server binary separately.** LSP plugins configure how CodeBuddy connects to a language server but do not include the server itself. If you see `Executable not found in $PATH` errors in the `/plugin` Errors tab, install the required binary for your language.
218
+
219
+ **Available LSP Plugins**:
220
+
221
+ | Plugin | Language Server | Installation Command |
222
+ | :--- | :--- | :--- |
223
+ | `pyright-lsp` | Pyright (Python) | `pip install pyright` or `npm install -g pyright` |
224
+ | `typescript-lsp` | TypeScript Language Server | `npm install -g typescript-language-server typescript` |
225
+ | `rust-lsp` | rust-analyzer | [See rust-analyzer installation](https://rust-analyzer.github.io/manual.html#installation) |
226
+
227
+ Install the language server first, then install the plugin from the marketplace.
228
+
229
+ ---
230
+
231
+ ## II. Plugin Manifest Schema (plugin.json)
232
+
233
+ ### Complete Schema Example
234
+
235
+ ```json
236
+ {
237
+ "name": "plugin-name",
238
+ "version": "1.2.0",
239
+ "description": "Brief plugin description",
240
+ "author": {
241
+ "name": "Author Name",
242
+ "email": "[email protected]",
243
+ "url": "https://github.com/author"
244
+ },
245
+ "homepage": "https://docs.example.com/plugin",
246
+ "repository": "https://github.com/author/plugin",
247
+ "license": "MIT",
248
+ "keywords": ["keyword1", "keyword2"],
249
+ "category": "Development Tools",
250
+ "features": ["Feature 1", "Feature 2"],
251
+ "requirements": {
252
+ "node": ">=16.0.0"
253
+ },
254
+ "commands": ["./custom/commands/special.md"],
255
+ "agents": "./custom/agents/",
256
+ "hooks": "./config/hooks.json",
257
+ "mcpServers": [
258
+ {
259
+ "name": "custom-server",
260
+ "command": "node",
261
+ "args": ["./servers/custom.js"],
262
+ "env": {
263
+ "SERVER_PORT": "3000"
264
+ }
265
+ }
266
+ ],
267
+ "lspServers": "./.lsp.json"
268
+ }
269
+ ```
270
+
271
+ ### Required Fields
272
+
273
+ | Field | Type | Description | Example |
274
+ |------|------|------|------|
275
+ | name | string | Unique identifier (kebab-case, no spaces) | "deployment-tools" |
276
+ | description | string | Brief plugin purpose | "Deployment automation tools" |
277
+
278
+ ### Metadata Fields
279
+
280
+ | Field | Type | Description | Example |
281
+ |------|------|------|------|
282
+ | version | string | Semantic version | "2.1.0" |
283
+ | author | object | Author information | `{"name": "Dev Team", "email": "[email protected]"}` |
284
+ | homepage | string | Documentation URL | "https://docs.example.com" |
285
+ | repository | string | Source code URL | "https://github.com/user/plugin" |
286
+ | license | string | License identifier | "MIT", "Apache-2.0" |
287
+ | keywords | array | Discovery tags | `["deployment", "ci-cd"]` |
288
+ | category | string | Plugin category | "Development Tools" |
289
+ | features | array | Feature list | `["Auto-deployment", "Log analysis"]` |
290
+
291
+ ### Component Path Fields (PluginManifest)
292
+
293
+ | Field | Type | Description | Example |
294
+ |------|------|------|------|
295
+ | commands | string / string[] | Additional command file path array | `["./custom/cmd.md"]` |
296
+ | agents | string / string[] | Additional agent file directory path | "./custom/agents/" |
297
+ | hooks | string / object | Additional hook file or configuration | "./custom/hooks.json" |
298
+ | mcpServers | string / `Record<string,MCPServerConfig>` | MCP server config file path or config object | See MCPServerConfig below |
299
+ | lspServers | string / object | [Language Server Protocol](https://microsoft.github.io/language-server-protocol/) configuration for code intelligence (jump to definition, find references, etc.) | `"./.lsp.json"` |
300
+
301
+ ### MCPServerConfig Structure
302
+
303
+ ```typescript
304
+ {
305
+ "name": "Server name",
306
+ "command": "Execution command",
307
+ "args": ["Array of command arguments"],
308
+ "env": {
309
+ "ENVIRONMENT_VARIABLE": "value"
310
+ }
311
+ }
312
+ ```
313
+
314
+ ### Runtime Extension Fields (PluginInfo)
315
+
316
+ Plugins extend the following fields at runtime, supporting more flexible configuration:
317
+
318
+ | Field | Type | Description | Example |
319
+ |------|------|------|------|
320
+ | agents | string[] | Agent file or directory paths | `["./custom/agents/"]` |
321
+ | commands | string[] | Command file or directory paths | `["./custom/commands/"]` |
322
+ | skills | string[] | Skill file or directory paths | `["./custom/skills/"]` |
323
+ | hooks | `Record<string, any>` \| string | Hook configuration object or file path | "./hooks/custom.json" |
324
+ | mcpServers | `Record<string, McpConfig>` \| string | MCP configuration object or file path | "./mcp-config.json" |
325
+ | lspServers | `Record<string, LspConfig>` \| string | LSP configuration object or file path | "./.lsp.json" |
326
+
327
+ **Note**:
328
+ - These extension fields are used in marketplace.json to configure how plugins are loaded
329
+ - Support for direct configuration objects or file path strings
330
+ - The loader intelligently merges configured paths with default directory scanning results
331
+
332
+ ### Path Behavior Rules
333
+
334
+ **Important**: Custom paths are **supplementary** to default directories, not replacements.
335
+
336
+ - If the `commands/` directory exists, it will be loaded along with custom command paths
337
+ - All paths must be relative to the plugin root and begin with `./`
338
+ - Multiple paths can be specified as arrays for flexibility
339
+ - Paths can point to individual files or directories
340
+
341
+ **Path Resolution Rules**:
342
+ - File paths: Must end with `.md` (for commands/agents) or be `SKILL.md` (for skills)
343
+ - Directory paths: Recursively scans the directory for all qualifying files
344
+
345
+ ### Environment Variables
346
+
347
+ **`${CODEBUDDY_PLUGIN_ROOT}`**: Contains the absolute path to the plugin directory. Use this variable in hooks, MCP servers, and scripts to ensure correct paths regardless of installation location.
348
+
349
+ **Compatibility**: Also supports the `${CLAUDE_PLUGIN_ROOT}` variable name for compatibility with Claude Code plugins.
350
+
351
+ ```json
352
+ {
353
+ "hooks": {
354
+ "PostToolUse": [
355
+ {
356
+ "hooks": [
357
+ {
358
+ "type": "command",
359
+ "command": "${CODEBUDDY_PLUGIN_ROOT}/scripts/process.sh"
360
+ }
361
+ ]
362
+ }
363
+ ]
364
+ }
365
+ }
366
+ ```
367
+
368
+ ---
369
+
370
+ ## III. Plugin Directory Structure
371
+
372
+ ### Standard Plugin Layout
373
+
374
+ ```
375
+ enterprise-plugin/
376
+ ├── .codebuddy-plugin/ # Metadata directory
377
+ │ └── plugin.json # Required: Plugin manifest
378
+ ├── commands/ # Default commands location
379
+ │ ├── status.md
380
+ │ └── logs.md
381
+ ├── agents/ # Default agents location
382
+ │ ├── security-reviewer.md
383
+ │ ├── performance-tester.md
384
+ │ └── compliance-checker.md
385
+ ├── skills/ # Agent skills
386
+ │ ├── code-reviewer/
387
+ │ │ └── SKILL.md
388
+ │ └── pdf-processor/
389
+ │ ├── SKILL.md
390
+ │ └── scripts/
391
+ ├── hooks/ # Hook configuration
392
+ │ └── hooks.json # Hook configuration file
393
+ ├── .mcp.json # MCP server definitions
394
+ ├── .lsp.json # LSP server configuration
395
+ ├── scripts/ # Hooks and utility scripts
396
+ │ ├── security-scan.sh
397
+ │ ├── format-code.py
398
+ │ └── deploy.js
399
+ ├── LICENSE # License file
400
+ └── README.md # Plugin documentation
401
+ ```
402
+
403
+ **Important**:
404
+ - The `.codebuddy-plugin/` or `.claude-plugin/` directory contains the `plugin.json` file
405
+ - All other directories (`commands/`, `agents/`, `skills/`, `hooks/`) must be located in the plugin root
406
+ - The system prioritizes `.codebuddy-plugin/` while also supporting `.claude-plugin/` for compatibility
407
+
408
+ ### File Location Reference
409
+
410
+ | Component | Default Location | Purpose |
411
+ |------|----------|------|
412
+ | Manifest | .codebuddy-plugin/plugin.json | Required metadata file |
413
+ | Commands | commands/ | Slash command markdown files |
414
+ | Agents | agents/ | Sub-agent markdown files |
415
+ | Skills | skills/ | Agent skills with SKILL.md files |
416
+ | Hooks | hooks/hooks.json | Hook configuration |
417
+ | MCP servers | .mcp.json | MCP server definitions |
418
+ | LSP servers | .lsp.json | Language server configuration |
419
+
420
+ ---
421
+
422
+ ## IV. Marketplace Manifest Schema (marketplace.json)
423
+
424
+ ### Complete Schema Example
425
+
426
+ ```json
427
+ {
428
+ "name": "Enterprise Plugin Marketplace",
429
+ "description": "Internal enterprise plugin collection",
430
+ "version": "1.0.0",
431
+ "owner": {
432
+ "name": "Enterprise Development Team",
433
+ "email": "[email protected]"
434
+ },
435
+ "plugins": [
436
+ {
437
+ "name": "deployment-tool",
438
+ "description": "Automated deployment tools",
439
+ "version": "1.0.0",
440
+ "source": "plugins/deployment-tool"
441
+ },
442
+ {
443
+ "name": "code-review-bot",
444
+ "description": "Code review bot",
445
+ "version": "2.1.0",
446
+ "source": {
447
+ "source": "github",
448
+ "repo": "company/code-review-bot"
449
+ }
450
+ },
451
+ {
452
+ "name": "security-scanner",
453
+ "description": "Security scanning tool",
454
+ "version": "1.5.0",
455
+ "source": {
456
+ "source": "url",
457
+ "url": "https://github.com/company/security-scanner.git"
458
+ }
459
+ }
460
+ ]
461
+ }
462
+ ```
463
+
464
+ ### Required Fields
465
+
466
+ | Field | Type | Description | Example |
467
+ |------|------|------|------|
468
+ | name | string | Marketplace name | "Enterprise Plugin Marketplace" |
469
+ | plugins | array | Plugin list | See below |
470
+
471
+ ### Metadata Fields
472
+
473
+ | Field | Type | Description | Example |
474
+ |------|------|------|------|
475
+ | description | string | Marketplace description | "Internal enterprise plugin collection" |
476
+ | version | string | Marketplace version | "1.0.0" |
477
+ | owner | object | Owner information | `{"name": "Team", "email": "..."}` |
478
+
479
+ ### Plugin Entry (MarketplacePluginEntry)
480
+
481
+ Each plugin entry contains the following fields:
482
+
483
+ | Field | Type | Required | Description |
484
+ |------|------|------|------|
485
+ | name | string | ✓ | Plugin unique identifier |
486
+ | description | string | ✓ | Plugin description |
487
+ | version | string | | Plugin version number |
488
+ | source | string \| PluginSource | ✓ | Plugin source configuration |
489
+ | strict | boolean | | Strict mode (compatible with superpowers-marketplace) |
490
+
491
+ ### PluginSource Configuration
492
+
493
+ Plugin sources support three types:
494
+
495
+ #### 1. Local Relative Path (string)
496
+ ```json
497
+ {
498
+ "source": "plugins/my-plugin"
499
+ }
500
+ ```
501
+
502
+ #### 2. Local Path (object)
503
+ ```json
504
+ {
505
+ "source": {
506
+ "source": "local",
507
+ "path": "plugins/my-plugin"
508
+ }
509
+ }
510
+ ```
511
+
512
+ #### 3. GitHub Repository
513
+ ```json
514
+ {
515
+ "source": {
516
+ "source": "github",
517
+ "repo": "owner/repo-name"
518
+ }
519
+ }
520
+ ```
521
+
522
+ #### 4. Git URL
523
+ ```json
524
+ {
525
+ "source": {
526
+ "source": "url",
527
+ "url": "https://github.com/owner/repo.git"
528
+ }
529
+ }
530
+ ```
531
+
532
+ ### Marketplace Types
533
+
534
+ CodeBuddy supports four marketplace types:
535
+
536
+ | Type | Description | source Field |
537
+ |------|------|-------------|
538
+ | Directory | Local filesystem directory | path: Absolute local directory path |
539
+ | Github | GitHub repository | repo: owner/repo format |
540
+ | Git | Git repository | url: Git repository URL |
541
+ | URL | HTTP/HTTPS remote | url: URL to marketplace.json |
542
+
543
+ ---
544
+
545
+ ## V. Plugin Loading Mechanism
546
+
547
+ ### Loading Flow
548
+
549
+ 1. **Marketplace Installation**:
550
+ - Install marketplace from configured source
551
+ - Read `marketplace.json` to get plugin list
552
+
553
+ 2. **Plugin Installation**:
554
+ - Select appropriate installer (Local/Git) based on `source` configuration
555
+ - Install plugin content to target location
556
+
557
+ 3. **Plugin Activation**:
558
+ - Read the plugin's `plugin.json` manifest
559
+ - Load components based on manifest configuration
560
+
561
+ 4. **Component Loading**:
562
+ - Concurrently load all types of extension components
563
+ - Merge configured paths with default directory scanning results
564
+ - Cache loaded components for performance
565
+
566
+ ### Loader Intelligent Merging
567
+
568
+ Each extension loader intelligently merges content from two sources:
569
+
570
+ 1. **Configured Paths**: Paths specified in `plugin.json` or runtime configuration
571
+ 2. **Default Scanning**: Files in default directories (e.g., `commands/`, `agents/`)
572
+
573
+ **Example**:
574
+ ```json
575
+ {
576
+ "commands": ["./custom/deploy.md"],
577
+ // Actually loads:
578
+ // - ./custom/deploy.md (configured path)
579
+ // - All .md files in commands/ directory (default scanning)
580
+ }
581
+ ```
582
+
583
+ ### Command Name Generation Rules
584
+
585
+ - Filename: `command.md` → command name: `command`
586
+ - Subdirectory: `deploy/prod.md` → command name: `deploy:prod`
587
+ - Plugin prefix: Automatically adds plugin name as prefix, e.g., `plugin-name:command`
588
+
589
+ ### Agent and Skill Tags
590
+
591
+ All agents and skills loaded from plugins automatically receive the following tags:
592
+ - Source tag: `(plugin-name@marketplace-name)`
593
+ - Type tag: `plugin`
594
+ - Custom tags: `custom-agent` or `custom-command`
595
+
596
+ ---
597
+
598
+ ## VI. Debugging and Development Tools
599
+
600
+ ### View Plugin Loading Logs
601
+
602
+ Use the `--verbose` parameter to view detailed plugin loading information:
603
+
604
+ ```bash
605
+ codebuddy --verbose
606
+ ```
607
+
608
+ **Display Content**:
609
+ - Which plugins are being loaded
610
+ - Any errors in plugin manifests
611
+ - Command, agent, and skill registration
612
+ - MCP server initialization
613
+ - Hook configuration loading
614
+
615
+ ### Common Troubleshooting
616
+
617
+ | Issue | Cause | Solution |
618
+ |------|------|----------|
619
+ | Plugin not loaded | Invalid plugin.json | Validate JSON syntax, check required fields |
620
+ | Command not appearing | Incorrect directory structure | Ensure commands/ is in plugin root |
621
+ | Hook not triggering | Script not executable | Run `chmod +x script.sh` |
622
+ | MCP server fails | Missing environment variables | Use `${CODEBUDDY_PLUGIN_ROOT}` |
623
+ | Path errors | Using absolute paths | All paths must be relative and start with `./` |
624
+ | Metadata directory not recognized | Using incorrect directory name | Use `.codebuddy-plugin/` or `.claude-plugin/` |
625
+ | LSP `Executable not found in $PATH` | Language server not installed | Install the binary (e.g., `npm install -g typescript-language-server typescript`) |
626
+
627
+ ### Plugin Development Best Practices
628
+
629
+ 1. **Use Relative Paths**: All file references use relative paths to ensure cross-environment compatibility
630
+ 2. **Environment Variables**: Use `${CODEBUDDY_PLUGIN_ROOT}` in scripts to reference the plugin directory
631
+ 3. **Error Handling**: Add appropriate error handling and timeout settings for hook scripts
632
+ 4. **Complete Documentation**: Provide clear installation and usage instructions in README.md
633
+ 5. **Semantic Versioning**: Follow semantic versioning conventions to manage plugin versions
634
+ 6. **Test Coverage**: Test plugin installation and functionality across different environments
635
+
636
+ ---
637
+
638
+ ## VII. Version Management Reference
639
+
640
+ ### Semantic Versioning
641
+
642
+ Follow semantic versioning for plugin releases:
643
+
644
+ - **MAJOR version**: Incompatible API changes
645
+ - **MINOR version**: Backwards-compatible feature additions
646
+ - **PATCH version**: Backwards-compatible bug fixes
647
+
648
+ Example: `1.2.0` → `1.2.1` (fix) → `1.3.0` (new feature) → `2.0.0` (breaking change)
649
+
650
+ ### Plugin Update Process
651
+
652
+ 1. Modify plugin code and resources
653
+ 2. Update the version field in `plugin.json`
654
+ 3. Record changes in CHANGELOG.md
655
+ 4. Commit to version control system
656
+ 5. Users update plugin through marketplace
657
+
658
+ ---
659
+
660
+ ## VIII. CLI Command Reference
661
+
662
+ ### Marketplace Management
663
+
664
+ ```bash
665
+ # Add marketplace
666
+ codebuddy plugin marketplace add <source> [--name <name>]
667
+
668
+ # List marketplaces
669
+ codebuddy plugin marketplace list
670
+
671
+ # Update marketplace
672
+ codebuddy plugin marketplace update <name>
673
+
674
+ # Remove marketplace
675
+ codebuddy plugin marketplace remove <name>
676
+ ```
677
+
678
+ ### Plugin Management
679
+
680
+ ```bash
681
+ # Install plugin
682
+ codebuddy plugin install <plugin-name> <marketplace-name>
683
+
684
+ # List installed plugins
685
+ codebuddy plugin list [--marketplace <name>]
686
+
687
+ # Enable plugin
688
+ codebuddy plugin enable <plugin-name> <marketplace-name>
689
+
690
+ # Disable plugin
691
+ codebuddy plugin disable <plugin-name> <marketplace-name>
692
+
693
+ # Uninstall plugin
694
+ codebuddy plugin uninstall <plugin-name> <marketplace-name>
695
+
696
+ # Update plugin
697
+ codebuddy plugin update <plugin-name> <marketplace-name>
698
+ ```
699
+
700
+ ### Marketplace Source Formats
701
+
702
+ Supports the following formats for adding marketplaces:
703
+
704
+ ```bash
705
+ # Local directory
706
+ codebuddy plugin marketplace add /path/to/marketplace
707
+
708
+ # GitHub shorthand
709
+ codebuddy plugin marketplace add owner/repo
710
+
711
+ # Git URL
712
+ codebuddy plugin marketplace add https://github.com/owner/repo.git
713
+
714
+ # HTTP URL (marketplace.json)
715
+ codebuddy plugin marketplace add https://example.com/marketplace.json
716
+ ```
717
+
718
+ ---
719
+
720
+ ## IX. Compatibility with Claude Code
721
+
722
+ The CodeBuddy plugin system is designed to be compatible with the Claude Code plugin specification, with the following differences:
723
+
724
+ ### Naming Differences
725
+
726
+ | Concept | Claude Code | CodeBuddy |
727
+ |------|-------------|-----------|
728
+ | Metadata Directory | `.claude-plugin/` | `.codebuddy-plugin/` (priority) or `.claude-plugin/` (compatible) |
729
+ | Environment Variable | `${CLAUDE_PLUGIN_ROOT}` | `${CODEBUDDY_PLUGIN_ROOT}` (priority) or `${CLAUDE_PLUGIN_ROOT}` (compatible) |
730
+
731
+ ### Extended Features
732
+
733
+ CodeBuddy provides the following extensions over Claude Code:
734
+
735
+ 1. **Runtime Configuration**: PluginInfo supports runtime extension field configuration
736
+ 2. **Multiple Metadata Directories**: Supports both `.codebuddy-plugin/` and `.claude-plugin/`
737
+ 3. **Flexible Configuration**: Supports both configuration objects and file path configuration methods
738
+
739
+ ### Migration Guide
740
+
741
+ Migrating from Claude Code to CodeBuddy:
742
+
743
+ 1. Optionally rename `.claude-plugin/` to `.codebuddy-plugin/`
744
+ 2. Optionally replace `${CLAUDE_PLUGIN_ROOT}` with `${CODEBUDDY_PLUGIN_ROOT}` in scripts
745
+ 3. If using the `mcpServers` field, no changes needed (already uses `mcpServers`)
746
+
747
+ **Note**: Keeping the original naming is fully compatible; CodeBuddy will automatically recognize it.
748
+
749
+ ---
750
+
751
+ ## Related Resources
752
+
753
+ - **Plugin Development Tutorial** - How to create custom plugins
754
+ - **Marketplace Creation Guide** - Creating and managing plugin marketplaces
755
+ - **Hooks Deep Dive** - Event handling and automation
756
+ - **MCP Integration Documentation** - External tool integration
757
+ - **Settings Configuration** - Plugin configuration options
758
+
759
+ ---
760
+
761
+ ## Summary
762
+
763
+ This document provides the complete technical specification for the CodeBuddy plugin system, covering:
764
+
765
+ 1. Six plugin component types (Commands, Agents, Skills, Hooks, MCP Servers, LSP Servers)
766
+ 2. Complete plugin.json manifest schema and field descriptions
767
+ 3. marketplace.json marketplace manifest schema
768
+ 4. Standard directory structure and file locations
769
+ 5. Plugin loading mechanism and intelligent merging rules
770
+ 6. CLI commands and debugging tools
771
+ 7. Version management best practices
772
+ 8. Compatibility notes with Claude Code
773
+
774
+ Developers can use this reference document to create fully-featured, well-structured CodeBuddy plugins.