cc-viewer 1.6.182 → 1.6.183
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/concepts/ar/SubAgent-Search.md +44 -12
- package/concepts/ar/Tool-Agent.md +44 -109
- package/concepts/ar/Tool-AskUserQuestion.md +51 -66
- package/concepts/ar/Tool-Bash.md +27 -155
- package/concepts/ar/Tool-CronCreate.md +57 -0
- package/concepts/ar/Tool-CronDelete.md +43 -0
- package/concepts/ar/Tool-CronList.md +30 -0
- package/concepts/ar/Tool-Edit.md +26 -34
- package/concepts/ar/Tool-EnterPlanMode.md +21 -114
- package/concepts/ar/Tool-EnterWorktree.md +29 -41
- package/concepts/ar/Tool-ExitPlanMode.md +28 -48
- package/concepts/ar/Tool-ExitWorktree.md +41 -0
- package/concepts/ar/Tool-Glob.md +23 -27
- package/concepts/ar/Tool-Grep.md +37 -48
- package/concepts/ar/Tool-Monitor.md +50 -0
- package/concepts/ar/Tool-NotebookEdit.md +27 -21
- package/concepts/ar/Tool-PushNotification.md +48 -0
- package/concepts/ar/Tool-Read.md +29 -44
- package/concepts/ar/Tool-RemoteTrigger.md +73 -0
- package/concepts/ar/Tool-ScheduleWakeup.md +56 -0
- package/concepts/ar/Tool-SendMessage.md +53 -26
- package/concepts/ar/Tool-Skill.md +32 -41
- package/concepts/ar/Tool-TaskCreate.md +39 -61
- package/concepts/ar/Tool-TaskGet.md +30 -39
- package/concepts/ar/Tool-TaskList.md +43 -37
- package/concepts/ar/Tool-TaskOutput.md +37 -27
- package/concepts/ar/Tool-TaskStop.md +33 -20
- package/concepts/ar/Tool-TaskUpdate.md +50 -103
- package/concepts/ar/Tool-TeamCreate.md +40 -25
- package/concepts/ar/Tool-TeamDelete.md +33 -19
- package/concepts/ar/Tool-WebFetch.md +38 -43
- package/concepts/ar/Tool-WebSearch.md +40 -47
- package/concepts/ar/Tool-Write.md +23 -27
- package/concepts/ar/Tool-executeCode.md +36 -30
- package/concepts/ar/Tool-getDiagnostics.md +32 -20
- package/concepts/ar/Tools.md +1 -1
- package/concepts/da/SubAgent-Search.md +44 -12
- package/concepts/da/Tool-Agent.md +53 -118
- package/concepts/da/Tool-AskUserQuestion.md +54 -69
- package/concepts/da/Tool-Bash.md +27 -155
- package/concepts/da/Tool-CronCreate.md +57 -0
- package/concepts/da/Tool-CronDelete.md +43 -0
- package/concepts/da/Tool-CronList.md +30 -0
- package/concepts/da/Tool-Edit.md +26 -34
- package/concepts/da/Tool-EnterPlanMode.md +22 -115
- package/concepts/da/Tool-EnterWorktree.md +29 -41
- package/concepts/da/Tool-ExitPlanMode.md +28 -48
- package/concepts/da/Tool-ExitWorktree.md +41 -0
- package/concepts/da/Tool-Glob.md +23 -27
- package/concepts/da/Tool-Grep.md +40 -51
- package/concepts/da/Tool-Monitor.md +50 -0
- package/concepts/da/Tool-NotebookEdit.md +27 -21
- package/concepts/da/Tool-PushNotification.md +48 -0
- package/concepts/da/Tool-Read.md +35 -50
- package/concepts/da/Tool-RemoteTrigger.md +73 -0
- package/concepts/da/Tool-ScheduleWakeup.md +56 -0
- package/concepts/da/Tool-SendMessage.md +53 -26
- package/concepts/da/Tool-Skill.md +32 -41
- package/concepts/da/Tool-TaskCreate.md +39 -61
- package/concepts/da/Tool-TaskGet.md +30 -39
- package/concepts/da/Tool-TaskList.md +43 -37
- package/concepts/da/Tool-TaskOutput.md +37 -27
- package/concepts/da/Tool-TaskStop.md +33 -20
- package/concepts/da/Tool-TaskUpdate.md +50 -103
- package/concepts/da/Tool-TeamCreate.md +40 -25
- package/concepts/da/Tool-TeamDelete.md +33 -19
- package/concepts/da/Tool-WebFetch.md +44 -49
- package/concepts/da/Tool-WebSearch.md +36 -43
- package/concepts/da/Tool-Write.md +23 -27
- package/concepts/da/Tool-executeCode.md +35 -29
- package/concepts/da/Tool-getDiagnostics.md +32 -20
- package/concepts/da/Tools.md +1 -1
- package/concepts/de/SubAgent-Search.md +44 -12
- package/concepts/de/Tool-Agent.md +44 -109
- package/concepts/de/Tool-AskUserQuestion.md +51 -66
- package/concepts/de/Tool-Bash.md +27 -155
- package/concepts/de/Tool-CronCreate.md +57 -0
- package/concepts/de/Tool-CronDelete.md +43 -0
- package/concepts/de/Tool-CronList.md +30 -0
- package/concepts/de/Tool-Edit.md +26 -34
- package/concepts/de/Tool-EnterPlanMode.md +21 -114
- package/concepts/de/Tool-EnterWorktree.md +29 -41
- package/concepts/de/Tool-ExitPlanMode.md +28 -48
- package/concepts/de/Tool-ExitWorktree.md +41 -0
- package/concepts/de/Tool-Glob.md +23 -27
- package/concepts/de/Tool-Grep.md +37 -48
- package/concepts/de/Tool-Monitor.md +50 -0
- package/concepts/de/Tool-NotebookEdit.md +27 -21
- package/concepts/de/Tool-PushNotification.md +48 -0
- package/concepts/de/Tool-Read.md +29 -44
- package/concepts/de/Tool-RemoteTrigger.md +73 -0
- package/concepts/de/Tool-ScheduleWakeup.md +56 -0
- package/concepts/de/Tool-SendMessage.md +53 -26
- package/concepts/de/Tool-Skill.md +32 -41
- package/concepts/de/Tool-TaskCreate.md +39 -61
- package/concepts/de/Tool-TaskGet.md +30 -39
- package/concepts/de/Tool-TaskList.md +43 -37
- package/concepts/de/Tool-TaskOutput.md +37 -27
- package/concepts/de/Tool-TaskStop.md +33 -20
- package/concepts/de/Tool-TaskUpdate.md +49 -102
- package/concepts/de/Tool-TeamCreate.md +40 -25
- package/concepts/de/Tool-TeamDelete.md +33 -19
- package/concepts/de/Tool-WebFetch.md +38 -43
- package/concepts/de/Tool-WebSearch.md +40 -47
- package/concepts/de/Tool-Write.md +23 -27
- package/concepts/de/Tool-executeCode.md +36 -30
- package/concepts/de/Tool-getDiagnostics.md +32 -20
- package/concepts/de/Tools.md +1 -1
- package/concepts/en/SubAgent-Search.md +44 -12
- package/concepts/en/Tool-Agent.md +44 -109
- package/concepts/en/Tool-AskUserQuestion.md +51 -66
- package/concepts/en/Tool-Bash.md +27 -155
- package/concepts/en/Tool-CronCreate.md +57 -0
- package/concepts/en/Tool-CronDelete.md +43 -0
- package/concepts/en/Tool-CronList.md +30 -0
- package/concepts/en/Tool-Edit.md +26 -34
- package/concepts/en/Tool-EnterPlanMode.md +21 -114
- package/concepts/en/Tool-EnterWorktree.md +29 -41
- package/concepts/en/Tool-ExitPlanMode.md +28 -48
- package/concepts/en/Tool-ExitWorktree.md +41 -0
- package/concepts/en/Tool-Glob.md +23 -27
- package/concepts/en/Tool-Grep.md +37 -48
- package/concepts/en/Tool-Monitor.md +50 -0
- package/concepts/en/Tool-NotebookEdit.md +27 -21
- package/concepts/en/Tool-PushNotification.md +48 -0
- package/concepts/en/Tool-Read.md +29 -44
- package/concepts/en/Tool-RemoteTrigger.md +73 -0
- package/concepts/en/Tool-ScheduleWakeup.md +56 -0
- package/concepts/en/Tool-SendMessage.md +53 -26
- package/concepts/en/Tool-Skill.md +32 -41
- package/concepts/en/Tool-TaskCreate.md +39 -61
- package/concepts/en/Tool-TaskGet.md +30 -39
- package/concepts/en/Tool-TaskList.md +43 -37
- package/concepts/en/Tool-TaskOutput.md +37 -27
- package/concepts/en/Tool-TaskStop.md +33 -20
- package/concepts/en/Tool-TaskUpdate.md +49 -102
- package/concepts/en/Tool-TeamCreate.md +40 -25
- package/concepts/en/Tool-TeamDelete.md +33 -19
- package/concepts/en/Tool-WebFetch.md +38 -43
- package/concepts/en/Tool-WebSearch.md +40 -47
- package/concepts/en/Tool-Write.md +23 -27
- package/concepts/en/Tool-executeCode.md +36 -30
- package/concepts/en/Tool-getDiagnostics.md +32 -20
- package/concepts/en/Tools.md +1 -1
- package/concepts/es/SubAgent-Search.md +44 -12
- package/concepts/es/Tool-Agent.md +44 -109
- package/concepts/es/Tool-AskUserQuestion.md +51 -66
- package/concepts/es/Tool-Bash.md +27 -155
- package/concepts/es/Tool-CronCreate.md +57 -0
- package/concepts/es/Tool-CronDelete.md +43 -0
- package/concepts/es/Tool-CronList.md +30 -0
- package/concepts/es/Tool-Edit.md +26 -34
- package/concepts/es/Tool-EnterPlanMode.md +21 -114
- package/concepts/es/Tool-EnterWorktree.md +29 -41
- package/concepts/es/Tool-ExitPlanMode.md +28 -48
- package/concepts/es/Tool-ExitWorktree.md +41 -0
- package/concepts/es/Tool-Glob.md +23 -27
- package/concepts/es/Tool-Grep.md +37 -48
- package/concepts/es/Tool-Monitor.md +50 -0
- package/concepts/es/Tool-NotebookEdit.md +27 -21
- package/concepts/es/Tool-PushNotification.md +48 -0
- package/concepts/es/Tool-Read.md +29 -44
- package/concepts/es/Tool-RemoteTrigger.md +73 -0
- package/concepts/es/Tool-ScheduleWakeup.md +56 -0
- package/concepts/es/Tool-SendMessage.md +53 -26
- package/concepts/es/Tool-Skill.md +32 -41
- package/concepts/es/Tool-TaskCreate.md +39 -61
- package/concepts/es/Tool-TaskGet.md +30 -39
- package/concepts/es/Tool-TaskList.md +44 -37
- package/concepts/es/Tool-TaskOutput.md +37 -27
- package/concepts/es/Tool-TaskStop.md +33 -20
- package/concepts/es/Tool-TaskUpdate.md +49 -102
- package/concepts/es/Tool-TeamCreate.md +40 -25
- package/concepts/es/Tool-TeamDelete.md +33 -19
- package/concepts/es/Tool-WebFetch.md +38 -43
- package/concepts/es/Tool-WebSearch.md +40 -47
- package/concepts/es/Tool-Write.md +23 -27
- package/concepts/es/Tool-executeCode.md +36 -30
- package/concepts/es/Tool-getDiagnostics.md +32 -20
- package/concepts/es/Tools.md +1 -1
- package/concepts/fr/SubAgent-Search.md +45 -13
- package/concepts/fr/Tool-Agent.md +44 -109
- package/concepts/fr/Tool-AskUserQuestion.md +51 -66
- package/concepts/fr/Tool-Bash.md +27 -155
- package/concepts/fr/Tool-CronCreate.md +57 -0
- package/concepts/fr/Tool-CronDelete.md +43 -0
- package/concepts/fr/Tool-CronList.md +30 -0
- package/concepts/fr/Tool-Edit.md +26 -34
- package/concepts/fr/Tool-EnterPlanMode.md +21 -114
- package/concepts/fr/Tool-EnterWorktree.md +29 -41
- package/concepts/fr/Tool-ExitPlanMode.md +28 -48
- package/concepts/fr/Tool-ExitWorktree.md +41 -0
- package/concepts/fr/Tool-Glob.md +23 -27
- package/concepts/fr/Tool-Grep.md +37 -48
- package/concepts/fr/Tool-Monitor.md +50 -0
- package/concepts/fr/Tool-NotebookEdit.md +27 -21
- package/concepts/fr/Tool-PushNotification.md +48 -0
- package/concepts/fr/Tool-Read.md +29 -44
- package/concepts/fr/Tool-RemoteTrigger.md +73 -0
- package/concepts/fr/Tool-ScheduleWakeup.md +56 -0
- package/concepts/fr/Tool-SendMessage.md +53 -26
- package/concepts/fr/Tool-Skill.md +32 -41
- package/concepts/fr/Tool-TaskCreate.md +39 -61
- package/concepts/fr/Tool-TaskGet.md +30 -39
- package/concepts/fr/Tool-TaskList.md +43 -37
- package/concepts/fr/Tool-TaskOutput.md +37 -27
- package/concepts/fr/Tool-TaskStop.md +33 -20
- package/concepts/fr/Tool-TaskUpdate.md +50 -103
- package/concepts/fr/Tool-TeamCreate.md +40 -25
- package/concepts/fr/Tool-TeamDelete.md +33 -19
- package/concepts/fr/Tool-WebFetch.md +38 -43
- package/concepts/fr/Tool-WebSearch.md +40 -47
- package/concepts/fr/Tool-Write.md +23 -27
- package/concepts/fr/Tool-executeCode.md +36 -30
- package/concepts/fr/Tool-getDiagnostics.md +32 -20
- package/concepts/fr/Tools.md +1 -1
- package/concepts/it/SubAgent-Search.md +44 -12
- package/concepts/it/Tool-Agent.md +44 -109
- package/concepts/it/Tool-AskUserQuestion.md +51 -66
- package/concepts/it/Tool-Bash.md +27 -155
- package/concepts/it/Tool-CronCreate.md +57 -0
- package/concepts/it/Tool-CronDelete.md +43 -0
- package/concepts/it/Tool-CronList.md +30 -0
- package/concepts/it/Tool-Edit.md +26 -34
- package/concepts/it/Tool-EnterPlanMode.md +21 -114
- package/concepts/it/Tool-EnterWorktree.md +29 -41
- package/concepts/it/Tool-ExitPlanMode.md +28 -48
- package/concepts/it/Tool-ExitWorktree.md +41 -0
- package/concepts/it/Tool-Glob.md +23 -27
- package/concepts/it/Tool-Grep.md +37 -48
- package/concepts/it/Tool-Monitor.md +50 -0
- package/concepts/it/Tool-NotebookEdit.md +27 -21
- package/concepts/it/Tool-PushNotification.md +48 -0
- package/concepts/it/Tool-Read.md +29 -44
- package/concepts/it/Tool-RemoteTrigger.md +73 -0
- package/concepts/it/Tool-ScheduleWakeup.md +56 -0
- package/concepts/it/Tool-SendMessage.md +53 -26
- package/concepts/it/Tool-Skill.md +32 -41
- package/concepts/it/Tool-TaskCreate.md +39 -61
- package/concepts/it/Tool-TaskGet.md +30 -39
- package/concepts/it/Tool-TaskList.md +44 -37
- package/concepts/it/Tool-TaskOutput.md +37 -27
- package/concepts/it/Tool-TaskStop.md +33 -20
- package/concepts/it/Tool-TaskUpdate.md +50 -103
- package/concepts/it/Tool-TeamCreate.md +40 -25
- package/concepts/it/Tool-TeamDelete.md +33 -19
- package/concepts/it/Tool-WebFetch.md +38 -43
- package/concepts/it/Tool-WebSearch.md +40 -47
- package/concepts/it/Tool-Write.md +23 -27
- package/concepts/it/Tool-executeCode.md +36 -30
- package/concepts/it/Tool-getDiagnostics.md +32 -20
- package/concepts/it/Tools.md +1 -1
- package/concepts/ja/SubAgent-Search.md +44 -12
- package/concepts/ja/Tool-Agent.md +44 -109
- package/concepts/ja/Tool-AskUserQuestion.md +51 -66
- package/concepts/ja/Tool-Bash.md +27 -155
- package/concepts/ja/Tool-CronCreate.md +57 -0
- package/concepts/ja/Tool-CronDelete.md +43 -0
- package/concepts/ja/Tool-CronList.md +30 -0
- package/concepts/ja/Tool-Edit.md +26 -34
- package/concepts/ja/Tool-EnterPlanMode.md +21 -114
- package/concepts/ja/Tool-EnterWorktree.md +29 -41
- package/concepts/ja/Tool-ExitPlanMode.md +28 -48
- package/concepts/ja/Tool-ExitWorktree.md +41 -0
- package/concepts/ja/Tool-Glob.md +23 -27
- package/concepts/ja/Tool-Grep.md +37 -48
- package/concepts/ja/Tool-Monitor.md +50 -0
- package/concepts/ja/Tool-NotebookEdit.md +27 -21
- package/concepts/ja/Tool-PushNotification.md +48 -0
- package/concepts/ja/Tool-Read.md +29 -44
- package/concepts/ja/Tool-RemoteTrigger.md +73 -0
- package/concepts/ja/Tool-ScheduleWakeup.md +56 -0
- package/concepts/ja/Tool-SendMessage.md +53 -26
- package/concepts/ja/Tool-Skill.md +32 -41
- package/concepts/ja/Tool-TaskCreate.md +39 -61
- package/concepts/ja/Tool-TaskGet.md +30 -39
- package/concepts/ja/Tool-TaskList.md +43 -37
- package/concepts/ja/Tool-TaskOutput.md +37 -27
- package/concepts/ja/Tool-TaskStop.md +33 -20
- package/concepts/ja/Tool-TaskUpdate.md +50 -103
- package/concepts/ja/Tool-TeamCreate.md +40 -25
- package/concepts/ja/Tool-TeamDelete.md +33 -19
- package/concepts/ja/Tool-WebFetch.md +38 -43
- package/concepts/ja/Tool-WebSearch.md +40 -47
- package/concepts/ja/Tool-Write.md +23 -27
- package/concepts/ja/Tool-executeCode.md +36 -30
- package/concepts/ja/Tool-getDiagnostics.md +32 -20
- package/concepts/ja/Tools.md +1 -1
- package/concepts/ko/SubAgent-Search.md +44 -12
- package/concepts/ko/Tool-Agent.md +44 -109
- package/concepts/ko/Tool-AskUserQuestion.md +58 -73
- package/concepts/ko/Tool-Bash.md +27 -155
- package/concepts/ko/Tool-CronCreate.md +57 -0
- package/concepts/ko/Tool-CronDelete.md +43 -0
- package/concepts/ko/Tool-CronList.md +30 -0
- package/concepts/ko/Tool-Edit.md +26 -34
- package/concepts/ko/Tool-EnterPlanMode.md +22 -115
- package/concepts/ko/Tool-EnterWorktree.md +29 -41
- package/concepts/ko/Tool-ExitPlanMode.md +28 -48
- package/concepts/ko/Tool-ExitWorktree.md +41 -0
- package/concepts/ko/Tool-Glob.md +23 -27
- package/concepts/ko/Tool-Grep.md +44 -55
- package/concepts/ko/Tool-Monitor.md +50 -0
- package/concepts/ko/Tool-NotebookEdit.md +28 -22
- package/concepts/ko/Tool-PushNotification.md +48 -0
- package/concepts/ko/Tool-Read.md +39 -54
- package/concepts/ko/Tool-RemoteTrigger.md +73 -0
- package/concepts/ko/Tool-ScheduleWakeup.md +56 -0
- package/concepts/ko/Tool-SendMessage.md +54 -27
- package/concepts/ko/Tool-Skill.md +32 -41
- package/concepts/ko/Tool-TaskCreate.md +39 -61
- package/concepts/ko/Tool-TaskGet.md +30 -39
- package/concepts/ko/Tool-TaskList.md +44 -38
- package/concepts/ko/Tool-TaskOutput.md +38 -28
- package/concepts/ko/Tool-TaskStop.md +34 -21
- package/concepts/ko/Tool-TaskUpdate.md +50 -103
- package/concepts/ko/Tool-TeamCreate.md +41 -26
- package/concepts/ko/Tool-TeamDelete.md +33 -19
- package/concepts/ko/Tool-WebFetch.md +48 -53
- package/concepts/ko/Tool-WebSearch.md +36 -43
- package/concepts/ko/Tool-Write.md +23 -27
- package/concepts/ko/Tool-executeCode.md +36 -30
- package/concepts/ko/Tool-getDiagnostics.md +33 -21
- package/concepts/ko/Tools.md +1 -1
- package/concepts/no/SubAgent-Search.md +44 -12
- package/concepts/no/Tool-Agent.md +53 -118
- package/concepts/no/Tool-AskUserQuestion.md +54 -69
- package/concepts/no/Tool-Bash.md +27 -155
- package/concepts/no/Tool-CronCreate.md +57 -0
- package/concepts/no/Tool-CronDelete.md +43 -0
- package/concepts/no/Tool-CronList.md +30 -0
- package/concepts/no/Tool-Edit.md +26 -34
- package/concepts/no/Tool-EnterPlanMode.md +22 -115
- package/concepts/no/Tool-EnterWorktree.md +29 -41
- package/concepts/no/Tool-ExitPlanMode.md +28 -48
- package/concepts/no/Tool-ExitWorktree.md +41 -0
- package/concepts/no/Tool-Glob.md +23 -27
- package/concepts/no/Tool-Grep.md +40 -51
- package/concepts/no/Tool-Monitor.md +50 -0
- package/concepts/no/Tool-NotebookEdit.md +27 -21
- package/concepts/no/Tool-PushNotification.md +48 -0
- package/concepts/no/Tool-Read.md +35 -50
- package/concepts/no/Tool-RemoteTrigger.md +73 -0
- package/concepts/no/Tool-ScheduleWakeup.md +56 -0
- package/concepts/no/Tool-SendMessage.md +53 -26
- package/concepts/no/Tool-Skill.md +32 -41
- package/concepts/no/Tool-TaskCreate.md +39 -61
- package/concepts/no/Tool-TaskGet.md +30 -39
- package/concepts/no/Tool-TaskList.md +43 -37
- package/concepts/no/Tool-TaskOutput.md +37 -27
- package/concepts/no/Tool-TaskStop.md +33 -20
- package/concepts/no/Tool-TaskUpdate.md +50 -103
- package/concepts/no/Tool-TeamCreate.md +40 -25
- package/concepts/no/Tool-TeamDelete.md +33 -19
- package/concepts/no/Tool-WebFetch.md +44 -49
- package/concepts/no/Tool-WebSearch.md +36 -43
- package/concepts/no/Tool-Write.md +23 -27
- package/concepts/no/Tool-executeCode.md +35 -29
- package/concepts/no/Tool-getDiagnostics.md +32 -20
- package/concepts/no/Tools.md +1 -1
- package/concepts/pl/SubAgent-Search.md +44 -12
- package/concepts/pl/Tool-Agent.md +44 -109
- package/concepts/pl/Tool-AskUserQuestion.md +51 -66
- package/concepts/pl/Tool-Bash.md +27 -155
- package/concepts/pl/Tool-CronCreate.md +57 -0
- package/concepts/pl/Tool-CronDelete.md +43 -0
- package/concepts/pl/Tool-CronList.md +30 -0
- package/concepts/pl/Tool-Edit.md +26 -34
- package/concepts/pl/Tool-EnterPlanMode.md +21 -114
- package/concepts/pl/Tool-EnterWorktree.md +29 -41
- package/concepts/pl/Tool-ExitPlanMode.md +28 -48
- package/concepts/pl/Tool-ExitWorktree.md +41 -0
- package/concepts/pl/Tool-Glob.md +23 -27
- package/concepts/pl/Tool-Grep.md +37 -48
- package/concepts/pl/Tool-Monitor.md +50 -0
- package/concepts/pl/Tool-NotebookEdit.md +27 -21
- package/concepts/pl/Tool-PushNotification.md +48 -0
- package/concepts/pl/Tool-Read.md +29 -44
- package/concepts/pl/Tool-RemoteTrigger.md +73 -0
- package/concepts/pl/Tool-ScheduleWakeup.md +56 -0
- package/concepts/pl/Tool-SendMessage.md +53 -26
- package/concepts/pl/Tool-Skill.md +32 -41
- package/concepts/pl/Tool-TaskCreate.md +39 -61
- package/concepts/pl/Tool-TaskGet.md +30 -39
- package/concepts/pl/Tool-TaskList.md +43 -37
- package/concepts/pl/Tool-TaskOutput.md +37 -27
- package/concepts/pl/Tool-TaskStop.md +33 -20
- package/concepts/pl/Tool-TaskUpdate.md +49 -102
- package/concepts/pl/Tool-TeamCreate.md +40 -25
- package/concepts/pl/Tool-TeamDelete.md +33 -19
- package/concepts/pl/Tool-WebFetch.md +38 -43
- package/concepts/pl/Tool-WebSearch.md +40 -47
- package/concepts/pl/Tool-Write.md +23 -27
- package/concepts/pl/Tool-executeCode.md +36 -30
- package/concepts/pl/Tool-getDiagnostics.md +32 -20
- package/concepts/pl/Tools.md +1 -1
- package/concepts/pt-BR/SubAgent-Search.md +44 -12
- package/concepts/pt-BR/Tool-Agent.md +44 -109
- package/concepts/pt-BR/Tool-AskUserQuestion.md +51 -66
- package/concepts/pt-BR/Tool-Bash.md +27 -155
- package/concepts/pt-BR/Tool-CronCreate.md +57 -0
- package/concepts/pt-BR/Tool-CronDelete.md +43 -0
- package/concepts/pt-BR/Tool-CronList.md +30 -0
- package/concepts/pt-BR/Tool-Edit.md +26 -34
- package/concepts/pt-BR/Tool-EnterPlanMode.md +21 -114
- package/concepts/pt-BR/Tool-EnterWorktree.md +29 -41
- package/concepts/pt-BR/Tool-ExitPlanMode.md +28 -48
- package/concepts/pt-BR/Tool-ExitWorktree.md +41 -0
- package/concepts/pt-BR/Tool-Glob.md +23 -27
- package/concepts/pt-BR/Tool-Grep.md +37 -48
- package/concepts/pt-BR/Tool-Monitor.md +50 -0
- package/concepts/pt-BR/Tool-NotebookEdit.md +27 -21
- package/concepts/pt-BR/Tool-PushNotification.md +48 -0
- package/concepts/pt-BR/Tool-Read.md +29 -44
- package/concepts/pt-BR/Tool-RemoteTrigger.md +73 -0
- package/concepts/pt-BR/Tool-ScheduleWakeup.md +56 -0
- package/concepts/pt-BR/Tool-SendMessage.md +53 -26
- package/concepts/pt-BR/Tool-Skill.md +32 -41
- package/concepts/pt-BR/Tool-TaskCreate.md +39 -61
- package/concepts/pt-BR/Tool-TaskGet.md +30 -39
- package/concepts/pt-BR/Tool-TaskList.md +43 -37
- package/concepts/pt-BR/Tool-TaskOutput.md +37 -27
- package/concepts/pt-BR/Tool-TaskStop.md +33 -20
- package/concepts/pt-BR/Tool-TaskUpdate.md +50 -103
- package/concepts/pt-BR/Tool-TeamCreate.md +40 -25
- package/concepts/pt-BR/Tool-TeamDelete.md +33 -19
- package/concepts/pt-BR/Tool-WebFetch.md +38 -43
- package/concepts/pt-BR/Tool-WebSearch.md +40 -47
- package/concepts/pt-BR/Tool-Write.md +23 -27
- package/concepts/pt-BR/Tool-executeCode.md +36 -30
- package/concepts/pt-BR/Tool-getDiagnostics.md +32 -20
- package/concepts/pt-BR/Tools.md +1 -1
- package/concepts/ru/SubAgent-Search.md +44 -12
- package/concepts/ru/Tool-Agent.md +44 -109
- package/concepts/ru/Tool-AskUserQuestion.md +51 -66
- package/concepts/ru/Tool-Bash.md +27 -155
- package/concepts/ru/Tool-CronCreate.md +57 -0
- package/concepts/ru/Tool-CronDelete.md +43 -0
- package/concepts/ru/Tool-CronList.md +30 -0
- package/concepts/ru/Tool-Edit.md +26 -34
- package/concepts/ru/Tool-EnterPlanMode.md +21 -114
- package/concepts/ru/Tool-EnterWorktree.md +29 -41
- package/concepts/ru/Tool-ExitPlanMode.md +28 -48
- package/concepts/ru/Tool-ExitWorktree.md +41 -0
- package/concepts/ru/Tool-Glob.md +23 -27
- package/concepts/ru/Tool-Grep.md +37 -48
- package/concepts/ru/Tool-Monitor.md +50 -0
- package/concepts/ru/Tool-NotebookEdit.md +27 -21
- package/concepts/ru/Tool-PushNotification.md +48 -0
- package/concepts/ru/Tool-Read.md +29 -44
- package/concepts/ru/Tool-RemoteTrigger.md +73 -0
- package/concepts/ru/Tool-ScheduleWakeup.md +56 -0
- package/concepts/ru/Tool-SendMessage.md +53 -26
- package/concepts/ru/Tool-Skill.md +32 -41
- package/concepts/ru/Tool-TaskCreate.md +39 -61
- package/concepts/ru/Tool-TaskGet.md +30 -39
- package/concepts/ru/Tool-TaskList.md +43 -37
- package/concepts/ru/Tool-TaskOutput.md +37 -27
- package/concepts/ru/Tool-TaskStop.md +33 -20
- package/concepts/ru/Tool-TaskUpdate.md +50 -103
- package/concepts/ru/Tool-TeamCreate.md +40 -25
- package/concepts/ru/Tool-TeamDelete.md +33 -19
- package/concepts/ru/Tool-WebFetch.md +38 -43
- package/concepts/ru/Tool-WebSearch.md +40 -47
- package/concepts/ru/Tool-Write.md +23 -27
- package/concepts/ru/Tool-executeCode.md +36 -30
- package/concepts/ru/Tool-getDiagnostics.md +32 -20
- package/concepts/ru/Tools.md +1 -1
- package/concepts/th/Tool-Agent.md +53 -118
- package/concepts/th/Tool-AskUserQuestion.md +54 -69
- package/concepts/th/Tool-Bash.md +27 -155
- package/concepts/th/Tool-CronCreate.md +57 -0
- package/concepts/th/Tool-CronDelete.md +43 -0
- package/concepts/th/Tool-CronList.md +30 -0
- package/concepts/th/Tool-Edit.md +26 -34
- package/concepts/th/Tool-EnterPlanMode.md +22 -115
- package/concepts/th/Tool-EnterWorktree.md +29 -41
- package/concepts/th/Tool-ExitPlanMode.md +28 -48
- package/concepts/th/Tool-ExitWorktree.md +42 -0
- package/concepts/th/Tool-Glob.md +23 -27
- package/concepts/th/Tool-Grep.md +40 -51
- package/concepts/th/Tool-Monitor.md +50 -0
- package/concepts/th/Tool-NotebookEdit.md +27 -21
- package/concepts/th/Tool-PushNotification.md +48 -0
- package/concepts/th/Tool-Read.md +35 -50
- package/concepts/th/Tool-RemoteTrigger.md +73 -0
- package/concepts/th/Tool-ScheduleWakeup.md +56 -0
- package/concepts/th/Tool-SendMessage.md +53 -26
- package/concepts/th/Tool-Skill.md +32 -41
- package/concepts/th/Tool-TaskCreate.md +39 -61
- package/concepts/th/Tool-TaskGet.md +30 -39
- package/concepts/th/Tool-TaskList.md +43 -37
- package/concepts/th/Tool-TaskOutput.md +37 -27
- package/concepts/th/Tool-TaskStop.md +33 -20
- package/concepts/th/Tool-TaskUpdate.md +50 -103
- package/concepts/th/Tool-TeamCreate.md +40 -25
- package/concepts/th/Tool-TeamDelete.md +33 -19
- package/concepts/th/Tools.md +1 -1
- package/concepts/tr/SubAgent-Search.md +44 -12
- package/concepts/tr/Tool-Agent.md +53 -118
- package/concepts/tr/Tool-AskUserQuestion.md +54 -69
- package/concepts/tr/Tool-Bash.md +27 -155
- package/concepts/tr/Tool-CronCreate.md +57 -0
- package/concepts/tr/Tool-CronDelete.md +43 -0
- package/concepts/tr/Tool-CronList.md +30 -0
- package/concepts/tr/Tool-Edit.md +26 -34
- package/concepts/tr/Tool-EnterPlanMode.md +22 -115
- package/concepts/tr/Tool-EnterWorktree.md +29 -41
- package/concepts/tr/Tool-ExitPlanMode.md +28 -48
- package/concepts/tr/Tool-ExitWorktree.md +41 -0
- package/concepts/tr/Tool-Glob.md +23 -27
- package/concepts/tr/Tool-Grep.md +40 -51
- package/concepts/tr/Tool-Monitor.md +50 -0
- package/concepts/tr/Tool-NotebookEdit.md +27 -21
- package/concepts/tr/Tool-PushNotification.md +48 -0
- package/concepts/tr/Tool-Read.md +35 -50
- package/concepts/tr/Tool-RemoteTrigger.md +73 -0
- package/concepts/tr/Tool-ScheduleWakeup.md +56 -0
- package/concepts/tr/Tool-SendMessage.md +53 -26
- package/concepts/tr/Tool-Skill.md +32 -41
- package/concepts/tr/Tool-TaskCreate.md +39 -61
- package/concepts/tr/Tool-TaskGet.md +30 -39
- package/concepts/tr/Tool-TaskList.md +43 -37
- package/concepts/tr/Tool-TaskOutput.md +37 -27
- package/concepts/tr/Tool-TaskStop.md +33 -20
- package/concepts/tr/Tool-TaskUpdate.md +50 -103
- package/concepts/tr/Tool-TeamCreate.md +40 -25
- package/concepts/tr/Tool-TeamDelete.md +33 -19
- package/concepts/tr/Tool-WebFetch.md +44 -49
- package/concepts/tr/Tool-WebSearch.md +36 -43
- package/concepts/tr/Tool-Write.md +23 -27
- package/concepts/tr/Tool-executeCode.md +35 -29
- package/concepts/tr/Tool-getDiagnostics.md +32 -20
- package/concepts/tr/Tools.md +1 -1
- package/concepts/uk/SubAgent-Search.md +44 -12
- package/concepts/uk/Tool-Agent.md +44 -109
- package/concepts/uk/Tool-AskUserQuestion.md +51 -66
- package/concepts/uk/Tool-Bash.md +27 -155
- package/concepts/uk/Tool-CronCreate.md +57 -0
- package/concepts/uk/Tool-CronDelete.md +43 -0
- package/concepts/uk/Tool-CronList.md +30 -0
- package/concepts/uk/Tool-Edit.md +26 -34
- package/concepts/uk/Tool-EnterPlanMode.md +21 -114
- package/concepts/uk/Tool-EnterWorktree.md +29 -41
- package/concepts/uk/Tool-ExitPlanMode.md +28 -48
- package/concepts/uk/Tool-ExitWorktree.md +41 -0
- package/concepts/uk/Tool-Glob.md +23 -27
- package/concepts/uk/Tool-Grep.md +37 -48
- package/concepts/uk/Tool-Monitor.md +50 -0
- package/concepts/uk/Tool-NotebookEdit.md +27 -21
- package/concepts/uk/Tool-PushNotification.md +48 -0
- package/concepts/uk/Tool-Read.md +29 -44
- package/concepts/uk/Tool-RemoteTrigger.md +73 -0
- package/concepts/uk/Tool-ScheduleWakeup.md +56 -0
- package/concepts/uk/Tool-SendMessage.md +53 -26
- package/concepts/uk/Tool-Skill.md +32 -41
- package/concepts/uk/Tool-TaskCreate.md +39 -61
- package/concepts/uk/Tool-TaskGet.md +30 -39
- package/concepts/uk/Tool-TaskList.md +43 -37
- package/concepts/uk/Tool-TaskOutput.md +37 -27
- package/concepts/uk/Tool-TaskStop.md +33 -20
- package/concepts/uk/Tool-TaskUpdate.md +50 -103
- package/concepts/uk/Tool-TeamCreate.md +40 -25
- package/concepts/uk/Tool-TeamDelete.md +33 -19
- package/concepts/uk/Tool-WebFetch.md +38 -43
- package/concepts/uk/Tool-WebSearch.md +40 -47
- package/concepts/uk/Tool-Write.md +23 -27
- package/concepts/uk/Tool-executeCode.md +36 -30
- package/concepts/uk/Tool-getDiagnostics.md +32 -20
- package/concepts/uk/Tools.md +1 -1
- package/concepts/zh/SubAgent-Search.md +44 -12
- package/concepts/zh/Tool-Agent.md +44 -109
- package/concepts/zh/Tool-AskUserQuestion.md +51 -66
- package/concepts/zh/Tool-Bash.md +27 -155
- package/concepts/zh/Tool-CronCreate.md +57 -0
- package/concepts/zh/Tool-CronDelete.md +43 -0
- package/concepts/zh/Tool-CronList.md +30 -0
- package/concepts/zh/Tool-Edit.md +26 -34
- package/concepts/zh/Tool-EnterPlanMode.md +21 -114
- package/concepts/zh/Tool-EnterWorktree.md +29 -41
- package/concepts/zh/Tool-ExitPlanMode.md +28 -48
- package/concepts/zh/Tool-ExitWorktree.md +41 -0
- package/concepts/zh/Tool-Glob.md +23 -27
- package/concepts/zh/Tool-Grep.md +37 -48
- package/concepts/zh/Tool-Monitor.md +50 -0
- package/concepts/zh/Tool-NotebookEdit.md +27 -21
- package/concepts/zh/Tool-PushNotification.md +48 -0
- package/concepts/zh/Tool-Read.md +29 -44
- package/concepts/zh/Tool-RemoteTrigger.md +73 -0
- package/concepts/zh/Tool-ScheduleWakeup.md +56 -0
- package/concepts/zh/Tool-SendMessage.md +53 -26
- package/concepts/zh/Tool-Skill.md +32 -41
- package/concepts/zh/Tool-TaskCreate.md +39 -61
- package/concepts/zh/Tool-TaskGet.md +30 -39
- package/concepts/zh/Tool-TaskList.md +43 -37
- package/concepts/zh/Tool-TaskOutput.md +37 -27
- package/concepts/zh/Tool-TaskStop.md +33 -20
- package/concepts/zh/Tool-TaskUpdate.md +50 -103
- package/concepts/zh/Tool-TeamCreate.md +40 -25
- package/concepts/zh/Tool-TeamDelete.md +33 -19
- package/concepts/zh/Tool-WebFetch.md +38 -43
- package/concepts/zh/Tool-WebSearch.md +40 -47
- package/concepts/zh/Tool-Write.md +23 -27
- package/concepts/zh/Tool-executeCode.md +36 -30
- package/concepts/zh/Tool-getDiagnostics.md +32 -20
- package/concepts/zh/Tools.md +1 -1
- package/concepts/zh-TW/SubAgent-Search.md +44 -12
- package/concepts/zh-TW/Tool-Agent.md +44 -109
- package/concepts/zh-TW/Tool-AskUserQuestion.md +51 -66
- package/concepts/zh-TW/Tool-Bash.md +27 -155
- package/concepts/zh-TW/Tool-CronCreate.md +57 -0
- package/concepts/zh-TW/Tool-CronDelete.md +43 -0
- package/concepts/zh-TW/Tool-CronList.md +30 -0
- package/concepts/zh-TW/Tool-Edit.md +26 -34
- package/concepts/zh-TW/Tool-EnterPlanMode.md +21 -114
- package/concepts/zh-TW/Tool-EnterWorktree.md +29 -41
- package/concepts/zh-TW/Tool-ExitPlanMode.md +28 -48
- package/concepts/zh-TW/Tool-ExitWorktree.md +41 -0
- package/concepts/zh-TW/Tool-Glob.md +23 -27
- package/concepts/zh-TW/Tool-Grep.md +37 -48
- package/concepts/zh-TW/Tool-Monitor.md +50 -0
- package/concepts/zh-TW/Tool-NotebookEdit.md +27 -21
- package/concepts/zh-TW/Tool-PushNotification.md +48 -0
- package/concepts/zh-TW/Tool-Read.md +29 -44
- package/concepts/zh-TW/Tool-RemoteTrigger.md +73 -0
- package/concepts/zh-TW/Tool-ScheduleWakeup.md +56 -0
- package/concepts/zh-TW/Tool-SendMessage.md +53 -26
- package/concepts/zh-TW/Tool-Skill.md +32 -41
- package/concepts/zh-TW/Tool-TaskCreate.md +39 -61
- package/concepts/zh-TW/Tool-TaskGet.md +30 -39
- package/concepts/zh-TW/Tool-TaskList.md +43 -37
- package/concepts/zh-TW/Tool-TaskOutput.md +37 -27
- package/concepts/zh-TW/Tool-TaskStop.md +33 -20
- package/concepts/zh-TW/Tool-TaskUpdate.md +50 -103
- package/concepts/zh-TW/Tool-TeamCreate.md +40 -25
- package/concepts/zh-TW/Tool-TeamDelete.md +33 -19
- package/concepts/zh-TW/Tool-WebFetch.md +38 -43
- package/concepts/zh-TW/Tool-WebSearch.md +40 -47
- package/concepts/zh-TW/Tool-Write.md +23 -27
- package/concepts/zh-TW/Tool-executeCode.md +36 -30
- package/concepts/zh-TW/Tool-getDiagnostics.md +32 -20
- package/concepts/zh-TW/Tools.md +1 -1
- package/dist/assets/App-BHfyP8-J.js +31 -0
- package/dist/assets/{AppHeader-CHvhA_pP.css → AppHeader-Dc7WvorH.css} +2 -2
- package/dist/assets/{AppHeader.module-Cfep06i2.js → AppHeader.module-W_78JZt9.js} +43 -43
- package/dist/assets/{Mobile-M9her8kt.js → Mobile-ca5EOMpN.js} +1 -1
- package/dist/assets/{_baseUniq-B9F7jipu.js → _baseUniq-DYSZB4Xx.js} +1 -1
- package/dist/assets/{arc-CynSuGRD.js → arc-BChSP8hM.js} +1 -1
- package/dist/assets/{architectureDiagram-Q4EWVU46-CaYDh0U8.js → architectureDiagram-Q4EWVU46-vlr5Q6DQ.js} +1 -1
- package/dist/assets/{blockDiagram-DXYQGD6D-DH53lUCG.js → blockDiagram-DXYQGD6D-4C3Amh2i.js} +1 -1
- package/dist/assets/{c4Diagram-AHTNJAMY-B0Lesax1.js → c4Diagram-AHTNJAMY-wI0efLSs.js} +1 -1
- package/dist/assets/channel-d8DITadq.js +1 -0
- package/dist/assets/{chunk-4BX2VUAB-CwREaLcn.js → chunk-4BX2VUAB-BX9brpDB.js} +1 -1
- package/dist/assets/{chunk-4TB4RGXK-DaysThRr.js → chunk-4TB4RGXK-DvFQ-X9V.js} +1 -1
- package/dist/assets/{chunk-55IACEB6--rkNDUme.js → chunk-55IACEB6-BNmYjPNf.js} +1 -1
- package/dist/assets/{chunk-EDXVE4YY-Cn_Hw1kB.js → chunk-EDXVE4YY-BNvDPqBE.js} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-CHjMpQO_.js → chunk-FMBD7UC4-Bb0LARSp.js} +1 -1
- package/dist/assets/{chunk-OYMX7WX6-DxkBZLOn.js → chunk-OYMX7WX6-BwlvIpeD.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-CEcNQmq8.js → chunk-QZHKN3VN-BS6RK8_X.js} +1 -1
- package/dist/assets/{chunk-YZCP3GAM-CVFEY5kV.js → chunk-YZCP3GAM-oOqmydQz.js} +1 -1
- package/dist/assets/classDiagram-6PBFFD2Q-B1oRrMCc.js +1 -0
- package/dist/assets/classDiagram-v2-HSJHXN6E-B1oRrMCc.js +1 -0
- package/dist/assets/clone-BrNOd7Lq.js +1 -0
- package/dist/assets/{cose-bilkent-S5V4N54A-DPsF6jLB.js → cose-bilkent-S5V4N54A-CamsIqkY.js} +1 -1
- package/dist/assets/{dagre-KV5264BT-QI4QFfbP.js → dagre-KV5264BT-CPAWWiBh.js} +1 -1
- package/dist/assets/{diagram-5BDNPKRD-Do0BzIFe.js → diagram-5BDNPKRD-D6TmzGhl.js} +1 -1
- package/dist/assets/{diagram-G4DWMVQ6-CVvuZ8FU.js → diagram-G4DWMVQ6-DDuJnMCL.js} +1 -1
- package/dist/assets/{diagram-MMDJMWI5-CmeuA2db.js → diagram-MMDJMWI5-CQWhvrpz.js} +1 -1
- package/dist/assets/{diagram-TYMM5635-B90Irbks.js → diagram-TYMM5635-CEDj3w_h.js} +1 -1
- package/dist/assets/{erDiagram-SMLLAGMA-_3w237ct.js → erDiagram-SMLLAGMA-B_eQqha6.js} +1 -1
- package/dist/assets/{flowDiagram-DWJPFMVM-DIR7-K_k.js → flowDiagram-DWJPFMVM-B985i3uQ.js} +1 -1
- package/dist/assets/{ganttDiagram-T4ZO3ILL-DtM5nlfx.js → ganttDiagram-T4ZO3ILL-DKp62vr3.js} +1 -1
- package/dist/assets/{gitGraphDiagram-UUTBAWPF-FvAMJ2i5.js → gitGraphDiagram-UUTBAWPF-Cc1gyz1Q.js} +1 -1
- package/dist/assets/{graph-DvmWkua1.js → graph-C-1-3bsA.js} +1 -1
- package/dist/assets/{index-CQ5P7lQi.js → index-LH2WLu05.js} +2 -2
- package/dist/assets/{infoDiagram-42DDH7IO-DSF3BTCW.js → infoDiagram-42DDH7IO-DqXaAHZz.js} +1 -1
- package/dist/assets/{ishikawaDiagram-UXIWVN3A-BwFoBXkx.js → ishikawaDiagram-UXIWVN3A-zdUdDJX2.js} +1 -1
- package/dist/assets/{journeyDiagram-VCZTEJTY-lbgmpsvI.js → journeyDiagram-VCZTEJTY-ip5SzODy.js} +1 -1
- package/dist/assets/{kanban-definition-6JOO6SKY-DagC1CXx.js → kanban-definition-6JOO6SKY-D5EYh6AP.js} +1 -1
- package/dist/assets/{layout-CYvGQQtB.js → layout-Cjq8AL8G.js} +1 -1
- package/dist/assets/{linear-J9f9mKrL.js → linear-U0KsEJ2u.js} +1 -1
- package/dist/assets/{mermaid.core-MGw0R-Yr.js → mermaid.core-CT-5crLN.js} +4 -4
- package/dist/assets/{min-B3KMZtQG.js → min-C7G6pq26.js} +1 -1
- package/dist/assets/{mindmap-definition-QFDTVHPH-CKtAtz4K.js → mindmap-definition-QFDTVHPH-CIzhFOw1.js} +1 -1
- package/dist/assets/{pieDiagram-DEJITSTG-DiCs6oG9.js → pieDiagram-DEJITSTG-Cp1Zd1MQ.js} +1 -1
- package/dist/assets/{quadrantDiagram-34T5L4WZ-B1V_JsFK.js → quadrantDiagram-34T5L4WZ-Cp31xM90.js} +1 -1
- package/dist/assets/{requirementDiagram-MS252O5E-DYZx4toa.js → requirementDiagram-MS252O5E-Dbg_eQqB.js} +1 -1
- package/dist/assets/{sankeyDiagram-XADWPNL6-DZtUKtpU.js → sankeyDiagram-XADWPNL6-CMrzwpwC.js} +1 -1
- package/dist/assets/{sequenceDiagram-FGHM5R23-CKydm1ev.js → sequenceDiagram-FGHM5R23-KJegoBnN.js} +1 -1
- package/dist/assets/{stateDiagram-FHFEXIEX-mmQoyEVR.js → stateDiagram-FHFEXIEX-BDWprYzE.js} +1 -1
- package/dist/assets/stateDiagram-v2-QKLJ7IA2-CCUmB0qI.js +1 -0
- package/dist/assets/{timeline-definition-GMOUNBTQ-DEauFuh9.js → timeline-definition-GMOUNBTQ-BOWeG5LY.js} +1 -1
- package/dist/assets/{vendor-antd--lnyToqQ.js → vendor-antd-CtdKd5xs.js} +1 -1
- package/dist/assets/{vendor-codemirror-C7imH6Hd.js → vendor-codemirror-CdXaVX4e.js} +1 -1
- package/dist/assets/{vendor-qrcode-myYunK0Z.js → vendor-qrcode-D05RfzwB.js} +1 -1
- package/dist/assets/{vendor-virtuoso-DDKvHLUv.js → vendor-virtuoso-BhnFrbmh.js} +1 -1
- package/dist/assets/{vennDiagram-DHZGUBPP-D6AeTMhT.js → vennDiagram-DHZGUBPP-B6mLodPk.js} +1 -1
- package/dist/assets/{wardley-RL74JXVD-BOe-9JZP.js → wardley-RL74JXVD-CovHs24Z.js} +1 -1
- package/dist/assets/{wardleyDiagram-NUSXRM2D-BLWMynOp.js → wardleyDiagram-NUSXRM2D-CBg_VXF7.js} +1 -1
- package/dist/assets/{xychartDiagram-5P7HB3ND-Wa1KJpmO.js → xychartDiagram-5P7HB3ND-BRxgk_oX.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/concepts/ar/Tool-Task.md +0 -51
- package/concepts/da/Tool-Task.md +0 -51
- package/concepts/de/Tool-Task.md +0 -51
- package/concepts/en/Tool-Task.md +0 -51
- package/concepts/es/Tool-Task.md +0 -51
- package/concepts/fr/Tool-Task.md +0 -51
- package/concepts/it/Tool-Task.md +0 -51
- package/concepts/ja/Tool-Task.md +0 -51
- package/concepts/ko/Tool-Task.md +0 -51
- package/concepts/no/Tool-Task.md +0 -51
- package/concepts/pl/Tool-Task.md +0 -51
- package/concepts/pt-BR/Tool-Task.md +0 -51
- package/concepts/ru/Tool-Task.md +0 -51
- package/concepts/th/Tool-Task.md +0 -51
- package/concepts/tr/Tool-Task.md +0 -51
- package/concepts/uk/Tool-Task.md +0 -51
- package/concepts/zh/Tool-Task.md +0 -51
- package/concepts/zh-TW/Tool-Task.md +0 -51
- package/dist/assets/App-CNrQ1r4B.js +0 -31
- package/dist/assets/channel-mzoD3rY3.js +0 -1
- package/dist/assets/classDiagram-6PBFFD2Q-CzNz4tFu.js +0 -1
- package/dist/assets/classDiagram-v2-HSJHXN6E-CzNz4tFu.js +0 -1
- package/dist/assets/clone-DPuQFdir.js +0 -1
- package/dist/assets/stateDiagram-v2-QKLJ7IA2-BFs-Juqf.js +0 -1
|
@@ -1,125 +1,60 @@
|
|
|
1
1
|
# Agent
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
啟動一個擁有獨立上下文視窗的自主 Claude Code 子代理,用於處理聚焦的任務並回傳單一合併結果。這是委派開放式研究、平行工作或團隊協作的標準機制。
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 使用時機
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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 使用指南問答 | Glob, Grep, Read, WebFetch, WebSearch |
|
|
29
|
-
| `statusline-setup` | 設定狀態列 | Read, Edit |
|
|
30
|
-
|
|
31
|
-
## 使用場景
|
|
32
|
-
|
|
33
|
-
**適合使用:**
|
|
34
|
-
- 需要多步驟自主完成的複雜任務
|
|
35
|
-
- 程式碼庫探索和深度研究(使用 Explore 類型)
|
|
36
|
-
- 需要隔離環境的並行工作
|
|
37
|
-
- 需要背景執行的長時間任務
|
|
7
|
+
- 開放式搜尋——你尚不清楚哪些檔案相關,預期需要多輪 `Glob`、`Grep` 與 `Read`。
|
|
8
|
+
- 平行的獨立工作——在同一則訊息中啟動多個代理,同時調查不同領域。
|
|
9
|
+
- 將嘈雜的探索與主對話隔離,使父層上下文保持精簡。
|
|
10
|
+
- 委派給特定的子代理類型,例如 `Explore`、`Plan`、`claude-code-guide` 或 `statusline-setup`。
|
|
11
|
+
- 把一位具名的隊友加入一個運作中的團隊,以便協同進行多代理工作。
|
|
38
12
|
|
|
39
|
-
|
|
40
|
-
- 讀取特定檔案路徑——直接用 Read 或 Glob
|
|
41
|
-
- 在 2-3 個已知檔案中搜尋——直接用 Read
|
|
42
|
-
- 搜尋特定類別定義——直接用 Glob
|
|
13
|
+
當目標檔案或符號已經明確時,不要使用此工具——直接用 `Read`、`Grep` 或 `Glob`。透過 `Agent` 進行單步查詢會浪費一整個上下文視窗並增加延遲。
|
|
43
14
|
|
|
44
|
-
##
|
|
45
|
-
|
|
46
|
-
- 子 agent 完成後回傳單條訊息,其結果對使用者不可見,需要主 agent 轉述
|
|
47
|
-
- 可以在單條訊息中發起多個並行 Agent 呼叫以提高效率
|
|
48
|
-
- 背景任務透過 TaskOutput 工具檢查進度
|
|
49
|
-
- Explore 類型比直接呼叫 Glob/Grep 慢,僅在簡單搜尋不夠時使用
|
|
50
|
-
- 長時間執行且不需要立即結果的任務建議使用 `run_in_background: true`;需要結果後才能繼續時使用前台模式(預設)
|
|
51
|
-
- `resume` 參數允許繼續之前啟動的子 agent 會話,保留其累積的上下文
|
|
52
|
-
|
|
53
|
-
## 原文
|
|
15
|
+
## 參數
|
|
54
16
|
|
|
55
|
-
|
|
17
|
+
- `description`(string,必填):描述任務的 3–5 個字短標籤;會顯示在 UI 與記錄中。
|
|
18
|
+
- `prompt`(string,必填):代理將執行的完整、自我包含的任務說明。必須包含所有必要的背景、限制條件與預期回傳格式。
|
|
19
|
+
- `subagent_type`(string,選填):預設角色,例如 `general-purpose`、`Explore`、`Plan`、`claude-code-guide` 或 `statusline-setup`。預設為 `general-purpose`。
|
|
20
|
+
- `run_in_background`(boolean,選填):若為 true,代理會非同步執行,父層可繼續工作;結果稍後取得。
|
|
21
|
+
- `model`(string,選填):為此代理覆寫模型——`opus`、`sonnet` 或 `haiku`。預設為父層工作階段所用的模型。
|
|
22
|
+
- `isolation`(string,選填):設為 `worktree` 可讓代理在獨立的 git worktree 中執行,避免其檔案寫入與父層衝突。
|
|
23
|
+
- `team_name`(string,選填):在加入既有團隊時,該代理要加入的團隊識別碼。
|
|
24
|
+
- `name`(string,選填):團隊內可尋址的隊友名稱,會作為 `SendMessage` 的 `to` 目標。
|
|
56
25
|
|
|
57
|
-
|
|
26
|
+
## 範例
|
|
58
27
|
|
|
59
|
-
|
|
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)
|
|
28
|
+
### 範例 1:開放式程式碼搜尋
|
|
65
29
|
|
|
66
|
-
|
|
30
|
+
```
|
|
31
|
+
Agent(
|
|
32
|
+
description="Find auth middleware",
|
|
33
|
+
subagent_type="Explore",
|
|
34
|
+
prompt="Locate every place in this repo where JWT verification is performed. Return a bulleted list of absolute file paths with a one-line note about each site's role. Do not modify any files."
|
|
35
|
+
)
|
|
36
|
+
```
|
|
67
37
|
|
|
68
|
-
|
|
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
|
|
38
|
+
### 範例 2:平行獨立調查
|
|
73
39
|
|
|
74
|
-
|
|
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.
|
|
40
|
+
在同一則訊息中啟動兩個代理——一個檢查建構流水線,一個審視測試框架。每個都有自己的上下文視窗,並回傳摘要。將多個代理放在單一 tool-call 區塊中可以同時執行。
|
|
89
41
|
|
|
90
|
-
|
|
42
|
+
### 範例 3:把一位隊友加入運作中的團隊
|
|
91
43
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"
|
|
95
|
-
|
|
44
|
+
```
|
|
45
|
+
Agent(
|
|
46
|
+
description="Data layer specialist",
|
|
47
|
+
team_name="refactor-crew",
|
|
48
|
+
name="db-lead",
|
|
49
|
+
prompt="You are db-lead on team refactor-crew. Audit all Prisma schema files and propose a migration plan. Use SendMessage to report findings to the team leader."
|
|
50
|
+
)
|
|
51
|
+
```
|
|
96
52
|
|
|
97
|
-
|
|
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>
|
|
53
|
+
## 注意事項
|
|
117
54
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
</example>
|
|
125
|
-
</textarea>
|
|
55
|
+
- 代理不會記得先前的執行內容。每次呼叫都從零開始,因此 `prompt` 必須完全自我包含——包含檔案路徑、慣例、問題,以及你想拿回的答案格式。
|
|
56
|
+
- 代理只會回傳一則最終訊息。它無法在執行過程中反問釐清,因此 prompt 中的模糊不清會變成結果中的猜測。
|
|
57
|
+
- 當子任務彼此獨立時,平行執行多個代理比循序呼叫快得多。請把它們批次放在單一 tool-call 區塊中。
|
|
58
|
+
- 若代理將寫入檔案,而你想在合併至主工作樹之前先檢視變更,就用 `isolation: "worktree"`。
|
|
59
|
+
- 對於唯讀偵查,優先選擇 `subagent_type: "Explore"`;設計工作則選 `Plan`;混合讀寫任務使用預設的 `general-purpose`。
|
|
60
|
+
- 背景代理(`run_in_background: true`)適合長時間的工作;不要用 sleep 迴圈輪詢——完成時父層會收到通知。
|
|
@@ -1,75 +1,60 @@
|
|
|
1
1
|
# AskUserQuestion
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
在聊天 UI 中向使用者呈現一個或多個結構化的選擇題,收集其選擇後回傳給助理——適合用來釐清意圖,而不必透過自由形式的來回對話。
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 使用時機
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
## 使用場景
|
|
7
|
+
- 請求有多種合理解釋,助理需要使用者先做出選擇才能繼續。
|
|
8
|
+
- 使用者必須在具體的選項(框架、函式庫、檔案路徑、策略)中做選擇,而自由文字的回覆容易出錯。
|
|
9
|
+
- 你想利用預覽面板並排比較多個替代方案。
|
|
10
|
+
- 幾個相關的決策可以合併為單一問卷,以減少來回互動。
|
|
11
|
+
- 計畫或工具呼叫依賴使用者尚未指定的設定。
|
|
34
12
|
|
|
35
|
-
|
|
36
|
-
- 收集使用者偏好或需求
|
|
37
|
-
- 澄清模糊的指令
|
|
38
|
-
- 在實施過程中取得決策
|
|
39
|
-
- 向使用者提供方向選擇
|
|
13
|
+
## 參數
|
|
40
14
|
|
|
41
|
-
|
|
42
|
-
-
|
|
15
|
+
- `questions`(array,必填):一次顯示一到四個問題。每個問題物件包含:
|
|
16
|
+
- `question`(string,必填):完整的問題文字,以問號結尾。
|
|
17
|
+
- `header`(string,必填):顯示於問題上方的短標籤(最多 12 個字元)。
|
|
18
|
+
- `options`(array,必填):二到四個選項物件。每個選項有 `label`(1–5 個字)、`description` 與選填的 `markdown` 預覽。
|
|
19
|
+
- `multiSelect`(boolean,必填):為 `true` 時允許使用者選擇多個選項。
|
|
20
|
+
|
|
21
|
+
## 範例
|
|
22
|
+
|
|
23
|
+
### 範例 1:選擇單一框架
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
AskUserQuestion(questions=[{
|
|
27
|
+
"header": "Test runner",
|
|
28
|
+
"question": "Which test runner should I configure?",
|
|
29
|
+
"multiSelect": false,
|
|
30
|
+
"options": [
|
|
31
|
+
{"label": "Vitest (Recommended)", "description": "Fast, Vite-native, Jest-compatible API"},
|
|
32
|
+
{"label": "Jest", "description": "Mature, broadest plugin ecosystem"},
|
|
33
|
+
{"label": "Node --test", "description": "Zero dependencies, built in"}
|
|
34
|
+
]
|
|
35
|
+
}])
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### 範例 2:並排預覽兩種版面
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
AskUserQuestion(questions=[{
|
|
42
|
+
"header": "Layout",
|
|
43
|
+
"question": "Which dashboard layout do you prefer?",
|
|
44
|
+
"multiSelect": false,
|
|
45
|
+
"options": [
|
|
46
|
+
{"label": "Sidebar", "description": "Nav on the left", "markdown": "```\n+------+---------+\n| NAV | CONTENT |\n+------+---------+\n```"},
|
|
47
|
+
{"label": "Top bar", "description": "Nav across top", "markdown": "```\n+-----------------+\n| NAV |\n+-----------------+\n| CONTENT |\n+-----------------+\n```"}
|
|
48
|
+
]
|
|
49
|
+
}])
|
|
50
|
+
```
|
|
43
51
|
|
|
44
52
|
## 注意事項
|
|
45
53
|
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
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>
|
|
54
|
+
- UI 會自動在每個問題後面附加一個「Other」自由文字選項。請不要自行加入「Other」、「None」或「Custom」——會重複內建的退出機制。
|
|
55
|
+
- 每次呼叫限制 1–4 個問題,每個問題限制 2–4 個選項。超出範圍會被 harness 拒絕。
|
|
56
|
+
- 若你推薦某個特定選項,把它排第一個並在 label 後附加「(Recommended)」,UI 會凸顯該偏好路徑。
|
|
57
|
+
- `markdown` 欄位的預覽僅在單選問題中支援。用於視覺化成果(ASCII 版面、程式片段、設定 diff),而不是只需 label 加說明即可的偏好問題。
|
|
58
|
+
- 當某題中有任一選項帶有 `markdown` 值時,UI 會切換為並排版面——左側為選項列表,右側為預覽。
|
|
59
|
+
- 不要用 `AskUserQuestion` 詢問「這個計畫可以嗎?」——請改呼叫 `ExitPlanMode`,那是為計畫批准所設計的工具。在計畫模式下,也避免在問題文字中提到「the plan」,因為在 `ExitPlanMode` 執行之前使用者看不到計畫。
|
|
60
|
+
- 不要使用此工具索取敏感或自由形式的輸入,例如 API 金鑰或密碼。請改在聊天中詢問。
|
|
@@ -1,167 +1,39 @@
|
|
|
1
1
|
# Bash
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
在一個持續存在的工作目錄中執行 shell 指令,並回傳其 stdout/stderr。最好保留給沒有任何專屬 Claude Code 工具能表達的操作使用,例如執行 git、npm、docker 或建構指令稿。
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 使用時機
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
- 其他需要 shell 執行的系統命令
|
|
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
|
-
- Shell 環境從使用者的 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).
|
|
7
|
+
- 執行 git 操作(`git status`、`git diff`、`git commit`、`gh pr create`)
|
|
8
|
+
- 執行套件管理器與建構工具(`npm install`、`npm run build`、`pytest`、`cargo build`)
|
|
9
|
+
- 透過 `run_in_background` 在背景啟動長時間執行的程序(開發伺服器、watcher)
|
|
10
|
+
- 呼叫沒有內建對應工具的領域專屬 CLI(`docker`、`terraform`、`kubectl`、`gh`)
|
|
11
|
+
- 在先後順序很重要時,使用 `&&` 把相依步驟串接起來
|
|
50
12
|
|
|
51
|
-
|
|
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>
|
|
13
|
+
## 參數
|
|
131
14
|
|
|
132
|
-
|
|
133
|
-
|
|
15
|
+
- `command`(string,必填):要執行的確切 shell 指令。
|
|
16
|
+
- `description`(string,必填):簡短、主動語態的摘要(簡單指令 5–10 字;管線或較冷門的指令可加上更多背景)。
|
|
17
|
+
- `timeout`(number,選填):逾時毫秒數,最大 `600000`(10 分鐘)。預設 `120000`(2 分鐘)。
|
|
18
|
+
- `run_in_background`(boolean,選填):為 `true` 時,指令會在背景執行,完成時你會收到通知。不要自己附加 `&`。
|
|
134
19
|
|
|
135
|
-
|
|
20
|
+
## 範例
|
|
136
21
|
|
|
137
|
-
|
|
138
|
-
|
|
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>
|
|
22
|
+
### 範例 1:提交前檢查 repo 狀態
|
|
23
|
+
在同一則訊息中以兩個平行的 `Bash` 呼叫送出 `git status` 與 `git diff --stat`,快速蒐集背景資訊,之後再於後續呼叫中組裝 commit。
|
|
153
24
|
|
|
154
|
-
|
|
155
|
-
|
|
25
|
+
### 範例 2:串接相依的建構步驟
|
|
26
|
+
使用單一呼叫例如 `npm ci && npm run build && npm test`,每個步驟只有在前一步成功後才會執行。只有在你刻意希望後續步驟即使前面失敗也要執行時,才使用 `;`。
|
|
156
27
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
)"
|
|
160
|
-
</example>
|
|
28
|
+
### 範例 3:長時間執行的開發伺服器
|
|
29
|
+
以 `run_in_background: true` 呼叫 `npm run dev`。該程序結束時你會收到通知。不要用 `sleep` 迴圈輪詢;請診斷失敗原因,而不是盲目重試。
|
|
161
30
|
|
|
162
|
-
|
|
163
|
-
- DO NOT use the TodoWrite or Agent tools
|
|
164
|
-
- Return the PR URL when you're done, so the user can see it
|
|
31
|
+
## 注意事項
|
|
165
32
|
|
|
166
|
-
|
|
167
|
-
-
|
|
33
|
+
- 工作目錄會在呼叫之間保持,但 shell 狀態(export 的變數、shell 函式、別名)不會保留。優先使用絕對路徑,除非使用者要求,否則避免 `cd`。
|
|
34
|
+
- 優先使用專屬工具,而不是管線化的 shell 對應指令:用 `Glob` 取代 `find`/`ls`、`Grep` 取代 `grep`/`rg`、`Read` 取代 `cat`/`head`/`tail`、`Edit` 取代 `sed`/`awk`、`Write` 取代 `echo >` 或 heredoc,面向使用者的輸出以一般助理文字取代 `echo`/`printf`。
|
|
35
|
+
- 任何包含空白的路徑請以雙引號括起來(例如 `"/Users/me/My Project/file.txt"`)。
|
|
36
|
+
- 對於獨立指令,請在單一訊息中平行送出多個 `Bash` 呼叫。只有在一個指令依賴另一個時才使用 `&&` 串接。
|
|
37
|
+
- 超過 30000 個字元的輸出會被截斷。擷取大量記錄時,請重新導向至檔案,再用 `Read` 工具讀取。
|
|
38
|
+
- 不要使用互動旗標例如 `git rebase -i` 或 `git add -i`;它們無法透過此工具接收輸入。
|
|
39
|
+
- 除非使用者明確要求,不要略過 git hooks(`--no-verify`、`--no-gpg-sign`)或執行破壞性操作(`reset --hard`、`push --force`、`clean -f`)。
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# CronCreate
|
|
2
|
+
|
|
3
|
+
將提示詞排入佇列,於未來特定時間執行,支援一次性觸發與週期性重複兩種模式。使用標準的 5 欄位 cron 表達式,基於使用者本地時區,無需進行時區轉換。
|
|
4
|
+
|
|
5
|
+
## 使用時機
|
|
6
|
+
|
|
7
|
+
- **一次性提醒**:當使用者希望在特定時間收到提醒時(如「明天下午 3 點提醒我」),將 `recurring` 設為 `false`,任務觸發一次後自動刪除。
|
|
8
|
+
- **週期性排程**:當使用者希望某件事反覆發生時(如「每個工作日早上 9 點」、「每 30 分鐘一次」),使用預設的 `recurring: true`。
|
|
9
|
+
- **自主 Agent 迴圈**:當需要建立定期自我觸發的工作流程時,例如每日摘要或週期性狀態檢查。
|
|
10
|
+
- **持久化任務**:當排程需要在工作階段重新啟動後繼續保留時,傳入 `durable: true`,任務將寫入 `.claude/scheduled_tasks.json`。
|
|
11
|
+
- **大約時間請求**:當使用者說「大約 9 點」或「每小時」時,應選擇非整點分鐘值(例如 `57 8 * * *` 或 `7 * * * *`),避免大量使用者在 :00 或 :30 時刻同時觸發。
|
|
12
|
+
|
|
13
|
+
## 參數
|
|
14
|
+
|
|
15
|
+
- `cron`(string,必填):基於使用者本地時區的 5 欄位 cron 表達式,格式為 `分鐘 小時 日 月 星期`。例如 `"0 9 * * 1-5"` 表示週一至週五早上 9:00。
|
|
16
|
+
- `prompt`(string,必填):cron 觸發時要排入佇列的提示詞文字,即到達排程時間時將提交給 REPL 的確切內容。
|
|
17
|
+
- `recurring`(boolean,選填,預設 `true`):為 `true` 時,任務在每個符合的 cron 週期觸發,7 天後自動過期;為 `false` 時,任務僅觸發一次後自動刪除,適用於一次性提醒。
|
|
18
|
+
- `durable`(boolean,選填,預設 `false`):為 `false` 時,排程僅存於記憶體中,工作階段結束後即消失;為 `true` 時,任務持久化至 `.claude/scheduled_tasks.json`,重新啟動後仍然有效。
|
|
19
|
+
|
|
20
|
+
## 範例
|
|
21
|
+
|
|
22
|
+
### 範例 1:一次性提醒
|
|
23
|
+
|
|
24
|
+
使用者說:「明天下午 2:30 提醒我寄送週報。」假設明天是 4 月 21 日:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"cron": "30 14 21 4 *",
|
|
29
|
+
"prompt": "提醒:現在寄送週報。",
|
|
30
|
+
"recurring": false,
|
|
31
|
+
"durable": true
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
`recurring: false` 確保任務觸發後自動刪除。`durable: true` 保證在此之前的重新啟動不會遺失該任務。
|
|
36
|
+
|
|
37
|
+
### 範例 2:週期性工作日早晨任務
|
|
38
|
+
|
|
39
|
+
使用者說:「每個工作日早上,彙整我的 GitHub 未處理 Issue。」
|
|
40
|
+
|
|
41
|
+
```json
|
|
42
|
+
{
|
|
43
|
+
"cron": "3 9 * * 1-5",
|
|
44
|
+
"prompt": "彙整所有指派給我的 GitHub 未處理 Issue。",
|
|
45
|
+
"recurring": true,
|
|
46
|
+
"durable": true
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
使用分鐘 `3` 而非 `0`,避免在整點造成伺服器負載尖峰。該任務 7 天後自動過期。
|
|
51
|
+
|
|
52
|
+
## 注意事項
|
|
53
|
+
|
|
54
|
+
- **7 天自動過期**:週期性任務最多運行 7 天後自動刪除。若需更長時間的排程,請在過期前重新建立。
|
|
55
|
+
- **僅在閒置時觸發**:`CronCreate` 僅在 REPL 未處理其他查詢時才將提示詞排入佇列。若觸發時 REPL 正在忙碌,提示詞將等待當前查詢完成後再執行。
|
|
56
|
+
- **避免使用 :00 和 :30 分鐘值**:對於大約時間的請求,應主動選擇非整點分鐘值,以分散系統負載。只有使用者明確指定某個精確分鐘時,才使用 :00 或 :30。
|
|
57
|
+
- **無需時區轉換**:cron 表達式直接按使用者本地時區解析,無需轉換為 UTC 或其他時區。
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# CronDelete
|
|
2
|
+
|
|
3
|
+
取消先前透過 `CronCreate` 排程的定時任務,立即將其從記憶體會話儲存中移除。若任務已被自動刪除(單次任務觸發後自動移除,週期性任務在 7 天後自動過期),則此操作無效。
|
|
4
|
+
|
|
5
|
+
## 使用時機
|
|
6
|
+
|
|
7
|
+
- 使用者要求在 7 天自動過期前停止某個週期性定時任務。
|
|
8
|
+
- 單次任務不再需要,希望在觸發前予以取消。
|
|
9
|
+
- 需要變更現有任務的排程表達式——先以 `CronDelete` 刪除,再以 `CronCreate` 搭配新的表達式重新建立。
|
|
10
|
+
- 清理多個過期任務,保持會話儲存整潔。
|
|
11
|
+
|
|
12
|
+
## 參數
|
|
13
|
+
|
|
14
|
+
- `id`(string,必填):`CronCreate` 建立任務時回傳的任務 ID。此值必須完全相符,不支援模糊搜尋或依名稱查找。
|
|
15
|
+
|
|
16
|
+
## 範例
|
|
17
|
+
|
|
18
|
+
### 範例 1:取消正在執行的週期性任務
|
|
19
|
+
|
|
20
|
+
先前建立了一個 ID 為 `"cron_abc123"` 的週期性任務,使用者要求停止它。
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
CronDelete({ id: "cron_abc123" })
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
該任務從會話儲存中移除,不會再次觸發。
|
|
27
|
+
|
|
28
|
+
### 範例 2:在觸發前移除過期的單次任務
|
|
29
|
+
|
|
30
|
+
一個 ID 為 `"cron_xyz789"` 的單次任務被排程為 30 分鐘後執行,但使用者決定不再需要它。
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
CronDelete({ id: "cron_xyz789" })
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
任務被取消,原定觸發時間到來時不會執行任何動作。
|
|
37
|
+
|
|
38
|
+
## 注意事項
|
|
39
|
+
|
|
40
|
+
- `id` 必須來自 `CronCreate` 的回傳值。無法透過描述或回呼查找任務——若日後可能需要取消,請事先保存 ID。
|
|
41
|
+
- 若任務已被自動刪除(作為單次任務觸發,或達到 7 天週期過期),以該 ID 呼叫 `CronDelete` 為無操作,不會產生錯誤。
|
|
42
|
+
- `CronDelete` 僅影響目前的記憶體會話。若執行環境不跨重新啟動持久化定時任務狀態,則無論是否呼叫 `CronDelete`,重新啟動後任務均會遺失。
|
|
43
|
+
- 沒有批次刪除操作,需使用各自的 `id` 逐一取消每個任務。
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# CronList
|
|
2
|
+
|
|
3
|
+
列出目前工作階段中透過 `CronCreate` 建立的所有排程任務。傳回每個活躍任務的摘要,包含 `id`、cron 表達式、縮略 `prompt`、`recurring` 旗標、`durable` 旗標及下次觸發時間。
|
|
4
|
+
|
|
5
|
+
## 使用時機
|
|
6
|
+
|
|
7
|
+
- 在修改設定或結束工作階段前,審視目前已排程的所有任務。
|
|
8
|
+
- 在呼叫 `CronDelete` 刪除任務前,先找到正確的 `id`。
|
|
9
|
+
- 透過確認任務是否存在及其下次觸發時間,排查預期任務未執行的問題。
|
|
10
|
+
- 確認某個一次性(非循環)任務是否尚未觸發、仍處於待執行狀態。
|
|
11
|
+
|
|
12
|
+
## 參數
|
|
13
|
+
|
|
14
|
+
無。
|
|
15
|
+
|
|
16
|
+
## 範例
|
|
17
|
+
|
|
18
|
+
### 範例 1:審視所有已排程任務
|
|
19
|
+
|
|
20
|
+
不帶任何引數呼叫 `CronList`,即可取得所有活躍排程任務的完整清單。傳回結果包含每個任務的 `id`、cron 表達式、`prompt` 的截短版本、是否 `recurring`(循環)、是否 `durable`(持久化)以及下次觸發時間。
|
|
21
|
+
|
|
22
|
+
### 範例 2:找到特定循環任務的 id
|
|
23
|
+
|
|
24
|
+
若您建立了多個排程任務並需要刪除其中一個,請先呼叫 `CronList`。在傳回清單中找出 `prompt` 摘要和 cron 表達式與目標任務相符的項目,複製其 `id` 並傳入 `CronDelete`。
|
|
25
|
+
|
|
26
|
+
## 注意事項
|
|
27
|
+
|
|
28
|
+
- 僅列出目前工作階段中建立的任務,除非建立時指定了 `durable: true`,該選項允許任務在工作階段重新啟動後持續存在。
|
|
29
|
+
- 摘要中的 `prompt` 欄位會被截短,僅顯示完整提示文字的開頭部分,並非全部內容。
|
|
30
|
+
- 已觸發並執行完畢的一次性任務(`recurring` 為 `false`)會被自動刪除,不再出現在清單中。
|