cc-viewer 1.2.1 → 1.2.2

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 (493) hide show
  1. package/README.md +3 -1
  2. package/cli.js +7 -0
  3. package/concepts/ar/BodyDiffJSON.md +32 -0
  4. package/concepts/ar/CacheRebuild.md +40 -0
  5. package/concepts/ar/MainAgent.md +30 -0
  6. package/concepts/ar/Tool-AskUserQuestion.md +54 -0
  7. package/concepts/ar/Tool-Bash.md +47 -0
  8. package/concepts/ar/Tool-Edit.md +38 -0
  9. package/concepts/ar/Tool-EnterPlanMode.md +43 -0
  10. package/concepts/ar/Tool-ExitPlanMode.md +39 -0
  11. package/concepts/ar/Tool-Glob.md +34 -0
  12. package/concepts/ar/Tool-Grep.md +47 -0
  13. package/concepts/ar/Tool-NotebookEdit.md +33 -0
  14. package/concepts/ar/Tool-Read.md +41 -0
  15. package/concepts/ar/Tool-Skill.md +35 -0
  16. package/concepts/ar/Tool-Task.md +53 -0
  17. package/concepts/ar/Tool-TaskCreate.md +38 -0
  18. package/concepts/ar/Tool-TaskGet.md +35 -0
  19. package/concepts/ar/Tool-TaskList.md +36 -0
  20. package/concepts/ar/Tool-TaskOutput.md +34 -0
  21. package/concepts/ar/Tool-TaskStop.md +27 -0
  22. package/concepts/ar/Tool-TaskUpdate.md +49 -0
  23. package/concepts/ar/Tool-WebFetch.md +36 -0
  24. package/concepts/ar/Tool-WebSearch.md +32 -0
  25. package/concepts/ar/Tool-Write.md +32 -0
  26. package/concepts/ar/Tool-executeCode.md +33 -0
  27. package/concepts/ar/Tool-getDiagnostics.md +32 -0
  28. package/concepts/ar/Tools.md +73 -0
  29. package/concepts/ar/TranslateContextPollution.md +46 -0
  30. package/concepts/da/BodyDiffJSON.md +32 -0
  31. package/concepts/da/CacheRebuild.md +40 -0
  32. package/concepts/da/MainAgent.md +30 -0
  33. package/concepts/da/Tool-AskUserQuestion.md +54 -0
  34. package/concepts/da/Tool-Bash.md +47 -0
  35. package/concepts/da/Tool-Edit.md +38 -0
  36. package/concepts/da/Tool-EnterPlanMode.md +43 -0
  37. package/concepts/da/Tool-ExitPlanMode.md +39 -0
  38. package/concepts/da/Tool-Glob.md +34 -0
  39. package/concepts/da/Tool-Grep.md +47 -0
  40. package/concepts/da/Tool-NotebookEdit.md +33 -0
  41. package/concepts/da/Tool-Read.md +41 -0
  42. package/concepts/da/Tool-Skill.md +35 -0
  43. package/concepts/da/Tool-Task.md +53 -0
  44. package/concepts/da/Tool-TaskCreate.md +38 -0
  45. package/concepts/da/Tool-TaskGet.md +35 -0
  46. package/concepts/da/Tool-TaskList.md +36 -0
  47. package/concepts/da/Tool-TaskOutput.md +34 -0
  48. package/concepts/da/Tool-TaskStop.md +27 -0
  49. package/concepts/da/Tool-TaskUpdate.md +49 -0
  50. package/concepts/da/Tool-WebFetch.md +36 -0
  51. package/concepts/da/Tool-WebSearch.md +32 -0
  52. package/concepts/da/Tool-Write.md +32 -0
  53. package/concepts/da/Tool-executeCode.md +33 -0
  54. package/concepts/da/Tool-getDiagnostics.md +32 -0
  55. package/concepts/da/Tools.md +73 -0
  56. package/concepts/da/TranslateContextPollution.md +46 -0
  57. package/concepts/de/BodyDiffJSON.md +32 -0
  58. package/concepts/de/CacheRebuild.md +40 -0
  59. package/concepts/de/MainAgent.md +30 -0
  60. package/concepts/de/Tool-AskUserQuestion.md +54 -0
  61. package/concepts/de/Tool-Bash.md +47 -0
  62. package/concepts/de/Tool-Edit.md +38 -0
  63. package/concepts/de/Tool-EnterPlanMode.md +43 -0
  64. package/concepts/de/Tool-ExitPlanMode.md +39 -0
  65. package/concepts/de/Tool-Glob.md +34 -0
  66. package/concepts/de/Tool-Grep.md +47 -0
  67. package/concepts/de/Tool-NotebookEdit.md +33 -0
  68. package/concepts/de/Tool-Read.md +41 -0
  69. package/concepts/de/Tool-Skill.md +35 -0
  70. package/concepts/de/Tool-Task.md +53 -0
  71. package/concepts/de/Tool-TaskCreate.md +38 -0
  72. package/concepts/de/Tool-TaskGet.md +35 -0
  73. package/concepts/de/Tool-TaskList.md +36 -0
  74. package/concepts/de/Tool-TaskOutput.md +34 -0
  75. package/concepts/de/Tool-TaskStop.md +27 -0
  76. package/concepts/de/Tool-TaskUpdate.md +49 -0
  77. package/concepts/de/Tool-WebFetch.md +36 -0
  78. package/concepts/de/Tool-WebSearch.md +32 -0
  79. package/concepts/de/Tool-Write.md +32 -0
  80. package/concepts/de/Tool-executeCode.md +33 -0
  81. package/concepts/de/Tool-getDiagnostics.md +32 -0
  82. package/concepts/de/Tools.md +73 -0
  83. package/concepts/de/TranslateContextPollution.md +46 -0
  84. package/concepts/en/BodyDiffJSON.md +32 -0
  85. package/concepts/en/CacheRebuild.md +40 -0
  86. package/concepts/en/MainAgent.md +30 -0
  87. package/concepts/en/Tool-AskUserQuestion.md +54 -0
  88. package/concepts/en/Tool-Bash.md +47 -0
  89. package/concepts/en/Tool-Edit.md +38 -0
  90. package/concepts/en/Tool-EnterPlanMode.md +43 -0
  91. package/concepts/en/Tool-ExitPlanMode.md +39 -0
  92. package/concepts/en/Tool-Glob.md +34 -0
  93. package/concepts/en/Tool-Grep.md +47 -0
  94. package/concepts/en/Tool-NotebookEdit.md +33 -0
  95. package/concepts/en/Tool-Read.md +41 -0
  96. package/concepts/en/Tool-Skill.md +35 -0
  97. package/concepts/en/Tool-Task.md +53 -0
  98. package/concepts/en/Tool-TaskCreate.md +38 -0
  99. package/concepts/en/Tool-TaskGet.md +35 -0
  100. package/concepts/en/Tool-TaskList.md +36 -0
  101. package/concepts/en/Tool-TaskOutput.md +34 -0
  102. package/concepts/en/Tool-TaskStop.md +27 -0
  103. package/concepts/en/Tool-TaskUpdate.md +49 -0
  104. package/concepts/en/Tool-WebFetch.md +36 -0
  105. package/concepts/en/Tool-WebSearch.md +32 -0
  106. package/concepts/en/Tool-Write.md +32 -0
  107. package/concepts/en/Tool-executeCode.md +33 -0
  108. package/concepts/en/Tool-getDiagnostics.md +32 -0
  109. package/concepts/en/Tools.md +73 -0
  110. package/concepts/en/TranslateContextPollution.md +46 -0
  111. package/concepts/es/BodyDiffJSON.md +32 -0
  112. package/concepts/es/CacheRebuild.md +40 -0
  113. package/concepts/es/MainAgent.md +30 -0
  114. package/concepts/es/Tool-AskUserQuestion.md +54 -0
  115. package/concepts/es/Tool-Bash.md +47 -0
  116. package/concepts/es/Tool-Edit.md +38 -0
  117. package/concepts/es/Tool-EnterPlanMode.md +43 -0
  118. package/concepts/es/Tool-ExitPlanMode.md +39 -0
  119. package/concepts/es/Tool-Glob.md +34 -0
  120. package/concepts/es/Tool-Grep.md +47 -0
  121. package/concepts/es/Tool-NotebookEdit.md +33 -0
  122. package/concepts/es/Tool-Read.md +41 -0
  123. package/concepts/es/Tool-Skill.md +35 -0
  124. package/concepts/es/Tool-Task.md +53 -0
  125. package/concepts/es/Tool-TaskCreate.md +38 -0
  126. package/concepts/es/Tool-TaskGet.md +35 -0
  127. package/concepts/es/Tool-TaskList.md +36 -0
  128. package/concepts/es/Tool-TaskOutput.md +34 -0
  129. package/concepts/es/Tool-TaskStop.md +27 -0
  130. package/concepts/es/Tool-TaskUpdate.md +49 -0
  131. package/concepts/es/Tool-WebFetch.md +36 -0
  132. package/concepts/es/Tool-WebSearch.md +32 -0
  133. package/concepts/es/Tool-Write.md +32 -0
  134. package/concepts/es/Tool-executeCode.md +33 -0
  135. package/concepts/es/Tool-getDiagnostics.md +32 -0
  136. package/concepts/es/Tools.md +73 -0
  137. package/concepts/es/TranslateContextPollution.md +46 -0
  138. package/concepts/fr/BodyDiffJSON.md +32 -0
  139. package/concepts/fr/CacheRebuild.md +40 -0
  140. package/concepts/fr/MainAgent.md +30 -0
  141. package/concepts/fr/Tool-AskUserQuestion.md +54 -0
  142. package/concepts/fr/Tool-Bash.md +47 -0
  143. package/concepts/fr/Tool-Edit.md +38 -0
  144. package/concepts/fr/Tool-EnterPlanMode.md +43 -0
  145. package/concepts/fr/Tool-ExitPlanMode.md +39 -0
  146. package/concepts/fr/Tool-Glob.md +34 -0
  147. package/concepts/fr/Tool-Grep.md +47 -0
  148. package/concepts/fr/Tool-NotebookEdit.md +33 -0
  149. package/concepts/fr/Tool-Read.md +41 -0
  150. package/concepts/fr/Tool-Skill.md +35 -0
  151. package/concepts/fr/Tool-Task.md +53 -0
  152. package/concepts/fr/Tool-TaskCreate.md +38 -0
  153. package/concepts/fr/Tool-TaskGet.md +35 -0
  154. package/concepts/fr/Tool-TaskList.md +36 -0
  155. package/concepts/fr/Tool-TaskOutput.md +34 -0
  156. package/concepts/fr/Tool-TaskStop.md +27 -0
  157. package/concepts/fr/Tool-TaskUpdate.md +49 -0
  158. package/concepts/fr/Tool-WebFetch.md +36 -0
  159. package/concepts/fr/Tool-WebSearch.md +32 -0
  160. package/concepts/fr/Tool-Write.md +32 -0
  161. package/concepts/fr/Tool-executeCode.md +33 -0
  162. package/concepts/fr/Tool-getDiagnostics.md +32 -0
  163. package/concepts/fr/Tools.md +73 -0
  164. package/concepts/fr/TranslateContextPollution.md +46 -0
  165. package/concepts/it/BodyDiffJSON.md +32 -0
  166. package/concepts/it/CacheRebuild.md +40 -0
  167. package/concepts/it/MainAgent.md +30 -0
  168. package/concepts/it/Tool-AskUserQuestion.md +54 -0
  169. package/concepts/it/Tool-Bash.md +47 -0
  170. package/concepts/it/Tool-Edit.md +38 -0
  171. package/concepts/it/Tool-EnterPlanMode.md +43 -0
  172. package/concepts/it/Tool-ExitPlanMode.md +39 -0
  173. package/concepts/it/Tool-Glob.md +34 -0
  174. package/concepts/it/Tool-Grep.md +47 -0
  175. package/concepts/it/Tool-NotebookEdit.md +33 -0
  176. package/concepts/it/Tool-Read.md +41 -0
  177. package/concepts/it/Tool-Skill.md +35 -0
  178. package/concepts/it/Tool-Task.md +53 -0
  179. package/concepts/it/Tool-TaskCreate.md +38 -0
  180. package/concepts/it/Tool-TaskGet.md +35 -0
  181. package/concepts/it/Tool-TaskList.md +36 -0
  182. package/concepts/it/Tool-TaskOutput.md +34 -0
  183. package/concepts/it/Tool-TaskStop.md +27 -0
  184. package/concepts/it/Tool-TaskUpdate.md +49 -0
  185. package/concepts/it/Tool-WebFetch.md +36 -0
  186. package/concepts/it/Tool-WebSearch.md +32 -0
  187. package/concepts/it/Tool-Write.md +32 -0
  188. package/concepts/it/Tool-executeCode.md +33 -0
  189. package/concepts/it/Tool-getDiagnostics.md +32 -0
  190. package/concepts/it/Tools.md +73 -0
  191. package/concepts/it/TranslateContextPollution.md +46 -0
  192. package/concepts/ja/BodyDiffJSON.md +32 -0
  193. package/concepts/ja/CacheRebuild.md +40 -0
  194. package/concepts/ja/MainAgent.md +30 -0
  195. package/concepts/ja/Tool-AskUserQuestion.md +54 -0
  196. package/concepts/ja/Tool-Bash.md +47 -0
  197. package/concepts/ja/Tool-Edit.md +38 -0
  198. package/concepts/ja/Tool-EnterPlanMode.md +43 -0
  199. package/concepts/ja/Tool-ExitPlanMode.md +39 -0
  200. package/concepts/ja/Tool-Glob.md +34 -0
  201. package/concepts/ja/Tool-Grep.md +47 -0
  202. package/concepts/ja/Tool-NotebookEdit.md +33 -0
  203. package/concepts/ja/Tool-Read.md +41 -0
  204. package/concepts/ja/Tool-Skill.md +35 -0
  205. package/concepts/ja/Tool-Task.md +53 -0
  206. package/concepts/ja/Tool-TaskCreate.md +38 -0
  207. package/concepts/ja/Tool-TaskGet.md +35 -0
  208. package/concepts/ja/Tool-TaskList.md +36 -0
  209. package/concepts/ja/Tool-TaskOutput.md +34 -0
  210. package/concepts/ja/Tool-TaskStop.md +27 -0
  211. package/concepts/ja/Tool-TaskUpdate.md +49 -0
  212. package/concepts/ja/Tool-WebFetch.md +36 -0
  213. package/concepts/ja/Tool-WebSearch.md +32 -0
  214. package/concepts/ja/Tool-Write.md +32 -0
  215. package/concepts/ja/Tool-executeCode.md +33 -0
  216. package/concepts/ja/Tool-getDiagnostics.md +32 -0
  217. package/concepts/ja/Tools.md +73 -0
  218. package/concepts/ja/TranslateContextPollution.md +46 -0
  219. package/concepts/ko/BodyDiffJSON.md +32 -0
  220. package/concepts/ko/CacheRebuild.md +40 -0
  221. package/concepts/ko/MainAgent.md +30 -0
  222. package/concepts/ko/Tool-AskUserQuestion.md +54 -0
  223. package/concepts/ko/Tool-Bash.md +47 -0
  224. package/concepts/ko/Tool-Edit.md +38 -0
  225. package/concepts/ko/Tool-EnterPlanMode.md +43 -0
  226. package/concepts/ko/Tool-ExitPlanMode.md +39 -0
  227. package/concepts/ko/Tool-Glob.md +34 -0
  228. package/concepts/ko/Tool-Grep.md +47 -0
  229. package/concepts/ko/Tool-NotebookEdit.md +33 -0
  230. package/concepts/ko/Tool-Read.md +41 -0
  231. package/concepts/ko/Tool-Skill.md +35 -0
  232. package/concepts/ko/Tool-Task.md +53 -0
  233. package/concepts/ko/Tool-TaskCreate.md +38 -0
  234. package/concepts/ko/Tool-TaskGet.md +35 -0
  235. package/concepts/ko/Tool-TaskList.md +36 -0
  236. package/concepts/ko/Tool-TaskOutput.md +34 -0
  237. package/concepts/ko/Tool-TaskStop.md +27 -0
  238. package/concepts/ko/Tool-TaskUpdate.md +49 -0
  239. package/concepts/ko/Tool-WebFetch.md +36 -0
  240. package/concepts/ko/Tool-WebSearch.md +32 -0
  241. package/concepts/ko/Tool-Write.md +32 -0
  242. package/concepts/ko/Tool-executeCode.md +33 -0
  243. package/concepts/ko/Tool-getDiagnostics.md +32 -0
  244. package/concepts/ko/Tools.md +73 -0
  245. package/concepts/ko/TranslateContextPollution.md +46 -0
  246. package/concepts/no/BodyDiffJSON.md +32 -0
  247. package/concepts/no/CacheRebuild.md +40 -0
  248. package/concepts/no/MainAgent.md +30 -0
  249. package/concepts/no/Tool-AskUserQuestion.md +54 -0
  250. package/concepts/no/Tool-Bash.md +47 -0
  251. package/concepts/no/Tool-Edit.md +38 -0
  252. package/concepts/no/Tool-EnterPlanMode.md +43 -0
  253. package/concepts/no/Tool-ExitPlanMode.md +39 -0
  254. package/concepts/no/Tool-Glob.md +34 -0
  255. package/concepts/no/Tool-Grep.md +47 -0
  256. package/concepts/no/Tool-NotebookEdit.md +33 -0
  257. package/concepts/no/Tool-Read.md +41 -0
  258. package/concepts/no/Tool-Skill.md +35 -0
  259. package/concepts/no/Tool-Task.md +53 -0
  260. package/concepts/no/Tool-TaskCreate.md +38 -0
  261. package/concepts/no/Tool-TaskGet.md +35 -0
  262. package/concepts/no/Tool-TaskList.md +36 -0
  263. package/concepts/no/Tool-TaskOutput.md +34 -0
  264. package/concepts/no/Tool-TaskStop.md +27 -0
  265. package/concepts/no/Tool-TaskUpdate.md +49 -0
  266. package/concepts/no/Tool-WebFetch.md +36 -0
  267. package/concepts/no/Tool-WebSearch.md +32 -0
  268. package/concepts/no/Tool-Write.md +32 -0
  269. package/concepts/no/Tool-executeCode.md +33 -0
  270. package/concepts/no/Tool-getDiagnostics.md +32 -0
  271. package/concepts/no/Tools.md +73 -0
  272. package/concepts/no/TranslateContextPollution.md +46 -0
  273. package/concepts/pl/BodyDiffJSON.md +32 -0
  274. package/concepts/pl/CacheRebuild.md +40 -0
  275. package/concepts/pl/MainAgent.md +30 -0
  276. package/concepts/pl/Tool-AskUserQuestion.md +54 -0
  277. package/concepts/pl/Tool-Bash.md +47 -0
  278. package/concepts/pl/Tool-Edit.md +38 -0
  279. package/concepts/pl/Tool-EnterPlanMode.md +43 -0
  280. package/concepts/pl/Tool-ExitPlanMode.md +39 -0
  281. package/concepts/pl/Tool-Glob.md +34 -0
  282. package/concepts/pl/Tool-Grep.md +47 -0
  283. package/concepts/pl/Tool-NotebookEdit.md +33 -0
  284. package/concepts/pl/Tool-Read.md +41 -0
  285. package/concepts/pl/Tool-Skill.md +35 -0
  286. package/concepts/pl/Tool-Task.md +53 -0
  287. package/concepts/pl/Tool-TaskCreate.md +38 -0
  288. package/concepts/pl/Tool-TaskGet.md +35 -0
  289. package/concepts/pl/Tool-TaskList.md +36 -0
  290. package/concepts/pl/Tool-TaskOutput.md +34 -0
  291. package/concepts/pl/Tool-TaskStop.md +27 -0
  292. package/concepts/pl/Tool-TaskUpdate.md +49 -0
  293. package/concepts/pl/Tool-WebFetch.md +36 -0
  294. package/concepts/pl/Tool-WebSearch.md +32 -0
  295. package/concepts/pl/Tool-Write.md +32 -0
  296. package/concepts/pl/Tool-executeCode.md +33 -0
  297. package/concepts/pl/Tool-getDiagnostics.md +32 -0
  298. package/concepts/pl/Tools.md +73 -0
  299. package/concepts/pl/TranslateContextPollution.md +46 -0
  300. package/concepts/pt-BR/BodyDiffJSON.md +32 -0
  301. package/concepts/pt-BR/CacheRebuild.md +40 -0
  302. package/concepts/pt-BR/MainAgent.md +30 -0
  303. package/concepts/pt-BR/Tool-AskUserQuestion.md +54 -0
  304. package/concepts/pt-BR/Tool-Bash.md +47 -0
  305. package/concepts/pt-BR/Tool-Edit.md +38 -0
  306. package/concepts/pt-BR/Tool-EnterPlanMode.md +43 -0
  307. package/concepts/pt-BR/Tool-ExitPlanMode.md +39 -0
  308. package/concepts/pt-BR/Tool-Glob.md +34 -0
  309. package/concepts/pt-BR/Tool-Grep.md +47 -0
  310. package/concepts/pt-BR/Tool-NotebookEdit.md +33 -0
  311. package/concepts/pt-BR/Tool-Read.md +41 -0
  312. package/concepts/pt-BR/Tool-Skill.md +35 -0
  313. package/concepts/pt-BR/Tool-Task.md +53 -0
  314. package/concepts/pt-BR/Tool-TaskCreate.md +38 -0
  315. package/concepts/pt-BR/Tool-TaskGet.md +35 -0
  316. package/concepts/pt-BR/Tool-TaskList.md +36 -0
  317. package/concepts/pt-BR/Tool-TaskOutput.md +34 -0
  318. package/concepts/pt-BR/Tool-TaskStop.md +27 -0
  319. package/concepts/pt-BR/Tool-TaskUpdate.md +49 -0
  320. package/concepts/pt-BR/Tool-WebFetch.md +36 -0
  321. package/concepts/pt-BR/Tool-WebSearch.md +32 -0
  322. package/concepts/pt-BR/Tool-Write.md +32 -0
  323. package/concepts/pt-BR/Tool-executeCode.md +33 -0
  324. package/concepts/pt-BR/Tool-getDiagnostics.md +32 -0
  325. package/concepts/pt-BR/Tools.md +73 -0
  326. package/concepts/pt-BR/TranslateContextPollution.md +46 -0
  327. package/concepts/ru/BodyDiffJSON.md +32 -0
  328. package/concepts/ru/CacheRebuild.md +40 -0
  329. package/concepts/ru/MainAgent.md +30 -0
  330. package/concepts/ru/Tool-AskUserQuestion.md +54 -0
  331. package/concepts/ru/Tool-Bash.md +47 -0
  332. package/concepts/ru/Tool-Edit.md +38 -0
  333. package/concepts/ru/Tool-EnterPlanMode.md +43 -0
  334. package/concepts/ru/Tool-ExitPlanMode.md +39 -0
  335. package/concepts/ru/Tool-Glob.md +34 -0
  336. package/concepts/ru/Tool-Grep.md +47 -0
  337. package/concepts/ru/Tool-NotebookEdit.md +33 -0
  338. package/concepts/ru/Tool-Read.md +41 -0
  339. package/concepts/ru/Tool-Skill.md +35 -0
  340. package/concepts/ru/Tool-Task.md +53 -0
  341. package/concepts/ru/Tool-TaskCreate.md +38 -0
  342. package/concepts/ru/Tool-TaskGet.md +35 -0
  343. package/concepts/ru/Tool-TaskList.md +36 -0
  344. package/concepts/ru/Tool-TaskOutput.md +34 -0
  345. package/concepts/ru/Tool-TaskStop.md +27 -0
  346. package/concepts/ru/Tool-TaskUpdate.md +49 -0
  347. package/concepts/ru/Tool-WebFetch.md +36 -0
  348. package/concepts/ru/Tool-WebSearch.md +32 -0
  349. package/concepts/ru/Tool-Write.md +32 -0
  350. package/concepts/ru/Tool-executeCode.md +33 -0
  351. package/concepts/ru/Tool-getDiagnostics.md +32 -0
  352. package/concepts/ru/Tools.md +73 -0
  353. package/concepts/ru/TranslateContextPollution.md +46 -0
  354. package/concepts/th/BodyDiffJSON.md +32 -0
  355. package/concepts/th/CacheRebuild.md +40 -0
  356. package/concepts/th/MainAgent.md +30 -0
  357. package/concepts/th/Tool-AskUserQuestion.md +54 -0
  358. package/concepts/th/Tool-Bash.md +47 -0
  359. package/concepts/th/Tool-Edit.md +38 -0
  360. package/concepts/th/Tool-EnterPlanMode.md +43 -0
  361. package/concepts/th/Tool-ExitPlanMode.md +39 -0
  362. package/concepts/th/Tool-Glob.md +34 -0
  363. package/concepts/th/Tool-Grep.md +47 -0
  364. package/concepts/th/Tool-NotebookEdit.md +33 -0
  365. package/concepts/th/Tool-Read.md +41 -0
  366. package/concepts/th/Tool-Skill.md +35 -0
  367. package/concepts/th/Tool-Task.md +53 -0
  368. package/concepts/th/Tool-TaskCreate.md +38 -0
  369. package/concepts/th/Tool-TaskGet.md +35 -0
  370. package/concepts/th/Tool-TaskList.md +36 -0
  371. package/concepts/th/Tool-TaskOutput.md +34 -0
  372. package/concepts/th/Tool-TaskStop.md +27 -0
  373. package/concepts/th/Tool-TaskUpdate.md +49 -0
  374. package/concepts/th/Tool-WebFetch.md +36 -0
  375. package/concepts/th/Tool-WebSearch.md +32 -0
  376. package/concepts/th/Tool-Write.md +32 -0
  377. package/concepts/th/Tool-executeCode.md +33 -0
  378. package/concepts/th/Tool-getDiagnostics.md +32 -0
  379. package/concepts/th/Tools.md +73 -0
  380. package/concepts/th/TranslateContextPollution.md +46 -0
  381. package/concepts/tr/BodyDiffJSON.md +32 -0
  382. package/concepts/tr/CacheRebuild.md +40 -0
  383. package/concepts/tr/MainAgent.md +30 -0
  384. package/concepts/tr/Tool-AskUserQuestion.md +54 -0
  385. package/concepts/tr/Tool-Bash.md +47 -0
  386. package/concepts/tr/Tool-Edit.md +38 -0
  387. package/concepts/tr/Tool-EnterPlanMode.md +43 -0
  388. package/concepts/tr/Tool-ExitPlanMode.md +39 -0
  389. package/concepts/tr/Tool-Glob.md +34 -0
  390. package/concepts/tr/Tool-Grep.md +47 -0
  391. package/concepts/tr/Tool-NotebookEdit.md +33 -0
  392. package/concepts/tr/Tool-Read.md +41 -0
  393. package/concepts/tr/Tool-Skill.md +35 -0
  394. package/concepts/tr/Tool-Task.md +53 -0
  395. package/concepts/tr/Tool-TaskCreate.md +38 -0
  396. package/concepts/tr/Tool-TaskGet.md +35 -0
  397. package/concepts/tr/Tool-TaskList.md +36 -0
  398. package/concepts/tr/Tool-TaskOutput.md +34 -0
  399. package/concepts/tr/Tool-TaskStop.md +27 -0
  400. package/concepts/tr/Tool-TaskUpdate.md +49 -0
  401. package/concepts/tr/Tool-WebFetch.md +36 -0
  402. package/concepts/tr/Tool-WebSearch.md +32 -0
  403. package/concepts/tr/Tool-Write.md +32 -0
  404. package/concepts/tr/Tool-executeCode.md +33 -0
  405. package/concepts/tr/Tool-getDiagnostics.md +32 -0
  406. package/concepts/tr/Tools.md +73 -0
  407. package/concepts/tr/TranslateContextPollution.md +46 -0
  408. package/concepts/uk/BodyDiffJSON.md +32 -0
  409. package/concepts/uk/CacheRebuild.md +40 -0
  410. package/concepts/uk/MainAgent.md +30 -0
  411. package/concepts/uk/Tool-AskUserQuestion.md +54 -0
  412. package/concepts/uk/Tool-Bash.md +47 -0
  413. package/concepts/uk/Tool-Edit.md +38 -0
  414. package/concepts/uk/Tool-EnterPlanMode.md +43 -0
  415. package/concepts/uk/Tool-ExitPlanMode.md +39 -0
  416. package/concepts/uk/Tool-Glob.md +34 -0
  417. package/concepts/uk/Tool-Grep.md +47 -0
  418. package/concepts/uk/Tool-NotebookEdit.md +33 -0
  419. package/concepts/uk/Tool-Read.md +41 -0
  420. package/concepts/uk/Tool-Skill.md +35 -0
  421. package/concepts/uk/Tool-Task.md +53 -0
  422. package/concepts/uk/Tool-TaskCreate.md +38 -0
  423. package/concepts/uk/Tool-TaskGet.md +35 -0
  424. package/concepts/uk/Tool-TaskList.md +36 -0
  425. package/concepts/uk/Tool-TaskOutput.md +34 -0
  426. package/concepts/uk/Tool-TaskStop.md +27 -0
  427. package/concepts/uk/Tool-TaskUpdate.md +49 -0
  428. package/concepts/uk/Tool-WebFetch.md +36 -0
  429. package/concepts/uk/Tool-WebSearch.md +32 -0
  430. package/concepts/uk/Tool-Write.md +32 -0
  431. package/concepts/uk/Tool-executeCode.md +33 -0
  432. package/concepts/uk/Tool-getDiagnostics.md +32 -0
  433. package/concepts/uk/Tools.md +73 -0
  434. package/concepts/uk/TranslateContextPollution.md +46 -0
  435. package/concepts/zh/BodyDiffJSON.md +32 -0
  436. package/concepts/zh/CacheRebuild.md +40 -0
  437. package/concepts/zh/MainAgent.md +30 -0
  438. package/concepts/zh/Tool-AskUserQuestion.md +54 -0
  439. package/concepts/zh/Tool-Bash.md +47 -0
  440. package/concepts/zh/Tool-Edit.md +38 -0
  441. package/concepts/zh/Tool-EnterPlanMode.md +43 -0
  442. package/concepts/zh/Tool-ExitPlanMode.md +39 -0
  443. package/concepts/zh/Tool-Glob.md +34 -0
  444. package/concepts/zh/Tool-Grep.md +47 -0
  445. package/concepts/zh/Tool-NotebookEdit.md +33 -0
  446. package/concepts/zh/Tool-Read.md +41 -0
  447. package/concepts/zh/Tool-Skill.md +35 -0
  448. package/concepts/zh/Tool-Task.md +53 -0
  449. package/concepts/zh/Tool-TaskCreate.md +38 -0
  450. package/concepts/zh/Tool-TaskGet.md +35 -0
  451. package/concepts/zh/Tool-TaskList.md +36 -0
  452. package/concepts/zh/Tool-TaskOutput.md +34 -0
  453. package/concepts/zh/Tool-TaskStop.md +27 -0
  454. package/concepts/zh/Tool-TaskUpdate.md +49 -0
  455. package/concepts/zh/Tool-WebFetch.md +36 -0
  456. package/concepts/zh/Tool-WebSearch.md +32 -0
  457. package/concepts/zh/Tool-Write.md +32 -0
  458. package/concepts/zh/Tool-executeCode.md +33 -0
  459. package/concepts/zh/Tool-getDiagnostics.md +32 -0
  460. package/concepts/zh/Tools.md +73 -0
  461. package/concepts/zh/TranslateContextPollution.md +47 -0
  462. package/concepts/zh-TW/BodyDiffJSON.md +32 -0
  463. package/concepts/zh-TW/CacheRebuild.md +40 -0
  464. package/concepts/zh-TW/MainAgent.md +30 -0
  465. package/concepts/zh-TW/Tool-AskUserQuestion.md +54 -0
  466. package/concepts/zh-TW/Tool-Bash.md +47 -0
  467. package/concepts/zh-TW/Tool-Edit.md +38 -0
  468. package/concepts/zh-TW/Tool-EnterPlanMode.md +43 -0
  469. package/concepts/zh-TW/Tool-ExitPlanMode.md +39 -0
  470. package/concepts/zh-TW/Tool-Glob.md +34 -0
  471. package/concepts/zh-TW/Tool-Grep.md +47 -0
  472. package/concepts/zh-TW/Tool-NotebookEdit.md +33 -0
  473. package/concepts/zh-TW/Tool-Read.md +41 -0
  474. package/concepts/zh-TW/Tool-Skill.md +35 -0
  475. package/concepts/zh-TW/Tool-Task.md +53 -0
  476. package/concepts/zh-TW/Tool-TaskCreate.md +38 -0
  477. package/concepts/zh-TW/Tool-TaskGet.md +35 -0
  478. package/concepts/zh-TW/Tool-TaskList.md +36 -0
  479. package/concepts/zh-TW/Tool-TaskOutput.md +34 -0
  480. package/concepts/zh-TW/Tool-TaskStop.md +27 -0
  481. package/concepts/zh-TW/Tool-TaskUpdate.md +49 -0
  482. package/concepts/zh-TW/Tool-WebFetch.md +36 -0
  483. package/concepts/zh-TW/Tool-WebSearch.md +32 -0
  484. package/concepts/zh-TW/Tool-Write.md +32 -0
  485. package/concepts/zh-TW/Tool-executeCode.md +33 -0
  486. package/concepts/zh-TW/Tool-getDiagnostics.md +32 -0
  487. package/concepts/zh-TW/Tools.md +73 -0
  488. package/concepts/zh-TW/TranslateContextPollution.md +46 -0
  489. package/dist/assets/{index-DjCjusqk.js → index-CSuPDSgh.js} +45 -45
  490. package/dist/index.html +1 -1
  491. package/interceptor.js +19 -4
  492. package/package.json +3 -2
  493. package/server.js +15 -14
