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,26 @@
|
|
|
1
|
+
# Teammate
|
|
2
|
+
|
|
3
|
+
## 定義
|
|
4
|
+
|
|
5
|
+
Teammate は Claude Code Agent Team モードにおける協調 agent です。メイン agent が `TeamCreate` でチームを作成し、`Agent` ツールで teammate を生成すると、各 teammate は独立した agent プロセスとして実行され、独自のコンテキストウィンドウとツールセットを持ち、`SendMessage` を通じてチームメンバーと通信します。
|
|
6
|
+
|
|
7
|
+
## SubAgent との違い
|
|
8
|
+
|
|
9
|
+
| 特徴 | Teammate | SubAgent |
|
|
10
|
+
|------|----------|----------|
|
|
11
|
+
| ライフサイクル | 持続的に存在し、複数回メッセージを受信可能 | 一回限りのタスク、完了後に破棄 |
|
|
12
|
+
| 通信方式 | SendMessage による双方向メッセージ | 親→子の一方向呼び出し、結果を返す |
|
|
13
|
+
| コンテキスト | 独立した完全なコンテキスト、ターン間で保持 | 隔離されたタスクコンテキスト |
|
|
14
|
+
| 協調モデル | チーム協調、相互通信可能 | 階層構造、親 agent とのみやり取り |
|
|
15
|
+
| タスクタイプ | 複雑なマルチステップタスク | 検索・探索などの単一タスク |
|
|
16
|
+
|
|
17
|
+
## 動作
|
|
18
|
+
|
|
19
|
+
- メイン agent(team lead)が `Agent` ツールで作成し、`team_name` を割り当てる
|
|
20
|
+
- `TaskList` / `TaskGet` / `TaskUpdate` を通じてタスクリストを共有
|
|
21
|
+
- 各ターンの実行完了後に idle 状態に入り、新しいメッセージで起動を待つ
|
|
22
|
+
- `shutdown_request` により graceful に終了可能
|
|
23
|
+
|
|
24
|
+
## 統計パネルの説明
|
|
25
|
+
|
|
26
|
+
Teammate 統計パネルは各 teammate の API 呼び出し回数を表示します。`Name` 列は teammate 名(例:`reviewer-security`、`reviewer-pipeline`)、`回数` 列はその teammate が発生させた API リクエストの総数です。
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Agent
|
|
2
|
+
|
|
3
|
+
## 定義
|
|
4
|
+
|
|
5
|
+
サブ agent(SubAgent)を起動して、複雑なマルチステップタスクを自律的に処理します。サブ agent は独立したサブプロセスで、それぞれ専用のツールセットとコンテキストを持ちます。Agent は新しい Claude Code バージョンにおける Task ツールのリネーム版です。
|
|
6
|
+
|
|
7
|
+
## パラメータ
|
|
8
|
+
|
|
9
|
+
| パラメータ | 型 | 必須 | 説明 |
|
|
10
|
+
|------------|------|------|------|
|
|
11
|
+
| `prompt` | string | はい | サブ agent が実行するタスクの説明 |
|
|
12
|
+
| `description` | string | はい | 3〜5語の短い要約 |
|
|
13
|
+
| `subagent_type` | string | はい | サブ agent タイプ、利用可能なツールセットを決定 |
|
|
14
|
+
| `model` | enum | いいえ | モデルを指定(sonnet / opus / haiku)、デフォルトは親から継承 |
|
|
15
|
+
| `max_turns` | integer | いいえ | 最大 agentic ターン数 |
|
|
16
|
+
| `run_in_background` | boolean | いいえ | バックグラウンドで実行するかどうか。バックグラウンドタスクは output_file パスを返す |
|
|
17
|
+
| `resume` | string | いいえ | 再開する agent ID、前回の実行から続行。コンテキストを失わずに以前のサブ agent を引き継ぐのに有用 |
|
|
18
|
+
| `isolation` | enum | いいえ | 隔離モード、`worktree` で一時的な git worktree を作成 |
|
|
19
|
+
|
|
20
|
+
## サブ agent タイプ
|
|
21
|
+
|
|
22
|
+
| タイプ | 用途 | 利用可能なツール |
|
|
23
|
+
|--------|------|------------------|
|
|
24
|
+
| `Bash` | コマンド実行、git 操作 | Bash |
|
|
25
|
+
| `general-purpose` | 汎用マルチステップタスク | 全ツール |
|
|
26
|
+
| `Explore` | コードベースの高速探索 | Agent/Edit/Write/NotebookEdit/ExitPlanMode 以外のすべて |
|
|
27
|
+
| `Plan` | 実装方針の設計 | Agent/Edit/Write/NotebookEdit/ExitPlanMode 以外のすべて |
|
|
28
|
+
| `claude-code-guide` | Claude Code 使用ガイド Q&A | Glob, Grep, Read, WebFetch, WebSearch |
|
|
29
|
+
| `statusline-setup` | ステータスバーの設定 | Read, Edit |
|
|
30
|
+
|
|
31
|
+
## 使用シナリオ
|
|
32
|
+
|
|
33
|
+
**適している場合:**
|
|
34
|
+
- マルチステップで自律的に完了する必要がある複雑なタスク
|
|
35
|
+
- コードベースの探索と深い調査(Explore タイプを使用)
|
|
36
|
+
- 隔離環境が必要な並列作業
|
|
37
|
+
- バックグラウンドで実行する必要がある長時間タスク
|
|
38
|
+
|
|
39
|
+
**適していない場合:**
|
|
40
|
+
- 特定のファイルパスの読み取り——直接 Read または Glob を使用
|
|
41
|
+
- 2〜3個の既知ファイル内の検索——直接 Read を使用
|
|
42
|
+
- 特定のクラス定義の検索——直接 Glob を使用
|
|
43
|
+
|
|
44
|
+
## 注意事項
|
|
45
|
+
|
|
46
|
+
- サブ agent は完了後に単一メッセージを返し、その結果はユーザーには見えないため、メイン agent が伝達する必要がある
|
|
47
|
+
- 単一メッセージ内で複数の並列 Agent 呼び出しを発行して効率を向上できる
|
|
48
|
+
- バックグラウンドタスクは TaskOutput ツールで進捗を確認
|
|
49
|
+
- Explore タイプは直接 Glob/Grep を呼び出すより遅いため、単純な検索では不十分な場合にのみ使用
|
|
50
|
+
- 長時間実行で即座に結果が不要なタスクには `run_in_background: true` を推奨。結果が必要な場合はフォアグラウンド(デフォルト)を使用
|
|
51
|
+
- `resume` パラメータにより、以前開始したサブ agent セッションを継続でき、蓄積されたコンテキストを保持
|
|
52
|
+
|
|
53
|
+
## 原文
|
|
54
|
+
|
|
55
|
+
<textarea readonly>Launch a new agent to handle complex, multi-step tasks autonomously.
|
|
56
|
+
|
|
57
|
+
The Agent tool launches specialized agents (subprocesses) that autonomously handle complex tasks. Each agent type has specific capabilities and tools available to it.
|
|
58
|
+
|
|
59
|
+
Available agent types and the tools they have access to:
|
|
60
|
+
- general-purpose: General-purpose agent for researching complex questions, searching for code, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries use this agent to perform the search for you. (Tools: *)
|
|
61
|
+
- statusline-setup: Use this agent to configure the user's Claude Code status line setting. (Tools: Read, Edit)
|
|
62
|
+
- Explore: Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions. (Tools: All tools except Agent, ExitPlanMode, Edit, Write, NotebookEdit)
|
|
63
|
+
- Plan: Software architect agent for designing implementation plans. Use this when you need to plan the implementation strategy for a task. Returns step-by-step plans, identifies critical files, and considers architectural trade-offs. (Tools: All tools except Agent, ExitPlanMode, Edit, Write, NotebookEdit)
|
|
64
|
+
- claude-code-guide: Use this agent when the user asks questions ("Can Claude...", "Does Claude...", "How do I...") about: (1) Claude Code (the CLI tool) - features, hooks, slash commands, MCP servers, settings, IDE integrations, keyboard shortcuts; (2) Claude Agent SDK - building custom agents; (3) Claude API (formerly Anthropic API) - API usage, tool use, Anthropic SDK usage. **IMPORTANT:** Before spawning a new agent, check if there is already a running or recently completed claude-code-guide agent that you can resume using the "resume" parameter. (Tools: Glob, Grep, Read, WebFetch, WebSearch)
|
|
65
|
+
|
|
66
|
+
When using the Agent tool, you must specify a subagent_type parameter to select which agent type to use.
|
|
67
|
+
|
|
68
|
+
When NOT to use the Agent tool:
|
|
69
|
+
- If you want to read a specific file path, use the Read or Glob tool instead of the Agent tool, to find the match more quickly
|
|
70
|
+
- If you are searching for a specific class definition like "class Foo", use the Glob tool instead, to find the match more quickly
|
|
71
|
+
- If you are searching for code within a specific file or set of 2-3 files, use the Read tool instead of the Agent tool, to find the match more quickly
|
|
72
|
+
- Other tasks that are not related to the agent descriptions above
|
|
73
|
+
|
|
74
|
+
Usage notes:
|
|
75
|
+
- Always include a short description (3-5 words) summarizing what the agent will do
|
|
76
|
+
- Launch multiple agents concurrently whenever possible, to maximize performance; to do that, use a single message with multiple tool uses
|
|
77
|
+
- When the agent is done, it will return a single message back to you. The result returned by the agent is not visible to the user. To show the user the result, you should send a text message back to the user with a concise summary of the result.
|
|
78
|
+
- You can optionally run agents in the background using the run_in_background parameter. When an agent runs in the background, you will be automatically notified when it completes — do NOT sleep, poll, or proactively check on its progress. Continue with other work or respond to the user instead.
|
|
79
|
+
- **Foreground vs background**: Use foreground (default) when you need the agent's results before you can proceed — e.g., research agents whose findings inform your next steps. Use background when you have genuinely independent work to do in parallel.
|
|
80
|
+
- Agents can be resumed using the `resume` parameter by passing the agent ID from a previous invocation. When resumed, the agent continues with its full previous context preserved. When NOT resuming, each invocation starts fresh and you should provide a detailed task description with all necessary context.
|
|
81
|
+
- When the agent is done, it will return a single message back to you along with its agent ID. You can use this ID to resume the agent later if needed for follow-up work.
|
|
82
|
+
- Provide clear, detailed prompts so the agent can work autonomously and return exactly the information you need.
|
|
83
|
+
- Agents with "access to current context" can see the full conversation history before the tool call. When using these agents, you can write concise prompts that reference earlier context (e.g., "investigate the error discussed above") instead of repeating information. The agent will receive all prior messages and understand the context.
|
|
84
|
+
- The agent's outputs should generally be trusted
|
|
85
|
+
- Clearly tell the agent whether you expect it to write code or just to do research (search, file reads, web fetches, etc.), since it is not aware of the user's intent
|
|
86
|
+
- If the agent description mentions that it should be used proactively, then you should try your best to use it without the user having to ask for it first. Use your judgement.
|
|
87
|
+
- If the user specifies that they want you to run agents "in parallel", you MUST send a single message with multiple Agent tool use content blocks. For example, if you need to launch both a build-validator agent and a test-runner agent in parallel, send a single message with both tool calls.
|
|
88
|
+
- You can optionally set `isolation: "worktree"` to run the agent in a temporary git worktree, giving it an isolated copy of the repository. The worktree is automatically cleaned up if the agent makes no changes; if changes are made, the worktree path and branch are returned in the result.
|
|
89
|
+
|
|
90
|
+
Example usage:
|
|
91
|
+
|
|
92
|
+
<example_agent_descriptions>
|
|
93
|
+
"test-runner": use this agent after you are done writing code to run tests
|
|
94
|
+
"greeting-responder": use this agent to respond to user greetings with a friendly joke
|
|
95
|
+
</example_agent_descriptions>
|
|
96
|
+
|
|
97
|
+
<example>
|
|
98
|
+
user: "Please write a function that checks if a number is prime"
|
|
99
|
+
assistant: Sure let me write a function that checks if a number is prime
|
|
100
|
+
assistant: First let me use the Write tool to write a function that checks if a number is prime
|
|
101
|
+
assistant: I'm going to use the Write tool to write the following code:
|
|
102
|
+
<code>
|
|
103
|
+
function isPrime(n) {
|
|
104
|
+
if (n <= 1) return false
|
|
105
|
+
for (let i = 2; i * i <= n; i++) {
|
|
106
|
+
if (n % i === 0) return false
|
|
107
|
+
}
|
|
108
|
+
return true
|
|
109
|
+
}
|
|
110
|
+
</code>
|
|
111
|
+
<commentary>
|
|
112
|
+
Since a significant piece of code was written and the task was completed, now use the test-runner agent to run the tests
|
|
113
|
+
</commentary>
|
|
114
|
+
assistant: Now let me use the test-runner agent to run the tests
|
|
115
|
+
assistant: Uses the Agent tool to launch the test-runner agent
|
|
116
|
+
</example>
|
|
117
|
+
|
|
118
|
+
<example>
|
|
119
|
+
user: "Hello"
|
|
120
|
+
<commentary>
|
|
121
|
+
Since the user is greeting, use the greeting-responder agent to respond with a friendly joke
|
|
122
|
+
</commentary>
|
|
123
|
+
assistant: "I'm going to use the Agent tool to launch the greeting-responder agent"
|
|
124
|
+
</example>
|
|
125
|
+
</textarea>
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# AskUserQuestion
|
|
2
|
+
|
|
3
|
+
## 定義
|
|
4
|
+
|
|
5
|
+
実行中にユーザーに質問し、確認の取得、仮説の検証、または判断の要求に使用します。
|
|
6
|
+
|
|
7
|
+
## パラメータ
|
|
8
|
+
|
|
9
|
+
| パラメータ | 型 | 必須 | 説明 |
|
|
10
|
+
|------------|------|------|------|
|
|
11
|
+
| `questions` | array | はい | 質問リスト(1〜4個の質問) |
|
|
12
|
+
| `answers` | object | いいえ | ユーザーから収集した回答 |
|
|
13
|
+
| `annotations` | object | いいえ | 各質問の注釈(プレビュー選択の備考など) |
|
|
14
|
+
| `metadata` | object | いいえ | トラッキングと分析用のメタデータ |
|
|
15
|
+
|
|
16
|
+
各 `question` オブジェクト:
|
|
17
|
+
|
|
18
|
+
| フィールド | 型 | 必須 | 説明 |
|
|
19
|
+
|------------|------|------|------|
|
|
20
|
+
| `question` | string | はい | 完全な質問テキスト。疑問符で終わること |
|
|
21
|
+
| `header` | string | はい | 短いラベル(最大12文字)、ラベルチップとして表示 |
|
|
22
|
+
| `options` | array | はい | 2〜4個の選択肢 |
|
|
23
|
+
| `multiSelect` | boolean | はい | 複数選択を許可するかどうか |
|
|
24
|
+
|
|
25
|
+
各 `option` オブジェクト:
|
|
26
|
+
|
|
27
|
+
| フィールド | 型 | 必須 | 説明 |
|
|
28
|
+
|------------|------|------|------|
|
|
29
|
+
| `label` | string | はい | 選択肢の表示テキスト(1〜5語) |
|
|
30
|
+
| `description` | string | はい | 選択肢の説明 |
|
|
31
|
+
| `markdown` | string | いいえ | プレビューコンテンツ(ASCII レイアウト、コードスニペットなどの視覚的比較用) |
|
|
32
|
+
|
|
33
|
+
## 使用シナリオ
|
|
34
|
+
|
|
35
|
+
**適している場合:**
|
|
36
|
+
- ユーザーの好みや要件を収集
|
|
37
|
+
- 曖昧な指示を明確化
|
|
38
|
+
- 実装中に判断を取得
|
|
39
|
+
- ユーザーに方向性の選択を提供
|
|
40
|
+
|
|
41
|
+
**適していない場合:**
|
|
42
|
+
- 「方針でよろしいですか?」と聞く場合——ExitPlanMode を使用すべき
|
|
43
|
+
|
|
44
|
+
## 注意事項
|
|
45
|
+
|
|
46
|
+
- ユーザーは常に "Other" を選択してカスタム入力を提供できる
|
|
47
|
+
- 推奨選択肢は最初に配置し、label の末尾に "(Recommended)" を追加
|
|
48
|
+
- `markdown` プレビューは単一選択の質問のみ対応
|
|
49
|
+
- `markdown` がある選択肢は左右並列レイアウトに切り替わる
|
|
50
|
+
- 計画モードでは、方針確定前の要件明確化に使用
|
|
51
|
+
|
|
52
|
+
## 原文
|
|
53
|
+
|
|
54
|
+
<textarea readonly>Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
55
|
+
1. Gather user preferences or requirements
|
|
56
|
+
2. Clarify ambiguous instructions
|
|
57
|
+
3. Get decisions on implementation choices as you work
|
|
58
|
+
4. Offer choices to the user about what direction to take.
|
|
59
|
+
|
|
60
|
+
Usage notes:
|
|
61
|
+
- Users will always be able to select "Other" to provide custom text input
|
|
62
|
+
- Use multiSelect: true to allow multiple answers to be selected for a question
|
|
63
|
+
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label
|
|
64
|
+
|
|
65
|
+
Plan mode note: In plan mode, use this tool to clarify requirements or choose between approaches BEFORE finalizing your plan. Do NOT use this tool to ask "Is my plan ready?" or "Should I proceed?" - use ExitPlanMode for plan approval. IMPORTANT: Do not reference "the plan" in your questions (e.g., "Do you have feedback about the plan?", "Does the plan look good?") because the user cannot see the plan in the UI until you call ExitPlanMode. If you need plan approval, use ExitPlanMode instead.
|
|
66
|
+
|
|
67
|
+
Preview feature:
|
|
68
|
+
Use the optional `markdown` field on options when presenting concrete artifacts that users need to visually compare:
|
|
69
|
+
- ASCII mockups of UI layouts or components
|
|
70
|
+
- Code snippets showing different implementations
|
|
71
|
+
- Diagram variations
|
|
72
|
+
- Configuration examples
|
|
73
|
+
|
|
74
|
+
When any option has a markdown, the UI switches to a side-by-side layout with a vertical option list on the left and preview on the right. Do not use previews for simple preference questions where labels and descriptions suffice. Note: previews are only supported for single-select questions (not multiSelect).
|
|
75
|
+
</textarea>
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# Bash
|
|
2
|
+
|
|
3
|
+
## 定義
|
|
4
|
+
|
|
5
|
+
シェルコマンドを実行します。オプションのタイムアウト設定に対応。作業ディレクトリはコマンド間で永続化されますが、シェル状態(環境変数など)は永続化されません。
|
|
6
|
+
|
|
7
|
+
## パラメータ
|
|
8
|
+
|
|
9
|
+
| パラメータ | 型 | 必須 | 説明 |
|
|
10
|
+
|------------|------|------|------|
|
|
11
|
+
| `command` | string | はい | 実行する bash コマンド |
|
|
12
|
+
| `description` | string | いいえ | コマンドの簡単な説明 |
|
|
13
|
+
| `timeout` | number | いいえ | タイムアウト(ミリ秒)、最大 600000、デフォルト 120000 |
|
|
14
|
+
| `run_in_background` | boolean | いいえ | バックグラウンドで実行するかどうか |
|
|
15
|
+
|
|
16
|
+
## 使用シナリオ
|
|
17
|
+
|
|
18
|
+
**適している場合:**
|
|
19
|
+
- git 操作(commit、push、branch など)
|
|
20
|
+
- npm/yarn などのパッケージ管理コマンド
|
|
21
|
+
- docker 操作
|
|
22
|
+
- コンパイル、ビルドコマンド
|
|
23
|
+
- ディレクトリ内容の一覧表示(`ls`)
|
|
24
|
+
- その他シェル実行が必要なシステムコマンド
|
|
25
|
+
|
|
26
|
+
**適していない場合:**
|
|
27
|
+
- ファイルの読み取り——Read を使用すべき
|
|
28
|
+
- ファイル名の検索——Glob を使用すべき
|
|
29
|
+
- ファイル内容の検索——Grep を使用すべき
|
|
30
|
+
- ファイルの編集——Edit を使用すべき
|
|
31
|
+
- ファイルの書き込み——Write を使用すべき
|
|
32
|
+
- ユーザーへの情報出力——レスポンステキストに直接出力
|
|
33
|
+
- 長時間実行プロセス(dev server、watch モード)——ユーザーに手動実行を推奨
|
|
34
|
+
|
|
35
|
+
## 注意事項
|
|
36
|
+
|
|
37
|
+
- スペースを含むパスはダブルクォートで囲む必要がある
|
|
38
|
+
- 出力が 30000 文字を超えると切り詰められる
|
|
39
|
+
- バックグラウンド実行のコマンドは TaskOutput で結果を取得
|
|
40
|
+
- できるだけ絶対パスを使用し、`cd` を避ける
|
|
41
|
+
- 独立したコマンドは複数の Bash を並列呼び出し可能
|
|
42
|
+
- 依存関係のあるコマンドは `&&` で連結
|
|
43
|
+
- シェル環境はユーザーの profile(bash または zsh)から初期化
|
|
44
|
+
|
|
45
|
+
## 原文
|
|
46
|
+
|
|
47
|
+
<textarea readonly>Executes a given bash command and returns its output.
|
|
48
|
+
|
|
49
|
+
The working directory persists between commands, but shell state does not. The shell environment is initialized from the user's profile (bash or zsh).
|
|
50
|
+
|
|
51
|
+
IMPORTANT: Avoid using this tool to run `find`, `grep`, `cat`, `head`, `tail`, `sed`, `awk`, or `echo` commands, unless explicitly instructed or after you have verified that a dedicated tool cannot accomplish your task. Instead, use the appropriate dedicated tool as this will provide a much better experience for the user:
|
|
52
|
+
|
|
53
|
+
- File search: Use Glob (NOT find or ls)
|
|
54
|
+
- Content search: Use Grep (NOT grep or rg)
|
|
55
|
+
- Read files: Use Read (NOT cat/head/tail)
|
|
56
|
+
- Edit files: Use Edit (NOT sed/awk)
|
|
57
|
+
- Write files: Use Write (NOT echo >/cat <<EOF)
|
|
58
|
+
- Communication: Output text directly (NOT echo/printf)
|
|
59
|
+
While the Bash tool can do similar things, it’s better to use the built-in tools as they provide a better user experience and make it easier to review tool calls and give permission.
|
|
60
|
+
|
|
61
|
+
# Instructions
|
|
62
|
+
- If your command will create new directories or files, first use this tool to run `ls` to verify the parent directory exists and is the correct location.
|
|
63
|
+
- Always quote file paths that contain spaces with double quotes in your command (e.g., cd "path with spaces/file.txt")
|
|
64
|
+
- Try to maintain your current working directory throughout the session by using absolute paths and avoiding usage of `cd`. You may use `cd` if the User explicitly requests it.
|
|
65
|
+
- You may specify an optional timeout in milliseconds (up to 600000ms / 10 minutes). By default, your command will timeout after 120000ms (2 minutes).
|
|
66
|
+
- You can use the `run_in_background` parameter to run the command in the background. Only use this if you don't need the result immediately and are OK being notified when the command completes later. You do not need to check the output right away - you'll be notified when it finishes. You do not need to use '&' at the end of the command when using this parameter.
|
|
67
|
+
- Write a clear, concise description of what your command does. For simple commands, keep it brief (5-10 words). For complex commands (piped commands, obscure flags, or anything hard to understand at a glance), include enough context so that the user can understand what your command will do.
|
|
68
|
+
- When issuing multiple commands:
|
|
69
|
+
- If the commands are independent and can run in parallel, make multiple Bash tool calls in a single message. Example: if you need to run "git status" and "git diff", send a single message with two Bash tool calls in parallel.
|
|
70
|
+
- If the commands depend on each other and must run sequentially, use a single Bash call with '&&' to chain them together.
|
|
71
|
+
- Use ';' only when you need to run commands sequentially but don't care if earlier commands fail.
|
|
72
|
+
- DO NOT use newlines to separate commands (newlines are ok in quoted strings).
|
|
73
|
+
- For git commands:
|
|
74
|
+
- Prefer to create a new commit rather than amending an existing commit.
|
|
75
|
+
- Before running destructive operations (e.g., git reset --hard, git push --force, git checkout --), consider whether there is a safer alternative that achieves the same goal. Only use destructive operations when they are truly the best approach.
|
|
76
|
+
- Never skip hooks (--no-verify) or bypass signing (--no-gpg-sign, -c commit.gpgsign=false) unless the user has explicitly asked for it. If a hook fails, investigate and fix the underlying issue.
|
|
77
|
+
- Avoid unnecessary `sleep` commands:
|
|
78
|
+
- Do not sleep between commands that can run immediately — just run them.
|
|
79
|
+
- If your command is long running and you would like to be notified when it finishes – simply run your command using `run_in_background`. There is no need to sleep in this case.
|
|
80
|
+
- Do not retry failing commands in a sleep loop — diagnose the root cause or consider an alternative approach.
|
|
81
|
+
- If waiting for a background task you started with `run_in_background`, you will be notified when it completes — do not poll.
|
|
82
|
+
- If you must poll an external process, use a check command (e.g. `gh run view`) rather than sleeping first.
|
|
83
|
+
- If you must sleep, keep the duration short (1-5 seconds) to avoid blocking the user.
|
|
84
|
+
|
|
85
|
+
# Committing changes with git
|
|
86
|
+
|
|
87
|
+
Only create commits when requested by the user. If unclear, ask first. When the user asks you to create a new git commit, follow these steps carefully:
|
|
88
|
+
|
|
89
|
+
Git Safety Protocol:
|
|
90
|
+
- NEVER update the git config
|
|
91
|
+
- NEVER run destructive git commands (push --force, reset --hard, checkout ., restore ., clean -f, branch -D) unless the user explicitly requests these actions. Taking unauthorized destructive actions is unhelpful and can result in lost work, so it's best to ONLY run these commands when given direct instructions
|
|
92
|
+
- NEVER skip hooks (--no-verify, --no-gpg-sign, etc) unless the user explicitly requests it
|
|
93
|
+
- NEVER run force push to main/master, warn the user if they request it
|
|
94
|
+
- CRITICAL: Always create NEW commits rather than amending, unless the user explicitly requests a git amend. When a pre-commit hook fails, the commit did NOT happen — so --amend would modify the PREVIOUS commit, which may result in destroying work or losing previous changes. Instead, after hook failure, fix the issue, re-stage, and create a NEW commit
|
|
95
|
+
- When staging files, prefer adding specific files by name rather than using "git add -A" or "git add .", which can accidentally include sensitive files (.env, credentials) or large binaries
|
|
96
|
+
- NEVER commit changes unless the user explicitly asks you to. It is VERY IMPORTANT to only commit when explicitly asked, otherwise the user will feel that you are being too proactive
|
|
97
|
+
|
|
98
|
+
1. You can call multiple tools in a single response. When multiple independent pieces of information are requested and all commands are likely to succeed, run multiple tool calls in parallel for optimal performance. run the following bash commands in parallel, each using the Bash tool:
|
|
99
|
+
- Run a git status command to see all untracked files. IMPORTANT: Never use the -uall flag as it can cause memory issues on large repos.
|
|
100
|
+
- Run a git diff command to see both staged and unstaged changes that will be committed.
|
|
101
|
+
- Run a git log command to see recent commit messages, so that you can follow this repository's commit message style.
|
|
102
|
+
2. Analyze all staged changes (both previously staged and newly added) and draft a commit message:
|
|
103
|
+
- Summarize the nature of the changes (eg. new feature, enhancement to an existing feature, bug fix, refactoring, test, docs, etc.). Ensure the message accurately reflects the changes and their purpose (i.e. "add" means a wholly new feature, "update" means an enhancement to an existing feature, "fix" means a bug fix, etc.).
|
|
104
|
+
- Do not commit files that likely contain secrets (.env, credentials.json, etc). Warn the user if they specifically request to commit those files
|
|
105
|
+
- Draft a concise (1-2 sentences) commit message that focuses on the "why" rather than the "what"
|
|
106
|
+
- Ensure it accurately reflects the changes and their purpose
|
|
107
|
+
3. You can call multiple tools in a single response. When multiple independent pieces of information are requested and all commands are likely to succeed, run multiple tool calls in parallel for optimal performance. run the following commands:
|
|
108
|
+
- Add relevant untracked files to the staging area.
|
|
109
|
+
- Create the commit with a message ending with:
|
|
110
|
+
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
|
111
|
+
- Run git status after the commit completes to verify success.
|
|
112
|
+
Note: git status depends on the commit completing, so run it sequentially after the commit.
|
|
113
|
+
4. If the commit fails due to pre-commit hook: fix the issue and create a NEW commit
|
|
114
|
+
|
|
115
|
+
Important notes:
|
|
116
|
+
- NEVER run additional commands to read or explore code, besides git bash commands
|
|
117
|
+
- NEVER use the TodoWrite or Agent tools
|
|
118
|
+
- DO NOT push to the remote repository unless the user explicitly asks you to do so
|
|
119
|
+
- IMPORTANT: Never use git commands with the -i flag (like git rebase -i or git add -i) since they require interactive input which is not supported.
|
|
120
|
+
- IMPORTANT: Do not use --no-edit with git rebase commands, as the --no-edit flag is not a valid option for git rebase.
|
|
121
|
+
- If there are no changes to commit (i.e., no untracked files and no modifications), do not create an empty commit
|
|
122
|
+
- In order to ensure good formatting, ALWAYS pass the commit message via a HEREDOC, a la this example:
|
|
123
|
+
<example>
|
|
124
|
+
git commit -m "$(cat <<'EOF'
|
|
125
|
+
Commit message here.
|
|
126
|
+
|
|
127
|
+
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
|
128
|
+
EOF
|
|
129
|
+
)"
|
|
130
|
+
</example>
|
|
131
|
+
|
|
132
|
+
# Creating pull requests
|
|
133
|
+
Use the gh command via the Bash tool for ALL GitHub-related tasks including working with issues, pull requests, checks, and releases. If given a Github URL use the gh command to get the information needed.
|
|
134
|
+
|
|
135
|
+
IMPORTANT: When the user asks you to create a pull request, follow these steps carefully:
|
|
136
|
+
|
|
137
|
+
1. You can call multiple tools in a single response. When multiple independent pieces of information are requested and all commands are likely to succeed, run multiple tool calls in parallel for optimal performance. run the following bash commands in parallel using the Bash tool, in order to understand the current state of the branch since it diverged from the main branch:
|
|
138
|
+
- Run a git status command to see all untracked files (never use -uall flag)
|
|
139
|
+
- Run a git diff command to see both staged and unstaged changes that will be committed
|
|
140
|
+
- Check if the current branch tracks a remote branch and is up to date with the remote, so you know if you need to push to the remote
|
|
141
|
+
- Run a git log command and `git diff [base-branch]...HEAD` to understand the full commit history for the current branch (from the time it diverged from the base branch)
|
|
142
|
+
2. Analyze all changes that will be included in the pull request, making sure to look at all relevant commits (NOT just the latest commit, but ALL commits that will be included in the pull request!!!), and draft a pull request title and summary:
|
|
143
|
+
- Keep the PR title short (under 70 characters)
|
|
144
|
+
- Use the description/body for details, not the title
|
|
145
|
+
3. You can call multiple tools in a single response. When multiple independent pieces of information are requested and all commands are likely to succeed, run multiple tool calls in parallel for optimal performance. run the following commands in parallel:
|
|
146
|
+
- Create new branch if needed
|
|
147
|
+
- Push to remote with -u flag if needed
|
|
148
|
+
- Create PR using gh pr create with the format below. Use a HEREDOC to pass the body to ensure correct formatting.
|
|
149
|
+
<example>
|
|
150
|
+
gh pr create --title "the pr title" --body "$(cat <<'EOF'
|
|
151
|
+
## Summary
|
|
152
|
+
<1-3 bullet points>
|
|
153
|
+
|
|
154
|
+
## Test plan
|
|
155
|
+
[Bulleted markdown checklist of TODOs for testing the pull request...]
|
|
156
|
+
|
|
157
|
+
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
|
158
|
+
EOF
|
|
159
|
+
)"
|
|
160
|
+
</example>
|
|
161
|
+
|
|
162
|
+
Important:
|
|
163
|
+
- DO NOT use the TodoWrite or Agent tools
|
|
164
|
+
- Return the PR URL when you're done, so the user can see it
|
|
165
|
+
|
|
166
|
+
# Other common operations
|
|
167
|
+
- View comments on a Github PR: gh api repos/foo/bar/pulls/123/comments</textarea>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Edit
|
|
2
|
+
|
|
3
|
+
## 定義
|
|
4
|
+
|
|
5
|
+
精確な文字列置換によるファイル編集。ファイル内の `old_string` を `new_string` に置換します。
|
|
6
|
+
|
|
7
|
+
## パラメータ
|
|
8
|
+
|
|
9
|
+
| パラメータ | 型 | 必須 | 説明 |
|
|
10
|
+
|------------|------|------|------|
|
|
11
|
+
| `file_path` | string | はい | 変更するファイルの絶対パス |
|
|
12
|
+
| `old_string` | string | はい | 置換する元のテキスト |
|
|
13
|
+
| `new_string` | string | はい | 置換後の新しいテキスト(old_string と異なる必要がある) |
|
|
14
|
+
| `replace_all` | boolean | いいえ | すべてのマッチを置換するかどうか、デフォルト `false` |
|
|
15
|
+
|
|
16
|
+
## 使用シナリオ
|
|
17
|
+
|
|
18
|
+
**適している場合:**
|
|
19
|
+
- 既存ファイル内の特定のコードセクションを変更
|
|
20
|
+
- バグ修正、ロジックの更新
|
|
21
|
+
- 変数のリネーム(`replace_all: true` と併用)
|
|
22
|
+
- ファイル内容を精確に変更する必要があるすべてのシナリオ
|
|
23
|
+
|
|
24
|
+
**適していない場合:**
|
|
25
|
+
- 新規ファイルの作成——Write を使用すべき
|
|
26
|
+
- 大規模な書き換え——Write でファイル全体を上書きする必要がある場合
|
|
27
|
+
|
|
28
|
+
## 注意事項
|
|
29
|
+
|
|
30
|
+
- 使用前に必ず Read でそのファイルを読み取っておく必要がある。そうでないとエラーになる
|
|
31
|
+
- `old_string` はファイル内で一意でなければならない。一意でない場合は、より多くのコンテキストを含めて一意にするか、`replace_all` を使用する
|
|
32
|
+
- テキスト編集時は元のインデント(tab/スペース)を維持する必要がある。Read 出力の行番号プレフィックスを含めないこと
|
|
33
|
+
- 新規ファイル作成よりも既存ファイルの編集を優先
|
|
34
|
+
- `new_string` は `old_string` と異なる必要がある
|
|
35
|
+
|
|
36
|
+
## 原文
|
|
37
|
+
|
|
38
|
+
<textarea readonly>Performs exact string replacements in files.
|
|
39
|
+
|
|
40
|
+
Usage:
|
|
41
|
+
- You must use your `Read` tool at least once in the conversation before editing. This tool will error if you attempt an edit without reading the file.
|
|
42
|
+
- When editing text from Read tool output, ensure you preserve the exact indentation (tabs/spaces) as it appears AFTER the line number prefix. The line number prefix format is: spaces + line number + tab. Everything after that tab is the actual file content to match. Never include any part of the line number prefix in the old_string or new_string.
|
|
43
|
+
- ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required.
|
|
44
|
+
- Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.
|
|
45
|
+
- The edit will FAIL if `old_string` is not unique in the file. Either provide a larger string with more surrounding context to make it unique or use `replace_all` to change every instance of `old_string`.
|
|
46
|
+
- Use `replace_all` for replacing and renaming strings across the file. This parameter is useful if you want to rename a variable for instance.</textarea>
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# EnterPlanMode
|
|
2
|
+
|
|
3
|
+
## 定義
|
|
4
|
+
|
|
5
|
+
Claude Code を計画モードに切り替え、実装前にコードベースを探索し方針を設計するために使用します。
|
|
6
|
+
|
|
7
|
+
## パラメータ
|
|
8
|
+
|
|
9
|
+
パラメータなし。
|
|
10
|
+
|
|
11
|
+
## 使用シナリオ
|
|
12
|
+
|
|
13
|
+
**適している場合:**
|
|
14
|
+
- 新機能の実装——アーキテクチャの判断が必要
|
|
15
|
+
- 複数の実行可能な方針がある——ユーザーの選択が必要
|
|
16
|
+
- コード変更が既存の動作や構造に影響する
|
|
17
|
+
- 複数ファイルの変更——2〜3ファイル以上に及ぶ可能性
|
|
18
|
+
- 要件が不明確——まず探索して範囲を理解する必要がある
|
|
19
|
+
- ユーザーの好みが重要——実装に複数の合理的な方向性がある
|
|
20
|
+
|
|
21
|
+
**適していない場合:**
|
|
22
|
+
- 1行または少数行の修正(タイプミス、明らかなバグ)
|
|
23
|
+
- ユーザーが非常に具体的な指示を出している
|
|
24
|
+
- 純粋な調査/探索タスク——Task(Explore タイプ)を使用すべき
|
|
25
|
+
|
|
26
|
+
## 計画モードでの動作
|
|
27
|
+
|
|
28
|
+
計画モードに入ると、Claude Code は:
|
|
29
|
+
1. Glob、Grep、Read ツールを使用してコードベースを深く探索
|
|
30
|
+
2. 既存のパターンとアーキテクチャを理解
|
|
31
|
+
3. 実装方針を設計
|
|
32
|
+
4. 方針をユーザー承認に提出
|
|
33
|
+
5. 必要に応じて AskUserQuestion で確認
|
|
34
|
+
6. 方針が準備できたら ExitPlanMode で終了
|
|
35
|
+
|
|
36
|
+
## 注意事項
|
|
37
|
+
|
|
38
|
+
- このツールは計画モードに入るためにユーザーの同意が必要
|
|
39
|
+
- 計画が必要かどうか不確かな場合は、計画する方に傾ける——事前の擦り合わせは手戻りよりも良い
|
|
40
|
+
|
|
41
|
+
## 原文
|
|
42
|
+
|
|
43
|
+
<textarea readonly>Use this tool proactively when you're about to start a non-trivial implementation task. Getting user sign-off on your approach before writing code prevents wasted effort and ensures alignment. This tool transitions you into plan mode where you can explore the codebase and design an implementation approach for user approval.
|
|
44
|
+
|
|
45
|
+
## When to Use This Tool
|
|
46
|
+
|
|
47
|
+
**Prefer using EnterPlanMode** for implementation tasks unless they're simple. Use it when ANY of these conditions apply:
|
|
48
|
+
|
|
49
|
+
1. **New Feature Implementation**: Adding meaningful new functionality
|
|
50
|
+
- Example: "Add a logout button" - where should it go? What should happen on click?
|
|
51
|
+
- Example: "Add form validation" - what rules? What error messages?
|
|
52
|
+
|
|
53
|
+
2. **Multiple Valid Approaches**: The task can be solved in several different ways
|
|
54
|
+
- Example: "Add caching to the API" - could use Redis, in-memory, file-based, etc.
|
|
55
|
+
- Example: "Improve performance" - many optimization strategies possible
|
|
56
|
+
|
|
57
|
+
3. **Code Modifications**: Changes that affect existing behavior or structure
|
|
58
|
+
- Example: "Update the login flow" - what exactly should change?
|
|
59
|
+
- Example: "Refactor this component" - what's the target architecture?
|
|
60
|
+
|
|
61
|
+
4. **Architectural Decisions**: The task requires choosing between patterns or technologies
|
|
62
|
+
- Example: "Add real-time updates" - WebSockets vs SSE vs polling
|
|
63
|
+
- Example: "Implement state management" - Redux vs Context vs custom solution
|
|
64
|
+
|
|
65
|
+
5. **Multi-File Changes**: The task will likely touch more than 2-3 files
|
|
66
|
+
- Example: "Refactor the authentication system"
|
|
67
|
+
- Example: "Add a new API endpoint with tests"
|
|
68
|
+
|
|
69
|
+
6. **Unclear Requirements**: You need to explore before understanding the full scope
|
|
70
|
+
- Example: "Make the app faster" - need to profile and identify bottlenecks
|
|
71
|
+
- Example: "Fix the bug in checkout" - need to investigate root cause
|
|
72
|
+
|
|
73
|
+
7. **User Preferences Matter**: The implementation could reasonably go multiple ways
|
|
74
|
+
- If you would use AskUserQuestion to clarify the approach, use EnterPlanMode instead
|
|
75
|
+
- Plan mode lets you explore first, then present options with context
|
|
76
|
+
|
|
77
|
+
## When NOT to Use This Tool
|
|
78
|
+
|
|
79
|
+
Only skip EnterPlanMode for simple tasks:
|
|
80
|
+
- Single-line or few-line fixes (typos, obvious bugs, small tweaks)
|
|
81
|
+
- Adding a single function with clear requirements
|
|
82
|
+
- Tasks where the user has given very specific, detailed instructions
|
|
83
|
+
- Pure research/exploration tasks (use the Agent tool with explore agent instead)
|
|
84
|
+
|
|
85
|
+
## What Happens in Plan Mode
|
|
86
|
+
|
|
87
|
+
In plan mode, you'll:
|
|
88
|
+
1. Thoroughly explore the codebase using Glob, Grep, and Read tools
|
|
89
|
+
2. Understand existing patterns and architecture
|
|
90
|
+
3. Design an implementation approach
|
|
91
|
+
4. Present your plan to the user for approval
|
|
92
|
+
5. Use AskUserQuestion if you need to clarify approaches
|
|
93
|
+
6. Exit plan mode with ExitPlanMode when ready to implement
|
|
94
|
+
|
|
95
|
+
## Examples
|
|
96
|
+
|
|
97
|
+
### GOOD - Use EnterPlanMode:
|
|
98
|
+
User: "Add user authentication to the app"
|
|
99
|
+
- Requires architectural decisions (session vs JWT, where to store tokens, middleware structure)
|
|
100
|
+
|
|
101
|
+
User: "Optimize the database queries"
|
|
102
|
+
- Multiple approaches possible, need to profile first, significant impact
|
|
103
|
+
|
|
104
|
+
User: "Implement dark mode"
|
|
105
|
+
- Architectural decision on theme system, affects many components
|
|
106
|
+
|
|
107
|
+
User: "Add a delete button to the user profile"
|
|
108
|
+
- Seems simple but involves: where to place it, confirmation dialog, API call, error handling, state updates
|
|
109
|
+
|
|
110
|
+
User: "Update the error handling in the API"
|
|
111
|
+
- Affects multiple files, user should approve the approach
|
|
112
|
+
|
|
113
|
+
### BAD - Don't use EnterPlanMode:
|
|
114
|
+
User: "Fix the typo in the README"
|
|
115
|
+
- Straightforward, no planning needed
|
|
116
|
+
|
|
117
|
+
User: "Add a console.log to debug this function"
|
|
118
|
+
- Simple, obvious implementation
|
|
119
|
+
|
|
120
|
+
User: "What files handle routing?"
|
|
121
|
+
- Research task, not implementation planning
|
|
122
|
+
|
|
123
|
+
## Important Notes
|
|
124
|
+
|
|
125
|
+
- This tool REQUIRES user approval - they must consent to entering plan mode
|
|
126
|
+
- If unsure whether to use it, err on the side of planning - it's better to get alignment upfront than to redo work
|
|
127
|
+
- Users appreciate being consulted before significant changes are made to their codebase
|
|
128
|
+
</textarea>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# EnterWorktree
|
|
2
|
+
|
|
3
|
+
## 定義
|
|
4
|
+
|
|
5
|
+
隔離された git worktree を作成し、現在のセッションをその中に切り替えます。ユーザーが明示的に worktree での作業を要求した場合にのみ使用します。
|
|
6
|
+
|
|
7
|
+
## パラメータ
|
|
8
|
+
|
|
9
|
+
| パラメータ名 | 型 | 必須 | 説明 |
|
|
10
|
+
|---|---|---|---|
|
|
11
|
+
| name | string | 否 | `name`(任意):worktree の名前。指定しない場合はランダムな名前が生成されます。 |
|
|
12
|
+
|
|
13
|
+
## 使用場面
|
|
14
|
+
|
|
15
|
+
**適している場面:**
|
|
16
|
+
- ユーザーが明示的に「worktree」と言った場合(例:「worktree を作成して」「worktree で作業して」)
|
|
17
|
+
|
|
18
|
+
**適さない場面:**
|
|
19
|
+
- ユーザーがブランチの作成・切り替えを要求——git コマンドを使用
|
|
20
|
+
- ユーザーがバグ修正や機能開発を要求——worktree を明示しない限り通常の git ワークフローを使用
|
|
21
|
+
|
|
22
|
+
## 注意事項
|
|
23
|
+
|
|
24
|
+
- git リポジトリ内であるか、WorktreeCreate/WorktreeRemove hooks が設定されている必要がある
|
|
25
|
+
- 既に worktree 内にいてはならない
|
|
26
|
+
|
|
27
|
+
## 原文
|
|
28
|
+
|
|
29
|
+
<textarea readonly>Use this tool ONLY when the user explicitly asks to work in a worktree. This tool creates an isolated git worktree and switches the current session into it.
|
|
30
|
+
|
|
31
|
+
## When to Use
|
|
32
|
+
|
|
33
|
+
- The user explicitly says "worktree" (e.g., "start a worktree", "work in a worktree", "create a worktree", "use a worktree")
|
|
34
|
+
|
|
35
|
+
## When NOT to Use
|
|
36
|
+
|
|
37
|
+
- The user asks to create a branch, switch branches, or work on a different branch — use git commands instead
|
|
38
|
+
- The user asks to fix a bug or work on a feature — use normal git workflow unless they specifically mention worktrees
|
|
39
|
+
- Never use this tool unless the user explicitly mentions "worktree"
|
|
40
|
+
|
|
41
|
+
## Requirements
|
|
42
|
+
|
|
43
|
+
- Must be in a git repository, OR have WorktreeCreate/WorktreeRemove hooks configured in settings.json
|
|
44
|
+
- Must not already be in a worktree
|
|
45
|
+
|
|
46
|
+
## Behavior
|
|
47
|
+
|
|
48
|
+
- In a git repository: creates a new git worktree inside `.claude/worktrees/` with a new branch based on HEAD
|
|
49
|
+
- Outside a git repository: delegates to WorktreeCreate/WorktreeRemove hooks for VCS-agnostic isolation
|
|
50
|
+
- Switches the session's working directory to the new worktree
|
|
51
|
+
- On session exit, the user will be prompted to keep or remove the worktree
|
|
52
|
+
|
|
53
|
+
## Parameters
|
|
54
|
+
|
|
55
|
+
- `name` (optional): A name for the worktree. If not provided, a random name is generated.
|
|
56
|
+
</textarea>
|