@tencent-ai/agent-sdk 0.3.98 → 0.3.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/cli/CHANGELOG.md +50 -0
  2. package/cli/dist/codebuddy-headless.js +137 -108
  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 +4 -3
  452. package/cli/product.internal.json +4 -3
  453. package/cli/product.ioa.json +4 -3
  454. package/cli/product.json +13 -6
  455. package/cli/product.selfhosted.json +4 -3
  456. package/package.json +1 -1
  457. package/cli/dist/web-ui/assets/index-4SCgPWnj.css +0 -32
  458. package/cli/dist/web-ui/assets/index-BijmmKDe.js +0 -391
@@ -0,0 +1,1011 @@
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 **Shift+Tab** to toggle permission modes.
179
+
180
+ If you're in normal mode, **Shift+Tab** will first toggle to auto-accept mode, showing `⏵⏵ accept edits on` at the bottom of the terminal. Pressing **Shift+Tab** again will toggle to plan mode, showing `⏸ plan mode on`.
181
+
182
+ **Start a new session in plan mode**
183
+
184
+ To start a new session in plan mode, use the `--permission-mode plan` parameter:
185
+
186
+ ```bash
187
+ codebuddy --permission-mode plan
188
+ ```
189
+
190
+ **Run "headless" queries in plan mode**
191
+
192
+ You can also run queries directly in plan mode using `-p` (i.e., in ["headless mode"](./headless.md)):
193
+
194
+ ```bash
195
+ codebuddy --permission-mode plan -p "Analyze the authentication system and suggest improvements"
196
+ ```
197
+
198
+ ### Example: Planning a Complex Refactoring
199
+
200
+ ```bash
201
+ codebuddy --permission-mode plan
202
+ ```
203
+
204
+ ```
205
+ > I need to refactor our authentication system to use OAuth2. Create a detailed migration plan.
206
+ ```
207
+
208
+ CodeBuddy will analyze the current implementation and create a comprehensive plan. Use follow-up questions to refine:
209
+
210
+ ```
211
+ > What about backward compatibility?
212
+ > How should we handle database migrations?
213
+ ```
214
+
215
+ ### Configure Plan Mode as Default
216
+
217
+ ```json
218
+ // .codebuddy/settings.json
219
+ {
220
+ "permissions": {
221
+ "defaultMode": "plan"
222
+ }
223
+ }
224
+ ```
225
+
226
+ See the [settings documentation](./settings.md#available-settings) for more configuration options.
227
+
228
+ ---
229
+
230
+ ## Working with Tests
231
+
232
+ Suppose you need to add tests for uncovered code.
233
+
234
+ **Steps:**
235
+
236
+ 1. **Identify untested code**
237
+ ```
238
+ > Find functions in NotificationsService.swift that aren't covered by tests
239
+ ```
240
+
241
+ 2. **Generate test scaffolding**
242
+ ```
243
+ > Add tests for the notification service
244
+ ```
245
+
246
+ 3. **Add meaningful test cases**
247
+ ```
248
+ > Add test cases for edge conditions in the notification service
249
+ ```
250
+
251
+ 4. **Run and verify tests**
252
+ ```
253
+ > Run the new tests and fix any failures
254
+ ```
255
+
256
+ **Best Practices:**
257
+
258
+ - Request tests that cover edge cases and error conditions
259
+ - Request both unit tests and integration tests when appropriate
260
+ - Have CodeBuddy explain the testing strategy
261
+
262
+ ---
263
+
264
+ ## Creating Merge Requests
265
+
266
+ Suppose you need to create a well-documented merge request for your changes.
267
+
268
+ **Steps:**
269
+
270
+ 1. **Summarize your changes**
271
+ ```
272
+ > Summarize the changes I made to the authentication module
273
+ ```
274
+
275
+ 2. **Use CodeBuddy to generate the MR**
276
+ ```
277
+ > Create an MR
278
+ ```
279
+
280
+ 3. **Review and refine**
281
+ ```
282
+ > Enhance the MR description with more context about security improvements
283
+ ```
284
+
285
+ 4. **Add test details**
286
+ ```
287
+ > Add information about how to test these changes
288
+ ```
289
+
290
+ **Best Practices:**
291
+
292
+ - Have CodeBuddy create the MR directly for you
293
+ - Review the CodeBuddy-generated MR before submitting
294
+ - Have CodeBuddy highlight potential risks or considerations
295
+
296
+ ---
297
+
298
+ ## Working with Documentation
299
+
300
+ Suppose you need to add or update documentation for your code.
301
+
302
+ **Steps:**
303
+
304
+ 1. **Identify undocumented code**
305
+ ```
306
+ > Find functions in the authentication module without proper JSDoc comments
307
+ ```
308
+
309
+ 2. **Generate documentation**
310
+ ```
311
+ > Add JSDoc comments for undocumented functions in auth.js
312
+ ```
313
+
314
+ 3. **Review and enhance**
315
+ ```
316
+ > Improve the generated documentation with more context and examples
317
+ ```
318
+
319
+ 4. **Verify documentation**
320
+ ```
321
+ > Check if the documentation meets our project standards
322
+ ```
323
+
324
+ **Best Practices:**
325
+
326
+ - Specify the documentation style you want (JSDoc, docstrings, etc.)
327
+ - Request examples in the documentation
328
+ - Request documentation for public APIs, interfaces, and complex logic
329
+
330
+ ---
331
+
332
+ ## Working with Images
333
+
334
+ Suppose you need to work with images in your codebase and want CodeBuddy to help analyze image content.
335
+
336
+ **Steps:**
337
+
338
+ 1. **Add an image to the conversation**
339
+ You can use any of these methods:
340
+
341
+ 1. Drag and drop the image into the CodeBuddy Code window
342
+ 2. Copy the image and paste it into the CLI with ctrl+v (don't use cmd+v)
343
+ 3. Provide CodeBuddy with the image path. For example: "Analyze this image: /path/to/your/image.png"
344
+
345
+ 2. **Have CodeBuddy analyze the image**
346
+ ```
347
+ > What does this image show?
348
+ ```
349
+
350
+ ```
351
+ > Describe the UI elements in this screenshot
352
+ ```
353
+
354
+ ```
355
+ > Are there any problematic elements in this diagram?
356
+ ```
357
+
358
+ 3. **Use images to provide context**
359
+ ```
360
+ > This is a screenshot of an error. What's causing it?
361
+ ```
362
+
363
+ ```
364
+ > This is our current database schema. How should we modify it for the new feature?
365
+ ```
366
+
367
+ 4. **Get code suggestions from visual content**
368
+ ```
369
+ > Generate CSS that matches this design mockup
370
+ ```
371
+
372
+ ```
373
+ > What HTML structure could reproduce this component?
374
+ ```
375
+
376
+ **Best Practices:**
377
+
378
+ - Use images when text descriptions are unclear or cumbersome
379
+ - Include screenshots of errors, UI designs, or diagrams for better context
380
+ - You can work with multiple images in a conversation
381
+ - Image analysis works with diagrams, screenshots, mockups, etc.
382
+
383
+ ---
384
+
385
+ ## Referencing Files and Directories
386
+
387
+ Use @ to quickly include files or directories without waiting for CodeBuddy to read them.
388
+
389
+ **Steps:**
390
+
391
+ 1. **Reference a single file**
392
+ ```
393
+ > Explain the logic in @src/utils/auth.js
394
+ ```
395
+
396
+ This includes the full content of the file in the conversation.
397
+
398
+ 2. **Reference a directory**
399
+ ```
400
+ > What is the structure of @src/components?
401
+ ```
402
+
403
+ This provides a directory listing with file information.
404
+
405
+ 3. **Reference MCP resources (not yet supported)**
406
+ ```
407
+ > Show data from @github:repos/owner/repo/issues
408
+ ```
409
+
410
+ This fetches data from connected MCP servers using the @server:resource format. See [MCP resources](./mcp.md) for details.
411
+
412
+ **Best Practices:**
413
+
414
+ - File paths can be relative or absolute
415
+ - @ file references add the CODEBUDDY.md from the file's directory and parent directory to the context
416
+ - Directory references show file listings, not content
417
+ - You can reference multiple files in a single message (e.g., "@file1.js and @file2.js")
418
+
419
+ ---
420
+
421
+ ## Using Extended Thinking
422
+
423
+ Suppose you're working on complex architectural decisions, challenging bugs, or multi-step implementation planning that requires deep reasoning.
424
+
425
+ > **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".
426
+
427
+ **Steps:**
428
+
429
+ 1. **Provide context and let CodeBuddy think**
430
+ ```
431
+ > 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.
432
+ ```
433
+
434
+ CodeBuddy will gather relevant information from the codebase and use extended thinking, which will be visible in the interface.
435
+
436
+ 2. **Refine thinking with follow-up prompts**
437
+ ```
438
+ > Think about potential security vulnerabilities with this approach
439
+ ```
440
+
441
+ ```
442
+ > Think deeply about edge cases we should handle
443
+ ```
444
+
445
+ **Tips for getting the most from extended thinking:**
446
+
447
+ Extended thinking is most valuable for complex tasks such as:
448
+
449
+ - Planning complex architectural changes
450
+ - Debugging sophisticated issues
451
+ - Creating implementation plans for new features
452
+ - Understanding complex codebases
453
+ - Evaluating trade-offs between different approaches
454
+
455
+ Use `Tab` to enable and disable thinking during a session.
456
+
457
+ The way you prompt for thinking leads to different depths of thinking:
458
+
459
+ - "think" triggers basic extended thinking
460
+ - Reinforcing phrases like "think deeply", "think more", "think longer" trigger deeper thinking
461
+
462
+ > **Note**: CodeBuddy displays its thinking process in italicized gray text above the response.
463
+
464
+ ---
465
+
466
+ ## Resuming Previous Conversations
467
+
468
+ Suppose you've been working on a task with CodeBuddy Code and need to continue your previous work in a later session.
469
+
470
+ CodeBuddy Code provides two options for resuming previous conversations:
471
+
472
+ - `--continue` automatically continues the most recent conversation
473
+ - `--resume` displays a conversation selector
474
+
475
+ **Steps:**
476
+
477
+ 1. **Continue the most recent conversation**
478
+ ```bash
479
+ codebuddy --continue
480
+ ```
481
+
482
+ This immediately resumes your most recent conversation without any prompts.
483
+
484
+ 2. **Continue in non-interactive mode**
485
+ ```bash
486
+ codebuddy --continue --print "Continue my task"
487
+ ```
488
+
489
+ Use `--print` with `--continue` in non-interactive mode to resume the most recent conversation, perfect for scripts or automation.
490
+
491
+ 3. **Display the conversation selector**
492
+ ```bash
493
+ codebuddy --resume
494
+ ```
495
+
496
+ This displays an interactive conversation selector with a clear list view showing:
497
+
498
+ - Session summary (or initial prompt)
499
+ - Metadata: elapsed time, message count, and git branch
500
+
501
+ Use arrow keys to navigate and press Enter to select a conversation. Press Esc to exit.
502
+
503
+ **Best Practices:**
504
+
505
+ - Conversation history is stored on your local machine
506
+ - Use `--continue` for quick access to the most recent conversation
507
+ - Use `--resume` when you need to select a specific past conversation
508
+ - When resuming, you'll see the entire conversation history before continuing
509
+ - Resumed conversations start with the same model and configuration as the original
510
+
511
+ **How it works:**
512
+
513
+ 1. **Conversation storage**: All conversations are automatically saved locally with complete message history
514
+ 2. **Message deserialization**: When resuming, the entire message history is restored to maintain context
515
+ 3. **Tool state**: Tool usage and results from previous conversations are preserved
516
+ 4. **Context restoration**: The conversation resumes with all previous context intact
517
+
518
+ **Examples:**
519
+
520
+ ```bash
521
+ # Continue the most recent conversation
522
+ codebuddy --continue
523
+
524
+ # Continue the most recent conversation with a specific prompt
525
+ codebuddy --continue --print "Show our progress"
526
+
527
+ # Display the conversation selector
528
+ codebuddy --resume
529
+
530
+ # Continue the most recent conversation in non-interactive mode
531
+ codebuddy --continue --print "Run tests again"
532
+ ```
533
+
534
+ ---
535
+
536
+ ## Running Parallel CodeBuddy Code Sessions with Git Worktrees
537
+
538
+ Suppose you need to work on multiple tasks simultaneously with complete code isolation between CodeBuddy Code instances.
539
+
540
+ **Steps:**
541
+
542
+ 1. **Understand Git worktrees**
543
+ 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).
544
+
545
+ 2. **Create a new worktree**
546
+ ```bash
547
+ # Create a new worktree with a new branch
548
+ git worktree add ../project-feature-a -b feature-a
549
+
550
+ # Or create a worktree with an existing branch
551
+ git worktree add ../project-bugfix bugfix-123
552
+ ```
553
+
554
+ This creates a new directory containing a separate working copy of the repository.
555
+
556
+ 3. **Run CodeBuddy Code in each worktree**
557
+ ```bash
558
+ # Navigate to your worktree
559
+ cd ../project-feature-a
560
+
561
+ # Run CodeBuddy Code in this isolated environment
562
+ codebuddy
563
+ ```
564
+
565
+ 4. **Run CodeBuddy in another worktree**
566
+ ```bash
567
+ cd ../project-bugfix
568
+ codebuddy
569
+ ```
570
+
571
+ 5. **Manage your worktrees**
572
+ ```bash
573
+ # List all worktrees
574
+ git worktree list
575
+
576
+ # Remove a worktree when done
577
+ git worktree remove ../project-feature-a
578
+ ```
579
+
580
+ **Best Practices:**
581
+
582
+ - Each worktree has its own independent file state, perfect for parallel CodeBuddy Code sessions
583
+ - Changes in one worktree don't affect others, preventing CodeBuddy instances from interfering with each other
584
+ - All worktrees share the same Git history and remote connections
585
+ - For long-running tasks, you can let CodeBuddy work in one worktree while continuing development in another
586
+ - Use descriptive directory names to easily identify which task each worktree is for
587
+ - Remember to initialize the development environment in each new worktree according to your project setup. Depending on your tech stack, this might include:
588
+ - JavaScript projects: Run dependency installation (`npm install`, `yarn`)
589
+ - Python projects: Set up virtual environments or install with package managers
590
+ - Other languages: Follow your project's standard setup process
591
+
592
+ ---
593
+
594
+ ## Using CodeBuddy as a Unix-Style Utility
595
+
596
+ ### Adding CodeBuddy to Validation Workflows
597
+
598
+ Suppose you want to use CodeBuddy Code as a linter or code reviewer.
599
+
600
+ **Add CodeBuddy to build scripts:**
601
+
602
+ ```json
603
+ // package.json
604
+ {
605
+ ...
606
+ "scripts": {
607
+ ...
608
+ "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.'"
609
+ }
610
+ }
611
+ ```
612
+
613
+ **Best Practices:**
614
+
615
+ - Use CodeBuddy in CI/CD pipelines for automated code reviews
616
+ - Customize prompts to check for project-specific issues
617
+ - Consider creating multiple scripts for different types of validation
618
+
619
+ ### Piping Input and Output
620
+
621
+ Suppose you want to pipe data to CodeBuddy and get data in a structured format.
622
+
623
+ **Pipe data through CodeBuddy:**
624
+
625
+ ```bash
626
+ cat build-error.txt | codebuddy -p 'Concisely explain the root cause of this build error' > output.txt
627
+ ```
628
+
629
+ **Best Practices:**
630
+
631
+ - Use piping to integrate CodeBuddy into existing shell scripts
632
+ - Combine with other Unix tools for powerful workflows
633
+ - Consider using --output-format for structured output
634
+
635
+ ### Controlling Output Format
636
+
637
+ Suppose you need CodeBuddy's output in a specific format, especially when integrating CodeBuddy Code into scripts or other tools.
638
+
639
+ **Steps:**
640
+
641
+ 1. **Use text format (default)**
642
+ ```bash
643
+ cat data.txt | codebuddy -p 'Summarize this data' --output-format text > summary.txt
644
+ ```
645
+
646
+ This outputs only the plain text response from CodeBuddy (default behavior).
647
+
648
+ 2. **Use JSON format**
649
+ ```bash
650
+ cat code.py | codebuddy -p 'Analyze this code for bugs' --output-format json > analysis.json
651
+ ```
652
+
653
+ This outputs a JSON array of messages including metadata (including cost and duration).
654
+
655
+ 3. **Use streaming JSON format**
656
+ ```bash
657
+ cat log.txt | codebuddy -p 'Parse this log file for errors' --output-format stream-json
658
+ ```
659
+
660
+ 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.
661
+
662
+ **Best Practices:**
663
+
664
+ - Use `--output-format text` for simple integrations that only need CodeBuddy's response
665
+ - Use `--output-format json` when you need the complete conversation log
666
+ - Use `--output-format stream-json` for real-time output per conversation turn
667
+
668
+ ---
669
+
670
+ ## Creating Custom Slash Commands
671
+
672
+ CodeBuddy Code supports custom slash commands that you can create to quickly execute specific prompts or tasks.
673
+
674
+ See the [slash commands](./slash-commands.md) reference page for more details.
675
+
676
+ ### Creating Project-Specific Commands
677
+
678
+ Suppose you want to create reusable slash commands for your project that all team members can use.
679
+
680
+ **Steps:**
681
+
682
+ 1. **Create a commands directory in your project**
683
+ ```bash
684
+ mkdir -p .codebuddy/commands
685
+ ```
686
+
687
+ 2. **Create a Markdown file for each command**
688
+ ```bash
689
+ echo "Analyze this code for performance and suggest three specific optimizations:" > .codebuddy/commands/optimize.md
690
+ ```
691
+
692
+ 3. **Use the custom command in CodeBuddy Code**
693
+ ```
694
+ > /optimize
695
+ ```
696
+
697
+ **Best Practices:**
698
+
699
+ - Command names come from the filename (e.g., `optimize.md` becomes `/optimize`)
700
+ - You can organize commands in subdirectories (e.g., `.codebuddy/commands/frontend/component.md` creates `/component` with "(project:frontend)" shown in the description)
701
+ - Project commands are available to everyone who clones the repository
702
+ - The Markdown file content becomes the prompt sent to CodeBuddy when the command is invoked
703
+
704
+ ### Adding Command Arguments with $ARGUMENTS
705
+
706
+ Suppose you want to create flexible slash commands that can accept additional user input.
707
+
708
+ **Steps:**
709
+
710
+ 1. **Create a command file with $ARGUMENTS placeholder**
711
+ ```bash
712
+ 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
713
+ ```
714
+
715
+ 2. **Use the command with an issue number**
716
+ In a CodeBuddy session, use the command with an argument.
717
+
718
+ ```
719
+ > /fix-issue 123
720
+ ```
721
+
722
+ This replaces $ARGUMENTS in the prompt with "123".
723
+
724
+ **Best Practices:**
725
+
726
+ - The $ARGUMENTS placeholder is replaced by any text after the command
727
+ - You can place $ARGUMENTS anywhere in your command template
728
+ - Other useful applications: generating test cases for specific functions, creating documentation for components, reviewing code in specific files, or translating content to specified languages
729
+
730
+ ### Creating Personal Slash Commands
731
+
732
+ Suppose you want to create personal slash commands that work across all your projects.
733
+
734
+ **Steps:**
735
+
736
+ 1. **Create a commands directory in your home directory**
737
+ ```bash
738
+ mkdir -p ~/.codebuddy/commands
739
+ ```
740
+
741
+ 2. **Create a Markdown file for each command**
742
+ ```bash
743
+ echo "Review this code for security vulnerabilities, focusing on:" > ~/.codebuddy/commands/security-review.md
744
+ ```
745
+
746
+ 3. **Use your personal custom command**
747
+ ```
748
+ > /security-review
749
+ ```
750
+
751
+ **Best Practices:**
752
+
753
+ - When listed with `/help`, personal commands show "(user)" in the description
754
+ - Personal commands are only available to you and not shared with the team
755
+ - Personal commands work across all projects
756
+ - You can use these commands to maintain consistent workflows across different codebases
757
+
758
+ ---
759
+
760
+ ## Having CodeBuddy Code Help with Configuration Directly
761
+
762
+ 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.
763
+
764
+ **Steps:**
765
+
766
+ 1. **Directly ask how to configure**
767
+ ```
768
+ > Referring to the CodeBuddy Code official documentation, how do I configure the timeout for Bash commands?
769
+ ```
770
+
771
+ CodeBuddy will consult the official documentation and explain the specific configuration method, including:
772
+ - Location of the configuration file
773
+ - Specific configuration item names and formats
774
+ - Available configuration options and defaults
775
+ - How the configuration takes effect
776
+
777
+ 2. **Have CodeBuddy complete the configuration for you**
778
+ ```
779
+ > Referring to the CodeBuddy Code official documentation, change the Bash timeout to 30 minutes
780
+ ```
781
+
782
+ CodeBuddy will:
783
+ - Find the current configuration file
784
+ - Modify the configuration according to official recommendations
785
+ - Verify the configuration syntax is correct
786
+ - Indicate how the configuration takes effect (e.g., if restart is needed)
787
+
788
+ 3. **Adjust output language and format**
789
+ ```
790
+ > Referring to the CodeBuddy Code official documentation, how do I adjust the output to Chinese?
791
+ ```
792
+
793
+ CodeBuddy will explain:
794
+ - How to configure language preferences in user-level or project-level CODEBUDDY.md
795
+ - Specific configuration examples and syntax
796
+ - Configuration priority and inheritance rules
797
+ - How to verify if the configuration is effective
798
+
799
+ ```
800
+ > Referring to the CodeBuddy Code official documentation, how can I make CodeBuddy's responses more concise?
801
+ ```
802
+
803
+ 4. **Create custom Skills**
804
+ ```
805
+ > Referring to the CodeBuddy Code official documentation, help me create a PDF processing Skill
806
+ ```
807
+
808
+ CodeBuddy will:
809
+ - Create the `.codebuddy/skills/pdf/` directory
810
+ - Generate a `SKILL.md` file that complies with official specifications
811
+ - Configure appropriate tool permissions
812
+ - Add necessary metadata and descriptions
813
+ - Provide usage examples
814
+
815
+ 5. **Configure Git Hooks**
816
+ ```
817
+ > Referring to the CodeBuddy Code official documentation, configure a Git pre-commit code check Hook
818
+ ```
819
+
820
+ CodeBuddy will create appropriate Hook configurations based on your project type, including:
821
+ - Hook trigger timing and conditions
822
+ - Specific commands executed by the Hook
823
+ - Error handling and logging
824
+ - How to temporarily skip the Hook
825
+
826
+ 6. **Configure MCP servers**
827
+ ```
828
+ > Referring to the CodeBuddy Code official documentation, how do I configure a GitHub MCP server?
829
+ ```
830
+
831
+ CodeBuddy will:
832
+ - Explain how MCP works
833
+ - Generate configuration files
834
+ - Configure authentication information
835
+ - Test if the connection is working
836
+
837
+ 7. **Verify configuration**
838
+ ```
839
+ > Referring to the CodeBuddy Code official documentation, check if my Bash timeout configuration is correct
840
+ ```
841
+
842
+ ```
843
+ > Referring to the CodeBuddy Code official documentation, verify my MCP server configuration
844
+ ```
845
+
846
+ **Best Practices:**
847
+
848
+ - Directly tell CodeBuddy what you want, with the "Referring to the CodeBuddy Code official documentation" prefix to ensure accurate information
849
+ - Let CodeBuddy generate configuration files rather than writing them manually to avoid syntax errors
850
+ - Have CodeBuddy verify correctness after configuration to ensure it takes effect
851
+ - Ask about configuration priority and inheritance rules to understand complex configuration scenarios
852
+ - Only consult more in-depth documentation or contact technical support if CodeBuddy can't resolve it
853
+
854
+ **Common configuration examples:**
855
+
856
+ ```
857
+ > Referring to the CodeBuddy Code official documentation, help me create a user-level Skill for code review
858
+ ```
859
+
860
+ ```
861
+ > Referring to the CodeBuddy Code official documentation, how do I set the default permission mode to plan mode?
862
+ ```
863
+
864
+ ```
865
+ > Referring to the CodeBuddy Code official documentation, create a custom slash command to run tests
866
+ ```
867
+
868
+ ```
869
+ > Referring to the CodeBuddy Code official documentation, how do I use Git Worktree with CodeBuddy Code?
870
+ ```
871
+
872
+ ```
873
+ > Referring to the CodeBuddy Code official documentation, how do I configure custom model providers?
874
+ ```
875
+
876
+ ```
877
+ > Referring to the CodeBuddy Code official documentation, how do I disable certain tool usage?
878
+ ```
879
+
880
+ ```
881
+ > Referring to the CodeBuddy Code official documentation, how do I configure a proxy server?
882
+ ```
883
+
884
+ ```
885
+ > Referring to the CodeBuddy Code official documentation, how do I customize tool usage keyboard shortcuts?
886
+ ```
887
+ ---
888
+
889
+ ## Asking CodeBuddy About Its Features
890
+
891
+ 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.
892
+
893
+ **Feature query examples:**
894
+
895
+ ```
896
+ > Referring to the CodeBuddy Code official documentation, can CodeBuddy Code create merge requests?
897
+ ```
898
+
899
+ ```
900
+ > Referring to the CodeBuddy Code official documentation, how does CodeBuddy Code handle permissions?
901
+ ```
902
+
903
+ ```
904
+ > Referring to the CodeBuddy Code official documentation, what slash commands are available?
905
+ ```
906
+
907
+ ```
908
+ > Referring to the CodeBuddy Code official documentation, how do I use MCP in CodeBuddy Code?
909
+ ```
910
+
911
+ ```
912
+ > Referring to the CodeBuddy Code official documentation, how do I configure CodeBuddy Code for Amazon Bedrock?
913
+ ```
914
+
915
+ ```
916
+ > Referring to the CodeBuddy Code official documentation, what are CodeBuddy Code's limitations?
917
+ ```
918
+
919
+ **Configuration and integration queries:**
920
+
921
+ ```
922
+ > Referring to the CodeBuddy Code official documentation, how do I adjust the output to Chinese?
923
+ ```
924
+
925
+ ```
926
+ > Referring to the CodeBuddy Code official documentation, how do I configure a proxy server?
927
+ ```
928
+
929
+ ```
930
+ > Referring to the CodeBuddy Code official documentation, which model providers are supported?
931
+ ```
932
+
933
+ ```
934
+ > Referring to the CodeBuddy Code official documentation, how do I use CodeBuddy Code in CI/CD?
935
+ ```
936
+
937
+ ```
938
+ > Referring to the CodeBuddy Code official documentation, how do I configure enterprise deployment?
939
+ ```
940
+
941
+ **Advanced feature queries:**
942
+
943
+ ```
944
+ > Referring to the CodeBuddy Code official documentation, how does the subagent system work?
945
+ ```
946
+
947
+ ```
948
+ > Referring to the CodeBuddy Code official documentation, how do I create custom Skills?
949
+ ```
950
+
951
+ ```
952
+ > Referring to the CodeBuddy Code official documentation, what events does the Hook system support?
953
+ ```
954
+
955
+ ```
956
+ > Referring to the CodeBuddy Code official documentation, how do I use thinking mode?
957
+ ```
958
+
959
+ ```
960
+ > Referring to the CodeBuddy Code official documentation, what's the difference between plan mode and normal mode?
961
+ ```
962
+
963
+ **Workflow and best practice queries:**
964
+
965
+ ```
966
+ > Referring to the CodeBuddy Code official documentation, what are the best practices for handling large codebases?
967
+ ```
968
+
969
+ ```
970
+ > Referring to the CodeBuddy Code official documentation, how do I optimize token usage?
971
+ ```
972
+
973
+ ```
974
+ > Referring to the CodeBuddy Code official documentation, how do I share configurations within a team?
975
+ ```
976
+
977
+ ```
978
+ > Referring to the CodeBuddy Code official documentation, how do I handle sensitive information?
979
+ ```
980
+
981
+ ```
982
+ > Referring to the CodeBuddy Code official documentation, what's the best way to run multiple sessions in parallel?
983
+ ```
984
+
985
+ **Best Practices:**
986
+
987
+ - Use the "Referring to the CodeBuddy Code official documentation" prefix to ensure accurate official information
988
+ - CodeBuddy always has access to the latest CodeBuddy Code documentation, regardless of the version you're using
989
+ - Ask specific questions to get detailed answers, you can ask about:
990
+ - Features and how to use them
991
+ - Configuration options and syntax
992
+ - Best practices and considerations
993
+ - Limitations and known issues
994
+ - Integration and extension methods
995
+ - CodeBuddy can explain complex features like MCP integration, enterprise configuration, and advanced workflows
996
+ - You can ask not only "what is it" but also directly have CodeBuddy help you "do it"
997
+ - If you're unsure about a feature, ask the official documentation first before starting configuration
998
+
999
+ ---
1000
+
1001
+ ## Next Steps
1002
+
1003
+ **[CLI Reference](./cli-reference.md)** - Complete command-line arguments and options
1004
+ **[Interactive Mode](./interactive-mode.md)** - Master keyboard shortcuts and tips
1005
+ **[Slash Commands](./slash-commands.md)** - Learn about built-in commands
1006
+ **[Skills System](./skills.md)** - Extend AI specialized capabilities
1007
+ **[MCP Integration](./mcp.md)** - Extend tool capabilities
1008
+
1009
+ ---
1010
+
1011
+ *Master these workflows to make CodeBuddy Code your most capable development assistant*