cx-viewer 1.0.0

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 (864) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +221 -0
  3. package/cli.js +735 -0
  4. package/concepts/ar/BodyDiffJSON.md +32 -0
  5. package/concepts/ar/BodyFields.md +42 -0
  6. package/concepts/ar/CacheRebuild.md +36 -0
  7. package/concepts/ar/GlobalSettings.md +232 -0
  8. package/concepts/ar/KVCacheContent.md +49 -0
  9. package/concepts/ar/MainAgent.md +23 -0
  10. package/concepts/ar/ProxySwitch.md +50 -0
  11. package/concepts/ar/QRCode.md +25 -0
  12. package/concepts/ar/ResponseFields.md +50 -0
  13. package/concepts/ar/SubAgent-Search.md +20 -0
  14. package/concepts/ar/Teammate.md +26 -0
  15. package/concepts/ar/Tool-Agent.md +125 -0
  16. package/concepts/ar/Tool-AskUserQuestion.md +75 -0
  17. package/concepts/ar/Tool-Bash.md +167 -0
  18. package/concepts/ar/Tool-Edit.md +46 -0
  19. package/concepts/ar/Tool-EnterPlanMode.md +128 -0
  20. package/concepts/ar/Tool-EnterWorktree.md +56 -0
  21. package/concepts/ar/Tool-ExitPlanMode.md +62 -0
  22. package/concepts/ar/Tool-Glob.md +39 -0
  23. package/concepts/ar/Tool-Grep.md +57 -0
  24. package/concepts/ar/Tool-NotebookEdit.md +33 -0
  25. package/concepts/ar/Tool-Read.md +56 -0
  26. package/concepts/ar/Tool-SendMessage.md +41 -0
  27. package/concepts/ar/Tool-Skill.md +56 -0
  28. package/concepts/ar/Tool-Task.md +51 -0
  29. package/concepts/ar/Tool-TaskCreate.md +78 -0
  30. package/concepts/ar/Tool-TaskGet.md +56 -0
  31. package/concepts/ar/Tool-TaskList.md +56 -0
  32. package/concepts/ar/Tool-TaskOutput.md +40 -0
  33. package/concepts/ar/Tool-TaskStop.md +32 -0
  34. package/concepts/ar/Tool-TaskUpdate.md +123 -0
  35. package/concepts/ar/Tool-TeamCreate.md +38 -0
  36. package/concepts/ar/Tool-TeamDelete.md +30 -0
  37. package/concepts/ar/Tool-WebFetch.md +55 -0
  38. package/concepts/ar/Tool-WebSearch.md +58 -0
  39. package/concepts/ar/Tool-Write.md +39 -0
  40. package/concepts/ar/Tool-executeCode.md +41 -0
  41. package/concepts/ar/Tool-getDiagnostics.md +32 -0
  42. package/concepts/ar/Tools.md +67 -0
  43. package/concepts/ar/ToolsFirst.md +77 -0
  44. package/concepts/ar/TranslateContextPollution.md +46 -0
  45. package/concepts/ar/UltraPlan.md +55 -0
  46. package/concepts/da/BodyDiffJSON.md +32 -0
  47. package/concepts/da/BodyFields.md +42 -0
  48. package/concepts/da/CacheRebuild.md +36 -0
  49. package/concepts/da/GlobalSettings.md +232 -0
  50. package/concepts/da/KVCacheContent.md +49 -0
  51. package/concepts/da/MainAgent.md +23 -0
  52. package/concepts/da/ProxySwitch.md +50 -0
  53. package/concepts/da/QRCode.md +25 -0
  54. package/concepts/da/ResponseFields.md +50 -0
  55. package/concepts/da/SubAgent-Search.md +20 -0
  56. package/concepts/da/Teammate.md +26 -0
  57. package/concepts/da/Tool-Agent.md +125 -0
  58. package/concepts/da/Tool-AskUserQuestion.md +75 -0
  59. package/concepts/da/Tool-Bash.md +167 -0
  60. package/concepts/da/Tool-Edit.md +46 -0
  61. package/concepts/da/Tool-EnterPlanMode.md +128 -0
  62. package/concepts/da/Tool-EnterWorktree.md +56 -0
  63. package/concepts/da/Tool-ExitPlanMode.md +62 -0
  64. package/concepts/da/Tool-Glob.md +39 -0
  65. package/concepts/da/Tool-Grep.md +57 -0
  66. package/concepts/da/Tool-NotebookEdit.md +33 -0
  67. package/concepts/da/Tool-Read.md +56 -0
  68. package/concepts/da/Tool-SendMessage.md +41 -0
  69. package/concepts/da/Tool-Skill.md +56 -0
  70. package/concepts/da/Tool-Task.md +51 -0
  71. package/concepts/da/Tool-TaskCreate.md +78 -0
  72. package/concepts/da/Tool-TaskGet.md +56 -0
  73. package/concepts/da/Tool-TaskList.md +56 -0
  74. package/concepts/da/Tool-TaskOutput.md +40 -0
  75. package/concepts/da/Tool-TaskStop.md +32 -0
  76. package/concepts/da/Tool-TaskUpdate.md +123 -0
  77. package/concepts/da/Tool-TeamCreate.md +38 -0
  78. package/concepts/da/Tool-TeamDelete.md +30 -0
  79. package/concepts/da/Tool-WebFetch.md +55 -0
  80. package/concepts/da/Tool-WebSearch.md +58 -0
  81. package/concepts/da/Tool-Write.md +39 -0
  82. package/concepts/da/Tool-executeCode.md +41 -0
  83. package/concepts/da/Tool-getDiagnostics.md +32 -0
  84. package/concepts/da/Tools.md +67 -0
  85. package/concepts/da/ToolsFirst.md +77 -0
  86. package/concepts/da/TranslateContextPollution.md +46 -0
  87. package/concepts/da/UltraPlan.md +55 -0
  88. package/concepts/de/BodyDiffJSON.md +32 -0
  89. package/concepts/de/BodyFields.md +42 -0
  90. package/concepts/de/CacheRebuild.md +36 -0
  91. package/concepts/de/GlobalSettings.md +232 -0
  92. package/concepts/de/KVCacheContent.md +49 -0
  93. package/concepts/de/MainAgent.md +23 -0
  94. package/concepts/de/ProxySwitch.md +50 -0
  95. package/concepts/de/QRCode.md +25 -0
  96. package/concepts/de/ResponseFields.md +50 -0
  97. package/concepts/de/SubAgent-Search.md +20 -0
  98. package/concepts/de/Teammate.md +26 -0
  99. package/concepts/de/Tool-Agent.md +125 -0
  100. package/concepts/de/Tool-AskUserQuestion.md +75 -0
  101. package/concepts/de/Tool-Bash.md +167 -0
  102. package/concepts/de/Tool-Edit.md +46 -0
  103. package/concepts/de/Tool-EnterPlanMode.md +128 -0
  104. package/concepts/de/Tool-EnterWorktree.md +56 -0
  105. package/concepts/de/Tool-ExitPlanMode.md +62 -0
  106. package/concepts/de/Tool-Glob.md +39 -0
  107. package/concepts/de/Tool-Grep.md +57 -0
  108. package/concepts/de/Tool-NotebookEdit.md +33 -0
  109. package/concepts/de/Tool-Read.md +56 -0
  110. package/concepts/de/Tool-SendMessage.md +41 -0
  111. package/concepts/de/Tool-Skill.md +56 -0
  112. package/concepts/de/Tool-Task.md +51 -0
  113. package/concepts/de/Tool-TaskCreate.md +78 -0
  114. package/concepts/de/Tool-TaskGet.md +56 -0
  115. package/concepts/de/Tool-TaskList.md +56 -0
  116. package/concepts/de/Tool-TaskOutput.md +40 -0
  117. package/concepts/de/Tool-TaskStop.md +32 -0
  118. package/concepts/de/Tool-TaskUpdate.md +123 -0
  119. package/concepts/de/Tool-TeamCreate.md +38 -0
  120. package/concepts/de/Tool-TeamDelete.md +30 -0
  121. package/concepts/de/Tool-WebFetch.md +55 -0
  122. package/concepts/de/Tool-WebSearch.md +58 -0
  123. package/concepts/de/Tool-Write.md +39 -0
  124. package/concepts/de/Tool-executeCode.md +41 -0
  125. package/concepts/de/Tool-getDiagnostics.md +32 -0
  126. package/concepts/de/Tools.md +67 -0
  127. package/concepts/de/ToolsFirst.md +77 -0
  128. package/concepts/de/TranslateContextPollution.md +46 -0
  129. package/concepts/de/UltraPlan.md +55 -0
  130. package/concepts/en/BodyDiffJSON.md +32 -0
  131. package/concepts/en/BodyFields.md +42 -0
  132. package/concepts/en/CacheRebuild.md +36 -0
  133. package/concepts/en/GlobalSettings.md +232 -0
  134. package/concepts/en/KVCacheContent.md +49 -0
  135. package/concepts/en/MainAgent.md +23 -0
  136. package/concepts/en/ProxySwitch.md +50 -0
  137. package/concepts/en/QRCode.md +29 -0
  138. package/concepts/en/ResponseFields.md +50 -0
  139. package/concepts/en/SubAgent-Search.md +20 -0
  140. package/concepts/en/Teammate.md +26 -0
  141. package/concepts/en/Tool-Agent.md +125 -0
  142. package/concepts/en/Tool-AskUserQuestion.md +75 -0
  143. package/concepts/en/Tool-Bash.md +167 -0
  144. package/concepts/en/Tool-Edit.md +46 -0
  145. package/concepts/en/Tool-EnterPlanMode.md +128 -0
  146. package/concepts/en/Tool-EnterWorktree.md +56 -0
  147. package/concepts/en/Tool-ExitPlanMode.md +62 -0
  148. package/concepts/en/Tool-Glob.md +39 -0
  149. package/concepts/en/Tool-Grep.md +57 -0
  150. package/concepts/en/Tool-NotebookEdit.md +33 -0
  151. package/concepts/en/Tool-Read.md +56 -0
  152. package/concepts/en/Tool-SendMessage.md +41 -0
  153. package/concepts/en/Tool-Skill.md +56 -0
  154. package/concepts/en/Tool-Task.md +51 -0
  155. package/concepts/en/Tool-TaskCreate.md +78 -0
  156. package/concepts/en/Tool-TaskGet.md +56 -0
  157. package/concepts/en/Tool-TaskList.md +56 -0
  158. package/concepts/en/Tool-TaskOutput.md +40 -0
  159. package/concepts/en/Tool-TaskStop.md +32 -0
  160. package/concepts/en/Tool-TaskUpdate.md +123 -0
  161. package/concepts/en/Tool-TeamCreate.md +38 -0
  162. package/concepts/en/Tool-TeamDelete.md +30 -0
  163. package/concepts/en/Tool-WebFetch.md +55 -0
  164. package/concepts/en/Tool-WebSearch.md +58 -0
  165. package/concepts/en/Tool-Write.md +39 -0
  166. package/concepts/en/Tool-executeCode.md +41 -0
  167. package/concepts/en/Tool-getDiagnostics.md +32 -0
  168. package/concepts/en/Tools.md +67 -0
  169. package/concepts/en/ToolsFirst.md +77 -0
  170. package/concepts/en/TranslateContextPollution.md +46 -0
  171. package/concepts/en/UltraPlan.md +55 -0
  172. package/concepts/es/BodyDiffJSON.md +32 -0
  173. package/concepts/es/BodyFields.md +42 -0
  174. package/concepts/es/CacheRebuild.md +36 -0
  175. package/concepts/es/GlobalSettings.md +232 -0
  176. package/concepts/es/KVCacheContent.md +49 -0
  177. package/concepts/es/MainAgent.md +23 -0
  178. package/concepts/es/ProxySwitch.md +50 -0
  179. package/concepts/es/QRCode.md +25 -0
  180. package/concepts/es/ResponseFields.md +50 -0
  181. package/concepts/es/SubAgent-Search.md +20 -0
  182. package/concepts/es/Teammate.md +26 -0
  183. package/concepts/es/Tool-Agent.md +125 -0
  184. package/concepts/es/Tool-AskUserQuestion.md +75 -0
  185. package/concepts/es/Tool-Bash.md +167 -0
  186. package/concepts/es/Tool-Edit.md +46 -0
  187. package/concepts/es/Tool-EnterPlanMode.md +128 -0
  188. package/concepts/es/Tool-EnterWorktree.md +56 -0
  189. package/concepts/es/Tool-ExitPlanMode.md +62 -0
  190. package/concepts/es/Tool-Glob.md +39 -0
  191. package/concepts/es/Tool-Grep.md +57 -0
  192. package/concepts/es/Tool-NotebookEdit.md +33 -0
  193. package/concepts/es/Tool-Read.md +56 -0
  194. package/concepts/es/Tool-SendMessage.md +41 -0
  195. package/concepts/es/Tool-Skill.md +56 -0
  196. package/concepts/es/Tool-Task.md +51 -0
  197. package/concepts/es/Tool-TaskCreate.md +78 -0
  198. package/concepts/es/Tool-TaskGet.md +56 -0
  199. package/concepts/es/Tool-TaskList.md +56 -0
  200. package/concepts/es/Tool-TaskOutput.md +40 -0
  201. package/concepts/es/Tool-TaskStop.md +32 -0
  202. package/concepts/es/Tool-TaskUpdate.md +123 -0
  203. package/concepts/es/Tool-TeamCreate.md +38 -0
  204. package/concepts/es/Tool-TeamDelete.md +30 -0
  205. package/concepts/es/Tool-WebFetch.md +55 -0
  206. package/concepts/es/Tool-WebSearch.md +58 -0
  207. package/concepts/es/Tool-Write.md +39 -0
  208. package/concepts/es/Tool-executeCode.md +41 -0
  209. package/concepts/es/Tool-getDiagnostics.md +32 -0
  210. package/concepts/es/Tools.md +67 -0
  211. package/concepts/es/ToolsFirst.md +77 -0
  212. package/concepts/es/TranslateContextPollution.md +46 -0
  213. package/concepts/es/UltraPlan.md +55 -0
  214. package/concepts/fr/BodyDiffJSON.md +32 -0
  215. package/concepts/fr/BodyFields.md +42 -0
  216. package/concepts/fr/CacheRebuild.md +36 -0
  217. package/concepts/fr/GlobalSettings.md +232 -0
  218. package/concepts/fr/KVCacheContent.md +49 -0
  219. package/concepts/fr/MainAgent.md +23 -0
  220. package/concepts/fr/ProxySwitch.md +50 -0
  221. package/concepts/fr/QRCode.md +25 -0
  222. package/concepts/fr/ResponseFields.md +50 -0
  223. package/concepts/fr/SubAgent-Search.md +20 -0
  224. package/concepts/fr/Teammate.md +26 -0
  225. package/concepts/fr/Tool-Agent.md +125 -0
  226. package/concepts/fr/Tool-AskUserQuestion.md +75 -0
  227. package/concepts/fr/Tool-Bash.md +167 -0
  228. package/concepts/fr/Tool-Edit.md +46 -0
  229. package/concepts/fr/Tool-EnterPlanMode.md +128 -0
  230. package/concepts/fr/Tool-EnterWorktree.md +56 -0
  231. package/concepts/fr/Tool-ExitPlanMode.md +62 -0
  232. package/concepts/fr/Tool-Glob.md +39 -0
  233. package/concepts/fr/Tool-Grep.md +57 -0
  234. package/concepts/fr/Tool-NotebookEdit.md +33 -0
  235. package/concepts/fr/Tool-Read.md +56 -0
  236. package/concepts/fr/Tool-SendMessage.md +41 -0
  237. package/concepts/fr/Tool-Skill.md +56 -0
  238. package/concepts/fr/Tool-Task.md +51 -0
  239. package/concepts/fr/Tool-TaskCreate.md +78 -0
  240. package/concepts/fr/Tool-TaskGet.md +56 -0
  241. package/concepts/fr/Tool-TaskList.md +56 -0
  242. package/concepts/fr/Tool-TaskOutput.md +40 -0
  243. package/concepts/fr/Tool-TaskStop.md +32 -0
  244. package/concepts/fr/Tool-TaskUpdate.md +123 -0
  245. package/concepts/fr/Tool-TeamCreate.md +38 -0
  246. package/concepts/fr/Tool-TeamDelete.md +30 -0
  247. package/concepts/fr/Tool-WebFetch.md +55 -0
  248. package/concepts/fr/Tool-WebSearch.md +58 -0
  249. package/concepts/fr/Tool-Write.md +39 -0
  250. package/concepts/fr/Tool-executeCode.md +41 -0
  251. package/concepts/fr/Tool-getDiagnostics.md +32 -0
  252. package/concepts/fr/Tools.md +67 -0
  253. package/concepts/fr/ToolsFirst.md +77 -0
  254. package/concepts/fr/TranslateContextPollution.md +46 -0
  255. package/concepts/fr/UltraPlan.md +55 -0
  256. package/concepts/it/BodyDiffJSON.md +32 -0
  257. package/concepts/it/BodyFields.md +42 -0
  258. package/concepts/it/CacheRebuild.md +36 -0
  259. package/concepts/it/GlobalSettings.md +232 -0
  260. package/concepts/it/KVCacheContent.md +49 -0
  261. package/concepts/it/MainAgent.md +23 -0
  262. package/concepts/it/ProxySwitch.md +50 -0
  263. package/concepts/it/QRCode.md +25 -0
  264. package/concepts/it/ResponseFields.md +50 -0
  265. package/concepts/it/SubAgent-Search.md +20 -0
  266. package/concepts/it/Teammate.md +26 -0
  267. package/concepts/it/Tool-Agent.md +125 -0
  268. package/concepts/it/Tool-AskUserQuestion.md +75 -0
  269. package/concepts/it/Tool-Bash.md +167 -0
  270. package/concepts/it/Tool-Edit.md +46 -0
  271. package/concepts/it/Tool-EnterPlanMode.md +128 -0
  272. package/concepts/it/Tool-EnterWorktree.md +56 -0
  273. package/concepts/it/Tool-ExitPlanMode.md +62 -0
  274. package/concepts/it/Tool-Glob.md +39 -0
  275. package/concepts/it/Tool-Grep.md +57 -0
  276. package/concepts/it/Tool-NotebookEdit.md +33 -0
  277. package/concepts/it/Tool-Read.md +56 -0
  278. package/concepts/it/Tool-SendMessage.md +41 -0
  279. package/concepts/it/Tool-Skill.md +56 -0
  280. package/concepts/it/Tool-Task.md +51 -0
  281. package/concepts/it/Tool-TaskCreate.md +78 -0
  282. package/concepts/it/Tool-TaskGet.md +56 -0
  283. package/concepts/it/Tool-TaskList.md +56 -0
  284. package/concepts/it/Tool-TaskOutput.md +40 -0
  285. package/concepts/it/Tool-TaskStop.md +32 -0
  286. package/concepts/it/Tool-TaskUpdate.md +123 -0
  287. package/concepts/it/Tool-TeamCreate.md +38 -0
  288. package/concepts/it/Tool-TeamDelete.md +30 -0
  289. package/concepts/it/Tool-WebFetch.md +55 -0
  290. package/concepts/it/Tool-WebSearch.md +58 -0
  291. package/concepts/it/Tool-Write.md +39 -0
  292. package/concepts/it/Tool-executeCode.md +41 -0
  293. package/concepts/it/Tool-getDiagnostics.md +32 -0
  294. package/concepts/it/Tools.md +67 -0
  295. package/concepts/it/ToolsFirst.md +77 -0
  296. package/concepts/it/TranslateContextPollution.md +46 -0
  297. package/concepts/it/UltraPlan.md +55 -0
  298. package/concepts/ja/BodyDiffJSON.md +32 -0
  299. package/concepts/ja/BodyFields.md +42 -0
  300. package/concepts/ja/CacheRebuild.md +36 -0
  301. package/concepts/ja/GlobalSettings.md +232 -0
  302. package/concepts/ja/KVCacheContent.md +49 -0
  303. package/concepts/ja/MainAgent.md +23 -0
  304. package/concepts/ja/ProxySwitch.md +50 -0
  305. package/concepts/ja/QRCode.md +25 -0
  306. package/concepts/ja/ResponseFields.md +50 -0
  307. package/concepts/ja/SubAgent-Search.md +20 -0
  308. package/concepts/ja/Teammate.md +26 -0
  309. package/concepts/ja/Tool-Agent.md +125 -0
  310. package/concepts/ja/Tool-AskUserQuestion.md +75 -0
  311. package/concepts/ja/Tool-Bash.md +167 -0
  312. package/concepts/ja/Tool-Edit.md +46 -0
  313. package/concepts/ja/Tool-EnterPlanMode.md +128 -0
  314. package/concepts/ja/Tool-EnterWorktree.md +56 -0
  315. package/concepts/ja/Tool-ExitPlanMode.md +62 -0
  316. package/concepts/ja/Tool-Glob.md +39 -0
  317. package/concepts/ja/Tool-Grep.md +57 -0
  318. package/concepts/ja/Tool-NotebookEdit.md +33 -0
  319. package/concepts/ja/Tool-Read.md +56 -0
  320. package/concepts/ja/Tool-SendMessage.md +41 -0
  321. package/concepts/ja/Tool-Skill.md +56 -0
  322. package/concepts/ja/Tool-Task.md +51 -0
  323. package/concepts/ja/Tool-TaskCreate.md +78 -0
  324. package/concepts/ja/Tool-TaskGet.md +56 -0
  325. package/concepts/ja/Tool-TaskList.md +56 -0
  326. package/concepts/ja/Tool-TaskOutput.md +40 -0
  327. package/concepts/ja/Tool-TaskStop.md +32 -0
  328. package/concepts/ja/Tool-TaskUpdate.md +123 -0
  329. package/concepts/ja/Tool-TeamCreate.md +38 -0
  330. package/concepts/ja/Tool-TeamDelete.md +30 -0
  331. package/concepts/ja/Tool-WebFetch.md +55 -0
  332. package/concepts/ja/Tool-WebSearch.md +58 -0
  333. package/concepts/ja/Tool-Write.md +39 -0
  334. package/concepts/ja/Tool-executeCode.md +41 -0
  335. package/concepts/ja/Tool-getDiagnostics.md +32 -0
  336. package/concepts/ja/Tools.md +67 -0
  337. package/concepts/ja/ToolsFirst.md +77 -0
  338. package/concepts/ja/TranslateContextPollution.md +46 -0
  339. package/concepts/ja/UltraPlan.md +55 -0
  340. package/concepts/ko/BodyDiffJSON.md +32 -0
  341. package/concepts/ko/BodyFields.md +42 -0
  342. package/concepts/ko/CacheRebuild.md +36 -0
  343. package/concepts/ko/GlobalSettings.md +232 -0
  344. package/concepts/ko/KVCacheContent.md +49 -0
  345. package/concepts/ko/MainAgent.md +23 -0
  346. package/concepts/ko/ProxySwitch.md +50 -0
  347. package/concepts/ko/QRCode.md +25 -0
  348. package/concepts/ko/ResponseFields.md +50 -0
  349. package/concepts/ko/SubAgent-Search.md +20 -0
  350. package/concepts/ko/Teammate.md +26 -0
  351. package/concepts/ko/Tool-Agent.md +125 -0
  352. package/concepts/ko/Tool-AskUserQuestion.md +75 -0
  353. package/concepts/ko/Tool-Bash.md +167 -0
  354. package/concepts/ko/Tool-Edit.md +46 -0
  355. package/concepts/ko/Tool-EnterPlanMode.md +128 -0
  356. package/concepts/ko/Tool-EnterWorktree.md +56 -0
  357. package/concepts/ko/Tool-ExitPlanMode.md +62 -0
  358. package/concepts/ko/Tool-Glob.md +39 -0
  359. package/concepts/ko/Tool-Grep.md +57 -0
  360. package/concepts/ko/Tool-NotebookEdit.md +33 -0
  361. package/concepts/ko/Tool-Read.md +56 -0
  362. package/concepts/ko/Tool-SendMessage.md +41 -0
  363. package/concepts/ko/Tool-Skill.md +56 -0
  364. package/concepts/ko/Tool-Task.md +51 -0
  365. package/concepts/ko/Tool-TaskCreate.md +78 -0
  366. package/concepts/ko/Tool-TaskGet.md +56 -0
  367. package/concepts/ko/Tool-TaskList.md +56 -0
  368. package/concepts/ko/Tool-TaskOutput.md +40 -0
  369. package/concepts/ko/Tool-TaskStop.md +32 -0
  370. package/concepts/ko/Tool-TaskUpdate.md +123 -0
  371. package/concepts/ko/Tool-TeamCreate.md +38 -0
  372. package/concepts/ko/Tool-TeamDelete.md +30 -0
  373. package/concepts/ko/Tool-WebFetch.md +55 -0
  374. package/concepts/ko/Tool-WebSearch.md +58 -0
  375. package/concepts/ko/Tool-Write.md +39 -0
  376. package/concepts/ko/Tool-executeCode.md +41 -0
  377. package/concepts/ko/Tool-getDiagnostics.md +32 -0
  378. package/concepts/ko/Tools.md +67 -0
  379. package/concepts/ko/ToolsFirst.md +77 -0
  380. package/concepts/ko/TranslateContextPollution.md +46 -0
  381. package/concepts/ko/UltraPlan.md +55 -0
  382. package/concepts/no/BodyDiffJSON.md +32 -0
  383. package/concepts/no/BodyFields.md +42 -0
  384. package/concepts/no/CacheRebuild.md +36 -0
  385. package/concepts/no/GlobalSettings.md +232 -0
  386. package/concepts/no/KVCacheContent.md +49 -0
  387. package/concepts/no/MainAgent.md +23 -0
  388. package/concepts/no/ProxySwitch.md +50 -0
  389. package/concepts/no/QRCode.md +25 -0
  390. package/concepts/no/ResponseFields.md +50 -0
  391. package/concepts/no/SubAgent-Search.md +20 -0
  392. package/concepts/no/Teammate.md +26 -0
  393. package/concepts/no/Tool-Agent.md +125 -0
  394. package/concepts/no/Tool-AskUserQuestion.md +75 -0
  395. package/concepts/no/Tool-Bash.md +167 -0
  396. package/concepts/no/Tool-Edit.md +46 -0
  397. package/concepts/no/Tool-EnterPlanMode.md +128 -0
  398. package/concepts/no/Tool-EnterWorktree.md +56 -0
  399. package/concepts/no/Tool-ExitPlanMode.md +62 -0
  400. package/concepts/no/Tool-Glob.md +39 -0
  401. package/concepts/no/Tool-Grep.md +57 -0
  402. package/concepts/no/Tool-NotebookEdit.md +33 -0
  403. package/concepts/no/Tool-Read.md +56 -0
  404. package/concepts/no/Tool-SendMessage.md +41 -0
  405. package/concepts/no/Tool-Skill.md +56 -0
  406. package/concepts/no/Tool-Task.md +51 -0
  407. package/concepts/no/Tool-TaskCreate.md +78 -0
  408. package/concepts/no/Tool-TaskGet.md +56 -0
  409. package/concepts/no/Tool-TaskList.md +56 -0
  410. package/concepts/no/Tool-TaskOutput.md +40 -0
  411. package/concepts/no/Tool-TaskStop.md +32 -0
  412. package/concepts/no/Tool-TaskUpdate.md +123 -0
  413. package/concepts/no/Tool-TeamCreate.md +38 -0
  414. package/concepts/no/Tool-TeamDelete.md +30 -0
  415. package/concepts/no/Tool-WebFetch.md +55 -0
  416. package/concepts/no/Tool-WebSearch.md +58 -0
  417. package/concepts/no/Tool-Write.md +39 -0
  418. package/concepts/no/Tool-executeCode.md +41 -0
  419. package/concepts/no/Tool-getDiagnostics.md +32 -0
  420. package/concepts/no/Tools.md +67 -0
  421. package/concepts/no/ToolsFirst.md +77 -0
  422. package/concepts/no/TranslateContextPollution.md +46 -0
  423. package/concepts/no/UltraPlan.md +55 -0
  424. package/concepts/pl/BodyDiffJSON.md +32 -0
  425. package/concepts/pl/BodyFields.md +42 -0
  426. package/concepts/pl/CacheRebuild.md +36 -0
  427. package/concepts/pl/GlobalSettings.md +232 -0
  428. package/concepts/pl/KVCacheContent.md +49 -0
  429. package/concepts/pl/MainAgent.md +23 -0
  430. package/concepts/pl/ProxySwitch.md +50 -0
  431. package/concepts/pl/QRCode.md +25 -0
  432. package/concepts/pl/ResponseFields.md +50 -0
  433. package/concepts/pl/SubAgent-Search.md +20 -0
  434. package/concepts/pl/Teammate.md +26 -0
  435. package/concepts/pl/Tool-Agent.md +125 -0
  436. package/concepts/pl/Tool-AskUserQuestion.md +75 -0
  437. package/concepts/pl/Tool-Bash.md +167 -0
  438. package/concepts/pl/Tool-Edit.md +46 -0
  439. package/concepts/pl/Tool-EnterPlanMode.md +128 -0
  440. package/concepts/pl/Tool-EnterWorktree.md +56 -0
  441. package/concepts/pl/Tool-ExitPlanMode.md +62 -0
  442. package/concepts/pl/Tool-Glob.md +39 -0
  443. package/concepts/pl/Tool-Grep.md +57 -0
  444. package/concepts/pl/Tool-NotebookEdit.md +33 -0
  445. package/concepts/pl/Tool-Read.md +56 -0
  446. package/concepts/pl/Tool-SendMessage.md +41 -0
  447. package/concepts/pl/Tool-Skill.md +56 -0
  448. package/concepts/pl/Tool-Task.md +51 -0
  449. package/concepts/pl/Tool-TaskCreate.md +78 -0
  450. package/concepts/pl/Tool-TaskGet.md +56 -0
  451. package/concepts/pl/Tool-TaskList.md +56 -0
  452. package/concepts/pl/Tool-TaskOutput.md +40 -0
  453. package/concepts/pl/Tool-TaskStop.md +32 -0
  454. package/concepts/pl/Tool-TaskUpdate.md +123 -0
  455. package/concepts/pl/Tool-TeamCreate.md +38 -0
  456. package/concepts/pl/Tool-TeamDelete.md +30 -0
  457. package/concepts/pl/Tool-WebFetch.md +55 -0
  458. package/concepts/pl/Tool-WebSearch.md +58 -0
  459. package/concepts/pl/Tool-Write.md +39 -0
  460. package/concepts/pl/Tool-executeCode.md +41 -0
  461. package/concepts/pl/Tool-getDiagnostics.md +32 -0
  462. package/concepts/pl/Tools.md +67 -0
  463. package/concepts/pl/ToolsFirst.md +77 -0
  464. package/concepts/pl/TranslateContextPollution.md +46 -0
  465. package/concepts/pl/UltraPlan.md +55 -0
  466. package/concepts/pt-BR/BodyDiffJSON.md +32 -0
  467. package/concepts/pt-BR/BodyFields.md +42 -0
  468. package/concepts/pt-BR/CacheRebuild.md +36 -0
  469. package/concepts/pt-BR/GlobalSettings.md +232 -0
  470. package/concepts/pt-BR/KVCacheContent.md +49 -0
  471. package/concepts/pt-BR/MainAgent.md +23 -0
  472. package/concepts/pt-BR/ProxySwitch.md +50 -0
  473. package/concepts/pt-BR/QRCode.md +25 -0
  474. package/concepts/pt-BR/ResponseFields.md +50 -0
  475. package/concepts/pt-BR/SubAgent-Search.md +20 -0
  476. package/concepts/pt-BR/Teammate.md +26 -0
  477. package/concepts/pt-BR/Tool-Agent.md +125 -0
  478. package/concepts/pt-BR/Tool-AskUserQuestion.md +75 -0
  479. package/concepts/pt-BR/Tool-Bash.md +167 -0
  480. package/concepts/pt-BR/Tool-Edit.md +46 -0
  481. package/concepts/pt-BR/Tool-EnterPlanMode.md +128 -0
  482. package/concepts/pt-BR/Tool-EnterWorktree.md +56 -0
  483. package/concepts/pt-BR/Tool-ExitPlanMode.md +62 -0
  484. package/concepts/pt-BR/Tool-Glob.md +39 -0
  485. package/concepts/pt-BR/Tool-Grep.md +57 -0
  486. package/concepts/pt-BR/Tool-NotebookEdit.md +33 -0
  487. package/concepts/pt-BR/Tool-Read.md +56 -0
  488. package/concepts/pt-BR/Tool-SendMessage.md +41 -0
  489. package/concepts/pt-BR/Tool-Skill.md +56 -0
  490. package/concepts/pt-BR/Tool-Task.md +51 -0
  491. package/concepts/pt-BR/Tool-TaskCreate.md +78 -0
  492. package/concepts/pt-BR/Tool-TaskGet.md +56 -0
  493. package/concepts/pt-BR/Tool-TaskList.md +56 -0
  494. package/concepts/pt-BR/Tool-TaskOutput.md +40 -0
  495. package/concepts/pt-BR/Tool-TaskStop.md +32 -0
  496. package/concepts/pt-BR/Tool-TaskUpdate.md +123 -0
  497. package/concepts/pt-BR/Tool-TeamCreate.md +38 -0
  498. package/concepts/pt-BR/Tool-TeamDelete.md +30 -0
  499. package/concepts/pt-BR/Tool-WebFetch.md +55 -0
  500. package/concepts/pt-BR/Tool-WebSearch.md +58 -0
  501. package/concepts/pt-BR/Tool-Write.md +39 -0
  502. package/concepts/pt-BR/Tool-executeCode.md +41 -0
  503. package/concepts/pt-BR/Tool-getDiagnostics.md +32 -0
  504. package/concepts/pt-BR/Tools.md +67 -0
  505. package/concepts/pt-BR/ToolsFirst.md +77 -0
  506. package/concepts/pt-BR/TranslateContextPollution.md +46 -0
  507. package/concepts/pt-BR/UltraPlan.md +55 -0
  508. package/concepts/ru/BodyDiffJSON.md +32 -0
  509. package/concepts/ru/BodyFields.md +42 -0
  510. package/concepts/ru/CacheRebuild.md +36 -0
  511. package/concepts/ru/GlobalSettings.md +232 -0
  512. package/concepts/ru/KVCacheContent.md +49 -0
  513. package/concepts/ru/MainAgent.md +23 -0
  514. package/concepts/ru/ProxySwitch.md +50 -0
  515. package/concepts/ru/QRCode.md +25 -0
  516. package/concepts/ru/ResponseFields.md +50 -0
  517. package/concepts/ru/SubAgent-Search.md +20 -0
  518. package/concepts/ru/Teammate.md +26 -0
  519. package/concepts/ru/Tool-Agent.md +125 -0
  520. package/concepts/ru/Tool-AskUserQuestion.md +75 -0
  521. package/concepts/ru/Tool-Bash.md +167 -0
  522. package/concepts/ru/Tool-Edit.md +46 -0
  523. package/concepts/ru/Tool-EnterPlanMode.md +128 -0
  524. package/concepts/ru/Tool-EnterWorktree.md +56 -0
  525. package/concepts/ru/Tool-ExitPlanMode.md +62 -0
  526. package/concepts/ru/Tool-Glob.md +39 -0
  527. package/concepts/ru/Tool-Grep.md +57 -0
  528. package/concepts/ru/Tool-NotebookEdit.md +33 -0
  529. package/concepts/ru/Tool-Read.md +56 -0
  530. package/concepts/ru/Tool-SendMessage.md +41 -0
  531. package/concepts/ru/Tool-Skill.md +56 -0
  532. package/concepts/ru/Tool-Task.md +51 -0
  533. package/concepts/ru/Tool-TaskCreate.md +78 -0
  534. package/concepts/ru/Tool-TaskGet.md +56 -0
  535. package/concepts/ru/Tool-TaskList.md +56 -0
  536. package/concepts/ru/Tool-TaskOutput.md +40 -0
  537. package/concepts/ru/Tool-TaskStop.md +32 -0
  538. package/concepts/ru/Tool-TaskUpdate.md +123 -0
  539. package/concepts/ru/Tool-TeamCreate.md +38 -0
  540. package/concepts/ru/Tool-TeamDelete.md +30 -0
  541. package/concepts/ru/Tool-WebFetch.md +55 -0
  542. package/concepts/ru/Tool-WebSearch.md +58 -0
  543. package/concepts/ru/Tool-Write.md +39 -0
  544. package/concepts/ru/Tool-executeCode.md +41 -0
  545. package/concepts/ru/Tool-getDiagnostics.md +32 -0
  546. package/concepts/ru/Tools.md +67 -0
  547. package/concepts/ru/ToolsFirst.md +77 -0
  548. package/concepts/ru/TranslateContextPollution.md +46 -0
  549. package/concepts/ru/UltraPlan.md +55 -0
  550. package/concepts/th/BodyDiffJSON.md +32 -0
  551. package/concepts/th/BodyFields.md +42 -0
  552. package/concepts/th/CacheRebuild.md +36 -0
  553. package/concepts/th/GlobalSettings.md +232 -0
  554. package/concepts/th/KVCacheContent.md +49 -0
  555. package/concepts/th/MainAgent.md +23 -0
  556. package/concepts/th/ProxySwitch.md +50 -0
  557. package/concepts/th/QRCode.md +25 -0
  558. package/concepts/th/ResponseFields.md +50 -0
  559. package/concepts/th/SubAgent-Search.md +20 -0
  560. package/concepts/th/Teammate.md +26 -0
  561. package/concepts/th/Tool-Agent.md +125 -0
  562. package/concepts/th/Tool-AskUserQuestion.md +75 -0
  563. package/concepts/th/Tool-Bash.md +167 -0
  564. package/concepts/th/Tool-Edit.md +46 -0
  565. package/concepts/th/Tool-EnterPlanMode.md +128 -0
  566. package/concepts/th/Tool-EnterWorktree.md +56 -0
  567. package/concepts/th/Tool-ExitPlanMode.md +62 -0
  568. package/concepts/th/Tool-Glob.md +39 -0
  569. package/concepts/th/Tool-Grep.md +57 -0
  570. package/concepts/th/Tool-NotebookEdit.md +33 -0
  571. package/concepts/th/Tool-Read.md +56 -0
  572. package/concepts/th/Tool-SendMessage.md +41 -0
  573. package/concepts/th/Tool-Skill.md +56 -0
  574. package/concepts/th/Tool-Task.md +51 -0
  575. package/concepts/th/Tool-TaskCreate.md +78 -0
  576. package/concepts/th/Tool-TaskGet.md +56 -0
  577. package/concepts/th/Tool-TaskList.md +56 -0
  578. package/concepts/th/Tool-TaskOutput.md +40 -0
  579. package/concepts/th/Tool-TaskStop.md +32 -0
  580. package/concepts/th/Tool-TaskUpdate.md +123 -0
  581. package/concepts/th/Tool-TeamCreate.md +38 -0
  582. package/concepts/th/Tool-TeamDelete.md +30 -0
  583. package/concepts/th/Tool-WebFetch.md +55 -0
  584. package/concepts/th/Tool-WebSearch.md +58 -0
  585. package/concepts/th/Tool-Write.md +39 -0
  586. package/concepts/th/Tool-executeCode.md +41 -0
  587. package/concepts/th/Tool-getDiagnostics.md +32 -0
  588. package/concepts/th/Tools.md +67 -0
  589. package/concepts/th/ToolsFirst.md +77 -0
  590. package/concepts/th/TranslateContextPollution.md +46 -0
  591. package/concepts/th/UltraPlan.md +55 -0
  592. package/concepts/tr/BodyDiffJSON.md +32 -0
  593. package/concepts/tr/BodyFields.md +42 -0
  594. package/concepts/tr/CacheRebuild.md +36 -0
  595. package/concepts/tr/GlobalSettings.md +232 -0
  596. package/concepts/tr/KVCacheContent.md +49 -0
  597. package/concepts/tr/MainAgent.md +23 -0
  598. package/concepts/tr/ProxySwitch.md +50 -0
  599. package/concepts/tr/QRCode.md +25 -0
  600. package/concepts/tr/ResponseFields.md +50 -0
  601. package/concepts/tr/SubAgent-Search.md +20 -0
  602. package/concepts/tr/Teammate.md +26 -0
  603. package/concepts/tr/Tool-Agent.md +125 -0
  604. package/concepts/tr/Tool-AskUserQuestion.md +75 -0
  605. package/concepts/tr/Tool-Bash.md +167 -0
  606. package/concepts/tr/Tool-Edit.md +46 -0
  607. package/concepts/tr/Tool-EnterPlanMode.md +128 -0
  608. package/concepts/tr/Tool-EnterWorktree.md +56 -0
  609. package/concepts/tr/Tool-ExitPlanMode.md +62 -0
  610. package/concepts/tr/Tool-Glob.md +39 -0
  611. package/concepts/tr/Tool-Grep.md +57 -0
  612. package/concepts/tr/Tool-NotebookEdit.md +33 -0
  613. package/concepts/tr/Tool-Read.md +56 -0
  614. package/concepts/tr/Tool-SendMessage.md +41 -0
  615. package/concepts/tr/Tool-Skill.md +56 -0
  616. package/concepts/tr/Tool-Task.md +51 -0
  617. package/concepts/tr/Tool-TaskCreate.md +78 -0
  618. package/concepts/tr/Tool-TaskGet.md +56 -0
  619. package/concepts/tr/Tool-TaskList.md +56 -0
  620. package/concepts/tr/Tool-TaskOutput.md +40 -0
  621. package/concepts/tr/Tool-TaskStop.md +32 -0
  622. package/concepts/tr/Tool-TaskUpdate.md +123 -0
  623. package/concepts/tr/Tool-TeamCreate.md +38 -0
  624. package/concepts/tr/Tool-TeamDelete.md +30 -0
  625. package/concepts/tr/Tool-WebFetch.md +55 -0
  626. package/concepts/tr/Tool-WebSearch.md +58 -0
  627. package/concepts/tr/Tool-Write.md +39 -0
  628. package/concepts/tr/Tool-executeCode.md +41 -0
  629. package/concepts/tr/Tool-getDiagnostics.md +32 -0
  630. package/concepts/tr/Tools.md +67 -0
  631. package/concepts/tr/ToolsFirst.md +77 -0
  632. package/concepts/tr/TranslateContextPollution.md +46 -0
  633. package/concepts/tr/UltraPlan.md +55 -0
  634. package/concepts/uk/BodyDiffJSON.md +32 -0
  635. package/concepts/uk/BodyFields.md +42 -0
  636. package/concepts/uk/CacheRebuild.md +36 -0
  637. package/concepts/uk/GlobalSettings.md +232 -0
  638. package/concepts/uk/KVCacheContent.md +49 -0
  639. package/concepts/uk/MainAgent.md +23 -0
  640. package/concepts/uk/ProxySwitch.md +50 -0
  641. package/concepts/uk/QRCode.md +25 -0
  642. package/concepts/uk/ResponseFields.md +50 -0
  643. package/concepts/uk/SubAgent-Search.md +20 -0
  644. package/concepts/uk/Teammate.md +26 -0
  645. package/concepts/uk/Tool-Agent.md +125 -0
  646. package/concepts/uk/Tool-AskUserQuestion.md +75 -0
  647. package/concepts/uk/Tool-Bash.md +167 -0
  648. package/concepts/uk/Tool-Edit.md +46 -0
  649. package/concepts/uk/Tool-EnterPlanMode.md +128 -0
  650. package/concepts/uk/Tool-EnterWorktree.md +56 -0
  651. package/concepts/uk/Tool-ExitPlanMode.md +62 -0
  652. package/concepts/uk/Tool-Glob.md +39 -0
  653. package/concepts/uk/Tool-Grep.md +57 -0
  654. package/concepts/uk/Tool-NotebookEdit.md +33 -0
  655. package/concepts/uk/Tool-Read.md +56 -0
  656. package/concepts/uk/Tool-SendMessage.md +41 -0
  657. package/concepts/uk/Tool-Skill.md +56 -0
  658. package/concepts/uk/Tool-Task.md +51 -0
  659. package/concepts/uk/Tool-TaskCreate.md +78 -0
  660. package/concepts/uk/Tool-TaskGet.md +56 -0
  661. package/concepts/uk/Tool-TaskList.md +56 -0
  662. package/concepts/uk/Tool-TaskOutput.md +40 -0
  663. package/concepts/uk/Tool-TaskStop.md +32 -0
  664. package/concepts/uk/Tool-TaskUpdate.md +123 -0
  665. package/concepts/uk/Tool-TeamCreate.md +38 -0
  666. package/concepts/uk/Tool-TeamDelete.md +30 -0
  667. package/concepts/uk/Tool-WebFetch.md +55 -0
  668. package/concepts/uk/Tool-WebSearch.md +58 -0
  669. package/concepts/uk/Tool-Write.md +39 -0
  670. package/concepts/uk/Tool-executeCode.md +41 -0
  671. package/concepts/uk/Tool-getDiagnostics.md +32 -0
  672. package/concepts/uk/Tools.md +67 -0
  673. package/concepts/uk/ToolsFirst.md +77 -0
  674. package/concepts/uk/TranslateContextPollution.md +46 -0
  675. package/concepts/uk/UltraPlan.md +55 -0
  676. package/concepts/zh/BodyDiffJSON.md +32 -0
  677. package/concepts/zh/BodyFields.md +42 -0
  678. package/concepts/zh/CacheRebuild.md +36 -0
  679. package/concepts/zh/GlobalSettings.md +232 -0
  680. package/concepts/zh/KVCacheContent.md +49 -0
  681. package/concepts/zh/MainAgent.md +23 -0
  682. package/concepts/zh/ProxySwitch.md +50 -0
  683. package/concepts/zh/QRCode.md +29 -0
  684. package/concepts/zh/ResponseFields.md +50 -0
  685. package/concepts/zh/SubAgent-Search.md +20 -0
  686. package/concepts/zh/Teammate.md +26 -0
  687. package/concepts/zh/Tool-Agent.md +125 -0
  688. package/concepts/zh/Tool-AskUserQuestion.md +75 -0
  689. package/concepts/zh/Tool-Bash.md +167 -0
  690. package/concepts/zh/Tool-Edit.md +46 -0
  691. package/concepts/zh/Tool-EnterPlanMode.md +128 -0
  692. package/concepts/zh/Tool-EnterWorktree.md +56 -0
  693. package/concepts/zh/Tool-ExitPlanMode.md +62 -0
  694. package/concepts/zh/Tool-Glob.md +39 -0
  695. package/concepts/zh/Tool-Grep.md +57 -0
  696. package/concepts/zh/Tool-NotebookEdit.md +33 -0
  697. package/concepts/zh/Tool-Read.md +56 -0
  698. package/concepts/zh/Tool-SendMessage.md +41 -0
  699. package/concepts/zh/Tool-Skill.md +56 -0
  700. package/concepts/zh/Tool-Task.md +51 -0
  701. package/concepts/zh/Tool-TaskCreate.md +78 -0
  702. package/concepts/zh/Tool-TaskGet.md +56 -0
  703. package/concepts/zh/Tool-TaskList.md +56 -0
  704. package/concepts/zh/Tool-TaskOutput.md +40 -0
  705. package/concepts/zh/Tool-TaskStop.md +32 -0
  706. package/concepts/zh/Tool-TaskUpdate.md +123 -0
  707. package/concepts/zh/Tool-TeamCreate.md +38 -0
  708. package/concepts/zh/Tool-TeamDelete.md +30 -0
  709. package/concepts/zh/Tool-WebFetch.md +55 -0
  710. package/concepts/zh/Tool-WebSearch.md +58 -0
  711. package/concepts/zh/Tool-Write.md +39 -0
  712. package/concepts/zh/Tool-executeCode.md +41 -0
  713. package/concepts/zh/Tool-getDiagnostics.md +32 -0
  714. package/concepts/zh/Tools.md +67 -0
  715. package/concepts/zh/ToolsFirst.md +77 -0
  716. package/concepts/zh/TranslateContextPollution.md +46 -0
  717. package/concepts/zh/UltraPlan.md +55 -0
  718. package/concepts/zh-TW/BodyDiffJSON.md +32 -0
  719. package/concepts/zh-TW/BodyFields.md +42 -0
  720. package/concepts/zh-TW/CacheRebuild.md +36 -0
  721. package/concepts/zh-TW/GlobalSettings.md +232 -0
  722. package/concepts/zh-TW/KVCacheContent.md +49 -0
  723. package/concepts/zh-TW/MainAgent.md +23 -0
  724. package/concepts/zh-TW/ProxySwitch.md +50 -0
  725. package/concepts/zh-TW/QRCode.md +25 -0
  726. package/concepts/zh-TW/ResponseFields.md +50 -0
  727. package/concepts/zh-TW/SubAgent-Search.md +20 -0
  728. package/concepts/zh-TW/Teammate.md +26 -0
  729. package/concepts/zh-TW/Tool-Agent.md +125 -0
  730. package/concepts/zh-TW/Tool-AskUserQuestion.md +75 -0
  731. package/concepts/zh-TW/Tool-Bash.md +167 -0
  732. package/concepts/zh-TW/Tool-Edit.md +46 -0
  733. package/concepts/zh-TW/Tool-EnterPlanMode.md +128 -0
  734. package/concepts/zh-TW/Tool-EnterWorktree.md +56 -0
  735. package/concepts/zh-TW/Tool-ExitPlanMode.md +62 -0
  736. package/concepts/zh-TW/Tool-Glob.md +39 -0
  737. package/concepts/zh-TW/Tool-Grep.md +57 -0
  738. package/concepts/zh-TW/Tool-NotebookEdit.md +33 -0
  739. package/concepts/zh-TW/Tool-Read.md +56 -0
  740. package/concepts/zh-TW/Tool-SendMessage.md +41 -0
  741. package/concepts/zh-TW/Tool-Skill.md +56 -0
  742. package/concepts/zh-TW/Tool-Task.md +51 -0
  743. package/concepts/zh-TW/Tool-TaskCreate.md +78 -0
  744. package/concepts/zh-TW/Tool-TaskGet.md +56 -0
  745. package/concepts/zh-TW/Tool-TaskList.md +56 -0
  746. package/concepts/zh-TW/Tool-TaskOutput.md +40 -0
  747. package/concepts/zh-TW/Tool-TaskStop.md +32 -0
  748. package/concepts/zh-TW/Tool-TaskUpdate.md +123 -0
  749. package/concepts/zh-TW/Tool-TeamCreate.md +38 -0
  750. package/concepts/zh-TW/Tool-TeamDelete.md +30 -0
  751. package/concepts/zh-TW/Tool-WebFetch.md +55 -0
  752. package/concepts/zh-TW/Tool-WebSearch.md +58 -0
  753. package/concepts/zh-TW/Tool-Write.md +39 -0
  754. package/concepts/zh-TW/Tool-executeCode.md +41 -0
  755. package/concepts/zh-TW/Tool-getDiagnostics.md +32 -0
  756. package/concepts/zh-TW/Tools.md +67 -0
  757. package/concepts/zh-TW/ToolsFirst.md +77 -0
  758. package/concepts/zh-TW/TranslateContextPollution.md +46 -0
  759. package/concepts/zh-TW/UltraPlan.md +55 -0
  760. package/dist/assets/App-BzrN42Qt.js +41 -0
  761. package/dist/assets/App-fG2r3jFq.css +1 -0
  762. package/dist/assets/AppHeader-B3hrnZr-.css +41 -0
  763. package/dist/assets/AppHeader.module-BMU2vyC4.js +1246 -0
  764. package/dist/assets/Mobile-BnDkLcBv.css +1 -0
  765. package/dist/assets/Mobile-C9wxQTXV.js +10 -0
  766. package/dist/assets/_baseUniq-CXWHShmB.js +1 -0
  767. package/dist/assets/arc-qbol0NJo.js +1 -0
  768. package/dist/assets/architectureDiagram-Q4EWVU46-COZebb1N.js +36 -0
  769. package/dist/assets/blockDiagram-DXYQGD6D-COCgzPKy.js +132 -0
  770. package/dist/assets/c4Diagram-AHTNJAMY-Bs5XvLEo.js +10 -0
  771. package/dist/assets/channel-DvLUZ3Xf.js +1 -0
  772. package/dist/assets/chunk-4BX2VUAB-CyGriz9d.js +1 -0
  773. package/dist/assets/chunk-4TB4RGXK-DlT_q-fl.js +206 -0
  774. package/dist/assets/chunk-55IACEB6-NHN99ZNC.js +1 -0
  775. package/dist/assets/chunk-EDXVE4YY-fK4f9Na9.js +1 -0
  776. package/dist/assets/chunk-FMBD7UC4-DL-dQIq1.js +15 -0
  777. package/dist/assets/chunk-OYMX7WX6-6uruB4VY.js +231 -0
  778. package/dist/assets/chunk-QZHKN3VN-CCWIqLO8.js +1 -0
  779. package/dist/assets/chunk-YZCP3GAM-Cu84DMJo.js +1 -0
  780. package/dist/assets/classDiagram-6PBFFD2Q-ByKhp2Tk.js +1 -0
  781. package/dist/assets/classDiagram-v2-HSJHXN6E-ByKhp2Tk.js +1 -0
  782. package/dist/assets/clone-DZHpE494.js +1 -0
  783. package/dist/assets/cose-bilkent-S5V4N54A-Dqi4iU3-.js +1 -0
  784. package/dist/assets/cytoscape.esm-DxGcaOPV.js +331 -0
  785. package/dist/assets/dagre-KV5264BT-Dl-EJ9rb.js +4 -0
  786. package/dist/assets/default-avatar-CT9tlZjd.svg +1 -0
  787. package/dist/assets/default-model-avatar-DlbUPjyv.svg +1 -0
  788. package/dist/assets/defaultLocale-DX6XiGOO.js +1 -0
  789. package/dist/assets/diagram-5BDNPKRD-BYtyzF0D.js +10 -0
  790. package/dist/assets/diagram-G4DWMVQ6-BuETHFNU.js +24 -0
  791. package/dist/assets/diagram-MMDJMWI5-Z02oZp6I.js +43 -0
  792. package/dist/assets/diagram-TYMM5635-BpGlKv8l.js +24 -0
  793. package/dist/assets/erDiagram-SMLLAGMA-C4YngeQh.js +85 -0
  794. package/dist/assets/flowDiagram-DWJPFMVM-BWddFffg.js +162 -0
  795. package/dist/assets/ganttDiagram-T4ZO3ILL-Bg0jOD4m.js +292 -0
  796. package/dist/assets/gitGraphDiagram-UUTBAWPF-Bz-3sTXZ.js +106 -0
  797. package/dist/assets/graph-XiH8DkIu.js +1 -0
  798. package/dist/assets/html2canvas.esm-QH1iLAAe.js +22 -0
  799. package/dist/assets/index-BuUsWKGZ.js +41 -0
  800. package/dist/assets/index-DCtZ2KSX.css +1 -0
  801. package/dist/assets/infoDiagram-42DDH7IO-DLo-lOCE.js +2 -0
  802. package/dist/assets/init-Gi6I4Gst.js +1 -0
  803. package/dist/assets/ishikawaDiagram-UXIWVN3A-BsIzT5eO.js +70 -0
  804. package/dist/assets/journeyDiagram-VCZTEJTY-C3bOkKqv.js +139 -0
  805. package/dist/assets/kanban-definition-6JOO6SKY-D-rJRNbp.js +89 -0
  806. package/dist/assets/katex-DkKDou_j.js +257 -0
  807. package/dist/assets/layout-Bqp8Hh1c.js +1 -0
  808. package/dist/assets/linear-BWRSipGb.js +1 -0
  809. package/dist/assets/loading-pet-12a9GTQC.gif +0 -0
  810. package/dist/assets/mermaid.core-CJa7klhs.js +308 -0
  811. package/dist/assets/min-CQ_VyzMd.js +1 -0
  812. package/dist/assets/mindmap-definition-QFDTVHPH-Bnj7DDSx.js +96 -0
  813. package/dist/assets/model-deepseek-LDuqTN2N.svg +2 -0
  814. package/dist/assets/ordinal-Cboi1Yqb.js +1 -0
  815. package/dist/assets/pieDiagram-DEJITSTG-CC8a7Ylw.js +30 -0
  816. package/dist/assets/quadrantDiagram-34T5L4WZ-CrmL1WUV.js +7 -0
  817. package/dist/assets/requirementDiagram-MS252O5E-TfkX4u_6.js +84 -0
  818. package/dist/assets/sankeyDiagram-XADWPNL6-DMwBbND7.js +10 -0
  819. package/dist/assets/sequenceDiagram-FGHM5R23-CFghMYsm.js +157 -0
  820. package/dist/assets/stateDiagram-FHFEXIEX-1H6JIM7l.js +1 -0
  821. package/dist/assets/stateDiagram-v2-QKLJ7IA2-CtXMaKcb.js +1 -0
  822. package/dist/assets/timeline-definition-GMOUNBTQ-DnLMBlVa.js +120 -0
  823. package/dist/assets/vennDiagram-DHZGUBPP-DoIkY_KL.js +34 -0
  824. package/dist/assets/wardley-RL74JXVD-3n5XmOD5.js +162 -0
  825. package/dist/assets/wardleyDiagram-NUSXRM2D-UMOq3ofC.js +20 -0
  826. package/dist/assets/xychartDiagram-5P7HB3ND-CNDuQ5Cg.js +7 -0
  827. package/dist/favicon.ico +0 -0
  828. package/dist/index.html +15 -0
  829. package/findcx.js +204 -0
  830. package/i18n.js +2413 -0
  831. package/interceptor.js +698 -0
  832. package/lib/appserver-bridge.js +584 -0
  833. package/lib/ask-bridge.js +126 -0
  834. package/lib/codex-config.js +146 -0
  835. package/lib/constants.js +26 -0
  836. package/lib/context-watcher.js +85 -0
  837. package/lib/cxv-editor.js +73 -0
  838. package/lib/delta-reconstructor.js +256 -0
  839. package/lib/ensure-hooks.js +88 -0
  840. package/lib/extract-plugin-name.mjs +18 -0
  841. package/lib/file-api.js +128 -0
  842. package/lib/git-diff.js +89 -0
  843. package/lib/interceptor-core.js +270 -0
  844. package/lib/kv-cache-analyzer.js +164 -0
  845. package/lib/log-management.js +198 -0
  846. package/lib/log-stream.js +310 -0
  847. package/lib/log-watcher.js +245 -0
  848. package/lib/otel-adapter.js +251 -0
  849. package/lib/otel-receiver.js +198 -0
  850. package/lib/perm-bridge.js +142 -0
  851. package/lib/plugin-loader.js +161 -0
  852. package/lib/plugin-manager.js +118 -0
  853. package/lib/proxy-env.js +23 -0
  854. package/lib/proxy-errors.js +18 -0
  855. package/lib/sdk-adapter.js +77 -0
  856. package/lib/sdk-manager.js +464 -0
  857. package/lib/stats-worker.js +384 -0
  858. package/lib/updater.js +123 -0
  859. package/lib/user-profile.js +43 -0
  860. package/package.json +115 -0
  861. package/proxy.js +369 -0
  862. package/pty-manager.js +407 -0
  863. package/server.js +3226 -0
  864. package/workspace-registry.js +151 -0
