cc-viewer 1.7.21 → 1.7.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/concepts/ar/Tool-Artifact.md +7 -0
- package/concepts/ar/Tool-EndConversation.md +35 -0
- package/concepts/ar/Tool-LSP.md +6 -1
- package/concepts/ar/Tool-ListAgents.md +35 -0
- package/concepts/ar/Tool-ListConnectors.md +34 -0
- package/concepts/ar/Tool-ListMcpResources.md +35 -0
- package/concepts/ar/Tool-ListPlugins.md +35 -0
- package/concepts/ar/Tool-ListSkills.md +37 -0
- package/concepts/ar/Tool-Monitor.md +7 -0
- package/concepts/ar/Tool-Projects.md +46 -0
- package/concepts/ar/Tool-ProposeGoal.md +43 -0
- package/concepts/ar/Tool-PushNotification.md +6 -0
- package/concepts/ar/Tool-REPL.md +47 -0
- package/concepts/ar/Tool-ReadMcpResource.md +32 -0
- package/concepts/ar/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/ar/Tool-ReadNotifications.md +27 -0
- package/concepts/ar/Tool-RemoteTrigger.md +7 -0
- package/concepts/ar/Tool-ScheduleWakeup.md +5 -0
- package/concepts/ar/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/ar/Tool-SendFeedback.md +38 -0
- package/concepts/ar/Tool-SendFile.md +36 -0
- package/concepts/ar/Tool-SendMessage.md +5 -0
- package/concepts/ar/Tool-SendUserFile.md +38 -0
- package/concepts/ar/Tool-SendUserMessage.md +38 -0
- package/concepts/ar/Tool-SuggestConnectors.md +28 -0
- package/concepts/ar/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/ar/Tool-SuggestSkills.md +33 -0
- package/concepts/ar/Tool-TaskCreate.md +6 -0
- package/concepts/ar/Tool-TaskGet.md +6 -0
- package/concepts/ar/Tool-TaskList.md +6 -0
- package/concepts/ar/Tool-TaskUpdate.md +6 -0
- package/concepts/ar/Tool-TodoWrite.md +43 -0
- package/concepts/ar/Tool-ToolSearch.md +5 -0
- package/concepts/ar/Tool-WebSearch.md +6 -0
- package/concepts/ar/Tools.md +26 -4
- package/concepts/da/Tool-Artifact.md +8 -1
- package/concepts/da/Tool-EndConversation.md +35 -0
- package/concepts/da/Tool-LSP.md +6 -1
- package/concepts/da/Tool-ListAgents.md +35 -0
- package/concepts/da/Tool-ListConnectors.md +34 -0
- package/concepts/da/Tool-ListMcpResources.md +35 -0
- package/concepts/da/Tool-ListPlugins.md +35 -0
- package/concepts/da/Tool-ListSkills.md +37 -0
- package/concepts/da/Tool-Monitor.md +7 -0
- package/concepts/da/Tool-Projects.md +46 -0
- package/concepts/da/Tool-ProposeGoal.md +43 -0
- package/concepts/da/Tool-PushNotification.md +6 -0
- package/concepts/da/Tool-REPL.md +47 -0
- package/concepts/da/Tool-ReadMcpResource.md +32 -0
- package/concepts/da/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/da/Tool-ReadNotifications.md +27 -0
- package/concepts/da/Tool-RemoteTrigger.md +7 -0
- package/concepts/da/Tool-ScheduleWakeup.md +5 -0
- package/concepts/da/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/da/Tool-SendFeedback.md +38 -0
- package/concepts/da/Tool-SendFile.md +36 -0
- package/concepts/da/Tool-SendMessage.md +5 -0
- package/concepts/da/Tool-SendUserFile.md +38 -0
- package/concepts/da/Tool-SendUserMessage.md +38 -0
- package/concepts/da/Tool-SuggestConnectors.md +28 -0
- package/concepts/da/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/da/Tool-SuggestSkills.md +33 -0
- package/concepts/da/Tool-TaskCreate.md +6 -0
- package/concepts/da/Tool-TaskGet.md +6 -0
- package/concepts/da/Tool-TaskList.md +6 -0
- package/concepts/da/Tool-TaskUpdate.md +6 -0
- package/concepts/da/Tool-TodoWrite.md +43 -0
- package/concepts/da/Tool-ToolSearch.md +5 -0
- package/concepts/da/Tool-WebSearch.md +6 -0
- package/concepts/da/Tools.md +26 -4
- package/concepts/de/Tool-Artifact.md +7 -0
- package/concepts/de/Tool-EndConversation.md +35 -0
- package/concepts/de/Tool-LSP.md +6 -1
- package/concepts/de/Tool-ListAgents.md +35 -0
- package/concepts/de/Tool-ListConnectors.md +34 -0
- package/concepts/de/Tool-ListMcpResources.md +35 -0
- package/concepts/de/Tool-ListPlugins.md +35 -0
- package/concepts/de/Tool-ListSkills.md +37 -0
- package/concepts/de/Tool-Monitor.md +7 -0
- package/concepts/de/Tool-Projects.md +46 -0
- package/concepts/de/Tool-ProposeGoal.md +43 -0
- package/concepts/de/Tool-PushNotification.md +6 -0
- package/concepts/de/Tool-REPL.md +47 -0
- package/concepts/de/Tool-ReadMcpResource.md +32 -0
- package/concepts/de/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/de/Tool-ReadNotifications.md +27 -0
- package/concepts/de/Tool-RemoteTrigger.md +7 -0
- package/concepts/de/Tool-ScheduleWakeup.md +5 -0
- package/concepts/de/Tool-SearchMcpRegistry.md +30 -0
- package/concepts/de/Tool-SendFeedback.md +38 -0
- package/concepts/de/Tool-SendFile.md +36 -0
- package/concepts/de/Tool-SendMessage.md +5 -0
- package/concepts/de/Tool-SendUserFile.md +38 -0
- package/concepts/de/Tool-SendUserMessage.md +38 -0
- package/concepts/de/Tool-SuggestConnectors.md +28 -0
- package/concepts/de/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/de/Tool-SuggestSkills.md +33 -0
- package/concepts/de/Tool-TaskCreate.md +6 -0
- package/concepts/de/Tool-TaskGet.md +6 -0
- package/concepts/de/Tool-TaskList.md +6 -0
- package/concepts/de/Tool-TaskUpdate.md +6 -0
- package/concepts/de/Tool-TodoWrite.md +43 -0
- package/concepts/de/Tool-ToolSearch.md +5 -0
- package/concepts/de/Tool-WebSearch.md +6 -0
- package/concepts/de/Tools.md +26 -4
- package/concepts/en/ProxySwitch.md +13 -0
- package/concepts/en/Tool-Artifact.md +7 -0
- package/concepts/en/Tool-EndConversation.md +35 -0
- package/concepts/en/Tool-LSP.md +5 -0
- package/concepts/en/Tool-ListAgents.md +35 -0
- package/concepts/en/Tool-ListConnectors.md +34 -0
- package/concepts/en/Tool-ListMcpResources.md +35 -0
- package/concepts/en/Tool-ListPlugins.md +35 -0
- package/concepts/en/Tool-ListSkills.md +37 -0
- package/concepts/en/Tool-Monitor.md +7 -0
- package/concepts/en/Tool-Projects.md +46 -0
- package/concepts/en/Tool-ProposeGoal.md +43 -0
- package/concepts/en/Tool-PushNotification.md +6 -0
- package/concepts/en/Tool-REPL.md +47 -0
- package/concepts/en/Tool-ReadMcpResource.md +32 -0
- package/concepts/en/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/en/Tool-ReadNotifications.md +27 -0
- package/concepts/en/Tool-RemoteTrigger.md +7 -0
- package/concepts/en/Tool-ScheduleWakeup.md +5 -0
- package/concepts/en/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/en/Tool-SendFeedback.md +38 -0
- package/concepts/en/Tool-SendFile.md +36 -0
- package/concepts/en/Tool-SendMessage.md +5 -0
- package/concepts/en/Tool-SendUserFile.md +38 -0
- package/concepts/en/Tool-SendUserMessage.md +38 -0
- package/concepts/en/Tool-SuggestConnectors.md +28 -0
- package/concepts/en/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/en/Tool-SuggestSkills.md +33 -0
- package/concepts/en/Tool-TaskCreate.md +6 -0
- package/concepts/en/Tool-TaskGet.md +6 -0
- package/concepts/en/Tool-TaskList.md +6 -0
- package/concepts/en/Tool-TaskUpdate.md +6 -0
- package/concepts/en/Tool-TodoWrite.md +43 -0
- package/concepts/en/Tool-ToolSearch.md +5 -0
- package/concepts/en/Tool-WebSearch.md +6 -0
- package/concepts/en/Tools.md +26 -4
- package/concepts/es/Tool-Artifact.md +7 -0
- package/concepts/es/Tool-EndConversation.md +35 -0
- package/concepts/es/Tool-LSP.md +5 -0
- package/concepts/es/Tool-ListAgents.md +35 -0
- package/concepts/es/Tool-ListConnectors.md +34 -0
- package/concepts/es/Tool-ListMcpResources.md +35 -0
- package/concepts/es/Tool-ListPlugins.md +35 -0
- package/concepts/es/Tool-ListSkills.md +37 -0
- package/concepts/es/Tool-Monitor.md +7 -0
- package/concepts/es/Tool-Projects.md +46 -0
- package/concepts/es/Tool-ProposeGoal.md +43 -0
- package/concepts/es/Tool-PushNotification.md +6 -0
- package/concepts/es/Tool-REPL.md +47 -0
- package/concepts/es/Tool-ReadMcpResource.md +32 -0
- package/concepts/es/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/es/Tool-ReadNotifications.md +27 -0
- package/concepts/es/Tool-RemoteTrigger.md +7 -0
- package/concepts/es/Tool-ScheduleWakeup.md +5 -0
- package/concepts/es/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/es/Tool-SendFeedback.md +38 -0
- package/concepts/es/Tool-SendFile.md +36 -0
- package/concepts/es/Tool-SendMessage.md +5 -0
- package/concepts/es/Tool-SendUserFile.md +38 -0
- package/concepts/es/Tool-SendUserMessage.md +38 -0
- package/concepts/es/Tool-SuggestConnectors.md +28 -0
- package/concepts/es/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/es/Tool-SuggestSkills.md +33 -0
- package/concepts/es/Tool-TaskCreate.md +6 -0
- package/concepts/es/Tool-TaskGet.md +6 -0
- package/concepts/es/Tool-TaskList.md +6 -0
- package/concepts/es/Tool-TaskUpdate.md +6 -0
- package/concepts/es/Tool-TodoWrite.md +43 -0
- package/concepts/es/Tool-ToolSearch.md +5 -0
- package/concepts/es/Tool-WebSearch.md +6 -0
- package/concepts/es/Tools.md +26 -4
- package/concepts/fr/Tool-Artifact.md +7 -0
- package/concepts/fr/Tool-EndConversation.md +35 -0
- package/concepts/fr/Tool-LSP.md +5 -0
- package/concepts/fr/Tool-ListAgents.md +35 -0
- package/concepts/fr/Tool-ListConnectors.md +34 -0
- package/concepts/fr/Tool-ListMcpResources.md +35 -0
- package/concepts/fr/Tool-ListPlugins.md +35 -0
- package/concepts/fr/Tool-ListSkills.md +37 -0
- package/concepts/fr/Tool-Monitor.md +7 -0
- package/concepts/fr/Tool-Projects.md +46 -0
- package/concepts/fr/Tool-ProposeGoal.md +43 -0
- package/concepts/fr/Tool-PushNotification.md +6 -0
- package/concepts/fr/Tool-REPL.md +47 -0
- package/concepts/fr/Tool-ReadMcpResource.md +32 -0
- package/concepts/fr/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/fr/Tool-ReadNotifications.md +27 -0
- package/concepts/fr/Tool-RemoteTrigger.md +7 -0
- package/concepts/fr/Tool-ScheduleWakeup.md +5 -0
- package/concepts/fr/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/fr/Tool-SendFeedback.md +38 -0
- package/concepts/fr/Tool-SendFile.md +36 -0
- package/concepts/fr/Tool-SendMessage.md +5 -0
- package/concepts/fr/Tool-SendUserFile.md +38 -0
- package/concepts/fr/Tool-SendUserMessage.md +38 -0
- package/concepts/fr/Tool-SuggestConnectors.md +28 -0
- package/concepts/fr/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/fr/Tool-SuggestSkills.md +33 -0
- package/concepts/fr/Tool-TaskCreate.md +6 -0
- package/concepts/fr/Tool-TaskGet.md +6 -0
- package/concepts/fr/Tool-TaskList.md +6 -0
- package/concepts/fr/Tool-TaskUpdate.md +6 -0
- package/concepts/fr/Tool-TodoWrite.md +43 -0
- package/concepts/fr/Tool-ToolSearch.md +5 -0
- package/concepts/fr/Tool-WebSearch.md +6 -0
- package/concepts/fr/Tools.md +26 -4
- package/concepts/it/Tool-Artifact.md +7 -0
- package/concepts/it/Tool-EndConversation.md +35 -0
- package/concepts/it/Tool-LSP.md +5 -0
- package/concepts/it/Tool-ListAgents.md +35 -0
- package/concepts/it/Tool-ListConnectors.md +34 -0
- package/concepts/it/Tool-ListMcpResources.md +35 -0
- package/concepts/it/Tool-ListPlugins.md +35 -0
- package/concepts/it/Tool-ListSkills.md +37 -0
- package/concepts/it/Tool-Monitor.md +7 -0
- package/concepts/it/Tool-Projects.md +46 -0
- package/concepts/it/Tool-ProposeGoal.md +43 -0
- package/concepts/it/Tool-PushNotification.md +6 -0
- package/concepts/it/Tool-REPL.md +47 -0
- package/concepts/it/Tool-ReadMcpResource.md +32 -0
- package/concepts/it/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/it/Tool-ReadNotifications.md +27 -0
- package/concepts/it/Tool-RemoteTrigger.md +7 -0
- package/concepts/it/Tool-ScheduleWakeup.md +5 -0
- package/concepts/it/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/it/Tool-SendFeedback.md +38 -0
- package/concepts/it/Tool-SendFile.md +36 -0
- package/concepts/it/Tool-SendMessage.md +5 -0
- package/concepts/it/Tool-SendUserFile.md +38 -0
- package/concepts/it/Tool-SendUserMessage.md +38 -0
- package/concepts/it/Tool-SuggestConnectors.md +28 -0
- package/concepts/it/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/it/Tool-SuggestSkills.md +33 -0
- package/concepts/it/Tool-TaskCreate.md +6 -0
- package/concepts/it/Tool-TaskGet.md +6 -0
- package/concepts/it/Tool-TaskList.md +6 -0
- package/concepts/it/Tool-TaskUpdate.md +6 -0
- package/concepts/it/Tool-TodoWrite.md +43 -0
- package/concepts/it/Tool-ToolSearch.md +5 -0
- package/concepts/it/Tool-WebSearch.md +6 -0
- package/concepts/it/Tools.md +26 -4
- package/concepts/ja/Tool-Artifact.md +7 -0
- package/concepts/ja/Tool-EndConversation.md +35 -0
- package/concepts/ja/Tool-LSP.md +5 -0
- package/concepts/ja/Tool-ListAgents.md +35 -0
- package/concepts/ja/Tool-ListConnectors.md +34 -0
- package/concepts/ja/Tool-ListMcpResources.md +35 -0
- package/concepts/ja/Tool-ListPlugins.md +35 -0
- package/concepts/ja/Tool-ListSkills.md +37 -0
- package/concepts/ja/Tool-Monitor.md +7 -0
- package/concepts/ja/Tool-Projects.md +46 -0
- package/concepts/ja/Tool-ProposeGoal.md +43 -0
- package/concepts/ja/Tool-PushNotification.md +6 -0
- package/concepts/ja/Tool-REPL.md +47 -0
- package/concepts/ja/Tool-ReadMcpResource.md +32 -0
- package/concepts/ja/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/ja/Tool-ReadNotifications.md +27 -0
- package/concepts/ja/Tool-RemoteTrigger.md +7 -0
- package/concepts/ja/Tool-ScheduleWakeup.md +5 -0
- package/concepts/ja/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/ja/Tool-SendFeedback.md +38 -0
- package/concepts/ja/Tool-SendFile.md +36 -0
- package/concepts/ja/Tool-SendMessage.md +5 -0
- package/concepts/ja/Tool-SendUserFile.md +38 -0
- package/concepts/ja/Tool-SendUserMessage.md +38 -0
- package/concepts/ja/Tool-SuggestConnectors.md +28 -0
- package/concepts/ja/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/ja/Tool-SuggestSkills.md +33 -0
- package/concepts/ja/Tool-TaskCreate.md +6 -0
- package/concepts/ja/Tool-TaskGet.md +6 -0
- package/concepts/ja/Tool-TaskList.md +6 -0
- package/concepts/ja/Tool-TaskUpdate.md +6 -0
- package/concepts/ja/Tool-TodoWrite.md +43 -0
- package/concepts/ja/Tool-ToolSearch.md +5 -0
- package/concepts/ja/Tool-WebSearch.md +6 -0
- package/concepts/ja/Tools.md +26 -4
- package/concepts/ko/Tool-Artifact.md +7 -0
- package/concepts/ko/Tool-EndConversation.md +35 -0
- package/concepts/ko/Tool-LSP.md +5 -0
- package/concepts/ko/Tool-ListAgents.md +35 -0
- package/concepts/ko/Tool-ListConnectors.md +34 -0
- package/concepts/ko/Tool-ListMcpResources.md +35 -0
- package/concepts/ko/Tool-ListPlugins.md +35 -0
- package/concepts/ko/Tool-ListSkills.md +37 -0
- package/concepts/ko/Tool-Monitor.md +7 -0
- package/concepts/ko/Tool-Projects.md +46 -0
- package/concepts/ko/Tool-ProposeGoal.md +43 -0
- package/concepts/ko/Tool-PushNotification.md +6 -0
- package/concepts/ko/Tool-REPL.md +47 -0
- package/concepts/ko/Tool-ReadMcpResource.md +32 -0
- package/concepts/ko/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/ko/Tool-ReadNotifications.md +27 -0
- package/concepts/ko/Tool-RemoteTrigger.md +7 -0
- package/concepts/ko/Tool-ScheduleWakeup.md +5 -0
- package/concepts/ko/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/ko/Tool-SendFeedback.md +38 -0
- package/concepts/ko/Tool-SendFile.md +36 -0
- package/concepts/ko/Tool-SendMessage.md +5 -0
- package/concepts/ko/Tool-SendUserFile.md +38 -0
- package/concepts/ko/Tool-SendUserMessage.md +38 -0
- package/concepts/ko/Tool-SuggestConnectors.md +28 -0
- package/concepts/ko/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/ko/Tool-SuggestSkills.md +33 -0
- package/concepts/ko/Tool-TaskCreate.md +6 -0
- package/concepts/ko/Tool-TaskGet.md +6 -0
- package/concepts/ko/Tool-TaskList.md +6 -0
- package/concepts/ko/Tool-TaskUpdate.md +6 -0
- package/concepts/ko/Tool-TodoWrite.md +43 -0
- package/concepts/ko/Tool-ToolSearch.md +5 -0
- package/concepts/ko/Tool-WebSearch.md +6 -0
- package/concepts/ko/Tools.md +26 -4
- package/concepts/no/Tool-Artifact.md +7 -0
- package/concepts/no/Tool-EndConversation.md +35 -0
- package/concepts/no/Tool-LSP.md +7 -2
- package/concepts/no/Tool-ListAgents.md +35 -0
- package/concepts/no/Tool-ListConnectors.md +34 -0
- package/concepts/no/Tool-ListMcpResources.md +35 -0
- package/concepts/no/Tool-ListPlugins.md +35 -0
- package/concepts/no/Tool-ListSkills.md +37 -0
- package/concepts/no/Tool-Monitor.md +7 -0
- package/concepts/no/Tool-Projects.md +46 -0
- package/concepts/no/Tool-ProposeGoal.md +43 -0
- package/concepts/no/Tool-PushNotification.md +6 -0
- package/concepts/no/Tool-REPL.md +47 -0
- package/concepts/no/Tool-ReadMcpResource.md +32 -0
- package/concepts/no/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/no/Tool-ReadNotifications.md +27 -0
- package/concepts/no/Tool-RemoteTrigger.md +7 -0
- package/concepts/no/Tool-ScheduleWakeup.md +5 -0
- package/concepts/no/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/no/Tool-SendFeedback.md +38 -0
- package/concepts/no/Tool-SendFile.md +36 -0
- package/concepts/no/Tool-SendMessage.md +5 -0
- package/concepts/no/Tool-SendUserFile.md +38 -0
- package/concepts/no/Tool-SendUserMessage.md +38 -0
- package/concepts/no/Tool-SuggestConnectors.md +28 -0
- package/concepts/no/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/no/Tool-SuggestSkills.md +33 -0
- package/concepts/no/Tool-TaskCreate.md +6 -0
- package/concepts/no/Tool-TaskGet.md +6 -0
- package/concepts/no/Tool-TaskList.md +6 -0
- package/concepts/no/Tool-TaskUpdate.md +6 -0
- package/concepts/no/Tool-TodoWrite.md +43 -0
- package/concepts/no/Tool-ToolSearch.md +5 -0
- package/concepts/no/Tool-WebSearch.md +6 -0
- package/concepts/no/Tools.md +26 -4
- package/concepts/pl/Tool-Artifact.md +7 -0
- package/concepts/pl/Tool-EndConversation.md +35 -0
- package/concepts/pl/Tool-LSP.md +5 -0
- package/concepts/pl/Tool-ListAgents.md +35 -0
- package/concepts/pl/Tool-ListConnectors.md +34 -0
- package/concepts/pl/Tool-ListMcpResources.md +35 -0
- package/concepts/pl/Tool-ListPlugins.md +35 -0
- package/concepts/pl/Tool-ListSkills.md +37 -0
- package/concepts/pl/Tool-Monitor.md +7 -0
- package/concepts/pl/Tool-Projects.md +46 -0
- package/concepts/pl/Tool-ProposeGoal.md +43 -0
- package/concepts/pl/Tool-PushNotification.md +6 -0
- package/concepts/pl/Tool-REPL.md +47 -0
- package/concepts/pl/Tool-ReadMcpResource.md +32 -0
- package/concepts/pl/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/pl/Tool-ReadNotifications.md +27 -0
- package/concepts/pl/Tool-RemoteTrigger.md +7 -0
- package/concepts/pl/Tool-ScheduleWakeup.md +5 -0
- package/concepts/pl/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/pl/Tool-SendFeedback.md +38 -0
- package/concepts/pl/Tool-SendFile.md +36 -0
- package/concepts/pl/Tool-SendMessage.md +5 -0
- package/concepts/pl/Tool-SendUserFile.md +38 -0
- package/concepts/pl/Tool-SendUserMessage.md +38 -0
- package/concepts/pl/Tool-SuggestConnectors.md +28 -0
- package/concepts/pl/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/pl/Tool-SuggestSkills.md +33 -0
- package/concepts/pl/Tool-TaskCreate.md +6 -0
- package/concepts/pl/Tool-TaskGet.md +6 -0
- package/concepts/pl/Tool-TaskList.md +6 -0
- package/concepts/pl/Tool-TaskUpdate.md +6 -0
- package/concepts/pl/Tool-TodoWrite.md +43 -0
- package/concepts/pl/Tool-ToolSearch.md +5 -0
- package/concepts/pl/Tool-WebSearch.md +6 -0
- package/concepts/pl/Tools.md +26 -4
- package/concepts/pt-BR/Tool-Artifact.md +7 -0
- package/concepts/pt-BR/Tool-EndConversation.md +35 -0
- package/concepts/pt-BR/Tool-LSP.md +5 -0
- package/concepts/pt-BR/Tool-ListAgents.md +35 -0
- package/concepts/pt-BR/Tool-ListConnectors.md +34 -0
- package/concepts/pt-BR/Tool-ListMcpResources.md +35 -0
- package/concepts/pt-BR/Tool-ListPlugins.md +35 -0
- package/concepts/pt-BR/Tool-ListSkills.md +37 -0
- package/concepts/pt-BR/Tool-Monitor.md +7 -0
- package/concepts/pt-BR/Tool-Projects.md +46 -0
- package/concepts/pt-BR/Tool-ProposeGoal.md +43 -0
- package/concepts/pt-BR/Tool-PushNotification.md +6 -0
- package/concepts/pt-BR/Tool-REPL.md +47 -0
- package/concepts/pt-BR/Tool-ReadMcpResource.md +32 -0
- package/concepts/pt-BR/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/pt-BR/Tool-ReadNotifications.md +27 -0
- package/concepts/pt-BR/Tool-RemoteTrigger.md +7 -0
- package/concepts/pt-BR/Tool-ScheduleWakeup.md +5 -0
- package/concepts/pt-BR/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/pt-BR/Tool-SendFeedback.md +38 -0
- package/concepts/pt-BR/Tool-SendFile.md +36 -0
- package/concepts/pt-BR/Tool-SendMessage.md +5 -0
- package/concepts/pt-BR/Tool-SendUserFile.md +38 -0
- package/concepts/pt-BR/Tool-SendUserMessage.md +38 -0
- package/concepts/pt-BR/Tool-SuggestConnectors.md +28 -0
- package/concepts/pt-BR/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/pt-BR/Tool-SuggestSkills.md +33 -0
- package/concepts/pt-BR/Tool-TaskCreate.md +6 -0
- package/concepts/pt-BR/Tool-TaskGet.md +6 -0
- package/concepts/pt-BR/Tool-TaskList.md +6 -0
- package/concepts/pt-BR/Tool-TaskUpdate.md +6 -0
- package/concepts/pt-BR/Tool-TodoWrite.md +43 -0
- package/concepts/pt-BR/Tool-ToolSearch.md +5 -0
- package/concepts/pt-BR/Tool-WebSearch.md +6 -0
- package/concepts/pt-BR/Tools.md +26 -4
- package/concepts/ru/Tool-Artifact.md +7 -0
- package/concepts/ru/Tool-EndConversation.md +35 -0
- package/concepts/ru/Tool-LSP.md +5 -0
- package/concepts/ru/Tool-ListAgents.md +35 -0
- package/concepts/ru/Tool-ListConnectors.md +34 -0
- package/concepts/ru/Tool-ListMcpResources.md +35 -0
- package/concepts/ru/Tool-ListPlugins.md +35 -0
- package/concepts/ru/Tool-ListSkills.md +37 -0
- package/concepts/ru/Tool-Monitor.md +7 -0
- package/concepts/ru/Tool-Projects.md +46 -0
- package/concepts/ru/Tool-ProposeGoal.md +43 -0
- package/concepts/ru/Tool-PushNotification.md +6 -0
- package/concepts/ru/Tool-REPL.md +47 -0
- package/concepts/ru/Tool-ReadMcpResource.md +32 -0
- package/concepts/ru/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/ru/Tool-ReadNotifications.md +27 -0
- package/concepts/ru/Tool-RemoteTrigger.md +7 -0
- package/concepts/ru/Tool-ScheduleWakeup.md +5 -0
- package/concepts/ru/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/ru/Tool-SendFeedback.md +38 -0
- package/concepts/ru/Tool-SendFile.md +36 -0
- package/concepts/ru/Tool-SendMessage.md +5 -0
- package/concepts/ru/Tool-SendUserFile.md +38 -0
- package/concepts/ru/Tool-SendUserMessage.md +38 -0
- package/concepts/ru/Tool-SuggestConnectors.md +28 -0
- package/concepts/ru/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/ru/Tool-SuggestSkills.md +33 -0
- package/concepts/ru/Tool-TaskCreate.md +6 -0
- package/concepts/ru/Tool-TaskGet.md +6 -0
- package/concepts/ru/Tool-TaskList.md +6 -0
- package/concepts/ru/Tool-TaskUpdate.md +6 -0
- package/concepts/ru/Tool-TodoWrite.md +43 -0
- package/concepts/ru/Tool-ToolSearch.md +5 -0
- package/concepts/ru/Tool-WebSearch.md +6 -0
- package/concepts/ru/Tools.md +26 -4
- package/concepts/th/Tool-Artifact.md +7 -0
- package/concepts/th/Tool-EndConversation.md +35 -0
- package/concepts/th/Tool-LSP.md +5 -0
- package/concepts/th/Tool-ListAgents.md +35 -0
- package/concepts/th/Tool-ListConnectors.md +34 -0
- package/concepts/th/Tool-ListMcpResources.md +35 -0
- package/concepts/th/Tool-ListPlugins.md +35 -0
- package/concepts/th/Tool-ListSkills.md +37 -0
- package/concepts/th/Tool-Monitor.md +7 -0
- package/concepts/th/Tool-Projects.md +46 -0
- package/concepts/th/Tool-ProposeGoal.md +43 -0
- package/concepts/th/Tool-PushNotification.md +6 -0
- package/concepts/th/Tool-REPL.md +47 -0
- package/concepts/th/Tool-ReadMcpResource.md +32 -0
- package/concepts/th/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/th/Tool-ReadNotifications.md +27 -0
- package/concepts/th/Tool-RemoteTrigger.md +7 -0
- package/concepts/th/Tool-ScheduleWakeup.md +5 -0
- package/concepts/th/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/th/Tool-SendFeedback.md +38 -0
- package/concepts/th/Tool-SendFile.md +36 -0
- package/concepts/th/Tool-SendMessage.md +5 -0
- package/concepts/th/Tool-SendUserFile.md +38 -0
- package/concepts/th/Tool-SendUserMessage.md +38 -0
- package/concepts/th/Tool-SuggestConnectors.md +28 -0
- package/concepts/th/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/th/Tool-SuggestSkills.md +33 -0
- package/concepts/th/Tool-TaskCreate.md +6 -0
- package/concepts/th/Tool-TaskGet.md +6 -0
- package/concepts/th/Tool-TaskList.md +6 -0
- package/concepts/th/Tool-TaskUpdate.md +6 -0
- package/concepts/th/Tool-TodoWrite.md +43 -0
- package/concepts/th/Tool-ToolSearch.md +5 -0
- package/concepts/th/Tool-WebSearch.md +13 -7
- package/concepts/th/Tools.md +26 -4
- package/concepts/tr/Tool-Artifact.md +7 -0
- package/concepts/tr/Tool-EndConversation.md +35 -0
- package/concepts/tr/Tool-LSP.md +5 -0
- package/concepts/tr/Tool-ListAgents.md +35 -0
- package/concepts/tr/Tool-ListConnectors.md +34 -0
- package/concepts/tr/Tool-ListMcpResources.md +35 -0
- package/concepts/tr/Tool-ListPlugins.md +35 -0
- package/concepts/tr/Tool-ListSkills.md +37 -0
- package/concepts/tr/Tool-Monitor.md +7 -0
- package/concepts/tr/Tool-Projects.md +46 -0
- package/concepts/tr/Tool-ProposeGoal.md +43 -0
- package/concepts/tr/Tool-PushNotification.md +6 -0
- package/concepts/tr/Tool-REPL.md +47 -0
- package/concepts/tr/Tool-ReadMcpResource.md +32 -0
- package/concepts/tr/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/tr/Tool-ReadNotifications.md +27 -0
- package/concepts/tr/Tool-RemoteTrigger.md +7 -0
- package/concepts/tr/Tool-ScheduleWakeup.md +5 -0
- package/concepts/tr/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/tr/Tool-SendFeedback.md +38 -0
- package/concepts/tr/Tool-SendFile.md +36 -0
- package/concepts/tr/Tool-SendMessage.md +5 -0
- package/concepts/tr/Tool-SendUserFile.md +38 -0
- package/concepts/tr/Tool-SendUserMessage.md +38 -0
- package/concepts/tr/Tool-SuggestConnectors.md +28 -0
- package/concepts/tr/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/tr/Tool-SuggestSkills.md +33 -0
- package/concepts/tr/Tool-TaskCreate.md +6 -0
- package/concepts/tr/Tool-TaskGet.md +6 -0
- package/concepts/tr/Tool-TaskList.md +6 -0
- package/concepts/tr/Tool-TaskUpdate.md +6 -0
- package/concepts/tr/Tool-TodoWrite.md +43 -0
- package/concepts/tr/Tool-ToolSearch.md +5 -0
- package/concepts/tr/Tool-WebSearch.md +6 -0
- package/concepts/tr/Tools.md +26 -4
- package/concepts/uk/Tool-Artifact.md +7 -0
- package/concepts/uk/Tool-EndConversation.md +35 -0
- package/concepts/uk/Tool-LSP.md +5 -0
- package/concepts/uk/Tool-ListAgents.md +35 -0
- package/concepts/uk/Tool-ListConnectors.md +34 -0
- package/concepts/uk/Tool-ListMcpResources.md +35 -0
- package/concepts/uk/Tool-ListPlugins.md +35 -0
- package/concepts/uk/Tool-ListSkills.md +37 -0
- package/concepts/uk/Tool-Monitor.md +7 -0
- package/concepts/uk/Tool-Projects.md +46 -0
- package/concepts/uk/Tool-ProposeGoal.md +43 -0
- package/concepts/uk/Tool-PushNotification.md +6 -0
- package/concepts/uk/Tool-REPL.md +47 -0
- package/concepts/uk/Tool-ReadMcpResource.md +32 -0
- package/concepts/uk/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/uk/Tool-ReadNotifications.md +27 -0
- package/concepts/uk/Tool-RemoteTrigger.md +7 -0
- package/concepts/uk/Tool-ScheduleWakeup.md +5 -0
- package/concepts/uk/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/uk/Tool-SendFeedback.md +38 -0
- package/concepts/uk/Tool-SendFile.md +36 -0
- package/concepts/uk/Tool-SendMessage.md +5 -0
- package/concepts/uk/Tool-SendUserFile.md +38 -0
- package/concepts/uk/Tool-SendUserMessage.md +38 -0
- package/concepts/uk/Tool-SuggestConnectors.md +28 -0
- package/concepts/uk/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/uk/Tool-SuggestSkills.md +33 -0
- package/concepts/uk/Tool-TaskCreate.md +6 -0
- package/concepts/uk/Tool-TaskGet.md +6 -0
- package/concepts/uk/Tool-TaskList.md +6 -0
- package/concepts/uk/Tool-TaskUpdate.md +6 -0
- package/concepts/uk/Tool-TodoWrite.md +43 -0
- package/concepts/uk/Tool-ToolSearch.md +5 -0
- package/concepts/uk/Tool-WebSearch.md +6 -0
- package/concepts/uk/Tools.md +26 -4
- package/concepts/zh/ProxySwitch.md +13 -0
- package/concepts/zh/Tool-Artifact.md +7 -0
- package/concepts/zh/Tool-EndConversation.md +35 -0
- package/concepts/zh/Tool-LSP.md +5 -0
- package/concepts/zh/Tool-ListAgents.md +35 -0
- package/concepts/zh/Tool-ListConnectors.md +34 -0
- package/concepts/zh/Tool-ListMcpResources.md +35 -0
- package/concepts/zh/Tool-ListPlugins.md +35 -0
- package/concepts/zh/Tool-ListSkills.md +37 -0
- package/concepts/zh/Tool-Monitor.md +7 -0
- package/concepts/zh/Tool-Projects.md +46 -0
- package/concepts/zh/Tool-ProposeGoal.md +43 -0
- package/concepts/zh/Tool-PushNotification.md +6 -0
- package/concepts/zh/Tool-REPL.md +47 -0
- package/concepts/zh/Tool-ReadMcpResource.md +32 -0
- package/concepts/zh/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/zh/Tool-ReadNotifications.md +27 -0
- package/concepts/zh/Tool-RemoteTrigger.md +7 -0
- package/concepts/zh/Tool-ScheduleWakeup.md +5 -0
- package/concepts/zh/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/zh/Tool-SendFeedback.md +38 -0
- package/concepts/zh/Tool-SendFile.md +36 -0
- package/concepts/zh/Tool-SendMessage.md +5 -0
- package/concepts/zh/Tool-SendUserFile.md +38 -0
- package/concepts/zh/Tool-SendUserMessage.md +38 -0
- package/concepts/zh/Tool-SuggestConnectors.md +28 -0
- package/concepts/zh/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/zh/Tool-SuggestSkills.md +33 -0
- package/concepts/zh/Tool-TaskCreate.md +6 -0
- package/concepts/zh/Tool-TaskGet.md +6 -0
- package/concepts/zh/Tool-TaskList.md +6 -0
- package/concepts/zh/Tool-TaskUpdate.md +6 -0
- package/concepts/zh/Tool-TodoWrite.md +43 -0
- package/concepts/zh/Tool-ToolSearch.md +5 -0
- package/concepts/zh/Tool-WebSearch.md +6 -0
- package/concepts/zh/Tools.md +26 -4
- package/concepts/zh-TW/Tool-Artifact.md +7 -0
- package/concepts/zh-TW/Tool-EndConversation.md +35 -0
- package/concepts/zh-TW/Tool-LSP.md +5 -0
- package/concepts/zh-TW/Tool-ListAgents.md +35 -0
- package/concepts/zh-TW/Tool-ListConnectors.md +34 -0
- package/concepts/zh-TW/Tool-ListMcpResources.md +35 -0
- package/concepts/zh-TW/Tool-ListPlugins.md +35 -0
- package/concepts/zh-TW/Tool-ListSkills.md +37 -0
- package/concepts/zh-TW/Tool-Monitor.md +7 -0
- package/concepts/zh-TW/Tool-Projects.md +46 -0
- package/concepts/zh-TW/Tool-ProposeGoal.md +43 -0
- package/concepts/zh-TW/Tool-PushNotification.md +6 -0
- package/concepts/zh-TW/Tool-REPL.md +47 -0
- package/concepts/zh-TW/Tool-ReadMcpResource.md +32 -0
- package/concepts/zh-TW/Tool-ReadMcpResourceDir.md +32 -0
- package/concepts/zh-TW/Tool-ReadNotifications.md +27 -0
- package/concepts/zh-TW/Tool-RemoteTrigger.md +7 -0
- package/concepts/zh-TW/Tool-ScheduleWakeup.md +5 -0
- package/concepts/zh-TW/Tool-SearchMcpRegistry.md +31 -0
- package/concepts/zh-TW/Tool-SendFeedback.md +38 -0
- package/concepts/zh-TW/Tool-SendFile.md +36 -0
- package/concepts/zh-TW/Tool-SendMessage.md +5 -0
- package/concepts/zh-TW/Tool-SendUserFile.md +38 -0
- package/concepts/zh-TW/Tool-SendUserMessage.md +38 -0
- package/concepts/zh-TW/Tool-SuggestConnectors.md +28 -0
- package/concepts/zh-TW/Tool-SuggestPluginInstall.md +39 -0
- package/concepts/zh-TW/Tool-SuggestSkills.md +33 -0
- package/concepts/zh-TW/Tool-TaskCreate.md +6 -0
- package/concepts/zh-TW/Tool-TaskGet.md +6 -0
- package/concepts/zh-TW/Tool-TaskList.md +6 -0
- package/concepts/zh-TW/Tool-TaskUpdate.md +6 -0
- package/concepts/zh-TW/Tool-TodoWrite.md +43 -0
- package/concepts/zh-TW/Tool-ToolSearch.md +5 -0
- package/concepts/zh-TW/Tool-WebSearch.md +6 -0
- package/concepts/zh-TW/Tools.md +26 -4
- package/dist/assets/App-CusqoEAB.js +2 -0
- package/dist/assets/{MdxEditorPanel-Cd5dGdSB.js → MdxEditorPanel-e5DlfcqJ.js} +1 -1
- package/dist/assets/{Mobile-CRQ3UK4l.js → Mobile-B8xwCLgr.js} +1 -1
- package/dist/assets/{ProxyStatsModal-yeAXJE6u.js → ProxyStatsModal-_w677xPM.js} +1 -1
- package/dist/assets/{index-DxMkkprW.js → index-D6FmFsIz.js} +2 -2
- package/dist/assets/seqResourceLoaders-3K77Znll.js +2 -0
- package/dist/assets/{seqResourceLoaders-pADDTbV6.css → seqResourceLoaders-BgD_Rwvc.css} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -4
- package/server/interceptor.js +192 -51
- package/server/lib/interceptor-core.js +91 -0
- package/server/lib/v2/adapter.js +1 -1
- package/server/lib/v2/live-feed.js +2 -0
- package/server/lib/v2/meta-rows.js +3 -0
- package/server/lib/v2/v2-writer.js +1 -1
- package/server/proxy.js +39 -8
- package/server/pty-manager.js +6 -0
- package/server/routes/expert.js +47 -2
- package/server/routes/preferences.js +24 -7
- package/src/utils/toolCatalog.js +8 -7
- package/src/utils/v3Assembler.js +1 -0
- package/src/utils/v3Rows.js +1 -0
- package/concepts/ar/Tool-TeamCreate.md +0 -53
- package/concepts/ar/Tool-TeamDelete.md +0 -44
- package/concepts/ar/Tool-executeCode.md +0 -47
- package/concepts/ar/Tool-getDiagnostics.md +0 -44
- package/concepts/da/Tool-TeamCreate.md +0 -53
- package/concepts/da/Tool-TeamDelete.md +0 -44
- package/concepts/da/Tool-executeCode.md +0 -47
- package/concepts/da/Tool-getDiagnostics.md +0 -44
- package/concepts/de/Tool-TeamCreate.md +0 -53
- package/concepts/de/Tool-TeamDelete.md +0 -44
- package/concepts/de/Tool-executeCode.md +0 -47
- package/concepts/de/Tool-getDiagnostics.md +0 -44
- package/concepts/en/Tool-TeamCreate.md +0 -53
- package/concepts/en/Tool-TeamDelete.md +0 -44
- package/concepts/en/Tool-executeCode.md +0 -47
- package/concepts/en/Tool-getDiagnostics.md +0 -44
- package/concepts/es/Tool-TeamCreate.md +0 -53
- package/concepts/es/Tool-TeamDelete.md +0 -44
- package/concepts/es/Tool-executeCode.md +0 -47
- package/concepts/es/Tool-getDiagnostics.md +0 -44
- package/concepts/fr/Tool-TeamCreate.md +0 -53
- package/concepts/fr/Tool-TeamDelete.md +0 -44
- package/concepts/fr/Tool-executeCode.md +0 -47
- package/concepts/fr/Tool-getDiagnostics.md +0 -44
- package/concepts/it/Tool-TeamCreate.md +0 -53
- package/concepts/it/Tool-TeamDelete.md +0 -44
- package/concepts/it/Tool-executeCode.md +0 -47
- package/concepts/it/Tool-getDiagnostics.md +0 -44
- package/concepts/ja/Tool-TeamCreate.md +0 -53
- package/concepts/ja/Tool-TeamDelete.md +0 -44
- package/concepts/ja/Tool-executeCode.md +0 -47
- package/concepts/ja/Tool-getDiagnostics.md +0 -44
- package/concepts/ko/Tool-TeamCreate.md +0 -53
- package/concepts/ko/Tool-TeamDelete.md +0 -44
- package/concepts/ko/Tool-executeCode.md +0 -47
- package/concepts/ko/Tool-getDiagnostics.md +0 -44
- package/concepts/no/Tool-TeamCreate.md +0 -53
- package/concepts/no/Tool-TeamDelete.md +0 -44
- package/concepts/no/Tool-executeCode.md +0 -47
- package/concepts/no/Tool-getDiagnostics.md +0 -44
- package/concepts/pl/Tool-TeamCreate.md +0 -53
- package/concepts/pl/Tool-TeamDelete.md +0 -44
- package/concepts/pl/Tool-executeCode.md +0 -47
- package/concepts/pl/Tool-getDiagnostics.md +0 -44
- package/concepts/pt-BR/Tool-TeamCreate.md +0 -53
- package/concepts/pt-BR/Tool-TeamDelete.md +0 -44
- package/concepts/pt-BR/Tool-executeCode.md +0 -47
- package/concepts/pt-BR/Tool-getDiagnostics.md +0 -44
- package/concepts/ru/Tool-TeamCreate.md +0 -53
- package/concepts/ru/Tool-TeamDelete.md +0 -44
- package/concepts/ru/Tool-executeCode.md +0 -47
- package/concepts/ru/Tool-getDiagnostics.md +0 -44
- package/concepts/th/Tool-TeamCreate.md +0 -53
- package/concepts/th/Tool-TeamDelete.md +0 -44
- package/concepts/th/Tool-executeCode.md +0 -41
- package/concepts/th/Tool-getDiagnostics.md +0 -32
- package/concepts/tr/Tool-TeamCreate.md +0 -53
- package/concepts/tr/Tool-TeamDelete.md +0 -44
- package/concepts/tr/Tool-executeCode.md +0 -47
- package/concepts/tr/Tool-getDiagnostics.md +0 -44
- package/concepts/uk/Tool-TeamCreate.md +0 -53
- package/concepts/uk/Tool-TeamDelete.md +0 -44
- package/concepts/uk/Tool-executeCode.md +0 -47
- package/concepts/uk/Tool-getDiagnostics.md +0 -44
- package/concepts/zh/Tool-TeamCreate.md +0 -53
- package/concepts/zh/Tool-TeamDelete.md +0 -44
- package/concepts/zh/Tool-executeCode.md +0 -47
- package/concepts/zh/Tool-getDiagnostics.md +0 -44
- package/concepts/zh-TW/Tool-TeamCreate.md +0 -53
- package/concepts/zh-TW/Tool-TeamDelete.md +0 -44
- package/concepts/zh-TW/Tool-executeCode.md +0 -47
- package/concepts/zh-TW/Tool-getDiagnostics.md +0 -44
- package/dist/assets/App-DKk75JCV.js +0 -2
- package/dist/assets/seqResourceLoaders-CPq3Zxu0.js +0 -2
package/server/pty-manager.js
CHANGED
|
@@ -239,6 +239,12 @@ async function _spawnClaudeImpl(proxyPort, cwd, extraArgs = [], claudePath = nul
|
|
|
239
239
|
env.CCV_LOG_DIR = LOG_DIR; // 让 fork 出的 Claude Code 进程找到同一份 profile.json 等资源
|
|
240
240
|
// 剥离 cc-viewer 的内部短路开关,避免泄漏给 claude 子进程
|
|
241
241
|
delete env.CCV_SKIP_THINKING_DISPLAY;
|
|
242
|
+
// 剥离 server 专属的模式标记:spawned claude(尤其 teammate 子进程,它们会装 fetch hook)
|
|
243
|
+
// 不是 ccv server —— 继承 CCV_WORKSPACE_MODE 会让 interceptor 的 workspace 绑定终生为空
|
|
244
|
+
// (teammate 角色分配静默失效);CCV_ELECTRON_MULTITAB 同理只应由 server 进程持有
|
|
245
|
+
// (im-process-manager 对 IM worker 已有同款剥离先例)。
|
|
246
|
+
delete env.CCV_WORKSPACE_MODE;
|
|
247
|
+
delete env.CCV_ELECTRON_MULTITAB;
|
|
242
248
|
// Claude Code NO_FLICKER 会让嵌入式 xterm 走 alt-screen 并丢失 scrollback。
|
|
243
249
|
// cc-viewer 默认剥离继承值;确实需要时可显式设 CCV_KEEP_CLAUDE_CODE_NO_FLICKER=1。
|
|
244
250
|
stripClaudeNoFlickerUnlessOptedIn(env);
|
package/server/routes/expert.js
CHANGED
|
@@ -7,11 +7,15 @@
|
|
|
7
7
|
// 鉴权沿用 dispatch 之前的全局鉴权(与 files-fs 写操作一致,不额外 gate isLocal)。
|
|
8
8
|
import { join } from 'node:path';
|
|
9
9
|
import { readFileSync } from 'node:fs';
|
|
10
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
readWorkspaceSystemText, writeWorkspaceSystemText,
|
|
12
|
+
isNonEmptyFile, SYSTEM_PROMPT_FILE, APPEND_SYSTEM_PROMPT_FILE, DISABLE_AUTO_SYSTEM_PROMPT_ENV,
|
|
13
|
+
} from '../lib/system-prompt-files.js';
|
|
11
14
|
import {
|
|
12
15
|
MODEL_PROMPT_DIR, normalizeModelName, listModelPrompts,
|
|
13
|
-
writeModelPrompt, deleteModelPrompt,
|
|
16
|
+
writeModelPrompt, deleteModelPrompt, matchModelPrompt,
|
|
14
17
|
} from '../lib/model-system-prompts.js';
|
|
18
|
+
import { resolveSpawnModel } from '../lib/spawn-model-resolver.js';
|
|
15
19
|
import { listSystemPromptPresets, groupPresetsByCategory, getSystemPromptVariablesDoc } from '../lib/system-prompt-presets.js';
|
|
16
20
|
import { LOG_DIR } from '../../findcc.js';
|
|
17
21
|
|
|
@@ -37,6 +41,30 @@ function sendJson(res, code, obj) {
|
|
|
37
41
|
} catch { /* socket 已关闭:忽略 */ }
|
|
38
42
|
}
|
|
39
43
|
|
|
44
|
+
// Single source for "is a custom system prompt configured to inject" — mirrors the
|
|
45
|
+
// spawn-time injection semantics of buildSystemPromptFileArgs: the env kill switch wins;
|
|
46
|
+
// a matched model entry supersedes the Default sentinels for activation purposes.
|
|
47
|
+
// Fidelity note: spawn-only gates this helper cannot see (insideLogDir skip, manual
|
|
48
|
+
// --system-prompt-file flags, one-shot skip tokens) may rarely make "active" a false
|
|
49
|
+
// positive — acceptable for a UI hint.
|
|
50
|
+
function computeSystemPromptStatus(dir) {
|
|
51
|
+
if (process.env[DISABLE_AUTO_SYSTEM_PROMPT_ENV] === '1') {
|
|
52
|
+
return { active: false, modelId: null, matched: null, defaultActive: false };
|
|
53
|
+
}
|
|
54
|
+
const defaultActive = !!dir && (
|
|
55
|
+
isNonEmptyFile(join(dir, SYSTEM_PROMPT_FILE)) || isNonEmptyFile(join(dir, APPEND_SYSTEM_PROMPT_FILE))
|
|
56
|
+
);
|
|
57
|
+
const modelId = resolveSpawnModel(dir, process.env);
|
|
58
|
+
const match = modelId
|
|
59
|
+
? matchModelPrompt(modelId, [
|
|
60
|
+
{ dir: dir ? join(dir, MODEL_PROMPT_DIR) : null, scope: 'workspace' },
|
|
61
|
+
{ dir: join(LOG_DIR, MODEL_PROMPT_DIR), scope: 'global' },
|
|
62
|
+
])
|
|
63
|
+
: null;
|
|
64
|
+
const matched = match ? { scope: match.scope, name: match.name, mode: match.mode } : null;
|
|
65
|
+
return { active: !!matched || defaultActive, modelId, matched, defaultActive };
|
|
66
|
+
}
|
|
67
|
+
|
|
40
68
|
async function getSystemText(req, res, parsedUrl, isLocal, deps) {
|
|
41
69
|
try {
|
|
42
70
|
const dir = await resolveDir(deps);
|
|
@@ -95,12 +123,17 @@ async function getModelPrompts(req, res, parsedUrl, isLocal, deps) {
|
|
|
95
123
|
try {
|
|
96
124
|
const dir = await resolveDir(deps);
|
|
97
125
|
const globalDir = join(LOG_DIR, MODEL_PROMPT_DIR);
|
|
126
|
+
const status = computeSystemPromptStatus(dir);
|
|
98
127
|
sendJson(res, 200, {
|
|
99
128
|
workspaceDir: dir || null,
|
|
100
129
|
workspaceActive: !!dir,
|
|
101
130
|
globalDir,
|
|
102
131
|
workspace: dir ? collectModelEntries(join(dir, MODEL_PROMPT_DIR)) : [],
|
|
103
132
|
global: collectModelEntries(globalDir),
|
|
133
|
+
// 当前生效配置解析出的模型 id 及其命中的条目(未命中为 null)——弹窗据此把默认页签
|
|
134
|
+
// 指向命中条目;matched.name 为规范化大写名,与页签 key 的构成一致。
|
|
135
|
+
modelId: status.modelId,
|
|
136
|
+
matched: status.matched,
|
|
104
137
|
});
|
|
105
138
|
} catch (e) {
|
|
106
139
|
console.error('[CC Viewer] expert model-prompts GET failed:', e.message);
|
|
@@ -108,6 +141,17 @@ async function getModelPrompts(req, res, parsedUrl, isLocal, deps) {
|
|
|
108
141
|
}
|
|
109
142
|
}
|
|
110
143
|
|
|
144
|
+
// 轻量状态查询(不内联提示词文本):头部工具栏据此决定是否自动露出「系统提示词修改」入口。
|
|
145
|
+
async function getSystemPromptStatus(req, res, parsedUrl, isLocal, deps) {
|
|
146
|
+
try {
|
|
147
|
+
const dir = await resolveDir(deps);
|
|
148
|
+
sendJson(res, 200, computeSystemPromptStatus(dir));
|
|
149
|
+
} catch (e) {
|
|
150
|
+
console.error('[CC Viewer] expert system-prompt-status GET failed:', e.message);
|
|
151
|
+
sendJson(res, 500, { error: 'read_failed' });
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
111
155
|
function postModelPrompts(req, res, parsedUrl, isLocal, deps) {
|
|
112
156
|
let body = '';
|
|
113
157
|
let truncated = false;
|
|
@@ -174,4 +218,5 @@ export const expertRoutes = [
|
|
|
174
218
|
{ method: 'GET', match: 'exact', path: '/api/expert/model-prompts', handler: getModelPrompts },
|
|
175
219
|
{ method: 'POST', match: 'exact', path: '/api/expert/model-prompts', handler: postModelPrompts },
|
|
176
220
|
{ method: 'GET', match: 'exact', path: '/api/expert/system-prompt-presets', handler: getSystemPromptPresets },
|
|
221
|
+
{ method: 'GET', match: 'exact', path: '/api/expert/system-prompt-status', handler: getSystemPromptStatus },
|
|
177
222
|
];
|
|
@@ -3,8 +3,8 @@ import { existsSync, readFileSync, writeFileSync, mkdirSync } from 'node:fs';
|
|
|
3
3
|
import { join, dirname } from 'node:path';
|
|
4
4
|
import { homedir } from 'node:os';
|
|
5
5
|
import { LOG_DIR, setLogDir, getClaudeConfigDir, discoverClaudeExecutables, resolveExplicitClaudePath, CLAUDE_EXECUTABLE_PREF_KEY } from '../../findcc.js';
|
|
6
|
-
import { PROFILE_PATH, _defaultConfig, getActiveProfileId, setActiveProfileForWorkspace, _loadProxyProfile, RETRY_CONFIG_PATH, _retryConfigState, _loadRetryConfigState } from '../interceptor.js';
|
|
7
|
-
import { migrateProxyProfileList } from '../lib/interceptor-core.js';
|
|
6
|
+
import { PROFILE_PATH, _defaultConfig, getActiveProfileId, getStoredRoles, isOfficialDefaultEndpoint, setActiveProfileForWorkspace, _loadProxyProfile, RETRY_CONFIG_PATH, _retryConfigState, _loadRetryConfigState } from '../interceptor.js';
|
|
7
|
+
import { migrateProxyProfileList, isValidRoleValue, PROXY_ROLE_KEYS } from '../lib/interceptor-core.js';
|
|
8
8
|
import { DEFAULT_RETRY_CONFIG, validateRetryConfig, resolveRetryConfig } from '../lib/proxy-retry.js';
|
|
9
9
|
import { discoverCcSwitchProviders, mergeImportedProfiles } from '../lib/ccswitch-import.js';
|
|
10
10
|
import { reportSwallowed } from '../lib/error-report.js';
|
|
@@ -307,7 +307,9 @@ function proxyProfilesGet(req, res, parsedUrl, isLocal, deps) {
|
|
|
307
307
|
// 本机(127.0.0.1)= admin:下发明文 profile.apiKey 供本人在编辑表单(👁 折叠)里查阅/复制;已授权
|
|
308
308
|
// 的远程客户端只拿脱敏值(****+后4位)。保存时若回传脱敏值,POST 侧 isMasked() 会保留磁盘原值。
|
|
309
309
|
// 镜像 /api/auth/state 的密码、/api/dingtalk/status 的 appSecret 策略。
|
|
310
|
-
|
|
310
|
+
// roles 返回**存储值**(不做休眠调整):休眠只是请求侧不生效,若返回有效值,UI 缓存后
|
|
311
|
+
// 在下次无关 POST 回写会把休眠中的分配清掉。officialDefault 驱动 UI 隐藏角色分配区。
|
|
312
|
+
const full = { ...data, active: effectiveActive, roles: getStoredRoles(), officialDefault: isOfficialDefaultEndpoint() };
|
|
311
313
|
const payload = isLocal ? full : deps.maskProfiles(full);
|
|
312
314
|
// defaultConfig.apiKey 始终脱敏:它在列表里是常显文本(无 👁 折叠),且 Max/OAuth 默认配置的 key
|
|
313
315
|
// 可能是 OAuth token;只有可编辑 profile 的 key 才按 isLocal 明文下发。
|
|
@@ -351,9 +353,24 @@ function proxyProfilesPost(req, res, parsedUrl, isLocal, deps) {
|
|
|
351
353
|
const dir = dirname(PROFILE_PATH);
|
|
352
354
|
if (!existsSync(dir)) mkdirSync(dir, { recursive: true });
|
|
353
355
|
writeFileSync(PROFILE_PATH, JSON.stringify(toWrite, null, 2), { mode: 0o600 });
|
|
354
|
-
//
|
|
355
|
-
|
|
356
|
-
|
|
356
|
+
// 角色分配校验:只认 subagent/teammate 两个 key(roles.main 之类的杂键直接丢弃);
|
|
357
|
+
// 值必须是 follow / max / 入参 profiles 里存在的 id(按将落盘的列表校验,而非旧文件),
|
|
358
|
+
// 非法值归 'follow'(宽容风格,不 400)。被删 profile 的悬空角色由读取时归 follow 兜底。
|
|
359
|
+
let sanitizedRoles;
|
|
360
|
+
if (incoming.roles && typeof incoming.roles === 'object' && !Array.isArray(incoming.roles)) {
|
|
361
|
+
const byId = new Map(incoming.profiles.map(p => [p.id, p]));
|
|
362
|
+
sanitizedRoles = {};
|
|
363
|
+
for (const k of PROXY_ROLE_KEYS) {
|
|
364
|
+
if (!(k in incoming.roles)) continue; // 未提交的 key 不进 patch → 合并时保留存储值
|
|
365
|
+
const v = incoming.roles[k];
|
|
366
|
+
// key 提交了但值非法(非字符串 / 悬空 id)→ 归 'follow'(显式纠正,不是保留)
|
|
367
|
+
sanitizedRoles[k] = (typeof v === 'string' && v && isValidRoleValue(v, byId)) ? v : 'follow';
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
// active/roles 走 workspace 级别存储(当前进程独占);合并语义:缺省字段保留文件现值
|
|
371
|
+
const hasActive = typeof incoming.active === 'string' && incoming.active;
|
|
372
|
+
if (hasActive || sanitizedRoles) {
|
|
373
|
+
setActiveProfileForWorkspace(hasActive ? incoming.active : undefined, sanitizedRoles);
|
|
357
374
|
} else {
|
|
358
375
|
_loadProxyProfile(); // 仅列表变化时也刷新一次以反映删除 / 重命名
|
|
359
376
|
}
|
|
@@ -361,7 +378,7 @@ function proxyProfilesPost(req, res, parsedUrl, isLocal, deps) {
|
|
|
361
378
|
const effectiveActive = getActiveProfileId();
|
|
362
379
|
const activeProfile = incoming.profiles?.find(p => p.id === effectiveActive) || null;
|
|
363
380
|
const maskedProfile = activeProfile?.apiKey ? { ...activeProfile, apiKey: deps.maskApiKey(activeProfile.apiKey) } : activeProfile;
|
|
364
|
-
sendEventToClients(deps.clients, 'proxy_profile', { active: effectiveActive, profile: maskedProfile });
|
|
381
|
+
sendEventToClients(deps.clients, 'proxy_profile', { active: effectiveActive, profile: maskedProfile, roles: getStoredRoles() });
|
|
365
382
|
res.writeHead(200, { 'Content-Type': 'application/json' });
|
|
366
383
|
res.end(JSON.stringify({ ok: true }));
|
|
367
384
|
} catch {
|
package/src/utils/toolCatalog.js
CHANGED
|
@@ -13,17 +13,18 @@
|
|
|
13
13
|
* Category `key` maps to i18n `ui.toolCatalog.cat.<key>` in src/i18n.js.
|
|
14
14
|
*/
|
|
15
15
|
export const TOOL_CATALOG = [
|
|
16
|
-
{ key: 'agent', tools: ['Agent', 'TaskCreate', 'TaskGet', 'TaskUpdate', 'TaskList', 'TaskOutput', 'TaskStop'] },
|
|
17
|
-
{ key: 'team', tools: ['
|
|
16
|
+
{ key: 'agent', tools: ['Agent', 'TaskCreate', 'TaskGet', 'TaskUpdate', 'TaskList', 'TaskOutput', 'TaskStop', 'ListAgents'] },
|
|
17
|
+
{ key: 'team', tools: ['SendMessage', 'Workflow', 'Monitor', 'SendFile', 'SendUserFile', 'SendUserMessage', 'EndConversation'] },
|
|
18
18
|
{ key: 'file', tools: ['Read', 'Edit', 'Write', 'NotebookEdit'] },
|
|
19
19
|
{ key: 'search', tools: ['Glob', 'Grep', 'ToolSearch'] },
|
|
20
|
-
{ key: 'terminal', tools: ['Bash'] },
|
|
20
|
+
{ key: 'terminal', tools: ['Bash', 'REPL'] },
|
|
21
21
|
{ key: 'web', tools: ['WebFetch', 'WebSearch', 'Artifact', 'DesignSync'] },
|
|
22
|
-
{ key: 'planning', tools: ['EnterPlanMode', 'ExitPlanMode', 'AskUserQuestion', 'Skill', 'ReportFindings'] },
|
|
22
|
+
{ key: 'planning', tools: ['EnterPlanMode', 'ExitPlanMode', 'AskUserQuestion', 'Skill', 'ReportFindings', 'TodoWrite', 'SendFeedback', 'Projects', 'ProposeGoal'] },
|
|
23
23
|
{ key: 'worktree', tools: ['EnterWorktree', 'ExitWorktree'] },
|
|
24
|
-
{ key: 'schedule', tools: ['CronCreate', 'CronDelete', 'CronList', 'ScheduleWakeup', 'PushNotification', 'RemoteTrigger'] },
|
|
25
|
-
{ key: 'ide', tools: ['
|
|
24
|
+
{ key: 'schedule', tools: ['CronCreate', 'CronDelete', 'CronList', 'ScheduleWakeup', 'PushNotification', 'RemoteTrigger', 'ReadNotifications'] },
|
|
25
|
+
{ key: 'ide', tools: ['LSP'] },
|
|
26
|
+
{ key: 'mcp', tools: ['ReadMcpResource', 'ReadMcpResourceDir', 'ListMcpResources', 'SearchMcpRegistry', 'SuggestConnectors', 'ListConnectors', 'SuggestPluginInstall', 'SuggestSkills', 'ListPlugins', 'ListSkills'] },
|
|
26
27
|
];
|
|
27
28
|
|
|
28
|
-
// Flat list of all tool names (
|
|
29
|
+
// Flat list of all tool names (57) — order follows TOOL_CATALOG.
|
|
29
30
|
export const ALL_TOOL_NAMES = TOOL_CATALOG.flatMap((c) => c.tools);
|
package/src/utils/v3Assembler.js
CHANGED
|
@@ -95,6 +95,7 @@ export function createV3Assembler() {
|
|
|
95
95
|
// teammates, persisted server-side (see agent-id.js).
|
|
96
96
|
if (row.agent) entry.agent = row.agent;
|
|
97
97
|
if (row.proxyUrl) entry.proxyUrl = row.proxyUrl;
|
|
98
|
+
if (row.proxyRole) entry.proxyRole = row.proxyRole;
|
|
98
99
|
if (isSnapshot) entry._isCheckpoint = true;
|
|
99
100
|
if (row.inProgress) {
|
|
100
101
|
entry.inProgress = true;
|
package/src/utils/v3Rows.js
CHANGED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# TeamCreate
|
|
2
|
-
|
|
3
|
-
يُنشئ فريق تعاون جديداً بقائمة مهام مشتركة وقناة رسائل بين الوكلاء. الفريق هو الأصل التنسيقي للعمل متعدد الوكلاء — تعمل الجلسة الرئيسية بوصفها قائداً وتُطلق زملاء فريق مسمَّين عبر أداة `Agent`.
|
|
4
|
-
|
|
5
|
-
## متى يُستخدم
|
|
6
|
-
|
|
7
|
-
- عندما يطلب المستخدم صراحةً فريقاً أو سرباً أو طاقماً أو تعاوناً متعدد الوكلاء.
|
|
8
|
-
- عندما يحتوي مشروع على عدة مسارات عمل مستقلة بوضوح تستفيد من متخصصين مخصصين (مثل واجهة أمامية، خلفية، اختبارات، توثيق).
|
|
9
|
-
- عندما تحتاج إلى قائمة مهام مشتركة دائمة يُحدّثها عدة وكلاء مع تقدمهم.
|
|
10
|
-
- عندما تريد زملاء فريق مسمَّين وقابلين للعنونة يمكنهم تبادل الرسائل عبر `SendMessage` بدلاً من استدعاءات وكيل فرعي ذات لقطة واحدة.
|
|
11
|
-
|
|
12
|
-
لا تستخدمه لبحث مُفوَّض واحد أو تفرُّع موازٍ لمرة واحدة — استدعاءات `Agent` العادية أخف وكافية.
|
|
13
|
-
|
|
14
|
-
## المعاملات
|
|
15
|
-
|
|
16
|
-
- `team_name` (سلسلة، مطلوب): معرف فريد للفريق. يُستخدم كاسم دليل تحت `~/.claude/teams/` وكوسيطة `team_name` عند إطلاق زملاء الفريق.
|
|
17
|
-
- `description` (سلسلة، مطلوب): بيان قصير لهدف الفريق. يُعرض على كل زميل فريق عند الإطلاق ويُكتب في إعداد الفريق.
|
|
18
|
-
- `agent_type` (سلسلة، اختياري): شخصية الوكيل الفرعي الافتراضية المطبقة على زملاء الفريق الذين لا يتجاوزونها. القيم النموذجية هي `general-purpose` أو `Explore` أو `Plan`.
|
|
19
|
-
|
|
20
|
-
## أمثلة
|
|
21
|
-
|
|
22
|
-
### مثال 1: إنشاء فريق إعادة هيكلة
|
|
23
|
-
|
|
24
|
-
```
|
|
25
|
-
TeamCreate(
|
|
26
|
-
team_name="refactor-crew",
|
|
27
|
-
description="Refactor the data access layer from raw SQL to Prisma, including migrations and tests.",
|
|
28
|
-
agent_type="general-purpose"
|
|
29
|
-
)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
بعد الإنشاء، أطلق زملاء فريق بـ `Agent` باستخدام `team_name: "refactor-crew"` وقيم `name` متميزة مثل `db-lead` و`migrations` و`tests`.
|
|
33
|
-
|
|
34
|
-
### مثال 2: إنشاء فريق تحقيق
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
TeamCreate(
|
|
38
|
-
team_name="perf-investigation",
|
|
39
|
-
description="Identify and rank the top three performance regressions introduced in the last release.",
|
|
40
|
-
agent_type="Explore"
|
|
41
|
-
)
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
يرث كل زميل فريق مُطلق `Explore` بوصفه شخصيته الافتراضية، بما يتوافق مع الطبيعة التحقيقية للقراءة فقط للعمل.
|
|
45
|
-
|
|
46
|
-
## ملاحظات
|
|
47
|
-
|
|
48
|
-
- يمكن قيادة فريق واحد فقط في كل مرة من جلسة معينة. أنهِ أو احذف الفريق الحالي قبل إنشاء آخر.
|
|
49
|
-
- الفريق 1:1 مع قائمة مهام مشتركة. يمتلك القائد إنشاء المهام وتعيينها وإغلاقها؛ بينما يُحدِّث زملاء الفريق حالة المهام التي يعملون عليها.
|
|
50
|
-
- يُستمر إعداد الفريق في `~/.claude/teams/{team_name}/config.json`، ويعيش دليل المهام بجواره. هذه الملفات تبقى عبر الجلسات حتى تُزال صراحةً بـ `TeamDelete`.
|
|
51
|
-
- يُطلق زملاء الفريق باستخدام أداة `Agent` مع `team_name` مطابق بالإضافة إلى `name` متميز. يصبح `name` هو العنوان المستخدم بواسطة `SendMessage`.
|
|
52
|
-
- اختر `team_name` آمناً لنظام الملفات (أحرف وأرقام وشرطات وشرطات سفلية). تجنب المسافات أو الشرطات المائلة.
|
|
53
|
-
- اكتب `description` بحيث يُفهم زميل فريق جديد، يقرؤه بدون سياق، هدف الفريق دون مزيد من السياق. يصبح جزءاً من موجه بدء كل زميل فريق.
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# TeamDelete
|
|
2
|
-
|
|
3
|
-
يُفكك الفريق النشط حالياً، ويُزيل دليل إعداده ودليل المهام المشترك. هذا هو نظير التنظيف لـ `TeamCreate` ويُستدعى عادة بعد تحقيق هدف الفريق وإيقاف جميع زملاء الفريق.
|
|
4
|
-
|
|
5
|
-
## متى يُستخدم
|
|
6
|
-
|
|
7
|
-
- عندما يكمل الفريق عمله ويُسلَّم التقرير النهائي للمستخدم.
|
|
8
|
-
- عندما أُنشئ الفريق عن طريق الخطأ أو تغير نطاقه بشكل جذري بحيث يكون البدء من جديد أنظف من المتابعة.
|
|
9
|
-
- عندما تحتاج إلى إنشاء فريق جديد لكن واحداً نشط بالفعل — احذف القديم أولاً، لأنه يمكن قيادة فريق واحد فقط في كل مرة.
|
|
10
|
-
- عندما يصبح فريق راكداً عبر الجلسات ولا تعود حالته المستمرة تحت `~/.claude/teams/` مطلوبة.
|
|
11
|
-
|
|
12
|
-
لا تستدعِه بينما لا يزال زملاء الفريق يعملون — أوقفهم أولاً عبر `SendMessage` بـ `shutdown_request`، وانتظر كل `shutdown_response`، ثم احذف.
|
|
13
|
-
|
|
14
|
-
## المعاملات
|
|
15
|
-
|
|
16
|
-
`TeamDelete` لا يأخذ معاملات في استدعائه النموذجي. يعمل على الفريق النشط حالياً الذي تملكه الجلسة المُستدعية.
|
|
17
|
-
|
|
18
|
-
## أمثلة
|
|
19
|
-
|
|
20
|
-
### مثال 1: إيقاف تشغيل روتيني بعد النجاح
|
|
21
|
-
|
|
22
|
-
1. بث طلب إيقاف تشغيل للفريق:
|
|
23
|
-
```
|
|
24
|
-
SendMessage(to="*", message={ "type": "shutdown_request" })
|
|
25
|
-
```
|
|
26
|
-
2. انتظر رد كل زميل فريق بـ `shutdown_response`.
|
|
27
|
-
3. استدعِ `TeamDelete()` لإزالة دليل الفريق ودليل المهام.
|
|
28
|
-
|
|
29
|
-
### مثال 2: استبدال فريق معدّ بشكل خاطئ
|
|
30
|
-
|
|
31
|
-
إذا استُدعي `TeamCreate` بـ `agent_type` أو `description` خاطئ، تأكد أولاً من عدم إطلاق أي زملاء فريق بعد (أو أوقفهم)، ثم:
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
TeamDelete()
|
|
35
|
-
TeamCreate(team_name="...", description="...", agent_type="...")
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## ملاحظات
|
|
39
|
-
|
|
40
|
-
- يفشل `TeamDelete` إذا كان أي زميل فريق لا يزال نشطاً. تسرد استجابة الخطأ زملاء الفريق الأحياء — أرسل لكل منهم `shutdown_request` عبر `SendMessage`، وانتظر `shutdown_response` الخاص بهم، وأعد المحاولة.
|
|
41
|
-
- الحذف لا يمكن التراجع عنه من منظور الأداة. إعداد الفريق في `~/.claude/teams/{team_name}/config.json` ودليل مهامه يُزالان من القرص. إذا احتجت إلى الحفاظ على قائمة المهام، فصدِّرها أو انسخ الدليل قبل الحذف.
|
|
42
|
-
- فقط جلسة القائد التي أنشأت الفريق يمكنها حذفه. لا يمكن لزميل فريق مُطلق أن يستدعي `TeamDelete` على فريقه الخاص.
|
|
43
|
-
- حذف الفريق لا يتراجع عن أي تغييرات في نظام الملفات أجراها زملاء الفريق في المستودع. تلك تعديلات عادية متعقَّبة بـ git ويجب التراجع عنها بشكل منفصل إذا لم تكن مرغوبة.
|
|
44
|
-
- بعد عودة `TeamDelete` بنجاح، تكون الجلسة حرة في استدعاء `TeamCreate` مرة أخرى لفريق جديد.
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# executeCode
|
|
2
|
-
|
|
3
|
-
يُنفِّذ مقتطف شفرة داخل نواة حية أو صندوق رمل يُقدِّمه تكامل IDE (مثل نواة Jupyter المرتبطة بالدفتر المفتوح حالياً). تكون الأداة موجودة فقط عندما يعمل Claude Code جنباً إلى جنب مع جسر IDE متوافق مثل ملحق VS Code مع نواة Jupyter محددة.
|
|
4
|
-
|
|
5
|
-
## متى يُستخدم
|
|
6
|
-
|
|
7
|
-
- تشغيل حساب سريع أو فحص بيانات أو رسم مقابل الحالة المحمَّلة بالفعل في نواة Jupyter نشطة.
|
|
8
|
-
- التحقق من مقتطف شفرة قبل لصقه في خلية دفتر.
|
|
9
|
-
- استكشاف إطار بيانات في الذاكرة أو متغير أو نموذج موجود في النواة لكن غير مُسلسل على القرص.
|
|
10
|
-
- إنتاج رسم بياني أو نتيجة عددية يريد المستخدم عرضها داخلياً في IDE.
|
|
11
|
-
|
|
12
|
-
لا تستخدمه لسكربتات مستقلة تكون أفضل بتشغيل `Bash` لـ `python script.py`، أو لشفرة تحتاج إلى الاستمرار عبر نواة جديدة.
|
|
13
|
-
|
|
14
|
-
## المعاملات
|
|
15
|
-
|
|
16
|
-
- `code` (سلسلة، مطلوب): الشفرة المراد تنفيذها في النواة الحالية. تعمل كما لو لُصقت في خلية دفتر — المتغيرات المُعرَّفة تستمر في النواة حتى يُعاد تشغيلها.
|
|
17
|
-
- `language` (سلسلة، اختياري): لغة المقتطف عندما يدعم جسر IDE عدة أنوية. غالباً ما يُحذف؛ الافتراضي هو لغة النواة النشطة (Python عادة).
|
|
18
|
-
|
|
19
|
-
## أمثلة
|
|
20
|
-
|
|
21
|
-
### مثال 1: فحص إطار بيانات في الذاكرة
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
executeCode(
|
|
25
|
-
code="df.head()\nprint(df.shape)\nprint(df.dtypes)"
|
|
26
|
-
)
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
يُعيد الصفوف الأولى والشكل وأنواع الأعمدة لإطار بيانات مُحمَّل بالفعل في النواة.
|
|
30
|
-
|
|
31
|
-
### مثال 2: فحص عددي سريع
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
executeCode(
|
|
35
|
-
code="import numpy as np\nnp.mean([1, 2, 3, 4, 5])"
|
|
36
|
-
)
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
يُشغِّل حساباً لمرة واحدة دون إنشاء خلية دفتر.
|
|
40
|
-
|
|
41
|
-
## ملاحظات
|
|
42
|
-
|
|
43
|
-
- `executeCode` أداة جسر IDE. غير متاحة في جلسات Claude Code العادية في الطرفية؛ تظهر فقط عندما تكون الجلسة متصلة بـ IDE يعرض نواة (مثل ملحق Jupyter لـ VS Code).
|
|
44
|
-
- الحالة تستمر في النواة. المتغيرات المُعرَّفة باستدعاء `executeCode` تبقى مرئية للاستدعاءات اللاحقة ولخلايا الدفتر وللمستخدم — كن مدركاً للآثار الجانبية.
|
|
45
|
-
- ستحجب الشفرة طويلة الأمد أو الحاجبة النواة. أبقِ المقتطفات قصيرة؛ للعمل الذي يستغرق عدة دقائق، اكتب سكربتاً فعلياً وشغِّله عبر `Bash`.
|
|
46
|
-
- تُعاد المخرجات (stdout، القيم المُرجعة، الصور) إلى الجلسة. قد يُقتطع جسر IDE المخرجات الكبيرة جداً.
|
|
47
|
-
- لتعديلات الملفات، فضِّل `Edit` أو `Write` أو `NotebookEdit` — `executeCode` ليس بديلاً لتأليف ملفات المصدر.
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# getDiagnostics
|
|
2
|
-
|
|
3
|
-
يسترجع تشخيصات خادم اللغة (أخطاء، تحذيرات، تلميحات) من IDE المتصل لملف معين أو لكل ملف يفتحه IDE حالياً. يُستخدم للتحقق من أن تغييرات الشفرة تُصنَّف نظيفاً قبل الإعلان عن إنجاز المهمة.
|
|
4
|
-
|
|
5
|
-
## متى يُستخدم
|
|
6
|
-
|
|
7
|
-
- بعد `Edit` أو `Write` للتأكد من أن التغيير لم يُدخل خطأ نوع أو صياغة أو تحذير lint.
|
|
8
|
-
- قبل إنهاء مهمة لمسح كل ملف مفتوح بحثاً عن مشاكل غير محلولة.
|
|
9
|
-
- عند تشخيص خطأ يُبلِّغ عنه المستخدم — سحب الرسالة الدقيقة من المُصنِّف أو مُفحص النوع من IDE يتجنب التخمين.
|
|
10
|
-
- كبديل خفيف لتشغيل أمر بناء أو اختبار كامل عندما تحتاج فقط إلى فحص الصحة الثابتة.
|
|
11
|
-
|
|
12
|
-
لا تعتمد على `getDiagnostics` بديلاً لمجموعة الاختبارات. يُبلِّغ عما يراه خادم اللغة، لا عما يعمل في وقت الاختبار أو الإنتاج.
|
|
13
|
-
|
|
14
|
-
## المعاملات
|
|
15
|
-
|
|
16
|
-
- `uri` (سلسلة، اختياري): URI الملف (عادة `file:///absolute/path`) لجلب تشخيصات له. عند الحذف، تُعيد الأداة التشخيصات لكل ملف يفتحه IDE حالياً.
|
|
17
|
-
|
|
18
|
-
## أمثلة
|
|
19
|
-
|
|
20
|
-
### مثال 1: فحص ملف واحد بعد التعديل
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
getDiagnostics(
|
|
24
|
-
uri="file:///Users/sky/project/src/auth.ts"
|
|
25
|
-
)
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
يُعيد أي أخطاء TypeScript أو تحذيرات ESLint أو رسائل خادم اللغة الأخرى لـ `src/auth.ts`.
|
|
29
|
-
|
|
30
|
-
### مثال 2: مسح جميع الملفات المفتوحة
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
getDiagnostics()
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
يُعيد التشخيصات عبر كل محرر مفتوح حالياً. مفيد في نهاية إعادة هيكلة متعددة الملفات للتأكد من عدم تراجع أي شيء آخر.
|
|
37
|
-
|
|
38
|
-
## ملاحظات
|
|
39
|
-
|
|
40
|
-
- `getDiagnostics` أداة جسر IDE. متاحة فقط عندما يكون Claude Code متصلاً بتكامل IDE داعم (مثل ملحق VS Code). في جلسة طرفية عادية لن تظهر الأداة.
|
|
41
|
-
- تعكس النتائج أياً من خوادم اللغة التي حمَّلها IDE — TypeScript، Pyright، ESLint، rust-analyzer، إلخ. الجودة والتغطية تعتمدان على إعداد IDE للمستخدم، لا على Claude Code.
|
|
42
|
-
- التشخيصات حية. بعد التعديل، أعطِ خادم اللغة لحظة لإعادة التحليل قبل تفسير نتيجة فارغة نجاحاً — أعد التشغيل إذا كان الملف قد حُفظ للتو.
|
|
43
|
-
- تشمل مستويات الخطورة عادة `error` و`warning` و`information` و`hint`. ركِّز على `error` أولاً؛ قد تكون التحذيرات أسلوب مشروع مقصوداً.
|
|
44
|
-
- للملفات غير المفتوحة حالياً في IDE، قد لا يملك خادم اللغة تشخيصات للإبلاغ عنها حتى لو احتوى الملف على مشاكل حقيقية. افتح الملف أو شغِّل البناء للتغطية الموثوقة.
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# TeamCreate
|
|
2
|
-
|
|
3
|
-
Etablerer et nyt samarbejdsteam med en delt opgaveliste og en kanal for inter-agent-beskeder. Et team er koordinationsprimitivet for multi-agent-arbejde — hovedsessionen fungerer som leder og starter navngivne holdkammerater via `Agent`-værktøjet.
|
|
4
|
-
|
|
5
|
-
## Hvornår skal den bruges
|
|
6
|
-
|
|
7
|
-
- Brugeren anmoder udtrykkeligt om et team, en swarm, et crew eller multi-agent-samarbejde.
|
|
8
|
-
- Et projekt har flere klart uafhængige arbejdsstrømme, der drager fordel af dedikerede specialister (f.eks. frontend, backend, tests, docs).
|
|
9
|
-
- Du har brug for en vedvarende delt opgaveliste, som flere agenter opdaterer, mens de gør fremskridt.
|
|
10
|
-
- Du ønsker navngivne, adresserbare holdkammerater, der kan udveksle beskeder via `SendMessage` frem for one-shot underagentkald.
|
|
11
|
-
|
|
12
|
-
Brug det IKKE til en enkelt delegeret søgning eller en engangs parallel fan-out — almindelige `Agent`-kald er lettere og tilstrækkelige.
|
|
13
|
-
|
|
14
|
-
## Parametre
|
|
15
|
-
|
|
16
|
-
- `team_name` (string, påkrævet): Unik identifikator for teamet. Bruges som mappenavn under `~/.claude/teams/` og som `team_name`-argument ved start af holdkammerater.
|
|
17
|
-
- `description` (string, påkrævet): Kort erklæring om teamets mål. Vises for hver holdkammerat ved start og skrives i teamkonfigurationen.
|
|
18
|
-
- `agent_type` (string, valgfri): Standard-underagent-persona anvendt på holdkammerater, der ikke tilsidesætter den. Typiske værdier er `general-purpose`, `Explore` eller `Plan`.
|
|
19
|
-
|
|
20
|
-
## Eksempler
|
|
21
|
-
|
|
22
|
-
### Eksempel 1: Opret et refaktoreringsteam
|
|
23
|
-
|
|
24
|
-
```
|
|
25
|
-
TeamCreate(
|
|
26
|
-
team_name="refactor-crew",
|
|
27
|
-
description="Refactor the data access layer from raw SQL to Prisma, including migrations and tests.",
|
|
28
|
-
agent_type="general-purpose"
|
|
29
|
-
)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
Efter oprettelse start holdkammerater med `Agent` ved hjælp af `team_name: "refactor-crew"` og distinkte `name`-værdier som `db-lead`, `migrations` og `tests`.
|
|
33
|
-
|
|
34
|
-
### Eksempel 2: Opret et undersøgelsesteam
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
TeamCreate(
|
|
38
|
-
team_name="perf-investigation",
|
|
39
|
-
description="Identify and rank the top three performance regressions introduced in the last release.",
|
|
40
|
-
agent_type="Explore"
|
|
41
|
-
)
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Hver startet holdkammerat arver `Explore` som sin standardpersona, hvilket matcher arbejdets skrivebeskyttede undersøgende natur.
|
|
45
|
-
|
|
46
|
-
## Noter
|
|
47
|
-
|
|
48
|
-
- Kun ét team kan ledes ad gangen fra en given session. Afslut eller slet det aktuelle team, før du opretter et andet.
|
|
49
|
-
- Et team er 1:1 med en delt opgaveliste. Lederen ejer opgaveoprettelse, tildeling og lukning; holdkammerater opdaterer status på opgaver, de arbejder på.
|
|
50
|
-
- Teamkonfiguration persisteres på `~/.claude/teams/{team_name}/config.json`, og opgavebiblioteket ligger ved siden af den. Disse filer overlever på tværs af sessioner, indtil de eksplicit fjernes med `TeamDelete`.
|
|
51
|
-
- Holdkammerater startes ved hjælp af `Agent`-værktøjet med matchende `team_name` plus et distinkt `name`. `name` bliver den adresse, der bruges af `SendMessage`.
|
|
52
|
-
- Vælg et `team_name`, der er filsystemsikkert (bogstaver, cifre, bindestreger, understregninger). Undgå mellemrum eller skråstreger.
|
|
53
|
-
- Skriv `description`, så en helt ny holdkammerat, der læser den koldt, ville forstå teamets mål uden yderligere kontekst. Den bliver en del af hver holdkammerats startprompt.
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# TeamDelete
|
|
2
|
-
|
|
3
|
-
Nedbryder det aktuelt aktive team, fjerner dets konfigurationsmappe og delte opgavebibliotek. Dette er oprydningsmodstykket til `TeamCreate` og kaldes typisk, efter teamets mål er nået, og alle holdkammerater er lukket ned.
|
|
4
|
-
|
|
5
|
-
## Hvornår skal den bruges
|
|
6
|
-
|
|
7
|
-
- Teamet har fuldført sit arbejde, og den endelige rapport er leveret til brugeren.
|
|
8
|
-
- Teamet blev oprettet ved en fejl, eller dets omfang har ændret sig så drastisk, at det er renere at starte forfra end at fortsætte.
|
|
9
|
-
- Du skal oprette et nyt team, men et er allerede aktivt — slet det gamle først, da kun ét team kan ledes ad gangen.
|
|
10
|
-
- Et team er blevet forældet på tværs af sessioner, og dets persisterede tilstand under `~/.claude/teams/` er ikke længere nødvendig.
|
|
11
|
-
|
|
12
|
-
Kald det IKKE, mens holdkammerater stadig kører — luk dem først ned via `SendMessage` med en `shutdown_request`, vent på hver `shutdown_response`, og slet så.
|
|
13
|
-
|
|
14
|
-
## Parametre
|
|
15
|
-
|
|
16
|
-
`TeamDelete` tager ingen parametre i sin typiske invokering. Den opererer på det aktuelt aktive team ejet af den kaldende session.
|
|
17
|
-
|
|
18
|
-
## Eksempler
|
|
19
|
-
|
|
20
|
-
### Eksempel 1: Rutinemæssig nedlukning efter succes
|
|
21
|
-
|
|
22
|
-
1. Broadcast en nedlukningsanmodning til teamet:
|
|
23
|
-
```
|
|
24
|
-
SendMessage(to="*", message={ "type": "shutdown_request" })
|
|
25
|
-
```
|
|
26
|
-
2. Vent på, at hver holdkammerat svarer med et `shutdown_response`.
|
|
27
|
-
3. Kald `TeamDelete()` for at fjerne teammappen og opgavebiblioteket.
|
|
28
|
-
|
|
29
|
-
### Eksempel 2: Udskiftning af et fejlkonfigureret team
|
|
30
|
-
|
|
31
|
-
Hvis `TeamCreate` blev kaldt med den forkerte `agent_type` eller `description`, sørg først for, at ingen holdkammerater er blevet startet endnu (eller luk dem ned), og derefter:
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
TeamDelete()
|
|
35
|
-
TeamCreate(team_name="...", description="...", agent_type="...")
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Noter
|
|
39
|
-
|
|
40
|
-
- `TeamDelete` fejler, hvis nogen holdkammerat stadig er aktiv. Fejlsvaret lister de aktive holdkammerater — send hver af dem en `shutdown_request` via `SendMessage`, vent på deres `shutdown_response`, og prøv igen.
|
|
41
|
-
- Sletning er irreversibel fra værktøjets perspektiv. Teamets konfiguration på `~/.claude/teams/{team_name}/config.json` og dets opgavebibliotek fjernes fra disken. Hvis du har brug for, at opgavelisten bevares, eksportér eller kopiér biblioteket, før du sletter.
|
|
42
|
-
- Kun lederens session, der oprettede teamet, kan slette det. En startet holdkammerat kan ikke kalde `TeamDelete` på sit eget team.
|
|
43
|
-
- Sletning af teamet ruller ikke filsystemændringer tilbage, som holdkammerater foretog i repoet. Disse er almindelige git-sporede redigeringer og skal vendes separat, hvis uønskede.
|
|
44
|
-
- Efter at `TeamDelete` er returneret med succes, er sessionen fri til at kalde `TeamCreate` igen for et nyt team.
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# executeCode
|
|
2
|
-
|
|
3
|
-
Udfører et kodeuddrag inde i en live kernel eller sandbox leveret af en IDE-integration (for eksempel Jupyter-kernen bundet til den aktuelt åbne notebook). Værktøjet er kun til stede, når Claude Code kører sammen med en kompatibel IDE-bro som VS Code-udvidelsen med en Jupyter-kerne valgt.
|
|
4
|
-
|
|
5
|
-
## Hvornår skal den bruges
|
|
6
|
-
|
|
7
|
-
- Kør en hurtig beregning, dataundersøgelse eller et plot mod den tilstand, der allerede er indlæst i en aktiv Jupyter-kerne.
|
|
8
|
-
- Validér et kodeuddrag, før det indsættes i en notebook-celle.
|
|
9
|
-
- Udforsk en in-memory dataframe, variabel eller model, der eksisterer i kernen, men som ikke er serialiseret til disk.
|
|
10
|
-
- Producér et diagram eller numerisk resultat, som brugeren ønsker gengivet inline i IDE'et.
|
|
11
|
-
|
|
12
|
-
Brug det IKKE til selvstændige scripts, der ville være bedre tjent med `Bash`, der kører `python script.py`, eller til kode, der skal persistere på tværs af en frisk kerne.
|
|
13
|
-
|
|
14
|
-
## Parametre
|
|
15
|
-
|
|
16
|
-
- `code` (string, påkrævet): Koden, der skal udføres i den aktuelle kerne. Kører, som om den blev indsat i en notebook-celle — definerede variabler persisterer i kernen, indtil den genstartes.
|
|
17
|
-
- `language` (string, valgfri): Uddragets sprog, når IDE-broen understøtter flere kerner. Oftest udeladt; standard er sproget for den aktive kerne (typisk Python).
|
|
18
|
-
|
|
19
|
-
## Eksempler
|
|
20
|
-
|
|
21
|
-
### Eksempel 1: Inspicér en in-memory dataframe
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
executeCode(
|
|
25
|
-
code="df.head()\nprint(df.shape)\nprint(df.dtypes)"
|
|
26
|
-
)
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Returnerer de første rækker, formen og kolonne-dtypes for en dataframe, der allerede er indlæst i kernen.
|
|
30
|
-
|
|
31
|
-
### Eksempel 2: Hurtigt numerisk tjek
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
executeCode(
|
|
35
|
-
code="import numpy as np\nnp.mean([1, 2, 3, 4, 5])"
|
|
36
|
-
)
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
Kører en engangs-beregning uden at oprette en notebook-celle.
|
|
40
|
-
|
|
41
|
-
## Noter
|
|
42
|
-
|
|
43
|
-
- `executeCode` er et IDE-bro-værktøj. Det er utilgængeligt i almindelige terminalsessioner af Claude Code; det vises kun, når sessionen er forbundet til et IDE, der eksponerer en kerne (for eksempel VS Code Jupyter-udvidelsen).
|
|
44
|
-
- Tilstand persisterer i kernen. Variabler defineret af et `executeCode`-kald forbliver synlige for senere kald, for notebook-celler og for brugeren — vær opmærksom på sideeffekter.
|
|
45
|
-
- Langvarig eller blokerende kode vil blokere kernen. Hold uddrag korte; til flerminut-arbejde, skriv et faktisk script og kør det via `Bash`.
|
|
46
|
-
- Output (stdout, returværdier, billeder) returneres til sessionen. Meget store output kan afkortes af IDE-broen.
|
|
47
|
-
- Til filredigeringer foretræk `Edit`, `Write` eller `NotebookEdit` — `executeCode` er ikke en erstatning for at skrive kildefiler.
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# getDiagnostics
|
|
2
|
-
|
|
3
|
-
Henter language-server-diagnostik (fejl, advarsler, hints) fra det tilsluttede IDE for en specifik fil eller for hver fil, IDE'et aktuelt har åben. Bruges til at verificere, at kodeændringer kompilerer rent, før en opgave erklæres færdig.
|
|
4
|
-
|
|
5
|
-
## Hvornår skal den bruges
|
|
6
|
-
|
|
7
|
-
- Efter en `Edit` eller `Write` for at bekræfte, at ændringen ikke introducerede en typefejl, syntaksfejl eller lint-advarsel.
|
|
8
|
-
- Før en opgave afsluttes for at feje hver åben fil for uløste problemer.
|
|
9
|
-
- Ved diagnosticering af en fejl, brugeren rapporterer — at hente den nøjagtige compiler- eller type-checker-besked fra IDE'et undgår gætværk.
|
|
10
|
-
- Som et letvægtsalternativ til at køre en fuld build eller testkommando, når du kun har brug for at tjekke statisk korrekthed.
|
|
11
|
-
|
|
12
|
-
Stol IKKE på `getDiagnostics` som erstatning for testsuiten. Den rapporterer, hvad language-serveren ser, ikke hvad der kører på test- eller produktionstidspunktet.
|
|
13
|
-
|
|
14
|
-
## Parametre
|
|
15
|
-
|
|
16
|
-
- `uri` (string, valgfri): Filen-URI (typisk `file:///absolute/path`) at hente diagnostik for. Når den udelades, returnerer værktøjet diagnostik for hver fil, IDE'et aktuelt har åben.
|
|
17
|
-
|
|
18
|
-
## Eksempler
|
|
19
|
-
|
|
20
|
-
### Eksempel 1: Tjek en enkelt fil efter redigering
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
getDiagnostics(
|
|
24
|
-
uri="file:///Users/sky/project/src/auth.ts"
|
|
25
|
-
)
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Returnerer eventuelle TypeScript-fejl, ESLint-advarsler eller andre language-server-beskeder for `src/auth.ts`.
|
|
29
|
-
|
|
30
|
-
### Eksempel 2: Fej alle åbne filer
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
getDiagnostics()
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
Returnerer diagnostik på tværs af hver aktuelt åben editor. Nyttigt i slutningen af en multi-fil-refaktorering for at sikre, at intet regresserede andetsteds.
|
|
37
|
-
|
|
38
|
-
## Noter
|
|
39
|
-
|
|
40
|
-
- `getDiagnostics` er et IDE-bro-værktøj. Det er kun tilgængeligt, når Claude Code er forbundet til en understøttende IDE-integration (for eksempel VS Code-udvidelsen). I en almindelig terminalsession vil værktøjet ikke vises.
|
|
41
|
-
- Resultaterne afspejler de language-servere, IDE'et har indlæst — TypeScript, Pyright, ESLint, rust-analyzer osv. Kvalitet og dækning afhænger af brugerens IDE-opsætning, ikke af Claude Code.
|
|
42
|
-
- Diagnostik er live. Efter en redigering, giv language-serveren et øjeblik til at genanalysere, før et tomt resultat fortolkes som succes — kør igen, hvis filen lige blev gemt.
|
|
43
|
-
- Alvorlighedsniveauer inkluderer typisk `error`, `warning`, `information` og `hint`. Fokusér på `error` først; advarsler kan være bevidst projektstil.
|
|
44
|
-
- For filer, der ikke aktuelt er åbne i IDE'et, kan language-serveren intet have at rapportere, selv hvis filen indeholder reelle problemer. Åbn filen eller kør buildet for autoritativ dækning.
|