@elizaos/agent 2.0.0-alpha.520 → 2.0.0-alpha.521
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/apps/app-elizamaker/src/drop-service.d.ts +7 -2
- package/apps/app-elizamaker/src/drop-service.d.ts.map +1 -1
- package/package.json +4 -4
- package/packages/agent/src/api/registry-service.d.ts +1 -1
- package/packages/agent/src/api/registry-service.d.ts.map +1 -1
- package/packages/agent/src/api/server.d.ts.map +1 -1
- package/packages/agent/src/api/server.js +1 -1
- package/apps/app-companion/src/character-catalog.d.ts +0 -10
- package/apps/app-companion/src/character-catalog.d.ts.map +0 -1
- package/apps/app-companion/src/character-catalog.js +0 -32
- package/apps/app-companion/src/components/avatar/MathEnvironment.d.ts +0 -38
- package/apps/app-companion/src/components/avatar/MathEnvironment.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/MathEnvironment.js +0 -295
- package/apps/app-companion/src/components/avatar/SceneOverlayManager.d.ts +0 -36
- package/apps/app-companion/src/components/avatar/SceneOverlayManager.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/SceneOverlayManager.js +0 -305
- package/apps/app-companion/src/components/avatar/VrmAnimationLoader.d.ts +0 -30
- package/apps/app-companion/src/components/avatar/VrmAnimationLoader.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/VrmAnimationLoader.js +0 -99
- package/apps/app-companion/src/components/avatar/VrmBlinkController.d.ts +0 -37
- package/apps/app-companion/src/components/avatar/VrmBlinkController.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/VrmBlinkController.js +0 -98
- package/apps/app-companion/src/components/avatar/VrmCameraManager.d.ts +0 -57
- package/apps/app-companion/src/components/avatar/VrmCameraManager.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/VrmCameraManager.js +0 -256
- package/apps/app-companion/src/components/avatar/VrmEngine.d.ts +0 -283
- package/apps/app-companion/src/components/avatar/VrmEngine.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/VrmEngine.js +0 -2003
- package/apps/app-companion/src/components/avatar/VrmFootShadow.d.ts +0 -18
- package/apps/app-companion/src/components/avatar/VrmFootShadow.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/VrmFootShadow.js +0 -83
- package/apps/app-companion/src/components/avatar/VrmTeleportEffect.d.ts +0 -49
- package/apps/app-companion/src/components/avatar/VrmTeleportEffect.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/VrmTeleportEffect.js +0 -390
- package/apps/app-companion/src/components/avatar/VrmViewer.d.ts +0 -64
- package/apps/app-companion/src/components/avatar/VrmViewer.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/VrmViewer.js +0 -437
- package/apps/app-companion/src/components/avatar/mixamoVRMRigMap.d.ts +0 -3
- package/apps/app-companion/src/components/avatar/mixamoVRMRigMap.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/mixamoVRMRigMap.js +0 -56
- package/apps/app-companion/src/components/avatar/retargetMixamoFbxToVrm.d.ts +0 -9
- package/apps/app-companion/src/components/avatar/retargetMixamoFbxToVrm.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/retargetMixamoFbxToVrm.js +0 -127
- package/apps/app-companion/src/components/avatar/retargetMixamoGltfToVrm.d.ts +0 -11
- package/apps/app-companion/src/components/avatar/retargetMixamoGltfToVrm.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/retargetMixamoGltfToVrm.js +0 -97
- package/apps/app-companion/src/components/avatar/scene-overlay-renderer.d.ts +0 -37
- package/apps/app-companion/src/components/avatar/scene-overlay-renderer.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/scene-overlay-renderer.js +0 -337
- package/apps/app-companion/src/components/avatar/scene-theme-tokens.d.ts +0 -26
- package/apps/app-companion/src/components/avatar/scene-theme-tokens.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/scene-theme-tokens.js +0 -48
- package/apps/app-companion/src/components/avatar/vector-browser-three.d.ts +0 -9
- package/apps/app-companion/src/components/avatar/vector-browser-three.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/vector-browser-three.js +0 -21
- package/apps/app-companion/src/components/avatar/vector-browser-utils.d.ts +0 -52
- package/apps/app-companion/src/components/avatar/vector-browser-utils.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/vector-browser-utils.js +0 -245
- package/apps/app-companion/src/components/avatar/vrm-desktop-energy.d.ts +0 -40
- package/apps/app-companion/src/components/avatar/vrm-desktop-energy.d.ts.map +0 -1
- package/apps/app-companion/src/components/avatar/vrm-desktop-energy.js +0 -74
- package/apps/app-companion/src/components/chat/ChatAvatar.d.ts +0 -3
- package/apps/app-companion/src/components/chat/ChatAvatar.d.ts.map +0 -1
- package/apps/app-companion/src/components/chat/ChatAvatar.js +0 -80
- package/apps/app-companion/src/components/companion/CompanionAppView.d.ts +0 -9
- package/apps/app-companion/src/components/companion/CompanionAppView.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/CompanionAppView.js +0 -121
- package/apps/app-companion/src/components/companion/CompanionHeader.d.ts +0 -27
- package/apps/app-companion/src/components/companion/CompanionHeader.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/CompanionHeader.js +0 -67
- package/apps/app-companion/src/components/companion/CompanionPerformanceSettings.d.ts +0 -2
- package/apps/app-companion/src/components/companion/CompanionPerformanceSettings.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/CompanionPerformanceSettings.js +0 -33
- package/apps/app-companion/src/components/companion/CompanionSceneHost.d.ts +0 -15
- package/apps/app-companion/src/components/companion/CompanionSceneHost.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/CompanionSceneHost.js +0 -476
- package/apps/app-companion/src/components/companion/CompanionSettingsPanel.d.ts +0 -2
- package/apps/app-companion/src/components/companion/CompanionSettingsPanel.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/CompanionSettingsPanel.js +0 -7
- package/apps/app-companion/src/components/companion/CompanionShell.d.ts +0 -8
- package/apps/app-companion/src/components/companion/CompanionShell.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/CompanionShell.js +0 -9
- package/apps/app-companion/src/components/companion/CompanionView.d.ts +0 -7
- package/apps/app-companion/src/components/companion/CompanionView.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/CompanionView.js +0 -126
- package/apps/app-companion/src/components/companion/EmotePicker.d.ts +0 -2
- package/apps/app-companion/src/components/companion/EmotePicker.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/EmotePicker.js +0 -351
- package/apps/app-companion/src/components/companion/GlobalEmoteOverlay.d.ts +0 -2
- package/apps/app-companion/src/components/companion/GlobalEmoteOverlay.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/GlobalEmoteOverlay.js +0 -113
- package/apps/app-companion/src/components/companion/InferenceCloudAlertButton.d.ts +0 -9
- package/apps/app-companion/src/components/companion/InferenceCloudAlertButton.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/InferenceCloudAlertButton.js +0 -16
- package/apps/app-companion/src/components/companion/VrmStage.d.ts +0 -27
- package/apps/app-companion/src/components/companion/VrmStage.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/VrmStage.js +0 -179
- package/apps/app-companion/src/components/companion/companion-app.d.ts +0 -6
- package/apps/app-companion/src/components/companion/companion-app.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/companion-app.js +0 -15
- package/apps/app-companion/src/components/companion/companion-scene-status-context.d.ts +0 -7
- package/apps/app-companion/src/components/companion/companion-scene-status-context.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/companion-scene-status-context.js +0 -8
- package/apps/app-companion/src/components/companion/companion-shell-styles.d.ts +0 -38
- package/apps/app-companion/src/components/companion/companion-shell-styles.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/companion-shell-styles.js +0 -237
- package/apps/app-companion/src/components/companion/resolve-companion-inference-notice.d.ts +0 -19
- package/apps/app-companion/src/components/companion/resolve-companion-inference-notice.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/resolve-companion-inference-notice.js +0 -31
- package/apps/app-companion/src/components/companion/scene-overlay-bridge.d.ts +0 -6
- package/apps/app-companion/src/components/companion/scene-overlay-bridge.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/scene-overlay-bridge.js +0 -83
- package/apps/app-companion/src/components/companion/shared-companion-scene-context.d.ts +0 -3
- package/apps/app-companion/src/components/companion/shared-companion-scene-context.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/shared-companion-scene-context.js +0 -13
- package/apps/app-companion/src/components/companion/walletUtils.d.ts +0 -91
- package/apps/app-companion/src/components/companion/walletUtils.d.ts.map +0 -1
- package/apps/app-companion/src/components/companion/walletUtils.js +0 -152
- package/apps/app-companion/src/index.d.ts +0 -38
- package/apps/app-companion/src/index.d.ts.map +0 -1
- package/apps/app-companion/src/index.js +0 -37
- package/apps/app-companion/src/types/render-modes.d.ts +0 -4
- package/apps/app-companion/src/types/render-modes.d.ts.map +0 -1
- package/apps/app-companion/src/types/render-modes.js +0 -6
- package/apps/app-companion/src/vrm-assets.d.ts +0 -10
- package/apps/app-companion/src/vrm-assets.d.ts.map +0 -1
- package/apps/app-companion/src/vrm-assets.js +0 -70
- package/apps/app-lifeops/src/api/client-lifeops.d.ts +0 -406
- package/apps/app-lifeops/src/api/client-lifeops.d.ts.map +0 -1
- package/apps/app-lifeops/src/api/client-lifeops.js +0 -1070
- package/apps/app-steward/src/ApprovalQueue.d.ts +0 -18
- package/apps/app-steward/src/ApprovalQueue.d.ts.map +0 -1
- package/apps/app-steward/src/ApprovalQueue.js +0 -141
- package/apps/app-steward/src/StewardLogo.d.ts +0 -11
- package/apps/app-steward/src/StewardLogo.d.ts.map +0 -1
- package/apps/app-steward/src/StewardLogo.js +0 -4
- package/apps/app-steward/src/StewardView.d.ts +0 -6
- package/apps/app-steward/src/StewardView.d.ts.map +0 -1
- package/apps/app-steward/src/StewardView.js +0 -45
- package/apps/app-steward/src/TransactionHistory.d.ts +0 -22
- package/apps/app-steward/src/TransactionHistory.d.ts.map +0 -1
- package/apps/app-steward/src/TransactionHistory.js +0 -100
- package/apps/app-steward/src/actions/check-balance.d.ts +0 -17
- package/apps/app-steward/src/actions/check-balance.d.ts.map +0 -1
- package/apps/app-steward/src/actions/check-balance.js +0 -168
- package/apps/app-steward/src/actions/execute-trade.d.ts +0 -17
- package/apps/app-steward/src/actions/execute-trade.d.ts.map +0 -1
- package/apps/app-steward/src/actions/execute-trade.js +0 -307
- package/apps/app-steward/src/actions/get-receive-address.d.ts +0 -13
- package/apps/app-steward/src/actions/get-receive-address.d.ts.map +0 -1
- package/apps/app-steward/src/actions/get-receive-address.js +0 -127
- package/apps/app-steward/src/actions/prepare-swap.d.ts +0 -13
- package/apps/app-steward/src/actions/prepare-swap.d.ts.map +0 -1
- package/apps/app-steward/src/actions/prepare-swap.js +0 -303
- package/apps/app-steward/src/actions/prepare-transfer.d.ts +0 -14
- package/apps/app-steward/src/actions/prepare-transfer.d.ts.map +0 -1
- package/apps/app-steward/src/actions/prepare-transfer.js +0 -217
- package/apps/app-steward/src/actions/transfer-token.d.ts +0 -17
- package/apps/app-steward/src/actions/transfer-token.d.ts.map +0 -1
- package/apps/app-steward/src/actions/transfer-token.js +0 -479
- package/apps/app-steward/src/actions/wallet-action-shared.d.ts +0 -15
- package/apps/app-steward/src/actions/wallet-action-shared.d.ts.map +0 -1
- package/apps/app-steward/src/actions/wallet-action-shared.js +0 -24
- package/apps/app-steward/src/api/bsc-trade.d.ts +0 -36
- package/apps/app-steward/src/api/bsc-trade.d.ts.map +0 -1
- package/apps/app-steward/src/api/bsc-trade.js +0 -782
- package/apps/app-steward/src/api/tx-service.d.ts +0 -53
- package/apps/app-steward/src/api/tx-service.d.ts.map +0 -1
- package/apps/app-steward/src/api/tx-service.js +0 -217
- package/apps/app-steward/src/api/wallet-bsc-routes.d.ts +0 -63
- package/apps/app-steward/src/api/wallet-bsc-routes.d.ts.map +0 -1
- package/apps/app-steward/src/api/wallet-bsc-routes.js +0 -318
- package/apps/app-steward/src/api/wallet-trading-profile.d.ts +0 -31
- package/apps/app-steward/src/api/wallet-trading-profile.d.ts.map +0 -1
- package/apps/app-steward/src/api/wallet-trading-profile.js +0 -560
- package/apps/app-steward/src/browser-workspace-wallet.d.ts +0 -80
- package/apps/app-steward/src/browser-workspace-wallet.d.ts.map +0 -1
- package/apps/app-steward/src/browser-workspace-wallet.js +0 -135
- package/apps/app-steward/src/chain-utils.d.ts +0 -10
- package/apps/app-steward/src/chain-utils.d.ts.map +0 -1
- package/apps/app-steward/src/chain-utils.js +0 -83
- package/apps/app-steward/src/index.d.ts +0 -20
- package/apps/app-steward/src/index.d.ts.map +0 -1
- package/apps/app-steward/src/index.js +0 -19
- package/apps/app-steward/src/plugin.d.ts +0 -21
- package/apps/app-steward/src/plugin.d.ts.map +0 -1
- package/apps/app-steward/src/plugin.js +0 -325
- package/apps/app-steward/src/routes/steward-bridge.d.ts +0 -202
- package/apps/app-steward/src/routes/steward-bridge.d.ts.map +0 -1
- package/apps/app-steward/src/routes/steward-bridge.js +0 -858
- package/apps/app-steward/src/routes/steward-compat-routes.d.ts +0 -21
- package/apps/app-steward/src/routes/steward-compat-routes.d.ts.map +0 -1
- package/apps/app-steward/src/routes/steward-compat-routes.js +0 -372
- package/apps/app-steward/src/routes/wallet-browser-compat-routes.d.ts +0 -4
- package/apps/app-steward/src/routes/wallet-browser-compat-routes.d.ts.map +0 -1
- package/apps/app-steward/src/routes/wallet-browser-compat-routes.js +0 -387
- package/apps/app-steward/src/routes/wallet-bsc-core-routes.d.ts +0 -15
- package/apps/app-steward/src/routes/wallet-bsc-core-routes.d.ts.map +0 -1
- package/apps/app-steward/src/routes/wallet-bsc-core-routes.js +0 -42
- package/apps/app-steward/src/routes/wallet-compat-routes.d.ts +0 -13
- package/apps/app-steward/src/routes/wallet-compat-routes.d.ts.map +0 -1
- package/apps/app-steward/src/routes/wallet-compat-routes.js +0 -200
- package/apps/app-steward/src/routes/wallet-trade-compat-routes.d.ts +0 -11
- package/apps/app-steward/src/routes/wallet-trade-compat-routes.d.ts.map +0 -1
- package/apps/app-steward/src/routes/wallet-trade-compat-routes.js +0 -528
- package/apps/app-steward/src/security/hydrate-wallet-keys-from-platform-store.d.ts +0 -7
- package/apps/app-steward/src/security/hydrate-wallet-keys-from-platform-store.d.ts.map +0 -1
- package/apps/app-steward/src/security/hydrate-wallet-keys-from-platform-store.js +0 -40
- package/apps/app-steward/src/security/wallet-os-store-actions.d.ts +0 -14
- package/apps/app-steward/src/security/wallet-os-store-actions.d.ts.map +0 -1
- package/apps/app-steward/src/security/wallet-os-store-actions.js +0 -70
- package/apps/app-steward/src/services/steward-credentials.d.ts +0 -37
- package/apps/app-steward/src/services/steward-credentials.d.ts.map +0 -1
- package/apps/app-steward/src/services/steward-credentials.js +0 -91
- package/apps/app-steward/src/services/steward-sidecar/health-check.d.ts +0 -9
- package/apps/app-steward/src/services/steward-sidecar/health-check.d.ts.map +0 -1
- package/apps/app-steward/src/services/steward-sidecar/health-check.js +0 -34
- package/apps/app-steward/src/services/steward-sidecar/helpers.d.ts +0 -21
- package/apps/app-steward/src/services/steward-sidecar/helpers.d.ts.map +0 -1
- package/apps/app-steward/src/services/steward-sidecar/helpers.js +0 -71
- package/apps/app-steward/src/services/steward-sidecar/process-management.d.ts +0 -9
- package/apps/app-steward/src/services/steward-sidecar/process-management.d.ts.map +0 -1
- package/apps/app-steward/src/services/steward-sidecar/process-management.js +0 -53
- package/apps/app-steward/src/services/steward-sidecar/types.d.ts +0 -60
- package/apps/app-steward/src/services/steward-sidecar/types.d.ts.map +0 -1
- package/apps/app-steward/src/services/steward-sidecar/types.js +0 -17
- package/apps/app-steward/src/services/steward-sidecar/wallet-setup.d.ts +0 -9
- package/apps/app-steward/src/services/steward-sidecar/wallet-setup.d.ts.map +0 -1
- package/apps/app-steward/src/services/steward-sidecar/wallet-setup.js +0 -114
- package/apps/app-steward/src/services/steward-sidecar.d.ts +0 -69
- package/apps/app-steward/src/services/steward-sidecar.d.ts.map +0 -1
- package/apps/app-steward/src/services/steward-sidecar.js +0 -383
- package/apps/app-steward/src/services/steward-wallet.d.ts +0 -25
- package/apps/app-steward/src/services/steward-wallet.d.ts.map +0 -1
- package/apps/app-steward/src/services/steward-wallet.js +0 -332
- package/apps/app-steward/src/types/bsc-trade.d.ts +0 -181
- package/apps/app-steward/src/types/bsc-trade.d.ts.map +0 -1
- package/apps/app-steward/src/types/bsc-trade.js +0 -8
- package/apps/app-steward/src/types/index.d.ts +0 -3
- package/apps/app-steward/src/types/index.d.ts.map +0 -1
- package/apps/app-steward/src/types/index.js +0 -2
- package/apps/app-steward/src/types/steward.d.ts +0 -85
- package/apps/app-steward/src/types/steward.d.ts.map +0 -1
- package/apps/app-steward/src/types/steward.js +0 -9
- package/apps/app-vincent/src/client.d.ts +0 -17
- package/apps/app-vincent/src/client.d.ts.map +0 -1
- package/apps/app-vincent/src/client.js +0 -38
- package/apps/app-vincent/src/vincent-contracts.d.ts +0 -52
- package/apps/app-vincent/src/vincent-contracts.d.ts.map +0 -1
- package/apps/app-vincent/src/vincent-contracts.js +0 -4
- package/packages/app-core/src/App.d.ts +0 -6
- package/packages/app-core/src/App.d.ts.map +0 -1
- package/packages/app-core/src/App.js +0 -516
- package/packages/app-core/src/api/auth/audit.d.ts +0 -52
- package/packages/app-core/src/api/auth/audit.d.ts.map +0 -1
- package/packages/app-core/src/api/auth/audit.js +0 -126
- package/packages/app-core/src/api/auth/legacy-bearer.d.ts +0 -75
- package/packages/app-core/src/api/auth/legacy-bearer.d.ts.map +0 -1
- package/packages/app-core/src/api/auth/legacy-bearer.js +0 -126
- package/packages/app-core/src/api/auth/sessions.d.ts +0 -152
- package/packages/app-core/src/api/auth/sessions.d.ts.map +0 -1
- package/packages/app-core/src/api/auth/sessions.js +0 -298
- package/packages/app-core/src/api/auth/tokens.d.ts +0 -3
- package/packages/app-core/src/api/auth/tokens.d.ts.map +0 -1
- package/packages/app-core/src/api/auth/tokens.js +0 -13
- package/packages/app-core/src/api/auth-client.d.ts +0 -130
- package/packages/app-core/src/api/auth-client.d.ts.map +0 -1
- package/packages/app-core/src/api/auth-client.js +0 -301
- package/packages/app-core/src/api/auth.d.ts +0 -155
- package/packages/app-core/src/api/auth.d.ts.map +0 -1
- package/packages/app-core/src/api/auth.js +0 -326
- package/packages/app-core/src/api/client-agent.d.ts +0 -627
- package/packages/app-core/src/api/client-agent.d.ts.map +0 -1
- package/packages/app-core/src/api/client-agent.js +0 -1442
- package/packages/app-core/src/api/client-automations.d.ts +0 -8
- package/packages/app-core/src/api/client-automations.d.ts.map +0 -1
- package/packages/app-core/src/api/client-automations.js +0 -7
- package/packages/app-core/src/api/client-base.d.ts +0 -82
- package/packages/app-core/src/api/client-base.d.ts.map +0 -1
- package/packages/app-core/src/api/client-base.js +0 -729
- package/packages/app-core/src/api/client-browser-workspace.d.ts +0 -25
- package/packages/app-core/src/api/client-browser-workspace.d.ts.map +0 -1
- package/packages/app-core/src/api/client-browser-workspace.js +0 -98
- package/packages/app-core/src/api/client-chat.d.ts +0 -355
- package/packages/app-core/src/api/client-chat.d.ts.map +0 -1
- package/packages/app-core/src/api/client-chat.js +0 -582
- package/packages/app-core/src/api/client-cloud.d.ts +0 -286
- package/packages/app-core/src/api/client-cloud.d.ts.map +0 -1
- package/packages/app-core/src/api/client-cloud.js +0 -410
- package/packages/app-core/src/api/client-computeruse.d.ts +0 -32
- package/packages/app-core/src/api/client-computeruse.d.ts.map +0 -1
- package/packages/app-core/src/api/client-computeruse.js +0 -16
- package/packages/app-core/src/api/client-imessage.d.ts +0 -68
- package/packages/app-core/src/api/client-imessage.d.ts.map +0 -1
- package/packages/app-core/src/api/client-imessage.js +0 -74
- package/packages/app-core/src/api/client-local-inference.d.ts +0 -62
- package/packages/app-core/src/api/client-local-inference.d.ts.map +0 -1
- package/packages/app-core/src/api/client-local-inference.js +0 -87
- package/packages/app-core/src/api/client-n8n.d.ts +0 -27
- package/packages/app-core/src/api/client-n8n.d.ts.map +0 -1
- package/packages/app-core/src/api/client-n8n.js +0 -61
- package/packages/app-core/src/api/client-skills.d.ts +0 -475
- package/packages/app-core/src/api/client-skills.d.ts.map +0 -1
- package/packages/app-core/src/api/client-skills.js +0 -608
- package/packages/app-core/src/api/client-types-babylon.d.ts +0 -254
- package/packages/app-core/src/api/client-types-babylon.d.ts.map +0 -1
- package/packages/app-core/src/api/client-types-babylon.js +0 -2
- package/packages/app-core/src/api/client-types-character.d.ts +0 -39
- package/packages/app-core/src/api/client-types-character.d.ts.map +0 -1
- package/packages/app-core/src/api/client-types-character.js +0 -1
- package/packages/app-core/src/api/client-types-chat.d.ts +0 -428
- package/packages/app-core/src/api/client-types-chat.d.ts.map +0 -1
- package/packages/app-core/src/api/client-types-chat.js +0 -9
- package/packages/app-core/src/api/client-types-config.d.ts +0 -586
- package/packages/app-core/src/api/client-types-config.d.ts.map +0 -1
- package/packages/app-core/src/api/client-types-config.js +0 -5
- package/packages/app-core/src/api/client-types-experience.d.ts +0 -97
- package/packages/app-core/src/api/client-types-experience.d.ts.map +0 -1
- package/packages/app-core/src/api/client-types-experience.js +0 -1
- package/packages/app-core/src/api/client-types-relationships.d.ts +0 -181
- package/packages/app-core/src/api/client-types-relationships.d.ts.map +0 -1
- package/packages/app-core/src/api/client-types-relationships.js +0 -1
- package/packages/app-core/src/api/client-types.d.ts +0 -9
- package/packages/app-core/src/api/client-types.d.ts.map +0 -1
- package/packages/app-core/src/api/client-types.js +0 -12
- package/packages/app-core/src/api/client-wallet.d.ts +0 -129
- package/packages/app-core/src/api/client-wallet.d.ts.map +0 -1
- package/packages/app-core/src/api/client-wallet.js +0 -228
- package/packages/app-core/src/api/client.d.ts +0 -38
- package/packages/app-core/src/api/client.d.ts.map +0 -1
- package/packages/app-core/src/api/client.js +0 -38
- package/packages/app-core/src/api/csrf-client.d.ts +0 -29
- package/packages/app-core/src/api/csrf-client.d.ts.map +0 -1
- package/packages/app-core/src/api/csrf-client.js +0 -54
- package/packages/app-core/src/api/index.d.ts +0 -2
- package/packages/app-core/src/api/index.d.ts.map +0 -1
- package/packages/app-core/src/api/index.js +0 -1
- package/packages/app-core/src/app-shell/task-coordinator-slots.d.ts +0 -38
- package/packages/app-core/src/app-shell/task-coordinator-slots.d.ts.map +0 -1
- package/packages/app-core/src/app-shell/task-coordinator-slots.js +0 -21
- package/packages/app-core/src/autonomy/index.d.ts +0 -48
- package/packages/app-core/src/autonomy/index.d.ts.map +0 -1
- package/packages/app-core/src/autonomy/index.js +0 -336
- package/packages/app-core/src/bridge/capacitor-bridge.d.ts +0 -153
- package/packages/app-core/src/bridge/capacitor-bridge.d.ts.map +0 -1
- package/packages/app-core/src/bridge/capacitor-bridge.js +0 -195
- package/packages/app-core/src/bridge/electrobun-rpc.d.ts +0 -57
- package/packages/app-core/src/bridge/electrobun-rpc.d.ts.map +0 -1
- package/packages/app-core/src/bridge/electrobun-rpc.js +0 -87
- package/packages/app-core/src/bridge/electrobun-runtime.d.ts +0 -3
- package/packages/app-core/src/bridge/electrobun-runtime.d.ts.map +0 -1
- package/packages/app-core/src/bridge/electrobun-runtime.js +0 -34
- package/packages/app-core/src/bridge/gateway-discovery.d.ts +0 -17
- package/packages/app-core/src/bridge/gateway-discovery.d.ts.map +0 -1
- package/packages/app-core/src/bridge/gateway-discovery.js +0 -49
- package/packages/app-core/src/bridge/index.d.ts +0 -7
- package/packages/app-core/src/bridge/index.d.ts.map +0 -1
- package/packages/app-core/src/bridge/index.js +0 -6
- package/packages/app-core/src/bridge/native-plugins.d.ts +0 -504
- package/packages/app-core/src/bridge/native-plugins.d.ts.map +0 -1
- package/packages/app-core/src/bridge/native-plugins.js +0 -67
- package/packages/app-core/src/bridge/plugin-bridge.d.ts +0 -133
- package/packages/app-core/src/bridge/plugin-bridge.d.ts.map +0 -1
- package/packages/app-core/src/bridge/plugin-bridge.js +0 -241
- package/packages/app-core/src/bridge/storage-bridge.d.ts +0 -39
- package/packages/app-core/src/bridge/storage-bridge.d.ts.map +0 -1
- package/packages/app-core/src/bridge/storage-bridge.js +0 -142
- package/packages/app-core/src/character/character-draft-helpers.d.ts +0 -35
- package/packages/app-core/src/character/character-draft-helpers.d.ts.map +0 -1
- package/packages/app-core/src/character/character-draft-helpers.js +0 -270
- package/packages/app-core/src/chat/coding-agent-session-state.d.ts +0 -16
- package/packages/app-core/src/chat/coding-agent-session-state.d.ts.map +0 -1
- package/packages/app-core/src/chat/coding-agent-session-state.js +0 -27
- package/packages/app-core/src/chat/index.d.ts +0 -65
- package/packages/app-core/src/chat/index.d.ts.map +0 -1
- package/packages/app-core/src/chat/index.js +0 -225
- package/packages/app-core/src/components/accounts/AccountCard.d.ts +0 -30
- package/packages/app-core/src/components/accounts/AccountCard.d.ts.map +0 -1
- package/packages/app-core/src/components/accounts/AccountCard.js +0 -185
- package/packages/app-core/src/components/accounts/AccountList.d.ts +0 -15
- package/packages/app-core/src/components/accounts/AccountList.d.ts.map +0 -1
- package/packages/app-core/src/components/accounts/AccountList.js +0 -89
- package/packages/app-core/src/components/accounts/AddAccountDialog.d.ts +0 -33
- package/packages/app-core/src/components/accounts/AddAccountDialog.d.ts.map +0 -1
- package/packages/app-core/src/components/accounts/AddAccountDialog.js +0 -318
- package/packages/app-core/src/components/accounts/RotationStrategyPicker.d.ts +0 -16
- package/packages/app-core/src/components/accounts/RotationStrategyPicker.d.ts.map +0 -1
- package/packages/app-core/src/components/accounts/RotationStrategyPicker.js +0 -45
- package/packages/app-core/src/components/apps/AppsCatalogGrid.d.ts +0 -14
- package/packages/app-core/src/components/apps/AppsCatalogGrid.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/AppsCatalogGrid.js +0 -208
- package/packages/app-core/src/components/apps/AppsSidebar.d.ts +0 -22
- package/packages/app-core/src/components/apps/AppsSidebar.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/AppsSidebar.js +0 -98
- package/packages/app-core/src/components/apps/GameView.d.ts +0 -18
- package/packages/app-core/src/components/apps/GameView.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/GameView.js +0 -1133
- package/packages/app-core/src/components/apps/GameViewOverlay.d.ts +0 -2
- package/packages/app-core/src/components/apps/GameViewOverlay.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/GameViewOverlay.js +0 -120
- package/packages/app-core/src/components/apps/RunningAppsRow.d.ts +0 -12
- package/packages/app-core/src/components/apps/RunningAppsRow.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/RunningAppsRow.js +0 -35
- package/packages/app-core/src/components/apps/app-identity.d.ts +0 -32
- package/packages/app-core/src/components/apps/app-identity.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/app-identity.js +0 -182
- package/packages/app-core/src/components/apps/catalog-loader.d.ts +0 -7
- package/packages/app-core/src/components/apps/catalog-loader.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/catalog-loader.js +0 -30
- package/packages/app-core/src/components/apps/extensions/registry.d.ts +0 -12
- package/packages/app-core/src/components/apps/extensions/registry.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/extensions/registry.js +0 -23
- package/packages/app-core/src/components/apps/extensions/surface.d.ts +0 -34
- package/packages/app-core/src/components/apps/extensions/surface.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/extensions/surface.js +0 -96
- package/packages/app-core/src/components/apps/extensions/types.d.ts +0 -7
- package/packages/app-core/src/components/apps/extensions/types.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/extensions/types.js +0 -1
- package/packages/app-core/src/components/apps/helpers.d.ts +0 -53
- package/packages/app-core/src/components/apps/helpers.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/helpers.js +0 -364
- package/packages/app-core/src/components/apps/internal-tool-apps.d.ts +0 -18
- package/packages/app-core/src/components/apps/internal-tool-apps.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/internal-tool-apps.js +0 -173
- package/packages/app-core/src/components/apps/launch-history.d.ts +0 -16
- package/packages/app-core/src/components/apps/launch-history.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/launch-history.js +0 -77
- package/packages/app-core/src/components/apps/overlay-app-api.d.ts +0 -55
- package/packages/app-core/src/components/apps/overlay-app-api.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/overlay-app-api.js +0 -8
- package/packages/app-core/src/components/apps/overlay-app-registry.d.ts +0 -19
- package/packages/app-core/src/components/apps/overlay-app-registry.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/overlay-app-registry.js +0 -58
- package/packages/app-core/src/components/apps/per-app-config.d.ts +0 -19
- package/packages/app-core/src/components/apps/per-app-config.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/per-app-config.js +0 -99
- package/packages/app-core/src/components/apps/run-attention.d.ts +0 -3
- package/packages/app-core/src/components/apps/run-attention.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/run-attention.js +0 -77
- package/packages/app-core/src/components/apps/surfaces/GameOperatorShell.d.ts +0 -47
- package/packages/app-core/src/components/apps/surfaces/GameOperatorShell.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/surfaces/GameOperatorShell.js +0 -42
- package/packages/app-core/src/components/apps/surfaces/registry.d.ts +0 -11
- package/packages/app-core/src/components/apps/surfaces/registry.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/surfaces/registry.js +0 -23
- package/packages/app-core/src/components/apps/surfaces/types.d.ts +0 -10
- package/packages/app-core/src/components/apps/surfaces/types.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/surfaces/types.js +0 -1
- package/packages/app-core/src/components/apps/useRegistryCatalog.d.ts +0 -14
- package/packages/app-core/src/components/apps/useRegistryCatalog.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/useRegistryCatalog.js +0 -52
- package/packages/app-core/src/components/apps/viewer-auth.d.ts +0 -7
- package/packages/app-core/src/components/apps/viewer-auth.d.ts.map +0 -1
- package/packages/app-core/src/components/apps/viewer-auth.js +0 -55
- package/packages/app-core/src/components/auth/LoginView.d.ts +0 -17
- package/packages/app-core/src/components/auth/LoginView.d.ts.map +0 -1
- package/packages/app-core/src/components/auth/LoginView.js +0 -62
- package/packages/app-core/src/components/character/CharacterEditor.d.ts +0 -12
- package/packages/app-core/src/components/character/CharacterEditor.d.ts.map +0 -1
- package/packages/app-core/src/components/character/CharacterEditor.js +0 -885
- package/packages/app-core/src/components/character/CharacterEditorPanels.d.ts +0 -35
- package/packages/app-core/src/components/character/CharacterEditorPanels.d.ts.map +0 -1
- package/packages/app-core/src/components/character/CharacterEditorPanels.js +0 -250
- package/packages/app-core/src/components/character/CharacterExperienceWorkspace.d.ts +0 -11
- package/packages/app-core/src/components/character/CharacterExperienceWorkspace.d.ts.map +0 -1
- package/packages/app-core/src/components/character/CharacterExperienceWorkspace.js +0 -453
- package/packages/app-core/src/components/character/CharacterHubView.d.ts +0 -22
- package/packages/app-core/src/components/character/CharacterHubView.d.ts.map +0 -1
- package/packages/app-core/src/components/character/CharacterHubView.js +0 -688
- package/packages/app-core/src/components/character/CharacterLearnedSkillsSection.d.ts +0 -2
- package/packages/app-core/src/components/character/CharacterLearnedSkillsSection.d.ts.map +0 -1
- package/packages/app-core/src/components/character/CharacterLearnedSkillsSection.js +0 -76
- package/packages/app-core/src/components/character/CharacterOverviewSection.d.ts +0 -27
- package/packages/app-core/src/components/character/CharacterOverviewSection.d.ts.map +0 -1
- package/packages/app-core/src/components/character/CharacterOverviewSection.js +0 -36
- package/packages/app-core/src/components/character/CharacterRelationshipsSection.d.ts +0 -7
- package/packages/app-core/src/components/character/CharacterRelationshipsSection.d.ts.map +0 -1
- package/packages/app-core/src/components/character/CharacterRelationshipsSection.js +0 -4
- package/packages/app-core/src/components/character/CharacterRoster.d.ts +0 -32
- package/packages/app-core/src/components/character/CharacterRoster.d.ts.map +0 -1
- package/packages/app-core/src/components/character/CharacterRoster.js +0 -111
- package/packages/app-core/src/components/character/MusicLibraryCharacterWidget.d.ts +0 -3
- package/packages/app-core/src/components/character/MusicLibraryCharacterWidget.d.ts.map +0 -1
- package/packages/app-core/src/components/character/MusicLibraryCharacterWidget.js +0 -27
- package/packages/app-core/src/components/character/character-editor-helpers.d.ts +0 -42
- package/packages/app-core/src/components/character/character-editor-helpers.d.ts.map +0 -1
- package/packages/app-core/src/components/character/character-editor-helpers.js +0 -58
- package/packages/app-core/src/components/character/character-greeting.d.ts +0 -5
- package/packages/app-core/src/components/character/character-greeting.d.ts.map +0 -1
- package/packages/app-core/src/components/character/character-greeting.js +0 -22
- package/packages/app-core/src/components/character/character-hub-helpers.d.ts +0 -14
- package/packages/app-core/src/components/character/character-hub-helpers.d.ts.map +0 -1
- package/packages/app-core/src/components/character/character-hub-helpers.js +0 -140
- package/packages/app-core/src/components/character/character-hub-types.d.ts +0 -60
- package/packages/app-core/src/components/character/character-hub-types.d.ts.map +0 -1
- package/packages/app-core/src/components/character/character-hub-types.js +0 -1
- package/packages/app-core/src/components/character/character-voice-config.d.ts +0 -33
- package/packages/app-core/src/components/character/character-voice-config.d.ts.map +0 -1
- package/packages/app-core/src/components/character/character-voice-config.js +0 -95
- package/packages/app-core/src/components/chat/AgentActivityBox.d.ts +0 -8
- package/packages/app-core/src/components/chat/AgentActivityBox.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/AgentActivityBox.js +0 -33
- package/packages/app-core/src/components/chat/AppsSection.d.ts +0 -13
- package/packages/app-core/src/components/chat/AppsSection.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/AppsSection.js +0 -198
- package/packages/app-core/src/components/chat/MessageContent.d.ts +0 -41
- package/packages/app-core/src/components/chat/MessageContent.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/MessageContent.js +0 -691
- package/packages/app-core/src/components/chat/SaveCommandModal.d.ts +0 -9
- package/packages/app-core/src/components/chat/SaveCommandModal.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/SaveCommandModal.js +0 -59
- package/packages/app-core/src/components/chat/TasksEventsPanel.d.ts +0 -30
- package/packages/app-core/src/components/chat/TasksEventsPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/TasksEventsPanel.js +0 -139
- package/packages/app-core/src/components/chat/WidgetVisibilityPanel.d.ts +0 -25
- package/packages/app-core/src/components/chat/WidgetVisibilityPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/WidgetVisibilityPanel.js +0 -30
- package/packages/app-core/src/components/chat/chat-source-registration.d.ts +0 -1
- package/packages/app-core/src/components/chat/chat-source-registration.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/chat-source-registration.js +0 -1
- package/packages/app-core/src/components/chat/message-choice-parser.d.ts +0 -20
- package/packages/app-core/src/components/chat/message-choice-parser.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/message-choice-parser.js +0 -53
- package/packages/app-core/src/components/chat/widgets/ChoiceWidget.d.ts +0 -24
- package/packages/app-core/src/components/chat/widgets/ChoiceWidget.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/widgets/ChoiceWidget.js +0 -38
- package/packages/app-core/src/components/chat/widgets/agent-orchestrator.d.ts +0 -20
- package/packages/app-core/src/components/chat/widgets/agent-orchestrator.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/widgets/agent-orchestrator.js +0 -273
- package/packages/app-core/src/components/chat/widgets/browser-status.d.ts +0 -14
- package/packages/app-core/src/components/chat/widgets/browser-status.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/widgets/browser-status.js +0 -109
- package/packages/app-core/src/components/chat/widgets/music-player.d.ts +0 -4
- package/packages/app-core/src/components/chat/widgets/music-player.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/widgets/music-player.js +0 -132
- package/packages/app-core/src/components/chat/widgets/registry.d.ts +0 -8
- package/packages/app-core/src/components/chat/widgets/registry.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/widgets/registry.js +0 -7
- package/packages/app-core/src/components/chat/widgets/shared.d.ts +0 -17
- package/packages/app-core/src/components/chat/widgets/shared.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/widgets/shared.js +0 -8
- package/packages/app-core/src/components/chat/widgets/todo.d.ts +0 -3
- package/packages/app-core/src/components/chat/widgets/todo.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/widgets/todo.js +0 -109
- package/packages/app-core/src/components/chat/widgets/types.d.ts +0 -16
- package/packages/app-core/src/components/chat/widgets/types.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/widgets/types.js +0 -1
- package/packages/app-core/src/components/chat/widgets/wallet-status.d.ts +0 -4
- package/packages/app-core/src/components/chat/widgets/wallet-status.d.ts.map +0 -1
- package/packages/app-core/src/components/chat/widgets/wallet-status.js +0 -190
- package/packages/app-core/src/components/cloud/CloudSourceControls.d.ts +0 -13
- package/packages/app-core/src/components/cloud/CloudSourceControls.d.ts.map +0 -1
- package/packages/app-core/src/components/cloud/CloudSourceControls.js +0 -19
- package/packages/app-core/src/components/cloud/CloudStatusBadge.d.ts +0 -33
- package/packages/app-core/src/components/cloud/CloudStatusBadge.d.ts.map +0 -1
- package/packages/app-core/src/components/cloud/CloudStatusBadge.js +0 -98
- package/packages/app-core/src/components/cloud/FlaminaGuide.d.ts +0 -10
- package/packages/app-core/src/components/cloud/FlaminaGuide.d.ts.map +0 -1
- package/packages/app-core/src/components/cloud/FlaminaGuide.js +0 -86
- package/packages/app-core/src/components/cloud/StripeEmbeddedCheckout.d.ts +0 -24
- package/packages/app-core/src/components/cloud/StripeEmbeddedCheckout.d.ts.map +0 -1
- package/packages/app-core/src/components/cloud/StripeEmbeddedCheckout.js +0 -101
- package/packages/app-core/src/components/companion/injected.d.ts +0 -10
- package/packages/app-core/src/components/companion/injected.d.ts.map +0 -1
- package/packages/app-core/src/components/companion/injected.js +0 -25
- package/packages/app-core/src/components/config-ui/config-control-primitives.d.ts +0 -14
- package/packages/app-core/src/components/config-ui/config-control-primitives.d.ts.map +0 -1
- package/packages/app-core/src/components/config-ui/config-control-primitives.js +0 -22
- package/packages/app-core/src/components/config-ui/config-field.d.ts +0 -58
- package/packages/app-core/src/components/config-ui/config-field.d.ts.map +0 -1
- package/packages/app-core/src/components/config-ui/config-field.js +0 -874
- package/packages/app-core/src/components/config-ui/config-renderer.d.ts +0 -164
- package/packages/app-core/src/components/config-ui/config-renderer.d.ts.map +0 -1
- package/packages/app-core/src/components/config-ui/config-renderer.js +0 -397
- package/packages/app-core/src/components/config-ui/index.d.ts +0 -5
- package/packages/app-core/src/components/config-ui/index.d.ts.map +0 -1
- package/packages/app-core/src/components/config-ui/index.js +0 -4
- package/packages/app-core/src/components/config-ui/ui-renderer.d.ts +0 -15
- package/packages/app-core/src/components/config-ui/ui-renderer.d.ts.map +0 -1
- package/packages/app-core/src/components/config-ui/ui-renderer.js +0 -826
- package/packages/app-core/src/components/connectors/BlueBubblesStatusPanel.d.ts +0 -2
- package/packages/app-core/src/components/connectors/BlueBubblesStatusPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/connectors/BlueBubblesStatusPanel.js +0 -61
- package/packages/app-core/src/components/connectors/ConnectorModeSelector.d.ts +0 -35
- package/packages/app-core/src/components/connectors/ConnectorModeSelector.d.ts.map +0 -1
- package/packages/app-core/src/components/connectors/ConnectorModeSelector.js +0 -150
- package/packages/app-core/src/components/connectors/ConnectorSetupPanel.d.ts +0 -12
- package/packages/app-core/src/components/connectors/ConnectorSetupPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/connectors/ConnectorSetupPanel.js +0 -92
- package/packages/app-core/src/components/connectors/DiscordLocalConnectorPanel.d.ts +0 -2
- package/packages/app-core/src/components/connectors/DiscordLocalConnectorPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/connectors/DiscordLocalConnectorPanel.js +0 -249
- package/packages/app-core/src/components/connectors/IMessageStatusPanel.d.ts +0 -2
- package/packages/app-core/src/components/connectors/IMessageStatusPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/connectors/IMessageStatusPanel.js +0 -63
- package/packages/app-core/src/components/connectors/SignalQrOverlay.d.ts +0 -7
- package/packages/app-core/src/components/connectors/SignalQrOverlay.d.ts.map +0 -1
- package/packages/app-core/src/components/connectors/SignalQrOverlay.js +0 -63
- package/packages/app-core/src/components/connectors/TelegramAccountConnectorPanel.d.ts +0 -2
- package/packages/app-core/src/components/connectors/TelegramAccountConnectorPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/connectors/TelegramAccountConnectorPanel.js +0 -202
- package/packages/app-core/src/components/connectors/TelegramBotSetupPanel.d.ts +0 -2
- package/packages/app-core/src/components/connectors/TelegramBotSetupPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/connectors/TelegramBotSetupPanel.js +0 -81
- package/packages/app-core/src/components/connectors/WhatsAppQrOverlay.d.ts +0 -9
- package/packages/app-core/src/components/connectors/WhatsAppQrOverlay.d.ts.map +0 -1
- package/packages/app-core/src/components/connectors/WhatsAppQrOverlay.js +0 -53
- package/packages/app-core/src/components/conversations/ConversationRenameDialog.d.ts +0 -9
- package/packages/app-core/src/components/conversations/ConversationRenameDialog.d.ts.map +0 -1
- package/packages/app-core/src/components/conversations/ConversationRenameDialog.js +0 -46
- package/packages/app-core/src/components/conversations/ConversationsSidebar.d.ts +0 -9
- package/packages/app-core/src/components/conversations/ConversationsSidebar.d.ts.map +0 -1
- package/packages/app-core/src/components/conversations/ConversationsSidebar.js +0 -557
- package/packages/app-core/src/components/conversations/brand-icons.d.ts +0 -12
- package/packages/app-core/src/components/conversations/brand-icons.d.ts.map +0 -1
- package/packages/app-core/src/components/conversations/brand-icons.js +0 -49
- package/packages/app-core/src/components/conversations/conversation-sidebar-model.d.ts +0 -66
- package/packages/app-core/src/components/conversations/conversation-sidebar-model.d.ts.map +0 -1
- package/packages/app-core/src/components/conversations/conversation-sidebar-model.js +0 -340
- package/packages/app-core/src/components/conversations/conversation-utils.d.ts +0 -9
- package/packages/app-core/src/components/conversations/conversation-utils.d.ts.map +0 -1
- package/packages/app-core/src/components/conversations/conversation-utils.js +0 -142
- package/packages/app-core/src/components/custom-actions/CustomActionEditor.d.ts +0 -10
- package/packages/app-core/src/components/custom-actions/CustomActionEditor.d.ts.map +0 -1
- package/packages/app-core/src/components/custom-actions/CustomActionEditor.js +0 -385
- package/packages/app-core/src/components/custom-actions/CustomActionsPanel.d.ts +0 -9
- package/packages/app-core/src/components/custom-actions/CustomActionsPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/custom-actions/CustomActionsPanel.js +0 -158
- package/packages/app-core/src/components/custom-actions/CustomActionsView.d.ts +0 -2
- package/packages/app-core/src/components/custom-actions/CustomActionsView.d.ts.map +0 -1
- package/packages/app-core/src/components/custom-actions/CustomActionsView.js +0 -144
- package/packages/app-core/src/components/custom-actions/custom-action-form.d.ts +0 -44
- package/packages/app-core/src/components/custom-actions/custom-action-form.d.ts.map +0 -1
- package/packages/app-core/src/components/custom-actions/custom-action-form.js +0 -237
- package/packages/app-core/src/components/index.d.ts +0 -100
- package/packages/app-core/src/components/index.d.ts.map +0 -1
- package/packages/app-core/src/components/index.js +0 -101
- package/packages/app-core/src/components/inventory/ChainIcon.d.ts +0 -9
- package/packages/app-core/src/components/inventory/ChainIcon.d.ts.map +0 -1
- package/packages/app-core/src/components/inventory/ChainIcon.js +0 -58
- package/packages/app-core/src/components/inventory/TokenLogo.d.ts +0 -9
- package/packages/app-core/src/components/inventory/TokenLogo.d.ts.map +0 -1
- package/packages/app-core/src/components/inventory/TokenLogo.js +0 -26
- package/packages/app-core/src/components/inventory/chainConfig.d.ts +0 -89
- package/packages/app-core/src/components/inventory/chainConfig.d.ts.map +0 -1
- package/packages/app-core/src/components/inventory/chainConfig.js +0 -285
- package/packages/app-core/src/components/inventory/constants.d.ts +0 -30
- package/packages/app-core/src/components/inventory/constants.d.ts.map +0 -1
- package/packages/app-core/src/components/inventory/constants.js +0 -57
- package/packages/app-core/src/components/inventory/inventory-chain-filters.d.ts +0 -11
- package/packages/app-core/src/components/inventory/inventory-chain-filters.d.ts.map +0 -1
- package/packages/app-core/src/components/inventory/inventory-chain-filters.js +0 -41
- package/packages/app-core/src/components/inventory/media-url.d.ts +0 -6
- package/packages/app-core/src/components/inventory/media-url.d.ts.map +0 -1
- package/packages/app-core/src/components/inventory/media-url.js +0 -28
- package/packages/app-core/src/components/inventory/useInventoryData.d.ts +0 -38
- package/packages/app-core/src/components/inventory/useInventoryData.d.ts.map +0 -1
- package/packages/app-core/src/components/inventory/useInventoryData.js +0 -278
- package/packages/app-core/src/components/local-inference/ActiveModelBar.d.ts +0 -10
- package/packages/app-core/src/components/local-inference/ActiveModelBar.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/ActiveModelBar.js +0 -19
- package/packages/app-core/src/components/local-inference/DeviceBridgeStatus.d.ts +0 -2
- package/packages/app-core/src/components/local-inference/DeviceBridgeStatus.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/DeviceBridgeStatus.js +0 -39
- package/packages/app-core/src/components/local-inference/DevicesPanel.d.ts +0 -8
- package/packages/app-core/src/components/local-inference/DevicesPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/DevicesPanel.js +0 -44
- package/packages/app-core/src/components/local-inference/DownloadProgress.d.ts +0 -7
- package/packages/app-core/src/components/local-inference/DownloadProgress.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/DownloadProgress.js +0 -8
- package/packages/app-core/src/components/local-inference/DownloadQueue.d.ts +0 -15
- package/packages/app-core/src/components/local-inference/DownloadQueue.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/DownloadQueue.js +0 -21
- package/packages/app-core/src/components/local-inference/FirstRunOffer.d.ts +0 -11
- package/packages/app-core/src/components/local-inference/FirstRunOffer.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/FirstRunOffer.js +0 -49
- package/packages/app-core/src/components/local-inference/HardwareBadge.d.ts +0 -7
- package/packages/app-core/src/components/local-inference/HardwareBadge.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/HardwareBadge.js +0 -10
- package/packages/app-core/src/components/local-inference/HuggingFaceSearch.d.ts +0 -22
- package/packages/app-core/src/components/local-inference/HuggingFaceSearch.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/HuggingFaceSearch.js +0 -68
- package/packages/app-core/src/components/local-inference/LocalInferencePanel.d.ts +0 -5
- package/packages/app-core/src/components/local-inference/LocalInferencePanel.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/LocalInferencePanel.js +0 -225
- package/packages/app-core/src/components/local-inference/ModelCard.d.ts +0 -20
- package/packages/app-core/src/components/local-inference/ModelCard.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/ModelCard.js +0 -21
- package/packages/app-core/src/components/local-inference/ModelHubView.d.ts +0 -18
- package/packages/app-core/src/components/local-inference/ModelHubView.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/ModelHubView.js +0 -40
- package/packages/app-core/src/components/local-inference/ProvidersList.d.ts +0 -2
- package/packages/app-core/src/components/local-inference/ProvidersList.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/ProvidersList.js +0 -51
- package/packages/app-core/src/components/local-inference/RoutingMatrix.d.ts +0 -2
- package/packages/app-core/src/components/local-inference/RoutingMatrix.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/RoutingMatrix.js +0 -108
- package/packages/app-core/src/components/local-inference/SlotAssignments.d.ts +0 -15
- package/packages/app-core/src/components/local-inference/SlotAssignments.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/SlotAssignments.js +0 -58
- package/packages/app-core/src/components/local-inference/hub-utils.d.ts +0 -27
- package/packages/app-core/src/components/local-inference/hub-utils.d.ts.map +0 -1
- package/packages/app-core/src/components/local-inference/hub-utils.js +0 -86
- package/packages/app-core/src/components/onboarding/BootstrapStep.d.ts +0 -35
- package/packages/app-core/src/components/onboarding/BootstrapStep.d.ts.map +0 -1
- package/packages/app-core/src/components/onboarding/BootstrapStep.js +0 -150
- package/packages/app-core/src/components/onboarding/onboarding-form-primitives.d.ts +0 -54
- package/packages/app-core/src/components/onboarding/onboarding-form-primitives.d.ts.map +0 -1
- package/packages/app-core/src/components/onboarding/onboarding-form-primitives.js +0 -55
- package/packages/app-core/src/components/onboarding/onboarding-step-chrome.d.ts +0 -40
- package/packages/app-core/src/components/onboarding/onboarding-step-chrome.d.ts.map +0 -1
- package/packages/app-core/src/components/onboarding/onboarding-step-chrome.js +0 -74
- package/packages/app-core/src/components/pages/AdvancedPageView.d.ts +0 -4
- package/packages/app-core/src/components/pages/AdvancedPageView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/AdvancedPageView.js +0 -72
- package/packages/app-core/src/components/pages/AppDetailsView.d.ts +0 -34
- package/packages/app-core/src/components/pages/AppDetailsView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/AppDetailsView.js +0 -350
- package/packages/app-core/src/components/pages/AppsPageView.d.ts +0 -12
- package/packages/app-core/src/components/pages/AppsPageView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/AppsPageView.js +0 -58
- package/packages/app-core/src/components/pages/AppsView.d.ts +0 -3
- package/packages/app-core/src/components/pages/AppsView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/AppsView.js +0 -883
- package/packages/app-core/src/components/pages/AutomationsView.d.ts +0 -6
- package/packages/app-core/src/components/pages/AutomationsView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/AutomationsView.js +0 -2512
- package/packages/app-core/src/components/pages/BrowserWorkspaceView.d.ts +0 -17
- package/packages/app-core/src/components/pages/BrowserWorkspaceView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/BrowserWorkspaceView.js +0 -1326
- package/packages/app-core/src/components/pages/ChatModalView.d.ts +0 -13
- package/packages/app-core/src/components/pages/ChatModalView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/ChatModalView.js +0 -17
- package/packages/app-core/src/components/pages/ChatView.d.ts +0 -24
- package/packages/app-core/src/components/pages/ChatView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/ChatView.js +0 -534
- package/packages/app-core/src/components/pages/ConfigPageView.d.ts +0 -12
- package/packages/app-core/src/components/pages/ConfigPageView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/ConfigPageView.js +0 -263
- package/packages/app-core/src/components/pages/ConnectorsPageView.d.ts +0 -8
- package/packages/app-core/src/components/pages/ConnectorsPageView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/ConnectorsPageView.js +0 -8
- package/packages/app-core/src/components/pages/DatabasePageView.d.ts +0 -5
- package/packages/app-core/src/components/pages/DatabasePageView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/DatabasePageView.js +0 -33
- package/packages/app-core/src/components/pages/DatabaseView.d.ts +0 -6
- package/packages/app-core/src/components/pages/DatabaseView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/DatabaseView.js +0 -247
- package/packages/app-core/src/components/pages/ElizaCloudDashboard.d.ts +0 -2
- package/packages/app-core/src/components/pages/ElizaCloudDashboard.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/ElizaCloudDashboard.js +0 -380
- package/packages/app-core/src/components/pages/HeartbeatForm.d.ts +0 -56
- package/packages/app-core/src/components/pages/HeartbeatForm.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/HeartbeatForm.js +0 -215
- package/packages/app-core/src/components/pages/HeartbeatsView.d.ts +0 -3
- package/packages/app-core/src/components/pages/HeartbeatsView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/HeartbeatsView.js +0 -399
- package/packages/app-core/src/components/pages/InventoryView.d.ts +0 -2
- package/packages/app-core/src/components/pages/InventoryView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/InventoryView.js +0 -837
- package/packages/app-core/src/components/pages/KnowledgeView.d.ts +0 -12
- package/packages/app-core/src/components/pages/KnowledgeView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/KnowledgeView.js +0 -546
- package/packages/app-core/src/components/pages/LogsPageView.d.ts +0 -6
- package/packages/app-core/src/components/pages/LogsPageView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/LogsPageView.js +0 -6
- package/packages/app-core/src/components/pages/LogsView.d.ts +0 -2
- package/packages/app-core/src/components/pages/LogsView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/LogsView.js +0 -81
- package/packages/app-core/src/components/pages/MediaGalleryView.d.ts +0 -6
- package/packages/app-core/src/components/pages/MediaGalleryView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/MediaGalleryView.js +0 -273
- package/packages/app-core/src/components/pages/MemoryDetailPanel.d.ts +0 -5
- package/packages/app-core/src/components/pages/MemoryDetailPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/MemoryDetailPanel.js +0 -17
- package/packages/app-core/src/components/pages/MemoryViewerView.d.ts +0 -5
- package/packages/app-core/src/components/pages/MemoryViewerView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/MemoryViewerView.js +0 -234
- package/packages/app-core/src/components/pages/MiladyOsAppsView.d.ts +0 -4
- package/packages/app-core/src/components/pages/MiladyOsAppsView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/MiladyOsAppsView.js +0 -618
- package/packages/app-core/src/components/pages/PageScopedChatPane.d.ts +0 -48
- package/packages/app-core/src/components/pages/PageScopedChatPane.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/PageScopedChatPane.js +0 -503
- package/packages/app-core/src/components/pages/PluginCard.d.ts +0 -36
- package/packages/app-core/src/components/pages/PluginCard.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/PluginCard.js +0 -128
- package/packages/app-core/src/components/pages/PluginConfigForm.d.ts +0 -29
- package/packages/app-core/src/components/pages/PluginConfigForm.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/PluginConfigForm.js +0 -133
- package/packages/app-core/src/components/pages/PluginsPageView.d.ts +0 -9
- package/packages/app-core/src/components/pages/PluginsPageView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/PluginsPageView.js +0 -5
- package/packages/app-core/src/components/pages/PluginsView.d.ts +0 -11
- package/packages/app-core/src/components/pages/PluginsView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/PluginsView.js +0 -813
- package/packages/app-core/src/components/pages/RelationshipsGraphPanel.d.ts +0 -8
- package/packages/app-core/src/components/pages/RelationshipsGraphPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/RelationshipsGraphPanel.js +0 -696
- package/packages/app-core/src/components/pages/RelationshipsIdentityCluster.d.ts +0 -5
- package/packages/app-core/src/components/pages/RelationshipsIdentityCluster.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/RelationshipsIdentityCluster.js +0 -17
- package/packages/app-core/src/components/pages/RelationshipsView.d.ts +0 -5
- package/packages/app-core/src/components/pages/RelationshipsView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/RelationshipsView.js +0 -5
- package/packages/app-core/src/components/pages/ReleaseCenterView.d.ts +0 -2
- package/packages/app-core/src/components/pages/ReleaseCenterView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/ReleaseCenterView.js +0 -216
- package/packages/app-core/src/components/pages/RuntimeView.d.ts +0 -5
- package/packages/app-core/src/components/pages/RuntimeView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/RuntimeView.js +0 -283
- package/packages/app-core/src/components/pages/ScratchpadView.d.ts +0 -2
- package/packages/app-core/src/components/pages/ScratchpadView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/ScratchpadView.js +0 -364
- package/packages/app-core/src/components/pages/SecretsView.d.ts +0 -5
- package/packages/app-core/src/components/pages/SecretsView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/SecretsView.js +0 -245
- package/packages/app-core/src/components/pages/SettingsView.d.ts +0 -6
- package/packages/app-core/src/components/pages/SettingsView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/SettingsView.js +0 -498
- package/packages/app-core/src/components/pages/SkillsView.d.ts +0 -6
- package/packages/app-core/src/components/pages/SkillsView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/SkillsView.js +0 -205
- package/packages/app-core/src/components/pages/SqlEditorPanel.d.ts +0 -13
- package/packages/app-core/src/components/pages/SqlEditorPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/SqlEditorPanel.js +0 -19
- package/packages/app-core/src/components/pages/StreamView.d.ts +0 -4
- package/packages/app-core/src/components/pages/StreamView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/StreamView.js +0 -113
- package/packages/app-core/src/components/pages/TasksPageView.d.ts +0 -2
- package/packages/app-core/src/components/pages/TasksPageView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/TasksPageView.js +0 -10
- package/packages/app-core/src/components/pages/TrajectoriesView.d.ts +0 -9
- package/packages/app-core/src/components/pages/TrajectoriesView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/TrajectoriesView.js +0 -278
- package/packages/app-core/src/components/pages/TrajectoryDetailView.d.ts +0 -7
- package/packages/app-core/src/components/pages/TrajectoryDetailView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/TrajectoryDetailView.js +0 -173
- package/packages/app-core/src/components/pages/TriggersView.d.ts +0 -3
- package/packages/app-core/src/components/pages/TriggersView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/TriggersView.js +0 -2
- package/packages/app-core/src/components/pages/VectorBrowserView.d.ts +0 -13
- package/packages/app-core/src/components/pages/VectorBrowserView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/VectorBrowserView.js +0 -846
- package/packages/app-core/src/components/pages/WorkflowGraphViewer.d.ts +0 -15
- package/packages/app-core/src/components/pages/WorkflowGraphViewer.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/WorkflowGraphViewer.js +0 -403
- package/packages/app-core/src/components/pages/automation-conversations.d.ts +0 -16
- package/packages/app-core/src/components/pages/automation-conversations.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/automation-conversations.js +0 -204
- package/packages/app-core/src/components/pages/chat-view-hooks.d.ts +0 -63
- package/packages/app-core/src/components/pages/chat-view-hooks.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/chat-view-hooks.js +0 -531
- package/packages/app-core/src/components/pages/cloud-dashboard-utils.d.ts +0 -91
- package/packages/app-core/src/components/pages/cloud-dashboard-utils.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/cloud-dashboard-utils.js +0 -284
- package/packages/app-core/src/components/pages/config-page-sections.d.ts +0 -86
- package/packages/app-core/src/components/pages/config-page-sections.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/config-page-sections.js +0 -205
- package/packages/app-core/src/components/pages/database-utils.d.ts +0 -30
- package/packages/app-core/src/components/pages/database-utils.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/database-utils.js +0 -133
- package/packages/app-core/src/components/pages/heartbeat-utils.d.ts +0 -105
- package/packages/app-core/src/components/pages/heartbeat-utils.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/heartbeat-utils.js +0 -368
- package/packages/app-core/src/components/pages/knowledge-detail.d.ts +0 -9
- package/packages/app-core/src/components/pages/knowledge-detail.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/knowledge-detail.js +0 -149
- package/packages/app-core/src/components/pages/knowledge-upload.d.ts +0 -27
- package/packages/app-core/src/components/pages/knowledge-upload.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/knowledge-upload.js +0 -125
- package/packages/app-core/src/components/pages/page-scoped-conversations.d.ts +0 -62
- package/packages/app-core/src/components/pages/page-scoped-conversations.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/page-scoped-conversations.js +0 -266
- package/packages/app-core/src/components/pages/plugin-list-utils.d.ts +0 -67
- package/packages/app-core/src/components/pages/plugin-list-utils.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/plugin-list-utils.js +0 -665
- package/packages/app-core/src/components/pages/plugin-view-connectors.d.ts +0 -57
- package/packages/app-core/src/components/pages/plugin-view-connectors.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/plugin-view-connectors.js +0 -275
- package/packages/app-core/src/components/pages/plugin-view-dialogs.d.ts +0 -36
- package/packages/app-core/src/components/pages/plugin-view-dialogs.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/plugin-view-dialogs.js +0 -63
- package/packages/app-core/src/components/pages/plugin-view-modal.d.ts +0 -34
- package/packages/app-core/src/components/pages/plugin-view-modal.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/plugin-view-modal.js +0 -29
- package/packages/app-core/src/components/pages/plugin-view-sidebar.d.ts +0 -36
- package/packages/app-core/src/components/pages/plugin-view-sidebar.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/plugin-view-sidebar.js +0 -42
- package/packages/app-core/src/components/pages/relationships/RelationshipsActivityFeed.d.ts +0 -2
- package/packages/app-core/src/components/pages/relationships/RelationshipsActivityFeed.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/relationships/RelationshipsActivityFeed.js +0 -85
- package/packages/app-core/src/components/pages/relationships/RelationshipsCandidateMergesPanel.d.ts +0 -6
- package/packages/app-core/src/components/pages/relationships/RelationshipsCandidateMergesPanel.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/relationships/RelationshipsCandidateMergesPanel.js +0 -73
- package/packages/app-core/src/components/pages/relationships/RelationshipsPersonPanels.d.ts +0 -27
- package/packages/app-core/src/components/pages/relationships/RelationshipsPersonPanels.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/relationships/RelationshipsPersonPanels.js +0 -241
- package/packages/app-core/src/components/pages/relationships/RelationshipsSidebar.d.ts +0 -10
- package/packages/app-core/src/components/pages/relationships/RelationshipsSidebar.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/relationships/RelationshipsSidebar.js +0 -16
- package/packages/app-core/src/components/pages/relationships/RelationshipsWorkspaceView.d.ts +0 -7
- package/packages/app-core/src/components/pages/relationships/RelationshipsWorkspaceView.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/relationships/RelationshipsWorkspaceView.js +0 -130
- package/packages/app-core/src/components/pages/relationships/relationships-utils.d.ts +0 -16
- package/packages/app-core/src/components/pages/relationships/relationships-utils.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/relationships/relationships-utils.js +0 -105
- package/packages/app-core/src/components/pages/settings/IdentitySettingsSection.d.ts +0 -2
- package/packages/app-core/src/components/pages/settings/IdentitySettingsSection.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/settings/IdentitySettingsSection.js +0 -310
- package/packages/app-core/src/components/pages/skill-detail-panel.d.ts +0 -13
- package/packages/app-core/src/components/pages/skill-detail-panel.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/skill-detail-panel.js +0 -161
- package/packages/app-core/src/components/pages/skill-marketplace.d.ts +0 -38
- package/packages/app-core/src/components/pages/skill-marketplace.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/skill-marketplace.js +0 -114
- package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.d.ts +0 -43
- package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.js +0 -362
- package/packages/app-core/src/components/pages/vector-browser-utils.d.ts +0 -2
- package/packages/app-core/src/components/pages/vector-browser-utils.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/vector-browser-utils.js +0 -1
- package/packages/app-core/src/components/pages/workflow-graph-events.d.ts +0 -6
- package/packages/app-core/src/components/pages/workflow-graph-events.d.ts.map +0 -1
- package/packages/app-core/src/components/pages/workflow-graph-events.js +0 -7
- package/packages/app-core/src/components/permissions/PermissionIcon.d.ts +0 -4
- package/packages/app-core/src/components/permissions/PermissionIcon.d.ts.map +0 -1
- package/packages/app-core/src/components/permissions/PermissionIcon.js +0 -13
- package/packages/app-core/src/components/permissions/StreamingPermissions.d.ts +0 -21
- package/packages/app-core/src/components/permissions/StreamingPermissions.d.ts.map +0 -1
- package/packages/app-core/src/components/permissions/StreamingPermissions.js +0 -284
- package/packages/app-core/src/components/phone-companion/Chat.d.ts +0 -15
- package/packages/app-core/src/components/phone-companion/Chat.d.ts.map +0 -1
- package/packages/app-core/src/components/phone-companion/Chat.js +0 -76
- package/packages/app-core/src/components/phone-companion/Pairing.d.ts +0 -9
- package/packages/app-core/src/components/phone-companion/Pairing.d.ts.map +0 -1
- package/packages/app-core/src/components/phone-companion/Pairing.js +0 -124
- package/packages/app-core/src/components/phone-companion/PhoneCompanionApp.d.ts +0 -9
- package/packages/app-core/src/components/phone-companion/PhoneCompanionApp.d.ts.map +0 -1
- package/packages/app-core/src/components/phone-companion/PhoneCompanionApp.js +0 -108
- package/packages/app-core/src/components/phone-companion/RemoteSession.d.ts +0 -9
- package/packages/app-core/src/components/phone-companion/RemoteSession.d.ts.map +0 -1
- package/packages/app-core/src/components/phone-companion/RemoteSession.js +0 -364
- package/packages/app-core/src/components/phone-companion/index.d.ts +0 -5
- package/packages/app-core/src/components/phone-companion/index.d.ts.map +0 -1
- package/packages/app-core/src/components/phone-companion/index.js +0 -4
- package/packages/app-core/src/components/plugins/showcase-data.d.ts +0 -4
- package/packages/app-core/src/components/plugins/showcase-data.d.ts.map +0 -1
- package/packages/app-core/src/components/plugins/showcase-data.js +0 -461
- package/packages/app-core/src/components/policy-controls/ApprovedAddressesSection.d.ts +0 -7
- package/packages/app-core/src/components/policy-controls/ApprovedAddressesSection.d.ts.map +0 -1
- package/packages/app-core/src/components/policy-controls/ApprovedAddressesSection.js +0 -74
- package/packages/app-core/src/components/policy-controls/AutoApproveSection.d.ts +0 -7
- package/packages/app-core/src/components/policy-controls/AutoApproveSection.d.ts.map +0 -1
- package/packages/app-core/src/components/policy-controls/AutoApproveSection.js +0 -14
- package/packages/app-core/src/components/policy-controls/PolicyToggle.d.ts +0 -15
- package/packages/app-core/src/components/policy-controls/PolicyToggle.d.ts.map +0 -1
- package/packages/app-core/src/components/policy-controls/PolicyToggle.js +0 -12
- package/packages/app-core/src/components/policy-controls/RateLimitSection.d.ts +0 -7
- package/packages/app-core/src/components/policy-controls/RateLimitSection.d.ts.map +0 -1
- package/packages/app-core/src/components/policy-controls/RateLimitSection.js +0 -11
- package/packages/app-core/src/components/policy-controls/SpendingLimitSection.d.ts +0 -7
- package/packages/app-core/src/components/policy-controls/SpendingLimitSection.d.ts.map +0 -1
- package/packages/app-core/src/components/policy-controls/SpendingLimitSection.js +0 -15
- package/packages/app-core/src/components/policy-controls/TimeWindowSection.d.ts +0 -7
- package/packages/app-core/src/components/policy-controls/TimeWindowSection.d.ts.map +0 -1
- package/packages/app-core/src/components/policy-controls/TimeWindowSection.js +0 -40
- package/packages/app-core/src/components/policy-controls/constants.d.ts +0 -11
- package/packages/app-core/src/components/policy-controls/constants.d.ts.map +0 -1
- package/packages/app-core/src/components/policy-controls/constants.js +0 -41
- package/packages/app-core/src/components/policy-controls/helpers.d.ts +0 -13
- package/packages/app-core/src/components/policy-controls/helpers.d.ts.map +0 -1
- package/packages/app-core/src/components/policy-controls/helpers.js +0 -43
- package/packages/app-core/src/components/policy-controls/index.d.ts +0 -10
- package/packages/app-core/src/components/policy-controls/index.d.ts.map +0 -1
- package/packages/app-core/src/components/policy-controls/index.js +0 -9
- package/packages/app-core/src/components/policy-controls/types.d.ts +0 -58
- package/packages/app-core/src/components/policy-controls/types.d.ts.map +0 -1
- package/packages/app-core/src/components/policy-controls/types.js +0 -7
- package/packages/app-core/src/components/release-center/shared.d.ts +0 -13
- package/packages/app-core/src/components/release-center/shared.d.ts.map +0 -1
- package/packages/app-core/src/components/release-center/shared.js +0 -38
- package/packages/app-core/src/components/release-center/types.d.ts +0 -79
- package/packages/app-core/src/components/release-center/types.d.ts.map +0 -1
- package/packages/app-core/src/components/release-center/types.js +0 -5
- package/packages/app-core/src/components/settings/ApiKeyConfig.d.ts +0 -21
- package/packages/app-core/src/components/settings/ApiKeyConfig.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/ApiKeyConfig.js +0 -111
- package/packages/app-core/src/components/settings/AppearanceSettingsSection.d.ts +0 -2
- package/packages/app-core/src/components/settings/AppearanceSettingsSection.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/AppearanceSettingsSection.js +0 -253
- package/packages/app-core/src/components/settings/AppsManagementSection.d.ts +0 -12
- package/packages/app-core/src/components/settings/AppsManagementSection.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/AppsManagementSection.js +0 -285
- package/packages/app-core/src/components/settings/CapabilitiesSection.d.ts +0 -2
- package/packages/app-core/src/components/settings/CapabilitiesSection.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/CapabilitiesSection.js +0 -97
- package/packages/app-core/src/components/settings/DesktopWorkspaceSection.d.ts +0 -7
- package/packages/app-core/src/components/settings/DesktopWorkspaceSection.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/DesktopWorkspaceSection.js +0 -502
- package/packages/app-core/src/components/settings/PermissionsSection.d.ts +0 -8
- package/packages/app-core/src/components/settings/PermissionsSection.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/PermissionsSection.js +0 -310
- package/packages/app-core/src/components/settings/PolicyControlsView.d.ts +0 -2
- package/packages/app-core/src/components/settings/PolicyControlsView.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/PolicyControlsView.js +0 -231
- package/packages/app-core/src/components/settings/ProviderSwitcher.d.ts +0 -22
- package/packages/app-core/src/components/settings/ProviderSwitcher.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/ProviderSwitcher.js +0 -618
- package/packages/app-core/src/components/settings/SecuritySettingsSection.d.ts +0 -2
- package/packages/app-core/src/components/settings/SecuritySettingsSection.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/SecuritySettingsSection.js +0 -381
- package/packages/app-core/src/components/settings/SubscriptionStatus.d.ts +0 -28
- package/packages/app-core/src/components/settings/SubscriptionStatus.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/SubscriptionStatus.js +0 -266
- package/packages/app-core/src/components/settings/VoiceConfigView.d.ts +0 -5
- package/packages/app-core/src/components/settings/VoiceConfigView.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/VoiceConfigView.js +0 -505
- package/packages/app-core/src/components/settings/cloud-model-schema.d.ts +0 -26
- package/packages/app-core/src/components/settings/cloud-model-schema.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/cloud-model-schema.js +0 -103
- package/packages/app-core/src/components/settings/permission-controls.d.ts +0 -37
- package/packages/app-core/src/components/settings/permission-controls.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/permission-controls.js +0 -437
- package/packages/app-core/src/components/settings/permission-types.d.ts +0 -44
- package/packages/app-core/src/components/settings/permission-types.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/permission-types.js +0 -215
- package/packages/app-core/src/components/settings/settings-control-primitives.d.ts +0 -11
- package/packages/app-core/src/components/settings/settings-control-primitives.d.ts.map +0 -1
- package/packages/app-core/src/components/settings/settings-control-primitives.js +0 -14
- package/packages/app-core/src/components/shared/AppPageSidebar.d.ts +0 -12
- package/packages/app-core/src/components/shared/AppPageSidebar.d.ts.map +0 -1
- package/packages/app-core/src/components/shared/AppPageSidebar.js +0 -119
- package/packages/app-core/src/components/shared/CollapsibleSidebarSection.d.ts +0 -19
- package/packages/app-core/src/components/shared/CollapsibleSidebarSection.d.ts.map +0 -1
- package/packages/app-core/src/components/shared/CollapsibleSidebarSection.js +0 -12
- package/packages/app-core/src/components/shared/LanguageDropdown.d.ts +0 -24
- package/packages/app-core/src/components/shared/LanguageDropdown.d.ts.map +0 -1
- package/packages/app-core/src/components/shared/LanguageDropdown.js +0 -37
- package/packages/app-core/src/components/shared/ThemeToggle.d.ts +0 -14
- package/packages/app-core/src/components/shared/ThemeToggle.d.ts.map +0 -1
- package/packages/app-core/src/components/shared/ThemeToggle.js +0 -14
- package/packages/app-core/src/components/shared/confirm-delete-control.d.ts +0 -19
- package/packages/app-core/src/components/shared/confirm-delete-control.d.ts.map +0 -1
- package/packages/app-core/src/components/shared/confirm-delete-control.js +0 -19
- package/packages/app-core/src/components/shell/BugReportModal.d.ts +0 -2
- package/packages/app-core/src/components/shell/BugReportModal.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/BugReportModal.js +0 -366
- package/packages/app-core/src/components/shell/CommandPalette.d.ts +0 -2
- package/packages/app-core/src/components/shell/CommandPalette.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/CommandPalette.js +0 -185
- package/packages/app-core/src/components/shell/ComputerUseApprovalOverlay.d.ts +0 -2
- package/packages/app-core/src/components/shell/ComputerUseApprovalOverlay.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/ComputerUseApprovalOverlay.js +0 -171
- package/packages/app-core/src/components/shell/ConnectionFailedBanner.d.ts +0 -6
- package/packages/app-core/src/components/shell/ConnectionFailedBanner.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/ConnectionFailedBanner.js +0 -23
- package/packages/app-core/src/components/shell/ConnectionLostOverlay.d.ts +0 -2
- package/packages/app-core/src/components/shell/ConnectionLostOverlay.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/ConnectionLostOverlay.js +0 -49
- package/packages/app-core/src/components/shell/Header.d.ts +0 -13
- package/packages/app-core/src/components/shell/Header.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/Header.js +0 -298
- package/packages/app-core/src/components/shell/LoadingScreen.d.ts +0 -13
- package/packages/app-core/src/components/shell/LoadingScreen.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/LoadingScreen.js +0 -86
- package/packages/app-core/src/components/shell/PairingView.d.ts +0 -2
- package/packages/app-core/src/components/shell/PairingView.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/PairingView.js +0 -41
- package/packages/app-core/src/components/shell/RestartBanner.d.ts +0 -2
- package/packages/app-core/src/components/shell/RestartBanner.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/RestartBanner.js +0 -39
- package/packages/app-core/src/components/shell/RuntimeGate.d.ts +0 -22
- package/packages/app-core/src/components/shell/RuntimeGate.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/RuntimeGate.js +0 -640
- package/packages/app-core/src/components/shell/ShellHeaderControls.d.ts +0 -44
- package/packages/app-core/src/components/shell/ShellHeaderControls.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/ShellHeaderControls.js +0 -80
- package/packages/app-core/src/components/shell/ShellOverlays.d.ts +0 -5
- package/packages/app-core/src/components/shell/ShellOverlays.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/ShellOverlays.js +0 -15
- package/packages/app-core/src/components/shell/ShortcutsOverlay.d.ts +0 -2
- package/packages/app-core/src/components/shell/ShortcutsOverlay.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/ShortcutsOverlay.js +0 -58
- package/packages/app-core/src/components/shell/StartupFailureView.d.ts +0 -8
- package/packages/app-core/src/components/shell/StartupFailureView.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/StartupFailureView.js +0 -148
- package/packages/app-core/src/components/shell/StartupShell.d.ts +0 -12
- package/packages/app-core/src/components/shell/StartupShell.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/StartupShell.js +0 -230
- package/packages/app-core/src/components/shell/SystemWarningBanner.d.ts +0 -6
- package/packages/app-core/src/components/shell/SystemWarningBanner.d.ts.map +0 -1
- package/packages/app-core/src/components/shell/SystemWarningBanner.js +0 -44
- package/packages/app-core/src/components/steward/injected.d.ts +0 -5
- package/packages/app-core/src/components/steward/injected.d.ts.map +0 -1
- package/packages/app-core/src/components/steward/injected.js +0 -14
- package/packages/app-core/src/components/stream/StatusBar.d.ts +0 -10
- package/packages/app-core/src/components/stream/StatusBar.d.ts.map +0 -1
- package/packages/app-core/src/components/stream/StatusBar.js +0 -65
- package/packages/app-core/src/components/stream/helpers.d.ts +0 -15
- package/packages/app-core/src/components/stream/helpers.d.ts.map +0 -1
- package/packages/app-core/src/components/stream/helpers.js +0 -16
- package/packages/app-core/src/components/training/injected.d.ts +0 -3
- package/packages/app-core/src/components/training/injected.d.ts.map +0 -1
- package/packages/app-core/src/components/training/injected.js +0 -6
- package/packages/app-core/src/components/workspace/AppWorkspaceChrome.d.ts +0 -62
- package/packages/app-core/src/components/workspace/AppWorkspaceChrome.d.ts.map +0 -1
- package/packages/app-core/src/components/workspace/AppWorkspaceChrome.js +0 -220
- package/packages/app-core/src/config/app-config.d.ts +0 -121
- package/packages/app-core/src/config/app-config.d.ts.map +0 -1
- package/packages/app-core/src/config/app-config.js +0 -31
- package/packages/app-core/src/config/boot-config-react.d.ts +0 -5
- package/packages/app-core/src/config/boot-config-react.d.ts.map +0 -1
- package/packages/app-core/src/config/boot-config-react.js +0 -7
- package/packages/app-core/src/config/cloud-only.d.ts +0 -6
- package/packages/app-core/src/config/cloud-only.d.ts.map +0 -1
- package/packages/app-core/src/config/cloud-only.js +0 -15
- package/packages/app-core/src/config/config-catalog.d.ts +0 -376
- package/packages/app-core/src/config/config-catalog.d.ts.map +0 -1
- package/packages/app-core/src/config/config-catalog.js +0 -732
- package/packages/app-core/src/config/index.d.ts +0 -12
- package/packages/app-core/src/config/index.d.ts.map +0 -1
- package/packages/app-core/src/config/index.js +0 -11
- package/packages/app-core/src/config/plugin-auto-enable.d.ts +0 -5
- package/packages/app-core/src/config/plugin-auto-enable.d.ts.map +0 -1
- package/packages/app-core/src/config/plugin-auto-enable.js +0 -47
- package/packages/app-core/src/config/plugin-ui-spec.d.ts +0 -42
- package/packages/app-core/src/config/plugin-ui-spec.d.ts.map +0 -1
- package/packages/app-core/src/config/plugin-ui-spec.js +0 -256
- package/packages/app-core/src/config/ui-spec.d.ts +0 -164
- package/packages/app-core/src/config/ui-spec.d.ts.map +0 -1
- package/packages/app-core/src/config/ui-spec.js +0 -13
- package/packages/app-core/src/config/wechat-config.d.ts +0 -3
- package/packages/app-core/src/config/wechat-config.d.ts.map +0 -1
- package/packages/app-core/src/config/wechat-config.js +0 -21
- package/packages/app-core/src/content-packs/apply-pack.d.ts +0 -33
- package/packages/app-core/src/content-packs/apply-pack.d.ts.map +0 -1
- package/packages/app-core/src/content-packs/apply-pack.js +0 -96
- package/packages/app-core/src/content-packs/bundled-packs.d.ts +0 -14
- package/packages/app-core/src/content-packs/bundled-packs.d.ts.map +0 -1
- package/packages/app-core/src/content-packs/bundled-packs.js +0 -106
- package/packages/app-core/src/content-packs/index.d.ts +0 -4
- package/packages/app-core/src/content-packs/index.d.ts.map +0 -1
- package/packages/app-core/src/content-packs/index.js +0 -3
- package/packages/app-core/src/content-packs/load-pack.d.ts +0 -34
- package/packages/app-core/src/content-packs/load-pack.d.ts.map +0 -1
- package/packages/app-core/src/content-packs/load-pack.js +0 -151
- package/packages/app-core/src/events/index.d.ts +0 -62
- package/packages/app-core/src/events/index.d.ts.map +0 -1
- package/packages/app-core/src/events/index.js +0 -51
- package/packages/app-core/src/hooks/index.d.ts +0 -14
- package/packages/app-core/src/hooks/index.d.ts.map +0 -1
- package/packages/app-core/src/hooks/index.js +0 -13
- package/packages/app-core/src/hooks/useAccounts.d.ts +0 -41
- package/packages/app-core/src/hooks/useAccounts.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useAccounts.js +0 -250
- package/packages/app-core/src/hooks/useActivityEvents.d.ts +0 -20
- package/packages/app-core/src/hooks/useActivityEvents.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useActivityEvents.js +0 -126
- package/packages/app-core/src/hooks/useAuthStatus.d.ts +0 -49
- package/packages/app-core/src/hooks/useAuthStatus.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useAuthStatus.js +0 -90
- package/packages/app-core/src/hooks/useBugReport.d.ts +0 -26
- package/packages/app-core/src/hooks/useBugReport.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useBugReport.js +0 -28
- package/packages/app-core/src/hooks/useCanvasWindow.d.ts +0 -38
- package/packages/app-core/src/hooks/useCanvasWindow.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useCanvasWindow.js +0 -277
- package/packages/app-core/src/hooks/useChatAvatarVoiceBridge.d.ts +0 -12
- package/packages/app-core/src/hooks/useChatAvatarVoiceBridge.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useChatAvatarVoiceBridge.js +0 -21
- package/packages/app-core/src/hooks/useContextMenu.d.ts +0 -17
- package/packages/app-core/src/hooks/useContextMenu.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useContextMenu.js +0 -142
- package/packages/app-core/src/hooks/useKeyboardShortcuts.d.ts +0 -5
- package/packages/app-core/src/hooks/useKeyboardShortcuts.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useKeyboardShortcuts.js +0 -32
- package/packages/app-core/src/hooks/useMediaQuery.d.ts +0 -4
- package/packages/app-core/src/hooks/useMediaQuery.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useMediaQuery.js +0 -30
- package/packages/app-core/src/hooks/useMusicPlayer.d.ts +0 -54
- package/packages/app-core/src/hooks/useMusicPlayer.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useMusicPlayer.js +0 -117
- package/packages/app-core/src/hooks/useRenderGuard.d.ts +0 -17
- package/packages/app-core/src/hooks/useRenderGuard.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useRenderGuard.js +0 -36
- package/packages/app-core/src/hooks/useSignalPairing.d.ts +0 -12
- package/packages/app-core/src/hooks/useSignalPairing.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useSignalPairing.js +0 -129
- package/packages/app-core/src/hooks/useStreamPopoutNavigation.d.ts +0 -3
- package/packages/app-core/src/hooks/useStreamPopoutNavigation.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useStreamPopoutNavigation.js +0 -4
- package/packages/app-core/src/hooks/useVoiceChat.d.ts +0 -37
- package/packages/app-core/src/hooks/useVoiceChat.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useVoiceChat.js +0 -1310
- package/packages/app-core/src/hooks/useWhatsAppPairing.d.ts +0 -12
- package/packages/app-core/src/hooks/useWhatsAppPairing.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useWhatsAppPairing.js +0 -95
- package/packages/app-core/src/hooks/useWorkflowGenerationState.d.ts +0 -23
- package/packages/app-core/src/hooks/useWorkflowGenerationState.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useWorkflowGenerationState.js +0 -46
- package/packages/app-core/src/hooks/voice-chat-playback.d.ts +0 -32
- package/packages/app-core/src/hooks/voice-chat-playback.d.ts.map +0 -1
- package/packages/app-core/src/hooks/voice-chat-playback.js +0 -203
- package/packages/app-core/src/hooks/voice-chat-recording.d.ts +0 -6
- package/packages/app-core/src/hooks/voice-chat-recording.d.ts.map +0 -1
- package/packages/app-core/src/hooks/voice-chat-recording.js +0 -46
- package/packages/app-core/src/hooks/voice-chat-types.d.ts +0 -193
- package/packages/app-core/src/hooks/voice-chat-types.d.ts.map +0 -1
- package/packages/app-core/src/hooks/voice-chat-types.js +0 -185
- package/packages/app-core/src/i18n/index.d.ts +0 -7
- package/packages/app-core/src/i18n/index.d.ts.map +0 -1
- package/packages/app-core/src/i18n/index.js +0 -57
- package/packages/app-core/src/i18n/locales/en.json +0 -3231
- package/packages/app-core/src/i18n/locales/es.json +0 -3231
- package/packages/app-core/src/i18n/locales/ko.json +0 -3231
- package/packages/app-core/src/i18n/locales/pt.json +0 -3231
- package/packages/app-core/src/i18n/locales/tl.json +0 -3231
- package/packages/app-core/src/i18n/locales/vi.json +0 -3231
- package/packages/app-core/src/i18n/locales/zh-CN.json +0 -3231
- package/packages/app-core/src/i18n/messages.d.ts +0 -6
- package/packages/app-core/src/i18n/messages.d.ts.map +0 -1
- package/packages/app-core/src/i18n/messages.js +0 -26
- package/packages/app-core/src/index.d.ts +0 -54
- package/packages/app-core/src/index.d.ts.map +0 -1
- package/packages/app-core/src/index.js +0 -50
- package/packages/app-core/src/onboarding/flow.d.ts +0 -66
- package/packages/app-core/src/onboarding/flow.d.ts.map +0 -1
- package/packages/app-core/src/onboarding/flow.js +0 -100
- package/packages/app-core/src/onboarding/mobile-runtime-mode.d.ts +0 -8
- package/packages/app-core/src/onboarding/mobile-runtime-mode.d.ts.map +0 -1
- package/packages/app-core/src/onboarding/mobile-runtime-mode.js +0 -57
- package/packages/app-core/src/onboarding/probe-local-agent.d.ts +0 -44
- package/packages/app-core/src/onboarding/probe-local-agent.d.ts.map +0 -1
- package/packages/app-core/src/onboarding/probe-local-agent.js +0 -126
- package/packages/app-core/src/onboarding/server-target.d.ts +0 -4
- package/packages/app-core/src/onboarding/server-target.d.ts.map +0 -1
- package/packages/app-core/src/onboarding/server-target.js +0 -13
- package/packages/app-core/src/onboarding-config.d.ts +0 -61
- package/packages/app-core/src/onboarding-config.d.ts.map +0 -1
- package/packages/app-core/src/onboarding-config.js +0 -172
- package/packages/app-core/src/platform/browser-launch.d.ts +0 -10
- package/packages/app-core/src/platform/browser-launch.d.ts.map +0 -1
- package/packages/app-core/src/platform/browser-launch.js +0 -147
- package/packages/app-core/src/platform/cloud-preference-patch.d.ts +0 -11
- package/packages/app-core/src/platform/cloud-preference-patch.d.ts.map +0 -1
- package/packages/app-core/src/platform/cloud-preference-patch.js +0 -85
- package/packages/app-core/src/platform/desktop-permissions-client.d.ts +0 -3
- package/packages/app-core/src/platform/desktop-permissions-client.d.ts.map +0 -1
- package/packages/app-core/src/platform/desktop-permissions-client.js +0 -128
- package/packages/app-core/src/platform/index.d.ts +0 -15
- package/packages/app-core/src/platform/index.d.ts.map +0 -1
- package/packages/app-core/src/platform/index.js +0 -23
- package/packages/app-core/src/platform/init.d.ts +0 -46
- package/packages/app-core/src/platform/init.d.ts.map +0 -1
- package/packages/app-core/src/platform/init.js +0 -169
- package/packages/app-core/src/platform/is-native-server.d.ts +0 -14
- package/packages/app-core/src/platform/is-native-server.d.ts.map +0 -1
- package/packages/app-core/src/platform/is-native-server.js +0 -16
- package/packages/app-core/src/platform/onboarding-reset.d.ts +0 -11
- package/packages/app-core/src/platform/onboarding-reset.d.ts.map +0 -1
- package/packages/app-core/src/platform/onboarding-reset.js +0 -127
- package/packages/app-core/src/platform/types.d.ts +0 -28
- package/packages/app-core/src/platform/types.d.ts.map +0 -1
- package/packages/app-core/src/platform/types.js +0 -1
- package/packages/app-core/src/platform/window-shell.d.ts +0 -28
- package/packages/app-core/src/platform/window-shell.d.ts.map +0 -1
- package/packages/app-core/src/platform/window-shell.js +0 -73
- package/packages/app-core/src/providers/index.d.ts +0 -26
- package/packages/app-core/src/providers/index.d.ts.map +0 -1
- package/packages/app-core/src/providers/index.js +0 -107
- package/packages/app-core/src/runtime/channel-plugin-map.d.ts +0 -6
- package/packages/app-core/src/runtime/channel-plugin-map.d.ts.map +0 -1
- package/packages/app-core/src/runtime/channel-plugin-map.js +0 -10
- package/packages/app-core/src/security/agent-vault-id.d.ts +0 -14
- package/packages/app-core/src/security/agent-vault-id.d.ts.map +0 -1
- package/packages/app-core/src/security/agent-vault-id.js +0 -32
- package/packages/app-core/src/security/platform-secure-store-node.d.ts +0 -15
- package/packages/app-core/src/security/platform-secure-store-node.d.ts.map +0 -1
- package/packages/app-core/src/security/platform-secure-store-node.js +0 -296
- package/packages/app-core/src/security/platform-secure-store.d.ts +0 -47
- package/packages/app-core/src/security/platform-secure-store.d.ts.map +0 -1
- package/packages/app-core/src/security/platform-secure-store.js +0 -10
- package/packages/app-core/src/services/account-pool.d.ts +0 -98
- package/packages/app-core/src/services/account-pool.d.ts.map +0 -1
- package/packages/app-core/src/services/account-pool.js +0 -506
- package/packages/app-core/src/services/account-usage.d.ts +0 -75
- package/packages/app-core/src/services/account-usage.d.ts.map +0 -1
- package/packages/app-core/src/services/account-usage.js +0 -179
- package/packages/app-core/src/services/auth-store.d.ts +0 -185
- package/packages/app-core/src/services/auth-store.d.ts.map +0 -1
- package/packages/app-core/src/services/auth-store.js +0 -418
- package/packages/app-core/src/services/cloud-jwks-store.d.ts +0 -62
- package/packages/app-core/src/services/cloud-jwks-store.d.ts.map +0 -1
- package/packages/app-core/src/services/cloud-jwks-store.js +0 -118
- package/packages/app-core/src/services/local-inference/active-model.d.ts +0 -59
- package/packages/app-core/src/services/local-inference/active-model.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/active-model.js +0 -120
- package/packages/app-core/src/services/local-inference/device-bridge.d.ts +0 -131
- package/packages/app-core/src/services/local-inference/device-bridge.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/device-bridge.js +0 -748
- package/packages/app-core/src/services/local-inference/engine.d.ts +0 -52
- package/packages/app-core/src/services/local-inference/engine.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/engine.js +0 -138
- package/packages/app-core/src/services/local-inference/external-scanner.d.ts +0 -17
- package/packages/app-core/src/services/local-inference/external-scanner.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/external-scanner.js +0 -261
- package/packages/app-core/src/services/local-inference/handler-registry.d.ts +0 -72
- package/packages/app-core/src/services/local-inference/handler-registry.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/handler-registry.js +0 -160
- package/packages/app-core/src/services/local-inference/hardware.d.ts +0 -26
- package/packages/app-core/src/services/local-inference/hardware.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/hardware.js +0 -139
- package/packages/app-core/src/services/local-inference/paths.d.ts +0 -24
- package/packages/app-core/src/services/local-inference/paths.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/paths.js +0 -41
- package/packages/app-core/src/services/local-inference/providers.d.ts +0 -61
- package/packages/app-core/src/services/local-inference/providers.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/providers.js +0 -277
- package/packages/app-core/src/services/local-inference/registry.d.ts +0 -35
- package/packages/app-core/src/services/local-inference/registry.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/registry.js +0 -108
- package/packages/app-core/src/services/local-inference/routing-preferences.d.ts +0 -31
- package/packages/app-core/src/services/local-inference/routing-preferences.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/routing-preferences.js +0 -72
- package/packages/app-core/src/services/local-inference/types.d.ts +0 -121
- package/packages/app-core/src/services/local-inference/types.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/types.js +0 -14
- package/packages/app-core/src/services/local-inference/verify.d.ts +0 -39
- package/packages/app-core/src/services/local-inference/verify.d.ts.map +0 -1
- package/packages/app-core/src/services/local-inference/verify.js +0 -104
- package/packages/app-core/src/services/phone-companion/env.d.ts +0 -11
- package/packages/app-core/src/services/phone-companion/env.d.ts.map +0 -1
- package/packages/app-core/src/services/phone-companion/env.js +0 -21
- package/packages/app-core/src/services/phone-companion/index.d.ts +0 -14
- package/packages/app-core/src/services/phone-companion/index.d.ts.map +0 -1
- package/packages/app-core/src/services/phone-companion/index.js +0 -13
- package/packages/app-core/src/services/phone-companion/logger.d.ts +0 -14
- package/packages/app-core/src/services/phone-companion/logger.d.ts.map +0 -1
- package/packages/app-core/src/services/phone-companion/logger.js +0 -57
- package/packages/app-core/src/services/phone-companion/milady-intent.d.ts +0 -63
- package/packages/app-core/src/services/phone-companion/milady-intent.d.ts.map +0 -1
- package/packages/app-core/src/services/phone-companion/milady-intent.js +0 -50
- package/packages/app-core/src/services/phone-companion/navigation.d.ts +0 -17
- package/packages/app-core/src/services/phone-companion/navigation.d.ts.map +0 -1
- package/packages/app-core/src/services/phone-companion/navigation.js +0 -99
- package/packages/app-core/src/services/phone-companion/push.d.ts +0 -27
- package/packages/app-core/src/services/phone-companion/push.d.ts.map +0 -1
- package/packages/app-core/src/services/phone-companion/push.js +0 -80
- package/packages/app-core/src/services/phone-companion/session-client.d.ts +0 -114
- package/packages/app-core/src/services/phone-companion/session-client.d.ts.map +0 -1
- package/packages/app-core/src/services/phone-companion/session-client.js +0 -211
- package/packages/app-core/src/shell/AppWindowRenderer.d.ts +0 -17
- package/packages/app-core/src/shell/AppWindowRenderer.d.ts.map +0 -1
- package/packages/app-core/src/shell/AppWindowRenderer.js +0 -319
- package/packages/app-core/src/shell/DesktopOnboardingRuntime.d.ts +0 -9
- package/packages/app-core/src/shell/DesktopOnboardingRuntime.d.ts.map +0 -1
- package/packages/app-core/src/shell/DesktopOnboardingRuntime.js +0 -10
- package/packages/app-core/src/shell/DesktopSurfaceNavigationRuntime.d.ts +0 -2
- package/packages/app-core/src/shell/DesktopSurfaceNavigationRuntime.d.ts.map +0 -1
- package/packages/app-core/src/shell/DesktopSurfaceNavigationRuntime.js +0 -48
- package/packages/app-core/src/shell/DesktopTrayRuntime.d.ts +0 -11
- package/packages/app-core/src/shell/DesktopTrayRuntime.d.ts.map +0 -1
- package/packages/app-core/src/shell/DesktopTrayRuntime.js +0 -265
- package/packages/app-core/src/shell/DetachedShellRoot.d.ts +0 -10
- package/packages/app-core/src/shell/DetachedShellRoot.d.ts.map +0 -1
- package/packages/app-core/src/shell/DetachedShellRoot.js +0 -114
- package/packages/app-core/src/shell/index.d.ts +0 -6
- package/packages/app-core/src/shell/index.d.ts.map +0 -1
- package/packages/app-core/src/shell/index.js +0 -5
- package/packages/app-core/src/state/AppContext.d.ts +0 -13
- package/packages/app-core/src/state/AppContext.d.ts.map +0 -1
- package/packages/app-core/src/state/AppContext.js +0 -1896
- package/packages/app-core/src/state/ChatComposerContext.d.ts +0 -28
- package/packages/app-core/src/state/ChatComposerContext.d.ts.map +0 -1
- package/packages/app-core/src/state/ChatComposerContext.js +0 -30
- package/packages/app-core/src/state/CompanionSceneConfigContext.d.ts +0 -27
- package/packages/app-core/src/state/CompanionSceneConfigContext.d.ts.map +0 -1
- package/packages/app-core/src/state/CompanionSceneConfigContext.js +0 -32
- package/packages/app-core/src/state/PtySessionsContext.d.ts +0 -15
- package/packages/app-core/src/state/PtySessionsContext.d.ts.map +0 -1
- package/packages/app-core/src/state/PtySessionsContext.js +0 -15
- package/packages/app-core/src/state/TranslationContext.d.ts +0 -29
- package/packages/app-core/src/state/TranslationContext.d.ts.map +0 -1
- package/packages/app-core/src/state/TranslationContext.js +0 -61
- package/packages/app-core/src/state/agent-profile-types.d.ts +0 -29
- package/packages/app-core/src/state/agent-profile-types.d.ts.map +0 -1
- package/packages/app-core/src/state/agent-profile-types.js +0 -1
- package/packages/app-core/src/state/agent-profiles.d.ts +0 -16
- package/packages/app-core/src/state/agent-profiles.d.ts.map +0 -1
- package/packages/app-core/src/state/agent-profiles.js +0 -119
- package/packages/app-core/src/state/agent-startup-timing.d.ts +0 -15
- package/packages/app-core/src/state/agent-startup-timing.d.ts.map +0 -1
- package/packages/app-core/src/state/agent-startup-timing.js +0 -28
- package/packages/app-core/src/state/chat-conversation-guards.d.ts +0 -6
- package/packages/app-core/src/state/chat-conversation-guards.d.ts.map +0 -1
- package/packages/app-core/src/state/chat-conversation-guards.js +0 -47
- package/packages/app-core/src/state/complete-reset-local-state-after-wipe.d.ts +0 -30
- package/packages/app-core/src/state/complete-reset-local-state-after-wipe.d.ts.map +0 -1
- package/packages/app-core/src/state/complete-reset-local-state-after-wipe.js +0 -24
- package/packages/app-core/src/state/config-readers.d.ts +0 -7
- package/packages/app-core/src/state/config-readers.d.ts.map +0 -1
- package/packages/app-core/src/state/config-readers.js +0 -8
- package/packages/app-core/src/state/connector-deeplink.d.ts +0 -30
- package/packages/app-core/src/state/connector-deeplink.d.ts.map +0 -1
- package/packages/app-core/src/state/connector-deeplink.js +0 -46
- package/packages/app-core/src/state/handle-reset-applied-from-main.d.ts +0 -31
- package/packages/app-core/src/state/handle-reset-applied-from-main.d.ts.map +0 -1
- package/packages/app-core/src/state/handle-reset-applied-from-main.js +0 -38
- package/packages/app-core/src/state/index.d.ts +0 -14
- package/packages/app-core/src/state/index.d.ts.map +0 -1
- package/packages/app-core/src/state/index.js +0 -13
- package/packages/app-core/src/state/internal.d.ts +0 -9
- package/packages/app-core/src/state/internal.d.ts.map +0 -1
- package/packages/app-core/src/state/internal.js +0 -9
- package/packages/app-core/src/state/navigation-events.d.ts +0 -12
- package/packages/app-core/src/state/navigation-events.d.ts.map +0 -1
- package/packages/app-core/src/state/navigation-events.js +0 -25
- package/packages/app-core/src/state/onboarding-bootstrap.d.ts +0 -28
- package/packages/app-core/src/state/onboarding-bootstrap.d.ts.map +0 -1
- package/packages/app-core/src/state/onboarding-bootstrap.js +0 -76
- package/packages/app-core/src/state/onboarding-resume.d.ts +0 -9
- package/packages/app-core/src/state/onboarding-resume.d.ts.map +0 -1
- package/packages/app-core/src/state/onboarding-resume.js +0 -93
- package/packages/app-core/src/state/parsers.d.ts +0 -33
- package/packages/app-core/src/state/parsers.d.ts.map +0 -1
- package/packages/app-core/src/state/parsers.js +0 -354
- package/packages/app-core/src/state/persistence.d.ts +0 -111
- package/packages/app-core/src/state/persistence.d.ts.map +0 -1
- package/packages/app-core/src/state/persistence.js +0 -749
- package/packages/app-core/src/state/shell-routing.d.ts +0 -12
- package/packages/app-core/src/state/shell-routing.d.ts.map +0 -1
- package/packages/app-core/src/state/shell-routing.js +0 -21
- package/packages/app-core/src/state/startup-coordinator.d.ts +0 -137
- package/packages/app-core/src/state/startup-coordinator.d.ts.map +0 -1
- package/packages/app-core/src/state/startup-coordinator.js +0 -247
- package/packages/app-core/src/state/startup-phase-hydrate.d.ts +0 -74
- package/packages/app-core/src/state/startup-phase-hydrate.d.ts.map +0 -1
- package/packages/app-core/src/state/startup-phase-hydrate.js +0 -494
- package/packages/app-core/src/state/startup-phase-poll.d.ts +0 -61
- package/packages/app-core/src/state/startup-phase-poll.d.ts.map +0 -1
- package/packages/app-core/src/state/startup-phase-poll.js +0 -272
- package/packages/app-core/src/state/startup-phase-restore.d.ts +0 -49
- package/packages/app-core/src/state/startup-phase-restore.d.ts.map +0 -1
- package/packages/app-core/src/state/startup-phase-restore.js +0 -145
- package/packages/app-core/src/state/startup-phase-runtime.d.ts +0 -34
- package/packages/app-core/src/state/startup-phase-runtime.d.ts.map +0 -1
- package/packages/app-core/src/state/startup-phase-runtime.js +0 -126
- package/packages/app-core/src/state/types.d.ts +0 -645
- package/packages/app-core/src/state/types.d.ts.map +0 -1
- package/packages/app-core/src/state/types.js +0 -62
- package/packages/app-core/src/state/ui-preferences.d.ts +0 -3
- package/packages/app-core/src/state/ui-preferences.d.ts.map +0 -1
- package/packages/app-core/src/state/ui-preferences.js +0 -1
- package/packages/app-core/src/state/useApp.d.ts +0 -4
- package/packages/app-core/src/state/useApp.d.ts.map +0 -1
- package/packages/app-core/src/state/useApp.js +0 -32
- package/packages/app-core/src/state/useCharacterState.d.ts +0 -52
- package/packages/app-core/src/state/useCharacterState.d.ts.map +0 -1
- package/packages/app-core/src/state/useCharacterState.js +0 -208
- package/packages/app-core/src/state/useChatCallbacks.d.ts +0 -168
- package/packages/app-core/src/state/useChatCallbacks.d.ts.map +0 -1
- package/packages/app-core/src/state/useChatCallbacks.js +0 -773
- package/packages/app-core/src/state/useChatLifecycle.d.ts +0 -104
- package/packages/app-core/src/state/useChatLifecycle.d.ts.map +0 -1
- package/packages/app-core/src/state/useChatLifecycle.js +0 -584
- package/packages/app-core/src/state/useChatSend.d.ts +0 -81
- package/packages/app-core/src/state/useChatSend.d.ts.map +0 -1
- package/packages/app-core/src/state/useChatSend.js +0 -924
- package/packages/app-core/src/state/useChatState.d.ts +0 -144
- package/packages/app-core/src/state/useChatState.d.ts.map +0 -1
- package/packages/app-core/src/state/useChatState.js +0 -251
- package/packages/app-core/src/state/useCloudState.d.ts +0 -71
- package/packages/app-core/src/state/useCloudState.d.ts.map +0 -1
- package/packages/app-core/src/state/useCloudState.js +0 -561
- package/packages/app-core/src/state/useDataLoaders.d.ts +0 -88
- package/packages/app-core/src/state/useDataLoaders.d.ts.map +0 -1
- package/packages/app-core/src/state/useDataLoaders.js +0 -394
- package/packages/app-core/src/state/useDisplayPreferences.d.ts +0 -23
- package/packages/app-core/src/state/useDisplayPreferences.d.ts.map +0 -1
- package/packages/app-core/src/state/useDisplayPreferences.js +0 -64
- package/packages/app-core/src/state/useExportImportState.d.ts +0 -32
- package/packages/app-core/src/state/useExportImportState.d.ts.map +0 -1
- package/packages/app-core/src/state/useExportImportState.js +0 -140
- package/packages/app-core/src/state/useLifecycleState.d.ts +0 -123
- package/packages/app-core/src/state/useLifecycleState.d.ts.map +0 -1
- package/packages/app-core/src/state/useLifecycleState.js +0 -258
- package/packages/app-core/src/state/useLogsState.d.ts +0 -24
- package/packages/app-core/src/state/useLogsState.d.ts.map +0 -1
- package/packages/app-core/src/state/useLogsState.js +0 -87
- package/packages/app-core/src/state/useMiscUiState.d.ts +0 -87
- package/packages/app-core/src/state/useMiscUiState.d.ts.map +0 -1
- package/packages/app-core/src/state/useMiscUiState.js +0 -150
- package/packages/app-core/src/state/useNavigationState.d.ts +0 -29
- package/packages/app-core/src/state/useNavigationState.d.ts.map +0 -1
- package/packages/app-core/src/state/useNavigationState.js +0 -122
- package/packages/app-core/src/state/useOnboardingCallbacks.d.ts +0 -100
- package/packages/app-core/src/state/useOnboardingCallbacks.d.ts.map +0 -1
- package/packages/app-core/src/state/useOnboardingCallbacks.js +0 -792
- package/packages/app-core/src/state/useOnboardingCompat.d.ts +0 -61
- package/packages/app-core/src/state/useOnboardingCompat.d.ts.map +0 -1
- package/packages/app-core/src/state/useOnboardingCompat.js +0 -110
- package/packages/app-core/src/state/useOnboardingState.d.ts +0 -126
- package/packages/app-core/src/state/useOnboardingState.d.ts.map +0 -1
- package/packages/app-core/src/state/useOnboardingState.js +0 -263
- package/packages/app-core/src/state/usePairingState.d.ts +0 -21
- package/packages/app-core/src/state/usePairingState.d.ts.map +0 -1
- package/packages/app-core/src/state/usePairingState.js +0 -60
- package/packages/app-core/src/state/usePluginsSkillsState.d.ts +0 -131
- package/packages/app-core/src/state/usePluginsSkillsState.d.ts.map +0 -1
- package/packages/app-core/src/state/usePluginsSkillsState.js +0 -572
- package/packages/app-core/src/state/useStartupCoordinator.d.ts +0 -40
- package/packages/app-core/src/state/useStartupCoordinator.d.ts.map +0 -1
- package/packages/app-core/src/state/useStartupCoordinator.js +0 -183
- package/packages/app-core/src/state/useTriggersState.d.ts +0 -29
- package/packages/app-core/src/state/useTriggersState.d.ts.map +0 -1
- package/packages/app-core/src/state/useTriggersState.js +0 -198
- package/packages/app-core/src/state/useVincentState.d.ts +0 -3
- package/packages/app-core/src/state/useVincentState.d.ts.map +0 -1
- package/packages/app-core/src/state/useVincentState.js +0 -13
- package/packages/app-core/src/state/useWalletState.d.ts +0 -97
- package/packages/app-core/src/state/useWalletState.d.ts.map +0 -1
- package/packages/app-core/src/state/useWalletState.js +0 -533
- package/packages/app-core/src/state/vrm.d.ts +0 -2
- package/packages/app-core/src/state/vrm.d.ts.map +0 -1
- package/packages/app-core/src/state/vrm.js +0 -1
- package/packages/app-core/src/test-support/test-helpers.d.ts +0 -111
- package/packages/app-core/src/test-support/test-helpers.d.ts.map +0 -1
- package/packages/app-core/src/test-support/test-helpers.js +0 -417
- package/packages/app-core/src/themes/apply-theme.d.ts +0 -24
- package/packages/app-core/src/themes/apply-theme.d.ts.map +0 -1
- package/packages/app-core/src/themes/apply-theme.js +0 -130
- package/packages/app-core/src/types/index.d.ts +0 -658
- package/packages/app-core/src/types/index.d.ts.map +0 -1
- package/packages/app-core/src/types/index.js +0 -4
- package/packages/app-core/src/utils/asset-url.d.ts +0 -24
- package/packages/app-core/src/utils/asset-url.d.ts.map +0 -1
- package/packages/app-core/src/utils/asset-url.js +0 -150
- package/packages/app-core/src/utils/assistant-text.d.ts +0 -2
- package/packages/app-core/src/utils/assistant-text.d.ts.map +0 -1
- package/packages/app-core/src/utils/assistant-text.js +0 -167
- package/packages/app-core/src/utils/browser-tabs-renderer-registry.d.ts +0 -56
- package/packages/app-core/src/utils/browser-tabs-renderer-registry.d.ts.map +0 -1
- package/packages/app-core/src/utils/browser-tabs-renderer-registry.js +0 -738
- package/packages/app-core/src/utils/character-message-examples.d.ts +0 -7
- package/packages/app-core/src/utils/character-message-examples.d.ts.map +0 -1
- package/packages/app-core/src/utils/character-message-examples.js +0 -122
- package/packages/app-core/src/utils/clipboard.d.ts +0 -2
- package/packages/app-core/src/utils/clipboard.d.ts.map +0 -1
- package/packages/app-core/src/utils/clipboard.js +0 -38
- package/packages/app-core/src/utils/cloud-status.d.ts +0 -3
- package/packages/app-core/src/utils/cloud-status.d.ts.map +0 -1
- package/packages/app-core/src/utils/cloud-status.js +0 -10
- package/packages/app-core/src/utils/desktop-bug-report.d.ts +0 -35
- package/packages/app-core/src/utils/desktop-bug-report.d.ts.map +0 -1
- package/packages/app-core/src/utils/desktop-bug-report.js +0 -47
- package/packages/app-core/src/utils/desktop-dialogs.d.ts +0 -24
- package/packages/app-core/src/utils/desktop-dialogs.d.ts.map +0 -1
- package/packages/app-core/src/utils/desktop-dialogs.js +0 -149
- package/packages/app-core/src/utils/desktop-workspace.d.ts +0 -86
- package/packages/app-core/src/utils/desktop-workspace.d.ts.map +0 -1
- package/packages/app-core/src/utils/desktop-workspace.js +0 -162
- package/packages/app-core/src/utils/eliza-cloud-model-route.d.ts +0 -3
- package/packages/app-core/src/utils/eliza-cloud-model-route.d.ts.map +0 -1
- package/packages/app-core/src/utils/eliza-cloud-model-route.js +0 -9
- package/packages/app-core/src/utils/eliza-globals.d.ts +0 -15
- package/packages/app-core/src/utils/eliza-globals.d.ts.map +0 -1
- package/packages/app-core/src/utils/eliza-globals.js +0 -50
- package/packages/app-core/src/utils/errors.d.ts +0 -13
- package/packages/app-core/src/utils/errors.d.ts.map +0 -1
- package/packages/app-core/src/utils/errors.js +0 -25
- package/packages/app-core/src/utils/format.d.ts +0 -66
- package/packages/app-core/src/utils/format.d.ts.map +0 -1
- package/packages/app-core/src/utils/format.js +0 -121
- package/packages/app-core/src/utils/index.d.ts +0 -15
- package/packages/app-core/src/utils/index.d.ts.map +0 -1
- package/packages/app-core/src/utils/index.js +0 -14
- package/packages/app-core/src/utils/knowledge-upload-image.d.ts +0 -27
- package/packages/app-core/src/utils/knowledge-upload-image.d.ts.map +0 -1
- package/packages/app-core/src/utils/knowledge-upload-image.js +0 -146
- package/packages/app-core/src/utils/labels.d.ts +0 -6
- package/packages/app-core/src/utils/labels.d.ts.map +0 -1
- package/packages/app-core/src/utils/labels.js +0 -41
- package/packages/app-core/src/utils/name-tokens.d.ts +0 -24
- package/packages/app-core/src/utils/name-tokens.d.ts.map +0 -1
- package/packages/app-core/src/utils/name-tokens.js +0 -36
- package/packages/app-core/src/utils/number-parsing.d.ts +0 -26
- package/packages/app-core/src/utils/number-parsing.d.ts.map +0 -1
- package/packages/app-core/src/utils/number-parsing.js +0 -51
- package/packages/app-core/src/utils/openExternalUrl.d.ts +0 -21
- package/packages/app-core/src/utils/openExternalUrl.d.ts.map +0 -1
- package/packages/app-core/src/utils/openExternalUrl.js +0 -67
- package/packages/app-core/src/utils/owner-name.d.ts +0 -3
- package/packages/app-core/src/utils/owner-name.d.ts.map +0 -1
- package/packages/app-core/src/utils/owner-name.js +0 -7
- package/packages/app-core/src/utils/streaming-text.d.ts +0 -9
- package/packages/app-core/src/utils/streaming-text.d.ts.map +0 -1
- package/packages/app-core/src/utils/streaming-text.js +0 -112
- package/packages/app-core/src/utils/subscription-auth.d.ts +0 -9
- package/packages/app-core/src/utils/subscription-auth.d.ts.map +0 -1
- package/packages/app-core/src/utils/subscription-auth.js +0 -48
- package/packages/app-core/src/utils/trajectory-format.d.ts +0 -6
- package/packages/app-core/src/utils/trajectory-format.d.ts.map +0 -1
- package/packages/app-core/src/utils/trajectory-format.js +0 -43
- package/packages/app-core/src/voice/character-voice-config.d.ts +0 -9
- package/packages/app-core/src/voice/character-voice-config.d.ts.map +0 -1
- package/packages/app-core/src/voice/character-voice-config.js +0 -83
- package/packages/app-core/src/voice/index.d.ts +0 -3
- package/packages/app-core/src/voice/index.d.ts.map +0 -1
- package/packages/app-core/src/voice/index.js +0 -2
- package/packages/app-core/src/voice/types.d.ts +0 -40
- package/packages/app-core/src/voice/types.d.ts.map +0 -1
- package/packages/app-core/src/voice/types.js +0 -295
- package/packages/app-core/src/wallet-rpc.d.ts +0 -9
- package/packages/app-core/src/wallet-rpc.d.ts.map +0 -1
- package/packages/app-core/src/wallet-rpc.js +0 -133
- package/packages/app-core/src/widgets/WidgetHost.d.ts +0 -32
- package/packages/app-core/src/widgets/WidgetHost.d.ts.map +0 -1
- package/packages/app-core/src/widgets/WidgetHost.js +0 -57
- package/packages/app-core/src/widgets/index.d.ts +0 -6
- package/packages/app-core/src/widgets/index.d.ts.map +0 -1
- package/packages/app-core/src/widgets/index.js +0 -2
- package/packages/app-core/src/widgets/registry.d.ts +0 -58
- package/packages/app-core/src/widgets/registry.d.ts.map +0 -1
- package/packages/app-core/src/widgets/registry.js +0 -221
- package/packages/app-core/src/widgets/types.d.ts +0 -50
- package/packages/app-core/src/widgets/types.d.ts.map +0 -1
- package/packages/app-core/src/widgets/types.js +0 -1
- package/packages/app-core/src/widgets/useChatSidebarVisibility.d.ts +0 -16
- package/packages/app-core/src/widgets/useChatSidebarVisibility.d.ts.map +0 -1
- package/packages/app-core/src/widgets/useChatSidebarVisibility.js +0 -54
- package/packages/app-core/src/widgets/visibility.d.ts +0 -55
- package/packages/app-core/src/widgets/visibility.d.ts.map +0 -1
- package/packages/app-core/src/widgets/visibility.js +0 -90
- package/packages/ui/src/components/composites/chat/chat-attachment-strip.d.ts +0 -9
- package/packages/ui/src/components/composites/chat/chat-attachment-strip.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-attachment-strip.js +0 -8
- package/packages/ui/src/components/composites/chat/chat-bubble.d.ts +0 -14
- package/packages/ui/src/components/composites/chat/chat-bubble.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-bubble.js +0 -7
- package/packages/ui/src/components/composites/chat/chat-composer-shell.d.ts +0 -14
- package/packages/ui/src/components/composites/chat/chat-composer-shell.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-composer-shell.js +0 -25
- package/packages/ui/src/components/composites/chat/chat-composer.d.ts +0 -45
- package/packages/ui/src/components/composites/chat/chat-composer.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-composer.js +0 -297
- package/packages/ui/src/components/composites/chat/chat-conversation-item.d.ts +0 -21
- package/packages/ui/src/components/composites/chat/chat-conversation-item.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-conversation-item.js +0 -118
- package/packages/ui/src/components/composites/chat/chat-conversation-rename-dialog.d.ts +0 -22
- package/packages/ui/src/components/composites/chat/chat-conversation-rename-dialog.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-conversation-rename-dialog.js +0 -14
- package/packages/ui/src/components/composites/chat/chat-empty-state.d.ts +0 -19
- package/packages/ui/src/components/composites/chat/chat-empty-state.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-empty-state.js +0 -8
- package/packages/ui/src/components/composites/chat/chat-message-actions.d.ts +0 -14
- package/packages/ui/src/components/composites/chat/chat-message-actions.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-message-actions.js +0 -10
- package/packages/ui/src/components/composites/chat/chat-message.d.ts +0 -18
- package/packages/ui/src/components/composites/chat/chat-message.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-message.js +0 -260
- package/packages/ui/src/components/composites/chat/chat-sidebar.d.ts +0 -54
- package/packages/ui/src/components/composites/chat/chat-sidebar.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-sidebar.js +0 -64
- package/packages/ui/src/components/composites/chat/chat-source.d.ts +0 -23
- package/packages/ui/src/components/composites/chat/chat-source.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-source.js +0 -60
- package/packages/ui/src/components/composites/chat/chat-thread-layout.d.ts +0 -22
- package/packages/ui/src/components/composites/chat/chat-thread-layout.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-thread-layout.js +0 -37
- package/packages/ui/src/components/composites/chat/chat-transcript.d.ts +0 -19
- package/packages/ui/src/components/composites/chat/chat-transcript.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-transcript.js +0 -88
- package/packages/ui/src/components/composites/chat/chat-types.d.ts +0 -91
- package/packages/ui/src/components/composites/chat/chat-types.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-types.js +0 -1
- package/packages/ui/src/components/composites/chat/chat-typing-indicator.d.ts +0 -10
- package/packages/ui/src/components/composites/chat/chat-typing-indicator.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/chat-typing-indicator.js +0 -10
- package/packages/ui/src/components/composites/chat/create-task-popover.d.ts +0 -13
- package/packages/ui/src/components/composites/chat/create-task-popover.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/create-task-popover.js +0 -44
- package/packages/ui/src/components/composites/chat/index.d.ts +0 -17
- package/packages/ui/src/components/composites/chat/index.d.ts.map +0 -1
- package/packages/ui/src/components/composites/chat/index.js +0 -16
- package/packages/ui/src/components/composites/form-field/form-field.d.ts +0 -14
- package/packages/ui/src/components/composites/form-field/form-field.d.ts.map +0 -1
- package/packages/ui/src/components/composites/form-field/form-field.js +0 -8
- package/packages/ui/src/components/composites/form-field/index.d.ts +0 -2
- package/packages/ui/src/components/composites/form-field/index.d.ts.map +0 -1
- package/packages/ui/src/components/composites/form-field/index.js +0 -1
- package/packages/ui/src/components/composites/index.d.ts +0 -27
- package/packages/ui/src/components/composites/index.d.ts.map +0 -1
- package/packages/ui/src/components/composites/index.js +0 -26
- package/packages/ui/src/components/composites/page-panel/index.d.ts +0 -29
- package/packages/ui/src/components/composites/page-panel/index.d.ts.map +0 -1
- package/packages/ui/src/components/composites/page-panel/index.js +0 -28
- package/packages/ui/src/components/composites/page-panel/page-panel-collapsible-section.d.ts +0 -4
- package/packages/ui/src/components/composites/page-panel/page-panel-collapsible-section.d.ts.map +0 -1
- package/packages/ui/src/components/composites/page-panel/page-panel-collapsible-section.js +0 -60
- package/packages/ui/src/components/composites/page-panel/page-panel-empty.d.ts +0 -3
- package/packages/ui/src/components/composites/page-panel/page-panel-empty.d.ts.map +0 -1
- package/packages/ui/src/components/composites/page-panel/page-panel-empty.js +0 -15
- package/packages/ui/src/components/composites/page-panel/page-panel-frame.d.ts +0 -5
- package/packages/ui/src/components/composites/page-panel/page-panel-frame.d.ts.map +0 -1
- package/packages/ui/src/components/composites/page-panel/page-panel-frame.js +0 -9
- package/packages/ui/src/components/composites/page-panel/page-panel-header.d.ts +0 -7
- package/packages/ui/src/components/composites/page-panel/page-panel-header.d.ts.map +0 -1
- package/packages/ui/src/components/composites/page-panel/page-panel-header.js +0 -30
- package/packages/ui/src/components/composites/page-panel/page-panel-loading.d.ts +0 -3
- package/packages/ui/src/components/composites/page-panel/page-panel-loading.d.ts.map +0 -1
- package/packages/ui/src/components/composites/page-panel/page-panel-loading.js +0 -13
- package/packages/ui/src/components/composites/page-panel/page-panel-root.d.ts +0 -7
- package/packages/ui/src/components/composites/page-panel/page-panel-root.d.ts.map +0 -1
- package/packages/ui/src/components/composites/page-panel/page-panel-root.js +0 -17
- package/packages/ui/src/components/composites/page-panel/page-panel-toolbar.d.ts +0 -4
- package/packages/ui/src/components/composites/page-panel/page-panel-toolbar.d.ts.map +0 -1
- package/packages/ui/src/components/composites/page-panel/page-panel-toolbar.js +0 -6
- package/packages/ui/src/components/composites/page-panel/page-panel-types.d.ts +0 -66
- package/packages/ui/src/components/composites/page-panel/page-panel-types.d.ts.map +0 -1
- package/packages/ui/src/components/composites/page-panel/page-panel-types.js +0 -1
- package/packages/ui/src/components/composites/search/index.d.ts +0 -3
- package/packages/ui/src/components/composites/search/index.d.ts.map +0 -1
- package/packages/ui/src/components/composites/search/index.js +0 -2
- package/packages/ui/src/components/composites/search/search-input.d.ts +0 -11
- package/packages/ui/src/components/composites/search/search-input.d.ts.map +0 -1
- package/packages/ui/src/components/composites/search/search-input.js +0 -10
- package/packages/ui/src/components/composites/search/searchbar.d.ts +0 -18
- package/packages/ui/src/components/composites/search/searchbar.d.ts.map +0 -1
- package/packages/ui/src/components/composites/search/searchbar.js +0 -25
- package/packages/ui/src/components/composites/sidebar/index.d.ts +0 -11
- package/packages/ui/src/components/composites/sidebar/index.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/index.js +0 -10
- package/packages/ui/src/components/composites/sidebar/sidebar-auto-rail.d.ts +0 -15
- package/packages/ui/src/components/composites/sidebar/sidebar-auto-rail.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-auto-rail.js +0 -292
- package/packages/ui/src/components/composites/sidebar/sidebar-body.d.ts +0 -4
- package/packages/ui/src/components/composites/sidebar/sidebar-body.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-body.js +0 -7
- package/packages/ui/src/components/composites/sidebar/sidebar-collapsed-rail.d.ts +0 -11
- package/packages/ui/src/components/composites/sidebar/sidebar-collapsed-rail.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-collapsed-rail.js +0 -13
- package/packages/ui/src/components/composites/sidebar/sidebar-content.d.ts +0 -78
- package/packages/ui/src/components/composites/sidebar/sidebar-content.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-content.js +0 -94
- package/packages/ui/src/components/composites/sidebar/sidebar-filter-bar.d.ts +0 -3
- package/packages/ui/src/components/composites/sidebar/sidebar-filter-bar.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-filter-bar.js +0 -14
- package/packages/ui/src/components/composites/sidebar/sidebar-header-stack.d.ts +0 -3
- package/packages/ui/src/components/composites/sidebar/sidebar-header-stack.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-header-stack.js +0 -6
- package/packages/ui/src/components/composites/sidebar/sidebar-header.d.ts +0 -9
- package/packages/ui/src/components/composites/sidebar/sidebar-header.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-header.js +0 -6
- package/packages/ui/src/components/composites/sidebar/sidebar-panel.d.ts +0 -3
- package/packages/ui/src/components/composites/sidebar/sidebar-panel.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-panel.js +0 -18
- package/packages/ui/src/components/composites/sidebar/sidebar-root.d.ts +0 -4
- package/packages/ui/src/components/composites/sidebar/sidebar-root.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-root.js +0 -491
- package/packages/ui/src/components/composites/sidebar/sidebar-scroll-region.d.ts +0 -3
- package/packages/ui/src/components/composites/sidebar/sidebar-scroll-region.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-scroll-region.js +0 -18
- package/packages/ui/src/components/composites/sidebar/sidebar-types.d.ts +0 -77
- package/packages/ui/src/components/composites/sidebar/sidebar-types.d.ts.map +0 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-types.js +0 -1
- package/packages/ui/src/components/composites/skills/index.d.ts +0 -2
- package/packages/ui/src/components/composites/skills/index.d.ts.map +0 -1
- package/packages/ui/src/components/composites/skills/index.js +0 -1
- package/packages/ui/src/components/composites/skills/skill-sidebar-item.d.ts +0 -16
- package/packages/ui/src/components/composites/skills/skill-sidebar-item.d.ts.map +0 -1
- package/packages/ui/src/components/composites/skills/skill-sidebar-item.js +0 -7
- package/packages/ui/src/components/composites/trajectories/index.d.ts +0 -5
- package/packages/ui/src/components/composites/trajectories/index.d.ts.map +0 -1
- package/packages/ui/src/components/composites/trajectories/index.js +0 -4
- package/packages/ui/src/components/composites/trajectories/trajectory-code-block.d.ts +0 -13
- package/packages/ui/src/components/composites/trajectories/trajectory-code-block.d.ts.map +0 -1
- package/packages/ui/src/components/composites/trajectories/trajectory-code-block.js +0 -13
- package/packages/ui/src/components/composites/trajectories/trajectory-llm-call-card.d.ts +0 -34
- package/packages/ui/src/components/composites/trajectories/trajectory-llm-call-card.d.ts.map +0 -1
- package/packages/ui/src/components/composites/trajectories/trajectory-llm-call-card.js +0 -14
- package/packages/ui/src/components/composites/trajectories/trajectory-pipeline-graph.d.ts +0 -26
- package/packages/ui/src/components/composites/trajectories/trajectory-pipeline-graph.d.ts.map +0 -1
- package/packages/ui/src/components/composites/trajectories/trajectory-pipeline-graph.js +0 -46
- package/packages/ui/src/components/composites/trajectories/trajectory-sidebar-item.d.ts +0 -15
- package/packages/ui/src/components/composites/trajectories/trajectory-sidebar-item.d.ts.map +0 -1
- package/packages/ui/src/components/composites/trajectories/trajectory-sidebar-item.js +0 -8
- package/packages/ui/src/components/primitives/index.d.ts +0 -26
- package/packages/ui/src/components/primitives/index.d.ts.map +0 -1
- package/packages/ui/src/components/primitives/index.js +0 -25
- package/packages/ui/src/components/ui/admin-dialog.d.ts +0 -50
- package/packages/ui/src/components/ui/admin-dialog.d.ts.map +0 -1
- package/packages/ui/src/components/ui/admin-dialog.js +0 -48
- package/packages/ui/src/components/ui/badge.d.ts +0 -10
- package/packages/ui/src/components/ui/badge.d.ts.map +0 -1
- package/packages/ui/src/components/ui/badge.js +0 -21
- package/packages/ui/src/components/ui/banner.d.ts +0 -17
- package/packages/ui/src/components/ui/banner.d.ts.map +0 -1
- package/packages/ui/src/components/ui/banner.js +0 -29
- package/packages/ui/src/components/ui/button.d.ts +0 -13
- package/packages/ui/src/components/ui/button.d.ts.map +0 -1
- package/packages/ui/src/components/ui/button.js +0 -40
- package/packages/ui/src/components/ui/card.d.ts +0 -15
- package/packages/ui/src/components/ui/card.d.ts.map +0 -1
- package/packages/ui/src/components/ui/card.js +0 -32
- package/packages/ui/src/components/ui/checkbox.d.ts +0 -5
- package/packages/ui/src/components/ui/checkbox.d.ts.map +0 -1
- package/packages/ui/src/components/ui/checkbox.js +0 -8
- package/packages/ui/src/components/ui/confirm-delete.d.ts +0 -20
- package/packages/ui/src/components/ui/confirm-delete.d.ts.map +0 -1
- package/packages/ui/src/components/ui/confirm-delete.js +0 -16
- package/packages/ui/src/components/ui/confirm-dialog.d.ts +0 -49
- package/packages/ui/src/components/ui/confirm-dialog.d.ts.map +0 -1
- package/packages/ui/src/components/ui/confirm-dialog.js +0 -90
- package/packages/ui/src/components/ui/connection-status.d.ts +0 -15
- package/packages/ui/src/components/ui/connection-status.d.ts.map +0 -1
- package/packages/ui/src/components/ui/connection-status.js +0 -25
- package/packages/ui/src/components/ui/copy-button.d.ts +0 -13
- package/packages/ui/src/components/ui/copy-button.d.ts.map +0 -1
- package/packages/ui/src/components/ui/copy-button.js +0 -14
- package/packages/ui/src/components/ui/dialog.d.ts +0 -25
- package/packages/ui/src/components/ui/dialog.d.ts.map +0 -1
- package/packages/ui/src/components/ui/dialog.js +0 -23
- package/packages/ui/src/components/ui/drawer-sheet.d.ts +0 -19
- package/packages/ui/src/components/ui/drawer-sheet.d.ts.map +0 -1
- package/packages/ui/src/components/ui/drawer-sheet.js +0 -21
- package/packages/ui/src/components/ui/dropdown-menu.d.ts +0 -28
- package/packages/ui/src/components/ui/dropdown-menu.d.ts.map +0 -1
- package/packages/ui/src/components/ui/dropdown-menu.js +0 -35
- package/packages/ui/src/components/ui/empty-state.d.ts +0 -13
- package/packages/ui/src/components/ui/empty-state.d.ts.map +0 -1
- package/packages/ui/src/components/ui/empty-state.js +0 -5
- package/packages/ui/src/components/ui/error-boundary.d.ts +0 -22
- package/packages/ui/src/components/ui/error-boundary.d.ts.map +0 -1
- package/packages/ui/src/components/ui/error-boundary.js +0 -27
- package/packages/ui/src/components/ui/field-switch.d.ts +0 -8
- package/packages/ui/src/components/ui/field-switch.d.ts.map +0 -1
- package/packages/ui/src/components/ui/field-switch.js +0 -10
- package/packages/ui/src/components/ui/field.d.ts +0 -12
- package/packages/ui/src/components/ui/field.d.ts.map +0 -1
- package/packages/ui/src/components/ui/field.js +0 -21
- package/packages/ui/src/components/ui/form-select.d.ts +0 -14
- package/packages/ui/src/components/ui/form-select.d.ts.map +0 -1
- package/packages/ui/src/components/ui/form-select.js +0 -9
- package/packages/ui/src/components/ui/grid.d.ts +0 -10
- package/packages/ui/src/components/ui/grid.d.ts.map +0 -1
- package/packages/ui/src/components/ui/grid.js +0 -31
- package/packages/ui/src/components/ui/input.d.ts +0 -12
- package/packages/ui/src/components/ui/input.d.ts.map +0 -1
- package/packages/ui/src/components/ui/input.js +0 -29
- package/packages/ui/src/components/ui/label.d.ts +0 -5
- package/packages/ui/src/components/ui/label.d.ts.map +0 -1
- package/packages/ui/src/components/ui/label.js +0 -10
- package/packages/ui/src/components/ui/new-action-button.d.ts +0 -7
- package/packages/ui/src/components/ui/new-action-button.d.ts.map +0 -1
- package/packages/ui/src/components/ui/new-action-button.js +0 -13
- package/packages/ui/src/components/ui/popover.d.ts +0 -7
- package/packages/ui/src/components/ui/popover.d.ts.map +0 -1
- package/packages/ui/src/components/ui/popover.js +0 -9
- package/packages/ui/src/components/ui/save-footer.d.ts +0 -13
- package/packages/ui/src/components/ui/save-footer.d.ts.map +0 -1
- package/packages/ui/src/components/ui/save-footer.js +0 -10
- package/packages/ui/src/components/ui/section-card.d.ts +0 -15
- package/packages/ui/src/components/ui/section-card.d.ts.map +0 -1
- package/packages/ui/src/components/ui/section-card.js +0 -10
- package/packages/ui/src/components/ui/segmented-control.d.ts +0 -18
- package/packages/ui/src/components/ui/segmented-control.d.ts.map +0 -1
- package/packages/ui/src/components/ui/segmented-control.js +0 -10
- package/packages/ui/src/components/ui/select.d.ts +0 -14
- package/packages/ui/src/components/ui/select.d.ts.map +0 -1
- package/packages/ui/src/components/ui/select.js +0 -27
- package/packages/ui/src/components/ui/separator.d.ts +0 -5
- package/packages/ui/src/components/ui/separator.d.ts.map +0 -1
- package/packages/ui/src/components/ui/separator.js +0 -7
- package/packages/ui/src/components/ui/settings-controls.d.ts +0 -41
- package/packages/ui/src/components/ui/settings-controls.d.ts.map +0 -1
- package/packages/ui/src/components/ui/settings-controls.js +0 -60
- package/packages/ui/src/components/ui/skeleton.d.ts +0 -17
- package/packages/ui/src/components/ui/skeleton.d.ts.map +0 -1
- package/packages/ui/src/components/ui/skeleton.js +0 -24
- package/packages/ui/src/components/ui/slider.d.ts +0 -5
- package/packages/ui/src/components/ui/slider.d.ts.map +0 -1
- package/packages/ui/src/components/ui/slider.js +0 -7
- package/packages/ui/src/components/ui/sonner.d.ts +0 -2
- package/packages/ui/src/components/ui/sonner.d.ts.map +0 -1
- package/packages/ui/src/components/ui/sonner.js +0 -1
- package/packages/ui/src/components/ui/spinner.d.ts +0 -6
- package/packages/ui/src/components/ui/spinner.d.ts.map +0 -1
- package/packages/ui/src/components/ui/spinner.js +0 -8
- package/packages/ui/src/components/ui/stack.d.ts +0 -11
- package/packages/ui/src/components/ui/stack.d.ts.map +0 -1
- package/packages/ui/src/components/ui/stack.js +0 -40
- package/packages/ui/src/components/ui/status-badge.d.ts +0 -27
- package/packages/ui/src/components/ui/status-badge.d.ts.map +0 -1
- package/packages/ui/src/components/ui/status-badge.js +0 -70
- package/packages/ui/src/components/ui/switch.d.ts +0 -5
- package/packages/ui/src/components/ui/switch.d.ts.map +0 -1
- package/packages/ui/src/components/ui/switch.js +0 -7
- package/packages/ui/src/components/ui/tabs.d.ts +0 -8
- package/packages/ui/src/components/ui/tabs.d.ts.map +0 -1
- package/packages/ui/src/components/ui/tabs.js +0 -12
- package/packages/ui/src/components/ui/tag-editor.d.ts +0 -12
- package/packages/ui/src/components/ui/tag-editor.d.ts.map +0 -1
- package/packages/ui/src/components/ui/tag-editor.js +0 -34
- package/packages/ui/src/components/ui/tag-input.d.ts +0 -3
- package/packages/ui/src/components/ui/tag-input.d.ts.map +0 -1
- package/packages/ui/src/components/ui/tag-input.js +0 -1
- package/packages/ui/src/components/ui/textarea.d.ts +0 -12
- package/packages/ui/src/components/ui/textarea.d.ts.map +0 -1
- package/packages/ui/src/components/ui/textarea.js +0 -29
- package/packages/ui/src/components/ui/themed-select.d.ts +0 -22
- package/packages/ui/src/components/ui/themed-select.d.ts.map +0 -1
- package/packages/ui/src/components/ui/themed-select.js +0 -137
- package/packages/ui/src/components/ui/tooltip-extended.d.ts +0 -54
- package/packages/ui/src/components/ui/tooltip-extended.d.ts.map +0 -1
- package/packages/ui/src/components/ui/tooltip-extended.js +0 -114
- package/packages/ui/src/components/ui/tooltip.d.ts +0 -18
- package/packages/ui/src/components/ui/tooltip.d.ts.map +0 -1
- package/packages/ui/src/components/ui/tooltip.js +0 -13
- package/packages/ui/src/components/ui/typography.d.ts +0 -15
- package/packages/ui/src/components/ui/typography.d.ts.map +0 -1
- package/packages/ui/src/components/ui/typography.js +0 -46
- package/packages/ui/src/hooks/index.d.ts +0 -6
- package/packages/ui/src/hooks/index.d.ts.map +0 -1
- package/packages/ui/src/hooks/index.js +0 -5
- package/packages/ui/src/hooks/useClickOutside.d.ts +0 -3
- package/packages/ui/src/hooks/useClickOutside.d.ts.map +0 -1
- package/packages/ui/src/hooks/useClickOutside.js +0 -22
- package/packages/ui/src/hooks/useDocumentVisibility.d.ts +0 -3
- package/packages/ui/src/hooks/useDocumentVisibility.d.ts.map +0 -1
- package/packages/ui/src/hooks/useDocumentVisibility.js +0 -28
- package/packages/ui/src/hooks/useKeyboardShortcuts.d.ts +0 -13
- package/packages/ui/src/hooks/useKeyboardShortcuts.d.ts.map +0 -1
- package/packages/ui/src/hooks/useKeyboardShortcuts.js +0 -34
- package/packages/ui/src/hooks/useLinkedSidebarSelection.d.ts +0 -16
- package/packages/ui/src/hooks/useLinkedSidebarSelection.d.ts.map +0 -1
- package/packages/ui/src/hooks/useLinkedSidebarSelection.js +0 -117
- package/packages/ui/src/hooks/useTimeout.d.ts +0 -5
- package/packages/ui/src/hooks/useTimeout.d.ts.map +0 -1
- package/packages/ui/src/hooks/useTimeout.js +0 -26
- package/packages/ui/src/index.d.ts +0 -8
- package/packages/ui/src/index.d.ts.map +0 -1
- package/packages/ui/src/index.js +0 -7
- package/packages/ui/src/layouts/chat-panel-layout/chat-panel-layout.d.ts +0 -11
- package/packages/ui/src/layouts/chat-panel-layout/chat-panel-layout.d.ts.map +0 -1
- package/packages/ui/src/layouts/chat-panel-layout/chat-panel-layout.js +0 -37
- package/packages/ui/src/layouts/chat-panel-layout/index.d.ts +0 -2
- package/packages/ui/src/layouts/chat-panel-layout/index.d.ts.map +0 -1
- package/packages/ui/src/layouts/chat-panel-layout/index.js +0 -1
- package/packages/ui/src/layouts/content-layout/content-layout.d.ts +0 -21
- package/packages/ui/src/layouts/content-layout/content-layout.d.ts.map +0 -1
- package/packages/ui/src/layouts/content-layout/content-layout.js +0 -5
- package/packages/ui/src/layouts/content-layout/index.d.ts +0 -2
- package/packages/ui/src/layouts/content-layout/index.d.ts.map +0 -1
- package/packages/ui/src/layouts/content-layout/index.js +0 -1
- package/packages/ui/src/layouts/index.d.ts +0 -5
- package/packages/ui/src/layouts/index.d.ts.map +0 -1
- package/packages/ui/src/layouts/index.js +0 -4
- package/packages/ui/src/layouts/page-layout/index.d.ts +0 -5
- package/packages/ui/src/layouts/page-layout/index.d.ts.map +0 -1
- package/packages/ui/src/layouts/page-layout/index.js +0 -4
- package/packages/ui/src/layouts/page-layout/page-layout-header.d.ts +0 -287
- package/packages/ui/src/layouts/page-layout/page-layout-header.d.ts.map +0 -1
- package/packages/ui/src/layouts/page-layout/page-layout-header.js +0 -8
- package/packages/ui/src/layouts/page-layout/page-layout-mobile-drawer.d.ts +0 -3
- package/packages/ui/src/layouts/page-layout/page-layout-mobile-drawer.d.ts.map +0 -1
- package/packages/ui/src/layouts/page-layout/page-layout-mobile-drawer.js +0 -37
- package/packages/ui/src/layouts/page-layout/page-layout-types.d.ts +0 -15
- package/packages/ui/src/layouts/page-layout/page-layout-types.d.ts.map +0 -1
- package/packages/ui/src/layouts/page-layout/page-layout-types.js +0 -1
- package/packages/ui/src/layouts/page-layout/page-layout.d.ts +0 -3
- package/packages/ui/src/layouts/page-layout/page-layout.d.ts.map +0 -1
- package/packages/ui/src/layouts/page-layout/page-layout.js +0 -5
- package/packages/ui/src/layouts/workspace-layout/index.d.ts +0 -4
- package/packages/ui/src/layouts/workspace-layout/index.d.ts.map +0 -1
- package/packages/ui/src/layouts/workspace-layout/index.js +0 -3
- package/packages/ui/src/layouts/workspace-layout/workspace-layout-types.d.ts +0 -19
- package/packages/ui/src/layouts/workspace-layout/workspace-layout-types.d.ts.map +0 -1
- package/packages/ui/src/layouts/workspace-layout/workspace-layout-types.js +0 -1
- package/packages/ui/src/layouts/workspace-layout/workspace-layout.d.ts +0 -3
- package/packages/ui/src/layouts/workspace-layout/workspace-layout.d.ts.map +0 -1
- package/packages/ui/src/layouts/workspace-layout/workspace-layout.js +0 -65
- package/packages/ui/src/layouts/workspace-layout/workspace-mobile-sidebar-controls.d.ts +0 -13
- package/packages/ui/src/layouts/workspace-layout/workspace-mobile-sidebar-controls.d.ts.map +0 -1
- package/packages/ui/src/layouts/workspace-layout/workspace-mobile-sidebar-controls.js +0 -5
- package/packages/ui/src/lib/floating-layers.d.ts +0 -17
- package/packages/ui/src/lib/floating-layers.d.ts.map +0 -1
- package/packages/ui/src/lib/floating-layers.js +0 -20
- package/packages/ui/src/lib/utils.d.ts +0 -3
- package/packages/ui/src/lib/utils.d.ts.map +0 -1
- package/packages/ui/src/lib/utils.js +0 -5
|
@@ -1,1310 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Bidirectional voice hook for chat + avatar lip sync.
|
|
3
|
-
*
|
|
4
|
-
* TTS providers (in priority order):
|
|
5
|
-
* 1. ElevenLabs — streaming endpoint; assistant replies enqueue text deltas as
|
|
6
|
-
* the stream grows (no sentence-boundary wait — lower time-to-first-audio).
|
|
7
|
-
* 2. Browser SpeechSynthesis — fallback when ElevenLabs isn't configured.
|
|
8
|
-
*
|
|
9
|
-
* STT: Web Speech API (SpeechRecognition) for user voice input.
|
|
10
|
-
*/
|
|
11
|
-
import { Capacitor } from "@capacitor/core";
|
|
12
|
-
import { useCallback, useEffect, useEffectEvent, useMemo, useRef, useState, } from "react";
|
|
13
|
-
import { getElectrobunRendererRpc, invokeDesktopBridgeRequest, } from "../bridge/electrobun-rpc";
|
|
14
|
-
import { getTalkModePlugin, } from "../bridge/native-plugins";
|
|
15
|
-
import { resolveApiUrl } from "../utils";
|
|
16
|
-
import { getElizaApiToken } from "../utils/eliza-globals";
|
|
17
|
-
import { isTtsDebugEnabled, ttsDebug, ttsDebugTextPreview, } from "../utils/tts-debug";
|
|
18
|
-
import { hasConfiguredApiKey } from "../voice";
|
|
19
|
-
import { collapseWhitespace, nextIdleMouthOpen, normalizeCacheText, normalizeMouthOpen, queueableSpeechPrefix, remainderAfter, splitFirstSentence, toSpeakableText, } from "./voice-chat-playback";
|
|
20
|
-
import { mergeTranscriptWindows } from "./voice-chat-recording";
|
|
21
|
-
import { ASSISTANT_TTS_DEBOUNCE_MS, ASSISTANT_TTS_FINAL_ONLY, ASSISTANT_TTS_FIRST_FLUSH_CHARS, ASSISTANT_TTS_MIN_CHUNK_CHARS, DEFAULT_ELEVEN_MODEL, DEFAULT_ELEVEN_VOICE, describeTtsCloudFetchTargetForDebug, getSpeechRecognitionCtor, globalAudioCache, isAbortError, localePrefix, MAX_CACHED_SEGMENTS, matchesVoiceLocale, normalizeSpeechLocale, resolveEffectiveVoiceConfig, resolveVoiceMode, resolveVoiceProxyEndpoint, TALKMODE_STOP_SETTLE_MS, toArrayBuffer, webSpeechVoiceDebugFields, } from "./voice-chat-types";
|
|
22
|
-
// ── Re-exports (public API) ──────────────────────────────────────────
|
|
23
|
-
export { nextIdleMouthOpen } from "./voice-chat-playback";
|
|
24
|
-
// ── Shared mutable state ─────────────────────────────────────────────
|
|
25
|
-
let sharedAudioCtx = null;
|
|
26
|
-
// ── Internal helpers ─────────────────────────────────────────────────
|
|
27
|
-
function shouldPreferNativeTalkMode() {
|
|
28
|
-
if (typeof window === "undefined")
|
|
29
|
-
return false;
|
|
30
|
-
return Capacitor.isNativePlatform() || !!getElectrobunRendererRpc();
|
|
31
|
-
}
|
|
32
|
-
function isWindowsElectrobunRenderer() {
|
|
33
|
-
return (typeof window !== "undefined" &&
|
|
34
|
-
!!getElectrobunRendererRpc() &&
|
|
35
|
-
typeof process !== "undefined" &&
|
|
36
|
-
process.platform === "win32");
|
|
37
|
-
}
|
|
38
|
-
function shouldAutoRestartBrowserRecognition() {
|
|
39
|
-
if (typeof window === "undefined")
|
|
40
|
-
return false;
|
|
41
|
-
if (isWindowsElectrobunRenderer()) {
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
// ── Test-visible internals ───────────────────────────────────────────
|
|
47
|
-
export const __voiceChatInternals = {
|
|
48
|
-
isWindowsElectrobunRenderer,
|
|
49
|
-
shouldPreferNativeTalkMode,
|
|
50
|
-
shouldAutoRestartBrowserRecognition,
|
|
51
|
-
splitFirstSentence,
|
|
52
|
-
remainderAfter,
|
|
53
|
-
queueableSpeechPrefix,
|
|
54
|
-
resolveEffectiveVoiceConfig,
|
|
55
|
-
resolveVoiceMode,
|
|
56
|
-
resolveVoiceProxyEndpoint,
|
|
57
|
-
toSpeakableText,
|
|
58
|
-
mergeTranscriptWindows,
|
|
59
|
-
webSpeechVoiceDebugFields,
|
|
60
|
-
ASSISTANT_TTS_FINAL_ONLY,
|
|
61
|
-
ASSISTANT_TTS_FIRST_FLUSH_CHARS,
|
|
62
|
-
ASSISTANT_TTS_MIN_CHUNK_CHARS,
|
|
63
|
-
};
|
|
64
|
-
// ── Hook ──────────────────────────────────────────────────────────────
|
|
65
|
-
export function useVoiceChat(options) {
|
|
66
|
-
const [isListening, setIsListening] = useState(false);
|
|
67
|
-
const [captureMode, setCaptureMode] = useState("idle");
|
|
68
|
-
const [isSpeaking, setIsSpeaking] = useState(false);
|
|
69
|
-
const [mouthOpen, setMouthOpen] = useState(0);
|
|
70
|
-
const [interimTranscript, setInterimTranscript] = useState("");
|
|
71
|
-
const [supported, setSupported] = useState(false);
|
|
72
|
-
const [usingAudioAnalysis, setUsingAudioAnalysis] = useState(false);
|
|
73
|
-
const [voiceUnlockedGeneration, setVoiceUnlockedGeneration] = useState(0);
|
|
74
|
-
// Refs — stable across renders, read from animation loop & callbacks
|
|
75
|
-
const recognitionRef = useRef(null);
|
|
76
|
-
const sttBackendRef = useRef(null);
|
|
77
|
-
const talkModeHandlesRef = useRef([]);
|
|
78
|
-
const synthRef = useRef(null);
|
|
79
|
-
const utteranceRef = useRef(null);
|
|
80
|
-
const animFrameRef = useRef(0);
|
|
81
|
-
const speakingStartRef = useRef(0);
|
|
82
|
-
const speechTimeoutRef = useRef(null);
|
|
83
|
-
const enabledRef = useRef(false);
|
|
84
|
-
const listeningModeRef = useRef("idle");
|
|
85
|
-
const transcriptBufferRef = useRef("");
|
|
86
|
-
const emitTranscript = useEffectEvent((text) => {
|
|
87
|
-
options.onTranscript(text);
|
|
88
|
-
});
|
|
89
|
-
const emitTranscriptPreview = useEffectEvent((text, event) => {
|
|
90
|
-
options.onTranscriptPreview?.(text, event);
|
|
91
|
-
});
|
|
92
|
-
const emitPlaybackStart = useEffectEvent((event) => {
|
|
93
|
-
options.onPlaybackStart?.(event);
|
|
94
|
-
});
|
|
95
|
-
const effectiveVoiceConfig = useMemo(() => resolveEffectiveVoiceConfig(options.voiceConfig, {
|
|
96
|
-
cloudConnected: options.cloudConnected,
|
|
97
|
-
}), [options.cloudConnected, options.voiceConfig]);
|
|
98
|
-
const assistantTtsQuality = useMemo(() => {
|
|
99
|
-
return effectiveVoiceConfig?.provider === "elevenlabs"
|
|
100
|
-
? "enhanced"
|
|
101
|
-
: "standard";
|
|
102
|
-
}, [effectiveVoiceConfig?.provider]);
|
|
103
|
-
const ttsDebugConfigKeyRef = useRef("");
|
|
104
|
-
useEffect(() => {
|
|
105
|
-
const key = JSON.stringify({
|
|
106
|
-
c: options.cloudConnected,
|
|
107
|
-
p: effectiveVoiceConfig?.provider,
|
|
108
|
-
m: effectiveVoiceConfig?.mode,
|
|
109
|
-
v: effectiveVoiceConfig?.elevenlabs?.voiceId,
|
|
110
|
-
q: assistantTtsQuality,
|
|
111
|
-
});
|
|
112
|
-
if (ttsDebugConfigKeyRef.current === key)
|
|
113
|
-
return;
|
|
114
|
-
ttsDebugConfigKeyRef.current = key;
|
|
115
|
-
ttsDebug("useVoiceChat:config", {
|
|
116
|
-
cloudConnected: options.cloudConnected,
|
|
117
|
-
provider: effectiveVoiceConfig?.provider,
|
|
118
|
-
mode: effectiveVoiceConfig?.mode,
|
|
119
|
-
voiceId: effectiveVoiceConfig?.elevenlabs?.voiceId,
|
|
120
|
-
assistantTtsQuality,
|
|
121
|
-
ttsCloudUrl: resolveApiUrl("/api/tts/cloud"),
|
|
122
|
-
});
|
|
123
|
-
}, [
|
|
124
|
-
assistantTtsQuality,
|
|
125
|
-
effectiveVoiceConfig?.elevenlabs?.voiceId,
|
|
126
|
-
effectiveVoiceConfig?.mode,
|
|
127
|
-
effectiveVoiceConfig?.provider,
|
|
128
|
-
options.cloudConnected,
|
|
129
|
-
]);
|
|
130
|
-
// Voice config ref (latest value always available to callbacks)
|
|
131
|
-
const voiceConfigRef = useRef(effectiveVoiceConfig);
|
|
132
|
-
voiceConfigRef.current = effectiveVoiceConfig;
|
|
133
|
-
const interruptOnSpeechRef = useRef(options.interruptOnSpeech ?? true);
|
|
134
|
-
interruptOnSpeechRef.current = options.interruptOnSpeech ?? true;
|
|
135
|
-
const interruptSpeechRef = useRef(() => { });
|
|
136
|
-
// ── ElevenLabs Web Audio refs ──────────────────────────────────────
|
|
137
|
-
const analyserRef = useRef(null);
|
|
138
|
-
const audioSourceRef = useRef(null);
|
|
139
|
-
const timeDomainDataRef = useRef(null);
|
|
140
|
-
const usingAudioAnalysisRef = useRef(false);
|
|
141
|
-
const mouthOpenRef = useRef(0);
|
|
142
|
-
mouthOpenRef.current = mouthOpen;
|
|
143
|
-
// ── Progressive speech queue state ────────────────────────────────
|
|
144
|
-
const queueRef = useRef([]);
|
|
145
|
-
const queueWorkerRunningRef = useRef(false);
|
|
146
|
-
const generationRef = useRef(0);
|
|
147
|
-
const activeTaskFinishRef = useRef(null);
|
|
148
|
-
const activeFetchAbortRef = useRef(null);
|
|
149
|
-
const assistantSpeechRef = useRef(null);
|
|
150
|
-
const assistantTtsDebounceRef = useRef(null);
|
|
151
|
-
const clearSpeechTimers = useCallback(() => {
|
|
152
|
-
if (speechTimeoutRef.current) {
|
|
153
|
-
clearTimeout(speechTimeoutRef.current);
|
|
154
|
-
speechTimeoutRef.current = null;
|
|
155
|
-
}
|
|
156
|
-
}, []);
|
|
157
|
-
const rememberCachedSegment = useCallback((key, bytes) => {
|
|
158
|
-
globalAudioCache.delete(key);
|
|
159
|
-
globalAudioCache.set(key, bytes);
|
|
160
|
-
if (globalAudioCache.size <= MAX_CACHED_SEGMENTS)
|
|
161
|
-
return;
|
|
162
|
-
const oldest = globalAudioCache.keys().next().value;
|
|
163
|
-
if (oldest)
|
|
164
|
-
globalAudioCache.delete(oldest);
|
|
165
|
-
}, []);
|
|
166
|
-
const makeElevenCacheKey = useCallback((text, config) => {
|
|
167
|
-
const voiceId = config.voiceId ?? DEFAULT_ELEVEN_VOICE;
|
|
168
|
-
const modelId = config.modelId ?? DEFAULT_ELEVEN_MODEL;
|
|
169
|
-
const stability = typeof config.stability === "number"
|
|
170
|
-
? config.stability.toFixed(2)
|
|
171
|
-
: "0.50";
|
|
172
|
-
const similarity = typeof config.similarityBoost === "number"
|
|
173
|
-
? config.similarityBoost.toFixed(2)
|
|
174
|
-
: "0.75";
|
|
175
|
-
const speed = typeof config.speed === "number" ? config.speed.toFixed(2) : "1.00";
|
|
176
|
-
return [
|
|
177
|
-
"elevenlabs",
|
|
178
|
-
voiceId,
|
|
179
|
-
modelId,
|
|
180
|
-
stability,
|
|
181
|
-
similarity,
|
|
182
|
-
speed,
|
|
183
|
-
normalizeCacheText(text),
|
|
184
|
-
].join("|");
|
|
185
|
-
}, []);
|
|
186
|
-
const updateMouthOpen = useCallback((value) => {
|
|
187
|
-
const previousValue = mouthOpenRef.current;
|
|
188
|
-
const resolvedValue = typeof value === "function" ? value(previousValue) : value;
|
|
189
|
-
const nextValue = normalizeMouthOpen(resolvedValue);
|
|
190
|
-
if (nextValue === previousValue) {
|
|
191
|
-
return;
|
|
192
|
-
}
|
|
193
|
-
mouthOpenRef.current = nextValue;
|
|
194
|
-
setMouthOpen(nextValue);
|
|
195
|
-
}, []);
|
|
196
|
-
// ── Init ──────────────────────────────────────────────────────────
|
|
197
|
-
useEffect(() => {
|
|
198
|
-
let cancelled = false;
|
|
199
|
-
const syncVoiceSupport = async () => {
|
|
200
|
-
const browserSpeechSupported = !!getSpeechRecognitionCtor();
|
|
201
|
-
if (!shouldPreferNativeTalkMode()) {
|
|
202
|
-
if (!cancelled) {
|
|
203
|
-
setSupported(browserSpeechSupported);
|
|
204
|
-
}
|
|
205
|
-
return;
|
|
206
|
-
}
|
|
207
|
-
try {
|
|
208
|
-
const permissions = await getTalkModePlugin().checkPermissions();
|
|
209
|
-
if (cancelled) {
|
|
210
|
-
return;
|
|
211
|
-
}
|
|
212
|
-
setSupported(permissions.speechRecognition !== "not_supported" ||
|
|
213
|
-
browserSpeechSupported);
|
|
214
|
-
}
|
|
215
|
-
catch {
|
|
216
|
-
if (!cancelled) {
|
|
217
|
-
setSupported(browserSpeechSupported);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
|
-
void syncVoiceSupport();
|
|
222
|
-
synthRef.current = window.speechSynthesis ?? null;
|
|
223
|
-
return () => {
|
|
224
|
-
cancelled = true;
|
|
225
|
-
};
|
|
226
|
-
}, []);
|
|
227
|
-
// ── Mouth animation loop ──────────────────────────────────────────
|
|
228
|
-
useEffect(() => {
|
|
229
|
-
let frameId = 0;
|
|
230
|
-
const animate = () => {
|
|
231
|
-
if (!isSpeaking) {
|
|
232
|
-
const nextMouth = nextIdleMouthOpen(mouthOpenRef.current);
|
|
233
|
-
updateMouthOpen(nextMouth);
|
|
234
|
-
if (nextMouth > 0) {
|
|
235
|
-
frameId = requestAnimationFrame(animate);
|
|
236
|
-
animFrameRef.current = frameId;
|
|
237
|
-
}
|
|
238
|
-
else {
|
|
239
|
-
animFrameRef.current = 0;
|
|
240
|
-
}
|
|
241
|
-
return;
|
|
242
|
-
}
|
|
243
|
-
// ── ElevenLabs: real audio volume analysis ────────────────────
|
|
244
|
-
if (usingAudioAnalysisRef.current) {
|
|
245
|
-
const analyser = analyserRef.current;
|
|
246
|
-
const data = timeDomainDataRef.current;
|
|
247
|
-
if (analyser && data) {
|
|
248
|
-
analyser.getFloatTimeDomainData(data);
|
|
249
|
-
let sum = 0;
|
|
250
|
-
for (let i = 0; i < data.length; i++) {
|
|
251
|
-
const v = data[i] ?? 0;
|
|
252
|
-
sum += v * v;
|
|
253
|
-
}
|
|
254
|
-
const rms = Math.sqrt(sum / data.length);
|
|
255
|
-
const volume = Math.max(0, Math.min(1, 1 / (1 + Math.exp(-(rms * 30 - 2)))));
|
|
256
|
-
updateMouthOpen(volume);
|
|
257
|
-
}
|
|
258
|
-
frameId = requestAnimationFrame(animate);
|
|
259
|
-
animFrameRef.current = frameId;
|
|
260
|
-
return;
|
|
261
|
-
}
|
|
262
|
-
// ── Browser TTS: sine-wave mouth + safety check ──────────────
|
|
263
|
-
const sinceStart = Date.now() - speakingStartRef.current;
|
|
264
|
-
if (sinceStart > 500 &&
|
|
265
|
-
synthRef.current &&
|
|
266
|
-
!synthRef.current.speaking &&
|
|
267
|
-
!synthRef.current.pending) {
|
|
268
|
-
utteranceRef.current = null;
|
|
269
|
-
setIsSpeaking(false);
|
|
270
|
-
return;
|
|
271
|
-
}
|
|
272
|
-
const elapsed = sinceStart / 1000;
|
|
273
|
-
const base = Math.sin(elapsed * 12) * 0.3 + 0.4;
|
|
274
|
-
const detail = Math.sin(elapsed * 18.7) * 0.15;
|
|
275
|
-
const slow = Math.sin(elapsed * 4.2) * 0.1;
|
|
276
|
-
updateMouthOpen(Math.max(0, Math.min(1, base + detail + slow)));
|
|
277
|
-
frameId = requestAnimationFrame(animate);
|
|
278
|
-
animFrameRef.current = frameId;
|
|
279
|
-
};
|
|
280
|
-
if (isSpeaking || mouthOpenRef.current > 0) {
|
|
281
|
-
frameId = requestAnimationFrame(animate);
|
|
282
|
-
animFrameRef.current = frameId;
|
|
283
|
-
}
|
|
284
|
-
else {
|
|
285
|
-
animFrameRef.current = 0;
|
|
286
|
-
}
|
|
287
|
-
return () => {
|
|
288
|
-
cancelAnimationFrame(frameId);
|
|
289
|
-
if (animFrameRef.current === frameId) {
|
|
290
|
-
animFrameRef.current = 0;
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
|
-
}, [isSpeaking, updateMouthOpen]);
|
|
294
|
-
// ── STT (Speech Recognition) ──────────────────────────────────────
|
|
295
|
-
const applyTranscriptUpdate = useCallback((transcript, isFinal) => {
|
|
296
|
-
const mode = listeningModeRef.current;
|
|
297
|
-
if (mode === "idle")
|
|
298
|
-
return;
|
|
299
|
-
const normalized = collapseWhitespace(transcript);
|
|
300
|
-
if (!normalized)
|
|
301
|
-
return;
|
|
302
|
-
const nextText = mergeTranscriptWindows(transcriptBufferRef.current, normalized);
|
|
303
|
-
if (nextText === transcriptBufferRef.current)
|
|
304
|
-
return;
|
|
305
|
-
transcriptBufferRef.current = nextText;
|
|
306
|
-
setInterimTranscript(nextText);
|
|
307
|
-
emitTranscriptPreview(nextText, {
|
|
308
|
-
mode,
|
|
309
|
-
isFinal,
|
|
310
|
-
});
|
|
311
|
-
if (interruptOnSpeechRef.current) {
|
|
312
|
-
interruptSpeechRef.current();
|
|
313
|
-
}
|
|
314
|
-
}, []);
|
|
315
|
-
const removeTalkModeListeners = useCallback(async () => {
|
|
316
|
-
const handles = talkModeHandlesRef.current;
|
|
317
|
-
talkModeHandlesRef.current = [];
|
|
318
|
-
await Promise.all(handles.map((handle) => handle.remove().catch(() => {
|
|
319
|
-
/* ignore */
|
|
320
|
-
})));
|
|
321
|
-
}, []);
|
|
322
|
-
const resetListeningState = useCallback(() => {
|
|
323
|
-
transcriptBufferRef.current = "";
|
|
324
|
-
recognitionRef.current = null;
|
|
325
|
-
sttBackendRef.current = null;
|
|
326
|
-
enabledRef.current = false;
|
|
327
|
-
listeningModeRef.current = "idle";
|
|
328
|
-
setIsListening(false);
|
|
329
|
-
setCaptureMode("idle");
|
|
330
|
-
setInterimTranscript("");
|
|
331
|
-
}, []);
|
|
332
|
-
const ensureTalkModeListeners = useCallback(async () => {
|
|
333
|
-
if (talkModeHandlesRef.current.length > 0)
|
|
334
|
-
return;
|
|
335
|
-
const talkMode = getTalkModePlugin();
|
|
336
|
-
const transcriptHandle = await talkMode.addListener("transcript", (event) => {
|
|
337
|
-
applyTranscriptUpdate(event.transcript ?? "", event.isFinal === true);
|
|
338
|
-
});
|
|
339
|
-
const errorHandle = await talkMode.addListener("error", (event) => {
|
|
340
|
-
if (sttBackendRef.current === "talkmode" ||
|
|
341
|
-
event.code === "not-allowed" ||
|
|
342
|
-
event.code === "service-not-allowed") {
|
|
343
|
-
resetListeningState();
|
|
344
|
-
if (event.code === "not-allowed" ||
|
|
345
|
-
event.code === "service-not-allowed") {
|
|
346
|
-
setSupported(false);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
});
|
|
350
|
-
const stateHandle = await talkMode.addListener("stateChange", (event) => {
|
|
351
|
-
if ((event.state === "error" || event.state === "idle") &&
|
|
352
|
-
sttBackendRef.current === "talkmode") {
|
|
353
|
-
resetListeningState();
|
|
354
|
-
}
|
|
355
|
-
});
|
|
356
|
-
talkModeHandlesRef.current = [transcriptHandle, errorHandle, stateHandle];
|
|
357
|
-
}, [applyTranscriptUpdate, resetListeningState]);
|
|
358
|
-
const startBrowserRecognition = useCallback((mode) => {
|
|
359
|
-
const SpeechRecognitionAPI = getSpeechRecognitionCtor();
|
|
360
|
-
if (!SpeechRecognitionAPI)
|
|
361
|
-
return false;
|
|
362
|
-
const recognition = new SpeechRecognitionAPI();
|
|
363
|
-
recognition.continuous = true;
|
|
364
|
-
recognition.interimResults = true;
|
|
365
|
-
recognition.lang = options.lang ?? "en-US";
|
|
366
|
-
recognition.onresult = (event) => {
|
|
367
|
-
let transcript = "";
|
|
368
|
-
let isFinal = false;
|
|
369
|
-
for (let index = 0; index < event.results.length; index += 1) {
|
|
370
|
-
const result = event.results[index];
|
|
371
|
-
const chunk = result?.[0]?.transcript ?? "";
|
|
372
|
-
if (chunk) {
|
|
373
|
-
transcript = transcript ? `${transcript} ${chunk}` : chunk;
|
|
374
|
-
}
|
|
375
|
-
if (result?.isFinal) {
|
|
376
|
-
isFinal = true;
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
applyTranscriptUpdate(transcript, isFinal);
|
|
380
|
-
};
|
|
381
|
-
recognition.onerror = (event) => {
|
|
382
|
-
if (event.error === "not-allowed" ||
|
|
383
|
-
event.error === "service-not-allowed") {
|
|
384
|
-
enabledRef.current = false;
|
|
385
|
-
listeningModeRef.current = "idle";
|
|
386
|
-
sttBackendRef.current = null;
|
|
387
|
-
setCaptureMode("idle");
|
|
388
|
-
setIsListening(false);
|
|
389
|
-
}
|
|
390
|
-
};
|
|
391
|
-
recognition.onend = () => {
|
|
392
|
-
if (shouldAutoRestartBrowserRecognition() &&
|
|
393
|
-
enabledRef.current &&
|
|
394
|
-
listeningModeRef.current === mode) {
|
|
395
|
-
try {
|
|
396
|
-
recognition.start();
|
|
397
|
-
}
|
|
398
|
-
catch {
|
|
399
|
-
/* already started */
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
};
|
|
403
|
-
recognitionRef.current = recognition;
|
|
404
|
-
try {
|
|
405
|
-
recognition.start();
|
|
406
|
-
sttBackendRef.current = "browser";
|
|
407
|
-
enabledRef.current = true;
|
|
408
|
-
listeningModeRef.current = mode;
|
|
409
|
-
setCaptureMode(mode);
|
|
410
|
-
setIsListening(true);
|
|
411
|
-
return true;
|
|
412
|
-
}
|
|
413
|
-
catch {
|
|
414
|
-
recognitionRef.current = null;
|
|
415
|
-
return false;
|
|
416
|
-
}
|
|
417
|
-
}, [applyTranscriptUpdate, options.lang]);
|
|
418
|
-
const startTalkModeRecognition = useCallback(async (mode) => {
|
|
419
|
-
if (!shouldPreferNativeTalkMode()) {
|
|
420
|
-
return false;
|
|
421
|
-
}
|
|
422
|
-
await ensureTalkModeListeners();
|
|
423
|
-
try {
|
|
424
|
-
const talkMode = getTalkModePlugin();
|
|
425
|
-
const browserSpeechSupported = !!getSpeechRecognitionCtor();
|
|
426
|
-
let permissions = await talkMode.checkPermissions().catch(() => null);
|
|
427
|
-
const nativeSpeechSupported = permissions?.speechRecognition !== "not_supported";
|
|
428
|
-
if (!nativeSpeechSupported && !browserSpeechSupported) {
|
|
429
|
-
console.warn("[useVoiceChat] No desktop or browser speech backend is available.");
|
|
430
|
-
setSupported(false);
|
|
431
|
-
return false;
|
|
432
|
-
}
|
|
433
|
-
if (permissions?.microphone === "prompt" && nativeSpeechSupported) {
|
|
434
|
-
await talkMode.requestPermissions().catch(() => {
|
|
435
|
-
/* ignore */
|
|
436
|
-
});
|
|
437
|
-
permissions = await talkMode
|
|
438
|
-
.checkPermissions()
|
|
439
|
-
.catch(() => permissions);
|
|
440
|
-
}
|
|
441
|
-
const directRpc = getElectrobunRendererRpc();
|
|
442
|
-
const result = await talkMode.start({
|
|
443
|
-
config: {
|
|
444
|
-
stt: {
|
|
445
|
-
...(directRpc ? { engine: "whisper" } : {}),
|
|
446
|
-
language: options.lang ?? "en-US",
|
|
447
|
-
modelSize: "base",
|
|
448
|
-
sampleRate: 16000,
|
|
449
|
-
},
|
|
450
|
-
silenceWindowMs: 350,
|
|
451
|
-
interruptOnSpeech: true,
|
|
452
|
-
},
|
|
453
|
-
});
|
|
454
|
-
if (!result.started) {
|
|
455
|
-
console.warn("[useVoiceChat] TalkMode start returned not started.", {
|
|
456
|
-
browserSpeechSupported,
|
|
457
|
-
error: result.error,
|
|
458
|
-
});
|
|
459
|
-
if (!browserSpeechSupported) {
|
|
460
|
-
setSupported(false);
|
|
461
|
-
}
|
|
462
|
-
return false;
|
|
463
|
-
}
|
|
464
|
-
setSupported(true);
|
|
465
|
-
enabledRef.current = true;
|
|
466
|
-
listeningModeRef.current = mode;
|
|
467
|
-
sttBackendRef.current = "talkmode";
|
|
468
|
-
setCaptureMode(mode);
|
|
469
|
-
setIsListening(true);
|
|
470
|
-
return true;
|
|
471
|
-
}
|
|
472
|
-
catch (error) {
|
|
473
|
-
console.warn("[useVoiceChat] TalkMode start failed.", error);
|
|
474
|
-
return false;
|
|
475
|
-
}
|
|
476
|
-
}, [ensureTalkModeListeners, options.lang]);
|
|
477
|
-
const finalizeRecognition = useCallback((submit) => {
|
|
478
|
-
const transcript = collapseWhitespace(transcriptBufferRef.current);
|
|
479
|
-
if (submit && transcript) {
|
|
480
|
-
emitTranscript(transcript);
|
|
481
|
-
}
|
|
482
|
-
resetListeningState();
|
|
483
|
-
}, [resetListeningState]);
|
|
484
|
-
const startListening = useCallback(async (mode = "compose") => {
|
|
485
|
-
if (enabledRef.current)
|
|
486
|
-
return;
|
|
487
|
-
transcriptBufferRef.current = "";
|
|
488
|
-
setInterimTranscript("");
|
|
489
|
-
if (interruptOnSpeechRef.current) {
|
|
490
|
-
interruptSpeechRef.current();
|
|
491
|
-
}
|
|
492
|
-
if (shouldPreferNativeTalkMode()) {
|
|
493
|
-
const started = await startTalkModeRecognition(mode);
|
|
494
|
-
if (started) {
|
|
495
|
-
return;
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
const startedInBrowser = startBrowserRecognition(mode);
|
|
499
|
-
if (!startedInBrowser) {
|
|
500
|
-
console.warn("[useVoiceChat] Voice capture failed to start in both desktop and browser backends.");
|
|
501
|
-
}
|
|
502
|
-
}, [startBrowserRecognition, startTalkModeRecognition]);
|
|
503
|
-
const stopListening = useCallback(async (options) => {
|
|
504
|
-
const mode = listeningModeRef.current;
|
|
505
|
-
if (mode === "idle")
|
|
506
|
-
return;
|
|
507
|
-
const submit = options?.submit === true;
|
|
508
|
-
enabledRef.current = false;
|
|
509
|
-
if (sttBackendRef.current === "talkmode") {
|
|
510
|
-
await getTalkModePlugin()
|
|
511
|
-
.stop()
|
|
512
|
-
.catch(() => {
|
|
513
|
-
/* ignore */
|
|
514
|
-
});
|
|
515
|
-
await new Promise((resolve) => window.setTimeout(resolve, TALKMODE_STOP_SETTLE_MS));
|
|
516
|
-
}
|
|
517
|
-
else {
|
|
518
|
-
recognitionRef.current?.stop();
|
|
519
|
-
await new Promise((resolve) => window.setTimeout(resolve, TALKMODE_STOP_SETTLE_MS));
|
|
520
|
-
}
|
|
521
|
-
finalizeRecognition(submit);
|
|
522
|
-
}, [finalizeRecognition]);
|
|
523
|
-
const toggleListening = useCallback(() => {
|
|
524
|
-
if (enabledRef.current && listeningModeRef.current === "compose") {
|
|
525
|
-
void stopListening();
|
|
526
|
-
return;
|
|
527
|
-
}
|
|
528
|
-
if (enabledRef.current)
|
|
529
|
-
return;
|
|
530
|
-
void startListening("compose");
|
|
531
|
-
}, [startListening, stopListening]);
|
|
532
|
-
// ── Cancel helpers ────────────────────────────────────────────────
|
|
533
|
-
/** Stop all in-progress speech playback/requests but keep assistant queue state. */
|
|
534
|
-
const cancelPlayback = useCallback(() => {
|
|
535
|
-
generationRef.current += 1;
|
|
536
|
-
queueRef.current = [];
|
|
537
|
-
activeFetchAbortRef.current?.abort();
|
|
538
|
-
activeFetchAbortRef.current = null;
|
|
539
|
-
activeTaskFinishRef.current?.();
|
|
540
|
-
activeTaskFinishRef.current = null;
|
|
541
|
-
// Browser TTS
|
|
542
|
-
synthRef.current?.cancel();
|
|
543
|
-
utteranceRef.current = null;
|
|
544
|
-
// ElevenLabs audio
|
|
545
|
-
if (audioSourceRef.current) {
|
|
546
|
-
try {
|
|
547
|
-
audioSourceRef.current.stop();
|
|
548
|
-
}
|
|
549
|
-
catch {
|
|
550
|
-
/* ok */
|
|
551
|
-
}
|
|
552
|
-
try {
|
|
553
|
-
audioSourceRef.current.disconnect();
|
|
554
|
-
}
|
|
555
|
-
catch {
|
|
556
|
-
/* ok */
|
|
557
|
-
}
|
|
558
|
-
audioSourceRef.current = null;
|
|
559
|
-
}
|
|
560
|
-
clearSpeechTimers();
|
|
561
|
-
usingAudioAnalysisRef.current = false;
|
|
562
|
-
setUsingAudioAnalysis(false);
|
|
563
|
-
}, [clearSpeechTimers]);
|
|
564
|
-
const stopSpeaking = useCallback(() => {
|
|
565
|
-
if (assistantTtsDebounceRef.current != null) {
|
|
566
|
-
clearTimeout(assistantTtsDebounceRef.current);
|
|
567
|
-
assistantTtsDebounceRef.current = null;
|
|
568
|
-
}
|
|
569
|
-
assistantSpeechRef.current = null;
|
|
570
|
-
cancelPlayback();
|
|
571
|
-
setIsSpeaking(false);
|
|
572
|
-
setUsingAudioAnalysis(false);
|
|
573
|
-
}, [cancelPlayback]);
|
|
574
|
-
interruptSpeechRef.current = stopSpeaking;
|
|
575
|
-
// ── ElevenLabs TTS ────────────────────────────────────────────────
|
|
576
|
-
const speakElevenLabs = useCallback(async (text, elConfig, task, generation) => {
|
|
577
|
-
let ctx = sharedAudioCtx;
|
|
578
|
-
if (!ctx) {
|
|
579
|
-
ctx = new AudioContext();
|
|
580
|
-
sharedAudioCtx = ctx;
|
|
581
|
-
}
|
|
582
|
-
if (ctx.state === "suspended") {
|
|
583
|
-
try {
|
|
584
|
-
await ctx.resume();
|
|
585
|
-
}
|
|
586
|
-
catch {
|
|
587
|
-
// Force a fresh context if resume fails
|
|
588
|
-
ctx.close().catch((err) => {
|
|
589
|
-
console.warn("[useVoiceChat] AudioContext.close() failed", err);
|
|
590
|
-
});
|
|
591
|
-
ctx = new AudioContext();
|
|
592
|
-
sharedAudioCtx = ctx;
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
const voiceId = elConfig.voiceId ?? DEFAULT_ELEVEN_VOICE;
|
|
596
|
-
const modelId = elConfig.modelId ?? DEFAULT_ELEVEN_MODEL;
|
|
597
|
-
const cacheKey = task.cacheKey ?? makeElevenCacheKey(text, elConfig);
|
|
598
|
-
const cachedBytes = globalAudioCache.get(cacheKey);
|
|
599
|
-
let audioBytes = null;
|
|
600
|
-
let cached = false;
|
|
601
|
-
if (cachedBytes) {
|
|
602
|
-
rememberCachedSegment(cacheKey, cachedBytes);
|
|
603
|
-
audioBytes = cachedBytes.slice();
|
|
604
|
-
cached = true;
|
|
605
|
-
}
|
|
606
|
-
if (!audioBytes) {
|
|
607
|
-
const controller = new AbortController();
|
|
608
|
-
activeFetchAbortRef.current = controller;
|
|
609
|
-
const requestBody = {
|
|
610
|
-
text,
|
|
611
|
-
model_id: modelId,
|
|
612
|
-
apply_text_normalization: "auto",
|
|
613
|
-
voice_settings: {
|
|
614
|
-
stability: elConfig.stability ?? 0.5,
|
|
615
|
-
similarity_boost: elConfig.similarityBoost ?? 0.75,
|
|
616
|
-
speed: elConfig.speed ?? 1.0,
|
|
617
|
-
},
|
|
618
|
-
};
|
|
619
|
-
const apiToken = getElizaApiToken()?.trim() ?? "";
|
|
620
|
-
const proxyRequestBody = JSON.stringify({
|
|
621
|
-
...requestBody,
|
|
622
|
-
voiceId,
|
|
623
|
-
modelId,
|
|
624
|
-
outputFormat: "mp3_44100_128",
|
|
625
|
-
});
|
|
626
|
-
/**
|
|
627
|
-
* Server-side TTS when the browser has no `xi-api-key`.
|
|
628
|
-
* Always try Eliza Cloud (`/api/tts/cloud`) first — that is where a
|
|
629
|
-
* persisted Eliza Cloud API key is used. `voiceMode` may still be
|
|
630
|
-
* `own-key` when the UI has not yet marked cloud as connected (e.g.
|
|
631
|
-
* disconnect preference, status poll race), which previously routed
|
|
632
|
-
* here to `/api/tts/elevenlabs` only; The framework does not implement that
|
|
633
|
-
* path, so chat fell back to browser (Edge) TTS. If cloud rejects
|
|
634
|
-
* (no key), fall back to the upstream ElevenLabs proxy.
|
|
635
|
-
*/
|
|
636
|
-
const makeProxyRequestInit = () => {
|
|
637
|
-
const dbg = task.debugUtteranceContext;
|
|
638
|
-
return {
|
|
639
|
-
method: "POST",
|
|
640
|
-
headers: {
|
|
641
|
-
"Content-Type": "application/json",
|
|
642
|
-
Accept: "audio/mpeg",
|
|
643
|
-
...(apiToken ? { Authorization: `Bearer ${apiToken}` } : {}),
|
|
644
|
-
...(isTtsDebugEnabled() && dbg
|
|
645
|
-
? {
|
|
646
|
-
"x-elizaos-tts-message-id": encodeURIComponent(dbg.messageId),
|
|
647
|
-
"x-elizaos-tts-clip-segment": encodeURIComponent(task.segment),
|
|
648
|
-
"x-elizaos-tts-full-preview": encodeURIComponent(dbg.fullAssistTextPreview),
|
|
649
|
-
}
|
|
650
|
-
: {}),
|
|
651
|
-
},
|
|
652
|
-
body: proxyRequestBody,
|
|
653
|
-
signal: controller.signal,
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
|
-
const shouldFallbackFromCloudProxy = (status) => status === 400 ||
|
|
657
|
-
status === 401 ||
|
|
658
|
-
status === 403 ||
|
|
659
|
-
status === 404 ||
|
|
660
|
-
status === 405 ||
|
|
661
|
-
status === 501;
|
|
662
|
-
const fetchViaBestAvailableProxy = async () => {
|
|
663
|
-
const cloudTarget = resolveApiUrl("/api/tts/cloud");
|
|
664
|
-
try {
|
|
665
|
-
const cloudRes = await fetch(cloudTarget, makeProxyRequestInit());
|
|
666
|
-
if (cloudRes.ok || !shouldFallbackFromCloudProxy(cloudRes.status)) {
|
|
667
|
-
return cloudRes;
|
|
668
|
-
}
|
|
669
|
-
ttsDebug("useVoiceChat:cloud-proxy-fallback", {
|
|
670
|
-
status: cloudRes.status,
|
|
671
|
-
ttsTarget: describeTtsCloudFetchTargetForDebug(),
|
|
672
|
-
});
|
|
673
|
-
}
|
|
674
|
-
catch (error) {
|
|
675
|
-
ttsDebug("useVoiceChat:cloud-proxy-unavailable", {
|
|
676
|
-
ttsTarget: describeTtsCloudFetchTargetForDebug(),
|
|
677
|
-
error: error instanceof Error ? error.message : String(error),
|
|
678
|
-
});
|
|
679
|
-
}
|
|
680
|
-
return await fetch(resolveApiUrl("/api/tts/elevenlabs"), makeProxyRequestInit());
|
|
681
|
-
};
|
|
682
|
-
const trimmedApiKey = typeof elConfig.apiKey === "string" ? elConfig.apiKey.trim() : "";
|
|
683
|
-
const hasDirectKey = hasConfiguredApiKey(trimmedApiKey);
|
|
684
|
-
let res;
|
|
685
|
-
if (hasDirectKey) {
|
|
686
|
-
try {
|
|
687
|
-
const url = new URL(`https://api.elevenlabs.io/v1/text-to-speech/${encodeURIComponent(voiceId)}/stream`);
|
|
688
|
-
url.searchParams.set("output_format", "mp3_44100_128");
|
|
689
|
-
res = await fetch(url.toString(), {
|
|
690
|
-
method: "POST",
|
|
691
|
-
headers: {
|
|
692
|
-
"xi-api-key": trimmedApiKey,
|
|
693
|
-
"Content-Type": "application/json",
|
|
694
|
-
Accept: "audio/mpeg",
|
|
695
|
-
},
|
|
696
|
-
body: JSON.stringify(requestBody),
|
|
697
|
-
signal: controller.signal,
|
|
698
|
-
});
|
|
699
|
-
}
|
|
700
|
-
catch {
|
|
701
|
-
res = await fetchViaBestAvailableProxy();
|
|
702
|
-
}
|
|
703
|
-
// If the locally-available key is stale, fall back to server-side key.
|
|
704
|
-
if (!res.ok && (res.status === 401 || res.status === 403)) {
|
|
705
|
-
const proxyRes = await fetchViaBestAvailableProxy();
|
|
706
|
-
if (proxyRes.ok) {
|
|
707
|
-
res = proxyRes;
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
else {
|
|
712
|
-
res = await fetchViaBestAvailableProxy();
|
|
713
|
-
}
|
|
714
|
-
if (activeFetchAbortRef.current === controller) {
|
|
715
|
-
activeFetchAbortRef.current = null;
|
|
716
|
-
}
|
|
717
|
-
if (!res.ok) {
|
|
718
|
-
const body = await res.text().catch(() => "");
|
|
719
|
-
ttsDebug("useVoiceChat:elevenlabs-http-error", {
|
|
720
|
-
status: res.status,
|
|
721
|
-
ttsTarget: describeTtsCloudFetchTargetForDebug(),
|
|
722
|
-
hadBearer: Boolean(apiToken),
|
|
723
|
-
bodyPreview: body.slice(0, 120),
|
|
724
|
-
});
|
|
725
|
-
throw new Error(`ElevenLabs ${res.status}: ${body.slice(0, 200)}`);
|
|
726
|
-
}
|
|
727
|
-
const audioData = await res.arrayBuffer();
|
|
728
|
-
audioBytes = new Uint8Array(audioData);
|
|
729
|
-
rememberCachedSegment(cacheKey, audioBytes.slice());
|
|
730
|
-
}
|
|
731
|
-
if (generation !== generationRef.current)
|
|
732
|
-
return;
|
|
733
|
-
const audioBuffer = await ctx.decodeAudioData(toArrayBuffer(audioBytes));
|
|
734
|
-
if (generation !== generationRef.current)
|
|
735
|
-
return;
|
|
736
|
-
const analyser = ctx.createAnalyser();
|
|
737
|
-
analyser.fftSize = 2048;
|
|
738
|
-
analyser.smoothingTimeConstant = 0.8;
|
|
739
|
-
analyserRef.current = analyser;
|
|
740
|
-
timeDomainDataRef.current = new Float32Array(new ArrayBuffer(analyser.fftSize * Float32Array.BYTES_PER_ELEMENT));
|
|
741
|
-
const source = ctx.createBufferSource();
|
|
742
|
-
source.buffer = audioBuffer;
|
|
743
|
-
source.connect(analyser);
|
|
744
|
-
analyser.connect(ctx.destination);
|
|
745
|
-
audioSourceRef.current = source;
|
|
746
|
-
await new Promise((resolve) => {
|
|
747
|
-
let finished = false;
|
|
748
|
-
const playStartMs = performance.now();
|
|
749
|
-
let wrappedFinish = null;
|
|
750
|
-
const finish = () => {
|
|
751
|
-
if (finished)
|
|
752
|
-
return;
|
|
753
|
-
finished = true;
|
|
754
|
-
if (wrappedFinish && activeTaskFinishRef.current === wrappedFinish) {
|
|
755
|
-
activeTaskFinishRef.current = null;
|
|
756
|
-
}
|
|
757
|
-
if (audioSourceRef.current === source) {
|
|
758
|
-
audioSourceRef.current = null;
|
|
759
|
-
}
|
|
760
|
-
source.onended = null;
|
|
761
|
-
try {
|
|
762
|
-
source.disconnect();
|
|
763
|
-
}
|
|
764
|
-
catch {
|
|
765
|
-
/* ok */
|
|
766
|
-
}
|
|
767
|
-
try {
|
|
768
|
-
analyser.disconnect();
|
|
769
|
-
}
|
|
770
|
-
catch {
|
|
771
|
-
/* ok */
|
|
772
|
-
}
|
|
773
|
-
clearSpeechTimers();
|
|
774
|
-
resolve();
|
|
775
|
-
};
|
|
776
|
-
wrappedFinish = () => {
|
|
777
|
-
ttsDebug("play:web-audio:end", {
|
|
778
|
-
segment: task.segment,
|
|
779
|
-
elapsedMs: Math.round(performance.now() - playStartMs),
|
|
780
|
-
});
|
|
781
|
-
finish();
|
|
782
|
-
};
|
|
783
|
-
ttsDebug("play:web-audio:start", {
|
|
784
|
-
segment: task.segment,
|
|
785
|
-
append: task.append,
|
|
786
|
-
cached,
|
|
787
|
-
textChars: text.length,
|
|
788
|
-
preview: ttsDebugTextPreview(text),
|
|
789
|
-
durationSecApprox: Math.round(audioBuffer.duration * 100) / 100,
|
|
790
|
-
});
|
|
791
|
-
activeTaskFinishRef.current = wrappedFinish;
|
|
792
|
-
source.onended = wrappedFinish;
|
|
793
|
-
speechTimeoutRef.current = setTimeout(wrappedFinish, Math.max(2500, Math.ceil(audioBuffer.duration * 1000) + 1200));
|
|
794
|
-
source.start(0);
|
|
795
|
-
emitPlaybackStart({
|
|
796
|
-
text,
|
|
797
|
-
segment: task.segment,
|
|
798
|
-
provider: "elevenlabs",
|
|
799
|
-
cached,
|
|
800
|
-
startedAtMs: playStartMs,
|
|
801
|
-
});
|
|
802
|
-
});
|
|
803
|
-
}, [clearSpeechTimers, makeElevenCacheKey, rememberCachedSegment]);
|
|
804
|
-
// ── Browser SpeechSynthesis TTS ───────────────────────────────────
|
|
805
|
-
const speakBrowser = useCallback((text, task, generation) => {
|
|
806
|
-
const config = voiceConfigRef.current;
|
|
807
|
-
const synth = synthRef.current;
|
|
808
|
-
const requestedLocale = normalizeSpeechLocale(options.lang);
|
|
809
|
-
const words = text.trim().split(/\s+/).length;
|
|
810
|
-
const estimatedMs = Math.max(1200, (words / 3) * 1000);
|
|
811
|
-
const useTalkModeTts = !synth && Boolean(getElectrobunRendererRpc());
|
|
812
|
-
ttsDebug("speakBrowser:enter", {
|
|
813
|
-
path: synth
|
|
814
|
-
? "speechSynthesis"
|
|
815
|
-
: useTalkModeTts
|
|
816
|
-
? "talkmode-bridge"
|
|
817
|
-
: "no-synth-timer-only",
|
|
818
|
-
segment: task.segment,
|
|
819
|
-
append: task.append,
|
|
820
|
-
textChars: text.trim().length,
|
|
821
|
-
preview: ttsDebugTextPreview(text),
|
|
822
|
-
voiceConfigProvider: config?.provider ?? null,
|
|
823
|
-
...(config?.provider === "edge" && config.edge?.voice
|
|
824
|
-
? { edgeVoiceSetting: config.edge.voice }
|
|
825
|
-
: {}),
|
|
826
|
-
});
|
|
827
|
-
return new Promise((resolve) => {
|
|
828
|
-
let finished = false;
|
|
829
|
-
const finish = () => {
|
|
830
|
-
if (finished)
|
|
831
|
-
return;
|
|
832
|
-
finished = true;
|
|
833
|
-
if (activeTaskFinishRef.current === finish) {
|
|
834
|
-
activeTaskFinishRef.current = null;
|
|
835
|
-
}
|
|
836
|
-
clearSpeechTimers();
|
|
837
|
-
utteranceRef.current = null;
|
|
838
|
-
resolve();
|
|
839
|
-
};
|
|
840
|
-
activeTaskFinishRef.current = finish;
|
|
841
|
-
if (!synth) {
|
|
842
|
-
if (getElectrobunRendererRpc()) {
|
|
843
|
-
ttsDebug("play:talkmode:dispatch", {
|
|
844
|
-
segment: task.segment,
|
|
845
|
-
append: task.append,
|
|
846
|
-
textChars: text.trim().length,
|
|
847
|
-
preview: ttsDebugTextPreview(text),
|
|
848
|
-
engine: "native-talkmode-bridge",
|
|
849
|
-
note: "No window.speechSynthesis — routing TTS to main-process talkmodeSpeak",
|
|
850
|
-
});
|
|
851
|
-
void invokeDesktopBridgeRequest({
|
|
852
|
-
rpcMethod: "talkmodeSpeak",
|
|
853
|
-
ipcChannel: "talkmode:speak",
|
|
854
|
-
params: { text: text.trim() },
|
|
855
|
-
}).catch((err) => {
|
|
856
|
-
ttsDebug("play:talkmode:speak-failed", {
|
|
857
|
-
segment: task.segment,
|
|
858
|
-
preview: ttsDebugTextPreview(text),
|
|
859
|
-
err: err instanceof Error
|
|
860
|
-
? `${err.name}: ${err.message.slice(0, 200)}`
|
|
861
|
-
: String(err).slice(0, 200),
|
|
862
|
-
});
|
|
863
|
-
console.warn("[useVoiceChat] Desktop speech bridge failed:", err);
|
|
864
|
-
});
|
|
865
|
-
}
|
|
866
|
-
else {
|
|
867
|
-
ttsDebug("play:browser:no-synth", {
|
|
868
|
-
segment: task.segment,
|
|
869
|
-
textChars: text.trim().length,
|
|
870
|
-
preview: ttsDebugTextPreview(text),
|
|
871
|
-
engine: "none",
|
|
872
|
-
note: "No SpeechSynthesis — playback may be silent until Talk Mode or synth is available",
|
|
873
|
-
});
|
|
874
|
-
}
|
|
875
|
-
emitPlaybackStart({
|
|
876
|
-
text,
|
|
877
|
-
segment: task.segment,
|
|
878
|
-
provider: "browser",
|
|
879
|
-
cached: false,
|
|
880
|
-
startedAtMs: performance.now(),
|
|
881
|
-
});
|
|
882
|
-
speechTimeoutRef.current = setTimeout(finish, estimatedMs);
|
|
883
|
-
return;
|
|
884
|
-
}
|
|
885
|
-
const utterance = new SpeechSynthesisUtterance(text.trim());
|
|
886
|
-
utterance.lang = requestedLocale;
|
|
887
|
-
utteranceRef.current = utterance;
|
|
888
|
-
let selectedVoice;
|
|
889
|
-
if (synth?.getVoices) {
|
|
890
|
-
const voices = synth.getVoices();
|
|
891
|
-
if (config?.provider === "edge" && config.edge?.voice) {
|
|
892
|
-
const edgeVoiceName = config.edge.voice;
|
|
893
|
-
selectedVoice = voices.find((v) => v.voiceURI === edgeVoiceName || v.name === edgeVoiceName);
|
|
894
|
-
if (!selectedVoice) {
|
|
895
|
-
const isMale = edgeVoiceName.toLowerCase().includes("guy") ||
|
|
896
|
-
edgeVoiceName.toLowerCase().includes("male");
|
|
897
|
-
selectedVoice = voices.find((v) => {
|
|
898
|
-
if (!matchesVoiceLocale(v, requestedLocale))
|
|
899
|
-
return false;
|
|
900
|
-
const nameLower = v.name.toLowerCase();
|
|
901
|
-
if (isMale) {
|
|
902
|
-
return (nameLower.includes("male") ||
|
|
903
|
-
nameLower.includes("alex") ||
|
|
904
|
-
nameLower.includes("david") ||
|
|
905
|
-
nameLower.includes("daniel"));
|
|
906
|
-
}
|
|
907
|
-
else {
|
|
908
|
-
return (nameLower.includes("female") ||
|
|
909
|
-
nameLower.includes("samantha") ||
|
|
910
|
-
nameLower.includes("victoria") ||
|
|
911
|
-
nameLower.includes("zira") ||
|
|
912
|
-
nameLower.includes("karen"));
|
|
913
|
-
}
|
|
914
|
-
});
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
if (!selectedVoice) {
|
|
918
|
-
if (localePrefix(requestedLocale) === "en") {
|
|
919
|
-
selectedVoice =
|
|
920
|
-
voices.find((v) => matchesVoiceLocale(v, requestedLocale) &&
|
|
921
|
-
!v.name.toLowerCase().includes("alex") &&
|
|
922
|
-
!v.name.toLowerCase().includes("david")) || voices.find((v) => matchesVoiceLocale(v, requestedLocale));
|
|
923
|
-
}
|
|
924
|
-
else {
|
|
925
|
-
selectedVoice = voices.find((v) => matchesVoiceLocale(v, requestedLocale));
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
if (selectedVoice) {
|
|
929
|
-
utterance.voice = selectedVoice;
|
|
930
|
-
utterance.lang = selectedVoice.lang || requestedLocale;
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
utterance.rate = 1.0;
|
|
934
|
-
utterance.pitch = 1.0;
|
|
935
|
-
ttsDebug("play:browser:web-speech:enqueued", {
|
|
936
|
-
segment: task.segment,
|
|
937
|
-
append: task.append,
|
|
938
|
-
textChars: text.trim().length,
|
|
939
|
-
preview: ttsDebugTextPreview(text),
|
|
940
|
-
requestedLocale,
|
|
941
|
-
engine: "speechSynthesis",
|
|
942
|
-
...webSpeechVoiceDebugFields(selectedVoice),
|
|
943
|
-
});
|
|
944
|
-
const browserPlayStartMsRef = { value: 0 };
|
|
945
|
-
utterance.onstart = () => {
|
|
946
|
-
if (generation !== generationRef.current)
|
|
947
|
-
return;
|
|
948
|
-
browserPlayStartMsRef.value = performance.now();
|
|
949
|
-
ttsDebug("play:browser:speechSynthesis:start", {
|
|
950
|
-
segment: task.segment,
|
|
951
|
-
append: task.append,
|
|
952
|
-
textChars: text.trim().length,
|
|
953
|
-
preview: ttsDebugTextPreview(text),
|
|
954
|
-
requestedLocale,
|
|
955
|
-
engine: "speechSynthesis-utterance-onstart",
|
|
956
|
-
...webSpeechVoiceDebugFields(selectedVoice),
|
|
957
|
-
});
|
|
958
|
-
emitPlaybackStart({
|
|
959
|
-
text,
|
|
960
|
-
segment: task.segment,
|
|
961
|
-
provider: "browser",
|
|
962
|
-
cached: false,
|
|
963
|
-
startedAtMs: browserPlayStartMsRef.value,
|
|
964
|
-
});
|
|
965
|
-
};
|
|
966
|
-
const endBrowserUtterance = () => {
|
|
967
|
-
if (browserPlayStartMsRef.value > 0) {
|
|
968
|
-
ttsDebug("play:browser:speechSynthesis:end", {
|
|
969
|
-
segment: task.segment,
|
|
970
|
-
elapsedMs: Math.round(performance.now() - browserPlayStartMsRef.value),
|
|
971
|
-
});
|
|
972
|
-
}
|
|
973
|
-
finish();
|
|
974
|
-
};
|
|
975
|
-
utterance.onend = endBrowserUtterance;
|
|
976
|
-
utterance.onerror = (ev) => {
|
|
977
|
-
const errEv = ev;
|
|
978
|
-
ttsDebug("play:browser:speechSynthesis:error", {
|
|
979
|
-
segment: task.segment,
|
|
980
|
-
synthesisError: errEv.error ?? "unknown",
|
|
981
|
-
preview: ttsDebugTextPreview(text),
|
|
982
|
-
requestedLocale,
|
|
983
|
-
...webSpeechVoiceDebugFields(selectedVoice),
|
|
984
|
-
});
|
|
985
|
-
endBrowserUtterance();
|
|
986
|
-
};
|
|
987
|
-
synth.speak(utterance);
|
|
988
|
-
speechTimeoutRef.current = setTimeout(finish, estimatedMs + 5000);
|
|
989
|
-
});
|
|
990
|
-
}, [clearSpeechTimers, options.lang]);
|
|
991
|
-
const processQueue = useCallback(() => {
|
|
992
|
-
if (queueWorkerRunningRef.current)
|
|
993
|
-
return;
|
|
994
|
-
queueWorkerRunningRef.current = true;
|
|
995
|
-
const workerGeneration = generationRef.current;
|
|
996
|
-
void (async () => {
|
|
997
|
-
try {
|
|
998
|
-
while (queueRef.current.length > 0) {
|
|
999
|
-
if (workerGeneration !== generationRef.current)
|
|
1000
|
-
break;
|
|
1001
|
-
const task = queueRef.current.shift();
|
|
1002
|
-
if (!task)
|
|
1003
|
-
break;
|
|
1004
|
-
const config = voiceConfigRef.current;
|
|
1005
|
-
const elConfig = config?.elevenlabs;
|
|
1006
|
-
const useElevenLabs = config?.provider === "elevenlabs";
|
|
1007
|
-
ttsDebug("processQueue:task", {
|
|
1008
|
-
useElevenLabs,
|
|
1009
|
-
hasElConfig: Boolean(elConfig),
|
|
1010
|
-
segment: task.segment,
|
|
1011
|
-
append: task.append,
|
|
1012
|
-
textChars: task.text.length,
|
|
1013
|
-
preview: ttsDebugTextPreview(task.text),
|
|
1014
|
-
...(task.debugUtteranceContext
|
|
1015
|
-
? {
|
|
1016
|
-
messageId: task.debugUtteranceContext.messageId,
|
|
1017
|
-
hearingFull: task.debugUtteranceContext.fullAssistTextPreview,
|
|
1018
|
-
}
|
|
1019
|
-
: {}),
|
|
1020
|
-
});
|
|
1021
|
-
if (useElevenLabs && elConfig) {
|
|
1022
|
-
usingAudioAnalysisRef.current = true;
|
|
1023
|
-
setUsingAudioAnalysis(true);
|
|
1024
|
-
try {
|
|
1025
|
-
await speakElevenLabs(task.text, elConfig, task, workerGeneration);
|
|
1026
|
-
continue;
|
|
1027
|
-
}
|
|
1028
|
-
catch (error) {
|
|
1029
|
-
if (workerGeneration !== generationRef.current ||
|
|
1030
|
-
isAbortError(error)) {
|
|
1031
|
-
break;
|
|
1032
|
-
}
|
|
1033
|
-
console.warn("[useVoiceChat] ElevenLabs TTS failed:", error instanceof Error
|
|
1034
|
-
? `${error.name}: ${error.message}`
|
|
1035
|
-
: error);
|
|
1036
|
-
ttsDebug("useVoiceChat:elevenlabs-failed", {
|
|
1037
|
-
err: error instanceof Error
|
|
1038
|
-
? `${error.name}: ${error.message.slice(0, 200)}`
|
|
1039
|
-
: String(error).slice(0, 200),
|
|
1040
|
-
ttsTarget: describeTtsCloudFetchTargetForDebug(),
|
|
1041
|
-
hadBearer: Boolean(getElizaApiToken()?.trim()),
|
|
1042
|
-
});
|
|
1043
|
-
usingAudioAnalysisRef.current = false;
|
|
1044
|
-
setUsingAudioAnalysis(false);
|
|
1045
|
-
throw error;
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
else {
|
|
1049
|
-
usingAudioAnalysisRef.current = false;
|
|
1050
|
-
setUsingAudioAnalysis(false);
|
|
1051
|
-
ttsDebug("processQueue:browser-tts-direct", {
|
|
1052
|
-
reason: elConfig
|
|
1053
|
-
? "provider_not_elevenlabs"
|
|
1054
|
-
: "missing_elevenlabs_config",
|
|
1055
|
-
provider: config?.provider ?? null,
|
|
1056
|
-
nextPath: "speakBrowser — OS Web Speech (often msedge/Microsoft) or Electrobun talkmode",
|
|
1057
|
-
});
|
|
1058
|
-
}
|
|
1059
|
-
await speakBrowser(task.text, task, workerGeneration);
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
finally {
|
|
1063
|
-
queueWorkerRunningRef.current = false;
|
|
1064
|
-
}
|
|
1065
|
-
if (workerGeneration !== generationRef.current)
|
|
1066
|
-
return;
|
|
1067
|
-
if (queueRef.current.length > 0) {
|
|
1068
|
-
processQueue();
|
|
1069
|
-
return;
|
|
1070
|
-
}
|
|
1071
|
-
usingAudioAnalysisRef.current = false;
|
|
1072
|
-
setUsingAudioAnalysis(false);
|
|
1073
|
-
setIsSpeaking(false);
|
|
1074
|
-
})();
|
|
1075
|
-
}, [speakBrowser, speakElevenLabs]);
|
|
1076
|
-
const enqueueSpeech = useCallback((task) => {
|
|
1077
|
-
const speakable = toSpeakableText(task.text);
|
|
1078
|
-
if (!speakable)
|
|
1079
|
-
return;
|
|
1080
|
-
if (!task.append) {
|
|
1081
|
-
cancelPlayback();
|
|
1082
|
-
}
|
|
1083
|
-
queueRef.current.push({ ...task, text: speakable });
|
|
1084
|
-
ttsDebug("enqueueSpeech", {
|
|
1085
|
-
segment: task.segment,
|
|
1086
|
-
append: task.append,
|
|
1087
|
-
textChars: speakable.length,
|
|
1088
|
-
preview: ttsDebugTextPreview(speakable),
|
|
1089
|
-
queueLen: queueRef.current.length,
|
|
1090
|
-
});
|
|
1091
|
-
speakingStartRef.current = Date.now();
|
|
1092
|
-
setIsSpeaking(true);
|
|
1093
|
-
processQueue();
|
|
1094
|
-
}, [cancelPlayback, processQueue]);
|
|
1095
|
-
// ── Public speak APIs ─────────────────────────────────────────────
|
|
1096
|
-
const speak = useCallback((text, speakOptions) => {
|
|
1097
|
-
if (assistantTtsDebounceRef.current != null) {
|
|
1098
|
-
clearTimeout(assistantTtsDebounceRef.current);
|
|
1099
|
-
assistantTtsDebounceRef.current = null;
|
|
1100
|
-
}
|
|
1101
|
-
assistantSpeechRef.current = null;
|
|
1102
|
-
enqueueSpeech({
|
|
1103
|
-
text,
|
|
1104
|
-
append: Boolean(speakOptions?.append),
|
|
1105
|
-
segment: "full",
|
|
1106
|
-
});
|
|
1107
|
-
}, [enqueueSpeech]);
|
|
1108
|
-
const clearAssistantTtsDebounce = useCallback(() => {
|
|
1109
|
-
if (assistantTtsDebounceRef.current != null) {
|
|
1110
|
-
clearTimeout(assistantTtsDebounceRef.current);
|
|
1111
|
-
assistantTtsDebounceRef.current = null;
|
|
1112
|
-
}
|
|
1113
|
-
}, []);
|
|
1114
|
-
const flushPendingAssistantTts = useCallback(() => {
|
|
1115
|
-
assistantTtsDebounceRef.current = null;
|
|
1116
|
-
const state = assistantSpeechRef.current;
|
|
1117
|
-
if (!state || state.finalQueued)
|
|
1118
|
-
return;
|
|
1119
|
-
const latest = state.latestSpeakable;
|
|
1120
|
-
if (!latest)
|
|
1121
|
-
return;
|
|
1122
|
-
const unsent = remainderAfter(latest, state.queuedSpeakablePrefix);
|
|
1123
|
-
if (!unsent)
|
|
1124
|
-
return;
|
|
1125
|
-
const elConfig = voiceConfigRef.current?.elevenlabs;
|
|
1126
|
-
const cacheKey = voiceConfigRef.current?.provider === "elevenlabs" && elConfig
|
|
1127
|
-
? makeElevenCacheKey(unsent, elConfig)
|
|
1128
|
-
: undefined;
|
|
1129
|
-
const dbgUtterance = isTtsDebugEnabled()
|
|
1130
|
-
? {
|
|
1131
|
-
messageId: state.messageId,
|
|
1132
|
-
fullAssistTextPreview: ttsDebugTextPreview(latest, 220),
|
|
1133
|
-
}
|
|
1134
|
-
: undefined;
|
|
1135
|
-
const isFirstClip = state.queuedSpeakablePrefix.length === 0;
|
|
1136
|
-
enqueueSpeech({
|
|
1137
|
-
text: unsent,
|
|
1138
|
-
append: !isFirstClip,
|
|
1139
|
-
segment: isFirstClip ? "full" : "remainder",
|
|
1140
|
-
cacheKey,
|
|
1141
|
-
debugUtteranceContext: dbgUtterance,
|
|
1142
|
-
});
|
|
1143
|
-
state.queuedSpeakablePrefix = latest;
|
|
1144
|
-
}, [enqueueSpeech, makeElevenCacheKey]);
|
|
1145
|
-
const queueAssistantSpeech = useCallback((messageId, text, isFinal) => {
|
|
1146
|
-
if (!messageId)
|
|
1147
|
-
return;
|
|
1148
|
-
const speakable = toSpeakableText(text);
|
|
1149
|
-
if (!speakable) {
|
|
1150
|
-
ttsDebug("queueAssistantSpeech:skip-empty", { messageId });
|
|
1151
|
-
return;
|
|
1152
|
-
}
|
|
1153
|
-
ttsDebug("queueAssistantSpeech", {
|
|
1154
|
-
messageId,
|
|
1155
|
-
isFinal,
|
|
1156
|
-
speakableChars: speakable.length,
|
|
1157
|
-
preview: ttsDebugTextPreview(speakable),
|
|
1158
|
-
});
|
|
1159
|
-
const current = assistantSpeechRef.current;
|
|
1160
|
-
if (!current || current.messageId !== messageId) {
|
|
1161
|
-
clearAssistantTtsDebounce();
|
|
1162
|
-
assistantSpeechRef.current = {
|
|
1163
|
-
messageId,
|
|
1164
|
-
queuedSpeakablePrefix: "",
|
|
1165
|
-
latestSpeakable: "",
|
|
1166
|
-
finalQueued: false,
|
|
1167
|
-
};
|
|
1168
|
-
}
|
|
1169
|
-
const state = assistantSpeechRef.current;
|
|
1170
|
-
if (!state)
|
|
1171
|
-
return;
|
|
1172
|
-
state.latestSpeakable = speakable;
|
|
1173
|
-
if (ASSISTANT_TTS_FINAL_ONLY && !isFinal) {
|
|
1174
|
-
// Band-aid mode: never speak partial stream chunks.
|
|
1175
|
-
return;
|
|
1176
|
-
}
|
|
1177
|
-
if (ASSISTANT_TTS_FINAL_ONLY) {
|
|
1178
|
-
if (state.finalQueued)
|
|
1179
|
-
return;
|
|
1180
|
-
clearAssistantTtsDebounce();
|
|
1181
|
-
const elConfig = voiceConfigRef.current?.elevenlabs;
|
|
1182
|
-
const cacheKey = voiceConfigRef.current?.provider === "elevenlabs" && elConfig
|
|
1183
|
-
? makeElevenCacheKey(speakable, elConfig)
|
|
1184
|
-
: undefined;
|
|
1185
|
-
const dbgUtterance = isTtsDebugEnabled()
|
|
1186
|
-
? {
|
|
1187
|
-
messageId,
|
|
1188
|
-
fullAssistTextPreview: ttsDebugTextPreview(speakable, 220),
|
|
1189
|
-
}
|
|
1190
|
-
: undefined;
|
|
1191
|
-
// Final-only means one utterance per assistant message.
|
|
1192
|
-
enqueueSpeech({
|
|
1193
|
-
text: speakable,
|
|
1194
|
-
append: false,
|
|
1195
|
-
segment: "full",
|
|
1196
|
-
cacheKey,
|
|
1197
|
-
debugUtteranceContext: dbgUtterance,
|
|
1198
|
-
});
|
|
1199
|
-
state.queuedSpeakablePrefix = speakable;
|
|
1200
|
-
state.finalQueued = true;
|
|
1201
|
-
return;
|
|
1202
|
-
}
|
|
1203
|
-
if (speakable === state.queuedSpeakablePrefix &&
|
|
1204
|
-
(!isFinal || state.finalQueued)) {
|
|
1205
|
-
return;
|
|
1206
|
-
}
|
|
1207
|
-
if (speakable === state.queuedSpeakablePrefix && isFinal) {
|
|
1208
|
-
clearAssistantTtsDebounce();
|
|
1209
|
-
state.finalQueued = true;
|
|
1210
|
-
return;
|
|
1211
|
-
}
|
|
1212
|
-
const unsent = remainderAfter(speakable, state.queuedSpeakablePrefix);
|
|
1213
|
-
if (!unsent) {
|
|
1214
|
-
if (isFinal) {
|
|
1215
|
-
clearAssistantTtsDebounce();
|
|
1216
|
-
state.finalQueued = true;
|
|
1217
|
-
}
|
|
1218
|
-
return;
|
|
1219
|
-
}
|
|
1220
|
-
const isFirstClip = state.queuedSpeakablePrefix.length === 0;
|
|
1221
|
-
const flushNow = isFinal ||
|
|
1222
|
-
(isFirstClip && unsent.length >= ASSISTANT_TTS_FIRST_FLUSH_CHARS) ||
|
|
1223
|
-
(!isFirstClip && unsent.length >= ASSISTANT_TTS_MIN_CHUNK_CHARS);
|
|
1224
|
-
if (flushNow) {
|
|
1225
|
-
clearAssistantTtsDebounce();
|
|
1226
|
-
const elConfig = voiceConfigRef.current?.elevenlabs;
|
|
1227
|
-
const cacheKey = voiceConfigRef.current?.provider === "elevenlabs" && elConfig
|
|
1228
|
-
? makeElevenCacheKey(unsent, elConfig)
|
|
1229
|
-
: undefined;
|
|
1230
|
-
const dbgUtterance = isTtsDebugEnabled()
|
|
1231
|
-
? {
|
|
1232
|
-
messageId,
|
|
1233
|
-
fullAssistTextPreview: ttsDebugTextPreview(speakable, 220),
|
|
1234
|
-
}
|
|
1235
|
-
: undefined;
|
|
1236
|
-
enqueueSpeech({
|
|
1237
|
-
text: unsent,
|
|
1238
|
-
append: !isFirstClip,
|
|
1239
|
-
segment: isFirstClip ? "full" : "remainder",
|
|
1240
|
-
cacheKey,
|
|
1241
|
-
debugUtteranceContext: dbgUtterance,
|
|
1242
|
-
});
|
|
1243
|
-
state.queuedSpeakablePrefix = speakable;
|
|
1244
|
-
if (isFinal)
|
|
1245
|
-
state.finalQueued = true;
|
|
1246
|
-
return;
|
|
1247
|
-
}
|
|
1248
|
-
clearAssistantTtsDebounce();
|
|
1249
|
-
assistantTtsDebounceRef.current = setTimeout(() => {
|
|
1250
|
-
flushPendingAssistantTts();
|
|
1251
|
-
}, ASSISTANT_TTS_DEBOUNCE_MS);
|
|
1252
|
-
}, [
|
|
1253
|
-
clearAssistantTtsDebounce,
|
|
1254
|
-
enqueueSpeech,
|
|
1255
|
-
flushPendingAssistantTts,
|
|
1256
|
-
makeElevenCacheKey,
|
|
1257
|
-
]);
|
|
1258
|
-
// ── Unlock audio on first user gesture ─────────────────────────────
|
|
1259
|
-
// Browsers block AudioContext and SpeechSynthesis until a user gesture.
|
|
1260
|
-
// On the first interaction we warm AudioContext (for ElevenLabs) and
|
|
1261
|
-
// bump voiceUnlockedGeneration so the auto-speak effect retries any
|
|
1262
|
-
// greeting that was silently dropped by autoplay policy.
|
|
1263
|
-
useEffect(() => {
|
|
1264
|
-
if (typeof window === "undefined")
|
|
1265
|
-
return;
|
|
1266
|
-
const handleUserGesture = () => {
|
|
1267
|
-
window.removeEventListener("pointerdown", handleUserGesture, true);
|
|
1268
|
-
window.removeEventListener("keydown", handleUserGesture, true);
|
|
1269
|
-
// Warm AudioContext for ElevenLabs
|
|
1270
|
-
if (!sharedAudioCtx) {
|
|
1271
|
-
sharedAudioCtx = new AudioContext();
|
|
1272
|
-
}
|
|
1273
|
-
void sharedAudioCtx.resume().catch(() => { });
|
|
1274
|
-
// Signal that audio is now unlocked so callers can retry speech
|
|
1275
|
-
// that was silently blocked by browser autoplay policy.
|
|
1276
|
-
setVoiceUnlockedGeneration((g) => g + 1);
|
|
1277
|
-
};
|
|
1278
|
-
window.addEventListener("pointerdown", handleUserGesture, true);
|
|
1279
|
-
window.addEventListener("keydown", handleUserGesture, true);
|
|
1280
|
-
return () => {
|
|
1281
|
-
window.removeEventListener("pointerdown", handleUserGesture, true);
|
|
1282
|
-
window.removeEventListener("keydown", handleUserGesture, true);
|
|
1283
|
-
};
|
|
1284
|
-
}, []);
|
|
1285
|
-
// ── Cleanup on unmount ────────────────────────────────────────────
|
|
1286
|
-
useEffect(() => {
|
|
1287
|
-
return () => {
|
|
1288
|
-
void stopListening();
|
|
1289
|
-
void removeTalkModeListeners();
|
|
1290
|
-
stopSpeaking();
|
|
1291
|
-
};
|
|
1292
|
-
}, [removeTalkModeListeners, stopListening, stopSpeaking]);
|
|
1293
|
-
return {
|
|
1294
|
-
isListening,
|
|
1295
|
-
captureMode,
|
|
1296
|
-
isSpeaking,
|
|
1297
|
-
mouthOpen,
|
|
1298
|
-
interimTranscript,
|
|
1299
|
-
supported,
|
|
1300
|
-
usingAudioAnalysis,
|
|
1301
|
-
toggleListening,
|
|
1302
|
-
startListening,
|
|
1303
|
-
stopListening,
|
|
1304
|
-
speak,
|
|
1305
|
-
queueAssistantSpeech,
|
|
1306
|
-
stopSpeaking,
|
|
1307
|
-
voiceUnlockedGeneration,
|
|
1308
|
-
assistantTtsQuality,
|
|
1309
|
-
};
|
|
1310
|
-
}
|