@jingyi0605/codingns4dsh 0.2.1-beta.6 → 0.2.1-beta.7
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 +4 -4
- package/README.md +19 -5
- package/THIRD_PARTY_NOTICES +5 -0
- package/assets/provider-icons/r4.svg +4 -0
- package/data/build/dist/bootstrap/dsh-connection-adapter.d.ts +1 -1
- package/data/build/dist/bootstrap/index.d.ts +1 -1
- package/data/build/dist/client/assistant-settings-styles.d.ts.map +1 -1
- package/data/build/dist/client/assistant-settings-styles.js +3 -2
- package/data/build/dist/client/assistant-settings-styles.js.map +1 -1
- package/data/build/dist/client/avatar/catalog-panel.d.ts.map +1 -1
- package/data/build/dist/client/avatar/catalog-panel.js +7 -5
- package/data/build/dist/client/avatar/catalog-panel.js.map +1 -1
- package/data/build/dist/client/avatar/catalog-picker.d.ts.map +1 -1
- package/data/build/dist/client/avatar/catalog-picker.js +2 -1
- package/data/build/dist/client/avatar/catalog-picker.js.map +1 -1
- package/data/build/dist/client/avatar/desktop-bridge.d.ts +7 -3
- package/data/build/dist/client/avatar/desktop-bridge.d.ts.map +1 -1
- package/data/build/dist/client/avatar/desktop-bridge.js +64 -5
- package/data/build/dist/client/avatar/desktop-bridge.js.map +1 -1
- package/data/build/dist/client/avatar/desktop-view.d.ts +4 -0
- package/data/build/dist/client/avatar/desktop-view.d.ts.map +1 -1
- package/data/build/dist/client/avatar/desktop-view.js +82 -5
- package/data/build/dist/client/avatar/desktop-view.js.map +1 -1
- package/data/build/dist/client/avatar/engine.d.ts.map +1 -1
- package/data/build/dist/client/avatar/engine.js +3 -2
- package/data/build/dist/client/avatar/engine.js.map +1 -1
- package/data/build/dist/client/avatar/floating.d.ts +5 -3
- package/data/build/dist/client/avatar/floating.d.ts.map +1 -1
- package/data/build/dist/client/avatar/floating.js +11 -4
- package/data/build/dist/client/avatar/floating.js.map +1 -1
- package/data/build/dist/client/avatar/image.d.ts +1 -1
- package/data/build/dist/client/avatar/image.d.ts.map +1 -1
- package/data/build/dist/client/avatar/image.js +2 -2
- package/data/build/dist/client/avatar/image.js.map +1 -1
- package/data/build/dist/client/avatar/live2d.d.ts +14 -3
- package/data/build/dist/client/avatar/live2d.d.ts.map +1 -1
- package/data/build/dist/client/avatar/live2d.js +62 -9
- package/data/build/dist/client/avatar/live2d.js.map +1 -1
- package/data/build/dist/client/avatar/loading.d.ts.map +1 -1
- package/data/build/dist/client/avatar/loading.js +3 -2
- package/data/build/dist/client/avatar/loading.js.map +1 -1
- package/data/build/dist/client/avatar/notification-bubble.d.ts +26 -0
- package/data/build/dist/client/avatar/notification-bubble.d.ts.map +1 -0
- package/data/build/dist/client/avatar/notification-bubble.js +201 -0
- package/data/build/dist/client/avatar/notification-bubble.js.map +1 -0
- package/data/build/dist/client/avatar/reaction-badge.d.ts +7 -0
- package/data/build/dist/client/avatar/reaction-badge.d.ts.map +1 -0
- package/data/build/dist/client/avatar/reaction-badge.js +11 -0
- package/data/build/dist/client/avatar/reaction-badge.js.map +1 -0
- package/data/build/dist/client/avatar/registry.d.ts +2 -1
- package/data/build/dist/client/avatar/registry.d.ts.map +1 -1
- package/data/build/dist/client/avatar/registry.js.map +1 -1
- package/data/build/dist/client/avatar/settings-panel.d.ts.map +1 -1
- package/data/build/dist/client/avatar/settings-panel.js +7 -5
- package/data/build/dist/client/avatar/settings-panel.js.map +1 -1
- package/data/build/dist/client/avatar/slot.d.ts +2 -1
- package/data/build/dist/client/avatar/slot.d.ts.map +1 -1
- package/data/build/dist/client/avatar/slot.js +5 -4
- package/data/build/dist/client/avatar/slot.js.map +1 -1
- package/data/build/dist/client/avatar/spritesheet.d.ts +4 -2
- package/data/build/dist/client/avatar/spritesheet.d.ts.map +1 -1
- package/data/build/dist/client/avatar/spritesheet.js +18 -9
- package/data/build/dist/client/avatar/spritesheet.js.map +1 -1
- package/data/build/dist/client/bundle.js +5815 -1449
- package/data/build/dist/client/bundle.js.map +1 -1
- package/data/build/dist/client/cli-catalog.d.ts +1 -1
- package/data/build/dist/client/cli-catalog.d.ts.map +1 -1
- package/data/build/dist/client/cli-catalog.js +2 -0
- package/data/build/dist/client/cli-catalog.js.map +1 -1
- package/data/build/dist/client/cli-session-config-cache.d.ts +17 -0
- package/data/build/dist/client/cli-session-config-cache.d.ts.map +1 -0
- package/data/build/dist/client/cli-session-config-cache.js +56 -0
- package/data/build/dist/client/cli-session-config-cache.js.map +1 -0
- package/data/build/dist/client/cli-settings-rpc.d.ts +5 -0
- package/data/build/dist/client/cli-settings-rpc.d.ts.map +1 -0
- package/data/build/dist/client/cli-settings-rpc.js +60 -0
- package/data/build/dist/client/cli-settings-rpc.js.map +1 -0
- package/data/build/dist/client/cli-slots.d.ts.map +1 -1
- package/data/build/dist/client/cli-slots.js +24 -40
- package/data/build/dist/client/cli-slots.js.map +1 -1
- package/data/build/dist/client/client.assistant-configuration-view.js +264 -55
- package/data/build/dist/client/client.assistant-configuration-view.js.map +1 -1
- package/data/build/dist/client/client.assistant-debug-workbench.js +4 -4
- package/data/build/dist/client/client.assistant-debug-workbench.js.map +1 -1
- package/data/build/dist/client/{client.assistant-prompts.js → client.assistant-notifications.js} +63 -2
- package/data/build/dist/client/client.assistant-notifications.js.map +1 -0
- package/data/build/dist/client/client.assistant-prompt-editor.js +4 -4
- package/data/build/dist/client/client.assistant-prompt-editor.js.map +1 -1
- package/data/build/dist/client/client.assistant-workbench.js +57 -57
- package/data/build/dist/client/client.assistant-workbench.js.map +1 -1
- package/data/build/dist/client/client.delegate-command.js +12 -25
- package/data/build/dist/client/client.delegate-command.js.map +1 -1
- package/data/build/dist/client/client.manager.js +164 -25
- package/data/build/dist/client/client.manager.js.map +1 -1
- package/data/build/dist/client/client.model-catalog-cache.js +2 -1
- package/data/build/dist/client/client.model-catalog-cache.js.map +1 -1
- package/data/build/dist/client/client.native-workspace-store.js +42 -11
- package/data/build/dist/client/client.native-workspace-store.js.map +1 -1
- package/data/build/dist/client/client.primitives-adapter.js.map +1 -1
- package/data/build/dist/client/client.react-dom.js +250 -0
- package/data/build/dist/client/client.react-dom.js.map +1 -1
- package/data/build/dist/client/client.theme.js +56 -12
- package/data/build/dist/client/client.theme.js.map +1 -1
- package/data/build/dist/client/client.transport.js +312 -44
- package/data/build/dist/client/client.transport.js.map +1 -1
- package/data/build/dist/client/debug/ui.d.ts.map +1 -1
- package/data/build/dist/client/debug/ui.js +30 -29
- package/data/build/dist/client/debug/ui.js.map +1 -1
- package/data/build/dist/client/delegate-command.d.ts.map +1 -1
- package/data/build/dist/client/delegate-command.js +12 -21
- package/data/build/dist/client/delegate-command.js.map +1 -1
- package/data/build/dist/client/desktop-assistant.js +4348 -31
- package/data/build/dist/client/external-tool-stream.d.ts.map +1 -1
- package/data/build/dist/client/external-tool-stream.js +2 -1
- package/data/build/dist/client/external-tool-stream.js.map +1 -1
- package/data/build/dist/client/features/assistant-configuration-session.js +3 -3
- package/data/build/dist/client/features/assistant-configuration-session.js.map +1 -1
- package/data/build/dist/client/features/assistant-configuration-tabs.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-configuration-tabs.js +2 -1
- package/data/build/dist/client/features/assistant-configuration-tabs.js.map +1 -1
- package/data/build/dist/client/features/assistant-configuration-view.d.ts +8 -0
- package/data/build/dist/client/features/assistant-configuration-view.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-configuration-view.js +99 -3
- package/data/build/dist/client/features/assistant-configuration-view.js.map +1 -1
- package/data/build/dist/client/features/assistant-conversation-message.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-conversation-message.js +9 -8
- package/data/build/dist/client/features/assistant-conversation-message.js.map +1 -1
- package/data/build/dist/client/features/assistant-debug-workbench.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-debug-workbench.js +3 -2
- package/data/build/dist/client/features/assistant-debug-workbench.js.map +1 -1
- package/data/build/dist/client/features/assistant-floating-call.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-floating-call.js +4 -3
- package/data/build/dist/client/features/assistant-floating-call.js.map +1 -1
- package/data/build/dist/client/features/assistant-notification-store.d.ts +66 -0
- package/data/build/dist/client/features/assistant-notification-store.d.ts.map +1 -0
- package/data/build/dist/client/features/assistant-notification-store.js +395 -0
- package/data/build/dist/client/features/assistant-notification-store.js.map +1 -0
- package/data/build/dist/client/features/assistant-realtime-call.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-realtime-call.js +13 -12
- package/data/build/dist/client/features/assistant-realtime-call.js.map +1 -1
- package/data/build/dist/client/features/assistant-voice-initialization.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-voice-initialization.js +4 -2
- package/data/build/dist/client/features/assistant-voice-initialization.js.map +1 -1
- package/data/build/dist/client/features/assistant-voice-settings-group.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-voice-settings-group.js +2 -1
- package/data/build/dist/client/features/assistant-voice-settings-group.js.map +1 -1
- package/data/build/dist/client/features/assistant-voice-settings.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-voice-settings.js +4 -3
- package/data/build/dist/client/features/assistant-voice-settings.js.map +1 -1
- package/data/build/dist/client/features/assistant-workbench-controls.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-workbench-controls.js +6 -5
- package/data/build/dist/client/features/assistant-workbench-controls.js.map +1 -1
- package/data/build/dist/client/features/assistant-workbench.d.ts.map +1 -1
- package/data/build/dist/client/features/assistant-workbench.js +11 -9
- package/data/build/dist/client/features/assistant-workbench.js.map +1 -1
- package/data/build/dist/client/features/cli-adapters.d.ts.map +1 -1
- package/data/build/dist/client/features/cli-adapters.js +140 -35
- package/data/build/dist/client/features/cli-adapters.js.map +1 -1
- package/data/build/dist/client/features/file-management-panel.d.ts.map +1 -1
- package/data/build/dist/client/features/file-management-panel.js +3 -10
- package/data/build/dist/client/features/file-management-panel.js.map +1 -1
- package/data/build/dist/client/features/global-voice-assistant.d.ts +6 -0
- package/data/build/dist/client/features/global-voice-assistant.d.ts.map +1 -1
- package/data/build/dist/client/features/global-voice-assistant.js +85 -3
- package/data/build/dist/client/features/global-voice-assistant.js.map +1 -1
- package/data/build/dist/client/features/index.d.ts +1 -0
- package/data/build/dist/client/features/index.d.ts.map +1 -1
- package/data/build/dist/client/features/index.js +3 -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 +6 -4
- package/data/build/dist/client/features/lan-access-panel.js.map +1 -1
- package/data/build/dist/client/features/login-protection-panel.d.ts.map +1 -1
- package/data/build/dist/client/features/login-protection-panel.js +7 -2
- package/data/build/dist/client/features/login-protection-panel.js.map +1 -1
- package/data/build/dist/client/features/mobile-access-panel.d.ts.map +1 -1
- package/data/build/dist/client/features/mobile-access-panel.js +19 -13
- package/data/build/dist/client/features/mobile-access-panel.js.map +1 -1
- package/data/build/dist/client/features/peer-host.d.ts +3 -0
- package/data/build/dist/client/features/peer-host.d.ts.map +1 -1
- package/data/build/dist/client/features/peer-host.js +412 -26
- package/data/build/dist/client/features/peer-host.js.map +1 -1
- package/data/build/dist/client/features/reverse-proxy-panel.d.ts.map +1 -1
- package/data/build/dist/client/features/reverse-proxy-panel.js +5 -4
- package/data/build/dist/client/features/reverse-proxy-panel.js.map +1 -1
- package/data/build/dist/client/features/subagent-collapsed-lineage.d.ts +9 -0
- package/data/build/dist/client/features/subagent-collapsed-lineage.d.ts.map +1 -0
- package/data/build/dist/client/features/subagent-collapsed-lineage.js +28 -0
- package/data/build/dist/client/features/subagent-collapsed-lineage.js.map +1 -0
- package/data/build/dist/client/features/subscription-usage-panel.d.ts.map +1 -1
- package/data/build/dist/client/features/subscription-usage-panel.js +4 -3
- package/data/build/dist/client/features/subscription-usage-panel.js.map +1 -1
- package/data/build/dist/client/features/terminal-enhancement-panel.d.ts.map +1 -1
- package/data/build/dist/client/features/terminal-enhancement-panel.js +6 -4
- package/data/build/dist/client/features/terminal-enhancement-panel.js.map +1 -1
- package/data/build/dist/client/features/types.d.ts +8 -0
- package/data/build/dist/client/features/types.d.ts.map +1 -1
- package/data/build/dist/client/features/voice-conversation-dialog.d.ts.map +1 -1
- package/data/build/dist/client/features/voice-conversation-dialog.js +7 -6
- package/data/build/dist/client/features/voice-conversation-dialog.js.map +1 -1
- package/data/build/dist/client/features/voice-initialization-dialog.d.ts.map +1 -1
- package/data/build/dist/client/features/voice-initialization-dialog.js +7 -6
- package/data/build/dist/client/features/voice-initialization-dialog.js.map +1 -1
- package/data/build/dist/client/features/workspace-session-enhancement-panel.d.ts.map +1 -1
- package/data/build/dist/client/features/workspace-session-enhancement-panel.js +44 -96
- package/data/build/dist/client/features/workspace-session-enhancement-panel.js.map +1 -1
- package/data/build/dist/client/file-management-dom.d.ts.map +1 -1
- package/data/build/dist/client/file-management-dom.js +42 -28
- package/data/build/dist/client/file-management-dom.js.map +1 -1
- package/data/build/dist/client/font-scale.d.ts +37 -0
- package/data/build/dist/client/font-scale.d.ts.map +1 -0
- package/data/build/dist/client/font-scale.js +56 -0
- package/data/build/dist/client/font-scale.js.map +1 -0
- package/data/build/dist/client/git-management.d.ts.map +1 -1
- package/data/build/dist/client/git-management.js +80 -37
- package/data/build/dist/client/git-management.js.map +1 -1
- package/data/build/dist/client/index.d.ts +1 -1
- package/data/build/dist/client/index.d.ts.map +1 -1
- package/data/build/dist/client/index.js +43 -1
- package/data/build/dist/client/index.js.map +1 -1
- package/data/build/dist/client/locale.d.ts.map +1 -1
- package/data/build/dist/client/locale.js +27 -2
- package/data/build/dist/client/locale.js.map +1 -1
- package/data/build/dist/client/locales/assistantWorkbench.d.ts +31 -0
- package/data/build/dist/client/locales/assistantWorkbench.d.ts.map +1 -1
- package/data/build/dist/client/locales/assistantWorkbench.js +22 -2
- package/data/build/dist/client/locales/assistantWorkbench.js.map +1 -1
- package/data/build/dist/client/locales/peerHost.d.ts.map +1 -1
- package/data/build/dist/client/locales/peerHost.js +10 -0
- package/data/build/dist/client/locales/peerHost.js.map +1 -1
- package/data/build/dist/client/locales/peerHostWorkspace.d.ts.map +1 -1
- package/data/build/dist/client/locales/peerHostWorkspace.js +16 -0
- package/data/build/dist/client/locales/peerHostWorkspace.js.map +1 -1
- package/data/build/dist/client/locales/subagentCollapsed.d.ts +53 -0
- package/data/build/dist/client/locales/subagentCollapsed.d.ts.map +1 -0
- package/data/build/dist/client/locales/subagentCollapsed.js +95 -0
- package/data/build/dist/client/locales/subagentCollapsed.js.map +1 -0
- package/data/build/dist/client/locales/terminalAuth.js +2 -2
- package/data/build/dist/client/locales/terminalAuth.js.map +1 -1
- package/data/build/dist/client/locales/usage.d.ts.map +1 -1
- package/data/build/dist/client/locales/usage.js +48 -0
- package/data/build/dist/client/locales/usage.js.map +1 -1
- package/data/build/dist/client/native-workspace-store.d.ts +10 -0
- package/data/build/dist/client/native-workspace-store.d.ts.map +1 -1
- package/data/build/dist/client/native-workspace-store.js +22 -1
- package/data/build/dist/client/native-workspace-store.js.map +1 -1
- package/data/build/dist/client/peer-host-color.d.ts +3 -0
- package/data/build/dist/client/peer-host-color.d.ts.map +1 -1
- package/data/build/dist/client/peer-host-color.js +16 -0
- package/data/build/dist/client/peer-host-color.js.map +1 -1
- package/data/build/dist/client/peer-host-file-links.d.ts +8 -0
- package/data/build/dist/client/peer-host-file-links.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-file-links.js +43 -0
- package/data/build/dist/client/peer-host-file-links.js.map +1 -0
- package/data/build/dist/client/peer-host-management-api.d.ts +2 -1
- package/data/build/dist/client/peer-host-management-api.d.ts.map +1 -1
- package/data/build/dist/client/peer-host-management-api.js +2 -1
- package/data/build/dist/client/peer-host-management-api.js.map +1 -1
- package/data/build/dist/client/peer-host-native-projection.d.ts +16 -8
- package/data/build/dist/client/peer-host-native-projection.d.ts.map +1 -1
- package/data/build/dist/client/peer-host-native-projection.js +88 -15
- package/data/build/dist/client/peer-host-native-projection.js.map +1 -1
- package/data/build/dist/client/peer-host-native-store-projection.d.ts +2 -0
- package/data/build/dist/client/peer-host-native-store-projection.d.ts.map +1 -1
- package/data/build/dist/client/peer-host-native-store-projection.js +52 -13
- package/data/build/dist/client/peer-host-native-store-projection.js.map +1 -1
- package/data/build/dist/client/peer-host-reference-source.d.ts +18 -0
- package/data/build/dist/client/peer-host-reference-source.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-reference-source.js +174 -0
- package/data/build/dist/client/peer-host-reference-source.js.map +1 -0
- package/data/build/dist/client/peer-host-remote-events.d.ts +34 -0
- package/data/build/dist/client/peer-host-remote-events.d.ts.map +1 -0
- package/data/build/dist/client/peer-host-remote-events.js +239 -0
- package/data/build/dist/client/peer-host-remote-events.js.map +1 -0
- package/data/build/dist/client/peer-host-scoped-client.d.ts +3 -0
- package/data/build/dist/client/peer-host-scoped-client.d.ts.map +1 -1
- package/data/build/dist/client/peer-host-scoped-client.js +5 -2
- package/data/build/dist/client/peer-host-scoped-client.js.map +1 -1
- package/data/build/dist/client/peer-host-workspace-tab.d.ts +2 -0
- package/data/build/dist/client/peer-host-workspace-tab.d.ts.map +1 -1
- package/data/build/dist/client/peer-host-workspace-tab.js +62 -29
- package/data/build/dist/client/peer-host-workspace-tab.js.map +1 -1
- package/data/build/dist/client/peer-host-workspace-tag.d.ts +5 -0
- package/data/build/dist/client/peer-host-workspace-tag.d.ts.map +1 -1
- package/data/build/dist/client/peer-host-workspace-tag.js +57 -14
- package/data/build/dist/client/peer-host-workspace-tag.js.map +1 -1
- package/data/build/dist/client/provider-icons.d.ts.map +1 -1
- package/data/build/dist/client/provider-icons.js +2 -1
- package/data/build/dist/client/provider-icons.js.map +1 -1
- package/data/build/dist/client/quick-phrase-slot.d.ts.map +1 -1
- package/data/build/dist/client/quick-phrase-slot.js +12 -11
- package/data/build/dist/client/quick-phrase-slot.js.map +1 -1
- package/data/build/dist/client/serial-polling.d.ts +1 -0
- package/data/build/dist/client/serial-polling.d.ts.map +1 -1
- package/data/build/dist/client/serial-polling.js +4 -2
- package/data/build/dist/client/serial-polling.js.map +1 -1
- package/data/build/dist/client/session-adapter-cache.d.ts +2 -0
- package/data/build/dist/client/session-adapter-cache.d.ts.map +1 -1
- package/data/build/dist/client/session-adapter-cache.js +11 -0
- package/data/build/dist/client/session-adapter-cache.js.map +1 -1
- package/data/build/dist/client/session-changed-files-view.d.ts +15 -0
- package/data/build/dist/client/session-changed-files-view.d.ts.map +1 -1
- package/data/build/dist/client/session-changed-files-view.js +73 -29
- package/data/build/dist/client/session-changed-files-view.js.map +1 -1
- package/data/build/dist/client/settings-controls.d.ts +29 -0
- package/data/build/dist/client/settings-controls.d.ts.map +1 -0
- package/data/build/dist/client/settings-controls.js +80 -0
- package/data/build/dist/client/settings-controls.js.map +1 -0
- package/data/build/dist/client/settings-section.d.ts.map +1 -1
- package/data/build/dist/client/settings-section.js +7 -11
- package/data/build/dist/client/settings-section.js.map +1 -1
- package/data/build/dist/client/skill-command.d.ts.map +1 -1
- package/data/build/dist/client/skill-command.js +2 -1
- package/data/build/dist/client/skill-command.js.map +1 -1
- package/data/build/dist/client/subagent-collapsed-lineage.d.ts +103 -0
- package/data/build/dist/client/subagent-collapsed-lineage.d.ts.map +1 -0
- package/data/build/dist/client/subagent-collapsed-lineage.js +664 -0
- package/data/build/dist/client/subagent-collapsed-lineage.js.map +1 -0
- package/data/build/dist/client/subscription-slot.d.ts +8 -2
- package/data/build/dist/client/subscription-slot.d.ts.map +1 -1
- package/data/build/dist/client/subscription-slot.js +50 -33
- package/data/build/dist/client/subscription-slot.js.map +1 -1
- package/data/build/dist/client/terminal/ui.d.ts.map +1 -1
- package/data/build/dist/client/terminal/ui.js +26 -8
- package/data/build/dist/client/terminal/ui.js.map +1 -1
- package/data/build/dist/client/theme.d.ts.map +1 -1
- package/data/build/dist/client/theme.js +17 -12
- package/data/build/dist/client/theme.js.map +1 -1
- package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.d.ts +7 -0
- package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.js +47 -0
- package/data/build/dist/dsh-capabilities/client/assistant-session-navigation-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/session-title-adapter.d.ts +10 -0
- package/data/build/dist/dsh-capabilities/host/session-title-adapter.d.ts.map +1 -0
- package/data/build/dist/dsh-capabilities/host/session-title-adapter.js +199 -0
- package/data/build/dist/dsh-capabilities/host/session-title-adapter.js.map +1 -0
- package/data/build/dist/dsh-capabilities/host/sidebar-session-compat.d.ts +1 -1
- package/data/build/dist/dsh-capabilities/host/sidebar-session-compat.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/host/sidebar-session-compat.js +8 -2
- package/data/build/dist/dsh-capabilities/host/sidebar-session-compat.js.map +1 -1
- package/data/build/dist/dsh-capabilities/matrix.d.ts.map +1 -1
- package/data/build/dist/dsh-capabilities/matrix.js +13 -3
- package/data/build/dist/dsh-capabilities/matrix.js.map +1 -1
- package/data/build/dist/dsh-capabilities/routes.js +37 -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/avatar/materials.d.ts.map +1 -1
- package/data/build/dist/host/avatar/materials.js +3 -1
- package/data/build/dist/host/avatar/materials.js.map +1 -1
- package/data/build/dist/host/cli-adapters/acp-cli-driver.d.ts +13 -0
- 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 +136 -11
- package/data/build/dist/host/cli-adapters/acp-cli-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/claude-driver.js +1 -1
- package/data/build/dist/host/cli-adapters/claude-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/codebuddy-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/codebuddy-driver.js +65 -31
- package/data/build/dist/host/cli-adapters/codebuddy-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/codex-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/codex-driver.js +29 -9
- package/data/build/dist/host/cli-adapters/codex-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/command-code-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/command-code-driver.js +136 -16
- package/data/build/dist/host/cli-adapters/command-code-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/delegate-dispatch.d.ts +4 -3
- package/data/build/dist/host/cli-adapters/delegate-dispatch.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/delegate-dispatch.js +7 -6
- package/data/build/dist/host/cli-adapters/delegate-dispatch.js.map +1 -1
- package/data/build/dist/host/cli-adapters/doubao-app.d.ts +32 -11
- package/data/build/dist/host/cli-adapters/doubao-app.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/doubao-app.js +195 -24
- package/data/build/dist/host/cli-adapters/doubao-app.js.map +1 -1
- package/data/build/dist/host/cli-adapters/doubao-driver.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/doubao-driver.js +3 -1
- package/data/build/dist/host/cli-adapters/doubao-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/dsh-config.d.ts +16 -0
- package/data/build/dist/host/cli-adapters/dsh-config.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/dsh-config.js +153 -0
- package/data/build/dist/host/cli-adapters/dsh-config.js.map +1 -0
- package/data/build/dist/host/cli-adapters/dsh-tool-history.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/dsh-tool-history.js +23 -3
- package/data/build/dist/host/cli-adapters/dsh-tool-history.js.map +1 -1
- package/data/build/dist/host/cli-adapters/feature.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/feature.js +71 -28
- package/data/build/dist/host/cli-adapters/feature.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 +22 -0
- 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 +24 -2
- 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 +113 -4
- 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 +63 -18
- 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 +35 -1
- package/data/build/dist/host/cli-adapters/native-team-subagent.js.map +1 -1
- package/data/build/dist/host/cli-adapters/new-api-subscription.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/new-api-subscription.js +2 -45
- package/data/build/dist/host/cli-adapters/new-api-subscription.js.map +1 -1
- package/data/build/dist/host/cli-adapters/opencode-driver.d.ts +6 -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 +10 -3
- package/data/build/dist/host/cli-adapters/opencode-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/opencode-v2-protocol.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js +317 -62
- 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 +134 -14
- package/data/build/dist/host/cli-adapters/pi-driver.js.map +1 -1
- package/data/build/dist/host/cli-adapters/provider-subscription.d.ts +3 -0
- package/data/build/dist/host/cli-adapters/provider-subscription.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/provider-subscription.js +13 -45
- package/data/build/dist/host/cli-adapters/provider-subscription.js.map +1 -1
- package/data/build/dist/host/cli-adapters/r4-subscription.d.ts +13 -0
- package/data/build/dist/host/cli-adapters/r4-subscription.d.ts.map +1 -0
- package/data/build/dist/host/cli-adapters/r4-subscription.js +111 -0
- package/data/build/dist/host/cli-adapters/r4-subscription.js.map +1 -0
- package/data/build/dist/host/cli-adapters/registry.d.ts +2 -0
- package/data/build/dist/host/cli-adapters/registry.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/registry.js +14 -3
- package/data/build/dist/host/cli-adapters/registry.js.map +1 -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 +7 -0
- package/data/build/dist/host/cli-adapters/stream-normalizer.js.map +1 -1
- package/data/build/dist/host/cli-adapters/subagent-tool.d.ts.map +1 -1
- package/data/build/dist/host/cli-adapters/subagent-tool.js +28 -7
- package/data/build/dist/host/cli-adapters/subagent-tool.js.map +1 -1
- package/data/build/dist/host/cli-bridge/bridge-server.d.ts +1 -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.map +1 -1
- package/data/build/dist/host/cli-bridge/command-code-mod.d.ts +24 -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 +121 -23
- package/data/build/dist/host/cli-bridge/command-code-mod.js.map +1 -1
- package/data/build/dist/host/cli-bridge/dispatch.d.ts.map +1 -1
- package/data/build/dist/host/cli-bridge/dispatch.js +26 -6
- package/data/build/dist/host/cli-bridge/dispatch.js.map +1 -1
- package/data/build/dist/host/cli-bridge/injections.d.ts +45 -4
- package/data/build/dist/host/cli-bridge/injections.d.ts.map +1 -1
- package/data/build/dist/host/cli-bridge/injections.js +129 -14
- package/data/build/dist/host/cli-bridge/injections.js.map +1 -1
- package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js +20 -5
- package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js.map +1 -1
- package/data/build/dist/host/desktop-assistant/controller.d.ts +25 -2
- package/data/build/dist/host/desktop-assistant/controller.d.ts.map +1 -1
- package/data/build/dist/host/desktop-assistant/controller.js +170 -7
- package/data/build/dist/host/desktop-assistant/controller.js.map +1 -1
- package/data/build/dist/host/desktop-assistant/feature.d.ts.map +1 -1
- package/data/build/dist/host/desktop-assistant/feature.js +41 -4
- package/data/build/dist/host/desktop-assistant/feature.js.map +1 -1
- package/data/build/dist/host/desktop-assistant/launcher.d.ts.map +1 -1
- package/data/build/dist/host/desktop-assistant/launcher.js +3 -1
- package/data/build/dist/host/desktop-assistant/launcher.js.map +1 -1
- package/data/build/dist/host/desktop-assistant/mac-agent.d.ts.map +1 -1
- package/data/build/dist/host/desktop-assistant/mac-agent.js +41 -10
- package/data/build/dist/host/desktop-assistant/mac-agent.js.map +1 -1
- package/data/build/dist/host/desktop-assistant/notifications.d.ts +16 -0
- package/data/build/dist/host/desktop-assistant/notifications.d.ts.map +1 -0
- package/data/build/dist/host/desktop-assistant/notifications.js +45 -0
- package/data/build/dist/host/desktop-assistant/notifications.js.map +1 -0
- package/data/build/dist/host/desktop-assistant/win-agent.d.ts.map +1 -1
- package/data/build/dist/host/desktop-assistant/win-agent.js +95 -8
- package/data/build/dist/host/desktop-assistant/win-agent.js.map +1 -1
- package/data/build/dist/host/features/assistant-lifecycle-settings.js +1 -1
- package/data/build/dist/host/features/assistant-lifecycle-settings.js.map +1 -1
- package/data/build/dist/host/features/assistant-notification-events.d.ts +77 -0
- package/data/build/dist/host/features/assistant-notification-events.d.ts.map +1 -0
- package/data/build/dist/host/features/assistant-notification-events.js +574 -0
- package/data/build/dist/host/features/assistant-notification-events.js.map +1 -0
- package/data/build/dist/host/features/assistant-notification-source.d.ts +32 -0
- package/data/build/dist/host/features/assistant-notification-source.d.ts.map +1 -0
- package/data/build/dist/host/features/assistant-notification-source.js +101 -0
- package/data/build/dist/host/features/assistant-notification-source.js.map +1 -0
- package/data/build/dist/host/features/assistant-notification-stream.d.ts +26 -0
- package/data/build/dist/host/features/assistant-notification-stream.d.ts.map +1 -0
- package/data/build/dist/host/features/assistant-notification-stream.js +179 -0
- package/data/build/dist/host/features/assistant-notification-stream.js.map +1 -0
- package/data/build/dist/host/features/assistant-notifications.d.ts +71 -0
- package/data/build/dist/host/features/assistant-notifications.d.ts.map +1 -0
- package/data/build/dist/host/features/assistant-notifications.js +342 -0
- package/data/build/dist/host/features/assistant-notifications.js.map +1 -0
- package/data/build/dist/host/features/assistant-peer-notifications.d.ts +53 -0
- package/data/build/dist/host/features/assistant-peer-notifications.d.ts.map +1 -0
- package/data/build/dist/host/features/assistant-peer-notifications.js +197 -0
- package/data/build/dist/host/features/assistant-peer-notifications.js.map +1 -0
- package/data/build/dist/host/features/assistant-tts-service.d.ts.map +1 -1
- package/data/build/dist/host/features/assistant-tts-service.js +2 -2
- package/data/build/dist/host/features/assistant-tts-service.js.map +1 -1
- package/data/build/dist/host/features/assistant-voice-initialization.js +1 -1
- package/data/build/dist/host/features/assistant-voice-initialization.js.map +1 -1
- package/data/build/dist/host/features/git-management.js +2 -1
- 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 +90 -2
- package/data/build/dist/host/features/global-voice-rpc.js.map +1 -1
- package/data/build/dist/host/features/index.d.ts +1 -0
- package/data/build/dist/host/features/index.d.ts.map +1 -1
- package/data/build/dist/host/features/index.js +3 -0
- package/data/build/dist/host/features/index.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 +159 -70
- package/data/build/dist/host/features/peer-host.js.map +1 -1
- package/data/build/dist/host/features/session-title-optimization.d.ts +5 -0
- package/data/build/dist/host/features/session-title-optimization.d.ts.map +1 -0
- package/data/build/dist/host/features/session-title-optimization.js +26 -0
- package/data/build/dist/host/features/session-title-optimization.js.map +1 -0
- package/data/build/dist/host/features/types.d.ts +6 -0
- package/data/build/dist/host/features/types.d.ts.map +1 -1
- package/data/build/dist/host/index.d.ts.map +1 -1
- package/data/build/dist/host/index.js +23 -1
- package/data/build/dist/host/index.js.map +1 -1
- package/data/build/dist/host/lan-access-dsh.d.ts.map +1 -1
- package/data/build/dist/host/lan-access-dsh.js +9 -1
- package/data/build/dist/host/lan-access-dsh.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/aggregated-host-transport.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/aggregated-host-transport.js +8 -2
- package/data/build/dist/host/modules/peer-host/aggregated-host-transport.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/host-api-proxy-service.d.ts +5 -1
- package/data/build/dist/host/modules/peer-host/host-api-proxy-service.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/host-api-proxy-service.js +72 -23
- package/data/build/dist/host/modules/peer-host/host-api-proxy-service.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/host-ws-proxy-service.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/host-ws-proxy-service.js +7 -5
- package/data/build/dist/host/modules/peer-host/host-ws-proxy-service.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.d.ts +6 -1
- package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.js +7 -0
- package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-handshake.d.ts +2 -1
- package/data/build/dist/host/modules/peer-host/peer-host-handshake.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-handshake.js +11 -10
- package/data/build/dist/host/modules/peer-host/peer-host-handshake.js.map +1 -1
- 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 +43 -0
- 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-protocol.d.ts +6 -3
- package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.js +92 -5
- package/data/build/dist/host/modules/peer-host/peer-host-native-protocol.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-native-streams.d.ts +15 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-streams.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-streams.js +101 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-streams.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-native-transport.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-native-transport.js +44 -11
- package/data/build/dist/host/modules/peer-host/peer-host-native-transport.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-remote-summary-source.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-remote-summary-source.js +75 -20
- package/data/build/dist/host/modules/peer-host/peer-host-remote-summary-source.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-request-errors.d.ts +31 -0
- package/data/build/dist/host/modules/peer-host/peer-host-request-errors.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-request-errors.js +60 -0
- package/data/build/dist/host/modules/peer-host/peer-host-request-errors.js.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-session.d.ts +12 -4
- package/data/build/dist/host/modules/peer-host/peer-host-session.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-session.js +28 -18
- package/data/build/dist/host/modules/peer-host/peer-host-session.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.d.ts +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.d.ts.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.js +15 -4
- package/data/build/dist/host/modules/peer-host/peer-host-virtual-registry.js.map +1 -1
- package/data/build/dist/host/modules/peer-host/peer-host-workspace-cache.d.ts +22 -0
- package/data/build/dist/host/modules/peer-host/peer-host-workspace-cache.d.ts.map +1 -0
- package/data/build/dist/host/modules/peer-host/peer-host-workspace-cache.js +133 -0
- package/data/build/dist/host/modules/peer-host/peer-host-workspace-cache.js.map +1 -0
- package/data/build/dist/host/native-session-bridge.d.ts +2 -0
- package/data/build/dist/host/native-session-bridge.d.ts.map +1 -1
- package/data/build/dist/host/native-session-bridge.js +67 -0
- 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 +11 -2
- package/data/build/dist/host/rpc.js.map +1 -1
- package/data/build/dist/host/settings.d.ts.map +1 -1
- package/data/build/dist/host/settings.js +14 -3
- package/data/build/dist/host/settings.js.map +1 -1
- package/data/build/dist/host/terminal/controller-factory.d.ts +1 -0
- package/data/build/dist/host/terminal/controller-factory.d.ts.map +1 -1
- package/data/build/dist/host/terminal/controller-factory.js +3 -0
- package/data/build/dist/host/terminal/controller-factory.js.map +1 -1
- package/data/build/dist/host/terminal/startup.d.ts +3 -0
- package/data/build/dist/host/terminal/startup.d.ts.map +1 -1
- package/data/build/dist/host/terminal/startup.js +1 -0
- package/data/build/dist/host/terminal/startup.js.map +1 -1
- package/data/build/dist/host/terminal/terminal-controller.d.ts +8 -0
- package/data/build/dist/host/terminal/terminal-controller.d.ts.map +1 -1
- package/data/build/dist/host/terminal/terminal-controller.js +2 -1
- package/data/build/dist/host/terminal/terminal-controller.js.map +1 -1
- package/data/build/dist/shared/assistant-avatar-adapters.d.ts.map +1 -1
- package/data/build/dist/shared/assistant-avatar-adapters.js +3 -0
- package/data/build/dist/shared/assistant-avatar-adapters.js.map +1 -1
- package/data/build/dist/shared/assistant-avatar.d.ts +11 -1
- package/data/build/dist/shared/assistant-avatar.d.ts.map +1 -1
- package/data/build/dist/shared/assistant-avatar.js +31 -1
- package/data/build/dist/shared/assistant-avatar.js.map +1 -1
- package/data/build/dist/shared/assistant-notification-feed.d.ts +44 -0
- package/data/build/dist/shared/assistant-notification-feed.d.ts.map +1 -0
- package/data/build/dist/shared/assistant-notification-feed.js +88 -0
- package/data/build/dist/shared/assistant-notification-feed.js.map +1 -0
- package/data/build/dist/shared/assistant-notifications.d.ts +107 -0
- package/data/build/dist/shared/assistant-notifications.d.ts.map +1 -0
- package/data/build/dist/shared/assistant-notifications.js +24 -0
- package/data/build/dist/shared/assistant-notifications.js.map +1 -0
- package/data/build/dist/shared/assistant-tts.js +1 -1
- package/data/build/dist/shared/contracts/cli-adapter.d.ts +5 -1
- package/data/build/dist/shared/contracts/cli-adapter.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/config.d.ts +5 -0
- 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/peer-host.d.ts +15 -0
- package/data/build/dist/shared/contracts/peer-host.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/peer-host.js.map +1 -1
- package/data/build/dist/shared/contracts/subscription.d.ts +31 -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 +12 -8
- package/data/build/dist/shared/contracts/version.d.ts.map +1 -1
- package/data/build/dist/shared/contracts/version.js +11 -7
- package/data/build/dist/shared/contracts/version.js.map +1 -1
- package/data/build/dist/shared/desktop-assistant.d.ts +73 -1
- package/data/build/dist/shared/desktop-assistant.d.ts.map +1 -1
- package/data/build/dist/shared/desktop-assistant.js +189 -2
- package/data/build/dist/shared/desktop-assistant.js.map +1 -1
- package/data/build/dist/shared/index.d.ts +2 -2
- package/data/build/dist/shared/index.d.ts.map +1 -1
- package/data/build/dist/shared/index.js.map +1 -1
- package/data/build/dist/shared/peer-host-file-location.d.ts +11 -0
- package/data/build/dist/shared/peer-host-file-location.d.ts.map +1 -0
- package/data/build/dist/shared/peer-host-file-location.js +20 -0
- package/data/build/dist/shared/peer-host-file-location.js.map +1 -0
- package/data/build/dist/shared/peer-host-http-routes.d.ts +10 -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 +7 -1
- 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/session-reference.d.ts +11 -0
- package/data/build/dist/shared/session-reference.d.ts.map +1 -0
- package/data/build/dist/shared/session-reference.js +29 -0
- package/data/build/dist/shared/session-reference.js.map +1 -0
- package/data/build/dist/shared/session-title.d.ts +12 -0
- package/data/build/dist/shared/session-title.d.ts.map +1 -0
- package/data/build/dist/shared/session-title.js +65 -0
- package/data/build/dist/shared/session-title.js.map +1 -0
- package/data/build/dist/shared/voice-initialization.d.ts +1 -1
- package/data/build/dist/shared/voice-initialization.d.ts.map +1 -1
- package/data/build/dist/shared/voice-initialization.js +1 -1
- package/data/build/dist/shared/voice-initialization.js.map +1 -1
- package/data/build/dist/shared/voice-models.d.ts +2 -2
- package/data/build/dist/shared/voice-models.d.ts.map +1 -1
- package/data/build/dist/shared/voice-models.js +9 -9
- package/data/build/dist/shared/voice-models.js.map +1 -1
- package/data/build/dist/typert.host.d.ts +18 -1
- package/data/build/dist/typert.host.d.ts.map +1 -1
- package/data/build/dist/typert.host.js +28 -3
- package/data/build/dist/typert.host.js.map +1 -1
- package/data/build/dist/typert.notifications-client.d.ts +5 -0
- package/data/build/dist/typert.notifications-client.d.ts.map +1 -0
- package/data/build/dist/typert.notifications-client.js +7 -0
- package/data/build/dist/typert.notifications-client.js.map +1 -0
- package/data/build/dist/typert.remote-client.js +1 -1
- package/data/build/dist/typert.remote-client.js.map +1 -1
- package/package.json +32 -26
- 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.assistant-prompts.js.map +0 -1
|
@@ -216,6 +216,12 @@ window.__ModuleLoader__.load({
|
|
|
216
216
|
}
|
|
217
217
|
//#endregion
|
|
218
218
|
//#region src/shared/assistant-avatar.ts
|
|
219
|
+
const ASSISTANT_AVATAR_REACTIONS = [
|
|
220
|
+
"success",
|
|
221
|
+
"concerned",
|
|
222
|
+
"question",
|
|
223
|
+
"approval"
|
|
224
|
+
];
|
|
219
225
|
const ASSISTANT_AVATAR_STATES = [
|
|
220
226
|
"idle",
|
|
221
227
|
"listening",
|
|
@@ -363,9 +369,14 @@ window.__ModuleLoader__.load({
|
|
|
363
369
|
...model.surfaces === void 0 ? {} : { surfaces: model.surfaces }
|
|
364
370
|
};
|
|
365
371
|
}
|
|
366
|
-
function assistantAvatarImageSource(model, state) {
|
|
372
|
+
function assistantAvatarImageSource(model, state, reaction) {
|
|
373
|
+
if (reaction !== void 0 && !assistantAvatarVoicePriority(state) && model.reactionSources?.[reaction] !== void 0) return model.reactionSources[reaction];
|
|
367
374
|
return model.stateSources?.[state] ?? model.source;
|
|
368
375
|
}
|
|
376
|
+
/** 单动作通道不能抢占监听、思考或说话;角标仍可同时展示。 */
|
|
377
|
+
function assistantAvatarVoicePriority(state) {
|
|
378
|
+
return state === "listening" || state === "thinking" || state === "speaking";
|
|
379
|
+
}
|
|
369
380
|
function resolveAssistantAvatarState(state, pending = false) {
|
|
370
381
|
if (state === "error") return "error";
|
|
371
382
|
if (state === "speaking") return "speaking";
|
|
@@ -374,6 +385,10 @@ window.__ModuleLoader__.load({
|
|
|
374
385
|
if (state === "waiting") return "waiting";
|
|
375
386
|
return "idle";
|
|
376
387
|
}
|
|
388
|
+
function assistantSpriteReactionMotion(model, state, reaction) {
|
|
389
|
+
const motion = reaction === void 0 || assistantAvatarVoicePriority(state) ? void 0 : model.reactionMotionGroups?.[reaction];
|
|
390
|
+
return typeof motion === "object" ? motion : assistantSpriteMotion(state);
|
|
391
|
+
}
|
|
377
392
|
/** 帧布局来自 Signalight/codex-to-dsh-pet;单帧 192×208,8 列。 */
|
|
378
393
|
function assistantSpriteMotion(state) {
|
|
379
394
|
if (state === "error") return {
|
|
@@ -413,11 +428,24 @@ window.__ModuleLoader__.load({
|
|
|
413
428
|
return typeof model.id === "string" && /^[A-Za-z][A-Za-z0-9_-]{0,79}$/u.test(model.id) && typeof model.name === "string" && model.name.trim().length > 0 && model.name.length <= 80 && validAsset(model) && validPackage(model.package) && validSurfaces(model.surfaces);
|
|
414
429
|
}
|
|
415
430
|
function validAsset(asset) {
|
|
416
|
-
return typeof asset.renderer === "string" && validId(asset.renderer) && asset.renderer !== "builtin" && typeof asset.source === "string" && isAssistantAvatarSource(asset.source) && (asset.spriteVersion === 1 || asset.spriteVersion === 2) && validStateMap(asset.stateSources, (source) => asset.renderer === "image" && isAssistantAvatarSource(source)) && validStateMap(asset.motionGroups, (group) => asset.renderer === "live2d" && group.trim().length > 0 && group.length <= 120) && validLive2dOptions(asset.live2d, asset.renderer);
|
|
431
|
+
return typeof asset.renderer === "string" && validId(asset.renderer) && asset.renderer !== "builtin" && typeof asset.source === "string" && isAssistantAvatarSource(asset.source) && (asset.spriteVersion === 1 || asset.spriteVersion === 2) && validStateMap(asset.stateSources, (source) => asset.renderer === "image" && isAssistantAvatarSource(source)) && validStateMap(asset.motionGroups, (group) => asset.renderer === "live2d" && group.trim().length > 0 && group.length <= 120) && validReactionMap(asset.reactionSources, (source) => asset.renderer === "image" && typeof source === "string" && isAssistantAvatarSource(source)) && validReactionMap(asset.reactionMotionGroups, (motion) => asset.renderer === "live2d" ? validMotionName(motion) : asset.renderer === "spritesheet" && validSpriteReaction(motion, asset.spriteVersion)) && validReactionMap(asset.reactionExpressions, (expression) => asset.renderer === "live2d" && validMotionName(expression)) && validLive2dOptions(asset.live2d, asset.renderer);
|
|
417
432
|
}
|
|
418
433
|
function validStateMap(value, valid) {
|
|
419
434
|
return value === void 0 || isRecord(value) && Object.entries(value).every(([state, item]) => ASSISTANT_AVATAR_STATES.includes(state) && typeof item === "string" && valid(item));
|
|
420
435
|
}
|
|
436
|
+
function validReactionMap(value, valid) {
|
|
437
|
+
return value === void 0 || isRecord(value) && Object.entries(value).every(([reaction, item]) => ASSISTANT_AVATAR_REACTIONS.includes(reaction) && valid(item));
|
|
438
|
+
}
|
|
439
|
+
function validMotionName(value) {
|
|
440
|
+
return typeof value === "string" && value.trim().length > 0 && value.length <= 120 && !/[\u0000-\u001f]/u.test(value);
|
|
441
|
+
}
|
|
442
|
+
function validSpriteReaction(value, version) {
|
|
443
|
+
return isRecord(value) && Object.keys(value).every((key) => [
|
|
444
|
+
"row",
|
|
445
|
+
"frames",
|
|
446
|
+
"interval"
|
|
447
|
+
].includes(key)) && Number.isInteger(value.row) && Number(value.row) >= 0 && Number(value.row) < (version === 2 ? 11 : 9) && Number.isInteger(value.frames) && Number(value.frames) >= 1 && Number(value.frames) <= 8 && Number.isInteger(value.interval) && Number(value.interval) >= 16 && Number(value.interval) <= 1e4;
|
|
448
|
+
}
|
|
421
449
|
function validPackage(value) {
|
|
422
450
|
if (value === void 0) return true;
|
|
423
451
|
if (!isRecord(value) || typeof value.adapterId !== "string" || !validId(value.adapterId)) return false;
|
|
@@ -449,6 +477,9 @@ window.__ModuleLoader__.load({
|
|
|
449
477
|
spriteVersion: asset.spriteVersion,
|
|
450
478
|
...asset.stateSources === void 0 ? {} : { stateSources: { ...asset.stateSources } },
|
|
451
479
|
...asset.motionGroups === void 0 ? {} : { motionGroups: { ...asset.motionGroups } },
|
|
480
|
+
...asset.reactionSources === void 0 ? {} : { reactionSources: { ...asset.reactionSources } },
|
|
481
|
+
...asset.reactionMotionGroups === void 0 ? {} : { reactionMotionGroups: Object.fromEntries(Object.entries(asset.reactionMotionGroups).map(([key, value]) => [key, typeof value === "string" ? value : { ...value }])) },
|
|
482
|
+
...asset.reactionExpressions === void 0 ? {} : { reactionExpressions: { ...asset.reactionExpressions } },
|
|
452
483
|
...asset.live2d === void 0 ? {} : { live2d: {
|
|
453
484
|
...asset.live2d,
|
|
454
485
|
...asset.live2d.position === void 0 ? {} : { position: [...asset.live2d.position] }
|
|
@@ -492,6 +523,9 @@ window.__ModuleLoader__.load({
|
|
|
492
523
|
spriteVersion: input.spriteVersion ?? 2,
|
|
493
524
|
...input.stateSources === void 0 ? {} : { stateSources: Object.fromEntries(Object.entries(record(input.stateSources)).map(([state, source]) => [state, resolveAssistantAvatarSource(source, url)])) },
|
|
494
525
|
...input.motionGroups === void 0 ? {} : { motionGroups: record(input.motionGroups) },
|
|
526
|
+
...input.reactionSources === void 0 ? {} : { reactionSources: Object.fromEntries(Object.entries(record(input.reactionSources)).map(([reaction, source]) => [reaction, resolveAssistantAvatarSource(source, url)])) },
|
|
527
|
+
...input.reactionMotionGroups === void 0 ? {} : { reactionMotionGroups: record(input.reactionMotionGroups) },
|
|
528
|
+
...input.reactionExpressions === void 0 ? {} : { reactionExpressions: record(input.reactionExpressions) },
|
|
495
529
|
...input.live2d === void 0 ? {} : { live2d: record(input.live2d) }
|
|
496
530
|
};
|
|
497
531
|
}
|
|
@@ -673,7 +707,7 @@ window.__ModuleLoader__.load({
|
|
|
673
707
|
}
|
|
674
708
|
const DEFAULT_ASSISTANT_TTS_SETTINGS = {
|
|
675
709
|
backend: "browser",
|
|
676
|
-
selectedId: "moss:
|
|
710
|
+
selectedId: "moss:Yuewen",
|
|
677
711
|
voices: [],
|
|
678
712
|
parameters: DEFAULT_ASSISTANT_TTS_PARAMETERS
|
|
679
713
|
};
|
|
@@ -897,8 +931,8 @@ window.__ModuleLoader__.load({
|
|
|
897
931
|
//#endregion
|
|
898
932
|
//#region src/client/avatar/image.ts
|
|
899
933
|
/** 图片差分也消费相同的状态接口;某张差分缺失时先回落该角色默认图片。 */
|
|
900
|
-
function ImageAssistantAvatar({ model, state, size, onError, onLoadProgress }) {
|
|
901
|
-
const requested = assistantAvatarImageSource(model, state);
|
|
934
|
+
function ImageAssistantAvatar({ model, state, reaction, size, onError, onLoadProgress }) {
|
|
935
|
+
const requested = assistantAvatarImageSource(model, state, reaction);
|
|
902
936
|
const [failed, setFailed] = (0, react.useState)("");
|
|
903
937
|
const image = (0, react.useRef)(null);
|
|
904
938
|
(0, react.useEffect)(() => setFailed(""), [requested]);
|
|
@@ -940,12 +974,47 @@ window.__ModuleLoader__.load({
|
|
|
940
974
|
});
|
|
941
975
|
}
|
|
942
976
|
//#endregion
|
|
977
|
+
//#region src/client/avatar/reaction-badge.ts
|
|
978
|
+
/** 角标独立于模型能力,旧包与缺失表情接口仍可提供文字反馈。 */
|
|
979
|
+
function AssistantAvatarReactionBadge({ reaction }) {
|
|
980
|
+
const t = require_transport.resolveCodingNsTranslator();
|
|
981
|
+
const labels = {
|
|
982
|
+
success: t("awb.notifications.completed"),
|
|
983
|
+
concerned: t("awb.notifications.error"),
|
|
984
|
+
question: t("awb.notifications.question"),
|
|
985
|
+
approval: t("awb.notifications.approval")
|
|
986
|
+
};
|
|
987
|
+
return (0, react.createElement)("span", {
|
|
988
|
+
role: "status",
|
|
989
|
+
"aria-label": labels[reaction],
|
|
990
|
+
title: labels[reaction],
|
|
991
|
+
"data-codingns-avatar-reaction": reaction,
|
|
992
|
+
style: {
|
|
993
|
+
position: "absolute",
|
|
994
|
+
right: 0,
|
|
995
|
+
top: 0,
|
|
996
|
+
padding: "2px 7px",
|
|
997
|
+
borderRadius: 12,
|
|
998
|
+
background: "#fff",
|
|
999
|
+
color: "#242424",
|
|
1000
|
+
border: "1px solid #b8c3d3",
|
|
1001
|
+
pointerEvents: "none"
|
|
1002
|
+
}
|
|
1003
|
+
}, {
|
|
1004
|
+
success: "✓",
|
|
1005
|
+
concerned: "!",
|
|
1006
|
+
question: "?",
|
|
1007
|
+
approval: "…"
|
|
1008
|
+
}[reaction]);
|
|
1009
|
+
}
|
|
1010
|
+
//#endregion
|
|
943
1011
|
//#region src/client/avatar/spritesheet.ts
|
|
944
1012
|
/** 可测试的时钟:只推进当前动作实际拥有的帧,暂停后不追赶后台时间。 */
|
|
945
1013
|
var AssistantSpriteClock = class {
|
|
946
1014
|
state;
|
|
947
1015
|
frame = 0;
|
|
948
1016
|
last;
|
|
1017
|
+
motion;
|
|
949
1018
|
constructor(state) {
|
|
950
1019
|
this.state = state;
|
|
951
1020
|
}
|
|
@@ -956,11 +1025,17 @@ window.__ModuleLoader__.load({
|
|
|
956
1025
|
this.last = void 0;
|
|
957
1026
|
}
|
|
958
1027
|
}
|
|
1028
|
+
setMotion(motion) {
|
|
1029
|
+
if (this.motion?.row === motion.row && this.motion.frames === motion.frames && this.motion.interval === motion.interval) return;
|
|
1030
|
+
this.motion = motion;
|
|
1031
|
+
this.frame = 0;
|
|
1032
|
+
this.last = void 0;
|
|
1033
|
+
}
|
|
959
1034
|
reset() {
|
|
960
1035
|
this.last = void 0;
|
|
961
1036
|
}
|
|
962
1037
|
tick(now) {
|
|
963
|
-
const motion = assistantSpriteMotion(this.state);
|
|
1038
|
+
const motion = this.motion ?? assistantSpriteMotion(this.state);
|
|
964
1039
|
if (this.last === void 0) this.last = now;
|
|
965
1040
|
const steps = Math.floor(Math.max(0, now - this.last) / motion.interval);
|
|
966
1041
|
this.frame = (this.frame + steps) % motion.frames;
|
|
@@ -972,13 +1047,19 @@ window.__ModuleLoader__.load({
|
|
|
972
1047
|
}
|
|
973
1048
|
};
|
|
974
1049
|
/** 参考 Signalight 的纯 DOM 图集渲染,不引入 Pixi 或上游会话逻辑。 */
|
|
975
|
-
function SpriteSheetAssistantAvatar({ model, state, size, onError, onLoadProgress }) {
|
|
1050
|
+
function SpriteSheetAssistantAvatar({ model, state, reaction, size, onError, onLoadProgress }) {
|
|
976
1051
|
const element = (0, react.useRef)(null);
|
|
977
|
-
const
|
|
978
|
-
|
|
1052
|
+
const motion = assistantSpriteReactionMotion(model, state, reaction);
|
|
1053
|
+
const motionRef = (0, react.useRef)(motion);
|
|
1054
|
+
motionRef.current = motion;
|
|
979
1055
|
(0, react.useEffect)(() => {
|
|
980
|
-
if (element.current !== null) element.current.style.backgroundPosition = `0% ${
|
|
981
|
-
}, [
|
|
1056
|
+
if (element.current !== null) element.current.style.backgroundPosition = `0% ${motion.row * 100 / (model.spriteVersion === 2 ? 10 : 8)}%`;
|
|
1057
|
+
}, [
|
|
1058
|
+
motion.row,
|
|
1059
|
+
motion.frames,
|
|
1060
|
+
motion.interval,
|
|
1061
|
+
model.spriteVersion
|
|
1062
|
+
]);
|
|
982
1063
|
(0, react.useEffect)(() => {
|
|
983
1064
|
const target = element.current;
|
|
984
1065
|
if (target === null) return void 0;
|
|
@@ -986,11 +1067,11 @@ window.__ModuleLoader__.load({
|
|
|
986
1067
|
const image = new Image();
|
|
987
1068
|
let disposed = false;
|
|
988
1069
|
let frameId = 0;
|
|
989
|
-
const clock = new AssistantSpriteClock(
|
|
1070
|
+
const clock = new AssistantSpriteClock("idle");
|
|
990
1071
|
const media = window.matchMedia?.("(prefers-reduced-motion: reduce)");
|
|
991
1072
|
const rows = model.spriteVersion === 2 ? 11 : 9;
|
|
992
1073
|
const paint = (now) => {
|
|
993
|
-
clock.
|
|
1074
|
+
clock.setMotion(motionRef.current);
|
|
994
1075
|
const frame = clock.tick(now);
|
|
995
1076
|
target.style.backgroundPosition = `${frame.frame * 100 / 7}% ${frame.row * 100 / (rows - 1)}%`;
|
|
996
1077
|
};
|
|
@@ -1688,18 +1769,23 @@ window.__ModuleLoader__.load({
|
|
|
1688
1769
|
motionGroups;
|
|
1689
1770
|
options;
|
|
1690
1771
|
timeoutMs;
|
|
1772
|
+
reactions;
|
|
1691
1773
|
disposed = false;
|
|
1692
1774
|
state = "idle";
|
|
1775
|
+
reaction;
|
|
1776
|
+
appliedExpression;
|
|
1777
|
+
appliedMotion;
|
|
1693
1778
|
loaded = false;
|
|
1694
1779
|
loadConfirmed = false;
|
|
1695
1780
|
cancelLoad;
|
|
1696
1781
|
refreshDeadline;
|
|
1697
1782
|
report;
|
|
1698
|
-
constructor(runtime, motionGroups, options, report, timeoutMs = 45e3) {
|
|
1783
|
+
constructor(runtime, motionGroups, options, report, timeoutMs = 45e3, reactions) {
|
|
1699
1784
|
this.runtime = runtime;
|
|
1700
1785
|
this.motionGroups = motionGroups;
|
|
1701
1786
|
this.options = options;
|
|
1702
1787
|
this.timeoutMs = timeoutMs;
|
|
1788
|
+
this.reactions = reactions;
|
|
1703
1789
|
this.report = report;
|
|
1704
1790
|
runtime.on?.("loadstart", (total) => {
|
|
1705
1791
|
if (this.disposed) return;
|
|
@@ -1767,11 +1853,37 @@ window.__ModuleLoader__.load({
|
|
|
1767
1853
|
if (this.disposed) return;
|
|
1768
1854
|
this.state = state;
|
|
1769
1855
|
if (!this.loaded) return;
|
|
1856
|
+
this.apply();
|
|
1857
|
+
}
|
|
1858
|
+
setReaction(reaction) {
|
|
1859
|
+
if (this.disposed || this.reaction === reaction) return;
|
|
1860
|
+
this.reaction = reaction;
|
|
1861
|
+
if (this.loaded) this.apply();
|
|
1862
|
+
}
|
|
1863
|
+
apply() {
|
|
1864
|
+
const state = this.state;
|
|
1770
1865
|
const groups = Object.keys(this.runtime.getMotions());
|
|
1771
1866
|
const desired = state === "speaking" ? /talk|speak/iu : state === "thinking" ? /think|work/iu : state === "error" ? /fail|error|sad/iu : state === "listening" || state === "waiting" ? /listen|wait/iu : /idle/iu;
|
|
1772
1867
|
const configured = this.motionGroups?.[state];
|
|
1773
|
-
const
|
|
1774
|
-
|
|
1868
|
+
const reactionMotion = this.reaction === void 0 || assistantAvatarVoicePriority(state) ? void 0 : this.reactions?.reactionMotionGroups?.[this.reaction];
|
|
1869
|
+
const group = typeof reactionMotion === "string" && groups.includes(reactionMotion) ? reactionMotion : configured !== void 0 && groups.includes(configured) ? configured : groups.find((name) => desired.test(name)) ?? groups.find((name) => /idle/iu.test(name));
|
|
1870
|
+
if (group !== void 0 && group !== this.appliedMotion) {
|
|
1871
|
+
this.runtime.playMotion(group, void 0, 2);
|
|
1872
|
+
this.appliedMotion = group;
|
|
1873
|
+
}
|
|
1874
|
+
this.applyExpression();
|
|
1875
|
+
}
|
|
1876
|
+
applyExpression() {
|
|
1877
|
+
const runtime = this.runtime;
|
|
1878
|
+
if (typeof runtime.getExpressions !== "function" || typeof runtime.setExpression !== "function" || typeof runtime.clearExpression !== "function") return;
|
|
1879
|
+
try {
|
|
1880
|
+
const requested = this.reaction === void 0 || assistantAvatarVoicePriority(this.state) ? void 0 : this.reactions?.reactionExpressions?.[this.reaction];
|
|
1881
|
+
const next = requested !== void 0 && runtime.getExpressions().includes(requested) ? requested : void 0;
|
|
1882
|
+
if (next === this.appliedExpression) return;
|
|
1883
|
+
if (next === void 0) runtime.clearExpression();
|
|
1884
|
+
else runtime.setExpression(next);
|
|
1885
|
+
this.appliedExpression = next;
|
|
1886
|
+
} catch {}
|
|
1775
1887
|
}
|
|
1776
1888
|
resize() {
|
|
1777
1889
|
if (!this.disposed && this.loaded) this.runtime.resize();
|
|
@@ -1780,6 +1892,9 @@ window.__ModuleLoader__.load({
|
|
|
1780
1892
|
if (this.disposed) return;
|
|
1781
1893
|
this.disposed = true;
|
|
1782
1894
|
this.report = void 0;
|
|
1895
|
+
if (this.appliedExpression !== void 0) try {
|
|
1896
|
+
this.runtime.clearExpression?.();
|
|
1897
|
+
} catch {}
|
|
1783
1898
|
this.cancelLoad?.();
|
|
1784
1899
|
this.runtime.destroy();
|
|
1785
1900
|
}
|
|
@@ -1815,16 +1930,25 @@ window.__ModuleLoader__.load({
|
|
|
1815
1930
|
canvas.remove();
|
|
1816
1931
|
}
|
|
1817
1932
|
}
|
|
1818
|
-
function Live2dAssistantAvatar({ model, state, size, onError, onLoadProgress, diagnostics = false, onPreview }) {
|
|
1819
|
-
const configKey = JSON.stringify([
|
|
1933
|
+
function Live2dAssistantAvatar({ model, state, reaction, size, onError, onLoadProgress, diagnostics = false, onPreview }) {
|
|
1934
|
+
const configKey = JSON.stringify([
|
|
1935
|
+
model.motionGroups,
|
|
1936
|
+
model.live2d,
|
|
1937
|
+
model.reactionMotionGroups,
|
|
1938
|
+
model.reactionExpressions
|
|
1939
|
+
]);
|
|
1820
1940
|
const config = (0, react.useMemo)(() => ({
|
|
1821
1941
|
motionGroups: model.motionGroups,
|
|
1822
|
-
options: model.live2d
|
|
1942
|
+
options: model.live2d,
|
|
1943
|
+
reactionMotionGroups: model.reactionMotionGroups,
|
|
1944
|
+
reactionExpressions: model.reactionExpressions
|
|
1823
1945
|
}), [configKey]);
|
|
1824
1946
|
const canvas = (0, react.useRef)(null);
|
|
1825
1947
|
const controller = (0, react.useRef)(void 0);
|
|
1826
1948
|
const currentState = (0, react.useRef)(state);
|
|
1827
1949
|
currentState.current = state;
|
|
1950
|
+
const currentReaction = (0, react.useRef)(reaction);
|
|
1951
|
+
currentReaction.current = reaction;
|
|
1828
1952
|
const [visible, setVisible] = (0, react.useState)(() => typeof document === "undefined" || !document.hidden);
|
|
1829
1953
|
(0, react.useEffect)(() => {
|
|
1830
1954
|
const refresh = () => setVisible(!document.hidden);
|
|
@@ -1865,9 +1989,13 @@ window.__ModuleLoader__.load({
|
|
|
1865
1989
|
});
|
|
1866
1990
|
const runtime = module.init(target);
|
|
1867
1991
|
if (runtime === null) throw new Error("avatar_webgl_unavailable");
|
|
1868
|
-
instance = new AssistantLive2dController(runtime, config.motionGroups, config.options, report
|
|
1992
|
+
instance = new AssistantLive2dController(runtime, config.motionGroups, config.options, report, 45e3, {
|
|
1993
|
+
...config.reactionMotionGroups === void 0 ? {} : { reactionMotionGroups: config.reactionMotionGroups },
|
|
1994
|
+
...config.reactionExpressions === void 0 ? {} : { reactionExpressions: config.reactionExpressions }
|
|
1995
|
+
});
|
|
1869
1996
|
controller.current = instance;
|
|
1870
1997
|
instance.setState(currentState.current);
|
|
1998
|
+
instance.setReaction(currentReaction.current);
|
|
1871
1999
|
if (!await instance.load(model.source) || disposed) return;
|
|
1872
2000
|
if (onPreview !== void 0) {
|
|
1873
2001
|
const preview = await captureAssistantAvatarPreview(runtime.getCanvas?.() ?? target, previewController.signal);
|
|
@@ -1907,6 +2035,9 @@ window.__ModuleLoader__.load({
|
|
|
1907
2035
|
(0, react.useEffect)(() => {
|
|
1908
2036
|
controller.current?.setState(state);
|
|
1909
2037
|
}, [state]);
|
|
2038
|
+
(0, react.useEffect)(() => {
|
|
2039
|
+
controller.current?.setReaction(reaction);
|
|
2040
|
+
}, [reaction]);
|
|
1910
2041
|
return (0, react.createElement)("canvas", {
|
|
1911
2042
|
ref: canvas,
|
|
1912
2043
|
width: Math.round(size * 2),
|
|
@@ -2082,7 +2213,7 @@ window.__ModuleLoader__.load({
|
|
|
2082
2213
|
position: "absolute",
|
|
2083
2214
|
bottom: 0,
|
|
2084
2215
|
maxWidth: "100%",
|
|
2085
|
-
fontSize: 10,
|
|
2216
|
+
fontSize: require_theme.uiFontSize(10),
|
|
2086
2217
|
lineHeight: 1.4,
|
|
2087
2218
|
color: require_theme.dshThemeColor.labelSecondary,
|
|
2088
2219
|
textAlign: "center",
|
|
@@ -2208,7 +2339,7 @@ window.__ModuleLoader__.load({
|
|
|
2208
2339
|
transition: "width .2s ease"
|
|
2209
2340
|
}
|
|
2210
2341
|
})), animationOnly ? null : (0, react.createElement)("span", { style: {
|
|
2211
|
-
fontSize: 10,
|
|
2342
|
+
fontSize: require_theme.uiFontSize(10),
|
|
2212
2343
|
lineHeight: 1.5,
|
|
2213
2344
|
padding: "0 6px",
|
|
2214
2345
|
maxWidth: "100%"
|
|
@@ -2548,7 +2679,7 @@ window.__ModuleLoader__.load({
|
|
|
2548
2679
|
renderer
|
|
2549
2680
|
}));
|
|
2550
2681
|
}
|
|
2551
|
-
function AvatarContent({ services, model, state, surface, size, renderer, showDiagnostics, transient }) {
|
|
2682
|
+
function AvatarContent({ services, model, state, reaction, surface, size, renderer, showDiagnostics, transient }) {
|
|
2552
2683
|
const [error, setError] = (0, react.useState)("");
|
|
2553
2684
|
const [progress, setProgress] = (0, react.useState)(() => renderer?.reportsLoading === true ? { phase: renderer.initialLoadPhase ?? "resources" } : void 0);
|
|
2554
2685
|
const { preview, onPreview, discard } = useAssistantAvatarPreview(model, surface, transient ? void 0 : renderer?.previewVersion);
|
|
@@ -2579,6 +2710,7 @@ window.__ModuleLoader__.load({
|
|
|
2579
2710
|
onError,
|
|
2580
2711
|
onLoadProgress,
|
|
2581
2712
|
diagnostics,
|
|
2713
|
+
...reaction === void 0 ? {} : { reaction },
|
|
2582
2714
|
...onPreview === void 0 ? {} : { onPreview: publishPreview }
|
|
2583
2715
|
};
|
|
2584
2716
|
const component = renderer?.component;
|
|
@@ -2628,7 +2760,7 @@ window.__ModuleLoader__.load({
|
|
|
2628
2760
|
opacity: progress !== void 0 && progress.phase !== "ready" ? 1 : 0,
|
|
2629
2761
|
transition: "opacity .25s ease"
|
|
2630
2762
|
}
|
|
2631
|
-
}), progress === void 0 || progress.phase === "ready" && (!diagnostics || progress.elapsedMs === void 0 && !showCache) ? null : (0, react.createElement)(AssistantAvatarLoading, {
|
|
2763
|
+
}), reaction === void 0 ? null : (0, react.createElement)(AssistantAvatarReactionBadge, { reaction }), progress === void 0 || progress.phase === "ready" && (!diagnostics || progress.elapsedMs === void 0 && !showCache) ? null : (0, react.createElement)(AssistantAvatarLoading, {
|
|
2632
2764
|
progress,
|
|
2633
2765
|
size,
|
|
2634
2766
|
t,
|
|
@@ -2662,6 +2794,7 @@ window.__ModuleLoader__.load({
|
|
|
2662
2794
|
return (0, react.createElement)("div", {
|
|
2663
2795
|
"data-codingns-avatar-fallback": true,
|
|
2664
2796
|
style: {
|
|
2797
|
+
position: "relative",
|
|
2665
2798
|
display: "grid",
|
|
2666
2799
|
justifyItems: "center",
|
|
2667
2800
|
maxWidth: "100%"
|
|
@@ -2670,7 +2803,7 @@ window.__ModuleLoader__.load({
|
|
|
2670
2803
|
...props,
|
|
2671
2804
|
model: BUILTIN_ASSISTANT_AVATAR,
|
|
2672
2805
|
onError: () => void 0
|
|
2673
|
-
}), (0, react.createElement)("span", {
|
|
2806
|
+
}), props.reaction === void 0 ? null : (0, react.createElement)(AssistantAvatarReactionBadge, { reaction: props.reaction }), (0, react.createElement)("span", {
|
|
2674
2807
|
role: "status",
|
|
2675
2808
|
style: {
|
|
2676
2809
|
...require_theme.dshSettingsHelpStyle,
|
|
@@ -3219,6 +3352,12 @@ window.__ModuleLoader__.load({
|
|
|
3219
3352
|
return DEFAULT_ASSISTANT_TTS_PARAMETERS;
|
|
3220
3353
|
}
|
|
3221
3354
|
});
|
|
3355
|
+
Object.defineProperty(exports, "DEFAULT_ASSISTANT_TTS_SETTINGS", {
|
|
3356
|
+
enumerable: true,
|
|
3357
|
+
get: function() {
|
|
3358
|
+
return DEFAULT_ASSISTANT_TTS_SETTINGS;
|
|
3359
|
+
}
|
|
3360
|
+
});
|
|
3222
3361
|
Object.defineProperty(exports, "MOSS_BUILTIN_VOICES", {
|
|
3223
3362
|
enumerable: true,
|
|
3224
3363
|
get: function() {
|