cx-viewer 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/README.md +221 -0
- package/cli.js +735 -0
- package/concepts/ar/BodyDiffJSON.md +32 -0
- package/concepts/ar/BodyFields.md +42 -0
- package/concepts/ar/CacheRebuild.md +36 -0
- package/concepts/ar/GlobalSettings.md +232 -0
- package/concepts/ar/KVCacheContent.md +49 -0
- package/concepts/ar/MainAgent.md +23 -0
- package/concepts/ar/ProxySwitch.md +50 -0
- package/concepts/ar/QRCode.md +25 -0
- package/concepts/ar/ResponseFields.md +50 -0
- package/concepts/ar/SubAgent-Search.md +20 -0
- package/concepts/ar/Teammate.md +26 -0
- package/concepts/ar/Tool-Agent.md +125 -0
- package/concepts/ar/Tool-AskUserQuestion.md +75 -0
- package/concepts/ar/Tool-Bash.md +167 -0
- package/concepts/ar/Tool-Edit.md +46 -0
- package/concepts/ar/Tool-EnterPlanMode.md +128 -0
- package/concepts/ar/Tool-EnterWorktree.md +56 -0
- package/concepts/ar/Tool-ExitPlanMode.md +62 -0
- package/concepts/ar/Tool-Glob.md +39 -0
- package/concepts/ar/Tool-Grep.md +57 -0
- package/concepts/ar/Tool-NotebookEdit.md +33 -0
- package/concepts/ar/Tool-Read.md +56 -0
- package/concepts/ar/Tool-SendMessage.md +41 -0
- package/concepts/ar/Tool-Skill.md +56 -0
- package/concepts/ar/Tool-Task.md +51 -0
- package/concepts/ar/Tool-TaskCreate.md +78 -0
- package/concepts/ar/Tool-TaskGet.md +56 -0
- package/concepts/ar/Tool-TaskList.md +56 -0
- package/concepts/ar/Tool-TaskOutput.md +40 -0
- package/concepts/ar/Tool-TaskStop.md +32 -0
- package/concepts/ar/Tool-TaskUpdate.md +123 -0
- package/concepts/ar/Tool-TeamCreate.md +38 -0
- package/concepts/ar/Tool-TeamDelete.md +30 -0
- package/concepts/ar/Tool-WebFetch.md +55 -0
- package/concepts/ar/Tool-WebSearch.md +58 -0
- package/concepts/ar/Tool-Write.md +39 -0
- package/concepts/ar/Tool-executeCode.md +41 -0
- package/concepts/ar/Tool-getDiagnostics.md +32 -0
- package/concepts/ar/Tools.md +67 -0
- package/concepts/ar/ToolsFirst.md +77 -0
- package/concepts/ar/TranslateContextPollution.md +46 -0
- package/concepts/ar/UltraPlan.md +55 -0
- package/concepts/da/BodyDiffJSON.md +32 -0
- package/concepts/da/BodyFields.md +42 -0
- package/concepts/da/CacheRebuild.md +36 -0
- package/concepts/da/GlobalSettings.md +232 -0
- package/concepts/da/KVCacheContent.md +49 -0
- package/concepts/da/MainAgent.md +23 -0
- package/concepts/da/ProxySwitch.md +50 -0
- package/concepts/da/QRCode.md +25 -0
- package/concepts/da/ResponseFields.md +50 -0
- package/concepts/da/SubAgent-Search.md +20 -0
- package/concepts/da/Teammate.md +26 -0
- package/concepts/da/Tool-Agent.md +125 -0
- package/concepts/da/Tool-AskUserQuestion.md +75 -0
- package/concepts/da/Tool-Bash.md +167 -0
- package/concepts/da/Tool-Edit.md +46 -0
- package/concepts/da/Tool-EnterPlanMode.md +128 -0
- package/concepts/da/Tool-EnterWorktree.md +56 -0
- package/concepts/da/Tool-ExitPlanMode.md +62 -0
- package/concepts/da/Tool-Glob.md +39 -0
- package/concepts/da/Tool-Grep.md +57 -0
- package/concepts/da/Tool-NotebookEdit.md +33 -0
- package/concepts/da/Tool-Read.md +56 -0
- package/concepts/da/Tool-SendMessage.md +41 -0
- package/concepts/da/Tool-Skill.md +56 -0
- package/concepts/da/Tool-Task.md +51 -0
- package/concepts/da/Tool-TaskCreate.md +78 -0
- package/concepts/da/Tool-TaskGet.md +56 -0
- package/concepts/da/Tool-TaskList.md +56 -0
- package/concepts/da/Tool-TaskOutput.md +40 -0
- package/concepts/da/Tool-TaskStop.md +32 -0
- package/concepts/da/Tool-TaskUpdate.md +123 -0
- package/concepts/da/Tool-TeamCreate.md +38 -0
- package/concepts/da/Tool-TeamDelete.md +30 -0
- package/concepts/da/Tool-WebFetch.md +55 -0
- package/concepts/da/Tool-WebSearch.md +58 -0
- package/concepts/da/Tool-Write.md +39 -0
- package/concepts/da/Tool-executeCode.md +41 -0
- package/concepts/da/Tool-getDiagnostics.md +32 -0
- package/concepts/da/Tools.md +67 -0
- package/concepts/da/ToolsFirst.md +77 -0
- package/concepts/da/TranslateContextPollution.md +46 -0
- package/concepts/da/UltraPlan.md +55 -0
- package/concepts/de/BodyDiffJSON.md +32 -0
- package/concepts/de/BodyFields.md +42 -0
- package/concepts/de/CacheRebuild.md +36 -0
- package/concepts/de/GlobalSettings.md +232 -0
- package/concepts/de/KVCacheContent.md +49 -0
- package/concepts/de/MainAgent.md +23 -0
- package/concepts/de/ProxySwitch.md +50 -0
- package/concepts/de/QRCode.md +25 -0
- package/concepts/de/ResponseFields.md +50 -0
- package/concepts/de/SubAgent-Search.md +20 -0
- package/concepts/de/Teammate.md +26 -0
- package/concepts/de/Tool-Agent.md +125 -0
- package/concepts/de/Tool-AskUserQuestion.md +75 -0
- package/concepts/de/Tool-Bash.md +167 -0
- package/concepts/de/Tool-Edit.md +46 -0
- package/concepts/de/Tool-EnterPlanMode.md +128 -0
- package/concepts/de/Tool-EnterWorktree.md +56 -0
- package/concepts/de/Tool-ExitPlanMode.md +62 -0
- package/concepts/de/Tool-Glob.md +39 -0
- package/concepts/de/Tool-Grep.md +57 -0
- package/concepts/de/Tool-NotebookEdit.md +33 -0
- package/concepts/de/Tool-Read.md +56 -0
- package/concepts/de/Tool-SendMessage.md +41 -0
- package/concepts/de/Tool-Skill.md +56 -0
- package/concepts/de/Tool-Task.md +51 -0
- package/concepts/de/Tool-TaskCreate.md +78 -0
- package/concepts/de/Tool-TaskGet.md +56 -0
- package/concepts/de/Tool-TaskList.md +56 -0
- package/concepts/de/Tool-TaskOutput.md +40 -0
- package/concepts/de/Tool-TaskStop.md +32 -0
- package/concepts/de/Tool-TaskUpdate.md +123 -0
- package/concepts/de/Tool-TeamCreate.md +38 -0
- package/concepts/de/Tool-TeamDelete.md +30 -0
- package/concepts/de/Tool-WebFetch.md +55 -0
- package/concepts/de/Tool-WebSearch.md +58 -0
- package/concepts/de/Tool-Write.md +39 -0
- package/concepts/de/Tool-executeCode.md +41 -0
- package/concepts/de/Tool-getDiagnostics.md +32 -0
- package/concepts/de/Tools.md +67 -0
- package/concepts/de/ToolsFirst.md +77 -0
- package/concepts/de/TranslateContextPollution.md +46 -0
- package/concepts/de/UltraPlan.md +55 -0
- package/concepts/en/BodyDiffJSON.md +32 -0
- package/concepts/en/BodyFields.md +42 -0
- package/concepts/en/CacheRebuild.md +36 -0
- package/concepts/en/GlobalSettings.md +232 -0
- package/concepts/en/KVCacheContent.md +49 -0
- package/concepts/en/MainAgent.md +23 -0
- package/concepts/en/ProxySwitch.md +50 -0
- package/concepts/en/QRCode.md +29 -0
- package/concepts/en/ResponseFields.md +50 -0
- package/concepts/en/SubAgent-Search.md +20 -0
- package/concepts/en/Teammate.md +26 -0
- package/concepts/en/Tool-Agent.md +125 -0
- package/concepts/en/Tool-AskUserQuestion.md +75 -0
- package/concepts/en/Tool-Bash.md +167 -0
- package/concepts/en/Tool-Edit.md +46 -0
- package/concepts/en/Tool-EnterPlanMode.md +128 -0
- package/concepts/en/Tool-EnterWorktree.md +56 -0
- package/concepts/en/Tool-ExitPlanMode.md +62 -0
- package/concepts/en/Tool-Glob.md +39 -0
- package/concepts/en/Tool-Grep.md +57 -0
- package/concepts/en/Tool-NotebookEdit.md +33 -0
- package/concepts/en/Tool-Read.md +56 -0
- package/concepts/en/Tool-SendMessage.md +41 -0
- package/concepts/en/Tool-Skill.md +56 -0
- package/concepts/en/Tool-Task.md +51 -0
- package/concepts/en/Tool-TaskCreate.md +78 -0
- package/concepts/en/Tool-TaskGet.md +56 -0
- package/concepts/en/Tool-TaskList.md +56 -0
- package/concepts/en/Tool-TaskOutput.md +40 -0
- package/concepts/en/Tool-TaskStop.md +32 -0
- package/concepts/en/Tool-TaskUpdate.md +123 -0
- package/concepts/en/Tool-TeamCreate.md +38 -0
- package/concepts/en/Tool-TeamDelete.md +30 -0
- package/concepts/en/Tool-WebFetch.md +55 -0
- package/concepts/en/Tool-WebSearch.md +58 -0
- package/concepts/en/Tool-Write.md +39 -0
- package/concepts/en/Tool-executeCode.md +41 -0
- package/concepts/en/Tool-getDiagnostics.md +32 -0
- package/concepts/en/Tools.md +67 -0
- package/concepts/en/ToolsFirst.md +77 -0
- package/concepts/en/TranslateContextPollution.md +46 -0
- package/concepts/en/UltraPlan.md +55 -0
- package/concepts/es/BodyDiffJSON.md +32 -0
- package/concepts/es/BodyFields.md +42 -0
- package/concepts/es/CacheRebuild.md +36 -0
- package/concepts/es/GlobalSettings.md +232 -0
- package/concepts/es/KVCacheContent.md +49 -0
- package/concepts/es/MainAgent.md +23 -0
- package/concepts/es/ProxySwitch.md +50 -0
- package/concepts/es/QRCode.md +25 -0
- package/concepts/es/ResponseFields.md +50 -0
- package/concepts/es/SubAgent-Search.md +20 -0
- package/concepts/es/Teammate.md +26 -0
- package/concepts/es/Tool-Agent.md +125 -0
- package/concepts/es/Tool-AskUserQuestion.md +75 -0
- package/concepts/es/Tool-Bash.md +167 -0
- package/concepts/es/Tool-Edit.md +46 -0
- package/concepts/es/Tool-EnterPlanMode.md +128 -0
- package/concepts/es/Tool-EnterWorktree.md +56 -0
- package/concepts/es/Tool-ExitPlanMode.md +62 -0
- package/concepts/es/Tool-Glob.md +39 -0
- package/concepts/es/Tool-Grep.md +57 -0
- package/concepts/es/Tool-NotebookEdit.md +33 -0
- package/concepts/es/Tool-Read.md +56 -0
- package/concepts/es/Tool-SendMessage.md +41 -0
- package/concepts/es/Tool-Skill.md +56 -0
- package/concepts/es/Tool-Task.md +51 -0
- package/concepts/es/Tool-TaskCreate.md +78 -0
- package/concepts/es/Tool-TaskGet.md +56 -0
- package/concepts/es/Tool-TaskList.md +56 -0
- package/concepts/es/Tool-TaskOutput.md +40 -0
- package/concepts/es/Tool-TaskStop.md +32 -0
- package/concepts/es/Tool-TaskUpdate.md +123 -0
- package/concepts/es/Tool-TeamCreate.md +38 -0
- package/concepts/es/Tool-TeamDelete.md +30 -0
- package/concepts/es/Tool-WebFetch.md +55 -0
- package/concepts/es/Tool-WebSearch.md +58 -0
- package/concepts/es/Tool-Write.md +39 -0
- package/concepts/es/Tool-executeCode.md +41 -0
- package/concepts/es/Tool-getDiagnostics.md +32 -0
- package/concepts/es/Tools.md +67 -0
- package/concepts/es/ToolsFirst.md +77 -0
- package/concepts/es/TranslateContextPollution.md +46 -0
- package/concepts/es/UltraPlan.md +55 -0
- package/concepts/fr/BodyDiffJSON.md +32 -0
- package/concepts/fr/BodyFields.md +42 -0
- package/concepts/fr/CacheRebuild.md +36 -0
- package/concepts/fr/GlobalSettings.md +232 -0
- package/concepts/fr/KVCacheContent.md +49 -0
- package/concepts/fr/MainAgent.md +23 -0
- package/concepts/fr/ProxySwitch.md +50 -0
- package/concepts/fr/QRCode.md +25 -0
- package/concepts/fr/ResponseFields.md +50 -0
- package/concepts/fr/SubAgent-Search.md +20 -0
- package/concepts/fr/Teammate.md +26 -0
- package/concepts/fr/Tool-Agent.md +125 -0
- package/concepts/fr/Tool-AskUserQuestion.md +75 -0
- package/concepts/fr/Tool-Bash.md +167 -0
- package/concepts/fr/Tool-Edit.md +46 -0
- package/concepts/fr/Tool-EnterPlanMode.md +128 -0
- package/concepts/fr/Tool-EnterWorktree.md +56 -0
- package/concepts/fr/Tool-ExitPlanMode.md +62 -0
- package/concepts/fr/Tool-Glob.md +39 -0
- package/concepts/fr/Tool-Grep.md +57 -0
- package/concepts/fr/Tool-NotebookEdit.md +33 -0
- package/concepts/fr/Tool-Read.md +56 -0
- package/concepts/fr/Tool-SendMessage.md +41 -0
- package/concepts/fr/Tool-Skill.md +56 -0
- package/concepts/fr/Tool-Task.md +51 -0
- package/concepts/fr/Tool-TaskCreate.md +78 -0
- package/concepts/fr/Tool-TaskGet.md +56 -0
- package/concepts/fr/Tool-TaskList.md +56 -0
- package/concepts/fr/Tool-TaskOutput.md +40 -0
- package/concepts/fr/Tool-TaskStop.md +32 -0
- package/concepts/fr/Tool-TaskUpdate.md +123 -0
- package/concepts/fr/Tool-TeamCreate.md +38 -0
- package/concepts/fr/Tool-TeamDelete.md +30 -0
- package/concepts/fr/Tool-WebFetch.md +55 -0
- package/concepts/fr/Tool-WebSearch.md +58 -0
- package/concepts/fr/Tool-Write.md +39 -0
- package/concepts/fr/Tool-executeCode.md +41 -0
- package/concepts/fr/Tool-getDiagnostics.md +32 -0
- package/concepts/fr/Tools.md +67 -0
- package/concepts/fr/ToolsFirst.md +77 -0
- package/concepts/fr/TranslateContextPollution.md +46 -0
- package/concepts/fr/UltraPlan.md +55 -0
- package/concepts/it/BodyDiffJSON.md +32 -0
- package/concepts/it/BodyFields.md +42 -0
- package/concepts/it/CacheRebuild.md +36 -0
- package/concepts/it/GlobalSettings.md +232 -0
- package/concepts/it/KVCacheContent.md +49 -0
- package/concepts/it/MainAgent.md +23 -0
- package/concepts/it/ProxySwitch.md +50 -0
- package/concepts/it/QRCode.md +25 -0
- package/concepts/it/ResponseFields.md +50 -0
- package/concepts/it/SubAgent-Search.md +20 -0
- package/concepts/it/Teammate.md +26 -0
- package/concepts/it/Tool-Agent.md +125 -0
- package/concepts/it/Tool-AskUserQuestion.md +75 -0
- package/concepts/it/Tool-Bash.md +167 -0
- package/concepts/it/Tool-Edit.md +46 -0
- package/concepts/it/Tool-EnterPlanMode.md +128 -0
- package/concepts/it/Tool-EnterWorktree.md +56 -0
- package/concepts/it/Tool-ExitPlanMode.md +62 -0
- package/concepts/it/Tool-Glob.md +39 -0
- package/concepts/it/Tool-Grep.md +57 -0
- package/concepts/it/Tool-NotebookEdit.md +33 -0
- package/concepts/it/Tool-Read.md +56 -0
- package/concepts/it/Tool-SendMessage.md +41 -0
- package/concepts/it/Tool-Skill.md +56 -0
- package/concepts/it/Tool-Task.md +51 -0
- package/concepts/it/Tool-TaskCreate.md +78 -0
- package/concepts/it/Tool-TaskGet.md +56 -0
- package/concepts/it/Tool-TaskList.md +56 -0
- package/concepts/it/Tool-TaskOutput.md +40 -0
- package/concepts/it/Tool-TaskStop.md +32 -0
- package/concepts/it/Tool-TaskUpdate.md +123 -0
- package/concepts/it/Tool-TeamCreate.md +38 -0
- package/concepts/it/Tool-TeamDelete.md +30 -0
- package/concepts/it/Tool-WebFetch.md +55 -0
- package/concepts/it/Tool-WebSearch.md +58 -0
- package/concepts/it/Tool-Write.md +39 -0
- package/concepts/it/Tool-executeCode.md +41 -0
- package/concepts/it/Tool-getDiagnostics.md +32 -0
- package/concepts/it/Tools.md +67 -0
- package/concepts/it/ToolsFirst.md +77 -0
- package/concepts/it/TranslateContextPollution.md +46 -0
- package/concepts/it/UltraPlan.md +55 -0
- package/concepts/ja/BodyDiffJSON.md +32 -0
- package/concepts/ja/BodyFields.md +42 -0
- package/concepts/ja/CacheRebuild.md +36 -0
- package/concepts/ja/GlobalSettings.md +232 -0
- package/concepts/ja/KVCacheContent.md +49 -0
- package/concepts/ja/MainAgent.md +23 -0
- package/concepts/ja/ProxySwitch.md +50 -0
- package/concepts/ja/QRCode.md +25 -0
- package/concepts/ja/ResponseFields.md +50 -0
- package/concepts/ja/SubAgent-Search.md +20 -0
- package/concepts/ja/Teammate.md +26 -0
- package/concepts/ja/Tool-Agent.md +125 -0
- package/concepts/ja/Tool-AskUserQuestion.md +75 -0
- package/concepts/ja/Tool-Bash.md +167 -0
- package/concepts/ja/Tool-Edit.md +46 -0
- package/concepts/ja/Tool-EnterPlanMode.md +128 -0
- package/concepts/ja/Tool-EnterWorktree.md +56 -0
- package/concepts/ja/Tool-ExitPlanMode.md +62 -0
- package/concepts/ja/Tool-Glob.md +39 -0
- package/concepts/ja/Tool-Grep.md +57 -0
- package/concepts/ja/Tool-NotebookEdit.md +33 -0
- package/concepts/ja/Tool-Read.md +56 -0
- package/concepts/ja/Tool-SendMessage.md +41 -0
- package/concepts/ja/Tool-Skill.md +56 -0
- package/concepts/ja/Tool-Task.md +51 -0
- package/concepts/ja/Tool-TaskCreate.md +78 -0
- package/concepts/ja/Tool-TaskGet.md +56 -0
- package/concepts/ja/Tool-TaskList.md +56 -0
- package/concepts/ja/Tool-TaskOutput.md +40 -0
- package/concepts/ja/Tool-TaskStop.md +32 -0
- package/concepts/ja/Tool-TaskUpdate.md +123 -0
- package/concepts/ja/Tool-TeamCreate.md +38 -0
- package/concepts/ja/Tool-TeamDelete.md +30 -0
- package/concepts/ja/Tool-WebFetch.md +55 -0
- package/concepts/ja/Tool-WebSearch.md +58 -0
- package/concepts/ja/Tool-Write.md +39 -0
- package/concepts/ja/Tool-executeCode.md +41 -0
- package/concepts/ja/Tool-getDiagnostics.md +32 -0
- package/concepts/ja/Tools.md +67 -0
- package/concepts/ja/ToolsFirst.md +77 -0
- package/concepts/ja/TranslateContextPollution.md +46 -0
- package/concepts/ja/UltraPlan.md +55 -0
- package/concepts/ko/BodyDiffJSON.md +32 -0
- package/concepts/ko/BodyFields.md +42 -0
- package/concepts/ko/CacheRebuild.md +36 -0
- package/concepts/ko/GlobalSettings.md +232 -0
- package/concepts/ko/KVCacheContent.md +49 -0
- package/concepts/ko/MainAgent.md +23 -0
- package/concepts/ko/ProxySwitch.md +50 -0
- package/concepts/ko/QRCode.md +25 -0
- package/concepts/ko/ResponseFields.md +50 -0
- package/concepts/ko/SubAgent-Search.md +20 -0
- package/concepts/ko/Teammate.md +26 -0
- package/concepts/ko/Tool-Agent.md +125 -0
- package/concepts/ko/Tool-AskUserQuestion.md +75 -0
- package/concepts/ko/Tool-Bash.md +167 -0
- package/concepts/ko/Tool-Edit.md +46 -0
- package/concepts/ko/Tool-EnterPlanMode.md +128 -0
- package/concepts/ko/Tool-EnterWorktree.md +56 -0
- package/concepts/ko/Tool-ExitPlanMode.md +62 -0
- package/concepts/ko/Tool-Glob.md +39 -0
- package/concepts/ko/Tool-Grep.md +57 -0
- package/concepts/ko/Tool-NotebookEdit.md +33 -0
- package/concepts/ko/Tool-Read.md +56 -0
- package/concepts/ko/Tool-SendMessage.md +41 -0
- package/concepts/ko/Tool-Skill.md +56 -0
- package/concepts/ko/Tool-Task.md +51 -0
- package/concepts/ko/Tool-TaskCreate.md +78 -0
- package/concepts/ko/Tool-TaskGet.md +56 -0
- package/concepts/ko/Tool-TaskList.md +56 -0
- package/concepts/ko/Tool-TaskOutput.md +40 -0
- package/concepts/ko/Tool-TaskStop.md +32 -0
- package/concepts/ko/Tool-TaskUpdate.md +123 -0
- package/concepts/ko/Tool-TeamCreate.md +38 -0
- package/concepts/ko/Tool-TeamDelete.md +30 -0
- package/concepts/ko/Tool-WebFetch.md +55 -0
- package/concepts/ko/Tool-WebSearch.md +58 -0
- package/concepts/ko/Tool-Write.md +39 -0
- package/concepts/ko/Tool-executeCode.md +41 -0
- package/concepts/ko/Tool-getDiagnostics.md +32 -0
- package/concepts/ko/Tools.md +67 -0
- package/concepts/ko/ToolsFirst.md +77 -0
- package/concepts/ko/TranslateContextPollution.md +46 -0
- package/concepts/ko/UltraPlan.md +55 -0
- package/concepts/no/BodyDiffJSON.md +32 -0
- package/concepts/no/BodyFields.md +42 -0
- package/concepts/no/CacheRebuild.md +36 -0
- package/concepts/no/GlobalSettings.md +232 -0
- package/concepts/no/KVCacheContent.md +49 -0
- package/concepts/no/MainAgent.md +23 -0
- package/concepts/no/ProxySwitch.md +50 -0
- package/concepts/no/QRCode.md +25 -0
- package/concepts/no/ResponseFields.md +50 -0
- package/concepts/no/SubAgent-Search.md +20 -0
- package/concepts/no/Teammate.md +26 -0
- package/concepts/no/Tool-Agent.md +125 -0
- package/concepts/no/Tool-AskUserQuestion.md +75 -0
- package/concepts/no/Tool-Bash.md +167 -0
- package/concepts/no/Tool-Edit.md +46 -0
- package/concepts/no/Tool-EnterPlanMode.md +128 -0
- package/concepts/no/Tool-EnterWorktree.md +56 -0
- package/concepts/no/Tool-ExitPlanMode.md +62 -0
- package/concepts/no/Tool-Glob.md +39 -0
- package/concepts/no/Tool-Grep.md +57 -0
- package/concepts/no/Tool-NotebookEdit.md +33 -0
- package/concepts/no/Tool-Read.md +56 -0
- package/concepts/no/Tool-SendMessage.md +41 -0
- package/concepts/no/Tool-Skill.md +56 -0
- package/concepts/no/Tool-Task.md +51 -0
- package/concepts/no/Tool-TaskCreate.md +78 -0
- package/concepts/no/Tool-TaskGet.md +56 -0
- package/concepts/no/Tool-TaskList.md +56 -0
- package/concepts/no/Tool-TaskOutput.md +40 -0
- package/concepts/no/Tool-TaskStop.md +32 -0
- package/concepts/no/Tool-TaskUpdate.md +123 -0
- package/concepts/no/Tool-TeamCreate.md +38 -0
- package/concepts/no/Tool-TeamDelete.md +30 -0
- package/concepts/no/Tool-WebFetch.md +55 -0
- package/concepts/no/Tool-WebSearch.md +58 -0
- package/concepts/no/Tool-Write.md +39 -0
- package/concepts/no/Tool-executeCode.md +41 -0
- package/concepts/no/Tool-getDiagnostics.md +32 -0
- package/concepts/no/Tools.md +67 -0
- package/concepts/no/ToolsFirst.md +77 -0
- package/concepts/no/TranslateContextPollution.md +46 -0
- package/concepts/no/UltraPlan.md +55 -0
- package/concepts/pl/BodyDiffJSON.md +32 -0
- package/concepts/pl/BodyFields.md +42 -0
- package/concepts/pl/CacheRebuild.md +36 -0
- package/concepts/pl/GlobalSettings.md +232 -0
- package/concepts/pl/KVCacheContent.md +49 -0
- package/concepts/pl/MainAgent.md +23 -0
- package/concepts/pl/ProxySwitch.md +50 -0
- package/concepts/pl/QRCode.md +25 -0
- package/concepts/pl/ResponseFields.md +50 -0
- package/concepts/pl/SubAgent-Search.md +20 -0
- package/concepts/pl/Teammate.md +26 -0
- package/concepts/pl/Tool-Agent.md +125 -0
- package/concepts/pl/Tool-AskUserQuestion.md +75 -0
- package/concepts/pl/Tool-Bash.md +167 -0
- package/concepts/pl/Tool-Edit.md +46 -0
- package/concepts/pl/Tool-EnterPlanMode.md +128 -0
- package/concepts/pl/Tool-EnterWorktree.md +56 -0
- package/concepts/pl/Tool-ExitPlanMode.md +62 -0
- package/concepts/pl/Tool-Glob.md +39 -0
- package/concepts/pl/Tool-Grep.md +57 -0
- package/concepts/pl/Tool-NotebookEdit.md +33 -0
- package/concepts/pl/Tool-Read.md +56 -0
- package/concepts/pl/Tool-SendMessage.md +41 -0
- package/concepts/pl/Tool-Skill.md +56 -0
- package/concepts/pl/Tool-Task.md +51 -0
- package/concepts/pl/Tool-TaskCreate.md +78 -0
- package/concepts/pl/Tool-TaskGet.md +56 -0
- package/concepts/pl/Tool-TaskList.md +56 -0
- package/concepts/pl/Tool-TaskOutput.md +40 -0
- package/concepts/pl/Tool-TaskStop.md +32 -0
- package/concepts/pl/Tool-TaskUpdate.md +123 -0
- package/concepts/pl/Tool-TeamCreate.md +38 -0
- package/concepts/pl/Tool-TeamDelete.md +30 -0
- package/concepts/pl/Tool-WebFetch.md +55 -0
- package/concepts/pl/Tool-WebSearch.md +58 -0
- package/concepts/pl/Tool-Write.md +39 -0
- package/concepts/pl/Tool-executeCode.md +41 -0
- package/concepts/pl/Tool-getDiagnostics.md +32 -0
- package/concepts/pl/Tools.md +67 -0
- package/concepts/pl/ToolsFirst.md +77 -0
- package/concepts/pl/TranslateContextPollution.md +46 -0
- package/concepts/pl/UltraPlan.md +55 -0
- package/concepts/pt-BR/BodyDiffJSON.md +32 -0
- package/concepts/pt-BR/BodyFields.md +42 -0
- package/concepts/pt-BR/CacheRebuild.md +36 -0
- package/concepts/pt-BR/GlobalSettings.md +232 -0
- package/concepts/pt-BR/KVCacheContent.md +49 -0
- package/concepts/pt-BR/MainAgent.md +23 -0
- package/concepts/pt-BR/ProxySwitch.md +50 -0
- package/concepts/pt-BR/QRCode.md +25 -0
- package/concepts/pt-BR/ResponseFields.md +50 -0
- package/concepts/pt-BR/SubAgent-Search.md +20 -0
- package/concepts/pt-BR/Teammate.md +26 -0
- package/concepts/pt-BR/Tool-Agent.md +125 -0
- package/concepts/pt-BR/Tool-AskUserQuestion.md +75 -0
- package/concepts/pt-BR/Tool-Bash.md +167 -0
- package/concepts/pt-BR/Tool-Edit.md +46 -0
- package/concepts/pt-BR/Tool-EnterPlanMode.md +128 -0
- package/concepts/pt-BR/Tool-EnterWorktree.md +56 -0
- package/concepts/pt-BR/Tool-ExitPlanMode.md +62 -0
- package/concepts/pt-BR/Tool-Glob.md +39 -0
- package/concepts/pt-BR/Tool-Grep.md +57 -0
- package/concepts/pt-BR/Tool-NotebookEdit.md +33 -0
- package/concepts/pt-BR/Tool-Read.md +56 -0
- package/concepts/pt-BR/Tool-SendMessage.md +41 -0
- package/concepts/pt-BR/Tool-Skill.md +56 -0
- package/concepts/pt-BR/Tool-Task.md +51 -0
- package/concepts/pt-BR/Tool-TaskCreate.md +78 -0
- package/concepts/pt-BR/Tool-TaskGet.md +56 -0
- package/concepts/pt-BR/Tool-TaskList.md +56 -0
- package/concepts/pt-BR/Tool-TaskOutput.md +40 -0
- package/concepts/pt-BR/Tool-TaskStop.md +32 -0
- package/concepts/pt-BR/Tool-TaskUpdate.md +123 -0
- package/concepts/pt-BR/Tool-TeamCreate.md +38 -0
- package/concepts/pt-BR/Tool-TeamDelete.md +30 -0
- package/concepts/pt-BR/Tool-WebFetch.md +55 -0
- package/concepts/pt-BR/Tool-WebSearch.md +58 -0
- package/concepts/pt-BR/Tool-Write.md +39 -0
- package/concepts/pt-BR/Tool-executeCode.md +41 -0
- package/concepts/pt-BR/Tool-getDiagnostics.md +32 -0
- package/concepts/pt-BR/Tools.md +67 -0
- package/concepts/pt-BR/ToolsFirst.md +77 -0
- package/concepts/pt-BR/TranslateContextPollution.md +46 -0
- package/concepts/pt-BR/UltraPlan.md +55 -0
- package/concepts/ru/BodyDiffJSON.md +32 -0
- package/concepts/ru/BodyFields.md +42 -0
- package/concepts/ru/CacheRebuild.md +36 -0
- package/concepts/ru/GlobalSettings.md +232 -0
- package/concepts/ru/KVCacheContent.md +49 -0
- package/concepts/ru/MainAgent.md +23 -0
- package/concepts/ru/ProxySwitch.md +50 -0
- package/concepts/ru/QRCode.md +25 -0
- package/concepts/ru/ResponseFields.md +50 -0
- package/concepts/ru/SubAgent-Search.md +20 -0
- package/concepts/ru/Teammate.md +26 -0
- package/concepts/ru/Tool-Agent.md +125 -0
- package/concepts/ru/Tool-AskUserQuestion.md +75 -0
- package/concepts/ru/Tool-Bash.md +167 -0
- package/concepts/ru/Tool-Edit.md +46 -0
- package/concepts/ru/Tool-EnterPlanMode.md +128 -0
- package/concepts/ru/Tool-EnterWorktree.md +56 -0
- package/concepts/ru/Tool-ExitPlanMode.md +62 -0
- package/concepts/ru/Tool-Glob.md +39 -0
- package/concepts/ru/Tool-Grep.md +57 -0
- package/concepts/ru/Tool-NotebookEdit.md +33 -0
- package/concepts/ru/Tool-Read.md +56 -0
- package/concepts/ru/Tool-SendMessage.md +41 -0
- package/concepts/ru/Tool-Skill.md +56 -0
- package/concepts/ru/Tool-Task.md +51 -0
- package/concepts/ru/Tool-TaskCreate.md +78 -0
- package/concepts/ru/Tool-TaskGet.md +56 -0
- package/concepts/ru/Tool-TaskList.md +56 -0
- package/concepts/ru/Tool-TaskOutput.md +40 -0
- package/concepts/ru/Tool-TaskStop.md +32 -0
- package/concepts/ru/Tool-TaskUpdate.md +123 -0
- package/concepts/ru/Tool-TeamCreate.md +38 -0
- package/concepts/ru/Tool-TeamDelete.md +30 -0
- package/concepts/ru/Tool-WebFetch.md +55 -0
- package/concepts/ru/Tool-WebSearch.md +58 -0
- package/concepts/ru/Tool-Write.md +39 -0
- package/concepts/ru/Tool-executeCode.md +41 -0
- package/concepts/ru/Tool-getDiagnostics.md +32 -0
- package/concepts/ru/Tools.md +67 -0
- package/concepts/ru/ToolsFirst.md +77 -0
- package/concepts/ru/TranslateContextPollution.md +46 -0
- package/concepts/ru/UltraPlan.md +55 -0
- package/concepts/th/BodyDiffJSON.md +32 -0
- package/concepts/th/BodyFields.md +42 -0
- package/concepts/th/CacheRebuild.md +36 -0
- package/concepts/th/GlobalSettings.md +232 -0
- package/concepts/th/KVCacheContent.md +49 -0
- package/concepts/th/MainAgent.md +23 -0
- package/concepts/th/ProxySwitch.md +50 -0
- package/concepts/th/QRCode.md +25 -0
- package/concepts/th/ResponseFields.md +50 -0
- package/concepts/th/SubAgent-Search.md +20 -0
- package/concepts/th/Teammate.md +26 -0
- package/concepts/th/Tool-Agent.md +125 -0
- package/concepts/th/Tool-AskUserQuestion.md +75 -0
- package/concepts/th/Tool-Bash.md +167 -0
- package/concepts/th/Tool-Edit.md +46 -0
- package/concepts/th/Tool-EnterPlanMode.md +128 -0
- package/concepts/th/Tool-EnterWorktree.md +56 -0
- package/concepts/th/Tool-ExitPlanMode.md +62 -0
- package/concepts/th/Tool-Glob.md +39 -0
- package/concepts/th/Tool-Grep.md +57 -0
- package/concepts/th/Tool-NotebookEdit.md +33 -0
- package/concepts/th/Tool-Read.md +56 -0
- package/concepts/th/Tool-SendMessage.md +41 -0
- package/concepts/th/Tool-Skill.md +56 -0
- package/concepts/th/Tool-Task.md +51 -0
- package/concepts/th/Tool-TaskCreate.md +78 -0
- package/concepts/th/Tool-TaskGet.md +56 -0
- package/concepts/th/Tool-TaskList.md +56 -0
- package/concepts/th/Tool-TaskOutput.md +40 -0
- package/concepts/th/Tool-TaskStop.md +32 -0
- package/concepts/th/Tool-TaskUpdate.md +123 -0
- package/concepts/th/Tool-TeamCreate.md +38 -0
- package/concepts/th/Tool-TeamDelete.md +30 -0
- package/concepts/th/Tool-WebFetch.md +55 -0
- package/concepts/th/Tool-WebSearch.md +58 -0
- package/concepts/th/Tool-Write.md +39 -0
- package/concepts/th/Tool-executeCode.md +41 -0
- package/concepts/th/Tool-getDiagnostics.md +32 -0
- package/concepts/th/Tools.md +67 -0
- package/concepts/th/ToolsFirst.md +77 -0
- package/concepts/th/TranslateContextPollution.md +46 -0
- package/concepts/th/UltraPlan.md +55 -0
- package/concepts/tr/BodyDiffJSON.md +32 -0
- package/concepts/tr/BodyFields.md +42 -0
- package/concepts/tr/CacheRebuild.md +36 -0
- package/concepts/tr/GlobalSettings.md +232 -0
- package/concepts/tr/KVCacheContent.md +49 -0
- package/concepts/tr/MainAgent.md +23 -0
- package/concepts/tr/ProxySwitch.md +50 -0
- package/concepts/tr/QRCode.md +25 -0
- package/concepts/tr/ResponseFields.md +50 -0
- package/concepts/tr/SubAgent-Search.md +20 -0
- package/concepts/tr/Teammate.md +26 -0
- package/concepts/tr/Tool-Agent.md +125 -0
- package/concepts/tr/Tool-AskUserQuestion.md +75 -0
- package/concepts/tr/Tool-Bash.md +167 -0
- package/concepts/tr/Tool-Edit.md +46 -0
- package/concepts/tr/Tool-EnterPlanMode.md +128 -0
- package/concepts/tr/Tool-EnterWorktree.md +56 -0
- package/concepts/tr/Tool-ExitPlanMode.md +62 -0
- package/concepts/tr/Tool-Glob.md +39 -0
- package/concepts/tr/Tool-Grep.md +57 -0
- package/concepts/tr/Tool-NotebookEdit.md +33 -0
- package/concepts/tr/Tool-Read.md +56 -0
- package/concepts/tr/Tool-SendMessage.md +41 -0
- package/concepts/tr/Tool-Skill.md +56 -0
- package/concepts/tr/Tool-Task.md +51 -0
- package/concepts/tr/Tool-TaskCreate.md +78 -0
- package/concepts/tr/Tool-TaskGet.md +56 -0
- package/concepts/tr/Tool-TaskList.md +56 -0
- package/concepts/tr/Tool-TaskOutput.md +40 -0
- package/concepts/tr/Tool-TaskStop.md +32 -0
- package/concepts/tr/Tool-TaskUpdate.md +123 -0
- package/concepts/tr/Tool-TeamCreate.md +38 -0
- package/concepts/tr/Tool-TeamDelete.md +30 -0
- package/concepts/tr/Tool-WebFetch.md +55 -0
- package/concepts/tr/Tool-WebSearch.md +58 -0
- package/concepts/tr/Tool-Write.md +39 -0
- package/concepts/tr/Tool-executeCode.md +41 -0
- package/concepts/tr/Tool-getDiagnostics.md +32 -0
- package/concepts/tr/Tools.md +67 -0
- package/concepts/tr/ToolsFirst.md +77 -0
- package/concepts/tr/TranslateContextPollution.md +46 -0
- package/concepts/tr/UltraPlan.md +55 -0
- package/concepts/uk/BodyDiffJSON.md +32 -0
- package/concepts/uk/BodyFields.md +42 -0
- package/concepts/uk/CacheRebuild.md +36 -0
- package/concepts/uk/GlobalSettings.md +232 -0
- package/concepts/uk/KVCacheContent.md +49 -0
- package/concepts/uk/MainAgent.md +23 -0
- package/concepts/uk/ProxySwitch.md +50 -0
- package/concepts/uk/QRCode.md +25 -0
- package/concepts/uk/ResponseFields.md +50 -0
- package/concepts/uk/SubAgent-Search.md +20 -0
- package/concepts/uk/Teammate.md +26 -0
- package/concepts/uk/Tool-Agent.md +125 -0
- package/concepts/uk/Tool-AskUserQuestion.md +75 -0
- package/concepts/uk/Tool-Bash.md +167 -0
- package/concepts/uk/Tool-Edit.md +46 -0
- package/concepts/uk/Tool-EnterPlanMode.md +128 -0
- package/concepts/uk/Tool-EnterWorktree.md +56 -0
- package/concepts/uk/Tool-ExitPlanMode.md +62 -0
- package/concepts/uk/Tool-Glob.md +39 -0
- package/concepts/uk/Tool-Grep.md +57 -0
- package/concepts/uk/Tool-NotebookEdit.md +33 -0
- package/concepts/uk/Tool-Read.md +56 -0
- package/concepts/uk/Tool-SendMessage.md +41 -0
- package/concepts/uk/Tool-Skill.md +56 -0
- package/concepts/uk/Tool-Task.md +51 -0
- package/concepts/uk/Tool-TaskCreate.md +78 -0
- package/concepts/uk/Tool-TaskGet.md +56 -0
- package/concepts/uk/Tool-TaskList.md +56 -0
- package/concepts/uk/Tool-TaskOutput.md +40 -0
- package/concepts/uk/Tool-TaskStop.md +32 -0
- package/concepts/uk/Tool-TaskUpdate.md +123 -0
- package/concepts/uk/Tool-TeamCreate.md +38 -0
- package/concepts/uk/Tool-TeamDelete.md +30 -0
- package/concepts/uk/Tool-WebFetch.md +55 -0
- package/concepts/uk/Tool-WebSearch.md +58 -0
- package/concepts/uk/Tool-Write.md +39 -0
- package/concepts/uk/Tool-executeCode.md +41 -0
- package/concepts/uk/Tool-getDiagnostics.md +32 -0
- package/concepts/uk/Tools.md +67 -0
- package/concepts/uk/ToolsFirst.md +77 -0
- package/concepts/uk/TranslateContextPollution.md +46 -0
- package/concepts/uk/UltraPlan.md +55 -0
- package/concepts/zh/BodyDiffJSON.md +32 -0
- package/concepts/zh/BodyFields.md +42 -0
- package/concepts/zh/CacheRebuild.md +36 -0
- package/concepts/zh/GlobalSettings.md +232 -0
- package/concepts/zh/KVCacheContent.md +49 -0
- package/concepts/zh/MainAgent.md +23 -0
- package/concepts/zh/ProxySwitch.md +50 -0
- package/concepts/zh/QRCode.md +29 -0
- package/concepts/zh/ResponseFields.md +50 -0
- package/concepts/zh/SubAgent-Search.md +20 -0
- package/concepts/zh/Teammate.md +26 -0
- package/concepts/zh/Tool-Agent.md +125 -0
- package/concepts/zh/Tool-AskUserQuestion.md +75 -0
- package/concepts/zh/Tool-Bash.md +167 -0
- package/concepts/zh/Tool-Edit.md +46 -0
- package/concepts/zh/Tool-EnterPlanMode.md +128 -0
- package/concepts/zh/Tool-EnterWorktree.md +56 -0
- package/concepts/zh/Tool-ExitPlanMode.md +62 -0
- package/concepts/zh/Tool-Glob.md +39 -0
- package/concepts/zh/Tool-Grep.md +57 -0
- package/concepts/zh/Tool-NotebookEdit.md +33 -0
- package/concepts/zh/Tool-Read.md +56 -0
- package/concepts/zh/Tool-SendMessage.md +41 -0
- package/concepts/zh/Tool-Skill.md +56 -0
- package/concepts/zh/Tool-Task.md +51 -0
- package/concepts/zh/Tool-TaskCreate.md +78 -0
- package/concepts/zh/Tool-TaskGet.md +56 -0
- package/concepts/zh/Tool-TaskList.md +56 -0
- package/concepts/zh/Tool-TaskOutput.md +40 -0
- package/concepts/zh/Tool-TaskStop.md +32 -0
- package/concepts/zh/Tool-TaskUpdate.md +123 -0
- package/concepts/zh/Tool-TeamCreate.md +38 -0
- package/concepts/zh/Tool-TeamDelete.md +30 -0
- package/concepts/zh/Tool-WebFetch.md +55 -0
- package/concepts/zh/Tool-WebSearch.md +58 -0
- package/concepts/zh/Tool-Write.md +39 -0
- package/concepts/zh/Tool-executeCode.md +41 -0
- package/concepts/zh/Tool-getDiagnostics.md +32 -0
- package/concepts/zh/Tools.md +67 -0
- package/concepts/zh/ToolsFirst.md +77 -0
- package/concepts/zh/TranslateContextPollution.md +46 -0
- package/concepts/zh/UltraPlan.md +55 -0
- package/concepts/zh-TW/BodyDiffJSON.md +32 -0
- package/concepts/zh-TW/BodyFields.md +42 -0
- package/concepts/zh-TW/CacheRebuild.md +36 -0
- package/concepts/zh-TW/GlobalSettings.md +232 -0
- package/concepts/zh-TW/KVCacheContent.md +49 -0
- package/concepts/zh-TW/MainAgent.md +23 -0
- package/concepts/zh-TW/ProxySwitch.md +50 -0
- package/concepts/zh-TW/QRCode.md +25 -0
- package/concepts/zh-TW/ResponseFields.md +50 -0
- package/concepts/zh-TW/SubAgent-Search.md +20 -0
- package/concepts/zh-TW/Teammate.md +26 -0
- package/concepts/zh-TW/Tool-Agent.md +125 -0
- package/concepts/zh-TW/Tool-AskUserQuestion.md +75 -0
- package/concepts/zh-TW/Tool-Bash.md +167 -0
- package/concepts/zh-TW/Tool-Edit.md +46 -0
- package/concepts/zh-TW/Tool-EnterPlanMode.md +128 -0
- package/concepts/zh-TW/Tool-EnterWorktree.md +56 -0
- package/concepts/zh-TW/Tool-ExitPlanMode.md +62 -0
- package/concepts/zh-TW/Tool-Glob.md +39 -0
- package/concepts/zh-TW/Tool-Grep.md +57 -0
- package/concepts/zh-TW/Tool-NotebookEdit.md +33 -0
- package/concepts/zh-TW/Tool-Read.md +56 -0
- package/concepts/zh-TW/Tool-SendMessage.md +41 -0
- package/concepts/zh-TW/Tool-Skill.md +56 -0
- package/concepts/zh-TW/Tool-Task.md +51 -0
- package/concepts/zh-TW/Tool-TaskCreate.md +78 -0
- package/concepts/zh-TW/Tool-TaskGet.md +56 -0
- package/concepts/zh-TW/Tool-TaskList.md +56 -0
- package/concepts/zh-TW/Tool-TaskOutput.md +40 -0
- package/concepts/zh-TW/Tool-TaskStop.md +32 -0
- package/concepts/zh-TW/Tool-TaskUpdate.md +123 -0
- package/concepts/zh-TW/Tool-TeamCreate.md +38 -0
- package/concepts/zh-TW/Tool-TeamDelete.md +30 -0
- package/concepts/zh-TW/Tool-WebFetch.md +55 -0
- package/concepts/zh-TW/Tool-WebSearch.md +58 -0
- package/concepts/zh-TW/Tool-Write.md +39 -0
- package/concepts/zh-TW/Tool-executeCode.md +41 -0
- package/concepts/zh-TW/Tool-getDiagnostics.md +32 -0
- package/concepts/zh-TW/Tools.md +67 -0
- package/concepts/zh-TW/ToolsFirst.md +77 -0
- package/concepts/zh-TW/TranslateContextPollution.md +46 -0
- package/concepts/zh-TW/UltraPlan.md +55 -0
- package/dist/assets/App-BzrN42Qt.js +41 -0
- package/dist/assets/App-fG2r3jFq.css +1 -0
- package/dist/assets/AppHeader-B3hrnZr-.css +41 -0
- package/dist/assets/AppHeader.module-BMU2vyC4.js +1246 -0
- package/dist/assets/Mobile-BnDkLcBv.css +1 -0
- package/dist/assets/Mobile-C9wxQTXV.js +10 -0
- package/dist/assets/_baseUniq-CXWHShmB.js +1 -0
- package/dist/assets/arc-qbol0NJo.js +1 -0
- package/dist/assets/architectureDiagram-Q4EWVU46-COZebb1N.js +36 -0
- package/dist/assets/blockDiagram-DXYQGD6D-COCgzPKy.js +132 -0
- package/dist/assets/c4Diagram-AHTNJAMY-Bs5XvLEo.js +10 -0
- package/dist/assets/channel-DvLUZ3Xf.js +1 -0
- package/dist/assets/chunk-4BX2VUAB-CyGriz9d.js +1 -0
- package/dist/assets/chunk-4TB4RGXK-DlT_q-fl.js +206 -0
- package/dist/assets/chunk-55IACEB6-NHN99ZNC.js +1 -0
- package/dist/assets/chunk-EDXVE4YY-fK4f9Na9.js +1 -0
- package/dist/assets/chunk-FMBD7UC4-DL-dQIq1.js +15 -0
- package/dist/assets/chunk-OYMX7WX6-6uruB4VY.js +231 -0
- package/dist/assets/chunk-QZHKN3VN-CCWIqLO8.js +1 -0
- package/dist/assets/chunk-YZCP3GAM-Cu84DMJo.js +1 -0
- package/dist/assets/classDiagram-6PBFFD2Q-ByKhp2Tk.js +1 -0
- package/dist/assets/classDiagram-v2-HSJHXN6E-ByKhp2Tk.js +1 -0
- package/dist/assets/clone-DZHpE494.js +1 -0
- package/dist/assets/cose-bilkent-S5V4N54A-Dqi4iU3-.js +1 -0
- package/dist/assets/cytoscape.esm-DxGcaOPV.js +331 -0
- package/dist/assets/dagre-KV5264BT-Dl-EJ9rb.js +4 -0
- package/dist/assets/default-avatar-CT9tlZjd.svg +1 -0
- package/dist/assets/default-model-avatar-DlbUPjyv.svg +1 -0
- package/dist/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/dist/assets/diagram-5BDNPKRD-BYtyzF0D.js +10 -0
- package/dist/assets/diagram-G4DWMVQ6-BuETHFNU.js +24 -0
- package/dist/assets/diagram-MMDJMWI5-Z02oZp6I.js +43 -0
- package/dist/assets/diagram-TYMM5635-BpGlKv8l.js +24 -0
- package/dist/assets/erDiagram-SMLLAGMA-C4YngeQh.js +85 -0
- package/dist/assets/flowDiagram-DWJPFMVM-BWddFffg.js +162 -0
- package/dist/assets/ganttDiagram-T4ZO3ILL-Bg0jOD4m.js +292 -0
- package/dist/assets/gitGraphDiagram-UUTBAWPF-Bz-3sTXZ.js +106 -0
- package/dist/assets/graph-XiH8DkIu.js +1 -0
- package/dist/assets/html2canvas.esm-QH1iLAAe.js +22 -0
- package/dist/assets/index-BuUsWKGZ.js +41 -0
- package/dist/assets/index-DCtZ2KSX.css +1 -0
- package/dist/assets/infoDiagram-42DDH7IO-DLo-lOCE.js +2 -0
- package/dist/assets/init-Gi6I4Gst.js +1 -0
- package/dist/assets/ishikawaDiagram-UXIWVN3A-BsIzT5eO.js +70 -0
- package/dist/assets/journeyDiagram-VCZTEJTY-C3bOkKqv.js +139 -0
- package/dist/assets/kanban-definition-6JOO6SKY-D-rJRNbp.js +89 -0
- package/dist/assets/katex-DkKDou_j.js +257 -0
- package/dist/assets/layout-Bqp8Hh1c.js +1 -0
- package/dist/assets/linear-BWRSipGb.js +1 -0
- package/dist/assets/loading-pet-12a9GTQC.gif +0 -0
- package/dist/assets/mermaid.core-CJa7klhs.js +308 -0
- package/dist/assets/min-CQ_VyzMd.js +1 -0
- package/dist/assets/mindmap-definition-QFDTVHPH-Bnj7DDSx.js +96 -0
- package/dist/assets/model-deepseek-LDuqTN2N.svg +2 -0
- package/dist/assets/ordinal-Cboi1Yqb.js +1 -0
- package/dist/assets/pieDiagram-DEJITSTG-CC8a7Ylw.js +30 -0
- package/dist/assets/quadrantDiagram-34T5L4WZ-CrmL1WUV.js +7 -0
- package/dist/assets/requirementDiagram-MS252O5E-TfkX4u_6.js +84 -0
- package/dist/assets/sankeyDiagram-XADWPNL6-DMwBbND7.js +10 -0
- package/dist/assets/sequenceDiagram-FGHM5R23-CFghMYsm.js +157 -0
- package/dist/assets/stateDiagram-FHFEXIEX-1H6JIM7l.js +1 -0
- package/dist/assets/stateDiagram-v2-QKLJ7IA2-CtXMaKcb.js +1 -0
- package/dist/assets/timeline-definition-GMOUNBTQ-DnLMBlVa.js +120 -0
- package/dist/assets/vennDiagram-DHZGUBPP-DoIkY_KL.js +34 -0
- package/dist/assets/wardley-RL74JXVD-3n5XmOD5.js +162 -0
- package/dist/assets/wardleyDiagram-NUSXRM2D-UMOq3ofC.js +20 -0
- package/dist/assets/xychartDiagram-5P7HB3ND-CNDuQ5Cg.js +7 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.html +15 -0
- package/findcx.js +204 -0
- package/i18n.js +2413 -0
- package/interceptor.js +698 -0
- package/lib/appserver-bridge.js +584 -0
- package/lib/ask-bridge.js +126 -0
- package/lib/codex-config.js +146 -0
- package/lib/constants.js +26 -0
- package/lib/context-watcher.js +85 -0
- package/lib/cxv-editor.js +73 -0
- package/lib/delta-reconstructor.js +256 -0
- package/lib/ensure-hooks.js +88 -0
- package/lib/extract-plugin-name.mjs +18 -0
- package/lib/file-api.js +128 -0
- package/lib/git-diff.js +89 -0
- package/lib/interceptor-core.js +270 -0
- package/lib/kv-cache-analyzer.js +164 -0
- package/lib/log-management.js +198 -0
- package/lib/log-stream.js +310 -0
- package/lib/log-watcher.js +245 -0
- package/lib/otel-adapter.js +251 -0
- package/lib/otel-receiver.js +198 -0
- package/lib/perm-bridge.js +142 -0
- package/lib/plugin-loader.js +161 -0
- package/lib/plugin-manager.js +118 -0
- package/lib/proxy-env.js +23 -0
- package/lib/proxy-errors.js +18 -0
- package/lib/sdk-adapter.js +77 -0
- package/lib/sdk-manager.js +464 -0
- package/lib/stats-worker.js +384 -0
- package/lib/updater.js +123 -0
- package/lib/user-profile.js +43 -0
- package/package.json +115 -0
- package/proxy.js +369 -0
- package/pty-manager.js +407 -0
- package/server.js +3226 -0
- package/workspace-registry.js +151 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# UltraPlan — Die ultimative Wunschmaschine
|
|
2
|
+
|
|
3
|
+
## Was ist UltraPlan
|
|
4
|
+
|
|
5
|
+
UltraPlan ist die **lokalisierte Implementierung** von cc-viewer fuer den nativen `/ultraplan`-Befehl von Claude Code. Es ermoeglicht Ihnen, die vollstaendigen Funktionen von `/ultraplan` in Ihrer lokalen Umgebung zu nutzen, **ohne Claudes offiziellen Remote-Dienst starten zu muessen**, und leitet Claude Code an, komplexe Planungs- und Implementierungsaufgaben mittels **Multi-Agenten-Zusammenarbeit** zu bewaeltigen.
|
|
6
|
+
|
|
7
|
+
Im Vergleich zum regulaeren Plan-Modus oder Agent Team kann UltraPlan:
|
|
8
|
+
- Automatisch die Aufgabenkomplexitaet bewerten und die optimale Planungsstrategie waehlen
|
|
9
|
+
- Mehrere parallele Agenten einsetzen, um die Codebasis aus verschiedenen Dimensionen zu erkunden
|
|
10
|
+
- Externe Recherche (webSearch) fuer branchenbewaehrte Verfahren einbeziehen
|
|
11
|
+
- Nach der Planausfuehrung automatisch ein Code Review Team zusammenstellen
|
|
12
|
+
- Einen vollstaendigen **Plan → Execute → Review → Fix** Kreislauf bilden
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Wichtige Hinweise
|
|
17
|
+
|
|
18
|
+
### 1. UltraPlan ist nicht allmaechtig
|
|
19
|
+
UltraPlan ist eine leistungsfaehigere Wunschmaschine, aber das bedeutet nicht, dass jeder Wunsch erfuellt werden kann. Es ist leistungsfaehiger als Plan und Agent Team, kann aber nicht direkt „Geld fuer Sie verdienen". Beruecksichtigen Sie eine angemessene Aufgabengranularitaet — zerlegen Sie grosse Ziele in ausfuehrbare mittelgrosse Aufgaben, anstatt alles auf einmal erreichen zu wollen.
|
|
20
|
+
|
|
21
|
+
### 2. Derzeit am effektivsten fuer Programmierprojekte
|
|
22
|
+
Die Vorlagen und Workflows von UltraPlan sind tiefgehend fuer Programmierprojekte optimiert. Andere Szenarien (Dokumentation, Datenanalyse usw.) koennen ausprobiert werden, aber es empfiehlt sich, auf Anpassungen in zukuenftigen Versionen zu warten.
|
|
23
|
+
|
|
24
|
+
### 3. Ausfuehrungszeit und Kontextfenster-Anforderungen
|
|
25
|
+
- Eine erfolgreiche UltraPlan-Ausfuehrung dauert in der Regel **30 Minuten oder laenger**
|
|
26
|
+
- Erfordert, dass der MainAgent ein grosses Kontextfenster hat (1M-Context-Opus-Modell empfohlen)
|
|
27
|
+
- Wenn Sie nur ein 200K-Modell haben, **fuehren Sie unbedingt `/clear` vor der Ausfuehrung aus**
|
|
28
|
+
- Claude Codes `/compact` funktioniert schlecht bei unzureichendem Kontextfenster — vermeiden Sie es, den Platz aufzubrauchen
|
|
29
|
+
- Ausreichend Kontextplatz zu erhalten ist eine entscheidende Voraussetzung fuer eine erfolgreiche UltraPlan-Ausfuehrung
|
|
30
|
+
|
|
31
|
+
Wenn Sie Fragen oder Vorschlaege zum lokalisierten UltraPlan haben, eroeffnen Sie gerne [Issues auf GitHub](https://github.com/anthropics/claude-code/issues), um zu diskutieren und zusammenzuarbeiten.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Funktionsweise
|
|
36
|
+
|
|
37
|
+
UltraPlan bietet zwei Betriebsmodi:
|
|
38
|
+
|
|
39
|
+
### Automatischer Modus
|
|
40
|
+
Analysiert automatisch die Aufgabenkomplexitaet (Score 4-12) und leitet an verschiedene Strategien weiter:
|
|
41
|
+
|
|
42
|
+
| Route | Score | Strategie |
|
|
43
|
+
|-------|-------|-----------|
|
|
44
|
+
| Route A | 4-6 | Leichtgewichtige Planung mit direkter Code-Erkundung |
|
|
45
|
+
| Route B | 7-9 | Planung mit Strukturdiagrammen (Mermaid / ASCII) |
|
|
46
|
+
| Route C | 10-12 | Multi-Agenten-Erkundung + Review-Kreislauf |
|
|
47
|
+
|
|
48
|
+
### Erzwungener Modus
|
|
49
|
+
Aktiviert direkt den vollstaendigen Route-C-Multi-Agenten-Workflow:
|
|
50
|
+
1. Bis zu 5 parallele Agenten einsetzen, die gleichzeitig die Codebasis erkunden (Architektur, Dateiidentifikation, Risikobewertung usw.)
|
|
51
|
+
2. Optional einen Recherche-Agenten einsetzen, um ueber webSearch Branchenloesungen zu untersuchen
|
|
52
|
+
3. Alle Agenten-Erkenntnisse zu einem detaillierten Implementierungsplan zusammenfassen
|
|
53
|
+
4. Einen Review-Agenten einsetzen, der den Plan aus mehreren Perspektiven prueft
|
|
54
|
+
5. Den Plan nach Genehmigung ausfuehren
|
|
55
|
+
6. Nach der Implementierung automatisch ein Code Review Team zusammenstellen, um die Codequalitaet zu validieren
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Body Diff JSON (Request Body Incremental Comparison)
|
|
2
|
+
|
|
3
|
+
## Background
|
|
4
|
+
|
|
5
|
+
Claude Code's MainAgent uses a full-context sending mechanism — each request carries the complete conversation history, system prompt, tool definitions, and more. This means the request body grows increasingly large as the conversation progresses, making it difficult to quickly identify "what was actually added this round" when viewing the raw body.
|
|
6
|
+
|
|
7
|
+
Body Diff JSON solves exactly this problem: it automatically compares the bodies of two consecutive MainAgent requests, extracts the incremental differences, and lets you see at a glance what content was actually added in the current request.
|
|
8
|
+
|
|
9
|
+
## How It Works
|
|
10
|
+
|
|
11
|
+
1. **Identify consecutive MainAgent requests**: The current request must be a MainAgent type, and a previous MainAgent request must exist
|
|
12
|
+
2. **Field-by-field comparison**: Iterates through all top-level fields of the request body, skipping internal properties prefixed with `_`
|
|
13
|
+
3. **Smart diff extraction**:
|
|
14
|
+
- New fields: Displayed directly
|
|
15
|
+
- Deleted fields: Not shown (usually doesn't affect understanding)
|
|
16
|
+
- Changed fields: Shows the current value
|
|
17
|
+
- `messages` array special handling: Only shows newly added messages (since normal conversation is append-only, prefix messages remain unchanged)
|
|
18
|
+
4. **Request body shrinkage detection**: If the current request body is smaller than the previous one, it indicates context truncation or session reset, and a notice is displayed instead of a diff
|
|
19
|
+
|
|
20
|
+
## Typical Scenarios
|
|
21
|
+
|
|
22
|
+
In a normal conversation round, Body Diff JSON typically contains only:
|
|
23
|
+
- `messages`: 1-2 newly added messages (the user's input + the assistant's reply from the previous round)
|
|
24
|
+
|
|
25
|
+
If you see changes to `system`, `tools`, `model`, or other fields in the diff, it means a configuration change occurred in this round, which is often the cause of a cache rebuild.
|
|
26
|
+
|
|
27
|
+
## Usage
|
|
28
|
+
|
|
29
|
+
- Body Diff JSON is displayed in the MainAgent request detail panel
|
|
30
|
+
- Click the title to expand/collapse
|
|
31
|
+
- Supports both JSON and Text viewing modes, plus one-click copy
|
|
32
|
+
- In the top-left **CC-Viewer → Global Settings**, you can set "Expand Body Diff JSON by default"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Request Body Fields
|
|
2
|
+
|
|
3
|
+
Field descriptions for the top-level fields in the Claude API `/v1/messages` request body.
|
|
4
|
+
|
|
5
|
+
## Field List
|
|
6
|
+
|
|
7
|
+
| Field | Type | Description |
|
|
8
|
+
|-------|------|-------------|
|
|
9
|
+
| **model** | string | The model name to use, e.g. `claude-opus-4-6`, `claude-sonnet-4-6` |
|
|
10
|
+
| **messages** | array | Conversation message history. Each message contains `role` (user/assistant) and `content` (an array of blocks such as text, image, tool_use, tool_result, etc.) |
|
|
11
|
+
| **system** | array | System prompt. Contains Codex's core instructions, tool usage guidelines, environment information, CLAUDE.md contents, etc. Blocks with `cache_control` are subject to prompt caching |
|
|
12
|
+
| **tools** | array | List of available tool definitions. Each tool contains `name`, `description`, and `input_schema` (JSON Schema). MainAgent typically has 20+ tools, while SubAgent has only a few |
|
|
13
|
+
| **metadata** | object | Request metadata, usually containing `user_id` to identify the user |
|
|
14
|
+
| **max_tokens** | number | Maximum number of tokens for a single model response, e.g. `16000`, `64000` |
|
|
15
|
+
| **thinking** | object | Extended thinking configuration. `type: "enabled"` activates thinking mode, `budget_tokens` controls the thinking token limit |
|
|
16
|
+
| **context_management** | object | Context management configuration. `truncation: "auto"` allows Codex to automatically truncate overly long message histories |
|
|
17
|
+
| **output_config** | object | Output configuration, such as `format` settings |
|
|
18
|
+
| **stream** | boolean | Whether to enable streaming responses. Codex always uses `true` |
|
|
19
|
+
|
|
20
|
+
## messages Structure
|
|
21
|
+
|
|
22
|
+
The `content` of each message is an array of blocks. Common types include:
|
|
23
|
+
|
|
24
|
+
- **text**: Plain text content
|
|
25
|
+
- **tool_use**: Model tool invocation (contains `name`, `input`)
|
|
26
|
+
- **tool_result**: Tool execution result (contains `tool_use_id`, `content`)
|
|
27
|
+
- **image**: Image content (base64 or URL)
|
|
28
|
+
- **thinking**: Model's thinking process (extended thinking mode)
|
|
29
|
+
|
|
30
|
+
## system Structure
|
|
31
|
+
|
|
32
|
+
The system prompt array typically contains:
|
|
33
|
+
|
|
34
|
+
1. **Core agent instructions** ("You are Codex...")
|
|
35
|
+
2. **Tool usage guidelines**
|
|
36
|
+
3. **CLAUDE.md contents** (project-level instructions)
|
|
37
|
+
4. **Skills reminders** (skills reminder)
|
|
38
|
+
5. **Environment information** (OS, shell, git status, etc.) — In fact, Codex relies heavily on git. If a project has a git repository, Codex demonstrates a better understanding of the project, including the ability to pull remote changes and commit history to assist with analysis
|
|
39
|
+
|
|
40
|
+
Blocks marked with `cache_control: { type: "ephemeral" }` are cached by the Anthropic API for 5 minutes. When cache hits occur, they are billed as `cache_read_input_tokens` (significantly cheaper than `input_tokens`).
|
|
41
|
+
|
|
42
|
+
> **Note**: For special clients like Codex, the Anthropic server does not rely entirely on the `cache_control` attribute in the request to determine caching behavior. The server automatically applies caching strategies to specific fields (such as system prompt and tools definitions), even when the request does not explicitly include `cache_control` markers. Therefore, don't be puzzled when you don't see this attribute in the request body — the server has already performed caching behind the scenes, it simply doesn't expose this information to the client. This is a tacit understanding between Codex and the Anthropic API.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Cache Rebuild
|
|
2
|
+
|
|
3
|
+
## Background
|
|
4
|
+
|
|
5
|
+
Anthropic's prompt caching mechanism concatenates system → tools → messages (up to the cache breakpoint) in order to form the cache key. When the cache key matches the previous request exactly, the API returns `cache_read_input_tokens` (cache hit); when the cache key changes, the API recreates the cache and returns a large number of `cache_creation_input_tokens`, i.e., a cache rebuild.
|
|
6
|
+
|
|
7
|
+
Cache rebuilds mean additional token charges (cache creation is priced higher than cache read), so identifying rebuild causes has direct value for cost optimization.
|
|
8
|
+
|
|
9
|
+
## Cache Rebuild Reason Categories
|
|
10
|
+
|
|
11
|
+
cc-viewer compares the bodies of two consecutive MainAgent requests to precisely determine the cause of a cache rebuild:
|
|
12
|
+
|
|
13
|
+
| reason | Meaning | Detection Method |
|
|
14
|
+
|--------|---------|------------------|
|
|
15
|
+
| `ttl` | Cache expired | More than 5 minutes since the last MainAgent request |
|
|
16
|
+
| `system_change` | System prompt changed | `JSON.stringify(prev.system) !== JSON.stringify(curr.system)` |
|
|
17
|
+
| `tools_change` | Tool definitions changed | `JSON.stringify(prev.tools) !== JSON.stringify(curr.tools)` |
|
|
18
|
+
| `model_change` | Model switched | `prev.model !== curr.model` |
|
|
19
|
+
| `msg_truncated` | Message stack truncated | Current request has fewer messages than the previous one, usually triggered by context window overflow |
|
|
20
|
+
| `msg_modified` | Historical messages modified | Prefix message content is inconsistent (prefix should be identical during normal appending) |
|
|
21
|
+
| `key_change` | Unknown key change | Fallback when none of the above conditions match |
|
|
22
|
+
|
|
23
|
+
## Detection Priority
|
|
24
|
+
|
|
25
|
+
1. First check the time interval — if more than 5 minutes, immediately classify as `ttl` without body comparison
|
|
26
|
+
2. Then check model, system, tools, and messages in sequence
|
|
27
|
+
3. A single request may match multiple reasons (e.g., model switch + system prompt change), in which case the `reasons` array contains all matches and the tooltip displays them on separate lines
|
|
28
|
+
|
|
29
|
+
## Common Scenarios
|
|
30
|
+
|
|
31
|
+
- **`ttl`**: The user paused for more than 5 minutes before continuing, and the cache naturally expired
|
|
32
|
+
- **`system_change`**: Claude Code updated the system prompt (e.g., loaded new CLAUDE.md, project instructions changed)
|
|
33
|
+
- **`tools_change`**: MCP server connection/disconnection caused changes to the available tool list
|
|
34
|
+
- **`model_change`**: The user switched models via the `/model` command
|
|
35
|
+
- **`msg_truncated`**: A long conversation triggered context window management, and Claude Code truncated earlier messages
|
|
36
|
+
- **`msg_modified`**: Claude Code edited historical messages (e.g., `/compact` replaced original messages with a compressed summary)
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
# CC-Viewer Configuration Reference
|
|
2
|
+
|
|
3
|
+
## 1. Global Settings Panel (UI)
|
|
4
|
+
|
|
5
|
+
Open via top-left menu → "Global Settings".
|
|
6
|
+
|
|
7
|
+
| Setting | Type | Default | Description |
|
|
8
|
+
|---------|------|---------|-------------|
|
|
9
|
+
| Filter Irrelevant Requests | Switch | On | Hide heartbeat, count_tokens, sub-agent and other non-main-agent requests |
|
|
10
|
+
| Expand Body Diff JSON | Switch | Off | Expand Body Diff section by default in request detail panel |
|
|
11
|
+
| Log Directory | Text Input | `~/.claude/cc-viewer` | Root directory for project log read/write. Supports `~/` expansion. Takes effect immediately on Enter or blur |
|
|
12
|
+
|
|
13
|
+
## 2. Display Settings Panel (UI)
|
|
14
|
+
|
|
15
|
+
Open via top-left menu → "Display Settings".
|
|
16
|
+
|
|
17
|
+
| Setting | Type | Default | Description |
|
|
18
|
+
|---------|------|---------|-------------|
|
|
19
|
+
| Collapse Tool Results | Switch | On | Collapse tool call result blocks in chat view |
|
|
20
|
+
| Expand Thinking | Switch | On | Expand Claude's thinking/reasoning blocks by default |
|
|
21
|
+
| Show Full Tool Content | Switch | Off | Show full untruncated tool call content |
|
|
22
|
+
| Auto Resume Session | Switch + Options | Off | Automatically choose when session resume prompt appears: `Continue` or `New` |
|
|
23
|
+
|
|
24
|
+
## 3. Preferences File
|
|
25
|
+
|
|
26
|
+
All UI settings are persisted to `<log_dir>/preferences.json` via the `/api/preferences` API.
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"lang": "en",
|
|
31
|
+
"filterIrrelevant": true,
|
|
32
|
+
"expandDiff": false,
|
|
33
|
+
"collapseToolResults": true,
|
|
34
|
+
"expandThinking": true,
|
|
35
|
+
"showFullToolContent": false,
|
|
36
|
+
"logDir": "~/.claude/cc-viewer",
|
|
37
|
+
"resumeAutoChoice": null,
|
|
38
|
+
"disabledPlugins": [],
|
|
39
|
+
"presetShortcuts": []
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
| Field | Type | Description |
|
|
44
|
+
|-------|------|-------------|
|
|
45
|
+
| `lang` | string | UI language (zh/en/zh-TW/ko/ja/de/es/fr/it/da/pl/ru/ar/no/pt-BR/th/tr/uk) |
|
|
46
|
+
| `filterIrrelevant` | boolean | Filter irrelevant requests |
|
|
47
|
+
| `expandDiff` | boolean | Expand Body Diff JSON by default |
|
|
48
|
+
| `collapseToolResults` | boolean | Collapse tool results |
|
|
49
|
+
| `expandThinking` | boolean | Expand thinking blocks |
|
|
50
|
+
| `showFullToolContent` | boolean | Show full content |
|
|
51
|
+
| `logDir` | string | Log directory path |
|
|
52
|
+
| `resumeAutoChoice` | null / "continue" / "new" | Auto resume session choice |
|
|
53
|
+
| `disabledPlugins` | string[] | Disabled plugin filenames |
|
|
54
|
+
| `presetShortcuts` | array | Agent Team preset shortcuts |
|
|
55
|
+
|
|
56
|
+
## 4. Environment Variables
|
|
57
|
+
|
|
58
|
+
### CC-Viewer Specific
|
|
59
|
+
|
|
60
|
+
| Variable | Default | Description |
|
|
61
|
+
|----------|---------|-------------|
|
|
62
|
+
| `CCV_LOG_DIR` | `~/.claude/cc-viewer` | Log storage root directory. Special values: `tmp`/`temp` use system temp dir |
|
|
63
|
+
| `CCV_CLI_MODE` | unset | `=1` enables CLI mode (PTY terminal) |
|
|
64
|
+
| `CCV_SDK_MODE` | unset | `=1` enables Agent SDK mode (no terminal) |
|
|
65
|
+
| `CCV_WORKSPACE_MODE` | unset | `=1` enables workspace selection mode |
|
|
66
|
+
| `CCV_PROJECT_DIR` | `process.cwd()` | Project working directory for file operations and Git commands |
|
|
67
|
+
| `CCV_PROXY_PORT` | unset | Local MITM proxy port |
|
|
68
|
+
| `CCV_BYPASS_PERMISSIONS` | unset | `=1` skip tool permission approval (with `--dangerously-skip-permissions`) |
|
|
69
|
+
| `CCV_DISABLE_DELTA` | unset | `=1` disable incremental log storage, write full messages every time |
|
|
70
|
+
| `CCV_DEBUG` | unset | `=1` enable HTTP proxy debug logging |
|
|
71
|
+
| `CCV_DEBUG_PLUGINS` | unset | `=1` enable plugin loading debug logging |
|
|
72
|
+
|
|
73
|
+
### Internal IPC
|
|
74
|
+
|
|
75
|
+
| Variable | Description |
|
|
76
|
+
|----------|-------------|
|
|
77
|
+
| `CCVIEWER_PORT` | Server port for ask-bridge/perm-bridge communication |
|
|
78
|
+
| `CCV_EDITOR_PORT` | Server port for ccv-editor file editing bridge |
|
|
79
|
+
|
|
80
|
+
### External (Read-only)
|
|
81
|
+
|
|
82
|
+
| Variable | Description |
|
|
83
|
+
|----------|-------------|
|
|
84
|
+
| `ANTHROPIC_BASE_URL` | Custom Anthropic API address |
|
|
85
|
+
| `SHELL` | User's shell (PTY spawn and shell config detection) |
|
|
86
|
+
| `http_proxy` / `HTTPS_PROXY` etc. | HTTP proxy config (via undici EnvHttpProxyAgent) |
|
|
87
|
+
|
|
88
|
+
## 5. CLI Arguments
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
ccv [options] [claude args...]
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### CC-Viewer Options
|
|
95
|
+
|
|
96
|
+
| Argument | Description |
|
|
97
|
+
|----------|-------------|
|
|
98
|
+
| `-logger` | Install/repair Claude Code hooks |
|
|
99
|
+
| `--uninstall` / `-uninstall` | Remove all CC-Viewer integration |
|
|
100
|
+
| `--help` / `-h` / `help` | Show help text |
|
|
101
|
+
| `--version` / `-v` | Show version |
|
|
102
|
+
| `-SDK` / `--sdk` | Use Agent SDK mode |
|
|
103
|
+
| `--d` | Shortcut for `--dangerously-skip-permissions` |
|
|
104
|
+
| `--ad` | Shortcut for `--allow-dangerously-skip-permissions` |
|
|
105
|
+
| `run` | Run command through proxy (`ccv run -- claude ...`) |
|
|
106
|
+
|
|
107
|
+
### Claude Pass-through (common)
|
|
108
|
+
|
|
109
|
+
| Argument | Description |
|
|
110
|
+
|----------|-------------|
|
|
111
|
+
| `-c` / `--continue` | Continue last session |
|
|
112
|
+
| `-r` / `--resume` | Resume specific session |
|
|
113
|
+
| `-p` / `--print` | Non-interactive output |
|
|
114
|
+
| `--model` | Specify model |
|
|
115
|
+
| `--permission-mode` | Permission mode |
|
|
116
|
+
| `--system-prompt` | Custom system prompt |
|
|
117
|
+
| `--max-budget-usd` | Maximum budget |
|
|
118
|
+
|
|
119
|
+
## 6. Hook Configuration
|
|
120
|
+
|
|
121
|
+
CC-Viewer auto-registers hooks in `~/.claude/settings.json` under `hooks.PreToolUse`:
|
|
122
|
+
|
|
123
|
+
### 1. AskUserQuestion Bridge
|
|
124
|
+
- **Matcher**: `"AskUserQuestion"`
|
|
125
|
+
- **Command**: `node <install_dir>/lib/ask-bridge.js`
|
|
126
|
+
- **Purpose**: Forward Claude's questions to Web UI, wait for user answers
|
|
127
|
+
|
|
128
|
+
### 2. Permission Approval Bridge
|
|
129
|
+
- **Matcher**: `""` (empty = match all tools)
|
|
130
|
+
- **Command**: `node <install_dir>/lib/perm-bridge.js`
|
|
131
|
+
- **Purpose**: Only `Bash`/`Edit`/`Write`/`NotebookEdit` require Web UI approval; others pass through
|
|
132
|
+
|
|
133
|
+
## 7. Shell Integration
|
|
134
|
+
|
|
135
|
+
CC-Viewer injects a `claude()` function into `~/.zshrc` (or `.bashrc`):
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
# >>> CC-Viewer Auto-Inject >>>
|
|
139
|
+
claude() { ... }
|
|
140
|
+
# <<< CC-Viewer Auto-Inject <<<
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
All `claude` commands are automatically routed through CC-Viewer proxy for log capture and Web UI features.
|
|
144
|
+
|
|
145
|
+
Uninstall: `ccv --uninstall` or manually delete content between the markers.
|
|
146
|
+
|
|
147
|
+
## 8. Proxy Configuration (Proxy Profile)
|
|
148
|
+
|
|
149
|
+
Stored in `<log_dir>/profile.json`, managed via the "Proxy Switch" panel in the UI.
|
|
150
|
+
|
|
151
|
+
```json
|
|
152
|
+
{
|
|
153
|
+
"active": "max",
|
|
154
|
+
"profiles": [
|
|
155
|
+
{ "id": "max", "name": "Default" },
|
|
156
|
+
{ "id": "my-proxy", "name": "Custom", "baseURL": "https://...", "apiKey": "sk-..." }
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
| Field | Description |
|
|
162
|
+
|-------|-------------|
|
|
163
|
+
| `active` | Active profile ID (`"max"` = direct connection, no proxy) |
|
|
164
|
+
| `id` | Unique identifier |
|
|
165
|
+
| `name` | Display name |
|
|
166
|
+
| `baseURL` | Proxy API address (replaces request origin) |
|
|
167
|
+
| `apiKey` | Proxy API key (replaces auth headers) |
|
|
168
|
+
| `models` | Available model list |
|
|
169
|
+
| `activeModel` | Currently selected model |
|
|
170
|
+
|
|
171
|
+
## 9. Plugin System
|
|
172
|
+
|
|
173
|
+
Plugin directory: `<log_dir>/plugins/`
|
|
174
|
+
|
|
175
|
+
### Supported Hook Types
|
|
176
|
+
|
|
177
|
+
| Hook | Type | Description |
|
|
178
|
+
|------|------|-------------|
|
|
179
|
+
| `httpsOptions` | Waterfall | Provide HTTPS certificate (return `{ cert, key }` or `{ pfx }`) |
|
|
180
|
+
| `localUrl` | Waterfall | Modify local access URL |
|
|
181
|
+
| `serverStarted` | Parallel | Server startup notification |
|
|
182
|
+
| `serverStopping` | Parallel | Server shutdown notification |
|
|
183
|
+
| `onNewEntry` | Parallel | New log entry written notification |
|
|
184
|
+
|
|
185
|
+
Plugin enable/disable managed via `disabledPlugins` array in `preferences.json`.
|
|
186
|
+
|
|
187
|
+
## 10. Directory Structure
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
~/.claude/cc-viewer/ # Log root directory
|
|
191
|
+
├── preferences.json # User preferences
|
|
192
|
+
├── workspaces.json # Workspace registry
|
|
193
|
+
├── profile.json # Proxy configuration
|
|
194
|
+
├── plugins/ # Plugin directory
|
|
195
|
+
│ └── my-plugin.js
|
|
196
|
+
├── <project>/ # Per-project log directory
|
|
197
|
+
│ ├── <project>_20260404_123456.jsonl # JSONL log files
|
|
198
|
+
│ ├── <project>.json # Stats data (background generated)
|
|
199
|
+
│ └── images/ # Persistent uploaded image copies
|
|
200
|
+
└── ...
|
|
201
|
+
|
|
202
|
+
/tmp/cc-viewer-uploads/ # Temporary upload file directory
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## 11. Server Configuration
|
|
206
|
+
|
|
207
|
+
| Setting | Value | Description |
|
|
208
|
+
|---------|-------|-------------|
|
|
209
|
+
| Port range | 7008-7099 | Auto-scans for available port |
|
|
210
|
+
| Bind address | 0.0.0.0 | All network interfaces |
|
|
211
|
+
| Access token | Random 16-byte hex | LAN access requires `?token=xxx`; localhost is exempt |
|
|
212
|
+
| HTTPS | Plugin only | Requires plugin providing `httpsOptions` hook |
|
|
213
|
+
| CORS | `*` | All origins allowed |
|
|
214
|
+
| Upload limit | 50MB | Maximum single file upload size |
|
|
215
|
+
|
|
216
|
+
## 12. URL Parameters
|
|
217
|
+
|
|
218
|
+
| Parameter | Description |
|
|
219
|
+
|-----------|-------------|
|
|
220
|
+
| `?token=xxx` | LAN access authentication token |
|
|
221
|
+
| `?logfile=path` | Open specific historical log file (read-only mode) |
|
|
222
|
+
|
|
223
|
+
## 13. localStorage Settings
|
|
224
|
+
|
|
225
|
+
| Key | Description |
|
|
226
|
+
|-----|-------------|
|
|
227
|
+
| `cxv_cacheExpireAt` | Cache countdown expiration time |
|
|
228
|
+
| `cxv_cacheType` | Cache type label |
|
|
229
|
+
| `ccv_sseSlim` | Enable SSE incremental pruning (desktop performance optimization) |
|
|
230
|
+
| `ccv_calibrationModel` | KV-Cache context window calibration model |
|
|
231
|
+
| `ccv_fileExplorerOpen` | File explorer panel toggle |
|
|
232
|
+
| `cc-viewer-terminal-width` | Terminal panel width (pixels) |
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# KV-Cache Content
|
|
2
|
+
|
|
3
|
+
## What is Prompt Caching?
|
|
4
|
+
|
|
5
|
+
When you chat with Claude, each API request sends the full conversation context (system prompt + tool definitions + historical messages). Anthropic's prompt caching mechanism caches previously computed prefix content on the server side. If the prefix of a subsequent request matches, the cached result is reused directly, skipping redundant computation and significantly reducing latency and cost.
|
|
6
|
+
|
|
7
|
+
In cc-viewer, this mechanism is referred to as "KV-Cache", corresponding to Anthropic's API-level prompt caching — not the key-value cache within the transformer attention layers of the LLM itself.
|
|
8
|
+
|
|
9
|
+
## How Caching Works
|
|
10
|
+
|
|
11
|
+
Anthropic's prompt caching concatenates the cache key in a fixed order:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
Tools → System Prompt → Messages (up to cache breakpoint)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
As long as this prefix exactly matches any request within the TTL window, the API returns a cache hit (`cache_read_input_tokens`) rather than recomputing (`cache_creation_input_tokens`).
|
|
18
|
+
|
|
19
|
+
> **Claude Code does not strongly depend on the `cache_control` attribute. The server will strip some of these attributes accordingly, yet caching still works well. So not seeing `cache_control` does not mean the content is not cached.**
|
|
20
|
+
>
|
|
21
|
+
> For special clients like Claude Code, Anthropic's server does not fully rely on the `cache_control` attribute in requests to determine caching behavior. The server automatically applies caching policies to specific fields (such as system prompt and tool definitions), even when the request does not explicitly include `cache_control` markers. Therefore, when you don't see this attribute in the request body, don't be puzzled — the server has already performed the caching operation behind the scenes, it simply hasn't exposed this information to the client. This is a tacit understanding between Claude Code and the Anthropic API.
|
|
22
|
+
|
|
23
|
+
## What is "Current KV-Cache Content"?
|
|
24
|
+
|
|
25
|
+
The "Current KV-Cache Content" displayed in cc-viewer is extracted from the most recent MainAgent request — specifically the content before the cache boundary (cache breakpoint). It includes:
|
|
26
|
+
|
|
27
|
+
- **System Prompt**: Claude Code's system instructions, including core agent directives, tool usage specifications, CLAUDE.md project instructions, environment information, etc.
|
|
28
|
+
- **Tools**: The current list of available tool definitions (such as Read, Write, Bash, Agent, MCP tools, etc.)
|
|
29
|
+
- **Messages**: The portion of conversation history that is cached (typically earlier messages, up to the last `cache_control` marker)
|
|
30
|
+
|
|
31
|
+
## Why View Cache Content?
|
|
32
|
+
|
|
33
|
+
1. **Understand Context**: See what Claude currently "remembers" to help you judge whether its behavior matches expectations
|
|
34
|
+
2. **Cost Optimization**: Cache hits cost far less than recomputation. Viewing cache content helps you understand why certain requests triggered a cache rebuild
|
|
35
|
+
3. **Debug Conversations**: When Claude's responses don't match expectations, checking cache content confirms whether the system prompt and historical messages are correct
|
|
36
|
+
4. **Context Quality Monitoring**: During debugging, configuration changes, or prompt adjustments, KV-Cache-Text provides a centralized view to quickly confirm whether core context has degraded or been unexpectedly polluted — without manually reviewing raw messages
|
|
37
|
+
|
|
38
|
+
## Multi-Level Caching Strategy
|
|
39
|
+
|
|
40
|
+
The KV-Cache corresponding to Claude Code is not a single cache. The server generates separate caches for Tools and System Prompt, independent from the Messages cache. The benefit of this design is: when the messages stack becomes corrupted (e.g., context truncation, message modification) and needs rebuilding, it won't invalidate the Tools and System Prompt caches along with it, avoiding a full recomputation.
|
|
41
|
+
|
|
42
|
+
This is a current server-side optimization strategy — because Tool definitions and the System Prompt remain relatively stable during normal use and rarely change. Caching them separately minimizes unnecessary rebuild overhead. So when you observe the cache, you'll notice that apart from Tools rebuilds which require a full cache refresh, disruptions to the System Prompt and Messages still have inheritable caches available.
|
|
43
|
+
|
|
44
|
+
## Cache Lifecycle
|
|
45
|
+
|
|
46
|
+
- **Creation**: On first request or after cache expiration, the API creates a new cache (`cache_creation_input_tokens`)
|
|
47
|
+
- **Hit**: Subsequent requests with matching prefixes reuse the cache (`cache_read_input_tokens`)
|
|
48
|
+
- **Expiration**: Cache has a 5-minute TTL (time-to-live) and automatically expires after timeout
|
|
49
|
+
- **Rebuild**: When system prompt, tool list, model, or message content changes, the cache key no longer matches, triggering a rebuild at the corresponding level
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# MainAgent
|
|
2
|
+
|
|
3
|
+
## Definition
|
|
4
|
+
|
|
5
|
+
MainAgent is the primary request chain in Claude Code when not in agent team mode. Every interaction between the user and Claude Code produces a series of API requests, where MainAgent requests form the core conversation chain — they carry the complete system prompt, tool definitions, and message history.
|
|
6
|
+
|
|
7
|
+
## Identification
|
|
8
|
+
|
|
9
|
+
In cc-viewer, MainAgent is identified by `req.mainAgent === true`, automatically tagged by `interceptor.js` during request capture.
|
|
10
|
+
|
|
11
|
+
Criteria (all must be met):
|
|
12
|
+
- The request body contains a `system` field (system prompt)
|
|
13
|
+
- The request body contains a `tools` array (tool definitions)
|
|
14
|
+
- The system prompt contains "Claude Code" signature text
|
|
15
|
+
|
|
16
|
+
## Differences from SubAgent
|
|
17
|
+
|
|
18
|
+
| Feature | MainAgent | SubAgent |
|
|
19
|
+
|---------|-----------|----------|
|
|
20
|
+
| system prompt | Complete Claude Code main prompt | Streamlined task-specific prompt |
|
|
21
|
+
| tools array | Contains all available tools | Usually contains only a few tools needed for the task |
|
|
22
|
+
| Message history | Accumulates full conversation context | Contains only sub-task related messages |
|
|
23
|
+
| Caching behavior | Has prompt caching (5-minute TTL) | Usually no caching or smaller cache |
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Hot-Switch Proxy
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Hot-Switch Proxy lets you dynamically redirect API requests to a different endpoint without restarting Claude Code. This is useful when using third-party API proxy services.
|
|
6
|
+
|
|
7
|
+
> ⚠️ Do not use this feature if you are a Claude Max subscriber.
|
|
8
|
+
|
|
9
|
+
## Fields
|
|
10
|
+
|
|
11
|
+
| Field | Required | Description |
|
|
12
|
+
|-------|----------|-------------|
|
|
13
|
+
| **Name** | ✅ | Display name for this proxy, used to identify it |
|
|
14
|
+
| **Base URL** | ✅ | Base URL of the API service (e.g. `https://api.example.com`). The original request origin will be replaced |
|
|
15
|
+
| **API Key** | ✅ | API key for the proxy service, replaces the original authentication |
|
|
16
|
+
| **Models** | ❌ | Comma-separated list of models supported by this proxy (e.g. `model-a, model-b`) |
|
|
17
|
+
| **Active Model** | ❌ | Select the active model from the list. The `model` field in requests will be replaced |
|
|
18
|
+
|
|
19
|
+
## How It Works
|
|
20
|
+
|
|
21
|
+
When a proxy is active, `interceptor.js` performs the following before each API request:
|
|
22
|
+
|
|
23
|
+
1. **URL Rewrite** — Replaces the request origin with the proxy's Base URL
|
|
24
|
+
2. **Auth Replace** — Replaces `x-api-key` or `Authorization` header with the proxy's API Key
|
|
25
|
+
3. **Model Replace** — If an active model is set, replaces the `model` field in the request body
|
|
26
|
+
|
|
27
|
+
## Config File
|
|
28
|
+
|
|
29
|
+
Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder icon in the title to open the directory:
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"active": "my-proxy",
|
|
34
|
+
"profiles": [
|
|
35
|
+
{ "id": "max", "name": "Max" },
|
|
36
|
+
{
|
|
37
|
+
"id": "my-proxy",
|
|
38
|
+
"name": "My Proxy",
|
|
39
|
+
"baseURL": "https://api.example.com",
|
|
40
|
+
"apiKey": "sk-xxx",
|
|
41
|
+
"models": ["model-a", "model-b"],
|
|
42
|
+
"activeModel": "model-a"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
- `active` — ID of the current profile. Set to `"max"` for direct connection (no proxy)
|
|
49
|
+
- `profiles` — Profile list. `id: "max"` is built-in and cannot be deleted
|
|
50
|
+
- Changes take effect within ~1.5 seconds (monitored via `fs.watchFile`), no restart needed
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Mobile QR Code Access
|
|
2
|
+
|
|
3
|
+
## How It Works
|
|
4
|
+
|
|
5
|
+
CC Viewer starts an HTTP server on your machine and generates a **local network address** (e.g., `http://192.168.1.100:7008`). Scan the QR code with your phone to access Claude Code from your mobile device over the same WiFi network.
|
|
6
|
+
|
|
7
|
+
## Why Can't I Connect?
|
|
8
|
+
|
|
9
|
+
Common reasons:
|
|
10
|
+
|
|
11
|
+
1. **Not on the same network** — Your phone and computer must be connected to the same WiFi (same router / same network name)
|
|
12
|
+
2. **Firewall blocking** — macOS/Windows firewall may block incoming connections; allow CC Viewer's port
|
|
13
|
+
3. **Corporate/school network isolation** — Some enterprise networks isolate device-to-device communication (AP isolation)
|
|
14
|
+
4. **VPN interference** — A VPN on either device may disrupt the network path
|
|
15
|
+
|
|
16
|
+
## Security Notice
|
|
17
|
+
|
|
18
|
+
> ⚠️ CC Viewer's LAN service is accessible to all devices on the same network by default.
|
|
19
|
+
|
|
20
|
+
- Be cautious when using on **public WiFi** (cafes, airports) — others on the same network could potentially access your service
|
|
21
|
+
- CC Viewer uses **token-based authentication** for LAN access (token is embedded in the URL); requests without a valid token are rejected
|
|
22
|
+
- Recommended for use on trusted home or office networks
|
|
23
|
+
|
|
24
|
+
## Beyond the LAN
|
|
25
|
+
|
|
26
|
+
If you need remote access to Claude Code from a different network (e.g., when traveling):
|
|
27
|
+
|
|
28
|
+
- **Tunneling tools** — frp, ngrok, Tailscale, etc. to expose local services to the internet
|
|
29
|
+
- **CC Viewer plugins** — Configure a proxy middleware via the plugin system for cross-network access (see plugin docs)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Response Body Field Reference
|
|
2
|
+
|
|
3
|
+
Field reference for the Claude API `/v1/messages` response body.
|
|
4
|
+
|
|
5
|
+
## Top-Level Fields
|
|
6
|
+
|
|
7
|
+
| Field | Type | Description |
|
|
8
|
+
|-------|------|-------------|
|
|
9
|
+
| **model** | string | The model name actually used, e.g. `claude-opus-4-6` |
|
|
10
|
+
| **id** | string | Unique identifier for this response, e.g. `msg_01Tgsr2QeH8AVXGoP2wAXRvU` |
|
|
11
|
+
| **type** | string | Always `"message"` |
|
|
12
|
+
| **role** | string | Always `"assistant"` |
|
|
13
|
+
| **content** | array | Array of content blocks output by the model, containing text, tool calls, thinking process, etc. |
|
|
14
|
+
| **stop_reason** | string | Reason for stopping: `"end_turn"` (normal completion), `"tool_use"` (tool execution needed), `"max_tokens"` (token limit reached) |
|
|
15
|
+
| **stop_sequence** | string/null | The sequence that triggered the stop, usually `null` |
|
|
16
|
+
| **usage** | object | Token usage statistics (see below) |
|
|
17
|
+
|
|
18
|
+
## content Block Types
|
|
19
|
+
|
|
20
|
+
| Type | Description |
|
|
21
|
+
|------|-------------|
|
|
22
|
+
| **text** | The model's text reply, contains a `text` field |
|
|
23
|
+
| **tool_use** | Tool call request, contains `name` (tool name), `input` (parameters), `id` (call ID, used to match tool_result) |
|
|
24
|
+
| **thinking** | Extended thinking content (only appears when thinking mode is enabled), contains a `thinking` field |
|
|
25
|
+
|
|
26
|
+
## usage Field Details
|
|
27
|
+
|
|
28
|
+
| Field | Description |
|
|
29
|
+
|-------|-------------|
|
|
30
|
+
| **input_tokens** | Number of input tokens that did not hit the cache (billed at full price) |
|
|
31
|
+
| **cache_creation_input_tokens** | Number of tokens for newly created cache entries (cache write, billed higher than normal input) |
|
|
32
|
+
| **cache_read_input_tokens** | Number of tokens that hit the cache (cache read, billed much lower than normal input) |
|
|
33
|
+
| **output_tokens** | Number of tokens output by the model |
|
|
34
|
+
| **service_tier** | Service tier, e.g. `"standard"` |
|
|
35
|
+
| **inference_geo** | Inference geography, e.g. `"not_available"` means no geography info is provided |
|
|
36
|
+
|
|
37
|
+
## cache_creation Sub-Fields
|
|
38
|
+
|
|
39
|
+
| Field | Description |
|
|
40
|
+
|-------|-------------|
|
|
41
|
+
| **ephemeral_5m_input_tokens** | Number of tokens for short-term cache creation with a 5-minute TTL |
|
|
42
|
+
| **ephemeral_1h_input_tokens** | Number of tokens for long-term cache creation with a 1-hour TTL |
|
|
43
|
+
|
|
44
|
+
> **About cache billing**: The unit price of `cache_read_input_tokens` is much lower than `input_tokens`, while the unit price of `cache_creation_input_tokens` is slightly higher than normal input. Therefore, maintaining a high cache hit rate in ongoing conversations can significantly reduce costs. You can visually monitor this ratio through the "Hit Rate" metric in cc-viewer.
|
|
45
|
+
|
|
46
|
+
## stop_reason Meanings
|
|
47
|
+
|
|
48
|
+
- **end_turn**: The model completed its reply normally
|
|
49
|
+
- **tool_use**: The model needs to call a tool; the content will include a `tool_use` block. The next request must append a `tool_result` in the messages to continue the conversation
|
|
50
|
+
- **max_tokens**: The reply was truncated due to reaching the `max_tokens` limit and may be incomplete
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# SubAgent: Search
|
|
2
|
+
|
|
3
|
+
## Definition
|
|
4
|
+
|
|
5
|
+
Search is a sub-agent type spawned by Claude Code's main agent to perform codebase searches. It executes targeted file and content searches using tools like Glob, Grep, and Read, then returns the results to the parent agent.
|
|
6
|
+
|
|
7
|
+
## Behavior
|
|
8
|
+
|
|
9
|
+
- Spawned automatically when the main agent needs to search or explore the codebase
|
|
10
|
+
- Runs in an isolated context with read-only access
|
|
11
|
+
- Uses Glob for file pattern matching, Grep for content search, and Read for file inspection
|
|
12
|
+
- Returns search results to the parent agent for further processing
|
|
13
|
+
|
|
14
|
+
## When It Appears
|
|
15
|
+
|
|
16
|
+
Search sub-agents typically appear when:
|
|
17
|
+
|
|
18
|
+
1. The main agent needs to find specific files, functions, or code patterns
|
|
19
|
+
2. A broad codebase exploration is requested by the user
|
|
20
|
+
3. The agent is investigating dependencies, references, or usage patterns
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Teammate
|
|
2
|
+
|
|
3
|
+
## Definition
|
|
4
|
+
|
|
5
|
+
A Teammate is a collaborative agent in Claude Code Agent Team mode. When the main agent creates a team via `TeamCreate` and spawns teammates using the `Agent` tool, each teammate runs as an independent agent process with its own context window and toolset, communicating with team members through `SendMessage`.
|
|
6
|
+
|
|
7
|
+
## Differences from SubAgent
|
|
8
|
+
|
|
9
|
+
| Feature | Teammate | SubAgent |
|
|
10
|
+
|---------|----------|----------|
|
|
11
|
+
| Lifecycle | Persistent, can receive multiple messages | One-off task, destroyed upon completion |
|
|
12
|
+
| Communication | SendMessage bidirectional messaging | Parent→child unidirectional call, returns result |
|
|
13
|
+
| Context | Independent full context, retained across turns | Isolated task context |
|
|
14
|
+
| Collaboration | Team collaboration, can communicate with each other | Hierarchical structure, only interacts with parent agent |
|
|
15
|
+
| Task Type | Complex multi-step tasks | Single tasks such as search and exploration |
|
|
16
|
+
|
|
17
|
+
## Behavior
|
|
18
|
+
|
|
19
|
+
- Created by the main agent (team lead) via the `Agent` tool and assigned a `team_name`
|
|
20
|
+
- Shares task lists through `TaskList` / `TaskGet` / `TaskUpdate`
|
|
21
|
+
- Enters idle state after each turn, waiting to be woken by a new message
|
|
22
|
+
- Can be gracefully terminated via `shutdown_request`
|
|
23
|
+
|
|
24
|
+
## Stats Panel Description
|
|
25
|
+
|
|
26
|
+
The Teammate stats panel displays the number of API calls for each teammate. The `Name` column shows the teammate's name (e.g., `reviewer-security`, `reviewer-pipeline`), and the `Count` column shows the total number of API requests generated by that teammate.
|