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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (457) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/codebuddy-headless.js +58 -58
  3. package/dist/codebuddy.js +120 -79
  4. package/dist/web-ui/assets/{index-BPT-qRRx.js → index-Cl0stqCM.js} +145 -116
  5. package/dist/web-ui/assets/index-Dt1puyHn.css +32 -0
  6. package/dist/web-ui/docs/cn/cli/acp.md +152 -0
  7. package/dist/web-ui/docs/cn/cli/agent-teams.md +327 -0
  8. package/dist/web-ui/docs/cn/cli/bash-sandboxing.md +290 -0
  9. package/dist/web-ui/docs/cn/cli/best-practices.md +554 -0
  10. package/dist/web-ui/docs/cn/cli/channels-reference.md +293 -0
  11. package/dist/web-ui/docs/cn/cli/channels.md +215 -0
  12. package/dist/web-ui/docs/cn/cli/checkpointing.md +51 -0
  13. package/dist/web-ui/docs/cn/cli/cli-reference.md +187 -0
  14. package/dist/web-ui/docs/cn/cli/common-workflows.md +1013 -0
  15. package/dist/web-ui/docs/cn/cli/costs.md +174 -0
  16. package/dist/web-ui/docs/cn/cli/devcontainer.md +553 -0
  17. package/dist/web-ui/docs/cn/cli/env-vars.md +326 -0
  18. package/dist/web-ui/docs/cn/cli/gitlab-ci-cd.md +357 -0
  19. package/dist/web-ui/docs/cn/cli/headless.md +258 -0
  20. package/dist/web-ui/docs/cn/cli/hooks-guide.md +9 -0
  21. package/dist/web-ui/docs/cn/cli/hooks.md +805 -0
  22. package/dist/web-ui/docs/cn/cli/iam.md +530 -0
  23. package/dist/web-ui/docs/cn/cli/ide-integrations.md +92 -0
  24. package/dist/web-ui/docs/cn/cli/installation.md +291 -0
  25. package/dist/web-ui/docs/cn/cli/interactive-mode.md +233 -0
  26. package/dist/web-ui/docs/cn/cli/mcp.md +739 -0
  27. package/dist/web-ui/docs/cn/cli/memory.md +436 -0
  28. package/dist/web-ui/docs/cn/cli/models.md +356 -0
  29. package/dist/web-ui/docs/cn/cli/overview.md +100 -0
  30. package/dist/web-ui/docs/cn/cli/plugin-marketplaces.md +533 -0
  31. package/dist/web-ui/docs/cn/cli/plugins-reference.md +774 -0
  32. package/dist/web-ui/docs/cn/cli/plugins.md +689 -0
  33. package/dist/web-ui/docs/cn/cli/quickstart.md +249 -0
  34. package/dist/web-ui/docs/cn/cli/release-notes/README.md +199 -0
  35. package/dist/web-ui/docs/cn/cli/release-notes/v2.10.0.md +23 -0
  36. package/dist/web-ui/docs/cn/cli/release-notes/v2.10.1.md +5 -0
  37. package/dist/web-ui/docs/cn/cli/release-notes/v2.11.0.md +24 -0
  38. package/dist/web-ui/docs/cn/cli/release-notes/v2.12.0.md +21 -0
  39. package/dist/web-ui/docs/cn/cli/release-notes/v2.13.0.md +20 -0
  40. package/dist/web-ui/docs/cn/cli/release-notes/v2.14.0.md +22 -0
  41. package/dist/web-ui/docs/cn/cli/release-notes/v2.14.1.md +8 -0
  42. package/dist/web-ui/docs/cn/cli/release-notes/v2.15.0.md +18 -0
  43. package/dist/web-ui/docs/cn/cli/release-notes/v2.15.1.md +11 -0
  44. package/dist/web-ui/docs/cn/cli/release-notes/v2.16.0.md +20 -0
  45. package/dist/web-ui/docs/cn/cli/release-notes/v2.17.0.md +29 -0
  46. package/dist/web-ui/docs/cn/cli/release-notes/v2.18.0.md +17 -0
  47. package/dist/web-ui/docs/cn/cli/release-notes/v2.19.0.md +11 -0
  48. package/dist/web-ui/docs/cn/cli/release-notes/v2.19.1.md +14 -0
  49. package/dist/web-ui/docs/cn/cli/release-notes/v2.19.2.md +11 -0
  50. package/dist/web-ui/docs/cn/cli/release-notes/v2.20.0.md +23 -0
  51. package/dist/web-ui/docs/cn/cli/release-notes/v2.20.1.md +15 -0
  52. package/dist/web-ui/docs/cn/cli/release-notes/v2.21.0.md +13 -0
  53. package/dist/web-ui/docs/cn/cli/release-notes/v2.22.0.md +16 -0
  54. package/dist/web-ui/docs/cn/cli/release-notes/v2.23.0.md +20 -0
  55. package/dist/web-ui/docs/cn/cli/release-notes/v2.23.2.md +5 -0
  56. package/dist/web-ui/docs/cn/cli/release-notes/v2.23.3.md +5 -0
  57. package/dist/web-ui/docs/cn/cli/release-notes/v2.23.4.md +15 -0
  58. package/dist/web-ui/docs/cn/cli/release-notes/v2.23.5.md +11 -0
  59. package/dist/web-ui/docs/cn/cli/release-notes/v2.24.0.md +17 -0
  60. package/dist/web-ui/docs/cn/cli/release-notes/v2.25.0.md +18 -0
  61. package/dist/web-ui/docs/cn/cli/release-notes/v2.25.1.md +21 -0
  62. package/dist/web-ui/docs/cn/cli/release-notes/v2.26.0.md +18 -0
  63. package/dist/web-ui/docs/cn/cli/release-notes/v2.27.0.md +16 -0
  64. package/dist/web-ui/docs/cn/cli/release-notes/v2.27.1.md +16 -0
  65. package/dist/web-ui/docs/cn/cli/release-notes/v2.27.2.md +7 -0
  66. package/dist/web-ui/docs/cn/cli/release-notes/v2.27.3.md +15 -0
  67. package/dist/web-ui/docs/cn/cli/release-notes/v2.28.0.md +26 -0
  68. package/dist/web-ui/docs/cn/cli/release-notes/v2.28.1.md +5 -0
  69. package/dist/web-ui/docs/cn/cli/release-notes/v2.29.0.md +35 -0
  70. package/dist/web-ui/docs/cn/cli/release-notes/v2.3.1.md +16 -0
  71. package/dist/web-ui/docs/cn/cli/release-notes/v2.30.0.md +19 -0
  72. package/dist/web-ui/docs/cn/cli/release-notes/v2.30.1.md +5 -0
  73. package/dist/web-ui/docs/cn/cli/release-notes/v2.31.0.md +51 -0
  74. package/dist/web-ui/docs/cn/cli/release-notes/v2.31.1.md +11 -0
  75. package/dist/web-ui/docs/cn/cli/release-notes/v2.31.2.md +16 -0
  76. package/dist/web-ui/docs/cn/cli/release-notes/v2.32.0.md +19 -0
  77. package/dist/web-ui/docs/cn/cli/release-notes/v2.33.0.md +28 -0
  78. package/dist/web-ui/docs/cn/cli/release-notes/v2.33.1.md +7 -0
  79. package/dist/web-ui/docs/cn/cli/release-notes/v2.36.3.md +17 -0
  80. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.0.md +15 -0
  81. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.1.md +15 -0
  82. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.10.md +5 -0
  83. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.11.md +8 -0
  84. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.12.md +14 -0
  85. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.13.md +11 -0
  86. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.14.md +24 -0
  87. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.15.md +11 -0
  88. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.16.md +9 -0
  89. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.17.md +5 -0
  90. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.18.md +9 -0
  91. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.19.md +5 -0
  92. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.2.md +28 -0
  93. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.20.md +8 -0
  94. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.3.md +22 -0
  95. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.4.md +19 -0
  96. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.5.md +5 -0
  97. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.6.md +5 -0
  98. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.7.md +5 -0
  99. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.8.md +5 -0
  100. package/dist/web-ui/docs/cn/cli/release-notes/v2.37.9.md +8 -0
  101. package/dist/web-ui/docs/cn/cli/release-notes/v2.38.0.md +22 -0
  102. package/dist/web-ui/docs/cn/cli/release-notes/v2.38.1.md +6 -0
  103. package/dist/web-ui/docs/cn/cli/release-notes/v2.38.2.md +9 -0
  104. package/dist/web-ui/docs/cn/cli/release-notes/v2.39.0.md +18 -0
  105. package/dist/web-ui/docs/cn/cli/release-notes/v2.4.0.md +19 -0
  106. package/dist/web-ui/docs/cn/cli/release-notes/v2.40.0.md +20 -0
  107. package/dist/web-ui/docs/cn/cli/release-notes/v2.40.1.md +6 -0
  108. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.0.md +15 -0
  109. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.1.md +6 -0
  110. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.2.md +5 -0
  111. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.3.md +8 -0
  112. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.4.md +5 -0
  113. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.5.md +10 -0
  114. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.6.md +9 -0
  115. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.7.md +14 -0
  116. package/dist/web-ui/docs/cn/cli/release-notes/v2.41.8.md +18 -0
  117. package/dist/web-ui/docs/cn/cli/release-notes/v2.42.0.md +39 -0
  118. package/dist/web-ui/docs/cn/cli/release-notes/v2.42.1.md +8 -0
  119. package/dist/web-ui/docs/cn/cli/release-notes/v2.42.3.md +18 -0
  120. package/dist/web-ui/docs/cn/cli/release-notes/v2.43.0.md +27 -0
  121. package/dist/web-ui/docs/cn/cli/release-notes/v2.43.1.md +27 -0
  122. package/dist/web-ui/docs/cn/cli/release-notes/v2.44.0.md +11 -0
  123. package/dist/web-ui/docs/cn/cli/release-notes/v2.44.1.md +22 -0
  124. package/dist/web-ui/docs/cn/cli/release-notes/v2.45.0.md +34 -0
  125. package/dist/web-ui/docs/cn/cli/release-notes/v2.45.1.md +7 -0
  126. package/dist/web-ui/docs/cn/cli/release-notes/v2.46.0.md +12 -0
  127. package/dist/web-ui/docs/cn/cli/release-notes/v2.47.0.md +20 -0
  128. package/dist/web-ui/docs/cn/cli/release-notes/v2.48.0.md +32 -0
  129. package/dist/web-ui/docs/cn/cli/release-notes/v2.48.1.md +11 -0
  130. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.0.md +26 -0
  131. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.1.md +14 -0
  132. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.2.md +39 -0
  133. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.3.md +7 -0
  134. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.5.md +11 -0
  135. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.6.md +9 -0
  136. package/dist/web-ui/docs/cn/cli/release-notes/v2.49.7.md +7 -0
  137. package/dist/web-ui/docs/cn/cli/release-notes/v2.5.0.md +24 -0
  138. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.0.md +25 -0
  139. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.1.md +9 -0
  140. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.2.md +11 -0
  141. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.3.md +5 -0
  142. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.4.md +17 -0
  143. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.5.md +16 -0
  144. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.6.md +15 -0
  145. package/dist/web-ui/docs/cn/cli/release-notes/v2.50.7.md +15 -0
  146. package/dist/web-ui/docs/cn/cli/release-notes/v2.51.0.md +24 -0
  147. package/dist/web-ui/docs/cn/cli/release-notes/v2.51.1.md +17 -0
  148. package/dist/web-ui/docs/cn/cli/release-notes/v2.51.2.md +5 -0
  149. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.0.md +30 -0
  150. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.1.md +28 -0
  151. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.2.md +12 -0
  152. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.3.md +13 -0
  153. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.4.md +27 -0
  154. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.5.md +21 -0
  155. package/dist/web-ui/docs/cn/cli/release-notes/v2.52.6.md +7 -0
  156. package/dist/web-ui/docs/cn/cli/release-notes/v2.53.0.md +29 -0
  157. package/dist/web-ui/docs/cn/cli/release-notes/v2.54.0.md +26 -0
  158. package/dist/web-ui/docs/cn/cli/release-notes/v2.55.0.md +21 -0
  159. package/dist/web-ui/docs/cn/cli/release-notes/v2.55.1.md +13 -0
  160. package/dist/web-ui/docs/cn/cli/release-notes/v2.56.0.md +20 -0
  161. package/dist/web-ui/docs/cn/cli/release-notes/v2.56.1.md +5 -0
  162. package/dist/web-ui/docs/cn/cli/release-notes/v2.57.0.md +32 -0
  163. package/dist/web-ui/docs/cn/cli/release-notes/v2.57.1.md +10 -0
  164. package/dist/web-ui/docs/cn/cli/release-notes/v2.58.0.md +34 -0
  165. package/dist/web-ui/docs/cn/cli/release-notes/v2.59.0.md +28 -0
  166. package/dist/web-ui/docs/cn/cli/release-notes/v2.6.0.md +5 -0
  167. package/dist/web-ui/docs/cn/cli/release-notes/v2.6.1.md +10 -0
  168. package/dist/web-ui/docs/cn/cli/release-notes/v2.60.0.md +20 -0
  169. package/dist/web-ui/docs/cn/cli/release-notes/v2.61.0.md +29 -0
  170. package/dist/web-ui/docs/cn/cli/release-notes/v2.61.1.md +5 -0
  171. package/dist/web-ui/docs/cn/cli/release-notes/v2.61.2.md +6 -0
  172. package/dist/web-ui/docs/cn/cli/release-notes/v2.61.3.md +13 -0
  173. package/dist/web-ui/docs/cn/cli/release-notes/v2.62.0.md +21 -0
  174. package/dist/web-ui/docs/cn/cli/release-notes/v2.62.1.md +11 -0
  175. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.0.md +19 -0
  176. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.1.md +5 -0
  177. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.2.md +7 -0
  178. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.3.md +6 -0
  179. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.4.md +8 -0
  180. package/dist/web-ui/docs/cn/cli/release-notes/v2.63.5.md +6 -0
  181. package/dist/web-ui/docs/cn/cli/release-notes/v2.64.0.md +37 -0
  182. package/dist/web-ui/docs/cn/cli/release-notes/v2.64.1.md +6 -0
  183. package/dist/web-ui/docs/cn/cli/release-notes/v2.64.2.md +11 -0
  184. package/dist/web-ui/docs/cn/cli/release-notes/v2.65.0.md +19 -0
  185. package/dist/web-ui/docs/cn/cli/release-notes/v2.65.1.md +11 -0
  186. package/dist/web-ui/docs/cn/cli/release-notes/v2.66.0.md +15 -0
  187. package/dist/web-ui/docs/cn/cli/release-notes/v2.66.1.md +14 -0
  188. package/dist/web-ui/docs/cn/cli/release-notes/v2.66.2.md +5 -0
  189. package/dist/web-ui/docs/cn/cli/release-notes/v2.67.0.md +33 -0
  190. package/dist/web-ui/docs/cn/cli/release-notes/v2.7.0.md +16 -0
  191. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.0.md +18 -0
  192. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.1.md +17 -0
  193. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.2.md +5 -0
  194. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.3.md +14 -0
  195. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.4.md +9 -0
  196. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.5.md +5 -0
  197. package/dist/web-ui/docs/cn/cli/release-notes/v2.8.6.md +14 -0
  198. package/dist/web-ui/docs/cn/cli/release-notes/v2.9.0.md +5 -0
  199. package/dist/web-ui/docs/cn/cli/remote-control.md +247 -0
  200. package/dist/web-ui/docs/cn/cli/sandboxing.md +316 -0
  201. package/dist/web-ui/docs/cn/cli/scheduled-tasks.md +161 -0
  202. package/dist/web-ui/docs/cn/cli/sdk-custom-tools.md +1195 -0
  203. package/dist/web-ui/docs/cn/cli/sdk-demos.md +347 -0
  204. package/dist/web-ui/docs/cn/cli/sdk-hooks.md +803 -0
  205. package/dist/web-ui/docs/cn/cli/sdk-mcp.md +643 -0
  206. package/dist/web-ui/docs/cn/cli/sdk-permissions.md +501 -0
  207. package/dist/web-ui/docs/cn/cli/sdk-python.md +783 -0
  208. package/dist/web-ui/docs/cn/cli/sdk-sessions.md +332 -0
  209. package/dist/web-ui/docs/cn/cli/sdk-typescript.md +759 -0
  210. package/dist/web-ui/docs/cn/cli/sdk.md +1105 -0
  211. package/dist/web-ui/docs/cn/cli/security.md +387 -0
  212. package/dist/web-ui/docs/cn/cli/settings.md +602 -0
  213. package/dist/web-ui/docs/cn/cli/skills.md +448 -0
  214. package/dist/web-ui/docs/cn/cli/slash-commands.md +397 -0
  215. package/dist/web-ui/docs/cn/cli/statusline.md +525 -0
  216. package/dist/web-ui/docs/cn/cli/sub-agents.md +634 -0
  217. package/dist/web-ui/docs/cn/cli/terminal-config.md +77 -0
  218. package/dist/web-ui/docs/cn/cli/tools-reference.md +99 -0
  219. package/dist/web-ui/docs/cn/cli/troubleshooting.md +190 -0
  220. package/dist/web-ui/docs/cn/cli/web-ui.md +164 -0
  221. package/dist/web-ui/docs/cn/cli/wecom-bot-setup.md +274 -0
  222. package/dist/web-ui/docs/cn/cli/worktree.md +660 -0
  223. package/dist/web-ui/docs/en/cli/acp.md +126 -0
  224. package/dist/web-ui/docs/en/cli/agent-teams.md +327 -0
  225. package/dist/web-ui/docs/en/cli/bash-sandboxing.md +357 -0
  226. package/dist/web-ui/docs/en/cli/best-practices.md +554 -0
  227. package/dist/web-ui/docs/en/cli/channels-reference.md +293 -0
  228. package/dist/web-ui/docs/en/cli/channels.md +215 -0
  229. package/dist/web-ui/docs/en/cli/checkpointing.md +53 -0
  230. package/dist/web-ui/docs/en/cli/cli-reference.md +187 -0
  231. package/dist/web-ui/docs/en/cli/common-workflows.md +1011 -0
  232. package/dist/web-ui/docs/en/cli/costs.md +174 -0
  233. package/dist/web-ui/docs/en/cli/devcontainer.md +553 -0
  234. package/dist/web-ui/docs/en/cli/env-vars.md +326 -0
  235. package/dist/web-ui/docs/en/cli/gitlab-ci-cd.md +357 -0
  236. package/dist/web-ui/docs/en/cli/headless.md +258 -0
  237. package/dist/web-ui/docs/en/cli/hooks-guide.md +9 -0
  238. package/dist/web-ui/docs/en/cli/hooks.md +801 -0
  239. package/dist/web-ui/docs/en/cli/iam.md +526 -0
  240. package/dist/web-ui/docs/en/cli/ide-integrations.md +92 -0
  241. package/dist/web-ui/docs/en/cli/installation.md +266 -0
  242. package/dist/web-ui/docs/en/cli/interactive-mode.md +233 -0
  243. package/dist/web-ui/docs/en/cli/mcp.md +739 -0
  244. package/dist/web-ui/docs/en/cli/memory.md +436 -0
  245. package/dist/web-ui/docs/en/cli/models.md +355 -0
  246. package/dist/web-ui/docs/en/cli/overview.md +100 -0
  247. package/dist/web-ui/docs/en/cli/plugin-marketplaces.md +534 -0
  248. package/dist/web-ui/docs/en/cli/plugins-reference.md +774 -0
  249. package/dist/web-ui/docs/en/cli/plugins.md +688 -0
  250. package/dist/web-ui/docs/en/cli/quickstart.md +249 -0
  251. package/dist/web-ui/docs/en/cli/release-notes/README.md +193 -0
  252. package/dist/web-ui/docs/en/cli/release-notes/v2.10.0.md +23 -0
  253. package/dist/web-ui/docs/en/cli/release-notes/v2.10.1.md +5 -0
  254. package/dist/web-ui/docs/en/cli/release-notes/v2.11.0.md +24 -0
  255. package/dist/web-ui/docs/en/cli/release-notes/v2.12.0.md +21 -0
  256. package/dist/web-ui/docs/en/cli/release-notes/v2.13.0.md +20 -0
  257. package/dist/web-ui/docs/en/cli/release-notes/v2.14.0.md +22 -0
  258. package/dist/web-ui/docs/en/cli/release-notes/v2.14.1.md +8 -0
  259. package/dist/web-ui/docs/en/cli/release-notes/v2.15.0.md +18 -0
  260. package/dist/web-ui/docs/en/cli/release-notes/v2.15.1.md +11 -0
  261. package/dist/web-ui/docs/en/cli/release-notes/v2.16.0.md +20 -0
  262. package/dist/web-ui/docs/en/cli/release-notes/v2.17.0.md +29 -0
  263. package/dist/web-ui/docs/en/cli/release-notes/v2.18.0.md +17 -0
  264. package/dist/web-ui/docs/en/cli/release-notes/v2.19.0.md +11 -0
  265. package/dist/web-ui/docs/en/cli/release-notes/v2.19.1.md +14 -0
  266. package/dist/web-ui/docs/en/cli/release-notes/v2.19.2.md +11 -0
  267. package/dist/web-ui/docs/en/cli/release-notes/v2.20.0.md +23 -0
  268. package/dist/web-ui/docs/en/cli/release-notes/v2.20.1.md +15 -0
  269. package/dist/web-ui/docs/en/cli/release-notes/v2.21.0.md +13 -0
  270. package/dist/web-ui/docs/en/cli/release-notes/v2.22.0.md +16 -0
  271. package/dist/web-ui/docs/en/cli/release-notes/v2.23.0.md +41 -0
  272. package/dist/web-ui/docs/en/cli/release-notes/v2.23.2.md +5 -0
  273. package/dist/web-ui/docs/en/cli/release-notes/v2.23.3.md +5 -0
  274. package/dist/web-ui/docs/en/cli/release-notes/v2.23.4.md +15 -0
  275. package/dist/web-ui/docs/en/cli/release-notes/v2.23.5.md +11 -0
  276. package/dist/web-ui/docs/en/cli/release-notes/v2.24.0.md +17 -0
  277. package/dist/web-ui/docs/en/cli/release-notes/v2.25.0.md +18 -0
  278. package/dist/web-ui/docs/en/cli/release-notes/v2.25.1.md +21 -0
  279. package/dist/web-ui/docs/en/cli/release-notes/v2.26.0.md +18 -0
  280. package/dist/web-ui/docs/en/cli/release-notes/v2.27.0.md +16 -0
  281. package/dist/web-ui/docs/en/cli/release-notes/v2.27.1.md +16 -0
  282. package/dist/web-ui/docs/en/cli/release-notes/v2.27.2.md +7 -0
  283. package/dist/web-ui/docs/en/cli/release-notes/v2.27.3.md +15 -0
  284. package/dist/web-ui/docs/en/cli/release-notes/v2.28.0.md +26 -0
  285. package/dist/web-ui/docs/en/cli/release-notes/v2.28.1.md +5 -0
  286. package/dist/web-ui/docs/en/cli/release-notes/v2.29.0.md +35 -0
  287. package/dist/web-ui/docs/en/cli/release-notes/v2.3.1.md +16 -0
  288. package/dist/web-ui/docs/en/cli/release-notes/v2.30.0.md +19 -0
  289. package/dist/web-ui/docs/en/cli/release-notes/v2.30.1.md +5 -0
  290. package/dist/web-ui/docs/en/cli/release-notes/v2.31.0.md +51 -0
  291. package/dist/web-ui/docs/en/cli/release-notes/v2.31.1.md +11 -0
  292. package/dist/web-ui/docs/en/cli/release-notes/v2.31.2.md +16 -0
  293. package/dist/web-ui/docs/en/cli/release-notes/v2.32.0.md +19 -0
  294. package/dist/web-ui/docs/en/cli/release-notes/v2.33.0.md +28 -0
  295. package/dist/web-ui/docs/en/cli/release-notes/v2.33.1.md +7 -0
  296. package/dist/web-ui/docs/en/cli/release-notes/v2.34.0.md +27 -0
  297. package/dist/web-ui/docs/en/cli/release-notes/v2.34.1.md +7 -0
  298. package/dist/web-ui/docs/en/cli/release-notes/v2.35.0.md +22 -0
  299. package/dist/web-ui/docs/en/cli/release-notes/v2.36.0.md +23 -0
  300. package/dist/web-ui/docs/en/cli/release-notes/v2.36.1.md +5 -0
  301. package/dist/web-ui/docs/en/cli/release-notes/v2.36.2.md +22 -0
  302. package/dist/web-ui/docs/en/cli/release-notes/v2.36.3.md +17 -0
  303. package/dist/web-ui/docs/en/cli/release-notes/v2.37.0.md +15 -0
  304. package/dist/web-ui/docs/en/cli/release-notes/v2.37.1.md +15 -0
  305. package/dist/web-ui/docs/en/cli/release-notes/v2.37.10.md +5 -0
  306. package/dist/web-ui/docs/en/cli/release-notes/v2.37.11.md +8 -0
  307. package/dist/web-ui/docs/en/cli/release-notes/v2.37.12.md +14 -0
  308. package/dist/web-ui/docs/en/cli/release-notes/v2.37.13.md +11 -0
  309. package/dist/web-ui/docs/en/cli/release-notes/v2.37.14.md +24 -0
  310. package/dist/web-ui/docs/en/cli/release-notes/v2.37.15.md +11 -0
  311. package/dist/web-ui/docs/en/cli/release-notes/v2.37.16.md +9 -0
  312. package/dist/web-ui/docs/en/cli/release-notes/v2.37.17.md +5 -0
  313. package/dist/web-ui/docs/en/cli/release-notes/v2.37.18.md +9 -0
  314. package/dist/web-ui/docs/en/cli/release-notes/v2.37.19.md +5 -0
  315. package/dist/web-ui/docs/en/cli/release-notes/v2.37.2.md +28 -0
  316. package/dist/web-ui/docs/en/cli/release-notes/v2.37.20.md +8 -0
  317. package/dist/web-ui/docs/en/cli/release-notes/v2.37.3.md +22 -0
  318. package/dist/web-ui/docs/en/cli/release-notes/v2.37.4.md +19 -0
  319. package/dist/web-ui/docs/en/cli/release-notes/v2.37.5.md +5 -0
  320. package/dist/web-ui/docs/en/cli/release-notes/v2.37.6.md +5 -0
  321. package/dist/web-ui/docs/en/cli/release-notes/v2.37.7.md +5 -0
  322. package/dist/web-ui/docs/en/cli/release-notes/v2.37.8.md +5 -0
  323. package/dist/web-ui/docs/en/cli/release-notes/v2.37.9.md +8 -0
  324. package/dist/web-ui/docs/en/cli/release-notes/v2.38.0.md +22 -0
  325. package/dist/web-ui/docs/en/cli/release-notes/v2.38.1.md +6 -0
  326. package/dist/web-ui/docs/en/cli/release-notes/v2.38.2.md +9 -0
  327. package/dist/web-ui/docs/en/cli/release-notes/v2.39.0.md +18 -0
  328. package/dist/web-ui/docs/en/cli/release-notes/v2.4.0.md +19 -0
  329. package/dist/web-ui/docs/en/cli/release-notes/v2.40.0.md +20 -0
  330. package/dist/web-ui/docs/en/cli/release-notes/v2.40.1.md +6 -0
  331. package/dist/web-ui/docs/en/cli/release-notes/v2.41.0.md +15 -0
  332. package/dist/web-ui/docs/en/cli/release-notes/v2.41.1.md +6 -0
  333. package/dist/web-ui/docs/en/cli/release-notes/v2.41.2.md +5 -0
  334. package/dist/web-ui/docs/en/cli/release-notes/v2.41.3.md +8 -0
  335. package/dist/web-ui/docs/en/cli/release-notes/v2.41.4.md +5 -0
  336. package/dist/web-ui/docs/en/cli/release-notes/v2.41.5.md +10 -0
  337. package/dist/web-ui/docs/en/cli/release-notes/v2.41.6.md +9 -0
  338. package/dist/web-ui/docs/en/cli/release-notes/v2.41.7.md +14 -0
  339. package/dist/web-ui/docs/en/cli/release-notes/v2.41.8.md +18 -0
  340. package/dist/web-ui/docs/en/cli/release-notes/v2.42.0.md +39 -0
  341. package/dist/web-ui/docs/en/cli/release-notes/v2.42.1.md +8 -0
  342. package/dist/web-ui/docs/en/cli/release-notes/v2.42.3.md +18 -0
  343. package/dist/web-ui/docs/en/cli/release-notes/v2.43.0.md +27 -0
  344. package/dist/web-ui/docs/en/cli/release-notes/v2.43.1.md +27 -0
  345. package/dist/web-ui/docs/en/cli/release-notes/v2.44.0.md +11 -0
  346. package/dist/web-ui/docs/en/cli/release-notes/v2.44.1.md +22 -0
  347. package/dist/web-ui/docs/en/cli/release-notes/v2.45.0.md +34 -0
  348. package/dist/web-ui/docs/en/cli/release-notes/v2.45.1.md +7 -0
  349. package/dist/web-ui/docs/en/cli/release-notes/v2.46.0.md +12 -0
  350. package/dist/web-ui/docs/en/cli/release-notes/v2.47.0.md +20 -0
  351. package/dist/web-ui/docs/en/cli/release-notes/v2.48.0.md +32 -0
  352. package/dist/web-ui/docs/en/cli/release-notes/v2.48.1.md +11 -0
  353. package/dist/web-ui/docs/en/cli/release-notes/v2.49.0.md +26 -0
  354. package/dist/web-ui/docs/en/cli/release-notes/v2.49.1.md +14 -0
  355. package/dist/web-ui/docs/en/cli/release-notes/v2.49.2.md +39 -0
  356. package/dist/web-ui/docs/en/cli/release-notes/v2.49.3.md +7 -0
  357. package/dist/web-ui/docs/en/cli/release-notes/v2.49.5.md +11 -0
  358. package/dist/web-ui/docs/en/cli/release-notes/v2.49.6.md +9 -0
  359. package/dist/web-ui/docs/en/cli/release-notes/v2.49.7.md +7 -0
  360. package/dist/web-ui/docs/en/cli/release-notes/v2.5.0.md +24 -0
  361. package/dist/web-ui/docs/en/cli/release-notes/v2.50.0.md +25 -0
  362. package/dist/web-ui/docs/en/cli/release-notes/v2.50.1.md +9 -0
  363. package/dist/web-ui/docs/en/cli/release-notes/v2.50.2.md +11 -0
  364. package/dist/web-ui/docs/en/cli/release-notes/v2.50.3.md +5 -0
  365. package/dist/web-ui/docs/en/cli/release-notes/v2.50.4.md +17 -0
  366. package/dist/web-ui/docs/en/cli/release-notes/v2.50.5.md +16 -0
  367. package/dist/web-ui/docs/en/cli/release-notes/v2.50.6.md +15 -0
  368. package/dist/web-ui/docs/en/cli/release-notes/v2.50.7.md +15 -0
  369. package/dist/web-ui/docs/en/cli/release-notes/v2.51.0.md +24 -0
  370. package/dist/web-ui/docs/en/cli/release-notes/v2.51.1.md +17 -0
  371. package/dist/web-ui/docs/en/cli/release-notes/v2.51.2.md +5 -0
  372. package/dist/web-ui/docs/en/cli/release-notes/v2.52.0.md +30 -0
  373. package/dist/web-ui/docs/en/cli/release-notes/v2.52.1.md +28 -0
  374. package/dist/web-ui/docs/en/cli/release-notes/v2.52.2.md +12 -0
  375. package/dist/web-ui/docs/en/cli/release-notes/v2.52.3.md +13 -0
  376. package/dist/web-ui/docs/en/cli/release-notes/v2.52.4.md +27 -0
  377. package/dist/web-ui/docs/en/cli/release-notes/v2.52.5.md +21 -0
  378. package/dist/web-ui/docs/en/cli/release-notes/v2.52.6.md +7 -0
  379. package/dist/web-ui/docs/en/cli/release-notes/v2.53.0.md +29 -0
  380. package/dist/web-ui/docs/en/cli/release-notes/v2.54.0.md +26 -0
  381. package/dist/web-ui/docs/en/cli/release-notes/v2.55.0.md +21 -0
  382. package/dist/web-ui/docs/en/cli/release-notes/v2.55.1.md +13 -0
  383. package/dist/web-ui/docs/en/cli/release-notes/v2.56.0.md +20 -0
  384. package/dist/web-ui/docs/en/cli/release-notes/v2.56.1.md +5 -0
  385. package/dist/web-ui/docs/en/cli/release-notes/v2.57.0.md +32 -0
  386. package/dist/web-ui/docs/en/cli/release-notes/v2.57.1.md +10 -0
  387. package/dist/web-ui/docs/en/cli/release-notes/v2.58.0.md +34 -0
  388. package/dist/web-ui/docs/en/cli/release-notes/v2.59.0.md +28 -0
  389. package/dist/web-ui/docs/en/cli/release-notes/v2.6.0.md +5 -0
  390. package/dist/web-ui/docs/en/cli/release-notes/v2.6.1.md +10 -0
  391. package/dist/web-ui/docs/en/cli/release-notes/v2.60.0.md +20 -0
  392. package/dist/web-ui/docs/en/cli/release-notes/v2.61.0.md +29 -0
  393. package/dist/web-ui/docs/en/cli/release-notes/v2.61.1.md +5 -0
  394. package/dist/web-ui/docs/en/cli/release-notes/v2.61.2.md +6 -0
  395. package/dist/web-ui/docs/en/cli/release-notes/v2.61.3.md +13 -0
  396. package/dist/web-ui/docs/en/cli/release-notes/v2.62.0.md +21 -0
  397. package/dist/web-ui/docs/en/cli/release-notes/v2.62.1.md +11 -0
  398. package/dist/web-ui/docs/en/cli/release-notes/v2.63.0.md +19 -0
  399. package/dist/web-ui/docs/en/cli/release-notes/v2.63.1.md +5 -0
  400. package/dist/web-ui/docs/en/cli/release-notes/v2.63.2.md +7 -0
  401. package/dist/web-ui/docs/en/cli/release-notes/v2.63.3.md +6 -0
  402. package/dist/web-ui/docs/en/cli/release-notes/v2.63.4.md +8 -0
  403. package/dist/web-ui/docs/en/cli/release-notes/v2.63.5.md +6 -0
  404. package/dist/web-ui/docs/en/cli/release-notes/v2.64.0.md +37 -0
  405. package/dist/web-ui/docs/en/cli/release-notes/v2.64.1.md +6 -0
  406. package/dist/web-ui/docs/en/cli/release-notes/v2.64.2.md +11 -0
  407. package/dist/web-ui/docs/en/cli/release-notes/v2.65.0.md +19 -0
  408. package/dist/web-ui/docs/en/cli/release-notes/v2.65.1.md +11 -0
  409. package/dist/web-ui/docs/en/cli/release-notes/v2.66.0.md +15 -0
  410. package/dist/web-ui/docs/en/cli/release-notes/v2.66.1.md +14 -0
  411. package/dist/web-ui/docs/en/cli/release-notes/v2.66.2.md +5 -0
  412. package/dist/web-ui/docs/en/cli/release-notes/v2.67.0.md +33 -0
  413. package/dist/web-ui/docs/en/cli/release-notes/v2.7.0.md +16 -0
  414. package/dist/web-ui/docs/en/cli/release-notes/v2.8.0.md +18 -0
  415. package/dist/web-ui/docs/en/cli/release-notes/v2.8.1.md +17 -0
  416. package/dist/web-ui/docs/en/cli/release-notes/v2.8.2.md +5 -0
  417. package/dist/web-ui/docs/en/cli/release-notes/v2.8.3.md +14 -0
  418. package/dist/web-ui/docs/en/cli/release-notes/v2.8.4.md +9 -0
  419. package/dist/web-ui/docs/en/cli/release-notes/v2.8.5.md +5 -0
  420. package/dist/web-ui/docs/en/cli/release-notes/v2.8.6.md +14 -0
  421. package/dist/web-ui/docs/en/cli/release-notes/v2.9.0.md +5 -0
  422. package/dist/web-ui/docs/en/cli/remote-control.md +247 -0
  423. package/dist/web-ui/docs/en/cli/sandboxing.md +316 -0
  424. package/dist/web-ui/docs/en/cli/scheduled-tasks.md +160 -0
  425. package/dist/web-ui/docs/en/cli/sdk-custom-tools.md +1131 -0
  426. package/dist/web-ui/docs/en/cli/sdk-demos.md +347 -0
  427. package/dist/web-ui/docs/en/cli/sdk-hooks.md +813 -0
  428. package/dist/web-ui/docs/en/cli/sdk-mcp.md +645 -0
  429. package/dist/web-ui/docs/en/cli/sdk-permissions.md +461 -0
  430. package/dist/web-ui/docs/en/cli/sdk-python.md +797 -0
  431. package/dist/web-ui/docs/en/cli/sdk-sessions.md +340 -0
  432. package/dist/web-ui/docs/en/cli/sdk-typescript.md +770 -0
  433. package/dist/web-ui/docs/en/cli/sdk.md +1103 -0
  434. package/dist/web-ui/docs/en/cli/security.md +388 -0
  435. package/dist/web-ui/docs/en/cli/settings.md +602 -0
  436. package/dist/web-ui/docs/en/cli/skills.md +448 -0
  437. package/dist/web-ui/docs/en/cli/slash-commands.md +397 -0
  438. package/dist/web-ui/docs/en/cli/statusline.md +525 -0
  439. package/dist/web-ui/docs/en/cli/sub-agents.md +621 -0
  440. package/dist/web-ui/docs/en/cli/terminal-config.md +77 -0
  441. package/dist/web-ui/docs/en/cli/tools-reference.md +99 -0
  442. package/dist/web-ui/docs/en/cli/troubleshooting.md +190 -0
  443. package/dist/web-ui/docs/en/cli/web-ui.md +164 -0
  444. package/dist/web-ui/docs/en/cli/wecom-bot-setup.md +274 -0
  445. package/dist/web-ui/docs/en/cli/worktree.md +660 -0
  446. package/dist/web-ui/docs/search-index-en.json +1 -0
  447. package/dist/web-ui/docs/search-index-zh.json +1 -0
  448. package/dist/web-ui/docs/sidebar-en.json +1 -0
  449. package/dist/web-ui/docs/sidebar-zh.json +1 -0
  450. package/dist/web-ui/index.html +2 -2
  451. package/package.json +3 -2
  452. package/product.cloudhosted.json +2 -2
  453. package/product.internal.json +2 -2
  454. package/product.ioa.json +2 -2
  455. package/product.json +3 -3
  456. package/product.selfhosted.json +2 -2
  457. package/dist/web-ui/assets/index-f_ibHSHw.css +0 -32
