@jingyi0605/codingns4dsh 0.2.1-beta.13 → 0.2.1-beta.15
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.en.md +5 -5
- package/README.md +6 -9
- package/data/build/dist/bootstrap/dsh-connection-adapter.d.ts +1 -1
- package/data/build/dist/bootstrap/dsh-connection-adapter.d.ts.map +1 -1
- package/data/build/dist/bootstrap/index.d.ts +1 -1
- package/data/build/dist/bootstrap/index.d.ts.map +1 -1
- package/data/build/dist/client/bundle.js +1947 -585
- package/data/build/dist/client/bundle.js.map +1 -1
- package/data/build/dist/client/cli-slots.d.ts.map +1 -1
- package/data/build/dist/client/cli-slots.js +11 -3
- package/data/build/dist/client/cli-slots.js.map +1 -1
- package/data/build/dist/client/client.model-catalog-cache.js +9 -1
- package/data/build/dist/client/client.model-catalog-cache.js.map +1 -1
- package/data/build/dist/client/client.native-workspace-store.js +65 -15
- package/data/build/dist/client/client.native-workspace-store.js.map +1 -1
- package/data/build/dist/client/client.transport.js +70 -4
- package/data/build/dist/client/client.transport.js.map +1 -1
- package/data/build/dist/client/desktop-assistant.js +180 -114
- package/data/build/dist/client/features/cli-adapters.js +4 -2
- package/data/build/dist/client/features/cli-adapters.js.map +1 -1
- package/data/build/dist/client/features/file-management.d.ts.map +1 -1
- package/data/build/dist/client/features/file-management.js +16 -0
- package/data/build/dist/client/features/file-management.js.map +1 -1
- package/data/build/dist/client/features/lan-access-panel.d.ts.map +1 -1
- package/data/build/dist/client/features/lan-access-panel.js +1 -0
- package/data/build/dist/client/features/lan-access-panel.js.map +1 -1
- package/data/build/dist/client/features/mobile-access.d.ts.map +1 -1
- package/data/build/dist/client/features/mobile-access.js +7 -0
- package/data/build/dist/client/features/mobile-access.js.map +1 -1
- package/data/build/dist/client/features/peer-host.d.ts.map +1 -1
- package/data/build/dist/client/features/peer-host.js +3 -0
- package/data/build/dist/client/features/peer-host.js.map +1 -1
- package/data/build/dist/client/features/session-translation.js +2 -2
- package/data/build/dist/client/features/session-translation.js.map +1 -1
- package/data/build/dist/client/features/workspace-session-enhancement.d.ts.map +1 -1
- package/data/build/dist/client/features/workspace-session-enhancement.js +6 -0
- package/data/build/dist/client/features/workspace-session-enhancement.js.map +1 -1
- package/data/build/dist/client/file-management-dom.d.ts +20 -1
- package/data/build/dist/client/file-management-dom.d.ts.map +1 -1
- package/data/build/dist/client/file-management-dom.js +94 -18
- package/data/build/dist/client/file-management-dom.js.map +1 -1
- package/data/build/dist/client/file-viewer-copy-path-menu.d.ts +27 -0
- package/data/build/dist/client/file-viewer-copy-path-menu.d.ts.map +1 -0
- package/data/build/dist/client/file-viewer-copy-path-menu.js +101 -0
- package/data/build/dist/client/file-viewer-copy-path-menu.js.map +1 -0
- package/data/build/dist/client/git-management-settings.d.ts +4 -0
- package/data/build/dist/client/git-management-settings.d.ts.map +1 -0
- package/data/build/dist/client/git-management-settings.js +73 -0
- package/data/build/dist/client/git-management-settings.js.map +1 -0
- package/data/build/dist/client/git-management.d.ts +2 -1
- package/data/build/dist/client/git-management.d.ts.map +1 -1
- package/data/build/dist/client/git-management.js +55 -34
- package/data/build/dist/client/git-management.js.map +1 -1
- package/data/build/dist/client/git-panel-styles.d.ts +4 -0
- package/data/build/dist/client/git-panel-styles.d.ts.map +1 -1
- package/data/build/dist/client/git-panel-styles.js +14 -0
- package/data/build/dist/client/git-panel-styles.js.map +1 -1
- package/data/build/dist/client/locale.d.ts.map +1 -1
- package/data/build/dist/client/locale.js +10 -2
- package/data/build/dist/client/locale.js.map +1 -1
- package/data/build/dist/client/locales/cliManagement.d.ts.map +1 -1
- package/data/build/dist/client/locales/cliManagement.js +16 -0
- package/data/build/dist/client/locales/cliManagement.js.map +1 -1
- package/data/build/dist/client/locales/git.d.ts.map +1 -1
- package/data/build/dist/client/locales/git.js +30 -2
- package/data/build/dist/client/locales/git.js.map +1 -1
- package/data/build/dist/client/locales/peerHost.d.ts.map +1 -1
- package/data/build/dist/client/locales/peerHost.js +2 -0
- package/data/build/dist/client/locales/peerHost.js.map +1 -1
- package/data/build/dist/client/locales/quickApps.d.ts +6 -0
- package/data/build/dist/client/locales/quickApps.d.ts.map +1 -1
- package/data/build/dist/client/locales/quickApps.js +12 -0
- package/data/build/dist/client/locales/quickApps.js.map +1 -1
- package/data/build/dist/client/mobile-team-panel-dom.d.ts +14 -0
- package/data/build/dist/client/mobile-team-panel-dom.d.ts.map +1 -0
- package/data/build/dist/client/mobile-team-panel-dom.js +164 -0
- package/data/build/dist/client/mobile-team-panel-dom.js.map +1 -0
- package/data/build/dist/client/model-priority-pool.d.ts +23 -0
- package/data/build/dist/client/model-priority-pool.d.ts.map +1 -0
- package/data/build/dist/client/{session-translation-model-pool.js → model-priority-pool.js} +8 -9
- package/data/build/dist/client/model-priority-pool.js.map +1 -0
- package/data/build/dist/client/provider-icons.d.ts.map +1 -1
- package/data/build/dist/client/provider-icons.js +3 -1
- package/data/build/dist/client/provider-icons.js.map +1 -1
- package/data/build/dist/client/quick-apps/browser-storage.d.ts +24 -0
- package/data/build/dist/client/quick-apps/browser-storage.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/browser-storage.js +114 -0
- package/data/build/dist/client/quick-apps/browser-storage.js.map +1 -0
- package/data/build/dist/client/quick-apps/client.d.ts +3 -1
- package/data/build/dist/client/quick-apps/client.d.ts.map +1 -1
- package/data/build/dist/client/quick-apps/client.js +4 -4
- package/data/build/dist/client/quick-apps/client.js.map +1 -1
- package/data/build/dist/client/quick-apps/launcher.d.ts.map +1 -1
- package/data/build/dist/client/quick-apps/launcher.js +23 -8
- package/data/build/dist/client/quick-apps/launcher.js.map +1 -1
- package/data/build/dist/client/quick-apps/presentation.d.ts.map +1 -1
- package/data/build/dist/client/quick-apps/presentation.js +18 -2
- package/data/build/dist/client/quick-apps/presentation.js.map +1 -1
- package/data/build/dist/client/quick-apps/rail-preference.d.ts +5 -0
- package/data/build/dist/client/quick-apps/rail-preference.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/rail-preference.js +19 -0
- package/data/build/dist/client/quick-apps/rail-preference.js.map +1 -0
- package/data/build/dist/client/quick-apps/styles.d.ts.map +1 -1
- package/data/build/dist/client/quick-apps/styles.js +12 -2
- package/data/build/dist/client/quick-apps/styles.js.map +1 -1
- package/data/build/dist/client/quick-apps/viewer.d.ts.map +1 -1
- package/data/build/dist/client/quick-apps/viewer.js +13 -3
- package/data/build/dist/client/quick-apps/viewer.js.map +1 -1
- package/data/build/dist/client/style.css +219 -219
- package/data/build/dist/client/workspace-session-rightbar-dom.d.ts.map +1 -1
- package/data/build/dist/client/workspace-session-rightbar-dom.js +12 -21
- package/data/build/dist/client/workspace-session-rightbar-dom.js.map +1 -1
- package/data/build/dist/client/workspace-session-visibility-dom.d.ts +3 -0
- package/data/build/dist/client/workspace-session-visibility-dom.d.ts.map +1 -1
- package/data/build/dist/client/workspace-session-visibility-dom.js +43 -10
- package/data/build/dist/client/workspace-session-visibility-dom.js.map +1 -1
- package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.d.ts +8 -0
- package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.js +71 -0
- package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.d.ts +3 -0
- package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.js +27 -0
- package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/session-performance-adapter.d.ts +2 -1
- package/data/build/dist/dsh-capabilities/client/session-performance-adapter.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js +22 -47
- package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js.map +1 -1
- package/data/build/dist/dsh-capabilities/host/agent-team-adapter.d.ts +52 -0
- package/data/build/dist/dsh-capabilities/host/agent-team-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/agent-team-adapter.js +109 -0
- package/data/build/dist/dsh-capabilities/host/agent-team-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.js +1 -1
- package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.js.map +1 -1
- package/data/build/dist/dsh-capabilities/matrix.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/matrix.js +12 -10
- package/data/build/dist/dsh-capabilities/matrix.js.map +1 -1
- package/data/build/dist/dsh-capabilities/routes.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/routes.js +13 -8
- package/data/build/dist/dsh-capabilities/routes.js.map +1 -1
- package/data/build/dist/dsh-capabilities/types.d.ts +1 -1
- package/data/build/dist/dsh-capabilities/types.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/types.js.map +1 -1
- package/data/build/dist/host/cli-adapters/acp-cli-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/acp-cli-driver.js +6 -3
- package/data/build/dist/host/cli-adapters/acp-cli-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/claude-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/claude-driver.js +4 -0
- package/data/build/dist/host/cli-adapters/claude-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/codex-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/codex-driver.js +13 -6
- package/data/build/dist/host/cli-adapters/codex-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/command-code-acp-loader.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/command-code-acp-loader.js +11 -1
- package/data/build/dist/host/cli-adapters/command-code-acp-loader.js.map +1 -1
- package/data/build/dist/host/cli-adapters/command-code-driver.js +5 -3
- package/data/build/dist/host/cli-adapters/command-code-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/desktop-app-runtime.d.ts +3 -1
- package/data/build/dist/host/cli-adapters/desktop-app-runtime.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/desktop-app-runtime.js +41 -4
- package/data/build/dist/host/cli-adapters/desktop-app-runtime.js.map +1 -1
- package/data/build/dist/host/cli-adapters/dsh-message-projector.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/dsh-message-projector.js +2 -1
- package/data/build/dist/host/cli-adapters/dsh-message-projector.js.map +1 -1
- package/data/build/dist/host/cli-adapters/dsh-tool-history.js +3 -2
- package/data/build/dist/host/cli-adapters/dsh-tool-history.js.map +1 -1
- package/data/build/dist/host/cli-adapters/dsh-virtual-providers.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/dsh-virtual-providers.js +3 -2
- package/data/build/dist/host/cli-adapters/dsh-virtual-providers.js.map +1 -1
- package/data/build/dist/host/cli-adapters/feature.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/feature.js +134 -29
- package/data/build/dist/host/cli-adapters/feature.js.map +1 -1
- package/data/build/dist/host/cli-adapters/gemini-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/gemini-driver.js +4 -2
- package/data/build/dist/host/cli-adapters/gemini-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/grok-driver.d.ts +4 -0
- package/data/build/dist/host/cli-adapters/grok-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/grok-driver.js +183 -9
- package/data/build/dist/host/cli-adapters/grok-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/grok-performance-projection.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/grok-performance-projection.js +2 -1
- package/data/build/dist/host/cli-adapters/grok-performance-projection.js.map +1 -1
- package/data/build/dist/host/cli-adapters/legacy-session-adapter.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/legacy-session-adapter.js +20 -3
- package/data/build/dist/host/cli-adapters/legacy-session-adapter.js.map +1 -1
- package/data/build/dist/host/cli-adapters/management-methods.d.ts +5 -0
- package/data/build/dist/host/cli-adapters/management-methods.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/management-methods.js +9 -0
- package/data/build/dist/host/cli-adapters/management-methods.js.map +1 -1
- package/data/build/dist/host/cli-adapters/management-process.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/management-process.js +13 -2
- package/data/build/dist/host/cli-adapters/management-process.js.map +1 -1
- package/data/build/dist/host/cli-adapters/management.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/management.js +6 -1
- package/data/build/dist/host/cli-adapters/management.js.map +1 -1
- package/data/build/dist/host/cli-adapters/mcode-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/mcode-driver.js +11 -4
- package/data/build/dist/host/cli-adapters/mcode-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/native-subagent-dispatch.d.ts +1 -1
- package/data/build/dist/host/cli-adapters/native-subagent-dispatch.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/native-subagent-dispatch.js +11 -3
- package/data/build/dist/host/cli-adapters/native-subagent-dispatch.js.map +1 -1
- package/data/build/dist/host/cli-adapters/native-team-subagent.d.ts +7 -1
- package/data/build/dist/host/cli-adapters/native-team-subagent.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/native-team-subagent.js +4 -2
- package/data/build/dist/host/cli-adapters/native-team-subagent.js.map +1 -1
- package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js +3 -1
- package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js.map +1 -1
- package/data/build/dist/host/cli-adapters/pi-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/pi-driver.js +44 -10
- package/data/build/dist/host/cli-adapters/pi-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/registry.d.ts +4 -1
- package/data/build/dist/host/cli-adapters/registry.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/registry.js +65 -25
- package/data/build/dist/host/cli-adapters/registry.js.map +1 -1
- package/data/build/dist/host/cli-adapters/standard-stream-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/standard-stream-driver.js +4 -0
- package/data/build/dist/host/cli-adapters/standard-stream-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/subagent-tool.js +1 -1
- package/data/build/dist/host/cli-adapters/subagent-tool.js.map +1 -1
- package/data/build/dist/host/cli-adapters/team-input.d.ts +17 -0
- package/data/build/dist/host/cli-adapters/team-input.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/team-input.js +67 -0
- package/data/build/dist/host/cli-adapters/team-input.js.map +1 -0
- package/data/build/dist/host/cli-adapters/update-check.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/update-check.js +5 -5
- package/data/build/dist/host/cli-adapters/update-check.js.map +1 -1
- package/data/build/dist/host/cli-adapters/zcode-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/zcode-driver.js +6 -1
- package/data/build/dist/host/cli-adapters/zcode-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/zcode-update.d.ts +8 -0
- package/data/build/dist/host/cli-adapters/zcode-update.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/zcode-update.js +149 -0
- package/data/build/dist/host/cli-adapters/zcode-update.js.map +1 -0
- package/data/build/dist/host/cli-bridge/bridge-holder.d.ts +14 -0
- package/data/build/dist/host/cli-bridge/bridge-holder.d.ts.map +1 -1
- package/data/build/dist/host/cli-bridge/bridge-holder.js +53 -6
- package/data/build/dist/host/cli-bridge/bridge-holder.js.map +1 -1
- package/data/build/dist/host/cli-bridge/bridge-server.d.ts +6 -0
- package/data/build/dist/host/cli-bridge/bridge-server.d.ts.map +1 -1
- package/data/build/dist/host/cli-bridge/bridge-server.js +61 -6
- package/data/build/dist/host/cli-bridge/bridge-server.js.map +1 -1
- package/data/build/dist/host/cli-bridge/command-code-mod.d.ts.map +1 -1
- package/data/build/dist/host/cli-bridge/command-code-mod.js +86 -0
- package/data/build/dist/host/cli-bridge/command-code-mod.js.map +1 -1
- package/data/build/dist/host/cli-bridge/dispatch.js +1 -1
- package/data/build/dist/host/cli-bridge/dispatch.js.map +1 -1
- package/data/build/dist/host/cli-bridge/injections.d.ts +11 -0
- package/data/build/dist/host/cli-bridge/injections.d.ts.map +1 -1
- package/data/build/dist/host/cli-bridge/injections.js +62 -7
- package/data/build/dist/host/cli-bridge/injections.js.map +1 -1
- package/data/build/dist/host/cli-bridge/mcp-stdio-entry.d.ts +1 -1
- package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js +64 -7
- package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js.map +1 -1
- package/data/build/dist/host/cli-bridge/pi-extension-entry.d.ts +3 -0
- package/data/build/dist/host/cli-bridge/pi-extension-entry.d.ts.map +1 -0
- package/data/build/dist/host/cli-bridge/pi-extension-entry.js +9 -0
- package/data/build/dist/host/cli-bridge/pi-extension-entry.js.map +1 -0
- package/data/build/dist/host/cli-bridge/pi-extension.d.ts +52 -0
- package/data/build/dist/host/cli-bridge/pi-extension.d.ts.map +1 -0
- package/data/build/dist/host/cli-bridge/pi-extension.js +273 -0
- package/data/build/dist/host/cli-bridge/pi-extension.js.map +1 -0
- package/data/build/dist/host/cli-bridge/search-dispatch.d.ts +20 -0
- package/data/build/dist/host/cli-bridge/search-dispatch.d.ts.map +1 -0
- package/data/build/dist/host/cli-bridge/search-dispatch.js +61 -0
- package/data/build/dist/host/cli-bridge/search-dispatch.js.map +1 -0
- package/data/build/dist/host/cli-bridge/team-adapters.d.ts +11 -0
- package/data/build/dist/host/cli-bridge/team-adapters.d.ts.map +1 -0
- package/data/build/dist/host/cli-bridge/team-adapters.js +23 -0
- package/data/build/dist/host/cli-bridge/team-adapters.js.map +1 -0
- package/data/build/dist/host/cli-bridge/team-dispatch.d.ts +28 -0
- package/data/build/dist/host/cli-bridge/team-dispatch.d.ts.map +1 -0
- package/data/build/dist/host/cli-bridge/team-dispatch.js +208 -0
- package/data/build/dist/host/cli-bridge/team-dispatch.js.map +1 -0
- package/data/build/dist/host/cli-bridge/team-tool.d.ts +3 -0
- package/data/build/dist/host/cli-bridge/team-tool.d.ts.map +1 -0
- package/data/build/dist/host/cli-bridge/team-tool.js +18 -0
- package/data/build/dist/host/cli-bridge/team-tool.js.map +1 -0
- package/data/build/dist/host/features/file-management.d.ts.map +1 -1
- package/data/build/dist/host/features/file-management.js +2 -1
- package/data/build/dist/host/features/file-management.js.map +1 -1
- package/data/build/dist/host/features/git-commit-message.d.ts +5 -0
- package/data/build/dist/host/features/git-commit-message.d.ts.map +1 -0
- package/data/build/dist/host/features/git-commit-message.js +66 -0
- package/data/build/dist/host/features/git-commit-message.js.map +1 -0
- package/data/build/dist/host/features/git-management.d.ts +11 -2
- package/data/build/dist/host/features/git-management.d.ts.map +1 -1
- package/data/build/dist/host/features/git-management.js +61 -7
- package/data/build/dist/host/features/git-management.js.map +1 -1
- package/data/build/dist/host/features/lan-access-dsh.d.ts.map +1 -1
- package/data/build/dist/host/features/lan-access-dsh.js +2 -2
- package/data/build/dist/host/features/lan-access-dsh.js.map +1 -1
- package/data/build/dist/host/features/quick-apps.js +2 -2
- package/data/build/dist/host/features/quick-apps.js.map +1 -1
- package/data/build/dist/host/features/session-prompt-translation.d.ts.map +1 -1
- package/data/build/dist/host/features/session-prompt-translation.js +11 -3
- package/data/build/dist/host/features/session-prompt-translation.js.map +1 -1
- package/data/build/dist/host/index.d.ts.map +1 -1
- package/data/build/dist/host/index.js +6 -38
- package/data/build/dist/host/index.js.map +1 -1
- package/data/build/dist/host/lan-access-dsh.d.ts +9 -1
- package/data/build/dist/host/lan-access-dsh.d.ts.map +1 -1
- package/data/build/dist/host/lan-access-dsh.js +38 -11
- package/data/build/dist/host/lan-access-dsh.js.map +1 -1
- package/data/build/dist/host/modules/quick-apps/egress.d.ts +35 -0
- package/data/build/dist/host/modules/quick-apps/egress.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/egress.js +244 -0
- package/data/build/dist/host/modules/quick-apps/egress.js.map +1 -0
- package/data/build/dist/host/modules/quick-apps/registry.d.ts.map +1 -1
- package/data/build/dist/host/modules/quick-apps/registry.js +10 -1
- package/data/build/dist/host/modules/quick-apps/registry.js.map +1 -1
- package/data/build/dist/host/modules/quick-apps/remote.d.ts +1 -1
- package/data/build/dist/host/modules/quick-apps/remote.d.ts.map +1 -1
- package/data/build/dist/host/modules/quick-apps/remote.js +6 -5
- package/data/build/dist/host/modules/quick-apps/remote.js.map +1 -1
- package/data/build/dist/host/modules/quick-apps/service.d.ts +1 -1
- package/data/build/dist/host/modules/quick-apps/service.d.ts.map +1 -1
- package/data/build/dist/host/modules/quick-apps/service.js +8 -4
- package/data/build/dist/host/modules/quick-apps/service.js.map +1 -1
- package/data/build/dist/host/modules/quick-apps/static-handler.d.ts +1 -1
- package/data/build/dist/host/modules/quick-apps/static-handler.d.ts.map +1 -1
- package/data/build/dist/host/modules/quick-apps/static-handler.js +35 -3
- package/data/build/dist/host/modules/quick-apps/static-handler.js.map +1 -1
- package/data/build/dist/host/rpc.js +2 -2
- package/data/build/dist/host/rpc.js.map +1 -1
- package/data/build/dist/host/session-changes.d.ts.map +1 -1
- package/data/build/dist/host/session-changes.js +6 -2
- package/data/build/dist/host/session-changes.js.map +1 -1
- package/data/build/dist/host/session-migration-repair.js +48 -35
- package/data/build/dist/host/session-migration-repair.js.map +1 -1
- package/data/build/dist/host/settings.d.ts.map +1 -1
- package/data/build/dist/host/settings.js +8 -0
- package/data/build/dist/host/settings.js.map +1 -1
- package/data/build/dist/host/workspace-root.d.ts +14 -0
- package/data/build/dist/host/workspace-root.d.ts.map +1 -0
- package/data/build/dist/host/workspace-root.js +99 -0
- package/data/build/dist/host/workspace-root.js.map +1 -0
- package/data/build/dist/shared/cli-provider-route.d.ts +7 -0
- package/data/build/dist/shared/cli-provider-route.d.ts.map +1 -0
- package/data/build/dist/shared/cli-provider-route.js +13 -0
- package/data/build/dist/shared/cli-provider-route.js.map +1 -0
- package/data/build/dist/shared/contracts/agent-team.d.ts +14 -0
- package/data/build/dist/shared/contracts/agent-team.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/agent-team.js +48 -0
- package/data/build/dist/shared/contracts/agent-team.js.map +1 -0
- package/data/build/dist/shared/contracts/cli-adapter.d.ts +10 -0
- package/data/build/dist/shared/contracts/cli-adapter.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/config.d.ts +5 -1
- package/data/build/dist/shared/contracts/config.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/config.js +3 -0
- package/data/build/dist/shared/contracts/config.js.map +1 -1
- package/data/build/dist/shared/contracts/errors.d.ts +2 -2
- package/data/build/dist/shared/contracts/errors.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/git.d.ts +17 -0
- package/data/build/dist/shared/contracts/git.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/git.js +27 -1
- package/data/build/dist/shared/contracts/git.js.map +1 -1
- package/data/build/dist/shared/contracts/quick-apps.d.ts +2 -0
- package/data/build/dist/shared/contracts/quick-apps.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/quick-apps.js.map +1 -1
- package/data/build/dist/shared/contracts/version.d.ts +9 -15
- package/data/build/dist/shared/contracts/version.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/version.js +8 -14
- package/data/build/dist/shared/contracts/version.js.map +1 -1
- package/data/build/dist/shared/index.d.ts +2 -1
- package/data/build/dist/shared/index.d.ts.map +1 -1
- package/data/build/dist/shared/index.js +2 -1
- package/data/build/dist/shared/index.js.map +1 -1
- package/data/build/dist/shared/quick-app-browser-storage.d.ts +33 -0
- package/data/build/dist/shared/quick-app-browser-storage.d.ts.map +1 -0
- package/data/build/dist/shared/quick-app-browser-storage.js +33 -0
- package/data/build/dist/shared/quick-app-browser-storage.js.map +1 -0
- package/data/build/dist/shared/quick-app-network-allow.d.ts +8 -0
- package/data/build/dist/shared/quick-app-network-allow.d.ts.map +1 -0
- package/data/build/dist/shared/quick-app-network-allow.js +192 -0
- package/data/build/dist/shared/quick-app-network-allow.js.map +1 -0
- package/data/build/dist/shared/quick-app-network-bootstrap.d.ts +9 -0
- package/data/build/dist/shared/quick-app-network-bootstrap.d.ts.map +1 -0
- package/data/build/dist/shared/quick-app-network-bootstrap.js +134 -0
- package/data/build/dist/shared/quick-app-network-bootstrap.js.map +1 -0
- package/data/build/dist/shared/quick-app-storage-bootstrap.d.ts +9 -0
- package/data/build/dist/shared/quick-app-storage-bootstrap.d.ts.map +1 -0
- package/data/build/dist/shared/quick-app-storage-bootstrap.js +189 -0
- package/data/build/dist/shared/quick-app-storage-bootstrap.js.map +1 -0
- package/package.json +32 -32
- package/profile/README.md +2 -2
- package/profile/package.json +3 -3
- package/profile/version.json +3 -3
- package/version.json +3 -3
- package/data/build/dist/client/session-translation-model-pool.d.ts +0 -16
- package/data/build/dist/client/session-translation-model-pool.d.ts.map +0 -1
- package/data/build/dist/client/session-translation-model-pool.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CODEX_PERFORMANCE_PROJECTION } from '../../shared/codex-performance.js';
|
|
2
2
|
import { GROK_CONTEXT_PROJECTION, GROK_PERFORMANCE_PROJECTION } from '../../shared/request-performance.js';
|
|
3
|
-
import {
|
|
4
|
-
import { followPresentationEntry
|
|
3
|
+
import { installComposerPresentation } from './composer-presentation-adapter.js';
|
|
4
|
+
import { followPresentationEntry } from './slot-presentation-mirror.js';
|
|
5
5
|
export function supportsSessionPerformancePresentation(context) {
|
|
6
6
|
const slots = context?.slots;
|
|
7
7
|
return slots !== undefined && ['inject', 'register', 'entries', 'subscribe'].every(key => typeof slots[key] === 'function');
|
|
@@ -10,7 +10,7 @@ export function supportsSessionPerformancePresentation(context) {
|
|
|
10
10
|
export function createSessionPerformancePresentation(context) {
|
|
11
11
|
const slots = context.slots;
|
|
12
12
|
return {
|
|
13
|
-
install(useAdapter, element) {
|
|
13
|
+
install(useAdapter, element, hooks) {
|
|
14
14
|
const wrappers = new Set();
|
|
15
15
|
const removeActivity = followPresentationEntry(slots, 'conversation.composer.dock', entry => entry.options.id === 'activity' && !wrappers.has(entry.component), native => {
|
|
16
16
|
const Activity = native.component;
|
|
@@ -41,7 +41,7 @@ export function createSessionPerformancePresentation(context) {
|
|
|
41
41
|
return () => { remove(); wrappers.delete(ActivityWithSourceTiming); };
|
|
42
42
|
});
|
|
43
43
|
try {
|
|
44
|
-
const removeContext = installGrokContextPresentation(slots, useAdapter, element);
|
|
44
|
+
const removeContext = installGrokContextPresentation(context, slots, useAdapter, element, hooks);
|
|
45
45
|
return () => { removeContext(); removeActivity(); };
|
|
46
46
|
}
|
|
47
47
|
catch (error) {
|
|
@@ -52,49 +52,24 @@ export function createSessionPerformancePresentation(context) {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
/** ContextMeter lives inside the native composer bar, rather than in its own slot. */
|
|
55
|
-
function installGrokContextPresentation(slots, useAdapter, element) {
|
|
56
|
-
return
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
useProjection: (key, ...args) => {
|
|
73
|
-
const original = props.useProjection(key, ...args);
|
|
74
|
-
if (key === 'contextBreakdown' && adapter === 'grok')
|
|
75
|
-
return undefined;
|
|
76
|
-
if (key !== 'contextPressure')
|
|
77
|
-
return original;
|
|
78
|
-
const value = props.useProjection(GROK_CONTEXT_PROJECTION);
|
|
79
|
-
if (adapter !== 'grok')
|
|
80
|
-
return original;
|
|
81
|
-
const pressure = value ?? {};
|
|
82
|
-
return typeof args[0] === 'function' ? args[0](pressure) : pressure;
|
|
83
|
-
},
|
|
84
|
-
});
|
|
55
|
+
function installGrokContextPresentation(owner, slots, useAdapter, element, hooks) {
|
|
56
|
+
return installComposerPresentation(owner, slots, Native => function ComposerWithGrokContext(props) {
|
|
57
|
+
const adapter = useAdapter(props.sessionId ?? '');
|
|
58
|
+
return element(Native, {
|
|
59
|
+
...props,
|
|
60
|
+
useProjection: (key, ...args) => {
|
|
61
|
+
const original = props.useProjection(key, ...args);
|
|
62
|
+
if (key === 'contextBreakdown' && adapter === 'grok')
|
|
63
|
+
return undefined;
|
|
64
|
+
if (key !== 'contextPressure')
|
|
65
|
+
return original;
|
|
66
|
+
const value = props.useProjection(GROK_CONTEXT_PROJECTION);
|
|
67
|
+
if (adapter !== 'grok')
|
|
68
|
+
return original;
|
|
69
|
+
const pressure = value ?? {};
|
|
70
|
+
return typeof args[0] === 'function' ? args[0](pressure) : pressure;
|
|
71
|
+
},
|
|
85
72
|
});
|
|
86
|
-
|
|
87
|
-
for (const [source, target] of Object.entries(names))
|
|
88
|
-
removers.push(mirrorPresentationSlot(slots, source, target, element));
|
|
89
|
-
}
|
|
90
|
-
catch (error) {
|
|
91
|
-
for (const dispose of removers.reverse())
|
|
92
|
-
dispose();
|
|
93
|
-
remove();
|
|
94
|
-
throw error;
|
|
95
|
-
}
|
|
96
|
-
return () => { for (const dispose of removers.reverse())
|
|
97
|
-
dispose(); remove(); };
|
|
98
|
-
});
|
|
73
|
+
}, element, hooks);
|
|
99
74
|
}
|
|
100
75
|
//# sourceMappingURL=session-performance-adapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-performance-adapter.js","sourceRoot":"","sources":["../../../../../src/dsh-capabilities/client/session-performance-adapter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAA;AAChF,OAAO,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAA;AAC1G,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"session-performance-adapter.js","sourceRoot":"","sources":["../../../../../src/dsh-capabilities/client/session-performance-adapter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAA;AAChF,OAAO,EAAE,uBAAuB,EAA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IAAI,EAAE,CAAA;gBAC5B,OAAO,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;YACrE,CAAC;SACF,CAAC,CAAA;IACJ,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,CAAA;AACpB,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { CodingNsTeamAction, CodingNsTeamIdentity } from '../../shared/contracts/agent-team.js';
|
|
2
|
+
export interface TeamAgent {
|
|
3
|
+
readonly id: string;
|
|
4
|
+
readonly session?: {
|
|
5
|
+
readonly header?: {
|
|
6
|
+
readonly id?: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export interface TeamAgentRegistry {
|
|
11
|
+
get(id: string): unknown;
|
|
12
|
+
list(): readonly unknown[];
|
|
13
|
+
}
|
|
14
|
+
export interface NativeAgentTeamService {
|
|
15
|
+
membership(agent: unknown): unknown;
|
|
16
|
+
listMembers(agent: unknown): unknown;
|
|
17
|
+
sendMessage(agent: unknown, request: Record<string, unknown>): unknown;
|
|
18
|
+
listTasks(agent: unknown): unknown;
|
|
19
|
+
getTask(agent: unknown, id: string): unknown;
|
|
20
|
+
createTask(agent: unknown, request: Record<string, unknown>): unknown;
|
|
21
|
+
updateTask(agent: unknown, request: Record<string, unknown>): unknown;
|
|
22
|
+
waitForChange(agent: unknown, timeoutMs: number, signal: AbortSignal): unknown;
|
|
23
|
+
spawnTeammate?(agent: unknown, request: Record<string, unknown>): unknown;
|
|
24
|
+
interrupt?(agent: unknown, target: string): unknown;
|
|
25
|
+
}
|
|
26
|
+
export declare function supportsExternalAgentTeam(context: unknown, lead?: boolean): boolean;
|
|
27
|
+
export declare function createAgentTeamAdapter(context: unknown): DshAgentTeamAdapter;
|
|
28
|
+
/** Exact Agent identity and all DSH-specific calls stay at this boundary. */
|
|
29
|
+
export declare class DshAgentTeamAdapter {
|
|
30
|
+
private readonly service;
|
|
31
|
+
private readonly agents;
|
|
32
|
+
private readonly controller?;
|
|
33
|
+
private readonly lifetime;
|
|
34
|
+
readonly supportsLead: boolean;
|
|
35
|
+
constructor(service: NativeAgentTeamService, agents: TeamAgentRegistry, controller?: unknown | undefined);
|
|
36
|
+
get signal(): AbortSignal;
|
|
37
|
+
nativeRoute(model?: string, effort?: string, provider?: string): Promise<{
|
|
38
|
+
provider: string;
|
|
39
|
+
model: string;
|
|
40
|
+
reasoningEffort?: string;
|
|
41
|
+
}>;
|
|
42
|
+
resolveAgent(sessionId: string): TeamAgent | undefined;
|
|
43
|
+
identity(agent: TeamAgent): CodingNsTeamIdentity;
|
|
44
|
+
invoke(agent: TeamAgent, action: CodingNsTeamAction, input: Record<string, unknown>, signal?: AbortSignal): unknown;
|
|
45
|
+
dispose(): void;
|
|
46
|
+
private isCurrent;
|
|
47
|
+
}
|
|
48
|
+
export declare function sessionIdOf(agent: TeamAgent): string;
|
|
49
|
+
export declare function teamError(code: string, message: string): Error & {
|
|
50
|
+
code: string;
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=agent-team-adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-team-adapter.d.ts","sourceRoot":"","sources":["../../../../../src/dsh-capabilities/host/agent-team-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAEpG,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,MAAM,CAAC,EAAE;YAAE,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;CAClE;AAED,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,EAAE,EAAE,M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AAM;IAAqB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC;IAHtI,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAwB;IACjD,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;gBAED,OAAO,EAAE,sBAAsB,EAAmB,MAAM,EAAE,iBAAiB,EAAmB,UAAU,CAAC,EAAE,OAAO,YAAA;IAI/I,IAAI,MAAM,IAAI,WAAW,CAAgC;IAEnD,WAAW,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAiB7I,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS;IAQtD,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,oBAAoB;IAUhD,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO;IAyBnH,OAAO,IAAI,IAAI;IAEf,OAAO,CAAC,SAAS;CAClB;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAAyD;AAE9G,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,KAAK,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAuD"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
const MEMBER_METHODS = ['membership', 'listMembers', 'sendMessage', 'listTasks', 'getTask', 'createTask', 'updateTask', 'waitForChange'];
|
|
2
|
+
export function supportsExternalAgentTeam(context, lead = false) {
|
|
3
|
+
const service = read(context, 'agentTeams');
|
|
4
|
+
return hasMethods(service, [...MEMBER_METHODS, ...(lead ? ['spawnTeammate', 'interrupt'] : [])])
|
|
5
|
+
&& hasMethods(read(context, 'agents'), ['get', 'list'])
|
|
6
|
+
&& hasMethods(read(context, 'subagents'), ['registerProvider', 'startActivation', 'sendMessage']);
|
|
7
|
+
}
|
|
8
|
+
export function createAgentTeamAdapter(context) {
|
|
9
|
+
return new DshAgentTeamAdapter(read(context, 'agentTeams'), read(context, 'agents'), () => read(context, 'sessionController'));
|
|
10
|
+
}
|
|
11
|
+
/** Exact Agent identity and all DSH-specific calls stay at this boundary. */
|
|
12
|
+
export class DshAgentTeamAdapter {
|
|
13
|
+
service;
|
|
14
|
+
agents;
|
|
15
|
+
controller;
|
|
16
|
+
lifetime = new AbortController();
|
|
17
|
+
supportsLead;
|
|
18
|
+
constructor(service, agents, controller) {
|
|
19
|
+
this.service = service;
|
|
20
|
+
this.agents = agents;
|
|
21
|
+
this.controller = controller;
|
|
22
|
+
this.supportsLead = hasMethods(service, ['spawnTeammate', 'interrupt']);
|
|
23
|
+
}
|
|
24
|
+
get signal() { return this.lifetime.signal; }
|
|
25
|
+
async nativeRoute(model, effort, provider) {
|
|
26
|
+
// The catalog service may be published after the Team service or replaced
|
|
27
|
+
// during reload. Resolve it at the operation boundary, not at activation.
|
|
28
|
+
const controller = (typeof this.controller === 'function' ? this.controller() : this.controller);
|
|
29
|
+
if (!controller?.modelCatalog)
|
|
30
|
+
throw teamError('TEAM_NATIVE_ROUTE_UNAVAILABLE', 'A native DSH model catalog is required for mixed Teams.');
|
|
31
|
+
const catalog = await controller.modelCatalog();
|
|
32
|
+
const selectedModel = model ?? catalog.default?.model;
|
|
33
|
+
const selectedProvider = provider ?? (model === undefined ? catalog.default?.provider : undefined);
|
|
34
|
+
const matches = (catalog.groups ?? []).flatMap(group => group.id.startsWith('codingns-cli-') || selectedProvider && group.id !== selectedProvider ? []
|
|
35
|
+
: (group.models ?? []).filter(item => item.id === selectedModel).map(item => ({ provider: group.id, item })));
|
|
36
|
+
if (matches.length !== 1)
|
|
37
|
+
throw teamError('TEAM_NATIVE_ROUTE_UNAVAILABLE', 'Select an unambiguous native DSH provider and model.');
|
|
38
|
+
const match = matches[0];
|
|
39
|
+
const reasoningEffort = effort ?? (model === undefined && match.provider === catalog.default?.provider ? catalog.default?.reasoningEffort : undefined);
|
|
40
|
+
if (reasoningEffort && !match.item.reasoning?.efforts?.some(item => item.id === reasoningEffort))
|
|
41
|
+
throw teamError('TEAM_MODEL_UNSUPPORTED', 'The requested native effort is unavailable.');
|
|
42
|
+
return { provider: match.provider, model: match.item.id, ...(reasoningEffort ? { reasoningEffort } : {}) };
|
|
43
|
+
}
|
|
44
|
+
resolveAgent(sessionId) {
|
|
45
|
+
if (this.signal.aborted || sessionId.trim() === '')
|
|
46
|
+
return undefined;
|
|
47
|
+
const direct = this.agents.get(sessionId);
|
|
48
|
+
if (isAgent(direct) && this.isCurrent(direct) && sessionIdOf(direct) === sessionId)
|
|
49
|
+
return direct;
|
|
50
|
+
return this.agents.list().find((candidate) => isAgent(candidate)
|
|
51
|
+
&& this.isCurrent(candidate) && sessionIdOf(candidate) === sessionId);
|
|
52
|
+
}
|
|
53
|
+
identity(agent) {
|
|
54
|
+
this.signal.throwIfAborted();
|
|
55
|
+
if (!this.isCurrent(agent))
|
|
56
|
+
throw teamError('TEAM_CALLER_UNAVAILABLE', 'The calling Agent is no longer live.');
|
|
57
|
+
const member = this.service.membership(agent);
|
|
58
|
+
if ((member?.role !== 'lead' && member?.role !== 'teammate') || typeof member.id !== 'string' || typeof member.name !== 'string') {
|
|
59
|
+
throw teamError('TEAM_NOT_MEMBER', 'The calling Agent is not a native Team member.');
|
|
60
|
+
}
|
|
61
|
+
return { sessionId: sessionIdOf(agent), teamId: member.id, role: member.role, name: member.name };
|
|
62
|
+
}
|
|
63
|
+
invoke(agent, action, input, signal) {
|
|
64
|
+
const identity = this.identity(agent);
|
|
65
|
+
if ((action === 'spawn' || action === 'interrupt' || action === 'task_update' && input.action === 'reassign') && identity.role !== 'lead') {
|
|
66
|
+
throw teamError('TEAM_LEAD_REQUIRED', 'Only the Team Lead may perform this operation.');
|
|
67
|
+
}
|
|
68
|
+
const combined = signal ? AbortSignal.any([signal, this.signal]) : this.signal;
|
|
69
|
+
combined.throwIfAborted();
|
|
70
|
+
switch (action) {
|
|
71
|
+
case 'status': return { identity, supportsLead: this.supportsLead };
|
|
72
|
+
case 'members': return this.service.listMembers(agent);
|
|
73
|
+
case 'message': return this.service.sendMessage(agent, { ...input, signal: combined });
|
|
74
|
+
case 'tasks': return this.service.listTasks(agent);
|
|
75
|
+
case 'task': return this.service.getTask(agent, String(input.taskId));
|
|
76
|
+
case 'task_create': return this.service.createTask(agent, input);
|
|
77
|
+
case 'task_update': return this.service.updateTask(agent, input);
|
|
78
|
+
case 'wait': return this.service.waitForChange(agent, Number(input.timeoutMs), combined);
|
|
79
|
+
case 'spawn':
|
|
80
|
+
if (!this.service.spawnTeammate)
|
|
81
|
+
throw teamError('TEAM_OPERATION_UNAVAILABLE', 'Teammate creation is unavailable.');
|
|
82
|
+
return this.service.spawnTeammate(agent, { ...input, signal: combined });
|
|
83
|
+
case 'interrupt':
|
|
84
|
+
if (!this.service.interrupt)
|
|
85
|
+
throw teamError('TEAM_OPERATION_UNAVAILABLE', 'Team interruption is unavailable.');
|
|
86
|
+
return this.service.interrupt(agent, String(input.target));
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
dispose() { this.lifetime.abort(teamError('TEAM_SERVICE_UNAVAILABLE', 'The native Team service was removed.')); }
|
|
90
|
+
isCurrent(agent) { return this.agents.get(agent.id) === agent; }
|
|
91
|
+
}
|
|
92
|
+
export function sessionIdOf(agent) { return agent.session?.header?.id?.trim() || agent.id; }
|
|
93
|
+
export function teamError(code, message) { return Object.assign(new Error(message), { code }); }
|
|
94
|
+
function isAgent(value) { return typeof value === 'object' && value !== null && typeof Reflect.get(value, 'id') === 'string'; }
|
|
95
|
+
function hasMethods(value, methods) {
|
|
96
|
+
return value !== null && (typeof value === 'object' || typeof value === 'function') && methods.every(method => typeof Reflect.get(value, method) === 'function');
|
|
97
|
+
}
|
|
98
|
+
function read(context, name) {
|
|
99
|
+
if (typeof context !== 'object' || context === null)
|
|
100
|
+
return undefined;
|
|
101
|
+
try {
|
|
102
|
+
const get = Reflect.get(context, 'get');
|
|
103
|
+
return typeof get === 'function' ? get.call(context, name) : Reflect.get(context, name);
|
|
104
|
+
}
|
|
105
|
+
catch {
|
|
106
|
+
return undefined;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=agent-team-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-team-adapter.js","sourceRoot":"","sources":["../../../../../src/dsh-capabilities/host/agent-team-adapter.ts"],"names":[],"mappings":"AAyBA,MAAM,cAAc,GAAG,CAAC,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,eAAe,CAAC,CAAA;AAExI,MAAM,UAAU,yBAAyB,CAAC,OAAgB,EAAE,IAAI,GAAG,KAAK;IACtE,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,CAAA;IAC3C,OAAO,UAAU,CAAC,OAAO,EAAE,CAAC,GAAG,cAAc,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;WAC3F,UAAU,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;WACpD,UAAU,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,EAAE,CAAC,kBAAkB,EAAE,iBAAiB,EAAE,aAAa,CAAC,CAAC,CAAA;AACrG,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAgB;IACrD,OAAO,IAAI,mB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IAAC,CAAC;AAC9B,CAAC"}
|
|
@@ -89,7 +89,7 @@ export class QuickAppProxyProvider {
|
|
|
89
89
|
}
|
|
90
90
|
/** Existing local Host listener only; callers cannot supply an upstream address. */
|
|
91
91
|
async requestResource(basePath, input, signal) {
|
|
92
|
-
if (this.stopped || quickAppProxyBase(basePath) !== basePath || !input || !['GET', 'HEAD', 'PUT', 'DELETE', 'OPTIONS'].includes(input.method)
|
|
92
|
+
if (this.stopped || quickAppProxyBase(basePath) !== basePath || !input || !['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'OPTIONS'].includes(input.method)
|
|
93
93
|
|| typeof input.path !== 'string' || !input.path.startsWith('/') || input.path.startsWith('//') || input.path.length > 8192
|
|
94
94
|
|| /[\r\n#]/u.test(input.path) || typeof input.headers !== 'object' || !input.headers
|
|
95
95
|
|| input.body !== undefined && (typeof input.body !== 'string' || Buffer.byteLength(input.body) > QUICK_APP_LIMITS.textBytes))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quick-app-proxy-provider.js","sourceRoot":"","sources":["../../../../../src/dsh-capabilities/host/quick-app-proxy-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,OAAO,EAA6C,MAAM,WAAW,CAAA;AAC9E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AAEpD,OAAO,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAA;AACvG,OAAO,EAAE,gBAAgB,EAAyD,MAAM,sCAAsC,CAAA;AAC9H,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAA;AAGxE,6FAA6F;AAC7F,MAAM,OAAO,qBAAqB;IAMH;IALpB,SAAS,GAAG,eAAwB,CAAA;IACrC,OAAO,GAAG,KAAK,CAAA;IACN,QAAQ,GAAG,IAAI,GAAG,EAAuB,CAAA;IACzC,QAAQ,GAAG,IA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B,EAAE,SAAS,wBAAwB,
|
|
1
|
+
{"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../../../src/dsh-capabilities/matrix.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAGjG,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAA;IACpC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,OAAO,EAAE,oBAAoB,CAAA;IACtC,QAAQ,CAAC,MAAM,EAAE,wBAAwB,CAAA;IACzC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAA;IAChC,QAAQ,CAAC,WAAW,CAAC,EAAE,eAAe,CAAA;IACtC,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAA;CACtC;AAED,+BAA+B;AAC/B,eAAO,MAAM,qBAAqB,EAAE,SAAS,wBAAwB,EAiGpE,CAAA"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { DSH_COMPATIBILITY } from '../shared/contracts/version.js';
|
|
2
2
|
/** 能力版本矩阵是运行时路由和版本检查的共同事实源。 */
|
|
3
3
|
export const DSH_CAPABILITY_MATRIX = [
|
|
4
|
-
route('session.external-performance', 'session-performance-projection-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-
|
|
5
|
-
route('session.external-performance', 'session-performance-presentation-021', 'client', '>=0.2.1-alpha.3 <=0.2.1-
|
|
4
|
+
route('session.external-performance', 'session-performance-projection-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-rc.2', 'supported', ['dsh-capabilities/host/session-performance-adapter.ts', 'host/cli-adapters/feature.ts']),
|
|
5
|
+
route('session.external-performance', 'session-performance-presentation-021', 'client', '>=0.2.1-alpha.3 <=0.2.1-rc.2', 'supported', ['dsh-capabilities/client/session-performance-adapter.ts', 'client/features/cli-adapters.ts']),
|
|
6
6
|
route('quick-app.proxy', 'quick-app-host-proxy-021', 'host', DSH_COMPATIBILITY, 'supported', ['dsh-capabilities/host/quick-app-proxy-adapter.ts', 'dsh-capabilities/host/quick-app-proxy-provider.ts', 'host/features/quick-apps.ts', 'host/index.ts']),
|
|
7
7
|
route('workspace.directory-list', 'workspace-directory-list-021', 'host', DSH_COMPATIBILITY, 'supported', ['dsh-capabilities/host/workspace-directory-adapter.ts', 'host/features/quick-apps.ts', 'host/modules/quick-apps/browse.ts']),
|
|
8
8
|
route('quick-app.origin', 'quick-app-origin-provider', 'host', DSH_COMPATIBILITY, 'supported', ['dsh-capabilities/host/quick-app-origin-adapter.ts', 'dsh-capabilities/host/quick-app-https-provider.ts', 'dsh-capabilities/host/quick-app-lan-ports.ts', 'dsh-capabilities/host/quick-app-transport.ts', 'host/features/quick-apps.ts', 'host/features/lan-access-dsh.ts']),
|
|
9
9
|
route('sidebar.footer-action', 'sidebar-footer-action-021', 'client', DSH_COMPATIBILITY, 'supported', ['dsh-capabilities/client/quick-app-footer-adapter.ts', 'client/features/quick-apps.ts']),
|
|
10
|
-
route('session.prompt-assembly', 'session-prompt-assembly-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-
|
|
11
|
-
route('session.external-model-selection', 'session-external-model-selection-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-
|
|
10
|
+
route('session.prompt-assembly', 'session-prompt-assembly-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-rc.2', 'supported', ['dsh-capabilities/host/session-prompt-adapter.ts', 'host/features/session-prompt-translation.ts', 'host/cli-adapters/feature.ts']),
|
|
11
|
+
route('session.external-model-selection', 'session-external-model-selection-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-rc.2', 'supported', ['dsh-capabilities/host/session-model-selection-adapter.ts', 'host/cli-adapters/feature.ts']),
|
|
12
12
|
route('session.activation', 'session-activation-020', 'host', '>=0.2.0-rc.2 <=0.2.1-alpha.2', 'supported', ['dsh-capabilities/host/session-activation-adapter.ts', 'host/native-session-bridge.ts']),
|
|
13
|
-
route('session.activation', 'session-activation-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-
|
|
13
|
+
route('session.activation', 'session-activation-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-rc.2', 'supported', ['dsh-capabilities/host/session-activation-adapter.ts', 'host/native-session-bridge.ts']),
|
|
14
14
|
route('conversation.message-presentation', 'message-presentation-020', 'client', '>=0.2.0-rc.2 <=0.2.1-alpha.2', 'supported', ['dsh-capabilities/client/message-presentation-adapter.ts', 'client/session-translation-chat.ts']),
|
|
15
|
-
route('conversation.message-presentation', 'message-presentation-021', 'client', '>=0.2.1-alpha.3 <=0.2.1-
|
|
16
|
-
route('connection.peer', 'connection.peer-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-
|
|
17
|
-
route('connection.uplink', 'connection.uplink-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-
|
|
15
|
+
route('conversation.message-presentation', 'message-presentation-021', 'client', '>=0.2.1-alpha.3 <=0.2.1-rc.2', 'supported', ['dsh-capabilities/client/message-presentation-adapter.ts', 'client/session-translation-chat.ts']),
|
|
16
|
+
route('connection.peer', 'connection.peer-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-rc.2', 'supported', ['dsh-capabilities/host/connection-peer-adapter.ts', 'host/rpc.ts', 'host/features/global-voice-rpc.ts', 'host/modules/peer-host/peer-host-native-dispatch.ts']),
|
|
17
|
+
route('connection.uplink', 'connection.uplink-021', 'host', '>=0.2.1-alpha.3 <=0.2.1-rc.2', 'supported', ['dsh-capabilities/host/native-dispatch-adapter.ts', 'host/modules/peer-host/peer-host-native-dispatch.ts']),
|
|
18
18
|
route('session.title', 'session-title-020', 'host', DSH_COMPATIBILITY, 'supported', ['dsh-capabilities/host/session-title-adapter.ts', 'host/features/session-title-optimization.ts']),
|
|
19
19
|
// alpha.2 起会话有可变的「当前目录」;旧版本没有该服务,终端回退到不可变的
|
|
20
20
|
// `session.header.cwd`,因此能力缺失只影响「跟随当前目录」这一项增强。
|
|
21
21
|
route('session.working-directory', 'session-working-directory-021', 'host', '>=0.2.1-alpha.2', 'supported', ['host/terminal/terminal-controller.ts', 'host/index.ts']),
|
|
22
|
-
route('llm.text', 'llm-text-021', 'host', DSH_COMPATIBILITY, 'supported', ['dsh-capabilities/host/assistant-llm-adapter.ts', 'host/features/assistant-text-chat.ts', 'dsh-capabilities/host/session-title-adapter.ts', 'host/features/session-title-optimization.ts']),
|
|
22
|
+
route('llm.text', 'llm-text-021', 'host', DSH_COMPATIBILITY, 'supported', ['dsh-capabilities/host/assistant-llm-adapter.ts', 'host/features/assistant-text-chat.ts', 'dsh-capabilities/host/session-title-adapter.ts', 'host/features/session-title-optimization.ts', 'host/features/git-management.ts']),
|
|
23
23
|
route('assistant.agent', 'assistant-agent-021', 'host', DSH_COMPATIBILITY, 'supported', ['dsh-capabilities/host/assistant-agent-adapter.ts', 'host/features/global-voice-rpc.ts']),
|
|
24
24
|
route('settings.store', 'legacy-settings-scope', 'host', '>=0.1.5-rc.3 <=0.1.6', 'supported', ['host/settings.ts', 'host/features/*']),
|
|
25
25
|
route('settings.store', 'config-forms', 'host', '>=0.1.7-rc.2 <=0.1.7-rc.2', 'supported', ['host/settings.ts', 'client/settings-bridge.ts']),
|
|
@@ -59,6 +59,8 @@ export const DSH_CAPABILITY_MATRIX = [
|
|
|
59
59
|
// 业务侧经 `startNativeSubagent()` 归一化调用,不写运行期版本判断。
|
|
60
60
|
route('subagent.continuable', 'subagent-activation-021', 'host', '>=0.2.1-alpha.2', 'supported', ['host/cli-adapters/native-team-subagent.ts', 'host/cli-adapters/native-subagent-dispatch.ts']),
|
|
61
61
|
route('agent-team.native', 'agent-team-native-020', 'host', DSH_COMPATIBILITY, 'supported', ['host/cli-adapters/feature.ts', 'host/cli-adapters/native-team-proxy.ts']),
|
|
62
|
+
route('agent-team.external-member', 'agent-team-external-member-021', 'host', '>=0.2.1-alpha.2 <=0.2.1-rc.2', 'supported', ['host/cli-adapters/feature.ts', 'host/cli-bridge/team-dispatch.ts']),
|
|
63
|
+
route('agent-team.external-lead', 'agent-team-external-lead-021', 'host', '>=0.2.1-alpha.2 <=0.2.1-rc.2', 'supported', ['host/cli-adapters/feature.ts', 'host/cli-bridge/team-dispatch.ts']),
|
|
62
64
|
route('ui.icon.plus', 'regular-plus-icon-020', 'client', DSH_COMPATIBILITY, 'supported', ['client/terminal/xterm-view.ts']),
|
|
63
65
|
route('ui.icon.chevron', 'regular-chevron-icon-020', 'client', DSH_COMPATIBILITY, 'supported', ['client/terminal/ui.ts']),
|
|
64
66
|
route('locale.runtime', 'locale-runtime-020', 'client', DSH_COMPATIBILITY, 'supported', ['client/locale.ts']),
|
|
@@ -67,7 +69,7 @@ export const DSH_CAPABILITY_MATRIX = [
|
|
|
67
69
|
// 插件界面的 `fontSize()` 会回落到基准值,行为与今天一致。
|
|
68
70
|
route('theme.font-scale', 'theme-font-scale-021', 'client', '>=0.2.1-alpha.2', 'supported', ['client/font-scale.ts', 'client/index.ts']),
|
|
69
71
|
route('conversation.tool-call', 'conversation-events-020', 'client', DSH_COMPATIBILITY, 'supported', ['client/external-tool-stream.ts']),
|
|
70
|
-
route('conversation.draft-share', 'conversation-draft-share-021', 'client', '>=0.2.1-alpha.1 <=0.2.1-
|
|
72
|
+
route('conversation.draft-share', 'conversation-draft-share-021', 'client', '>=0.2.1-alpha.1 <=0.2.1-rc.2', 'supported', ['client/terminal/ui.ts', 'client/terminal/sharing.ts']),
|
|
71
73
|
route('conversation.interaction-translation', 'interaction-presentation-021', 'client', DSH_COMPATIBILITY, 'supported', ['client/session-translation-interactions.ts']),
|
|
72
74
|
route('sidebar.right', 'sidebar-right-dock-020', 'client', DSH_COMPATIBILITY, 'supported', ['client/terminal/ui.ts']),
|
|
73
75
|
route('typert.remote', 'remote-context-stream-020-client', 'client', DSH_COMPATIBILITY, 'supported', ['client/terminal/model.ts']),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matrix.js","sourceRoot":"","sources":["../../../../src/dsh-capabilities/matrix.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAclE,+BAA+B;AAC/B,MAAM,CAAC,MAAM,qBAAqB,GAAwC;IACxE,KAAK,CAAC,8BAA8B,EAAE,oCAAoC,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"matrix.js","sourceRoot":"","sources":["../../../../src/dsh-capabilities/matrix.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAclE,+BAA+B;AAC/B,MAAM,CAAC,MAAM,qBAAqB,GAAwC;IACxE,KAAK,CAAC,8BAA8B,EAAE,oCAAoC,EAAE,MAAM,EAAE,8BAA8B,EAAE,WAAW,EAAE,CAAC,sDAAsD,EAAE,8BAA8B,CAAC,CAAC;IAC1N,KAAK,CAAC,8BAA8B,EAAE,sCAAsC,EAAE,QAAQ,EAAE,8BAA8B,EAAE,WAAW,EAAE,CAAC,wDAAwD,EAAE,iCAAiC,CAAC,CAAC;IACnO,KAAK,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,EAAE,iBAAiB,EAAE,WAAW,EAAE,CAAC,kDAAkD,EAAE,mDAAmD,EAAE,6BAA6B,EAAE,eAAe,CAAC,CAAC;IACvP,KAAK,CAAC,0BAA0B,EAAE,8BAA8B,EAAE,MAAM,EAAE,iBAAiB,EAAE,WAAW,EAAE,CAAC,sDAAsD,EAAE,6BAA6B,EAAE,mCAAmC,CAAC,CAAC;IACvO,KAAK,CAAC,kBAAkB,EAAE,2BAA2B,EAAE,MAAM,EAAE,iBAAiB,EAAE,WAAW,EAAE,CAAC,mDAAmD,EAAE,mDAAmD,EAAE,8CAA8C,EAAE,8CAA8C,EAAE,6BAA6B,EAAE,iCAAiC,CAAC,CAAC;IAC5W,KA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OAAO;QACL,UAAU;QACV,OAAO;QACP,OAAO;QACP,YAAY;QACZ,MAAM;QACN,YAAY,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,YAAY;QACjE,GAAG,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC;QACrD,GAAG,CAAC,cAAc,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,CAAC;QAC3D,SAAS;KACV,CAAA;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../src/dsh-capabilities/routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAGrD,OAAO,KAAK,EAAsB,oBAAoB,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../src/dsh-capabilities/routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAGrD,OAAO,KAAK,EAAsB,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAc1E;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,OAAO,EAChB,KAAK,GAAE,yBAA8B,GACpC,qBAAqB,CAkEvB;AAID;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAA;IAClC,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAA;CAC9B"}
|
|
@@ -12,6 +12,7 @@ import { supportsQuickAppFooter } from './client/quick-app-footer-adapter.js';
|
|
|
12
12
|
import { createWorkspaceDirectoryBrowser, supportsWorkspaceDirectory } from './host/workspace-directory-adapter.js';
|
|
13
13
|
import { createSessionPerformanceAdapter, supportsSessionPerformance } from './host/session-performance-adapter.js';
|
|
14
14
|
import { createSessionPerformancePresentation, supportsSessionPerformancePresentation } from './client/session-performance-adapter.js';
|
|
15
|
+
import { createAgentTeamAdapter, supportsExternalAgentTeam } from './host/agent-team-adapter.js';
|
|
15
16
|
/**
|
|
16
17
|
* 注册 Codingns4DSH 当前实际消费的 DSH 服务能力。
|
|
17
18
|
*
|
|
@@ -25,23 +26,27 @@ export function createDshCapabilityRegistry(dshVersion, runtime, context, facts
|
|
|
25
26
|
const range020 = DSH_COMPATIBILITY;
|
|
26
27
|
const add = (route) => registry.register(route);
|
|
27
28
|
if (runtime === 'host') {
|
|
28
|
-
|
|
29
|
+
for (const role of ['member', 'lead']) {
|
|
30
|
+
add({ id: `agent-team-external-${role}-021`, capability: `agent-team.external-${role}`, supportedDsh: '>=0.2.1-alpha.2 <=0.2.1-rc.2', runtime, priority: 10, status: 'supported', introducedIn: '0.2.1-alpha.2',
|
|
31
|
+
detect: ctx => supportsExternalAgentTeam(ctx, role === 'lead'), create: createAgentTeamAdapter });
|
|
32
|
+
}
|
|
33
|
+
add({ id: 'session-performance-projection-021', capability: 'session.external-performance', supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-rc.2', runtime, priority: 10, status: 'supported', introducedIn: '0.2.1-alpha.3', detect: supportsSessionPerformance, create: createSessionPerformanceAdapter });
|
|
29
34
|
add({ id: 'quick-app-host-proxy-021', capability: 'quick-app.proxy', supportedDsh: range020, runtime, priority: 10, status: 'supported', introducedIn: '0.2.0-rc.2',
|
|
30
35
|
detect: supportsQuickAppProxy, create: createQuickAppProxy });
|
|
31
36
|
add({ id: 'workspace-directory-list-021', capability: 'workspace.directory-list', supportedDsh: range020, runtime, priority: 10, status: 'supported', introducedIn: '0.2.0-rc.2',
|
|
32
37
|
detect: supportsWorkspaceDirectory, create: createWorkspaceDirectoryBrowser });
|
|
33
38
|
add({ id: 'quick-app-origin-provider', capability: 'quick-app.origin', supportedDsh: range020, runtime, priority: 10, status: 'supported', introducedIn: '0.2.1-alpha.3',
|
|
34
39
|
detect: () => supportsQuickAppOrigins(facts.quickAppOrigins), create: () => facts.quickAppOrigins });
|
|
35
|
-
add({ id: 'session-prompt-assembly-021', capability: 'session.prompt-assembly', supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-
|
|
40
|
+
add({ id: 'session-prompt-assembly-021', capability: 'session.prompt-assembly', supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-rc.2', runtime, priority: 10, status: 'supported', introducedIn: '0.2.1-alpha.3',
|
|
36
41
|
detect: supportsSessionPromptAssembly, create: createSessionPromptAdapter });
|
|
37
|
-
add({ id: 'session-external-model-selection-021', capability: 'session.external-model-selection', supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-
|
|
42
|
+
add({ id: 'session-external-model-selection-021', capability: 'session.external-model-selection', supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-rc.2', runtime, priority: 10, status: 'supported', introducedIn: '0.2.1-alpha.3',
|
|
38
43
|
detect: ctx => supportsSessionModelSelection(read(ctx, 'sessionController')), create: ctx => createSessionModelSelectionAdapter(read(ctx, 'sessionController')) });
|
|
39
44
|
add({ id: 'session-activation-020', capability: 'session.activation', supportedDsh: '>=0.2.0-rc.2 <=0.2.1-alpha.2', runtime, priority: 10, status: 'supported', introducedIn: '0.2.0-rc.2',
|
|
40
45
|
detect: ctx => hasMethods(read(ctx, 'sessionController'), ['create']), create: ctx => read(ctx, 'sessionController') });
|
|
41
|
-
add({ id: 'session-activation-021', capability: 'session.activation', supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-
|
|
46
|
+
add({ id: 'session-activation-021', capability: 'session.activation', supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-rc.2', runtime, priority: 10, status: 'supported', introducedIn: '0.2.1-alpha.3',
|
|
42
47
|
detect: ctx => hasMethods(read(ctx, 'sessionController'), ['create', 'resolveAgent']), create: ctx => read(ctx, 'sessionController') });
|
|
43
48
|
for (const capability of ['connection.peer', 'connection.uplink']) {
|
|
44
|
-
add({ id: `${capability}-021`, capability, supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-
|
|
49
|
+
add({ id: `${capability}-021`, capability, supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-rc.2', runtime, priority: 40, status: 'supported', introducedIn: '0.2.1-alpha.3',
|
|
45
50
|
detect: ctx => hasMethods(read(ctx, 'connection'), ['admit', 'createPeer']) && read(ctx, 'connection.browserPeer') !== undefined,
|
|
46
51
|
create: ctx => read(ctx, 'connection') });
|
|
47
52
|
}
|
|
@@ -59,12 +64,12 @@ export function createDshCapabilityRegistry(dshVersion, runtime, context, facts
|
|
|
59
64
|
addPeerHostHostRoutes(add);
|
|
60
65
|
}
|
|
61
66
|
else {
|
|
62
|
-
add({ id: 'session-performance-presentation-021', capability: 'session.external-performance', supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-
|
|
67
|
+
add({ id: 'session-performance-presentation-021', capability: 'session.external-performance', supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-rc.2', runtime, priority: 10, status: 'supported', introducedIn: '0.2.1-alpha.3', detect: supportsSessionPerformancePresentation, create: createSessionPerformancePresentation });
|
|
63
68
|
add({ id: 'sidebar-footer-action-021', capability: 'sidebar.footer-action', supportedDsh: range020, runtime, priority: 10, status: 'supported', introducedIn: '0.2.0-rc.2',
|
|
64
69
|
detect: ctx => supportsQuickAppFooter(read(ctx, 'slots')), create: ctx => read(ctx, 'slots') });
|
|
65
70
|
add({ id: 'message-presentation-020', capability: 'conversation.message-presentation', supportedDsh: '>=0.2.0-rc.2 <=0.2.1-alpha.2', runtime, priority: 10, status: 'supported', introducedIn: '0.2.0-rc.2',
|
|
66
71
|
detect: ctx => supportsLegacyMessagePresentation({ slots: read(ctx, 'slots') }, facts.primitives), create: () => createLegacyMessagePresentation(facts.primitives) });
|
|
67
|
-
add({ id: 'message-presentation-021', capability: 'conversation.message-presentation', supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-
|
|
72
|
+
add({ id: 'message-presentation-021', capability: 'conversation.message-presentation', supportedDsh: '>=0.2.1-alpha.3 <=0.2.1-rc.2', runtime, priority: 10, status: 'supported', introducedIn: '0.2.1-alpha.3',
|
|
68
73
|
detect: ctx => supportsFactoryMessagePresentation({ slots: read(ctx, 'slots') }), create: createFactoryMessagePresentation });
|
|
69
74
|
add({ id: 'settings-scope', capability: 'settings.store', supportedDsh: rangeLegacy, runtime, priority: 10, status: 'supported', introducedIn: '0.1.5-rc.3', detect: (ctx) => typeof ctx.settingsScope?.bind === 'function', create: (ctx) => ctx.settingsScope });
|
|
70
75
|
add({ id: 'config-form', capability: 'settings.store', supportedDsh: rangeModern, runtime, priority: 20, status: 'supported', introducedIn: '0.1.7-rc.2', detect: (ctx) => typeof ctx.configForms?.get === 'function', create: (ctx) => ctx.configForms });
|
|
@@ -207,7 +212,7 @@ function addDsh020ClientRoutes(add, supportedDsh, facts) {
|
|
|
207
212
|
// rc.2 只有纯文本镜像且在组件挂载后才导入草稿,不能保证跨会话插入安全。
|
|
208
213
|
// alpha.1 与 alpha.2 的 `scope`/`input.for`/`openSession` 探测点与草稿 API
|
|
209
214
|
// (captureInsertion、insertReference、persistDraft)逐项一致,因此共用同一路由。
|
|
210
|
-
id: 'conversation-draft-share-021', capability: 'conversation.draft-share', supportedDsh: '>=0.2.1-alpha.1 <=0.2.1-
|
|
215
|
+
id: 'conversation-draft-share-021', capability: 'conversation.draft-share', supportedDsh: '>=0.2.1-alpha.1 <=0.2.1-rc.2', runtime: 'client', priority: 30,
|
|
211
216
|
status: 'supported', introducedIn: '0.2.1-alpha.1',
|
|
212
217
|
detect: supportsTerminalSharing,
|
|
213
218
|
create: createTerminalSharingBridge,
|