@tencent-ai/agent-sdk 0.3.99 → 0.3.101

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 (471) hide show
  1. package/cli/CHANGELOG.md +50 -0
  2. package/cli/dist/codebuddy-headless.js +140 -131
  3. package/cli/dist/web-ui/assets/index-CIqmZV3y.js +440 -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 +200 -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.68.0.md +28 -0
  190. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.7.0.md +16 -0
  191. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.0.md +18 -0
  192. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.1.md +17 -0
  193. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.2.md +5 -0
  194. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.3.md +14 -0
  195. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.4.md +9 -0
  196. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.5.md +5 -0
  197. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.6.md +14 -0
  198. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.9.0.md +5 -0
  199. package/cli/dist/web-ui/docs/cn/cli/remote-control.md +247 -0
  200. package/cli/dist/web-ui/docs/cn/cli/sandboxing.md +316 -0
  201. package/cli/dist/web-ui/docs/cn/cli/scheduled-tasks.md +161 -0
  202. package/cli/dist/web-ui/docs/cn/cli/sdk-custom-tools.md +1195 -0
  203. package/cli/dist/web-ui/docs/cn/cli/sdk-demos.md +347 -0
  204. package/cli/dist/web-ui/docs/cn/cli/sdk-hooks.md +803 -0
  205. package/cli/dist/web-ui/docs/cn/cli/sdk-mcp.md +643 -0
  206. package/cli/dist/web-ui/docs/cn/cli/sdk-permissions.md +501 -0
  207. package/cli/dist/web-ui/docs/cn/cli/sdk-python.md +783 -0
  208. package/cli/dist/web-ui/docs/cn/cli/sdk-sessions.md +332 -0
  209. package/cli/dist/web-ui/docs/cn/cli/sdk-typescript.md +759 -0
  210. package/cli/dist/web-ui/docs/cn/cli/sdk.md +1105 -0
  211. package/cli/dist/web-ui/docs/cn/cli/security.md +387 -0
  212. package/cli/dist/web-ui/docs/cn/cli/settings.md +602 -0
  213. package/cli/dist/web-ui/docs/cn/cli/skills.md +448 -0
  214. package/cli/dist/web-ui/docs/cn/cli/slash-commands.md +397 -0
  215. package/cli/dist/web-ui/docs/cn/cli/statusline.md +525 -0
  216. package/cli/dist/web-ui/docs/cn/cli/sub-agents.md +634 -0
  217. package/cli/dist/web-ui/docs/cn/cli/terminal-config.md +77 -0
  218. package/cli/dist/web-ui/docs/cn/cli/tools-reference.md +99 -0
  219. package/cli/dist/web-ui/docs/cn/cli/troubleshooting.md +190 -0
  220. package/cli/dist/web-ui/docs/cn/cli/web-ui.md +164 -0
  221. package/cli/dist/web-ui/docs/cn/cli/wecom-bot-setup.md +274 -0
  222. package/cli/dist/web-ui/docs/cn/cli/worktree.md +660 -0
  223. package/cli/dist/web-ui/docs/en/cli/acp.md +126 -0
  224. package/cli/dist/web-ui/docs/en/cli/agent-teams.md +327 -0
  225. package/cli/dist/web-ui/docs/en/cli/bash-sandboxing.md +290 -0
  226. package/cli/dist/web-ui/docs/en/cli/best-practices.md +554 -0
  227. package/cli/dist/web-ui/docs/en/cli/channels-reference.md +293 -0
  228. package/cli/dist/web-ui/docs/en/cli/channels.md +215 -0
  229. package/cli/dist/web-ui/docs/en/cli/checkpointing.md +53 -0
  230. package/cli/dist/web-ui/docs/en/cli/cli-reference.md +187 -0
  231. package/cli/dist/web-ui/docs/en/cli/common-workflows.md +1013 -0
  232. package/cli/dist/web-ui/docs/en/cli/costs.md +174 -0
  233. package/cli/dist/web-ui/docs/en/cli/devcontainer.md +553 -0
  234. package/cli/dist/web-ui/docs/en/cli/env-vars.md +326 -0
  235. package/cli/dist/web-ui/docs/en/cli/gitlab-ci-cd.md +357 -0
  236. package/cli/dist/web-ui/docs/en/cli/headless.md +258 -0
  237. package/cli/dist/web-ui/docs/en/cli/hooks-guide.md +9 -0
  238. package/cli/dist/web-ui/docs/en/cli/hooks.md +801 -0
  239. package/cli/dist/web-ui/docs/en/cli/iam.md +530 -0
  240. package/cli/dist/web-ui/docs/en/cli/ide-integrations.md +92 -0
  241. package/cli/dist/web-ui/docs/en/cli/installation.md +266 -0
  242. package/cli/dist/web-ui/docs/en/cli/interactive-mode.md +233 -0
  243. package/cli/dist/web-ui/docs/en/cli/mcp.md +739 -0
  244. package/cli/dist/web-ui/docs/en/cli/memory.md +436 -0
  245. package/cli/dist/web-ui/docs/en/cli/models.md +355 -0
  246. package/cli/dist/web-ui/docs/en/cli/overview.md +100 -0
  247. package/cli/dist/web-ui/docs/en/cli/plugin-marketplaces.md +534 -0
  248. package/cli/dist/web-ui/docs/en/cli/plugins-reference.md +774 -0
  249. package/cli/dist/web-ui/docs/en/cli/plugins.md +688 -0
  250. package/cli/dist/web-ui/docs/en/cli/quickstart.md +249 -0
  251. package/cli/dist/web-ui/docs/en/cli/release-notes/README.md +194 -0
  252. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.10.0.md +23 -0
  253. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.10.1.md +5 -0
  254. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.11.0.md +24 -0
  255. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.12.0.md +21 -0
  256. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.13.0.md +20 -0
  257. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.14.0.md +22 -0
  258. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.14.1.md +8 -0
  259. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.15.0.md +18 -0
  260. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.15.1.md +11 -0
  261. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.16.0.md +20 -0
  262. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.17.0.md +29 -0
  263. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.18.0.md +17 -0
  264. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.0.md +11 -0
  265. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.1.md +14 -0
  266. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.2.md +11 -0
  267. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.20.0.md +23 -0
  268. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.20.1.md +15 -0
  269. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.21.0.md +13 -0
  270. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.22.0.md +16 -0
  271. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.0.md +41 -0
  272. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.2.md +5 -0
  273. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.3.md +5 -0
  274. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.4.md +15 -0
  275. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.5.md +11 -0
  276. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.24.0.md +17 -0
  277. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.25.0.md +18 -0
  278. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.25.1.md +21 -0
  279. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.26.0.md +18 -0
  280. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.0.md +16 -0
  281. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.1.md +16 -0
  282. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.2.md +7 -0
  283. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.3.md +15 -0
  284. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.28.0.md +26 -0
  285. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.28.1.md +5 -0
  286. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.29.0.md +35 -0
  287. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.3.1.md +16 -0
  288. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.30.0.md +19 -0
  289. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.30.1.md +5 -0
  290. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.0.md +51 -0
  291. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.1.md +11 -0
  292. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.2.md +16 -0
  293. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.32.0.md +19 -0
  294. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.33.0.md +28 -0
  295. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.33.1.md +7 -0
  296. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.34.0.md +27 -0
  297. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.34.1.md +7 -0
  298. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.35.0.md +22 -0
  299. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.0.md +23 -0
  300. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.1.md +5 -0
  301. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.2.md +22 -0
  302. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.3.md +17 -0
  303. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.0.md +15 -0
  304. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.1.md +15 -0
  305. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.10.md +5 -0
  306. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.11.md +8 -0
  307. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.12.md +14 -0
  308. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.13.md +11 -0
  309. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.14.md +24 -0
  310. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.15.md +11 -0
  311. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.16.md +9 -0
  312. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.17.md +5 -0
  313. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.18.md +9 -0
  314. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.19.md +5 -0
  315. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.2.md +28 -0
  316. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.20.md +8 -0
  317. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.3.md +22 -0
  318. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.4.md +19 -0
  319. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.5.md +5 -0
  320. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.6.md +5 -0
  321. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.7.md +5 -0
  322. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.8.md +5 -0
  323. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.9.md +8 -0
  324. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.0.md +22 -0
  325. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.1.md +6 -0
  326. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.2.md +9 -0
  327. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.39.0.md +18 -0
  328. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.4.0.md +19 -0
  329. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.40.0.md +20 -0
  330. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.40.1.md +6 -0
  331. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.0.md +15 -0
  332. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.1.md +6 -0
  333. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.2.md +5 -0
  334. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.3.md +8 -0
  335. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.4.md +5 -0
  336. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.5.md +10 -0
  337. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.6.md +9 -0
  338. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.7.md +14 -0
  339. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.8.md +18 -0
  340. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.0.md +39 -0
  341. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.1.md +8 -0
  342. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.3.md +18 -0
  343. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.43.0.md +27 -0
  344. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.43.1.md +27 -0
  345. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.44.0.md +11 -0
  346. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.44.1.md +22 -0
  347. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.45.0.md +34 -0
  348. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.45.1.md +7 -0
  349. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.46.0.md +12 -0
  350. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.47.0.md +20 -0
  351. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.48.0.md +32 -0
  352. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.48.1.md +11 -0
  353. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.0.md +26 -0
  354. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.1.md +14 -0
  355. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.2.md +39 -0
  356. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.3.md +7 -0
  357. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.5.md +11 -0
  358. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.6.md +9 -0
  359. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.7.md +7 -0
  360. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.5.0.md +24 -0
  361. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.0.md +25 -0
  362. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.1.md +9 -0
  363. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.2.md +11 -0
  364. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.3.md +5 -0
  365. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.4.md +17 -0
  366. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.5.md +16 -0
  367. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.6.md +15 -0
  368. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.7.md +15 -0
  369. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.0.md +24 -0
  370. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.1.md +17 -0
  371. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.2.md +5 -0
  372. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.0.md +30 -0
  373. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.1.md +28 -0
  374. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.2.md +12 -0
  375. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.3.md +13 -0
  376. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.4.md +27 -0
  377. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.5.md +21 -0
  378. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.6.md +7 -0
  379. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.53.0.md +29 -0
  380. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.54.0.md +26 -0
  381. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.55.0.md +21 -0
  382. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.55.1.md +13 -0
  383. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.56.0.md +20 -0
  384. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.56.1.md +5 -0
  385. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.57.0.md +32 -0
  386. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.57.1.md +10 -0
  387. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.58.0.md +34 -0
  388. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.59.0.md +28 -0
  389. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.6.0.md +5 -0
  390. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.6.1.md +10 -0
  391. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.60.0.md +20 -0
  392. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.0.md +29 -0
  393. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.1.md +5 -0
  394. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.2.md +6 -0
  395. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.3.md +13 -0
  396. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.62.0.md +21 -0
  397. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.62.1.md +11 -0
  398. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.0.md +19 -0
  399. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.1.md +5 -0
  400. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.2.md +7 -0
  401. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.3.md +6 -0
  402. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.4.md +8 -0
  403. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.5.md +6 -0
  404. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.0.md +37 -0
  405. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.1.md +6 -0
  406. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.2.md +11 -0
  407. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.65.0.md +19 -0
  408. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.65.1.md +11 -0
  409. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.0.md +15 -0
  410. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.1.md +14 -0
  411. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.2.md +5 -0
  412. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.67.0.md +33 -0
  413. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.68.0.md +28 -0
  414. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.7.0.md +16 -0
  415. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.0.md +18 -0
  416. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.1.md +17 -0
  417. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.2.md +5 -0
  418. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.3.md +14 -0
  419. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.4.md +9 -0
  420. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.5.md +5 -0
  421. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.6.md +14 -0
  422. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.9.0.md +5 -0
  423. package/cli/dist/web-ui/docs/en/cli/remote-control.md +247 -0
  424. package/cli/dist/web-ui/docs/en/cli/sandboxing.md +316 -0
  425. package/cli/dist/web-ui/docs/en/cli/scheduled-tasks.md +160 -0
  426. package/cli/dist/web-ui/docs/en/cli/sdk-custom-tools.md +1131 -0
  427. package/cli/dist/web-ui/docs/en/cli/sdk-demos.md +347 -0
  428. package/cli/dist/web-ui/docs/en/cli/sdk-hooks.md +813 -0
  429. package/cli/dist/web-ui/docs/en/cli/sdk-mcp.md +645 -0
  430. package/cli/dist/web-ui/docs/en/cli/sdk-permissions.md +461 -0
  431. package/cli/dist/web-ui/docs/en/cli/sdk-python.md +783 -0
  432. package/cli/dist/web-ui/docs/en/cli/sdk-sessions.md +340 -0
  433. package/cli/dist/web-ui/docs/en/cli/sdk-typescript.md +759 -0
  434. package/cli/dist/web-ui/docs/en/cli/sdk.md +1103 -0
  435. package/cli/dist/web-ui/docs/en/cli/security.md +387 -0
  436. package/cli/dist/web-ui/docs/en/cli/settings.md +602 -0
  437. package/cli/dist/web-ui/docs/en/cli/skills.md +448 -0
  438. package/cli/dist/web-ui/docs/en/cli/slash-commands.md +397 -0
  439. package/cli/dist/web-ui/docs/en/cli/statusline.md +525 -0
  440. package/cli/dist/web-ui/docs/en/cli/sub-agents.md +621 -0
  441. package/cli/dist/web-ui/docs/en/cli/terminal-config.md +77 -0
  442. package/cli/dist/web-ui/docs/en/cli/tools-reference.md +99 -0
  443. package/cli/dist/web-ui/docs/en/cli/troubleshooting.md +190 -0
  444. package/cli/dist/web-ui/docs/en/cli/web-ui.md +164 -0
  445. package/cli/dist/web-ui/docs/en/cli/wecom-bot-setup.md +274 -0
  446. package/cli/dist/web-ui/docs/en/cli/worktree.md +660 -0
  447. package/cli/dist/web-ui/docs/search-index-en.json +1 -0
  448. package/cli/dist/web-ui/docs/search-index-zh.json +1 -0
  449. package/cli/dist/web-ui/docs/sidebar-en.json +1 -0
  450. package/cli/dist/web-ui/docs/sidebar-zh.json +1 -0
  451. package/cli/dist/web-ui/index.html +2 -2
  452. package/cli/package.json +1 -1
  453. package/cli/product.cloudhosted.json +2 -2
  454. package/cli/product.internal.json +2 -2
  455. package/cli/product.ioa.json +2 -2
  456. package/cli/product.json +4 -3
  457. package/cli/product.selfhosted.json +2 -2
  458. package/lib/query.d.ts.map +1 -1
  459. package/lib/query.js +5 -1
  460. package/lib/query.js.map +1 -1
  461. package/lib/transport/index.d.ts +1 -1
  462. package/lib/transport/index.d.ts.map +1 -1
  463. package/lib/transport/process-transport.d.ts +1 -1
  464. package/lib/transport/process-transport.d.ts.map +1 -1
  465. package/lib/transport/process-transport.js +5 -1
  466. package/lib/transport/process-transport.js.map +1 -1
  467. package/lib/types.d.ts +3 -0
  468. package/lib/types.d.ts.map +1 -1
  469. package/package.json +1 -1
  470. package/cli/dist/web-ui/assets/index-BPT-qRRx.js +0 -411
  471. package/cli/dist/web-ui/assets/index-f_ibHSHw.css +0 -32
