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,32 @@
|
|
|
1
|
+
# Body Diff JSON (Inkrementeller Request-Body-Vergleich)
|
|
2
|
+
|
|
3
|
+
## Hintergrund
|
|
4
|
+
|
|
5
|
+
Der MainAgent von Claude Code verwendet einen Vollkontext-Sendemechanismus – jede Anfrage enthält den vollständigen Gesprächsverlauf, System-Prompt, Tool-Definitionen usw. Das bedeutet, dass der Request-Body im Laufe des Gesprächs immer größer wird und es schwierig ist, im Roh-Body schnell zu erkennen, „was in dieser Runde tatsächlich neu hinzugekommen ist".
|
|
6
|
+
|
|
7
|
+
Body Diff JSON löst genau dieses Problem: Es vergleicht automatisch die Bodies zweier aufeinanderfolgender MainAgent-Anfragen, extrahiert die inkrementellen Teile und zeigt auf einen Blick, welche Inhalte in dieser Anfrage tatsächlich neu sind.
|
|
8
|
+
|
|
9
|
+
## Funktionsweise
|
|
10
|
+
|
|
11
|
+
1. **Erkennung aufeinanderfolgender MainAgent-Anfragen**: Die aktuelle Anfrage muss vom Typ MainAgent sein, und es muss eine vorherige MainAgent-Anfrage existieren
|
|
12
|
+
2. **Feldweiser Vergleich**: Alle Top-Level-Felder des Request-Body werden durchlaufen, interne Attribute mit `_`-Präfix werden übersprungen
|
|
13
|
+
3. **Intelligente Differenzextraktion**:
|
|
14
|
+
- Neue Felder: werden direkt angezeigt
|
|
15
|
+
- Gelöschte Felder: werden nicht angezeigt (beeinträchtigen normalerweise nicht das Verständnis)
|
|
16
|
+
- Geänderte Felder: zeigen den aktuellen Wert
|
|
17
|
+
- `messages`-Array wird speziell behandelt: Es werden nur neue Nachrichten angezeigt (da im normalen Gespräch Nachrichten angehängt werden und die Präfix-Nachrichten unverändert bleiben)
|
|
18
|
+
4. **Erkennung einer Verkleinerung des Request-Body**: Wenn der aktuelle Request-Body kleiner ist als der vorherige, deutet dies auf eine Kontextkürzung oder Sitzungszurücksetzung hin – in diesem Fall wird ein Hinweis statt eines Diffs angezeigt
|
|
19
|
+
|
|
20
|
+
## Typische Szenarien
|
|
21
|
+
|
|
22
|
+
In einer normalen Gesprächsrunde enthält Body Diff JSON normalerweise nur:
|
|
23
|
+
- `messages`: 1–2 neue Nachrichten (Benutzereingabe + Antwort des Assistenten aus der vorherigen Runde)
|
|
24
|
+
|
|
25
|
+
Wenn im Diff Änderungen an Feldern wie `system`, `tools`, `model` usw. erscheinen, bedeutet dies, dass sich die Konfiguration in dieser Runde geändert hat – was oft auch der Grund für einen Cache-Rebuild ist.
|
|
26
|
+
|
|
27
|
+
## Verwendung
|
|
28
|
+
|
|
29
|
+
- Body Diff JSON wird im Detailbereich der MainAgent-Anfrage angezeigt
|
|
30
|
+
- Klicken Sie auf den Titel zum Auf-/Zuklappen
|
|
31
|
+
- Unterstützt JSON- und Text-Ansichtsmodi sowie Ein-Klick-Kopieren
|
|
32
|
+
- Unter **CC-Viewer → Globale Einstellungen** (oben links) können Sie „Body Diff JSON standardmäßig aufklappen" einstellen
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Beschreibung der Request-Body-Felder
|
|
2
|
+
|
|
3
|
+
Beschreibung der Top-Level-Felder des Request-Bodys der Claude API `/v1/messages`.
|
|
4
|
+
|
|
5
|
+
## Feldliste
|
|
6
|
+
|
|
7
|
+
| Feld | Typ | Beschreibung |
|
|
8
|
+
|------|-----|--------------|
|
|
9
|
+
| **model** | string | Name des verwendeten Modells, z. B. `claude-opus-4-6`, `claude-sonnet-4-6` |
|
|
10
|
+
| **messages** | array | Nachrichtenverlauf der Konversation. Jede Nachricht enthält `role` (user/assistant) und `content` (ein Block-Array aus Text, Bildern, tool_use, tool_result usw.) |
|
|
11
|
+
| **system** | array | System-Prompt. Enthält die Kernanweisungen von Codex, Anweisungen zur Tool-Nutzung, Umgebungsinformationen, CLAUDE.md-Inhalte usw. Blöcke mit `cache_control` werden durch Prompt-Caching zwischengespeichert |
|
|
12
|
+
| **tools** | array | Liste der verfügbaren Tool-Definitionen. Jedes Tool enthält `name`, `description` und `input_schema` (JSON Schema). Der MainAgent hat typischerweise 20+ Tools, SubAgents nur wenige |
|
|
13
|
+
| **metadata** | object | Anfrage-Metadaten, enthält typischerweise `user_id` zur Benutzeridentifikation |
|
|
14
|
+
| **max_tokens** | number | Maximale Token-Anzahl pro Modellantwort, z. B. `16000`, `64000` |
|
|
15
|
+
| **thinking** | object | Konfiguration des erweiterten Denkens. `type: "enabled"` aktiviert den Denkmodus, `budget_tokens` steuert das Token-Limit für das Denken |
|
|
16
|
+
| **context_management** | object | Konfiguration der Kontextverwaltung. `truncation: "auto"` erlaubt Codex, zu lange Nachrichtenverläufe automatisch zu kürzen |
|
|
17
|
+
| **output_config** | object | Ausgabekonfiguration, z. B. `format`-Einstellungen |
|
|
18
|
+
| **stream** | boolean | Ob Streaming-Antworten aktiviert sind. Codex verwendet immer `true` |
|
|
19
|
+
|
|
20
|
+
## messages-Struktur
|
|
21
|
+
|
|
22
|
+
Der `content` jeder Nachricht ist ein Block-Array mit folgenden gängigen Typen:
|
|
23
|
+
|
|
24
|
+
- **text**: Normaler Textinhalt
|
|
25
|
+
- **tool_use**: Modell ruft ein Tool auf (enthält `name`, `input`)
|
|
26
|
+
- **tool_result**: Ergebnis der Tool-Ausführung (enthält `tool_use_id`, `content`)
|
|
27
|
+
- **image**: Bildinhalt (Base64 oder URL)
|
|
28
|
+
- **thinking**: Denkprozess des Modells (erweiterter Denkmodus)
|
|
29
|
+
|
|
30
|
+
## system-Struktur
|
|
31
|
+
|
|
32
|
+
Das System-Prompt-Array enthält typischerweise:
|
|
33
|
+
|
|
34
|
+
1. **Kern-Agent-Anweisungen** ("You are Codex...")
|
|
35
|
+
2. **Regeln zur Tool-Nutzung**
|
|
36
|
+
3. **CLAUDE.md-Inhalte** (projektspezifische Anweisungen)
|
|
37
|
+
4. **Skill-Hinweise** (Skills Reminder)
|
|
38
|
+
5. **Umgebungsinformationen** (OS, Shell, Git-Status usw.) — Tatsächlich ist Codex stark von Git abhängig. Wenn ein Git-Repository im Projekt vorhanden ist, kann Codex ein besseres Verständnis des Projekts zeigen, einschließlich der Möglichkeit, Remote-Änderungen und Commit-Verläufe zur Analyse heranzuziehen
|
|
39
|
+
|
|
40
|
+
Blöcke mit der Markierung `cache_control: { type: "ephemeral" }` werden von der Anthropic API 5 Minuten lang zwischengespeichert. Bei einem Cache-Treffer wird mit `cache_read_input_tokens` abgerechnet (deutlich günstiger als `input_tokens`).
|
|
41
|
+
|
|
42
|
+
> **Hinweis**: Bei speziellen Clients wie Codex verlässt sich der Anthropic-Server tatsächlich nicht vollständig auf das `cache_control`-Attribut in der Anfrage, um das Caching-Verhalten zu bestimmen. Der Server führt automatisch Caching-Strategien für bestimmte Felder aus (wie System-Prompt, Tool-Definitionen), auch wenn die Anfrage keine explizite `cache_control`-Markierung enthält. Wenn Sie dieses Attribut also nicht im Request-Body sehen, brauchen Sie sich nicht zu wundern — der Server hat das Caching bereits im Hintergrund durchgeführt, ohne diese Information dem Client offenzulegen. Dies ist eine Art stillschweigende Übereinkunft zwischen Codex und der Anthropic API.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Cache Rebuild (Cache-Neuaufbau)
|
|
2
|
+
|
|
3
|
+
## Hintergrund
|
|
4
|
+
|
|
5
|
+
Der Prompt-Caching-Mechanismus von Anthropic verkettet system → tools → messages (bis zum Cache-Breakpoint) in der Anfrage sequenziell zu einem Cache-Schlüssel. Wenn der Cache-Schlüssel mit der vorherigen Anfrage exakt übereinstimmt, gibt die API `cache_read_input_tokens` zurück (Cache-Treffer); wenn sich der Cache-Schlüssel ändert, erstellt die API den Cache neu und gibt eine große Anzahl von `cache_creation_input_tokens` zurück – das ist der Cache-Neuaufbau.
|
|
6
|
+
|
|
7
|
+
Ein Cache-Neuaufbau bedeutet zusätzliche Token-Kosten (Cache Creation ist teurer als Cache Read), daher hat die Identifizierung der Neuaufbau-Ursachen direkten Wert für die Kostenoptimierung.
|
|
8
|
+
|
|
9
|
+
## Klassifizierung der Cache-Neuaufbau-Ursachen
|
|
10
|
+
|
|
11
|
+
cc-viewer vergleicht die Bodies zweier aufeinanderfolgender MainAgent-Anfragen und bestimmt präzise die Ursache des Cache-Neuaufbaus:
|
|
12
|
+
|
|
13
|
+
| reason | Bedeutung | Erkennungsmethode |
|
|
14
|
+
|--------|-----------|-------------------|
|
|
15
|
+
| `ttl` | Cache abgelaufen | Mehr als 5 Minuten seit der letzten MainAgent-Anfrage |
|
|
16
|
+
| `system_change` | System-Prompt geändert | `JSON.stringify(prev.system) !== JSON.stringify(curr.system)` |
|
|
17
|
+
| `tools_change` | Tool-Definitionen geändert | `JSON.stringify(prev.tools) !== JSON.stringify(curr.tools)` |
|
|
18
|
+
| `model_change` | Modellwechsel | `prev.model !== curr.model` |
|
|
19
|
+
| `msg_truncated` | Nachrichtenstapel gekürzt | Die aktuelle Anfrage hat weniger Messages als die vorherige, typischerweise ausgelöst durch Kontextfenster-Überlauf |
|
|
20
|
+
| `msg_modified` | Verlaufsnachrichten geändert | Präfix-Nachrichten stimmen nicht überein (beim normalen Anhängen sollte das Präfix identisch sein) |
|
|
21
|
+
| `key_change` | Unbekannte Schlüsseländerung | Fallback, wenn keine der obigen Bedingungen zutrifft |
|
|
22
|
+
|
|
23
|
+
## Prioritätsreihenfolge
|
|
24
|
+
|
|
25
|
+
1. Zuerst wird das Zeitintervall geprüft – über 5 Minuten wird direkt als `ttl` eingestuft, ohne Body-Vergleich
|
|
26
|
+
2. Dann werden nacheinander model, system, tools, messages geprüft
|
|
27
|
+
3. Eine Anfrage kann mehrere Ursachen gleichzeitig auslösen (z.B. Modellwechsel + System-Prompt-Änderung), wobei das `reasons`-Array alle Treffer enthält und der Tooltip sie zeilenweise anzeigt
|
|
28
|
+
|
|
29
|
+
## Häufige Szenarien
|
|
30
|
+
|
|
31
|
+
- **`ttl`**: Der Benutzer pausiert länger als 5 Minuten und setzt dann fort – der Cache läuft natürlich ab
|
|
32
|
+
- **`system_change`**: Claude Code hat den System-Prompt aktualisiert (z.B. neue CLAUDE.md geladen, Project Instructions geändert)
|
|
33
|
+
- **`tools_change`**: MCP-Server-Verbindung/-Trennung führt zu Änderungen in der verfügbaren Tool-Liste
|
|
34
|
+
- **`model_change`**: Der Benutzer wechselt das Modell über den `/model`-Befehl
|
|
35
|
+
- **`msg_truncated`**: Ein zu langes Gespräch löst die Kontextfenster-Verwaltung aus, Claude Code kürzt frühere Nachrichten
|
|
36
|
+
- **`msg_modified`**: Claude Code hat Verlaufsnachrichten bearbeitet (z.B. `/compact` ersetzt Originalnachrichten durch komprimierte Zusammenfassungen)
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
# CC-Viewer 全局配置参考
|
|
2
|
+
|
|
3
|
+
## 一、全局设置面板(UI)
|
|
4
|
+
|
|
5
|
+
通过左上角菜单 → "全局设置" 打开。
|
|
6
|
+
|
|
7
|
+
| 配置项 | 类型 | 默认值 | 说明 |
|
|
8
|
+
|--------|------|--------|------|
|
|
9
|
+
| 过滤无关请求 | 开关 | 开 | 隐藏心跳、count_tokens、子代理等非主代理请求 |
|
|
10
|
+
| 默认展开 Body Diff JSON | 开关 | 关 | 请求详情面板中的 Body Diff 区域默认展开 |
|
|
11
|
+
| 日志目录设置 | 文本输入 | `~/.claude/cc-viewer` | 项目日志的读写根目录,支持 `~/` 展开。修改后回车或失焦保存,立即生效 |
|
|
12
|
+
|
|
13
|
+
## 二、显示设置面板(UI)
|
|
14
|
+
|
|
15
|
+
通过左上角菜单 → "显示设置" 打开。
|
|
16
|
+
|
|
17
|
+
| 配置项 | 类型 | 默认值 | 说明 |
|
|
18
|
+
|--------|------|--------|------|
|
|
19
|
+
| 折叠工具结果 | 开关 | 开 | 聊天视图中折叠工具调用结果块 |
|
|
20
|
+
| 展开思考过程 | 开关 | 开 | 默认展开 Claude 的思考/推理过程块 |
|
|
21
|
+
| 完整展示所有内容 | 开关 | 关 | 显示完整的工具调用内容,不截断 |
|
|
22
|
+
| 自动恢复会话 | 开关 + 选项 | 关 | 遇到会话恢复提示时自动选择:`继续` 或 `新建` |
|
|
23
|
+
|
|
24
|
+
## 三、偏好设置文件
|
|
25
|
+
|
|
26
|
+
所有 UI 设置持久化到 `<日志目录>/preferences.json`,通过 `/api/preferences` 接口读写。
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"lang": "zh",
|
|
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
|
+
| 字段 | 类型 | 说明 |
|
|
44
|
+
|------|------|------|
|
|
45
|
+
| `lang` | string | 界面语言(zh/en/zh-TW/ko/ja/de/es/fr/it/da/pl/ru/ar/no/pt-BR/th/tr/uk) |
|
|
46
|
+
| `filterIrrelevant` | boolean | 过滤无关请求 |
|
|
47
|
+
| `expandDiff` | boolean | 默认展开 Body Diff JSON |
|
|
48
|
+
| `collapseToolResults` | boolean | 折叠工具结果 |
|
|
49
|
+
| `expandThinking` | boolean | 展开思考过程 |
|
|
50
|
+
| `showFullToolContent` | boolean | 完整展示内容 |
|
|
51
|
+
| `logDir` | string | 日志目录路径 |
|
|
52
|
+
| `resumeAutoChoice` | null / "continue" / "new" | 自动恢复会话选择 |
|
|
53
|
+
| `disabledPlugins` | string[] | 已禁用的插件文件名列表 |
|
|
54
|
+
| `presetShortcuts` | array | Agent Team 快捷指令预设 |
|
|
55
|
+
|
|
56
|
+
## 四、环境变量
|
|
57
|
+
|
|
58
|
+
### CC-Viewer 专有
|
|
59
|
+
|
|
60
|
+
| 变量名 | 默认值 | 说明 |
|
|
61
|
+
|--------|--------|------|
|
|
62
|
+
| `CCV_LOG_DIR` | `~/.claude/cc-viewer` | 日志存储根目录。特殊值:`tmp`/`temp` 使用系统临时目录 |
|
|
63
|
+
| `CCV_CLI_MODE` | 未设置 | `=1` 启用 CLI 模式(PTY 终端) |
|
|
64
|
+
| `CCV_SDK_MODE` | 未设置 | `=1` 启用 Agent SDK 模式(无终端) |
|
|
65
|
+
| `CCV_WORKSPACE_MODE` | 未设置 | `=1` 启用工作空间选择模式 |
|
|
66
|
+
| `CCV_PROJECT_DIR` | `process.cwd()` | 项目工作目录,用于文件操作和 Git 命令 |
|
|
67
|
+
| `CCV_PROXY_PORT` | 未设置 | 本地 MITM 代理端口 |
|
|
68
|
+
| `CCV_BYPASS_PERMISSIONS` | 未设置 | `=1` 跳过工具权限审批(配合 `--dangerously-skip-permissions`) |
|
|
69
|
+
| `CCV_DISABLE_DELTA` | 未设置 | `=1` 禁用增量日志存储,每次写入完整消息 |
|
|
70
|
+
| `CCV_DEBUG` | 未设置 | `=1` 启用 HTTP 代理调试日志 |
|
|
71
|
+
| `CCV_DEBUG_PLUGINS` | 未设置 | `=1` 启用插件加载调试日志 |
|
|
72
|
+
|
|
73
|
+
### 内部 IPC
|
|
74
|
+
|
|
75
|
+
| 变量名 | 说明 |
|
|
76
|
+
|--------|------|
|
|
77
|
+
| `CCVIEWER_PORT` | 服务端口,供 ask-bridge/perm-bridge 通信 |
|
|
78
|
+
| `CCV_EDITOR_PORT` | 服务端口,供 ccv-editor 文件编辑桥接 |
|
|
79
|
+
|
|
80
|
+
### 外部变量(读取)
|
|
81
|
+
|
|
82
|
+
| 变量名 | 说明 |
|
|
83
|
+
|--------|------|
|
|
84
|
+
| `ANTHROPIC_BASE_URL` | 自定义 Anthropic API 地址 |
|
|
85
|
+
| `SHELL` | 用户 Shell(PTY 启动和 Shell 配置检测) |
|
|
86
|
+
| `http_proxy` / `HTTPS_PROXY` 等 | HTTP 代理配置(通过 undici EnvHttpProxyAgent) |
|
|
87
|
+
|
|
88
|
+
## 五、CLI 命令参数
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
ccv [选项] [claude 参数...]
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### CC-Viewer 专有选项
|
|
95
|
+
|
|
96
|
+
| 参数 | 说明 |
|
|
97
|
+
|------|------|
|
|
98
|
+
| `-logger` | 安装/修复 Claude Code hooks |
|
|
99
|
+
| `--uninstall` / `-uninstall` | 卸载所有 CC-Viewer 集成 |
|
|
100
|
+
| `--help` / `-h` / `help` | 显示帮助信息 |
|
|
101
|
+
| `--version` / `-v` | 显示版本号 |
|
|
102
|
+
| `-SDK` / `--sdk` | 使用 Agent SDK 模式 |
|
|
103
|
+
| `--d` | `--dangerously-skip-permissions` 简写 |
|
|
104
|
+
| `--ad` | `--allow-dangerously-skip-permissions` 简写 |
|
|
105
|
+
| `run` | 通过代理运行命令(`ccv run -- claude ...`) |
|
|
106
|
+
|
|
107
|
+
### Claude 透传参数(常用)
|
|
108
|
+
|
|
109
|
+
| 参数 | 说明 |
|
|
110
|
+
|------|------|
|
|
111
|
+
| `-c` / `--continue` | 继续上一次会话 |
|
|
112
|
+
| `-r` / `--resume` | 恢复指定会话 |
|
|
113
|
+
| `-p` / `--print` | 非交互式输出 |
|
|
114
|
+
| `--model` | 指定模型 |
|
|
115
|
+
| `--permission-mode` | 权限模式 |
|
|
116
|
+
| `--system-prompt` | 自定义系统提示词 |
|
|
117
|
+
| `--max-budget-usd` | 最大预算 |
|
|
118
|
+
|
|
119
|
+
## 六、Hook 配置
|
|
120
|
+
|
|
121
|
+
CC-Viewer 自动注册到 `~/.claude/settings.json` 的 `hooks.PreToolUse` 中:
|
|
122
|
+
|
|
123
|
+
### 1. AskUserQuestion 桥接
|
|
124
|
+
- **匹配器**: `"AskUserQuestion"`
|
|
125
|
+
- **命令**: `node <安装目录>/lib/ask-bridge.js`
|
|
126
|
+
- **作用**: 将 Claude 的问题转发到 Web UI,等待用户回答
|
|
127
|
+
|
|
128
|
+
### 2. 权限审批桥接
|
|
129
|
+
- **匹配器**: `""` (空 = 匹配所有工具)
|
|
130
|
+
- **命令**: `node <安装目录>/lib/perm-bridge.js`
|
|
131
|
+
- **作用**: 仅 `Bash`/`Edit`/`Write`/`NotebookEdit` 需要 Web UI 审批,其余自动放行
|
|
132
|
+
|
|
133
|
+
## 七、Shell 集成
|
|
134
|
+
|
|
135
|
+
CC-Viewer 在 `~/.zshrc`(或 `.bashrc`)中注入 `claude()` 函数:
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
# >>> CC-Viewer Auto-Inject >>>
|
|
139
|
+
claude() { ... }
|
|
140
|
+
# <<< CC-Viewer Auto-Inject <<<
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
所有 `claude` 命令自动通过 CC-Viewer 代理,实现日志捕获和 Web UI 功能。
|
|
144
|
+
|
|
145
|
+
卸载:`ccv --uninstall` 或手动删除标记之间的内容。
|
|
146
|
+
|
|
147
|
+
## 八、代理配置(Proxy Profile)
|
|
148
|
+
|
|
149
|
+
存储在 `<日志目录>/profile.json`,通过 UI 的"代理切换"面板管理。
|
|
150
|
+
|
|
151
|
+
```json
|
|
152
|
+
{
|
|
153
|
+
"active": "max",
|
|
154
|
+
"profiles": [
|
|
155
|
+
{ "id": "max", "name": "Default" },
|
|
156
|
+
{ "id": "my-proxy", "name": "自定义", "baseURL": "https://...", "apiKey": "sk-..." }
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
| 字段 | 说明 |
|
|
162
|
+
|------|------|
|
|
163
|
+
| `active` | 当前激活的配置 ID(`"max"` = 直连,无代理) |
|
|
164
|
+
| `id` | 唯一标识 |
|
|
165
|
+
| `name` | 显示名称 |
|
|
166
|
+
| `baseURL` | 代理 API 地址(替换请求 origin) |
|
|
167
|
+
| `apiKey` | 代理 API 密钥(替换认证头) |
|
|
168
|
+
| `models` | 可用模型列表 |
|
|
169
|
+
| `activeModel` | 当前选中的模型 |
|
|
170
|
+
|
|
171
|
+
## 九、插件系统
|
|
172
|
+
|
|
173
|
+
插件目录:`<日志目录>/plugins/`
|
|
174
|
+
|
|
175
|
+
### 支持的 Hook 类型
|
|
176
|
+
|
|
177
|
+
| Hook | 类型 | 说明 |
|
|
178
|
+
|------|------|------|
|
|
179
|
+
| `httpsOptions` | 瀑布 | 提供 HTTPS 证书(返回 `{ cert, key }` 或 `{ pfx }`) |
|
|
180
|
+
| `localUrl` | 瀑布 | 修改本地访问 URL |
|
|
181
|
+
| `serverStarted` | 并行 | 服务器启动通知 |
|
|
182
|
+
| `serverStopping` | 并行 | 服务器停止通知 |
|
|
183
|
+
| `onNewEntry` | 并行 | 新日志条目写入通知 |
|
|
184
|
+
|
|
185
|
+
插件启用/禁用通过 `preferences.json` 的 `disabledPlugins` 数组管理。
|
|
186
|
+
|
|
187
|
+
## 十、目录结构
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
~/.claude/cc-viewer/ # 日志根目录
|
|
191
|
+
├── preferences.json # 用户偏好设置
|
|
192
|
+
├── workspaces.json # 工作空间注册表
|
|
193
|
+
├── profile.json # 代理配置
|
|
194
|
+
├── plugins/ # 插件目录
|
|
195
|
+
│ └── my-plugin.js
|
|
196
|
+
├── <项目名>/ # 每个项目的日志目录
|
|
197
|
+
│ ├── <项目名>_20260404_123456.jsonl # JSONL 日志文件
|
|
198
|
+
│ ├── <项目名>.json # 统计数据(后台生成)
|
|
199
|
+
│ └── images/ # 上传图片的持久副本
|
|
200
|
+
└── ...
|
|
201
|
+
|
|
202
|
+
/tmp/cc-viewer-uploads/ # 临时上传文件目录
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## 十一、服务器配置
|
|
206
|
+
|
|
207
|
+
| 配置 | 值 | 说明 |
|
|
208
|
+
|------|-----|------|
|
|
209
|
+
| 端口范围 | 7008-7099 | 自动扫描可用端口 |
|
|
210
|
+
| 绑定地址 | 0.0.0.0 | 所有网络接口 |
|
|
211
|
+
| 访问令牌 | 随机 16 字节 hex | 局域网访问需要 `?token=xxx`,本机免认证 |
|
|
212
|
+
| HTTPS | 仅通过插件 | 需要插件提供 `httpsOptions` hook |
|
|
213
|
+
| CORS | `*` | 允许所有来源 |
|
|
214
|
+
| 上传限制 | 50MB | 单文件最大上传大小 |
|
|
215
|
+
|
|
216
|
+
## 十二、URL 参数
|
|
217
|
+
|
|
218
|
+
| 参数 | 说明 |
|
|
219
|
+
|------|------|
|
|
220
|
+
| `?token=xxx` | 局域网访问认证令牌 |
|
|
221
|
+
| `?logfile=path` | 打开指定历史日志文件(只读模式) |
|
|
222
|
+
|
|
223
|
+
## 十三、localStorage 配置
|
|
224
|
+
|
|
225
|
+
| 键 | 说明 |
|
|
226
|
+
|-----|------|
|
|
227
|
+
| `cxv_cacheExpireAt` | 缓存倒计时到期时间 |
|
|
228
|
+
| `cxv_cacheType` | 缓存类型标签 |
|
|
229
|
+
| `ccv_sseSlim` | 启用 SSE 增量裁剪(桌面端性能优化) |
|
|
230
|
+
| `ccv_calibrationModel` | KV-Cache 上下文窗口校准模型 |
|
|
231
|
+
| `ccv_fileExplorerOpen` | 文件浏览器面板开关 |
|
|
232
|
+
| `cc-viewer-terminal-width` | 终端面板宽度(像素) |
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# KV-Cache-Inhalt
|
|
2
|
+
|
|
3
|
+
## Was ist Prompt Caching?
|
|
4
|
+
|
|
5
|
+
Wenn du mit Claude kommunizierst, wird bei jeder API-Anfrage der vollständige Gesprächskontext gesendet (System Prompt + Tool-Definitionen + Nachrichtenverlauf). Der Prompt-Caching-Mechanismus von Anthropic speichert bereits berechnete Präfix-Inhalte serverseitig. Wenn nachfolgende Anfragen denselben Präfix haben, werden die zwischengespeicherten Ergebnisse direkt wiederverwendet, wodurch redundante Berechnungen übersprungen und Latenz sowie Kosten erheblich reduziert werden.
|
|
6
|
+
|
|
7
|
+
In cc-viewer wird dieser Mechanismus als „KV-Cache" bezeichnet und entspricht dem Prompt Caching auf Anthropic-API-Ebene – nicht dem Key-Value-Cache der internen Transformer-Attention-Schichten des LLM.
|
|
8
|
+
|
|
9
|
+
## Wie Caching funktioniert
|
|
10
|
+
|
|
11
|
+
Das Prompt Caching von Anthropic erstellt den Cache-Schlüssel in fester Reihenfolge:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
Tools → System Prompt → Messages (bis zum Cache-Breakpoint)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Solange dieser Präfix innerhalb des TTL-Fensters mit einer früheren Anfrage vollständig übereinstimmt, wird der Cache getroffen (Rückgabe von `cache_read_input_tokens`), anstatt neu zu berechnen (`cache_creation_input_tokens`).
|
|
18
|
+
|
|
19
|
+
> **Claude Code ist nicht zwingend auf das `cache_control`-Attribut angewiesen. Die Serverseite entfernt teilweise diese Attribute, kann aber dennoch gut Caches erstellen. Das Fehlen des `cache_control`-Attributs bedeutet also nicht, dass kein Caching stattfindet.**
|
|
20
|
+
>
|
|
21
|
+
> Für spezielle Clients wie Claude Code verlässt sich die Serverseite von Anthropic nicht vollständig auf das `cache_control`-Attribut in der Anfrage, um das Caching-Verhalten zu bestimmen. Der Server führt automatisch Caching-Strategien für bestimmte Felder aus (wie System Prompt und Tool-Definitionen), auch wenn die Anfrage keine expliziten `cache_control`-Markierungen enthält. Wenn du dieses Attribut also nicht im Request Body siehst, besteht kein Grund zur Verwirrung – der Server hat das Caching bereits im Hintergrund durchgeführt, diese Information wird dem Client nur nicht offengelegt. Dies ist eine stillschweigende Vereinbarung zwischen Claude Code und der Anthropic-API.
|
|
22
|
+
|
|
23
|
+
## Was ist der „aktuelle KV-Cache-Inhalt"?
|
|
24
|
+
|
|
25
|
+
Der in cc-viewer angezeigte „aktuelle KV-Cache-Inhalt" wird aus der letzten MainAgent-Anfrage extrahiert und umfasst den Inhalt vor der Cache-Grenze (Cache-Breakpoint). Im Einzelnen beinhaltet er:
|
|
26
|
+
|
|
27
|
+
- **System Prompt**: Die Systemanweisungen von Claude Code, einschließlich grundlegender Agent-Anweisungen, Tool-Nutzungsrichtlinien, CLAUDE.md-Projektanweisungen, Umgebungsinformationen usw.
|
|
28
|
+
- **Tools**: Die Liste der aktuell verfügbaren Tool-Definitionen (wie Read, Write, Bash, Agent, MCP-Tools usw.)
|
|
29
|
+
- **Messages**: Der zwischengespeicherte Teil des Nachrichtenverlaufs (typischerweise ältere Nachrichten bis zur letzten `cache_control`-Markierung)
|
|
30
|
+
|
|
31
|
+
## Warum sollte man den Cache-Inhalt ansehen?
|
|
32
|
+
|
|
33
|
+
1. **Kontext verstehen**: Erfahre, welche Inhalte Claude aktuell „im Gedächtnis" hat, um zu beurteilen, ob sein Verhalten den Erwartungen entspricht
|
|
34
|
+
2. **Kostenoptimierung**: Cache-Treffer sind deutlich günstiger als Neuberechnungen. Die Ansicht des Cache-Inhalts hilft zu verstehen, warum bestimmte Anfragen einen Cache-Neuaufbau (Cache Rebuild) ausgelöst haben
|
|
35
|
+
3. **Gespräche debuggen**: Wenn Claudes Antworten nicht den Erwartungen entsprechen, kannst du den Cache-Inhalt überprüfen, um sicherzustellen, dass System Prompt und Nachrichtenverlauf korrekt sind
|
|
36
|
+
4. **Kontextqualitäts-Monitoring**: Beim Debuggen, Ändern von Konfigurationen oder Anpassen von Prompts bietet der KV-Cache-Text eine zentrale Ansicht, die dir hilft, schnell zu überprüfen, ob der Kernkontext degradiert ist oder durch unerwartete Inhalte verunreinigt wurde – ohne die Originalnachrichten einzeln durchsehen zu müssen
|
|
37
|
+
|
|
38
|
+
## Mehrstufige Caching-Strategie
|
|
39
|
+
|
|
40
|
+
Der KV-Cache von Claude Code besteht nicht nur aus einem einzigen Cache. Die Serverseite erstellt separate Caches für Tools und System Prompt, unabhängig vom Messages-Cache. Der Vorteil dieses Designs: Wenn der Messages-Stack Probleme aufweist (z. B. Kontextabschneidung, Nachrichtenänderungen usw.) und neu aufgebaut werden muss, werden die Caches für Tools und System Prompt nicht mit invalidiert, wodurch eine vollständige Neuberechnung vermieden wird.
|
|
41
|
+
|
|
42
|
+
Dies ist eine aktuelle serverseitige Optimierungsstrategie – da Tool-Definitionen und System Prompt im normalen Betrieb relativ stabil sind und sich selten ändern, minimiert das separate Caching unnötigen Neuaufbau-Overhead. Wenn du den Cache beobachtest, wirst du feststellen, dass außer bei einem Neuaufbau der Tools (der den gesamten Cache neu erstellen erfordert) bei Änderungen am System Prompt oder an den Messages immer noch vererbbare Caches zur Verfügung stehen.
|
|
43
|
+
|
|
44
|
+
## Lebenszyklus des Caches
|
|
45
|
+
|
|
46
|
+
- **Erstellung**: Bei der ersten Anfrage oder nach Cache-Invalidierung erstellt die API einen neuen Cache (`cache_creation_input_tokens`)
|
|
47
|
+
- **Treffer**: Nachfolgende Anfragen mit identischem Präfix verwenden den Cache wieder (`cache_read_input_tokens`)
|
|
48
|
+
- **Ablauf**: Der Cache hat eine TTL (Time to Live) von 5 Minuten und wird nach Ablauf automatisch ungültig
|
|
49
|
+
- **Neuaufbau**: Wenn sich System Prompt, Tool-Liste, Modell oder Nachrichteninhalte ändern, stimmt der Cache-Schlüssel nicht mehr überein und löst einen Cache-Neuaufbau der entsprechenden Ebene aus
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# MainAgent
|
|
2
|
+
|
|
3
|
+
## Definition
|
|
4
|
+
|
|
5
|
+
MainAgent ist die Hauptanfragekette von Claude Code im Nicht-Agent-Team-Modus. Jede Interaktion eines Benutzers mit Claude Code erzeugt eine Reihe von API-Anfragen, wobei die MainAgent-Anfragen die Kern-Gesprächskette bilden – sie tragen den vollständigen System-Prompt, Tool-Definitionen und Nachrichtenverlauf.
|
|
6
|
+
|
|
7
|
+
## Erkennung
|
|
8
|
+
|
|
9
|
+
In cc-viewer wird MainAgent durch `req.mainAgent === true` identifiziert und von `interceptor.js` beim Abfangen der Anfrage automatisch markiert.
|
|
10
|
+
|
|
11
|
+
Erkennungsbedingungen (alle müssen erfüllt sein):
|
|
12
|
+
- Der Request-Body enthält das `system`-Feld (System-Prompt)
|
|
13
|
+
- Der Request-Body enthält das `tools`-Array (Tool-Definitionen)
|
|
14
|
+
- Der System-Prompt enthält den charakteristischen Text "Claude Code"
|
|
15
|
+
|
|
16
|
+
## Unterschied zu SubAgent
|
|
17
|
+
|
|
18
|
+
| Merkmal | MainAgent | SubAgent |
|
|
19
|
+
|---------|-----------|----------|
|
|
20
|
+
| System-Prompt | Vollständiger Claude Code Haupt-Prompt | Kompakter aufgabenspezifischer Prompt |
|
|
21
|
+
| tools-Array | Enthält alle verfügbaren Tools | Enthält normalerweise nur die wenigen für die Aufgabe benötigten Tools |
|
|
22
|
+
| Nachrichtenverlauf | Akkumuliert den vollständigen Gesprächskontext | Enthält nur aufgabenbezogene Nachrichten |
|
|
23
|
+
| Cache-Verhalten | Hat Prompt Caching (5 Minuten TTL) | Normalerweise kein Cache oder kleinerer 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,25 @@
|
|
|
1
|
+
# Mobiler QR-Code-Zugang
|
|
2
|
+
|
|
3
|
+
## Funktionsweise
|
|
4
|
+
|
|
5
|
+
CC Viewer startet einen HTTP-Server und generiert eine **LAN-Adresse** (z.B. `http://192.168.1.100:7008`). Scannen Sie den QR-Code, um über dasselbe WiFi-Netzwerk von Ihrem Smartphone auf Claude Code zuzugreifen.
|
|
6
|
+
|
|
7
|
+
## Warum kann ich keine Verbindung herstellen?
|
|
8
|
+
|
|
9
|
+
1. **Nicht im selben Netzwerk** — Smartphone und Computer müssen mit demselben WiFi verbunden sein (gleicher Router/gleicher Netzwerkname)
|
|
10
|
+
2. **Firewall-Blockierung** — Die OS-Firewall blockiert möglicherweise eingehende Verbindungen
|
|
11
|
+
3. **Unternehmensnetzwerk-Isolation** — AP-Isolation kann die Kommunikation zwischen Geräten verhindern
|
|
12
|
+
4. **VPN-Störung** — Ein VPN kann den Netzwerkpfad stören
|
|
13
|
+
|
|
14
|
+
## Sicherheitshinweis
|
|
15
|
+
|
|
16
|
+
> ⚠️ Der LAN-Dienst von CC Viewer ist für alle Geräte im selben Netzwerk zugänglich.
|
|
17
|
+
|
|
18
|
+
- Vorsicht bei **öffentlichem WiFi**
|
|
19
|
+
- CC Viewer verwendet **Token-Authentifizierung** zum Schutz des LAN-Zugriffs
|
|
20
|
+
- Verwendung in vertrauenswürdigen Netzwerken empfohlen
|
|
21
|
+
|
|
22
|
+
## Über das LAN hinaus
|
|
23
|
+
|
|
24
|
+
- **Tunneling-Tools** — frp, ngrok, Tailscale usw.
|
|
25
|
+
- **CC Viewer Plugins** — Proxy-Middleware über das Plugin-System konfigurieren
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Beschreibung der Response-Body-Felder
|
|
2
|
+
|
|
3
|
+
Feldbeschreibung des Antwortkörpers der Claude API `/v1/messages`.
|
|
4
|
+
|
|
5
|
+
## Felder der obersten Ebene
|
|
6
|
+
|
|
7
|
+
| Feld | Typ | Beschreibung |
|
|
8
|
+
|------|-----|--------------|
|
|
9
|
+
| **model** | string | Der tatsächlich verwendete Modellname, z. B. `claude-opus-4-6` |
|
|
10
|
+
| **id** | string | Eindeutiger Bezeichner dieser Antwort, z. B. `msg_01Tgsr2QeH8AVXGoP2wAXRvU` |
|
|
11
|
+
| **type** | string | Immer `"message"` |
|
|
12
|
+
| **role** | string | Immer `"assistant"` |
|
|
13
|
+
| **content** | array | Array der vom Modell ausgegebenen Inhaltsblöcke, einschließlich Text, Tool-Aufrufe, Denkprozess usw. |
|
|
14
|
+
| **stop_reason** | string | Stoppgrund: `"end_turn"` (normal beendet), `"tool_use"` (Tool-Ausführung erforderlich), `"max_tokens"` (Token-Limit erreicht) |
|
|
15
|
+
| **stop_sequence** | string/null | Die auslösende Stoppsequenz, normalerweise `null` |
|
|
16
|
+
| **usage** | object | Token-Verbrauchsstatistik (siehe unten) |
|
|
17
|
+
|
|
18
|
+
## content-Blocktypen
|
|
19
|
+
|
|
20
|
+
| Typ | Beschreibung |
|
|
21
|
+
|-----|--------------|
|
|
22
|
+
| **text** | Textantwort des Modells, enthält das Feld `text` |
|
|
23
|
+
| **tool_use** | Tool-Aufrufanfrage, enthält `name` (Tool-Name), `input` (Parameter), `id` (Aufruf-ID, zur Zuordnung von tool_result) |
|
|
24
|
+
| **thinking** | Erweiterter Denkinhalt (erscheint nur bei aktiviertem Thinking-Modus), enthält das Feld `thinking` |
|
|
25
|
+
|
|
26
|
+
## usage-Felder im Detail
|
|
27
|
+
|
|
28
|
+
| Feld | Beschreibung |
|
|
29
|
+
|------|--------------|
|
|
30
|
+
| **input_tokens** | Anzahl der nicht aus dem Cache gelesenen Eingabe-Token (werden zum vollen Preis berechnet) |
|
|
31
|
+
| **cache_creation_input_tokens** | Anzahl der Token, für die in dieser Anfrage ein neuer Cache erstellt wurde (Cache-Schreibvorgang, höhere Kosten als normale Eingabe) |
|
|
32
|
+
| **cache_read_input_tokens** | Anzahl der aus dem Cache gelesenen Token (Cache-Lesevorgang, deutlich günstiger als normale Eingabe) |
|
|
33
|
+
| **output_tokens** | Anzahl der vom Modell ausgegebenen Token |
|
|
34
|
+
| **service_tier** | Servicestufe, z. B. `"standard"` |
|
|
35
|
+
| **inference_geo** | Inferenz-Region, z. B. `"not_available"` bedeutet, dass keine Regionsinformation verfügbar ist |
|
|
36
|
+
|
|
37
|
+
## cache_creation-Unterfelder
|
|
38
|
+
|
|
39
|
+
| Feld | Beschreibung |
|
|
40
|
+
|------|--------------|
|
|
41
|
+
| **ephemeral_5m_input_tokens** | Anzahl der Token für kurzlebige Cache-Erstellung mit 5 Minuten TTL |
|
|
42
|
+
| **ephemeral_1h_input_tokens** | Anzahl der Token für langlebige Cache-Erstellung mit 1 Stunde TTL |
|
|
43
|
+
|
|
44
|
+
> **Zur Cache-Berechnung**: Der Einzelpreis von `cache_read_input_tokens` liegt deutlich unter dem von `input_tokens`, während der Einzelpreis von `cache_creation_input_tokens` etwas über dem normaler Eingabe liegt. Daher kann eine hohe Cache-Trefferquote in fortlaufenden Gesprächen die Kosten erheblich senken. Mit der Kennzahl "Trefferquote" in cc-viewer lässt sich dieses Verhältnis anschaulich überwachen.
|
|
45
|
+
|
|
46
|
+
## Bedeutung von stop_reason
|
|
47
|
+
|
|
48
|
+
- **end_turn**: Das Modell hat die Antwort normal abgeschlossen
|
|
49
|
+
- **tool_use**: Das Modell muss ein Tool aufrufen; content enthält einen `tool_use`-Block. In der nächsten Anfrage muss ein `tool_result` in messages angehängt werden, um das Gespräch fortzusetzen
|
|
50
|
+
- **max_tokens**: Das `max_tokens`-Limit wurde erreicht und die Antwort wurde abgeschnitten; die Antwort ist möglicherweise unvollständig
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# SubAgent: Search
|
|
2
|
+
|
|
3
|
+
## Definition
|
|
4
|
+
|
|
5
|
+
Search ist ein Sub-Agent-Typ, der vom Haupt-Agent von Claude Code gestartet wird, um Codebase-Suchen durchzuführen. Er führt gezielte Datei- und Inhaltssuchen mit Tools wie Glob, Grep und Read aus und gibt die Ergebnisse anschließend an den übergeordneten Agent zurück.
|
|
6
|
+
|
|
7
|
+
## Verhalten
|
|
8
|
+
|
|
9
|
+
- Wird automatisch gestartet, wenn der Haupt-Agent die Codebase durchsuchen oder erkunden muss
|
|
10
|
+
- Läuft in einem isolierten Kontext mit ausschließlich Lesezugriff
|
|
11
|
+
- Verwendet Glob für Datei-Musterabgleiche, Grep für die Inhaltssuche und Read für die Dateiinspektion
|
|
12
|
+
- Gibt Suchergebnisse zur weiteren Verarbeitung an den übergeordneten Agent zurück
|
|
13
|
+
|
|
14
|
+
## Wann er erscheint
|
|
15
|
+
|
|
16
|
+
Search-Sub-Agents erscheinen typischerweise wenn:
|
|
17
|
+
|
|
18
|
+
1. Der Haupt-Agent bestimmte Dateien, Funktionen oder Codemuster finden muss
|
|
19
|
+
2. Eine umfassende Codebase-Erkundung vom Benutzer angefordert wird
|
|
20
|
+
3. Der Agent Abhängigkeiten, Referenzen oder Verwendungsmuster untersucht
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Teammate
|
|
2
|
+
|
|
3
|
+
## Definition
|
|
4
|
+
|
|
5
|
+
Ein Teammate ist ein kollaborativer Agent im Team-Modus von Claude Code Agent. Wenn der Haupt-Agent ein Team mit `TeamCreate` erstellt und Teammates mit dem `Agent`-Tool erzeugt, lauft jeder Teammate als unabhangiger Agent-Prozess mit eigenem Kontextfenster und Toolset und kommuniziert uber `SendMessage` mit den Teammitgliedern.
|
|
6
|
+
|
|
7
|
+
## Unterschied zu SubAgent
|
|
8
|
+
|
|
9
|
+
| Merkmal | Teammate | SubAgent |
|
|
10
|
+
|---------|----------|----------|
|
|
11
|
+
| Lebenszyklus | Bleibt bestehen, kann mehrfach Nachrichten empfangen | Einmalige Aufgabe, wird nach Abschluss zerstort |
|
|
12
|
+
| Kommunikation | SendMessage bidirektionale Nachrichten | Eltern->Kind unidirektionaler Aufruf, Ergebnis zuruckgeben |
|
|
13
|
+
| Kontext | Unabhangiger vollstandiger Kontext, bleibt uber Runden hinweg erhalten | Isolierter Aufgabenkontext |
|
|
14
|
+
| Zusammenarbeit | Teamarbeit, gegenseitige Kommunikation moglich | Hierarchische Struktur, Interaktion nur mit dem ubergeordneten Agent |
|
|
15
|
+
| Aufgabentyp | Komplexe mehrstufige Aufgaben | Einzelaufgaben wie Suche, Erkundung |
|
|
16
|
+
|
|
17
|
+
## Verhalten
|
|
18
|
+
|
|
19
|
+
- Wird vom Haupt-Agent (Team Lead) uber das `Agent`-Tool erstellt und einem `team_name` zugewiesen
|
|
20
|
+
- Teilt die Aufgabenliste uber `TaskList` / `TaskGet` / `TaskUpdate`
|
|
21
|
+
- Wechselt nach jeder Ausfuhrungsrunde in den Idle-Zustand und wartet auf neue Nachrichten zur Aktivierung
|
|
22
|
+
- Kann uber `shutdown_request` ordnungsgemas beendet werden
|
|
23
|
+
|
|
24
|
+
## Erlauterung zum Statistik-Panel
|
|
25
|
+
|
|
26
|
+
Das Teammate-Statistik-Panel zeigt die Anzahl der API-Aufrufe fur jeden Teammate an. Die Spalte `Name` enthalt den Teammate-Namen (z. B. `reviewer-security`, `reviewer-pipeline`), die Spalte `Anzahl` die Gesamtzahl der API-Anfragen dieses Teammates.
|