@@ -0,0 +1,99 @@
1
+ # Tools Reference
2
+
3
+ > Complete reference for CodeBuddy Code's available tools, including permission requirements.
4
+
5
+ CodeBuddy Code includes a set of built-in tools to help understand and modify your codebase. The tool names in the table below are the identifiers used in [permission rules](iam.md#tool-specific-permission-rules), [sub-agent tool lists](sub-agents.md), and [Hook matchers](hooks.md).
6
+
7
+ | Tool | Description | Requires Permission |
8
+ | :--- | :--- | :------- |
9
+ | `Agent` | Spawns a [sub-agent](sub-agents.md) with an independent context window to handle tasks | No |
10
+ | `AskUserQuestion` | Asks the user a multiple-choice question to gather requirements or clarify ambiguities | Yes |
11
+ | `Bash` | Executes shell commands in your environment. See [Bash Tool Behavior](#bash-tool-behavior) | Yes |
12
+ | `CronCreate` | Schedules recurring or one-time tasks within the current session (expires on exit). See [Scheduled Tasks](scheduled-tasks.md) | No |
13
+ | `CronDelete` | Cancels a scheduled task by ID | No |
14
+ | `CronList` | Lists all scheduled tasks in the current session | No |
15
+ | `DeferExecuteTool` | Executes a deferred tool discovered via `ToolSearch` | No |
16
+ | `Edit` | Performs precise string replacement edits on files | Yes |
17
+ | `EnterPlanMode` | Switches to plan mode for designing implementation approaches before coding | No |
18
+ | `EnterWorktree` | Creates an isolated [git worktree](worktree.md) and switches into it | Yes |
19
+ | `ExitPlanMode` | Submits a plan for user approval and exits plan mode | Yes |
20
+ | `Glob` | Finds files using glob patterns | No |
21
+ | `Grep` | Searches file contents using regex patterns | No |
22
+ | `ImageEdit` | Edits or modifies existing images based on text instructions | Yes |
23
+ | `ImageGen` | Generates images from text descriptions | Yes |
24
+ | `LeaveWorktree` | Exits the worktree session and returns to the original directory | Yes |
25
+ | `LSP` | Provides code intelligence via Language Server. Automatically reports type errors and warnings after file edits. Also supports navigation operations such as go-to-definition, find references, get type info, list symbols, find implementations, and trace call hierarchies. Requires a [Code Intelligence Plugin](plugins.md) and its language server binary | No |
26
+ | `MultiEdit` | Performs multiple edits on the same file in a single atomic operation | Yes |
27
+ | `NotebookEdit` | Modifies Jupyter notebook cell contents | Yes |
28
+ | `Read` | Reads file contents, supporting images, PDFs, and Jupyter notebooks | No |
29
+ | `SendMessage` | Sends messages to teammates in an [Agent Team](agent-teams.md) | No |
30
+ | `Skill` | Executes a [Skill](skills.md) in the main conversation | No |
31
+ | `SlashCommand` | Executes a custom [slash command](slash-commands.md) | Yes |
32
+ | `StructuredOutput` | Returns structured output conforming to a JSON Schema | No |
33
+ | `TaskCreate` | Creates a new task in the task list | No |
34
+ | `TaskGet` | Retrieves full details of a specific task | No |
35
+ | `TaskList` | Lists all tasks with their current status | No |
36
+ | `TaskOutput` | Retrieves output from a background task or sub-agent | No |
37
+ | `TaskStop` | Stops a running background task by ID | No |
38
+ | `TaskUpdate` | Updates task status, dependencies, details, or deletes a task | No |
39
+ | `TeamCreate` | Creates an [Agent Team](agent-teams.md) for coordinating multiple agents | No |
40
+ | `TeamDelete` | Deletes an Agent Team and its task directory | No |
41
+ | `ToolSearch` | Searches and loads deferred tools, supporting both built-in tools and [MCP tools](mcp.md#deferred-loading-defer_loading) | No |
42
+ | `WebFetch` | Fetches content from a specified URL and performs AI analysis | Yes |
43
+ | `WebSearch` | Performs a web search | Yes |
44
+ | `Write` | Creates or overwrites files | Yes |
45
+
46
+ Permission rules can be configured via the `/permissions` command or in [permission settings](settings.md#permission-settings). See also [Tool-Specific Permission Rules](iam.md#tool-specific-permission-rules).
47
+
48
+ ## Tool Aliases
49
+
50
+ Some tools have aliases that can be used interchangeably in permission rules:
51
+
52
+ | Tool | Alias |
53
+ | :--- | :--- |
54
+ | `TaskOutput` | `BashOutput` |
55
+ | `TaskStop` | `KillShell` |
56
+
57
+ ## Bash Tool Behavior
58
+
59
+ The Bash tool executes each command in a separate process with the following persistence characteristics:
60
+
61
+ * **Working directory** persists across commands. Set `CODEBUDDY_BASH_MAINTAIN_PROJECT_WORKING_DIR=1` to reset to the project directory after each command.
62
+ * **Environment variables do not persist**. An `export` in one command will not take effect in the next command.
63
+
64
+ Activate your virtualenv or conda environment before launching CodeBuddy Code. To persist environment variables across Bash commands, set [`CODEBUDDY_ENV_FILE`](env-vars.md) to point to a shell script before startup, or use a [SessionStart Hook](hooks.md) to populate it dynamically.
65
+
66
+ ### Sandbox Mode
67
+
68
+ The Bash tool supports [sandbox isolation](bash-sandboxing.md), which can restrict filesystem and network access. When sandbox is enabled, commands execute in a restricted environment to prevent unauthorized system access.
69
+
70
+ The `dangerouslyDisableSandbox` parameter allows bypassing the sandbox on a per-command basis (requires user approval).
71
+
72
+ ### Background Execution
73
+
74
+ The `run_in_background` parameter allows running commands in the background, using the `TaskOutput` tool to read the output. This is suitable for long-running builds, tests, and similar scenarios.
75
+
76
+ ## Deferred Tool Loading
77
+
78
+ Some tools (such as those provided via [MCP servers](mcp.md)) use deferred loading. These tools do not appear in the initial tool list and must be discovered and activated via `ToolSearch`. Once activated, tools remain available for the rest of the session.
79
+
80
+ Tools can be configured as deferred via product configuration:
81
+
82
+ ```json
83
+ {
84
+ "tools": {
85
+ "ToolName": {
86
+ "deferLoading": true
87
+ }
88
+ }
89
+ }
90
+ ```
91
+
92
+ ## See Also
93
+
94
+ * [Identity and Access Management](iam.md): Permission system, rule syntax, and tool-specific rules
95
+ * [Sub-Agents](sub-agents.md): Configuring tool access for sub-agents
96
+ * [Hooks](hooks-guide.md): Running custom commands before and after tool execution
97
+ * [MCP Integration](mcp.md): Extending available tools via MCP servers
98
+ * [Scheduled Tasks](scheduled-tasks.md): Scheduling automated tasks with CronCreate
99
+ * [Agent Teams](agent-teams.md): Multi-agent collaborative team system
@@ -0,0 +1,190 @@
1
+ # Troubleshooting and Best Practices
2
+
3
+ This document covers common problem solutions and usage optimization tips.
4
+
5
+
6
+ ## Common Issues
7
+
8
+ ### Shared Quota
9
+
10
+ CLI, CodeBuddy IDE, and CodeBuddy Plugin share the same account's resource quota.
11
+
12
+ ### ESC Key Not Working in JetBrains IDE
13
+
14
+ JetBrains terminal handles the ESC key differently. Use `Ctrl+ESC` or `Shift+ESC` instead.
15
+
16
+ | Action | Standard Terminal | JetBrains Terminal |
17
+ |-----|---------|---------------|
18
+ | Exit/Cancel | `ESC` | `Ctrl+ESC` or `Shift+ESC` |
19
+
20
+ ### Model Switching
21
+
22
+ ```
23
+ /model # Interactive selection
24
+ /model [model-name] # Switch directly
25
+ /status # View current model
26
+ ```
27
+
28
+ ### --serve Mode Network Access Issues
29
+
30
+ #### LAN IP Access Returns `ERR_EMPTY_RESPONSE`
31
+
32
+ **Symptom**: After starting with `codebuddy --serve`, accessing via LAN IP (e.g., `http://10.31.110.26:52477`) results in `ERR_EMPTY_RESPONSE` in the browser.
33
+
34
+ **Cause**: The HTTP server listens on `127.0.0.1` (loopback address) by default, accepting only local connections. When accessing via LAN IP, the request reaches the machine but is rejected by the service.
35
+
36
+ **Solution**: Add the `--host 0.0.0.0` parameter at startup to listen on all network interfaces:
37
+
38
+ ```bash
39
+ codebuddy --serve --host 0.0.0.0 --port 8080
40
+ ```
41
+
42
+ > Password authentication is automatically enabled when starting on a non-loopback address. The password is visible in the console output.
43
+
44
+ #### Verify Service Listening Status
45
+
46
+ You can check if the service is listening correctly with:
47
+
48
+ ```bash
49
+ # macOS / Linux
50
+ lsof -i :PORT_NUMBER
51
+
52
+ # Or
53
+ netstat -an | grep PORT_NUMBER
54
+ ```
55
+
56
+ - If showing `127.0.0.1:PORT` — accepts local connections only
57
+ - If showing `0.0.0.0:PORT` or `*:PORT` — accepts all network connections
58
+
59
+ ---
60
+
61
+ ## Updates
62
+
63
+ ### Auto Updates
64
+
65
+ Enabled by default; new versions are automatically applied on next startup. Manage the toggle via `/config`.
66
+
67
+ ### Manual Update
68
+
69
+ ```bash
70
+ codebuddy update # Built-in command (recommended)
71
+ npm install -g @tencent-ai/codebuddy-code@latest # npm update
72
+ ```
73
+
74
+ ### Version Check
75
+
76
+ ```bash
77
+ codebuddy --version # Current version
78
+ npm view @tencent-ai/codebuddy-code version # Latest version
79
+ ```
80
+
81
+ ---
82
+
83
+ ## Migrating from Claude Code
84
+
85
+ ### Migration Content
86
+
87
+ | Directory/File | Description |
88
+ |----------|------|
89
+ | `agents/` | Custom agents configuration |
90
+ | `commands/` | Slash command definitions |
91
+ | `skills/` | Skill definitions |
92
+ | `CLAUDE.md` -> `CODEBUDDY.md` | AI instructions and memory documents |
93
+
94
+ ### Option 1: Symbolic Links (Recommended)
95
+
96
+ Share configuration; changes in one place take effect in both.
97
+
98
+ ```bash
99
+ # macOS/Linux
100
+ cd ~/.codebuddy
101
+ ln -s ~/.claude/agents agents
102
+ ln -s ~/.claude/commands commands
103
+ ln -s ~/.claude/skills skills
104
+ ln -s ~/.claude/CLAUDE.md CODEBUDDY.md
105
+ ```
106
+
107
+ ```powershell
108
+ # Windows (requires admin privileges)
109
+ cd $env:USERPROFILE\.codebuddy
110
+ New-Item -ItemType SymbolicLink -Path agents -Target $env:USERPROFILE\.claude\agents
111
+ New-Item -ItemType SymbolicLink -Path commands -Target $env:USERPROFILE\.claude\commands
112
+ New-Item -ItemType SymbolicLink -Path skills -Target $env:USERPROFILE\.claude\skills
113
+ New-Item -ItemType SymbolicLink -Path CODEBUDDY.md -Target $env:USERPROFILE\.claude\CLAUDE.md
114
+ ```
115
+
116
+ ### Option 2: Copy Files
117
+
118
+ Independent configuration; changes don't affect each other.
119
+
120
+ ```bash
121
+ # macOS/Linux
122
+ cp -r ~/.claude/agents ~/.codebuddy/agents
123
+ cp -r ~/.claude/commands ~/.codebuddy/commands
124
+ cp -r ~/.claude/skills ~/.codebuddy/skills
125
+ cp ~/.claude/CLAUDE.md ~/.codebuddy/CODEBUDDY.md
126
+ ```
127
+
128
+ ```powershell
129
+ # Windows
130
+ Copy-Item -Recurse $env:USERPROFILE\.claude\agents $env:USERPROFILE\.codebuddy\agents
131
+ Copy-Item -Recurse $env:USERPROFILE\.claude\commands $env:USERPROFILE\.codebuddy\commands
132
+ Copy-Item -Recurse $env:USERPROFILE\.claude\skills $env:USERPROFILE\.codebuddy\skills
133
+ Copy-Item $env:USERPROFILE\.claude\CLAUDE.md $env:USERPROFILE\.codebuddy\CODEBUDDY.md
134
+ ```
135
+
136
+ ### One-Click Plugin Skills Installation
137
+
138
+ Skills from Claude Code plugins support one-click installation and are automatically loaded after installation.
139
+
140
+ ### Verify Migration
141
+
142
+ ```bash
143
+ codebuddy # Start
144
+ /skills # Check Skills
145
+ /config # View configuration
146
+ ```
147
+
148
+ ---
149
+
150
+ ## Cost Optimization
151
+
152
+ ### Core Principles
153
+
154
+ - Use `/clear` to start a new session for new tasks
155
+ - Use `/compact` to compress history for long conversations
156
+ - Use `@filename` to reference files instead of pasting code
157
+
158
+ ### Session Management Commands
159
+
160
+ | Command | Function |
161
+ |-----|------|
162
+ | `/cost` | View token consumption |
163
+ | `/clear` | Start a new session |
164
+ | `/compact` | Compress history |
165
+ | `/resume` | Resume a previous conversation |
166
+
167
+ ### Cost Comparison
168
+
169
+ | Approach | Input Tokens | Relative Cost |
170
+ |-----|-----------|---------|
171
+ | 10 tasks in a single session | ~50,000 | High |
172
+ | New session per task | ~15,000 | Low |
173
+ | Periodic `/compact` | ~25,000 | Medium |
174
+
175
+ ### Recommended Practices
176
+
177
+ - Do start a new session for new tasks
178
+ - Do use `/compact` every 20-30 turns
179
+ - Do use `@filename` to reference files
180
+ - Do keep prompts concise
181
+
182
+ ### Avoid
183
+
184
+ - Don't handle multiple unrelated tasks in the same session
185
+ - Don't go beyond 30 turns without cleanup
186
+ - Don't repeatedly paste known code
187
+
188
+ ---
189
+
190
+ **More help**: [Quick Start Guide](./quickstart.md)
@@ -0,0 +1,164 @@
1
+ # Web UI
2
+
3
+ CodeBuddy Code provides a built-in Web UI that offers a full-featured browser interface for interacting with the Agent. When you start CodeBuddy Code in serve mode or enable Remote Control, the Web UI is automatically available.
4
+
5
+ ## Overview
6
+
7
+ The Web UI provides the same core capabilities as the terminal interface, with a visual layout optimized for browsers:
8
+
9
+ - **Chat**: Send messages, view conversations, and monitor tool execution in real time
10
+ - **Terminal**: Embedded terminal with split-pane support (up to 4 panels)
11
+ - **Instances**: Manage and switch between multiple CodeBuddy Code instances
12
+ - **Remote Control**: Connect WeChat and WeCom channels
13
+ - **Tasks**: Browse and create scheduled tasks from templates
14
+ - **Plugins**: Manage plugin installations and marketplaces
15
+ - **Settings**: Configure theme, language, model, and permission mode
16
+ - **Documentation**: Browse CLI documentation with full-text search
17
+ - **API Reference**: View the interactive Swagger UI for HTTP API exploration
18
+
19
+ ## Accessing the Web UI
20
+
21
+ ### Method 1: Serve Mode
22
+
23
+ Start CodeBuddy Code with the `--serve` flag:
24
+
25
+ ```bash
26
+ codebuddy --serve --port 7890
27
+ ```
28
+
29
+ Then open in your browser:
30
+
31
+ ```
32
+ http://127.0.0.1:7890
33
+ ```
34
+
35
+ ### Method 2: Remote Control
36
+
37
+ In an existing CodeBuddy Code session, start the Gateway:
38
+
39
+ ```
40
+ /gateway
41
+ ```
42
+
43
+ The terminal displays a QR code and URL. Scan the QR code with your phone or open the URL in any browser. See the [Remote Control](remote-control.md) documentation for details.
44
+
45
+ ## Authentication
46
+
47
+ The Web UI supports two authentication modes:
48
+
49
+ | Mode | Setting | Description |
50
+ |:-----|:--------|:-----------|
51
+ | No Auth (default) | `CODEBUDDY_GATEWAY_AUTH=none` | No password required |
52
+ | Password | `CODEBUDDY_GATEWAY_AUTH=password` | Password shown in terminal on startup |
53
+
54
+ Authentication methods (any one is sufficient):
55
+
56
+ - **URL parameter**: `?password=xxx` — auto-login via URL
57
+ - **Login page**: Enter the password displayed in the terminal
58
+ - **Bearer token**: `Authorization: Bearer <password>` for API access
59
+
60
+ Configure in `~/.codebuddy/settings.json`:
61
+
62
+ ```json
63
+ {
64
+ "gateway.auth": "none"
65
+ }
66
+ ```
67
+
68
+ ## Features
69
+
70
+ ### Chat View
71
+
72
+ The default view for conversing with the Agent. Key features:
73
+
74
+ - **Rich message rendering**: Markdown, syntax-highlighted code blocks, tables, and images
75
+ - **Tool execution display**: See tool calls, their parameters, and results inline
76
+ - **Permission management**: Approve or deny tool permissions directly in the browser
77
+ - **Question panels**: Answer multi-choice questions from the Agent
78
+ - **Task progress**: Monitor background tasks and team progress in real time
79
+ - **Session management**: Create new chats, browse history, and switch sessions
80
+
81
+ ### Terminal View
82
+
83
+ An embedded terminal powered by xterm.js:
84
+
85
+ - **Split panes**: Split horizontally or vertically, up to 4 panels
86
+ - **Independent sessions**: Each panel has its own PTY session
87
+ - **Persistent connections**: Terminal sessions survive page refreshes
88
+ - **Resize support**: Panels auto-resize when the window changes
89
+
90
+ ### Documentation View
91
+
92
+ Browse the CLI documentation directly in the Web UI:
93
+
94
+ - **Full-text search**: Search across all documents with MiniSearch
95
+ - **Multi-language**: Automatically follows the UI language setting (Chinese/English)
96
+ - **Table of contents**: Auto-generated from document headings, with scroll spy
97
+ - **Internal navigation**: Document links navigate within the viewer (SPA)
98
+ - **API Reference**: Quick link to the interactive Swagger UI at `/api/docs`
99
+
100
+ ### Instance Manager
101
+
102
+ Manage multiple CodeBuddy Code instances:
103
+
104
+ - **Instance list**: View all running instances with their working directories and status
105
+ - **Quick switch**: Switch between instances with a single click
106
+ - **Manual add**: Add remote instances by URL
107
+ - **Tunnel support**: Access instances through Cloudflare Tunnel
108
+
109
+ ### Settings
110
+
111
+ - **Theme**: Light, Dark, or System (auto-detect)
112
+ - **Language**: Chinese, English, or System (auto-detect)
113
+ - **Model**: Select the AI model from available options
114
+ - **Permission mode**: Choose between Default, Accept Edits, Bypass Permissions, or Plan mode
115
+
116
+ ## API Reference
117
+
118
+ When the HTTP server is running, an interactive API explorer is available at:
119
+
120
+ ```
121
+ http://127.0.0.1:{PORT}/api/docs
122
+ ```
123
+
124
+ This provides a Swagger UI where you can:
125
+
126
+ - Browse all available REST API endpoints
127
+ - View request/response schemas
128
+ - Try out API calls directly from the browser
129
+ - Download the OpenAPI 3.1 specification at `/api/openapi.json`
130
+
131
+ See the [HTTP API Documentation](http-api.md) for the complete API reference.
132
+
133
+ ## Mobile Support
134
+
135
+ The Web UI is fully responsive and works on mobile devices:
136
+
137
+ - **Sidebar**: Collapses to a slide-out drawer on small screens
138
+ - **PWA support**: Add to home screen for a native app-like experience
139
+ - **Touch-friendly**: All interactions optimized for touch input
140
+ - **QR code access**: Scan from the terminal to open on your phone instantly
141
+
142
+ ## Keyboard Shortcuts
143
+
144
+ | Shortcut | Action |
145
+ |:---------|:-------|
146
+ | `Enter` | Send message |
147
+ | `Shift+Enter` | New line in input |
148
+ | `Escape` | Stop running agent |
149
+
150
+ ## Technical Details
151
+
152
+ - **Framework**: React 18 with Zustand for state management
153
+ - **Communication**: ACP protocol over HTTP/SSE (not WebSocket)
154
+ - **Styling**: Tailwind CSS with CSS variable theming
155
+ - **Terminal**: xterm.js with fit addon
156
+ - **Search**: MiniSearch for client-side full-text search
157
+ - **Markdown**: react-markdown with remark-gfm and syntax highlighting
158
+
159
+ ## Related
160
+
161
+ - [Remote Control](remote-control.md) — Start the Web UI via Gateway and Tunnel
162
+ - [HTTP API](http-api.md) — Complete REST API documentation
163
+ - [ACP Protocol](acp.md) — Agent Client Protocol for IDE integration
164
+ - [Settings](settings.md) — Configuration options