@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,621 @@
1
+ # Sub-Agents
2
+
3
+ > Create and use specialized AI sub-agents in CodeBuddy Code for specific task workflows and improved context management.
4
+
5
+ Custom sub-agents in CodeBuddy Code are specialized AI assistants that can be invoked to handle specific types of tasks. They enable more efficient problem-solving by providing task-specific configurations with custom system prompts, tools, and independent context windows.
6
+
7
+ ## What are Sub-Agents?
8
+
9
+ Sub-agents are pre-configured AI personas that CodeBuddy Code can delegate tasks to. Each sub-agent:
10
+
11
+ * Has a specific purpose and area of expertise
12
+ * Uses its own context window, separate from the main conversation
13
+ * Can be configured to allow specific tool usage
14
+ * Contains a custom system prompt that guides its behavior
15
+
16
+ When CodeBuddy Code encounters a task that matches a sub-agent's area of expertise, it can delegate that task to the specialized sub-agent, which works independently and returns results.
17
+
18
+ ## Key Benefits
19
+
20
+ | Benefit | Description |
21
+ | :--- | :--- |
22
+ | **Context Preservation** | Each sub-agent runs in its own context, preventing pollution of the main conversation and keeping it focused on high-level goals. |
23
+ | **Specialized Expertise** | Sub-agents can be fine-tuned with domain-specific detailed instructions, improving success rates for designated tasks. |
24
+ | **Reusability** | Once created, sub-agents can be used across different projects and shared with your team for consistent workflows. |
25
+ | **Flexible Permissions** | Each sub-agent can have different tool access levels, allowing you to restrict powerful tools to specific sub-agent types. |
26
+
27
+ ## Quick Start
28
+
29
+ To create your first sub-agent:
30
+
31
+ 1. **Open Sub-Agent Interface**
32
+
33
+ Run the following command:
34
+
35
+ ```
36
+ /agents
37
+ ```
38
+
39
+ 2. **Select "Create New Agent"**
40
+
41
+ Choose whether to create a project-level or user-level sub-agent
42
+
43
+ 3. **Define Sub-Agent**
44
+
45
+ * **Recommended**: Start with AI generation, then customize to make it your own
46
+ * Describe your sub-agent and when it should be used in detail
47
+ * Select the tools you want to grant access to, or leave empty to inherit all tools
48
+ * The interface shows all available tools
49
+ * If you use AI generation, you can also edit the system prompt in your own editor by pressing `e`
50
+
51
+ 4. **Save and Use**
52
+
53
+ Your sub-agent is now available. CodeBuddy Code will automatically use it when appropriate, or you can invoke it explicitly:
54
+
55
+ ```
56
+ > Use the code-reviewer sub-agent to check my recent changes
57
+ ```
58
+
59
+ ## Sub-Agent Configuration
60
+
61
+ ### File Location
62
+
63
+ Sub-agents are stored as Markdown files with YAML frontmatter in two locations:
64
+
65
+ | Type | Location | Scope | Priority |
66
+ | :--- | :--- | :--- | :--- |
67
+ | **Project Sub-Agents** | `.codebuddy/agents/` | Available in current project | Highest |
68
+ | **User Sub-Agents** | `~/.codebuddy/agents/` | Available in all projects | Lower |
69
+
70
+ When sub-agent names conflict, project-level sub-agents take priority over user-level sub-agents.
71
+
72
+ ### Plugin Agents
73
+
74
+ [Plugins](plugins.md) can provide custom sub-agents that integrate seamlessly with CodeBuddy Code. Plugin agents work the same way as user-defined agents and are displayed in the `/agents` interface.
75
+
76
+ **Plugin Agent Location**: Plugins include agents in their `agents/` directory (or a custom path specified in the plugin manifest).
77
+
78
+ **Using Plugin Agents**:
79
+
80
+ * Plugin agents are displayed in `/agents` alongside your custom agents
81
+ * Can be explicitly invoked: "Use the code-reviewer agent from the security-plugin"
82
+ * Can be automatically invoked by CodeBuddy Code when appropriate
83
+ * Can be managed (viewed, inspected) through the `/agents` interface
84
+
85
+ For details on creating plugin agents, see the [Plugin Component Reference](plugins-reference.md).
86
+
87
+ ### CLI-Based Configuration
88
+
89
+ You can also dynamically define sub-agents using the `--agents` CLI flag, which accepts a JSON object:
90
+
91
+ ```bash
92
+ codebuddy --agents '{
93
+ "code-reviewer": {
94
+ "description": "Expert code reviewer. Use proactively after code changes.",
95
+ "prompt": "You are a senior code reviewer. Focus on code quality, security, and best practices.",
96
+ "tools": ["Read", "Grep", "Glob", "Bash"],
97
+ "model": "gemini-3.0-flash"
98
+ }
99
+ }'
100
+ ```
101
+
102
+ **Priority**: CLI-defined sub-agents have lower priority than project-level sub-agents but higher priority than user-level sub-agents.
103
+
104
+ **Use Cases**: This method is suitable for:
105
+
106
+ * Quickly testing sub-agent configurations
107
+ * Session-specific sub-agents that don't need to be saved
108
+ * Automated scripts that require custom sub-agents
109
+ * Sharing sub-agent definitions in documentation or scripts
110
+
111
+ For details on JSON format and all available options, see the [CLI Reference](cli-reference.md).
112
+
113
+ ### File Format
114
+
115
+ Each sub-agent is defined in a Markdown file with the following structure:
116
+
117
+ ```markdown
118
+
119
+ Your sub-agent's system prompt goes here. This can be multiple paragraphs
120
+ and should clearly define the sub-agent's role, capabilities, and approach
121
+ to solving problems.
122
+
123
+ Include specific instructions, best practices, and any constraints
124
+ the sub-agent should follow.
125
+ ```
126
+
127
+ #### Configuration Fields
128
+
129
+ | Field | Required | Description |
130
+ | :--- | :--- | :--- |
131
+ | `name` | Yes | Unique identifier using lowercase letters and hyphens |
132
+ | `description` | Yes | Natural language description of the sub-agent's purpose |
133
+ | `tools` | No | Comma-separated list of specific tools. If omitted, inherits all tools from the main thread |
134
+ | `model` | No | Model to use for this sub-agent. Can be a model alias (`gpt-5.1-codex`, `gemini-3.0-flash`, etc.) or `'inherit'` to use the main conversation's model. If omitted, defaults to configured sub-agent model |
135
+ | `permissionMode` | No | Permission mode for the sub-agent. Valid values: `default`, `acceptEdits`, `bypassPermissions`, `plan`, `ignore`. Controls how the sub-agent handles permission requests |
136
+ | `skills` | No | Comma-separated skill names to auto-load when the sub-agent starts |
137
+
138
+ ### Model Selection
139
+
140
+ The `model` field allows you to control which [AI model](models.md) the sub-agent uses:
141
+
142
+ * **Model Alias**: Use one of the available aliases: `gpt-5.1-codex`, `gemini-3.0-flash`, `gemini-3.1-pro`, `gpt-5.1-codex`, etc.
143
+ * **`'inherit'`**: Use the same model as the main conversation (useful for consistency)
144
+ * **Omitted**: If not specified, uses the default model configured for sub-agents
145
+
146
+ > **Note**: Using `'inherit'` is particularly useful when you want the sub-agent to adapt to the main conversation's model choice, ensuring consistent capabilities and response styles throughout the session.
147
+
148
+ ### Available Tools
149
+
150
+ Sub-agents can be granted access to any of CodeBuddy Code's internal tools. For a complete list of available tools, see the [Settings Documentation](settings.md).
151
+
152
+ > **Tip**: **Recommended**: Use the `/agents` command to modify tool access - it provides an interactive interface that lists all available tools, including any connected MCP server tools, making it easier to select the tools you need.
153
+
154
+ You have two options for configuring tools:
155
+
156
+ * **Omit the `tools` field** to inherit all tools from the main thread (default), including MCP tools
157
+ * **Specify individual tools** as a comma-separated list for more fine-grained control (can be manually edited or edited via `/agents`)
158
+
159
+ **MCP Tools**: Sub-agents can access MCP tools from configured MCP servers. When the `tools` field is omitted, the sub-agent inherits all MCP tools available to the main thread.
160
+
161
+ ## Managing Sub-Agents
162
+
163
+ ### Using /agents Command (Recommended)
164
+
165
+ The `/agents` command provides a comprehensive sub-agent management interface:
166
+
167
+ ```
168
+ /agents
169
+ ```
170
+
171
+ This opens an interactive menu where you can:
172
+
173
+ * View all available sub-agents (built-in, user, and project)
174
+ * Create new sub-agents with guided setup
175
+ * Edit existing custom sub-agents, including their tool access
176
+ * Delete custom sub-agents
177
+ * See which sub-agents are active when duplicates exist
178
+ * **Manage tool permissions** with a complete list of all available tools
179
+
180
+ ### Direct File Management
181
+
182
+ You can also manage sub-agents by working directly with their files:
183
+
184
+ ```bash
185
+ # Create a project sub-agent
186
+ mkdir -p .codebuddy/agents
187
+ echo '---
188
+ name: test-runner
189
+ description: Use proactively to run tests and fix failures
190
+ ---
191
+
192
+ You are a test automation expert. When you see code changes, proactively run the appropriate tests.
193
+ If tests fail, analyze the failures and fix them while preserving the original test intent.' > .codebuddy/agents/test-runner.md
194
+
195
+ # Create a user sub-agent
196
+ mkdir -p ~/.codebuddy/agents
197
+ # ... create sub-agent file
198
+ ```
199
+
200
+ > **Note**: Sub-agents created by manually adding files will load on the next CodeBuddy Code session start. To create and use a sub-agent immediately without restart, use the `/agents` command instead.
201
+
202
+ ## Effective Use of Sub-Agents
203
+
204
+ ### Automatic Delegation
205
+
206
+ CodeBuddy Code proactively delegates tasks based on:
207
+
208
+ * The task description in your request
209
+ * The `description` field in the sub-agent configuration
210
+ * Current context and available tools
211
+
212
+ > **Tip**: To encourage more proactive sub-agent use, include phrases like "use PROACTIVELY" or "MUST BE USED" in your `description` field.
213
+
214
+ ### Explicit Invocation
215
+
216
+ Request a specific sub-agent by mentioning it in your command:
217
+
218
+ ```
219
+ > Use the test-runner sub-agent to fix failing tests
220
+ > Have the code-reviewer sub-agent look at my recent changes
221
+ > Ask the debugger sub-agent to investigate this error
222
+ ```
223
+
224
+ ## Built-in Sub-Agents
225
+
226
+ CodeBuddy Code includes built-in sub-agents out of the box:
227
+
228
+ ### General-Purpose Sub-Agent
229
+
230
+ The General-Purpose sub-agent is a powerful agent suitable for complex multi-step tasks that require exploration and manipulation. Unlike the Explore sub-agent, it can modify files and perform a wider range of operations.
231
+
232
+ **Key Features:**
233
+
234
+ * **Model**: Uses default model for more robust reasoning
235
+ * **Tools**: Has access to all tools
236
+ * **Mode**: Can read and write files, execute commands, make modifications
237
+ * **Purpose**: Complex research tasks, multi-step operations, code modifications
238
+
239
+ **When CodeBuddy Code Uses It:**
240
+
241
+ CodeBuddy Code delegates to the General-Purpose sub-agent when:
242
+
243
+ * Tasks require both exploration and modification
244
+ * Complex reasoning is needed to interpret search results
245
+ * Multiple strategies may be needed if initial searches fail
246
+ * Tasks have multiple interdependent steps
247
+
248
+ **Example Scenario:**
249
+
250
+ ```
251
+ User: Find all places that handle authentication and update them to use the new token format
252
+
253
+ CodeBuddy Code: [Invokes general-purpose sub-agent]
254
+ [Agent searches codebase for authentication-related code]
255
+ [Agent reads and analyzes multiple files]
256
+ [Agent makes necessary edits]
257
+ [Returns detailed description of changes made]
258
+ ```
259
+
260
+ ### Plan Sub-Agent
261
+
262
+ The Plan sub-agent is a specialized built-in agent designed for use during plan mode. When CodeBuddy Code is running in plan mode (non-execution mode), it uses the Plan sub-agent to research and gather information about your codebase before presenting a plan.
263
+
264
+ **Key Features:**
265
+
266
+ * **Model**: Uses default model for more robust analysis
267
+ * **Tools**: Has access to Read, Glob, Grep, and Bash tools for codebase exploration
268
+ * **Purpose**: Search files, analyze code structure, and gather context
269
+ * **Automatic Invocation**: When CodeBuddy Code is in plan mode and needs to research the codebase, it will automatically use this agent
270
+
271
+ **How It Works:**
272
+ When you're in plan mode and CodeBuddy Code needs to understand your codebase to create a plan, it delegates research tasks to the Plan sub-agent. This prevents infinite nesting of agents (sub-agents cannot spawn other sub-agents), while still allowing CodeBuddy Code to gather necessary context.
273
+
274
+ **Example Scenario:**
275
+
276
+ ```
277
+ User: [In plan mode] Help me refactor the authentication module
278
+
279
+ CodeBuddy Code: Let me research your authentication implementation first...
280
+ [Internally invokes Plan sub-agent to explore auth-related files]
281
+ [Plan sub-agent searches codebase and returns findings]
282
+ CodeBuddy Code: Based on my research, here's my proposed plan...
283
+ ```
284
+
285
+ > **Tip**: The Plan sub-agent is only used in plan mode. In normal execution mode, CodeBuddy Code uses the General-Purpose agent or other custom sub-agents you've created.
286
+
287
+ ### Explore Sub-Agent
288
+
289
+ The Explore sub-agent is a fast, lightweight agent optimized for searching and analyzing codebases. It runs in strict read-only mode and is designed for rapid file discovery and code exploration.
290
+
291
+ **Key Features:**
292
+
293
+ * **Model**: Uses gemini-3.0-flash for fast, low-latency searches
294
+ * **Mode**: Strict read-only - cannot create, modify, or delete files
295
+ * **Available Tools**:
296
+ * Glob - File pattern matching
297
+ * Grep - Content search with regex
298
+ * Read - Read file contents
299
+ * Bash - Read-only commands only (ls, git status, git log, git diff, find, cat, head, tail)
300
+
301
+ **When CodeBuddy Code Uses It:**
302
+
303
+ When CodeBuddy Code needs to search or understand the codebase but doesn't need to make changes, it delegates to the Explore sub-agent. This is more efficient than the main agent running multiple search commands directly, as content found during exploration doesn't bloat the main conversation.
304
+
305
+ **Thoroughness Levels:**
306
+
307
+ When invoking the Explore sub-agent, CodeBuddy Code specifies a thoroughness level:
308
+
309
+ * **Quick** - Fast searches with minimal exploration. Suitable for targeted finds.
310
+ * **Medium** - Moderate exploration. Balances speed and thoroughness.
311
+ * **Very thorough** - Comprehensive analysis across multiple locations and naming conventions. Used when targets may be in unexpected places.
312
+
313
+ **Example Scenarios:**
314
+
315
+ ```
316
+ User: Where are errors handled on the client?
317
+
318
+ CodeBuddy Code: [Invokes Explore sub-agent with "medium" thoroughness]
319
+ [Explore searches for error handling patterns using Grep]
320
+ [Explore checks potentially relevant files using Read]
321
+ [Returns findings with absolute file paths]
322
+ CodeBuddy Code: Client errors are handled in src/services/process.ts:712...
323
+ ```
324
+
325
+ ```
326
+ User: What's the structure of the codebase?
327
+
328
+ CodeBuddy Code: [Invokes Explore sub-agent with "quick" thoroughness]
329
+ [Explore uses Glob and ls to map directory structure]
330
+ [Returns overview of key directories and their purposes]
331
+ ```
332
+
333
+ ## Example Sub-Agents
334
+
335
+ ### Code Reviewer
336
+
337
+ ```markdown
338
+ ---
339
+ name: code-reviewer
340
+ description: Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code.
341
+ tools: Read, Grep, Glob, Bash
342
+ model: inherit
343
+ ---
344
+
345
+ You are a senior code reviewer ensuring high standards of code quality and security.
346
+
347
+ When invoked:
348
+ 1. Run git diff to see recent changes
349
+ 2. Focus on modified files
350
+ 3. Begin review immediately
351
+
352
+ Review checklist:
353
+ - Code is simple and readable
354
+ - Functions and variables are well-named
355
+ - No duplicated code
356
+ - Proper error handling
357
+ - No exposed secrets or API keys
358
+ - Input validation implemented
359
+ - Good test coverage
360
+ - Performance considerations addressed
361
+
362
+ Provide feedback organized by priority:
363
+ - Critical issues (must fix)
364
+ - Warnings (should fix)
365
+ - Suggestions (consider improving)
366
+
367
+ Include specific examples of how to fix issues.
368
+ ```
369
+
370
+ ### Debugger
371
+
372
+ ```markdown
373
+ ---
374
+ name: debugger
375
+ description: Debugging specialist for errors, test failures, and unexpected behavior. Use proactively when encountering any issues.
376
+ tools: Read, Edit, Bash, Grep, Glob
377
+ ---
378
+
379
+ You are an expert debugger specializing in root cause analysis.
380
+
381
+ When invoked:
382
+ 1. Capture error message and stack trace
383
+ 2. Identify reproduction steps
384
+ 3. Isolate the failure location
385
+ 4. Implement minimal fix
386
+ 5. Verify solution works
387
+
388
+ Debugging process:
389
+ - Analyze error messages and logs
390
+ - Check recent code changes
391
+ - Form and test hypotheses
392
+ - Add strategic debug logging
393
+ - Inspect variable states
394
+
395
+ For each issue, provide:
396
+ - Root cause explanation
397
+ - Evidence supporting the diagnosis
398
+ - Specific code fix
399
+ - Testing approach
400
+ - Prevention recommendations
401
+
402
+ Focus on fixing the underlying issue, not just symptoms.
403
+ ```
404
+
405
+ ### Data Scientist
406
+
407
+ ```markdown
408
+ ---
409
+ name: data-scientist
410
+ description: Data analysis expert for SQL queries, BigQuery operations, and data insights. Use proactively for data analysis tasks and queries.
411
+ tools: Bash, Read, Write
412
+ model: gpt-5.1-codex
413
+ ---
414
+
415
+ You are a data scientist specializing in SQL and BigQuery analysis.
416
+
417
+ When invoked:
418
+ 1. Understand the data analysis requirement
419
+ 2. Write efficient SQL queries
420
+ 3. Use BigQuery command line tools (bq) when appropriate
421
+ 4. Analyze and summarize results
422
+ 5. Present findings clearly
423
+
424
+ Key practices:
425
+ - Write optimized SQL queries with proper filters
426
+ - Use appropriate aggregations and joins
427
+ - Include comments explaining complex logic
428
+ - Format results for readability
429
+ - Provide data-driven recommendations
430
+
431
+ For each analysis:
432
+ - Explain the query approach
433
+ - Document any assumptions
434
+ - Highlight key findings
435
+ - Suggest next steps based on data
436
+
437
+ Always ensure queries are efficient and cost-effective.
438
+ ```
439
+
440
+ ## Best Practices
441
+
442
+ * **Start with AI-Generated Agents**: We strongly recommend using AI to generate your initial sub-agent, then iterating on it to make it your own. This approach gives you the best results - a solid foundation that you can customize to meet your specific needs.
443
+
444
+ * **Design Focused Sub-Agents**: Create sub-agents with a single, clear responsibility instead of trying to make one sub-agent do everything. This improves performance and makes sub-agents more predictable.
445
+
446
+ * **Write Detailed Prompts**: Include specific instructions, examples, and constraints in your system prompt. The more guidance you provide, the better the sub-agent will perform.
447
+
448
+ * **Limit Tool Access**: Only grant the tools necessary for the sub-agent's purpose. This improves security and helps the sub-agent focus on relevant operations.
449
+
450
+ * **Version Control**: Check project sub-agents into version control so your team can benefit from them and collaborate on improvements.
451
+
452
+ ## Advanced Usage
453
+
454
+ ### Chaining Sub-Agents
455
+
456
+ For complex workflows, you can chain multiple sub-agents:
457
+
458
+ ```
459
+ > First use the code-analyzer sub-agent to find performance issues, then use the optimizer sub-agent to fix them
460
+ ```
461
+
462
+ ### Dynamic Sub-Agent Selection
463
+
464
+ CodeBuddy Code intelligently selects sub-agents based on context. Make your `description` field specific and action-oriented for best results.
465
+
466
+ ### Resumable Sub-Agents
467
+
468
+ Sub-agents can be resumed to continue previous conversations, which is particularly useful for long-running research or analysis tasks that need to continue across multiple invocations.
469
+
470
+ **How It Works:**
471
+
472
+ * Each sub-agent execution is assigned a unique `agentId`
473
+ * The agent's conversation is stored in a separate record file: `agent-{agentId}.jsonl`
474
+ * You can resume a previous agent by providing its `agentId` via the `resume` parameter
475
+ * When resumed, the agent continues with the full context of its previous conversation
476
+
477
+ **Example Workflow:**
478
+
479
+ Initial invocation:
480
+
481
+ ```
482
+ > Use the code-analyzer agent to start reviewing the authentication module
483
+
484
+ [Agent completes initial analysis and returns agentId: "abc123"]
485
+ ```
486
+
487
+ Resume agent:
488
+
489
+ ```
490
+ > Resume agent abc123 and now analyze the authorization logic as well
491
+
492
+ [Agent continues with full context from previous conversation]
493
+ ```
494
+
495
+ **Use Cases:**
496
+
497
+ * **Long-Running Research**: Break large codebase analysis into multiple sessions
498
+ * **Iterative Refinement**: Continue refining the sub-agent's work without losing context
499
+ * **Multi-Step Workflows**: Have a sub-agent sequentially handle related tasks while maintaining context
500
+
501
+ **Technical Details:**
502
+
503
+ * Agent records are stored in your project directory
504
+ * Recording is disabled during resumption to avoid duplicate messages
505
+ * Both synchronous agents and [background agents](#background-agents) can be resumed
506
+ * The `resume` parameter accepts the agent ID from a previous execution
507
+
508
+ **Programmatic Usage:**
509
+
510
+ If you're using the Agent SDK or interacting with the AgentTool directly, you can pass the `resume` parameter:
511
+
512
+ ```typescript
513
+ {
514
+ "description": "Continue analysis",
515
+ "prompt": "Now examine the error handling patterns",
516
+ "subagent_type": "code-analyzer",
517
+ "resume": "abc123" // Agent ID from previous execution
518
+ }
519
+ ```
520
+
521
+ Keep track of agent IDs for tasks you may want to resume later. CodeBuddy Code displays the agent ID when a sub-agent completes its work.
522
+
523
+ ### Background Agents
524
+
525
+ Background agents allow you to run sub-agent tasks in the background without blocking the main conversation. This is particularly useful for long-running tasks where you can continue interacting with CodeBuddy Code while the task executes in the background.
526
+
527
+ **How It Works:**
528
+
529
+ * Launch a background agent using the `run_in_background: true` parameter
530
+ * The task immediately returns a task ID without blocking the main conversation
531
+ * Background agents run in detached mode, with intermediate messages not interfering with the main conversation
532
+ * Use the `TaskOutput` tool to get the status and results of background tasks
533
+
534
+ **Launching a Background Agent:**
535
+
536
+ ```
537
+ > Run the code-analyzer agent in the background to review the entire codebase
538
+
539
+ [Task started in background. Task ID: task-abc123]
540
+ ```
541
+
542
+ **Getting Background Task Output:**
543
+
544
+ Use the `TaskOutput` tool to query the status and results of a background task:
545
+
546
+ ```
547
+ > Check the status of background task task-abc123
548
+
549
+ Task ID: task-abc123
550
+ Status: running
551
+ Elapsed time: 2m 30s
552
+
553
+ Prompt:
554
+ Review entire codebase for code quality issues
555
+
556
+ Response:
557
+ (Task still running)
558
+ ```
559
+
560
+ **Background Task Status:**
561
+
562
+ | Status | Description |
563
+ | :--- | :--- |
564
+ | `pending` | Task created, waiting for execution |
565
+ | `running` | Task is executing |
566
+ | `completed` | Task completed successfully |
567
+ | `failed` | Task execution failed |
568
+ | `cancelled` | Task was cancelled by user |
569
+ | `killed` | Task was forcibly terminated |
570
+
571
+ **Programmatic Usage:**
572
+
573
+ If you're using the Agent SDK or interacting with the Task tool directly, you can pass the `run_in_background` parameter:
574
+
575
+ ```typescript
576
+ {
577
+ "description": "Analyze codebase",
578
+ "prompt": "Review all TypeScript files for potential issues",
579
+ "subagent_type": "code-analyzer",
580
+ "run_in_background": true // Run in background
581
+ }
582
+ ```
583
+
584
+ **Parameters for Getting Output:**
585
+
586
+ The `TaskOutput` tool supports the following parameters:
587
+
588
+ | Parameter | Type | Description |
589
+ | :--- | :--- | :--- |
590
+ | `task_id` | string | Required. The ID of the background task |
591
+ | `block` | boolean | Whether to wait for task completion. Defaults to `true` |
592
+ | `timeout` | number | Wait timeout in milliseconds. Default 30000ms, max 600000ms |
593
+
594
+ **Use Cases:**
595
+
596
+ * **Parallel Analysis**: Run multiple code analysis tasks simultaneously without blocking the main conversation
597
+ * **Long-Running Tasks**: Execute time-consuming codebase scans or refactoring analyses
598
+ * **Batch Processing**: Process large numbers of files or perform complex multi-step tasks in the background
599
+ * **Non-Blocking Workflows**: Continue other work while waiting for background tasks to complete
600
+
601
+ **Permission Handling:**
602
+
603
+ Background agents automatically handle permissions for tool calls during execution without user interaction. This ensures background tasks can execute smoothly without blocking due to waiting for user input.
604
+
605
+ > **Note**: Background agents are suitable for tasks that don't require frequent user interaction. If a task requires multiple user confirmations or inputs, foreground mode execution is recommended.
606
+
607
+ ## Performance Considerations
608
+
609
+ * **Context Efficiency**: Agents help preserve main context, enabling longer overall sessions
610
+ * **Latency**: Sub-agents start from a clean state each invocation and may add latency as they gather context needed to work effectively.
611
+
612
+ ## Related Documentation
613
+
614
+ * [Plugins](plugins.md) - Extend CodeBuddy Code with custom agents via plugins
615
+ * [Slash Commands](slash-commands.md) - Learn about other built-in commands
616
+ * [Settings Configuration](settings.md) - Configure CodeBuddy Code behavior
617
+ * [Hooks](hooks.md) - Automate workflows with event handlers
618
+
619
+ ---
620
+
621
+ *This documentation helps you understand how to create and use sub-agents in CodeBuddy Code to improve productivity.*
@@ -0,0 +1,77 @@
1
+ # Optimize Your Terminal Setup
2
+
3
+ > CodeBuddy Code works best when your terminal is properly configured. Follow these guidelines to optimize your experience.
4
+
5
+ ## 🎨 Themes and Appearance
6
+
7
+ CodeBuddy Code cannot control the theme of your terminal. That's handled by your terminal application. You can match CodeBuddy Code's theme to your terminal any time via the `/config` command.
8
+
9
+ For additional customization of the CodeBuddy Code interface itself, you can configure a [custom status line](statusline.md) to display contextual information like the current model, working directory, or git branch at the bottom of your terminal.
10
+
11
+ ## ⌨️ Line Breaks
12
+
13
+ You have several options for entering line breaks into CodeBuddy Code:
14
+
15
+ * **Ctrl+J**: Cross-platform shortcut, press Ctrl+J to insert a newline when entering multi-line input
16
+ * **Quick escape**: Type `\` followed by Enter to create a newline
17
+ * **Shift+Enter**: Automatically configured via the `/terminal-setup` command (recommended)
18
+
19
+ ### Set up Shift+Enter (Recommended):
20
+
21
+ Run `/terminal-setup` within CodeBuddy Code to automatically configure Shift+Enter.
22
+
23
+ Supported terminals:
24
+ * **macOS**: iTerm2, Terminal.app
25
+ * **IDE**: VSCode, Cursor, Windsurf, Zed, CodeBuddy
26
+ * **JetBrains**: PyCharm, IntelliJ IDEA, WebStorm, PhpStorm, GoLand, Rider, CLion, RubyMine, AppCode, DataGrip
27
+ * **Terminal Emulators**: Ghostty, WezTerm, Kitty, Alacritty, Hyper, Tabby, Warp
28
+ * **Windows**: Windows Terminal
29
+
30
+ ### Set up Option+Enter (VS Code, iTerm2 or macOS Terminal.app):
31
+
32
+ **For Mac Terminal.app:**
33
+
34
+ 1. Open Settings → Profiles → Keyboard
35
+ 2. Check "Use Option as Meta Key"
36
+
37
+ **For iTerm2 and VS Code terminal:**
38
+
39
+ 1. Open Settings → Profiles → Keys
40
+ 2. Under General, set Left/Right Option key to "Esc+"
41
+
42
+ ## 🔔 Notification Setup
43
+
44
+ Never miss when CodeBuddy completes a task with proper notification configuration:
45
+
46
+ ### iTerm 2 System Notifications
47
+
48
+ For iTerm 2 alerts when tasks complete:
49
+
50
+ 1. Open iTerm 2 Preferences
51
+ 2. Navigate to Profiles → Terminal
52
+ 3. Enable "Silence bell" and Filter Alerts → "Send escape sequence-generated alerts"
53
+ 4. Set your preferred notification delay
54
+
55
+ Note that these notifications are specific to iTerm 2 and not available in the default macOS Terminal.
56
+
57
+ ### Custom Notification Hooks
58
+
59
+ For advanced notification handling, you can create [notification hooks](hooks.md#notification) to run your own logic.
60
+
61
+ ## 📝 Handling Large Inputs
62
+
63
+ When working with extensive code or long instructions:
64
+
65
+ * **Avoid direct pasting**: CodeBuddy Code may struggle with very long pasted content
66
+ * **Use file-based workflows**: Write content to a file and ask CodeBuddy to read it
67
+ * **Be aware of VS Code limitations**: The VS Code terminal is particularly prone to truncating long pastes
68
+
69
+ ## ⌨️ Vim Mode
70
+
71
+ CodeBuddy Code supports a subset of Vim keybindings that can be enabled with `/vim` or configured via `/config`.
72
+
73
+ The supported subset includes:
74
+
75
+ * Mode switching: `Esc` (to NORMAL), `i`/`I`, `a`/`A`, `o`/`O` (to INSERT)
76
+ * Navigation: `h`/`j`/`k`/`l`, `w`/`e`/`b`, `0`/`$`/`^`, `gg`/`G`
77
+ * Editing: `x`, `dw`/`de`/`db`/`dd`/`D`, `cw`/`ce`/`cb`/`cc`/`C`, `.` (repeat)