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.
- package/README.md +3 -1
- package/cli.js +7 -0
- package/concepts/ar/BodyDiffJSON.md +32 -0
- package/concepts/ar/CacheRebuild.md +40 -0
- package/concepts/ar/MainAgent.md +30 -0
- package/concepts/ar/Tool-AskUserQuestion.md +54 -0
- package/concepts/ar/Tool-Bash.md +47 -0
- package/concepts/ar/Tool-Edit.md +38 -0
- package/concepts/ar/Tool-EnterPlanMode.md +43 -0
- package/concepts/ar/Tool-ExitPlanMode.md +39 -0
- package/concepts/ar/Tool-Glob.md +34 -0
- package/concepts/ar/Tool-Grep.md +47 -0
- package/concepts/ar/Tool-NotebookEdit.md +33 -0
- package/concepts/ar/Tool-Read.md +41 -0
- package/concepts/ar/Tool-Skill.md +35 -0
- package/concepts/ar/Tool-Task.md +53 -0
- package/concepts/ar/Tool-TaskCreate.md +38 -0
- package/concepts/ar/Tool-TaskGet.md +35 -0
- package/concepts/ar/Tool-TaskList.md +36 -0
- package/concepts/ar/Tool-TaskOutput.md +34 -0
- package/concepts/ar/Tool-TaskStop.md +27 -0
- package/concepts/ar/Tool-TaskUpdate.md +49 -0
- package/concepts/ar/Tool-WebFetch.md +36 -0
- package/concepts/ar/Tool-WebSearch.md +32 -0
- package/concepts/ar/Tool-Write.md +32 -0
- package/concepts/ar/Tool-executeCode.md +33 -0
- package/concepts/ar/Tool-getDiagnostics.md +32 -0
- package/concepts/ar/Tools.md +73 -0
- package/concepts/ar/TranslateContextPollution.md +46 -0
- package/concepts/da/BodyDiffJSON.md +32 -0
- package/concepts/da/CacheRebuild.md +40 -0
- package/concepts/da/MainAgent.md +30 -0
- package/concepts/da/Tool-AskUserQuestion.md +54 -0
- package/concepts/da/Tool-Bash.md +47 -0
- package/concepts/da/Tool-Edit.md +38 -0
- package/concepts/da/Tool-EnterPlanMode.md +43 -0
- package/concepts/da/Tool-ExitPlanMode.md +39 -0
- package/concepts/da/Tool-Glob.md +34 -0
- package/concepts/da/Tool-Grep.md +47 -0
- package/concepts/da/Tool-NotebookEdit.md +33 -0
- package/concepts/da/Tool-Read.md +41 -0
- package/concepts/da/Tool-Skill.md +35 -0
- package/concepts/da/Tool-Task.md +53 -0
- package/concepts/da/Tool-TaskCreate.md +38 -0
- package/concepts/da/Tool-TaskGet.md +35 -0
- package/concepts/da/Tool-TaskList.md +36 -0
- package/concepts/da/Tool-TaskOutput.md +34 -0
- package/concepts/da/Tool-TaskStop.md +27 -0
- package/concepts/da/Tool-TaskUpdate.md +49 -0
- package/concepts/da/Tool-WebFetch.md +36 -0
- package/concepts/da/Tool-WebSearch.md +32 -0
- package/concepts/da/Tool-Write.md +32 -0
- package/concepts/da/Tool-executeCode.md +33 -0
- package/concepts/da/Tool-getDiagnostics.md +32 -0
- package/concepts/da/Tools.md +73 -0
- package/concepts/da/TranslateContextPollution.md +46 -0
- package/concepts/de/BodyDiffJSON.md +32 -0
- package/concepts/de/CacheRebuild.md +40 -0
- package/concepts/de/MainAgent.md +30 -0
- package/concepts/de/Tool-AskUserQuestion.md +54 -0
- package/concepts/de/Tool-Bash.md +47 -0
- package/concepts/de/Tool-Edit.md +38 -0
- package/concepts/de/Tool-EnterPlanMode.md +43 -0
- package/concepts/de/Tool-ExitPlanMode.md +39 -0
- package/concepts/de/Tool-Glob.md +34 -0
- package/concepts/de/Tool-Grep.md +47 -0
- package/concepts/de/Tool-NotebookEdit.md +33 -0
- package/concepts/de/Tool-Read.md +41 -0
- package/concepts/de/Tool-Skill.md +35 -0
- package/concepts/de/Tool-Task.md +53 -0
- package/concepts/de/Tool-TaskCreate.md +38 -0
- package/concepts/de/Tool-TaskGet.md +35 -0
- package/concepts/de/Tool-TaskList.md +36 -0
- package/concepts/de/Tool-TaskOutput.md +34 -0
- package/concepts/de/Tool-TaskStop.md +27 -0
- package/concepts/de/Tool-TaskUpdate.md +49 -0
- package/concepts/de/Tool-WebFetch.md +36 -0
- package/concepts/de/Tool-WebSearch.md +32 -0
- package/concepts/de/Tool-Write.md +32 -0
- package/concepts/de/Tool-executeCode.md +33 -0
- package/concepts/de/Tool-getDiagnostics.md +32 -0
- package/concepts/de/Tools.md +73 -0
- package/concepts/de/TranslateContextPollution.md +46 -0
- package/concepts/en/BodyDiffJSON.md +32 -0
- package/concepts/en/CacheRebuild.md +40 -0
- package/concepts/en/MainAgent.md +30 -0
- package/concepts/en/Tool-AskUserQuestion.md +54 -0
- package/concepts/en/Tool-Bash.md +47 -0
- package/concepts/en/Tool-Edit.md +38 -0
- package/concepts/en/Tool-EnterPlanMode.md +43 -0
- package/concepts/en/Tool-ExitPlanMode.md +39 -0
- package/concepts/en/Tool-Glob.md +34 -0
- package/concepts/en/Tool-Grep.md +47 -0
- package/concepts/en/Tool-NotebookEdit.md +33 -0
- package/concepts/en/Tool-Read.md +41 -0
- package/concepts/en/Tool-Skill.md +35 -0
- package/concepts/en/Tool-Task.md +53 -0
- package/concepts/en/Tool-TaskCreate.md +38 -0
- package/concepts/en/Tool-TaskGet.md +35 -0
- package/concepts/en/Tool-TaskList.md +36 -0
- package/concepts/en/Tool-TaskOutput.md +34 -0
- package/concepts/en/Tool-TaskStop.md +27 -0
- package/concepts/en/Tool-TaskUpdate.md +49 -0
- package/concepts/en/Tool-WebFetch.md +36 -0
- package/concepts/en/Tool-WebSearch.md +32 -0
- package/concepts/en/Tool-Write.md +32 -0
- package/concepts/en/Tool-executeCode.md +33 -0
- package/concepts/en/Tool-getDiagnostics.md +32 -0
- package/concepts/en/Tools.md +73 -0
- package/concepts/en/TranslateContextPollution.md +46 -0
- package/concepts/es/BodyDiffJSON.md +32 -0
- package/concepts/es/CacheRebuild.md +40 -0
- package/concepts/es/MainAgent.md +30 -0
- package/concepts/es/Tool-AskUserQuestion.md +54 -0
- package/concepts/es/Tool-Bash.md +47 -0
- package/concepts/es/Tool-Edit.md +38 -0
- package/concepts/es/Tool-EnterPlanMode.md +43 -0
- package/concepts/es/Tool-ExitPlanMode.md +39 -0
- package/concepts/es/Tool-Glob.md +34 -0
- package/concepts/es/Tool-Grep.md +47 -0
- package/concepts/es/Tool-NotebookEdit.md +33 -0
- package/concepts/es/Tool-Read.md +41 -0
- package/concepts/es/Tool-Skill.md +35 -0
- package/concepts/es/Tool-Task.md +53 -0
- package/concepts/es/Tool-TaskCreate.md +38 -0
- package/concepts/es/Tool-TaskGet.md +35 -0
- package/concepts/es/Tool-TaskList.md +36 -0
- package/concepts/es/Tool-TaskOutput.md +34 -0
- package/concepts/es/Tool-TaskStop.md +27 -0
- package/concepts/es/Tool-TaskUpdate.md +49 -0
- package/concepts/es/Tool-WebFetch.md +36 -0
- package/concepts/es/Tool-WebSearch.md +32 -0
- package/concepts/es/Tool-Write.md +32 -0
- package/concepts/es/Tool-executeCode.md +33 -0
- package/concepts/es/Tool-getDiagnostics.md +32 -0
- package/concepts/es/Tools.md +73 -0
- package/concepts/es/TranslateContextPollution.md +46 -0
- package/concepts/fr/BodyDiffJSON.md +32 -0
- package/concepts/fr/CacheRebuild.md +40 -0
- package/concepts/fr/MainAgent.md +30 -0
- package/concepts/fr/Tool-AskUserQuestion.md +54 -0
- package/concepts/fr/Tool-Bash.md +47 -0
- package/concepts/fr/Tool-Edit.md +38 -0
- package/concepts/fr/Tool-EnterPlanMode.md +43 -0
- package/concepts/fr/Tool-ExitPlanMode.md +39 -0
- package/concepts/fr/Tool-Glob.md +34 -0
- package/concepts/fr/Tool-Grep.md +47 -0
- package/concepts/fr/Tool-NotebookEdit.md +33 -0
- package/concepts/fr/Tool-Read.md +41 -0
- package/concepts/fr/Tool-Skill.md +35 -0
- package/concepts/fr/Tool-Task.md +53 -0
- package/concepts/fr/Tool-TaskCreate.md +38 -0
- package/concepts/fr/Tool-TaskGet.md +35 -0
- package/concepts/fr/Tool-TaskList.md +36 -0
- package/concepts/fr/Tool-TaskOutput.md +34 -0
- package/concepts/fr/Tool-TaskStop.md +27 -0
- package/concepts/fr/Tool-TaskUpdate.md +49 -0
- package/concepts/fr/Tool-WebFetch.md +36 -0
- package/concepts/fr/Tool-WebSearch.md +32 -0
- package/concepts/fr/Tool-Write.md +32 -0
- package/concepts/fr/Tool-executeCode.md +33 -0
- package/concepts/fr/Tool-getDiagnostics.md +32 -0
- package/concepts/fr/Tools.md +73 -0
- package/concepts/fr/TranslateContextPollution.md +46 -0
- package/concepts/it/BodyDiffJSON.md +32 -0
- package/concepts/it/CacheRebuild.md +40 -0
- package/concepts/it/MainAgent.md +30 -0
- package/concepts/it/Tool-AskUserQuestion.md +54 -0
- package/concepts/it/Tool-Bash.md +47 -0
- package/concepts/it/Tool-Edit.md +38 -0
- package/concepts/it/Tool-EnterPlanMode.md +43 -0
- package/concepts/it/Tool-ExitPlanMode.md +39 -0
- package/concepts/it/Tool-Glob.md +34 -0
- package/concepts/it/Tool-Grep.md +47 -0
- package/concepts/it/Tool-NotebookEdit.md +33 -0
- package/concepts/it/Tool-Read.md +41 -0
- package/concepts/it/Tool-Skill.md +35 -0
- package/concepts/it/Tool-Task.md +53 -0
- package/concepts/it/Tool-TaskCreate.md +38 -0
- package/concepts/it/Tool-TaskGet.md +35 -0
- package/concepts/it/Tool-TaskList.md +36 -0
- package/concepts/it/Tool-TaskOutput.md +34 -0
- package/concepts/it/Tool-TaskStop.md +27 -0
- package/concepts/it/Tool-TaskUpdate.md +49 -0
- package/concepts/it/Tool-WebFetch.md +36 -0
- package/concepts/it/Tool-WebSearch.md +32 -0
- package/concepts/it/Tool-Write.md +32 -0
- package/concepts/it/Tool-executeCode.md +33 -0
- package/concepts/it/Tool-getDiagnostics.md +32 -0
- package/concepts/it/Tools.md +73 -0
- package/concepts/it/TranslateContextPollution.md +46 -0
- package/concepts/ja/BodyDiffJSON.md +32 -0
- package/concepts/ja/CacheRebuild.md +40 -0
- package/concepts/ja/MainAgent.md +30 -0
- package/concepts/ja/Tool-AskUserQuestion.md +54 -0
- package/concepts/ja/Tool-Bash.md +47 -0
- package/concepts/ja/Tool-Edit.md +38 -0
- package/concepts/ja/Tool-EnterPlanMode.md +43 -0
- package/concepts/ja/Tool-ExitPlanMode.md +39 -0
- package/concepts/ja/Tool-Glob.md +34 -0
- package/concepts/ja/Tool-Grep.md +47 -0
- package/concepts/ja/Tool-NotebookEdit.md +33 -0
- package/concepts/ja/Tool-Read.md +41 -0
- package/concepts/ja/Tool-Skill.md +35 -0
- package/concepts/ja/Tool-Task.md +53 -0
- package/concepts/ja/Tool-TaskCreate.md +38 -0
- package/concepts/ja/Tool-TaskGet.md +35 -0
- package/concepts/ja/Tool-TaskList.md +36 -0
- package/concepts/ja/Tool-TaskOutput.md +34 -0
- package/concepts/ja/Tool-TaskStop.md +27 -0
- package/concepts/ja/Tool-TaskUpdate.md +49 -0
- package/concepts/ja/Tool-WebFetch.md +36 -0
- package/concepts/ja/Tool-WebSearch.md +32 -0
- package/concepts/ja/Tool-Write.md +32 -0
- package/concepts/ja/Tool-executeCode.md +33 -0
- package/concepts/ja/Tool-getDiagnostics.md +32 -0
- package/concepts/ja/Tools.md +73 -0
- package/concepts/ja/TranslateContextPollution.md +46 -0
- package/concepts/ko/BodyDiffJSON.md +32 -0
- package/concepts/ko/CacheRebuild.md +40 -0
- package/concepts/ko/MainAgent.md +30 -0
- package/concepts/ko/Tool-AskUserQuestion.md +54 -0
- package/concepts/ko/Tool-Bash.md +47 -0
- package/concepts/ko/Tool-Edit.md +38 -0
- package/concepts/ko/Tool-EnterPlanMode.md +43 -0
- package/concepts/ko/Tool-ExitPlanMode.md +39 -0
- package/concepts/ko/Tool-Glob.md +34 -0
- package/concepts/ko/Tool-Grep.md +47 -0
- package/concepts/ko/Tool-NotebookEdit.md +33 -0
- package/concepts/ko/Tool-Read.md +41 -0
- package/concepts/ko/Tool-Skill.md +35 -0
- package/concepts/ko/Tool-Task.md +53 -0
- package/concepts/ko/Tool-TaskCreate.md +38 -0
- package/concepts/ko/Tool-TaskGet.md +35 -0
- package/concepts/ko/Tool-TaskList.md +36 -0
- package/concepts/ko/Tool-TaskOutput.md +34 -0
- package/concepts/ko/Tool-TaskStop.md +27 -0
- package/concepts/ko/Tool-TaskUpdate.md +49 -0
- package/concepts/ko/Tool-WebFetch.md +36 -0
- package/concepts/ko/Tool-WebSearch.md +32 -0
- package/concepts/ko/Tool-Write.md +32 -0
- package/concepts/ko/Tool-executeCode.md +33 -0
- package/concepts/ko/Tool-getDiagnostics.md +32 -0
- package/concepts/ko/Tools.md +73 -0
- package/concepts/ko/TranslateContextPollution.md +46 -0
- package/concepts/no/BodyDiffJSON.md +32 -0
- package/concepts/no/CacheRebuild.md +40 -0
- package/concepts/no/MainAgent.md +30 -0
- package/concepts/no/Tool-AskUserQuestion.md +54 -0
- package/concepts/no/Tool-Bash.md +47 -0
- package/concepts/no/Tool-Edit.md +38 -0
- package/concepts/no/Tool-EnterPlanMode.md +43 -0
- package/concepts/no/Tool-ExitPlanMode.md +39 -0
- package/concepts/no/Tool-Glob.md +34 -0
- package/concepts/no/Tool-Grep.md +47 -0
- package/concepts/no/Tool-NotebookEdit.md +33 -0
- package/concepts/no/Tool-Read.md +41 -0
- package/concepts/no/Tool-Skill.md +35 -0
- package/concepts/no/Tool-Task.md +53 -0
- package/concepts/no/Tool-TaskCreate.md +38 -0
- package/concepts/no/Tool-TaskGet.md +35 -0
- package/concepts/no/Tool-TaskList.md +36 -0
- package/concepts/no/Tool-TaskOutput.md +34 -0
- package/concepts/no/Tool-TaskStop.md +27 -0
- package/concepts/no/Tool-TaskUpdate.md +49 -0
- package/concepts/no/Tool-WebFetch.md +36 -0
- package/concepts/no/Tool-WebSearch.md +32 -0
- package/concepts/no/Tool-Write.md +32 -0
- package/concepts/no/Tool-executeCode.md +33 -0
- package/concepts/no/Tool-getDiagnostics.md +32 -0
- package/concepts/no/Tools.md +73 -0
- package/concepts/no/TranslateContextPollution.md +46 -0
- package/concepts/pl/BodyDiffJSON.md +32 -0
- package/concepts/pl/CacheRebuild.md +40 -0
- package/concepts/pl/MainAgent.md +30 -0
- package/concepts/pl/Tool-AskUserQuestion.md +54 -0
- package/concepts/pl/Tool-Bash.md +47 -0
- package/concepts/pl/Tool-Edit.md +38 -0
- package/concepts/pl/Tool-EnterPlanMode.md +43 -0
- package/concepts/pl/Tool-ExitPlanMode.md +39 -0
- package/concepts/pl/Tool-Glob.md +34 -0
- package/concepts/pl/Tool-Grep.md +47 -0
- package/concepts/pl/Tool-NotebookEdit.md +33 -0
- package/concepts/pl/Tool-Read.md +41 -0
- package/concepts/pl/Tool-Skill.md +35 -0
- package/concepts/pl/Tool-Task.md +53 -0
- package/concepts/pl/Tool-TaskCreate.md +38 -0
- package/concepts/pl/Tool-TaskGet.md +35 -0
- package/concepts/pl/Tool-TaskList.md +36 -0
- package/concepts/pl/Tool-TaskOutput.md +34 -0
- package/concepts/pl/Tool-TaskStop.md +27 -0
- package/concepts/pl/Tool-TaskUpdate.md +49 -0
- package/concepts/pl/Tool-WebFetch.md +36 -0
- package/concepts/pl/Tool-WebSearch.md +32 -0
- package/concepts/pl/Tool-Write.md +32 -0
- package/concepts/pl/Tool-executeCode.md +33 -0
- package/concepts/pl/Tool-getDiagnostics.md +32 -0
- package/concepts/pl/Tools.md +73 -0
- package/concepts/pl/TranslateContextPollution.md +46 -0
- package/concepts/pt-BR/BodyDiffJSON.md +32 -0
- package/concepts/pt-BR/CacheRebuild.md +40 -0
- package/concepts/pt-BR/MainAgent.md +30 -0
- package/concepts/pt-BR/Tool-AskUserQuestion.md +54 -0
- package/concepts/pt-BR/Tool-Bash.md +47 -0
- package/concepts/pt-BR/Tool-Edit.md +38 -0
- package/concepts/pt-BR/Tool-EnterPlanMode.md +43 -0
- package/concepts/pt-BR/Tool-ExitPlanMode.md +39 -0
- package/concepts/pt-BR/Tool-Glob.md +34 -0
- package/concepts/pt-BR/Tool-Grep.md +47 -0
- package/concepts/pt-BR/Tool-NotebookEdit.md +33 -0
- package/concepts/pt-BR/Tool-Read.md +41 -0
- package/concepts/pt-BR/Tool-Skill.md +35 -0
- package/concepts/pt-BR/Tool-Task.md +53 -0
- package/concepts/pt-BR/Tool-TaskCreate.md +38 -0
- package/concepts/pt-BR/Tool-TaskGet.md +35 -0
- package/concepts/pt-BR/Tool-TaskList.md +36 -0
- package/concepts/pt-BR/Tool-TaskOutput.md +34 -0
- package/concepts/pt-BR/Tool-TaskStop.md +27 -0
- package/concepts/pt-BR/Tool-TaskUpdate.md +49 -0
- package/concepts/pt-BR/Tool-WebFetch.md +36 -0
- package/concepts/pt-BR/Tool-WebSearch.md +32 -0
- package/concepts/pt-BR/Tool-Write.md +32 -0
- package/concepts/pt-BR/Tool-executeCode.md +33 -0
- package/concepts/pt-BR/Tool-getDiagnostics.md +32 -0
- package/concepts/pt-BR/Tools.md +73 -0
- package/concepts/pt-BR/TranslateContextPollution.md +46 -0
- package/concepts/ru/BodyDiffJSON.md +32 -0
- package/concepts/ru/CacheRebuild.md +40 -0
- package/concepts/ru/MainAgent.md +30 -0
- package/concepts/ru/Tool-AskUserQuestion.md +54 -0
- package/concepts/ru/Tool-Bash.md +47 -0
- package/concepts/ru/Tool-Edit.md +38 -0
- package/concepts/ru/Tool-EnterPlanMode.md +43 -0
- package/concepts/ru/Tool-ExitPlanMode.md +39 -0
- package/concepts/ru/Tool-Glob.md +34 -0
- package/concepts/ru/Tool-Grep.md +47 -0
- package/concepts/ru/Tool-NotebookEdit.md +33 -0
- package/concepts/ru/Tool-Read.md +41 -0
- package/concepts/ru/Tool-Skill.md +35 -0
- package/concepts/ru/Tool-Task.md +53 -0
- package/concepts/ru/Tool-TaskCreate.md +38 -0
- package/concepts/ru/Tool-TaskGet.md +35 -0
- package/concepts/ru/Tool-TaskList.md +36 -0
- package/concepts/ru/Tool-TaskOutput.md +34 -0
- package/concepts/ru/Tool-TaskStop.md +27 -0
- package/concepts/ru/Tool-TaskUpdate.md +49 -0
- package/concepts/ru/Tool-WebFetch.md +36 -0
- package/concepts/ru/Tool-WebSearch.md +32 -0
- package/concepts/ru/Tool-Write.md +32 -0
- package/concepts/ru/Tool-executeCode.md +33 -0
- package/concepts/ru/Tool-getDiagnostics.md +32 -0
- package/concepts/ru/Tools.md +73 -0
- package/concepts/ru/TranslateContextPollution.md +46 -0
- package/concepts/th/BodyDiffJSON.md +32 -0
- package/concepts/th/CacheRebuild.md +40 -0
- package/concepts/th/MainAgent.md +30 -0
- package/concepts/th/Tool-AskUserQuestion.md +54 -0
- package/concepts/th/Tool-Bash.md +47 -0
- package/concepts/th/Tool-Edit.md +38 -0
- package/concepts/th/Tool-EnterPlanMode.md +43 -0
- package/concepts/th/Tool-ExitPlanMode.md +39 -0
- package/concepts/th/Tool-Glob.md +34 -0
- package/concepts/th/Tool-Grep.md +47 -0
- package/concepts/th/Tool-NotebookEdit.md +33 -0
- package/concepts/th/Tool-Read.md +41 -0
- package/concepts/th/Tool-Skill.md +35 -0
- package/concepts/th/Tool-Task.md +53 -0
- package/concepts/th/Tool-TaskCreate.md +38 -0
- package/concepts/th/Tool-TaskGet.md +35 -0
- package/concepts/th/Tool-TaskList.md +36 -0
- package/concepts/th/Tool-TaskOutput.md +34 -0
- package/concepts/th/Tool-TaskStop.md +27 -0
- package/concepts/th/Tool-TaskUpdate.md +49 -0
- package/concepts/th/Tool-WebFetch.md +36 -0
- package/concepts/th/Tool-WebSearch.md +32 -0
- package/concepts/th/Tool-Write.md +32 -0
- package/concepts/th/Tool-executeCode.md +33 -0
- package/concepts/th/Tool-getDiagnostics.md +32 -0
- package/concepts/th/Tools.md +73 -0
- package/concepts/th/TranslateContextPollution.md +46 -0
- package/concepts/tr/BodyDiffJSON.md +32 -0
- package/concepts/tr/CacheRebuild.md +40 -0
- package/concepts/tr/MainAgent.md +30 -0
- package/concepts/tr/Tool-AskUserQuestion.md +54 -0
- package/concepts/tr/Tool-Bash.md +47 -0
- package/concepts/tr/Tool-Edit.md +38 -0
- package/concepts/tr/Tool-EnterPlanMode.md +43 -0
- package/concepts/tr/Tool-ExitPlanMode.md +39 -0
- package/concepts/tr/Tool-Glob.md +34 -0
- package/concepts/tr/Tool-Grep.md +47 -0
- package/concepts/tr/Tool-NotebookEdit.md +33 -0
- package/concepts/tr/Tool-Read.md +41 -0
- package/concepts/tr/Tool-Skill.md +35 -0
- package/concepts/tr/Tool-Task.md +53 -0
- package/concepts/tr/Tool-TaskCreate.md +38 -0
- package/concepts/tr/Tool-TaskGet.md +35 -0
- package/concepts/tr/Tool-TaskList.md +36 -0
- package/concepts/tr/Tool-TaskOutput.md +34 -0
- package/concepts/tr/Tool-TaskStop.md +27 -0
- package/concepts/tr/Tool-TaskUpdate.md +49 -0
- package/concepts/tr/Tool-WebFetch.md +36 -0
- package/concepts/tr/Tool-WebSearch.md +32 -0
- package/concepts/tr/Tool-Write.md +32 -0
- package/concepts/tr/Tool-executeCode.md +33 -0
- package/concepts/tr/Tool-getDiagnostics.md +32 -0
- package/concepts/tr/Tools.md +73 -0
- package/concepts/tr/TranslateContextPollution.md +46 -0
- package/concepts/uk/BodyDiffJSON.md +32 -0
- package/concepts/uk/CacheRebuild.md +40 -0
- package/concepts/uk/MainAgent.md +30 -0
- package/concepts/uk/Tool-AskUserQuestion.md +54 -0
- package/concepts/uk/Tool-Bash.md +47 -0
- package/concepts/uk/Tool-Edit.md +38 -0
- package/concepts/uk/Tool-EnterPlanMode.md +43 -0
- package/concepts/uk/Tool-ExitPlanMode.md +39 -0
- package/concepts/uk/Tool-Glob.md +34 -0
- package/concepts/uk/Tool-Grep.md +47 -0
- package/concepts/uk/Tool-NotebookEdit.md +33 -0
- package/concepts/uk/Tool-Read.md +41 -0
- package/concepts/uk/Tool-Skill.md +35 -0
- package/concepts/uk/Tool-Task.md +53 -0
- package/concepts/uk/Tool-TaskCreate.md +38 -0
- package/concepts/uk/Tool-TaskGet.md +35 -0
- package/concepts/uk/Tool-TaskList.md +36 -0
- package/concepts/uk/Tool-TaskOutput.md +34 -0
- package/concepts/uk/Tool-TaskStop.md +27 -0
- package/concepts/uk/Tool-TaskUpdate.md +49 -0
- package/concepts/uk/Tool-WebFetch.md +36 -0
- package/concepts/uk/Tool-WebSearch.md +32 -0
- package/concepts/uk/Tool-Write.md +32 -0
- package/concepts/uk/Tool-executeCode.md +33 -0
- package/concepts/uk/Tool-getDiagnostics.md +32 -0
- package/concepts/uk/Tools.md +73 -0
- package/concepts/uk/TranslateContextPollution.md +46 -0
- package/concepts/zh/BodyDiffJSON.md +32 -0
- package/concepts/zh/CacheRebuild.md +40 -0
- package/concepts/zh/MainAgent.md +30 -0
- package/concepts/zh/Tool-AskUserQuestion.md +54 -0
- package/concepts/zh/Tool-Bash.md +47 -0
- package/concepts/zh/Tool-Edit.md +38 -0
- package/concepts/zh/Tool-EnterPlanMode.md +43 -0
- package/concepts/zh/Tool-ExitPlanMode.md +39 -0
- package/concepts/zh/Tool-Glob.md +34 -0
- package/concepts/zh/Tool-Grep.md +47 -0
- package/concepts/zh/Tool-NotebookEdit.md +33 -0
- package/concepts/zh/Tool-Read.md +41 -0
- package/concepts/zh/Tool-Skill.md +35 -0
- package/concepts/zh/Tool-Task.md +53 -0
- package/concepts/zh/Tool-TaskCreate.md +38 -0
- package/concepts/zh/Tool-TaskGet.md +35 -0
- package/concepts/zh/Tool-TaskList.md +36 -0
- package/concepts/zh/Tool-TaskOutput.md +34 -0
- package/concepts/zh/Tool-TaskStop.md +27 -0
- package/concepts/zh/Tool-TaskUpdate.md +49 -0
- package/concepts/zh/Tool-WebFetch.md +36 -0
- package/concepts/zh/Tool-WebSearch.md +32 -0
- package/concepts/zh/Tool-Write.md +32 -0
- package/concepts/zh/Tool-executeCode.md +33 -0
- package/concepts/zh/Tool-getDiagnostics.md +32 -0
- package/concepts/zh/Tools.md +73 -0
- package/concepts/zh/TranslateContextPollution.md +47 -0
- package/concepts/zh-TW/BodyDiffJSON.md +32 -0
- package/concepts/zh-TW/CacheRebuild.md +40 -0
- package/concepts/zh-TW/MainAgent.md +30 -0
- package/concepts/zh-TW/Tool-AskUserQuestion.md +54 -0
- package/concepts/zh-TW/Tool-Bash.md +47 -0
- package/concepts/zh-TW/Tool-Edit.md +38 -0
- package/concepts/zh-TW/Tool-EnterPlanMode.md +43 -0
- package/concepts/zh-TW/Tool-ExitPlanMode.md +39 -0
- package/concepts/zh-TW/Tool-Glob.md +34 -0
- package/concepts/zh-TW/Tool-Grep.md +47 -0
- package/concepts/zh-TW/Tool-NotebookEdit.md +33 -0
- package/concepts/zh-TW/Tool-Read.md +41 -0
- package/concepts/zh-TW/Tool-Skill.md +35 -0
- package/concepts/zh-TW/Tool-Task.md +53 -0
- package/concepts/zh-TW/Tool-TaskCreate.md +38 -0
- package/concepts/zh-TW/Tool-TaskGet.md +35 -0
- package/concepts/zh-TW/Tool-TaskList.md +36 -0
- package/concepts/zh-TW/Tool-TaskOutput.md +34 -0
- package/concepts/zh-TW/Tool-TaskStop.md +27 -0
- package/concepts/zh-TW/Tool-TaskUpdate.md +49 -0
- package/concepts/zh-TW/Tool-WebFetch.md +36 -0
- package/concepts/zh-TW/Tool-WebSearch.md +32 -0
- package/concepts/zh-TW/Tool-Write.md +32 -0
- package/concepts/zh-TW/Tool-executeCode.md +33 -0
- package/concepts/zh-TW/Tool-getDiagnostics.md +32 -0
- package/concepts/zh-TW/Tools.md +73 -0
- package/concepts/zh-TW/TranslateContextPollution.md +46 -0
- package/dist/assets/{index-DjCjusqk.js → index-CSuPDSgh.js} +45 -45
- package/dist/index.html +1 -1
- package/interceptor.js +19 -4
- package/package.json +3 -2
- 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"
|