@@ -0,0 +1,35 @@
1
+ # Skill
2
+
3
+ ## Definition
4
+
5
+ Executes a skill within the main conversation. Skills are specialized capabilities that users can invoke via slash commands (e.g., `/commit`, `/review-pr`).
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `skill` | string | Yes | Skill name (e.g., "commit", "review-pr", "pdf") |
12
+ | `args` | string | No | Skill arguments |
13
+
14
+ ## Use Cases
15
+
16
+ **Good for:**
17
+ - When the user enters a slash command in the `/<skill-name>` format
18
+ - When the user's request matches the functionality of a registered skill
19
+
20
+ **Not good for:**
21
+ - Built-in CLI commands (e.g., `/help`, `/clear`)
22
+ - A skill that is already running
23
+ - Skill names not in the available skills list
24
+
25
+ ## Notes
26
+
27
+ - Once invoked, the skill expands into a full prompt
28
+ - Supports fully qualified names (e.g., `ms-office-suite:pdf`)
29
+ - The available skills list is provided in system-reminder messages
30
+ - When you see a `<command-name>` tag, it means the skill is already loaded — execute it directly rather than calling this tool again
31
+ - Do not mention a skill without actually calling the tool
32
+
33
+ ## Significance in cc-viewer
34
+
35
+ Skill calls appear in request logs as `tool_use` content blocks. The prompt expanded from the skill affects the system prompt or message content of subsequent requests.
@@ -0,0 +1,53 @@
1
+ # Task
2
+
3
+ ## Definition
4
+
5
+ Launches a SubAgent to autonomously handle complex multi-step tasks. SubAgents are independent subprocesses, each with their own dedicated tool set and context.
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `prompt` | string | Yes | Description of the task for the SubAgent to execute |
12
+ | `description` | string | Yes | A 3-5 word short summary |
13
+ | `subagent_type` | string | Yes | SubAgent type, determines the available tool set |
14
+ | `model` | enum | No | Specify model (sonnet / opus / haiku), defaults to inheriting from parent |
15
+ | `max_turns` | integer | No | Maximum number of agentic turns |
16
+ | `run_in_background` | boolean | No | Whether to run in the background; background tasks return an output_file path |
17
+ | `resume` | string | No | Agent ID to resume, continues from the last execution |
18
+ | `isolation` | enum | No | Isolation mode, `worktree` creates a temporary git worktree |
19
+
20
+ ## SubAgent Types
21
+
22
+ | Type | Purpose | Available Tools |
23
+ |------|---------|-----------------|
24
+ | `Bash` | Command execution, git operations | Bash |
25
+ | `general-purpose` | General multi-step tasks | All tools |
26
+ | `Explore` | Quick codebase exploration | All tools except Task/Edit/Write/NotebookEdit/ExitPlanMode |
27
+ | `Plan` | Design implementation plans | All tools except Task/Edit/Write/NotebookEdit/ExitPlanMode |
28
+ | `claude-code-guide` | Claude Code usage guide Q&A | Glob, Grep, Read, WebFetch, WebSearch |
29
+ | `statusline-setup` | Configure status bar | Read, Edit |
30
+
31
+ ## Use Cases
32
+
33
+ **Good for:**
34
+ - Complex tasks requiring multi-step autonomous completion
35
+ - Codebase exploration and deep research (using Explore type)
36
+ - Parallel work requiring isolated environments
37
+ - Long-running tasks that need to run in the background
38
+
39
+ **Not good for:**
40
+ - Reading a specific file path — use Read or Glob directly
41
+ - Searching within 2-3 known files — use Read directly
42
+ - Searching for a specific class definition — use Glob directly
43
+
44
+ ## Notes
45
+
46
+ - After completion, the SubAgent returns a single message; its results are not visible to the user and need to be relayed by the main agent
47
+ - Multiple Task calls can be issued in parallel within a single message for efficiency
48
+ - Background tasks are checked for progress via the TaskOutput tool
49
+ - The Explore type is slower than directly calling Glob/Grep; only use it when simple searches are insufficient
50
+
51
+ ## Significance in cc-viewer
52
+
53
+ Task calls produce SubAgent request chains, which appear in the request list as sub-request sequences independent of MainAgent. SubAgent requests typically have streamlined system prompts and fewer tool definitions, forming a clear contrast with MainAgent.
@@ -0,0 +1,38 @@
1
+ # TaskCreate
2
+
3
+ ## Definition
4
+
5
+ Creates a structured task list entry for tracking progress, organizing complex tasks, and demonstrating work progress to the user.
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `subject` | string | Yes | Short task title in imperative form (e.g., "Fix authentication bug") |
12
+ | `description` | string | Yes | Detailed description including context and acceptance criteria |
13
+ | `activeForm` | string | No | Present continuous text displayed when in progress (e.g., "Fixing authentication bug") |
14
+ | `metadata` | object | No | Arbitrary metadata attached to the task |
15
+
16
+ ## Use Cases
17
+
18
+ **Good for:**
19
+ - Complex multi-step tasks (more than 3 steps)
20
+ - When the user provides multiple to-do items
21
+ - Tracking work in plan mode
22
+ - When the user explicitly requests a todo list
23
+
24
+ **Not good for:**
25
+ - A single simple task
26
+ - Simple operations with 3 or fewer steps
27
+ - Pure conversation or information queries
28
+
29
+ ## Notes
30
+
31
+ - All newly created tasks have an initial status of `pending`
32
+ - `subject` uses imperative form ("Run tests"), `activeForm` uses present continuous ("Running tests")
33
+ - After creating a task, use TaskUpdate to set dependencies (blocks/blockedBy)
34
+ - Before creating, call TaskList first to check for duplicate tasks
35
+
36
+ ## Significance in cc-viewer
37
+
38
+ TaskCreate is an internal task management operation in Claude Code and does not produce independent API requests. However, the model's tool_use block for calling this tool can be seen in Chat Mode.
@@ -0,0 +1,35 @@
1
+ # TaskGet
2
+
3
+ ## Definition
4
+
5
+ Retrieves the full details of a task by its task ID.
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `taskId` | string | Yes | The task ID to retrieve |
12
+
13
+ ## Return Content
14
+
15
+ - `subject` — Task title
16
+ - `description` — Detailed requirements and context
17
+ - `status` — Status: `pending`, `in_progress`, or `completed`
18
+ - `blocks` — List of tasks blocked by this task
19
+ - `blockedBy` — List of prerequisite tasks blocking this task
20
+
21
+ ## Use Cases
22
+
23
+ **Good for:**
24
+ - Getting the full description and context of a task before starting work
25
+ - Understanding task dependencies
26
+ - Getting complete requirements after being assigned a task
27
+
28
+ ## Notes
29
+
30
+ - After retrieving a task, check whether the `blockedBy` list is empty before starting work
31
+ - Use TaskList to view summary information for all tasks
32
+
33
+ ## Significance in cc-viewer
34
+
35
+ TaskGet is an internal task management operation and does not produce independent API requests.
@@ -0,0 +1,36 @@
1
+ # TaskList
2
+
3
+ ## Definition
4
+
5
+ Lists all tasks in the task list to view overall progress and available work.
6
+
7
+ ## Parameters
8
+
9
+ No parameters.
10
+
11
+ ## Return Content
12
+
13
+ Summary information for each task:
14
+ - `id` — Task identifier
15
+ - `subject` — Short description
16
+ - `status` — Status: `pending`, `in_progress`, or `completed`
17
+ - `owner` — Owner (agent ID), empty means unassigned
18
+ - `blockedBy` — List of incomplete task IDs blocking this task
19
+
20
+ ## Use Cases
21
+
22
+ **Good for:**
23
+ - Viewing available tasks (status is pending, no owner, not blocked)
24
+ - Checking overall project progress
25
+ - Finding blocked tasks
26
+ - Finding the next task after completing one
27
+
28
+ ## Notes
29
+
30
+ - Prefer processing tasks in ID order (lowest ID first), as earlier tasks usually provide context for later ones
31
+ - Tasks with `blockedBy` cannot be claimed until dependencies are resolved
32
+ - Use TaskGet to get full details of a specific task
33
+
34
+ ## Significance in cc-viewer
35
+
36
+ TaskList is an internal task management operation and does not produce independent API requests.
@@ -0,0 +1,34 @@
1
+ # TaskOutput
2
+
3
+ ## Definition
4
+
5
+ Gets the output of a running or completed background task. Applicable to background shells, async agents, and remote sessions.
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `task_id` | string | Yes | Task ID |
12
+ | `block` | boolean | Yes | Whether to block and wait for task completion, default `true` |
13
+ | `timeout` | number | Yes | Maximum wait time in milliseconds, default 30000, max 600000 |
14
+
15
+ ## Use Cases
16
+
17
+ **Good for:**
18
+ - Checking the progress of background agents launched via Task (`run_in_background: true`)
19
+ - Getting the execution results of background Bash commands
20
+ - Waiting for async tasks to complete and retrieving output
21
+
22
+ **Not good for:**
23
+ - Foreground tasks — foreground tasks return results directly, no need for this tool
24
+
25
+ ## Notes
26
+
27
+ - `block: true` blocks until the task completes or times out
28
+ - `block: false` is for non-blocking checks of the current status
29
+ - Task IDs can be found via the `/tasks` command
30
+ - Applicable to all task types: background shells, async agents, remote sessions
31
+
32
+ ## Significance in cc-viewer
33
+
34
+ TaskOutput calls do not produce API requests themselves; they are internal task management operations in Claude Code and do not appear in request logs.
@@ -0,0 +1,27 @@
1
+ # TaskStop
2
+
3
+ ## Definition
4
+
5
+ Stops a running background task.
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `task_id` | string | No | The background task ID to stop |
12
+ | `shell_id` | string | No | Deprecated, use `task_id` instead |
13
+
14
+ ## Use Cases
15
+
16
+ **Good for:**
17
+ - Terminating long-running tasks that are no longer needed
18
+ - Canceling erroneously started background tasks
19
+
20
+ ## Notes
21
+
22
+ - Returns a success or failure status
23
+ - The `shell_id` parameter is deprecated; use `task_id` instead
24
+
25
+ ## Significance in cc-viewer
26
+
27
+ TaskStop calls do not produce API requests themselves; they are internal task management operations in Claude Code.
@@ -0,0 +1,49 @@
1
+ # TaskUpdate
2
+
3
+ ## Definition
4
+
5
+ Updates the status, content, or dependencies of a task in the task list.
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `taskId` | string | Yes | The task ID to update |
12
+ | `status` | enum | No | New status: `pending` / `in_progress` / `completed` / `deleted` |
13
+ | `subject` | string | No | New title |
14
+ | `description` | string | No | New description |
15
+ | `activeForm` | string | No | Present continuous text displayed when in progress |
16
+ | `owner` | string | No | New task owner (agent name) |
17
+ | `metadata` | object | No | Metadata to merge (set to null to delete a key) |
18
+ | `addBlocks` | string[] | No | List of task IDs blocked by this task |
19
+ | `addBlockedBy` | string[] | No | List of prerequisite task IDs blocking this task |
20
+
21
+ ## Status Workflow
22
+
23
+ ```
24
+ pending → in_progress → completed
25
+ ```
26
+
27
+ `deleted` can be entered from any status and permanently removes the task.
28
+
29
+ ## Use Cases
30
+
31
+ **Good for:**
32
+ - Marking a task as `in_progress` when starting work
33
+ - Marking a task as `completed` when work is done
34
+ - Setting dependencies between tasks
35
+ - Updating task content when requirements change
36
+
37
+ **Important rules:**
38
+ - Only mark a task as `completed` when it is fully finished
39
+ - Keep the task as `in_progress` when encountering errors or blockers
40
+ - Do not mark as `completed` if tests are failing, implementation is incomplete, or unresolved errors exist
41
+
42
+ ## Notes
43
+
44
+ - Before updating, retrieve the task's latest status via TaskGet to avoid stale data
45
+ - After completing a task, call TaskList to find the next available task
46
+
47
+ ## Significance in cc-viewer
48
+
49
+ TaskUpdate is an internal task management operation and does not produce independent API requests.
@@ -0,0 +1,36 @@
1
+ # WebFetch
2
+
3
+ ## Definition
4
+
5
+ Fetches web page content from a specified URL, converts HTML to markdown, and processes the content using an AI model based on the prompt.
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `url` | string (URI) | Yes | The full URL to fetch |
12
+ | `prompt` | string | Yes | Describes what information to extract from the page |
13
+
14
+ ## Use Cases
15
+
16
+ **Good for:**
17
+ - Fetching content from public web pages
18
+ - Consulting online documentation
19
+ - Extracting specific information from web pages
20
+
21
+ **Not good for:**
22
+ - URLs requiring authentication (Google Docs, Confluence, Jira, GitHub, etc.) — look for a dedicated MCP tool first
23
+ - GitHub URLs — prefer using the `gh` CLI
24
+
25
+ ## Notes
26
+
27
+ - The URL must be a complete, valid URL
28
+ - HTTP is automatically upgraded to HTTPS
29
+ - Results may be summarized if the content is too large
30
+ - Includes a 15-minute self-cleaning cache
31
+ - When a URL redirects to a different host, the tool returns the redirect URL, and you need to re-request with the new URL
32
+ - If an MCP-provided web fetch tool is available, prefer using that one
33
+
34
+ ## Significance in cc-viewer
35
+
36
+ WebFetch calls appear in request logs as `tool_use` / `tool_result` content block pairs. The `tool_result` contains the AI-processed web content summary.
@@ -0,0 +1,32 @@
1
+ # WebSearch
2
+
3
+ ## Definition
4
+
5
+ Performs search engine queries and returns search results for obtaining up-to-date information.
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `query` | string | Yes | Search query (minimum 2 characters) |
12
+ | `allowed_domains` | string[] | No | Only include results from these domains |
13
+ | `blocked_domains` | string[] | No | Exclude results from these domains |
14
+
15
+ ## Use Cases
16
+
17
+ **Good for:**
18
+ - Getting the latest information beyond the model's knowledge cutoff date
19
+ - Finding current events and recent data
20
+ - Searching for the latest technical documentation
21
+
22
+ ## Notes
23
+
24
+ - Search results are returned in markdown hyperlink format
25
+ - After using this tool, a "Sources:" section must be appended at the end of the response listing the relevant URLs
26
+ - Supports domain filtering (include/exclude)
27
+ - Use the current year in search queries
28
+ - Only available in the US
29
+
30
+ ## Significance in cc-viewer
31
+
32
+ WebSearch calls appear in request logs as `tool_use` / `tool_result` content block pairs. The `tool_result` contains the search results list.
@@ -0,0 +1,32 @@
1
+ # Write
2
+
3
+ ## Definition
4
+
5
+ Writes content to the local filesystem. Overwrites the file if it already exists.
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `file_path` | string | Yes | Absolute path of the file (must be an absolute path) |
12
+ | `content` | string | Yes | The content to write |
13
+
14
+ ## Use Cases
15
+
16
+ **Good for:**
17
+ - Creating new files
18
+ - When a complete rewrite of file content is needed
19
+
20
+ **Not good for:**
21
+ - Modifying partial content in a file — use Edit instead
22
+ - Should not proactively create documentation files (*.md) or READMEs unless the user explicitly requests it
23
+
24
+ ## Notes
25
+
26
+ - If the target file already exists, it must first be read via Read, otherwise it will fail
27
+ - Overwrites the entire content of existing files
28
+ - Prefer using Edit for existing files; Write is only for creating new files or complete rewrites
29
+
30
+ ## Significance in cc-viewer
31
+
32
+ Write calls appear in request logs as `tool_use` content blocks, with `input.content` containing the complete written content.
@@ -0,0 +1,33 @@
1
+ # executeCode (mcp__ide__executeCode)
2
+
3
+ ## Definition
4
+
5
+ Executes Python code in the Jupyter kernel of the current notebook file.
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `code` | string | Yes | The Python code to execute |
12
+
13
+ ## Use Cases
14
+
15
+ **Good for:**
16
+ - Executing code in a Jupyter notebook environment
17
+ - Testing code snippets
18
+ - Data analysis and computation
19
+
20
+ **Not good for:**
21
+ - Code execution outside of Jupyter environments — use Bash instead
22
+ - Modifying files — use Edit or Write instead
23
+
24
+ ## Notes
25
+
26
+ - This is an MCP (Model Context Protocol) tool provided by IDE integration
27
+ - Code executes in the current Jupyter kernel, and state persists between calls
28
+ - Unless the user explicitly requests it, avoid declaring variables or modifying kernel state
29
+ - State is lost after a kernel restart
30
+
31
+ ## Significance in cc-viewer
32
+
33
+ executeCode is an MCP tool that appears in the `tools` array of request logs under the name `mcp__ide__executeCode`. Its invocations and returns follow the standard `tool_use` / `tool_result` pattern. Adding or removing MCP tools causes changes to the tools array, which may trigger cache rebuilds.
@@ -0,0 +1,32 @@
1
+ # getDiagnostics (mcp__ide__getDiagnostics)
2
+
3
+ ## Definition
4
+
5
+ Gets language diagnostics from VS Code, including syntax errors, type errors, lint warnings, and more.
6
+
7
+ ## Parameters
8
+
9
+ | Parameter | Type | Required | Description |
10
+ |-----------|------|----------|-------------|
11
+ | `uri` | string | No | File URI. If not provided, gets diagnostics for all files |
12
+
13
+ ## Use Cases
14
+
15
+ **Good for:**
16
+ - Checking code for syntax, type, lint, and other semantic issues
17
+ - Verifying whether new errors were introduced after editing code
18
+ - Replacing Bash commands for checking code quality
19
+
20
+ **Not good for:**
21
+ - Running tests — use Bash instead
22
+ - Checking runtime errors — use Bash to execute the code instead
23
+
24
+ ## Notes
25
+
26
+ - This is an MCP (Model Context Protocol) tool provided by IDE integration
27
+ - Only available in VS Code / IDE environments
28
+ - Prefer this tool over Bash commands for checking code issues
29
+
30
+ ## Significance in cc-viewer
31
+
32
+ getDiagnostics is an MCP tool that appears in the `tools` array of request logs under the name `mcp__ide__getDiagnostics`. Its invocations and returns follow the standard `tool_use` / `tool_result` pattern. Adding or removing MCP tools causes changes to the tools array, which may trigger cache rebuilds.
@@ -0,0 +1,73 @@
1
+ # Claude Code Tools Overview
2
+
3
+ Claude Code provides a set of built-in tools to the model through the Anthropic API's tool_use mechanism. Each MainAgent request includes the complete JSON Schema definitions of these tools in the `tools` array, and the model invokes them via `tool_use` content blocks in its responses.
4
+
5
+ Below is a categorized index of all tools.
6
+
7
+ ## Agent System
8
+
9
+ | Tool | Purpose |
10
+ |------|---------|
11
+ | [Task](Tool-Task.md) | Launch a SubAgent to handle complex multi-step tasks |
12
+ | [TaskOutput](Tool-TaskOutput.md) | Get the output of a background task |
13
+ | [TaskStop](Tool-TaskStop.md) | Stop a running background task |
14
+ | [TaskCreate](Tool-TaskCreate.md) | Create a structured task list entry |
15
+ | [TaskGet](Tool-TaskGet.md) | Get task details |
16
+ | [TaskUpdate](Tool-TaskUpdate.md) | Update task status, dependencies, etc. |
17
+ | [TaskList](Tool-TaskList.md) | List all tasks |
18
+
19
+ ## File Operations
20
+
21
+ | Tool | Purpose |
22
+ |------|---------|
23
+ | [Read](Tool-Read.md) | Read file contents (supports text, images, PDF, Jupyter notebook) |
24
+ | [Edit](Tool-Edit.md) | Edit files via exact string replacement |
25
+ | [Write](Tool-Write.md) | Write to or overwrite files |
26
+ | [NotebookEdit](Tool-NotebookEdit.md) | Edit Jupyter notebook cells |
27
+
28
+ ## Search
29
+
30
+ | Tool | Purpose |
31
+ |------|---------|
32
+ | [Glob](Tool-Glob.md) | Search files by filename pattern matching |
33
+ | [Grep](Tool-Grep.md) | Search file contents based on ripgrep |
34
+
35
+ ## Terminal
36
+
37
+ | Tool | Purpose |
38
+ |------|---------|
39
+ | [Bash](Tool-Bash.md) | Execute shell commands |
40
+
41
+ ## Web
42
+
43
+ | Tool | Purpose |
44
+ |------|---------|
45
+ | [WebFetch](Tool-WebFetch.md) | Fetch web page content and process it with AI |
46
+ | [WebSearch](Tool-WebSearch.md) | Search engine queries |
47
+
48
+ ## Planning & Interaction
49
+
50
+ | Tool | Purpose |
51
+ |------|---------|
52
+ | [EnterPlanMode](Tool-EnterPlanMode.md) | Enter plan mode to design an implementation plan |
53
+ | [ExitPlanMode](Tool-ExitPlanMode.md) | Exit plan mode and submit the plan for user approval |
54
+ | [AskUserQuestion](Tool-AskUserQuestion.md) | Ask the user a question for clarification or decisions |
55
+
56
+ ## Extensions
57
+
58
+ | Tool | Purpose |
59
+ |------|---------|
60
+ | [Skill](Tool-Skill.md) | Execute a skill (slash command) |
61
+
62
+ ## IDE Integration
63
+
64
+ | Tool | Purpose |
65
+ |------|---------|
66
+ | [getDiagnostics](Tool-getDiagnostics.md) | Get VS Code language diagnostics |
67
+ | [executeCode](Tool-executeCode.md) | Execute code in a Jupyter kernel |
68
+
69
+ ## Significance in cc-viewer
70
+
71
+ Tool calls are one of the most important observable data points in Claude Code request logs. The `tools` array in each MainAgent request defines the set of tools available to the model, while the `tool_use` / `tool_result` content blocks in responses record the actual tool invocations and returns. cc-viewer parses this data to reconstruct the complete tool call chain in Chat Mode.
72
+
73
+ Changes in tool definitions (e.g., tools added/removed due to MCP server connection/disconnection) trigger cache rebuilds. See [CacheRebuild](CacheRebuild.md) for details.
@@ -0,0 +1,46 @@
1
+ # Translate API Context Pollution
2
+
3
+ ## Background
4
+
5
+ CC-Viewer includes a built-in translation feature (`POST /api/translate`) powered by the Anthropic Messages API. In the early implementation, translation requests reused cached authentication credentials from the Claude Code session — including both `x-api-key` and `authorization` headers. This caused a subtle but serious issue: translation results frequently returned irrelevant content.
6
+
7
+ ## Root Cause
8
+
9
+ ### Fundamental Difference Between Two Authentication Methods
10
+
11
+ The Anthropic API supports two authentication methods:
12
+
13
+ | Method | Header | Typical Source | Characteristics |
14
+ |--------|--------|----------------|-----------------|
15
+ | API Key | `x-api-key: sk-ant-...` | Environment variable / Console | Stateless, each request is independent |
16
+ | OAuth Token | `authorization: Bearer sessionToken` | Claude Code subscription login | Session-bound, server maintains context association |
17
+
18
+ The key difference: **API Keys are stateless** — each request is completely independent; while **OAuth session tokens are stateful** — the Anthropic server associates requests using the same token to the same session context.
19
+
20
+ ### Pollution Chain
21
+
22
+ When Claude Code uses subscription OAuth login, the authentication flow looks like:
23
+
24
+ ```
25
+ Claude Code main conversation ──(authorization: Bearer sessionToken)──→ Anthropic API
26
+
27
+ CC-Viewer translate request ──(authorization: Bearer sessionToken)──→ Anthropic API
28
+ ```
29
+
30
+ Since translation requests reused the same session token, the Anthropic server may associate translation requests with Claude Code's main conversation context. This causes:
31
+
32
+ 1. **Translation results influenced by main conversation context**: The translation request's system prompt is "you are a translator", but the server context still contains Claude Code's conversation history, potentially interfering with the model
33
+ 2. **Main conversation disturbed by translation requests**: Translation request content (UI text fragments) may be injected into the main conversation context, causing Claude Code's responses to deviate
34
+ 3. **Unpredictable behavior**: Since context pollution is server-side behavior, the client cannot detect or control it
35
+
36
+ ## Lessons Learned
37
+
38
+ - **OAuth session tokens are not "just another API Key"** — they carry server-side state, reusing them means sharing context
39
+ - **Internal service calls should use independent, stateless authentication** to avoid association with user sessions
40
+
41
+ ## References
42
+
43
+ - [Anthropic API Authentication Docs](https://docs.anthropic.com/en/api/getting-started) — Official documentation on `x-api-key` and `authorization` headers
44
+ - [Claude Code Authentication](https://support.claude.com/en/articles/12304248-managing-api-key-environment-variables-in-claude-code) — API Key environment variable management
45
+ - [Anthropic Bans Subscription OAuth in Third-Party Apps](https://winbuzzer.com/2026/02/19/anthropic-bans-claude-subscription-oauth-in-third-party-apps-xcxwbn/) — Anthropic's restrictions on OAuth token usage scope
46
+ - [Claude Code Authentication: API Keys, Subscriptions, and SSO](https://developertoolkit.ai/en/claude-code/quick-start/authentication/) — Authentication method comparison
@@ -0,0 +1,32 @@
1
+ # Body Diff JSON (Comparación incremental del cuerpo de la solicitud)
2
+
3
+ ## Contexto
4
+
5
+ El MainAgent de Claude Code utiliza un mecanismo de envío de contexto completo: cada solicitud incluye el historial completo de la conversación, el system prompt, las definiciones de herramientas, etc. Esto significa que a medida que avanza la conversación, el cuerpo de la solicitud se vuelve cada vez más grande, y es difícil identificar rápidamente "qué se agregó en esta ronda" al ver el Body sin procesar.
6
+
7
+ Body Diff JSON resuelve exactamente este problema: compara automáticamente los cuerpos de dos solicitudes MainAgent consecutivas, extrae la parte incremental y te permite ver de un vistazo el contenido realmente nuevo en esta solicitud.
8
+
9
+ ## Cómo funciona
10
+
11
+ 1. **Identificar solicitudes MainAgent consecutivas**: La solicitud actual debe ser de tipo MainAgent y debe existir una solicitud MainAgent anterior
12
+ 2. **Comparación campo por campo**: Recorre todos los campos de nivel superior del cuerpo de la solicitud, omitiendo las propiedades internas con prefijo `_`
13
+ 3. **Extracción inteligente de diferencias**:
14
+ - Campos nuevos: Se muestran directamente
15
+ - Campos eliminados: No se muestran (generalmente no afectan la comprensión)
16
+ - Campos modificados: Se muestra el valor actual
17
+ - Tratamiento especial del array `messages`: Solo se muestran los mensajes nuevos (ya que en una conversación normal se usa el modo de adición, los mensajes previos no cambian)
18
+ 4. **Detección de reducción del cuerpo**: Si el cuerpo actual es más pequeño que el anterior, indica un truncamiento de contexto o reinicio de sesión, y se muestra un mensaje informativo en lugar del diff
19
+
20
+ ## Escenarios típicos
21
+
22
+ En una ronda normal de conversación, el Body Diff JSON generalmente solo contiene:
23
+ - `messages`: 1~2 mensajes nuevos (la entrada del usuario + la respuesta del asistente de la ronda anterior)
24
+
25
+ Si ves cambios en `system`, `tools`, `model` u otros campos en el diff, significa que hubo un cambio de configuración en esta ronda, lo cual suele ser también la causa de la reconstrucción de caché.
26
+
27
+ ## Cómo usarlo
28
+
29
+ - El Body Diff JSON se muestra en el panel de detalles de la solicitud MainAgent
30
+ - Haz clic en el título para expandir/contraer
31
+ - Soporta dos modos de visualización: JSON y Text, además de copiar con un clic
32
+ - En **CC-Viewer → Configuración global** (esquina superior izquierda), puedes configurar "Expandir Body Diff JSON por defecto"