@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,1326 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { buildBrowserWorkspaceWalletState, } from "@elizaos/app-steward/browser-workspace-wallet";
|
|
3
|
-
import { Button, Input, SidebarCollapsedActionButton, SidebarContent, SidebarPanel, SidebarScrollRegion, useIntervalWhenDocumentVisible, WorkspaceLayout, } from "@elizaos/ui";
|
|
4
|
-
import { ExternalLink, FolderOpen, Plus, RefreshCw, X } from "lucide-react";
|
|
5
|
-
import { useCallback, useEffect, useMemo, useRef, useState, } from "react";
|
|
6
|
-
import { client, } from "../../api";
|
|
7
|
-
import { useApp } from "../../state";
|
|
8
|
-
import { openExternalUrl } from "../../utils";
|
|
9
|
-
import { BROWSER_TAB_PRELOAD_SCRIPT, setBrowserTabsRendererImpl, } from "../../utils/browser-tabs-renderer-registry";
|
|
10
|
-
import { AppPageSidebar } from "../shared/AppPageSidebar";
|
|
11
|
-
import { CollapsibleSidebarSection } from "../shared/CollapsibleSidebarSection";
|
|
12
|
-
import { AppWorkspaceChrome, } from "../workspace/AppWorkspaceChrome.js";
|
|
13
|
-
import { getBrowserPageScopeCopy } from "./page-scoped-conversations";
|
|
14
|
-
import { useBrowserWorkspaceWalletBridge } from "./useBrowserWorkspaceWalletBridge";
|
|
15
|
-
const POLL_INTERVAL_MS = 2_500;
|
|
16
|
-
const BROWSER_BRIDGE_POLL_INTERVAL_MS = 4_000;
|
|
17
|
-
const BROWSER_WORKSPACE_AGENT_PARTITION = "persist:eliza-browser-agent";
|
|
18
|
-
const BROWSER_WORKSPACE_APP_PARTITION = "persist:eliza-browser-app";
|
|
19
|
-
// Default URL when the user opens a fresh tab via "+". The docs site
|
|
20
|
-
// respects prefers-color-scheme so the OS theme drives light/dark.
|
|
21
|
-
const BROWSER_WORKSPACE_DEFAULT_HOME_URL = "https://docs.elizaos.ai/";
|
|
22
|
-
const BROWSER_WORKSPACE_COLLAPSED_SECTIONS_STORAGE_KEY = "milady:browser-workspace:collapsed-sections";
|
|
23
|
-
function readStoredBrowserWorkspaceCollapsedSections() {
|
|
24
|
-
if (typeof window === "undefined")
|
|
25
|
-
return new Set();
|
|
26
|
-
try {
|
|
27
|
-
const raw = window.localStorage.getItem(BROWSER_WORKSPACE_COLLAPSED_SECTIONS_STORAGE_KEY);
|
|
28
|
-
if (!raw)
|
|
29
|
-
return new Set();
|
|
30
|
-
const parsed = JSON.parse(raw);
|
|
31
|
-
if (!Array.isArray(parsed))
|
|
32
|
-
return new Set();
|
|
33
|
-
return new Set(parsed.filter((value) => value === "agent" || value === "app" || value === "user"));
|
|
34
|
-
}
|
|
35
|
-
catch {
|
|
36
|
-
return new Set();
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
function persistBrowserWorkspaceCollapsedSections(sections) {
|
|
40
|
-
if (typeof window === "undefined")
|
|
41
|
-
return;
|
|
42
|
-
try {
|
|
43
|
-
window.localStorage.setItem(BROWSER_WORKSPACE_COLLAPSED_SECTIONS_STORAGE_KEY, JSON.stringify([...sections]));
|
|
44
|
-
}
|
|
45
|
-
catch {
|
|
46
|
-
/* ignore sandboxed storage */
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
function resolveBrowserWorkspaceTabSectionKey(tab) {
|
|
50
|
-
const partition = tab.partition.trim().toLowerCase();
|
|
51
|
-
if (partition === BROWSER_WORKSPACE_AGENT_PARTITION) {
|
|
52
|
-
return "agent";
|
|
53
|
-
}
|
|
54
|
-
if (partition === BROWSER_WORKSPACE_APP_PARTITION) {
|
|
55
|
-
return "app";
|
|
56
|
-
}
|
|
57
|
-
return "user";
|
|
58
|
-
}
|
|
59
|
-
function resolveBrowserWorkspaceTabPartition(sectionKey) {
|
|
60
|
-
switch (sectionKey) {
|
|
61
|
-
case "agent":
|
|
62
|
-
return BROWSER_WORKSPACE_AGENT_PARTITION;
|
|
63
|
-
case "app":
|
|
64
|
-
return BROWSER_WORKSPACE_APP_PARTITION;
|
|
65
|
-
case "user":
|
|
66
|
-
return undefined;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
function isBrowserBridgePlugin(plugin) {
|
|
70
|
-
const identifiers = [plugin.id, plugin.name, plugin.npmName]
|
|
71
|
-
.filter((value) => typeof value === "string")
|
|
72
|
-
.map((value) => value.trim().toLowerCase());
|
|
73
|
-
return identifiers.some((value) => value === "browser-bridge" ||
|
|
74
|
-
value === "plugin-browser-bridge" ||
|
|
75
|
-
value === "@elizaos/plugin-browser-bridge");
|
|
76
|
-
}
|
|
77
|
-
function isBrowserWorkspaceSessionMode(mode) {
|
|
78
|
-
// Cloud is the only mode that still uses the snapshot-preview UX. Desktop
|
|
79
|
-
// mode renders <electrobun-webview> tags directly into the React tree, so
|
|
80
|
-
// there's no need to poll for screenshot data.
|
|
81
|
-
return mode === "cloud";
|
|
82
|
-
}
|
|
83
|
-
function normalizeBrowserWorkspaceInputUrl(rawUrl, t) {
|
|
84
|
-
const trimmed = rawUrl.trim();
|
|
85
|
-
if (!trimmed)
|
|
86
|
-
return null;
|
|
87
|
-
if (trimmed === "about:blank")
|
|
88
|
-
return trimmed;
|
|
89
|
-
const candidate = /^[a-zA-Z][a-zA-Z\d+.-]*:/.test(trimmed)
|
|
90
|
-
? trimmed
|
|
91
|
-
: `https://${trimmed}`;
|
|
92
|
-
let parsed;
|
|
93
|
-
try {
|
|
94
|
-
parsed = new URL(candidate);
|
|
95
|
-
}
|
|
96
|
-
catch {
|
|
97
|
-
throw new Error(t("browserworkspace.InvalidUrl", {
|
|
98
|
-
defaultValue: "Enter a valid http or https URL.",
|
|
99
|
-
}));
|
|
100
|
-
}
|
|
101
|
-
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") {
|
|
102
|
-
throw new Error(t("browserworkspace.UnsupportedProtocol", {
|
|
103
|
-
defaultValue: "Only http and https URLs are supported.",
|
|
104
|
-
}));
|
|
105
|
-
}
|
|
106
|
-
return parsed.toString();
|
|
107
|
-
}
|
|
108
|
-
function readBrowserWorkspaceQueryParam(name) {
|
|
109
|
-
if (typeof window === "undefined")
|
|
110
|
-
return null;
|
|
111
|
-
const rawSearch = window.location.search || window.location.hash.split("?")[1] || "";
|
|
112
|
-
const params = new URLSearchParams(rawSearch.startsWith("?") ? rawSearch.slice(1) : rawSearch);
|
|
113
|
-
const value = params.get(name)?.trim();
|
|
114
|
-
return value ? value : null;
|
|
115
|
-
}
|
|
116
|
-
function inferBrowserWorkspaceTitle(url, t) {
|
|
117
|
-
if (url === "about:blank") {
|
|
118
|
-
return t("browserworkspace.NewTab", {
|
|
119
|
-
defaultValue: "New tab",
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
try {
|
|
123
|
-
return (new URL(url).hostname.replace(/^www\./, "") ||
|
|
124
|
-
t("nav.browser", {
|
|
125
|
-
defaultValue: "Browser",
|
|
126
|
-
}));
|
|
127
|
-
}
|
|
128
|
-
catch {
|
|
129
|
-
return t("nav.browser", {
|
|
130
|
-
defaultValue: "Browser",
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
function getBrowserWorkspaceTabKind(tab) {
|
|
135
|
-
return tab.kind === "internal" ? "internal" : "standard";
|
|
136
|
-
}
|
|
137
|
-
function isInternalBrowserWorkspaceTab(tab) {
|
|
138
|
-
return getBrowserWorkspaceTabKind(tab) === "internal";
|
|
139
|
-
}
|
|
140
|
-
function isBrowserWorkspaceFrameBlockedUrl(url) {
|
|
141
|
-
try {
|
|
142
|
-
const parsed = new URL(url);
|
|
143
|
-
return /(^|\.)discord\.com$/i.test(parsed.hostname);
|
|
144
|
-
}
|
|
145
|
-
catch {
|
|
146
|
-
return false;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
function getBrowserWorkspaceTabLabel(tab, t) {
|
|
150
|
-
const trimmedTitle = tab.title.trim();
|
|
151
|
-
if (trimmedTitle && trimmedTitle !== "Browser")
|
|
152
|
-
return trimmedTitle;
|
|
153
|
-
return inferBrowserWorkspaceTitle(tab.url, t);
|
|
154
|
-
}
|
|
155
|
-
function getBrowserWorkspaceTabMonogram(label) {
|
|
156
|
-
const alphanumeric = label.trim().replace(/[^a-z0-9]/gi, "");
|
|
157
|
-
return (alphanumeric[0] ?? "B").toUpperCase();
|
|
158
|
-
}
|
|
159
|
-
function getBrowserWorkspaceTabDescription(tab, mode) {
|
|
160
|
-
const details = [];
|
|
161
|
-
if (isInternalBrowserWorkspaceTab(tab)) {
|
|
162
|
-
details.push("Internal");
|
|
163
|
-
}
|
|
164
|
-
if (mode !== "web") {
|
|
165
|
-
if (tab.provider?.trim()) {
|
|
166
|
-
details.push(tab.provider.trim());
|
|
167
|
-
}
|
|
168
|
-
if (tab.status?.trim()) {
|
|
169
|
-
details.push(tab.status.trim());
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
details.push(tab.url);
|
|
173
|
-
return details.join(" · ");
|
|
174
|
-
}
|
|
175
|
-
function resolveBrowserWorkspaceSelection(tabs, selectedId) {
|
|
176
|
-
if (selectedId && tabs.some((tab) => tab.id === selectedId)) {
|
|
177
|
-
return selectedId;
|
|
178
|
-
}
|
|
179
|
-
const visibleTab = tabs.find((tab) => tab.visible);
|
|
180
|
-
return visibleTab?.id ?? tabs[0]?.id ?? null;
|
|
181
|
-
}
|
|
182
|
-
export function BrowserWorkspaceView() {
|
|
183
|
-
const { getStewardPending, getStewardStatus, setActionNotice, t, plugins, uiTheme, walletAddresses, walletConfig, } = useApp();
|
|
184
|
-
const [workspace, setWorkspace] = useState({
|
|
185
|
-
mode: "web",
|
|
186
|
-
tabs: [],
|
|
187
|
-
});
|
|
188
|
-
const [browserWalletState, setBrowserWalletState] = useState(() => buildBrowserWorkspaceWalletState({
|
|
189
|
-
pendingApprovals: 0,
|
|
190
|
-
stewardStatus: null,
|
|
191
|
-
walletAddresses,
|
|
192
|
-
walletConfig,
|
|
193
|
-
}));
|
|
194
|
-
const [selectedTabId, setSelectedTabId] = useState(null);
|
|
195
|
-
const [locationInput, setLocationInput] = useState("");
|
|
196
|
-
const [locationDirty, setLocationDirty] = useState(false);
|
|
197
|
-
const [loading, setLoading] = useState(true);
|
|
198
|
-
const [loadError, setLoadError] = useState(null);
|
|
199
|
-
const [snapshotError, setSnapshotError] = useState(null);
|
|
200
|
-
const [tabSnapshots, setTabSnapshots] = useState({});
|
|
201
|
-
const [busyAction, setBusyAction] = useState(null);
|
|
202
|
-
const [collapsedSections, setCollapsedSections] = useState(() => readStoredBrowserWorkspaceCollapsedSections());
|
|
203
|
-
const [browserBridgeAvailable, setBrowserBridgeAvailable] = useState(false);
|
|
204
|
-
const [browserBridgeLoading, setBrowserBridgeLoading] = useState(true);
|
|
205
|
-
const [browserBridgeCompanions, setBrowserBridgeCompanions] = useState([]);
|
|
206
|
-
const [browserBridgePackageStatus, setBrowserBridgePackageStatus] = useState(null);
|
|
207
|
-
const initialBrowseUrlRef = useRef(undefined);
|
|
208
|
-
const initialBrowseHandledRef = useRef(false);
|
|
209
|
-
const iframeRefs = useRef(new Map());
|
|
210
|
-
const electrobunWebviewRefs = useRef(new Map());
|
|
211
|
-
const pendingTabExecsRef = useRef(new Map());
|
|
212
|
-
const tabExecCounterRef = useRef(0);
|
|
213
|
-
const tabChainIdRef = useRef(new Map());
|
|
214
|
-
const browserWalletStateRef = useRef(null);
|
|
215
|
-
// Ref-mirror of the selected tab id so the register callback (which is
|
|
216
|
-
// memoized on handleTabHostMessage only) can read the current selection
|
|
217
|
-
// without a fresh closure each render.
|
|
218
|
-
const selectedTabIdRef = useRef(null);
|
|
219
|
-
const getStewardPendingRef = useRef(getStewardPending);
|
|
220
|
-
const getStewardStatusRef = useRef(getStewardStatus);
|
|
221
|
-
const setActionNoticeRef = useRef(setActionNotice);
|
|
222
|
-
const tRef = useRef(t);
|
|
223
|
-
const walletAddressesRef = useRef(walletAddresses);
|
|
224
|
-
const walletConfigRef = useRef(walletConfig);
|
|
225
|
-
const previousSelectedTabIdRef = useRef(null);
|
|
226
|
-
if (typeof initialBrowseUrlRef.current === "undefined") {
|
|
227
|
-
const browseParam = readBrowserWorkspaceQueryParam("browse");
|
|
228
|
-
try {
|
|
229
|
-
initialBrowseUrlRef.current = browseParam
|
|
230
|
-
? normalizeBrowserWorkspaceInputUrl(browseParam, t)
|
|
231
|
-
: null;
|
|
232
|
-
}
|
|
233
|
-
catch {
|
|
234
|
-
initialBrowseUrlRef.current = null;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
const selectedTab = useMemo(() => workspace.tabs.find((tab) => tab.id === selectedTabId) ?? null, [selectedTabId, workspace.tabs]);
|
|
238
|
-
const selectedTabSnapshot = selectedTabId
|
|
239
|
-
? (tabSnapshots[selectedTabId] ?? null)
|
|
240
|
-
: null;
|
|
241
|
-
const selectedTabLiveViewUrl = selectedTab?.interactiveLiveViewUrl ?? selectedTab?.liveViewUrl ?? null;
|
|
242
|
-
const selectedTabIsInternal = selectedTab
|
|
243
|
-
? isInternalBrowserWorkspaceTab(selectedTab)
|
|
244
|
-
: false;
|
|
245
|
-
const newBrowserWorkspaceTabSeedUrl = selectedTabIsInternal
|
|
246
|
-
? "about:blank"
|
|
247
|
-
: locationInput || BROWSER_WORKSPACE_DEFAULT_HOME_URL;
|
|
248
|
-
const groupedTabs = useMemo(() => workspace.tabs.reduce((groups, tab) => {
|
|
249
|
-
groups[resolveBrowserWorkspaceTabSectionKey(tab)].push(tab);
|
|
250
|
-
return groups;
|
|
251
|
-
}, { user: [], agent: [], app: [] }), [workspace.tabs]);
|
|
252
|
-
const collapsedRailTabs = useMemo(() => [...groupedTabs.user, ...groupedTabs.agent, ...groupedTabs.app], [groupedTabs]);
|
|
253
|
-
const primaryBrowserBridgeCompanion = useMemo(() => browserBridgeCompanions.find((companion) => companion.connectionState === "connected") ??
|
|
254
|
-
browserBridgeCompanions[0] ??
|
|
255
|
-
null, [browserBridgeCompanions]);
|
|
256
|
-
const browserBridgeConnected = primaryBrowserBridgeCompanion?.connectionState === "connected";
|
|
257
|
-
const toggleSidebarSectionCollapsed = useCallback((key) => {
|
|
258
|
-
setCollapsedSections((current) => {
|
|
259
|
-
if (key !== "agent" && key !== "app" && key !== "user") {
|
|
260
|
-
return current;
|
|
261
|
-
}
|
|
262
|
-
const next = new Set(current);
|
|
263
|
-
if (next.has(key)) {
|
|
264
|
-
next.delete(key);
|
|
265
|
-
}
|
|
266
|
-
else {
|
|
267
|
-
next.add(key);
|
|
268
|
-
}
|
|
269
|
-
return next;
|
|
270
|
-
});
|
|
271
|
-
}, []);
|
|
272
|
-
const browserBridgeSupported = useMemo(() => plugins.some((plugin) => isBrowserBridgePlugin(plugin)), [plugins]);
|
|
273
|
-
useEffect(() => {
|
|
274
|
-
getStewardPendingRef.current = getStewardPending;
|
|
275
|
-
getStewardStatusRef.current = getStewardStatus;
|
|
276
|
-
setActionNoticeRef.current = setActionNotice;
|
|
277
|
-
tRef.current = t;
|
|
278
|
-
walletAddressesRef.current = walletAddresses;
|
|
279
|
-
walletConfigRef.current = walletConfig;
|
|
280
|
-
}, [
|
|
281
|
-
getStewardPending,
|
|
282
|
-
getStewardStatus,
|
|
283
|
-
setActionNotice,
|
|
284
|
-
t,
|
|
285
|
-
walletAddresses,
|
|
286
|
-
walletConfig,
|
|
287
|
-
]);
|
|
288
|
-
const loadBrowserWalletState = useCallback(async () => {
|
|
289
|
-
try {
|
|
290
|
-
const stewardStatus = await getStewardStatusRef
|
|
291
|
-
.current()
|
|
292
|
-
.catch(() => null);
|
|
293
|
-
const resolvedWalletConfig = walletConfigRef.current ??
|
|
294
|
-
(await client.getWalletConfig().catch(() => null));
|
|
295
|
-
const pendingApprovals = stewardStatus?.connected === true
|
|
296
|
-
? (await getStewardPendingRef.current().catch(() => [])).length
|
|
297
|
-
: 0;
|
|
298
|
-
const nextState = buildBrowserWorkspaceWalletState({
|
|
299
|
-
pendingApprovals,
|
|
300
|
-
stewardStatus,
|
|
301
|
-
walletAddresses: walletAddressesRef.current,
|
|
302
|
-
walletConfig: resolvedWalletConfig,
|
|
303
|
-
});
|
|
304
|
-
setBrowserWalletState(nextState);
|
|
305
|
-
return nextState;
|
|
306
|
-
}
|
|
307
|
-
catch (error) {
|
|
308
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
309
|
-
const nextState = buildBrowserWorkspaceWalletState({
|
|
310
|
-
pendingApprovals: 0,
|
|
311
|
-
stewardStatus: {
|
|
312
|
-
available: false,
|
|
313
|
-
configured: false,
|
|
314
|
-
connected: false,
|
|
315
|
-
error: message,
|
|
316
|
-
},
|
|
317
|
-
walletAddresses: walletAddressesRef.current,
|
|
318
|
-
walletConfig: walletConfigRef.current,
|
|
319
|
-
});
|
|
320
|
-
setBrowserWalletState(nextState);
|
|
321
|
-
return nextState;
|
|
322
|
-
}
|
|
323
|
-
}, []);
|
|
324
|
-
const loadBrowserBridgeState = useCallback(async (options) => {
|
|
325
|
-
if (!options?.silent) {
|
|
326
|
-
setBrowserBridgeLoading(true);
|
|
327
|
-
}
|
|
328
|
-
const [companionsResult, packageResult] = await Promise.allSettled([
|
|
329
|
-
client.fetch("/api/browser-bridge/companions"),
|
|
330
|
-
client.fetch("/api/browser-bridge/packages"),
|
|
331
|
-
]);
|
|
332
|
-
if (companionsResult.status === "fulfilled") {
|
|
333
|
-
setBrowserBridgeCompanions(companionsResult.value.companions);
|
|
334
|
-
}
|
|
335
|
-
else {
|
|
336
|
-
setBrowserBridgeCompanions([]);
|
|
337
|
-
}
|
|
338
|
-
if (packageResult.status === "fulfilled") {
|
|
339
|
-
setBrowserBridgePackageStatus(packageResult.value.status);
|
|
340
|
-
}
|
|
341
|
-
else {
|
|
342
|
-
setBrowserBridgePackageStatus(null);
|
|
343
|
-
}
|
|
344
|
-
setBrowserBridgeAvailable(companionsResult.status === "fulfilled" ||
|
|
345
|
-
packageResult.status === "fulfilled");
|
|
346
|
-
if (!options?.silent) {
|
|
347
|
-
setBrowserBridgeLoading(false);
|
|
348
|
-
}
|
|
349
|
-
}, []);
|
|
350
|
-
const loadWorkspace = useCallback(async (options) => {
|
|
351
|
-
if (!options?.silent) {
|
|
352
|
-
setLoading(true);
|
|
353
|
-
}
|
|
354
|
-
try {
|
|
355
|
-
const snapshot = await client.getBrowserWorkspace();
|
|
356
|
-
setWorkspace(snapshot);
|
|
357
|
-
setLoadError(null);
|
|
358
|
-
setSelectedTabId((current) => resolveBrowserWorkspaceSelection(snapshot.tabs, options?.preferTabId ?? current));
|
|
359
|
-
}
|
|
360
|
-
catch (error) {
|
|
361
|
-
const message = error instanceof Error
|
|
362
|
-
? error.message
|
|
363
|
-
: tRef.current("browserworkspace.LoadFailed", {
|
|
364
|
-
defaultValue: "Failed to load browser workspace.",
|
|
365
|
-
});
|
|
366
|
-
setLoadError(message);
|
|
367
|
-
}
|
|
368
|
-
finally {
|
|
369
|
-
if (!options?.silent) {
|
|
370
|
-
setLoading(false);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}, []);
|
|
374
|
-
const runBrowserWorkspaceAction = useCallback(async (actionKey, action, onErrorMessage) => {
|
|
375
|
-
setBusyAction(actionKey);
|
|
376
|
-
try {
|
|
377
|
-
await action();
|
|
378
|
-
}
|
|
379
|
-
catch (error) {
|
|
380
|
-
const message = error instanceof Error
|
|
381
|
-
? error.message
|
|
382
|
-
: (onErrorMessage ??
|
|
383
|
-
tRef.current("browserworkspace.ActionFailed", {
|
|
384
|
-
defaultValue: "Browser action failed.",
|
|
385
|
-
}));
|
|
386
|
-
setActionNoticeRef.current(message, "error", 4_000);
|
|
387
|
-
}
|
|
388
|
-
finally {
|
|
389
|
-
setBusyAction(null);
|
|
390
|
-
}
|
|
391
|
-
}, []);
|
|
392
|
-
const loadSelectedBrowserWorkspaceSnapshot = useCallback(async (tabId, mode) => {
|
|
393
|
-
if (!isBrowserWorkspaceSessionMode(mode)) {
|
|
394
|
-
setSnapshotError(null);
|
|
395
|
-
return;
|
|
396
|
-
}
|
|
397
|
-
try {
|
|
398
|
-
const snapshot = await client.snapshotBrowserWorkspaceTab(tabId);
|
|
399
|
-
setTabSnapshots((current) => {
|
|
400
|
-
if (current[tabId] === snapshot.data) {
|
|
401
|
-
return current;
|
|
402
|
-
}
|
|
403
|
-
return { ...current, [tabId]: snapshot.data };
|
|
404
|
-
});
|
|
405
|
-
setSnapshotError(null);
|
|
406
|
-
}
|
|
407
|
-
catch (error) {
|
|
408
|
-
const message = error instanceof Error
|
|
409
|
-
? error.message
|
|
410
|
-
: tRef.current("browserworkspace.SnapshotFailed", {
|
|
411
|
-
defaultValue: "Failed to load browser session preview.",
|
|
412
|
-
});
|
|
413
|
-
setSnapshotError(message);
|
|
414
|
-
}
|
|
415
|
-
}, []);
|
|
416
|
-
const openNewBrowserWorkspaceTab = useCallback(async (rawUrl, sectionKey = "user") => {
|
|
417
|
-
const url = normalizeBrowserWorkspaceInputUrl(rawUrl, t);
|
|
418
|
-
if (!url) {
|
|
419
|
-
throw new Error(t("browserworkspace.EnterUrlToOpen", {
|
|
420
|
-
defaultValue: "Enter a URL to open.",
|
|
421
|
-
}));
|
|
422
|
-
}
|
|
423
|
-
const request = {
|
|
424
|
-
url,
|
|
425
|
-
title: inferBrowserWorkspaceTitle(url, t),
|
|
426
|
-
partition: resolveBrowserWorkspaceTabPartition(sectionKey),
|
|
427
|
-
show: true,
|
|
428
|
-
};
|
|
429
|
-
const { tab } = await client.openBrowserWorkspaceTab(request);
|
|
430
|
-
await loadWorkspace({ preferTabId: tab.id, silent: true });
|
|
431
|
-
setSelectedTabId(tab.id);
|
|
432
|
-
setLocationInput(tab.url);
|
|
433
|
-
setLocationDirty(false);
|
|
434
|
-
}, [loadWorkspace, t]);
|
|
435
|
-
const activateBrowserWorkspaceTab = useCallback(async (tabId) => {
|
|
436
|
-
setSelectedTabId(tabId);
|
|
437
|
-
const { tab } = await client.showBrowserWorkspaceTab(tabId);
|
|
438
|
-
await loadWorkspace({ preferTabId: tab.id, silent: true });
|
|
439
|
-
}, [loadWorkspace]);
|
|
440
|
-
const navigateSelectedBrowserWorkspaceTab = useCallback(async (rawUrl) => {
|
|
441
|
-
if (selectedTab && isInternalBrowserWorkspaceTab(selectedTab)) {
|
|
442
|
-
throw new Error(t("browserworkspace.InternalTabUrlManaged", {
|
|
443
|
-
defaultValue: "This internal tab manages its own URL.",
|
|
444
|
-
}));
|
|
445
|
-
}
|
|
446
|
-
const url = normalizeBrowserWorkspaceInputUrl(rawUrl, t);
|
|
447
|
-
if (!url) {
|
|
448
|
-
throw new Error(t("browserworkspace.EnterUrlToNavigate", {
|
|
449
|
-
defaultValue: "Enter a URL to navigate.",
|
|
450
|
-
}));
|
|
451
|
-
}
|
|
452
|
-
if (!selectedTabId) {
|
|
453
|
-
await openNewBrowserWorkspaceTab(url);
|
|
454
|
-
return;
|
|
455
|
-
}
|
|
456
|
-
const { tab } = await client.navigateBrowserWorkspaceTab(selectedTabId, url);
|
|
457
|
-
if (workspace.mode === "web") {
|
|
458
|
-
// React won't re-navigate an existing iframe when only the src
|
|
459
|
-
// attribute changes (same key = same DOM element). Set the src
|
|
460
|
-
// directly via the ref in embedded web mode only.
|
|
461
|
-
const iframe = iframeRefs.current.get(selectedTabId);
|
|
462
|
-
if (iframe && iframe.src !== tab.url) {
|
|
463
|
-
iframe.src = tab.url;
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
else if (workspace.mode === "desktop") {
|
|
467
|
-
const tag = electrobunWebviewRefs.current.get(selectedTabId);
|
|
468
|
-
tag?.loadURL(tab.url);
|
|
469
|
-
}
|
|
470
|
-
await loadWorkspace({ preferTabId: tab.id, silent: true });
|
|
471
|
-
setLocationInput(tab.url);
|
|
472
|
-
setLocationDirty(false);
|
|
473
|
-
}, [
|
|
474
|
-
loadWorkspace,
|
|
475
|
-
openNewBrowserWorkspaceTab,
|
|
476
|
-
selectedTab,
|
|
477
|
-
selectedTabId,
|
|
478
|
-
t,
|
|
479
|
-
workspace.mode,
|
|
480
|
-
]);
|
|
481
|
-
const registerBrowserWorkspaceIframe = useCallback((tabId, iframe) => {
|
|
482
|
-
if (!iframe) {
|
|
483
|
-
iframeRefs.current.delete(tabId);
|
|
484
|
-
return;
|
|
485
|
-
}
|
|
486
|
-
iframeRefs.current.set(tabId, iframe);
|
|
487
|
-
}, []);
|
|
488
|
-
// Keep a ref so the host-message handler always sees the latest wallet
|
|
489
|
-
// state without needing a fresh closure per render.
|
|
490
|
-
browserWalletStateRef.current = browserWalletState;
|
|
491
|
-
selectedTabIdRef.current = selectedTabId;
|
|
492
|
-
const handleTabWalletRequest = useCallback(async (req) => {
|
|
493
|
-
const tag = electrobunWebviewRefs.current.get(req.tabId);
|
|
494
|
-
const reply = (payload) => {
|
|
495
|
-
if (!tag)
|
|
496
|
-
return;
|
|
497
|
-
tag.executeJavascript(`window.__elizaWalletReply(${JSON.stringify(req.requestId)}, ${JSON.stringify(payload)})`);
|
|
498
|
-
};
|
|
499
|
-
const walletState = browserWalletStateRef.current;
|
|
500
|
-
if (!walletState) {
|
|
501
|
-
reply({ error: "Wallet state not yet loaded." });
|
|
502
|
-
return;
|
|
503
|
-
}
|
|
504
|
-
try {
|
|
505
|
-
const evmAddress = walletState.evmAddress;
|
|
506
|
-
const solanaAddress = walletState.solanaAddress;
|
|
507
|
-
if (req.protocol === "evm") {
|
|
508
|
-
switch (req.method) {
|
|
509
|
-
case "eth_requestAccounts":
|
|
510
|
-
case "eth_accounts": {
|
|
511
|
-
if (!evmAddress) {
|
|
512
|
-
reply({
|
|
513
|
-
error: walletState.reason ?? "No EVM wallet connected.",
|
|
514
|
-
});
|
|
515
|
-
return;
|
|
516
|
-
}
|
|
517
|
-
reply({ result: [evmAddress] });
|
|
518
|
-
return;
|
|
519
|
-
}
|
|
520
|
-
case "eth_chainId": {
|
|
521
|
-
const chainId = tabChainIdRef.current.get(req.tabId) ?? 1;
|
|
522
|
-
reply({ result: `0x${chainId.toString(16)}` });
|
|
523
|
-
return;
|
|
524
|
-
}
|
|
525
|
-
case "wallet_switchEthereumChain": {
|
|
526
|
-
const arr = Array.isArray(req.params) ? req.params : [req.params];
|
|
527
|
-
const next = arr[0] && typeof arr[0] === "object"
|
|
528
|
-
? arr[0].chainId
|
|
529
|
-
: null;
|
|
530
|
-
const chainHex = typeof next === "string" ? next : "";
|
|
531
|
-
const chainId = chainHex.startsWith("0x")
|
|
532
|
-
? Number.parseInt(chainHex.slice(2), 16)
|
|
533
|
-
: Number(chainHex);
|
|
534
|
-
if (!Number.isFinite(chainId) || chainId <= 0) {
|
|
535
|
-
reply({
|
|
536
|
-
error: "wallet_switchEthereumChain requires a valid chainId.",
|
|
537
|
-
});
|
|
538
|
-
return;
|
|
539
|
-
}
|
|
540
|
-
tabChainIdRef.current.set(req.tabId, chainId);
|
|
541
|
-
reply({ result: null });
|
|
542
|
-
return;
|
|
543
|
-
}
|
|
544
|
-
case "personal_sign":
|
|
545
|
-
case "eth_sign": {
|
|
546
|
-
if (!walletState.messageSigningAvailable) {
|
|
547
|
-
reply({
|
|
548
|
-
error: walletState.mode === "steward"
|
|
549
|
-
? "Browser message signing requires a local wallet key."
|
|
550
|
-
: (walletState.reason ??
|
|
551
|
-
"Browser wallet message signing is unavailable."),
|
|
552
|
-
});
|
|
553
|
-
return;
|
|
554
|
-
}
|
|
555
|
-
const arr = Array.isArray(req.params) ? req.params : [];
|
|
556
|
-
const message = typeof arr[0] === "string"
|
|
557
|
-
? arr[0]
|
|
558
|
-
: typeof arr[1] === "string"
|
|
559
|
-
? arr[1]
|
|
560
|
-
: null;
|
|
561
|
-
if (!message) {
|
|
562
|
-
reply({
|
|
563
|
-
error: "Browser wallet signing requires a message payload.",
|
|
564
|
-
});
|
|
565
|
-
return;
|
|
566
|
-
}
|
|
567
|
-
const result = await client.signBrowserWalletMessage(message);
|
|
568
|
-
reply({ result: result.signature });
|
|
569
|
-
return;
|
|
570
|
-
}
|
|
571
|
-
case "eth_sendTransaction": {
|
|
572
|
-
if (!walletState.transactionSigningAvailable) {
|
|
573
|
-
reply({
|
|
574
|
-
error: walletState.reason ??
|
|
575
|
-
"Browser wallet transaction signing is unavailable.",
|
|
576
|
-
});
|
|
577
|
-
return;
|
|
578
|
-
}
|
|
579
|
-
const arr = Array.isArray(req.params) ? req.params : [req.params];
|
|
580
|
-
const tx = arr[0] && typeof arr[0] === "object"
|
|
581
|
-
? arr[0]
|
|
582
|
-
: null;
|
|
583
|
-
if (!tx) {
|
|
584
|
-
reply({
|
|
585
|
-
error: "eth_sendTransaction requires a transaction object.",
|
|
586
|
-
});
|
|
587
|
-
return;
|
|
588
|
-
}
|
|
589
|
-
const chainId = tabChainIdRef.current.get(req.tabId) ?? 1;
|
|
590
|
-
const value = typeof tx.value === "string"
|
|
591
|
-
? tx.value.startsWith("0x")
|
|
592
|
-
? BigInt(tx.value).toString()
|
|
593
|
-
: tx.value
|
|
594
|
-
: "0";
|
|
595
|
-
const result = await client.sendBrowserWalletTransaction({
|
|
596
|
-
broadcast: true,
|
|
597
|
-
chainId,
|
|
598
|
-
to: typeof tx.to === "string" ? tx.to : "",
|
|
599
|
-
value,
|
|
600
|
-
data: typeof tx.data === "string" ? tx.data : undefined,
|
|
601
|
-
description: typeof tx.description === "string"
|
|
602
|
-
? tx.description
|
|
603
|
-
: undefined,
|
|
604
|
-
});
|
|
605
|
-
reply({ result: result.txHash ?? result.txId ?? null });
|
|
606
|
-
const next = await loadBrowserWalletState();
|
|
607
|
-
browserWalletStateRef.current = next;
|
|
608
|
-
return;
|
|
609
|
-
}
|
|
610
|
-
default:
|
|
611
|
-
reply({ error: `Unsupported EVM method: ${req.method}` });
|
|
612
|
-
return;
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
if (req.protocol === "solana") {
|
|
616
|
-
switch (req.method) {
|
|
617
|
-
case "connect": {
|
|
618
|
-
if (!solanaAddress) {
|
|
619
|
-
reply({
|
|
620
|
-
error: walletState.reason ?? "No Solana wallet connected.",
|
|
621
|
-
});
|
|
622
|
-
return;
|
|
623
|
-
}
|
|
624
|
-
reply({ result: { publicKey: solanaAddress } });
|
|
625
|
-
return;
|
|
626
|
-
}
|
|
627
|
-
case "signMessage": {
|
|
628
|
-
if (!walletState.solanaMessageSigningAvailable) {
|
|
629
|
-
reply({
|
|
630
|
-
error: walletState.reason ??
|
|
631
|
-
"Solana message signing is unavailable.",
|
|
632
|
-
});
|
|
633
|
-
return;
|
|
634
|
-
}
|
|
635
|
-
const messageBase64 = req.params && typeof req.params === "object"
|
|
636
|
-
? req.params.messageBase64
|
|
637
|
-
: undefined;
|
|
638
|
-
const message = req.params && typeof req.params === "object"
|
|
639
|
-
? req.params.message
|
|
640
|
-
: undefined;
|
|
641
|
-
const result = await client.signBrowserSolanaMessage({
|
|
642
|
-
...(messageBase64 ? { messageBase64 } : {}),
|
|
643
|
-
...(message ? { message } : {}),
|
|
644
|
-
});
|
|
645
|
-
reply({ result });
|
|
646
|
-
return;
|
|
647
|
-
}
|
|
648
|
-
case "signTransaction":
|
|
649
|
-
case "signAndSendTransaction": {
|
|
650
|
-
if (!walletState.solanaTransactionSigningAvailable) {
|
|
651
|
-
reply({
|
|
652
|
-
error: walletState.reason ??
|
|
653
|
-
"Solana transaction signing is unavailable.",
|
|
654
|
-
});
|
|
655
|
-
return;
|
|
656
|
-
}
|
|
657
|
-
const transactionBase64 = req.params && typeof req.params === "object"
|
|
658
|
-
? req.params
|
|
659
|
-
.transactionBase64
|
|
660
|
-
: undefined;
|
|
661
|
-
if (!transactionBase64) {
|
|
662
|
-
reply({
|
|
663
|
-
error: "Solana transaction signing requires transactionBase64.",
|
|
664
|
-
});
|
|
665
|
-
return;
|
|
666
|
-
}
|
|
667
|
-
const result = await client.sendBrowserSolanaTransaction({
|
|
668
|
-
transactionBase64,
|
|
669
|
-
broadcast: req.method === "signAndSendTransaction",
|
|
670
|
-
});
|
|
671
|
-
reply({ result });
|
|
672
|
-
return;
|
|
673
|
-
}
|
|
674
|
-
default:
|
|
675
|
-
reply({ error: `Unsupported Solana method: ${req.method}` });
|
|
676
|
-
return;
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
reply({ error: `Unsupported wallet protocol: ${req.protocol}` });
|
|
680
|
-
}
|
|
681
|
-
catch (error) {
|
|
682
|
-
const message = error instanceof Error ? error.message : String(error);
|
|
683
|
-
reply({ error: message });
|
|
684
|
-
}
|
|
685
|
-
}, [loadBrowserWalletState]);
|
|
686
|
-
const handleTabHostMessage = useCallback((event) => {
|
|
687
|
-
const detail = event.detail;
|
|
688
|
-
if (!detail || typeof detail.type !== "string")
|
|
689
|
-
return;
|
|
690
|
-
if (detail.type === "__elizaTabExecResult" &&
|
|
691
|
-
typeof detail.requestId === "number") {
|
|
692
|
-
const pending = pendingTabExecsRef.current.get(detail.requestId);
|
|
693
|
-
if (!pending)
|
|
694
|
-
return;
|
|
695
|
-
pendingTabExecsRef.current.delete(detail.requestId);
|
|
696
|
-
clearTimeout(pending.timer);
|
|
697
|
-
pending.resolve({
|
|
698
|
-
ok: detail.ok === true,
|
|
699
|
-
result: detail.result,
|
|
700
|
-
error: detail.error,
|
|
701
|
-
});
|
|
702
|
-
return;
|
|
703
|
-
}
|
|
704
|
-
if (detail.type === "__elizaWalletRequest" &&
|
|
705
|
-
typeof detail.requestId === "number" &&
|
|
706
|
-
typeof detail.protocol === "string" &&
|
|
707
|
-
typeof detail.method === "string") {
|
|
708
|
-
const tag = event.currentTarget ?? null;
|
|
709
|
-
const tabId = [...electrobunWebviewRefs.current.entries()].find(([, el]) => el === tag)?.[0] ?? null;
|
|
710
|
-
if (!tabId)
|
|
711
|
-
return;
|
|
712
|
-
void handleTabWalletRequest({
|
|
713
|
-
tabId,
|
|
714
|
-
requestId: detail.requestId,
|
|
715
|
-
protocol: detail.protocol,
|
|
716
|
-
method: detail.method,
|
|
717
|
-
params: detail.params,
|
|
718
|
-
});
|
|
719
|
-
}
|
|
720
|
-
}, [handleTabWalletRequest]);
|
|
721
|
-
const registerBrowserWorkspaceElectrobunWebview = useCallback((tabId, element) => {
|
|
722
|
-
const previous = electrobunWebviewRefs.current.get(tabId);
|
|
723
|
-
if (previous && previous !== element) {
|
|
724
|
-
previous.off("host-message", handleTabHostMessage);
|
|
725
|
-
}
|
|
726
|
-
if (!element) {
|
|
727
|
-
electrobunWebviewRefs.current.delete(tabId);
|
|
728
|
-
return;
|
|
729
|
-
}
|
|
730
|
-
if (previous !== element) {
|
|
731
|
-
element.on("host-message", handleTabHostMessage);
|
|
732
|
-
// Poke the OOPIF to read fresh dimensions multiple times — the
|
|
733
|
-
// tag auto-syncs only on its own ResizeObserver firing, and that
|
|
734
|
-
// can miss the initial layout settle if the parent flex chain is
|
|
735
|
-
// still computing on first mount.
|
|
736
|
-
const sync = () => {
|
|
737
|
-
try {
|
|
738
|
-
element.syncDimensions(true);
|
|
739
|
-
}
|
|
740
|
-
catch {
|
|
741
|
-
// Element may have unmounted.
|
|
742
|
-
}
|
|
743
|
-
};
|
|
744
|
-
if (typeof requestAnimationFrame === "function") {
|
|
745
|
-
requestAnimationFrame(() => requestAnimationFrame(sync));
|
|
746
|
-
}
|
|
747
|
-
else {
|
|
748
|
-
setTimeout(sync, 0);
|
|
749
|
-
}
|
|
750
|
-
// Safety net for late-settling layouts (image-driven shifts, web
|
|
751
|
-
// fonts loading, etc.). The poll loop in the upstream tag runs
|
|
752
|
-
// every 100ms anyway — these poke a forceSync on top.
|
|
753
|
-
setTimeout(sync, 250);
|
|
754
|
-
setTimeout(sync, 1000);
|
|
755
|
-
// Hide the native OOPIF immediately if the tag isn't the active
|
|
756
|
-
// one — otherwise its native view sits over the surface and
|
|
757
|
-
// intercepts clicks while React still has it in the tree.
|
|
758
|
-
if (selectedTabIdRef.current && selectedTabIdRef.current !== tabId) {
|
|
759
|
-
try {
|
|
760
|
-
element.toggleHidden(true);
|
|
761
|
-
}
|
|
762
|
-
catch {
|
|
763
|
-
// best-effort
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
electrobunWebviewRefs.current.set(tabId, element);
|
|
768
|
-
}, [handleTabHostMessage]);
|
|
769
|
-
// Track the surface container so layout changes (sidebar collapse,
|
|
770
|
-
// window resize, route entry) re-poke every mounted tag. Without this
|
|
771
|
-
// the OOPIF can latch at whatever rect it had on first mount because
|
|
772
|
-
// Electrobun's OverlaySyncController only fires onSync when the rect
|
|
773
|
-
// *changes* — a small-but-stable rect persists.
|
|
774
|
-
const browserSurfaceRef = useRef(null);
|
|
775
|
-
useEffect(() => {
|
|
776
|
-
const surface = browserSurfaceRef.current;
|
|
777
|
-
if (!surface || typeof ResizeObserver === "undefined")
|
|
778
|
-
return;
|
|
779
|
-
const pokeAll = () => {
|
|
780
|
-
for (const element of electrobunWebviewRefs.current.values()) {
|
|
781
|
-
try {
|
|
782
|
-
element?.syncDimensions(true);
|
|
783
|
-
}
|
|
784
|
-
catch {
|
|
785
|
-
// Tag may have been unmounted between observation and dispatch.
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
};
|
|
789
|
-
const observer = new ResizeObserver(() => pokeAll());
|
|
790
|
-
observer.observe(surface);
|
|
791
|
-
window.addEventListener("resize", pokeAll);
|
|
792
|
-
return () => {
|
|
793
|
-
observer.disconnect();
|
|
794
|
-
window.removeEventListener("resize", pokeAll);
|
|
795
|
-
};
|
|
796
|
-
}, []);
|
|
797
|
-
// Drive native hide/show on every tag whenever selection changes. The
|
|
798
|
-
// HTML `hidden` attribute does NOT propagate to the OOPIF — only the
|
|
799
|
-
// tag's `toggleHidden(bool)` method does. Without this, inactive tabs'
|
|
800
|
-
// OOPIFs stay painted over the surface as native views and intercept
|
|
801
|
-
// clicks intended for sibling UI (e.g. the top app nav).
|
|
802
|
-
useEffect(() => {
|
|
803
|
-
if (workspace.mode !== "desktop")
|
|
804
|
-
return;
|
|
805
|
-
for (const [tabId, element] of electrobunWebviewRefs.current.entries()) {
|
|
806
|
-
if (!element)
|
|
807
|
-
continue;
|
|
808
|
-
try {
|
|
809
|
-
element.toggleHidden(tabId !== selectedTabId);
|
|
810
|
-
element.syncDimensions(true);
|
|
811
|
-
}
|
|
812
|
-
catch {
|
|
813
|
-
// best-effort
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}, [selectedTabId, workspace.mode]);
|
|
817
|
-
// On unmount, hide every OOPIF so leftover native views don't bleed onto
|
|
818
|
-
// other routes between React's unmount and the tag's
|
|
819
|
-
// disconnectedCallback firing.
|
|
820
|
-
useEffect(() => {
|
|
821
|
-
const refs = electrobunWebviewRefs;
|
|
822
|
-
return () => {
|
|
823
|
-
for (const element of refs.current.values()) {
|
|
824
|
-
try {
|
|
825
|
-
element?.toggleHidden(true);
|
|
826
|
-
}
|
|
827
|
-
catch {
|
|
828
|
-
// best-effort
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
};
|
|
832
|
-
}, []);
|
|
833
|
-
useEffect(() => {
|
|
834
|
-
const tagsRef = electrobunWebviewRefs;
|
|
835
|
-
const pendingsRef = pendingTabExecsRef;
|
|
836
|
-
const counterRef = tabExecCounterRef;
|
|
837
|
-
setBrowserTabsRendererImpl({
|
|
838
|
-
evaluate: (id, script, timeoutMs) => new Promise((resolve) => {
|
|
839
|
-
const tag = tagsRef.current.get(id);
|
|
840
|
-
if (!tag) {
|
|
841
|
-
resolve({
|
|
842
|
-
ok: false,
|
|
843
|
-
error: `browser workspace tab ${id} is not mounted in the renderer`,
|
|
844
|
-
});
|
|
845
|
-
return;
|
|
846
|
-
}
|
|
847
|
-
counterRef.current += 1;
|
|
848
|
-
const requestId = counterRef.current;
|
|
849
|
-
const timer = setTimeout(() => {
|
|
850
|
-
if (pendingsRef.current.delete(requestId)) {
|
|
851
|
-
resolve({
|
|
852
|
-
ok: false,
|
|
853
|
-
error: `browser workspace tab eval timed out after ${timeoutMs}ms`,
|
|
854
|
-
});
|
|
855
|
-
}
|
|
856
|
-
}, timeoutMs);
|
|
857
|
-
pendingsRef.current.set(requestId, { resolve, timer });
|
|
858
|
-
tag.executeJavascript(`window.__elizaTabExec(${JSON.stringify(requestId)}, ${JSON.stringify(script)})`);
|
|
859
|
-
}),
|
|
860
|
-
getTabRect: async (id) => {
|
|
861
|
-
const tag = tagsRef.current.get(id);
|
|
862
|
-
if (!tag)
|
|
863
|
-
return null;
|
|
864
|
-
const rect = tag.getBoundingClientRect();
|
|
865
|
-
if (rect.width <= 0 || rect.height <= 0)
|
|
866
|
-
return null;
|
|
867
|
-
return {
|
|
868
|
-
x: rect.x,
|
|
869
|
-
y: rect.y,
|
|
870
|
-
width: rect.width,
|
|
871
|
-
height: rect.height,
|
|
872
|
-
};
|
|
873
|
-
},
|
|
874
|
-
});
|
|
875
|
-
return () => {
|
|
876
|
-
setBrowserTabsRendererImpl(null);
|
|
877
|
-
for (const pending of pendingsRef.current.values()) {
|
|
878
|
-
clearTimeout(pending.timer);
|
|
879
|
-
pending.resolve({
|
|
880
|
-
ok: false,
|
|
881
|
-
error: "BrowserWorkspaceView unmounted",
|
|
882
|
-
});
|
|
883
|
-
}
|
|
884
|
-
pendingsRef.current.clear();
|
|
885
|
-
};
|
|
886
|
-
}, []);
|
|
887
|
-
const { postBrowserWalletReady } = useBrowserWorkspaceWalletBridge({
|
|
888
|
-
iframeRefs,
|
|
889
|
-
workspaceTabs: workspace.mode === "web" ? workspace.tabs : [],
|
|
890
|
-
walletState: browserWalletState,
|
|
891
|
-
loadWalletState: loadBrowserWalletState,
|
|
892
|
-
});
|
|
893
|
-
const closeBrowserWorkspaceTabById = useCallback(async (tabId) => {
|
|
894
|
-
await client.closeBrowserWorkspaceTab(tabId);
|
|
895
|
-
const snapshot = await client.getBrowserWorkspace();
|
|
896
|
-
const nextId = snapshot.tabs.find((tab) => tab.id === selectedTabId)?.id ??
|
|
897
|
-
snapshot.tabs[0]?.id ??
|
|
898
|
-
null;
|
|
899
|
-
if (nextId && nextId !== selectedTabId) {
|
|
900
|
-
await client.showBrowserWorkspaceTab(nextId);
|
|
901
|
-
}
|
|
902
|
-
await loadWorkspace({
|
|
903
|
-
preferTabId: nextId,
|
|
904
|
-
silent: true,
|
|
905
|
-
});
|
|
906
|
-
}, [loadWorkspace, selectedTabId]);
|
|
907
|
-
useEffect(() => {
|
|
908
|
-
void loadWorkspace();
|
|
909
|
-
}, [loadWorkspace]);
|
|
910
|
-
useEffect(() => {
|
|
911
|
-
persistBrowserWorkspaceCollapsedSections(collapsedSections);
|
|
912
|
-
}, [collapsedSections]);
|
|
913
|
-
useEffect(() => {
|
|
914
|
-
void loadBrowserWalletState();
|
|
915
|
-
}, [loadBrowserWalletState]);
|
|
916
|
-
useEffect(() => {
|
|
917
|
-
if (workspace.mode !== "web" || !browserBridgeSupported) {
|
|
918
|
-
setBrowserBridgeAvailable(false);
|
|
919
|
-
setBrowserBridgeCompanions([]);
|
|
920
|
-
setBrowserBridgePackageStatus(null);
|
|
921
|
-
setBrowserBridgeLoading(false);
|
|
922
|
-
return;
|
|
923
|
-
}
|
|
924
|
-
void loadBrowserBridgeState();
|
|
925
|
-
}, [browserBridgeSupported, loadBrowserBridgeState, workspace.mode]);
|
|
926
|
-
useIntervalWhenDocumentVisible(() => {
|
|
927
|
-
void loadWorkspace({ preferTabId: selectedTabId, silent: true });
|
|
928
|
-
}, POLL_INTERVAL_MS);
|
|
929
|
-
useEffect(() => {
|
|
930
|
-
if (!selectedTabId || !isBrowserWorkspaceSessionMode(workspace.mode)) {
|
|
931
|
-
setSnapshotError(null);
|
|
932
|
-
return;
|
|
933
|
-
}
|
|
934
|
-
void loadSelectedBrowserWorkspaceSnapshot(selectedTabId, workspace.mode);
|
|
935
|
-
}, [loadSelectedBrowserWorkspaceSnapshot, selectedTabId, workspace.mode]);
|
|
936
|
-
useIntervalWhenDocumentVisible(() => {
|
|
937
|
-
if (!selectedTabId || !isBrowserWorkspaceSessionMode(workspace.mode)) {
|
|
938
|
-
return;
|
|
939
|
-
}
|
|
940
|
-
void loadSelectedBrowserWorkspaceSnapshot(selectedTabId, workspace.mode);
|
|
941
|
-
}, POLL_INTERVAL_MS, Boolean(selectedTabId) && isBrowserWorkspaceSessionMode(workspace.mode));
|
|
942
|
-
useIntervalWhenDocumentVisible(() => {
|
|
943
|
-
void loadBrowserWalletState();
|
|
944
|
-
}, 5_000);
|
|
945
|
-
useIntervalWhenDocumentVisible(() => {
|
|
946
|
-
void loadBrowserBridgeState({ silent: true });
|
|
947
|
-
}, BROWSER_BRIDGE_POLL_INTERVAL_MS, workspace.mode === "web" && browserBridgeSupported);
|
|
948
|
-
useEffect(() => {
|
|
949
|
-
const currentSelectedId = selectedTab?.id ?? null;
|
|
950
|
-
if (currentSelectedId !== previousSelectedTabIdRef.current) {
|
|
951
|
-
previousSelectedTabIdRef.current = currentSelectedId;
|
|
952
|
-
setLocationInput(selectedTab?.url ?? "");
|
|
953
|
-
setLocationDirty(false);
|
|
954
|
-
return;
|
|
955
|
-
}
|
|
956
|
-
if (!locationDirty) {
|
|
957
|
-
setLocationInput(selectedTab?.url ?? "");
|
|
958
|
-
}
|
|
959
|
-
}, [locationDirty, selectedTab?.id, selectedTab?.url]);
|
|
960
|
-
useEffect(() => {
|
|
961
|
-
if (!initialBrowseUrlRef.current ||
|
|
962
|
-
initialBrowseHandledRef.current ||
|
|
963
|
-
loading) {
|
|
964
|
-
return;
|
|
965
|
-
}
|
|
966
|
-
initialBrowseHandledRef.current = true;
|
|
967
|
-
const existing = workspace.tabs.find((tab) => tab.url === initialBrowseUrlRef.current);
|
|
968
|
-
if (existing) {
|
|
969
|
-
void runBrowserWorkspaceAction(`show:${existing.id}`, async () => {
|
|
970
|
-
await activateBrowserWorkspaceTab(existing.id);
|
|
971
|
-
}, t("browserworkspace.OpenInitialBrowseFailed", {
|
|
972
|
-
defaultValue: "Failed to activate the requested browser tab.",
|
|
973
|
-
}));
|
|
974
|
-
return;
|
|
975
|
-
}
|
|
976
|
-
void runBrowserWorkspaceAction("open:initial-browse", async () => {
|
|
977
|
-
await openNewBrowserWorkspaceTab(initialBrowseUrlRef.current ?? "");
|
|
978
|
-
}, t("browserworkspace.OpenInitialBrowseFailed", {
|
|
979
|
-
defaultValue: "Failed to open the requested browser tab.",
|
|
980
|
-
}));
|
|
981
|
-
}, [
|
|
982
|
-
activateBrowserWorkspaceTab,
|
|
983
|
-
loading,
|
|
984
|
-
openNewBrowserWorkspaceTab,
|
|
985
|
-
runBrowserWorkspaceAction,
|
|
986
|
-
t,
|
|
987
|
-
workspace.tabs,
|
|
988
|
-
]);
|
|
989
|
-
const reloadSelectedBrowserWorkspaceTab = useCallback(async () => {
|
|
990
|
-
if (!selectedTab)
|
|
991
|
-
return;
|
|
992
|
-
if (workspace.mode === "web") {
|
|
993
|
-
const iframe = iframeRefs.current.get(selectedTab.id);
|
|
994
|
-
if (iframe) {
|
|
995
|
-
iframe.src = selectedTab.url;
|
|
996
|
-
}
|
|
997
|
-
return;
|
|
998
|
-
}
|
|
999
|
-
if (workspace.mode === "desktop") {
|
|
1000
|
-
const tag = electrobunWebviewRefs.current.get(selectedTab.id);
|
|
1001
|
-
tag?.reload();
|
|
1002
|
-
return;
|
|
1003
|
-
}
|
|
1004
|
-
await client.navigateBrowserWorkspaceTab(selectedTab.id, selectedTab.url);
|
|
1005
|
-
}, [selectedTab, workspace.mode]);
|
|
1006
|
-
const installBrowserBridgeExtension = useCallback(async () => {
|
|
1007
|
-
await runBrowserWorkspaceAction("browser-bridge:install", async () => {
|
|
1008
|
-
let nextPackageStatus = browserBridgePackageStatus;
|
|
1009
|
-
if (!nextPackageStatus?.chromeBuildPath) {
|
|
1010
|
-
const buildResponse = await client.fetch("/api/browser-bridge/packages/chrome/build", {
|
|
1011
|
-
method: "POST",
|
|
1012
|
-
});
|
|
1013
|
-
nextPackageStatus = buildResponse.status;
|
|
1014
|
-
setBrowserBridgePackageStatus(buildResponse.status);
|
|
1015
|
-
}
|
|
1016
|
-
const revealResponse = await client.fetch("/api/browser-bridge/packages/open-path", {
|
|
1017
|
-
method: "POST",
|
|
1018
|
-
body: JSON.stringify({
|
|
1019
|
-
target: "chrome_build",
|
|
1020
|
-
revealOnly: true,
|
|
1021
|
-
}),
|
|
1022
|
-
});
|
|
1023
|
-
let openedManager = true;
|
|
1024
|
-
try {
|
|
1025
|
-
await client.fetch("/api/browser-bridge/packages/chrome/open-manager", {
|
|
1026
|
-
method: "POST",
|
|
1027
|
-
});
|
|
1028
|
-
}
|
|
1029
|
-
catch {
|
|
1030
|
-
openedManager = false;
|
|
1031
|
-
}
|
|
1032
|
-
setActionNoticeRef.current(openedManager
|
|
1033
|
-
? t("browserworkspace.BrowserBridgeChromeReady", {
|
|
1034
|
-
defaultValue: "Chrome is ready. Click Load unpacked and choose {{path}}.",
|
|
1035
|
-
path: revealResponse.path,
|
|
1036
|
-
})
|
|
1037
|
-
: t("browserworkspace.BrowserBridgeFolderReady", {
|
|
1038
|
-
defaultValue: "The Agent Browser Bridge folder is ready at {{path}}. Open chrome://extensions, click Load unpacked, and choose that folder.",
|
|
1039
|
-
path: revealResponse.path,
|
|
1040
|
-
}), "success", 6_000);
|
|
1041
|
-
await loadBrowserBridgeState({ silent: true });
|
|
1042
|
-
}, t("browserworkspace.InstallBrowserBridgeFailed", {
|
|
1043
|
-
defaultValue: "Failed to prepare the Agent Browser Bridge extension.",
|
|
1044
|
-
}));
|
|
1045
|
-
}, [
|
|
1046
|
-
browserBridgePackageStatus,
|
|
1047
|
-
loadBrowserBridgeState,
|
|
1048
|
-
runBrowserWorkspaceAction,
|
|
1049
|
-
t,
|
|
1050
|
-
]);
|
|
1051
|
-
const revealBrowserBridgeFolder = useCallback(async () => {
|
|
1052
|
-
await runBrowserWorkspaceAction("browser-bridge:reveal-folder", async () => {
|
|
1053
|
-
const response = await client.fetch("/api/browser-bridge/packages/open-path", {
|
|
1054
|
-
method: "POST",
|
|
1055
|
-
body: JSON.stringify({
|
|
1056
|
-
target: "chrome_build",
|
|
1057
|
-
revealOnly: true,
|
|
1058
|
-
}),
|
|
1059
|
-
});
|
|
1060
|
-
setActionNoticeRef.current(t("browserworkspace.BrowserBridgeFolderRevealed", {
|
|
1061
|
-
defaultValue: "Revealed the Agent Browser Bridge folder at {{path}}.",
|
|
1062
|
-
path: response.path,
|
|
1063
|
-
}), "success", 4_000);
|
|
1064
|
-
}, t("browserworkspace.OpenBrowserBridgeFolderFailed", {
|
|
1065
|
-
defaultValue: "Failed to reveal the Agent Browser Bridge extension folder.",
|
|
1066
|
-
}));
|
|
1067
|
-
}, [runBrowserWorkspaceAction, t]);
|
|
1068
|
-
const openBrowserBridgeChromeExtensions = useCallback(async () => {
|
|
1069
|
-
await runBrowserWorkspaceAction("browser-bridge:open-manager", async () => {
|
|
1070
|
-
await client.fetch("/api/browser-bridge/packages/chrome/open-manager", {
|
|
1071
|
-
method: "POST",
|
|
1072
|
-
});
|
|
1073
|
-
setActionNoticeRef.current(t("browserworkspace.BrowserBridgeOpenedChromeExtensions", {
|
|
1074
|
-
defaultValue: "Opened Chrome extensions. Click Load unpacked and choose the Agent Browser Bridge folder.",
|
|
1075
|
-
}), "success", 4_000);
|
|
1076
|
-
}, t("browserworkspace.OpenBrowserBridgeManagerFailed", {
|
|
1077
|
-
defaultValue: "Failed to open Chrome extensions.",
|
|
1078
|
-
}));
|
|
1079
|
-
}, [runBrowserWorkspaceAction, t]);
|
|
1080
|
-
const refreshBrowserBridgeConnection = useCallback(async () => {
|
|
1081
|
-
await runBrowserWorkspaceAction("browser-bridge:refresh", async () => {
|
|
1082
|
-
await loadBrowserBridgeState({ silent: true });
|
|
1083
|
-
setActionNoticeRef.current(t("browserworkspace.BrowserBridgeRefreshSuccess", {
|
|
1084
|
-
defaultValue: "Refreshed Agent Browser Bridge connection status.",
|
|
1085
|
-
}), "success", 3_000);
|
|
1086
|
-
}, t("browserworkspace.RefreshBrowserBridgeFailed", {
|
|
1087
|
-
defaultValue: "Failed to refresh Agent Browser Bridge status.",
|
|
1088
|
-
}));
|
|
1089
|
-
}, [loadBrowserBridgeState, runBrowserWorkspaceAction, t]);
|
|
1090
|
-
const browserPageScopeCopy = useMemo(() => getBrowserPageScopeCopy({
|
|
1091
|
-
browserBridgeConnected,
|
|
1092
|
-
browserBridgeInstallAvailable: browserBridgeSupported,
|
|
1093
|
-
browserLabel: primaryBrowserBridgeCompanion?.browser,
|
|
1094
|
-
profileLabel: primaryBrowserBridgeCompanion?.profileLabel,
|
|
1095
|
-
}), [
|
|
1096
|
-
browserBridgeConnected,
|
|
1097
|
-
browserBridgeSupported,
|
|
1098
|
-
primaryBrowserBridgeCompanion?.browser,
|
|
1099
|
-
primaryBrowserBridgeCompanion?.profileLabel,
|
|
1100
|
-
]);
|
|
1101
|
-
const browserChatActions = !browserBridgeSupported || browserBridgeConnected ? null : (_jsxs(_Fragment, { children: [_jsx(Button, { size: "sm", disabled: busyAction !== null, onClick: () => void installBrowserBridgeExtension(), children: t("browserworkspace.InstallBrowserBridge", {
|
|
1102
|
-
defaultValue: "Install Agent Browser Bridge",
|
|
1103
|
-
}) }), _jsxs(Button, { variant: "outline", size: "sm", disabled: busyAction !== null || !browserBridgePackageStatus?.chromeBuildPath, onClick: () => void revealBrowserBridgeFolder(), children: [_jsx(FolderOpen, { className: "h-4 w-4" }), t("browserworkspace.OpenBrowserBridgeFolder", {
|
|
1104
|
-
defaultValue: "Open extension folder",
|
|
1105
|
-
})] }), _jsx(Button, { variant: "outline", size: "sm", disabled: busyAction !== null, onClick: () => void openBrowserBridgeChromeExtensions(), children: t("browserworkspace.OpenChromeExtensions", {
|
|
1106
|
-
defaultValue: "Open Chrome extensions",
|
|
1107
|
-
}) })] }));
|
|
1108
|
-
const browserPageScopedChatPaneProps = useMemo(() => ({
|
|
1109
|
-
introOverride: {
|
|
1110
|
-
title: browserPageScopeCopy.title,
|
|
1111
|
-
body: browserPageScopeCopy.body,
|
|
1112
|
-
actions: browserChatActions,
|
|
1113
|
-
},
|
|
1114
|
-
systemAddendumOverride: browserPageScopeCopy.systemAddendum,
|
|
1115
|
-
placeholderOverride: browserBridgeConnected
|
|
1116
|
-
? t("browserworkspace.ChatPlaceholderConnected", {
|
|
1117
|
-
defaultValue: "Message",
|
|
1118
|
-
})
|
|
1119
|
-
: t("browserworkspace.ChatPlaceholderInstallBridge", {
|
|
1120
|
-
defaultValue: "Message",
|
|
1121
|
-
}),
|
|
1122
|
-
}), [browserBridgeConnected, browserChatActions, browserPageScopeCopy, t]);
|
|
1123
|
-
const tabsLabel = t("browserworkspace.Tabs", {
|
|
1124
|
-
defaultValue: "Tabs",
|
|
1125
|
-
});
|
|
1126
|
-
const userTabsLabel = t("browserworkspace.UserTabs", {
|
|
1127
|
-
defaultValue: "User Tabs",
|
|
1128
|
-
});
|
|
1129
|
-
const agentTabsLabel = t("browserworkspace.AgentTabs", {
|
|
1130
|
-
defaultValue: "Agent Tabs",
|
|
1131
|
-
});
|
|
1132
|
-
const appTabsLabel = t("browserworkspace.AppTabs", {
|
|
1133
|
-
defaultValue: "App Tabs",
|
|
1134
|
-
});
|
|
1135
|
-
const newTabLabel = t("browserworkspace.NewTab", {
|
|
1136
|
-
defaultValue: "New tab",
|
|
1137
|
-
});
|
|
1138
|
-
const closeTabLabel = t("browserworkspace.CloseTab", {
|
|
1139
|
-
defaultValue: "Close tab",
|
|
1140
|
-
});
|
|
1141
|
-
const goLabel = t("browserworkspace.Go", {
|
|
1142
|
-
defaultValue: "Go",
|
|
1143
|
-
});
|
|
1144
|
-
function renderBrowserWorkspaceTabRow(tab) {
|
|
1145
|
-
const active = tab.id === selectedTabId;
|
|
1146
|
-
const tabHasSessionFocus = workspace.mode === "web" ? tab.visible : active;
|
|
1147
|
-
const label = getBrowserWorkspaceTabLabel(tab, t);
|
|
1148
|
-
const description = getBrowserWorkspaceTabDescription(tab, workspace.mode);
|
|
1149
|
-
const tabIsInternal = isInternalBrowserWorkspaceTab(tab);
|
|
1150
|
-
return (_jsxs("div", { className: "group relative", children: [_jsxs("button", { type: "button", role: "tab", "aria-selected": active, "aria-current": active ? "page" : undefined, title: tab.url, onClick: () => void runBrowserWorkspaceAction(`show:${tab.id}`, async () => {
|
|
1151
|
-
await activateBrowserWorkspaceTab(tab.id);
|
|
1152
|
-
}), className: `flex w-full min-w-0 items-start gap-1.5 rounded-[var(--radius-sm)] px-1.5 py-1 text-left transition-colors ${tabIsInternal ? "pr-1.5" : "pr-7"} ${active ? "bg-bg-muted/50 text-txt" : "text-txt hover:bg-bg-muted/50"}`, children: [_jsx("span", { className: "mt-0.5 inline-flex h-3.5 w-3.5 shrink-0 items-center justify-center text-muted/70", children: tabHasSessionFocus ? (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": true, className: "h-2 w-2 rounded-full bg-accent shadow-[0_0_4px_var(--accent)]" }), _jsx("span", { className: "sr-only", children: t("browserworkspace.AgentActive", {
|
|
1153
|
-
defaultValue: "Agent is on this tab",
|
|
1154
|
-
}) })] })) : (_jsx("span", { className: "text-[10px] font-semibold leading-none", children: getBrowserWorkspaceTabMonogram(label) })) }), _jsxs("span", { className: "min-w-0 flex-1", children: [_jsx("span", { className: "block truncate text-xs-tight font-medium leading-snug", children: label }), _jsx("span", { className: "block truncate text-[11px] leading-snug text-muted/65", children: description })] })] }), tabIsInternal ? null : (_jsx("button", { type: "button", "aria-label": `${closeTabLabel} ${label}`, title: `${closeTabLabel}: ${label}`, className: `absolute right-0 top-1/2 inline-flex h-5 w-5 -translate-y-1/2 items-center justify-center rounded-[var(--radius-sm)] text-muted transition-opacity hover:bg-bg-muted/50 hover:text-danger focus-visible:opacity-100 ${active
|
|
1155
|
-
? "opacity-100"
|
|
1156
|
-
: "opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"}`, onClick: (event) => {
|
|
1157
|
-
event.preventDefault();
|
|
1158
|
-
event.stopPropagation();
|
|
1159
|
-
void runBrowserWorkspaceAction(`close:${tab.id}`, async () => {
|
|
1160
|
-
await closeBrowserWorkspaceTabById(tab.id);
|
|
1161
|
-
});
|
|
1162
|
-
}, children: _jsx(X, { className: "h-3 w-3" }) }))] }, tab.id));
|
|
1163
|
-
}
|
|
1164
|
-
const browserTabsSidebar = (_jsx(AppPageSidebar, { testId: "browser-workspace-sidebar", collapsible: true, contentIdentity: "browser-workspace-tabs", collapseButtonTestId: "browser-workspace-sidebar-collapse-toggle", expandButtonTestId: "browser-workspace-sidebar-expand-toggle", collapseButtonAriaLabel: t("browserworkspace.CollapseTabs", {
|
|
1165
|
-
defaultValue: "Collapse browser tabs",
|
|
1166
|
-
}), expandButtonAriaLabel: t("browserworkspace.ExpandTabs", {
|
|
1167
|
-
defaultValue: "Expand browser tabs",
|
|
1168
|
-
}), mobileTitle: _jsx(SidebarContent.SectionLabel, { children: tabsLabel }), collapsedRailAction: _jsx(SidebarCollapsedActionButton, { "aria-label": newTabLabel, onClick: () => void runBrowserWorkspaceAction("open:new", async () => {
|
|
1169
|
-
await openNewBrowserWorkspaceTab(newBrowserWorkspaceTabSeedUrl, "user");
|
|
1170
|
-
}), children: _jsx(Plus, { className: "h-4 w-4" }) }), collapsedRailItems: collapsedRailTabs.map((tab) => {
|
|
1171
|
-
const label = getBrowserWorkspaceTabLabel(tab, t);
|
|
1172
|
-
const active = tab.id === selectedTabId;
|
|
1173
|
-
const tabHasSessionFocus = workspace.mode === "web" ? tab.visible : active;
|
|
1174
|
-
return (_jsx(SidebarContent.RailItem, { "aria-label": label, title: label, active: active, indicatorTone: tabHasSessionFocus ? "accent" : undefined, onClick: () => void runBrowserWorkspaceAction(`show:${tab.id}`, async () => {
|
|
1175
|
-
await activateBrowserWorkspaceTab(tab.id);
|
|
1176
|
-
}), children: getBrowserWorkspaceTabMonogram(label) }, tab.id));
|
|
1177
|
-
}), "aria-label": tabsLabel, children: _jsx(SidebarScrollRegion, { className: "scrollbar-hide px-1 pb-3 pt-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", children: _jsx(SidebarPanel, { className: "bg-transparent gap-0 p-0 shadow-none", children: _jsxs("div", { className: "space-y-3", children: [_jsx(CollapsibleSidebarSection, { sectionKey: "user", label: userTabsLabel, collapsed: collapsedSections.has("user"), onToggleCollapsed: toggleSidebarSectionCollapsed, onAdd: () => void runBrowserWorkspaceAction("open:new", async () => {
|
|
1178
|
-
await openNewBrowserWorkspaceTab(newBrowserWorkspaceTabSeedUrl, "user");
|
|
1179
|
-
}), addLabel: newTabLabel, emptyLabel: t("browserworkspace.NoUserTabs", {
|
|
1180
|
-
defaultValue: "No user tabs yet.",
|
|
1181
|
-
}), emptyClassName: "pl-3 pr-2 py-1 text-2xs text-muted/70", bodyClassName: "space-y-0.5 pl-3", hoverActionsOnDesktop: true, testIdPrefix: "browser-tab-section", children: groupedTabs.user.length > 0 ? (_jsx("div", { role: "tablist", "aria-label": userTabsLabel, className: "space-y-1", children: groupedTabs.user.map((tab) => renderBrowserWorkspaceTabRow(tab)) })) : null }), _jsx(CollapsibleSidebarSection, { sectionKey: "agent", label: agentTabsLabel, collapsed: collapsedSections.has("agent"), onToggleCollapsed: toggleSidebarSectionCollapsed, emptyLabel: t("browserworkspace.NoAgentTabs", {
|
|
1182
|
-
defaultValue: "No agent tabs yet.",
|
|
1183
|
-
}), emptyClassName: "pl-3 pr-2 py-1 text-2xs text-muted/70", bodyClassName: "space-y-0.5 pl-3", hoverActionsOnDesktop: true, testIdPrefix: "browser-tab-section", children: groupedTabs.agent.length > 0 ? (_jsx("div", { role: "tablist", "aria-label": agentTabsLabel, className: "space-y-1", children: groupedTabs.agent.map((tab) => renderBrowserWorkspaceTabRow(tab)) })) : null }), _jsx(CollapsibleSidebarSection, { sectionKey: "app", label: appTabsLabel, collapsed: collapsedSections.has("app"), onToggleCollapsed: toggleSidebarSectionCollapsed, emptyLabel: t("browserworkspace.NoAppTabs", {
|
|
1184
|
-
defaultValue: "No app tabs yet.",
|
|
1185
|
-
}), emptyClassName: "pl-3 pr-2 py-1 text-2xs text-muted/70", bodyClassName: "space-y-0.5 pl-3", hoverActionsOnDesktop: true, testIdPrefix: "browser-tab-section", children: groupedTabs.app.length > 0 ? (_jsx("div", { role: "tablist", "aria-label": appTabsLabel, className: "space-y-1", children: groupedTabs.app.map((tab) => renderBrowserWorkspaceTabRow(tab)) })) : null })] }) }) }) }));
|
|
1186
|
-
const navNode = (_jsxs("div", { className: "flex items-center gap-2 border-b border-border/30 bg-card/20 px-3 py-2", children: [_jsx(Button, { variant: "ghost", size: "icon", className: "h-8 w-8", "aria-label": t("common.refresh", { defaultValue: "Refresh" }), disabled: !selectedTab || busyAction !== null, onClick: () => void runBrowserWorkspaceAction("reload:selected", async () => {
|
|
1187
|
-
await reloadSelectedBrowserWorkspaceTab();
|
|
1188
|
-
}), children: _jsx(RefreshCw, { className: "h-4 w-4" }) }), _jsx(Input, { value: locationInput, onChange: (event) => {
|
|
1189
|
-
setLocationInput(event.target.value);
|
|
1190
|
-
setLocationDirty(true);
|
|
1191
|
-
}, onKeyDown: (event) => {
|
|
1192
|
-
if (event.key === "Enter") {
|
|
1193
|
-
event.preventDefault();
|
|
1194
|
-
void runBrowserWorkspaceAction("navigate:enter", async () => {
|
|
1195
|
-
await navigateSelectedBrowserWorkspaceTab(locationInput);
|
|
1196
|
-
});
|
|
1197
|
-
}
|
|
1198
|
-
}, placeholder: t("browserworkspace.AddressPlaceholder", {
|
|
1199
|
-
defaultValue: selectedTabIsInternal
|
|
1200
|
-
? "Internal tab URL is managed by the app"
|
|
1201
|
-
: "Enter a URL",
|
|
1202
|
-
}), "data-testid": "browser-workspace-address-input", disabled: busyAction !== null || selectedTabIsInternal, className: "h-8 min-w-0 flex-1 rounded-full border-border/40 bg-card/70 px-4 text-sm text-txt" }), _jsx(Button, { variant: "outline", size: "sm", className: "h-8 shrink-0 px-3", "aria-label": goLabel, disabled: busyAction !== null ||
|
|
1203
|
-
selectedTabIsInternal ||
|
|
1204
|
-
locationInput.trim().length === 0, onClick: () => void runBrowserWorkspaceAction("navigate:click", async () => {
|
|
1205
|
-
await navigateSelectedBrowserWorkspaceTab(locationInput);
|
|
1206
|
-
}), children: goLabel }), _jsx(Button, { variant: "ghost", size: "icon", className: "h-8 w-8", "aria-label": t("browserworkspace.OpenExternal", {
|
|
1207
|
-
defaultValue: "Open external",
|
|
1208
|
-
}), disabled: !selectedTab || busyAction !== null, onClick: () => void runBrowserWorkspaceAction("open:external", async () => {
|
|
1209
|
-
if (!selectedTab)
|
|
1210
|
-
return;
|
|
1211
|
-
await openExternalUrl(selectedTab.url);
|
|
1212
|
-
}), children: _jsx(ExternalLink, { className: "h-4 w-4" }) })] }));
|
|
1213
|
-
const watchBannerLabel = busyAction
|
|
1214
|
-
? t("browserworkspace.Working", {
|
|
1215
|
-
defaultValue: "Working: {{action}}",
|
|
1216
|
-
action: busyAction.replace(/[:\-_]+/g, " "),
|
|
1217
|
-
})
|
|
1218
|
-
: null;
|
|
1219
|
-
const browserSurface = (_jsxs("div", { ref: browserSurfaceRef, className: "relative flex-1 min-h-0 overflow-hidden bg-bg", children: [watchBannerLabel ? (_jsxs("div", { className: "absolute left-3 right-3 top-2 z-20 flex items-center gap-2 rounded-md border border-border/40 bg-card/80 px-3 py-1.5 text-xs text-muted shadow-sm backdrop-blur-sm", role: "status", "aria-live": "polite", "data-testid": "browser-workspace-watch-banner", children: [_jsx("span", { "aria-hidden": true, className: "inline-block h-1.5 w-1.5 animate-pulse rounded-full bg-accent shadow-[0_0_4px_var(--accent)]" }), _jsx("span", { className: "truncate", children: watchBannerLabel })] })) : null, loadError ? (_jsx("div", { className: "absolute left-1/2 top-6 z-20 -translate-x-1/2 rounded-md border border-danger/50 bg-danger/15 px-3 py-1.5 text-xs text-danger", role: "alert", children: loadError })) : null, workspace.tabs.length === 0 ? (_jsx("div", { className: "flex h-full items-center justify-center", children: _jsxs("div", { className: "flex max-w-sm flex-col items-center gap-3 text-center", children: [_jsx("div", { className: "text-sm font-semibold text-txt", children: loading
|
|
1220
|
-
? t("browserworkspace.Loading", {
|
|
1221
|
-
defaultValue: "Loading browser workspace",
|
|
1222
|
-
})
|
|
1223
|
-
: t("browserworkspace.EmptyTitle", {
|
|
1224
|
-
defaultValue: "No browser tabs yet",
|
|
1225
|
-
}) }), _jsx("div", { className: "text-xs leading-5 text-muted", children: isBrowserWorkspaceSessionMode(workspace.mode)
|
|
1226
|
-
? t("browserworkspace.EmptySessionDescription", {
|
|
1227
|
-
defaultValue: "Open a page to start a real browser session. The preview here follows the session instead of embedding the target site directly.",
|
|
1228
|
-
})
|
|
1229
|
-
: t("browserworkspace.EmptyDescription", {
|
|
1230
|
-
defaultValue: "Open a tab and watch the agent drive the page. Wallet and signing route through your local Steward — no extension required.",
|
|
1231
|
-
}) }), !loading ? (_jsx(Button, { size: "sm", className: "mt-1", disabled: busyAction !== null, onClick: () => void runBrowserWorkspaceAction("open:home", async () => {
|
|
1232
|
-
await openNewBrowserWorkspaceTab(BROWSER_WORKSPACE_DEFAULT_HOME_URL, "user");
|
|
1233
|
-
}), "data-testid": "browser-workspace-open-home", children: t("browserworkspace.OpenNewTab", {
|
|
1234
|
-
defaultValue: "Open new tab",
|
|
1235
|
-
}) })) : null, !loading && workspace.mode === "web" && browserBridgeSupported ? (_jsxs("div", { className: "mt-3 flex w-full flex-col gap-3 rounded-md border border-border/40 bg-card/35 p-3 text-left", children: [_jsxs("div", { className: "flex items-start justify-between gap-3", children: [_jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "text-xs font-semibold text-txt", children: t("browserworkspace.BrowserBridgeTitle", {
|
|
1236
|
-
defaultValue: "Agent Browser Bridge",
|
|
1237
|
-
}) }), _jsx("div", { className: "mt-1 text-xs leading-5 text-muted", children: t("browserworkspace.BrowserBridgeDescription", {
|
|
1238
|
-
defaultValue: "The agent can drive your real Chrome tabs with the Agent Browser Bridge extension.",
|
|
1239
|
-
}) }), _jsxs("div", { className: "mt-1 truncate text-[11px] text-muted", children: [browserBridgeConnected
|
|
1240
|
-
? t("browserworkspace.BrowserBridgeConnected", {
|
|
1241
|
-
defaultValue: "Connected",
|
|
1242
|
-
})
|
|
1243
|
-
: browserBridgeAvailable
|
|
1244
|
-
? t("browserworkspace.BrowserBridgeAvailable", {
|
|
1245
|
-
defaultValue: "Extension available",
|
|
1246
|
-
})
|
|
1247
|
-
: t("browserworkspace.BrowserBridgeNotConnected", {
|
|
1248
|
-
defaultValue: "Not connected",
|
|
1249
|
-
}), browserBridgePackageStatus?.chromeBuildPath
|
|
1250
|
-
? ` - ${browserBridgePackageStatus.chromeBuildPath}`
|
|
1251
|
-
: ""] })] }), _jsx(Button, { variant: "ghost", size: "icon", className: "h-8 w-8 shrink-0", "aria-label": t("browserworkspace.RefreshBrowserBridge", {
|
|
1252
|
-
defaultValue: "Refresh Agent Browser Bridge",
|
|
1253
|
-
}), disabled: browserBridgeLoading || busyAction !== null, onClick: () => void refreshBrowserBridgeConnection(), children: _jsx(RefreshCw, { className: "h-4 w-4" }) })] }), _jsxs("div", { className: "flex flex-wrap gap-2", children: [_jsx(Button, { size: "sm", disabled: busyAction !== null, onClick: () => void installBrowserBridgeExtension(), children: t("browserworkspace.InstallBrowserBridge", {
|
|
1254
|
-
defaultValue: "Install Agent Browser Bridge",
|
|
1255
|
-
}) }), _jsxs(Button, { variant: "outline", size: "sm", disabled: busyAction !== null ||
|
|
1256
|
-
!browserBridgePackageStatus?.chromeBuildPath, onClick: () => void revealBrowserBridgeFolder(), children: [_jsx(FolderOpen, { className: "h-4 w-4" }), t("browserworkspace.OpenBrowserBridgeFolder", {
|
|
1257
|
-
defaultValue: "Open extension folder",
|
|
1258
|
-
})] }), _jsx(Button, { variant: "outline", size: "sm", disabled: busyAction !== null, onClick: () => void openBrowserBridgeChromeExtensions(), children: t("browserworkspace.OpenChromeExtensions", {
|
|
1259
|
-
defaultValue: "Open Chrome extensions",
|
|
1260
|
-
}) })] })] })) : null] }) })) : workspace.mode === "desktop" ? (workspace.tabs.map((tab) => {
|
|
1261
|
-
const active = tab.id === selectedTabId;
|
|
1262
|
-
const visibilityClass = active
|
|
1263
|
-
? "pointer-events-auto opacity-100"
|
|
1264
|
-
: "pointer-events-none opacity-0";
|
|
1265
|
-
return (_jsx("electrobun-webview", { ref: (el) => registerBrowserWorkspaceElectrobunWebview(tab.id, el ?? null), src: tab.url, partition: tab.partition, preload: BROWSER_TAB_PRELOAD_SCRIPT,
|
|
1266
|
-
// Native OOPIF hide/show is driven by `tag.toggleHidden(bool)`
|
|
1267
|
-
// in the selection useEffect — the HTML `hidden` attribute
|
|
1268
|
-
// alone is a no-op for the underlying native view, which is
|
|
1269
|
-
// why inactive tabs were leaking pointer events through the
|
|
1270
|
-
// surface.
|
|
1271
|
-
className: `absolute inset-0 ${visibilityClass}`, style: { display: "block" } }, tab.id));
|
|
1272
|
-
})) : workspace.mode === "web" ? (workspace.tabs.map((tab) => {
|
|
1273
|
-
const active = tab.id === selectedTabId;
|
|
1274
|
-
const highlighted = tab.visible;
|
|
1275
|
-
const frameBlocked = isBrowserWorkspaceFrameBlockedUrl(tab.url);
|
|
1276
|
-
const visibilityClass = active
|
|
1277
|
-
? "pointer-events-auto opacity-100"
|
|
1278
|
-
: "pointer-events-none opacity-0";
|
|
1279
|
-
if (frameBlocked) {
|
|
1280
|
-
return (_jsx("div", { className: `absolute inset-0 flex h-full w-full items-center justify-center bg-bg px-6 text-center transition-opacity ${visibilityClass}`, children: _jsxs("div", { className: "flex max-w-md flex-col items-center gap-3", children: [_jsx("div", { className: "text-sm font-semibold text-txt", children: t("browserworkspace.FrameBlockedTitle", {
|
|
1281
|
-
defaultValue: "Open this site outside the iframe",
|
|
1282
|
-
}) }), _jsx("div", { className: "text-xs leading-5 text-muted", children: t("browserworkspace.FrameBlockedDescription", {
|
|
1283
|
-
defaultValue: "Discord blocks embedded browser frames. Use Milady Desktop Browser or a connected browser profile so LifeOps can inspect the page after login.",
|
|
1284
|
-
}) }), _jsxs(Button, { type: "button", size: "sm", variant: "outline", disabled: busyAction !== null, onClick: () => void runBrowserWorkspaceAction(`open:external:${tab.id}`, async () => {
|
|
1285
|
-
await openExternalUrl(tab.url);
|
|
1286
|
-
}), children: [_jsx(ExternalLink, { className: "h-4 w-4" }), t("browserworkspace.OpenExternal", {
|
|
1287
|
-
defaultValue: "Open external",
|
|
1288
|
-
})] })] }) }, tab.id));
|
|
1289
|
-
}
|
|
1290
|
-
return (_jsx("iframe", { ref: (iframe) => registerBrowserWorkspaceIframe(tab.id, iframe), title: getBrowserWorkspaceTabLabel(tab, t), src: tab.url, loading: "eager", sandbox: "allow-downloads allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts", allow: "clipboard-read; clipboard-write", referrerPolicy: "strict-origin-when-cross-origin",
|
|
1291
|
-
// Use bg-bg + colorScheme so the iframe's UA scrollbars and any
|
|
1292
|
-
// pre-paint background match the outer app theme instead of
|
|
1293
|
-
// flashing white in dark mode. Embedded sites still pick their
|
|
1294
|
-
// own theme based on the OS prefers-color-scheme; we can't force
|
|
1295
|
-
// that cross-origin without an extension content script.
|
|
1296
|
-
className: `absolute inset-0 h-full w-full border-0 bg-bg transition-opacity ${visibilityClass}`, style: { colorScheme: uiTheme }, onLoad: () => highlighted
|
|
1297
|
-
? postBrowserWalletReady(tab, browserWalletState)
|
|
1298
|
-
: undefined }, tab.id));
|
|
1299
|
-
})) : (_jsxs("div", { className: "flex h-full flex-1 flex-col bg-bg", children: [_jsxs("div", { className: "flex flex-wrap items-center gap-2 border-b border-border/30 bg-card/20 px-3 py-2 text-xs text-muted", children: [_jsx("span", { className: "rounded-full border border-border/40 bg-card/60 px-2 py-1 font-medium text-txt", children: t("browserworkspace.CloudSession", {
|
|
1300
|
-
defaultValue: "Cloud browser session",
|
|
1301
|
-
}) }), selectedTab?.provider ? (_jsxs("span", { children: [t("common.provider", {
|
|
1302
|
-
defaultValue: "Provider",
|
|
1303
|
-
}), `: ${selectedTab.provider}`] })) : null, selectedTab?.status ? (_jsxs("span", { children: [t("common.status", {
|
|
1304
|
-
defaultValue: "Status",
|
|
1305
|
-
}), `: ${selectedTab.status}`] })) : null, selectedTabLiveViewUrl ? (_jsx("button", { type: "button", className: "rounded-md border border-border/40 px-2 py-1 text-txt hover:bg-card/60", onClick: () => void runBrowserWorkspaceAction("open:live-session", async () => {
|
|
1306
|
-
await openExternalUrl(selectedTabLiveViewUrl);
|
|
1307
|
-
}), children: t("browserworkspace.OpenLiveSession", {
|
|
1308
|
-
defaultValue: "Open live session",
|
|
1309
|
-
}) })) : null] }), _jsxs("div", { className: "relative flex min-h-0 flex-1 items-center justify-center overflow-hidden bg-card/15", children: [snapshotError ? (_jsx("div", { className: "absolute left-1/2 top-6 z-20 -translate-x-1/2 rounded-md border border-danger/50 bg-danger/15 px-3 py-1.5 text-xs text-danger", role: "alert", children: snapshotError })) : null, selectedTabSnapshot ? (_jsx("img", { alt: selectedTab
|
|
1310
|
-
? getBrowserWorkspaceTabLabel(selectedTab, t)
|
|
1311
|
-
: t("browserworkspace.SessionPreview", {
|
|
1312
|
-
defaultValue: "Browser session preview",
|
|
1313
|
-
}), src: `data:image/png;base64,${selectedTabSnapshot}`, className: "h-full w-full object-contain" })) : (_jsxs("div", { className: "flex max-w-sm flex-col items-center gap-2 px-6 text-center", children: [_jsx("div", { className: "text-sm font-semibold text-txt", children: t("browserworkspace.SessionPreviewPending", {
|
|
1314
|
-
defaultValue: "Waiting for browser session preview",
|
|
1315
|
-
}) }), _jsx("div", { className: "text-xs text-muted", children: t("browserworkspace.SessionPreviewPendingDescription", {
|
|
1316
|
-
defaultValue: "The page is running in a real browser session. A fresh preview will appear here as the session updates.",
|
|
1317
|
-
}) })] }))] }), selectedTab ? (_jsxs("div", { className: "border-t border-border/30 bg-card/20 px-3 py-2 text-xs text-muted", children: [_jsx("div", { className: "truncate font-medium text-txt", children: getBrowserWorkspaceTabLabel(selectedTab, t) }), _jsx("div", { className: "truncate", children: selectedTab.url }), _jsx("div", { className: "mt-1", children: selectedTabIsInternal
|
|
1318
|
-
? t("browserworkspace.InternalSessionDescription", {
|
|
1319
|
-
defaultValue: "This is an internal app-managed browser session. Use LifeOps actions to steer it; the URL is locked in the Browser view.",
|
|
1320
|
-
})
|
|
1321
|
-
: t("browserworkspace.RealSessionDescription", {
|
|
1322
|
-
defaultValue: "This is a real browser session, not a raw iframe embed. Use chat or browser actions to navigate and interact with sites like Google and Discord.",
|
|
1323
|
-
}) })] })) : null] }))] }));
|
|
1324
|
-
const mainNode = (_jsx(WorkspaceLayout, { sidebar: browserTabsSidebar, contentHeader: navNode, contentHeaderClassName: "mb-0", headerPlacement: "inside", contentPadding: false, contentClassName: "overflow-hidden", contentInnerClassName: "min-h-0 overflow-hidden", mobileSidebarLabel: tabsLabel, mobileSidebarTriggerClassName: "ml-3 mt-3", children: browserSurface }));
|
|
1325
|
-
return (_jsx(AppWorkspaceChrome, { testId: "browser-workspace-view", main: mainNode, chatScope: "page-browser", pageScopedChatPaneProps: browserPageScopedChatPaneProps }));
|
|
1326
|
-
}
|