@tencent-ai/agent-sdk 0.3.99 → 0.3.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/cli/CHANGELOG.md +26 -0
  2. package/cli/dist/codebuddy-headless.js +53 -53
  3. package/cli/dist/web-ui/assets/index-BoMlEqUE.js +439 -0
  4. package/cli/dist/web-ui/assets/index-Dt1puyHn.css +32 -0
  5. package/cli/dist/web-ui/docs/cn/cli/acp.md +152 -0
  6. package/cli/dist/web-ui/docs/cn/cli/agent-teams.md +327 -0
  7. package/cli/dist/web-ui/docs/cn/cli/bash-sandboxing.md +290 -0
  8. package/cli/dist/web-ui/docs/cn/cli/best-practices.md +554 -0
  9. package/cli/dist/web-ui/docs/cn/cli/channels-reference.md +293 -0
  10. package/cli/dist/web-ui/docs/cn/cli/channels.md +215 -0
  11. package/cli/dist/web-ui/docs/cn/cli/checkpointing.md +51 -0
  12. package/cli/dist/web-ui/docs/cn/cli/cli-reference.md +187 -0
  13. package/cli/dist/web-ui/docs/cn/cli/common-workflows.md +1013 -0
  14. package/cli/dist/web-ui/docs/cn/cli/costs.md +174 -0
  15. package/cli/dist/web-ui/docs/cn/cli/devcontainer.md +553 -0
  16. package/cli/dist/web-ui/docs/cn/cli/env-vars.md +326 -0
  17. package/cli/dist/web-ui/docs/cn/cli/gitlab-ci-cd.md +357 -0
  18. package/cli/dist/web-ui/docs/cn/cli/headless.md +258 -0
  19. package/cli/dist/web-ui/docs/cn/cli/hooks-guide.md +9 -0
  20. package/cli/dist/web-ui/docs/cn/cli/hooks.md +805 -0
  21. package/cli/dist/web-ui/docs/cn/cli/iam.md +530 -0
  22. package/cli/dist/web-ui/docs/cn/cli/ide-integrations.md +92 -0
  23. package/cli/dist/web-ui/docs/cn/cli/installation.md +291 -0
  24. package/cli/dist/web-ui/docs/cn/cli/interactive-mode.md +233 -0
  25. package/cli/dist/web-ui/docs/cn/cli/mcp.md +739 -0
  26. package/cli/dist/web-ui/docs/cn/cli/memory.md +436 -0
  27. package/cli/dist/web-ui/docs/cn/cli/models.md +356 -0
  28. package/cli/dist/web-ui/docs/cn/cli/overview.md +100 -0
  29. package/cli/dist/web-ui/docs/cn/cli/plugin-marketplaces.md +533 -0
  30. package/cli/dist/web-ui/docs/cn/cli/plugins-reference.md +774 -0
  31. package/cli/dist/web-ui/docs/cn/cli/plugins.md +689 -0
  32. package/cli/dist/web-ui/docs/cn/cli/quickstart.md +249 -0
  33. package/cli/dist/web-ui/docs/cn/cli/release-notes/README.md +199 -0
  34. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.10.0.md +23 -0
  35. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.10.1.md +5 -0
  36. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.11.0.md +24 -0
  37. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.12.0.md +21 -0
  38. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.13.0.md +20 -0
  39. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.14.0.md +22 -0
  40. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.14.1.md +8 -0
  41. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.15.0.md +18 -0
  42. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.15.1.md +11 -0
  43. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.16.0.md +20 -0
  44. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.17.0.md +29 -0
  45. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.18.0.md +17 -0
  46. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.0.md +11 -0
  47. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.1.md +14 -0
  48. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.19.2.md +11 -0
  49. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.20.0.md +23 -0
  50. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.20.1.md +15 -0
  51. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.21.0.md +13 -0
  52. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.22.0.md +16 -0
  53. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.0.md +20 -0
  54. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.2.md +5 -0
  55. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.3.md +5 -0
  56. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.4.md +15 -0
  57. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.23.5.md +11 -0
  58. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.24.0.md +17 -0
  59. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.25.0.md +18 -0
  60. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.25.1.md +21 -0
  61. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.26.0.md +18 -0
  62. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.0.md +16 -0
  63. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.1.md +16 -0
  64. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.2.md +7 -0
  65. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.27.3.md +15 -0
  66. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.28.0.md +26 -0
  67. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.28.1.md +5 -0
  68. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.29.0.md +35 -0
  69. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.3.1.md +16 -0
  70. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.30.0.md +19 -0
  71. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.30.1.md +5 -0
  72. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.0.md +51 -0
  73. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.1.md +11 -0
  74. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.31.2.md +16 -0
  75. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.32.0.md +19 -0
  76. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.33.0.md +28 -0
  77. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.33.1.md +7 -0
  78. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.36.3.md +17 -0
  79. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.0.md +15 -0
  80. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.1.md +15 -0
  81. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.10.md +5 -0
  82. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.11.md +8 -0
  83. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.12.md +14 -0
  84. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.13.md +11 -0
  85. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.14.md +24 -0
  86. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.15.md +11 -0
  87. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.16.md +9 -0
  88. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.17.md +5 -0
  89. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.18.md +9 -0
  90. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.19.md +5 -0
  91. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.2.md +28 -0
  92. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.20.md +8 -0
  93. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.3.md +22 -0
  94. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.4.md +19 -0
  95. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.5.md +5 -0
  96. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.6.md +5 -0
  97. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.7.md +5 -0
  98. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.8.md +5 -0
  99. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.37.9.md +8 -0
  100. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.0.md +22 -0
  101. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.1.md +6 -0
  102. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.38.2.md +9 -0
  103. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.39.0.md +18 -0
  104. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.4.0.md +19 -0
  105. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.40.0.md +20 -0
  106. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.40.1.md +6 -0
  107. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.0.md +15 -0
  108. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.1.md +6 -0
  109. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.2.md +5 -0
  110. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.3.md +8 -0
  111. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.4.md +5 -0
  112. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.5.md +10 -0
  113. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.6.md +9 -0
  114. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.7.md +14 -0
  115. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.41.8.md +18 -0
  116. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.0.md +39 -0
  117. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.1.md +8 -0
  118. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.42.3.md +18 -0
  119. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.43.0.md +27 -0
  120. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.43.1.md +27 -0
  121. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.44.0.md +11 -0
  122. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.44.1.md +22 -0
  123. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.45.0.md +34 -0
  124. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.45.1.md +7 -0
  125. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.46.0.md +12 -0
  126. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.47.0.md +20 -0
  127. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.48.0.md +32 -0
  128. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.48.1.md +11 -0
  129. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.0.md +26 -0
  130. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.1.md +14 -0
  131. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.2.md +39 -0
  132. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.3.md +7 -0
  133. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.5.md +11 -0
  134. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.6.md +9 -0
  135. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.49.7.md +7 -0
  136. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.5.0.md +24 -0
  137. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.0.md +25 -0
  138. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.1.md +9 -0
  139. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.2.md +11 -0
  140. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.3.md +5 -0
  141. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.4.md +17 -0
  142. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.5.md +16 -0
  143. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.6.md +15 -0
  144. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.50.7.md +15 -0
  145. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.0.md +24 -0
  146. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.1.md +17 -0
  147. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.51.2.md +5 -0
  148. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.0.md +30 -0
  149. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.1.md +28 -0
  150. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.2.md +12 -0
  151. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.3.md +13 -0
  152. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.4.md +27 -0
  153. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.5.md +21 -0
  154. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.52.6.md +7 -0
  155. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.53.0.md +29 -0
  156. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.54.0.md +26 -0
  157. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.55.0.md +21 -0
  158. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.55.1.md +13 -0
  159. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.56.0.md +20 -0
  160. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.56.1.md +5 -0
  161. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.57.0.md +32 -0
  162. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.57.1.md +10 -0
  163. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.58.0.md +34 -0
  164. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.59.0.md +28 -0
  165. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.6.0.md +5 -0
  166. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.6.1.md +10 -0
  167. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.60.0.md +20 -0
  168. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.0.md +29 -0
  169. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.1.md +5 -0
  170. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.2.md +6 -0
  171. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.61.3.md +13 -0
  172. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.62.0.md +21 -0
  173. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.62.1.md +11 -0
  174. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.0.md +19 -0
  175. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.1.md +5 -0
  176. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.2.md +7 -0
  177. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.3.md +6 -0
  178. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.4.md +8 -0
  179. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.63.5.md +6 -0
  180. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.0.md +37 -0
  181. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.1.md +6 -0
  182. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.64.2.md +11 -0
  183. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.65.0.md +19 -0
  184. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.65.1.md +11 -0
  185. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.0.md +15 -0
  186. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.1.md +14 -0
  187. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.66.2.md +5 -0
  188. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.67.0.md +33 -0
  189. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.7.0.md +16 -0
  190. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.0.md +18 -0
  191. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.1.md +17 -0
  192. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.2.md +5 -0
  193. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.3.md +14 -0
  194. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.4.md +9 -0
  195. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.5.md +5 -0
  196. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.8.6.md +14 -0
  197. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.9.0.md +5 -0
  198. package/cli/dist/web-ui/docs/cn/cli/remote-control.md +247 -0
  199. package/cli/dist/web-ui/docs/cn/cli/sandboxing.md +316 -0
  200. package/cli/dist/web-ui/docs/cn/cli/scheduled-tasks.md +161 -0
  201. package/cli/dist/web-ui/docs/cn/cli/sdk-custom-tools.md +1195 -0
  202. package/cli/dist/web-ui/docs/cn/cli/sdk-demos.md +347 -0
  203. package/cli/dist/web-ui/docs/cn/cli/sdk-hooks.md +803 -0
  204. package/cli/dist/web-ui/docs/cn/cli/sdk-mcp.md +643 -0
  205. package/cli/dist/web-ui/docs/cn/cli/sdk-permissions.md +501 -0
  206. package/cli/dist/web-ui/docs/cn/cli/sdk-python.md +783 -0
  207. package/cli/dist/web-ui/docs/cn/cli/sdk-sessions.md +332 -0
  208. package/cli/dist/web-ui/docs/cn/cli/sdk-typescript.md +759 -0
  209. package/cli/dist/web-ui/docs/cn/cli/sdk.md +1105 -0
  210. package/cli/dist/web-ui/docs/cn/cli/security.md +387 -0
  211. package/cli/dist/web-ui/docs/cn/cli/settings.md +602 -0
  212. package/cli/dist/web-ui/docs/cn/cli/skills.md +448 -0
  213. package/cli/dist/web-ui/docs/cn/cli/slash-commands.md +397 -0
  214. package/cli/dist/web-ui/docs/cn/cli/statusline.md +525 -0
  215. package/cli/dist/web-ui/docs/cn/cli/sub-agents.md +634 -0
  216. package/cli/dist/web-ui/docs/cn/cli/terminal-config.md +77 -0
  217. package/cli/dist/web-ui/docs/cn/cli/tools-reference.md +99 -0
  218. package/cli/dist/web-ui/docs/cn/cli/troubleshooting.md +190 -0
  219. package/cli/dist/web-ui/docs/cn/cli/web-ui.md +164 -0
  220. package/cli/dist/web-ui/docs/cn/cli/wecom-bot-setup.md +274 -0
  221. package/cli/dist/web-ui/docs/cn/cli/worktree.md +660 -0
  222. package/cli/dist/web-ui/docs/en/cli/acp.md +126 -0
  223. package/cli/dist/web-ui/docs/en/cli/agent-teams.md +327 -0
  224. package/cli/dist/web-ui/docs/en/cli/bash-sandboxing.md +357 -0
  225. package/cli/dist/web-ui/docs/en/cli/best-practices.md +554 -0
  226. package/cli/dist/web-ui/docs/en/cli/channels-reference.md +293 -0
  227. package/cli/dist/web-ui/docs/en/cli/channels.md +215 -0
  228. package/cli/dist/web-ui/docs/en/cli/checkpointing.md +53 -0
  229. package/cli/dist/web-ui/docs/en/cli/cli-reference.md +187 -0
  230. package/cli/dist/web-ui/docs/en/cli/common-workflows.md +1011 -0
  231. package/cli/dist/web-ui/docs/en/cli/costs.md +174 -0
  232. package/cli/dist/web-ui/docs/en/cli/devcontainer.md +553 -0
  233. package/cli/dist/web-ui/docs/en/cli/env-vars.md +326 -0
  234. package/cli/dist/web-ui/docs/en/cli/gitlab-ci-cd.md +357 -0
  235. package/cli/dist/web-ui/docs/en/cli/headless.md +258 -0
  236. package/cli/dist/web-ui/docs/en/cli/hooks-guide.md +9 -0
  237. package/cli/dist/web-ui/docs/en/cli/hooks.md +801 -0
  238. package/cli/dist/web-ui/docs/en/cli/iam.md +526 -0
  239. package/cli/dist/web-ui/docs/en/cli/ide-integrations.md +92 -0
  240. package/cli/dist/web-ui/docs/en/cli/installation.md +266 -0
  241. package/cli/dist/web-ui/docs/en/cli/interactive-mode.md +233 -0
  242. package/cli/dist/web-ui/docs/en/cli/mcp.md +739 -0
  243. package/cli/dist/web-ui/docs/en/cli/memory.md +436 -0
  244. package/cli/dist/web-ui/docs/en/cli/models.md +355 -0
  245. package/cli/dist/web-ui/docs/en/cli/overview.md +100 -0
  246. package/cli/dist/web-ui/docs/en/cli/plugin-marketplaces.md +534 -0
  247. package/cli/dist/web-ui/docs/en/cli/plugins-reference.md +774 -0
  248. package/cli/dist/web-ui/docs/en/cli/plugins.md +688 -0
  249. package/cli/dist/web-ui/docs/en/cli/quickstart.md +249 -0
  250. package/cli/dist/web-ui/docs/en/cli/release-notes/README.md +193 -0
  251. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.10.0.md +23 -0
  252. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.10.1.md +5 -0
  253. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.11.0.md +24 -0
  254. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.12.0.md +21 -0
  255. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.13.0.md +20 -0
  256. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.14.0.md +22 -0
  257. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.14.1.md +8 -0
  258. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.15.0.md +18 -0
  259. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.15.1.md +11 -0
  260. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.16.0.md +20 -0
  261. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.17.0.md +29 -0
  262. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.18.0.md +17 -0
  263. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.0.md +11 -0
  264. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.1.md +14 -0
  265. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.19.2.md +11 -0
  266. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.20.0.md +23 -0
  267. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.20.1.md +15 -0
  268. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.21.0.md +13 -0
  269. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.22.0.md +16 -0
  270. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.0.md +41 -0
  271. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.2.md +5 -0
  272. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.3.md +5 -0
  273. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.4.md +15 -0
  274. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.23.5.md +11 -0
  275. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.24.0.md +17 -0
  276. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.25.0.md +18 -0
  277. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.25.1.md +21 -0
  278. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.26.0.md +18 -0
  279. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.0.md +16 -0
  280. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.1.md +16 -0
  281. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.2.md +7 -0
  282. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.27.3.md +15 -0
  283. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.28.0.md +26 -0
  284. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.28.1.md +5 -0
  285. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.29.0.md +35 -0
  286. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.3.1.md +16 -0
  287. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.30.0.md +19 -0
  288. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.30.1.md +5 -0
  289. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.0.md +51 -0
  290. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.1.md +11 -0
  291. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.31.2.md +16 -0
  292. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.32.0.md +19 -0
  293. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.33.0.md +28 -0
  294. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.33.1.md +7 -0
  295. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.34.0.md +27 -0
  296. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.34.1.md +7 -0
  297. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.35.0.md +22 -0
  298. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.0.md +23 -0
  299. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.1.md +5 -0
  300. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.2.md +22 -0
  301. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.36.3.md +17 -0
  302. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.0.md +15 -0
  303. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.1.md +15 -0
  304. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.10.md +5 -0
  305. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.11.md +8 -0
  306. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.12.md +14 -0
  307. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.13.md +11 -0
  308. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.14.md +24 -0
  309. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.15.md +11 -0
  310. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.16.md +9 -0
  311. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.17.md +5 -0
  312. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.18.md +9 -0
  313. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.19.md +5 -0
  314. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.2.md +28 -0
  315. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.20.md +8 -0
  316. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.3.md +22 -0
  317. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.4.md +19 -0
  318. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.5.md +5 -0
  319. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.6.md +5 -0
  320. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.7.md +5 -0
  321. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.8.md +5 -0
  322. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.37.9.md +8 -0
  323. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.0.md +22 -0
  324. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.1.md +6 -0
  325. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.38.2.md +9 -0
  326. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.39.0.md +18 -0
  327. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.4.0.md +19 -0
  328. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.40.0.md +20 -0
  329. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.40.1.md +6 -0
  330. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.0.md +15 -0
  331. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.1.md +6 -0
  332. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.2.md +5 -0
  333. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.3.md +8 -0
  334. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.4.md +5 -0
  335. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.5.md +10 -0
  336. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.6.md +9 -0
  337. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.7.md +14 -0
  338. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.41.8.md +18 -0
  339. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.0.md +39 -0
  340. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.1.md +8 -0
  341. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.42.3.md +18 -0
  342. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.43.0.md +27 -0
  343. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.43.1.md +27 -0
  344. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.44.0.md +11 -0
  345. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.44.1.md +22 -0
  346. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.45.0.md +34 -0
  347. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.45.1.md +7 -0
  348. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.46.0.md +12 -0
  349. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.47.0.md +20 -0
  350. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.48.0.md +32 -0
  351. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.48.1.md +11 -0
  352. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.0.md +26 -0
  353. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.1.md +14 -0
  354. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.2.md +39 -0
  355. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.3.md +7 -0
  356. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.5.md +11 -0
  357. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.6.md +9 -0
  358. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.49.7.md +7 -0
  359. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.5.0.md +24 -0
  360. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.0.md +25 -0
  361. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.1.md +9 -0
  362. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.2.md +11 -0
  363. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.3.md +5 -0
  364. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.4.md +17 -0
  365. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.5.md +16 -0
  366. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.6.md +15 -0
  367. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.50.7.md +15 -0
  368. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.0.md +24 -0
  369. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.1.md +17 -0
  370. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.51.2.md +5 -0
  371. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.0.md +30 -0
  372. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.1.md +28 -0
  373. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.2.md +12 -0
  374. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.3.md +13 -0
  375. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.4.md +27 -0
  376. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.5.md +21 -0
  377. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.52.6.md +7 -0
  378. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.53.0.md +29 -0
  379. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.54.0.md +26 -0
  380. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.55.0.md +21 -0
  381. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.55.1.md +13 -0
  382. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.56.0.md +20 -0
  383. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.56.1.md +5 -0
  384. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.57.0.md +32 -0
  385. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.57.1.md +10 -0
  386. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.58.0.md +34 -0
  387. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.59.0.md +28 -0
  388. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.6.0.md +5 -0
  389. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.6.1.md +10 -0
  390. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.60.0.md +20 -0
  391. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.0.md +29 -0
  392. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.1.md +5 -0
  393. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.2.md +6 -0
  394. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.61.3.md +13 -0
  395. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.62.0.md +21 -0
  396. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.62.1.md +11 -0
  397. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.0.md +19 -0
  398. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.1.md +5 -0
  399. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.2.md +7 -0
  400. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.3.md +6 -0
  401. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.4.md +8 -0
  402. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.63.5.md +6 -0
  403. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.0.md +37 -0
  404. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.1.md +6 -0
  405. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.64.2.md +11 -0
  406. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.65.0.md +19 -0
  407. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.65.1.md +11 -0
  408. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.0.md +15 -0
  409. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.1.md +14 -0
  410. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.66.2.md +5 -0
  411. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.67.0.md +33 -0
  412. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.7.0.md +16 -0
  413. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.0.md +18 -0
  414. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.1.md +17 -0
  415. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.2.md +5 -0
  416. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.3.md +14 -0
  417. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.4.md +9 -0
  418. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.5.md +5 -0
  419. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.8.6.md +14 -0
  420. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.9.0.md +5 -0
  421. package/cli/dist/web-ui/docs/en/cli/remote-control.md +247 -0
  422. package/cli/dist/web-ui/docs/en/cli/sandboxing.md +316 -0
  423. package/cli/dist/web-ui/docs/en/cli/scheduled-tasks.md +160 -0
  424. package/cli/dist/web-ui/docs/en/cli/sdk-custom-tools.md +1131 -0
  425. package/cli/dist/web-ui/docs/en/cli/sdk-demos.md +347 -0
  426. package/cli/dist/web-ui/docs/en/cli/sdk-hooks.md +813 -0
  427. package/cli/dist/web-ui/docs/en/cli/sdk-mcp.md +645 -0
  428. package/cli/dist/web-ui/docs/en/cli/sdk-permissions.md +461 -0
  429. package/cli/dist/web-ui/docs/en/cli/sdk-python.md +797 -0
  430. package/cli/dist/web-ui/docs/en/cli/sdk-sessions.md +340 -0
  431. package/cli/dist/web-ui/docs/en/cli/sdk-typescript.md +770 -0
  432. package/cli/dist/web-ui/docs/en/cli/sdk.md +1103 -0
  433. package/cli/dist/web-ui/docs/en/cli/security.md +388 -0
  434. package/cli/dist/web-ui/docs/en/cli/settings.md +602 -0
  435. package/cli/dist/web-ui/docs/en/cli/skills.md +448 -0
  436. package/cli/dist/web-ui/docs/en/cli/slash-commands.md +397 -0
  437. package/cli/dist/web-ui/docs/en/cli/statusline.md +525 -0
  438. package/cli/dist/web-ui/docs/en/cli/sub-agents.md +621 -0
  439. package/cli/dist/web-ui/docs/en/cli/terminal-config.md +77 -0
  440. package/cli/dist/web-ui/docs/en/cli/tools-reference.md +99 -0
  441. package/cli/dist/web-ui/docs/en/cli/troubleshooting.md +190 -0
  442. package/cli/dist/web-ui/docs/en/cli/web-ui.md +164 -0
  443. package/cli/dist/web-ui/docs/en/cli/wecom-bot-setup.md +274 -0
  444. package/cli/dist/web-ui/docs/en/cli/worktree.md +660 -0
  445. package/cli/dist/web-ui/docs/search-index-en.json +1 -0
  446. package/cli/dist/web-ui/docs/search-index-zh.json +1 -0
  447. package/cli/dist/web-ui/docs/sidebar-en.json +1 -0
  448. package/cli/dist/web-ui/docs/sidebar-zh.json +1 -0
  449. package/cli/dist/web-ui/index.html +2 -2
  450. package/cli/package.json +1 -1
  451. package/cli/product.cloudhosted.json +2 -2
  452. package/cli/product.internal.json +2 -2
  453. package/cli/product.ioa.json +2 -2
  454. package/cli/product.json +3 -3
  455. package/cli/product.selfhosted.json +2 -2
  456. package/package.json +1 -1
  457. package/cli/dist/web-ui/assets/index-BPT-qRRx.js +0 -411
  458. package/cli/dist/web-ui/assets/index-f_ibHSHw.css +0 -32
