@jingyi0605/codingns4dsh 0.1.7-rc.3 → 0.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +695 -0
- package/README.en.md +46 -15
- package/README.md +36 -15
- package/data/build/dist/bootstrap/dsh-connection-adapter.d.ts +1 -1
- package/data/build/dist/bootstrap/dsh-connection-adapter.d.ts.map +1 -0
- package/data/build/dist/bootstrap/dsh-connection-adapter.js.map +1 -0
- package/data/build/dist/bootstrap/dsh-peer-host-preboot-shim.d.ts +50 -0
- package/data/build/dist/bootstrap/dsh-peer-host-preboot-shim.d.ts.map +1 -0
- package/data/build/dist/bootstrap/dsh-peer-host-preboot-shim.js +239 -0
- package/data/build/dist/bootstrap/dsh-peer-host-preboot-shim.js.map +1 -0
- package/data/build/dist/bootstrap/index.d.ts +3 -1
- package/data/build/dist/bootstrap/index.d.ts.map +1 -0
- package/data/build/dist/bootstrap/index.js +1 -0
- package/data/build/dist/bootstrap/index.js.map +1 -0
- package/data/build/dist/client/account-bar.d.ts +7 -1
- package/data/build/dist/client/account-bar.d.ts.map +1 -0
- package/data/build/dist/client/account-bar.js +151 -69
- package/data/build/dist/client/account-bar.js.map +1 -0
- package/data/build/dist/client/bundle.js +8174 -2024
- package/data/build/dist/client/bundle.js.map +1 -0
- package/data/build/dist/client/cli-catalog.d.ts.map +1 -0
- package/data/build/dist/client/cli-catalog.js.map +1 -0
- package/data/build/dist/client/cli-slots.d.ts.map +1 -0
- package/data/build/dist/client/cli-slots.js +15 -4
- package/data/build/dist/client/cli-slots.js.map +1 -0
- package/data/build/dist/client/context-breakdown-dom.d.ts +53 -0
- package/data/build/dist/client/context-breakdown-dom.d.ts.map +1 -0
- package/data/build/dist/client/context-breakdown-dom.js +171 -0
- package/data/build/dist/client/context-breakdown-dom.js.map +1 -0
- package/data/build/dist/client/debug/ui.d.ts.map +1 -0
- package/data/build/dist/client/debug/ui.js +2 -1
- package/data/build/dist/client/debug/ui.js.map +1 -0
- package/data/build/dist/client/dsh-h5-bootstrap.d.ts.map +1 -0
- package/data/build/dist/client/dsh-h5-bootstrap.js +19 -6
- package/data/build/dist/client/dsh-h5-bootstrap.js.map +1 -0
- package/data/build/dist/client/dsh-runtime-version.d.ts +3 -2
- package/data/build/dist/client/dsh-runtime-version.d.ts.map +1 -0
- package/data/build/dist/client/dsh-runtime-version.js +7 -6
- package/data/build/dist/client/dsh-runtime-version.js.map +1 -0
- package/data/build/dist/client/external-tool-stream.d.ts.map +1 -0
- package/data/build/dist/client/external-tool-stream.js.map +1 -0
- package/data/build/dist/client/features/cli-adapters.d.ts.map +1 -0
- package/data/build/dist/client/features/cli-adapters.js +20 -4
- package/data/build/dist/client/features/cli-adapters.js.map +1 -0
- package/data/build/dist/client/features/debug.d.ts.map +1 -0
- package/data/build/dist/client/features/debug.js +2 -2
- package/data/build/dist/client/features/debug.js.map +1 -0
- package/data/build/dist/client/features/file-management-panel.d.ts.map +1 -0
- package/data/build/dist/client/features/file-management-panel.js.map +1 -0
- package/data/build/dist/client/features/file-management.d.ts.map +1 -0
- package/data/build/dist/client/features/file-management.js +2 -2
- package/data/build/dist/client/features/file-management.js.map +1 -0
- package/data/build/dist/client/features/index.d.ts +5 -2
- package/data/build/dist/client/features/index.d.ts.map +1 -0
- package/data/build/dist/client/features/index.js +6 -2
- package/data/build/dist/client/features/index.js.map +1 -0
- package/data/build/dist/client/features/lan-access-panel.d.ts.map +1 -0
- package/data/build/dist/client/features/lan-access-panel.js +80 -2
- package/data/build/dist/client/features/lan-access-panel.js.map +1 -0
- package/data/build/dist/client/features/lan-access-status.d.ts +40 -0
- package/data/build/dist/client/features/lan-access-status.d.ts.map +1 -0
- package/data/build/dist/client/features/lan-access-status.js +118 -0
- package/data/build/dist/client/features/lan-access-status.js.map +1 -0
- package/data/build/dist/client/features/lan-access.d.ts +4 -1
- package/data/build/dist/client/features/lan-access.d.ts.map +1 -0
- package/data/build/dist/client/features/lan-access.js +29 -4
- package/data/build/dist/client/features/lan-access.js.map +1 -0
- package/data/build/dist/client/features/login-protection-panel.d.ts.map +1 -0
- package/data/build/dist/client/features/login-protection-panel.js.map +1 -0
- package/data/build/dist/client/features/login-protection-session.d.ts.map +1 -0
- package/data/build/dist/client/features/login-protection-session.js.map +1 -0
- package/data/build/dist/client/features/login-protection.d.ts.map +1 -0
- package/data/build/dist/client/features/login-protection.js +2 -2
- package/data/build/dist/client/features/login-protection.js.map +1 -0
- package/data/build/dist/client/features/mobile-access-panel.d.ts +12 -0
- package/data/build/dist/client/features/mobile-access-panel.d.ts.map +1 -0
- package/data/build/dist/client/features/mobile-access-panel.js +259 -0
- package/data/build/dist/client/features/mobile-access-panel.js.map +1 -0
- package/data/build/dist/client/features/mobile-access.d.ts +13 -0
- package/data/build/dist/client/features/mobile-access.d.ts.map +1 -0
- package/data/build/dist/client/features/mobile-access.js +75 -0
- package/data/build/dist/client/features/mobile-access.js.map +1 -0
- package/data/build/dist/client/features/peer-host.d.ts +35 -1
- package/data/build/dist/client/features/peer-host.d.ts.map +1 -0
- package/data/build/dist/client/features/peer-host.js +495 -56
- package/data/build/dist/client/features/peer-host.js.map +1 -0
- package/data/build/dist/client/features/reverse-proxy-panel.d.ts.map +1 -0
- package/data/build/dist/client/features/reverse-proxy-panel.js +2 -1
- package/data/build/dist/client/features/reverse-proxy-panel.js.map +1 -0
- package/data/build/dist/client/features/reverse-proxy.d.ts.map +1 -0
- package/data/build/dist/client/features/reverse-proxy.js +2 -2
- package/data/build/dist/client/features/reverse-proxy.js.map +1 -0
- package/data/build/dist/client/features/subscription-usage-panel.d.ts +15 -0
- package/data/build/dist/client/features/subscription-usage-panel.d.ts.map +1 -0
- package/data/build/dist/client/features/subscription-usage-panel.js +117 -0
- package/data/build/dist/client/features/subscription-usage-panel.js.map +1 -0
- package/data/build/dist/client/features/terminal-enhancement-panel.d.ts.map +1 -0
- package/data/build/dist/client/features/terminal-enhancement-panel.js.map +1 -0
- package/data/build/dist/client/features/terminal-enhancement.d.ts.map +1 -0
- package/data/build/dist/client/features/terminal-enhancement.js +2 -2
- package/data/build/dist/client/features/terminal-enhancement.js.map +1 -0
- package/data/build/dist/client/features/types.d.ts +12 -0
- package/data/build/dist/client/features/types.d.ts.map +1 -0
- package/data/build/dist/client/features/types.js.map +1 -0
- package/data/build/dist/client/features/workspace-session-enhancement-panel.d.ts.map +1 -0
- package/data/build/dist/client/features/workspace-session-enhancement-panel.js +27 -7
- package/data/build/dist/client/features/workspace-session-enhancement-panel.js.map +1 -0
- package/data/build/dist/client/features/workspace-session-enhancement.d.ts.map +1 -0
- package/data/build/dist/client/features/workspace-session-enhancement.js +34 -6
- package/data/build/dist/client/features/workspace-session-enhancement.js.map +1 -0
- package/data/build/dist/client/file-management-dom.d.ts +2 -0
- package/data/build/dist/client/file-management-dom.d.ts.map +1 -0
- package/data/build/dist/client/file-management-dom.js +37 -8
- package/data/build/dist/client/file-management-dom.js.map +1 -0
- package/data/build/dist/client/git-history-graph.d.ts +81 -0
- package/data/build/dist/client/git-history-graph.d.ts.map +1 -0
- package/data/build/dist/client/git-history-graph.js +195 -0
- package/data/build/dist/client/git-history-graph.js.map +1 -0
- package/data/build/dist/client/git-management.d.ts.map +1 -0
- package/data/build/dist/client/git-management.js +305 -67
- package/data/build/dist/client/git-management.js.map +1 -0
- package/data/build/dist/client/git-panel-styles.d.ts +28 -0
- package/data/build/dist/client/git-panel-styles.d.ts.map +1 -0
- package/data/build/dist/client/git-panel-styles.js +95 -0
- package/data/build/dist/client/git-panel-styles.js.map +1 -0
- package/data/build/dist/client/h5-bootstrap-entry.d.ts.map +1 -0
- package/data/build/dist/client/h5-bootstrap-entry.js.map +1 -0
- package/data/build/dist/client/host-router.d.ts.map +1 -0
- package/data/build/dist/client/host-router.js.map +1 -0
- package/data/build/dist/client/index.d.ts +6 -4
- package/data/build/dist/client/index.d.ts.map +1 -0
- package/data/build/dist/client/index.js +26 -53
- package/data/build/dist/client/index.js.map +1 -0
- package/data/build/dist/client/lan-access.d.ts.map +1 -0
- package/data/build/dist/client/lan-access.js.map +1 -0
- package/data/build/dist/client/locale.d.ts.map +1 -0
- package/data/build/dist/client/locale.js +170 -12
- package/data/build/dist/client/locale.js.map +1 -0
- package/data/build/dist/client/mobile-settings-modal-dom.d.ts +49 -0
- package/data/build/dist/client/mobile-settings-modal-dom.d.ts.map +1 -0
- package/data/build/dist/client/mobile-settings-modal-dom.js +152 -0
- package/data/build/dist/client/mobile-settings-modal-dom.js.map +1 -0
- package/data/build/dist/client/mobile-sidebar-gestures.d.ts +97 -0
- package/data/build/dist/client/mobile-sidebar-gestures.d.ts.map +1 -0
- package/data/build/dist/client/mobile-sidebar-gestures.js +316 -0
- package/data/build/dist/client/mobile-sidebar-gestures.js.map +1 -0
- package/data/build/dist/client/mobile-sidebar-logo.d.ts +18 -0
- package/data/build/dist/client/mobile-sidebar-logo.d.ts.map +1 -0
- package/data/build/dist/client/mobile-sidebar-logo.js +15 -0
- package/data/build/dist/client/mobile-sidebar-logo.js.map +1 -0
- package/data/build/dist/client/mobile-sidebar-rail-dom.d.ts +106 -0
- package/data/build/dist/client/mobile-sidebar-rail-dom.d.ts.map +1 -0
- package/data/build/dist/client/mobile-sidebar-rail-dom.js +444 -0
- package/data/build/dist/client/mobile-sidebar-rail-dom.js.map +1 -0
- package/data/build/dist/client/mobile-vibration.d.ts +16 -0
- package/data/build/dist/client/mobile-vibration.d.ts.map +1 -0
- package/data/build/dist/client/mobile-vibration.js +20 -0
- package/data/build/dist/client/mobile-vibration.js.map +1 -0
- package/data/build/dist/client/native-workspace-store.d.ts +29 -0
- package/data/build/dist/client/native-workspace-store.d.ts.map +1 -0
- package/data/build/dist/client/native-workspace-store.js +64 -0
- package/data/build/dist/client/native-workspace-store.js.map +1 -0
- package/data/build/dist/client/peer-host-aggregate-refresh.d.ts +13 -0
- package/data/build/dist/client/peer-host-aggregate-refresh.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-aggregate-refresh.js +14 -0
- package/data/build/dist/client/peer-host-aggregate-refresh.js.map +1 -0
- package/data/build/dist/client/peer-host-color.d.ts +13 -0
- package/data/build/dist/client/peer-host-color.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-color.js +57 -0
- package/data/build/dist/client/peer-host-color.js.map +1 -0
- package/data/build/dist/client/peer-host-connection-button.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-connection-button.js +6 -3
- package/data/build/dist/client/peer-host-connection-button.js.map +1 -0
- package/data/build/dist/client/peer-host-management-api.d.ts +34 -0
- package/data/build/dist/client/peer-host-management-api.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-management-api.js +12 -0
- package/data/build/dist/client/peer-host-management-api.js.map +1 -0
- package/data/build/dist/client/peer-host-management-panel.d.ts +1 -1
- package/data/build/dist/client/peer-host-management-panel.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-management-panel.js +521 -86
- package/data/build/dist/client/peer-host-management-panel.js.map +1 -0
- package/data/build/dist/client/peer-host-native-projection.d.ts +46 -0
- package/data/build/dist/client/peer-host-native-projection.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-native-projection.js +137 -0
- package/data/build/dist/client/peer-host-native-projection.js.map +1 -0
- package/data/build/dist/client/peer-host-native-store-projection.d.ts +21 -0
- package/data/build/dist/client/peer-host-native-store-projection.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-native-store-projection.js +114 -0
- package/data/build/dist/client/peer-host-native-store-projection.js.map +1 -0
- package/data/build/dist/client/peer-host-scoped-client.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-scoped-client.js.map +1 -0
- package/data/build/dist/client/peer-host-session-controller.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-session-controller.js.map +1 -0
- package/data/build/dist/client/peer-host-workspace-tab.d.ts +44 -0
- package/data/build/dist/client/peer-host-workspace-tab.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-workspace-tab.js +472 -0
- package/data/build/dist/client/peer-host-workspace-tab.js.map +1 -0
- package/data/build/dist/client/peer-host-workspace-tag.d.ts +47 -0
- package/data/build/dist/client/peer-host-workspace-tag.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-workspace-tag.js +207 -0
- package/data/build/dist/client/peer-host-workspace-tag.js.map +1 -0
- package/data/build/dist/client/popup-dismiss.d.ts +48 -0
- package/data/build/dist/client/popup-dismiss.d.ts.map +1 -0
- package/data/build/dist/client/popup-dismiss.js +93 -0
- package/data/build/dist/client/popup-dismiss.js.map +1 -0
- package/data/build/dist/client/provider-icon-assets.d.ts.map +1 -0
- package/data/build/dist/client/provider-icon-assets.js.map +1 -0
- package/data/build/dist/client/provider-icons.d.ts +10 -1
- package/data/build/dist/client/provider-icons.d.ts.map +1 -0
- package/data/build/dist/client/provider-icons.js +19 -12
- package/data/build/dist/client/provider-icons.js.map +1 -0
- package/data/build/dist/client/pwa-install-prompt.d.ts +73 -0
- package/data/build/dist/client/pwa-install-prompt.d.ts.map +1 -0
- package/data/build/dist/client/pwa-install-prompt.js +178 -0
- package/data/build/dist/client/pwa-install-prompt.js.map +1 -0
- package/data/build/dist/client/pwa-notifications.d.ts +105 -0
- package/data/build/dist/client/pwa-notifications.d.ts.map +1 -0
- package/data/build/dist/client/pwa-notifications.js +192 -0
- package/data/build/dist/client/pwa-notifications.js.map +1 -0
- package/data/build/dist/client/quick-phrase-layout.d.ts.map +1 -0
- package/data/build/dist/client/quick-phrase-layout.js.map +1 -0
- package/data/build/dist/client/quick-phrase-slot.d.ts.map +1 -0
- package/data/build/dist/client/quick-phrase-slot.js.map +1 -0
- package/data/build/dist/client/remote-web-context.d.ts.map +1 -0
- package/data/build/dist/client/remote-web-context.js +26 -2
- package/data/build/dist/client/remote-web-context.js.map +1 -0
- package/data/build/dist/client/session-adapter-cache.d.ts.map +1 -0
- package/data/build/dist/client/session-adapter-cache.js.map +1 -0
- package/data/build/dist/client/session-changed-files-view.d.ts.map +1 -0
- package/data/build/dist/client/session-changed-files-view.js.map +1 -0
- package/data/build/dist/client/settings-anchor.d.ts +67 -0
- package/data/build/dist/client/settings-anchor.d.ts.map +1 -0
- package/data/build/dist/client/settings-anchor.js +64 -0
- package/data/build/dist/client/settings-anchor.js.map +1 -0
- package/data/build/dist/client/settings-bridge.d.ts +20 -5
- package/data/build/dist/client/settings-bridge.d.ts.map +1 -0
- package/data/build/dist/client/settings-bridge.js +30 -7
- package/data/build/dist/client/settings-bridge.js.map +1 -0
- package/data/build/dist/client/settings-section.d.ts.map +1 -0
- package/data/build/dist/client/settings-section.js +16 -2
- package/data/build/dist/client/settings-section.js.map +1 -0
- package/data/build/dist/client/subscription-slot.d.ts +3 -1
- package/data/build/dist/client/subscription-slot.d.ts.map +1 -0
- package/data/build/dist/client/subscription-slot.js +33 -25
- package/data/build/dist/client/subscription-slot.js.map +1 -0
- package/data/build/dist/client/terminal/index.d.ts.map +1 -0
- package/data/build/dist/client/terminal/index.js.map +1 -0
- package/data/build/dist/client/terminal/model.d.ts.map +1 -0
- package/data/build/dist/client/terminal/model.js.map +1 -0
- package/data/build/dist/client/terminal/recovery.d.ts.map +1 -0
- package/data/build/dist/client/terminal/recovery.js.map +1 -0
- package/data/build/dist/client/terminal/styles.d.ts.map +1 -0
- package/data/build/dist/client/terminal/styles.js.map +1 -0
- package/data/build/dist/client/terminal/ui.d.ts.map +1 -0
- package/data/build/dist/client/terminal/ui.js +1 -1
- package/data/build/dist/client/terminal/ui.js.map +1 -0
- package/data/build/dist/client/terminal/xterm-view.d.ts.map +1 -0
- package/data/build/dist/client/terminal/xterm-view.js +1 -1
- package/data/build/dist/client/terminal/xterm-view.js.map +1 -0
- package/data/build/dist/client/theme.d.ts +17 -5
- package/data/build/dist/client/theme.d.ts.map +1 -0
- package/data/build/dist/client/theme.js +35 -13
- package/data/build/dist/client/theme.js.map +1 -0
- package/data/build/dist/client/workspace-session-archive-dom.d.ts +14 -0
- package/data/build/dist/client/workspace-session-archive-dom.d.ts.map +1 -0
- package/data/build/dist/client/workspace-session-archive-dom.js +70 -11
- package/data/build/dist/client/workspace-session-archive-dom.js.map +1 -0
- package/data/build/dist/client/workspace-session-fiber.d.ts.map +1 -0
- package/data/build/dist/client/workspace-session-fiber.js.map +1 -0
- package/data/build/dist/client/workspace-session-logo-dom.d.ts.map +1 -0
- package/data/build/dist/client/workspace-session-logo-dom.js.map +1 -0
- package/data/build/dist/client/workspace-session-rightbar-dom.d.ts.map +1 -0
- package/data/build/dist/client/workspace-session-rightbar-dom.js.map +1 -0
- package/data/build/dist/client/workspace-session-visibility-dom.d.ts.map +1 -0
- package/data/build/dist/client/workspace-session-visibility-dom.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/config-forms-adapter.d.ts +10 -0
- package/data/build/dist/dsh-capabilities/client/config-forms-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/config-forms-adapter.js +22 -0
- package/data/build/dist/dsh-capabilities/client/config-forms-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/conversation-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/conversation-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/locale-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/locale-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/primitives-adapter.d.ts +5 -2
- package/data/build/dist/dsh-capabilities/client/primitives-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/primitives-adapter.js +3 -2
- package/data/build/dist/dsh-capabilities/client/primitives-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/settings-scope-adapter.d.ts +2 -2
- package/data/build/dist/dsh-capabilities/client/settings-scope-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/settings-scope-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/sidebar-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/sidebar-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/theme-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/theme-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/typert-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/typert-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/config-forms-adapter.d.ts +22 -1
- package/data/build/dist/dsh-capabilities/host/config-forms-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/config-forms-adapter.js +29 -3
- package/data/build/dist/dsh-capabilities/host/config-forms-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/connection-rpc-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/connection-rpc-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/settings-scope-adapter.d.ts +2 -2
- package/data/build/dist/dsh-capabilities/host/settings-scope-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/settings-scope-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/typert-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/typert-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/index.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/index.js.map +1 -0
- package/data/build/dist/dsh-capabilities/matrix.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/matrix.js +44 -1
- package/data/build/dist/dsh-capabilities/matrix.js.map +1 -0
- package/data/build/dist/dsh-capabilities/registry.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/registry.js +6 -2
- package/data/build/dist/dsh-capabilities/registry.js.map +1 -0
- package/data/build/dist/dsh-capabilities/routes.d.ts +8 -1
- package/data/build/dist/dsh-capabilities/routes.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/routes.js +260 -7
- package/data/build/dist/dsh-capabilities/routes.js.map +1 -0
- package/data/build/dist/dsh-capabilities/settings-store.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/settings-store.js.map +1 -0
- package/data/build/dist/dsh-capabilities/types.d.ts +1 -1
- package/data/build/dist/dsh-capabilities/types.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/types.js.map +1 -0
- package/data/build/dist/features/host-router.d.ts.map +1 -0
- package/data/build/dist/features/host-router.js.map +1 -0
- package/data/build/dist/features/index.d.ts.map +1 -0
- package/data/build/dist/features/index.js.map +1 -0
- package/data/build/dist/features/registry.d.ts +7 -0
- package/data/build/dist/features/registry.d.ts.map +1 -0
- package/data/build/dist/features/registry.js +20 -2
- package/data/build/dist/features/registry.js.map +1 -0
- package/data/build/dist/features/resource-scope/index.d.ts.map +1 -0
- package/data/build/dist/features/resource-scope/index.js.map +1 -0
- package/data/build/dist/host/auth-session.d.ts.map +1 -0
- package/data/build/dist/host/auth-session.js.map +1 -0
- package/data/build/dist/host/cli-adapters/attachment-utils.d.ts +14 -0
- package/data/build/dist/host/cli-adapters/attachment-utils.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/attachment-utils.js +78 -0
- package/data/build/dist/host/cli-adapters/attachment-utils.js.map +1 -0
- package/data/build/dist/host/cli-adapters/claude-driver.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/claude-driver.js +5 -2
- package/data/build/dist/host/cli-adapters/claude-driver.js.map +1 -0
- package/data/build/dist/host/cli-adapters/claude-model-options.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/claude-model-options.js.map +1 -0
- package/data/build/dist/host/cli-adapters/codex-driver.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/codex-driver.js +248 -45
- package/data/build/dist/host/cli-adapters/codex-driver.js.map +1 -0
- package/data/build/dist/host/cli-adapters/command-code-driver.d.ts +24 -2
- package/data/build/dist/host/cli-adapters/command-code-driver.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/command-code-driver.js +250 -30
- package/data/build/dist/host/cli-adapters/command-code-driver.js.map +1 -0
- package/data/build/dist/host/cli-adapters/command-code-subscription.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/command-code-subscription.js.map +1 -0
- package/data/build/dist/host/cli-adapters/driver.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/driver.js.map +1 -0
- package/data/build/dist/host/cli-adapters/dsh-message-projector.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/dsh-message-projector.js.map +1 -0
- package/data/build/dist/host/cli-adapters/dsh-tool-history.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/dsh-tool-history.js +49 -1
- package/data/build/dist/host/cli-adapters/dsh-tool-history.js.map +1 -0
- package/data/build/dist/host/cli-adapters/feature.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/feature.js +176 -7
- package/data/build/dist/host/cli-adapters/feature.js.map +1 -0
- package/data/build/dist/host/cli-adapters/gemini-driver.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/gemini-driver.js +6 -3
- package/data/build/dist/host/cli-adapters/gemini-driver.js.map +1 -0
- package/data/build/dist/host/cli-adapters/grok-driver.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/grok-driver.js +3 -2
- package/data/build/dist/host/cli-adapters/grok-driver.js.map +1 -0
- package/data/build/dist/host/cli-adapters/http-sse-client.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/http-sse-client.js.map +1 -0
- package/data/build/dist/host/cli-adapters/interaction-events.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/interaction-events.js.map +1 -0
- package/data/build/dist/host/cli-adapters/json-rpc-process.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/json-rpc-process.js.map +1 -0
- package/data/build/dist/host/cli-adapters/kimi-driver.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/kimi-driver.js +8 -3
- package/data/build/dist/host/cli-adapters/kimi-driver.js.map +1 -0
- package/data/build/dist/host/cli-adapters/legacy-session-adapter.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/legacy-session-adapter.js.map +1 -0
- package/data/build/dist/host/cli-adapters/legacy-session-settings.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/legacy-session-settings.js.map +1 -0
- package/data/build/dist/host/cli-adapters/model-catalog.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/model-catalog.js.map +1 -0
- package/data/build/dist/host/cli-adapters/native-team-proxy.d.ts +36 -0
- package/data/build/dist/host/cli-adapters/native-team-proxy.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/native-team-proxy.js +108 -0
- package/data/build/dist/host/cli-adapters/native-team-proxy.js.map +1 -0
- package/data/build/dist/host/cli-adapters/official-provider-subscription.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/official-provider-subscription.js.map +1 -0
- package/data/build/dist/host/cli-adapters/opencode-driver.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/opencode-driver.js +7 -1
- package/data/build/dist/host/cli-adapters/opencode-driver.js.map +1 -0
- package/data/build/dist/host/cli-adapters/pi-driver.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/pi-driver.js +7 -2
- package/data/build/dist/host/cli-adapters/pi-driver.js.map +1 -0
- package/data/build/dist/host/cli-adapters/process-utils.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/process-utils.js.map +1 -0
- package/data/build/dist/host/cli-adapters/provider-registry.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/provider-registry.js.map +1 -0
- package/data/build/dist/host/cli-adapters/provider-subscription.d.ts +35 -0
- package/data/build/dist/host/cli-adapters/provider-subscription.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/provider-subscription.js +405 -5
- package/data/build/dist/host/cli-adapters/provider-subscription.js.map +1 -0
- package/data/build/dist/host/cli-adapters/registry.d.ts +9 -3
- package/data/build/dist/host/cli-adapters/registry.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/registry.js +30 -0
- package/data/build/dist/host/cli-adapters/registry.js.map +1 -0
- package/data/build/dist/host/cli-adapters/rpc-driver-utils.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/rpc-driver-utils.js.map +1 -0
- package/data/build/dist/host/cli-adapters/session-probe.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/session-probe.js.map +1 -0
- package/data/build/dist/host/cli-adapters/session-store.d.ts +8 -2
- package/data/build/dist/host/cli-adapters/session-store.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/session-store.js +19 -0
- package/data/build/dist/host/cli-adapters/session-store.js.map +1 -0
- package/data/build/dist/host/cli-adapters/standard-stream-driver.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/standard-stream-driver.js.map +1 -0
- package/data/build/dist/host/cli-adapters/stream-normalizer.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/stream-normalizer.js.map +1 -0
- package/data/build/dist/host/cli-adapters/tool-observation.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/tool-observation.js.map +1 -0
- package/data/build/dist/host/control-api-client.d.ts.map +1 -0
- package/data/build/dist/host/control-api-client.js.map +1 -0
- package/data/build/dist/host/credential-store.d.ts.map +1 -0
- package/data/build/dist/host/credential-store.js.map +1 -0
- package/data/build/dist/host/debug.d.ts.map +1 -0
- package/data/build/dist/host/debug.js.map +1 -0
- package/data/build/dist/host/dsh-device-runtime.d.ts.map +1 -0
- package/data/build/dist/host/dsh-device-runtime.js.map +1 -0
- package/data/build/dist/host/dsh-gateway-feature.d.ts.map +1 -0
- package/data/build/dist/host/dsh-gateway-feature.js.map +1 -0
- package/data/build/dist/host/dsh-runtime-version.d.ts.map +1 -0
- package/data/build/dist/host/dsh-runtime-version.js.map +1 -0
- package/data/build/dist/host/features/auth.d.ts.map +1 -0
- package/data/build/dist/host/features/auth.js.map +1 -0
- package/data/build/dist/host/features/debug.d.ts.map +1 -0
- package/data/build/dist/host/features/debug.js.map +1 -0
- package/data/build/dist/host/features/file-management.d.ts.map +1 -0
- package/data/build/dist/host/features/file-management.js.map +1 -0
- package/data/build/dist/host/features/git-management.d.ts.map +1 -0
- package/data/build/dist/host/features/git-management.js +133 -23
- package/data/build/dist/host/features/git-management.js.map +1 -0
- package/data/build/dist/host/features/host-status.d.ts.map +1 -0
- package/data/build/dist/host/features/host-status.js.map +1 -0
- package/data/build/dist/host/features/index.d.ts.map +1 -0
- package/data/build/dist/host/features/index.js.map +1 -0
- package/data/build/dist/host/features/lan-access-dsh.d.ts.map +1 -0
- package/data/build/dist/host/features/lan-access-dsh.js +30 -1
- package/data/build/dist/host/features/lan-access-dsh.js.map +1 -0
- package/data/build/dist/host/features/peer-host.d.ts.map +1 -0
- package/data/build/dist/host/features/peer-host.js +340 -20
- package/data/build/dist/host/features/peer-host.js.map +1 -0
- package/data/build/dist/host/features/terminal-process.d.ts.map +1 -0
- package/data/build/dist/host/features/terminal-process.js.map +1 -0
- package/data/build/dist/host/features/terminal-status.d.ts.map +1 -0
- package/data/build/dist/host/features/terminal-status.js.map +1 -0
- package/data/build/dist/host/features/types.d.ts +9 -3
- package/data/build/dist/host/features/types.d.ts.map +1 -0
- package/data/build/dist/host/features/types.js.map +1 -0
- package/data/build/dist/host/host-router.d.ts.map +1 -0
- package/data/build/dist/host/host-router.js.map +1 -0
- package/data/build/dist/host/index-injection.d.ts +27 -5
- package/data/build/dist/host/index-injection.d.ts.map +1 -0
- package/data/build/dist/host/index-injection.js +77 -11
- package/data/build/dist/host/index-injection.js.map +1 -0
- package/data/build/dist/host/index.d.ts +8 -2
- package/data/build/dist/host/index.d.ts.map +1 -0
- package/data/build/dist/host/index.js +54 -7
- package/data/build/dist/host/index.js.map +1 -0
- package/data/build/dist/host/lan-access-dsh.d.ts +88 -3
- package/data/build/dist/host/lan-access-dsh.d.ts.map +1 -0
- package/data/build/dist/host/lan-access-dsh.js +349 -14
- package/data/build/dist/host/lan-access-dsh.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/aggregated-host-transport.d.ts +146 -0
- package/data/build/dist/host/modules/peer-host/aggregated-host-transport.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/aggregated-host-transport.js +322 -0
- package/data/build/dist/host/modules/peer-host/aggregated-host-transport.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/dsh-native-summary-source.d.ts +8 -0
- package/data/build/dist/host/modules/peer-host/dsh-native-summary-source.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/dsh-native-summary-source.js +120 -0
- package/data/build/dist/host/modules/peer-host/dsh-native-summary-source.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/host-api-proxy-service.d.ts +22 -0
- package/data/build/dist/host/modules/peer-host/host-api-proxy-service.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/host-api-proxy-service.js +24 -3
- package/data/build/dist/host/modules/peer-host/host-api-proxy-service.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/host-ws-connector.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/host-ws-connector.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/host-ws-proxy-service.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/host-ws-proxy-service.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.d.ts +9 -0
- package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.js +26 -12
- package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-diagnostics.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-diagnostics.js +3 -0
- package/data/build/dist/host/modules/peer-host/peer-host-diagnostics.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-handshake.d.ts +2 -0
- package/data/build/dist/host/modules/peer-host/peer-host-handshake.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-handshake.js +6 -0
- package/data/build/dist/host/modules/peer-host/peer-host-handshake.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.d.ts +17 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.js +52 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.d.ts +25 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.js +184 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-transport.d.ts +22 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-transport.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-transport.js +111 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-transport.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-relay.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-relay.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-remote-summary-source.d.ts +53 -0
- package/data/build/dist/host/modules/peer-host/peer-host-remote-summary-source.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-remote-summary-source.js +153 -0
- package/data/build/dist/host/modules/peer-host/peer-host-remote-summary-source.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-session.d.ts +20 -1
- package/data/build/dist/host/modules/peer-host/peer-host-session.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-session.js +118 -37
- package/data/build/dist/host/modules/peer-host/peer-host-session.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-store.d.ts +21 -0
- package/data/build/dist/host/modules/peer-host/peer-host-store.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-store.js +65 -3
- package/data/build/dist/host/modules/peer-host/peer-host-store.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.d.ts +49 -0
- package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.js +174 -0
- package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-ws-gateway.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-ws-gateway.js.map +1 -0
- package/data/build/dist/host/modules/pwa/index.d.ts +7 -0
- package/data/build/dist/host/modules/pwa/index.d.ts.map +1 -0
- package/data/build/dist/host/modules/pwa/index.js +7 -0
- package/data/build/dist/host/modules/pwa/index.js.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-assets.d.ts +48 -0
- package/data/build/dist/host/modules/pwa/pwa-assets.d.ts.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-assets.js +180 -0
- package/data/build/dist/host/modules/pwa/pwa-assets.js.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-client-script.d.ts +10 -0
- package/data/build/dist/host/modules/pwa/pwa-client-script.d.ts.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-client-script.js +38 -0
- package/data/build/dist/host/modules/pwa/pwa-client-script.js.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-icons.d.ts +10 -0
- package/data/build/dist/host/modules/pwa/pwa-icons.d.ts.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-icons.js +185 -0
- package/data/build/dist/host/modules/pwa/pwa-icons.js.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-push.d.ts +74 -0
- package/data/build/dist/host/modules/pwa/pwa-push.d.ts.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-push.js +288 -0
- package/data/build/dist/host/modules/pwa/pwa-push.js.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-session-notifications.d.ts +14 -0
- package/data/build/dist/host/modules/pwa/pwa-session-notifications.d.ts.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-session-notifications.js +80 -0
- package/data/build/dist/host/modules/pwa/pwa-session-notifications.js.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-viewport.d.ts +12 -0
- package/data/build/dist/host/modules/pwa/pwa-viewport.d.ts.map +1 -0
- package/data/build/dist/host/modules/pwa/pwa-viewport.js +47 -0
- package/data/build/dist/host/modules/pwa/pwa-viewport.js.map +1 -0
- package/data/build/dist/host/native-session-bridge.d.ts +4 -0
- package/data/build/dist/host/native-session-bridge.d.ts.map +1 -0
- package/data/build/dist/host/native-session-bridge.js +67 -12
- package/data/build/dist/host/native-session-bridge.js.map +1 -0
- package/data/build/dist/host/relay-tunnel-runtime.d.ts +33 -0
- package/data/build/dist/host/relay-tunnel-runtime.d.ts.map +1 -0
- package/data/build/dist/host/relay-tunnel-runtime.js +81 -20
- package/data/build/dist/host/relay-tunnel-runtime.js.map +1 -0
- package/data/build/dist/host/remote-web-runtime.d.ts.map +1 -0
- package/data/build/dist/host/remote-web-runtime.js +40 -17
- package/data/build/dist/host/remote-web-runtime.js.map +1 -0
- package/data/build/dist/host/rpc-table.d.ts.map +1 -0
- package/data/build/dist/host/rpc-table.js.map +1 -0
- package/data/build/dist/host/rpc.d.ts +24 -5
- package/data/build/dist/host/rpc.d.ts.map +1 -0
- package/data/build/dist/host/rpc.js +54 -13
- package/data/build/dist/host/rpc.js.map +1 -0
- package/data/build/dist/host/session-changes.d.ts.map +1 -0
- package/data/build/dist/host/session-changes.js.map +1 -0
- package/data/build/dist/host/session-migration-repair.d.ts.map +1 -0
- package/data/build/dist/host/session-migration-repair.js +14 -0
- package/data/build/dist/host/session-migration-repair.js.map +1 -0
- package/data/build/dist/host/settings.d.ts +2 -2
- package/data/build/dist/host/settings.d.ts.map +1 -0
- package/data/build/dist/host/settings.js +40 -1
- package/data/build/dist/host/settings.js.map +1 -0
- package/data/build/dist/host/terminal/attachment-registry.d.ts.map +1 -0
- package/data/build/dist/host/terminal/attachment-registry.js.map +1 -0
- package/data/build/dist/host/terminal/backends/conpty-backend.d.ts.map +1 -0
- package/data/build/dist/host/terminal/backends/conpty-backend.js.map +1 -0
- package/data/build/dist/host/terminal/backends/local-pty-backend.d.ts.map +1 -0
- package/data/build/dist/host/terminal/backends/local-pty-backend.js.map +1 -0
- package/data/build/dist/host/terminal/backends/tmux-backend.d.ts.map +1 -0
- package/data/build/dist/host/terminal/backends/tmux-backend.js.map +1 -0
- package/data/build/dist/host/terminal/broker/conpty-broker-client.d.ts.map +1 -0
- package/data/build/dist/host/terminal/broker/conpty-broker-client.js.map +1 -0
- package/data/build/dist/host/terminal/broker/conpty-broker-process.d.ts.map +1 -0
- package/data/build/dist/host/terminal/broker/conpty-broker-process.js.map +1 -0
- package/data/build/dist/host/terminal/broker/conpty-broker-protocol.d.ts.map +1 -0
- package/data/build/dist/host/terminal/broker/conpty-broker-protocol.js.map +1 -0
- package/data/build/dist/host/terminal/controller-factory.d.ts.map +1 -0
- package/data/build/dist/host/terminal/controller-factory.js.map +1 -0
- package/data/build/dist/host/terminal/index.d.ts.map +1 -0
- package/data/build/dist/host/terminal/index.js.map +1 -0
- package/data/build/dist/host/terminal/runtime-adapter.d.ts.map +1 -0
- package/data/build/dist/host/terminal/runtime-adapter.js.map +1 -0
- package/data/build/dist/host/terminal/runtime-manager.d.ts.map +1 -0
- package/data/build/dist/host/terminal/runtime-manager.js.map +1 -0
- package/data/build/dist/host/terminal/shell-detection.d.ts.map +1 -0
- package/data/build/dist/host/terminal/shell-detection.js.map +1 -0
- package/data/build/dist/host/terminal/startup.d.ts +2 -2
- package/data/build/dist/host/terminal/startup.d.ts.map +1 -0
- package/data/build/dist/host/terminal/startup.js.map +1 -0
- package/data/build/dist/host/terminal/terminal-controller.d.ts.map +1 -0
- package/data/build/dist/host/terminal/terminal-controller.js.map +1 -0
- package/data/build/dist/host/terminal/terminal-process-service.d.ts.map +1 -0
- package/data/build/dist/host/terminal/terminal-process-service.js.map +1 -0
- package/data/build/dist/host/terminal/terminal-process-store.d.ts.map +1 -0
- package/data/build/dist/host/terminal/terminal-process-store.js.map +1 -0
- package/data/build/dist/host/terminal/terminal-service.d.ts.map +1 -0
- package/data/build/dist/host/terminal/terminal-service.js.map +1 -0
- package/data/build/dist/host/terminal/terminal-store.d.ts.map +1 -0
- package/data/build/dist/host/terminal/terminal-store.js.map +1 -0
- package/data/build/dist/index.d.ts +2 -2
- package/data/build/dist/index.d.ts.map +1 -0
- package/data/build/dist/index.js +2 -2
- package/data/build/dist/index.js.map +1 -0
- package/data/build/dist/shared/contracts/auth.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/auth.js.map +1 -0
- package/data/build/dist/shared/contracts/cli-adapter.d.ts +52 -1
- package/data/build/dist/shared/contracts/cli-adapter.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/cli-adapter.js.map +1 -0
- package/data/build/dist/shared/contracts/command-code.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/command-code.js.map +1 -0
- package/data/build/dist/shared/contracts/config.d.ts +100 -0
- package/data/build/dist/shared/contracts/config.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/config.js +101 -0
- package/data/build/dist/shared/contracts/config.js.map +1 -0
- package/data/build/dist/shared/contracts/debug-config.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/debug-config.js.map +1 -0
- package/data/build/dist/shared/contracts/debug.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/debug.js.map +1 -0
- package/data/build/dist/shared/contracts/dsh-device.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/dsh-device.js.map +1 -0
- package/data/build/dist/shared/contracts/errors.d.ts +2 -2
- package/data/build/dist/shared/contracts/errors.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/errors.js.map +1 -0
- package/data/build/dist/shared/contracts/feature.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/feature.js.map +1 -0
- package/data/build/dist/shared/contracts/file-management.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/file-management.js.map +1 -0
- package/data/build/dist/shared/contracts/git.d.ts +15 -1
- package/data/build/dist/shared/contracts/git.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/git.js.map +1 -0
- package/data/build/dist/shared/contracts/host-status.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/host-status.js.map +1 -0
- package/data/build/dist/shared/contracts/lan-access-dsh.d.ts +23 -0
- package/data/build/dist/shared/contracts/lan-access-dsh.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/lan-access-dsh.js.map +1 -0
- package/data/build/dist/shared/contracts/peer-host.d.ts +158 -1
- package/data/build/dist/shared/contracts/peer-host.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/peer-host.js +73 -0
- package/data/build/dist/shared/contracts/peer-host.js.map +1 -0
- package/data/build/dist/shared/contracts/signaling.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/signaling.js.map +1 -0
- package/data/build/dist/shared/contracts/subscription.d.ts +7 -0
- package/data/build/dist/shared/contracts/subscription.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/subscription.js +14 -1
- package/data/build/dist/shared/contracts/subscription.js.map +1 -0
- package/data/build/dist/shared/contracts/terminal-process.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/terminal-process.js.map +1 -0
- package/data/build/dist/shared/contracts/terminal.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/terminal.js.map +1 -0
- package/data/build/dist/shared/contracts/transport.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/transport.js.map +1 -0
- package/data/build/dist/shared/contracts/version.d.ts +14 -6
- package/data/build/dist/shared/contracts/version.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/version.js +23 -8
- package/data/build/dist/shared/contracts/version.js.map +1 -0
- package/data/build/dist/shared/debug.d.ts.map +1 -0
- package/data/build/dist/shared/debug.js.map +1 -0
- package/data/build/dist/shared/index.d.ts +6 -5
- package/data/build/dist/shared/index.d.ts.map +1 -0
- package/data/build/dist/shared/index.js +4 -3
- package/data/build/dist/shared/index.js.map +1 -0
- package/data/build/dist/transport/carrier.d.ts +11 -1
- package/data/build/dist/transport/carrier.d.ts.map +1 -0
- package/data/build/dist/transport/carrier.js +77 -26
- package/data/build/dist/transport/carrier.js.map +1 -0
- package/data/build/dist/transport/debug.d.ts +5 -0
- package/data/build/dist/transport/debug.d.ts.map +1 -0
- package/data/build/dist/transport/debug.js +19 -2
- package/data/build/dist/transport/debug.js.map +1 -0
- package/data/build/dist/transport/dsh-envelope.d.ts.map +1 -0
- package/data/build/dist/transport/dsh-envelope.js.map +1 -0
- package/data/build/dist/transport/dsh-gateway.d.ts.map +1 -0
- package/data/build/dist/transport/dsh-gateway.js.map +1 -0
- package/data/build/dist/transport/dsh-session.d.ts +18 -1
- package/data/build/dist/transport/dsh-session.d.ts.map +1 -0
- package/data/build/dist/transport/dsh-session.js +48 -13
- package/data/build/dist/transport/dsh-session.js.map +1 -0
- package/data/build/dist/transport/dsh-transport.d.ts.map +1 -0
- package/data/build/dist/transport/dsh-transport.js.map +1 -0
- package/data/build/dist/transport/frame.d.ts.map +1 -0
- package/data/build/dist/transport/frame.js.map +1 -0
- package/data/build/dist/transport/index.d.ts +2 -2
- package/data/build/dist/transport/index.d.ts.map +1 -0
- package/data/build/dist/transport/index.js +2 -2
- package/data/build/dist/transport/index.js.map +1 -0
- package/data/build/dist/transport/multiplexer.d.ts.map +1 -0
- package/data/build/dist/transport/multiplexer.js.map +1 -0
- package/data/build/dist/transport/webrtc-client.d.ts +8 -0
- package/data/build/dist/transport/webrtc-client.d.ts.map +1 -0
- package/data/build/dist/transport/webrtc-client.js +135 -9
- package/data/build/dist/transport/webrtc-client.js.map +1 -0
- package/data/build/dist/transport/webrtc-host.d.ts.map +1 -0
- package/data/build/dist/transport/webrtc-host.js +5 -1
- package/data/build/dist/transport/webrtc-host.js.map +1 -0
- package/data/build/dist/typert.host.d.ts.map +1 -0
- package/data/build/dist/typert.host.js.map +1 -0
- package/data/build/dist/typert.remote-client.d.ts.map +1 -0
- package/data/build/dist/typert.remote-client.js.map +1 -0
- package/package.json +39 -20
- package/profile/README.md +18 -5
- package/profile/package.json +4 -3
- package/profile/scripts/check-dsh-install.mjs +100 -9
- package/profile/version.json +3 -3
- package/scripts/check-dsh-install.mjs +98 -17
- package/version.json +3 -3
- package/data/build/dist/client/host-navigation.d.ts +0 -29
- package/data/build/dist/client/host-navigation.js +0 -29
- package/data/build/dist/client/peer-host-native-session-ui.d.ts +0 -60
- package/data/build/dist/client/peer-host-native-session-ui.js +0 -372
package/profile/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Codingns4DSH Profile
|
|
2
2
|
|
|
3
|
-
这是独立的 Codingns4DSH Profile,插件版本为 `0.
|
|
3
|
+
这是独立的 Codingns4DSH Profile,插件版本为 `0.2.0-beta.2`,仅兼容并验证 DSH `0.2.0-rc.2`。
|
|
4
4
|
|
|
5
5
|
Profile 只选择 `codingns4dsh` Bundle。`cordis.patch.yml` 保持 `[]`,因为启动期
|
|
6
6
|
Transport 必须由外部 pre-Cordis 启动胶水在 DSH Client/Cordis 创建前登记,不能由
|
|
@@ -9,7 +9,7 @@ Transport 必须由外部 pre-Cordis 启动胶水在 DSH Client/Cordis 创建前
|
|
|
9
9
|
发布后,在 DSH 的 Profile 中安装精确版本的插件 Bundle:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
dsh plugin --profile codingns4dsh add @jingyi0605/codingns4dsh@0.
|
|
12
|
+
dsh plugin --profile codingns4dsh add @jingyi0605/codingns4dsh@0.2.0-beta.2
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Profile 安装完成后,使用 DSH 官方启动器启动:
|
|
@@ -18,9 +18,22 @@ Profile 安装完成后,使用 DSH 官方启动器启动:
|
|
|
18
18
|
dsh --profile codingns4dsh --dump-config
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Profile
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
Profile 安装前会读取当前 DSH 运行时版本;版本不在 Profile 的 `engines.dsh` 范围内时,
|
|
22
|
+
安装直接失败。探测顺序与「能否阻断」的对应关系如下:
|
|
23
|
+
|
|
24
|
+
| 优先级 | 来源 | 是否阻断 |
|
|
25
|
+
| --- | --- | --- |
|
|
26
|
+
| 1 | `DSH_RUNTIME_VERSION` / `DSH_VERSION`(宿主注入) | 是 |
|
|
27
|
+
| 2 | Desktop Runtime 根(`app.asar` 内真实加载的 `@deepseek-ai/dsh`) | 是 |
|
|
28
|
+
| 3 | Profile 目录内可解析到的 `@deepseek-ai/dsh` | 是 |
|
|
29
|
+
| 4 | `PATH` 上的 `dsh --version` | 否,只告警 |
|
|
30
|
+
|
|
31
|
+
第 4 项不阻断是刻意的:桌面宿主经 `scrubbedParentEnv()` 派生 pnpm 子进程时会剥离全部
|
|
32
|
+
`DSH_*` 变量,命令行启动脚本也可能用绝对路径调用 0.2.x 启动器、同时把旧版 `dsh` 留在
|
|
33
|
+
`PATH` 上。`PATH` 上的 `dsh` 只能证明机器上装了某个 DSH,不能证明它就是本次安装所使用的
|
|
34
|
+
运行时,因此它只用于提示;否则会把正常安装误判为不兼容。
|
|
35
|
+
|
|
36
|
+
启动时 Host、Client 和 Bootstrap 还会再次校验实际 DSH 版本,不兼容版本不会启用插件。
|
|
24
37
|
|
|
25
38
|
真实 Transport 工厂完成后,桌面壳或页面应先调用 `codingns4dsh/bootstrap` 的
|
|
26
39
|
`bootWithPreCordisTransport()`,再启动 DSH Client。DSH 升级后必须先发布匹配的新
|
package/profile/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codingns4dsh-profile",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-beta.2",
|
|
4
|
+
"license": "GPL-3.0-or-later",
|
|
4
5
|
"private": true,
|
|
5
6
|
"type": "module",
|
|
6
7
|
"engines": {
|
|
7
|
-
"dsh": ">=0.
|
|
8
|
+
"dsh": ">=0.2.0-rc.2 <=0.2.0-rc.2"
|
|
8
9
|
},
|
|
9
10
|
"scripts": {
|
|
10
11
|
"preinstall": "node scripts/check-dsh-install.mjs"
|
|
11
12
|
},
|
|
12
13
|
"dependencies": {
|
|
13
|
-
"@jingyi0605/codingns4dsh": "0.
|
|
14
|
+
"@jingyi0605/codingns4dsh": "0.2.0-beta.2"
|
|
14
15
|
},
|
|
15
16
|
"dsh": {
|
|
16
17
|
"profile": {
|
|
@@ -1,22 +1,107 @@
|
|
|
1
1
|
import { readFile } from 'node:fs/promises'
|
|
2
|
+
import { readFileSync } from 'node:fs'
|
|
3
|
+
import { createRequire } from 'node:module'
|
|
2
4
|
import { spawnSync } from 'node:child_process'
|
|
5
|
+
import { dirname, join } from 'node:path'
|
|
3
6
|
import { fileURLToPath } from 'node:url'
|
|
4
|
-
import { join } from 'node:path'
|
|
5
7
|
|
|
6
8
|
const VERSION_PATTERN = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u
|
|
7
9
|
const profileRoot = fileURLToPath(new URL('../', import.meta.url))
|
|
8
10
|
const manifest = JSON.parse(await readFile(join(profileRoot, 'package.json'), 'utf8'))
|
|
9
|
-
const
|
|
11
|
+
const compatibility = manifest.engines?.dsh
|
|
12
|
+
const detected = detectRuntimeDshVersion()
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
// PATH 上的 `dsh` 只能证明机器上装了某个 DSH,不能证明它就是本次安装所使用的
|
|
15
|
+
// 运行时:桌面宿主经 scrubbedParentEnv() 派生子进程时会剥离全部 DSH_* 变量,
|
|
16
|
+
// 此时 PATH 里可能仍指向另一个(更旧的)dsh。把这种来源当成硬门禁会把正常安装
|
|
17
|
+
// 误判为不兼容,因此它只用于提示。
|
|
18
|
+
if (detected === undefined) {
|
|
19
|
+
console.warn('DSH Profile 安装检查:未检测到当前 DSH 运行时,跳过安装期版本检查;运行期仍会再次校验')
|
|
20
|
+
process.exit(0)
|
|
13
21
|
}
|
|
14
22
|
|
|
15
|
-
if (
|
|
16
|
-
|
|
23
|
+
if (detected.source === 'path') {
|
|
24
|
+
const verdict = isCompatible(detected.version, compatibility) ? '在' : '不在'
|
|
25
|
+
console.warn(
|
|
26
|
+
`DSH Profile 安装检查:PATH 上的 dsh ${detected.version} ${verdict} Profile 支持范围 ${String(compatibility)} 内,` +
|
|
27
|
+
'但它未必是本次安装所使用的运行时,已跳过阻断',
|
|
28
|
+
)
|
|
29
|
+
process.exit(0)
|
|
17
30
|
}
|
|
18
31
|
|
|
19
|
-
|
|
32
|
+
if (!isCompatible(detected.version, compatibility)) {
|
|
33
|
+
throw new Error(
|
|
34
|
+
`DSH Profile 安装失败:当前 DSH ${detected.version} 不在 Profile 支持范围 ${String(compatibility)} 内` +
|
|
35
|
+
`(版本来源:${detected.source})`,
|
|
36
|
+
)
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
console.log(
|
|
40
|
+
`DSH Profile 安装期版本检查通过:DSH ${detected.version}(来源 ${detected.source}),兼容范围 ${compatibility}`,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 读取当前 DSH 运行时版本,并标注来源。
|
|
45
|
+
*
|
|
46
|
+
* 优先级:宿主显式注入的版本 → Desktop Runtime 根(app.asar 内真实加载的包)
|
|
47
|
+
* → 从 Profile 目录可解析到的 @deepseek-ai/dsh → PATH 上的 dsh。
|
|
48
|
+
* 前三种来源能归属到本次安装真正使用的运行时,只有它们参与硬门禁。
|
|
49
|
+
*
|
|
50
|
+
* @returns {{ version: string, source: 'env' | 'runtime' | 'module' | 'path' } | undefined}
|
|
51
|
+
*/
|
|
52
|
+
function detectRuntimeDshVersion() {
|
|
53
|
+
const injected = [process.env.DSH_RUNTIME_VERSION, process.env.DSH_VERSION].find(isVersion)
|
|
54
|
+
if (injected !== undefined) return { version: injected, source: 'env' }
|
|
55
|
+
|
|
56
|
+
const fromRuntime = readVersionFromRuntimeRoots()
|
|
57
|
+
if (fromRuntime !== undefined) return { version: fromRuntime, source: 'runtime' }
|
|
58
|
+
|
|
59
|
+
const fromModule = readVersionFromModule()
|
|
60
|
+
if (fromModule !== undefined) return { version: fromModule, source: 'module' }
|
|
61
|
+
|
|
62
|
+
const fromPath = readVersionFromCommand()
|
|
63
|
+
if (fromPath !== undefined) return { version: fromPath, source: 'path' }
|
|
64
|
+
|
|
65
|
+
return undefined
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/** Electron 把 Resources 根暴露为 process.resourcesPath;纯 Node 下不存在。 */
|
|
69
|
+
function readVersionFromRuntimeRoots() {
|
|
70
|
+
const resourcesRoot = process.resourcesPath
|
|
71
|
+
if (typeof resourcesRoot !== 'string' || resourcesRoot.trim() === '') return undefined
|
|
72
|
+
const runtimeRoots = [
|
|
73
|
+
join(resourcesRoot, 'app.asar', 'dsh'),
|
|
74
|
+
join(resourcesRoot, 'app.asar.unpacked', 'dsh'),
|
|
75
|
+
join(resourcesRoot, 'dsh'),
|
|
76
|
+
]
|
|
77
|
+
for (const runtimeRoot of runtimeRoots) {
|
|
78
|
+
const version = readDshManifestVersion(
|
|
79
|
+
join(runtimeRoot, 'node_modules', '@deepseek-ai', 'dsh', 'package.json'),
|
|
80
|
+
)
|
|
81
|
+
if (version !== undefined) return version
|
|
82
|
+
}
|
|
83
|
+
return undefined
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/** Profile 目录里若已装过 DSH,可直接解析其包清单。 */
|
|
87
|
+
function readVersionFromModule() {
|
|
88
|
+
try {
|
|
89
|
+
const require = createRequire(join(profileRoot, 'package.json'))
|
|
90
|
+
return readDshManifestVersion(require.resolve('@deepseek-ai/dsh/package.json'))
|
|
91
|
+
} catch {
|
|
92
|
+
return undefined
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
function readDshManifestVersion(manifestPath) {
|
|
97
|
+
try {
|
|
98
|
+
const parsed = JSON.parse(readFileSync(manifestPath, 'utf8'))
|
|
99
|
+
if (parsed.name === '@deepseek-ai/dsh' && isVersion(parsed.version)) return parsed.version
|
|
100
|
+
} catch {
|
|
101
|
+
// 该路径没有 DSH 包时继续尝试下一个来源。
|
|
102
|
+
}
|
|
103
|
+
return undefined
|
|
104
|
+
}
|
|
20
105
|
|
|
21
106
|
function readVersionFromCommand() {
|
|
22
107
|
try {
|
|
@@ -32,13 +117,19 @@ function readVersionFromCommand() {
|
|
|
32
117
|
}
|
|
33
118
|
}
|
|
34
119
|
|
|
120
|
+
function isVersion(value) {
|
|
121
|
+
return typeof value === 'string' && VERSION_PATTERN.test(value)
|
|
122
|
+
}
|
|
123
|
+
|
|
35
124
|
function isCompatible(actual, range) {
|
|
36
|
-
const match = typeof range === 'string' ? /^>=([^ ]+) <=([^ ]+)
|
|
125
|
+
const match = typeof range === 'string' ? /^>=([^ ]+)(?: <=([^ ]+))?$/u.exec(range) : undefined
|
|
37
126
|
if (!match) return false
|
|
38
127
|
const actualVersion = parseVersion(actual)
|
|
39
128
|
const minimum = parseVersion(match[1])
|
|
129
|
+
if (!actualVersion || !minimum) return false
|
|
130
|
+
if (match[2] === undefined) return compareVersions(actualVersion, minimum) >= 0
|
|
40
131
|
const maximum = parseVersion(match[2])
|
|
41
|
-
if (!
|
|
132
|
+
if (!maximum) return false
|
|
42
133
|
return compareVersions(actualVersion, minimum) >= 0 && compareVersions(actualVersion, maximum) <= 0
|
|
43
134
|
}
|
|
44
135
|
|
package/profile/version.json
CHANGED
|
@@ -1,33 +1,108 @@
|
|
|
1
|
+
import { readFileSync } from 'node:fs'
|
|
1
2
|
import { readFile } from 'node:fs/promises'
|
|
3
|
+
import { createRequire } from 'node:module'
|
|
2
4
|
import { spawnSync } from 'node:child_process'
|
|
3
|
-
import { fileURLToPath } from 'node:url'
|
|
4
5
|
import { join } from 'node:path'
|
|
6
|
+
import { fileURLToPath } from 'node:url'
|
|
5
7
|
|
|
6
8
|
const VERSION_PATTERN = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u
|
|
7
9
|
const root = fileURLToPath(new URL('../', import.meta.url))
|
|
8
10
|
const manifest = JSON.parse(await readFile(join(root, 'package.json'), 'utf8'))
|
|
9
11
|
const compatibility = manifest.engines?.dsh
|
|
10
|
-
const
|
|
12
|
+
const detected = detectRuntimeDshVersion()
|
|
11
13
|
|
|
12
|
-
//
|
|
13
|
-
//
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
// 这个脚本既可以作为 npm 包安装期的门禁运行,也可以手工执行。
|
|
15
|
+
//
|
|
16
|
+
// 关键约束:PATH 上的 `dsh` 只能证明机器上装了某个 DSH,不能证明它就是本次安装
|
|
17
|
+
// 所使用的运行时。桌面宿主经 scrubbedParentEnv() 派生子进程时会剥离全部 DSH_*
|
|
18
|
+
// 变量,命令行启动脚本也可能用绝对路径调用 0.2.x 启动器、同时把旧版 `dsh` 留在
|
|
19
|
+
// PATH 上。把 PATH 来源当作硬门禁会把正常安装误判为不兼容,因此它只用于提示;
|
|
20
|
+
// 真正会阻断的只有能归属到当前运行时的来源。
|
|
21
|
+
if (detected === undefined) {
|
|
22
|
+
console.warn('codingns4dsh: 未检测到当前 DSH 运行时,跳过安装期兼容性检查;运行期仍会再次校验')
|
|
19
23
|
process.exit(0)
|
|
20
24
|
}
|
|
21
25
|
|
|
22
|
-
if (
|
|
23
|
-
|
|
26
|
+
if (detected.source === 'path') {
|
|
27
|
+
const verdict = isCompatible(detected.version, compatibility) ? '在' : '不在'
|
|
28
|
+
console.warn(
|
|
29
|
+
`codingns4dsh: PATH 上的 dsh ${detected.version} ${verdict}插件支持范围 ${String(compatibility)} 内,` +
|
|
30
|
+
'但它未必是本次安装所使用的运行时,已跳过阻断',
|
|
31
|
+
)
|
|
32
|
+
process.exit(0)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
if (typeof compatibility !== 'string' || !isCompatible(detected.version, compatibility)) {
|
|
36
|
+
throw new Error(
|
|
37
|
+
`codingns4dsh 安装失败:当前 DSH ${detected.version} 不在插件支持范围 ${String(compatibility)} 内` +
|
|
38
|
+
`(版本来源:${detected.source})`,
|
|
39
|
+
)
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
console.log(
|
|
43
|
+
`codingns4dsh 安装期版本检查通过:DSH ${detected.version}(来源 ${detected.source}),兼容范围 ${compatibility}`,
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* 读取当前 DSH 运行时版本,并标注来源。
|
|
48
|
+
*
|
|
49
|
+
* 优先级:宿主显式注入的版本 → Desktop Runtime 根(app.asar 内真实加载的包)
|
|
50
|
+
* → 从插件目录可解析到的 @deepseek-ai/dsh → PATH 上的 dsh。
|
|
51
|
+
*
|
|
52
|
+
* @returns {{ version: string, source: 'env' | 'runtime' | 'module' | 'path' } | undefined}
|
|
53
|
+
*/
|
|
54
|
+
function detectRuntimeDshVersion() {
|
|
55
|
+
const injected = [process.env.DSH_RUNTIME_VERSION, process.env.DSH_VERSION].find(isVersion)
|
|
56
|
+
if (injected !== undefined) return { version: injected, source: 'env' }
|
|
57
|
+
|
|
58
|
+
const fromRuntime = readVersionFromRuntimeRoots()
|
|
59
|
+
if (fromRuntime !== undefined) return { version: fromRuntime, source: 'runtime' }
|
|
60
|
+
|
|
61
|
+
const fromModule = readVersionFromModule()
|
|
62
|
+
if (fromModule !== undefined) return { version: fromModule, source: 'module' }
|
|
63
|
+
|
|
64
|
+
const fromPath = readVersionFromCommand()
|
|
65
|
+
if (fromPath !== undefined) return { version: fromPath, source: 'path' }
|
|
66
|
+
|
|
67
|
+
return undefined
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/** Electron 把 Resources 根暴露为 process.resourcesPath;纯 Node 下不存在。 */
|
|
71
|
+
function readVersionFromRuntimeRoots() {
|
|
72
|
+
const resourcesRoot = process.resourcesPath
|
|
73
|
+
if (typeof resourcesRoot !== 'string' || resourcesRoot.trim() === '') return undefined
|
|
74
|
+
const runtimeRoots = [
|
|
75
|
+
join(resourcesRoot, 'app.asar', 'dsh'),
|
|
76
|
+
join(resourcesRoot, 'app.asar.unpacked', 'dsh'),
|
|
77
|
+
join(resourcesRoot, 'dsh'),
|
|
78
|
+
]
|
|
79
|
+
for (const runtimeRoot of runtimeRoots) {
|
|
80
|
+
const version = readDshManifestVersion(
|
|
81
|
+
join(runtimeRoot, 'node_modules', '@deepseek-ai', 'dsh', 'package.json'),
|
|
82
|
+
)
|
|
83
|
+
if (version !== undefined) return version
|
|
84
|
+
}
|
|
85
|
+
return undefined
|
|
24
86
|
}
|
|
25
87
|
|
|
26
|
-
|
|
88
|
+
/** 插件被装进某个 DSH 运行时后,可从自身位置解析到宿主包清单。 */
|
|
89
|
+
function readVersionFromModule() {
|
|
90
|
+
try {
|
|
91
|
+
const require = createRequire(join(root, 'package.json'))
|
|
92
|
+
return readDshManifestVersion(require.resolve('@deepseek-ai/dsh/package.json'))
|
|
93
|
+
} catch {
|
|
94
|
+
return undefined
|
|
95
|
+
}
|
|
96
|
+
}
|
|
27
97
|
|
|
28
|
-
function
|
|
29
|
-
|
|
30
|
-
|
|
98
|
+
function readDshManifestVersion(manifestPath) {
|
|
99
|
+
try {
|
|
100
|
+
const parsed = JSON.parse(readFileSync(manifestPath, 'utf8'))
|
|
101
|
+
if (parsed.name === '@deepseek-ai/dsh' && isVersion(parsed.version)) return parsed.version
|
|
102
|
+
} catch {
|
|
103
|
+
// 该路径没有 DSH 包时继续尝试下一个来源。
|
|
104
|
+
}
|
|
105
|
+
return undefined
|
|
31
106
|
}
|
|
32
107
|
|
|
33
108
|
function readVersionFromCommand() {
|
|
@@ -44,13 +119,19 @@ function readVersionFromCommand() {
|
|
|
44
119
|
}
|
|
45
120
|
}
|
|
46
121
|
|
|
122
|
+
function isVersion(value) {
|
|
123
|
+
return typeof value === 'string' && VERSION_PATTERN.test(value)
|
|
124
|
+
}
|
|
125
|
+
|
|
47
126
|
function isCompatible(actual, range) {
|
|
48
|
-
const match = /^>=([^ ]+) <=([^ ]+)
|
|
127
|
+
const match = typeof range === 'string' ? /^>=([^ ]+)(?: <=([^ ]+))?$/u.exec(range) : undefined
|
|
49
128
|
if (!match) return false
|
|
50
129
|
const actualVersion = parseVersion(actual)
|
|
51
130
|
const minimum = parseVersion(match[1])
|
|
131
|
+
if (!actualVersion || !minimum) return false
|
|
132
|
+
if (match[2] === undefined) return compareVersions(actualVersion, minimum) >= 0
|
|
52
133
|
const maximum = parseVersion(match[2])
|
|
53
|
-
if (!
|
|
134
|
+
if (!maximum) return false
|
|
54
135
|
return compareVersions(actualVersion, minimum) >= 0 && compareVersions(actualVersion, maximum) <= 0
|
|
55
136
|
}
|
|
56
137
|
|
package/version.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"pluginVersion": "0.
|
|
3
|
-
"dshCompatibility": ">=0.
|
|
4
|
-
"dshTestedVersion": "0.
|
|
2
|
+
"pluginVersion": "0.2.0-beta.2",
|
|
3
|
+
"dshCompatibility": ">=0.2.0-rc.2 <=0.2.0-rc.2",
|
|
4
|
+
"dshTestedVersion": "0.2.0-rc.2",
|
|
5
5
|
"dshProtocolVersion": 1
|
|
6
6
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { AggregateHostResult, AggregateWorkspaceSummary, PeerHostSessionRecord } from '../shared/contracts/peer-host.js';
|
|
2
|
-
export interface HostNavigationSessionItem {
|
|
3
|
-
readonly key: string;
|
|
4
|
-
readonly sessionId: string;
|
|
5
|
-
readonly title: string;
|
|
6
|
-
readonly status: string;
|
|
7
|
-
readonly scope: PeerHostSessionRecord['scope'];
|
|
8
|
-
}
|
|
9
|
-
export interface HostNavigationWorkspaceItem {
|
|
10
|
-
readonly key: string;
|
|
11
|
-
readonly workspaceId: string;
|
|
12
|
-
readonly label: string;
|
|
13
|
-
readonly hostLabel: string;
|
|
14
|
-
readonly availability: AggregateWorkspaceSummary['availability'];
|
|
15
|
-
readonly sessions: readonly HostNavigationSessionItem[];
|
|
16
|
-
}
|
|
17
|
-
export interface HostNavigationHostItem {
|
|
18
|
-
readonly key: string;
|
|
19
|
-
readonly hostId: string;
|
|
20
|
-
readonly targetHostId: string | null;
|
|
21
|
-
readonly label: string;
|
|
22
|
-
readonly availability: AggregateHostResult['availability'];
|
|
23
|
-
readonly errorCode: AggregateHostResult['errorCode'];
|
|
24
|
-
readonly workspaces: readonly HostNavigationWorkspaceItem[];
|
|
25
|
-
}
|
|
26
|
-
/** 将聚合 DTO 转成原生导航可消费的数据;标签不参与资源身份。 */
|
|
27
|
-
export declare function buildHostNavigation(results: readonly AggregateHostResult[]): readonly HostNavigationHostItem[];
|
|
28
|
-
export declare function hostKey(hostId: string, targetHostId: string | null): string;
|
|
29
|
-
//# sourceMappingURL=host-navigation.d.ts.map
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/** 将聚合 DTO 转成原生导航可消费的数据;标签不参与资源身份。 */
|
|
2
|
-
export function buildHostNavigation(results) {
|
|
3
|
-
return results.map((host) => ({
|
|
4
|
-
key: hostKey(host.hostId, host.targetHostId),
|
|
5
|
-
hostId: host.hostId,
|
|
6
|
-
targetHostId: host.targetHostId,
|
|
7
|
-
label: host.hostLabel,
|
|
8
|
-
availability: host.availability,
|
|
9
|
-
errorCode: host.errorCode,
|
|
10
|
-
workspaces: host.workspaces.map((workspace) => ({
|
|
11
|
-
key: workspace.key,
|
|
12
|
-
workspaceId: workspace.workspaceId,
|
|
13
|
-
label: `${workspace.displayName} (${workspace.hostLabel})`,
|
|
14
|
-
hostLabel: workspace.hostLabel,
|
|
15
|
-
availability: workspace.availability,
|
|
16
|
-
sessions: workspace.sessions.map((session) => ({
|
|
17
|
-
key: `${workspace.key}:${session.scope.sessionId ?? 'none'}`,
|
|
18
|
-
sessionId: session.scope.sessionId ?? '',
|
|
19
|
-
title: session.title,
|
|
20
|
-
status: session.status,
|
|
21
|
-
scope: session.scope,
|
|
22
|
-
})),
|
|
23
|
-
})),
|
|
24
|
-
}));
|
|
25
|
-
}
|
|
26
|
-
export function hostKey(hostId, targetHostId) {
|
|
27
|
-
return `${hostId}:${targetHostId ?? 'current'}`;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=host-navigation.js.map
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import type { AggregateHostResult, HostScope } from '../shared/contracts/peer-host.js';
|
|
2
|
-
import type { PeerHostEventSocketFactory, PeerHostScopedClient } from './peer-host-scoped-client.js';
|
|
3
|
-
import type { PeerHostSessionController } from './peer-host-session-controller.js';
|
|
4
|
-
export declare const PEER_HOST_NAVIGATION_ATTRIBUTE = "data-codingns-peer-host-navigation";
|
|
5
|
-
export declare const PEER_HOST_SESSION_ATTRIBUTE = "data-codingns-peer-host-session";
|
|
6
|
-
export declare const PEER_HOST_STATUS_ATTRIBUTE = "data-codingns-peer-host-status";
|
|
7
|
-
export type PeerHostNativeUiStatus = 'ready' | 'degraded' | 'unavailable';
|
|
8
|
-
export interface PeerHostNativeUiState {
|
|
9
|
-
readonly status: PeerHostNativeUiStatus;
|
|
10
|
-
readonly reason: string;
|
|
11
|
-
}
|
|
12
|
-
export interface PeerHostNativeNavigationOptions {
|
|
13
|
-
readonly document?: Document;
|
|
14
|
-
readonly controller: PeerHostSessionController;
|
|
15
|
-
readonly onSelect?: (scope: HostScope) => void | Promise<void>;
|
|
16
|
-
readonly onStatus?: (state: PeerHostNativeUiState) => void;
|
|
17
|
-
}
|
|
18
|
-
export interface PeerHostNativeNavigationController {
|
|
19
|
-
refresh(results: readonly AggregateHostResult[]): void;
|
|
20
|
-
setStatus(state: PeerHostNativeUiState): void;
|
|
21
|
-
dispose(): void;
|
|
22
|
-
readonly state: PeerHostNativeUiState;
|
|
23
|
-
}
|
|
24
|
-
/** 仅探测,不修改 DOM;供能力诊断和版本 fixture 使用。 */
|
|
25
|
-
export declare function probePeerHostNativeNavigation(dom?: Document): PeerHostNativeUiState;
|
|
26
|
-
/** 仅探测会话容器,不触发请求。 */
|
|
27
|
-
export declare function probePeerHostNativeSession(dom?: Document): PeerHostNativeUiState;
|
|
28
|
-
/**
|
|
29
|
-
* 将聚合导航挂到 DSH 已声明的 tree 容器。
|
|
30
|
-
*
|
|
31
|
-
* 这里不猜 React Fiber 或版本专属 class。只有同时存在 tree 和至少一个
|
|
32
|
-
* treeitem 才认为原生导航扩展点可用;否则保留明确的降级状态,不创建伪造
|
|
33
|
-
* 的工作区数据。
|
|
34
|
-
*/
|
|
35
|
-
export declare function startPeerHostNativeNavigation(options: PeerHostNativeNavigationOptions): PeerHostNativeNavigationController;
|
|
36
|
-
export interface PeerHostNativeSessionOptions {
|
|
37
|
-
readonly document?: Document;
|
|
38
|
-
readonly controller: PeerHostSessionController;
|
|
39
|
-
readonly client: PeerHostScopedClient;
|
|
40
|
-
readonly socketFactory?: PeerHostEventSocketFactory;
|
|
41
|
-
readonly onStatus?: (state: PeerHostNativeUiState) => void;
|
|
42
|
-
}
|
|
43
|
-
export interface PeerHostNativeSessionController {
|
|
44
|
-
open(scope: HostScope): Promise<void>;
|
|
45
|
-
close(): void;
|
|
46
|
-
send(body: string): Promise<void>;
|
|
47
|
-
stop(): Promise<void>;
|
|
48
|
-
replyPermission(body: string): Promise<void>;
|
|
49
|
-
answerQuestion(body: string): Promise<void>;
|
|
50
|
-
readonly state: PeerHostNativeUiState;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* 远端会话的原生三栏适配器。
|
|
54
|
-
*
|
|
55
|
-
* DSH 目前没有公开的 HostScope 会话 store 注入点,因此消息先落到当前
|
|
56
|
-
* conversation 容器中的插件节点。这个节点与原生布局同层渲染,明确标记
|
|
57
|
-
* 来源和作用域;若容器探测失败则报告 degraded,不把 iframe 当作原生 UI。
|
|
58
|
-
*/
|
|
59
|
-
export declare function startPeerHostNativeSession(options: PeerHostNativeSessionOptions): PeerHostNativeSessionController;
|
|
60
|
-
//# sourceMappingURL=peer-host-native-session-ui.d.ts.map
|