@jingyi0605/codingns4dsh 0.2.1-beta.9 → 0.2.1-rc.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/README.en.md +8 -6
- package/README.md +11 -8
- package/assets/provider-icons/magpie.png +0 -0
- 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/account-bar.d.ts.map +1 -1
- package/data/build/dist/client/account-bar.js +24 -70
- package/data/build/dist/client/account-bar.js.map +1 -1
- package/data/build/dist/client/adapter-catalog-watch.d.ts +10 -2
- package/data/build/dist/client/adapter-catalog-watch.d.ts.map +1 -1
- package/data/build/dist/client/adapter-catalog-watch.js +16 -4
- package/data/build/dist/client/adapter-catalog-watch.js.map +1 -1
- package/data/build/dist/client/bundle.js +54516 -35293
- package/data/build/dist/client/bundle.js.map +1 -1
- package/data/build/dist/client/cli-management-dialog.d.ts +21 -0
- package/data/build/dist/client/cli-management-dialog.d.ts.map +1 -0
- package/data/build/dist/client/cli-management-dialog.js +215 -0
- package/data/build/dist/client/cli-management-dialog.js.map +1 -0
- package/data/build/dist/client/cli-management-terminal.d.ts +9 -0
- package/data/build/dist/client/cli-management-terminal.d.ts.map +1 -0
- package/data/build/dist/client/cli-management-terminal.js +30 -0
- package/data/build/dist/client/cli-management-terminal.js.map +1 -0
- package/data/build/dist/client/cli-settings-dialog.d.ts +9 -0
- package/data/build/dist/client/cli-settings-dialog.d.ts.map +1 -0
- package/data/build/dist/client/cli-settings-dialog.js +45 -0
- package/data/build/dist/client/cli-settings-dialog.js.map +1 -0
- package/data/build/dist/client/cli-settings-rpc.js +1 -1
- package/data/build/dist/client/cli-settings-rpc.js.map +1 -1
- package/data/build/dist/client/cli-slots.d.ts +17 -3
- package/data/build/dist/client/cli-slots.d.ts.map +1 -1
- package/data/build/dist/client/cli-slots.js +300 -41
- package/data/build/dist/client/cli-slots.js.map +1 -1
- package/data/build/dist/client/client.assistant-configuration-view.js +4 -3
- package/data/build/dist/client/client.assistant-configuration-view.js.map +1 -1
- package/data/build/dist/client/client.delegate-command.js +44 -26
- package/data/build/dist/client/client.delegate-command.js.map +1 -1
- package/data/build/dist/client/client.editor-engine.js +4 -1
- package/data/build/dist/client/client.editor-engine.js.map +1 -1
- package/data/build/dist/client/{client.model-catalog-cache.js → client.magpie-model-tag.js} +241 -12
- package/data/build/dist/client/client.magpie-model-tag.js.map +1 -0
- package/data/build/dist/client/client.moss-voice-output.js +415 -0
- package/data/build/dist/client/client.moss-voice-output.js.map +1 -0
- 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.primitives-adapter.js +128 -0
- package/data/build/dist/client/client.primitives-adapter.js.map +1 -1
- package/data/build/dist/client/client.react-dom.js +0 -404
- package/data/build/dist/client/client.react-dom.js.map +1 -1
- package/data/build/dist/client/client.session-translation.js +121 -2
- package/data/build/dist/client/client.session-translation.js.map +1 -1
- package/data/build/dist/client/client.transport.js +738 -57
- package/data/build/dist/client/client.transport.js.map +1 -1
- package/data/build/dist/client/conversation-translation-settings.d.ts +11 -0
- package/data/build/dist/client/conversation-translation-settings.d.ts.map +1 -0
- package/data/build/dist/client/conversation-translation-settings.js +54 -0
- package/data/build/dist/client/conversation-translation-settings.js.map +1 -0
- package/data/build/dist/client/delegate-command.d.ts.map +1 -1
- package/data/build/dist/client/delegate-command.js +36 -7
- package/data/build/dist/client/delegate-command.js.map +1 -1
- package/data/build/dist/client/desktop-assistant.js +1202 -494
- package/data/build/dist/client/editor-engine.d.ts +1 -1
- package/data/build/dist/client/editor-engine.d.ts.map +1 -1
- package/data/build/dist/client/editor-engine.js +4 -1
- package/data/build/dist/client/editor-engine.js.map +1 -1
- package/data/build/dist/client/features/cli-adapters.d.ts +3 -1
- package/data/build/dist/client/features/cli-adapters.d.ts.map +1 -1
- package/data/build/dist/client/features/cli-adapters.js +207 -112
- 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 +18 -0
- package/data/build/dist/client/features/file-management.js.map +1 -1
- package/data/build/dist/client/features/index.d.ts.map +1 -1
- package/data/build/dist/client/features/index.js +2 -0
- package/data/build/dist/client/features/index.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 +6 -0
- package/data/build/dist/client/features/peer-host.js.map +1 -1
- package/data/build/dist/client/features/quick-apps.d.ts +3 -0
- package/data/build/dist/client/features/quick-apps.d.ts.map +1 -0
- package/data/build/dist/client/features/quick-apps.js +14 -0
- package/data/build/dist/client/features/quick-apps.js.map +1 -0
- package/data/build/dist/client/features/session-translation.d.ts.map +1 -1
- package/data/build/dist/client/features/session-translation.js +50 -49
- 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/html-workspace-files.d.ts +4 -0
- package/data/build/dist/client/html-workspace-files.d.ts.map +1 -0
- package/data/build/dist/client/html-workspace-files.js +114 -0
- package/data/build/dist/client/html-workspace-files.js.map +1 -0
- package/data/build/dist/client/locale.d.ts.map +1 -1
- package/data/build/dist/client/locale.js +22 -2
- package/data/build/dist/client/locale.js.map +1 -1
- package/data/build/dist/client/locales/cliManagement.d.ts +3 -0
- package/data/build/dist/client/locales/cliManagement.d.ts.map +1 -0
- package/data/build/dist/client/locales/cliManagement.js +155 -0
- package/data/build/dist/client/locales/cliManagement.js.map +1 -0
- package/data/build/dist/client/locales/fileWorkspace.d.ts.map +1 -1
- package/data/build/dist/client/locales/fileWorkspace.js +8 -0
- package/data/build/dist/client/locales/fileWorkspace.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/panels.d.ts.map +1 -1
- package/data/build/dist/client/locales/panels.js +103 -11
- package/data/build/dist/client/locales/panels.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 +136 -0
- package/data/build/dist/client/locales/quickApps.d.ts.map +1 -0
- package/data/build/dist/client/locales/quickApps.js +162 -0
- package/data/build/dist/client/locales/quickApps.js.map +1 -0
- package/data/build/dist/client/locales/usage.d.ts.map +1 -1
- package/data/build/dist/client/locales/usage.js +98 -0
- package/data/build/dist/client/locales/usage.js.map +1 -1
- package/data/build/dist/client/magpie-model-tag.d.ts +8 -0
- package/data/build/dist/client/magpie-model-tag.d.ts.map +1 -0
- package/data/build/dist/client/magpie-model-tag.js +50 -0
- package/data/build/dist/client/magpie-model-tag.js.map +1 -0
- 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-catalog-cache.d.ts.map +1 -1
- package/data/build/dist/client/model-catalog-cache.js +66 -12
- package/data/build/dist/client/model-catalog-cache.js.map +1 -1
- 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/model-priority-pool.js +245 -0
- package/data/build/dist/client/model-priority-pool.js.map +1 -0
- package/data/build/dist/client/native-model-translation-menu.d.ts +13 -0
- package/data/build/dist/client/native-model-translation-menu.d.ts.map +1 -0
- package/data/build/dist/client/native-model-translation-menu.js +159 -0
- package/data/build/dist/client/native-model-translation-menu.js.map +1 -0
- package/data/build/dist/client/native-translation-default.d.ts +6 -0
- package/data/build/dist/client/native-translation-default.d.ts.map +1 -0
- package/data/build/dist/client/native-translation-default.js +30 -0
- package/data/build/dist/client/native-translation-default.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 +31 -0
- package/data/build/dist/client/quick-apps/client.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/client.js +68 -0
- package/data/build/dist/client/quick-apps/client.js.map +1 -0
- package/data/build/dist/client/quick-apps/document.d.ts +26 -0
- package/data/build/dist/client/quick-apps/document.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/document.js +110 -0
- package/data/build/dist/client/quick-apps/document.js.map +1 -0
- package/data/build/dist/client/quick-apps/file-picker.d.ts +14 -0
- package/data/build/dist/client/quick-apps/file-picker.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/file-picker.js +51 -0
- package/data/build/dist/client/quick-apps/file-picker.js.map +1 -0
- package/data/build/dist/client/quick-apps/launcher.d.ts +7 -0
- package/data/build/dist/client/quick-apps/launcher.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/launcher.js +267 -0
- package/data/build/dist/client/quick-apps/launcher.js.map +1 -0
- package/data/build/dist/client/quick-apps/presentation.d.ts +16 -0
- package/data/build/dist/client/quick-apps/presentation.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/presentation.js +47 -0
- package/data/build/dist/client/quick-apps/presentation.js.map +1 -0
- 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/reorder-animation.d.ts +6 -0
- package/data/build/dist/client/quick-apps/reorder-animation.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/reorder-animation.js +50 -0
- package/data/build/dist/client/quick-apps/reorder-animation.js.map +1 -0
- package/data/build/dist/client/quick-apps/reorder.d.ts +26 -0
- package/data/build/dist/client/quick-apps/reorder.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/reorder.js +128 -0
- package/data/build/dist/client/quick-apps/reorder.js.map +1 -0
- package/data/build/dist/client/quick-apps/styles.d.ts +3 -0
- package/data/build/dist/client/quick-apps/styles.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/styles.js +153 -0
- package/data/build/dist/client/quick-apps/styles.js.map +1 -0
- package/data/build/dist/client/quick-apps/ui.d.ts +20 -0
- package/data/build/dist/client/quick-apps/ui.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/ui.js +21 -0
- package/data/build/dist/client/quick-apps/ui.js.map +1 -0
- package/data/build/dist/client/quick-apps/viewer.d.ts +16 -0
- package/data/build/dist/client/quick-apps/viewer.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/viewer.js +165 -0
- package/data/build/dist/client/quick-apps/viewer.js.map +1 -0
- package/data/build/dist/client/quick-apps/workspace-picker.d.ts +19 -0
- package/data/build/dist/client/quick-apps/workspace-picker.d.ts.map +1 -0
- package/data/build/dist/client/quick-apps/workspace-picker.js +30 -0
- package/data/build/dist/client/quick-apps/workspace-picker.js.map +1 -0
- package/data/build/dist/client/session-translation-chat.d.ts +68 -2
- package/data/build/dist/client/session-translation-chat.d.ts.map +1 -1
- package/data/build/dist/client/session-translation-chat.js +297 -109
- package/data/build/dist/client/session-translation-chat.js.map +1 -1
- package/data/build/dist/client/session-translation-interactions.d.ts +31 -0
- package/data/build/dist/client/session-translation-interactions.d.ts.map +1 -0
- package/data/build/dist/client/session-translation-interactions.js +158 -0
- package/data/build/dist/client/session-translation-interactions.js.map +1 -0
- package/data/build/dist/client/session-translation-pending-dom.d.ts +8 -0
- package/data/build/dist/client/session-translation-pending-dom.d.ts.map +1 -0
- package/data/build/dist/client/session-translation-pending-dom.js +58 -0
- package/data/build/dist/client/session-translation-pending-dom.js.map +1 -0
- package/data/build/dist/client/session-translation-retry.d.ts +16 -0
- package/data/build/dist/client/session-translation-retry.d.ts.map +1 -0
- package/data/build/dist/client/session-translation-retry.js +66 -0
- package/data/build/dist/client/session-translation-retry.js.map +1 -0
- package/data/build/dist/client/session-translation-rules.d.ts +13 -0
- package/data/build/dist/client/session-translation-rules.d.ts.map +1 -0
- package/data/build/dist/client/session-translation-rules.js +58 -0
- package/data/build/dist/client/session-translation-rules.js.map +1 -0
- package/data/build/dist/client/sidebar-footer-style.d.ts +13 -0
- package/data/build/dist/client/sidebar-footer-style.d.ts.map +1 -0
- package/data/build/dist/client/sidebar-footer-style.js +54 -0
- package/data/build/dist/client/sidebar-footer-style.js.map +1 -0
- package/data/build/dist/client/style.css +276 -276
- package/data/build/dist/client/subscription-slot.d.ts +6 -2
- package/data/build/dist/client/subscription-slot.d.ts.map +1 -1
- package/data/build/dist/client/subscription-slot.js +373 -21
- package/data/build/dist/client/subscription-slot.js.map +1 -1
- package/data/build/dist/client/terminal/model.d.ts.map +1 -1
- package/data/build/dist/client/terminal/model.js +2 -1
- package/data/build/dist/client/terminal/model.js.map +1 -1
- package/data/build/dist/client/workspace-session-archive-dom.d.ts +1 -0
- package/data/build/dist/client/workspace-session-archive-dom.d.ts.map +1 -1
- package/data/build/dist/client/workspace-session-archive-dom.js +68 -8
- package/data/build/dist/client/workspace-session-archive-dom.js.map +1 -1
- 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/composer-slot-selectors.d.ts +4 -0
- package/data/build/dist/dsh-capabilities/client/composer-slot-selectors.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/composer-slot-selectors.js +8 -0
- package/data/build/dist/dsh-capabilities/client/composer-slot-selectors.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/interaction-presentation-adapter.d.ts +30 -0
- package/data/build/dist/dsh-capabilities/client/interaction-presentation-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/interaction-presentation-adapter.js +93 -0
- package/data/build/dist/dsh-capabilities/client/interaction-presentation-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/interaction-text-dom.d.ts +12 -0
- package/data/build/dist/dsh-capabilities/client/interaction-text-dom.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/interaction-text-dom.js +181 -0
- package/data/build/dist/dsh-capabilities/client/interaction-text-dom.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/message-presentation-adapter.d.ts +19 -0
- package/data/build/dist/dsh-capabilities/client/message-presentation-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/message-presentation-adapter.js +39 -0
- package/data/build/dist/dsh-capabilities/client/message-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/primitives-adapter.d.ts +36 -0
- package/data/build/dist/dsh-capabilities/client/primitives-adapter.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/client/primitives-adapter.js +88 -0
- package/data/build/dist/dsh-capabilities/client/primitives-adapter.js.map +1 -1
- package/data/build/dist/dsh-capabilities/client/question-history-adapter.d.ts +20 -0
- package/data/build/dist/dsh-capabilities/client/question-history-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/question-history-adapter.js +65 -0
- package/data/build/dist/dsh-capabilities/client/question-history-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/quick-app-footer-adapter.d.ts +18 -0
- package/data/build/dist/dsh-capabilities/client/quick-app-footer-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/quick-app-footer-adapter.js +11 -0
- package/data/build/dist/dsh-capabilities/client/quick-app-footer-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/session-performance-adapter.d.ts +9 -0
- package/data/build/dist/dsh-capabilities/client/session-performance-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js +75 -0
- package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/sidebar-footer-icon-adapter.d.ts +3 -0
- package/data/build/dist/dsh-capabilities/client/sidebar-footer-icon-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/sidebar-footer-icon-adapter.js +22 -0
- package/data/build/dist/dsh-capabilities/client/sidebar-footer-icon-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/client/slot-presentation-mirror.d.ts +32 -0
- package/data/build/dist/dsh-capabilities/client/slot-presentation-mirror.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/slot-presentation-mirror.js +90 -0
- package/data/build/dist/dsh-capabilities/client/slot-presentation-mirror.js.map +1 -0
- 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/connection-peer-adapter.d.ts +10 -0
- package/data/build/dist/dsh-capabilities/host/connection-peer-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/connection-peer-adapter.js +34 -0
- package/data/build/dist/dsh-capabilities/host/connection-peer-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/native-dispatch-adapter.d.ts +21 -0
- package/data/build/dist/dsh-capabilities/host/native-dispatch-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/native-dispatch-adapter.js +11 -0
- package/data/build/dist/dsh-capabilities/host/native-dispatch-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-credentials.d.ts +11 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-credentials.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-credentials.js +97 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-credentials.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-https-provider.d.ts +36 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-https-provider.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-https-provider.js +164 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-https-provider.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-lan-ports.d.ts +44 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-lan-ports.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-lan-ports.js +240 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-lan-ports.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-origin-adapter.d.ts +37 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-origin-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-origin-adapter.js +35 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-origin-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-proxy-adapter.d.ts +13 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-proxy-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-proxy-adapter.js +30 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-proxy-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.d.ts +21 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.js +132 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-transport.d.ts +10 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-transport.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-transport.js +33 -0
- package/data/build/dist/dsh-capabilities/host/quick-app-transport.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/session-activation-adapter.d.ts +17 -0
- package/data/build/dist/dsh-capabilities/host/session-activation-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/session-activation-adapter.js +37 -0
- package/data/build/dist/dsh-capabilities/host/session-activation-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.d.ts +17 -0
- package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.js +45 -0
- package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/session-performance-adapter.d.ts +7 -0
- package/data/build/dist/dsh-capabilities/host/session-performance-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/session-performance-adapter.js +18 -0
- package/data/build/dist/dsh-capabilities/host/session-performance-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.d.ts +28 -0
- package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.js +31 -0
- package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/workspace-directory-adapter.d.ts +13 -0
- package/data/build/dist/dsh-capabilities/host/workspace-directory-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/workspace-directory-adapter.js +24 -0
- package/data/build/dist/dsh-capabilities/host/workspace-directory-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/matrix.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/matrix.js +22 -5
- package/data/build/dist/dsh-capabilities/matrix.js.map +1 -1
- package/data/build/dist/dsh-capabilities/routes.d.ts +1 -0
- package/data/build/dist/dsh-capabilities/routes.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/routes.js +47 -3
- 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/antigravity-driver.js +1 -1
- package/data/build/dist/host/cli-adapters/antigravity-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/attachment-utils.d.ts +4 -3
- package/data/build/dist/host/cli-adapters/attachment-utils.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/attachment-utils.js +9 -8
- package/data/build/dist/host/cli-adapters/attachment-utils.js.map +1 -1
- package/data/build/dist/host/cli-adapters/binary-detection.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/binary-detection.js +7 -3
- package/data/build/dist/host/cli-adapters/binary-detection.js.map +1 -1
- package/data/build/dist/host/cli-adapters/claude-driver.d.ts +1 -0
- package/data/build/dist/host/cli-adapters/claude-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/claude-driver.js +184 -21
- package/data/build/dist/host/cli-adapters/claude-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/codex-driver.d.ts +18 -0
- package/data/build/dist/host/cli-adapters/codex-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/codex-driver.js +126 -21
- package/data/build/dist/host/cli-adapters/codex-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/codex-performance-projection.d.ts +91 -0
- package/data/build/dist/host/cli-adapters/codex-performance-projection.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/codex-performance-projection.js +8 -0
- package/data/build/dist/host/cli-adapters/codex-performance-projection.js.map +1 -0
- package/data/build/dist/host/cli-adapters/codex-performance.d.ts +16 -0
- package/data/build/dist/host/cli-adapters/codex-performance.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/codex-performance.js +81 -0
- package/data/build/dist/host/cli-adapters/codex-performance.js.map +1 -0
- package/data/build/dist/host/cli-adapters/command-code-acp-loader.d.ts +4 -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 +137 -25
- 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 +7 -4
- 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/driver.d.ts +2 -0
- package/data/build/dist/host/cli-adapters/driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/dsh-message-projector.d.ts +5 -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 +51 -16
- 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 +4 -0
- package/data/build/dist/host/cli-adapters/feature.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/feature.js +587 -101
- 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 +5 -3
- package/data/build/dist/host/cli-adapters/gemini-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/grok-driver.d.ts +7 -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 +458 -59
- 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 +123 -0
- package/data/build/dist/host/cli-adapters/grok-performance-projection.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/grok-performance-projection.js +48 -0
- package/data/build/dist/host/cli-adapters/grok-performance-projection.js.map +1 -0
- package/data/build/dist/host/cli-adapters/grok-usage.d.ts +45 -0
- package/data/build/dist/host/cli-adapters/grok-usage.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/grok-usage.js +197 -0
- package/data/build/dist/host/cli-adapters/grok-usage.js.map +1 -0
- package/data/build/dist/host/cli-adapters/kimi-driver.js +2 -2
- package/data/build/dist/host/cli-adapters/kimi-driver.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/magpie-session-routing.d.ts +9 -0
- package/data/build/dist/host/cli-adapters/magpie-session-routing.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/magpie-session-routing.js +90 -0
- package/data/build/dist/host/cli-adapters/magpie-session-routing.js.map +1 -0
- package/data/build/dist/host/cli-adapters/magpie-usage.d.ts +90 -0
- package/data/build/dist/host/cli-adapters/magpie-usage.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/magpie-usage.js +986 -0
- package/data/build/dist/host/cli-adapters/magpie-usage.js.map +1 -0
- package/data/build/dist/host/cli-adapters/management-installation.d.ts +5 -0
- package/data/build/dist/host/cli-adapters/management-installation.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/management-installation.js +131 -0
- package/data/build/dist/host/cli-adapters/management-installation.js.map +1 -0
- package/data/build/dist/host/cli-adapters/management-methods.d.ts +37 -0
- package/data/build/dist/host/cli-adapters/management-methods.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/management-methods.js +144 -0
- package/data/build/dist/host/cli-adapters/management-methods.js.map +1 -0
- package/data/build/dist/host/cli-adapters/management-process.d.ts +7 -0
- package/data/build/dist/host/cli-adapters/management-process.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/management-process.js +62 -0
- package/data/build/dist/host/cli-adapters/management-process.js.map +1 -0
- package/data/build/dist/host/cli-adapters/management.d.ts +32 -0
- package/data/build/dist/host/cli-adapters/management.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/management.js +177 -0
- package/data/build/dist/host/cli-adapters/management.js.map +1 -0
- package/data/build/dist/host/cli-adapters/mcode-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/mcode-driver.js +12 -5
- package/data/build/dist/host/cli-adapters/mcode-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/model-catalog.d.ts +1 -0
- package/data/build/dist/host/cli-adapters/model-catalog.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/model-catalog.js +70 -7
- package/data/build/dist/host/cli-adapters/model-catalog.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 +13 -5
- 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 +6 -3
- package/data/build/dist/host/cli-adapters/native-team-subagent.js.map +1 -1
- package/data/build/dist/host/cli-adapters/opencode-driver.d.ts +22 -0
- package/data/build/dist/host/cli-adapters/opencode-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/opencode-driver.js +105 -17
- package/data/build/dist/host/cli-adapters/opencode-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js +4 -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 +45 -11
- package/data/build/dist/host/cli-adapters/pi-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/process-utils.d.ts +2 -0
- package/data/build/dist/host/cli-adapters/process-utils.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/process-utils.js +16 -11
- package/data/build/dist/host/cli-adapters/process-utils.js.map +1 -1
- package/data/build/dist/host/cli-adapters/registry.d.ts +7 -1
- package/data/build/dist/host/cli-adapters/registry.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/registry.js +141 -51
- package/data/build/dist/host/cli-adapters/registry.js.map +1 -1
- package/data/build/dist/host/cli-adapters/session-performance-projection.d.ts +74 -0
- package/data/build/dist/host/cli-adapters/session-performance-projection.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/session-performance-projection.js +83 -0
- package/data/build/dist/host/cli-adapters/session-performance-projection.js.map +1 -0
- 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/stream-normalizer.d.ts +3 -1
- package/data/build/dist/host/cli-adapters/stream-normalizer.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/stream-normalizer.js +2 -0
- package/data/build/dist/host/cli-adapters/stream-normalizer.js.map +1 -1
- package/data/build/dist/host/cli-adapters/subagent-tool-descriptions.d.ts +26 -0
- package/data/build/dist/host/cli-adapters/subagent-tool-descriptions.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/subagent-tool-descriptions.js +30 -0
- package/data/build/dist/host/cli-adapters/subagent-tool-descriptions.js.map +1 -0
- package/data/build/dist/host/cli-adapters/subagent-tool.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/subagent-tool.js +7 -6
- 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 +34 -0
- package/data/build/dist/host/cli-adapters/update-check.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/update-check.js +263 -0
- package/data/build/dist/host/cli-adapters/update-check.js.map +1 -0
- package/data/build/dist/host/cli-adapters/zcode-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/zcode-driver.js +7 -2
- 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 +8 -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 +63 -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 +128 -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/fetch-dispatch.d.ts +23 -0
- package/data/build/dist/host/cli-bridge/fetch-dispatch.d.ts.map +1 -0
- package/data/build/dist/host/cli-bridge/fetch-dispatch.js +73 -0
- package/data/build/dist/host/cli-bridge/fetch-dispatch.js.map +1 -0
- package/data/build/dist/host/cli-bridge/injections.d.ts +14 -0
- package/data/build/dist/host/cli-bridge/injections.d.ts.map +1 -1
- package/data/build/dist/host/cli-bridge/injections.js +69 -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 +102 -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 +311 -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 +10 -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/global-voice-rpc.d.ts.map +1 -1
- package/data/build/dist/host/features/global-voice-rpc.js +2 -3
- package/data/build/dist/host/features/global-voice-rpc.js.map +1 -1
- package/data/build/dist/host/features/index.d.ts.map +1 -1
- package/data/build/dist/host/features/index.js +2 -0
- package/data/build/dist/host/features/index.js.map +1 -1
- package/data/build/dist/host/features/interaction-translation.d.ts +10 -0
- package/data/build/dist/host/features/interaction-translation.d.ts.map +1 -0
- package/data/build/dist/host/features/interaction-translation.js +219 -0
- package/data/build/dist/host/features/interaction-translation.js.map +1 -0
- package/data/build/dist/host/features/lan-access-dsh.d.ts.map +1 -1
- package/data/build/dist/host/features/lan-access-dsh.js +3 -3
- package/data/build/dist/host/features/lan-access-dsh.js.map +1 -1
- package/data/build/dist/host/features/peer-host.d.ts.map +1 -1
- package/data/build/dist/host/features/peer-host.js +13 -6
- package/data/build/dist/host/features/peer-host.js.map +1 -1
- package/data/build/dist/host/features/quick-apps.d.ts +4 -0
- package/data/build/dist/host/features/quick-apps.d.ts.map +1 -0
- package/data/build/dist/host/features/quick-apps.js +158 -0
- package/data/build/dist/host/features/quick-apps.js.map +1 -0
- package/data/build/dist/host/features/session-prompt-translation.d.ts +10 -0
- package/data/build/dist/host/features/session-prompt-translation.d.ts.map +1 -0
- package/data/build/dist/host/features/session-prompt-translation.js +227 -0
- package/data/build/dist/host/features/session-prompt-translation.js.map +1 -0
- package/data/build/dist/host/features/session-translation-protection.d.ts +22 -0
- package/data/build/dist/host/features/session-translation-protection.d.ts.map +1 -0
- package/data/build/dist/host/features/session-translation-protection.js +204 -0
- package/data/build/dist/host/features/session-translation-protection.js.map +1 -0
- package/data/build/dist/host/features/session-translation-recovery.d.ts +21 -0
- package/data/build/dist/host/features/session-translation-recovery.d.ts.map +1 -0
- package/data/build/dist/host/features/session-translation-recovery.js +125 -0
- package/data/build/dist/host/features/session-translation-recovery.js.map +1 -0
- package/data/build/dist/host/features/session-translation-runtime.d.ts +16 -0
- package/data/build/dist/host/features/session-translation-runtime.d.ts.map +1 -0
- package/data/build/dist/host/features/session-translation-runtime.js +85 -0
- package/data/build/dist/host/features/session-translation-runtime.js.map +1 -0
- package/data/build/dist/host/features/session-translation-service.d.ts +19 -4
- package/data/build/dist/host/features/session-translation-service.d.ts.map +1 -1
- package/data/build/dist/host/features/session-translation-service.js +249 -210
- package/data/build/dist/host/features/session-translation-service.js.map +1 -1
- package/data/build/dist/host/features/session-translation.d.ts.map +1 -1
- package/data/build/dist/host/features/session-translation.js +6 -3
- package/data/build/dist/host/features/session-translation.js.map +1 -1
- package/data/build/dist/host/features/types.d.ts +10 -0
- package/data/build/dist/host/features/types.d.ts.map +1 -1
- package/data/build/dist/host/html-workspace-files.d.ts +3 -0
- package/data/build/dist/host/html-workspace-files.d.ts.map +1 -0
- package/data/build/dist/host/html-workspace-files.js +135 -0
- package/data/build/dist/host/html-workspace-files.js.map +1 -0
- package/data/build/dist/host/index.d.ts.map +1 -1
- package/data/build/dist/host/index.js +32 -39
- package/data/build/dist/host/index.js.map +1 -1
- package/data/build/dist/host/lan-access-dsh.d.ts +14 -2
- package/data/build/dist/host/lan-access-dsh.d.ts.map +1 -1
- package/data/build/dist/host/lan-access-dsh.js +81 -13
- package/data/build/dist/host/lan-access-dsh.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.d.ts +2 -2
- package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.js +10 -9
- package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-native-streams.d.ts +3 -3
- package/data/build/dist/host/modules/peer-host/peer-host-native-streams.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-native-streams.js +26 -14
- package/data/build/dist/host/modules/peer-host/peer-host-native-streams.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/quick-app-gateway.d.ts +5 -0
- package/data/build/dist/host/modules/peer-host/quick-app-gateway.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/quick-app-gateway.js +27 -0
- package/data/build/dist/host/modules/peer-host/quick-app-gateway.js.map +1 -0
- package/data/build/dist/host/modules/quick-apps/browse.d.ts +5 -0
- package/data/build/dist/host/modules/quick-apps/browse.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/browse.js +37 -0
- package/data/build/dist/host/modules/quick-apps/browse.js.map +1 -0
- package/data/build/dist/host/modules/quick-apps/code-revision.d.ts +4 -0
- package/data/build/dist/host/modules/quick-apps/code-revision.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/code-revision.js +39 -0
- package/data/build/dist/host/modules/quick-apps/code-revision.js.map +1 -0
- package/data/build/dist/host/modules/quick-apps/documents.d.ts +14 -0
- package/data/build/dist/host/modules/quick-apps/documents.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/documents.js +87 -0
- package/data/build/dist/host/modules/quick-apps/documents.js.map +1 -0
- 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/errors.d.ts +8 -0
- package/data/build/dist/host/modules/quick-apps/errors.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/errors.js +15 -0
- package/data/build/dist/host/modules/quick-apps/errors.js.map +1 -0
- package/data/build/dist/host/modules/quick-apps/file-api.d.ts +30 -0
- package/data/build/dist/host/modules/quick-apps/file-api.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/file-api.js +149 -0
- package/data/build/dist/host/modules/quick-apps/file-api.js.map +1 -0
- package/data/build/dist/host/modules/quick-apps/launches.d.ts +35 -0
- package/data/build/dist/host/modules/quick-apps/launches.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/launches.js +80 -0
- package/data/build/dist/host/modules/quick-apps/launches.js.map +1 -0
- package/data/build/dist/host/modules/quick-apps/paths.d.ts +14 -0
- package/data/build/dist/host/modules/quick-apps/paths.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/paths.js +72 -0
- package/data/build/dist/host/modules/quick-apps/paths.js.map +1 -0
- package/data/build/dist/host/modules/quick-apps/registry.d.ts +30 -0
- package/data/build/dist/host/modules/quick-apps/registry.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/registry.js +195 -0
- package/data/build/dist/host/modules/quick-apps/registry.js.map +1 -0
- package/data/build/dist/host/modules/quick-apps/remote.d.ts +38 -0
- package/data/build/dist/host/modules/quick-apps/remote.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/remote.js +238 -0
- package/data/build/dist/host/modules/quick-apps/remote.js.map +1 -0
- package/data/build/dist/host/modules/quick-apps/service.d.ts +27 -0
- package/data/build/dist/host/modules/quick-apps/service.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/service.js +174 -0
- package/data/build/dist/host/modules/quick-apps/service.js.map +1 -0
- package/data/build/dist/host/modules/quick-apps/static-handler.d.ts +8 -0
- package/data/build/dist/host/modules/quick-apps/static-handler.d.ts.map +1 -0
- package/data/build/dist/host/modules/quick-apps/static-handler.js +213 -0
- package/data/build/dist/host/modules/quick-apps/static-handler.js.map +1 -0
- package/data/build/dist/host/native-session-bridge.d.ts +7 -1
- package/data/build/dist/host/native-session-bridge.d.ts.map +1 -1
- package/data/build/dist/host/native-session-bridge.js +10 -15
- package/data/build/dist/host/native-session-bridge.js.map +1 -1
- package/data/build/dist/host/rpc.d.ts.map +1 -1
- package/data/build/dist/host/rpc.js +23 -12
- 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 +31 -2
- package/data/build/dist/host/settings.js.map +1 -1
- package/data/build/dist/host/workspace-file-mutations.d.ts +2 -0
- package/data/build/dist/host/workspace-file-mutations.d.ts.map +1 -0
- package/data/build/dist/host/workspace-file-mutations.js +15 -0
- package/data/build/dist/host/workspace-file-mutations.js.map +1 -0
- 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/attachment-prompts.d.ts +11 -0
- package/data/build/dist/shared/attachment-prompts.d.ts.map +1 -0
- package/data/build/dist/shared/attachment-prompts.js +17 -0
- package/data/build/dist/shared/attachment-prompts.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/codex-performance.d.ts +3 -0
- package/data/build/dist/shared/codex-performance.d.ts.map +1 -0
- package/data/build/dist/shared/codex-performance.js +2 -0
- package/data/build/dist/shared/codex-performance.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 +62 -1
- package/data/build/dist/shared/contracts/cli-adapter.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/cli-management.d.ts +29 -0
- package/data/build/dist/shared/contracts/cli-management.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/cli-management.js +2 -0
- package/data/build/dist/shared/contracts/cli-management.js.map +1 -0
- package/data/build/dist/shared/contracts/config.d.ts +7 -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/interaction-presentation.d.ts +32 -0
- package/data/build/dist/shared/contracts/interaction-presentation.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/interaction-presentation.js +2 -0
- package/data/build/dist/shared/contracts/interaction-presentation.js.map +1 -0
- package/data/build/dist/shared/contracts/interaction-translation.d.ts +53 -0
- package/data/build/dist/shared/contracts/interaction-translation.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/interaction-translation.js +44 -0
- package/data/build/dist/shared/contracts/interaction-translation.js.map +1 -0
- package/data/build/dist/shared/contracts/quick-apps.d.ts +70 -0
- package/data/build/dist/shared/contracts/quick-apps.d.ts.map +1 -0
- package/data/build/dist/shared/contracts/quick-apps.js +4 -0
- package/data/build/dist/shared/contracts/quick-apps.js.map +1 -0
- package/data/build/dist/shared/contracts/session-translation.d.ts +82 -9
- package/data/build/dist/shared/contracts/session-translation.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/session-translation.js +146 -2
- package/data/build/dist/shared/contracts/session-translation.js.map +1 -1
- package/data/build/dist/shared/contracts/subscription.d.ts +87 -0
- package/data/build/dist/shared/contracts/subscription.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/subscription.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 +3 -2
- package/data/build/dist/shared/index.d.ts.map +1 -1
- package/data/build/dist/shared/index.js +3 -2
- package/data/build/dist/shared/index.js.map +1 -1
- package/data/build/dist/shared/peer-host-http-routes.d.ts +4 -0
- package/data/build/dist/shared/peer-host-http-routes.d.ts.map +1 -1
- package/data/build/dist/shared/peer-host-http-routes.js +4 -0
- package/data/build/dist/shared/peer-host-http-routes.js.map +1 -1
- package/data/build/dist/shared/provider-icon-resources.d.ts.map +1 -1
- package/data/build/dist/shared/provider-icon-resources.js +1 -0
- package/data/build/dist/shared/provider-icon-resources.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-proxy-path.d.ts +6 -0
- package/data/build/dist/shared/quick-app-proxy-path.d.ts.map +1 -0
- package/data/build/dist/shared/quick-app-proxy-path.js +18 -0
- package/data/build/dist/shared/quick-app-proxy-path.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/data/build/dist/shared/quick-apps-bootstrap-locale.d.ts +7 -0
- package/data/build/dist/shared/quick-apps-bootstrap-locale.d.ts.map +1 -0
- package/data/build/dist/shared/quick-apps-bootstrap-locale.js +10 -0
- package/data/build/dist/shared/quick-apps-bootstrap-locale.js.map +1 -0
- package/data/build/dist/shared/request-performance.d.ts +15 -0
- package/data/build/dist/shared/request-performance.d.ts.map +1 -0
- package/data/build/dist/shared/request-performance.js +3 -0
- package/data/build/dist/shared/request-performance.js.map +1 -0
- package/data/build/dist/shared/translation-indicator.d.ts +26 -0
- package/data/build/dist/shared/translation-indicator.d.ts.map +1 -0
- package/data/build/dist/shared/translation-indicator.js +29 -0
- package/data/build/dist/shared/translation-indicator.js.map +1 -0
- package/package.json +35 -34
- 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/client.model-catalog-cache.js.map +0 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { InteractionAnswer, TranslatableQuestion } from './interaction-translation.js';
|
|
2
|
+
/** Internal presentation boundary. The owning DSH card retains all transport and wait state. */
|
|
3
|
+
export interface TranslationQuestionCard {
|
|
4
|
+
readonly key: string;
|
|
5
|
+
readonly sessionId: string;
|
|
6
|
+
readonly kind: 'question' | 'plan-review';
|
|
7
|
+
readonly questions: readonly TranslatableQuestion[];
|
|
8
|
+
readonly callId?: string;
|
|
9
|
+
readonly review?: InteractionAnswer['answers'];
|
|
10
|
+
readonly dismissal: 'hide' | 'cancel';
|
|
11
|
+
subscribe(listener: () => void): () => void;
|
|
12
|
+
snapshot(): {
|
|
13
|
+
readonly closed: boolean;
|
|
14
|
+
readonly channel: 'waterfall' | 'rpc' | 'none';
|
|
15
|
+
readonly state: 'open' | 'continued';
|
|
16
|
+
readonly countdown?: {
|
|
17
|
+
readonly remainingMs: number;
|
|
18
|
+
readonly running: boolean;
|
|
19
|
+
} | undefined;
|
|
20
|
+
};
|
|
21
|
+
answer(answer: InteractionAnswer): Promise<void>;
|
|
22
|
+
dismiss(): Promise<void>;
|
|
23
|
+
engage(): void;
|
|
24
|
+
takeTime(): void;
|
|
25
|
+
holdFocus(): void;
|
|
26
|
+
releaseFocus(): void;
|
|
27
|
+
}
|
|
28
|
+
export interface TranslationTodo {
|
|
29
|
+
readonly content: string;
|
|
30
|
+
readonly status: 'pending' | 'in_progress' | 'completed';
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=interaction-presentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interaction-presentation.d.ts","sourceRoot":"","sources":["../../../../../src/shared/contracts/interaction-presentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAE3F,gGAAgG;AAChG,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,aAAa,CAAA;IACzC,QAAQ,CAAC,SAAS,EAAE,SAAS,oBAAoB,EAAE,CAAA;IACnD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAA;IAC9C,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ,CAAA;IACrC,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAA;IAC3C,QAAQ,IAAI;QACV,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;QACxB,QAAQ,CAAC,OAAO,EAAE,WAAW,GAAG,KAAK,GAAG,MAAM,CAAA;QAC9C,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAAA;QACpC,QAAQ,CAAC,SAAS,CAAC,EAAE;YAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;SAAE,GAAG,SAAS,CAAA;KAC7F,CAAA;IACD,MAAM,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAChD,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IACxB,MAAM,IAAI,IAAI,CAAA;IACd,QAAQ,IAAI,IAAI,CAAA;IAChB,SAAS,IAAI,IAAI,CAAA;IACjB,YAAY,IAAI,IAAI,CAAA;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,MAAM,EAAE,SAAS,GAAG,aAAa,GAAG,WAAW,CAAA;CACzD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interaction-presentation.js","sourceRoot":"","sources":["../../../../../src/shared/contracts/interaction-presentation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { SessionTranslationFailure, SessionTranslationRecord } from './session-translation.js';
|
|
2
|
+
/** Text is translated independently; keys and interaction data never reach the model. */
|
|
3
|
+
export interface InteractionTranslationField {
|
|
4
|
+
readonly key: string;
|
|
5
|
+
readonly text: string;
|
|
6
|
+
}
|
|
7
|
+
export interface InteractionTranslationResult {
|
|
8
|
+
readonly enabled: boolean;
|
|
9
|
+
readonly records: Readonly<Record<string, SessionTranslationRecord>>;
|
|
10
|
+
readonly diagnostics?: Readonly<Record<string, InteractionTranslationDiagnostic>>;
|
|
11
|
+
}
|
|
12
|
+
export interface InteractionTranslationDiagnostic {
|
|
13
|
+
readonly attempts: number;
|
|
14
|
+
readonly queueMs: number;
|
|
15
|
+
readonly executionMs: number;
|
|
16
|
+
readonly phase: 'queue' | 'translation' | 'retry' | 'complete';
|
|
17
|
+
readonly cacheHit: boolean;
|
|
18
|
+
readonly failure?: SessionTranslationFailure;
|
|
19
|
+
}
|
|
20
|
+
export interface TranslatableQuestion {
|
|
21
|
+
readonly id: string;
|
|
22
|
+
readonly question: string;
|
|
23
|
+
readonly header?: string;
|
|
24
|
+
readonly detail?: string;
|
|
25
|
+
readonly options?: readonly {
|
|
26
|
+
readonly label: string;
|
|
27
|
+
readonly description?: string;
|
|
28
|
+
}[];
|
|
29
|
+
readonly multiSelect?: boolean;
|
|
30
|
+
readonly intent?: {
|
|
31
|
+
readonly kind: string;
|
|
32
|
+
readonly approve: string;
|
|
33
|
+
readonly callId?: string;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export interface InteractionAnswer {
|
|
37
|
+
readonly answers: readonly {
|
|
38
|
+
readonly id: string;
|
|
39
|
+
readonly selected: readonly string[];
|
|
40
|
+
readonly custom?: string;
|
|
41
|
+
}[];
|
|
42
|
+
}
|
|
43
|
+
export declare function questionTranslationFields(questions: readonly TranslatableQuestion[]): InteractionTranslationField[];
|
|
44
|
+
export declare function answerTranslationFields(answer: InteractionAnswer): InteractionTranslationField[];
|
|
45
|
+
/** Only free text changes on submission. Option values and question IDs stay verbatim. */
|
|
46
|
+
export declare function translatedAnswer(answer: InteractionAnswer, result: InteractionTranslationResult): InteractionAnswer;
|
|
47
|
+
export declare function translatedField(result: InteractionTranslationResult | undefined, key: string, original: string): string;
|
|
48
|
+
/** Approval is determined by the original intent, never by translated labels or position. */
|
|
49
|
+
export declare function planApproval(questions: readonly TranslatableQuestion[]): {
|
|
50
|
+
question: TranslatableQuestion;
|
|
51
|
+
option: number;
|
|
52
|
+
} | undefined;
|
|
53
|
+
//# sourceMappingURL=interaction-translation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interaction-translation.d.ts","sourceRoot":"","sources":["../../../../../src/shared/contracts/interaction-translation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA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,CAAC,MAAM,CAAC,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAChG;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,OAAO,EAAE,SAAS;QACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;QACnB,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;QACpC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KACzB,EAAE,CAAA;CACJ;AAED,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,SAAS,oBAAoB,EAAE,GAAG,2BAA2B,EAAE,CAanH;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,iBAAiB,GAAG,2BAA2B,EAAE,CAIhG;AAED,0FAA0F;AAC1F,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,4BAA4B,GAAG,iBAAiB,CAOnH;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,4BAA4B,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGvH;AAED,6FAA6F;AAC7F,wBAAgB,YAAY,CAAC,SAAS,EAAE,SAAS,oBAAoB,EAAE,GAAG;IAAE,QAAQ,EAAE,oBAAoB,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAMvI"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export function questionTranslationFields(questions) {
|
|
2
|
+
const fields = [];
|
|
3
|
+
const add = (key, text) => {
|
|
4
|
+
if (text !== undefined && text.trim() !== '')
|
|
5
|
+
fields.push({ key, text });
|
|
6
|
+
};
|
|
7
|
+
questions.forEach((question, index) => {
|
|
8
|
+
for (const name of ['question', 'header', 'detail'])
|
|
9
|
+
add(`q.${index}.${name}`, question[name]);
|
|
10
|
+
question.options?.forEach((option, optionIndex) => {
|
|
11
|
+
add(`q.${index}.o.${optionIndex}.label`, option.label);
|
|
12
|
+
add(`q.${index}.o.${optionIndex}.description`, option.description);
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
return fields;
|
|
16
|
+
}
|
|
17
|
+
export function answerTranslationFields(answer) {
|
|
18
|
+
return answer.answers.flatMap((item, index) => item.custom?.trim()
|
|
19
|
+
? [{ key: `a.${index}.custom`, text: item.custom }]
|
|
20
|
+
: []);
|
|
21
|
+
}
|
|
22
|
+
/** Only free text changes on submission. Option values and question IDs stay verbatim. */
|
|
23
|
+
export function translatedAnswer(answer, result) {
|
|
24
|
+
return { ...answer, answers: answer.answers.map((item, index) => {
|
|
25
|
+
const record = result.records[`a.${index}.custom`];
|
|
26
|
+
return result.enabled && record !== undefined && record.original === item.custom && !record.failed
|
|
27
|
+
? { ...item, custom: record.translated }
|
|
28
|
+
: item;
|
|
29
|
+
}) };
|
|
30
|
+
}
|
|
31
|
+
export function translatedField(result, key, original) {
|
|
32
|
+
const record = result?.records[key];
|
|
33
|
+
return result?.enabled && record !== undefined && record.original === original && !record.failed ? record.translated : original;
|
|
34
|
+
}
|
|
35
|
+
/** Approval is determined by the original intent, never by translated labels or position. */
|
|
36
|
+
export function planApproval(questions) {
|
|
37
|
+
const question = questions[0];
|
|
38
|
+
if (questions.length !== 1 || question?.intent?.kind !== 'plan-review' || question.detail === undefined
|
|
39
|
+
|| question.multiSelect || (question.options?.length ?? 0) > 2)
|
|
40
|
+
return undefined;
|
|
41
|
+
const option = question.options?.findIndex(item => item.label === question.intent.approve) ?? -1;
|
|
42
|
+
return option < 0 ? undefined : { question, option };
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=interaction-translation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interaction-translation.js","sourceRoot":"","sources":["../../../../../src/shared/contracts/interaction-translation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MAAM,GAAG,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,KAAK,QAAQ,CAAC,MAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAA;IACjG,OAAO,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAA;AACtD,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/** Persisted references and user-selected access policy. Launch credentials never enter settings. */
|
|
2
|
+
export interface QuickApp {
|
|
3
|
+
readonly id: string;
|
|
4
|
+
readonly title: string;
|
|
5
|
+
readonly hostId: string;
|
|
6
|
+
readonly workspaceId: string;
|
|
7
|
+
readonly entryPath: string;
|
|
8
|
+
readonly documentRoot: string;
|
|
9
|
+
readonly kind: 'html' | 'text';
|
|
10
|
+
/** Explicit workspace trust; omitted on legacy shortcuts until the user saves them. */
|
|
11
|
+
readonly fileAccess?: 'workspace';
|
|
12
|
+
readonly spaFallback: boolean;
|
|
13
|
+
/** Local IPs, CIDR ranges, or hostnames this app may reach. Omitted means none. */
|
|
14
|
+
readonly networkAllow?: readonly string[];
|
|
15
|
+
readonly mounts: readonly QuickAppMount[];
|
|
16
|
+
readonly revision: number;
|
|
17
|
+
readonly order: number;
|
|
18
|
+
}
|
|
19
|
+
export interface QuickAppMount {
|
|
20
|
+
readonly urlPrefix: string;
|
|
21
|
+
readonly workspacePath: string;
|
|
22
|
+
readonly read: true;
|
|
23
|
+
}
|
|
24
|
+
export interface QuickAppDirectory {
|
|
25
|
+
readonly path: string;
|
|
26
|
+
readonly entries: readonly {
|
|
27
|
+
readonly name: string;
|
|
28
|
+
readonly path: string;
|
|
29
|
+
readonly kind: 'file' | 'directory';
|
|
30
|
+
}[];
|
|
31
|
+
readonly truncated: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface QuickAppPermissions {
|
|
34
|
+
readonly read: readonly string[];
|
|
35
|
+
readonly write: readonly string[];
|
|
36
|
+
readonly delete: readonly string[];
|
|
37
|
+
}
|
|
38
|
+
/** A document snapshot, bound to a Host-owned launch rather than a conversation. */
|
|
39
|
+
export interface QuickAppDocument {
|
|
40
|
+
readonly path: string;
|
|
41
|
+
readonly content: string;
|
|
42
|
+
readonly version: string;
|
|
43
|
+
readonly canWrite: boolean;
|
|
44
|
+
}
|
|
45
|
+
/** Host-to-Host resource relay. The owning launch supplies all filesystem identity. */
|
|
46
|
+
export interface QuickAppProxyRequest {
|
|
47
|
+
readonly method: string;
|
|
48
|
+
readonly path: string;
|
|
49
|
+
readonly headers: Readonly<Record<string, string>>;
|
|
50
|
+
readonly body?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface QuickAppProxyResponse {
|
|
53
|
+
readonly status: number;
|
|
54
|
+
readonly headers: Readonly<Record<string, string>>;
|
|
55
|
+
readonly bodyBase64: string;
|
|
56
|
+
}
|
|
57
|
+
export type QuickAppAvailability = 'available' | 'missing-file' | 'missing-workspace' | 'disconnected-host' | 'unsupported-runtime' | 'unsupported-connection';
|
|
58
|
+
export declare const QUICK_APP_RUNTIME_REASONS: readonly ["not-configured", "config-invalid", "lan-stopped", "ui-not-allowed", "ports-exhausted", "ports-busy"];
|
|
59
|
+
export type QuickAppRuntimeReason = typeof QUICK_APP_RUNTIME_REASONS[number];
|
|
60
|
+
export declare const quickAppTransportErrorCode: (reason: QuickAppRuntimeReason) => string;
|
|
61
|
+
export declare const QUICK_APP_LIMITS: Readonly<{
|
|
62
|
+
textBytes: number;
|
|
63
|
+
staticBytes: number;
|
|
64
|
+
requests: 8;
|
|
65
|
+
launches: 32;
|
|
66
|
+
originHistory: 1024;
|
|
67
|
+
shortcuts: 200;
|
|
68
|
+
lifetimeMs: number;
|
|
69
|
+
}>;
|
|
70
|
+
//# sourceMappingURL=quick-apps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quick-apps.d.ts","sourceRoot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2K,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export const QUICK_APP_RUNTIME_REASONS = ['not-configured', 'config-invalid', 'lan-stopped', 'ui-not-allowed', 'ports-exhausted', 'ports-busy'];
|
|
2
|
+
export const quickAppTransportErrorCode = (reason) => `QUICK_APP_TRANSPORT_${reason.toUpperCase().replaceAll('-', '_')}`;
|
|
3
|
+
export const QUICK_APP_LIMITS = Object.freeze({ textBytes: 4 * 1024 * 1024, staticBytes: 64 * 1024 * 1024, requests: 8, launches: 32, originHistory: 1024, shortcuts: 200, lifetimeMs: 30 * 60 * 1000 });
|
|
4
|
+
//# sourceMappingURL=quick-apps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quick-apps.js","sourceRoot":"","sources":["../../../../../src/shared/contracts/quick-apps.ts"],"names":[],"mappings":"AA2DA,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,YAAY,CAAU,CAAA;AAExJ,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,MAA6B,EAAU,EAAE,CAAC,uBAAuB,MAAM,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAA;AACvJ,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI,EAAE,WAAW,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,UAAU,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,CAAC,CAAA"}
|
|
@@ -7,22 +7,74 @@ export interface SessionTranslationModel {
|
|
|
7
7
|
readonly provider: string;
|
|
8
8
|
readonly model: string;
|
|
9
9
|
}
|
|
10
|
-
/**
|
|
11
|
-
export interface
|
|
12
|
-
|
|
13
|
-
readonly
|
|
10
|
+
/** Message categories saved independently for each agent adapter. */
|
|
11
|
+
export interface SessionTranslationOptions {
|
|
12
|
+
readonly inputEnabled?: boolean;
|
|
13
|
+
readonly reasoningEnabled?: boolean;
|
|
14
|
+
readonly assistantEnabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/** Persisted translation settings; top-level message options remain legacy defaults. */
|
|
17
|
+
export interface SessionTranslationSettings extends SessionTranslationOptions {
|
|
18
|
+
readonly adapterOptions?: Readonly<Record<string, SessionTranslationOptions>>;
|
|
19
|
+
/** 用户输入送入 Agent 的目的语言。 */
|
|
20
|
+
readonly inputLanguage: SessionTranslationLanguage;
|
|
14
21
|
/** 输出翻译语言;默认中文。 */
|
|
15
22
|
readonly outputLanguage: SessionTranslationLanguage;
|
|
16
23
|
/** 是否在 UI 和历史回看中同时保留原文与译文。 */
|
|
17
24
|
readonly bilingual: boolean;
|
|
18
25
|
/** 翻译模型;缺省时跟随 DSH 当前默认模型。 */
|
|
19
26
|
readonly translationModel?: SessionTranslationModel;
|
|
27
|
+
/** Models in priority order. An empty pool follows the DSH default; absent pools use the legacy selection. */
|
|
28
|
+
readonly translationModels?: readonly SessionTranslationModel[];
|
|
29
|
+
/** Custom prompt instructions that take precedence over the default translation prompts. */
|
|
30
|
+
readonly translationRules?: readonly string[];
|
|
31
|
+
/**
|
|
32
|
+
* DSH 原生会话是否参与翻译;缺省关闭。
|
|
33
|
+
*
|
|
34
|
+
* 原生会话的回复由 DSH 自己写入 `assistant/message`,开启输出翻译后正文会变成
|
|
35
|
+
* 译文、原文只留在块元数据里,因此不能默认改变既有行为。
|
|
36
|
+
*/
|
|
37
|
+
readonly nativeEnabled?: boolean;
|
|
20
38
|
}
|
|
21
39
|
export declare const SESSION_TRANSLATION_ADAPTER_IDS: readonly ["command-code", "claude-code", "kimi", "gemini", "pi", "codex", "opencode", "grok", "mcode", "zcode", "codebuddy", "workbuddy", "cursor-cli", "kiro-cli", "qoder", "qoder-cn", "antigravity", "doubao"];
|
|
40
|
+
/** DSH 内置 Agent 的适配器标识;它没有外部驱动,但同样支持会话翻译。 */
|
|
41
|
+
export declare const DSH_NATIVE_SESSION_ADAPTER_ID: "dsh";
|
|
42
|
+
export declare const SESSION_TRANSLATION_LANGUAGES: readonly ["en", "fr", "de", "ja", "zh"];
|
|
22
43
|
export declare const DEFAULT_SESSION_TRANSLATION_SETTINGS: SessionTranslationSettings;
|
|
23
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* 外部 Agent 适配器判定。
|
|
46
|
+
*
|
|
47
|
+
* 只表示「会话由插件的外部 CLI 驱动接管」,因此 DSH 原生 Agent 不在其中:该判定
|
|
48
|
+
* 还被用来把外部 Agent 的虚拟 Provider 排除在翻译模型目录之外,混入 `dsh` 会污染
|
|
49
|
+
* 这一语义。会话是否可翻译统一使用 {@link supportsSessionTranslation}。
|
|
50
|
+
*/
|
|
24
51
|
export declare function isSessionTranslationAdapter(adapterId: string): boolean;
|
|
25
|
-
|
|
52
|
+
/** 外部 Agent 与 DSH 原生 Agent 都支持会话翻译。 */
|
|
53
|
+
export declare function supportsSessionTranslation(adapterId: string): boolean;
|
|
54
|
+
/** Preserve existing choices until an adapter overrides them. Missing legacy values default on. */
|
|
55
|
+
export declare function resolveSessionTranslationOptions(settings: SessionTranslationSettings | undefined, adapterId: string): Required<SessionTranslationOptions>;
|
|
56
|
+
/** 判断任意字符串是否为受支持的翻译语言。 */
|
|
57
|
+
export declare function isSessionTranslationLanguage(value: unknown): value is SessionTranslationLanguage;
|
|
58
|
+
/**
|
|
59
|
+
* 归一化翻译设置:旧设置快照可能缺少 `nativeEnabled`,非法语言回落到默认值。
|
|
60
|
+
*
|
|
61
|
+
* 与 `session-translation-service.ts` 的内部归一化保持同一语义,供客户端设置页在
|
|
62
|
+
* 写入前补齐字段,避免旧快照把新字段写丢。
|
|
63
|
+
*/
|
|
64
|
+
export declare function normalizeSessionTranslationSettings(value: SessionTranslationSettings | undefined): SessionTranslationSettings;
|
|
65
|
+
export interface SessionTranslationFailure {
|
|
66
|
+
readonly code: 'timeout' | 'cancelled' | 'rate-limit' | 'network' | 'unavailable' | 'invalid-response' | 'configuration' | 'provider';
|
|
67
|
+
readonly retryable: boolean;
|
|
68
|
+
}
|
|
69
|
+
export interface SessionTranslationMetrics {
|
|
70
|
+
/** Elapsed translation time, including model selection and fallback attempts. */
|
|
71
|
+
readonly durationMs?: number;
|
|
72
|
+
/** Reported token consumption across model attempts, including cached input. */
|
|
73
|
+
readonly totalTokens?: number;
|
|
74
|
+
}
|
|
75
|
+
/** Preserve available metrics while accepting records saved before metrics existed. */
|
|
76
|
+
export declare function readSessionTranslationMetrics(value: unknown): SessionTranslationMetrics;
|
|
77
|
+
export interface SessionTranslationRecord extends SessionTranslationMetrics {
|
|
26
78
|
readonly original: string;
|
|
27
79
|
readonly translated: string;
|
|
28
80
|
readonly sourceLanguage?: SessionTranslationLanguage;
|
|
@@ -36,14 +88,23 @@ export interface SessionTranslationRecord {
|
|
|
36
88
|
readonly model?: SessionTranslationModel;
|
|
37
89
|
/** 本次尝试失败并回退原文;前端显示警告状态。 */
|
|
38
90
|
readonly failed?: boolean;
|
|
91
|
+
/** Structured failure details; absent in older translation records. */
|
|
92
|
+
readonly failure?: SessionTranslationFailure;
|
|
93
|
+
}
|
|
94
|
+
export type SessionTranslationRecoveryChoice = 'retry' | 'send' | 'cancel';
|
|
95
|
+
/** A failed submission remains on the host until the user makes a choice. */
|
|
96
|
+
export interface SessionTranslationPendingInput {
|
|
97
|
+
readonly id: string;
|
|
98
|
+
readonly sessionId: string;
|
|
99
|
+
readonly record: SessionTranslationRecord;
|
|
39
100
|
}
|
|
40
101
|
/** 用户输入的原文、实际送出的译文和翻译模型,作为 DSH 历史元数据保存。 */
|
|
41
|
-
export interface SessionTranslationInputRecord {
|
|
102
|
+
export interface SessionTranslationInputRecord extends SessionTranslationMetrics {
|
|
42
103
|
readonly original: string;
|
|
43
104
|
/** 包含附件提示等不翻译内容的最终 Provider prompt。 */
|
|
44
105
|
readonly translated: string;
|
|
45
106
|
readonly sourceLanguage?: SessionTranslationLanguage;
|
|
46
|
-
readonly targetLanguage:
|
|
107
|
+
readonly targetLanguage: SessionTranslationLanguage;
|
|
47
108
|
/** 源语言与目标语言一致,因此未调用翻译模型。 */
|
|
48
109
|
readonly alreadyTargetLanguage?: boolean;
|
|
49
110
|
/** 实际执行本次翻译的 DSH 原生模型;旧历史可能没有该字段。 */
|
|
@@ -51,8 +112,20 @@ export interface SessionTranslationInputRecord {
|
|
|
51
112
|
/** 翻译失败并回退原文;前端显示警告状态。 */
|
|
52
113
|
readonly failed?: boolean;
|
|
53
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* 从 DSH 原生用户消息的 source 元数据读取输入翻译记录。
|
|
117
|
+
*
|
|
118
|
+
* 该字段由 `agent/pre-step` 写入并随 `user/message` 持久化;未知或不完整的历史
|
|
119
|
+
* 结构一律返回 undefined,调用方按「没有翻译」处理。
|
|
120
|
+
*/
|
|
121
|
+
export declare function readNativeTranslationRecord(source: unknown): SessionTranslationInputRecord | undefined;
|
|
122
|
+
/** 输入记录转换为详情弹层使用的通用记录;`outputKind` 缺省表示输入方向。 */
|
|
123
|
+
export declare function toSessionTranslationRecord(record: SessionTranslationInputRecord, options?: {
|
|
124
|
+
readonly outputKind?: SessionTranslationOutputKind;
|
|
125
|
+
readonly bilingual?: boolean;
|
|
126
|
+
}): SessionTranslationRecord;
|
|
54
127
|
/** 外部 Agent 的历史上下文使用实际发送的译文;DSH 用户消息正文保留用户原文。 */
|
|
55
128
|
export declare function formatSessionTranslationInput(record: SessionTranslationInputRecord): string;
|
|
56
|
-
/** DSH
|
|
129
|
+
/** Return the output translation; native DSH history keeps the original and the client reads this record. */
|
|
57
130
|
export declare function formatSessionTranslationOutput(record: SessionTranslationRecord): string;
|
|
58
131
|
//# sourceMappingURL=session-translation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-translation.d.ts","sourceRoot":"","sources":["../../../../../src/shared/contracts/session-translation.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,MAAM,MAAM,0BAA0B,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEzE,iCAAiC;AACjC,MAAM,MAAM,4BAA4B,GAAG,WAAW,GAAG,WAAW,CAAA;AAEpE,oDAAoD;AACpD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED,
|
|
1
|
+
{"version":3,"file":"session-translation.d.ts","sourceRoot":"","sources":["../../../../../src/shared/contracts/session-translation.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,MAAM,MAAM,0BAA0B,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEzE,iCAAiC;AACjC,MAAM,MAAM,4BAA4B,GAAG,WAAW,GAAG,WAAW,CAAA;AAEpE,oDAAoD;AACpD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CACvB;AAED,qEAAqE;AACrE,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;IACnC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;CACpC;AAED,wFAAwF;AACxF,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;IAC3E,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAC,CAAA;IAC7E,0BAA0B;IAC1B,QAAQ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2CAA2C;AAC3C,MAAM,WAAW,6BAA8B,SAAQ,yBAAyB;IAC9E,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,uCAAuC;IACvC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,cAAc,CAAC,EAAE,0BAA0B,CAAA;IACpD,QAAQ,CAAC,cAAc,EAAE,0BAA0B,CAAA;IACnD,4BAA4B;IAC5B,QAAQ,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAA;IACxC,qCAAqC;IACrC,QAAQ,CAAC,KAAK,CAAC,EAAE,uBAAuB,CAAA;IACxC,0BAA0B;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,OAAO,GAAG,6BAA6B,GAAG,SAAS,CAoBtG;AAED,gDAAgD;AAChD,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,6BAA6B,EACrC,OAAO,GAAE;IAAE,QAAQ,CAAC,UAAU,CAAC,EAAE,4BAA4B,CAAC;IAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAO,GACjG,wBAAwB,CAa1B;AAMD,iDAAiD;AACjD,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,6BAA6B,GAAG,MAAM,CAE3F;AAED,6GAA6G;AAC7G,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,wBAAwB,GAAG,MAAM,CAEvF"}
|
|
@@ -3,20 +3,164 @@ export const SESSION_TRANSLATION_ADAPTER_IDS = [
|
|
|
3
3
|
'mcode', 'zcode', 'codebuddy', 'workbuddy', 'cursor-cli', 'kiro-cli', 'qoder', 'qoder-cn',
|
|
4
4
|
'antigravity', 'doubao',
|
|
5
5
|
];
|
|
6
|
+
/** DSH 内置 Agent 的适配器标识;它没有外部驱动,但同样支持会话翻译。 */
|
|
7
|
+
export const DSH_NATIVE_SESSION_ADAPTER_ID = 'dsh';
|
|
8
|
+
export const SESSION_TRANSLATION_LANGUAGES = ['en', 'fr', 'de', 'ja', 'zh'];
|
|
6
9
|
export const DEFAULT_SESSION_TRANSLATION_SETTINGS = {
|
|
10
|
+
inputEnabled: true,
|
|
11
|
+
reasoningEnabled: true,
|
|
12
|
+
assistantEnabled: true,
|
|
7
13
|
inputLanguage: 'en',
|
|
8
14
|
outputLanguage: 'zh',
|
|
9
15
|
bilingual: false,
|
|
16
|
+
nativeEnabled: false,
|
|
10
17
|
};
|
|
11
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* 外部 Agent 适配器判定。
|
|
20
|
+
*
|
|
21
|
+
* 只表示「会话由插件的外部 CLI 驱动接管」,因此 DSH 原生 Agent 不在其中:该判定
|
|
22
|
+
* 还被用来把外部 Agent 的虚拟 Provider 排除在翻译模型目录之外,混入 `dsh` 会污染
|
|
23
|
+
* 这一语义。会话是否可翻译统一使用 {@link supportsSessionTranslation}。
|
|
24
|
+
*/
|
|
12
25
|
export function isSessionTranslationAdapter(adapterId) {
|
|
13
26
|
return SESSION_TRANSLATION_ADAPTER_IDS.includes(adapterId);
|
|
14
27
|
}
|
|
28
|
+
/** 外部 Agent 与 DSH 原生 Agent 都支持会话翻译。 */
|
|
29
|
+
export function supportsSessionTranslation(adapterId) {
|
|
30
|
+
return adapterId === DSH_NATIVE_SESSION_ADAPTER_ID || isSessionTranslationAdapter(adapterId);
|
|
31
|
+
}
|
|
32
|
+
/** Preserve existing choices until an adapter overrides them. Missing legacy values default on. */
|
|
33
|
+
export function resolveSessionTranslationOptions(settings, adapterId) {
|
|
34
|
+
const options = settings?.adapterOptions?.[adapterId];
|
|
35
|
+
return {
|
|
36
|
+
inputEnabled: (options?.inputEnabled ?? settings?.inputEnabled) !== false,
|
|
37
|
+
reasoningEnabled: (options?.reasoningEnabled ?? settings?.reasoningEnabled) !== false,
|
|
38
|
+
assistantEnabled: (options?.assistantEnabled ?? settings?.assistantEnabled) !== false,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/** 判断任意字符串是否为受支持的翻译语言。 */
|
|
42
|
+
export function isSessionTranslationLanguage(value) {
|
|
43
|
+
return typeof value === 'string' && SESSION_TRANSLATION_LANGUAGES.includes(value);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* 归一化翻译设置:旧设置快照可能缺少 `nativeEnabled`,非法语言回落到默认值。
|
|
47
|
+
*
|
|
48
|
+
* 与 `session-translation-service.ts` 的内部归一化保持同一语义,供客户端设置页在
|
|
49
|
+
* 写入前补齐字段,避免旧快照把新字段写丢。
|
|
50
|
+
*/
|
|
51
|
+
export function normalizeSessionTranslationSettings(value) {
|
|
52
|
+
const fallback = DEFAULT_SESSION_TRANSLATION_SETTINGS;
|
|
53
|
+
if (value === undefined)
|
|
54
|
+
return fallback;
|
|
55
|
+
const translationModel = normalizeTranslationModel(value.translationModel);
|
|
56
|
+
const translationModels = Array.isArray(value.translationModels) ? normalizeTranslationModels(value.translationModels) : undefined;
|
|
57
|
+
const translationRules = Array.isArray(value.translationRules)
|
|
58
|
+
? value.translationRules.filter((rule) => typeof rule === 'string').map((rule) => rule.trim()).filter((rule) => rule !== '')
|
|
59
|
+
: undefined;
|
|
60
|
+
return {
|
|
61
|
+
inputEnabled: value.inputEnabled !== false,
|
|
62
|
+
reasoningEnabled: value.reasoningEnabled !== false,
|
|
63
|
+
assistantEnabled: value.assistantEnabled !== false,
|
|
64
|
+
inputLanguage: isSessionTranslationLanguage(value.inputLanguage) ? value.inputLanguage : fallback.inputLanguage,
|
|
65
|
+
outputLanguage: isSessionTranslationLanguage(value.outputLanguage) ? value.outputLanguage : fallback.outputLanguage,
|
|
66
|
+
bilingual: value.bilingual === true,
|
|
67
|
+
nativeEnabled: value.nativeEnabled === true,
|
|
68
|
+
...(value.adapterOptions === undefined ? {} : {
|
|
69
|
+
adapterOptions: Object.fromEntries(Object.entries(value.adapterOptions)
|
|
70
|
+
.filter(([adapterId]) => supportsSessionTranslation(adapterId))
|
|
71
|
+
.map(([adapterId]) => [adapterId, resolveSessionTranslationOptions(value, adapterId)])),
|
|
72
|
+
}),
|
|
73
|
+
...(translationModel === undefined ? {} : { translationModel }),
|
|
74
|
+
...(translationModels === undefined ? {} : { translationModels }),
|
|
75
|
+
...(translationRules === undefined ? {} : { translationRules }),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
function normalizeTranslationModels(values) {
|
|
79
|
+
const models = [];
|
|
80
|
+
const seen = new Set();
|
|
81
|
+
for (const value of values) {
|
|
82
|
+
const model = normalizeTranslationModel(value);
|
|
83
|
+
if (model === undefined)
|
|
84
|
+
continue;
|
|
85
|
+
const key = JSON.stringify([model.provider, model.model]);
|
|
86
|
+
if (seen.has(key))
|
|
87
|
+
continue;
|
|
88
|
+
seen.add(key);
|
|
89
|
+
models.push(model);
|
|
90
|
+
}
|
|
91
|
+
return models;
|
|
92
|
+
}
|
|
93
|
+
function normalizeTranslationModel(value) {
|
|
94
|
+
if (value === undefined || value === null || typeof value.provider !== 'string' || typeof value.model !== 'string')
|
|
95
|
+
return undefined;
|
|
96
|
+
const provider = value.provider.trim();
|
|
97
|
+
const model = value.model.trim();
|
|
98
|
+
return provider === '' || model === '' ? undefined : { provider, model };
|
|
99
|
+
}
|
|
100
|
+
/** Preserve available metrics while accepting records saved before metrics existed. */
|
|
101
|
+
export function readSessionTranslationMetrics(value) {
|
|
102
|
+
const record = asRecord(value);
|
|
103
|
+
const durationMs = record?.durationMs;
|
|
104
|
+
const totalTokens = record?.totalTokens;
|
|
105
|
+
return {
|
|
106
|
+
...(typeof durationMs === 'number' && Number.isFinite(durationMs) && durationMs >= 0 ? { durationMs } : {}),
|
|
107
|
+
...(typeof totalTokens === 'number' && Number.isSafeInteger(totalTokens) && totalTokens >= 0 ? { totalTokens } : {}),
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* 从 DSH 原生用户消息的 source 元数据读取输入翻译记录。
|
|
112
|
+
*
|
|
113
|
+
* 该字段由 `agent/pre-step` 写入并随 `user/message` 持久化;未知或不完整的历史
|
|
114
|
+
* 结构一律返回 undefined,调用方按「没有翻译」处理。
|
|
115
|
+
*/
|
|
116
|
+
export function readNativeTranslationRecord(source) {
|
|
117
|
+
const record = asRecord(source);
|
|
118
|
+
const candidate = asRecord(record?.codingnsTranslationInput);
|
|
119
|
+
if (candidate === null)
|
|
120
|
+
return undefined;
|
|
121
|
+
if (typeof candidate.original !== 'string' || typeof candidate.translated !== 'string')
|
|
122
|
+
return undefined;
|
|
123
|
+
if (candidate.original.trim() === '' || candidate.translated.trim() === '')
|
|
124
|
+
return undefined;
|
|
125
|
+
const targetLanguage = isSessionTranslationLanguage(candidate.targetLanguage) ? candidate.targetLanguage : undefined;
|
|
126
|
+
if (targetLanguage === undefined)
|
|
127
|
+
return undefined;
|
|
128
|
+
const model = normalizeTranslationModel(asRecord(candidate.model));
|
|
129
|
+
const sourceLanguage = isSessionTranslationLanguage(candidate.sourceLanguage) ? candidate.sourceLanguage : undefined;
|
|
130
|
+
return {
|
|
131
|
+
original: candidate.original,
|
|
132
|
+
translated: candidate.translated,
|
|
133
|
+
targetLanguage,
|
|
134
|
+
...(sourceLanguage === undefined ? {} : { sourceLanguage }),
|
|
135
|
+
...(candidate.alreadyTargetLanguage === true ? { alreadyTargetLanguage: true } : {}),
|
|
136
|
+
...(candidate.failed === true ? { failed: true } : {}),
|
|
137
|
+
...(model === undefined ? {} : { model }),
|
|
138
|
+
...readSessionTranslationMetrics(candidate),
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
/** 输入记录转换为详情弹层使用的通用记录;`outputKind` 缺省表示输入方向。 */
|
|
142
|
+
export function toSessionTranslationRecord(record, options = {}) {
|
|
143
|
+
return {
|
|
144
|
+
original: record.original,
|
|
145
|
+
translated: record.translated,
|
|
146
|
+
targetLanguage: record.targetLanguage,
|
|
147
|
+
bilingual: options.bilingual === true,
|
|
148
|
+
...(options.outputKind === undefined ? {} : { outputKind: options.outputKind }),
|
|
149
|
+
...(record.sourceLanguage === undefined ? {} : { sourceLanguage: record.sourceLanguage }),
|
|
150
|
+
...(record.alreadyTargetLanguage === true ? { alreadyTargetLanguage: true } : {}),
|
|
151
|
+
...(record.failed === true ? { failed: true } : {}),
|
|
152
|
+
...(record.model === undefined ? {} : { model: record.model }),
|
|
153
|
+
...readSessionTranslationMetrics(record),
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
function asRecord(value) {
|
|
157
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value) ? value : null;
|
|
158
|
+
}
|
|
15
159
|
/** 外部 Agent 的历史上下文使用实际发送的译文;DSH 用户消息正文保留用户原文。 */
|
|
16
160
|
export function formatSessionTranslationInput(record) {
|
|
17
161
|
return record.translated;
|
|
18
162
|
}
|
|
19
|
-
/** DSH
|
|
163
|
+
/** Return the output translation; native DSH history keeps the original and the client reads this record. */
|
|
20
164
|
export function formatSessionTranslationOutput(record) {
|
|
21
165
|
return record.translated;
|
|
22
166
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-translation.js","sourceRoot":"","sources":["../../../../../src/shared/contracts/session-translation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"session-translation.js","sourceRoot":"","sources":["../../../../../src/shared/contracts/session-translation.ts"],"names":[],"mappings":"AA2CA,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,cAAc,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM;IAClF,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU;IACzF,aAAa,EAAE,QAAQ;CACf,CAAA;AAEV,6CAA6C;AAC7C,MAAM,CAAC,MAAM,6BAA6B,GAAG,KAAc,CAAA;AAE3D,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,IAAI,EAAE,IAAI,EA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