cc-viewer 1.7.22 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/cli.js +92 -11
- package/concepts/ar/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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/GlobalSettings.md +2 -2
- 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-BaKGIW0-.js → App-CCu0y2Cq.js} +2 -2
- package/dist/assets/{MdxEditorPanel-DG-UE0PC.js → MdxEditorPanel-BBhgTmDk.js} +1 -1
- package/dist/assets/{Mobile-CQaUYdaf.js → Mobile-vN4lyiaz.js} +1 -1
- package/dist/assets/{ProxyStatsModal-j-Aty9Lu.js → ProxyStatsModal-BOflqr0R.js} +1 -1
- package/dist/assets/index-C3BRHDVF.js +2 -0
- package/dist/assets/seqResourceLoaders-DI0G5nu1.css +41 -0
- package/dist/assets/seqResourceLoaders-DpYqp6SP.js +2 -0
- package/dist/index.html +1 -1
- package/findcc.js +17 -8
- package/node_modules/@ccv/core/package.json +13 -0
- package/{server/lib → node_modules/@ccv/core/src}/approval-modal-prefs.js +1 -1
- package/node_modules/@ccv/core/src/clearCheckpoint.js +7 -0
- package/{src/utils → node_modules/@ccv/core/src}/contentFilter.js +207 -141
- package/{server/lib → node_modules/@ccv/core/src}/context-rules.js +2 -2
- package/{server/lib → node_modules/@ccv/core/src}/delta-reconstructor.js +60 -4
- package/{server/lib → node_modules/@ccv/core/src}/error-report.js +5 -4
- package/{server/lib → node_modules/@ccv/core/src}/session-boundary.js +3 -3
- package/{src/utils → node_modules/@ccv/core/src}/teammateDetector.js +9 -0
- package/{server/lib → node_modules/@ccv/core/src}/tools-xml-formatter.js +3 -3
- package/{server/lib → node_modules/@ccv/core/src}/v2-transcript-normalizer.js +1 -1
- package/{server/lib → node_modules/@ccv/core/src}/voice-pack-events.js +2 -2
- package/package.json +11 -96
- package/server/_paths.js +28 -7
- package/server/i18n.js +60 -0
- package/server/interceptor.js +36 -11
- package/server/lib/adapters/dingtalk-adapter.js +2 -2
- package/server/lib/adapters/discord-adapter.js +2 -2
- package/server/lib/adapters/feishu-adapter.js +2 -2
- package/server/lib/adapters/wecom-adapter.js +2 -2
- package/server/lib/approval-policy.js +29 -0
- package/server/lib/{ask-store.js → ask/ask-store.js} +3 -3
- package/server/lib/{perm-bridge.js → ask/perm-bridge.js} +5 -5
- package/server/lib/chat-queue.js +341 -0
- package/server/lib/cli-inject.js +1 -1
- package/server/lib/context-watcher.js +3 -3
- package/server/lib/create_system_prompt.js +0 -9
- package/server/lib/enrich-plan-input.js +1 -1
- package/server/lib/ensure-hooks.js +2 -2
- package/server/lib/file-access-policy.js +6 -1
- package/server/lib/file-api.js +17 -1
- package/server/lib/{dingtalk-bridge.js → im/dingtalk-bridge.js} +1 -1
- package/server/lib/{im-append-system.js → im/im-append-system.js} +5 -13
- package/server/lib/{im-bridge-core.js → im/im-bridge-core.js} +12 -6
- package/server/lib/{im-config.js → im/im-config.js} +1 -1
- package/server/lib/im/im-deny.js +4 -0
- package/server/lib/{im-lang.js → im/im-lang.js} +1 -1
- package/server/lib/{im-lock.js → im/im-lock.js} +2 -2
- package/server/lib/{im-process-manager.js → im/im-process-manager.js} +1 -1
- package/server/lib/{im-senders.js → im/im-senders.js} +1 -1
- package/server/lib/{im-skills.js → im/im-skills.js} +2 -2
- package/server/lib/interceptor-core.js +8 -5
- package/server/lib/kv-cache-analyzer.js +6 -5
- package/server/lib/launch-config.js +321 -0
- package/server/lib/log-file-utils.js +21 -0
- package/server/lib/log-management.js +6 -17
- package/server/lib/log-stream.js +1 -1
- package/server/lib/log-watcher.js +1 -1
- package/server/lib/model-system-prompts.js +1 -1
- package/server/lib/prefs-store.js +2 -2
- package/server/lib/project-prefs.js +6 -6
- package/server/lib/project-state.js +15 -0
- package/server/lib/{proxy-retry.js → proxy/proxy-retry.js} +2 -2
- package/server/lib/{proxy-stats.js → proxy/proxy-stats.js} +3 -3
- package/server/lib/sdk-adapter.js +6 -74
- package/server/lib/sdk-manager.js +383 -278
- package/server/lib/skills-api.js +1 -1
- package/server/lib/spawn-model-resolver.js +21 -6
- package/server/lib/stats-worker.js +2 -2
- package/server/lib/system-prompt-files.js +11 -10
- package/server/lib/system-prompt-render.js +23 -7
- package/server/lib/system-prompt-snapshots.js +452 -0
- package/server/lib/updater.js +63 -3
- package/server/lib/user-prompt-extract.js +5 -5
- package/server/lib/v2/adapter.js +3 -3
- package/server/lib/v2/conversation-store.js +1 -1
- package/server/lib/v2/convert.js +3 -3
- package/server/lib/v2/jsonl-read.js +1 -1
- package/server/lib/v2/live-feed.js +3 -3
- package/server/lib/v2/meta-rows.js +3 -3
- package/server/lib/v2/replay.js +1 -1
- package/server/lib/v2/session-list.js +1 -1
- package/server/lib/v2/session-owner.js +1 -1
- package/server/lib/v2/v2-writer.js +26 -1
- package/server/lib/v2/verify.js +1 -1
- package/server/lib/voice-pack-manager.js +4 -5
- package/server/lib/wire-compress.js +1 -1
- package/server/proxy.js +5 -5
- package/server/pty-manager.js +282 -184
- package/server/routes/ask-perm.js +1 -1
- package/server/routes/dingtalk.js +3 -3
- package/server/routes/events.js +2 -2
- package/server/routes/im.js +5 -5
- package/server/routes/preferences.js +3 -3
- package/server/routes/workspaces.js +1 -1
- package/server/server.js +207 -58
- package/server/system-prompt-templates/systemPromptModel.md +0 -8
- package/server/system-prompt-templates/systemPromptVariables.ar.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.da.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.de.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.es.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.fr.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.it.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.ja.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.ko.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.no.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.pl.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.pt-BR.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.ru.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.th.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.tr.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.uk.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.zh-TW.md +0 -7
- package/server/system-prompt-templates/systemPromptVariables.zh.md +0 -7
- 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/index-CyiyzBfV.js +0 -2
- package/dist/assets/seqResourceLoaders-BgD_Rwvc.css +0 -41
- package/dist/assets/seqResourceLoaders-XMiEIVyV.js +0 -2
- package/src/utils/apiUrl.js +0 -26
- package/src/utils/askFallback.js +0 -21
- package/src/utils/askOptionDesc.js +0 -55
- package/src/utils/askPortalMatcher.js +0 -54
- package/src/utils/autoApproveOptions.js +0 -27
- package/src/utils/avatarAnimationPostPass.js +0 -49
- package/src/utils/builtinPresets.js +0 -18
- package/src/utils/clearCheckpoint.js +0 -7
- package/src/utils/commandValidator.js +0 -45
- package/src/utils/contextRaw.js +0 -18
- package/src/utils/contextSidebarNavigation.js +0 -16
- package/src/utils/contextTurns.js +0 -117
- package/src/utils/displayScaleHelper.js +0 -47
- package/src/utils/effectiveModel.js +0 -17
- package/src/utils/entry-slim.js +0 -563
- package/src/utils/entryCache.js +0 -144
- package/src/utils/errorReport.js +0 -6
- package/src/utils/fileExpandedPathsStorage.js +0 -70
- package/src/utils/fileIcons.jsx +0 -36
- package/src/utils/fileOpen.js +0 -37
- package/src/utils/formatters.js +0 -48
- package/src/utils/gitApi.js +0 -50
- package/src/utils/gitTreeBuilder.js +0 -19
- package/src/utils/helpers.js +0 -854
- package/src/utils/identityHeal.js +0 -108
- package/src/utils/imConnState.js +0 -59
- package/src/utils/imOrigin.js +0 -24
- package/src/utils/imTr.js +0 -7
- package/src/utils/imageCompress.js +0 -83
- package/src/utils/imageDownscale.js +0 -28
- package/src/utils/imageResize.js +0 -112
- package/src/utils/ingestPipeline.js +0 -47
- package/src/utils/isProxyMode.js +0 -11
- package/src/utils/lazyWithReload.js +0 -53
- package/src/utils/markdown.js +0 -30
- package/src/utils/markdownIncremental.js +0 -39
- package/src/utils/markdownProfiler.js +0 -113
- package/src/utils/mdExtensionDetect.js +0 -64
- package/src/utils/memoryLinkParser.js +0 -44
- package/src/utils/modalMask.js +0 -15
- package/src/utils/modelSuggestions.js +0 -48
- package/src/utils/monotime.js +0 -6
- package/src/utils/pinnedMenu.js +0 -55
- package/src/utils/presetShortcuts.js +0 -14
- package/src/utils/projectAlias.js +0 -135
- package/src/utils/promptClassifier.js +0 -112
- package/src/utils/promptDetect.js +0 -196
- package/src/utils/promptNav.js +0 -60
- package/src/utils/ptyChunkBuilder.js +0 -251
- package/src/utils/quickMenuHoverIntent.js +0 -35
- package/src/utils/rateLimitParser.js +0 -119
- package/src/utils/readResultPool.js +0 -106
- package/src/utils/refreshCachedItemProp.js +0 -30
- package/src/utils/resizeCalc.js +0 -21
- package/src/utils/resolveLocalized.js +0 -17
- package/src/utils/searchApi.js +0 -47
- package/src/utils/searchReplace.js +0 -51
- package/src/utils/seqResourceLoaders.js +0 -79
- package/src/utils/sessionManager.js +0 -482
- package/src/utils/sessionMerge.js +0 -239
- package/src/utils/skillModalController.js +0 -111
- package/src/utils/skillsParser.js +0 -116
- package/src/utils/slashCommandLabels.js +0 -80
- package/src/utils/splitDragCalc.js +0 -73
- package/src/utils/stickyBottomController.js +0 -643
- package/src/utils/svgSanitize.js +0 -48
- package/src/utils/systemTags.js +0 -47
- package/src/utils/tClaude.js +0 -20
- package/src/utils/teamModalBuilder.js +0 -351
- package/src/utils/teamSessionParser.js +0 -190
- package/src/utils/teammateAvatars.js +0 -194
- package/src/utils/termDiag.js +0 -114
- package/src/utils/terminalClipboard.js +0 -117
- package/src/utils/terminalWriteQueue.js +0 -398
- package/src/utils/thinkingMerge.js +0 -49
- package/src/utils/toolCatalog.js +0 -29
- package/src/utils/toolResultBuilder.js +0 -411
- package/src/utils/toolResultClassifier.js +0 -16
- package/src/utils/toolResultCore.js +0 -194
- package/src/utils/toolsDiff.js +0 -44
- package/src/utils/toolsXmlFormatter.js +0 -3
- package/src/utils/ultraplanController.js +0 -109
- package/src/utils/ultraplanExperts.js +0 -86
- package/src/utils/ultraplanTemplates.js +0 -154
- package/src/utils/userImageRefs.js +0 -49
- package/src/utils/v3Assembler.js +0 -125
- package/src/utils/v3Rows.js +0 -49
- package/src/utils/voicePackPlayer.js +0 -233
- package/src/utils/webSearchGrouping.js +0 -111
- package/src/utils/workflowFormat.js +0 -52
- package/src/utils/workflowRuns.js +0 -118
- package/src/utils/workflowStore.js +0 -94
- /package/{src/utils → node_modules/@ccv/core/src}/requestType.js +0 -0
- /package/server/lib/{ask-bridge.js → ask/ask-bridge.js} +0 -0
- /package/server/lib/{ask-constants.js → ask/ask-constants.js} +0 -0
- /package/server/lib/{ask-reaper.js → ask/ask-reaper.js} +0 -0
- /package/server/lib/{dingtalk-config.js → im/dingtalk-config.js} +0 -0
- /package/server/lib/{im-log-watcher.js → im/im-log-watcher.js} +0 -0
- /package/server/lib/{proxy-env.js → proxy/proxy-env.js} +0 -0
- /package/server/lib/{proxy-errors.js → proxy/proxy-errors.js} +0 -0
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import analystSvg from '../img/teammates/analyst.svg?raw';
|
|
2
|
-
import auditorSvg from '../img/teammates/auditor.svg?raw';
|
|
3
|
-
import builderSvg from '../img/teammates/builder.svg?raw';
|
|
4
|
-
import defaultSvg from '../img/teammates/default.svg?raw';
|
|
5
|
-
import designerSvg from '../img/teammates/designer.svg?raw';
|
|
6
|
-
import executorSvg from '../img/teammates/executor.svg?raw';
|
|
7
|
-
import expertSvg from '../img/teammates/expert.svg?raw';
|
|
8
|
-
import explorerSvg from '../img/teammates/explorer.svg?raw';
|
|
9
|
-
import implementerSvg from '../img/teammates/implementer.svg?raw';
|
|
10
|
-
import investigatorSvg from '../img/teammates/investigator.svg?raw';
|
|
11
|
-
import researcherSvg from '../img/teammates/researcher.svg?raw';
|
|
12
|
-
import reviewerSvg from '../img/teammates/reviewer.svg?raw';
|
|
13
|
-
import scannerSvg from '../img/teammates/scanner.svg?raw';
|
|
14
|
-
import securitySvg from '../img/teammates/security.svg?raw';
|
|
15
|
-
import tracerSvg from '../img/teammates/tracer.svg?raw';
|
|
16
|
-
import translatorSvg from '../img/teammates/translator.svg?raw';
|
|
17
|
-
import workerSvg from '../img/teammates/worker.svg?raw';
|
|
18
|
-
|
|
19
|
-
export const ROLE_MAP = {
|
|
20
|
-
worker: { svg: workerSvg },
|
|
21
|
-
reviewer: { svg: reviewerSvg },
|
|
22
|
-
researcher: { svg: researcherSvg },
|
|
23
|
-
explorer: { svg: explorerSvg },
|
|
24
|
-
analyst: { svg: analystSvg },
|
|
25
|
-
tracer: { svg: tracerSvg },
|
|
26
|
-
investigator: { svg: investigatorSvg },
|
|
27
|
-
builder: { svg: builderSvg },
|
|
28
|
-
implementer: { svg: implementerSvg },
|
|
29
|
-
auditor: { svg: auditorSvg },
|
|
30
|
-
translator: { svg: translatorSvg },
|
|
31
|
-
security: { svg: securitySvg },
|
|
32
|
-
scanner: { svg: scannerSvg },
|
|
33
|
-
expert: { svg: expertSvg },
|
|
34
|
-
executor: { svg: executorSvg },
|
|
35
|
-
designer: { svg: designerSvg },
|
|
36
|
-
default: { svg: defaultSvg },
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
const PREFIX_RULES = [
|
|
40
|
-
{ prefix: 'worker-', role: 'worker' },
|
|
41
|
-
{ prefix: 'reviewer-', role: 'reviewer' },
|
|
42
|
-
{ prefix: 'researcher-', role: 'researcher' },
|
|
43
|
-
{ prefix: 'explorer-', role: 'explorer' },
|
|
44
|
-
{ prefix: 'explore-', role: 'explorer' },
|
|
45
|
-
{ prefix: 'translator-', role: 'translator' },
|
|
46
|
-
{ prefix: 'svg-creator-', role: 'designer' },
|
|
47
|
-
];
|
|
48
|
-
|
|
49
|
-
const SUFFIX_RULES = [
|
|
50
|
-
{ suffix: '-reviewer', role: 'reviewer' },
|
|
51
|
-
{ suffix: '-analyst', role: 'analyst' },
|
|
52
|
-
{ suffix: '-tracer', role: 'tracer' },
|
|
53
|
-
{ suffix: '-investigator', role: 'investigator' },
|
|
54
|
-
{ suffix: '-builder', role: 'builder' },
|
|
55
|
-
{ suffix: '-impl', role: 'implementer' },
|
|
56
|
-
{ suffix: '-auditor', role: 'auditor' },
|
|
57
|
-
{ suffix: '-scanner', role: 'scanner' },
|
|
58
|
-
{ suffix: '-expert', role: 'expert' },
|
|
59
|
-
{ suffix: '-executor', role: 'executor' },
|
|
60
|
-
];
|
|
61
|
-
|
|
62
|
-
const CONTAINS_RULES = [
|
|
63
|
-
{ keyword: 'security', role: 'security' },
|
|
64
|
-
{ keyword: 'implementer', role: 'implementer' },
|
|
65
|
-
{ keyword: 'review', role: 'reviewer' },
|
|
66
|
-
{ keyword: 'explor', role: 'explorer' },
|
|
67
|
-
{ keyword: 'research', role: 'researcher' },
|
|
68
|
-
{ keyword: 'analy', role: 'analyst' },
|
|
69
|
-
{ keyword: 'trac', role: 'tracer' },
|
|
70
|
-
{ keyword: 'investigat', role: 'investigator' },
|
|
71
|
-
{ keyword: 'build', role: 'builder' },
|
|
72
|
-
{ keyword: 'audit', role: 'auditor' },
|
|
73
|
-
{ keyword: 'translat', role: 'translator' },
|
|
74
|
-
{ keyword: 'scan', role: 'scanner' },
|
|
75
|
-
{ keyword: 'expert', role: 'expert' },
|
|
76
|
-
{ keyword: 'execut', role: 'executor' },
|
|
77
|
-
{ keyword: 'design', role: 'designer' },
|
|
78
|
-
{ keyword: 'work', role: 'worker' },
|
|
79
|
-
];
|
|
80
|
-
|
|
81
|
-
const ABBREV_PREFIX_RULES = [
|
|
82
|
-
{ prefix: 'cr-', role: 'reviewer' },
|
|
83
|
-
{ prefix: 'r-', role: 'reviewer' },
|
|
84
|
-
{ prefix: 'ui-', role: 'reviewer' },
|
|
85
|
-
{ prefix: 'ux-', role: 'reviewer' },
|
|
86
|
-
];
|
|
87
|
-
|
|
88
|
-
// Hash-based fallback: deterministic role from name (visual variety for unmatched names)
|
|
89
|
-
const ROLE_KEYS = Object.keys(ROLE_MAP).filter(k => k !== 'default');
|
|
90
|
-
|
|
91
|
-
function resolveRole(name) {
|
|
92
|
-
const lower = name.toLowerCase();
|
|
93
|
-
|
|
94
|
-
for (const { prefix, role } of PREFIX_RULES) {
|
|
95
|
-
if (lower.startsWith(prefix)) return role;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
for (const { suffix, role } of SUFFIX_RULES) {
|
|
99
|
-
if (lower.endsWith(suffix)) return role;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
for (const { keyword, role } of CONTAINS_RULES) {
|
|
103
|
-
if (lower.includes(keyword)) return role;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
for (const { prefix, role } of ABBREV_PREFIX_RULES) {
|
|
107
|
-
if (lower.startsWith(prefix)) return role;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// Hash fallback: same name always maps to same role
|
|
111
|
-
if (lower.length > 0) {
|
|
112
|
-
let hash = 0;
|
|
113
|
-
for (let i = 0; i < lower.length; i++) hash = lower.charCodeAt(i) + ((hash << 5) - hash);
|
|
114
|
-
return ROLE_KEYS[((hash % ROLE_KEYS.length) + ROLE_KEYS.length) % ROLE_KEYS.length];
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
return 'default';
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// 20 个 CSS 变量引用:背景色由 global.css 按当前主题(曜石黑 / 雪山白)决定。
|
|
121
|
-
// 运行时不做主题判定,避免初次渲染时 data-theme 未就绪导致的误判。
|
|
122
|
-
// 索引对应 `--avatar-bg-0..19`,顺序由 nameToColorIndex 决定。
|
|
123
|
-
const AVATAR_BG_VAR_COUNT = 20;
|
|
124
|
-
|
|
125
|
-
function nameToColorIndex(name) {
|
|
126
|
-
let hash = 0;
|
|
127
|
-
for (let i = 0; i < name.length; i++) hash = name.charCodeAt(i) + ((hash << 5) - hash);
|
|
128
|
-
return ((hash % AVATAR_BG_VAR_COUNT) + AVATAR_BG_VAR_COUNT) % AVATAR_BG_VAR_COUNT;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// Removes SMIL <animate> elements from an avatar SVG string. DESIGN.md's
|
|
132
|
-
// degradation rule guarantees the static markup IS the finished portrait
|
|
133
|
-
// (all animate elements are self-closing and hold their hidden states inside
|
|
134
|
-
// the animate itself), so the stripped string renders the complete image.
|
|
135
|
-
// The narrow regex (only self-closing <animate>) is intentionally coupled to
|
|
136
|
-
// test/teammate-svg-assets.test.js, whose element allowlist and self-closing
|
|
137
|
-
// assertion forbid animateTransform/animateMotion/<set> and open-form
|
|
138
|
-
// <animate> — keep both in sync if that allowlist ever relaxes.
|
|
139
|
-
export function stripSvgAnimations(svg) {
|
|
140
|
-
return svg.replace(/<animate\b[^>]*\/>/g, '');
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// Static (animation-stripped) variant per role, computed once so the strip
|
|
144
|
-
// regex does not rerun on every render of every old row.
|
|
145
|
-
const _staticSvgCache = new Map();
|
|
146
|
-
|
|
147
|
-
function getStaticSvg(role, svg) {
|
|
148
|
-
let cached = _staticSvgCache.get(role);
|
|
149
|
-
if (cached === undefined) {
|
|
150
|
-
cached = stripSvgAnimations(svg);
|
|
151
|
-
_staticSvgCache.set(role, cached);
|
|
152
|
-
}
|
|
153
|
-
return cached;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
// Policy: a teammate avatar plays its one-shot draw-in only when its message
|
|
157
|
-
// timestamp is within windowMs of the newest item's timestamp. Missing or
|
|
158
|
-
// unparseable timestamps animate (today's behavior). latestTs may be an ISO
|
|
159
|
-
// string or epoch ms.
|
|
160
|
-
export function shouldAnimateTeammateAvatar(msgTs, latestTs, windowMs = 60000) {
|
|
161
|
-
const msgMs = typeof msgTs === 'number' ? msgTs : Date.parse(msgTs);
|
|
162
|
-
const latestMs = typeof latestTs === 'number' ? latestTs : Date.parse(latestTs);
|
|
163
|
-
if (Number.isNaN(msgMs) || Number.isNaN(latestMs)) return true;
|
|
164
|
-
return latestMs - msgMs <= windowMs;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
// Scan helper for ChatView.buildAllItems: given [{ts, isTeammateAvatar}] in
|
|
168
|
-
// render order, returns the max parseable timestamp (epoch ms; NaN entries
|
|
169
|
-
// skipped) and the index of the last teammate-avatar row (-1 if none).
|
|
170
|
-
export function pickAvatarAnimationTargets(entries) {
|
|
171
|
-
let latestMs = NaN;
|
|
172
|
-
let newestTeammateIdx = -1;
|
|
173
|
-
for (let i = 0; i < entries.length; i++) {
|
|
174
|
-
const { ts, isTeammateAvatar } = entries[i];
|
|
175
|
-
const ms = typeof ts === 'number' ? ts : Date.parse(ts);
|
|
176
|
-
if (!Number.isNaN(ms) && (Number.isNaN(latestMs) || ms > latestMs)) latestMs = ms;
|
|
177
|
-
if (isTeammateAvatar) newestTeammateIdx = i;
|
|
178
|
-
}
|
|
179
|
-
return { latestMs, newestTeammateIdx };
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export function getTeammateAvatar(name, { animated = true } = {}) {
|
|
183
|
-
let clean = (name || '').trim();
|
|
184
|
-
// Strip "Teammate: " prefix (from formatTeammateLabel)
|
|
185
|
-
clean = clean.replace(/^Teammate:\s*/i, '');
|
|
186
|
-
// Strip trailing "(model-info)" suffix
|
|
187
|
-
clean = clean.replace(/\([^)]*\)\s*$/, '').trim();
|
|
188
|
-
const role = resolveRole(clean);
|
|
189
|
-
const entry = ROLE_MAP[role];
|
|
190
|
-
// SVG 表达角色,CSS 变量引用表达个体身份——浏览器按当前 [data-theme] 选值
|
|
191
|
-
const color = `var(--avatar-bg-${nameToColorIndex(clean)})`;
|
|
192
|
-
const svg = animated ? entry.svg : getStaticSvg(role, entry.svg);
|
|
193
|
-
return { svg, color, role };
|
|
194
|
-
}
|
package/src/utils/termDiag.js
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* termDiag —— 终端渲染管线最小可观测性(Windows 卡死排查回报通道)。
|
|
3
|
-
*
|
|
4
|
-
* 纯本地、仅数值计数器/水位,不含任何命令内容、无任何上报。
|
|
5
|
-
* 使用方式(用户侧):
|
|
6
|
-
* - 控制台执行 `__ccvTermDiag()` 获取快照;
|
|
7
|
-
* - `localStorage.ccv_term_diag = '1'` 后每 5s console.warn 一行
|
|
8
|
-
* `[ccv-diag] {...}`(沿既有 [cc-viewer] 英文诊断日志惯例,非 UI 文案,
|
|
9
|
-
* 不走 i18n)。
|
|
10
|
-
*
|
|
11
|
-
* 指标:
|
|
12
|
-
* trimCount writeQueue 积压丢弃次数(2MB 高水位触发)
|
|
13
|
-
* resyncCount 服务端 data-resync 次数(behind→resume 振荡的标尺)
|
|
14
|
-
* longtaskCount 主线程 ≥50ms 长任务数(PerformanceObserver,仅计数不降级)
|
|
15
|
-
* writeQPendingBytes / chunkSize / cbLatencyEwma 喂入闭环水位(P2 自适应接线)
|
|
16
|
-
* detect* promptDetect 耗时统计(>50ms 计 overrun——仅监测计数,无熔断降级)
|
|
17
|
-
*
|
|
18
|
-
* 纯 JS、浏览器 API 全部能力守卫(node:test 可直接 import 测纯逻辑)。
|
|
19
|
-
*/
|
|
20
|
-
import { getPromptDetectStats } from './promptDetect.js';
|
|
21
|
-
|
|
22
|
-
const counters = {
|
|
23
|
-
trimCount: 0,
|
|
24
|
-
resyncCount: 0,
|
|
25
|
-
longtaskCount: 0,
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
const gauges = {
|
|
29
|
-
writeQPendingBytes: 0,
|
|
30
|
-
chunkSize: 0,
|
|
31
|
-
cbLatencyEwma: 0,
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export function diagCount(name, n = 1) {
|
|
35
|
-
if (typeof counters[name] === 'number') counters[name] += n;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function diagSet(name, value) {
|
|
39
|
-
if (typeof gauges[name] === 'number' && typeof value === 'number') gauges[name] = value;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/** 指数加权滑动平均(alpha 默认 0.2),返回更新后的值 */
|
|
43
|
-
export function diagEwma(name, sample, alpha = 0.2) {
|
|
44
|
-
if (typeof gauges[name] !== 'number' || typeof sample !== 'number') return 0;
|
|
45
|
-
gauges[name] = gauges[name] === 0 ? sample : gauges[name] * (1 - alpha) + sample * alpha;
|
|
46
|
-
return gauges[name];
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function getTermDiagSnapshot() {
|
|
50
|
-
const detect = getPromptDetectStats();
|
|
51
|
-
return {
|
|
52
|
-
...counters,
|
|
53
|
-
writeQPendingBytes: Math.round(gauges.writeQPendingBytes),
|
|
54
|
-
chunkSize: Math.round(gauges.chunkSize),
|
|
55
|
-
cbLatencyEwma: Math.round(gauges.cbLatencyEwma * 10) / 10,
|
|
56
|
-
detectCalls: detect.calls,
|
|
57
|
-
detectLastMs: Math.round(detect.lastMs * 10) / 10,
|
|
58
|
-
detectMaxMs: Math.round(detect.maxMs * 10) / 10,
|
|
59
|
-
detectOverruns: detect.overruns,
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/** 仅测试用:清零本模块计数(promptDetect 的统计不归此处管) */
|
|
64
|
-
export function _resetTermDiagForTest() {
|
|
65
|
-
for (const k of Object.keys(counters)) counters[k] = 0;
|
|
66
|
-
for (const k of Object.keys(gauges)) gauges[k] = 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
let _installed = false;
|
|
70
|
-
let _logTimer = null;
|
|
71
|
-
let _ltObserver = null;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* 浏览器侧安装(幂等):window.__ccvTermDiag + longtask 计数 + 可选周期日志。
|
|
75
|
-
* 在 node 环境(无 window)下为 no-op。
|
|
76
|
-
*/
|
|
77
|
-
export function installTermDiag() {
|
|
78
|
-
if (_installed || typeof window === 'undefined') return;
|
|
79
|
-
_installed = true;
|
|
80
|
-
|
|
81
|
-
window.__ccvTermDiag = getTermDiagSnapshot;
|
|
82
|
-
|
|
83
|
-
// 长任务仅计数不降级(与 TerminalPanel WebGL 守卫的能力检测同模式)
|
|
84
|
-
try {
|
|
85
|
-
if (typeof PerformanceObserver !== 'undefined'
|
|
86
|
-
&& PerformanceObserver.supportedEntryTypes?.includes('longtask')) {
|
|
87
|
-
_ltObserver = new PerformanceObserver((list) => {
|
|
88
|
-
diagCount('longtaskCount', list.getEntries().length);
|
|
89
|
-
});
|
|
90
|
-
_ltObserver.observe({ entryTypes: ['longtask'] });
|
|
91
|
-
}
|
|
92
|
-
} catch {}
|
|
93
|
-
|
|
94
|
-
// 周期日志:localStorage 开关,运行期改动即时生效(每 tick 重查)
|
|
95
|
-
try {
|
|
96
|
-
_logTimer = setInterval(() => {
|
|
97
|
-
try {
|
|
98
|
-
if (localStorage.getItem('ccv_term_diag') === '1') {
|
|
99
|
-
console.warn('[ccv-diag] ' + JSON.stringify(getTermDiagSnapshot()));
|
|
100
|
-
}
|
|
101
|
-
} catch {}
|
|
102
|
-
}, 5000);
|
|
103
|
-
} catch {}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/** 仅测试/热重载用:卸载 observer 与定时器 */
|
|
107
|
-
export function uninstallTermDiag() {
|
|
108
|
-
if (_ltObserver) { try { _ltObserver.disconnect(); } catch {} _ltObserver = null; }
|
|
109
|
-
if (_logTimer) { clearInterval(_logTimer); _logTimer = null; }
|
|
110
|
-
if (typeof window !== 'undefined' && window.__ccvTermDiag === getTermDiagSnapshot) {
|
|
111
|
-
try { delete window.__ccvTermDiag; } catch {}
|
|
112
|
-
}
|
|
113
|
-
_installed = false;
|
|
114
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
// ============================================================================
|
|
2
|
-
// 终端复制/粘贴键位判定 + 剪贴板写入(共用于 TerminalPanel / ScratchTerminal)
|
|
3
|
-
// ----------------------------------------------------------------------------
|
|
4
|
-
// 背景:xterm 6 的键盘处理把 Ctrl+C / Ctrl+V 当控制字符(\x03 / \x16)发往 PTY,
|
|
5
|
-
// 并对该 keydown 调用 preventDefault(CoreBrowserTerminal._keyDown 末尾的 cancel)。
|
|
6
|
-
// 后果(仅 Win/Linux,Mac 用 Cmd+C/V 走 metaKey 不受影响):
|
|
7
|
-
// - Ctrl+V:浏览器原生 paste 默认动作被压掉 → 无法粘贴(只有 Ctrl+Shift+V 能用,
|
|
8
|
-
// 因为带 Shift 不进 ctrl-letter 控制字符分支,xterm 不 cancel,原生 paste 照常)。
|
|
9
|
-
// - Ctrl+C:恒发 SIGINT,永远不会复制。
|
|
10
|
-
// 这里把 Ctrl+C/Ctrl+V 还原成"智能复制/粘贴"(对齐 Windows Terminal / VS Code 终端):
|
|
11
|
-
// 在 attachCustomKeyEventHandler(最先执行、且返回 false 时 xterm 不会 cancel/preventDefault)
|
|
12
|
-
// 里判定动作,由调用方主动读剪贴板并走安全送出路径。
|
|
13
|
-
// ============================================================================
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* 判断键盘事件是否应触发终端的复制/粘贴。
|
|
17
|
-
* 仅在 keydown、Ctrl 按下(且非 Shift/Alt/Meta)、非 Mac、物理键为 C/V 时命中。
|
|
18
|
-
* 纯函数,不读取任何全局状态(isMac 由调用方传入),便于单测。
|
|
19
|
-
*
|
|
20
|
-
* @param {KeyboardEvent} e
|
|
21
|
-
* @param {{ isMac?: boolean }} [opts]
|
|
22
|
-
* @returns {'copy'|'paste'|null}
|
|
23
|
-
*/
|
|
24
|
-
export function clipboardKeyAction(e, opts = {}) {
|
|
25
|
-
// Mac:Ctrl+C/V 维持终端原义(SIGINT / 字面插入),复制粘贴走 Cmd(metaKey),不在此接管。
|
|
26
|
-
if (opts.isMac) return null;
|
|
27
|
-
if (!e || e.type !== 'keydown') return null;
|
|
28
|
-
if (!e.ctrlKey || e.shiftKey || e.altKey || e.metaKey) return null;
|
|
29
|
-
// e.code 是物理键位(布局无关);同时兼容只有 e.key 的场景。
|
|
30
|
-
const key = typeof e.key === 'string' ? e.key.toLowerCase() : '';
|
|
31
|
-
if (e.code === 'KeyC' || key === 'c') return 'copy';
|
|
32
|
-
if (e.code === 'KeyV' || key === 'v') return 'paste';
|
|
33
|
-
// 刻意不接管 Ctrl+X:终端里它是合法控制字符(\x18,如 emacs/nano 前缀键),剪切语义不适用,交回 xterm。
|
|
34
|
-
return null;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* 计算粘贴时应发送给 PTY 的字节串:bracketed-paste 包裹 + 注入消毒决策。
|
|
39
|
-
* 抽出原 _handlePaste / _pasteText(及 scratch 对应)中重复的判定,便于单测覆盖这段最易回归的逻辑。
|
|
40
|
-
*
|
|
41
|
-
* @param {string} text 剪贴板文本
|
|
42
|
-
* @param {{ bracketedPasteMode?: boolean, active?: boolean, sanitize?: (s:string)=>string }} [opts]
|
|
43
|
-
* - active=false(原生 paste 路径):bracketedPasteMode 且无注入时返回 null(交 xterm 自动包裹);
|
|
44
|
-
* 单行且无包裹模式也返回 null(交浏览器原生插入);其余包裹。
|
|
45
|
-
* - active=true(主动读剪贴板,无原生 paste 事件):bracketedPasteMode 时也自行包裹;单行原样返回。
|
|
46
|
-
* @returns {string|null} 要 ws.send 的 data;null 表示此处不发送(交由 xterm / 原生处理)
|
|
47
|
-
*/
|
|
48
|
-
export function planPasteSend(text, opts = {}) {
|
|
49
|
-
if (typeof text !== 'string' || text.length === 0) return null;
|
|
50
|
-
const { bracketedPasteMode = false, active = false, sanitize = (s) => s } = opts;
|
|
51
|
-
const hasInjection = /\x1b\[20[01]~/.test(text);
|
|
52
|
-
// 原生路径下:shell 已开 bracketed paste 且无注入序列 → xterm 会自动包裹,无需干预
|
|
53
|
-
if (!active && bracketedPasteMode && !hasInjection) return null;
|
|
54
|
-
const isMultiline = text.includes('\n') || text.includes('\r');
|
|
55
|
-
const needWrap = active ? (bracketedPasteMode || hasInjection || isMultiline)
|
|
56
|
-
: (hasInjection || isMultiline);
|
|
57
|
-
if (needWrap) return `\x1b[200~${sanitize(text)}\x1b[201~`;
|
|
58
|
-
// active:单行无包裹模式 → 原样发送;原生路径:交浏览器默认插入(不发送)
|
|
59
|
-
return active ? text : null;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* 将文本写入剪贴板:安全上下文优先 navigator.clipboard.writeText,
|
|
64
|
-
* 否则退回隐藏 textarea + document.execCommand('copy')(覆盖 LAN HTTP 等非安全上下文),
|
|
65
|
-
* 并在结束后还原原焦点,避免抢走终端焦点。
|
|
66
|
-
*
|
|
67
|
-
* @param {string} text
|
|
68
|
-
* @returns {Promise<boolean>} 是否复制成功
|
|
69
|
-
*/
|
|
70
|
-
export async function copyTextToClipboard(text) {
|
|
71
|
-
if (typeof text !== 'string' || text.length === 0) return false;
|
|
72
|
-
const clip = typeof navigator !== 'undefined' ? navigator.clipboard : null;
|
|
73
|
-
if (clip && typeof clip.writeText === 'function') {
|
|
74
|
-
try {
|
|
75
|
-
await clip.writeText(text);
|
|
76
|
-
return true;
|
|
77
|
-
} catch {
|
|
78
|
-
// 安全上下文但权限/焦点等原因失败 → 落到 execCommand 兜底
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
return execCommandCopy(text);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
function execCommandCopy(text) {
|
|
85
|
-
if (typeof document === 'undefined' || !document.body) return false;
|
|
86
|
-
const prevActive = document.activeElement;
|
|
87
|
-
const ta = document.createElement('textarea');
|
|
88
|
-
ta.value = text;
|
|
89
|
-
ta.setAttribute('readonly', '');
|
|
90
|
-
ta.style.position = 'fixed';
|
|
91
|
-
ta.style.top = '-9999px';
|
|
92
|
-
ta.style.left = '-9999px';
|
|
93
|
-
ta.style.opacity = '0';
|
|
94
|
-
document.body.appendChild(ta);
|
|
95
|
-
let ok = false;
|
|
96
|
-
try {
|
|
97
|
-
ta.focus();
|
|
98
|
-
ta.select();
|
|
99
|
-
ok = document.execCommand('copy');
|
|
100
|
-
} catch {
|
|
101
|
-
ok = false;
|
|
102
|
-
}
|
|
103
|
-
try {
|
|
104
|
-
document.body.removeChild(ta);
|
|
105
|
-
} catch {
|
|
106
|
-
/* noop */
|
|
107
|
-
}
|
|
108
|
-
// 还原焦点(execCommand 复制需要短暂聚焦临时 textarea,复制后交还原元素)
|
|
109
|
-
if (prevActive && typeof prevActive.focus === 'function') {
|
|
110
|
-
try {
|
|
111
|
-
prevActive.focus();
|
|
112
|
-
} catch {
|
|
113
|
-
/* noop */
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
return ok;
|
|
117
|
-
}
|