@elizaos/ui 2.0.3-beta.2 → 2.0.3-beta.3
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/App.d.ts +6 -1
- package/App.d.ts.map +1 -1
- package/App.js +251 -49
- package/agent-surface/AgentSurfaceContext.d.ts +1 -1
- package/agent-surface/AgentSurfaceContext.hooks.d.ts +2 -2
- package/agent-surface/__e2e__/real-view-fixture.d.ts +21 -0
- package/agent-surface/__e2e__/real-view-fixture.d.ts.map +1 -0
- package/agent-surface/__e2e__/real-view-fixture.js +54 -0
- package/agent-surface/capabilities.d.ts +2 -2
- package/agent-surface/components.d.ts +1 -1
- package/agent-surface/element-reporter.hooks.d.ts +1 -1
- package/agent-surface/index.d.ts +10 -10
- package/agent-surface/registry.d.ts +1 -1
- package/agent-surface/useAgentElement.d.ts +1 -1
- package/api/android-native-agent-transport.d.ts +1 -1
- package/api/client-agent.d.ts +16 -2
- package/api/client-agent.d.ts.map +1 -1
- package/api/client-agent.js +13 -3
- package/api/client-approvals.d.ts +16 -0
- package/api/client-approvals.d.ts.map +1 -0
- package/api/client-approvals.js +4 -0
- package/api/client-automations.d.ts +1 -1
- package/api/client-background.d.ts +15 -0
- package/api/client-background.d.ts.map +1 -0
- package/api/client-background.js +10 -0
- package/api/client-base.d.ts +13 -3
- package/api/client-base.d.ts.map +1 -1
- package/api/client-base.js +99 -6
- package/api/client-browser-workspace.d.ts +1 -1
- package/api/client-chat.d.ts +8 -3
- package/api/client-chat.d.ts.map +1 -1
- package/api/client-chat.js +13 -4
- package/api/client-cloud.d.ts +3 -3
- package/api/client-cloud.d.ts.map +1 -1
- package/api/client-cloud.js +19 -13
- package/api/client-files.d.ts +36 -0
- package/api/client-files.d.ts.map +1 -0
- package/api/client-files.js +19 -0
- package/api/client-local-inference.d.ts +52 -6
- package/api/client-local-inference.d.ts.map +1 -1
- package/api/client-local-inference.js +78 -5
- package/api/client-skills.d.ts +3 -3
- package/api/client-transcripts.d.ts +8 -0
- package/api/client-transcripts.d.ts.map +1 -1
- package/api/client-transcripts.js +6 -0
- package/api/client-types-chat.d.ts +53 -2
- package/api/client-types-chat.d.ts.map +1 -1
- package/api/client-types-cloud.d.ts +3 -151
- package/api/client-types-cloud.d.ts.map +1 -1
- package/api/client-types-config.d.ts +13 -6
- package/api/client-types-config.d.ts.map +1 -1
- package/api/client-types-core.d.ts +1 -1
- package/api/client-types-feed.d.ts +0 -14
- package/api/client-types-feed.d.ts.map +1 -1
- package/api/client-types.d.ts +8 -8
- package/api/client-wallet.d.ts +3 -3
- package/api/client-workflow.d.ts +1 -1
- package/api/client.d.ts +31 -27
- package/api/client.d.ts.map +1 -1
- package/api/client.js +3 -0
- package/api/desktop-http-transport.d.ts +1 -1
- package/api/desktop-http-transport.d.ts.map +1 -1
- package/api/desktop-http-transport.js +29 -1
- package/api/i18n-locale-client.d.ts +1 -1
- package/api/index.d.ts +2 -2
- package/api/ios-local-agent-kernel.d.ts +1 -1
- package/api/ios-local-agent-kernel.d.ts.map +1 -1
- package/api/ios-local-agent-kernel.js +97 -22
- package/api/ios-local-agent-transport.d.ts +1 -1
- package/api/ios-local-agent-transport.d.ts.map +1 -1
- package/api/ios-local-agent-transport.js +1 -7
- package/api/ittp-agent-transport.d.ts +1 -1
- package/api/native-cloud-http-transport.d.ts +1 -1
- package/api/native-cloud-http-transport.d.ts.map +1 -1
- package/api/native-cloud-http-transport.js +7 -0
- package/app-navigate-view.d.ts +1 -1
- package/app-navigate-view.d.ts.map +1 -1
- package/app-navigate-view.js +1 -4
- package/app-shell-components.d.ts +26 -27
- package/app-shell-components.d.ts.map +1 -1
- package/app-shell-components.js +3 -1
- package/app-shell-registry.d.ts +12 -1
- package/app-shell-registry.d.ts.map +1 -1
- package/backgrounds/AppBackground.d.ts +16 -0
- package/backgrounds/AppBackground.d.ts.map +1 -0
- package/backgrounds/AppBackground.js +30 -0
- package/backgrounds/ImageBackground.d.ts +12 -0
- package/backgrounds/ImageBackground.d.ts.map +1 -0
- package/backgrounds/ImageBackground.js +15 -0
- package/backgrounds/ShaderBackground.d.ts +12 -0
- package/backgrounds/ShaderBackground.d.ts.map +1 -0
- package/backgrounds/ShaderBackground.js +39 -0
- package/backgrounds/index.d.ts +7 -3
- package/backgrounds/index.d.ts.map +1 -1
- package/backgrounds/index.js +4 -0
- package/backgrounds/useBackgroundApplyChannel.d.ts +21 -0
- package/backgrounds/useBackgroundApplyChannel.d.ts.map +1 -0
- package/backgrounds/useBackgroundApplyChannel.js +53 -0
- package/bridge/capacitor-bridge.d.ts +1 -1
- package/bridge/index.d.ts +6 -6
- package/bridge/native-notifications.d.ts.map +1 -1
- package/bridge/native-notifications.js +6 -1
- package/bridge/native-plugins.d.ts +20 -1
- package/bridge/native-plugins.d.ts.map +1 -1
- package/bridge/plugin-bridge.d.ts +1 -1
- package/browser.d.ts +131 -131
- package/cache-telemetry.d.ts +2 -0
- package/cache-telemetry.d.ts.map +1 -1
- package/character/character-draft-helpers.d.ts +1 -1
- package/character-catalog.d.ts +1 -1
- package/chat/coding-agent-session-state.d.ts +1 -1
- package/chat/index.d.ts +24 -4
- package/chat/index.d.ts.map +1 -1
- package/chat/index.js +59 -6
- package/chat/slash-menu.d.ts +37 -2
- package/chat/slash-menu.d.ts.map +1 -1
- package/chat/slash-menu.js +220 -0
- package/chat/useSlashCommandController.d.ts +35 -2
- package/chat/useSlashCommandController.d.ts.map +1 -1
- package/chat/useSlashCommandController.js +64 -8
- package/cloud/account-security/AccountRoute.js +1 -1
- package/cloud/account-security/PermissionsRoute.js +1 -1
- package/cloud/account-security/SecurityRoute.js +1 -1
- package/cloud/account-security/components/account-details.d.ts +1 -1
- package/cloud/account-security/components/account-page-client.d.ts +1 -1
- package/cloud/account-security/components/organization-info.d.ts +1 -1
- package/cloud/account-security/components/profile-form.d.ts +1 -1
- package/cloud/account-security/components/profile-form.js +2 -2
- package/cloud/account-security/data/use-session-auth.d.ts +1 -1
- package/cloud/account-security/index.d.ts +8 -8
- package/cloud/admin/ModerationPage.js +1 -1
- package/cloud/admin/RedemptionsPage.js +2 -2
- package/cloud/admin/RpcStatusPage.js +1 -1
- package/cloud/admin/index.d.ts +6 -6
- package/cloud/analytics/_components/filters.js +1 -1
- package/cloud/analytics/_components/model-breakdown.js +2 -2
- package/cloud/analytics/_components/projections-chart.js +2 -2
- package/cloud/analytics/_components/provider-breakdown.js +2 -2
- package/cloud/analytics/index.d.ts +3 -3
- package/cloud/api-explorer/ApiExplorerPage.js +2 -2
- package/cloud/api-explorer/api-tester.d.ts.map +1 -1
- package/cloud/api-explorer/api-tester.js +15 -8
- package/cloud/api-explorer/auth-manager.d.ts +1 -1
- package/cloud/api-explorer/auth-manager.js +1 -1
- package/cloud/api-explorer/index.d.ts +5 -5
- package/cloud/api-explorer/use-session-auth.d.ts +1 -1
- package/cloud/api-keys/ApiKeysRoute.js +1 -1
- package/cloud/api-keys/ApiKeysView.d.ts +1 -1
- package/cloud/api-keys/ApiKeysView.js +5 -5
- package/cloud/api-keys/index.d.ts +6 -6
- package/cloud/applications/ApplicationDetailPage.js +1 -1
- package/cloud/applications/ApplicationsPage.js +1 -1
- package/cloud/applications/components/app-analytics.d.ts.map +1 -1
- package/cloud/applications/components/app-analytics.js +12 -20
- package/cloud/applications/components/app-details-tabs.d.ts +1 -1
- package/cloud/applications/components/app-details-tabs.js +1 -1
- package/cloud/applications/components/app-domains.d.ts.map +1 -1
- package/cloud/applications/components/app-domains.js +5 -2
- package/cloud/applications/components/app-overview.d.ts +1 -1
- package/cloud/applications/components/app-overview.d.ts.map +1 -1
- package/cloud/applications/components/app-overview.js +120 -3
- package/cloud/applications/components/app-promote.d.ts +1 -1
- package/cloud/applications/components/app-promote.d.ts.map +1 -1
- package/cloud/applications/components/app-promote.js +13 -4
- package/cloud/applications/components/app-settings.d.ts +1 -1
- package/cloud/applications/components/app-settings.js +5 -5
- package/cloud/applications/components/apps-table.d.ts +1 -1
- package/cloud/applications/components/create-app-dialog.js +1 -1
- package/cloud/applications/components/withdraw-dialog.js +1 -1
- package/cloud/applications/index.d.ts +5 -5
- package/cloud/applications/lib/apps.d.ts +25 -0
- package/cloud/applications/lib/apps.d.ts.map +1 -1
- package/cloud/applications/lib/apps.js +17 -1
- package/cloud/approvals/ApprovalsRoute.js +1 -1
- package/cloud/approvals/index.d.ts +3 -3
- package/cloud/approvals/lib/approvals.d.ts.map +1 -1
- package/cloud/approvals/lib/approvals.js +1 -1
- package/cloud/billing/components/billing-tab.d.ts +1 -1
- package/cloud/billing/components/direct-crypto-credit-card.d.ts +1 -1
- package/cloud/billing/components/direct-crypto-credit-card.js +1 -1
- package/cloud/billing/components/invoice-detail-client.d.ts +1 -1
- package/cloud/billing/components/payment-waiting-overlay.js +1 -1
- package/cloud/billing/data/billing-data.d.ts +2 -2
- package/cloud/billing/index.d.ts +9 -9
- package/cloud/billing/use-session-auth.d.ts +1 -1
- package/cloud/connectors/index.d.ts +10 -10
- package/cloud/documents/DocumentsRoute.js +2 -2
- package/cloud/documents/index.d.ts +7 -7
- package/cloud/documents/lib/agents.d.ts.map +1 -1
- package/cloud/documents/lib/agents.js +1 -1
- package/cloud/handoff/cloud-handoff-supervisor.d.ts +1 -1
- package/cloud/handoff/run-cloud-agent-handoff.d.ts +18 -0
- package/cloud/handoff/run-cloud-agent-handoff.d.ts.map +1 -0
- package/cloud/handoff/run-cloud-agent-handoff.js +51 -0
- package/cloud/index.d.ts +4 -4
- package/cloud/instances/AgentChatPage.js +2 -2
- package/cloud/instances/AgentDetailPage.js +1 -1
- package/cloud/instances/AgentsPage.js +1 -1
- package/cloud/instances/MyAgentsPage.js +1 -1
- package/cloud/instances/components/agent-actions.js +1 -1
- package/cloud/instances/components/agent-card.d.ts +3 -1
- package/cloud/instances/components/agent-card.d.ts.map +1 -1
- package/cloud/instances/components/agent-card.js +10 -6
- package/cloud/instances/components/character-filters.d.ts +1 -1
- package/cloud/instances/components/character-filters.js +1 -1
- package/cloud/instances/components/character-library-grid.d.ts +1 -1
- package/cloud/instances/components/create-eliza-agent-dialog.js +3 -3
- package/cloud/instances/components/docker-logs-viewer.d.ts.map +1 -1
- package/cloud/instances/components/docker-logs-viewer.js +13 -12
- package/cloud/instances/components/eliza-agent-backups-panel.js +2 -2
- package/cloud/instances/components/eliza-agents-table.js +1 -1
- package/cloud/instances/components/eliza-wallet-section.d.ts.map +1 -1
- package/cloud/instances/components/eliza-wallet-section.js +3 -5
- package/cloud/instances/components/my-agents.d.ts.map +1 -1
- package/cloud/instances/components/my-agents.js +5 -5
- package/cloud/instances/index.d.ts +6 -6
- package/cloud/instances/lib/i18n.d.ts +1 -1
- package/cloud/instances/lib/use-job-poller.d.ts.map +1 -1
- package/cloud/instances/lib/use-job-poller.js +4 -0
- package/cloud/instances/lib/use-sandbox-status-poll.d.ts.map +1 -1
- package/cloud/instances/lib/use-sandbox-status-poll.js +6 -0
- package/cloud/instances/lib/use-session-auth.d.ts +1 -1
- package/cloud/join/index.d.ts +5 -5
- package/cloud/lib/auth-query.d.ts +19 -0
- package/cloud/lib/auth-query.d.ts.map +1 -0
- package/cloud/{documents/lib → lib}/auth-query.js +7 -5
- package/cloud/lib/format-usd.d.ts +9 -0
- package/cloud/lib/format-usd.d.ts.map +1 -0
- package/cloud/lib/format-usd.js +16 -0
- package/cloud/lib/use-copy-feedback.d.ts +5 -0
- package/cloud/lib/use-copy-feedback.d.ts.map +1 -0
- package/cloud/{instances/lib → lib}/use-copy-feedback.js +2 -0
- package/cloud/lib/use-document-title.d.ts +2 -0
- package/cloud/lib/use-document-title.d.ts.map +1 -0
- package/cloud/{admin → lib}/use-document-title.js +4 -5
- package/cloud/lib/use-session-auth.d.ts +31 -0
- package/cloud/lib/use-session-auth.d.ts.map +1 -0
- package/cloud/{applications/lib → lib}/use-session-auth.js +14 -11
- package/cloud/mcps/McpDetailDrawer.d.ts +1 -1
- package/cloud/mcps/McpEditorDialog.d.ts +1 -1
- package/cloud/mcps/McpsView.d.ts.map +1 -1
- package/cloud/mcps/McpsView.js +20 -13
- package/cloud/mcps/index.d.ts +10 -10
- package/cloud/mcps/lib/mcp-mutations.d.ts +1 -1
- package/cloud/mcps/lib/use-mcps.d.ts +1 -1
- package/cloud/monetization/affiliates/AffiliatesRoute.js +1 -1
- package/cloud/monetization/affiliates/use-dashboard-referral-me.d.ts +1 -1
- package/cloud/monetization/earnings/EarningsPageClient.js +1 -1
- package/cloud/monetization/earnings/EarningsRoute.js +1 -1
- package/cloud/monetization/index.d.ts +8 -8
- package/cloud/organization/data/use-organization.d.ts +1 -1
- package/cloud/organization/index.d.ts +11 -11
- package/cloud/organization/members-list.d.ts +1 -1
- package/cloud/organization/members-tab.d.ts +1 -1
- package/cloud/organization/organization-general-tab.d.ts +1 -1
- package/cloud/organization/organization-tab.d.ts +1 -1
- package/cloud/organization/pending-invites-list.d.ts +1 -1
- package/cloud/public-pages/index.d.ts +21 -21
- package/cloud/public-pages/lib/use-session-auth.d.ts +1 -1
- package/cloud/public-pages/pages/auth/cli-login-page.d.ts.map +1 -1
- package/cloud/public-pages/pages/auth/cli-login-page.js +46 -9
- package/cloud/public-pages/pages/bsc-page.js +5 -5
- package/cloud/public-pages/pages/login/steward-login-section.js +2 -2
- package/cloud/public-pages/pages/payment/app-charge-page.js +1 -1
- package/cloud/public-pages/pages/payment/payment-request-page.js +1 -1
- package/cloud/register-all.d.ts +5 -5
- package/cloud/settings/index.d.ts +4 -4
- package/cloud/settings/sections.js +1 -1
- package/cloud/shell/CloudI18nProvider.d.ts +1 -1
- package/cloud/shell/StewardProvider.d.ts +1 -31
- package/cloud/shell/StewardProvider.d.ts.map +1 -1
- package/cloud/shell/StewardProvider.js +3 -122
- package/cloud/shell/StewardProviderRuntime.d.ts.map +1 -1
- package/cloud/shell/StewardProviderRuntime.js +17 -7
- package/cloud/shell/StewardProviderShared.d.ts +27 -0
- package/cloud/shell/StewardProviderShared.d.ts.map +1 -0
- package/cloud/shell/StewardProviderShared.js +112 -0
- package/cloud-ui/components/ai-elements/index.d.ts +3 -3
- package/cloud-ui/components/ai-elements/memoized-chat-message.d.ts +1 -1
- package/cloud-ui/components/ai-elements/memoized-chat-message.d.ts.map +1 -1
- package/cloud-ui/components/ai-elements/memoized-chat-message.js +162 -139
- package/cloud-ui/components/analytics/cost-alerts.d.ts +1 -1
- package/cloud-ui/components/analytics/cost-insights-card.d.ts +1 -1
- package/cloud-ui/components/analytics/index.d.ts +3 -3
- package/cloud-ui/components/auth/authorize-content.js +1 -1
- package/cloud-ui/components/brand/brand-button.d.ts +1 -1
- package/cloud-ui/components/brand/brand-button.js +1 -1
- package/cloud-ui/components/brand/brand-tabs-responsive.d.ts.map +1 -1
- package/cloud-ui/components/brand/brand-tabs-responsive.js +1 -1
- package/cloud-ui/components/brand/brand-tabs.d.ts.map +1 -1
- package/cloud-ui/components/brand/brand-tabs.js +2 -2
- package/cloud-ui/components/brand/index.d.ts +21 -21
- package/cloud-ui/components/brand/lock-on-button.d.ts +2 -2
- package/cloud-ui/components/brand/lock-on-button.variants.d.ts +1 -1
- package/cloud-ui/components/brand/lock-on-button.variants.js +1 -1
- package/cloud-ui/components/code/code-display.d.ts +1 -1
- package/cloud-ui/components/code/code-display.d.ts.map +1 -1
- package/cloud-ui/components/code/code-display.js +11 -9
- package/cloud-ui/components/code/index.d.ts +3 -3
- package/cloud-ui/components/data-list/apps-list-view.js +1 -1
- package/cloud-ui/components/data-list/index.d.ts +8 -8
- package/cloud-ui/components/data-list/list-action-menu.js +1 -1
- package/cloud-ui/components/docs/api-parameter-select.js +1 -1
- package/cloud-ui/components/docs/api-route-explorer-client.d.ts +1 -1
- package/cloud-ui/components/docs/api-route-explorer-client.js +1 -1
- package/cloud-ui/components/docs/docs-layout.d.ts +1 -1
- package/cloud-ui/components/docs/index.d.ts +11 -11
- package/cloud-ui/components/drawer.js +1 -1
- package/cloud-ui/components/image-gen/index.d.ts +4 -4
- package/cloud-ui/components/image-gen/prompt-input.js +1 -1
- package/cloud-ui/components/layout/dashboard-route-page.d.ts +1 -1
- package/cloud-ui/components/layout/dashboard-sidebar-item.d.ts +1 -1
- package/cloud-ui/components/layout/dashboard-sidebar-section.d.ts +1 -1
- package/cloud-ui/components/layout/dashboard-sidebar.d.ts +1 -1
- package/cloud-ui/components/layout/dashboard-sidebar.js +1 -1
- package/cloud-ui/components/layout/index.d.ts +11 -11
- package/cloud-ui/components/log-viewer.d.ts +1 -1
- package/cloud-ui/components/log-viewer.d.ts.map +1 -1
- package/cloud-ui/components/log-viewer.js +5 -2
- package/cloud-ui/components/monetization/animated-counter.d.ts.map +1 -1
- package/cloud-ui/components/monetization/animated-counter.js +4 -2
- package/cloud-ui/components/monetization/index.d.ts +4 -4
- package/cloud-ui/components/primitives.d.ts +57 -57
- package/cloud-ui/components/product-switcher.js +1 -1
- package/cloud-ui/components/resizable.d.ts.map +1 -1
- package/cloud-ui/components/resizable.js +23 -3
- package/cloud-ui/components/share/index.d.ts +1 -1
- package/cloud-ui/components/theme/index.d.ts +3 -3
- package/cloud-ui/components/theme/theme-provider.d.ts +2 -2
- package/cloud-ui/components/timeline.d.ts.map +1 -1
- package/cloud-ui/components/timeline.js +6 -6
- package/cloud-ui/components/voice/index.d.ts +8 -8
- package/cloud-ui/index.d.ts +30 -30
- package/cloud-ui/lib/utils.d.ts +1 -1
- package/companion/desktop-bar/CompanionBar.d.ts +1 -1
- package/companion/desktop-bar/CompanionBar.d.ts.map +1 -1
- package/companion/desktop-bar/CompanionBar.js +11 -8
- package/companion/desktop-bar/index.d.ts +6 -6
- package/companion/desktop-bar/platform/electrobun-tray.d.ts +19 -0
- package/companion/desktop-bar/platform/electrobun-tray.d.ts.map +1 -1
- package/companion/desktop-bar/platform/index.d.ts +2 -2
- package/companion/desktop-bar/platform/index.d.ts.map +1 -1
- package/companion/desktop-bar/platform/web-fallback.d.ts +1 -1
- package/companion/desktop-bar/useKeyboardShortcuts.d.ts +1 -1
- package/components/accounts/AccountCard.d.ts +1 -1
- package/components/accounts/AccountCard.js +2 -2
- package/components/accounts/AccountList.js +2 -2
- package/components/accounts/AddAccountDialog.d.ts.map +1 -1
- package/components/accounts/AddAccountDialog.js +11 -3
- package/components/accounts/RotationStrategyPicker.d.ts +1 -1
- package/components/accounts/RotationStrategyPicker.js +2 -2
- package/components/apps/AppWindowRenderer.d.ts.map +1 -1
- package/components/apps/AppWindowRenderer.helpers.d.ts +1 -1
- package/components/apps/AppWindowRenderer.js +23 -10
- package/components/apps/AppsCatalogGrid.d.ts +1 -1
- package/components/apps/AppsCatalogGrid.d.ts.map +1 -1
- package/components/apps/AppsCatalogGrid.js +16 -23
- package/components/apps/AppsSidebar.d.ts +1 -1
- package/components/apps/AppsSidebar.d.ts.map +1 -1
- package/components/apps/AppsSidebar.js +22 -11
- package/components/apps/GameView.d.ts.map +1 -1
- package/components/apps/GameView.helpers.d.ts +1 -1
- package/components/apps/GameView.js +55 -20
- package/components/apps/GameViewOverlay.d.ts.map +1 -1
- package/components/apps/GameViewOverlay.js +38 -4
- package/components/apps/RunningAppsRow.d.ts +1 -1
- package/components/apps/RunningAppsRow.d.ts.map +1 -1
- package/components/apps/RunningAppsRow.js +12 -10
- package/components/apps/app-identity.helpers.d.ts +1 -1
- package/components/apps/app-identity.js +1 -1
- package/components/apps/catalog-loader.d.ts +1 -1
- package/components/apps/extensions/registry.d.ts +2 -2
- package/components/apps/extensions/surface.d.ts +2 -2
- package/components/apps/extensions/surface.d.ts.map +1 -1
- package/components/apps/extensions/surface.helpers.d.ts +2 -2
- package/components/apps/extensions/surface.js +9 -9
- package/components/apps/extensions/types.d.ts +1 -1
- package/components/apps/helpers.d.ts +8 -5
- package/components/apps/helpers.d.ts.map +1 -1
- package/components/apps/helpers.js +5 -10
- package/components/apps/home-grid-apps.d.ts +2 -2
- package/components/apps/internal-tool-apps.d.ts +2 -2
- package/components/apps/internal-tool-apps.d.ts.map +1 -1
- package/components/apps/internal-tool-apps.js +18 -8
- package/components/apps/launch-history.d.ts +1 -1
- package/components/apps/load-apps-catalog.d.ts +1 -1
- package/components/apps/overlay-app-registry.d.ts +5 -2
- package/components/apps/overlay-app-registry.d.ts.map +1 -1
- package/components/apps/overlay-app-registry.js +3 -6
- package/components/apps/run-attention.d.ts +1 -1
- package/components/apps/surfaces/registry.d.ts +1 -1
- package/components/apps/useRegistryCatalog.d.ts +1 -1
- package/components/apps/viewer-auth.d.ts +1 -1
- package/components/auth/LoginView.d.ts +1 -1
- package/components/auth/LoginView.js +1 -1
- package/components/character/CharacterEditor.d.ts +4 -1
- package/components/character/CharacterEditor.d.ts.map +1 -1
- package/components/character/CharacterEditor.js +54 -14
- package/components/character/CharacterEditorPanels.d.ts +1 -1
- package/components/character/CharacterEditorPanels.d.ts.map +1 -1
- package/components/character/CharacterEditorPanels.js +10 -12
- package/components/character/CharacterExperienceWorkspace.d.ts +1 -1
- package/components/character/CharacterExperienceWorkspace.d.ts.map +1 -1
- package/components/character/CharacterExperienceWorkspace.js +10 -10
- package/components/character/CharacterHubView.d.ts +4 -2
- package/components/character/CharacterHubView.d.ts.map +1 -1
- package/components/character/CharacterHubView.js +57 -201
- package/components/character/CharacterOverviewSection.d.ts +1 -1
- package/components/character/CharacterOverviewSection.js +1 -1
- package/components/character/CharacterPersonalityTimeline.d.ts +1 -1
- package/components/character/CharacterRoster.d.ts.map +1 -1
- package/components/character/CharacterRoster.helpers.d.ts +1 -1
- package/components/character/CharacterRoster.js +2 -10
- package/components/character/MusicLibraryCharacterWidget.d.ts +1 -1
- package/components/character/character-editor-helpers.d.ts +2 -2
- package/components/character/character-hub-helpers.d.ts +2 -2
- package/components/character/character-voice-config.d.ts +2 -2
- package/components/character/useCharacterHubData.d.ts +41 -0
- package/components/character/useCharacterHubData.d.ts.map +1 -0
- package/components/character/useCharacterHubData.js +112 -0
- package/components/chat/AccountRequiredCard.d.ts +1 -1
- package/components/chat/AgentActivityBox.d.ts +1 -1
- package/components/chat/AgentActivityBox.d.ts.map +1 -1
- package/components/chat/AgentActivityBox.js +28 -17
- package/components/chat/AppsSection.d.ts.map +1 -1
- package/components/chat/AppsSection.js +13 -14
- package/components/chat/ConnectorAccountPicker.d.ts +1 -1
- package/components/chat/InlineWidgetText.d.ts +6 -0
- package/components/chat/InlineWidgetText.d.ts.map +1 -0
- package/components/chat/InlineWidgetText.js +99 -0
- package/components/chat/MessageAttachments.d.ts +22 -3
- package/components/chat/MessageAttachments.d.ts.map +1 -1
- package/components/chat/MessageAttachments.js +381 -14
- package/components/chat/MessageContent.d.ts +17 -2
- package/components/chat/MessageContent.d.ts.map +1 -1
- package/components/chat/MessageContent.js +163 -467
- package/components/chat/SaveCommandModal.js +2 -2
- package/components/chat/TasksEventsPanel.d.ts +1 -1
- package/components/chat/TasksEventsPanel.js +2 -2
- package/components/chat/TranscriptViewerOverlay.d.ts +32 -0
- package/components/chat/TranscriptViewerOverlay.d.ts.map +1 -0
- package/components/chat/TranscriptViewerOverlay.js +329 -0
- package/components/chat/WidgetVisibilityPanel.d.ts +3 -3
- package/components/chat/WidgetVisibilityPanel.d.ts.map +1 -1
- package/components/chat/WidgetVisibilityPanel.helpers.d.ts +1 -1
- package/components/chat/connector-send-as.d.ts +1 -1
- package/components/chat/message-choice-parser.d.ts +1 -1
- package/components/chat/message-choice-parser.d.ts.map +1 -1
- package/components/chat/message-choice-parser.js +1 -1
- package/components/chat/message-parser-helpers.d.ts +139 -0
- package/components/chat/message-parser-helpers.d.ts.map +1 -0
- package/components/chat/message-parser-helpers.js +490 -0
- package/components/chat/widgets/ChoiceWidget.js +1 -1
- package/components/chat/widgets/agent-orchestrator-accounts-view.d.ts +3 -3
- package/components/chat/widgets/agent-orchestrator.d.ts +1 -1
- package/components/chat/widgets/agent-orchestrator.d.ts.map +1 -1
- package/components/chat/widgets/agent-orchestrator.js +60 -39
- package/components/chat/widgets/browser-launch-widget.d.ts +19 -0
- package/components/chat/widgets/browser-launch-widget.d.ts.map +1 -0
- package/components/chat/widgets/browser-launch-widget.js +38 -0
- package/components/chat/widgets/browser-status.d.ts +1 -1
- package/components/chat/widgets/browser-status.d.ts.map +1 -1
- package/components/chat/widgets/browser-status.helpers.d.ts +1 -1
- package/components/chat/widgets/browser-status.js +17 -27
- package/components/chat/widgets/calendar-upcoming.d.ts +17 -0
- package/components/chat/widgets/calendar-upcoming.d.ts.map +1 -0
- package/components/chat/widgets/calendar-upcoming.js +149 -0
- package/components/chat/widgets/credential-request-widget.d.ts +40 -0
- package/components/chat/widgets/credential-request-widget.d.ts.map +1 -0
- package/components/chat/widgets/credential-request-widget.js +52 -0
- package/components/chat/widgets/finances-alerts.d.ts +17 -0
- package/components/chat/widgets/finances-alerts.d.ts.map +1 -0
- package/components/chat/widgets/finances-alerts.js +214 -0
- package/components/chat/widgets/followups.d.ts +1 -1
- package/components/chat/widgets/form-request.d.ts +1 -1
- package/components/chat/widgets/goals-attention.d.ts +17 -0
- package/components/chat/widgets/goals-attention.d.ts.map +1 -0
- package/components/chat/widgets/goals-attention.js +155 -0
- package/components/chat/widgets/health-sleep.d.ts +18 -0
- package/components/chat/widgets/health-sleep.d.ts.map +1 -0
- package/components/chat/widgets/health-sleep.js +159 -0
- package/components/chat/widgets/home-widget-card.d.ts +47 -0
- package/components/chat/widgets/home-widget-card.d.ts.map +1 -0
- package/components/chat/widgets/home-widget-card.js +64 -0
- package/components/chat/widgets/inbox-unread.d.ts +10 -0
- package/components/chat/widgets/inbox-unread.d.ts.map +1 -0
- package/components/chat/widgets/inbox-unread.js +119 -0
- package/components/chat/widgets/inline-registry.d.ts +1 -1
- package/components/chat/widgets/messages.d.ts +8 -0
- package/components/chat/widgets/messages.d.ts.map +1 -0
- package/components/chat/widgets/messages.js +38 -0
- package/components/chat/widgets/music-player.d.ts +1 -1
- package/components/chat/widgets/music-player.helpers.d.ts +1 -1
- package/components/chat/widgets/needs-attention.d.ts +22 -0
- package/components/chat/widgets/needs-attention.d.ts.map +1 -0
- package/components/chat/widgets/needs-attention.js +109 -0
- package/components/chat/widgets/notifications.d.ts +9 -0
- package/components/chat/widgets/notifications.d.ts.map +1 -0
- package/components/chat/widgets/notifications.js +42 -0
- package/components/chat/widgets/orchestrator-grilling-card.d.ts +24 -0
- package/components/chat/widgets/orchestrator-grilling-card.d.ts.map +1 -0
- package/components/chat/widgets/orchestrator-grilling-card.js +57 -0
- package/components/chat/widgets/relationships-attention.d.ts +18 -0
- package/components/chat/widgets/relationships-attention.d.ts.map +1 -0
- package/components/chat/widgets/relationships-attention.js +135 -0
- package/components/chat/widgets/shared.js +2 -2
- package/components/chat/widgets/task-widget.js +1 -1
- package/components/chat/widgets/todo.d.ts +1 -1
- package/components/chat/widgets/todo.d.ts.map +1 -1
- package/components/chat/widgets/todo.js +39 -10
- package/components/chat/widgets/topic-chips-bar.d.ts +23 -0
- package/components/chat/widgets/topic-chips-bar.d.ts.map +1 -0
- package/components/chat/widgets/topic-chips-bar.js +22 -0
- package/components/chat/widgets/topic-grouped-transcript.d.ts +20 -0
- package/components/chat/widgets/topic-grouped-transcript.d.ts.map +1 -0
- package/components/chat/widgets/topic-grouped-transcript.js +45 -0
- package/components/chat/widgets/types.d.ts +5 -2
- package/components/chat/widgets/types.d.ts.map +1 -1
- package/components/chat/widgets/use-inline-widget-context.d.ts +18 -0
- package/components/chat/widgets/use-inline-widget-context.d.ts.map +1 -0
- package/components/chat/widgets/use-inline-widget-context.js +46 -0
- package/components/cloud/CloudSourceControls.js +2 -2
- package/components/cloud/CloudStatusBadge.js +2 -2
- package/components/cloud/FlaminaGuide.d.ts +1 -1
- package/components/cloud/FlaminaGuide.d.ts.map +1 -1
- package/components/cloud/FlaminaGuide.js +10 -5
- package/components/companion/injected.d.ts +1 -1
- package/components/companion/injected.hooks.d.ts +1 -1
- package/components/composites/chat/ChatVoiceStatusBar.d.ts +2 -2
- package/components/composites/chat/ChatVoiceStatusBar.js +1 -1
- package/components/composites/chat/ContinuousChatToggle.d.ts +1 -1
- package/components/composites/chat/ContinuousChatToggle.js +1 -1
- package/components/composites/chat/chat-attachment-strip.d.ts +1 -1
- package/components/composites/chat/chat-attachment-strip.js +1 -1
- package/components/composites/chat/chat-composer-shell.d.ts +1 -1
- package/components/composites/chat/chat-composer.d.ts +10 -4
- package/components/composites/chat/chat-composer.d.ts.map +1 -1
- package/components/composites/chat/chat-composer.js +14 -14
- package/components/composites/chat/chat-conversation-item.d.ts +2 -2
- package/components/composites/chat/chat-conversation-item.d.ts.map +1 -1
- package/components/composites/chat/chat-conversation-item.js +8 -8
- package/components/composites/chat/chat-empty-state.d.ts +1 -1
- package/components/composites/chat/chat-message-actions.d.ts +1 -1
- package/components/composites/chat/chat-message.d.ts +10 -2
- package/components/composites/chat/chat-message.d.ts.map +1 -1
- package/components/composites/chat/chat-message.js +4 -2
- package/components/composites/chat/chat-source.d.ts +2 -2
- package/components/composites/chat/chat-source.helpers.d.ts +1 -1
- package/components/composites/chat/chat-thread-layout.d.ts +1 -1
- package/components/composites/chat/chat-thread-layout.d.ts.map +1 -1
- package/components/composites/chat/chat-thread-layout.js +2 -2
- package/components/composites/chat/chat-transcript.d.ts +6 -2
- package/components/composites/chat/chat-transcript.d.ts.map +1 -1
- package/components/composites/chat/chat-transcript.js +18 -3
- package/components/composites/chat/chat-types.d.ts +2 -0
- package/components/composites/chat/chat-types.d.ts.map +1 -1
- package/components/composites/chat/chat-typing-indicator.d.ts +1 -1
- package/components/composites/chat/index.d.ts +16 -16
- package/components/composites/chat/permission-card.d.ts +1 -1
- package/components/composites/chat/permission-card.render.d.ts +2 -2
- package/components/composites/code/DiffReviewPanel.d.ts +1 -1
- package/components/composites/code/index.d.ts +1 -1
- package/components/composites/form-field/index.d.ts +1 -1
- package/components/composites/index.d.ts +29 -29
- package/components/composites/page-panel/index.d.ts +19 -19
- package/components/composites/page-panel/page-panel-collapsible-section.d.ts +1 -1
- package/components/composites/page-panel/page-panel-collapsible-section.d.ts.map +1 -1
- package/components/composites/page-panel/page-panel-collapsible-section.js +2 -2
- package/components/composites/page-panel/page-panel-empty.d.ts +1 -1
- package/components/composites/page-panel/page-panel-empty.d.ts.map +1 -1
- package/components/composites/page-panel/page-panel-empty.js +4 -4
- package/components/composites/page-panel/page-panel-feature-empty.d.ts +1 -1
- package/components/composites/page-panel/page-panel-frame.d.ts +1 -1
- package/components/composites/page-panel/page-panel-frame.d.ts.map +1 -1
- package/components/composites/page-panel/page-panel-frame.js +1 -1
- package/components/composites/page-panel/page-panel-header.d.ts +1 -1
- package/components/composites/page-panel/page-panel-header.d.ts.map +1 -1
- package/components/composites/page-panel/page-panel-header.js +9 -9
- package/components/composites/page-panel/page-panel-loading.d.ts +1 -1
- package/components/composites/page-panel/page-panel-loading.d.ts.map +1 -1
- package/components/composites/page-panel/page-panel-loading.js +3 -3
- package/components/composites/page-panel/page-panel-root.d.ts +2 -2
- package/components/composites/page-panel/page-panel-root.js +7 -7
- package/components/composites/page-panel/page-panel-toolbar.d.ts +1 -1
- package/components/composites/page-panel/page-panel-types.d.ts +1 -1
- package/components/composites/search/index.d.ts +1 -1
- package/components/composites/search/searchbar.js +1 -1
- package/components/composites/sidebar/index.d.ts +10 -10
- package/components/composites/sidebar/sidebar-auto-rail.d.ts +1 -1
- package/components/composites/sidebar/sidebar-body.d.ts +1 -1
- package/components/composites/sidebar/sidebar-collapsed-rail.d.ts +1 -1
- package/components/composites/sidebar/sidebar-content.js +3 -3
- package/components/composites/sidebar/sidebar-header-stack.d.ts +1 -1
- package/components/composites/sidebar/sidebar-header.d.ts +1 -1
- package/components/composites/sidebar/sidebar-panel.d.ts +1 -1
- package/components/composites/sidebar/sidebar-root.d.ts +1 -1
- package/components/composites/sidebar/sidebar-root.d.ts.map +1 -1
- package/components/composites/sidebar/sidebar-root.js +34 -8
- package/components/composites/sidebar/sidebar-scroll-region.d.ts +1 -1
- package/components/composites/skills/index.d.ts +1 -1
- package/components/composites/trajectories/index.d.ts +7 -7
- package/components/composites/trajectories/trajectory-code-block.d.ts.map +1 -1
- package/components/composites/trajectories/trajectory-code-block.js +3 -2
- package/components/composites/trajectories/trajectory-pipeline-graph.js +3 -3
- package/components/config-ui/config-control-primitives.helpers.js +2 -2
- package/components/config-ui/config-field.d.ts +1 -1
- package/components/config-ui/config-field.helpers.d.ts +1 -1
- package/components/config-ui/config-field.helpers.d.ts.map +1 -1
- package/components/config-ui/config-field.helpers.js +33 -20
- package/components/config-ui/config-field.js +2 -2
- package/components/config-ui/config-renderer.d.ts +2 -2
- package/components/config-ui/config-renderer.helpers.d.ts +2 -2
- package/components/config-ui/config-renderer.js +6 -6
- package/components/config-ui/index.d.ts +7 -7
- package/components/config-ui/ui-renderer.d.ts +1 -1
- package/components/config-ui/ui-renderer.d.ts.map +1 -1
- package/components/config-ui/ui-renderer.helpers.d.ts +1 -1
- package/components/config-ui/ui-renderer.js +15 -8
- package/components/connectors/BlueBubblesStatusPanel.d.ts.map +1 -1
- package/components/connectors/BlueBubblesStatusPanel.js +11 -24
- package/components/connectors/ConnectorAccountAuditList.d.ts.map +1 -1
- package/components/connectors/ConnectorAccountAuditList.js +19 -32
- package/components/connectors/ConnectorAccountCard.d.ts +1 -1
- package/components/connectors/ConnectorAccountList.d.ts +2 -2
- package/components/connectors/ConnectorAccountPrivacySelector.d.ts +1 -1
- package/components/connectors/ConnectorAccountPurposeSelector.d.ts +1 -1
- package/components/connectors/ConnectorModeSelector.d.ts +1 -1
- package/components/connectors/ConnectorModeSelector.helpers.d.ts +1 -1
- package/components/connectors/ConnectorModeSelector.hooks.d.ts +1 -1
- package/components/connectors/ConnectorModeSelector.js +2 -2
- package/components/connectors/ConnectorQrPairingOverlay.js +2 -2
- package/components/connectors/DiscordLocalConnectorPanel.js +2 -2
- package/components/connectors/IMessageStatusPanel.js +2 -2
- package/components/connectors/SignalQrOverlay.js +2 -2
- package/components/connectors/TelegramAccountConnectorPanel.js +4 -4
- package/components/connectors/TelegramBotSetupPanel.js +3 -3
- package/components/connectors/WhatsAppQrOverlay.js +2 -2
- package/components/connectors/XRPairingPanel.d.ts.map +1 -1
- package/components/connectors/XRPairingPanel.js +6 -3
- package/components/connectors/connector-account-options.d.ts +1 -1
- package/components/conversations/ConversationRenameDialog.d.ts.map +1 -1
- package/components/conversations/ConversationRenameDialog.js +4 -2
- package/components/conversations/ConversationsSidebar.d.ts.map +1 -1
- package/components/conversations/ConversationsSidebar.js +18 -3
- package/components/conversations/conversation-sidebar-model.d.ts +2 -2
- package/components/conversations/conversation-utils.d.ts +1 -1
- package/components/custom-actions/CustomActionEditor.js +2 -2
- package/components/custom-actions/CustomActionsPanel.d.ts.map +1 -1
- package/components/custom-actions/CustomActionsPanel.js +16 -5
- package/components/custom-actions/CustomActionsView.js +3 -3
- package/components/custom-actions/custom-action-form.d.ts +4 -4
- package/components/custom-actions/custom-action-form.d.ts.map +1 -1
- package/components/custom-actions/custom-action-form.js +2 -2
- package/components/desktop/DesktopTabBar.d.ts +2 -2
- package/components/desktop/DesktopTabBar.js +4 -4
- package/components/index.d.ts +161 -156
- package/components/index.d.ts.map +1 -1
- package/components/index.js +9 -1
- package/components/local-inference/ActiveModelBar.d.ts +1 -1
- package/components/local-inference/DeviceBridgeStatus.d.ts +1 -1
- package/components/local-inference/DevicesPanel.d.ts +1 -1
- package/components/local-inference/DownloadProgress.d.ts +1 -1
- package/components/local-inference/DownloadProgress.d.ts.map +1 -1
- package/components/local-inference/DownloadProgress.js +1 -3
- package/components/local-inference/DownloadQueue.d.ts +8 -2
- package/components/local-inference/DownloadQueue.d.ts.map +1 -1
- package/components/local-inference/DownloadQueue.js +3 -3
- package/components/local-inference/FirstRunOffer.d.ts +1 -1
- package/components/local-inference/HardwareBadge.d.ts +1 -1
- package/components/local-inference/LocalInferencePanel.d.ts +1 -1
- package/components/local-inference/LocalInferencePanel.d.ts.map +1 -1
- package/components/local-inference/LocalInferencePanel.js +18 -51
- package/components/local-inference/ModelCard.d.ts +1 -1
- package/components/local-inference/ModelCard.d.ts.map +1 -1
- package/components/local-inference/ModelCard.js +6 -5
- package/components/local-inference/ModelHubView.d.ts +1 -1
- package/components/local-inference/ModelHubView.d.ts.map +1 -1
- package/components/local-inference/ModelHubView.js +10 -6
- package/components/local-inference/RoutingMatrix.d.ts.map +1 -1
- package/components/local-inference/RoutingMatrix.js +115 -40
- package/components/local-inference/SlotAssignments.d.ts +1 -1
- package/components/local-inference/SlotAssignments.d.ts.map +1 -1
- package/components/local-inference/SlotAssignments.js +27 -10
- package/components/local-inference/hub-utils.d.ts +2 -1
- package/components/local-inference/hub-utils.d.ts.map +1 -1
- package/components/local-inference/hub-utils.js +2 -0
- package/components/local-inference/runtime-class-ui.d.ts +44 -0
- package/components/local-inference/runtime-class-ui.d.ts.map +1 -0
- package/components/local-inference/runtime-class-ui.js +61 -0
- package/components/local-inference/slot-metadata.d.ts +1 -1
- package/components/local-inference/useDeviceBridgeStatus.d.ts +1 -1
- package/components/local-inference/useDeviceBridgeStatus.d.ts.map +1 -1
- package/components/local-inference/useDeviceBridgeStatus.js +17 -12
- package/components/local-inference/useHomeModelStatus.d.ts +1 -1
- package/components/local-inference/useHomeModelStatus.d.ts.map +1 -1
- package/components/local-inference/useHomeModelStatus.js +15 -10
- package/components/pages/AppDetailsView.d.ts +1 -1
- package/components/pages/AppDetailsView.d.ts.map +1 -1
- package/components/pages/AppDetailsView.helpers.d.ts +1 -1
- package/components/pages/AppDetailsView.js +15 -3
- package/components/pages/AppsPageView.d.ts.map +1 -1
- package/components/pages/AppsPageView.js +7 -2
- package/components/pages/AppsView.d.ts.map +1 -1
- package/components/pages/AppsView.js +35 -8
- package/components/pages/AutomationsFeed.d.ts +1 -1
- package/components/pages/AutomationsFeed.d.ts.map +1 -1
- package/components/pages/AutomationsFeed.js +3 -7
- package/components/pages/BackgroundView.d.ts +10 -0
- package/components/pages/BackgroundView.d.ts.map +1 -0
- package/components/pages/BackgroundView.js +14 -0
- package/components/pages/BrowserWorkspaceView.d.ts.map +1 -1
- package/components/pages/BrowserWorkspaceView.js +13 -8
- package/components/pages/CameraPageView.js +2 -2
- package/components/pages/ChatView.d.ts +1 -1
- package/components/pages/ChatView.d.ts.map +1 -1
- package/components/pages/ChatView.js +186 -29
- package/components/pages/ConfigPageView.d.ts.map +1 -1
- package/components/pages/ConfigPageView.js +11 -2
- package/components/pages/DatabasePageView.d.ts.map +1 -1
- package/components/pages/DatabasePageView.js +4 -2
- package/components/pages/DatabaseView.d.ts.map +1 -1
- package/components/pages/DatabaseView.js +14 -12
- package/components/pages/DocumentsView.d.ts +2 -2
- package/components/pages/DocumentsView.d.ts.map +1 -1
- package/components/pages/DocumentsView.js +20 -20
- package/components/pages/ElizaCloudDashboard.d.ts.map +1 -1
- package/components/pages/ElizaCloudDashboard.js +20 -2
- package/components/pages/ElizaOsAppsView.d.ts.map +1 -1
- package/components/pages/ElizaOsAppsView.js +29 -22
- package/components/pages/FilesView.d.ts +15 -0
- package/components/pages/FilesView.d.ts.map +1 -0
- package/components/pages/FilesView.js +201 -0
- package/components/pages/GeneratedViewHero.js +1 -1
- package/components/pages/HeartbeatForm.d.ts +3 -3
- package/components/pages/HeartbeatsView.d.ts.map +1 -1
- package/components/pages/HeartbeatsView.js +21 -6
- package/components/pages/LogsView.d.ts +0 -6
- package/components/pages/LogsView.d.ts.map +1 -1
- package/components/pages/LogsView.js +41 -25
- package/components/pages/MediaGalleryView.d.ts.map +1 -1
- package/components/pages/MediaGalleryView.js +59 -11
- package/components/pages/MemoryDetailPanel.d.ts +1 -1
- package/components/pages/MemoryDetailPanel.d.ts.map +1 -1
- package/components/pages/MemoryDetailPanel.js +8 -3
- package/components/pages/MemoryViewerView.d.ts.map +1 -1
- package/components/pages/MemoryViewerView.js +33 -24
- package/components/pages/PluginCard.d.ts +2 -2
- package/components/pages/PluginCard.d.ts.map +1 -1
- package/components/pages/PluginCard.js +6 -5
- package/components/pages/PluginConfigForm.d.ts +1 -1
- package/components/pages/PluginConfigForm.js +2 -2
- package/components/pages/PluginVisual.d.ts +1 -1
- package/components/pages/PluginsView.d.ts +1 -1
- package/components/pages/PluginsView.d.ts.map +1 -1
- package/components/pages/PluginsView.js +33 -13
- package/components/pages/RelationshipsGraphPanel.d.ts +1 -1
- package/components/pages/RelationshipsGraphPanel.js +2 -2
- package/components/pages/RelationshipsIdentityCluster.d.ts +1 -1
- package/components/pages/ReleaseCenterView.d.ts.map +1 -1
- package/components/pages/ReleaseCenterView.js +11 -9
- package/components/pages/RuntimeView.d.ts.map +1 -1
- package/components/pages/RuntimeView.js +13 -12
- package/components/pages/SecretsView.d.ts.map +1 -1
- package/components/pages/SecretsView.js +21 -18
- package/components/pages/SettingsView.d.ts.map +1 -1
- package/components/pages/SettingsView.js +34 -14
- package/components/pages/SkillsView.d.ts.map +1 -1
- package/components/pages/SkillsView.js +47 -11
- package/components/pages/Springboard.d.ts +49 -0
- package/components/pages/Springboard.d.ts.map +1 -0
- package/components/pages/Springboard.js +238 -0
- package/components/pages/SpringboardSurface.d.ts +6 -0
- package/components/pages/SpringboardSurface.d.ts.map +1 -0
- package/components/pages/SpringboardSurface.js +120 -0
- package/components/pages/SqlEditorPanel.d.ts +1 -1
- package/components/pages/SqlEditorPanel.js +5 -5
- package/components/pages/StreamView.d.ts.map +1 -1
- package/components/pages/StreamView.js +6 -7
- package/components/pages/TaskEditor.d.ts +3 -3
- package/components/pages/TrajectoriesView.d.ts.map +1 -1
- package/components/pages/TrajectoriesView.js +9 -9
- package/components/pages/TrajectoryDetailView.d.ts.map +1 -1
- package/components/pages/TrajectoryDetailView.js +58 -39
- package/components/pages/WorkflowEditor.d.ts +1 -1
- package/components/pages/WorkflowEditor.d.ts.map +1 -1
- package/components/pages/WorkflowEditor.js +13 -22
- package/components/pages/WorkflowGraphViewer.d.ts +1 -1
- package/components/pages/WorkflowGraphViewer.d.ts.map +1 -1
- package/components/pages/WorkflowGraphViewer.js +9 -11
- package/components/pages/__e2e__/background-fixture.d.ts +2 -0
- package/components/pages/__e2e__/background-fixture.d.ts.map +1 -0
- package/components/pages/__e2e__/background-fixture.js +84 -0
- package/components/pages/__e2e__/springboard-fixture.d.ts +2 -0
- package/components/pages/__e2e__/springboard-fixture.d.ts.map +1 -0
- package/components/pages/__e2e__/springboard-fixture.js +103 -0
- package/components/pages/automation-conversations.d.ts +1 -1
- package/components/pages/automations-missing-creds.d.ts +1 -1
- package/components/pages/background-image.d.ts +10 -0
- package/components/pages/background-image.d.ts.map +1 -0
- package/components/pages/background-image.js +61 -0
- package/components/pages/browser-workspace-wallet.d.ts +1 -1
- package/components/pages/chat-view-hooks.d.ts +5 -5
- package/components/pages/cloud-dashboard-utils.d.ts +1 -1
- package/components/pages/config-page-sections.d.ts +1 -1
- package/components/pages/config-page-sections.d.ts.map +1 -1
- package/components/pages/config-page-sections.js +4 -3
- package/components/pages/database-utils.d.ts +2 -1
- package/components/pages/database-utils.d.ts.map +1 -1
- package/components/pages/database-utils.js +38 -25
- package/components/pages/documents-detail.d.ts.map +1 -1
- package/components/pages/documents-detail.helpers.d.ts +1 -1
- package/components/pages/documents-detail.js +55 -8
- package/components/pages/documents-upload.d.ts +1 -1
- package/components/pages/documents-upload.d.ts.map +1 -1
- package/components/pages/documents-upload.helpers.d.ts +1 -1
- package/components/pages/documents-upload.js +5 -3
- package/components/pages/heartbeat-utils.d.ts +2 -2
- package/components/pages/help/HelpView.js +2 -2
- package/components/pages/help/help-content.d.ts.map +1 -1
- package/components/pages/help/help-content.js +7 -5
- package/components/pages/page-scoped-conversations.d.ts +3 -3
- package/components/pages/page-scoped-conversations.d.ts.map +1 -1
- package/components/pages/page-scoped-conversations.js +1 -18
- package/components/pages/plugin-list-utils.d.ts +3 -3
- package/components/pages/plugin-list-utils.d.ts.map +1 -1
- package/components/pages/plugin-list-utils.js +6 -2
- package/components/pages/plugin-view-connectors.d.ts +2 -2
- package/components/pages/plugin-view-connectors.d.ts.map +1 -1
- package/components/pages/plugin-view-connectors.js +7 -2
- package/components/pages/plugin-view-dialogs.d.ts +3 -9
- package/components/pages/plugin-view-dialogs.d.ts.map +1 -1
- package/components/pages/plugin-view-dialogs.js +1 -1
- package/components/pages/plugin-view-modal.d.ts +2 -2
- package/components/pages/plugin-view-sidebar.d.ts +2 -2
- package/components/pages/relationships/RelationshipsCandidateMergesPanel.d.ts +1 -1
- package/components/pages/relationships/RelationshipsPersonPanels.d.ts +1 -1
- package/components/pages/relationships/RelationshipsPersonPanels.js +1 -1
- package/components/pages/relationships/RelationshipsSidebar.d.ts +1 -1
- package/components/pages/relationships/RelationshipsWorkspaceView.d.ts.map +1 -1
- package/components/pages/relationships/RelationshipsWorkspaceView.js +5 -4
- package/components/pages/relationships/relationships-utils.d.ts +1 -1
- package/components/pages/skill-detail-panel.d.ts.map +1 -1
- package/components/pages/skill-detail-panel.js +25 -3
- package/components/pages/skill-marketplace.d.ts +2 -2
- package/components/pages/skill-marketplace.d.ts.map +1 -1
- package/components/pages/skill-marketplace.js +3 -3
- package/components/pages/tutorial/TutorialNarrator.d.ts.map +1 -1
- package/components/pages/tutorial/TutorialNarrator.js +3 -2
- package/components/pages/tutorial/TutorialOverlay.d.ts.map +1 -1
- package/components/pages/tutorial/TutorialOverlay.js +3 -2
- package/components/pages/tutorial/TutorialSpotlight.js +3 -3
- package/components/pages/tutorial/TutorialView.d.ts.map +1 -1
- package/components/pages/tutorial/TutorialView.js +3 -5
- package/components/pages/useBrowserWorkspaceWalletBridge.d.ts +2 -2
- package/components/pages/workflow-action-handoff.d.ts +1 -1
- package/components/permissions/StreamingPermissions.d.ts +1 -1
- package/components/permissions/StreamingPermissions.d.ts.map +1 -1
- package/components/permissions/StreamingPermissions.js +5 -6
- package/components/plugins/showcase-data.d.ts +1 -1
- package/components/policy-controls/ApprovedAddressesSection.d.ts +1 -1
- package/components/policy-controls/ApprovedAddressesSection.helpers.d.ts +1 -1
- package/components/policy-controls/AutoApproveSection.d.ts +1 -1
- package/components/policy-controls/AutoApproveSection.helpers.d.ts +1 -1
- package/components/policy-controls/RateLimitSection.d.ts +1 -1
- package/components/policy-controls/RateLimitSection.helpers.d.ts +1 -1
- package/components/policy-controls/SpendingLimitSection.d.ts +1 -1
- package/components/policy-controls/SpendingLimitSection.helpers.d.ts +1 -1
- package/components/policy-controls/TimeWindowSection.d.ts +1 -1
- package/components/policy-controls/TimeWindowSection.helpers.d.ts +1 -1
- package/components/policy-controls/constants.d.ts +1 -1
- package/components/policy-controls/helpers.d.ts +1 -1
- package/components/policy-controls/index.d.ts +14 -14
- package/components/primitives/index.d.ts +27 -27
- package/components/release-center/sections.d.ts +1 -1
- package/components/release-center/sections.js +7 -7
- package/components/release-center/shared.js +2 -2
- package/components/settings/AdvancedSection.d.ts.map +1 -1
- package/components/settings/AdvancedSection.js +20 -4
- package/components/settings/AdvancedToggle.js +1 -1
- package/components/settings/ApiKeyConfig.d.ts +2 -2
- package/components/settings/ApiKeyConfig.js +2 -2
- package/components/settings/AppPermissionsSection.d.ts.map +1 -1
- package/components/settings/AppPermissionsSection.js +7 -12
- package/components/settings/AppearanceSettingsSection.d.ts.map +1 -1
- package/components/settings/AppearanceSettingsSection.js +34 -5
- package/components/settings/AppsManagementSection.d.ts.map +1 -1
- package/components/settings/AppsManagementSection.js +42 -33
- package/components/settings/BackgroundSettingsControls.d.ts +5 -0
- package/components/settings/BackgroundSettingsControls.d.ts.map +1 -0
- package/components/settings/BackgroundSettingsControls.js +118 -0
- package/components/settings/CapabilitiesSection.d.ts.map +1 -1
- package/components/settings/CapabilitiesSection.js +115 -13
- package/components/settings/CloudAgentsSection.d.ts.map +1 -1
- package/components/settings/CloudAgentsSection.js +33 -13
- package/components/settings/ConnectorsSection.d.ts.map +1 -1
- package/components/settings/ConnectorsSection.js +8 -6
- package/components/settings/DesktopWorkspaceDisplay.d.ts +2 -3
- package/components/settings/DesktopWorkspaceDisplay.d.ts.map +1 -1
- package/components/settings/DesktopWorkspaceDisplay.hooks.d.ts +3 -4
- package/components/settings/DesktopWorkspaceDisplay.hooks.d.ts.map +1 -1
- package/components/settings/DesktopWorkspaceSection.d.ts.map +1 -1
- package/components/settings/DesktopWorkspaceSection.js +4 -2
- package/components/settings/IdentitySettingsSection.d.ts.map +1 -1
- package/components/settings/IdentitySettingsSection.js +13 -3
- package/components/settings/LoadContentPackForm.js +2 -2
- package/components/settings/LoadedPacksList.d.ts.map +1 -1
- package/components/settings/LoadedPacksList.js +8 -10
- package/components/settings/PermissionsSection.d.ts.map +1 -1
- package/components/settings/PermissionsSection.js +10 -32
- package/components/settings/PolicyControlsView.d.ts.map +1 -1
- package/components/settings/PolicyControlsView.js +8 -10
- package/components/settings/ProviderCard.d.ts +3 -5
- package/components/settings/ProviderCard.d.ts.map +1 -1
- package/components/settings/ProviderCard.js +4 -6
- package/components/settings/ProviderPanels.d.ts +4 -15
- package/components/settings/ProviderPanels.d.ts.map +1 -1
- package/components/settings/ProviderPanels.js +11 -17
- package/components/settings/ProviderRoutingPanel.d.ts +1 -1
- package/components/settings/ProviderRoutingPanel.d.ts.map +1 -1
- package/components/settings/ProviderRoutingPanel.js +4 -8
- package/components/settings/ProviderSwitcher.d.ts +1 -1
- package/components/settings/ProviderSwitcher.d.ts.map +1 -1
- package/components/settings/ProviderSwitcher.js +31 -32
- package/components/settings/RemotePluginHostSection.d.ts.map +1 -1
- package/components/settings/RemotePluginHostSection.js +13 -27
- package/components/settings/RuntimeSettingsSection.d.ts.map +1 -1
- package/components/settings/RuntimeSettingsSection.js +7 -18
- package/components/settings/SecretsManagerSection.d.ts +1 -1
- package/components/settings/SecretsManagerSection.d.ts.map +1 -1
- package/components/settings/SecretsManagerSection.js +3 -3
- package/components/settings/SecuritySettingsSection.d.ts.map +1 -1
- package/components/settings/SecuritySettingsSection.js +49 -57
- package/components/settings/SubscriptionStatus.d.ts +1 -1
- package/components/settings/SubscriptionStatus.js +4 -4
- package/components/settings/VaultInventoryPanel.d.ts +1 -1
- package/components/settings/VaultInventoryPanel.d.ts.map +1 -1
- package/components/settings/VaultInventoryPanel.js +26 -22
- package/components/settings/VoiceConfigView.d.ts.map +1 -1
- package/components/settings/VoiceConfigView.helpers.d.ts +1 -1
- package/components/settings/VoiceConfigView.js +25 -21
- package/components/settings/VoiceProfileSection.d.ts +2 -4
- package/components/settings/VoiceProfileSection.d.ts.map +1 -1
- package/components/settings/VoiceProfileSection.js +57 -34
- package/components/settings/VoiceSection.d.ts +8 -7
- package/components/settings/VoiceSection.d.ts.map +1 -1
- package/components/settings/VoiceSection.helpers.d.ts +1 -1
- package/components/settings/VoiceSection.helpers.d.ts.map +1 -1
- package/components/settings/VoiceSection.helpers.js +0 -1
- package/components/settings/VoiceSection.js +21 -57
- package/components/settings/VoiceSectionMount.d.ts.map +1 -1
- package/components/settings/VoiceSectionMount.js +16 -7
- package/components/settings/VoiceTierBanner.d.ts.map +1 -1
- package/components/settings/VoiceTierBanner.helpers.d.ts +1 -1
- package/components/settings/VoiceTierBanner.js +13 -19
- package/components/settings/WalletKeysSection.d.ts.map +1 -1
- package/components/settings/WalletKeysSection.js +3 -9
- package/components/settings/cloud-model-schema.d.ts +3 -3
- package/components/settings/desktop-workspace-audit-config.d.ts +1 -1
- package/components/settings/permission-controls.d.ts +2 -2
- package/components/settings/permission-controls.hooks.d.ts +1 -1
- package/components/settings/permission-controls.js +3 -3
- package/components/settings/permission-types.d.ts +1 -1
- package/components/settings/permission-types.js +8 -8
- package/components/settings/settings-agent-rows.d.ts +26 -2
- package/components/settings/settings-agent-rows.d.ts.map +1 -1
- package/components/settings/settings-agent-rows.js +29 -1
- package/components/settings/settings-control-primitives.d.ts +1 -1
- package/components/settings/settings-layout.d.ts +9 -3
- package/components/settings/settings-layout.d.ts.map +1 -1
- package/components/settings/settings-layout.js +8 -6
- package/components/settings/settings-section-registry.d.ts +19 -1
- package/components/settings/settings-section-registry.d.ts.map +1 -1
- package/components/settings/settings-sections.d.ts +3 -3
- package/components/settings/settings-sections.d.ts.map +1 -1
- package/components/settings/settings-sections.js +11 -4
- package/components/settings/useCloudModelConfig.d.ts +2 -2
- package/components/settings/useDesktopWindowControls.d.ts +3 -4
- package/components/settings/useDesktopWindowControls.d.ts.map +1 -1
- package/components/settings/useProviderBootstrap.d.ts +2 -2
- package/components/settings/useProviderEntries.d.ts +4 -4
- package/components/settings/useProviderSelection.d.ts +1 -1
- package/components/settings/useProviderSelection.d.ts.map +1 -1
- package/components/settings/useProviderSelection.js +9 -5
- package/components/settings/vault-tabs/OverviewTab.d.ts +1 -1
- package/components/settings/vault-tabs/OverviewTab.d.ts.map +1 -1
- package/components/settings/vault-tabs/OverviewTab.js +7 -1
- package/components/settings/vault-tabs/RoutingTab.d.ts +1 -1
- package/components/settings/vault-tabs/RoutingTab.d.ts.map +1 -1
- package/components/settings/vault-tabs/RoutingTab.js +41 -14
- package/components/settings/vault-tabs/SecretsTab.d.ts +1 -1
- package/components/settings/vault-tabs/SecretsTab.d.ts.map +1 -1
- package/components/settings/vault-tabs/SecretsTab.js +3 -1
- package/components/setup/BootstrapStep.d.ts +1 -1
- package/components/setup/BootstrapStep.d.ts.map +1 -1
- package/components/setup/BootstrapStep.js +1 -2
- package/components/setup/setup-classes.d.ts +2 -2
- package/components/setup/setup-classes.d.ts.map +1 -1
- package/components/setup/setup-classes.js +2 -2
- package/components/shared/AppPageSidebar.d.ts +1 -1
- package/components/shared/AppPageSidebar.js +1 -1
- package/components/shared/CollapsibleSidebarSection.js +1 -1
- package/components/shared/LanguageDropdown.d.ts +1 -1
- package/components/shared/LanguageDropdown.d.ts.map +1 -1
- package/components/shared/LanguageDropdown.helpers.d.ts +1 -1
- package/components/shared/LanguageDropdown.js +4 -7
- package/components/shared/ThemeToggle.d.ts +1 -1
- package/components/shared/ThemeToggle.js +2 -2
- package/components/shared/confirm-delete-control.js +2 -2
- package/components/shell/ActionBanner.d.ts.map +1 -1
- package/components/shell/ActionBanner.js +3 -2
- package/components/shell/AssistantOverlay.d.ts +1 -1
- package/components/shell/AssistantOverlay.js +3 -3
- package/components/shell/BugReportModal.d.ts.map +1 -1
- package/components/shell/BugReportModal.js +6 -5
- package/components/shell/ChatSurface.d.ts +1 -1
- package/components/shell/ChatSurface.d.ts.map +1 -1
- package/components/shell/ChatSurface.js +7 -2
- package/components/shell/CloudHandoffBanner.d.ts +3 -2
- package/components/shell/CloudHandoffBanner.d.ts.map +1 -1
- package/components/shell/CloudHandoffBanner.js +9 -10
- package/components/shell/CommandPalette.d.ts.map +1 -1
- package/components/shell/CommandPalette.js +57 -5
- package/components/shell/ComputerUseApprovalOverlay.d.ts.map +1 -1
- package/components/shell/ComputerUseApprovalOverlay.js +10 -8
- package/components/shell/ConnectionFailedBanner.d.ts.map +1 -1
- package/components/shell/ConnectionFailedBanner.js +8 -3
- package/components/shell/ConnectionLostOverlay.d.ts.map +1 -1
- package/components/shell/ConnectionLostOverlay.js +7 -2
- package/components/shell/ContinuousChatOverlay.d.ts +2 -2
- package/components/shell/ContinuousChatOverlay.d.ts.map +1 -1
- package/components/shell/ContinuousChatOverlay.js +620 -168
- package/components/shell/HomePill.d.ts +1 -1
- package/components/shell/HomePill.js +1 -1
- package/components/shell/HomeScreen.d.ts +18 -6
- package/components/shell/HomeScreen.d.ts.map +1 -1
- package/components/shell/HomeScreen.js +84 -94
- package/components/shell/HomeSpringboardSurface.d.ts +21 -0
- package/components/shell/HomeSpringboardSurface.d.ts.map +1 -0
- package/components/shell/HomeSpringboardSurface.js +134 -0
- package/components/shell/KioskViewCanvas.d.ts +1 -1
- package/components/shell/LoadingScreen.d.ts +1 -1
- package/components/shell/LoadingScreen.d.ts.map +1 -1
- package/components/shell/LoadingScreen.js +29 -6
- package/components/shell/NotificationCenter.d.ts.map +1 -1
- package/components/shell/NotificationCenter.js +52 -20
- package/components/shell/PairingCommandHint.d.ts.map +1 -1
- package/components/shell/PairingCommandHint.js +4 -2
- package/components/shell/PairingView.d.ts.map +1 -1
- package/components/shell/PairingView.js +11 -2
- package/components/shell/RestartBanner.d.ts.map +1 -1
- package/components/shell/RestartBanner.js +9 -3
- package/components/shell/ShellControllerContext.hooks.d.ts +1 -1
- package/components/shell/ShellHeaderControls.d.ts +3 -3
- package/components/shell/ShellHeaderControls.d.ts.map +1 -1
- package/components/shell/ShellHeaderControls.js +2 -2
- package/components/shell/ShellOverlays.d.ts +1 -1
- package/components/shell/ShellOverlays.d.ts.map +1 -1
- package/components/shell/ShellOverlays.js +19 -4
- package/components/shell/ShortcutsOverlay.d.ts.map +1 -1
- package/components/shell/ShortcutsOverlay.js +10 -3
- package/components/shell/SlashCommandMenu.d.ts +2 -2
- package/components/shell/SlashCommandMenu.d.ts.map +1 -1
- package/components/shell/SlashCommandMenu.js +2 -2
- package/components/shell/StartupFailureView.d.ts +1 -1
- package/components/shell/StartupFailureView.js +3 -3
- package/components/shell/StartupShell.d.ts +1 -1
- package/components/shell/StartupShell.d.ts.map +1 -1
- package/components/shell/StartupShell.js +18 -6
- package/components/shell/SystemWarningBanner.d.ts.map +1 -1
- package/components/shell/SystemWarningBanner.js +5 -3
- package/components/shell/TopicChipsBar.d.ts +14 -0
- package/components/shell/TopicChipsBar.d.ts.map +1 -0
- package/components/shell/TopicChipsBar.js +18 -0
- package/components/shell/TopicGroup.d.ts +21 -0
- package/components/shell/TopicGroup.d.ts.map +1 -0
- package/components/shell/TopicGroup.js +30 -0
- package/components/shell/__e2e__/chat-ambient-fixture.js +2 -2
- package/components/shell/__e2e__/chat-sheet-fixture.js +13 -1
- package/components/shell/__e2e__/chatux-gesture-fixture.d.ts +13 -0
- package/components/shell/__e2e__/chatux-gesture-fixture.d.ts.map +1 -0
- package/components/shell/__e2e__/chatux-gesture-fixture.js +65 -0
- package/components/shell/__e2e__/home-screen-fixture.api-stub.d.ts +97 -9
- package/components/shell/__e2e__/home-screen-fixture.api-stub.d.ts.map +1 -1
- package/components/shell/__e2e__/home-screen-fixture.api-stub.js +30 -9
- package/components/shell/__e2e__/home-screen-fixture.catalog-stub.d.ts +20 -0
- package/components/shell/__e2e__/home-screen-fixture.catalog-stub.d.ts.map +1 -0
- package/components/shell/__e2e__/home-screen-fixture.catalog-stub.js +23 -0
- package/components/shell/__e2e__/home-screen-fixture.core-stub.d.ts +3 -0
- package/components/shell/__e2e__/home-screen-fixture.core-stub.d.ts.map +1 -0
- package/components/shell/__e2e__/home-screen-fixture.core-stub.js +6 -0
- package/components/shell/__e2e__/home-screen-fixture.js +10 -2
- package/components/shell/__e2e__/home-screen-fixture.platform-stub.d.ts +3 -0
- package/components/shell/__e2e__/home-screen-fixture.platform-stub.d.ts.map +1 -0
- package/components/shell/__e2e__/home-screen-fixture.platform-stub.js +6 -0
- package/components/shell/__e2e__/home-screen-fixture.view-kinds-stub.d.ts +5 -0
- package/components/shell/__e2e__/home-screen-fixture.view-kinds-stub.d.ts.map +1 -0
- package/components/shell/__e2e__/home-screen-fixture.view-kinds-stub.js +3 -0
- package/components/shell/__e2e__/home-screen-fixture.views-stub.d.ts +7 -0
- package/components/shell/__e2e__/home-screen-fixture.views-stub.d.ts.map +1 -1
- package/components/shell/__e2e__/home-screen-fixture.views-stub.js +68 -3
- package/components/shell/first-run-theme.d.ts +1 -1
- package/components/shell/glass-composer.helpers.d.ts +2 -2
- package/components/shell/glass-composer.helpers.d.ts.map +1 -1
- package/components/shell/glass-composer.helpers.js +2 -2
- package/components/shell/glass-composer.js +1 -1
- package/components/shell/home-springboard-events.d.ts +7 -0
- package/components/shell/home-springboard-events.d.ts.map +1 -0
- package/components/shell/home-springboard-events.js +6 -0
- package/components/shell/shell-state.d.ts +24 -1
- package/components/shell/shell-state.d.ts.map +1 -1
- package/components/shell/shell-state.js +19 -1
- package/components/shell/startup-shell-types.d.ts +1 -1
- package/components/shell/topic-grouping.d.ts +39 -0
- package/components/shell/topic-grouping.d.ts.map +1 -0
- package/components/shell/topic-grouping.js +81 -0
- package/components/shell/use-conversation-reset.d.ts +14 -0
- package/components/shell/use-conversation-reset.d.ts.map +1 -0
- package/components/shell/use-conversation-reset.js +25 -0
- package/components/shell/use-pull-gesture.d.ts +32 -7
- package/components/shell/use-pull-gesture.d.ts.map +1 -1
- package/components/shell/use-pull-gesture.js +146 -21
- package/components/shell/usePromptSuggestions.d.ts +3 -3
- package/components/shell/usePromptSuggestions.js +1 -1
- package/components/shell/useShellController.d.ts +42 -19
- package/components/shell/useShellController.d.ts.map +1 -1
- package/components/shell/useShellController.js +189 -15
- package/components/shell/useShellVoiceOutput.d.ts +1 -1
- package/components/steward/injected.d.ts +1 -1
- package/components/stream/StatusBar.js +5 -7
- package/components/tool-events/ToolCallEventLog.d.ts +1 -1
- package/components/tool-events/ToolCallEventLog.helpers.d.ts +2 -2
- package/components/training/JobDetailPanel.js +2 -2
- package/components/training/TrainingDashboard.js +1 -1
- package/components/training/hooks/useTrainingApi.d.ts +1 -1
- package/components/training/injected.d.ts +1 -1
- package/components/transcripts/TranscriptBody.d.ts.map +1 -1
- package/components/transcripts/TranscriptBody.js +14 -6
- package/components/transcripts/index.d.ts +4 -4
- package/components/ui/admin-dialog.d.ts +2 -2
- package/components/ui/admin-dialog.js +2 -2
- package/components/ui/badge.js +1 -1
- package/components/ui/button.js +1 -1
- package/components/ui/calendar.d.ts +1 -1
- package/components/ui/calendar.js +3 -3
- package/components/ui/carousel.d.ts +1 -1
- package/components/ui/chart.js +1 -1
- package/components/ui/checkbox.js +1 -1
- package/components/ui/code-block.js +1 -1
- package/components/ui/confirm-dialog.hooks.d.ts +1 -1
- package/components/ui/connection-status.d.ts.map +1 -1
- package/components/ui/connection-status.js +6 -6
- package/components/ui/copy-button.d.ts.map +1 -1
- package/components/ui/copy-button.js +10 -1
- package/components/ui/dialog.js +1 -1
- package/components/ui/dropdown-menu.js +4 -4
- package/components/ui/field-switch.js +1 -1
- package/components/ui/form-select.d.ts +1 -1
- package/components/ui/form-select.js +2 -2
- package/components/ui/grid.d.ts +1 -1
- package/components/ui/input-group.d.ts +1 -1
- package/components/ui/input-group.js +4 -4
- package/components/ui/input.js +3 -3
- package/components/ui/new-action-button.d.ts +1 -1
- package/components/ui/pagination.d.ts +1 -1
- package/components/ui/scroll-area.js +1 -1
- package/components/ui/select.js +2 -2
- package/components/ui/settings-controls.d.ts +6 -6
- package/components/ui/settings-controls.d.ts.map +1 -1
- package/components/ui/settings-controls.js +9 -9
- package/components/ui/slider.js +1 -1
- package/components/ui/stack.d.ts +2 -2
- package/components/ui/status-badge.helpers.d.ts +1 -1
- package/components/ui/switch.js +1 -1
- package/components/ui/tabs.d.ts.map +1 -1
- package/components/ui/tabs.js +2 -2
- package/components/ui/textarea.js +3 -3
- package/components/ui/toggle.js +1 -1
- package/components/ui/tooltip-extended.js +1 -1
- package/components/views/DynamicViewLoader.d.ts +12 -0
- package/components/views/DynamicViewLoader.d.ts.map +1 -1
- package/components/views/DynamicViewLoader.js +82 -18
- package/components/views/ShellViewAgentSurface.d.ts +1 -1
- package/components/views/TerminalPluginView.d.ts.map +1 -1
- package/components/views/TerminalPluginView.js +0 -1
- package/components/views/ViewIcon.d.ts.map +1 -1
- package/components/views/ViewIcon.js +22 -4
- package/components/views/ViewTileImage.d.ts +25 -0
- package/components/views/ViewTileImage.d.ts.map +1 -0
- package/components/views/ViewTileImage.js +52 -0
- package/components/views/view-interact-registry.d.ts +1 -1
- package/components/workspace/AppWorkspaceChrome.d.ts +12 -1
- package/components/workspace/AppWorkspaceChrome.d.ts.map +1 -1
- package/components/workspace/AppWorkspaceChrome.js +3 -3
- package/config/boot-config-store.d.ts +9 -8
- package/config/boot-config-store.d.ts.map +1 -1
- package/config/boot-config-store.js +1 -50
- package/config/branding-react.hooks.d.ts +1 -1
- package/config/branding.d.ts +2 -2
- package/config/config-catalog.d.ts +10 -366
- package/config/config-catalog.d.ts.map +1 -1
- package/config/config-catalog.js +10 -705
- package/config/index.d.ts +7 -7
- package/content-packs/index.d.ts +3 -3
- package/events/index.d.ts +33 -63
- package/events/index.d.ts.map +1 -1
- package/events/index.js +41 -37
- package/first-run/AgentPicker.d.ts +8 -2
- package/first-run/AgentPicker.d.ts.map +1 -1
- package/first-run/AgentPicker.js +4 -4
- package/first-run/CompactOnboarding.d.ts.map +1 -1
- package/first-run/CompactOnboarding.js +2 -2
- package/first-run/deep-link-handler.d.ts +1 -1
- package/first-run/ensure-store-build-workspace-folder.d.ts +1 -1
- package/first-run/first-run-config.d.ts +1 -1
- package/first-run/first-run.d.ts +3 -3
- package/first-run/mobile-runtime-mode.d.ts +1 -1
- package/first-run/pre-seed-local-runtime.d.ts +1 -1
- package/first-run/setup-steps.d.ts +1 -1
- package/first-run/use-first-run-controller.d.ts +3 -3
- package/first-run/use-first-run-controller.d.ts.map +1 -1
- package/first-run/use-first-run-controller.js +64 -68
- package/genui/actions.d.ts +1 -1
- package/genui/index.d.ts +8 -8
- package/genui/modes.d.ts +1 -1
- package/genui/pipe.d.ts +1 -1
- package/genui/renderer.d.ts +1 -1
- package/genui/starter-pack-demo.d.ts +1 -1
- package/genui/streaming.d.ts +1 -1
- package/genui/use-json-render-message.d.ts +1 -1
- package/genui/use-ui-stream.d.ts +1 -1
- package/genui/use-ui-stream.d.ts.map +1 -1
- package/genui/use-ui-stream.js +5 -5
- package/genui/validator.d.ts +1 -1
- package/hooks/BugReportProvider.d.ts +1 -1
- package/hooks/frame-budget.d.ts +124 -0
- package/hooks/frame-budget.d.ts.map +1 -0
- package/hooks/frame-budget.js +183 -0
- package/hooks/index.d.ts +27 -24
- package/hooks/index.d.ts.map +1 -1
- package/hooks/index.js +3 -0
- package/hooks/resource-cache.d.ts.map +1 -1
- package/hooks/resource-cache.js +36 -0
- package/hooks/useAccounts.d.ts +2 -4
- package/hooks/useAccounts.d.ts.map +1 -1
- package/hooks/useAccounts.js +6 -4
- package/hooks/useActivityEvents.d.ts +12 -0
- package/hooks/useActivityEvents.d.ts.map +1 -1
- package/hooks/useActivityEvents.js +48 -69
- package/hooks/useAuthStatus.d.ts +1 -1
- package/hooks/useAuthStatus.d.ts.map +1 -1
- package/hooks/useAuthStatus.js +19 -1
- package/hooks/useAvailableViews.d.ts +17 -3
- package/hooks/useAvailableViews.d.ts.map +1 -1
- package/hooks/useAvailableViews.js +89 -10
- package/hooks/useCachedResource.d.ts +1 -1
- package/hooks/useCloudHandoffPhase.d.ts +1 -1
- package/hooks/useCloudHandoffPhase.d.ts.map +1 -1
- package/hooks/useCloudHandoffPhase.js +15 -9
- package/hooks/useConnectorAccounts.d.ts +2 -4
- package/hooks/useConnectorAccounts.d.ts.map +1 -1
- package/hooks/useConnectorAccounts.js +1 -1
- package/hooks/useConnectorReconnect.d.ts +1 -1
- package/hooks/useConnectorSendAsAccount.d.ts +3 -5
- package/hooks/useConnectorSendAsAccount.d.ts.map +1 -1
- package/hooks/useContextMenu.d.ts +1 -1
- package/hooks/useContextMenu.d.ts.map +1 -1
- package/hooks/useContextMenu.js +6 -2
- package/hooks/useContinuousChat.d.ts +2 -2
- package/hooks/useDefaultProviderPresets.d.ts +1 -1
- package/hooks/useDesktopTabs.d.ts +1 -1
- package/hooks/useDesktopTabs.d.ts.map +1 -1
- package/hooks/useDesktopTabs.js +27 -9
- package/hooks/useFrameBudgetMonitor.d.ts +30 -0
- package/hooks/useFrameBudgetMonitor.d.ts.map +1 -0
- package/hooks/useFrameBudgetMonitor.js +105 -0
- package/hooks/useKeyboardShortcuts.d.ts +4 -0
- package/hooks/useKeyboardShortcuts.d.ts.map +1 -1
- package/hooks/useKeyboardShortcuts.js +19 -11
- package/hooks/useLayoutShiftMonitor.d.ts +43 -0
- package/hooks/useLayoutShiftMonitor.d.ts.map +1 -0
- package/hooks/useLayoutShiftMonitor.js +128 -0
- package/hooks/useNow.d.ts +10 -0
- package/hooks/useNow.d.ts.map +1 -0
- package/hooks/useNow.js +18 -0
- package/hooks/useRuntimeMode.d.ts +1 -1
- package/hooks/useSignalPairing.d.ts +2 -2
- package/hooks/useViewCatalog.d.ts +2 -2
- package/hooks/useViewCatalog.js +5 -5
- package/hooks/useViewEvent.d.ts +1 -1
- package/hooks/useVoiceChat.d.ts +17 -6
- package/hooks/useVoiceChat.d.ts.map +1 -1
- package/hooks/useVoiceChat.js +49 -2
- package/hooks/useWhatsAppPairing.d.ts +2 -2
- package/hooks/view-catalog.d.ts +37 -5
- package/hooks/view-catalog.d.ts.map +1 -1
- package/hooks/view-catalog.js +75 -5
- package/i18n/index.d.ts +1 -1
- package/i18n/locales/en.json +65 -21
- package/i18n/locales/es.json +15 -16
- package/i18n/locales/ja.json +15 -16
- package/i18n/locales/ko.json +15 -16
- package/i18n/locales/pt.json +15 -16
- package/i18n/locales/tl.json +15 -16
- package/i18n/locales/vi.json +15 -16
- package/i18n/locales/zh-CN.json +15 -16
- package/i18n/region.d.ts +1 -1
- package/index.d.ts +146 -138
- package/index.d.ts.map +1 -1
- package/index.js +12 -2
- package/layouts/chat-panel-layout/index.d.ts +1 -1
- package/layouts/content-layout/index.d.ts +1 -1
- package/layouts/index.d.ts +4 -4
- package/layouts/page-layout/index.d.ts +4 -4
- package/layouts/page-layout/page-layout-mobile-drawer.d.ts +1 -1
- package/layouts/page-layout/page-layout-types.d.ts +2 -2
- package/layouts/page-layout/page-layout.d.ts +1 -1
- package/layouts/workspace-layout/index.d.ts +3 -3
- package/layouts/workspace-layout/workspace-layout-types.d.ts +1 -1
- package/layouts/workspace-layout/workspace-layout.d.ts +1 -1
- package/layouts/workspace-layout/workspace-layout.d.ts.map +1 -1
- package/layouts/workspace-layout/workspace-layout.js +2 -1
- package/navigation/index.d.ts +4 -4
- package/navigation/index.d.ts.map +1 -1
- package/navigation/index.js +26 -16
- package/package.json +26 -10
- package/perf/PerfOverlay.d.ts +21 -0
- package/perf/PerfOverlay.d.ts.map +1 -0
- package/perf/PerfOverlay.js +90 -0
- package/perf/perf-hud-control.d.ts +21 -0
- package/perf/perf-hud-control.d.ts.map +1 -0
- package/perf/perf-hud-control.js +98 -0
- package/platform/assistant-launch-payload.d.ts.map +1 -1
- package/platform/assistant-launch-payload.js +0 -3
- package/platform/cloud-preference-patch.d.ts +1 -1
- package/platform/desktop-permissions-client.d.ts +1 -1
- package/platform/first-run-reset.d.ts +1 -1
- package/platform/index.d.ts +14 -14
- package/platform/init.d.ts +1 -1
- package/platform/mobile-permissions-client.d.ts +1 -1
- package/platform/platform-guards.d.ts +8 -0
- package/platform/platform-guards.d.ts.map +1 -1
- package/platform/platform-guards.js +2 -4
- package/platform/types.d.ts +1 -1
- package/platform/window-shell.d.ts +1 -1
- package/retained-lazy.d.ts +1 -2
- package/retained-lazy.d.ts.map +1 -1
- package/services/app-updates/update-policy.d.ts +1 -1
- package/services/app-updates/update-policy.d.ts.map +1 -1
- package/services/app-updates/update-policy.js +1 -1
- package/services/local-inference/active-model.d.ts +3 -3
- package/services/local-inference/assignments.d.ts +6 -8
- package/services/local-inference/assignments.d.ts.map +1 -1
- package/services/local-inference/assignments.js +31 -14
- package/services/local-inference/catalog-policy.d.ts +2 -1
- package/services/local-inference/catalog-policy.d.ts.map +1 -1
- package/services/local-inference/catalog-policy.js +6 -0
- package/services/local-inference/catalog.d.ts +1 -1
- package/services/local-inference/catalog.d.ts.map +1 -1
- package/services/local-inference/catalog.js +1 -1
- package/services/local-inference/custom-search.d.ts +2 -1
- package/services/local-inference/custom-search.d.ts.map +1 -1
- package/services/local-inference/custom-search.js +13 -21
- package/services/local-inference/device-bridge.d.ts +1 -1
- package/services/local-inference/downloader.d.ts +6 -5
- package/services/local-inference/downloader.d.ts.map +1 -1
- package/services/local-inference/downloader.js +9 -5
- package/services/local-inference/engine.d.ts +1 -1
- package/services/local-inference/external-scanner.d.ts +1 -1
- package/services/local-inference/hardware.d.ts +2 -2
- package/services/local-inference/hf-search.d.ts +5 -20
- package/services/local-inference/hf-search.d.ts.map +1 -1
- package/services/local-inference/hf-search.js +14 -272
- package/services/local-inference/home-model-status.d.ts +1 -1
- package/services/local-inference/index.d.ts +10 -10
- package/services/local-inference/readiness.d.ts +1 -1
- package/services/local-inference/recommendation.d.ts +1 -1
- package/services/local-inference/registry.d.ts +11 -13
- package/services/local-inference/registry.d.ts.map +1 -1
- package/services/local-inference/registry.js +18 -17
- package/services/local-inference/routing-policy.d.ts +6 -2
- package/services/local-inference/routing-policy.d.ts.map +1 -1
- package/services/local-inference/routing-policy.js +36 -8
- package/services/local-inference/service.d.ts +6 -6
- package/services/local-inference/service.d.ts.map +1 -1
- package/services/local-inference/service.js +19 -8
- package/services/local-inference/token-tree.d.ts +1 -1
- package/slots/task-coordinator-slots.d.ts +2 -2
- package/spatial/context.d.ts +1 -1
- package/spatial/dom.d.ts +9 -3
- package/spatial/dom.d.ts.map +1 -1
- package/spatial/dom.js +13 -3
- package/spatial/evaluate.d.ts +1 -1
- package/spatial/index.d.ts +6 -6
- package/spatial/primitives.d.ts +3 -3
- package/spatial/primitives.d.ts.map +1 -1
- package/spatial/primitives.js +10 -7
- package/spatial/tui/engine.d.ts +1 -1
- package/spatial/tui/index.d.ts +3 -3
- package/spatial/tui/index.d.ts.map +1 -1
- package/spatial/tui/index.js +2 -2
- package/spatial/tui/renderer.d.ts +9 -2
- package/spatial/tui/renderer.d.ts.map +1 -1
- package/spatial/tui/renderer.js +47 -2
- package/state/AppContext.d.ts +1 -1
- package/state/AppContext.d.ts.map +1 -1
- package/state/AppContext.js +83 -30
- package/state/ChatComposerContext.hooks.d.ts +1 -1
- package/state/ChatTurnStatusContext.hooks.d.ts +27 -0
- package/state/ChatTurnStatusContext.hooks.d.ts.map +1 -0
- package/state/ChatTurnStatusContext.hooks.js +24 -0
- package/state/CompanionSceneConfigContext.hooks.d.ts +3 -3
- package/state/ConversationMessagesContext.hooks.d.ts +26 -0
- package/state/ConversationMessagesContext.hooks.d.ts.map +1 -0
- package/state/ConversationMessagesContext.hooks.js +22 -0
- package/state/PtySessionsContext.hooks.d.ts +1 -1
- package/state/TranslationContext.hooks.d.ts +1 -1
- package/state/TranslationProvider.d.ts +2 -2
- package/state/action-notice.d.ts +31 -1
- package/state/action-notice.d.ts.map +1 -1
- package/state/action-notice.js +27 -1
- package/state/agent-profiles.d.ts +10 -2
- package/state/agent-profiles.d.ts.map +1 -1
- package/state/agent-profiles.js +20 -0
- package/state/agent-runtime-target.d.ts +2 -2
- package/state/app-store.d.ts +52 -0
- package/state/app-store.d.ts.map +1 -0
- package/state/app-store.js +169 -0
- package/state/autonomy.d.ts +1 -1
- package/state/chat-conversation-guards.d.ts +1 -1
- package/state/chat-conversation-guards.d.ts.map +1 -1
- package/state/chat-conversation-guards.js +0 -1
- package/state/complete-reset-local-state-after-wipe.d.ts +1 -1
- package/state/conversation-message-filter.d.ts +1 -1
- package/state/first-run-bootstrap.d.ts +1 -1
- package/state/first-run-restart.d.ts +1 -1
- package/state/handle-reset-applied-from-main.d.ts +2 -2
- package/state/index.d.ts +24 -18
- package/state/index.d.ts.map +1 -1
- package/state/index.js +6 -0
- package/state/internal.d.ts +11 -11
- package/state/notifications/navigate-deep-link.d.ts +27 -0
- package/state/notifications/navigate-deep-link.d.ts.map +1 -0
- package/state/notifications/navigate-deep-link.js +48 -0
- package/state/notifications/notification-store.d.ts +2 -2
- package/state/notifications/notification-store.d.ts.map +1 -1
- package/state/notifications/notification-store.js +4 -4
- package/state/parsers.d.ts +3 -3
- package/state/parsers.d.ts.map +1 -1
- package/state/parsers.js +9 -3
- package/state/persistence.d.ts +23 -8
- package/state/persistence.d.ts.map +1 -1
- package/state/persistence.js +86 -4
- package/state/screen-capture-bridge.d.ts +8 -0
- package/state/screen-capture-bridge.d.ts.map +1 -0
- package/state/screen-capture-bridge.js +124 -0
- package/state/setup-resume.d.ts +2 -2
- package/state/shell-routing.d.ts +3 -3
- package/state/shell-surface-store.d.ts +50 -0
- package/state/shell-surface-store.d.ts.map +1 -0
- package/state/shell-surface-store.js +130 -0
- package/state/springboard-layout.d.ts +85 -0
- package/state/springboard-layout.d.ts.map +1 -0
- package/state/springboard-layout.js +180 -0
- package/state/startup-coordinator.d.ts +1 -1
- package/state/startup-phase-hydrate.d.ts +5 -5
- package/state/startup-phase-hydrate.d.ts.map +1 -1
- package/state/startup-phase-hydrate.js +6 -0
- package/state/startup-phase-poll.d.ts +8 -8
- package/state/startup-phase-restore.d.ts +22 -6
- package/state/startup-phase-restore.d.ts.map +1 -1
- package/state/startup-phase-restore.js +91 -1
- package/state/startup-phase-runtime.d.ts +3 -3
- package/state/startup-telemetry.d.ts +73 -0
- package/state/startup-telemetry.d.ts.map +1 -0
- package/state/startup-telemetry.js +139 -0
- package/state/types.d.ts +36 -12
- package/state/types.d.ts.map +1 -1
- package/state/types.js +13 -0
- package/state/ui-preferences.d.ts +39 -0
- package/state/ui-preferences.d.ts.map +1 -1
- package/state/ui-preferences.js +30 -1
- package/state/use-startup-shell-controller.d.ts +8 -1
- package/state/use-startup-shell-controller.d.ts.map +1 -1
- package/state/use-startup-shell-controller.js +63 -3
- package/state/useApp.d.ts +1 -1
- package/state/useAppLifecycleEvents.d.ts +1 -1
- package/state/useAppProviderEffects.d.ts +3 -3
- package/state/useBackgroundConfig.d.ts +16 -0
- package/state/useBackgroundConfig.d.ts.map +1 -0
- package/state/useBackgroundConfig.js +21 -0
- package/state/useCharacterState.d.ts +2 -2
- package/state/useChatCallbacks.d.ts +40 -7
- package/state/useChatCallbacks.d.ts.map +1 -1
- package/state/useChatCallbacks.js +218 -132
- package/state/useChatLifecycle.d.ts +12 -4
- package/state/useChatLifecycle.d.ts.map +1 -1
- package/state/useChatLifecycle.js +26 -2
- package/state/useChatSend.d.ts +7 -4
- package/state/useChatSend.d.ts.map +1 -1
- package/state/useChatSend.js +126 -21
- package/state/useChatState.d.ts +4 -4
- package/state/useContentPack.d.ts.map +1 -1
- package/state/useContentPack.js +12 -2
- package/state/useDataLoaders.d.ts +6 -5
- package/state/useDataLoaders.d.ts.map +1 -1
- package/state/useDataLoaders.js +99 -5
- package/state/useDeveloperMode.d.ts.map +1 -1
- package/state/useDeveloperMode.js +48 -8
- package/state/useDisplayPreferences.d.ts +6 -2
- package/state/useDisplayPreferences.d.ts.map +1 -1
- package/state/useDisplayPreferences.js +40 -2
- package/state/useFirstRunCallbacks.d.ts +8 -8
- package/state/useFirstRunState.d.ts +3 -3
- package/state/useLifecycleState.d.ts +9 -2
- package/state/useLifecycleState.d.ts.map +1 -1
- package/state/useLifecycleState.js +26 -1
- package/state/useLogsState.d.ts +1 -1
- package/state/useMiscUiState.d.ts +1 -1
- package/state/useNavigationState.d.ts +2 -2
- package/state/usePluginsSkillsState.d.ts +3 -3
- package/state/usePreviewMode.d.ts +4 -0
- package/state/usePreviewMode.d.ts.map +1 -0
- package/state/usePreviewMode.js +93 -0
- package/state/useStartupCoordinator.d.ts +5 -5
- package/state/useStartupCoordinator.d.ts.map +1 -1
- package/state/useStartupCoordinator.js +9 -0
- package/state/useStreamingText.d.ts +1 -1
- package/state/useTriggersState.d.ts +1 -1
- package/state/useViewKinds.d.ts +19 -0
- package/state/useViewKinds.d.ts.map +1 -0
- package/state/useViewKinds.js +28 -0
- package/state/useWalletState.d.ts +3 -3
- package/state/vrm.d.ts +1 -1
- package/storybook/home-widget-decorator.d.ts +21 -0
- package/storybook/home-widget-decorator.d.ts.map +1 -0
- package/storybook/home-widget-decorator.js +53 -0
- package/storybook/mock-providers.d.ts +2 -2
- package/storybook/mock-providers.d.ts.map +1 -1
- package/storybook/mock-providers.helpers.d.ts +1 -1
- package/storybook/mock-providers.js +20 -1
- package/styles/base.css +66 -32
- package/styles/brand-gold.css +0 -7
- package/styles/styles.css +10 -5
- package/testing/layout-stability.d.ts +67 -0
- package/testing/layout-stability.d.ts.map +1 -0
- package/testing/layout-stability.js +106 -0
- package/testing/render-counter.d.ts +56 -0
- package/testing/render-counter.d.ts.map +1 -0
- package/testing/render-counter.js +62 -0
- package/themes/presets.d.ts.map +1 -1
- package/themes/presets.js +17 -15
- package/utils/attachment-url.d.ts +42 -0
- package/utils/attachment-url.d.ts.map +1 -0
- package/utils/attachment-url.js +130 -0
- package/utils/cloud-agent-base.d.ts +0 -1
- package/utils/cloud-agent-base.d.ts.map +1 -1
- package/utils/cloud-agent-base.js +0 -8
- package/utils/download-share.d.ts +65 -0
- package/utils/download-share.d.ts.map +1 -0
- package/utils/download-share.js +292 -0
- package/utils/event-source.d.ts +17 -0
- package/utils/event-source.d.ts.map +1 -0
- package/utils/event-source.js +36 -0
- package/utils/image-attachment.d.ts +156 -4
- package/utils/image-attachment.d.ts.map +1 -1
- package/utils/image-attachment.js +193 -4
- package/utils/index.d.ts +33 -33
- package/utils/workflow-executions.d.ts +1 -1
- package/utils/workflow-json.d.ts +1 -1
- package/view-telemetry.d.ts +30 -0
- package/view-telemetry.d.ts.map +1 -0
- package/view-telemetry.js +47 -0
- package/views/view-interact-protocol.d.ts +6 -0
- package/views/view-interact-protocol.d.ts.map +1 -1
- package/views/view-interact-protocol.js +6 -0
- package/voice/audio-frame-diarization-harness.d.ts +5 -0
- package/voice/audio-frame-diarization-harness.d.ts.map +1 -1
- package/voice/audio-frame-pump.d.ts +1 -1
- package/voice/character-voice-config.d.ts +2 -2
- package/voice/end-of-turn.d.ts +14 -11
- package/voice/end-of-turn.d.ts.map +1 -1
- package/voice/end-of-turn.js +14 -119
- package/voice/index.d.ts +11 -10
- package/voice/index.d.ts.map +1 -1
- package/voice/index.js +1 -0
- package/voice/jni-voice-harness.d.ts +19 -4
- package/voice/jni-voice-harness.d.ts.map +1 -1
- package/voice/jni-voice-harness.js +45 -10
- package/voice/jni-voice-pipeline.d.ts +27 -3
- package/voice/jni-voice-pipeline.d.ts.map +1 -1
- package/voice/jni-voice-pipeline.js +40 -2
- package/voice/local-asr-capture.js +1 -1
- package/voice/local-asr-transcribe.d.ts +2 -2
- package/voice/local-asr-transcribe.d.ts.map +1 -1
- package/voice/local-asr-transcribe.js +3 -3
- package/voice/playback-frame-pump.d.ts +49 -0
- package/voice/playback-frame-pump.d.ts.map +1 -0
- package/voice/playback-frame-pump.js +387 -0
- package/voice/should-respond.d.ts +7 -32
- package/voice/should-respond.d.ts.map +1 -1
- package/voice/should-respond.js +7 -68
- package/voice/useVoiceConfig.d.ts +1 -1
- package/voice/voice-capture-factory.d.ts +2 -2
- package/voice/voice-capture-factory.js +3 -3
- package/voice/voice-chat-playback.d.ts +1 -1
- package/voice/voice-chat-types.d.ts +2 -2
- package/voice/voice-provider-defaults.d.ts +8 -5
- package/voice/voice-provider-defaults.d.ts.map +1 -1
- package/voice/voice-provider-defaults.js +17 -10
- package/voice/voice-selftest/VoiceSelfTestShell.d.ts +11 -0
- package/voice/voice-selftest/VoiceSelfTestShell.d.ts.map +1 -1
- package/voice/voice-selftest/VoiceSelfTestShell.js +1 -4
- package/voice/voice-selftest/VoiceWorkbenchShell.d.ts +29 -0
- package/voice/voice-selftest/VoiceWorkbenchShell.d.ts.map +1 -0
- package/voice/voice-selftest/VoiceWorkbenchShell.js +133 -0
- package/voice/voice-selftest/timing.d.ts +8 -0
- package/voice/voice-selftest/timing.d.ts.map +1 -0
- package/voice/voice-selftest/timing.js +7 -0
- package/voice/voice-selftest/voice-selftest-harness.d.ts +1 -1
- package/voice/voice-selftest/voice-selftest-harness.d.ts.map +1 -1
- package/voice/voice-selftest/voice-selftest-harness.js +1 -2
- package/voice/voice-selftest/voice-workbench-player.d.ts +139 -0
- package/voice/voice-selftest/voice-workbench-player.d.ts.map +1 -0
- package/voice/voice-selftest/voice-workbench-player.js +401 -0
- package/voice/voice-turn-signal.d.ts +15 -26
- package/voice/voice-turn-signal.d.ts.map +1 -1
- package/voice/voice-turn-signal.js +7 -51
- package/widgets/WidgetHost.d.ts +10 -4
- package/widgets/WidgetHost.d.ts.map +1 -1
- package/widgets/WidgetHost.js +149 -30
- package/widgets/__fixtures__/home-widget-mock-data.d.ts +89 -0
- package/widgets/__fixtures__/home-widget-mock-data.d.ts.map +1 -0
- package/widgets/__fixtures__/home-widget-mock-data.js +388 -0
- package/widgets/home-attention-store.d.ts +40 -0
- package/widgets/home-attention-store.d.ts.map +1 -0
- package/widgets/home-attention-store.js +84 -0
- package/widgets/home-priority.d.ts +136 -0
- package/widgets/home-priority.d.ts.map +1 -0
- package/widgets/home-priority.js +276 -0
- package/widgets/index.d.ts +10 -7
- package/widgets/index.d.ts.map +1 -1
- package/widgets/index.js +4 -2
- package/widgets/registry-store.d.ts +9 -11
- package/widgets/registry-store.d.ts.map +1 -1
- package/widgets/registry-store.js +8 -12
- package/widgets/registry.d.ts +16 -4
- package/widgets/registry.d.ts.map +1 -1
- package/widgets/registry.js +432 -8
- package/widgets/types.d.ts +12 -4
- package/widgets/types.d.ts.map +1 -1
- package/widgets/types.js +7 -1
- package/widgets/useChatSidebarVisibility.d.ts +6 -3
- package/widgets/useChatSidebarVisibility.d.ts.map +1 -1
- package/widgets/useChatSidebarVisibility.js +15 -11
- package/widgets/visibility.d.ts +16 -10
- package/widgets/visibility.d.ts.map +1 -1
- package/widgets/visibility.js +25 -13
- package/api/agent-client-type-shim.d.ts +0 -24
- package/api/agent-client-type-shim.d.ts.map +0 -1
- package/api/agent-client-type-shim.js +0 -1
- package/cloud/account-security/use-document-title.d.ts +0 -10
- package/cloud/account-security/use-document-title.d.ts.map +0 -1
- package/cloud/account-security/use-document-title.js +0 -20
- package/cloud/admin/lib/format-usd.d.ts +0 -11
- package/cloud/admin/lib/format-usd.d.ts.map +0 -1
- package/cloud/admin/lib/format-usd.js +0 -18
- package/cloud/admin/use-document-title.d.ts +0 -10
- package/cloud/admin/use-document-title.d.ts.map +0 -1
- package/cloud/api-explorer/use-document-title.d.ts +0 -11
- package/cloud/api-explorer/use-document-title.d.ts.map +0 -1
- package/cloud/api-explorer/use-document-title.js +0 -21
- package/cloud/api-keys/use-document-title.d.ts +0 -10
- package/cloud/api-keys/use-document-title.d.ts.map +0 -1
- package/cloud/api-keys/use-document-title.js +0 -20
- package/cloud/applications/lib/auth-query.d.ts +0 -14
- package/cloud/applications/lib/auth-query.d.ts.map +0 -1
- package/cloud/applications/lib/auth-query.js +0 -18
- package/cloud/applications/lib/use-copy-feedback.d.ts +0 -9
- package/cloud/applications/lib/use-copy-feedback.d.ts.map +0 -1
- package/cloud/applications/lib/use-copy-feedback.js +0 -13
- package/cloud/applications/lib/use-session-auth.d.ts +0 -28
- package/cloud/applications/lib/use-session-auth.d.ts.map +0 -1
- package/cloud/approvals/lib/auth-query.d.ts +0 -18
- package/cloud/approvals/lib/auth-query.d.ts.map +0 -1
- package/cloud/approvals/lib/auth-query.js +0 -22
- package/cloud/approvals/lib/use-session-auth.d.ts +0 -28
- package/cloud/approvals/lib/use-session-auth.d.ts.map +0 -1
- package/cloud/approvals/lib/use-session-auth.js +0 -97
- package/cloud/documents/lib/auth-query.d.ts +0 -17
- package/cloud/documents/lib/auth-query.d.ts.map +0 -1
- package/cloud/documents/lib/use-session-auth.d.ts +0 -27
- package/cloud/documents/lib/use-session-auth.d.ts.map +0 -1
- package/cloud/documents/lib/use-session-auth.js +0 -96
- package/cloud/documents/use-document-title.d.ts +0 -11
- package/cloud/documents/use-document-title.d.ts.map +0 -1
- package/cloud/documents/use-document-title.js +0 -21
- package/cloud/instances/lib/format-bytes.d.ts +0 -19
- package/cloud/instances/lib/format-bytes.d.ts.map +0 -1
- package/cloud/instances/lib/format-bytes.js +0 -25
- package/cloud/instances/lib/use-copy-feedback.d.ts +0 -9
- package/cloud/instances/lib/use-copy-feedback.d.ts.map +0 -1
- package/cloud/instances/lib/use-document-title.d.ts +0 -13
- package/cloud/instances/lib/use-document-title.d.ts.map +0 -1
- package/cloud/instances/lib/use-document-title.js +0 -23
- package/cloud/monetization/lib/format-usd.d.ts +0 -12
- package/cloud/monetization/lib/format-usd.d.ts.map +0 -1
- package/cloud/monetization/lib/format-usd.js +0 -19
- package/cloud/monetization/use-document-title.d.ts +0 -10
- package/cloud/monetization/use-document-title.d.ts.map +0 -1
- package/cloud/monetization/use-document-title.js +0 -20
- package/components/local-inference/CustomModelSearch.d.ts +0 -19
- package/components/local-inference/CustomModelSearch.d.ts.map +0 -1
- package/components/local-inference/CustomModelSearch.js +0 -128
- package/components/pages/ViewCatalog.d.ts +0 -10
- package/components/pages/ViewCatalog.d.ts.map +0 -1
- package/components/pages/ViewCatalog.js +0 -600
- package/components/shell/ChatAmbientBackground.d.ts +0 -8
- package/components/shell/ChatAmbientBackground.d.ts.map +0 -1
- package/components/shell/ChatAmbientBackground.js +0 -51
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/ChatView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/ChatView.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,KAAK,kBAAkB,EAAU,MAAM,kBAAkB,CAAC;AAmEnE,KAAK,eAAe,GAAG,SAAS,GAAG,YAAY,CAAC;AAYhD,UAAU,aAAa;IACrB,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,8DAA8D;IAC9D,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAyCD,wBAAgB,QAAQ,CAAC,EACvB,OAAmB,EACnB,iBAAiB,EACjB,YAAoB,GACrB,EAAE,aAAa,2CAi4Bf;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,eAAe,EACf,QAAQ,EACR,OAAO,EACP,YAAY,GACb,EAAE;IACD,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,kBAAkB,EAAE,CAAC;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,2CA6BA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Check, Copy, RotateCcw } from "lucide-react";
|
|
2
3
|
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState, } from "react";
|
|
3
4
|
import { client } from "../../api/client.js";
|
|
4
5
|
import { isRoutineCodingAgentMessage } from "../../chat/index.js";
|
|
@@ -6,19 +7,22 @@ import { readPersistedMobileRuntimeMode } from "../../first-run/mobile-runtime-m
|
|
|
6
7
|
import { useChatAvatarVoiceBridge } from "../../hooks/useChatAvatarVoiceBridge.js";
|
|
7
8
|
import { useConnectorSendAsAccount } from "../../hooks/useConnectorSendAsAccount.js";
|
|
8
9
|
import { useIntervalWhenDocumentVisible } from "../../hooks/useDocumentVisibility.js";
|
|
9
|
-
import {
|
|
10
|
+
import { claimAssistantLaunchPayloadFromHash } from "../../platform/assistant-launch-payload.js";
|
|
10
11
|
import { CodingAgentControlChip, PtyConsoleBase, } from "../../slots/task-coordinator-slots.js";
|
|
12
|
+
import { useAppSelectorShallow } from "../../state/app-store.js";
|
|
11
13
|
import { useChatComposer } from "../../state/ChatComposerContext.hooks.js";
|
|
14
|
+
import { useConversationMessages } from "../../state/ConversationMessagesContext.hooks.js";
|
|
12
15
|
import { usePtySessions } from "../../state/PtySessionsContext.hooks.js";
|
|
13
16
|
import { loadContinuousChatMode, saveContinuousChatMode, } from "../../state/persistence.js";
|
|
14
|
-
import {
|
|
17
|
+
import { deriveAgentReady } from "../../state/types.js";
|
|
15
18
|
import { getVrmPreviewUrl } from "../../state/vrm.js";
|
|
16
|
-
import { CHAT_UPLOAD_ACCEPT, chatUploadKind,
|
|
19
|
+
import { buildDroppedAttachmentNotice, CHAT_UPLOAD_ACCEPT, chatUploadKind, classifyComposerPaste, intakeAttachmentFiles, MAX_CHAT_IMAGES, } from "../../utils/image-attachment.js";
|
|
17
20
|
import { AccountRequiredCard } from "../chat/AccountRequiredCard.js";
|
|
18
21
|
import { AgentActivityBox } from "../chat/AgentActivityBox.js";
|
|
19
22
|
import { ConnectorAccountPicker } from "../chat/ConnectorAccountPicker.js";
|
|
20
23
|
import { connectorAccountDisplayName, connectorWriteConfirmationKey, isLikelyAccountRequiredError, mergeConnectorSendAsMetadata, } from "../chat/connector-send-as.js";
|
|
21
24
|
import { MessageContent } from "../chat/MessageContent.js";
|
|
25
|
+
import { conversationTranscriptText } from "../chat/message-parser-helpers.js";
|
|
22
26
|
import { ChatVoiceStatusBar } from "../composites/chat/ChatVoiceStatusBar.js";
|
|
23
27
|
import { ContinuousChatToggle } from "../composites/chat/ContinuousChatToggle.js";
|
|
24
28
|
import { ChatAttachmentStrip } from "../composites/chat/chat-attachment-strip.js";
|
|
@@ -29,6 +33,7 @@ import { ChatSourceIcon } from "../composites/chat/chat-source.js";
|
|
|
29
33
|
import { ChatThreadLayout } from "../composites/chat/chat-thread-layout.js";
|
|
30
34
|
import { ChatTranscript } from "../composites/chat/chat-transcript.js";
|
|
31
35
|
import { TypingIndicator } from "../composites/chat/chat-typing-indicator.js";
|
|
36
|
+
import { useConversationReset } from "../shell/use-conversation-reset.js";
|
|
32
37
|
import { useChatVoiceController, useGameModalMessages, } from "./chat-view-hooks.js";
|
|
33
38
|
const CHAT_INPUT_MIN_HEIGHT_PX = 46;
|
|
34
39
|
const CHAT_INPUT_MAX_HEIGHT_PX = 200;
|
|
@@ -63,11 +68,45 @@ function normalizeInboxChatSelection(value) {
|
|
|
63
68
|
};
|
|
64
69
|
}
|
|
65
70
|
export function ChatView({ variant = "default", onPtySessionClick, hideComposer = false, }) {
|
|
66
|
-
|
|
71
|
+
// Granular shallow selection instead of useApp() so the main chat view only
|
|
72
|
+
// re-renders when one of the fields it actually reads changes — not on every
|
|
73
|
+
// one of the ~300 app-store fields (#9141 gap 2). typecheck enforces that this
|
|
74
|
+
// list stays complete (any `app.x` not selected here is a type error).
|
|
75
|
+
const app = useAppSelectorShallow((s) => ({
|
|
76
|
+
agentStatus: s.agentStatus,
|
|
77
|
+
activeConversationId: s.activeConversationId,
|
|
78
|
+
activeInboxChat: s.activeInboxChat,
|
|
79
|
+
activeTerminalSessionId: s.activeTerminalSessionId,
|
|
80
|
+
characterData: s.characterData,
|
|
81
|
+
chatFirstTokenReceived: s.chatFirstTokenReceived,
|
|
82
|
+
companionMessageCutoffTs: s.companionMessageCutoffTs,
|
|
83
|
+
handleChatSend: s.handleChatSend,
|
|
84
|
+
handleChatStop: s.handleChatStop,
|
|
85
|
+
handleChatEdit: s.handleChatEdit,
|
|
86
|
+
elizaCloudConnected: s.elizaCloudConnected,
|
|
87
|
+
elizaCloudVoiceProxyAvailable: s.elizaCloudVoiceProxyAvailable,
|
|
88
|
+
elizaCloudHasPersistedKey: s.elizaCloudHasPersistedKey,
|
|
89
|
+
setState: s.setState,
|
|
90
|
+
copyToClipboard: s.copyToClipboard,
|
|
91
|
+
droppedFiles: s.droppedFiles,
|
|
92
|
+
analysisMode: s.analysisMode,
|
|
93
|
+
shareIngestNotice: s.shareIngestNotice,
|
|
94
|
+
chatAgentVoiceMuted: s.chatAgentVoiceMuted,
|
|
95
|
+
selectedVrmIndex: s.selectedVrmIndex,
|
|
96
|
+
uiLanguage: s.uiLanguage,
|
|
97
|
+
sendChatText: s.sendChatText,
|
|
98
|
+
t: s.t,
|
|
99
|
+
setActionNotice: s.setActionNotice,
|
|
100
|
+
}));
|
|
67
101
|
const isGameModal = variant === "game-modal";
|
|
68
102
|
const showComposerVoiceToggle = false;
|
|
69
|
-
const { agentStatus, activeConversationId, activeInboxChat, activeTerminalSessionId, characterData, chatFirstTokenReceived, companionMessageCutoffTs,
|
|
103
|
+
const { agentStatus, activeConversationId, activeInboxChat, activeTerminalSessionId, characterData, chatFirstTokenReceived, companionMessageCutoffTs, handleChatSend, handleChatStop, handleChatEdit, elizaCloudConnected, elizaCloudVoiceProxyAvailable, elizaCloudHasPersistedKey, setState, copyToClipboard, droppedFiles: rawDroppedFiles, analysisMode, shareIngestNotice: rawShareIngestNotice, chatAgentVoiceMuted: agentVoiceMuted, selectedVrmIndex, uiLanguage, sendChatText, t: appTranslate, } = app;
|
|
70
104
|
const { ptySessions } = usePtySessions();
|
|
105
|
+
// Reset to a fresh greeted thread. Same path as the overlay header reset.
|
|
106
|
+
const resetConversation = useConversationReset();
|
|
107
|
+
// Per-token streaming messages come from the isolated context so token updates
|
|
108
|
+
// don't ride on the giant AppContext value identity.
|
|
109
|
+
const { conversationMessages, removeConversationMessage } = useConversationMessages();
|
|
71
110
|
const { chatInput: rawChatInput, chatSending, chatPendingImages: rawChatPendingImages, setChatInput, setChatPendingImages, } = useChatComposer();
|
|
72
111
|
const droppedFiles = Array.isArray(rawDroppedFiles) ? rawDroppedFiles : [];
|
|
73
112
|
const chatInput = typeof rawChatInput === "string" ? rawChatInput : "";
|
|
@@ -105,20 +144,23 @@ export function ChatView({ variant = "default", onPtySessionClick, hideComposer
|
|
|
105
144
|
if (isGameModal || typeof window === "undefined")
|
|
106
145
|
return;
|
|
107
146
|
const consumeLaunchPayload = () => {
|
|
108
|
-
|
|
147
|
+
// Prefill the composer instead of auto-sending. An assistant-launch /
|
|
148
|
+
// deep-link / shortcut `text` is attacker-authorable (a crafted link can
|
|
149
|
+
// set it), so it must NOT be sent to the agent without the user reviewing
|
|
150
|
+
// it and pressing send. claim* dedupes by launchId and clears the hash.
|
|
151
|
+
const payload = claimAssistantLaunchPayloadFromHash(window.location.hash, {
|
|
109
152
|
allowedRoutes: ["chat"],
|
|
110
|
-
onSendFailure: (payload) => {
|
|
111
|
-
setChatInput(payload.text);
|
|
112
|
-
},
|
|
113
|
-
sendText: sendChatText,
|
|
114
153
|
});
|
|
154
|
+
if (payload) {
|
|
155
|
+
setChatInput(payload.text);
|
|
156
|
+
}
|
|
115
157
|
};
|
|
116
158
|
consumeLaunchPayload();
|
|
117
159
|
window.addEventListener("hashchange", consumeLaunchPayload);
|
|
118
160
|
return () => {
|
|
119
161
|
window.removeEventListener("hashchange", consumeLaunchPayload);
|
|
120
162
|
};
|
|
121
|
-
}, [isGameModal,
|
|
163
|
+
}, [isGameModal, setChatInput]);
|
|
122
164
|
const focusTerminalSession = useCallback((sessionId) => {
|
|
123
165
|
setState("activeInboxChat", null);
|
|
124
166
|
setState("activeTerminalSessionId", sessionId);
|
|
@@ -134,12 +176,14 @@ export function ChatView({ variant = "default", onPtySessionClick, hideComposer
|
|
|
134
176
|
}, [ptySessions, activeTerminalSessionId, focusTerminalSession]);
|
|
135
177
|
// ── Derived composer state ──────────────────────────────────────
|
|
136
178
|
const isAgentStarting = agentStatus?.state === "starting" || agentStatus?.state === "restarting";
|
|
137
|
-
// The agent is up but
|
|
138
|
-
// user hit send.
|
|
139
|
-
|
|
179
|
+
// The agent is up but genuinely can't respond (no inference provider wired) —
|
|
180
|
+
// no point letting the user hit send. Use the server-authoritative readiness
|
|
181
|
+
// (`canRespond`) via deriveAgentReady, NOT a raw `model` string: a dedicated
|
|
182
|
+
// cloud agent reports canRespond:true with no local `model` (server-side
|
|
183
|
+
// inference), so the old model-empty check wrongly hard-locked its composer.
|
|
140
184
|
const isMobileLocalRuntime = readPersistedMobileRuntimeMode() === "local";
|
|
141
185
|
const isMissingInferenceProvider = agentStatus?.state === "running" &&
|
|
142
|
-
|
|
186
|
+
!deriveAgentReady(agentStatus) &&
|
|
143
187
|
!isMobileLocalRuntime;
|
|
144
188
|
// First-turn capability fades in: the composer stays usable while the agent
|
|
145
189
|
// warms up (a turn submitted during warmup is held server-side until the
|
|
@@ -197,7 +241,7 @@ export function ChatView({ variant = "default", onPtySessionClick, hideComposer
|
|
|
197
241
|
// with connector messages. Live-streamed turns flow through
|
|
198
242
|
// the SSE path and don't carry the server-side default from
|
|
199
243
|
// conversation-routes.ts, so we catch them here too.
|
|
200
|
-
.map(
|
|
244
|
+
.map(withDefaultSource), [chatFirstTokenReceived, chatSending, msgs]);
|
|
201
245
|
const { companionCarryover, gameModalCarryoverOpacity, gameModalVisibleMsgs, } = useGameModalMessages({
|
|
202
246
|
activeConversationId,
|
|
203
247
|
companionMessageCutoffTs,
|
|
@@ -293,11 +337,25 @@ export function ChatView({ variant = "default", onPtySessionClick, hideComposer
|
|
|
293
337
|
}
|
|
294
338
|
};
|
|
295
339
|
const addImageFiles = useCallback((files) => {
|
|
296
|
-
void
|
|
297
|
-
.then((attachments) => {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
340
|
+
void intakeAttachmentFiles(files)
|
|
341
|
+
.then(({ attachments, droppedTooLarge }) => {
|
|
342
|
+
setChatPendingImages((prev) => {
|
|
343
|
+
const merged = [...prev, ...attachments];
|
|
344
|
+
const kept = merged.slice(0, MAX_CHAT_IMAGES);
|
|
345
|
+
const overCount = Math.max(0, merged.length - kept.length);
|
|
346
|
+
const notice = buildDroppedAttachmentNotice({
|
|
347
|
+
acceptedCount: kept.length,
|
|
348
|
+
droppedTooLarge,
|
|
349
|
+
droppedOverCount: Array.from({ length: overCount }, () => ({
|
|
350
|
+
name: "",
|
|
351
|
+
reason: "over-count",
|
|
352
|
+
})),
|
|
353
|
+
}, app.t);
|
|
354
|
+
// Defer the side-effect out of the state updater so it fires once.
|
|
355
|
+
if (notice)
|
|
356
|
+
queueMicrotask(() => app.setActionNotice?.(notice, "info"));
|
|
357
|
+
return kept;
|
|
358
|
+
});
|
|
301
359
|
})
|
|
302
360
|
.catch((err) => {
|
|
303
361
|
// A failed image read leaves nothing attached; tell the user rather
|
|
@@ -315,6 +373,25 @@ export function ChatView({ variant = "default", onPtySessionClick, hideComposer
|
|
|
315
373
|
addImageFiles(e.dataTransfer.files);
|
|
316
374
|
}
|
|
317
375
|
}, [addImageFiles]);
|
|
376
|
+
// Paste-to-attachment, matching the mobile overlay: a pasted image/file
|
|
377
|
+
// attaches; a large text block becomes a collapsed text-attachment chip;
|
|
378
|
+
// small text falls through to the textarea. Shared classification lives in
|
|
379
|
+
// utils/image-attachment.ts so both surfaces behave identically.
|
|
380
|
+
const handleComposerPaste = useCallback((e) => {
|
|
381
|
+
const intent = classifyComposerPaste({
|
|
382
|
+
files: Array.from(e.clipboardData?.files ?? []),
|
|
383
|
+
text: e.clipboardData?.getData("text") ?? "",
|
|
384
|
+
});
|
|
385
|
+
if (intent.kind === "files") {
|
|
386
|
+
e.preventDefault();
|
|
387
|
+
addImageFiles(intent.files);
|
|
388
|
+
return;
|
|
389
|
+
}
|
|
390
|
+
if (intent.kind === "text-attachment") {
|
|
391
|
+
e.preventDefault();
|
|
392
|
+
setChatPendingImages((prev) => [...prev, intent.attachment].slice(0, MAX_CHAT_IMAGES));
|
|
393
|
+
}
|
|
394
|
+
}, [addImageFiles, setChatPendingImages]);
|
|
318
395
|
const handleFileInputChange = useCallback((e) => {
|
|
319
396
|
if (e.target.files) {
|
|
320
397
|
addImageFiles(e.target.files);
|
|
@@ -336,12 +413,54 @@ export function ChatView({ variant = "default", onPtySessionClick, hideComposer
|
|
|
336
413
|
saving: t("common.saving", {
|
|
337
414
|
defaultValue: "Saving...",
|
|
338
415
|
}),
|
|
416
|
+
suggestion: t("chatmessage.suggestion", {
|
|
417
|
+
defaultValue: "Suggestion",
|
|
418
|
+
}),
|
|
419
|
+
dismiss: t("chatmessage.dismissSuggestion", {
|
|
420
|
+
defaultValue: "Dismiss suggestion",
|
|
421
|
+
}),
|
|
422
|
+
acceptSuggestion: t("chatmessage.acceptSuggestion", {
|
|
423
|
+
defaultValue: "Do it",
|
|
424
|
+
}),
|
|
339
425
|
}), [t]);
|
|
426
|
+
// Proactive suggestions (#8792) are dismissed locally — remove the bubble from
|
|
427
|
+
// the live transcript. The per-surface cooldown in the server-side gate keeps
|
|
428
|
+
// the same offer from immediately re-appearing.
|
|
429
|
+
const handleDismissSuggestion = useCallback((messageId) => {
|
|
430
|
+
removeConversationMessage(messageId);
|
|
431
|
+
}, [removeConversationMessage]);
|
|
432
|
+
// Accept ("Do it") sends the implied action as a normal turn, then clears the
|
|
433
|
+
// suggestion bubble so it doesn't linger after the user acted on it.
|
|
434
|
+
const handleAcceptSuggestion = useCallback((message) => {
|
|
435
|
+
void sendChatText("Yes, let's do it.");
|
|
436
|
+
handleDismissSuggestion(message.id);
|
|
437
|
+
}, [sendChatText, handleDismissSuggestion]);
|
|
340
438
|
const handleCopyMessageText = useCallback((text) => {
|
|
341
439
|
void copyToClipboard(text);
|
|
342
440
|
}, [copyToClipboard]);
|
|
441
|
+
// Copy the whole thread as a plain-text transcript (`Speaker: text`, blank
|
|
442
|
+
// line between turns) via the shared clipboard helper — parity with the
|
|
443
|
+
// overlay's full-state header. Flashes a check on success.
|
|
444
|
+
const [conversationCopied, setConversationCopied] = useState(false);
|
|
445
|
+
const conversationCopiedTimerRef = useRef(null);
|
|
446
|
+
useEffect(() => () => {
|
|
447
|
+
if (conversationCopiedTimerRef.current) {
|
|
448
|
+
clearTimeout(conversationCopiedTimerRef.current);
|
|
449
|
+
}
|
|
450
|
+
}, []);
|
|
451
|
+
const handleCopyConversation = useCallback(() => {
|
|
452
|
+
const transcript = conversationTranscriptText(visibleMsgs, { agentName });
|
|
453
|
+
if (!transcript)
|
|
454
|
+
return;
|
|
455
|
+
void copyToClipboard(transcript);
|
|
456
|
+
setConversationCopied(true);
|
|
457
|
+
if (conversationCopiedTimerRef.current) {
|
|
458
|
+
clearTimeout(conversationCopiedTimerRef.current);
|
|
459
|
+
}
|
|
460
|
+
conversationCopiedTimerRef.current = setTimeout(() => setConversationCopied(false), 2000);
|
|
461
|
+
}, [agentName, copyToClipboard, visibleMsgs]);
|
|
343
462
|
const renderChatMessageContent = useCallback((message) => (_jsx(MessageContent, { message: message, analysisMode: analysisMode })), [analysisMode]);
|
|
344
|
-
const messagesContent = visibleMsgs.length === 0 && !chatSending ? (_jsx(ChatEmptyState, { agentName: agentName, variant: variant, onSuggestionClick: (suggestion) => setChatInput(suggestion) })) : (_jsx(ChatTranscript, { variant: variant, agentName: agentName, carryoverMessages: companionCarryover?.messages, carryoverOpacity: gameModalCarryoverOpacity, labels: chatMessageLabels, messages: isGameModal ? gameModalVisibleMsgs : visibleMsgs, onEdit: handleEditMessage, onSpeak: handleSpeakMessage, onCopy: handleCopyMessageText, renderMessageContent: renderChatMessageContent, typingIndicator: chatSending && !chatFirstTokenReceived && !typingStalled ? (isGameModal ? (_jsx(TypingIndicator, { variant: "game-modal", agentName: agentName })) : (_jsx(TypingIndicator, { agentName: agentName, agentAvatarSrc: agentAvatarSrc }))) : null }));
|
|
463
|
+
const messagesContent = visibleMsgs.length === 0 && !chatSending ? (_jsx(ChatEmptyState, { agentName: agentName, variant: variant, onSuggestionClick: (suggestion) => setChatInput(suggestion) })) : (_jsx(ChatTranscript, { variant: variant, agentName: agentName, carryoverMessages: companionCarryover?.messages, carryoverOpacity: gameModalCarryoverOpacity, labels: chatMessageLabels, messages: isGameModal ? gameModalVisibleMsgs : visibleMsgs, onEdit: handleEditMessage, onSpeak: handleSpeakMessage, onCopy: handleCopyMessageText, onDelete: removeConversationMessage, onDismissSuggestion: handleDismissSuggestion, onAcceptSuggestion: handleAcceptSuggestion, renderMessageContent: renderChatMessageContent, typingIndicator: chatSending && !chatFirstTokenReceived && !typingStalled ? (isGameModal ? (_jsx(TypingIndicator, { variant: "game-modal", agentName: agentName })) : (_jsx(TypingIndicator, { agentName: agentName, agentAvatarSrc: agentAvatarSrc }))) : null }));
|
|
345
464
|
const voiceStatusBarVisible = voice.supported &&
|
|
346
465
|
(continuousChatMode !== "off" ||
|
|
347
466
|
voice.isListening ||
|
|
@@ -368,7 +487,16 @@ export function ChatView({ variant = "default", onPtySessionClick, hideComposer
|
|
|
368
487
|
const defaultComposerShellStyle = {
|
|
369
488
|
paddingBottom: "calc(var(--safe-area-bottom, 0px) + var(--eliza-mobile-nav-offset, 0px) + 0.375rem)",
|
|
370
489
|
};
|
|
371
|
-
|
|
490
|
+
// Reset-to-fresh-thread control for the main ChatView header row (#8930).
|
|
491
|
+
// Visible only when there are messages to clear; routes through the shared
|
|
492
|
+
// reset path. Neutral resting -> neutral-with-opacity hover (no orange, no
|
|
493
|
+
// blue), matching nearby controls.
|
|
494
|
+
const resetConversationButton = visibleMsgs.length > 0 ? (_jsx("button", { type: "button", "data-testid": "chat-view-reset-button", "aria-label": "Reset conversation", title: "Reset conversation", onClick: resetConversation, className: "inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-border/40 text-muted transition-colors hover:bg-bg-hover hover:text-txt ", children: _jsx(RotateCcw, { className: "h-[18px] w-[18px]", "aria-hidden": true }) })) : null;
|
|
495
|
+
// Copy-the-whole-thread control, shown alongside Reset when there are
|
|
496
|
+
// messages. Same neutral resting → neutral-hover language as Reset (no orange,
|
|
497
|
+
// no blue), flashing a check on copy.
|
|
498
|
+
const copyConversationButton = visibleMsgs.length > 0 ? (_jsx("button", { type: "button", "data-testid": "chat-view-copy-conversation-button", "aria-label": conversationCopied ? "Conversation copied" : "Copy conversation", title: conversationCopied ? "Conversation copied" : "Copy conversation", onClick: handleCopyConversation, className: "inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full border border-border/40 text-muted transition-colors hover:bg-bg-hover hover:text-txt ", children: conversationCopied ? (_jsx(Check, { className: "h-[18px] w-[18px] text-ok", "aria-hidden": true })) : (_jsx(Copy, { className: "h-[18px] w-[18px]", "aria-hidden": true })) })) : null;
|
|
499
|
+
const composerNode = hideComposer ? null : isGameModal ? (_jsx(ChatComposerShell, { variant: "game-modal", shellRef: composerRef, before: _jsxs(_Fragment, { children: [_jsx(CodingAgentControlChip, {}), continuousChatToggleVisible || resetConversationButton ? (_jsxs("div", { className: "flex items-center justify-end gap-1 px-1 pb-0.5", children: [copyConversationButton, resetConversationButton, continuousChatToggleVisible ? (_jsx(ContinuousChatToggle, { compact: true, value: continuousChatMode, onChange: handleContinuousChatModeChange, disabled: isComposerLocked, "data-testid": "chat-view-continuous-chat-toggle-game-modal" })) : null] })) : null, _jsx(AgentActivityBox, { sessions: ptySessions, onSessionClick: onPtySessionClick ?? focusTerminalSession })] }), children: _jsx(ChatComposer, { variant: "game-modal", textareaRef: textareaRef, chatInput: chatInput, chatPendingImagesCount: chatPendingImages.length, isComposerLocked: isComposerLocked, isAgentStarting: isAgentStarting, placeholder: composerPlaceholderOverride, chatSending: chatSending, voice: {
|
|
372
500
|
supported: voice.supported,
|
|
373
501
|
isListening: voice.isListening,
|
|
374
502
|
captureMode: voice.captureMode,
|
|
@@ -378,7 +506,7 @@ export function ChatView({ variant = "default", onPtySessionClick, hideComposer
|
|
|
378
506
|
toggleListening: voice.toggleListening,
|
|
379
507
|
startListening: beginVoiceCapture,
|
|
380
508
|
stopListening: endVoiceCapture,
|
|
381
|
-
}, agentVoiceEnabled: !agentVoiceMuted, showAgentVoiceToggle: showComposerVoiceToggle, t: t, onAttachImage: () => fileInputRef.current?.click(), onChatInputChange: (value) => setState("chatInput", value), onKeyDown: handleKeyDown, onSend: () => void handleChatSend(), onStop: handleChatStop, onStopSpeaking: stopSpeaking, onToggleAgentVoice: () => setState("chatAgentVoiceMuted", !agentVoiceMuted) }) })) : (_jsx(ChatComposerShell, { variant: "default", className: defaultComposerShellClassName, style: defaultComposerShellStyle, before: _jsxs(_Fragment, { children: [_jsx(CodingAgentControlChip, {}), continuousChatToggleVisible ? (
|
|
509
|
+
}, agentVoiceEnabled: !agentVoiceMuted, showAgentVoiceToggle: showComposerVoiceToggle, t: t, onAttachImage: () => fileInputRef.current?.click(), onChatInputChange: (value) => setState("chatInput", value), onKeyDown: handleKeyDown, onPaste: handleComposerPaste, onSend: () => void handleChatSend(), onStop: handleChatStop, onStopSpeaking: stopSpeaking, onToggleAgentVoice: () => setState("chatAgentVoiceMuted", !agentVoiceMuted) }) })) : (_jsx(ChatComposerShell, { variant: "default", className: defaultComposerShellClassName, style: defaultComposerShellStyle, before: _jsxs(_Fragment, { children: [_jsx(CodingAgentControlChip, {}), continuousChatToggleVisible || resetConversationButton ? (_jsxs("div", { className: "flex items-center justify-end gap-1 px-1 pb-0.5", children: [copyConversationButton, resetConversationButton, continuousChatToggleVisible ? (_jsx(ContinuousChatToggle, { compact: true, value: continuousChatMode, onChange: handleContinuousChatModeChange, disabled: isComposerLocked, "data-testid": "chat-view-continuous-chat-toggle" })) : null] })) : null] }), children: _jsx(ChatComposer, { variant: "default", layout: "inline", textareaRef: textareaRef, chatInput: chatInput, chatPendingImagesCount: chatPendingImages.length, isComposerLocked: isComposerLocked, isAgentStarting: isAgentStarting, placeholder: composerPlaceholderOverride, chatSending: chatSending, voice: {
|
|
382
510
|
supported: voice.supported,
|
|
383
511
|
isListening: voice.isListening,
|
|
384
512
|
captureMode: voice.captureMode,
|
|
@@ -388,7 +516,7 @@ export function ChatView({ variant = "default", onPtySessionClick, hideComposer
|
|
|
388
516
|
toggleListening: voice.toggleListening,
|
|
389
517
|
startListening: beginVoiceCapture,
|
|
390
518
|
stopListening: endVoiceCapture,
|
|
391
|
-
}, agentVoiceEnabled: !agentVoiceMuted, showAgentVoiceToggle: showComposerVoiceToggle, t: t, onAttachImage: () => fileInputRef.current?.click(), onChatInputChange: (value) => setState("chatInput", value), onKeyDown: handleKeyDown, onSend: () => void handleChatSend(), onStop: handleChatStop, onStopSpeaking: stopSpeaking, onToggleAgentVoice: () => setState("chatAgentVoiceMuted", !agentVoiceMuted) }) }));
|
|
519
|
+
}, agentVoiceEnabled: !agentVoiceMuted, showAgentVoiceToggle: showComposerVoiceToggle, t: t, onAttachImage: () => fileInputRef.current?.click(), onChatInputChange: (value) => setState("chatInput", value), onKeyDown: handleKeyDown, onPaste: handleComposerPaste, onSend: () => void handleChatSend(), onStop: handleChatStop, onStopSpeaking: stopSpeaking, onToggleAgentVoice: () => setState("chatAgentVoiceMuted", !agentVoiceMuted) }) }));
|
|
392
520
|
// ── Terminal-channel branch ──────────────────────────────────────
|
|
393
521
|
if (activeTerminalSessionId) {
|
|
394
522
|
return (_jsx(TerminalChannelPanel, { activeSessionId: activeTerminalSessionId, sessions: ptySessions, onClose: () => setState("activeTerminalSessionId", null), loadingLabel: t("terminal.starting", {
|
|
@@ -426,9 +554,38 @@ export function TerminalChannelPanel({ activeSessionId, sessions, onClose, loadi
|
|
|
426
554
|
* uses, and routes outbound replies back through the runtime's
|
|
427
555
|
* source-specific send handlers.
|
|
428
556
|
*/
|
|
557
|
+
// Default-tag a message's source to "eliza", memoized per message identity so an
|
|
558
|
+
// un-sourced message isn't re-cloned every token frame (the input array identity
|
|
559
|
+
// changes per token; the individual prior messages don't). A real new message
|
|
560
|
+
// misses and is tagged once; a WeakMap lets dropped messages GC.
|
|
561
|
+
const defaultSourceCache = new WeakMap();
|
|
562
|
+
function withDefaultSource(msg) {
|
|
563
|
+
if (msg.source)
|
|
564
|
+
return msg;
|
|
565
|
+
const cached = defaultSourceCache.get(msg);
|
|
566
|
+
if (cached)
|
|
567
|
+
return cached;
|
|
568
|
+
const tagged = { ...msg, source: "eliza" };
|
|
569
|
+
defaultSourceCache.set(msg, tagged);
|
|
570
|
+
return tagged;
|
|
571
|
+
}
|
|
572
|
+
// Module-level stable identity: an inline arrow here would change every render
|
|
573
|
+
// and break ChatMessage's arePropsEqual (renderContent compare), re-parsing
|
|
574
|
+
// markdown for every inbox message on any panel re-render. (Inbox doesn't use
|
|
575
|
+
// analysisMode, so unlike the main path this needs no closure.)
|
|
576
|
+
function renderInboxMessageContent(message) {
|
|
577
|
+
return _jsx(MessageContent, { message: message });
|
|
578
|
+
}
|
|
429
579
|
function InboxChatPanel({ activeInboxChat, variant, }) {
|
|
430
|
-
|
|
431
|
-
|
|
580
|
+
// Granular shallow selection instead of useApp() so this inbox panel only
|
|
581
|
+
// re-renders on changes to the two fields it reads (#9141 gap 2). InboxChatPanel
|
|
582
|
+
// is only ever rendered inside ChatView (always within AppProvider), so the
|
|
583
|
+
// previous defensive `| undefined` was vestigial.
|
|
584
|
+
const app = useAppSelectorShallow((s) => ({
|
|
585
|
+
t: s.t,
|
|
586
|
+
setActionNotice: s.setActionNotice,
|
|
587
|
+
}));
|
|
588
|
+
const t = app.t ?? fallbackTranslate;
|
|
432
589
|
const [messages, setMessages] = useState([]);
|
|
433
590
|
const [loading, setLoading] = useState(true);
|
|
434
591
|
const [loadError, setLoadError] = useState(null);
|
|
@@ -520,7 +677,7 @@ function InboxChatPanel({ activeInboxChat, variant, }) {
|
|
|
520
677
|
transportSource,
|
|
521
678
|
]);
|
|
522
679
|
const connectorSendAs = useConnectorSendAsAccount(sendAsContext, {
|
|
523
|
-
setActionNotice: app
|
|
680
|
+
setActionNotice: app.setActionNotice,
|
|
524
681
|
});
|
|
525
682
|
const { accountRequired, accountRequiredReason: connectorAccountRequiredReason, accounts: sendAsAccounts, connectAccount, context: normalizedSendAsContext, loading: sendAsLoading, reconnectAccount, saving: sendAsSaving, selectAccount, selectedAccount: sendAsSelectedAccount, sendAsMetadata, showPicker: showSendAsPicker, } = connectorSendAs;
|
|
526
683
|
const [accountRequiredReason, setAccountRequiredReason] = useState(null);
|
|
@@ -652,7 +809,7 @@ function InboxChatPanel({ activeInboxChat, variant, }) {
|
|
|
652
809
|
})
|
|
653
810
|
: t("inboxview.EmptyRoom", {
|
|
654
811
|
defaultValue: "No messages in this chat yet.",
|
|
655
|
-
}) })) : (_jsx(ChatTranscript, { variant: variant, messages: messages, userMessagesOnRight: false, renderMessageContent:
|
|
812
|
+
}) })) : (_jsx(ChatTranscript, { variant: variant, messages: messages, userMessagesOnRight: false, renderMessageContent: renderInboxMessageContent })) }), activeInboxChat.canSend === false ? (_jsx("div", { className: "bg-bg-hover/40 px-5 py-3 text-xs-tight leading-5 text-muted", children: t("inboxview.ReadOnlyReplyHint", {
|
|
656
813
|
defaultValue: "This {{source}} chat is readable, but outbound replies are not available for this connector yet.",
|
|
657
814
|
source: sourceLabel,
|
|
658
815
|
}) })) : (_jsxs("div", { className: "flex flex-col gap-2 px-3 pb-3", children: [_jsx(ConnectorAccountPicker, { accounts: sendAsAccounts, connectBusy: sendAsConnectBusy, loading: sendAsLoading, selectedAccount: sendAsSelectedAccount, sourceLabel: sourceLabel, show: showSendAsPicker, onConnectAccount: handleConnectSendAsAccount, onReconnectAccount: handleReconnectSendAsAccount, onSelectAccount: handleSelectSendAsAccount }), blockingAccountReason ? (_jsx(AccountRequiredCard, { accounts: sendAsAccounts, connectBusy: sendAsConnectBusy, description: blockingAccountReason, loading: sendAsLoading, selectedAccount: sendAsSelectedAccount, sourceLabel: sourceLabel, onConnectAccount: handleConnectSendAsAccount, onReconnectAccount: handleReconnectSendAsAccount, onSelectAccount: handleSelectSendAsAccount, retryAction: async () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigPageView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/ConfigPageView.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAuFH,wBAAgB,cAAc,CAAC,EAC7B,QAAgB,EAChB,mBAAmB,GACpB,EAAE;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAClC,
|
|
1
|
+
{"version":3,"file":"ConfigPageView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/ConfigPageView.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAuFH,wBAAgB,cAAc,CAAC,EAC7B,QAAgB,EAChB,mBAAmB,GACpB,EAAE;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAClC,2CAorBA"}
|
|
@@ -10,7 +10,7 @@ import { buildWalletRpcUpdateRequest, resolveInitialWalletRpcSelections, } from
|
|
|
10
10
|
import { Check } from "lucide-react";
|
|
11
11
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
12
12
|
import { useAgentElement } from "../../agent-surface/index.js";
|
|
13
|
-
import {
|
|
13
|
+
import { useAppSelectorShallow } from "../../state/index.js";
|
|
14
14
|
import { openExternalUrl, preOpenWindow } from "../../utils/index.js";
|
|
15
15
|
import { Button } from "../ui/button.js";
|
|
16
16
|
import { Dialog, DialogContent, DialogHeader, DialogTitle } from "../ui/dialog.js";
|
|
@@ -49,7 +49,16 @@ function CloudLoginFallbackLink({ browserUrl }) {
|
|
|
49
49
|
return (_jsxs("div", { className: "w-full max-w-sm rounded-sm border border-border bg-bg/70 p-2 text-left", children: [_jsx("p", { className: "mb-1 text-2xs font-semibold uppercase text-muted", children: "Sign-in window did not open?" }), _jsx("button", { type: "button", className: "block w-full break-all text-left text-xs text-accent underline-offset-2 hover:underline", onClick: () => void openExternalUrl(browserUrl), children: browserUrl })] }));
|
|
50
50
|
}
|
|
51
51
|
export function ConfigPageView({ embedded = false, onWalletSaveSuccess, }) {
|
|
52
|
-
const { t, elizaCloudConnected, elizaCloudLoginBusy, elizaCloudLoginFallbackUrl, walletConfig, walletApiKeySaving, handleWalletApiKeySave, handleCloudLogin, } =
|
|
52
|
+
const { t, elizaCloudConnected, elizaCloudLoginBusy, elizaCloudLoginFallbackUrl, walletConfig, walletApiKeySaving, handleWalletApiKeySave, handleCloudLogin, } = useAppSelectorShallow((s) => ({
|
|
53
|
+
t: s.t,
|
|
54
|
+
elizaCloudConnected: s.elizaCloudConnected,
|
|
55
|
+
elizaCloudLoginBusy: s.elizaCloudLoginBusy,
|
|
56
|
+
elizaCloudLoginFallbackUrl: s.elizaCloudLoginFallbackUrl,
|
|
57
|
+
walletConfig: s.walletConfig,
|
|
58
|
+
walletApiKeySaving: s.walletApiKeySaving,
|
|
59
|
+
handleWalletApiKeySave: s.handleWalletApiKeySave,
|
|
60
|
+
handleCloudLogin: s.handleCloudLogin,
|
|
61
|
+
}));
|
|
53
62
|
const [secretsOpen, setSecretsOpen] = useState(false);
|
|
54
63
|
const manualRpcModeSelection = useRef(false);
|
|
55
64
|
const initialRpc = resolveInitialWalletRpcSelections(walletConfig);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatabasePageView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/DatabasePageView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA2CvC,wBAAgB,gBAAgB,CAAC,EAC/B,aAAa,GACd,GAAE;IACD,aAAa,CAAC,EAAE,SAAS,CAAC;CACtB,
|
|
1
|
+
{"version":3,"file":"DatabasePageView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/DatabasePageView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA2CvC,wBAAgB,gBAAgB,CAAC,EAC/B,aAAa,GACd,GAAE;IACD,aAAa,CAAC,EAAE,SAAS,CAAC;CACtB,2CAqEL"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useAgentElement } from "../../agent-surface/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { useAppSelector } from "../../state/index.js";
|
|
4
4
|
import { SegmentedControl } from "../ui/segmented-control.js";
|
|
5
5
|
import { DynamicViewLoader } from "../views/DynamicViewLoader.js";
|
|
6
6
|
import { ShellViewAgentSurface } from "../views/ShellViewAgentSurface.js";
|
|
@@ -29,7 +29,9 @@ function DatabaseTabButton({ id, label, isActive, onSelect, }) {
|
|
|
29
29
|
return null;
|
|
30
30
|
}
|
|
31
31
|
export function DatabasePageView({ contentHeader, } = {}) {
|
|
32
|
-
const
|
|
32
|
+
const t = useAppSelector((s) => s.t);
|
|
33
|
+
const databaseSubTab = useAppSelector((s) => s.databaseSubTab);
|
|
34
|
+
const setState = useAppSelector((s) => s.setState);
|
|
33
35
|
const dbTabs = [
|
|
34
36
|
{
|
|
35
37
|
id: "tables",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatabaseView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/DatabaseView.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DatabaseView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/DatabaseView.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAoEvC,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,aAAa,GACd,EAAE;IACD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B,2CA24BA"}
|
|
@@ -4,8 +4,9 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
|
4
4
|
import { useAgentElement } from "../../agent-surface/index.js";
|
|
5
5
|
import { client, } from "../../api/index.js";
|
|
6
6
|
import { getCached, setCached } from "../../hooks/resource-cache.js";
|
|
7
|
+
import { useIntervalWhenDocumentVisible } from "../../hooks/useDocumentVisibility.js";
|
|
7
8
|
import { PageLayout } from "../../layouts/page-layout/page-layout.js";
|
|
8
|
-
import {
|
|
9
|
+
import { useTranslation } from "../../state/index.js";
|
|
9
10
|
import { useRegisterViewChatBinding } from "../../state/view-chat-binding.js";
|
|
10
11
|
import { ChatSearchHint } from "../composites/chat-search-hint.js";
|
|
11
12
|
import { PagePanel } from "../composites/page-panel/index.js";
|
|
@@ -41,7 +42,7 @@ function ViewModeTab({ mode, label, isActive, onSelect, }) {
|
|
|
41
42
|
return null;
|
|
42
43
|
}
|
|
43
44
|
export function DatabaseView({ leftNav, contentHeader, }) {
|
|
44
|
-
const { t } =
|
|
45
|
+
const { t } = useTranslation();
|
|
45
46
|
const showExternalSidebar = Boolean(leftNav);
|
|
46
47
|
// `t` from useApp is not guaranteed to be referentially stable across
|
|
47
48
|
// renders. Reading it through a ref keeps the data loaders below stable so
|
|
@@ -262,12 +263,13 @@ export function DatabaseView({ leftNav, contentHeader, }) {
|
|
|
262
263
|
useEffect(() => {
|
|
263
264
|
const onFocus = () => void revalidate();
|
|
264
265
|
window.addEventListener("focus", onFocus);
|
|
265
|
-
const interval = window.setInterval(onFocus, 30_000);
|
|
266
266
|
return () => {
|
|
267
267
|
window.removeEventListener("focus", onFocus);
|
|
268
|
-
window.clearInterval(interval);
|
|
269
268
|
};
|
|
270
269
|
}, [revalidate]);
|
|
270
|
+
// Slow background revalidation only ticks while the document is visible; the
|
|
271
|
+
// focus listener above already covers the user-returns case.
|
|
272
|
+
useIntervalWhenDocumentVisible(() => void revalidate(), 30_000);
|
|
271
273
|
const editorModes = [
|
|
272
274
|
{ value: "tables", label: t("databaseview.TableEditor") },
|
|
273
275
|
{ value: "query", label: t("databaseview.SQLEditor") },
|
|
@@ -288,33 +290,33 @@ export function DatabaseView({ leftNav, contentHeader, }) {
|
|
|
288
290
|
};
|
|
289
291
|
if (showExternalSidebar) {
|
|
290
292
|
const dbSidebar = (_jsx(AppPageSidebar, { testId: "database-sidebar", collapsible: true, contentIdentity: "database", collapsedRailItems: filteredTables.map((table) => (_jsx(SidebarContent.RailItem, { "aria-label": table.name, title: table.name, active: selectedTable === table.name, onClick: () => handleSelectTable(table.name), children: table.name.slice(0, 1).toUpperCase() }, table.name))), children: _jsxs(SidebarPanel, { children: [_jsxs("div", { className: "space-y-3 pt-1", children: [leftNav, viewToggle, sidebarSummary] }), _jsx("div", { className: "mt-4 h-px bg-border/30" }), view === "tables" ? (_jsxs(_Fragment, { children: [_jsx("div", { className: "space-y-3 pt-4", children: _jsxs("div", { className: "px-1 text-xs-tight font-medium text-muted", children: [t("databaseview.Tables"), " \u00B7 ", filteredTables.length] }) }), _jsx(SidebarScrollRegion, { className: "mt-3 space-y-1.5", children: loading && tables.length === 0 ? (_jsx(PagePanel, { variant: "inset", className: "rounded-sm px-3 py-4 text-center text-xs text-muted", children: t("appsview.Loading") })) : (filteredTables.map((table) => (_jsxs(SidebarContent.Item, { active: selectedTable === table.name, onClick: () => handleSelectTable(table.name), className: "gap-2", children: [_jsx(SidebarContent.ItemIcon, { active: selectedTable === table.name, children: table.name.slice(0, 1).toUpperCase() }), _jsxs(SidebarContent.ItemBody, { children: [_jsx(SidebarContent.ItemTitle, { children: table.name }), _jsx(SidebarContent.ItemDescription, { children: t("databaseview.RowCountLabel", {
|
|
291
|
-
count: (table.rowCount ?? 0).toLocaleString(),
|
|
293
|
+
count: (table.rowCount ?? 0).toLocaleString("en-US"),
|
|
292
294
|
defaultValue: "{{count}} rows",
|
|
293
295
|
}) })] })] }, table.name)))) })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "space-y-3 pt-4", children: _jsx(PagePanel, { variant: "inset", className: "rounded-sm px-3 py-3 text-xs-tight text-muted", children: t("databaseview.QueryWorkspaceInfo", {
|
|
294
296
|
defaultValue: "Write ad-hoc queries and inspect results without leaving the database workspace.",
|
|
295
|
-
}) }) }), queryHistory.length > 0 ? (_jsxs(SidebarScrollRegion, { className: "mt-3 space-y-1.5", children: [_jsx("div", { className: "px-1 text-xs-tight font-medium text-muted", children: t("databaseview.RecentQueries") }), queryHistory.slice(0, 8).map((q) => (_jsx(Button, { variant: "ghost", className: "h-auto w-full justify-start rounded-sm px-3 py-2 text-left text-xs-tight font-mono border border-border/32 bg-[linear-gradient(180deg,color-mix(in_srgb,var(--card)_84%,transparent),color-mix(in_srgb,var(--bg)_95%,transparent))] text-muted-strong
|
|
296
|
-
return (_jsxs(PageLayout, { "data-testid": "database-view", sidebar: dbSidebar, contentHeader: contentHeader, contentInnerClassName: "w-full min-h-0", children: [_jsxs("div", { className: "flex min-h-0 flex-1 flex-col w-full", children: [errorMessage ? (_jsx("div", { className: "mb-4 rounded-sm border border-danger/35 bg-danger/10 px-4 py-3 text-sm text-danger", children: errorMessage })) : null, dbStatus && !dbStatus.connected ? (_jsxs("div", { className: "w-full", children: [_jsx(PagePanel, { variant: "surface", as: "section", className: "px-5 py-5 sm:px-6", children: _jsx("h1", { className: "text-2xl font-semibold text-txt-strong", children: t("databaseview.TableBrowser") }) }), _jsx(PagePanel.FeatureEmpty, { className: "mt-4 rounded-sm", features: DATABASE_UNAVAILABLE_FEATURES, icon: ServerOff, iconTone: "border-danger/25 bg-danger/10 text-danger", title: t("databaseview.DatabaseNotAvailab") })] })) : view === "tables" ? (_jsx("div", { className: "w-full", children: !selectedTable ? (_jsxs(_Fragment, { children: [_jsxs(PagePanel, { variant: "surface", as: "section", className: "px-5 py-5 sm:px-6", children: [_jsx("h1", { className: "text-2xl font-semibold text-txt-strong", children: t("databaseview.TableBrowser") }), _jsx(ChatSearchHint, { noun: "tables", query: sidebarSearch, className: "mt-2" })] }), _jsx(PagePanel.Empty, { variant: "surface", className: "mt-4 min-h-[18rem] rounded-sm px-5 py-10", title: t("databaseview.SelectATable"), description: t("databaseview.ChooseATableFrom") })] })) : loading && !tableData ? (_jsx(PagePanel, { variant: "surface", className: "mt-4 flex flex-1 min-h-0 flex-col overflow-hidden p-3", children: _jsx(TableSkeleton, { rows: 10, columns: 5 }) })) : tableData ? (_jsxs(_Fragment, { children: [_jsx(PagePanel, { variant: "surface", as: "section", className: "px-5 py-5 sm:px-6", children: _jsxs("div", { className: "flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between", children: [_jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("h1", { className: "text-2xl font-semibold text-txt-strong", children: selectedTable }), _jsx(ChatSearchHint, { noun: "tables", query: sidebarSearch, className: "mt-2" })] }), _jsxs("div", { className: "flex flex-wrap gap-2", children: [columnMeta.size > 0 && (_jsxs(MetaPill, { children: [columnMeta.size, " ", t("databaseview.columns")] })), _jsxs(MetaPill, { children: [tableData.total.toLocaleString(), " ", t("common.rows")] })] })] }) }), _jsxs(PagePanel, { variant: "surface", className: "mt-4 flex flex-1 min-h-0 flex-col overflow-hidden p-3", children: [_jsx("div", { className: "flex-1 min-h-0", children: tableData.rows.length === 0 ? (_jsx(PagePanel.Empty, { className: "min-h-[14rem]", title: t("databaseview.TableIsEmpty"), description: t("databaseview.EmptyTableDescription") })) : (_jsx(ResultsGrid, { columns: tableData.columns, rows: tableData.rows, columnMeta: columnMeta, sortCol: sortCol, sortDir: sortDir, onSort: handleSort, onCellClick: (v) => setCellInspect(v) })) }), _jsx(PaginationBar, { total: tableData.total, offset: rowOffset, limit: ROW_LIMIT, onPrev: handlePrev, onNext: handleNext })] })] })) : null })) : (_jsx("div", { className: "w-full", children: _jsx(SqlEditorPanel, { ...sqlEditorProps, showHistory: false }) }))] }), cellInspect !== null && (_jsx(CellPopover, { value: cellInspect, onClose: () => setCellInspect(null) }))] }));
|
|
297
|
+
}) }) }), queryHistory.length > 0 ? (_jsxs(SidebarScrollRegion, { className: "mt-3 space-y-1.5", children: [_jsx("div", { className: "px-1 text-xs-tight font-medium text-muted", children: t("databaseview.RecentQueries") }), queryHistory.slice(0, 8).map((q) => (_jsx(Button, { variant: "ghost", className: "h-auto w-full justify-start rounded-sm px-3 py-2 text-left text-xs-tight font-mono border border-border/32 bg-[linear-gradient(180deg,color-mix(in_srgb,var(--card)_84%,transparent),color-mix(in_srgb,var(--bg)_95%,transparent))] text-muted-strong transition-[border-color,background-color,color,transform,box-shadow] duration-200 hover:border-border/46 hover:bg-[linear-gradient(180deg,color-mix(in_srgb,var(--card)_90%,transparent),color-mix(in_srgb,var(--bg)_97%,transparent))] hover:text-txt active:scale-95 disabled:hover:border-border/32 disabled:hover:bg-[linear-gradient(180deg,color-mix(in_srgb,var(--card)_84%,transparent),color-mix(in_srgb,var(--bg)_95%,transparent))] disabled:hover:text-muted-strong ", onClick: () => setQueryText(q), children: _jsx("span", { className: "truncate", children: q }) }, q)))] })) : null] }))] }) }));
|
|
298
|
+
return (_jsxs(PageLayout, { "data-testid": "database-view", sidebar: dbSidebar, contentHeader: contentHeader, contentInnerClassName: "w-full min-h-0", children: [_jsxs("div", { className: "flex min-h-0 flex-1 flex-col w-full", children: [errorMessage ? (_jsx("div", { className: "mb-4 rounded-sm border border-danger/35 bg-danger/10 px-4 py-3 text-sm text-danger", children: errorMessage })) : null, dbStatus && !dbStatus.connected ? (_jsxs("div", { className: "w-full", children: [_jsx(PagePanel, { variant: "surface", as: "section", className: "px-5 py-5 sm:px-6", children: _jsx("h1", { className: "text-2xl font-semibold text-txt-strong", children: t("databaseview.TableBrowser") }) }), _jsx(PagePanel.FeatureEmpty, { className: "mt-4 rounded-sm", features: DATABASE_UNAVAILABLE_FEATURES, icon: ServerOff, iconTone: "border-danger/25 bg-danger/10 text-danger", title: t("databaseview.DatabaseNotAvailab") })] })) : view === "tables" ? (_jsx("div", { className: "w-full", children: !selectedTable ? (_jsxs(_Fragment, { children: [_jsxs(PagePanel, { variant: "surface", as: "section", className: "px-5 py-5 sm:px-6", children: [_jsx("h1", { className: "text-2xl font-semibold text-txt-strong", children: t("databaseview.TableBrowser") }), _jsx(ChatSearchHint, { noun: "tables", query: sidebarSearch, className: "mt-2" })] }), _jsx(PagePanel.Empty, { variant: "surface", className: "mt-4 min-h-[18rem] rounded-sm px-5 py-10", title: t("databaseview.SelectATable"), description: t("databaseview.ChooseATableFrom") })] })) : loading && !tableData ? (_jsx(PagePanel, { variant: "surface", className: "mt-4 flex flex-1 min-h-0 flex-col overflow-hidden p-3", children: _jsx(TableSkeleton, { rows: 10, columns: 5 }) })) : tableData ? (_jsxs(_Fragment, { children: [_jsx(PagePanel, { variant: "surface", as: "section", className: "px-5 py-5 sm:px-6", children: _jsxs("div", { className: "flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between", children: [_jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("h1", { className: "text-2xl font-semibold text-txt-strong", children: selectedTable }), _jsx(ChatSearchHint, { noun: "tables", query: sidebarSearch, className: "mt-2" })] }), _jsxs("div", { className: "flex flex-wrap gap-2", children: [columnMeta.size > 0 && (_jsxs(MetaPill, { children: [columnMeta.size, " ", t("databaseview.columns")] })), _jsxs(MetaPill, { children: [tableData.total.toLocaleString("en-US"), " ", t("common.rows")] })] })] }) }), _jsxs(PagePanel, { variant: "surface", className: "mt-4 flex flex-1 min-h-0 flex-col overflow-hidden p-3", children: [_jsx("div", { className: "flex-1 min-h-0", children: tableData.rows.length === 0 ? (_jsx(PagePanel.Empty, { className: "min-h-[14rem]", title: t("databaseview.TableIsEmpty"), description: t("databaseview.EmptyTableDescription") })) : (_jsx(ResultsGrid, { columns: tableData.columns, rows: tableData.rows, columnMeta: columnMeta, sortCol: sortCol, sortDir: sortDir, onSort: handleSort, onCellClick: (v) => setCellInspect(v) })) }), _jsx(PaginationBar, { total: tableData.total, offset: rowOffset, limit: ROW_LIMIT, onPrev: handlePrev, onNext: handleNext })] })] })) : null })) : (_jsx("div", { className: "w-full", children: _jsx(SqlEditorPanel, { ...sqlEditorProps, showHistory: false }) }))] }), cellInspect !== null && (_jsx(CellPopover, { value: cellInspect, onClose: () => setCellInspect(null) }))] }));
|
|
297
299
|
}
|
|
298
|
-
return (_jsxs("div", { className: "flex flex-col h-full gap-4", children: [!showExternalSidebar && (_jsxs("div", { className: "flex items-center gap-3 flex-wrap", children: [_jsx("div", { className: "flex items-center gap-2 text-xs text-muted font-medium", children: dbStatus ? (_jsxs(_Fragment, { children: [_jsx("span", { className: `h-2 w-2 rounded-full ${dbStatus.connected ? "bg-ok" : "bg-danger"}` }), _jsx("span", { className: "tracking-wide", children: dbStatus.provider })] })) : (_jsx("span", { children: t("game.connecting") })) }), _jsx("div", { className: "flex-1" }), !showExternalSidebar && viewToggle] })), dbStatus && !dbStatus.connected && (_jsxs("div", { className: "p-4 border border-border/40 bg-card/
|
|
300
|
+
return (_jsxs("div", { className: "flex flex-col h-full gap-4", children: [!showExternalSidebar && (_jsxs("div", { className: "flex items-center gap-3 flex-wrap", children: [_jsx("div", { className: "flex items-center gap-2 text-xs text-muted font-medium", children: dbStatus ? (_jsxs(_Fragment, { children: [_jsx("span", { className: `h-2 w-2 rounded-full ${dbStatus.connected ? "bg-ok" : "bg-danger"}` }), _jsx("span", { className: "tracking-wide", children: dbStatus.provider })] })) : (_jsx("span", { children: t("game.connecting") })) }), _jsx("div", { className: "flex-1" }), !showExternalSidebar && viewToggle] })), dbStatus && !dbStatus.connected && (_jsxs("div", { className: "p-4 border border-border/40 bg-card/95 rounded-sm text-muted text-sm ", children: [_jsx("p", { className: "m-0 mb-2 font-medium text-txt tracking-wide", children: t("databaseview.DatabaseNotAvailab") }), _jsx("p", { className: "m-0 text-xs", children: statusLoadError || t("databaseview.TheDatabaseViewer") })] })), errorMessage && (_jsxs("div", { className: "p-3 border border-danger/50 bg-danger/20 text-danger text-sm rounded-sm mb-2 flex items-center justify-between", children: [_jsx("span", { className: "font-medium tracking-wide", children: errorMessage }), _jsx(Button, { variant: "ghost", size: "icon", className: "w-6 h-6 rounded-full text-danger hover:bg-danger/20 hover:text-danger-foreground transition-colors", onClick: () => setErrorMessage(""), children: "\u00D7" })] })), view === "tables" ? (_jsxs("div", { className: "flex flex-1 min-h-0 gap-4", children: [(showExternalSidebar || !sidebarCollapsed) && (_jsx("aside", { className: `overflow-hidden rounded-sm border flex min-h-0 w-full shrink-0 flex-col overflow-hidden bg-[linear-gradient(180deg,color-mix(in_srgb,var(--card)_76%,transparent),color-mix(in_srgb,var(--bg-muted)_97%,transparent))] ${showExternalSidebar
|
|
299
301
|
? "w-[21rem] max-w-[352px] shrink-0"
|
|
300
302
|
: "w-[220px] flex-shrink-0"}`, children: _jsxs("div", { className: showExternalSidebar
|
|
301
303
|
? "flex min-h-0 flex-1 flex-col px-3 pb-4 pt-3"
|
|
302
304
|
: "p-3 flex flex-col h-full gap-3", children: [showExternalSidebar && (_jsxs(_Fragment, { children: [sidebarSummary, _jsxs("div", { className: "space-y-3 pt-4", children: [viewToggle, leftNav] }), _jsx("div", { className: "h-px bg-border/30" })] })), _jsxs("div", { className: "px-1 text-xs-tight font-medium text-muted", children: [t("databaseview.Tables"), " \u00B7 ", filteredTables.length] }), loading && tables.length === 0 ? (_jsx("div", { className: "text-xs text-muted px-2 py-4 italic text-center opacity-70", children: t("appsview.Loading") })) : (_jsx(SidebarScrollRegion, { className: `flex flex-col gap-1 flex-1 pr-1 ${showExternalSidebar
|
|
303
305
|
? ""
|
|
304
|
-
: "overflow-auto custom-scrollbar"}`, children: filteredTables.map((t) => (_jsxs(SidebarContent.Item, { active: selectedTable === t.name, onClick: () => handleSelectTable(t.name), className: "gap-2", children: [_jsx(SidebarContent.ItemIcon, { active: selectedTable === t.name, children: t.name.slice(0, 1).toUpperCase() }), _jsxs(SidebarContent.ItemBody, { children: [_jsx(SidebarContent.ItemTitle, { children: t.name }), _jsxs(SidebarContent.ItemDescription, { children: [(t.rowCount ?? 0).toLocaleString(), " rows"] })] })] }, t.name))) }))] }) })), !showExternalSidebar && (_jsx(Button, { variant: "ghost", size: "icon", className: "my-auto flex h-11 w-11 flex-shrink-0 items-center justify-center rounded-sm border border-border/40 bg-card/50 text-muted transition-all hover:border-accent/40 hover:bg-bg-hover hover:text-txt", onClick: () => setSidebarCollapsed(!sidebarCollapsed), title: sidebarCollapsed
|
|
306
|
+
: "overflow-auto custom-scrollbar"}`, children: filteredTables.map((t) => (_jsxs(SidebarContent.Item, { active: selectedTable === t.name, onClick: () => handleSelectTable(t.name), className: "gap-2", children: [_jsx(SidebarContent.ItemIcon, { active: selectedTable === t.name, children: t.name.slice(0, 1).toUpperCase() }), _jsxs(SidebarContent.ItemBody, { children: [_jsx(SidebarContent.ItemTitle, { children: t.name }), _jsxs(SidebarContent.ItemDescription, { children: [(t.rowCount ?? 0).toLocaleString("en-US"), " rows"] })] })] }, t.name))) }))] }) })), !showExternalSidebar && (_jsx(Button, { variant: "ghost", size: "icon", className: "my-auto flex h-11 w-11 flex-shrink-0 items-center justify-center rounded-sm border border-border/40 bg-card/50 text-muted transition-all hover:border-accent/40 hover:bg-bg-hover hover:text-txt", onClick: () => setSidebarCollapsed(!sidebarCollapsed), title: sidebarCollapsed
|
|
305
307
|
? t("databaseview.showSidebar", {
|
|
306
308
|
defaultValue: "Show sidebar",
|
|
307
309
|
})
|
|
308
310
|
: t("databaseview.hideSidebar", {
|
|
309
311
|
defaultValue: "Hide sidebar",
|
|
310
312
|
}), children: sidebarCollapsed ? (_jsx(ChevronRight, { className: "w-3.5 h-3.5" })) : (_jsx(ChevronLeft, { className: "w-3.5 h-3.5" })) })), _jsx("div", { className: "flex min-w-0 flex-1 w-full flex-col bg-bg/10", children: !selectedTable ? (_jsxs("div", { className: "w-full", children: [_jsxs(PagePanel, { variant: "surface", as: "section", className: "px-5 py-5 sm:px-6", children: [_jsx("div", { className: "text-2xl font-semibold text-txt-strong", children: t("databaseview.TableBrowser") }), _jsx(ChatSearchHint, { noun: "tables", query: sidebarSearch, className: "mt-2" })] }), _jsx(PagePanel.Empty, { variant: "surface", className: "mt-4 min-h-[18rem] rounded-sm px-5 py-10", title: t("databaseview.SelectATable"), description: t("databaseview.ChooseATableFrom") })] })) : loading && !tableData ? (_jsx(PagePanel, { variant: "surface", className: "flex flex-1 items-center justify-center px-6 py-10 text-sm font-medium italic text-muted", children: t("appsview.Loading") })) : tableData ? (_jsxs(_Fragment, { children: [_jsx(PagePanel, { variant: "surface", as: "section", className: "px-5 py-5 sm:px-6", children: _jsxs("div", { className: "flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between", children: [_jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "text-2xl font-semibold text-txt-strong", children: selectedTable }), _jsx(ChatSearchHint, { noun: "tables", query: sidebarSearch, className: "mt-2" })] }), columnMeta.size > 0 && (_jsxs("div", { className: "flex flex-wrap gap-2", children: [_jsxs(MetaPill, { children: [columnMeta.size, " ", t("databaseview.columns")] }), _jsx(MetaPill, { children: t("databaseview.RowCountLabel", {
|
|
311
|
-
count: tableData.total.toLocaleString(),
|
|
313
|
+
count: tableData.total.toLocaleString("en-US"),
|
|
312
314
|
defaultValue: "{{count}} rows",
|
|
313
315
|
}) })] }))] }) }), _jsxs(PagePanel, { variant: "surface", className: "mt-4 flex flex-1 min-h-0 flex-col overflow-hidden p-3", children: [_jsx("div", { className: "flex-1 min-h-0", children: tableData.rows.length === 0 ? (_jsx(PagePanel.Empty, { className: "min-h-[14rem]", title: t("databaseview.TableIsEmpty"), description: t("databaseview.EmptyTableDescription", {
|
|
314
316
|
defaultValue: "This table is connected and available, but it does not have any rows yet.",
|
|
315
|
-
}) })) : (_jsx(ResultsGrid, { columns: tableData.columns, rows: tableData.rows, columnMeta: columnMeta, sortCol: sortCol, sortDir: sortDir, onSort: handleSort, onCellClick: (v) => setCellInspect(v) })) }), _jsx(PaginationBar, { total: tableData.total, offset: rowOffset, limit: ROW_LIMIT, onPrev: handlePrev, onNext: handleNext })] })] })) : null })] })) : (_jsxs("div", { className: "flex flex-1 min-h-0 gap-4", children: [showExternalSidebar && (_jsx("aside", { className: "w-[21rem] max-w-[352px] shrink-0 overflow-hidden rounded-sm border border-border/34 flex min-h-0 w-full flex-col bg-[linear-gradient(180deg,color-mix(in_srgb,var(--card)_76%,transparent),color-mix(in_srgb,var(--bg-muted)_97%,transparent))]
|
|
317
|
+
}) })) : (_jsx(ResultsGrid, { columns: tableData.columns, rows: tableData.rows, columnMeta: columnMeta, sortCol: sortCol, sortDir: sortDir, onSort: handleSort, onCellClick: (v) => setCellInspect(v) })) }), _jsx(PaginationBar, { total: tableData.total, offset: rowOffset, limit: ROW_LIMIT, onPrev: handlePrev, onNext: handleNext })] })] })) : null })] })) : (_jsxs("div", { className: "flex flex-1 min-h-0 gap-4", children: [showExternalSidebar && (_jsx("aside", { className: "w-[21rem] max-w-[352px] shrink-0 overflow-hidden rounded-sm border border-border/34 flex min-h-0 w-full flex-col bg-[linear-gradient(180deg,color-mix(in_srgb,var(--card)_76%,transparent),color-mix(in_srgb,var(--bg-muted)_97%,transparent))] ", children: _jsxs("div", { className: "flex min-h-0 flex-1 flex-col px-3 pb-4 pt-3", children: [sidebarSummary, _jsxs("div", { className: "space-y-3 pt-4", children: [viewToggle, leftNav] }), _jsx("div", { className: "h-px bg-border/30" }), _jsx(PagePanel, { variant: "inset", className: "rounded-sm px-3 py-3 text-xs-tight text-muted", children: t("databaseview.QueryWorkspaceInfo", {
|
|
316
318
|
defaultValue: "Write ad-hoc queries and inspect results without leaving the database workspace.",
|
|
317
|
-
}) }), queryHistory.length > 0 ? (_jsxs(SidebarScrollRegion, { className: "space-y-1.5", children: [_jsx("div", { className: "px-1 text-xs-tight font-medium text-muted", children: t("databaseview.RecentQueries") }), queryHistory.slice(0, 8).map((q) => (_jsx(Button, { variant: "ghost", className: "h-auto w-full justify-start rounded-sm px-3 py-2 text-left text-xs-tight font-mono border border-border/32 bg-[linear-gradient(180deg,color-mix(in_srgb,var(--card)_84%,transparent),color-mix(in_srgb,var(--bg)_95%,transparent))] text-muted-strong
|
|
319
|
+
}) }), queryHistory.length > 0 ? (_jsxs(SidebarScrollRegion, { className: "space-y-1.5", children: [_jsx("div", { className: "px-1 text-xs-tight font-medium text-muted", children: t("databaseview.RecentQueries") }), queryHistory.slice(0, 8).map((q) => (_jsx(Button, { variant: "ghost", className: "h-auto w-full justify-start rounded-sm px-3 py-2 text-left text-xs-tight font-mono border border-border/32 bg-[linear-gradient(180deg,color-mix(in_srgb,var(--card)_84%,transparent),color-mix(in_srgb,var(--bg)_95%,transparent))] text-muted-strong transition-[border-color,background-color,color,transform,box-shadow] duration-200 hover:border-border/46 hover:bg-[linear-gradient(180deg,color-mix(in_srgb,var(--card)_90%,transparent),color-mix(in_srgb,var(--bg)_97%,transparent))] hover:text-txt active:scale-95 disabled:hover:border-border/32 disabled:hover:bg-[linear-gradient(180deg,color-mix(in_srgb,var(--card)_84%,transparent),color-mix(in_srgb,var(--bg)_95%,transparent))] disabled:hover:text-muted-strong ", onClick: () => setQueryText(q), children: _jsx("span", { className: "truncate", children: q }) }, q)))] })) : null] }) })), _jsxs("div", { className: "min-w-0 flex-1 overflow-y-auto flex min-h-0 flex-col gap-4 bg-transparent", children: [_jsx(PagePanel, { variant: "surface", as: "section", className: "px-5 py-5 sm:px-6", children: _jsx("div", { className: "flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between", children: _jsx("div", { className: "min-w-0 flex-1", children: _jsx("div", { className: "text-2xl font-semibold text-txt-strong", children: t("databaseview.SQLWorkspace", {
|
|
318
320
|
defaultValue: "SQL Workspace",
|
|
319
321
|
}) }) }) }) }), _jsx(SqlEditorPanel, { ...sqlEditorProps, showHistory: !showExternalSidebar })] })] })), cellInspect !== null && (_jsx(CellPopover, { value: cellInspect, onClose: () => setCellInspect(null) }))] }));
|
|
320
322
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DocumentRecord } from "../../api/client-types-chat";
|
|
2
|
-
export type { DocumentUploadFile } from "./documents-upload.helpers";
|
|
1
|
+
import type { DocumentRecord } from "../../api/client-types-chat.js";
|
|
2
|
+
export type { DocumentUploadFile } from "./documents-upload.helpers.js";
|
|
3
3
|
export declare function DocumentsView({ fileInputId, inModal, embedded, onDocumentsChange, onSelectedDocumentIdChange, selectedDocumentId, showSelectorRail, }?: {
|
|
4
4
|
fileInputId?: string;
|
|
5
5
|
inModal?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentsView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/DocumentsView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocumentsView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/DocumentsView.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EACV,cAAc,EAGf,MAAM,6BAA6B,CAAC;AAqCrC,YAAY,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAuVrE,wBAAgB,aAAa,CAAC,EAC5B,WAAW,EACX,OAAO,EACP,QAAgB,EAChB,iBAAiB,EACjB,0BAA0B,EAC1B,kBAAkB,EAClB,gBAAgB,GACjB,GAAE;IACD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,KAAK,IAAI,CAAC;IAC1D,0BAA0B,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjE,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CACvB,2CA+8BL"}
|