@@ -0,0 +1,1013 @@
1
+ # Common Workflows
2
+
3
+ > Learn common workflows for CodeBuddy Code.
4
+
5
+ Each task in this document includes clear instructions, example commands, and best practices to help you get the most out of CodeBuddy Code.
6
+
7
+ ## Understanding a New Codebase
8
+
9
+ ### Getting a Quick Overview of the Codebase
10
+
11
+ Suppose you've just joined a new project and need to quickly understand its structure.
12
+
13
+ **Steps:**
14
+
15
+ 1. **Navigate to the project root directory**
16
+ ```bash
17
+ cd /path/to/project
18
+ ```
19
+
20
+ 2. **Start CodeBuddy Code**
21
+ ```bash
22
+ codebuddy
23
+ ```
24
+
25
+ 3. **Ask for a high-level overview**
26
+ ```
27
+ > Give me an overview of this codebase
28
+ ```
29
+
30
+ 4. **Dive into specific components**
31
+ ```
32
+ > Explain the main architectural patterns used here
33
+ ```
34
+
35
+ ```
36
+ > What are the key data models?
37
+ ```
38
+
39
+ ```
40
+ > How is authentication handled?
41
+ ```
42
+
43
+ **Best Practices:**
44
+
45
+ - Start with macro-level questions, then narrow down to specific areas
46
+ - Ask about coding conventions and patterns used in the project
47
+ - Request a glossary of project-specific terminology
48
+
49
+ ### Finding Relevant Code
50
+
51
+ Suppose you need to locate code related to a specific feature.
52
+
53
+ **Steps:**
54
+
55
+ 1. **Ask CodeBuddy to find relevant files**
56
+ ```
57
+ > Find the files that handle user authentication
58
+ ```
59
+
60
+ 2. **Understand how components interact**
61
+ ```
62
+ > How do these authentication files work together?
63
+ ```
64
+
65
+ 3. **Understand the execution flow**
66
+ ```
67
+ > Trace the login process from frontend to database
68
+ ```
69
+
70
+ **Best Practices:**
71
+
72
+ - Be specific about what you're looking for
73
+ - Use domain language from the project
74
+
75
+
76
+ ## Refactoring Code
77
+
78
+ Suppose you need to update legacy code to use modern patterns and practices.
79
+
80
+ **Steps:**
81
+
82
+ 1. **Identify legacy code that needs refactoring**
83
+ ```
84
+ > Find deprecated API usage in the codebase
85
+ ```
86
+
87
+ 2. **Get refactoring suggestions**
88
+ ```
89
+ > Suggest how to refactor utils.js to use modern JavaScript features
90
+ ```
91
+
92
+ 3. **Apply changes safely**
93
+ ```
94
+ > Refactor utils.js to use ES2024 features while maintaining the same behavior
95
+ ```
96
+
97
+ 4. **Verify the refactoring**
98
+ ```
99
+ > Run tests for the refactored code
100
+ ```
101
+
102
+ **Best Practices:**
103
+
104
+ - Ask CodeBuddy to explain the benefits of modern approaches
105
+ - Request that changes maintain backward compatibility when needed
106
+ - Refactor in small, testable increments
107
+
108
+ ---
109
+
110
+ ## Using Specialized Subagents
111
+
112
+ Suppose you want to use specialized AI subagents to handle specific tasks more effectively.
113
+
114
+ **Steps:**
115
+
116
+ 1. **View available subagents**
117
+ ```
118
+ > /agents
119
+ ```
120
+
121
+ This displays all available subagents and lets you create new ones.
122
+
123
+ 2. **Automatic use of subagents**
124
+ CodeBuddy Code automatically delegates appropriate tasks to specialized subagents:
125
+
126
+ ```
127
+ > Review my recent code changes for security issues
128
+ ```
129
+
130
+ ```
131
+ > Run all tests and fix any failures
132
+ ```
133
+
134
+ 3. **Explicitly request specific subagents**
135
+ ```
136
+ > Use the code review subagent to check the authentication module
137
+ ```
138
+
139
+ ```
140
+ > Have the debugger subagent investigate why users can't log in
141
+ ```
142
+
143
+ 4. **Create custom subagents for your workflow**
144
+ ```
145
+ > /agents
146
+ ```
147
+
148
+ Then select "Create New Subagent" and follow the prompts to define:
149
+
150
+ - Subagent type (e.g., `api-designer`, `performance-optimizer`)
151
+ - When to use it
152
+ - What tools it has access to
153
+ - Its specialized system prompt
154
+
155
+ **Best Practices:**
156
+
157
+ - Create project-specific subagents in `.codebuddy/agents/` for team sharing
158
+ - Use descriptive `description` fields to enable automatic delegation
159
+ - Limit tool access to what each subagent actually needs
160
+ - See the [subagents documentation](./sub-agents.md) for detailed examples
161
+
162
+ ---
163
+
164
+ ## Using Plan Mode for Safe Code Analysis
165
+
166
+ Plan mode instructs CodeBuddy to create a plan by analyzing the codebase through read-only operations, perfect for exploring codebases, planning complex changes, or safely reviewing code.
167
+
168
+ ### When to Use Plan Mode
169
+
170
+ - **Multi-step implementation**: When your feature requires editing many files
171
+ - **Code exploration**: When you want to thoroughly research the codebase before changing anything
172
+ - **Interactive development**: When you want to iterate with CodeBuddy on the direction
173
+
174
+ ### How to Use Plan Mode
175
+
176
+ **Enable plan mode during a session**
177
+
178
+ You can toggle to plan mode during a session using the shortcut key to toggle permission modes:
179
+ - **macOS/Linux**: Press **Shift+Tab**
180
+ - **Windows**: Press **Alt+M**
181
+
182
+ If you're in normal mode, pressing the shortcut will first toggle to auto-accept mode, showing `⏵⏵ accept edits on` at the bottom of the terminal. Pressing it again will toggle to plan mode, showing `⏸ plan mode on`.
183
+
184
+ **Start a new session in plan mode**
185
+
186
+ To start a new session in plan mode, use the `--permission-mode plan` parameter:
187
+
188
+ ```bash
189
+ codebuddy --permission-mode plan
190
+ ```
191
+
192
+ **Run "headless" queries in plan mode**
193
+
194
+ You can also run queries directly in plan mode using `-p` (i.e., in ["headless mode"](./headless.md)):
195
+
196
+ ```bash
197
+ codebuddy --permission-mode plan -p "Analyze the authentication system and suggest improvements"
198
+ ```
199
+
200
+ ### Example: Planning a Complex Refactoring
201
+
202
+ ```bash
203
+ codebuddy --permission-mode plan
204
+ ```
205
+
206
+ ```
207
+ > I need to refactor our authentication system to use OAuth2. Create a detailed migration plan.
208
+ ```
209
+
210
+ CodeBuddy will analyze the current implementation and create a comprehensive plan. Use follow-up questions to refine:
211
+
212
+ ```
213
+ > What about backward compatibility?
214
+ > How should we handle database migrations?
215
+ ```
216
+
217
+ ### Configure Plan Mode as Default
218
+
219
+ ```json
220
+ // .codebuddy/settings.json
221
+ {
222
+ "permissions": {
223
+ "defaultMode": "plan"
224
+ }
225
+ }
226
+ ```
227
+
228
+ See the [settings documentation](./settings.md#available-settings) for more configuration options.
229
+
230
+ ---
231
+
232
+ ## Working with Tests
233
+
234
+ Suppose you need to add tests for uncovered code.
235
+
236
+ **Steps:**
237
+
238
+ 1. **Identify untested code**
239
+ ```
240
+ > Find functions in NotificationsService.swift that aren't covered by tests
241
+ ```
242
+
243
+ 2. **Generate test scaffolding**
244
+ ```
245
+ > Add tests for the notification service
246
+ ```
247
+
248
+ 3. **Add meaningful test cases**
249
+ ```
250
+ > Add test cases for edge conditions in the notification service
251
+ ```
252
+
253
+ 4. **Run and verify tests**
254
+ ```
255
+ > Run the new tests and fix any failures
256
+ ```
257
+
258
+ **Best Practices:**
259
+
260
+ - Request tests that cover edge cases and error conditions
261
+ - Request both unit tests and integration tests when appropriate
262
+ - Have CodeBuddy explain the testing strategy
263
+
264
+ ---
265
+
266
+ ## Creating Merge Requests
267
+
268
+ Suppose you need to create a well-documented merge request for your changes.
269
+
270
+ **Steps:**
271
+
272
+ 1. **Summarize your changes**
273
+ ```
274
+ > Summarize the changes I made to the authentication module
275
+ ```
276
+
277
+ 2. **Use CodeBuddy to generate the MR**
278
+ ```
279
+ > Create an MR
280
+ ```
281
+
282
+ 3. **Review and refine**
283
+ ```
284
+ > Enhance the MR description with more context about security improvements
285
+ ```
286
+
287
+ 4. **Add test details**
288
+ ```
289
+ > Add information about how to test these changes
290
+ ```
291
+
292
+ **Best Practices:**
293
+
294
+ - Have CodeBuddy create the MR directly for you
295
+ - Review the CodeBuddy-generated MR before submitting
296
+ - Have CodeBuddy highlight potential risks or considerations
297
+
298
+ ---
299
+
300
+ ## Working with Documentation
301
+
302
+ Suppose you need to add or update documentation for your code.
303
+
304
+ **Steps:**
305
+
306
+ 1. **Identify undocumented code**
307
+ ```
308
+ > Find functions in the authentication module without proper JSDoc comments
309
+ ```
310
+
311
+ 2. **Generate documentation**
312
+ ```
313
+ > Add JSDoc comments for undocumented functions in auth.js
314
+ ```
315
+
316
+ 3. **Review and enhance**
317
+ ```
318
+ > Improve the generated documentation with more context and examples
319
+ ```
320
+
321
+ 4. **Verify documentation**
322
+ ```
323
+ > Check if the documentation meets our project standards
324
+ ```
325
+
326
+ **Best Practices:**
327
+
328
+ - Specify the documentation style you want (JSDoc, docstrings, etc.)
329
+ - Request examples in the documentation
330
+ - Request documentation for public APIs, interfaces, and complex logic
331
+
332
+ ---
333
+
334
+ ## Working with Images
335
+
336
+ Suppose you need to work with images in your codebase and want CodeBuddy to help analyze image content.
337
+
338
+ **Steps:**
339
+
340
+ 1. **Add an image to the conversation**
341
+ You can use any of these methods:
342
+
343
+ 1. Drag and drop the image into the CodeBuddy Code window
344
+ 2. Copy the image and paste it into the CLI with ctrl+v (don't use cmd+v)
345
+ 3. Provide CodeBuddy with the image path. For example: "Analyze this image: /path/to/your/image.png"
346
+
347
+ 2. **Have CodeBuddy analyze the image**
348
+ ```
349
+ > What does this image show?
350
+ ```
351
+
352
+ ```
353
+ > Describe the UI elements in this screenshot
354
+ ```
355
+
356
+ ```
357
+ > Are there any problematic elements in this diagram?
358
+ ```
359
+
360
+ 3. **Use images to provide context**
361
+ ```
362
+ > This is a screenshot of an error. What's causing it?
363
+ ```
364
+
365
+ ```
366
+ > This is our current database schema. How should we modify it for the new feature?
367
+ ```
368
+
369
+ 4. **Get code suggestions from visual content**
370
+ ```
371
+ > Generate CSS that matches this design mockup
372
+ ```
373
+
374
+ ```
375
+ > What HTML structure could reproduce this component?
376
+ ```
377
+
378
+ **Best Practices:**
379
+
380
+ - Use images when text descriptions are unclear or cumbersome
381
+ - Include screenshots of errors, UI designs, or diagrams for better context
382
+ - You can work with multiple images in a conversation
383
+ - Image analysis works with diagrams, screenshots, mockups, etc.
384
+
385
+ ---
386
+
387
+ ## Referencing Files and Directories
388
+
389
+ Use @ to quickly include files or directories without waiting for CodeBuddy to read them.
390
+
391
+ **Steps:**
392
+
393
+ 1. **Reference a single file**
394
+ ```
395
+ > Explain the logic in @src/utils/auth.js
396
+ ```
397
+
398
+ This includes the full content of the file in the conversation.
399
+
400
+ 2. **Reference a directory**
401
+ ```
402
+ > What is the structure of @src/components?
403
+ ```
404
+
405
+ This provides a directory listing with file information.
406
+
407
+ 3. **Reference MCP resources (not yet supported)**
408
+ ```
409
+ > Show data from @github:repos/owner/repo/issues
410
+ ```
411
+
412
+ This fetches data from connected MCP servers using the @server:resource format. See [MCP resources](./mcp.md) for details.
413
+
414
+ **Best Practices:**
415
+
416
+ - File paths can be relative or absolute
417
+ - @ file references add the CODEBUDDY.md from the file's directory and parent directory to the context
418
+ - Directory references show file listings, not content
419
+ - You can reference multiple files in a single message (e.g., "@file1.js and @file2.js")
420
+
421
+ ---
422
+
423
+ ## Using Extended Thinking
424
+
425
+ Suppose you're working on complex architectural decisions, challenging bugs, or multi-step implementation planning that requires deep reasoning.
426
+
427
+ > **Note**: Thinking mode is disabled by default in CodeBuddy Code. You can enable thinking on-demand using `Tab`, or with prompts like "think" or "think deeply".
428
+
429
+ **Steps:**
430
+
431
+ 1. **Provide context and let CodeBuddy think**
432
+ ```
433
+ > I need to implement a new authentication system for our API using OAuth2. Think deeply about the best way to implement this in the codebase.
434
+ ```
435
+
436
+ CodeBuddy will gather relevant information from the codebase and use extended thinking, which will be visible in the interface.
437
+
438
+ 2. **Refine thinking with follow-up prompts**
439
+ ```
440
+ > Think about potential security vulnerabilities with this approach
441
+ ```
442
+
443
+ ```
444
+ > Think deeply about edge cases we should handle
445
+ ```
446
+
447
+ **Tips for getting the most from extended thinking:**
448
+
449
+ Extended thinking is most valuable for complex tasks such as:
450
+
451
+ - Planning complex architectural changes
452
+ - Debugging sophisticated issues
453
+ - Creating implementation plans for new features
454
+ - Understanding complex codebases
455
+ - Evaluating trade-offs between different approaches
456
+
457
+ Use `Tab` to enable and disable thinking during a session.
458
+
459
+ The way you prompt for thinking leads to different depths of thinking:
460
+
461
+ - "think" triggers basic extended thinking
462
+ - Reinforcing phrases like "think deeply", "think more", "think longer" trigger deeper thinking
463
+
464
+ > **Note**: CodeBuddy displays its thinking process in italicized gray text above the response.
465
+
466
+ ---
467
+
468
+ ## Resuming Previous Conversations
469
+
470
+ Suppose you've been working on a task with CodeBuddy Code and need to continue your previous work in a later session.
471
+
472
+ CodeBuddy Code provides two options for resuming previous conversations:
473
+
474
+ - `--continue` automatically continues the most recent conversation
475
+ - `--resume` displays a conversation selector
476
+
477
+ **Steps:**
478
+
479
+ 1. **Continue the most recent conversation**
480
+ ```bash
481
+ codebuddy --continue
482
+ ```
483
+
484
+ This immediately resumes your most recent conversation without any prompts.
485
+
486
+ 2. **Continue in non-interactive mode**
487
+ ```bash
488
+ codebuddy --continue --print "Continue my task"
489
+ ```
490
+
491
+ Use `--print` with `--continue` in non-interactive mode to resume the most recent conversation, perfect for scripts or automation.
492
+
493
+ 3. **Display the conversation selector**
494
+ ```bash
495
+ codebuddy --resume
496
+ ```
497
+
498
+ This displays an interactive conversation selector with a clear list view showing:
499
+
500
+ - Session summary (or initial prompt)
501
+ - Metadata: elapsed time, message count, and git branch
502
+
503
+ Use arrow keys to navigate and press Enter to select a conversation. Press Esc to exit.
504
+
505
+ **Best Practices:**
506
+
507
+ - Conversation history is stored on your local machine
508
+ - Use `--continue` for quick access to the most recent conversation
509
+ - Use `--resume` when you need to select a specific past conversation
510
+ - When resuming, you'll see the entire conversation history before continuing
511
+ - Resumed conversations start with the same model and configuration as the original
512
+
513
+ **How it works:**
514
+
515
+ 1. **Conversation storage**: All conversations are automatically saved locally with complete message history
516
+ 2. **Message deserialization**: When resuming, the entire message history is restored to maintain context
517
+ 3. **Tool state**: Tool usage and results from previous conversations are preserved
518
+ 4. **Context restoration**: The conversation resumes with all previous context intact
519
+
520
+ **Examples:**
521
+
522
+ ```bash
523
+ # Continue the most recent conversation
524
+ codebuddy --continue
525
+
526
+ # Continue the most recent conversation with a specific prompt
527
+ codebuddy --continue --print "Show our progress"
528
+
529
+ # Display the conversation selector
530
+ codebuddy --resume
531
+
532
+ # Continue the most recent conversation in non-interactive mode
533
+ codebuddy --continue --print "Run tests again"
534
+ ```
535
+
536
+ ---
537
+
538
+ ## Running Parallel CodeBuddy Code Sessions with Git Worktrees
539
+
540
+ Suppose you need to work on multiple tasks simultaneously with complete code isolation between CodeBuddy Code instances.
541
+
542
+ **Steps:**
543
+
544
+ 1. **Understand Git worktrees**
545
+ Git worktrees allow you to check out multiple branches of the same repository into separate directories. Each worktree has its own working directory and isolated files while sharing the same Git history. Learn more in the [official Git worktree documentation](https://git-scm.com/docs/git-worktree).
546
+
547
+ 2. **Create a new worktree**
548
+ ```bash
549
+ # Create a new worktree with a new branch
550
+ git worktree add ../project-feature-a -b feature-a
551
+
552
+ # Or create a worktree with an existing branch
553
+ git worktree add ../project-bugfix bugfix-123
554
+ ```
555
+
556
+ This creates a new directory containing a separate working copy of the repository.
557
+
558
+ 3. **Run CodeBuddy Code in each worktree**
559
+ ```bash
560
+ # Navigate to your worktree
561
+ cd ../project-feature-a
562
+
563
+ # Run CodeBuddy Code in this isolated environment
564
+ codebuddy
565
+ ```
566
+
567
+ 4. **Run CodeBuddy in another worktree**
568
+ ```bash
569
+ cd ../project-bugfix
570
+ codebuddy
571
+ ```
572
+
573
+ 5. **Manage your worktrees**
574
+ ```bash
575
+ # List all worktrees
576
+ git worktree list
577
+
578
+ # Remove a worktree when done
579
+ git worktree remove ../project-feature-a
580
+ ```
581
+
582
+ **Best Practices:**
583
+
584
+ - Each worktree has its own independent file state, perfect for parallel CodeBuddy Code sessions
585
+ - Changes in one worktree don't affect others, preventing CodeBuddy instances from interfering with each other
586
+ - All worktrees share the same Git history and remote connections
587
+ - For long-running tasks, you can let CodeBuddy work in one worktree while continuing development in another
588
+ - Use descriptive directory names to easily identify which task each worktree is for
589
+ - Remember to initialize the development environment in each new worktree according to your project setup. Depending on your tech stack, this might include:
590
+ - JavaScript projects: Run dependency installation (`npm install`, `yarn`)
591
+ - Python projects: Set up virtual environments or install with package managers
592
+ - Other languages: Follow your project's standard setup process
593
+
594
+ ---
595
+
596
+ ## Using CodeBuddy as a Unix-Style Utility
597
+
598
+ ### Adding CodeBuddy to Validation Workflows
599
+
600
+ Suppose you want to use CodeBuddy Code as a linter or code reviewer.
601
+
602
+ **Add CodeBuddy to build scripts:**
603
+
604
+ ```json
605
+ // package.json
606
+ {
607
+ ...
608
+ "scripts": {
609
+ ...
610
+ "lint:codebuddy": "codebuddy -p 'You are a linter. Review changes relative to main and report any issues related to typos. Report filename and line number on one line, and issue description on the second line. Do not return any other text.'"
611
+ }
612
+ }
613
+ ```
614
+
615
+ **Best Practices:**
616
+
617
+ - Use CodeBuddy in CI/CD pipelines for automated code reviews
618
+ - Customize prompts to check for project-specific issues
619
+ - Consider creating multiple scripts for different types of validation
620
+
621
+ ### Piping Input and Output
622
+
623
+ Suppose you want to pipe data to CodeBuddy and get data in a structured format.
624
+
625
+ **Pipe data through CodeBuddy:**
626
+
627
+ ```bash
628
+ cat build-error.txt | codebuddy -p 'Concisely explain the root cause of this build error' > output.txt
629
+ ```
630
+
631
+ **Best Practices:**
632
+
633
+ - Use piping to integrate CodeBuddy into existing shell scripts
634
+ - Combine with other Unix tools for powerful workflows
635
+ - Consider using --output-format for structured output
636
+
637
+ ### Controlling Output Format
638
+
639
+ Suppose you need CodeBuddy's output in a specific format, especially when integrating CodeBuddy Code into scripts or other tools.
640
+
641
+ **Steps:**
642
+
643
+ 1. **Use text format (default)**
644
+ ```bash
645
+ cat data.txt | codebuddy -p 'Summarize this data' --output-format text > summary.txt
646
+ ```
647
+
648
+ This outputs only the plain text response from CodeBuddy (default behavior).
649
+
650
+ 2. **Use JSON format**
651
+ ```bash
652
+ cat code.py | codebuddy -p 'Analyze this code for bugs' --output-format json > analysis.json
653
+ ```
654
+
655
+ This outputs a JSON array of messages including metadata (including cost and duration).
656
+
657
+ 3. **Use streaming JSON format**
658
+ ```bash
659
+ cat log.txt | codebuddy -p 'Parse this log file for errors' --output-format stream-json
660
+ ```
661
+
662
+ This outputs a series of JSON objects in real-time as CodeBuddy processes the request. Each message is a valid JSON object, but the entire output is not valid JSON if concatenated.
663
+
664
+ **Best Practices:**
665
+
666
+ - Use `--output-format text` for simple integrations that only need CodeBuddy's response
667
+ - Use `--output-format json` when you need the complete conversation log
668
+ - Use `--output-format stream-json` for real-time output per conversation turn
669
+
670
+ ---
671
+
672
+ ## Creating Custom Slash Commands
673
+
674
+ CodeBuddy Code supports custom slash commands that you can create to quickly execute specific prompts or tasks.
675
+
676
+ See the [slash commands](./slash-commands.md) reference page for more details.
677
+
678
+ ### Creating Project-Specific Commands
679
+
680
+ Suppose you want to create reusable slash commands for your project that all team members can use.
681
+
682
+ **Steps:**
683
+
684
+ 1. **Create a commands directory in your project**
685
+ ```bash
686
+ mkdir -p .codebuddy/commands
687
+ ```
688
+
689
+ 2. **Create a Markdown file for each command**
690
+ ```bash
691
+ echo "Analyze this code for performance and suggest three specific optimizations:" > .codebuddy/commands/optimize.md
692
+ ```
693
+
694
+ 3. **Use the custom command in CodeBuddy Code**
695
+ ```
696
+ > /optimize
697
+ ```
698
+
699
+ **Best Practices:**
700
+
701
+ - Command names come from the filename (e.g., `optimize.md` becomes `/optimize`)
702
+ - You can organize commands in subdirectories (e.g., `.codebuddy/commands/frontend/component.md` creates `/component` with "(project:frontend)" shown in the description)
703
+ - Project commands are available to everyone who clones the repository
704
+ - The Markdown file content becomes the prompt sent to CodeBuddy when the command is invoked
705
+
706
+ ### Adding Command Arguments with $ARGUMENTS
707
+
708
+ Suppose you want to create flexible slash commands that can accept additional user input.
709
+
710
+ **Steps:**
711
+
712
+ 1. **Create a command file with $ARGUMENTS placeholder**
713
+ ```bash
714
+ echo 'Find and fix issue #$ARGUMENTS. Follow these steps: 1. Understand the issue described in the ticket 2. Locate relevant code in the codebase 3. Implement a solution that addresses the root cause 4. Add appropriate tests 5. Prepare a concise MR description' > .codebuddy/commands/fix-issue.md
715
+ ```
716
+
717
+ 2. **Use the command with an issue number**
718
+ In a CodeBuddy session, use the command with an argument.
719
+
720
+ ```
721
+ > /fix-issue 123
722
+ ```
723
+
724
+ This replaces $ARGUMENTS in the prompt with "123".
725
+
726
+ **Best Practices:**
727
+
728
+ - The $ARGUMENTS placeholder is replaced by any text after the command
729
+ - You can place $ARGUMENTS anywhere in your command template
730
+ - Other useful applications: generating test cases for specific functions, creating documentation for components, reviewing code in specific files, or translating content to specified languages
731
+
732
+ ### Creating Personal Slash Commands
733
+
734
+ Suppose you want to create personal slash commands that work across all your projects.
735
+
736
+ **Steps:**
737
+
738
+ 1. **Create a commands directory in your home directory**
739
+ ```bash
740
+ mkdir -p ~/.codebuddy/commands
741
+ ```
742
+
743
+ 2. **Create a Markdown file for each command**
744
+ ```bash
745
+ echo "Review this code for security vulnerabilities, focusing on:" > ~/.codebuddy/commands/security-review.md
746
+ ```
747
+
748
+ 3. **Use your personal custom command**
749
+ ```
750
+ > /security-review
751
+ ```
752
+
753
+ **Best Practices:**
754
+
755
+ - When listed with `/help`, personal commands show "(user)" in the description
756
+ - Personal commands are only available to you and not shared with the team
757
+ - Personal commands work across all projects
758
+ - You can use these commands to maintain consistent workflows across different codebases
759
+
760
+ ---
761
+
762
+ ## Having CodeBuddy Code Help with Configuration Directly
763
+
764
+ Suppose you need to configure Bash timeouts, create custom Skills, set up Git Hooks, or adjust various CodeBuddy behaviors, but don't want to spend time looking up documentation or manually editing configuration files.
765
+
766
+ **Steps:**
767
+
768
+ 1. **Directly ask how to configure**
769
+ ```
770
+ > Referring to the CodeBuddy Code official documentation, how do I configure the timeout for Bash commands?
771
+ ```
772
+
773
+ CodeBuddy will consult the official documentation and explain the specific configuration method, including:
774
+ - Location of the configuration file
775
+ - Specific configuration item names and formats
776
+ - Available configuration options and defaults
777
+ - How the configuration takes effect
778
+
779
+ 2. **Have CodeBuddy complete the configuration for you**
780
+ ```
781
+ > Referring to the CodeBuddy Code official documentation, change the Bash timeout to 30 minutes
782
+ ```
783
+
784
+ CodeBuddy will:
785
+ - Find the current configuration file
786
+ - Modify the configuration according to official recommendations
787
+ - Verify the configuration syntax is correct
788
+ - Indicate how the configuration takes effect (e.g., if restart is needed)
789
+
790
+ 3. **Adjust output language and format**
791
+ ```
792
+ > Referring to the CodeBuddy Code official documentation, how do I adjust the output to Chinese?
793
+ ```
794
+
795
+ CodeBuddy will explain:
796
+ - How to configure language preferences in user-level or project-level CODEBUDDY.md
797
+ - Specific configuration examples and syntax
798
+ - Configuration priority and inheritance rules
799
+ - How to verify if the configuration is effective
800
+
801
+ ```
802
+ > Referring to the CodeBuddy Code official documentation, how can I make CodeBuddy's responses more concise?
803
+ ```
804
+
805
+ 4. **Create custom Skills**
806
+ ```
807
+ > Referring to the CodeBuddy Code official documentation, help me create a PDF processing Skill
808
+ ```
809
+
810
+ CodeBuddy will:
811
+ - Create the `.codebuddy/skills/pdf/` directory
812
+ - Generate a `SKILL.md` file that complies with official specifications
813
+ - Configure appropriate tool permissions
814
+ - Add necessary metadata and descriptions
815
+ - Provide usage examples
816
+
817
+ 5. **Configure Git Hooks**
818
+ ```
819
+ > Referring to the CodeBuddy Code official documentation, configure a Git pre-commit code check Hook
820
+ ```
821
+
822
+ CodeBuddy will create appropriate Hook configurations based on your project type, including:
823
+ - Hook trigger timing and conditions
824
+ - Specific commands executed by the Hook
825
+ - Error handling and logging
826
+ - How to temporarily skip the Hook
827
+
828
+ 6. **Configure MCP servers**
829
+ ```
830
+ > Referring to the CodeBuddy Code official documentation, how do I configure a GitHub MCP server?
831
+ ```
832
+
833
+ CodeBuddy will:
834
+ - Explain how MCP works
835
+ - Generate configuration files
836
+ - Configure authentication information
837
+ - Test if the connection is working
838
+
839
+ 7. **Verify configuration**
840
+ ```
841
+ > Referring to the CodeBuddy Code official documentation, check if my Bash timeout configuration is correct
842
+ ```
843
+
844
+ ```
845
+ > Referring to the CodeBuddy Code official documentation, verify my MCP server configuration
846
+ ```
847
+
848
+ **Best Practices:**
849
+
850
+ - Directly tell CodeBuddy what you want, with the "Referring to the CodeBuddy Code official documentation" prefix to ensure accurate information
851
+ - Let CodeBuddy generate configuration files rather than writing them manually to avoid syntax errors
852
+ - Have CodeBuddy verify correctness after configuration to ensure it takes effect
853
+ - Ask about configuration priority and inheritance rules to understand complex configuration scenarios
854
+ - Only consult more in-depth documentation or contact technical support if CodeBuddy can't resolve it
855
+
856
+ **Common configuration examples:**
857
+
858
+ ```
859
+ > Referring to the CodeBuddy Code official documentation, help me create a user-level Skill for code review
860
+ ```
861
+
862
+ ```
863
+ > Referring to the CodeBuddy Code official documentation, how do I set the default permission mode to plan mode?
864
+ ```
865
+
866
+ ```
867
+ > Referring to the CodeBuddy Code official documentation, create a custom slash command to run tests
868
+ ```
869
+
870
+ ```
871
+ > Referring to the CodeBuddy Code official documentation, how do I use Git Worktree with CodeBuddy Code?
872
+ ```
873
+
874
+ ```
875
+ > Referring to the CodeBuddy Code official documentation, how do I configure custom model providers?
876
+ ```
877
+
878
+ ```
879
+ > Referring to the CodeBuddy Code official documentation, how do I disable certain tool usage?
880
+ ```
881
+
882
+ ```
883
+ > Referring to the CodeBuddy Code official documentation, how do I configure a proxy server?
884
+ ```
885
+
886
+ ```
887
+ > Referring to the CodeBuddy Code official documentation, how do I customize tool usage keyboard shortcuts?
888
+ ```
889
+ ---
890
+
891
+ ## Asking CodeBuddy About Its Features
892
+
893
+ CodeBuddy has built-in access to its official documentation and can answer questions about its own capabilities, limitations, and best practices. When asking, include the "Referring to the CodeBuddy Code official documentation" prefix to ensure you get accurate official information.
894
+
895
+ **Feature query examples:**
896
+
897
+ ```
898
+ > Referring to the CodeBuddy Code official documentation, can CodeBuddy Code create merge requests?
899
+ ```
900
+
901
+ ```
902
+ > Referring to the CodeBuddy Code official documentation, how does CodeBuddy Code handle permissions?
903
+ ```
904
+
905
+ ```
906
+ > Referring to the CodeBuddy Code official documentation, what slash commands are available?
907
+ ```
908
+
909
+ ```
910
+ > Referring to the CodeBuddy Code official documentation, how do I use MCP in CodeBuddy Code?
911
+ ```
912
+
913
+ ```
914
+ > Referring to the CodeBuddy Code official documentation, how do I configure CodeBuddy Code for Amazon Bedrock?
915
+ ```
916
+
917
+ ```
918
+ > Referring to the CodeBuddy Code official documentation, what are CodeBuddy Code's limitations?
919
+ ```
920
+
921
+ **Configuration and integration queries:**
922
+
923
+ ```
924
+ > Referring to the CodeBuddy Code official documentation, how do I adjust the output to Chinese?
925
+ ```
926
+
927
+ ```
928
+ > Referring to the CodeBuddy Code official documentation, how do I configure a proxy server?
929
+ ```
930
+
931
+ ```
932
+ > Referring to the CodeBuddy Code official documentation, which model providers are supported?
933
+ ```
934
+
935
+ ```
936
+ > Referring to the CodeBuddy Code official documentation, how do I use CodeBuddy Code in CI/CD?
937
+ ```
938
+
939
+ ```
940
+ > Referring to the CodeBuddy Code official documentation, how do I configure enterprise deployment?
941
+ ```
942
+
943
+ **Advanced feature queries:**
944
+
945
+ ```
946
+ > Referring to the CodeBuddy Code official documentation, how does the subagent system work?
947
+ ```
948
+
949
+ ```
950
+ > Referring to the CodeBuddy Code official documentation, how do I create custom Skills?
951
+ ```
952
+
953
+ ```
954
+ > Referring to the CodeBuddy Code official documentation, what events does the Hook system support?
955
+ ```
956
+
957
+ ```
958
+ > Referring to the CodeBuddy Code official documentation, how do I use thinking mode?
959
+ ```
960
+
961
+ ```
962
+ > Referring to the CodeBuddy Code official documentation, what's the difference between plan mode and normal mode?
963
+ ```
964
+
965
+ **Workflow and best practice queries:**
966
+
967
+ ```
968
+ > Referring to the CodeBuddy Code official documentation, what are the best practices for handling large codebases?
969
+ ```
970
+
971
+ ```
972
+ > Referring to the CodeBuddy Code official documentation, how do I optimize token usage?
973
+ ```
974
+
975
+ ```
976
+ > Referring to the CodeBuddy Code official documentation, how do I share configurations within a team?
977
+ ```
978
+
979
+ ```
980
+ > Referring to the CodeBuddy Code official documentation, how do I handle sensitive information?
981
+ ```
982
+
983
+ ```
984
+ > Referring to the CodeBuddy Code official documentation, what's the best way to run multiple sessions in parallel?
985
+ ```
986
+
987
+ **Best Practices:**
988
+
989
+ - Use the "Referring to the CodeBuddy Code official documentation" prefix to ensure accurate official information
990
+ - CodeBuddy always has access to the latest CodeBuddy Code documentation, regardless of the version you're using
991
+ - Ask specific questions to get detailed answers, you can ask about:
992
+ - Features and how to use them
993
+ - Configuration options and syntax
994
+ - Best practices and considerations
995
+ - Limitations and known issues
996
+ - Integration and extension methods
997
+ - CodeBuddy can explain complex features like MCP integration, enterprise configuration, and advanced workflows
998
+ - You can ask not only "what is it" but also directly have CodeBuddy help you "do it"
999
+ - If you're unsure about a feature, ask the official documentation first before starting configuration
1000
+
1001
+ ---
1002
+
1003
+ ## Next Steps
1004
+
1005
+ **[CLI Reference](./cli-reference.md)** - Complete command-line arguments and options
1006
+ **[Interactive Mode](./interactive-mode.md)** - Master keyboard shortcuts and tips
1007
+ **[Slash Commands](./slash-commands.md)** - Learn about built-in commands
1008
+ **[Skills System](./skills.md)** - Extend AI specialized capabilities
1009
+ **[MCP Integration](./mcp.md)** - Extend tool capabilities
1010
+
1011
+ ---
1012
+
1013
+ *Master these workflows to make CodeBuddy Code your most capable development assistant*