@@ -0,0 +1,30 @@
1
+ # TeamDelete
2
+
3
+ ## 定义
4
+
5
+ 在多 agent 协作工作完成后,删除团队及其关联的任务目录。是 TeamCreate 的清理对应操作。
6
+
7
+ ## 行为
8
+
9
+ - 删除团队目录:`~/.claude/teams/{team-name}/`
10
+ - 删除任务目录:`~/.claude/tasks/{team-name}/`
11
+ - 清除当前会话中的团队上下文
12
+
13
+ **重要**:如果团队中仍有活跃成员,TeamDelete 将会失败。必须先通过 SendMessage 发送关闭请求,优雅地关闭所有队友。
14
+
15
+ ## 典型用法
16
+
17
+ TeamDelete 在团队工作流程结束时调用:
18
+
19
+ 1. 所有任务已完成
20
+ 2. 通过 `SendMessage` 发送 `shutdown_request` 关闭队友
21
+ 3. **TeamDelete** 删除团队和任务目录
22
+
23
+ ## 相关工具
24
+
25
+ | 工具 | 用途 |
26
+ |------|------|
27
+ | `TeamCreate` | 创建新团队及其任务列表 |
28
+ | `SendMessage` | 与队友通信 / 发送关闭请求 |
29
+ | `TaskCreate` / `TaskUpdate` / `TaskList` / `TaskGet` | 管理共享任务列表 |
30
+ | `Agent` | 生成加入团队的队友 |
@@ -0,0 +1,55 @@
1
+ # WebFetch
2
+
3
+ ## 定义
4
+
5
+ 抓取指定 URL 的网页内容,将 HTML 转换为 markdown,并使用 AI 模型根据 prompt 处理内容。
6
+
7
+ ## 参数
8
+
9
+ | 参数 | 类型 | 必填 | 说明 |
10
+ |------|------|------|------|
11
+ | `url` | string (URI) | 是 | 要抓取的完整 URL |
12
+ | `prompt` | string | 是 | 描述要从页面中提取什么信息 |
13
+
14
+ ## 使用场景
15
+
16
+ **适合使用:**
17
+ - 获取公开网页的内容
18
+ - 查阅在线文档
19
+ - 提取网页中的特定信息
20
+
21
+ **不适合使用:**
22
+ - 需要认证的 URL(Google Docs、Confluence、Jira、GitHub 等)——应先查找专用的 MCP 工具
23
+ - GitHub URL——优先使用 `gh` CLI
24
+
25
+ ## 注意事项
26
+
27
+ - URL 必须是完整的有效 URL
28
+ - HTTP 会自动升级为 HTTPS
29
+ - 内容过大时结果可能被摘要
30
+ - 包含 15 分钟自清理缓存
31
+ - 当 URL 重定向到不同主机时,工具会返回重定向 URL,需要用新 URL 重新请求
32
+ - 如果有 MCP 提供的 web fetch 工具可用,优先使用那个
33
+
34
+ ## 原文
35
+
36
+ <textarea readonly>IMPORTANT: WebFetch WILL FAIL for authenticated or private URLs. Before using this tool, check if the URL points to an authenticated service (e.g. Google Docs, Confluence, Jira, GitHub). If so, you MUST use ToolSearch first to find a specialized tool that provides authenticated access.
37
+
38
+ - Fetches content from a specified URL and processes it using an AI model
39
+ - Takes a URL and a prompt as input
40
+ - Fetches the URL content, converts HTML to markdown
41
+ - Processes the content with the prompt using a small, fast model
42
+ - Returns the model's response about the content
43
+ - Use this tool when you need to retrieve and analyze web content
44
+
45
+ Usage notes:
46
+ - IMPORTANT: If an MCP-provided web fetch tool is available, prefer using that tool instead of this one, as it may have fewer restrictions.
47
+ - The URL must be a fully-formed valid URL
48
+ - HTTP URLs will be automatically upgraded to HTTPS
49
+ - The prompt should describe what information you want to extract from the page
50
+ - This tool is read-only and does not modify any files
51
+ - Results may be summarized if the content is very large
52
+ - Includes a self-cleaning 15-minute cache for faster responses when repeatedly accessing the same URL
53
+ - When a URL redirects to a different host, the tool will inform you and provide the redirect URL in a special format. You should then make a new WebFetch request with the redirect URL to fetch the content.
54
+ - For GitHub URLs, prefer using the gh CLI via Bash instead (e.g., gh pr view, gh issue view, gh api).
55
+ </textarea>
@@ -0,0 +1,58 @@
1
+ # WebSearch
2
+
3
+ ## 定义
4
+
5
+ 执行搜索引擎查询,返回搜索结果用于获取最新信息。
6
+
7
+ ## 参数
8
+
9
+ | 参数 | 类型 | 必填 | 说明 |
10
+ |------|------|------|------|
11
+ | `query` | string | 是 | 搜索查询(最少 2 个字符) |
12
+ | `allowed_domains` | string[] | 否 | 仅包含这些域名的结果 |
13
+ | `blocked_domains` | string[] | 否 | 排除这些域名的结果 |
14
+
15
+ ## 使用场景
16
+
17
+ **适合使用:**
18
+ - 获取超出模型知识截止日期的最新信息
19
+ - 查找当前事件和最新数据
20
+ - 搜索最新的技术文档
21
+
22
+ ## 注意事项
23
+
24
+ - 搜索结果以 markdown 超链接格式返回
25
+ - 使用后必须在响应末尾附上 "Sources:" 部分,列出相关 URL
26
+ - 支持域名过滤(包含/排除)
27
+ - 搜索查询中应使用当前年份
28
+ - 仅在美国可用
29
+
30
+ ## 原文
31
+
32
+ <textarea readonly>
33
+ - Allows Claude to search the web and use the results to inform responses
34
+ - Provides up-to-date information for current events and recent data
35
+ - Returns search result information formatted as search result blocks, including links as markdown hyperlinks
36
+ - Use this tool for accessing information beyond Claude's knowledge cutoff
37
+ - Searches are performed automatically within a single API call
38
+
39
+ CRITICAL REQUIREMENT - You MUST follow this:
40
+ - After answering the user's question, you MUST include a "Sources:" section at the end of your response
41
+ - In the Sources section, list all relevant URLs from the search results as markdown hyperlinks: [Title](URL)
42
+ - This is MANDATORY - never skip including sources in your response
43
+ - Example format:
44
+
45
+ [Your answer here]
46
+
47
+ Sources:
48
+ - [Source Title 1](https://example.com/1)
49
+ - [Source Title 2](https://example.com/2)
50
+
51
+ Usage notes:
52
+ - Domain filtering is supported to include or block specific websites
53
+ - Web search is only available in the US
54
+
55
+ IMPORTANT - Use the correct year in search queries:
56
+ - The current month is March 2026. You MUST use this year when searching for recent information, documentation, or current events.
57
+ - Example: If the user asks for "latest React docs", search for "React documentation" with the current year, NOT last year
58
+ </textarea>
@@ -0,0 +1,39 @@
1
+ # Write
2
+
3
+ ## 定义
4
+
5
+ 将内容写入本地文件系统。如果文件已存在则覆盖。
6
+
7
+ ## 参数
8
+
9
+ | 参数 | 类型 | 必填 | 说明 |
10
+ |------|------|------|------|
11
+ | `file_path` | string | 是 | 文件的绝对路径(必须是绝对路径) |
12
+ | `content` | string | 是 | 要写入的内容 |
13
+
14
+ ## 使用场景
15
+
16
+ **适合使用:**
17
+ - 创建新文件
18
+ - 需要完全重写文件内容时
19
+
20
+ **不适合使用:**
21
+ - 修改文件中的局部内容——应使用 Edit
22
+ - 不应主动创建文档文件(*.md)或 README,除非用户明确要求
23
+
24
+ ## 注意事项
25
+
26
+ - 如果目标文件已存在,必须先通过 Read 读取,否则会失败
27
+ - 会覆盖已有文件的全部内容
28
+ - 优先使用 Edit 编辑现有文件,Write 仅用于创建新文件或完全重写
29
+
30
+ ## 原文
31
+
32
+ <textarea readonly>Writes a file to the local filesystem.
33
+
34
+ Usage:
35
+ - This tool will overwrite the existing file if there is one at the provided path.
36
+ - If this is an existing file, you MUST use the Read tool first to read the file's contents. This tool will fail if you did not read the file first.
37
+ - Prefer the Edit tool for modifying existing files — it only sends the diff. Only use this tool to create new files or for complete rewrites.
38
+ - NEVER create documentation files (*.md) or README files unless explicitly requested by the User.
39
+ - Only use emojis if the user explicitly requests it. Avoid writing emojis to files unless asked.</textarea>
@@ -0,0 +1,41 @@
1
+ # executeCode (mcp__ide__executeCode)
2
+
3
+ ## 定义
4
+
5
+ 在当前 notebook 文件的 Jupyter kernel 中执行 Python 代码。
6
+
7
+ ## 参数
8
+
9
+ | 参数 | 类型 | 必填 | 说明 |
10
+ |------|------|------|------|
11
+ | `code` | string | 是 | 要执行的 Python 代码 |
12
+
13
+ ## 使用场景
14
+
15
+ **适合使用:**
16
+ - 在 Jupyter notebook 环境中执行代码
17
+ - 测试代码片段
18
+ - 数据分析和计算
19
+
20
+ **不适合使用:**
21
+ - 非 Jupyter 环境的代码执行——应使用 Bash
22
+ - 修改文件——应使用 Edit 或 Write
23
+
24
+ ## 注意事项
25
+
26
+ - 这是一个 MCP(Model Context Protocol)工具,由 IDE 集成提供
27
+ - 代码在当前 Jupyter kernel 中执行,状态在调用间持久化
28
+ - 除非用户明确要求,应避免声明变量或修改 kernel 状态
29
+ - kernel 重启后状态会丢失
30
+
31
+ ## 原文
32
+
33
+ <textarea readonly>Execute python code in the Jupyter kernel for the current notebook file.
34
+
35
+ All code will be executed in the current Jupyter kernel.
36
+
37
+ Avoid declaring variables or modifying the state of the kernel unless the user
38
+ explicitly asks for it.
39
+
40
+ Any code executed will persist across calls to this tool, unless the kernel
41
+ has been restarted.</textarea>
@@ -0,0 +1,32 @@
1
+ # getDiagnostics (mcp__ide__getDiagnostics)
2
+
3
+ ## 定义
4
+
5
+ 从 VS Code 获取语言诊断信息,包括语法错误、类型错误、lint 警告等。
6
+
7
+ ## 参数
8
+
9
+ | 参数 | 类型 | 必填 | 说明 |
10
+ |------|------|------|------|
11
+ | `uri` | string | 否 | 文件 URI。不提供则获取所有文件的诊断信息 |
12
+
13
+ ## 使用场景
14
+
15
+ **适合使用:**
16
+ - 检查代码的语法、类型、lint 等语义问题
17
+ - 编辑代码后验证是否引入了新错误
18
+ - 替代 Bash 命令来检查代码质量
19
+
20
+ **不适合使用:**
21
+ - 运行测试——应使用 Bash
22
+ - 检查运行时错误——应使用 Bash 执行代码
23
+
24
+ ## 注意事项
25
+
26
+ - 这是一个 MCP(Model Context Protocol)工具,由 IDE 集成提供
27
+ - 仅在 VS Code / IDE 环境中可用
28
+ - 优先使用此工具而非 Bash 命令来检查代码问题
29
+
30
+ ## 原文
31
+
32
+ <textarea readonly>Get language diagnostics from VS Code</textarea>
@@ -0,0 +1,67 @@
1
+ # Codex 工具一览
2
+
3
+ Codex 通过 Anthropic API 的 tool_use 机制向模型提供一组内置工具。每次 MainAgent 请求的 `tools` 数组中包含这些工具的完整 JSON Schema 定义,模型在响应中通过 `tool_use` content block 调用它们。
4
+
5
+ 以下是全部工具的分类索引。
6
+
7
+ ## Agent 系统
8
+
9
+ | 工具 | 用途 |
10
+ |------|------|
11
+ | [Task](Tool-Task.md) | 启动子 agent(SubAgent)处理复杂多步骤任务 |
12
+ | [TaskOutput](Tool-TaskOutput.md) | 获取后台任务的输出 |
13
+ | [TaskStop](Tool-TaskStop.md) | 停止正在运行的后台任务 |
14
+ | [TaskCreate](Tool-TaskCreate.md) | 创建结构化任务列表条目 |
15
+ | [TaskGet](Tool-TaskGet.md) | 获取任务详情 |
16
+ | [TaskUpdate](Tool-TaskUpdate.md) | 更新任务状态、依赖关系等 |
17
+ | [TaskList](Tool-TaskList.md) | 列出所有任务 |
18
+
19
+ ## 文件操作
20
+
21
+ | 工具 | 用途 |
22
+ |------|------|
23
+ | [Read](Tool-Read.md) | 读取文件内容(支持文本、图片、PDF、Jupyter notebook) |
24
+ | [Edit](Tool-Edit.md) | 通过精确字符串替换编辑文件 |
25
+ | [Write](Tool-Write.md) | 写入或覆盖文件 |
26
+ | [NotebookEdit](Tool-NotebookEdit.md) | 编辑 Jupyter notebook 单元格 |
27
+
28
+ ## 搜索
29
+
30
+ | 工具 | 用途 |
31
+ |------|------|
32
+ | [Glob](Tool-Glob.md) | 按文件名模式匹配搜索文件 |
33
+ | [Grep](Tool-Grep.md) | 基于 ripgrep 的文件内容搜索 |
34
+
35
+ ## 终端
36
+
37
+ | 工具 | 用途 |
38
+ |------|------|
39
+ | [Bash](Tool-Bash.md) | 执行 shell 命令 |
40
+
41
+ ## Web
42
+
43
+ | 工具 | 用途 |
44
+ |------|------|
45
+ | [WebFetch](Tool-WebFetch.md) | 抓取网页内容并用 AI 处理 |
46
+ | [WebSearch](Tool-WebSearch.md) | 搜索引擎查询 |
47
+
48
+ ## 规划与交互
49
+
50
+ | 工具 | 用途 |
51
+ |------|------|
52
+ | [EnterPlanMode](Tool-EnterPlanMode.md) | 进入规划模式,设计实施方案 |
53
+ | [ExitPlanMode](Tool-ExitPlanMode.md) | 退出规划模式并提交方案供用户审批 |
54
+ | [AskUserQuestion](Tool-AskUserQuestion.md) | 向用户提问以获取澄清或决策 |
55
+
56
+ ## 扩展
57
+
58
+ | 工具 | 用途 |
59
+ |------|------|
60
+ | [Skill](Tool-Skill.md) | 执行技能(slash command) |
61
+
62
+ ## IDE 集成
63
+
64
+ | 工具 | 用途 |
65
+ |------|------|
66
+ | [getDiagnostics](Tool-getDiagnostics.md) | 获取 VS Code 语言诊断信息 |
67
+ | [executeCode](Tool-executeCode.md) | 在 Jupyter kernel 中执行代码 |
@@ -0,0 +1,77 @@
1
+ # 为什么工具排在第一位?
2
+
3
+ 在 cx-viewer 的 Context 面板中,**工具(Tools)被放在 System Prompt 和 Messages 之前**。这不是随意排列,而是为了**精确反映 Anthropic API 的实际 KV-Cache 前缀顺序**。
4
+
5
+ ## KV-Cache 前缀序列
6
+
7
+ Anthropic API 在构建 KV-Cache 时,按以下**固定顺序**将上下文拼接为前缀序列:
8
+
9
+ ```
10
+ ┌─────────────────────────────────────────────────┐
11
+ │ 1. Tools (JSON Schema 定义) │ ← 缓存前缀的最前端
12
+ │ 2. System Prompt │
13
+ │ 3. Messages (历史对话 + 当前 turn) │ ← 缓存前缀的最后端
14
+ └─────────────────────────────────────────────────┘
15
+ ```
16
+
17
+ 这意味着 **Tools 比 System Prompt 更靠近缓存前缀的起始位置**。
18
+
19
+ ## 为什么 Tools 的缓存权重比 System 还高?
20
+
21
+ 在 KV-Cache 的前缀匹配机制中,**越靠前的内容越稳定**,对缓存命中的影响越大:
22
+
23
+ 1. **前缀匹配是从头开始的**:KV-Cache 通过比较当前请求与上一次缓存的前缀序列来决定能复用多少。从第一个 token 开始逐一比较,一旦遇到不匹配就中断,后续全部失效。
24
+
25
+ 2. **Tools 变化 = 全部缓存失效**:因为 Tools 在最前面,如果工具定义发生任何变化(哪怕只是增减一个 MCP tool),**整个缓存前缀从头开始就不匹配**,所有后续的 System Prompt 和 Messages 缓存全部作废。
26
+
27
+ 3. **System 变化 = Messages 缓存失效**:System Prompt 在中间,它的变化只会导致后面的 Messages 缓存失效,但 Tools 部分的缓存仍然有效。
28
+
29
+ 4. **Messages 变化 = 只影响末尾**:Messages 在最后,新消息的追加只会让最后一小段缓存失效,前面的 Tools 和 System 缓存不受影响。
30
+
31
+ ## 实际影响
32
+
33
+ | 变化类型 | 缓存影响 | 典型场景 |
34
+ |----------|---------|---------|
35
+ | 工具增减 | **全部失效** | MCP server 连接/断开、IDE 插件启停 |
36
+ | System Prompt 变化 | Messages 缓存失效 | CLAUDE.md 修改、system reminder 注入 |
37
+ | 新增消息 | 仅末尾增量 | 正常对话流(最常见,也最省钱) |
38
+
39
+ 这也是为什么 [CacheRebuild](CacheRebuild.md) 中 `tools_change` 导致的缓存重建成本往往最高 —— 它从最前面就打断了缓存前缀链。
40
+
41
+ ## 为什么工具定义要排在思维之前?
42
+
43
+ 从缓存机制的角度,Tools 排在最前面是技术事实。但从认知设计的角度,这个顺序同样合理 —— **工具是手脚,System Prompt 是大脑**。
44
+
45
+ 一个人在行动之前,需要先感知自己有哪些肢体和工具可以使用。一个婴儿不是先理解世界的规则(System),再去学习如何伸手抓取;而是先感知到自己有手、有脚,然后在与环境的交互中逐渐理解规则。同样,LLM 在接收任务指令(System Prompt)之前,先知道自己能调用哪些工具(读文件、写代码、搜索、执行命令),才能在接收到指令时准确评估"我能做什么"和"我该怎么做"。
46
+
47
+ 如果反过来 —— 先告诉模型"你的任务是重构这个模块",再告诉它"你有 Read、Edit、Bash 这些工具"—— 模型在理解任务时就缺少了关键的能力边界信息,可能产生不切实际的计划或遗漏可用的手段。
48
+
49
+ **先知道手里有什么牌,再决定怎么打。** 这就是 Tools 优先于 System 的认知逻辑。
50
+
51
+ ## MCP 工具为什么也在这个位置?
52
+
53
+ MCP(Model Context Protocol)工具与内置工具一样,被放在 Tools 区域的最前端。理解 MCP 在 context 中的位置,有助于评估它的实际收益和代价。
54
+
55
+ ### MCP 的优势
56
+
57
+ - **能力扩展**:MCP 让模型接入外部服务(数据库查询、API 调用、IDE 操作、浏览器控制等),突破了内置工具的边界
58
+ - **生态开放**:任何人都可以实现 MCP server,模型无需重新训练就能获得新能力
59
+ - **按需加载**:可以根据任务场景选择性连接/断开 MCP server,灵活组合工具集
60
+
61
+ ### MCP 的代价
62
+
63
+ - **缓存杀手**:每个 MCP tool 的 JSON Schema 定义都会被拼入 KV-Cache 前缀的最前端。增减一个 MCP tool = **整个缓存从头失效**。如果频繁连接/断开 MCP server,缓存命中率会大幅下降
64
+ - **前缀膨胀**:MCP tool 的 Schema 通常比内置工具更大(包含详细的参数描述、枚举值等)。大量 MCP tool 会显著增加 Tools 区域的 token 数,挤压留给 Messages 的 context 空间
65
+ - **延迟开销**:MCP tool 调用需要跨进程通信(JSON-RPC over stdio/SSE),比内置工具的函数调用慢一个数量级
66
+ - **稳定性风险**:MCP server 是外部进程,可能崩溃、超时、返回异常格式,需要额外的错误处理
67
+
68
+ ### 实践建议
69
+
70
+ | 场景 | 建议 |
71
+ |------|------|
72
+ | 长对话、高频交互 | 尽量减少 MCP tool 数量,保护缓存前缀稳定性 |
73
+ | 短任务、一次性操作 | 可以自由使用 MCP tool,缓存影响有限 |
74
+ | MCP server 频繁增减 | 每次变动都会全量重建缓存,考虑固定 tool 集合 |
75
+ | Tool Schema 过大 | 精简 description 和 enum,减少前缀 token 占用 |
76
+
77
+ 在 cx-viewer 的 Context 面板中,MCP 工具与内置工具并列显示在 Tools 区域,可以直观看到每个 tool 的 Schema 体积和对缓存前缀的贡献。
@@ -0,0 +1,46 @@
1
+ # 翻译接口 Context 污染问题
2
+
3
+ ## 背景
4
+
5
+ CX-Viewer 内置了翻译功能(`POST /api/translate`),通过调用 Anthropic Messages API 实现文本翻译。在早期实现中,翻译请求会复用 Codex 会话中缓存的认证凭据——包括 `x-api-key` 和 `authorization` header。这导致了一个隐蔽但严重的问题:翻译结果频繁"答非所问"。
6
+
7
+ ## 问题根因
8
+
9
+ ### 两种认证方式的本质区别
10
+
11
+ Anthropic API 支持两种认证方式:
12
+
13
+ | 方式 | Header | 典型来源 | 特点 |
14
+ |------|--------|----------|------|
15
+ | API Key | `x-api-key: sk-ant-...` | 环境变量 / Console 生成 | 无状态,每次请求独立 |
16
+ | OAuth Token | `authorization: Bearer sessionToken` | Codex 订阅登录 | 绑定会话,服务端维护上下文关联 |
17
+
18
+ 关键差异在于:**API Key 是无状态的**,每个请求完全独立;而 **OAuth session token 是有状态的**,Anthropic 服务端会将同一 token 的请求关联到同一会话上下文中。
19
+
20
+ ### 污染链路
21
+
22
+ 当 Codex 使用订阅 OAuth 登录时,认证流程如下:
23
+
24
+ ```
25
+ Codex 主对话 ──(authorization: Bearer sessionToken)──→ Anthropic API
26
+
27
+ CX-Viewer 翻译请求 ──(authorization: Bearer sessionToken)──→ Anthropic API
28
+ ```
29
+
30
+ 由于翻译请求复用了同一个 session token,Anthropic 服务端可能将翻译请求与 Codex 的主对话关联到同一上下文。这会导致:
31
+
32
+ 1. **翻译结果受主对话上下文影响**:翻译请求的 system prompt 是"你是一个翻译器",但服务端上下文中还残留着 Codex 的对话历史,模型可能受到干扰
33
+ 2. **主对话受翻译请求干扰**:翻译请求的内容(用户界面文本片段)可能被注入到主对话的上下文中,导致 Codex 的回复出现偏差
34
+ 3. **不可预测的行为**:由于上下文污染是服务端行为,客户端无法感知也无法控制
35
+
36
+ ## 经验总结
37
+
38
+ - **OAuth session token 不是"另一种 API Key"**——它携带服务端状态,复用它等于共享上下文
39
+ - **内部服务间调用应使用独立的、无状态的认证方式**,避免与用户会话产生关联
40
+
41
+ ## 参考资料
42
+
43
+ - [Anthropic API 认证文档](https://docs.anthropic.com/en/api/getting-started) — `x-api-key` 与 `authorization` header 的官方说明
44
+ - [Codex 认证方式](https://support.claude.com/en/articles/12304248-managing-api-key-environment-variables-in-claude-code) — API Key 环境变量管理
45
+ - [Anthropic 禁止第三方应用使用订阅 OAuth](https://winbuzzer.com/2026/02/19/anthropic-bans-claude-subscription-oauth-in-third-party-apps-xcxwbn/) — Anthropic 对 OAuth token 使用范围的限制
46
+ - [Codex Authentication: API Keys, Subscriptions, and SSO](https://developertoolkit.ai/en/claude-code/quick-start/authentication/) — 认证方式对比
@@ -0,0 +1,55 @@
1
+ # UltraPlan — 至尊许愿机
2
+
3
+ ## 什么是 UltraPlan
4
+
5
+ UltraPlan 是 cx-viewer 对 Codex 原生 `/ultraplan` 命令的**本地化实现**。它让你无需启动 Claude 官方的远程服务,即可在本地环境中使用 `/ultraplan` 的完整能力,引导 Codex 以**多代理协作**的方式完成复杂的规划和实现任务。
6
+
7
+ 与普通的 Plan 模式或 Agent Team 相比,UltraPlan 能够:
8
+ - 自动评估任务复杂度并选择最优规划策略
9
+ - 派遣多个并行代理从不同维度探索代码库
10
+ - 引入外部搜索(webSearch)调研业界最佳实践
11
+ - 在计划执行完成后自动组建 Code Review Team 进行代码审查
12
+ - 形成**规划 → 执行 → 审查 → 修复**的完整闭环
13
+
14
+ ---
15
+
16
+ ## 使用须知
17
+
18
+ ### 1. UltraPlan 不是万能的
19
+ UltraPlan 是一个更强大的许愿机,但不代表什么愿望都可以实现。它比 Plan 和 Agent Team 更强大,但不代表能够直接帮你"赚钱"。你需要考虑任务的合理步长——将大目标拆解为可执行的中等粒度任务,而不是试图一步到位。
20
+
21
+ ### 2. 目前主要针对编程项目有奇效
22
+ UltraPlan 的模板和流程目前针对编程项目进行了深度优化。其他场景(文档撰写、数据分析等)可以尝试使用,也可以等待后续版本的适配优化。
23
+
24
+ ### 3. 执行时间和上下文窗口要求
25
+ - 如果 UltraPlan 命中成功,单次执行通常需要 **30 分钟以上**
26
+ - 需要 MainAgent 拥有更大的上下文窗口(推荐 1M context 的 Opus 模型)
27
+ - 如果你只有 200K 的大模型,**务必在执行前先 `/clear` 上下文**
28
+ - Codex 在窗口不足时执行 `/compact` 的效果非常差,要避免窗口爆满
29
+ - 保持充足的上下文空间是 UltraPlan 成功执行的关键前提
30
+
31
+ 如果对本地化的 UltraPlan 有任何疑问或建议,欢迎在 [GitHub](https://github.com/anthropics/claude-code/issues) 上提 Issues,一起探讨交流。
32
+
33
+ ---
34
+
35
+ ## 运行原理
36
+
37
+ UltraPlan 提供两种运行模式:
38
+
39
+ ### 自适应模式(Auto)
40
+ 自动分析任务复杂度(4-12 分),根据评分路由到不同策略:
41
+
42
+ | 路由 | 评分 | 策略 |
43
+ |------|------|------|
44
+ | Route A | 4-6 分 | 轻量规划,直接探索代码 |
45
+ | Route B | 7-9 分 | 带结构图表的规划(Mermaid / ASCII) |
46
+ | Route C | 10-12 分 | 多代理探索 + 审查闭环 |
47
+
48
+ ### 强制模式(Forced)
49
+ 直接启用 Route C 的完整多代理流程:
50
+ 1. 派遣最多 5 个并行代理同时探索代码库(架构理解、文件定位、风险识别等)
51
+ 2. 可选派遣预研代理通过 webSearch 调研业界方案
52
+ 3. 综合所有代理发现,生成详细的实施计划
53
+ 4. 派遣审查代理从多角度审查计划的完整性
54
+ 5. 计划获批后执行实施
55
+ 6. 实施完成后自动组建 Code Review Team 验证代码质量
@@ -0,0 +1,32 @@
1
+ # Body Diff JSON(請求體增量對比)
2
+
3
+ ## 背景
4
+
5
+ Codex 的 MainAgent 採用全量上下文發送機制——每次請求都會攜帶完整的對話歷史、system prompt、工具定義等內容。這意味著隨著對話推進,請求體會越來越龐大,直接查看原始 Body 很難快速定位「這一輪到底新增了什麼」。
6
+
7
+ Body Diff JSON 正是為了解決這個問題:它自動對比前後兩個 MainAgent 請求的 body,提煉出增量部分,讓你一眼看清本次請求實際新增的內容。
8
+
9
+ ## 工作原理
10
+
11
+ 1. **識別連續的 MainAgent 請求**:當前請求必須是 MainAgent 類型,且存在上一個 MainAgent 請求
12
+ 2. **逐欄位對比**:遍歷請求體的所有頂層欄位,跳過 `_` 前綴的內部屬性
13
+ 3. **智慧差異提取**:
14
+ - 新增的欄位:直接展示
15
+ - 刪除的欄位:不顯示(通常不影響理解)
16
+ - 變更的欄位:展示當前值
17
+ - `messages` 陣列特殊處理:只展示新增的訊息(因為正常對話是追加模式,前綴訊息不變)
18
+ 4. **請求體縮小偵測**:如果當前請求體比上一個更小,說明發生了上下文截斷或會話重置,此時會顯示提示訊息而非 diff
19
+
20
+ ## 典型場景
21
+
22
+ 在一輪正常對話中,Body Diff JSON 通常只包含:
23
+ - `messages`:新增的 1~2 條訊息(使用者的輸入 + 上一輪助手的回覆)
24
+
25
+ 如果你看到 diff 中出現了 `system`、`tools`、`model` 等欄位的變更,說明本輪請求發生了配置變化,這往往也是快取重建的原因。
26
+
27
+ ## 使用方式
28
+
29
+ - Body Diff JSON 顯示在 MainAgent 請求的詳情面板中
30
+ - 點擊標題可展開/收起
31
+ - 支援 JSON 和 Text 兩種查看模式,以及一鍵複製
32
+ - 在左上角 **CX-Viewer → 全域設定** 中,可以設定「預設展開 Body Diff JSON」
@@ -0,0 +1,42 @@
1
+ # Request Body 欄位說明
2
+
3
+ Claude API `/v1/messages` 請求體的頂層欄位說明。
4
+
5
+ ## 欄位列表
6
+
7
+ | 欄位 | 類型 | 說明 |
8
+ |------|------|------|
9
+ | **model** | string | 使用的模型名稱,如 `claude-opus-4-6`、`claude-sonnet-4-6` |
10
+ | **messages** | array | 對話訊息歷史。每條訊息包含 `role`(user/assistant)和 `content`(文字、圖片、tool_use、tool_result 等 block 陣列) |
11
+ | **system** | array | System prompt。包含 Codex 的核心指令、工具使用說明、環境資訊、CLAUDE.md 內容等。帶 `cache_control` 的區塊會被 prompt caching |
12
+ | **tools** | array | 可用工具定義列表。每個工具包含 `name`、`description` 和 `input_schema`(JSON Schema)。MainAgent 通常有 20+ 工具,SubAgent 只有少量 |
13
+ | **metadata** | object | 請求中繼資料,通常包含 `user_id` 用於識別使用者 |
14
+ | **max_tokens** | number | 模型單次回覆的最大 token 數,如 `16000`、`64000` |
15
+ | **thinking** | object | 擴展思考配置。`type: "enabled"` 開啟思考模式,`budget_tokens` 控制思考 token 上限 |
16
+ | **context_management** | object | 上下文管理配置。`truncation: "auto"` 允許 Codex 自動截斷過長的訊息歷史 |
17
+ | **output_config** | object | 輸出配置,如 `format` 設定 |
18
+ | **stream** | boolean | 是否啟用串流回應。Codex 始終使用 `true` |
19
+
20
+ ## messages 結構
21
+
22
+ 每條訊息的 `content` 是一個 block 陣列,常見類型:
23
+
24
+ - **text**: 普通文字內容
25
+ - **tool_use**: 模型呼叫工具(含 `name`、`input`)
26
+ - **tool_result**: 工具執行結果(含 `tool_use_id`、`content`)
27
+ - **image**: 圖片內容(base64 或 URL)
28
+ - **thinking**: 模型的思考過程(擴展思考模式)
29
+
30
+ ## system 結構
31
+
32
+ system prompt 陣列中通常包含:
33
+
34
+ 1. **核心 agent 指令**("You are Codex...")
35
+ 2. **工具使用規範**
36
+ 3. **CLAUDE.md 內容**(專案級指令)
37
+ 4. **技能提示**(skills reminder)
38
+ 5. **環境資訊**(OS、shell、git 狀態等)— 事實上 Codex 非常依賴 git。如果專案存在 git 儲存庫,Codex 能展現出對專案更好的理解能力,包括可以拉取遠端的變更和 commit 記錄來輔助分析
39
+
40
+ 帶 `cache_control: { type: "ephemeral" }` 標記的區塊會被 Anthropic API 快取 5 分鐘,命中快取時以 `cache_read_input_tokens` 計費(遠低於 `input_tokens`)。
41
+
42
+ > **注意**:對於 Codex 這類特殊用戶端,Anthropic 伺服端實際上並不完全依賴請求中的 `cache_control` 屬性來決定快取行為。伺服端會對特定欄位(如 system prompt、tools 定義)自動執行快取策略,即使請求中未顯式攜帶 `cache_control` 標記。因此,當你在請求體中沒有看到該屬性時不必疑惑——伺服端已在幕後完成了快取操作,只是未將此資訊暴露給用戶端。這是 Codex 與 Anthropic API 之間的一種默契。
@@ -0,0 +1,36 @@
1
+ # Cache Rebuild(快取重建)
2
+
3
+ ## 背景
4
+
5
+ Anthropic 的 prompt caching 機制會將請求中的 system → tools → messages(到 cache breakpoint)按順序拼接為快取鍵。當快取鍵與上一次請求完全一致時,API 回傳 `cache_read_input_tokens`(快取命中);當快取鍵發生變化,API 會重新建立快取,回傳大量 `cache_creation_input_tokens`,即快取重建。
6
+
7
+ 快取重建意味著額外的 token 計費(cache creation 的價格高於 cache read),因此識別重建原因對費用最佳化有直接價值。
8
+
9
+ ## 快取重建原因分類
10
+
11
+ cx-viewer 透過對比前後兩個 MainAgent 請求的 body,精確判斷快取重建的原因:
12
+
13
+ | reason | 含義 | 判斷方式 |
14
+ |--------|------|----------|
15
+ | `ttl` | 快取過期 | 距上一個 MainAgent 請求超過 5 分鐘 |
16
+ | `system_change` | system prompt 變更 | `JSON.stringify(prev.system) !== JSON.stringify(curr.system)` |
17
+ | `tools_change` | 工具定義變更 | `JSON.stringify(prev.tools) !== JSON.stringify(curr.tools)` |
18
+ | `model_change` | 模型切換 | `prev.model !== curr.model` |
19
+ | `msg_truncated` | 訊息堆疊被截斷 | 當前請求的 messages 數量少於上一個請求,通常因上下文視窗溢出觸發截斷 |
20
+ | `msg_modified` | 歷史訊息修改 | 前綴訊息內容不一致(正常追加時前綴應完全相同) |
21
+ | `key_change` | 未知鍵變更 | 以上條件均不匹配時的 fallback |
22
+
23
+ ## 判斷優先順序
24
+
25
+ 1. 首先檢查時間間隔——超過 5 分鐘直接判定為 `ttl`,不再做 body 對比
26
+ 2. 然後依次檢查 model、system、tools、messages
27
+ 3. 一個請求可能同時命中多個原因(如模型切換 + system prompt 變更),此時 `reasons` 陣列包含所有匹配項,tooltip 換行顯示
28
+
29
+ ## 常見場景
30
+
31
+ - **`ttl`**:使用者暫停操作超過 5 分鐘後繼續,快取自然過期
32
+ - **`system_change`**:Codex 更新了 system prompt(如載入新的 CLAUDE.md、project instructions 變化)
33
+ - **`tools_change`**:MCP server 連線/斷開導致可用工具列表變化
34
+ - **`model_change`**:使用者透過 `/model` 命令切換模型
35
+ - **`msg_truncated`**:對話過長觸發上下文視窗管理,Codex 截斷早期訊息
36
+ - **`msg_modified`**:Codex 對歷史訊息做了編輯(如 `/compact` 壓縮摘要替換原始訊息)