@@ -0,0 +1,553 @@
1
+ # CodeBuddy Code Dev Container
2
+
3
+ CodeBuddy Code Dev Container provides a pre-configured, secure development environment suitable for teams that need consistent and isolated workspaces. It seamlessly integrates with Visual Studio Code's Dev Containers extension and similar tools.
4
+
5
+
6
+ ## Quick Start in Four Steps
7
+
8
+ 1. **Install VS Code and the Remote - Containers extension**
9
+ 2. **Create the `.devcontainer` directory and related files in your workspace following the configuration details below**
10
+ 3. **Open the repository in VS Code**
11
+ 4. **When prompted, click "Reopen in Container"** (or use Command Palette: Cmd+Shift+P → "Remote-Containers: Reopen in Container")
12
+
13
+ ---
14
+
15
+ ## Configuration Details
16
+
17
+ **Directory Structure**
18
+
19
+ ```
20
+ your-project/
21
+ ├── .devcontainer/
22
+ │ ├── devcontainer.json
23
+ │ ├── Dockerfile
24
+ │ └── init-firewall.sh
25
+ └── ...
26
+ ```
27
+
28
+ The Dev Container setup consists of **three main components**:
29
+
30
+ ---
31
+
32
+ ### 🚀 Installing CodeBuddy Code (Recommended Approach)
33
+
34
+ #### Option 1: Using Dev Containers Feature (Recommended)
35
+
36
+ **Dev Containers Feature** is the **recommended way** to install CodeBuddy Code in a Dev Container. It provides automatic version management, configuration consistency with other features, simplified maintenance, and more.
37
+
38
+ **Advantages:**
39
+ - ✅ **Automatic version management** - Easily upgrade to the latest version or pin to a specific version
40
+ - ✅ **Configuration consistency** - Uses the same configuration approach as other Dev Containers features
41
+ - ✅ **Simplified maintenance** - No need to manage complex installation logic in Dockerfile
42
+ - ✅ **Team sharing** - Easy to standardize configuration across teams
43
+
44
+ **Configuration Method:**
45
+
46
+ Add configuration to the `features` field in `devcontainer.json`:
47
+
48
+ ```json
49
+ {
50
+ "name": "CodeBuddy Code Sandbox",
51
+ "features": {
52
+ "ghcr.io/devcontainers-contrib/features/codebuddy-code:1": {
53
+ "version": "latest"
54
+ }
55
+ },
56
+ // ... other configurations
57
+ }
58
+ ```
59
+
60
+ **Pin to Specific Version:**
61
+
62
+ ```json
63
+ {
64
+ "features": {
65
+ "ghcr.io/devcontainers-contrib/features/codebuddy-code:1": {
66
+ "version": "2.16.0"
67
+ }
68
+ }
69
+ }
70
+ ```
71
+
72
+ **Use Default Latest Version:**
73
+
74
+ ```json
75
+ {
76
+ "features": {
77
+ "ghcr.io/devcontainers-contrib/features/codebuddy-code:1": {}
78
+ }
79
+ }
80
+ ```
81
+
82
+ #### Option 2: Manual Installation in Dockerfile
83
+
84
+ If you need more control or have special scenarios, you can manually install in the Dockerfile. See the **Dockerfile** section below for details.
85
+
86
+ ---
87
+
88
+ ### 1. devcontainer.json
89
+ Controls container settings, manages extensions, and configures volume mounts.
90
+
91
+ **Complete Example with Dev Containers Feature:**
92
+
93
+ ```json
94
+ {
95
+ "name": "CodeBuddy Code Sandbox",
96
+ "build": {
97
+ "dockerfile": "Dockerfile",
98
+ "args": {
99
+ "TZ": "${localEnv:TZ:America/Los_Angeles}",
100
+ "GIT_DELTA_VERSION": "0.18.2",
101
+ "ZSH_IN_DOCKER_VERSION": "1.2.0"
102
+ }
103
+ },
104
+ "features": {
105
+ "ghcr.io/devcontainers-contrib/features/codebuddy-code:1": {
106
+ "version": "latest"
107
+ }
108
+ },
109
+ "runArgs": [
110
+ "--cap-add=NET_ADMIN",
111
+ "--cap-add=NET_RAW"
112
+ ],
113
+ "customizations": {
114
+ "vscode": {
115
+ "extensions": [
116
+ "dbaeumer.vscode-eslint",
117
+ "esbenp.prettier-vscode",
118
+ "eamodio.gitlens"
119
+ ],
120
+ "settings": {
121
+ "editor.formatOnSave": true,
122
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
123
+ "editor.codeActionsOnSave": {
124
+ "source.fixAll.eslint": "explicit"
125
+ },
126
+ "terminal.integrated.defaultProfile.linux": "zsh",
127
+ "terminal.integrated.profiles.linux": {
128
+ "bash": {
129
+ "path": "bash",
130
+ "icon": "terminal-bash"
131
+ },
132
+ "zsh": {
133
+ "path": "zsh"
134
+ }
135
+ }
136
+ }
137
+ }
138
+ },
139
+ "remoteUser": "node",
140
+ "mounts": [
141
+ "source=codebuddy-code-bashhistory-${devcontainerId},target=/commandhistory,type=volume",
142
+ "source=codebuddy-code-config-${devcontainerId},target=/home/node/.codebuddy,type=volume"
143
+ ],
144
+ "containerEnv": {
145
+ "NODE_OPTIONS": "--max-old-space-size=4096",
146
+ "CODEBUDDY_CONFIG_DIR": "/home/node/.codebuddy",
147
+ "POWERLEVEL9K_DISABLE_GITSTATUS": "true"
148
+ },
149
+ "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=delegated",
150
+ "workspaceFolder": "/workspace",
151
+ "postStartCommand": "sudo /usr/local/bin/init-firewall.sh",
152
+ "waitFor": "postStartCommand"
153
+ }
154
+ ```
155
+
156
+ **Key Configuration Notes:**
157
+ - `features` - Declares the use of CodeBuddy Code Dev Containers Feature, supports version management
158
+ - `version: "latest"` - Uses the latest version (can be replaced with a specific version like "2.16.0")
159
+ - Note: When using the Feature approach, no `CODEBUDDY_CODE_VERSION` parameter is needed in the Dockerfile
160
+
161
+ ### 2. Dockerfile
162
+ Defines the container image and specifies the tools to install.
163
+
164
+ #### Simplified Dockerfile When Using Feature
165
+
166
+ If using the Dev Containers Feature above to install CodeBuddy Code, the Dockerfile can be more concise (no need for `CODEBUDDY_CODE_VERSION` parameter and manual installation commands):
167
+
168
+ > If you choose to use the Dev Containers Feature approach (recommended), you can refer to the "Simplified Dockerfile" below. If you need to manually install in the Dockerfile, refer to the "Complete Dockerfile".
169
+
170
+ **Simplified Dockerfile (Recommended with Feature):**
171
+
172
+ ```dockerfile
173
+ FROM node:20
174
+
175
+ ARG TZ
176
+ ENV TZ="$TZ"
177
+
178
+ # Install basic development tools and iptables/ipset
179
+ RUN apt-get update && apt-get install -y --no-install-recommends \
180
+ less \
181
+ git \
182
+ procps \
183
+ sudo \
184
+ fzf \
185
+ zsh \
186
+ man-db \
187
+ unzip \
188
+ gnupg2 \
189
+ gh \
190
+ iptables \
191
+ ipset \
192
+ iproute2 \
193
+ dnsutils \
194
+ aggregate \
195
+ jq \
196
+ nano \
197
+ vim \
198
+ && apt-get clean && rm -rf /var/lib/apt/lists/*
199
+
200
+ # Ensure default node user has access to /usr/local/share
201
+ RUN mkdir -p /usr/local/share/npm-global && \
202
+ chown -R node:node /usr/local/share
203
+
204
+ ARG USERNAME=node
205
+
206
+ # Persist bash history.
207
+ RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \
208
+ && mkdir /commandhistory \
209
+ && touch /commandhistory/.bash_history \
210
+ && chown -R $USERNAME /commandhistory
211
+
212
+ # Set `DEVCONTAINER` environment variable to help with orientation
213
+ ENV DEVCONTAINER=true
214
+
215
+ # Create workspace and config directories and set permissions
216
+ RUN mkdir -p /workspace /home/node/.codebuddy && \
217
+ chown -R node:node /workspace /home/node/.codebuddy
218
+
219
+ WORKDIR /workspace
220
+
221
+ ARG GIT_DELTA_VERSION=0.18.2
222
+ RUN ARCH=$(dpkg --print-architecture) && \
223
+ wget "https://github.com/dandavison/delta/releases/download/${GIT_DELTA_VERSION}/git-delta_${GIT_DELTA_VERSION}_${ARCH}.deb" && \
224
+ sudo dpkg -i "git-delta_${GIT_DELTA_VERSION}_${ARCH}.deb" && \
225
+ rm "git-delta_${GIT_DELTA_VERSION}_${ARCH}.deb"
226
+
227
+ # Set up non-root user
228
+ USER node
229
+
230
+ # Install global packages
231
+ ENV NPM_CONFIG_PREFIX=/usr/local/share/npm-global
232
+ ENV PATH=$PATH:/usr/local/share/npm-global/bin
233
+
234
+ # Set the default shell to zsh rather than sh
235
+ ENV SHELL=/bin/zsh
236
+
237
+ # Set the default editor and visual
238
+ ENV EDITOR=nano
239
+ ENV VISUAL=nano
240
+
241
+ # Default powerline10k theme
242
+ ARG ZSH_IN_DOCKER_VERSION=1.2.0
243
+ RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v${ZSH_IN_DOCKER_VERSION}/zsh-in-docker.sh)" -- \
244
+ -p git \
245
+ -p fzf \
246
+ -a "source /usr/share/doc/fzf/examples/key-bindings.zsh" \
247
+ -a "source /usr/share/doc/fzf/examples/completion.zsh" \
248
+ -a "export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \
249
+ -x
250
+
251
+ # CodeBuddy Code will be installed via Dev Containers Feature
252
+
253
+ # Copy and set up firewall script
254
+ COPY init-firewall.sh /usr/local/bin/
255
+ USER root
256
+ RUN chmod +x /usr/local/bin/init-firewall.sh && \
257
+ echo "node ALL=(root) NOPASSWD: /usr/local/bin/init-firewall.sh" > /etc/sudoers.d/node-firewall && \
258
+ chmod 0440 /etc/sudoers.d/node-firewall
259
+ USER node
260
+ ```
261
+
262
+ #### Complete Dockerfile for Manual Installation
263
+
264
+ If you need full control over the installation process, you can manually install CodeBuddy Code in the Dockerfile (this approach does not use Dev Containers Feature):
265
+
266
+ ```dockerfile
267
+ FROM node:20
268
+
269
+ ARG TZ
270
+ ENV TZ="$TZ"
271
+
272
+ ARG CODEBUDDY_CODE_VERSION=latest
273
+
274
+ # Install basic development tools and iptables/ipset
275
+ RUN apt-get update && apt-get install -y --no-install-recommends \
276
+ less \
277
+ git \
278
+ procps \
279
+ sudo \
280
+ fzf \
281
+ zsh \
282
+ man-db \
283
+ unzip \
284
+ gnupg2 \
285
+ gh \
286
+ iptables \
287
+ ipset \
288
+ iproute2 \
289
+ dnsutils \
290
+ aggregate \
291
+ jq \
292
+ nano \
293
+ vim \
294
+ && apt-get clean && rm -rf /var/lib/apt/lists/*
295
+
296
+ # Ensure default node user has access to /usr/local/share
297
+ RUN mkdir -p /usr/local/share/npm-global && \
298
+ chown -R node:node /usr/local/share
299
+
300
+ ARG USERNAME=node
301
+
302
+ # Persist bash history.
303
+ RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \
304
+ && mkdir /commandhistory \
305
+ && touch /commandhistory/.bash_history \
306
+ && chown -R $USERNAME /commandhistory
307
+
308
+ # Set `DEVCONTAINER` environment variable to help with orientation
309
+ ENV DEVCONTAINER=true
310
+
311
+ # Create workspace and config directories and set permissions
312
+ RUN mkdir -p /workspace /home/node/.codebuddy && \
313
+ chown -R node:node /workspace /home/node/.codebuddy
314
+
315
+ WORKDIR /workspace
316
+
317
+ ARG GIT_DELTA_VERSION=0.18.2
318
+ RUN ARCH=$(dpkg --print-architecture) && \
319
+ wget "https://github.com/dandavison/delta/releases/download/${GIT_DELTA_VERSION}/git-delta_${GIT_DELTA_VERSION}_${ARCH}.deb" && \
320
+ sudo dpkg -i "git-delta_${GIT_DELTA_VERSION}_${ARCH}.deb" && \
321
+ rm "git-delta_${GIT_DELTA_VERSION}_${ARCH}.deb"
322
+
323
+ # Set up non-root user
324
+ USER node
325
+
326
+ # Install global packages
327
+ ENV NPM_CONFIG_PREFIX=/usr/local/share/npm-global
328
+ ENV PATH=$PATH:/usr/local/share/npm-global/bin
329
+
330
+ # Set the default shell to zsh rather than sh
331
+ ENV SHELL=/bin/zsh
332
+
333
+ # Set the default editor and visual
334
+ ENV EDITOR=nano
335
+ ENV VISUAL=nano
336
+
337
+ # Default powerline10k theme
338
+ ARG ZSH_IN_DOCKER_VERSION=1.2.0
339
+ RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v${ZSH_IN_DOCKER_VERSION}/zsh-in-docker.sh)" -- \
340
+ -p git \
341
+ -p fzf \
342
+ -a "source /usr/share/doc/fzf/examples/key-bindings.zsh" \
343
+ -a "source /usr/share/doc/fzf/examples/completion.zsh" \
344
+ -a "export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \
345
+ -x
346
+
347
+ # Install CodeBuddy Code (manual installation method - only if not using Dev Containers Feature)
348
+ RUN npm install -g @tencent-ai/codebuddy-code@${CODEBUDDY_CODE_VERSION}
349
+
350
+ # Copy and set up firewall script
351
+ COPY init-firewall.sh /usr/local/bin/
352
+ USER root
353
+ RUN chmod +x /usr/local/bin/init-firewall.sh && \
354
+ echo "node ALL=(root) NOPASSWD: /usr/local/bin/init-firewall.sh" > /etc/sudoers.d/node-firewall && \
355
+ chmod 0440 /etc/sudoers.d/node-firewall
356
+ USER node
357
+ ```
358
+
359
+ > **Note:** If using this approach, the `build.args` in devcontainer.json needs to include the `"CODEBUDDY_CODE_VERSION"` parameter, and the `features` field should not include the CodeBuddy Code Feature.
360
+
361
+ ### 3. init-firewall.sh
362
+ Establishes network security rules.
363
+
364
+ ```bash
365
+ #!/bin/bash
366
+ set -euo pipefail # Exit on error, undefined vars, and pipeline failures
367
+ IFS=$'\n\t' # Stricter word splitting
368
+
369
+ # 1. Extract Docker DNS info BEFORE any flushing
370
+ DOCKER_DNS_RULES=$(iptables-save -t nat | grep "127\.0\.0\.11" || true)
371
+
372
+ # Flush existing rules and delete existing ipsets
373
+ iptables -F
374
+ iptables -X
375
+ iptables -t nat -F
376
+ iptables -t nat -X
377
+ iptables -t mangle -F
378
+ iptables -t mangle -X
379
+ ipset destroy allowed-domains 2>/dev/null || true
380
+
381
+ # 2. Selectively restore ONLY internal Docker DNS resolution
382
+ if [ -n "$DOCKER_DNS_RULES" ]; then
383
+ echo "Restoring Docker DNS rules..."
384
+ iptables -t nat -N DOCKER_OUTPUT 2>/dev/null || true
385
+ iptables -t nat -N DOCKER_POSTROUTING 2>/dev/null || true
386
+ echo "$DOCKER_DNS_RULES" | xargs -L 1 iptables -t nat
387
+ else
388
+ echo "No Docker DNS rules to restore"
389
+ fi
390
+
391
+ # First allow DNS and localhost before any restrictions
392
+ # Allow outbound DNS
393
+ iptables -A OUTPUT -p udp --dport 53 -j ACCEPT
394
+ # Allow inbound DNS responses
395
+ iptables -A INPUT -p udp --sport 53 -j ACCEPT
396
+ # Allow outbound SSH
397
+ iptables -A OUTPUT -p tcp --dport 22 -j ACCEPT
398
+ # Allow inbound SSH responses
399
+ iptables -A INPUT -p tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT
400
+ # Allow localhost
401
+ iptables -A INPUT -i lo -j ACCEPT
402
+ iptables -A OUTPUT -o lo -j ACCEPT
403
+
404
+ # Create ipset with CIDR support
405
+ ipset create allowed-domains hash:net
406
+
407
+ # Fetch GitHub meta information and aggregate + add their IP ranges
408
+ echo "Fetching GitHub IP ranges..."
409
+ gh_ranges=$(curl -s https://api.github.com/meta)
410
+ if [ -z "$gh_ranges" ]; then
411
+ echo "ERROR: Failed to fetch GitHub IP ranges"
412
+ exit 1
413
+ fi
414
+
415
+ if ! echo "$gh_ranges" | jq -e '.web and .api and .git' >/dev/null; then
416
+ echo "ERROR: GitHub API response missing required fields"
417
+ exit 1
418
+ fi
419
+
420
+ echo "Processing GitHub IPs..."
421
+ while read -r cidr; do
422
+ if [[ ! "$cidr" =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/[0-9]{1,2}$ ]]; then
423
+ echo "ERROR: Invalid CIDR range from GitHub meta: $cidr"
424
+ exit 1
425
+ fi
426
+ echo "Adding GitHub range $cidr"
427
+ ipset add allowed-domains "$cidr"
428
+ done < <(echo "$gh_ranges" | jq -r '(.web + .api + .git)[]' | aggregate -q)
429
+
430
+ # Resolve and add other allowed domains
431
+ for domain in \
432
+ "registry.npmjs.org" \
433
+ "copilot.tencent.com" \
434
+ "sentry.io" \
435
+ "marketplace.visualstudio.com" \
436
+ "vscode.blob.core.windows.net" \
437
+ "update.code.visualstudio.com"; do
438
+ echo "Resolving $domain..."
439
+ ips=$(dig +noall +answer A "$domain" | awk '$4 == "A" {print $5}')
440
+ if [ -z "$ips" ]; then
441
+ echo "ERROR: Failed to resolve $domain"
442
+ exit 1
443
+ fi
444
+
445
+ while read -r ip; do
446
+ if [[ ! "$ip" =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
447
+ echo "ERROR: Invalid IP from DNS for $domain: $ip"
448
+ exit 1
449
+ fi
450
+ echo "Adding $ip for $domain"
451
+ ipset add allowed-domains "$ip"
452
+ done < <(echo "$ips")
453
+ done
454
+
455
+ # Get host IP from default route
456
+ HOST_IP=$(ip route | grep default | cut -d" " -f3)
457
+ if [ -z "$HOST_IP" ]; then
458
+ echo "ERROR: Failed to detect host IP"
459
+ exit 1
460
+ fi
461
+
462
+ HOST_NETWORK=$(echo "$HOST_IP" | sed "s/\.[0-9]*$/.0\/24/")
463
+ echo "Host network detected as: $HOST_NETWORK"
464
+
465
+ # Set up remaining iptables rules
466
+ iptables -A INPUT -s "$HOST_NETWORK" -j ACCEPT
467
+ iptables -A OUTPUT -d "$HOST_NETWORK" -j ACCEPT
468
+
469
+ # Set default policies to DROP first
470
+ iptables -P INPUT DROP
471
+ iptables -P FORWARD DROP
472
+ iptables -P OUTPUT DROP
473
+
474
+ # First allow established connections for already approved traffic
475
+ iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
476
+ iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
477
+
478
+ # Then allow only specific outbound traffic to allowed domains
479
+ iptables -A OUTPUT -m set --match-set allowed-domains dst -j ACCEPT
480
+
481
+ # Explicitly REJECT all other outbound traffic for immediate feedback
482
+ iptables -A OUTPUT -j REJECT --reject-with icmp-admin-prohibited
483
+
484
+ echo "Firewall configuration complete"
485
+ echo "Verifying firewall rules..."
486
+ if curl --connect-timeout 5 https://example.com >/dev/null 2>&1; then
487
+ echo "ERROR: Firewall verification failed - was able to reach https://example.com"
488
+ exit 1
489
+ else
490
+ echo "Firewall verification passed - unable to reach https://example.com as expected"
491
+ fi
492
+
493
+ # Verify GitHub API access
494
+ if ! curl --connect-timeout 5 https://api.github.com/zen >/dev/null 2>&1; then
495
+ echo "ERROR: Firewall verification failed - unable to reach https://api.github.com"
496
+ exit 1
497
+ else
498
+ echo "Firewall verification passed - able to reach https://api.github.com as expected"
499
+ fi
500
+ ```
501
+
502
+ ---
503
+
504
+ ## Security Features
505
+
506
+ The container implements **multi-layer security protection**:
507
+
508
+ - **Precise Access Control**: Restricts outbound connections to whitelisted domains (npm registry, GitHub, CodeBuddy API, etc.)
509
+ - **Allowed Outbound Connections**: Firewall permits outbound DNS and SSH connections
510
+ - **Default Deny Policy**: Blocks all other external network access
511
+ - **Startup Verification**: Validates firewall rules during container initialization
512
+ - **Isolation**: Creates a secure development environment separated from the host system
513
+
514
+ ### Important Security Note
515
+ > While the dev container provides substantial protection, no system is completely immune to all attacks. When running with `-y` (or `--dangerously-skip-permissions`), the dev container cannot prevent malicious projects from stealing anything accessible within the container, including CodeBuddy Code credentials. **We recommend using the dev container only with trusted repositories.** Always maintain good security practices and monitor CodeBuddy's activity.
516
+
517
+ ### Unattended Operation
518
+ The container's enhanced security measures (isolation and firewall rules) allow you to run `codebuddy -y` (or `codebuddy --dangerously-skip-permissions`) to bypass permission prompts for unattended operation.
519
+
520
+ ---
521
+
522
+ ## Customization Options
523
+
524
+ The dev container configuration is designed to be flexible and can be adjusted to your needs:
525
+
526
+ - Add or remove VS Code extensions based on your workflow
527
+ - Adjust resource allocation for different hardware environments
528
+ - Modify network access permissions
529
+ - Customize shell configuration and development tools
530
+
531
+ ---
532
+
533
+ ## Use Cases
534
+
535
+ ### 1. Secure Client Project Development
536
+ Use dev containers to isolate different client projects, ensuring code and credentials never mix.
537
+
538
+ ### 2. Rapid Team Onboarding
539
+ New team members can get a fully configured development environment in minutes, with all necessary tools and settings pre-installed.
540
+
541
+ ### 3. Consistent CI/CD Environment
542
+ Mirror your dev container configuration in CI/CD pipelines to ensure development and production environments match.
543
+
544
+ ---
545
+
546
+ ## Related Resources
547
+
548
+ - [VS Code Dev Containers Documentation](https://code.visualstudio.com/docs/devcontainers/containers)
549
+ - [Bash Sandbox](./bash-sandboxing.md)
550
+ - [Settings Configuration](./settings.md)
551
+ - [GitLab CI/CD Integration](./gitlab-ci-cd.md)
552
+ - 📖 [Official Dev Containers Docs](https://containers.dev/)
553
+ - 🔗 [devcontainers-contrib/features](https://github.com/devcontainers-contrib/features)