@elizaos/app-core 2.0.0-alpha.144 → 2.0.0-alpha.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/app-companion/src/types/render-modes.d.ts +4 -0
- package/apps/app-companion/src/types/render-modes.d.ts.map +1 -0
- package/apps/app-companion/src/types/render-modes.js +6 -0
- package/apps/app-lifeops/src/LifeOpsBrowserSetupPanel.d.ts +2 -0
- package/apps/app-lifeops/src/LifeOpsBrowserSetupPanel.d.ts.map +1 -0
- package/apps/app-lifeops/src/LifeOpsBrowserSetupPanel.js +463 -0
- package/apps/app-lifeops/src/LifeOpsPageSections.d.ts +42 -0
- package/apps/app-lifeops/src/LifeOpsPageSections.d.ts.map +1 -0
- package/apps/app-lifeops/src/LifeOpsPageSections.js +170 -0
- package/apps/app-lifeops/src/LifeOpsPageView.d.ts +2 -0
- package/apps/app-lifeops/src/LifeOpsPageView.d.ts.map +1 -0
- package/apps/app-lifeops/src/LifeOpsPageView.js +387 -0
- package/apps/app-lifeops/src/LifeOpsSettingsSection.d.ts +2 -0
- package/apps/app-lifeops/src/LifeOpsSettingsSection.d.ts.map +1 -0
- package/apps/app-lifeops/src/LifeOpsSettingsSection.js +161 -0
- package/apps/app-lifeops/src/LifeOpsWorkspaceView.d.ts +2 -0
- package/apps/app-lifeops/src/LifeOpsWorkspaceView.d.ts.map +1 -0
- package/apps/app-lifeops/src/LifeOpsWorkspaceView.js +499 -0
- package/apps/app-lifeops/src/WebsiteBlockerSettingsCard.d.ts +3 -0
- package/apps/app-lifeops/src/WebsiteBlockerSettingsCard.d.ts.map +1 -0
- package/apps/app-lifeops/src/WebsiteBlockerSettingsCard.js +200 -0
- package/apps/app-lifeops/src/actions/inbox.d.ts.map +1 -0
- package/{packages/agent → apps/app-lifeops}/src/actions/inbox.js +3 -3
- package/apps/app-lifeops/src/actions/update-owner-profile.d.ts.map +1 -0
- package/{packages/agent → apps/app-lifeops}/src/actions/update-owner-profile.js +1 -1
- package/apps/app-lifeops/src/inbox/channel-deep-links.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/config.d.ts.map +1 -0
- package/{packages/agent → apps/app-lifeops}/src/inbox/config.js +1 -1
- package/apps/app-lifeops/src/inbox/message-fetcher.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/reflection.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/repository.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/triage-classifier.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/types.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/screen-context.d.ts +52 -0
- package/apps/app-lifeops/src/lifeops/screen-context.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/screen-context.js +332 -0
- package/apps/app-lifeops/src/plugin.d.ts +3 -0
- package/apps/app-lifeops/src/plugin.d.ts.map +1 -1
- package/apps/app-lifeops/src/plugin.js +16 -3
- package/apps/app-lifeops/src/providers/inbox-triage.d.ts.map +1 -0
- package/{packages/agent → apps/app-lifeops}/src/providers/inbox-triage.js +1 -1
- package/apps/app-lifeops/src/ui.d.ts +7 -0
- package/apps/app-lifeops/src/ui.d.ts.map +1 -0
- package/apps/app-lifeops/src/ui.js +6 -0
- package/apps/app-shopify/src/CustomersPanel.d.ts +16 -0
- package/apps/app-shopify/src/CustomersPanel.d.ts.map +1 -0
- package/apps/app-shopify/src/CustomersPanel.js +16 -0
- package/apps/app-shopify/src/InventoryLevelsPanel.d.ts +14 -0
- package/apps/app-shopify/src/InventoryLevelsPanel.d.ts.map +1 -0
- package/apps/app-shopify/src/InventoryLevelsPanel.js +48 -0
- package/apps/app-shopify/src/OrdersPanel.d.ts +16 -0
- package/apps/app-shopify/src/OrdersPanel.d.ts.map +1 -0
- package/apps/app-shopify/src/OrdersPanel.js +58 -0
- package/apps/app-shopify/src/ProductsPanel.d.ts +18 -0
- package/apps/app-shopify/src/ProductsPanel.d.ts.map +1 -0
- package/apps/app-shopify/src/ProductsPanel.js +91 -0
- package/apps/app-shopify/src/ShopifyAppView.d.ts +12 -0
- package/apps/app-shopify/src/ShopifyAppView.d.ts.map +1 -0
- package/apps/app-shopify/src/ShopifyAppView.js +51 -0
- package/apps/app-shopify/src/StoreOverviewCard.d.ts +19 -0
- package/apps/app-shopify/src/StoreOverviewCard.d.ts.map +1 -0
- package/apps/app-shopify/src/StoreOverviewCard.js +10 -0
- package/apps/app-shopify/src/index.d.ts +11 -0
- package/apps/app-shopify/src/index.d.ts.map +1 -0
- package/apps/app-shopify/src/index.js +10 -0
- package/apps/app-shopify/src/shopify-app.d.ts +11 -0
- package/apps/app-shopify/src/shopify-app.d.ts.map +1 -0
- package/apps/app-shopify/src/shopify-app.js +20 -0
- package/apps/app-shopify/src/useShopifyDashboard.d.ts +118 -0
- package/apps/app-shopify/src/useShopifyDashboard.d.ts.map +1 -0
- package/apps/app-shopify/src/useShopifyDashboard.js +248 -0
- package/apps/app-task-coordinator/src/AgentTabsSection.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/CodingAgentControlChip.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/CodingAgentSettingsSection.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/CodingAgentTasksPanel.d.ts +4 -0
- package/apps/app-task-coordinator/src/CodingAgentTasksPanel.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/CodingAgentTasksPanel.js +291 -0
- package/apps/app-task-coordinator/src/GlobalPrefsSection.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/LlmProviderSection.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/ModelConfigSection.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/PtyConsoleBase.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/PtyConsoleDrawer.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/PtyConsoleSidePanel.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/PtyTerminalPane.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.d.ts +23 -0
- package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.js +39 -0
- package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.d.ts +29 -0
- package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.js +45 -0
- package/apps/app-task-coordinator/src/api/coordinator-types.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/api/coordinator-wiring.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/api/task-agent-message-routing.d.ts +10 -0
- package/apps/app-task-coordinator/src/api/task-agent-message-routing.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/api/task-agent-message-routing.js +62 -0
- package/apps/app-task-coordinator/src/coding-agent-settings-shared.d.ts.map +1 -0
- package/apps/{app-coding → app-task-coordinator}/src/index.d.ts +1 -0
- package/apps/app-task-coordinator/src/index.d.ts.map +1 -0
- package/apps/{app-coding → app-task-coordinator}/src/index.js +1 -0
- package/apps/app-task-coordinator/src/pty-status-dots.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/session-hydration.d.ts.map +1 -0
- package/apps/app-training/src/services/index.d.ts +3 -0
- package/apps/app-training/src/services/index.d.ts.map +1 -0
- package/apps/app-training/src/services/index.js +1 -0
- package/apps/app-training/src/services/training-backend-check.d.ts +8 -0
- package/apps/app-training/src/services/training-backend-check.d.ts.map +1 -0
- package/apps/app-training/src/services/training-backend-check.js +28 -0
- package/apps/app-training/src/services/training-service-like.d.ts +38 -0
- package/apps/app-training/src/services/training-service-like.d.ts.map +1 -0
- package/apps/app-training/src/services/training-service-like.js +1 -0
- package/apps/app-training/src/ui/FineTuningView.d.ts +5 -0
- package/apps/app-training/src/ui/FineTuningView.d.ts.map +1 -0
- package/apps/app-training/src/ui/FineTuningView.js +391 -0
- package/apps/app-training/src/ui/fine-tuning-panels.d.ts +111 -0
- package/apps/app-training/src/ui/fine-tuning-panels.d.ts.map +1 -0
- package/apps/app-training/src/ui/fine-tuning-panels.js +130 -0
- package/apps/app-vincent/src/TradingProfileCard.d.ts +14 -0
- package/apps/app-vincent/src/TradingProfileCard.d.ts.map +1 -0
- package/apps/app-vincent/src/TradingProfileCard.js +22 -0
- package/apps/app-vincent/src/TradingStrategyPanel.d.ts +15 -0
- package/apps/app-vincent/src/TradingStrategyPanel.d.ts.map +1 -0
- package/apps/app-vincent/src/TradingStrategyPanel.js +62 -0
- package/apps/app-vincent/src/VaultStatusCard.d.ts +15 -0
- package/apps/app-vincent/src/VaultStatusCard.d.ts.map +1 -0
- package/apps/app-vincent/src/VaultStatusCard.js +83 -0
- package/apps/app-vincent/src/VincentAppView.d.ts +18 -0
- package/apps/app-vincent/src/VincentAppView.d.ts.map +1 -0
- package/apps/app-vincent/src/VincentAppView.js +37 -0
- package/apps/app-vincent/src/VincentConnectionCard.d.ts +15 -0
- package/apps/app-vincent/src/VincentConnectionCard.d.ts.map +1 -0
- package/apps/app-vincent/src/VincentConnectionCard.js +43 -0
- package/apps/app-vincent/src/client.d.ts +29 -0
- package/apps/app-vincent/src/client.d.ts.map +1 -0
- package/apps/app-vincent/src/client.js +29 -0
- package/apps/app-vincent/src/index.d.ts +12 -0
- package/apps/app-vincent/src/index.d.ts.map +1 -0
- package/apps/app-vincent/src/index.js +11 -0
- package/apps/app-vincent/src/useVincentDashboard.d.ts +39 -0
- package/apps/app-vincent/src/useVincentDashboard.d.ts.map +1 -0
- package/apps/app-vincent/src/useVincentDashboard.js +124 -0
- package/apps/app-vincent/src/useVincentState.d.ts +26 -0
- package/apps/app-vincent/src/useVincentState.d.ts.map +1 -0
- package/apps/app-vincent/src/useVincentState.js +125 -0
- package/apps/app-vincent/src/vincent-app.d.ts +11 -0
- package/apps/app-vincent/src/vincent-app.d.ts.map +1 -0
- package/apps/app-vincent/src/vincent-app.js +20 -0
- package/package.json +13 -6
- package/packages/agent/src/actions/check-balance.d.ts.map +1 -0
- package/packages/agent/src/actions/connector-resolver.d.ts +75 -0
- package/packages/agent/src/actions/connector-resolver.d.ts.map +1 -0
- package/packages/agent/src/actions/connector-resolver.js +245 -0
- package/packages/agent/src/actions/context-signal-lexicon.d.ts +1 -1
- package/packages/agent/src/actions/context-signal-lexicon.d.ts.map +1 -1
- package/packages/agent/src/actions/context-signal-lexicon.js +6 -0
- package/packages/agent/src/actions/eject-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/execute-trade.d.ts.map +1 -0
- package/packages/agent/src/actions/get-self-status.d.ts.map +1 -0
- package/packages/{app-core → agent}/src/actions/get-self-status.js +1 -2
- package/packages/agent/src/actions/install-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/life-recent-context.d.ts +1 -8
- package/packages/agent/src/actions/life-recent-context.d.ts.map +1 -1
- package/packages/agent/src/actions/life-recent-context.js +1 -84
- package/packages/agent/src/actions/list-ejected.d.ts.map +1 -0
- package/packages/agent/src/actions/log-level.d.ts.map +1 -0
- package/packages/agent/src/actions/manage-tasks.d.ts.map +1 -1
- package/packages/agent/src/actions/manage-tasks.js +51 -15
- package/packages/agent/src/actions/media.d.ts.map +1 -0
- package/packages/{app-core → agent}/src/actions/media.js +2 -2
- package/packages/agent/src/actions/reinject-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/send-message.d.ts +0 -7
- package/packages/agent/src/actions/send-message.d.ts.map +1 -1
- package/packages/agent/src/actions/send-message.js +170 -49
- package/packages/agent/src/actions/sync-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/transfer-token.d.ts.map +1 -0
- package/packages/agent/src/actions/wallet-action-shared.d.ts.map +1 -0
- package/packages/agent/src/api/agent-admin-routes.d.ts.map +1 -1
- package/packages/agent/src/api/agent-admin-routes.js +1 -1
- package/packages/agent/src/api/binance-skill-helpers.d.ts.map +1 -1
- package/packages/agent/src/api/binance-skill-helpers.js +8 -3
- package/packages/agent/src/api/chat-routes.d.ts.map +1 -1
- package/packages/agent/src/api/chat-routes.js +20 -5
- package/packages/agent/src/api/coding-agents-auth-sanitize.d.ts +1 -22
- package/packages/agent/src/api/coding-agents-auth-sanitize.d.ts.map +1 -1
- package/packages/agent/src/api/coding-agents-auth-sanitize.js +1 -39
- package/packages/agent/src/api/coding-agents-preflight-normalize.d.ts +1 -28
- package/packages/agent/src/api/coding-agents-preflight-normalize.d.ts.map +1 -1
- package/packages/agent/src/api/coding-agents-preflight-normalize.js +1 -45
- package/packages/agent/src/api/index.d.ts +1 -1
- package/packages/agent/src/api/index.d.ts.map +1 -1
- package/packages/agent/src/api/index.js +1 -1
- package/packages/agent/src/api/lifeops-browser-packaging.d.ts +1 -15
- package/packages/agent/src/api/lifeops-browser-packaging.d.ts.map +1 -1
- package/packages/agent/src/api/lifeops-browser-packaging.js +1 -305
- package/packages/agent/src/api/server.d.ts.map +1 -1
- package/packages/agent/src/api/server.js +6 -6
- package/packages/agent/src/api/task-agent-message-routing.d.ts +1 -9
- package/packages/agent/src/api/task-agent-message-routing.d.ts.map +1 -1
- package/packages/agent/src/api/task-agent-message-routing.js +1 -62
- package/packages/agent/src/api/website-blocker-routes.d.ts +1 -6
- package/packages/agent/src/api/website-blocker-routes.d.ts.map +1 -1
- package/packages/agent/src/api/website-blocker-routes.js +1 -174
- package/packages/agent/src/config/types.agent-defaults.d.ts +1 -1
- package/packages/agent/src/config/types.agent-defaults.d.ts.map +1 -1
- package/packages/agent/src/lifeops/defaults.d.ts +1 -23
- package/packages/agent/src/lifeops/defaults.d.ts.map +1 -1
- package/packages/agent/src/lifeops/defaults.js +1 -205
- package/packages/agent/src/lifeops/owner-profile.d.ts +1 -14
- package/packages/agent/src/lifeops/owner-profile.d.ts.map +1 -1
- package/packages/agent/src/lifeops/owner-profile.js +1 -194
- package/packages/agent/src/lifeops/repository.d.ts +1 -208
- package/packages/agent/src/lifeops/repository.d.ts.map +1 -1
- package/packages/agent/src/lifeops/repository.js +1 -3187
- package/packages/agent/src/lifeops/screen-context.d.ts +1 -51
- package/packages/agent/src/lifeops/screen-context.d.ts.map +1 -1
- package/packages/agent/src/lifeops/screen-context.js +1 -332
- package/packages/agent/src/lifeops/service.d.ts +1 -274
- package/packages/agent/src/lifeops/service.d.ts.map +1 -1
- package/packages/agent/src/lifeops/service.js +1 -9260
- package/packages/agent/src/lifeops/time.d.ts +1 -16
- package/packages/agent/src/lifeops/time.d.ts.map +1 -1
- package/packages/agent/src/lifeops/time.js +1 -132
- package/packages/agent/src/providers/media-provider.d.ts.map +1 -0
- package/packages/agent/src/providers/tasks.d.ts.map +1 -1
- package/packages/agent/src/providers/tasks.js +7 -7
- package/packages/agent/src/runtime/core-plugins.js +1 -1
- package/packages/agent/src/runtime/eliza-plugin.d.ts.map +1 -1
- package/packages/agent/src/runtime/eliza-plugin.js +1 -7
- package/packages/agent/src/runtime/eliza.js +2 -2
- package/packages/agent/src/runtime/plugin-collector.js +3 -3
- package/packages/agent/src/runtime/plugin-lifecycle.d.ts.map +1 -1
- package/packages/agent/src/runtime/plugin-lifecycle.js +3 -13
- package/packages/agent/src/runtime/trajectory-internals.d.ts.map +1 -1
- package/packages/agent/src/runtime/trajectory-internals.js +1 -3
- package/packages/agent/src/services/coding-task-executor.d.ts +3 -3
- package/packages/agent/src/services/coding-task-executor.js +3 -3
- package/packages/app-core/src/actions/index.d.ts +15 -10
- package/packages/app-core/src/actions/index.d.ts.map +1 -1
- package/packages/app-core/src/actions/index.js +15 -15
- package/packages/app-core/src/api/client-vincent.d.ts +1 -28
- package/packages/app-core/src/api/client-vincent.d.ts.map +1 -1
- package/packages/app-core/src/api/client-vincent.js +1 -29
- package/packages/app-core/src/api/client.d.ts +1 -1
- package/packages/app-core/src/api/client.d.ts.map +1 -1
- package/packages/app-core/src/api/client.js +1 -1
- package/packages/app-core/src/api/dev-stack.d.ts.map +1 -1
- package/packages/app-core/src/api/dev-stack.js +3 -1
- package/packages/app-core/src/api/shopify-routes.d.ts +1 -17
- package/packages/app-core/src/api/shopify-routes.d.ts.map +1 -1
- package/packages/app-core/src/api/shopify-routes.js +2 -479
- package/packages/app-core/src/api/vincent-routes.d.ts +1 -25
- package/packages/app-core/src/api/vincent-routes.d.ts.map +1 -1
- package/packages/app-core/src/api/vincent-routes.js +2 -496
- package/packages/app-core/src/{actions/character.d.ts → character/character-draft-helpers.d.ts} +1 -1
- package/packages/app-core/src/character/character-draft-helpers.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/widgets/plugins/agent-orchestrator.d.ts +0 -3
- package/packages/app-core/src/components/chat/widgets/plugins/agent-orchestrator.d.ts.map +1 -1
- package/packages/app-core/src/components/chat/widgets/plugins/agent-orchestrator.js +7 -271
- package/packages/app-core/src/components/connectors/LifeOpsBrowserSetupPanel.d.ts +1 -1
- package/packages/app-core/src/components/connectors/LifeOpsBrowserSetupPanel.d.ts.map +1 -1
- package/packages/app-core/src/components/connectors/LifeOpsBrowserSetupPanel.js +1 -473
- package/packages/app-core/src/components/pages/ChatView.js +2 -2
- package/packages/app-core/src/components/pages/DatabaseView.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/DatabaseView.js +1 -1
- package/packages/app-core/src/components/pages/PluginsView.js +1 -1
- package/packages/app-core/src/components/pages/SettingsView.js +1 -1
- package/packages/app-core/src/components/pages/TasksPageView.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/TasksPageView.js +1 -1
- package/packages/app-core/src/components/pages/plugin-view-connectors.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/plugin-view-connectors.js +17 -16
- package/packages/app-core/src/components/settings/FineTuningView.d.ts +1 -4
- package/packages/app-core/src/components/settings/FineTuningView.d.ts.map +1 -1
- package/packages/app-core/src/components/settings/FineTuningView.js +1 -391
- package/packages/app-core/src/components/settings/LifeOpsSettingsSection.d.ts +1 -1
- package/packages/app-core/src/components/settings/LifeOpsSettingsSection.d.ts.map +1 -1
- package/packages/app-core/src/components/settings/LifeOpsSettingsSection.js +1 -183
- package/packages/app-core/src/components/settings/WebsiteBlockerSettingsCard.d.ts +1 -10
- package/packages/app-core/src/components/settings/WebsiteBlockerSettingsCard.d.ts.map +1 -1
- package/packages/app-core/src/components/settings/WebsiteBlockerSettingsCard.js +1 -200
- package/packages/app-core/src/components/settings/fine-tuning-panels.d.ts +1 -111
- package/packages/app-core/src/components/settings/fine-tuning-panels.d.ts.map +1 -1
- package/packages/app-core/src/components/settings/fine-tuning-panels.js +1 -130
- package/packages/app-core/src/components/settings/media-settings-types.d.ts +2 -3
- package/packages/app-core/src/components/settings/media-settings-types.d.ts.map +1 -1
- package/packages/app-core/src/components/settings/media-settings-types.js +2 -6
- package/packages/app-core/src/config/index.d.ts +1 -0
- package/packages/app-core/src/config/index.d.ts.map +1 -1
- package/packages/app-core/src/config/index.js +1 -0
- package/packages/app-core/src/index.d.ts +1 -0
- package/packages/app-core/src/index.d.ts.map +1 -1
- package/packages/app-core/src/index.js +1 -0
- package/packages/app-core/src/runtime/channel-plugin-map.d.ts +6 -0
- package/packages/app-core/src/runtime/channel-plugin-map.d.ts.map +1 -0
- package/packages/app-core/src/runtime/channel-plugin-map.js +10 -0
- package/packages/app-core/src/shell/DetachedShellRoot.js +1 -1
- package/packages/app-core/src/state/AppContext.d.ts.map +1 -1
- package/packages/app-core/src/state/AppContext.js +20 -3
- package/packages/app-core/src/state/useCharacterState.js +1 -1
- package/packages/app-core/src/state/useVincentState.d.ts +1 -25
- package/packages/app-core/src/state/useVincentState.d.ts.map +1 -1
- package/packages/app-core/src/state/useVincentState.js +1 -125
- package/packages/shared/src/i18n/generated/validation-keyword-data.d.ts +24 -0
- package/packages/shared/src/i18n/generated/validation-keyword-data.d.ts.map +1 -1
- package/packages/shared/src/i18n/generated/validation-keyword-data.js +24 -0
- package/packages/shared/src/runtime-env.d.ts.map +1 -1
- package/packages/shared/src/runtime-env.js +5 -1
- package/packages/typescript/src/generated/action-docs.d.ts +135 -0
- package/packages/typescript/src/generated/action-docs.d.ts.map +1 -1
- package/packages/typescript/src/generated/action-docs.js +237 -0
- package/packages/typescript/src/i18n/generated/validation-keyword-data.d.ts +24 -0
- package/packages/typescript/src/i18n/generated/validation-keyword-data.d.ts.map +1 -1
- package/packages/typescript/src/i18n/generated/validation-keyword-data.js +24 -0
- package/packages/typescript/src/index.node.d.ts +2 -2
- package/packages/typescript/src/index.node.d.ts.map +1 -1
- package/packages/typescript/src/index.node.js +4 -3
- package/packages/typescript/src/plugin-lifecycle.d.ts.map +1 -1
- package/packages/typescript/src/plugin-lifecycle.js +42 -3
- package/packages/typescript/src/services/message.d.ts.map +1 -1
- package/packages/typescript/src/services/message.js +32 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-content.d.ts.map +1 -1
- package/packages/ui/src/components/composites/sidebar/sidebar-content.js +11 -2
- package/packages/ui/src/layouts/workspace-layout/workspace-layout.d.ts.map +1 -1
- package/packages/ui/src/layouts/workspace-layout/workspace-layout.js +10 -1
- package/apps/app-coding/src/AgentTabsSection.d.ts.map +0 -1
- package/apps/app-coding/src/CodingAgentControlChip.d.ts.map +0 -1
- package/apps/app-coding/src/CodingAgentSettingsSection.d.ts.map +0 -1
- package/apps/app-coding/src/GlobalPrefsSection.d.ts.map +0 -1
- package/apps/app-coding/src/LlmProviderSection.d.ts.map +0 -1
- package/apps/app-coding/src/ModelConfigSection.d.ts.map +0 -1
- package/apps/app-coding/src/PtyConsoleBase.d.ts.map +0 -1
- package/apps/app-coding/src/PtyConsoleDrawer.d.ts.map +0 -1
- package/apps/app-coding/src/PtyConsoleSidePanel.d.ts.map +0 -1
- package/apps/app-coding/src/PtyTerminalPane.d.ts.map +0 -1
- package/apps/app-coding/src/coding-agent-settings-shared.d.ts.map +0 -1
- package/apps/app-coding/src/index.d.ts.map +0 -1
- package/apps/app-coding/src/pty-status-dots.d.ts.map +0 -1
- package/apps/app-coding/src/session-hydration.d.ts.map +0 -1
- package/packages/agent/src/actions/inbox.d.ts.map +0 -1
- package/packages/agent/src/actions/lifeops-google-helpers.d.ts +0 -62
- package/packages/agent/src/actions/lifeops-google-helpers.d.ts.map +0 -1
- package/packages/agent/src/actions/lifeops-google-helpers.js +0 -607
- package/packages/agent/src/actions/update-owner-profile.d.ts.map +0 -1
- package/packages/agent/src/api/coordinator-types.d.ts.map +0 -1
- package/packages/agent/src/api/coordinator-wiring.d.ts.map +0 -1
- package/packages/agent/src/inbox/channel-deep-links.d.ts.map +0 -1
- package/packages/agent/src/inbox/config.d.ts.map +0 -1
- package/packages/agent/src/inbox/message-fetcher.d.ts.map +0 -1
- package/packages/agent/src/inbox/reflection.d.ts.map +0 -1
- package/packages/agent/src/inbox/repository.d.ts.map +0 -1
- package/packages/agent/src/inbox/triage-classifier.d.ts.map +0 -1
- package/packages/agent/src/inbox/types.d.ts.map +0 -1
- package/packages/agent/src/lifeops/apple-reminders.d.ts +0 -58
- package/packages/agent/src/lifeops/apple-reminders.d.ts.map +0 -1
- package/packages/agent/src/lifeops/apple-reminders.js +0 -325
- package/packages/agent/src/lifeops/engine.d.ts +0 -8
- package/packages/agent/src/lifeops/engine.d.ts.map +0 -1
- package/packages/agent/src/lifeops/engine.js +0 -389
- package/packages/agent/src/lifeops/goal-grounding.d.ts +0 -54
- package/packages/agent/src/lifeops/goal-grounding.d.ts.map +0 -1
- package/packages/agent/src/lifeops/goal-grounding.js +0 -147
- package/packages/agent/src/lifeops/goal-semantic-evaluator.d.ts +0 -12
- package/packages/agent/src/lifeops/goal-semantic-evaluator.d.ts.map +0 -1
- package/packages/agent/src/lifeops/goal-semantic-evaluator.js +0 -154
- package/packages/agent/src/lifeops/google-api-error.d.ts +0 -7
- package/packages/agent/src/lifeops/google-api-error.d.ts.map +0 -1
- package/packages/agent/src/lifeops/google-api-error.js +0 -35
- package/packages/agent/src/lifeops/google-calendar.d.ts +0 -53
- package/packages/agent/src/lifeops/google-calendar.d.ts.map +0 -1
- package/packages/agent/src/lifeops/google-calendar.js +0 -268
- package/packages/agent/src/lifeops/google-connector-gateway.d.ts +0 -19
- package/packages/agent/src/lifeops/google-connector-gateway.d.ts.map +0 -1
- package/packages/agent/src/lifeops/google-connector-gateway.js +0 -65
- package/packages/agent/src/lifeops/google-fetch.d.ts +0 -11
- package/packages/agent/src/lifeops/google-fetch.d.ts.map +0 -1
- package/packages/agent/src/lifeops/google-fetch.js +0 -85
- package/packages/agent/src/lifeops/google-gmail.d.ts +0 -54
- package/packages/agent/src/lifeops/google-gmail.d.ts.map +0 -1
- package/packages/agent/src/lifeops/google-gmail.js +0 -471
- package/packages/agent/src/lifeops/google-managed-client.d.ts +0 -127
- package/packages/agent/src/lifeops/google-managed-client.d.ts.map +0 -1
- package/packages/agent/src/lifeops/google-managed-client.js +0 -294
- package/packages/agent/src/lifeops/google-oauth.d.ts +0 -61
- package/packages/agent/src/lifeops/google-oauth.d.ts.map +0 -1
- package/packages/agent/src/lifeops/google-oauth.js +0 -494
- package/packages/agent/src/lifeops/google-scopes.d.ts +0 -13
- package/packages/agent/src/lifeops/google-scopes.d.ts.map +0 -1
- package/packages/agent/src/lifeops/google-scopes.js +0 -96
- package/packages/agent/src/lifeops/runtime.d.ts +0 -14
- package/packages/agent/src/lifeops/runtime.d.ts.map +0 -1
- package/packages/agent/src/lifeops/runtime.js +0 -120
- package/packages/agent/src/lifeops/seed-routines.d.ts +0 -20
- package/packages/agent/src/lifeops/seed-routines.d.ts.map +0 -1
- package/packages/agent/src/lifeops/seed-routines.js +0 -111
- package/packages/agent/src/lifeops/sql.d.ts +0 -31
- package/packages/agent/src/lifeops/sql.d.ts.map +0 -1
- package/packages/agent/src/lifeops/sql.js +0 -247
- package/packages/agent/src/lifeops/twilio.d.ts +0 -25
- package/packages/agent/src/lifeops/twilio.d.ts.map +0 -1
- package/packages/agent/src/lifeops/twilio.js +0 -157
- package/packages/agent/src/lifeops/x-poster.d.ts +0 -19
- package/packages/agent/src/lifeops/x-poster.d.ts.map +0 -1
- package/packages/agent/src/lifeops/x-poster.js +0 -148
- package/packages/agent/src/providers/inbox-triage.d.ts.map +0 -1
- package/packages/agent/src/training/context-catalog.d.ts +0 -2
- package/packages/agent/src/training/context-catalog.d.ts.map +0 -1
- package/packages/agent/src/training/context-catalog.js +0 -2
- package/packages/agent/src/training/context-types.d.ts +0 -2
- package/packages/agent/src/training/context-types.d.ts.map +0 -1
- package/packages/agent/src/training/context-types.js +0 -2
- package/packages/app-core/src/actions/character.d.ts.map +0 -1
- package/packages/app-core/src/actions/check-balance.d.ts.map +0 -1
- package/packages/app-core/src/actions/eject-plugin.d.ts.map +0 -1
- package/packages/app-core/src/actions/execute-trade.d.ts.map +0 -1
- package/packages/app-core/src/actions/get-self-status.d.ts.map +0 -1
- package/packages/app-core/src/actions/install-plugin.d.ts.map +0 -1
- package/packages/app-core/src/actions/list-ejected.d.ts.map +0 -1
- package/packages/app-core/src/actions/log-level.d.ts.map +0 -1
- package/packages/app-core/src/actions/media.d.ts.map +0 -1
- package/packages/app-core/src/actions/reinject-plugin.d.ts.map +0 -1
- package/packages/app-core/src/actions/sync-plugin.d.ts.map +0 -1
- package/packages/app-core/src/actions/transfer-token.d.ts.map +0 -1
- package/packages/app-core/src/actions/wallet-action-shared.d.ts.map +0 -1
- package/packages/app-core/src/providers/local-models.d.ts +0 -118
- package/packages/app-core/src/providers/local-models.d.ts.map +0 -1
- package/packages/app-core/src/providers/local-models.js +0 -427
- package/packages/app-core/src/providers/media-provider.d.ts.map +0 -1
- package/packages/app-core/src/providers/self-status.d.ts +0 -4
- package/packages/app-core/src/providers/self-status.d.ts.map +0 -1
- package/packages/app-core/src/providers/self-status.js +0 -12
- package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.d.ts +0 -41
- package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.js +0 -443
- package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.d.ts +0 -34
- package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.js +0 -171
- package/packages/typescript/src/features/orchestrator/actions/eval-metadata.d.ts +0 -11
- package/packages/typescript/src/features/orchestrator/actions/eval-metadata.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/eval-metadata.js +0 -55
- package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.d.ts +0 -11
- package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.js +0 -214
- package/packages/typescript/src/features/orchestrator/actions/list-agents.d.ts +0 -13
- package/packages/typescript/src/features/orchestrator/actions/list-agents.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/list-agents.js +0 -174
- package/packages/typescript/src/features/orchestrator/actions/manage-issues.d.ts +0 -11
- package/packages/typescript/src/features/orchestrator/actions/manage-issues.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/manage-issues.js +0 -428
- package/packages/typescript/src/features/orchestrator/actions/provision-workspace.d.ts +0 -11
- package/packages/typescript/src/features/orchestrator/actions/provision-workspace.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/provision-workspace.js +0 -189
- package/packages/typescript/src/features/orchestrator/actions/send-to-agent.d.ts +0 -12
- package/packages/typescript/src/features/orchestrator/actions/send-to-agent.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/send-to-agent.js +0 -265
- package/packages/typescript/src/features/orchestrator/actions/spawn-agent.d.ts +0 -12
- package/packages/typescript/src/features/orchestrator/actions/spawn-agent.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/spawn-agent.js +0 -356
- package/packages/typescript/src/features/orchestrator/actions/start-coding-task.d.ts +0 -22
- package/packages/typescript/src/features/orchestrator/actions/start-coding-task.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/start-coding-task.js +0 -270
- package/packages/typescript/src/features/orchestrator/actions/stop-agent.d.ts +0 -12
- package/packages/typescript/src/features/orchestrator/actions/stop-agent.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/stop-agent.js +0 -192
- package/packages/typescript/src/features/orchestrator/actions/task-control.d.ts +0 -3
- package/packages/typescript/src/features/orchestrator/actions/task-control.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/task-control.js +0 -217
- package/packages/typescript/src/features/orchestrator/actions/task-history.d.ts +0 -3
- package/packages/typescript/src/features/orchestrator/actions/task-history.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/task-history.js +0 -323
- package/packages/typescript/src/features/orchestrator/actions/task-share.d.ts +0 -3
- package/packages/typescript/src/features/orchestrator/actions/task-share.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/task-share.js +0 -168
- package/packages/typescript/src/features/orchestrator/actions/task-thread-target.d.ts +0 -11
- package/packages/typescript/src/features/orchestrator/actions/task-thread-target.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/task-thread-target.js +0 -68
- package/packages/typescript/src/features/orchestrator/api/agent-routes.d.ts +0 -18
- package/packages/typescript/src/features/orchestrator/api/agent-routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/agent-routes.js +0 -654
- package/packages/typescript/src/features/orchestrator/api/coordinator-routes.d.ts +0 -22
- package/packages/typescript/src/features/orchestrator/api/coordinator-routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/coordinator-routes.js +0 -403
- package/packages/typescript/src/features/orchestrator/api/hook-routes.d.ts +0 -18
- package/packages/typescript/src/features/orchestrator/api/hook-routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/hook-routes.js +0 -164
- package/packages/typescript/src/features/orchestrator/api/issue-routes.d.ts +0 -17
- package/packages/typescript/src/features/orchestrator/api/issue-routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/issue-routes.js +0 -132
- package/packages/typescript/src/features/orchestrator/api/routes.d.ts +0 -37
- package/packages/typescript/src/features/orchestrator/api/routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/routes.js +0 -96
- package/packages/typescript/src/features/orchestrator/api/workspace-routes.d.ts +0 -17
- package/packages/typescript/src/features/orchestrator/api/workspace-routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/workspace-routes.js +0 -149
- package/packages/typescript/src/features/orchestrator/base-plugin.d.ts +0 -19
- package/packages/typescript/src/features/orchestrator/base-plugin.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/base-plugin.js +0 -75
- package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.d.ts +0 -101
- package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.js +0 -310
- package/packages/typescript/src/features/orchestrator/index.d.ts +0 -33
- package/packages/typescript/src/features/orchestrator/index.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/index.js +0 -30
- package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.d.ts +0 -15
- package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.js +0 -1449
- package/packages/typescript/src/features/orchestrator/providers/action-examples.d.ts +0 -14
- package/packages/typescript/src/features/orchestrator/providers/action-examples.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/providers/action-examples.js +0 -151
- package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.d.ts +0 -13
- package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.js +0 -142
- package/packages/typescript/src/features/orchestrator/services/agent-credentials.d.ts +0 -6
- package/packages/typescript/src/features/orchestrator/services/agent-credentials.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/agent-credentials.js +0 -91
- package/packages/typescript/src/features/orchestrator/services/agent-metrics.d.ts +0 -30
- package/packages/typescript/src/features/orchestrator/services/agent-metrics.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/agent-metrics.js +0 -54
- package/packages/typescript/src/features/orchestrator/services/agent-selection.d.ts +0 -53
- package/packages/typescript/src/features/orchestrator/services/agent-selection.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/agent-selection.js +0 -70
- package/packages/typescript/src/features/orchestrator/services/ansi-utils.d.ts +0 -61
- package/packages/typescript/src/features/orchestrator/services/ansi-utils.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/ansi-utils.js +0 -252
- package/packages/typescript/src/features/orchestrator/services/config-env.d.ts +0 -13
- package/packages/typescript/src/features/orchestrator/services/config-env.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/config-env.js +0 -37
- package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.d.ts +0 -50
- package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.js +0 -184
- package/packages/typescript/src/features/orchestrator/services/debug-capture.d.ts +0 -38
- package/packages/typescript/src/features/orchestrator/services/debug-capture.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/debug-capture.js +0 -113
- package/packages/typescript/src/features/orchestrator/services/pty-auto-response.d.ts +0 -30
- package/packages/typescript/src/features/orchestrator/services/pty-auto-response.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-auto-response.js +0 -146
- package/packages/typescript/src/features/orchestrator/services/pty-init.d.ts +0 -54
- package/packages/typescript/src/features/orchestrator/services/pty-init.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-init.js +0 -315
- package/packages/typescript/src/features/orchestrator/services/pty-service.d.ts +0 -175
- package/packages/typescript/src/features/orchestrator/services/pty-service.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-service.js +0 -1469
- package/packages/typescript/src/features/orchestrator/services/pty-session-io.d.ts +0 -49
- package/packages/typescript/src/features/orchestrator/services/pty-session-io.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-session-io.js +0 -180
- package/packages/typescript/src/features/orchestrator/services/pty-spawn.d.ts +0 -53
- package/packages/typescript/src/features/orchestrator/services/pty-spawn.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-spawn.js +0 -280
- package/packages/typescript/src/features/orchestrator/services/pty-types.d.ts +0 -80
- package/packages/typescript/src/features/orchestrator/services/pty-types.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-types.js +0 -51
- package/packages/typescript/src/features/orchestrator/services/repo-input.d.ts +0 -16
- package/packages/typescript/src/features/orchestrator/services/repo-input.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/repo-input.js +0 -88
- package/packages/typescript/src/features/orchestrator/services/stall-classifier.d.ts +0 -69
- package/packages/typescript/src/features/orchestrator/services/stall-classifier.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/stall-classifier.js +0 -446
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.d.ts +0 -97
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.js +0 -342
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.d.ts +0 -421
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.js +0 -2356
- package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.d.ts +0 -52
- package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.js +0 -1538
- package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.d.ts +0 -49
- package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.js +0 -171
- package/packages/typescript/src/features/orchestrator/services/swarm-history.d.ts +0 -27
- package/packages/typescript/src/features/orchestrator/services/swarm-history.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-history.js +0 -148
- package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.d.ts +0 -22
- package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.js +0 -265
- package/packages/typescript/src/features/orchestrator/services/task-acceptance.d.ts +0 -8
- package/packages/typescript/src/features/orchestrator/services/task-acceptance.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-acceptance.js +0 -114
- package/packages/typescript/src/features/orchestrator/services/task-agent-auth.d.ts +0 -68
- package/packages/typescript/src/features/orchestrator/services/task-agent-auth.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-agent-auth.js +0 -559
- package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.d.ts +0 -82
- package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.js +0 -738
- package/packages/typescript/src/features/orchestrator/services/task-kind.d.ts +0 -3
- package/packages/typescript/src/features/orchestrator/services/task-kind.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-kind.js +0 -40
- package/packages/typescript/src/features/orchestrator/services/task-policy.d.ts +0 -17
- package/packages/typescript/src/features/orchestrator/services/task-policy.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-policy.js +0 -226
- package/packages/typescript/src/features/orchestrator/services/task-registry.d.ts +0 -550
- package/packages/typescript/src/features/orchestrator/services/task-registry.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-registry.js +0 -2182
- package/packages/typescript/src/features/orchestrator/services/task-share.d.ts +0 -18
- package/packages/typescript/src/features/orchestrator/services/task-share.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-share.js +0 -159
- package/packages/typescript/src/features/orchestrator/services/task-validation.d.ts +0 -69
- package/packages/typescript/src/features/orchestrator/services/task-validation.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-validation.js +0 -587
- package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.d.ts +0 -5
- package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.js +0 -372
- package/packages/typescript/src/features/orchestrator/services/trajectory-context.d.ts +0 -73
- package/packages/typescript/src/features/orchestrator/services/trajectory-context.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/trajectory-context.js +0 -64
- package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.d.ts +0 -53
- package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.js +0 -260
- package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.d.ts +0 -28
- package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.js +0 -105
- package/packages/typescript/src/features/orchestrator/services/workspace-github.d.ts +0 -58
- package/packages/typescript/src/features/orchestrator/services/workspace-github.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/workspace-github.js +0 -139
- package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.d.ts +0 -18
- package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.js +0 -86
- package/packages/typescript/src/features/orchestrator/services/workspace-service.d.ts +0 -118
- package/packages/typescript/src/features/orchestrator/services/workspace-service.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/workspace-service.js +0 -533
- package/packages/typescript/src/features/orchestrator/services/workspace-types.d.ts +0 -81
- package/packages/typescript/src/features/orchestrator/services/workspace-types.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/workspace-types.js +0 -8
- package/packages/typescript/src/features/orchestrator/task-progress-streamer.d.ts +0 -38
- package/packages/typescript/src/features/orchestrator/task-progress-streamer.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/task-progress-streamer.js +0 -293
- /package/{packages/agent → apps/app-lifeops}/src/actions/inbox.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/actions/update-owner-profile.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/channel-deep-links.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/channel-deep-links.js +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/config.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/message-fetcher.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/message-fetcher.js +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/reflection.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/reflection.js +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/repository.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/repository.js +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/triage-classifier.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/triage-classifier.js +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/types.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/types.js +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/providers/inbox-triage.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/AgentTabsSection.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/AgentTabsSection.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/CodingAgentControlChip.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/CodingAgentControlChip.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/CodingAgentSettingsSection.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/CodingAgentSettingsSection.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/GlobalPrefsSection.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/GlobalPrefsSection.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/LlmProviderSection.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/LlmProviderSection.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/ModelConfigSection.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/ModelConfigSection.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleBase.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleBase.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleDrawer.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleDrawer.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleSidePanel.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/PtyConsoleSidePanel.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/PtyTerminalPane.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/PtyTerminalPane.js +0 -0
- /package/{packages/agent → apps/app-task-coordinator}/src/api/coordinator-types.d.ts +0 -0
- /package/{packages/agent → apps/app-task-coordinator}/src/api/coordinator-types.js +0 -0
- /package/{packages/agent → apps/app-task-coordinator}/src/api/coordinator-wiring.d.ts +0 -0
- /package/{packages/agent → apps/app-task-coordinator}/src/api/coordinator-wiring.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/coding-agent-settings-shared.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/coding-agent-settings-shared.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/pty-status-dots.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/pty-status-dots.js +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/session-hydration.d.ts +0 -0
- /package/apps/{app-coding → app-task-coordinator}/src/session-hydration.js +0 -0
- /package/packages/{app-core → agent}/src/actions/check-balance.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/check-balance.js +0 -0
- /package/packages/{app-core → agent}/src/actions/eject-plugin.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/eject-plugin.js +0 -0
- /package/packages/{app-core → agent}/src/actions/execute-trade.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/execute-trade.js +0 -0
- /package/packages/{app-core → agent}/src/actions/get-self-status.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/install-plugin.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/install-plugin.js +0 -0
- /package/packages/{app-core → agent}/src/actions/list-ejected.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/list-ejected.js +0 -0
- /package/packages/{app-core → agent}/src/actions/log-level.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/log-level.js +0 -0
- /package/packages/{app-core → agent}/src/actions/media.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/reinject-plugin.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/reinject-plugin.js +0 -0
- /package/packages/{app-core → agent}/src/actions/sync-plugin.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/sync-plugin.js +0 -0
- /package/packages/{app-core → agent}/src/actions/transfer-token.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/transfer-token.js +0 -0
- /package/packages/{app-core → agent}/src/actions/wallet-action-shared.d.ts +0 -0
- /package/packages/{app-core → agent}/src/actions/wallet-action-shared.js +0 -0
- /package/packages/{app-core → agent}/src/providers/media-provider.d.ts +0 -0
- /package/packages/{app-core → agent}/src/providers/media-provider.js +0 -0
- /package/packages/app-core/src/{actions/character.js → character/character-draft-helpers.js} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CompanionHalfFramerateMode, CompanionVrmPowerMode } from "@elizaos/app-core/state/types";
|
|
2
|
+
export declare const COMPANION_VRM_POWER_OPTIONS: readonly CompanionVrmPowerMode[];
|
|
3
|
+
export declare const COMPANION_HALF_FRAMERATE_OPTIONS: readonly CompanionHalfFramerateMode[];
|
|
4
|
+
//# sourceMappingURL=render-modes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render-modes.d.ts","sourceRoot":"","sources":["../../../../../../../apps/app-companion/src/types/render-modes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0BAA0B,EAC1B,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,2BAA2B,EAAE,SAAS,qBAAqB,EAIvE,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,SAAS,0BAA0B,EAC1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LifeOpsBrowserSetupPanel.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-lifeops/src/LifeOpsBrowserSetupPanel.tsx"],"names":[],"mappings":"AAsdA,wBAAgB,wBAAwB,4CA0rBvC"}
|
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { LIFEOPS_BROWSER_SITE_ACCESS_MODES, } from "@elizaos/shared/contracts/lifeops";
|
|
3
|
+
import { Badge, Button, Card, CardContent, CardHeader, CardTitle, Input, Label, Switch, Textarea, } from "@elizaos/app-core";
|
|
4
|
+
import { Copy, Download, FolderOpen, Package, RefreshCw, ShieldCheck, Sparkles, } from "lucide-react";
|
|
5
|
+
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
6
|
+
import { client } from "@elizaos/app-core";
|
|
7
|
+
import { invokeDesktopBridgeRequest, isElectrobunRuntime, } from "@elizaos/app-core";
|
|
8
|
+
import { copyTextToClipboard, openExternalUrl, resolveLifeOpsBrowserApiBaseUrl, } from "@elizaos/app-core";
|
|
9
|
+
const DEFAULT_PAIRING_PROFILE = {
|
|
10
|
+
profileId: "default",
|
|
11
|
+
profileLabel: "Default",
|
|
12
|
+
};
|
|
13
|
+
const CHROME_EXTENSIONS_URL = "chrome://extensions/";
|
|
14
|
+
function settingsToDraft(settings) {
|
|
15
|
+
return {
|
|
16
|
+
enabled: settings.enabled,
|
|
17
|
+
trackingMode: settings.trackingMode,
|
|
18
|
+
allowBrowserControl: settings.allowBrowserControl,
|
|
19
|
+
requireConfirmationForAccountAffecting: settings.requireConfirmationForAccountAffecting,
|
|
20
|
+
incognitoEnabled: settings.incognitoEnabled,
|
|
21
|
+
siteAccessMode: settings.siteAccessMode,
|
|
22
|
+
grantedOriginsText: settings.grantedOrigins.join("\n"),
|
|
23
|
+
blockedOriginsText: settings.blockedOrigins.join("\n"),
|
|
24
|
+
maxRememberedTabs: String(settings.maxRememberedTabs),
|
|
25
|
+
pauseUntilLocal: formatDateTimeLocalValue(settings.pauseUntil),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function parseOriginLines(value) {
|
|
29
|
+
return value
|
|
30
|
+
.split(/\r?\n/)
|
|
31
|
+
.map((entry) => entry.trim().replace(/\/+$/, ""))
|
|
32
|
+
.filter((entry) => entry.length > 0);
|
|
33
|
+
}
|
|
34
|
+
function formatDateTimeLocalValue(value) {
|
|
35
|
+
if (!value) {
|
|
36
|
+
return "";
|
|
37
|
+
}
|
|
38
|
+
const parsed = Date.parse(value);
|
|
39
|
+
if (!Number.isFinite(parsed)) {
|
|
40
|
+
return "";
|
|
41
|
+
}
|
|
42
|
+
const date = new Date(parsed);
|
|
43
|
+
const year = String(date.getFullYear());
|
|
44
|
+
const month = String(date.getMonth() + 1).padStart(2, "0");
|
|
45
|
+
const day = String(date.getDate()).padStart(2, "0");
|
|
46
|
+
const hours = String(date.getHours()).padStart(2, "0");
|
|
47
|
+
const minutes = String(date.getMinutes()).padStart(2, "0");
|
|
48
|
+
return `${year}-${month}-${day}T${hours}:${minutes}`;
|
|
49
|
+
}
|
|
50
|
+
function parseDateTimeLocalValue(value) {
|
|
51
|
+
const trimmed = value.trim();
|
|
52
|
+
if (!trimmed) {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
const parsed = new Date(trimmed);
|
|
56
|
+
if (!Number.isFinite(parsed.getTime())) {
|
|
57
|
+
throw new Error("Pause until must be a valid local date and time");
|
|
58
|
+
}
|
|
59
|
+
return parsed.toISOString();
|
|
60
|
+
}
|
|
61
|
+
function normalizePairingRequest(browser, existing) {
|
|
62
|
+
return {
|
|
63
|
+
browser,
|
|
64
|
+
profileId: existing?.profileId || DEFAULT_PAIRING_PROFILE.profileId,
|
|
65
|
+
profileLabel: existing?.profileLabel || DEFAULT_PAIRING_PROFILE.profileLabel,
|
|
66
|
+
label: existing?.label ||
|
|
67
|
+
`LifeOps Browser ${browser} ${existing?.profileLabel || DEFAULT_PAIRING_PROFILE.profileLabel}`,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function pairingPayload(response) {
|
|
71
|
+
return {
|
|
72
|
+
apiBaseUrl: resolveLifeOpsBrowserApiBaseUrl(),
|
|
73
|
+
companionId: response.companion.id,
|
|
74
|
+
pairingToken: response.pairingToken,
|
|
75
|
+
browser: response.companion.browser,
|
|
76
|
+
profileId: response.companion.profileId,
|
|
77
|
+
profileLabel: response.companion.profileLabel,
|
|
78
|
+
label: response.companion.label,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
async function openDesktopPath(pathValue, revealOnly = false) {
|
|
82
|
+
await invokeDesktopBridgeRequest({
|
|
83
|
+
rpcMethod: revealOnly ? "desktopShowItemInFolder" : "desktopOpenPath",
|
|
84
|
+
ipcChannel: revealOnly ? "desktop:showItemInFolder" : "desktop:openPath",
|
|
85
|
+
params: { path: pathValue },
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function formatTimestamp(value) {
|
|
89
|
+
if (!value) {
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
const parsed = Date.parse(value);
|
|
93
|
+
if (!Number.isFinite(parsed)) {
|
|
94
|
+
return null;
|
|
95
|
+
}
|
|
96
|
+
return new Intl.DateTimeFormat(undefined, {
|
|
97
|
+
month: "short",
|
|
98
|
+
day: "numeric",
|
|
99
|
+
hour: "numeric",
|
|
100
|
+
minute: "2-digit",
|
|
101
|
+
}).format(new Date(parsed));
|
|
102
|
+
}
|
|
103
|
+
function permissionSummary(permissions) {
|
|
104
|
+
if (!permissions) {
|
|
105
|
+
return "Permissions unavailable";
|
|
106
|
+
}
|
|
107
|
+
return [
|
|
108
|
+
permissions.allOrigins
|
|
109
|
+
? "all-sites access"
|
|
110
|
+
: permissions.grantedOrigins.length > 0
|
|
111
|
+
? `${permissions.grantedOrigins.length} granted site${permissions.grantedOrigins.length === 1 ? "" : "s"}`
|
|
112
|
+
: "current-site access",
|
|
113
|
+
permissions.scripting ? "DOM actions enabled" : "DOM actions unavailable",
|
|
114
|
+
permissions.incognitoEnabled ? "incognito on" : "incognito off",
|
|
115
|
+
].join(" • ");
|
|
116
|
+
}
|
|
117
|
+
function mergePackageStatus(current, next) {
|
|
118
|
+
return {
|
|
119
|
+
relayReachable: current?.relayReachable ?? false,
|
|
120
|
+
relayPort: current?.relayPort ?? 18792,
|
|
121
|
+
extensionPath: next.extensionPath,
|
|
122
|
+
chromeBuildPath: next.chromeBuildPath,
|
|
123
|
+
chromePackagePath: next.chromePackagePath,
|
|
124
|
+
safariWebExtensionPath: next.safariWebExtensionPath,
|
|
125
|
+
safariAppPath: next.safariAppPath,
|
|
126
|
+
safariPackagePath: next.safariPackagePath,
|
|
127
|
+
releaseManifest: next.releaseManifest ?? null,
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
function releaseTargetForBrowser(browser, releaseManifest) {
|
|
131
|
+
if (!releaseManifest) {
|
|
132
|
+
return null;
|
|
133
|
+
}
|
|
134
|
+
return browser === "chrome" ? releaseManifest.chrome : releaseManifest.safari;
|
|
135
|
+
}
|
|
136
|
+
function installButtonLabel(browser, releaseManifest) {
|
|
137
|
+
const target = releaseTargetForBrowser(browser, releaseManifest);
|
|
138
|
+
if (target?.installKind === "chrome_web_store") {
|
|
139
|
+
return "Open Chrome Web Store";
|
|
140
|
+
}
|
|
141
|
+
if (target?.installKind === "apple_app_store") {
|
|
142
|
+
return "Open App Store";
|
|
143
|
+
}
|
|
144
|
+
if (target?.installKind === "github_release") {
|
|
145
|
+
return `Download ${browser === "chrome" ? "Chrome" : "Safari"} Release`;
|
|
146
|
+
}
|
|
147
|
+
if (target?.installKind === "local_download") {
|
|
148
|
+
return `Download ${browser === "chrome" ? "Chrome" : "Safari"} Package`;
|
|
149
|
+
}
|
|
150
|
+
return `Install ${browser === "chrome" ? "Chrome" : "Safari"}`;
|
|
151
|
+
}
|
|
152
|
+
function installHint(browser, releaseManifest) {
|
|
153
|
+
const target = releaseTargetForBrowser(browser, releaseManifest);
|
|
154
|
+
if (target?.installKind === "chrome_web_store") {
|
|
155
|
+
return "Open the Chrome Web Store listing, install the release build, then import the copied pairing JSON in the extension popup.";
|
|
156
|
+
}
|
|
157
|
+
if (target?.installKind === "apple_app_store") {
|
|
158
|
+
return "Open the Safari companion listing, install the released app, then enable the extension and import the copied pairing JSON.";
|
|
159
|
+
}
|
|
160
|
+
if (target?.installKind === "github_release") {
|
|
161
|
+
return "Download the tagged release bundle, install it, then import the copied pairing JSON in the extension popup.";
|
|
162
|
+
}
|
|
163
|
+
if (target?.installKind === "local_download") {
|
|
164
|
+
return "Download the packaged companion bundle, install it locally, then import the copied pairing JSON.";
|
|
165
|
+
}
|
|
166
|
+
return browser === "chrome"
|
|
167
|
+
? "Load the unpacked build folder in Chrome, or use the packaged zip for distribution."
|
|
168
|
+
: "Open the generated macOS app once, then enable the Safari extension in Safari Settings.";
|
|
169
|
+
}
|
|
170
|
+
function releaseBadgeLabel(browser, releaseManifest) {
|
|
171
|
+
const target = releaseTargetForBrowser(browser, releaseManifest);
|
|
172
|
+
if (!target) {
|
|
173
|
+
return null;
|
|
174
|
+
}
|
|
175
|
+
if (target.installKind === "chrome_web_store") {
|
|
176
|
+
return "Chrome Web Store";
|
|
177
|
+
}
|
|
178
|
+
if (target.installKind === "apple_app_store") {
|
|
179
|
+
return "App Store";
|
|
180
|
+
}
|
|
181
|
+
if (target.installKind === "github_release") {
|
|
182
|
+
return "Release build";
|
|
183
|
+
}
|
|
184
|
+
return "Download";
|
|
185
|
+
}
|
|
186
|
+
function BrowserCompanionRow({ browser, buildPath, packagePath, appPath, releaseManifest, busy, pairing, onInstall, onBuild, onCreatePairing, onCopyPairing, onDownload, onOpenPath, }) {
|
|
187
|
+
const browserLabel = browser === "chrome" ? "Chrome" : "Safari";
|
|
188
|
+
const installHintText = installHint(browser, releaseManifest);
|
|
189
|
+
const installLabel = installButtonLabel(browser, releaseManifest);
|
|
190
|
+
const distributionLabel = releaseBadgeLabel(browser, releaseManifest);
|
|
191
|
+
const hasLocalArtifact = Boolean(buildPath || packagePath || appPath);
|
|
192
|
+
const showBuiltBadge = hasLocalArtifact || !distributionLabel;
|
|
193
|
+
return (_jsxs("div", { className: "rounded-2xl border border-border/60 bg-bg/30 p-4 space-y-3", children: [_jsxs("div", { className: "flex flex-wrap items-center justify-between gap-2", children: [_jsxs("div", { className: "space-y-1", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Badge, { variant: "outline", children: browserLabel }), distributionLabel ? (_jsx(Badge, { variant: "secondary", children: distributionLabel })) : null, showBuiltBadge && hasLocalArtifact ? (_jsx(Badge, { variant: "secondary", children: "Built" })) : null, showBuiltBadge && !hasLocalArtifact ? (_jsx(Badge, { variant: "outline", children: "Not built" })) : null] }), _jsx("p", { className: "text-sm text-muted", children: installHintText })] }), _jsxs("div", { className: "flex flex-wrap gap-2", children: [_jsxs(Button, { size: "sm", disabled: busy, onClick: () => void onInstall(browser), children: [_jsx(Sparkles, { className: "mr-2 h-3.5 w-3.5" }), busy ? "Preparing…" : installLabel] }), _jsxs(Button, { size: "sm", variant: "outline", disabled: busy, onClick: () => void onBuild(browser), children: [_jsx(Package, { className: "mr-2 h-3.5 w-3.5" }), busy ? "Building…" : `Build ${browserLabel}`] }), _jsxs(Button, { size: "sm", variant: "outline", disabled: busy, onClick: () => void onCreatePairing(browser), children: [_jsx(Sparkles, { className: "mr-2 h-3.5 w-3.5" }), "Pair ", browserLabel] }), pairing ? (_jsxs(Button, { size: "sm", variant: "outline", disabled: busy, onClick: () => void onCopyPairing(browser), children: [_jsx(Copy, { className: "mr-2 h-3.5 w-3.5" }), "Copy pairing JSON"] })) : null, packagePath ? (_jsxs(Button, { size: "sm", variant: "outline", disabled: busy, onClick: () => void onDownload(browser), children: [_jsx(Download, { className: "mr-2 h-3.5 w-3.5" }), "Download zip"] })) : null] })] }), _jsxs("div", { className: "grid gap-2 text-xs text-muted", children: [buildPath ? (_jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 p-3", children: [_jsx("div", { className: "font-semibold text-txt", children: "Build folder" }), _jsx("div", { className: "mt-1 break-all font-mono", children: buildPath }), isElectrobunRuntime() ? (_jsx("div", { className: "mt-2", children: _jsxs(Button, { size: "sm", variant: "outline", onClick: () => void onOpenPath(buildPath, true), children: [_jsx(FolderOpen, { className: "mr-2 h-3.5 w-3.5" }), "Reveal build"] }) })) : null] })) : null, packagePath ? (_jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 p-3", children: [_jsx("div", { className: "font-semibold text-txt", children: "Package" }), _jsx("div", { className: "mt-1 break-all font-mono", children: packagePath }), isElectrobunRuntime() ? (_jsx("div", { className: "mt-2", children: _jsxs(Button, { size: "sm", variant: "outline", onClick: () => void onOpenPath(packagePath, true), children: [_jsx(FolderOpen, { className: "mr-2 h-3.5 w-3.5" }), "Reveal package"] }) })) : null] })) : null, appPath ? (_jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 p-3", children: [_jsx("div", { className: "font-semibold text-txt", children: "App bundle" }), _jsx("div", { className: "mt-1 break-all font-mono", children: appPath }), isElectrobunRuntime() ? (_jsxs("div", { className: "mt-2 flex flex-wrap gap-2", children: [_jsx(Button, { size: "sm", variant: "outline", onClick: () => void onOpenPath(appPath), children: "Open app" }), _jsxs(Button, { size: "sm", variant: "outline", onClick: () => void onOpenPath(appPath, true), children: [_jsx(FolderOpen, { className: "mr-2 h-3.5 w-3.5" }), "Reveal app"] })] })) : null] })) : null] })] }));
|
|
194
|
+
}
|
|
195
|
+
export function LifeOpsBrowserSetupPanel() {
|
|
196
|
+
const [draft, setDraft] = useState(null);
|
|
197
|
+
const [companions, setCompanions] = useState([]);
|
|
198
|
+
const [currentPage, setCurrentPage] = useState(null);
|
|
199
|
+
const [packageStatus, setPackageStatus] = useState(null);
|
|
200
|
+
const [pairings, setPairings] = useState({});
|
|
201
|
+
const [loading, setLoading] = useState(true);
|
|
202
|
+
const [savingSettings, setSavingSettings] = useState(false);
|
|
203
|
+
const [buildingBrowser, setBuildingBrowser] = useState(null);
|
|
204
|
+
const [pairingBrowser, setPairingBrowser] = useState(null);
|
|
205
|
+
const [installingBrowser, setInstallingBrowser] = useState(null);
|
|
206
|
+
const [statusMessage, setStatusMessage] = useState(null);
|
|
207
|
+
const [error, setError] = useState(null);
|
|
208
|
+
const refresh = useCallback(async () => {
|
|
209
|
+
setLoading(true);
|
|
210
|
+
setError(null);
|
|
211
|
+
try {
|
|
212
|
+
const [settingsResponse, companionsResponse, currentPageResponse, status,] = await Promise.all([
|
|
213
|
+
client.getLifeOpsBrowserSettings(),
|
|
214
|
+
client.listLifeOpsBrowserCompanions(),
|
|
215
|
+
client.getLifeOpsBrowserCurrentPage(),
|
|
216
|
+
client.getLifeOpsBrowserPackageStatus(),
|
|
217
|
+
]);
|
|
218
|
+
setDraft(settingsToDraft(settingsResponse.settings));
|
|
219
|
+
setCompanions(companionsResponse.companions);
|
|
220
|
+
setCurrentPage(currentPageResponse.page
|
|
221
|
+
? `${currentPageResponse.page.title} ${currentPageResponse.page.url}`
|
|
222
|
+
: null);
|
|
223
|
+
setPackageStatus((current) => mergePackageStatus(current, status.status));
|
|
224
|
+
}
|
|
225
|
+
catch (cause) {
|
|
226
|
+
setError(cause instanceof Error ? cause.message : String(cause));
|
|
227
|
+
}
|
|
228
|
+
finally {
|
|
229
|
+
setLoading(false);
|
|
230
|
+
}
|
|
231
|
+
}, []);
|
|
232
|
+
useEffect(() => {
|
|
233
|
+
void refresh();
|
|
234
|
+
}, [refresh]);
|
|
235
|
+
const companionByBrowser = useMemo(() => {
|
|
236
|
+
const map = new Map();
|
|
237
|
+
for (const companion of companions) {
|
|
238
|
+
if (!map.has(companion.browser)) {
|
|
239
|
+
map.set(companion.browser, companion);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
return map;
|
|
243
|
+
}, [companions]);
|
|
244
|
+
const pairingPayloads = useMemo(() => {
|
|
245
|
+
const payloads = {};
|
|
246
|
+
for (const browser of ["chrome", "safari"]) {
|
|
247
|
+
const pairing = pairings[browser];
|
|
248
|
+
if (pairing) {
|
|
249
|
+
payloads[browser] = JSON.stringify(pairingPayload(pairing), null, 2);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
return payloads;
|
|
253
|
+
}, [pairings]);
|
|
254
|
+
const updateDraft = (key, value) => {
|
|
255
|
+
setDraft((current) => (current ? { ...current, [key]: value } : current));
|
|
256
|
+
};
|
|
257
|
+
const saveSettings = async () => {
|
|
258
|
+
if (!draft) {
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
setSavingSettings(true);
|
|
262
|
+
setError(null);
|
|
263
|
+
try {
|
|
264
|
+
const maxRememberedTabs = Math.max(1, Number.parseInt(draft.maxRememberedTabs, 10) || 10);
|
|
265
|
+
const response = await client.updateLifeOpsBrowserSettings({
|
|
266
|
+
enabled: draft.enabled,
|
|
267
|
+
trackingMode: draft.trackingMode,
|
|
268
|
+
allowBrowserControl: draft.allowBrowserControl,
|
|
269
|
+
requireConfirmationForAccountAffecting: draft.requireConfirmationForAccountAffecting,
|
|
270
|
+
incognitoEnabled: draft.incognitoEnabled,
|
|
271
|
+
siteAccessMode: draft.siteAccessMode,
|
|
272
|
+
grantedOrigins: parseOriginLines(draft.grantedOriginsText),
|
|
273
|
+
blockedOrigins: parseOriginLines(draft.blockedOriginsText),
|
|
274
|
+
maxRememberedTabs,
|
|
275
|
+
pauseUntil: parseDateTimeLocalValue(draft.pauseUntilLocal),
|
|
276
|
+
});
|
|
277
|
+
setDraft(settingsToDraft(response.settings));
|
|
278
|
+
setStatusMessage("Saved LifeOps Browser settings.");
|
|
279
|
+
}
|
|
280
|
+
catch (cause) {
|
|
281
|
+
setError(cause instanceof Error ? cause.message : String(cause));
|
|
282
|
+
}
|
|
283
|
+
finally {
|
|
284
|
+
setSavingSettings(false);
|
|
285
|
+
}
|
|
286
|
+
};
|
|
287
|
+
const buildPackage = async (browser, options) => {
|
|
288
|
+
setBuildingBrowser(browser);
|
|
289
|
+
setError(null);
|
|
290
|
+
try {
|
|
291
|
+
const response = await client.buildLifeOpsBrowserCompanionPackage(browser);
|
|
292
|
+
const nextStatus = mergePackageStatus(packageStatus, response.status);
|
|
293
|
+
setPackageStatus(nextStatus);
|
|
294
|
+
if (!options?.silent) {
|
|
295
|
+
setStatusMessage(`Built ${browser === "chrome" ? "Chrome" : "Safari"} companion package.`);
|
|
296
|
+
}
|
|
297
|
+
return nextStatus;
|
|
298
|
+
}
|
|
299
|
+
catch (cause) {
|
|
300
|
+
setError(cause instanceof Error ? cause.message : String(cause));
|
|
301
|
+
throw cause;
|
|
302
|
+
}
|
|
303
|
+
finally {
|
|
304
|
+
setBuildingBrowser(null);
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
const createPairing = async (browser, options) => {
|
|
308
|
+
setPairingBrowser(browser);
|
|
309
|
+
setError(null);
|
|
310
|
+
try {
|
|
311
|
+
const response = await client.createLifeOpsBrowserCompanionPairing(normalizePairingRequest(browser, companionByBrowser.get(browser) ?? null));
|
|
312
|
+
setPairings((current) => ({
|
|
313
|
+
...current,
|
|
314
|
+
[browser]: response,
|
|
315
|
+
}));
|
|
316
|
+
if (!options?.silent) {
|
|
317
|
+
setStatusMessage(`Created a ${browser} pairing payload. Import it into the companion popup.`);
|
|
318
|
+
}
|
|
319
|
+
await refresh();
|
|
320
|
+
return response;
|
|
321
|
+
}
|
|
322
|
+
catch (cause) {
|
|
323
|
+
setError(cause instanceof Error ? cause.message : String(cause));
|
|
324
|
+
throw cause;
|
|
325
|
+
}
|
|
326
|
+
finally {
|
|
327
|
+
setPairingBrowser(null);
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
const copyPairing = async (browser) => {
|
|
331
|
+
try {
|
|
332
|
+
const payload = pairingPayloads[browser];
|
|
333
|
+
if (!payload) {
|
|
334
|
+
return;
|
|
335
|
+
}
|
|
336
|
+
await copyTextToClipboard(payload);
|
|
337
|
+
setStatusMessage(`Copied ${browser} pairing JSON to the clipboard.`);
|
|
338
|
+
setError(null);
|
|
339
|
+
}
|
|
340
|
+
catch (cause) {
|
|
341
|
+
setError(cause instanceof Error ? cause.message : String(cause));
|
|
342
|
+
}
|
|
343
|
+
};
|
|
344
|
+
const downloadPackage = async (browser, options) => {
|
|
345
|
+
try {
|
|
346
|
+
setError(null);
|
|
347
|
+
const download = await client.downloadLifeOpsBrowserCompanionPackage(browser);
|
|
348
|
+
const objectUrl = URL.createObjectURL(download.blob);
|
|
349
|
+
const anchor = document.createElement("a");
|
|
350
|
+
anchor.href = objectUrl;
|
|
351
|
+
anchor.download = download.filename;
|
|
352
|
+
anchor.rel = "noopener";
|
|
353
|
+
document.body.appendChild(anchor);
|
|
354
|
+
anchor.click();
|
|
355
|
+
anchor.remove();
|
|
356
|
+
window.setTimeout(() => {
|
|
357
|
+
URL.revokeObjectURL(objectUrl);
|
|
358
|
+
}, 0);
|
|
359
|
+
if (!options?.silent) {
|
|
360
|
+
setStatusMessage(`Downloaded ${browser === "chrome" ? "Chrome" : "Safari"} companion package.`);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
catch (cause) {
|
|
364
|
+
setError(cause instanceof Error ? cause.message : String(cause));
|
|
365
|
+
throw cause;
|
|
366
|
+
}
|
|
367
|
+
};
|
|
368
|
+
const openPath = async (pathValue, revealOnly = false) => {
|
|
369
|
+
try {
|
|
370
|
+
if (isElectrobunRuntime()) {
|
|
371
|
+
await openDesktopPath(pathValue, revealOnly);
|
|
372
|
+
setError(null);
|
|
373
|
+
return;
|
|
374
|
+
}
|
|
375
|
+
await copyTextToClipboard(pathValue);
|
|
376
|
+
setStatusMessage("Copied the local path to the clipboard.");
|
|
377
|
+
setError(null);
|
|
378
|
+
}
|
|
379
|
+
catch (cause) {
|
|
380
|
+
setError(cause instanceof Error ? cause.message : String(cause));
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
const installCompanion = async (browser) => {
|
|
384
|
+
setInstallingBrowser(browser);
|
|
385
|
+
setError(null);
|
|
386
|
+
try {
|
|
387
|
+
const releaseTarget = releaseTargetForBrowser(browser, packageStatus?.releaseManifest);
|
|
388
|
+
const response = await createPairing(browser, { silent: true });
|
|
389
|
+
await copyTextToClipboard(JSON.stringify(pairingPayload(response), null, 2));
|
|
390
|
+
if (releaseTarget?.installUrl) {
|
|
391
|
+
await openExternalUrl(releaseTarget.installUrl);
|
|
392
|
+
setStatusMessage(releaseTarget.installKind === "chrome_web_store"
|
|
393
|
+
? "Chrome install is prepared. We copied the pairing JSON and opened the Chrome Web Store listing. Install the release build, then import the copied pairing JSON in the extension popup."
|
|
394
|
+
: releaseTarget.installKind === "apple_app_store"
|
|
395
|
+
? "Safari install is prepared. We copied the pairing JSON and opened the App Store listing. Install the release app, enable the Safari extension, then import the copied pairing JSON."
|
|
396
|
+
: `${browser === "chrome" ? "Chrome" : "Safari"} install is prepared. We copied the pairing JSON and opened the release download. Install the release build, then import the copied pairing JSON in the extension popup.`);
|
|
397
|
+
return;
|
|
398
|
+
}
|
|
399
|
+
const needsBuild = browser === "chrome"
|
|
400
|
+
? isElectrobunRuntime()
|
|
401
|
+
? !packageStatus?.chromeBuildPath
|
|
402
|
+
: !packageStatus?.chromePackagePath
|
|
403
|
+
: isElectrobunRuntime()
|
|
404
|
+
? !packageStatus?.safariAppPath
|
|
405
|
+
: !packageStatus?.safariPackagePath;
|
|
406
|
+
const nextStatus = needsBuild
|
|
407
|
+
? await buildPackage(browser, { silent: true })
|
|
408
|
+
: packageStatus;
|
|
409
|
+
if (browser === "chrome") {
|
|
410
|
+
if (isElectrobunRuntime()) {
|
|
411
|
+
const buildPath = nextStatus?.chromeBuildPath;
|
|
412
|
+
if (!buildPath) {
|
|
413
|
+
throw new Error("Chrome build folder is not available");
|
|
414
|
+
}
|
|
415
|
+
await openDesktopPath(buildPath, true);
|
|
416
|
+
}
|
|
417
|
+
else {
|
|
418
|
+
await downloadPackage(browser, { silent: true });
|
|
419
|
+
}
|
|
420
|
+
await openExternalUrl(CHROME_EXTENSIONS_URL);
|
|
421
|
+
setStatusMessage("Chrome install is prepared. We copied the pairing JSON and opened the extension manager. In Chrome, click Load unpacked and select the built LifeOps Browser folder.");
|
|
422
|
+
}
|
|
423
|
+
else {
|
|
424
|
+
if (isElectrobunRuntime()) {
|
|
425
|
+
const appPath = nextStatus?.safariAppPath;
|
|
426
|
+
if (!appPath) {
|
|
427
|
+
throw new Error("Safari app bundle is not available");
|
|
428
|
+
}
|
|
429
|
+
await openDesktopPath(appPath);
|
|
430
|
+
}
|
|
431
|
+
else {
|
|
432
|
+
await downloadPackage(browser, { silent: true });
|
|
433
|
+
}
|
|
434
|
+
setStatusMessage("Safari install is prepared. We copied the pairing JSON and opened the LifeOps Browser app or package. Run the app once, then enable the extension in Safari Settings.");
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
catch (cause) {
|
|
438
|
+
setError(cause instanceof Error ? cause.message : String(cause));
|
|
439
|
+
}
|
|
440
|
+
finally {
|
|
441
|
+
setInstallingBrowser(null);
|
|
442
|
+
}
|
|
443
|
+
};
|
|
444
|
+
return (_jsxs(Card, { className: "border-border/60 bg-bg/20", children: [_jsxs(CardHeader, { className: "space-y-3", children: [_jsxs("div", { className: "flex flex-wrap items-start justify-between gap-3", children: [_jsxs("div", { className: "space-y-2", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(ShieldCheck, { className: "h-4 w-4 text-muted" }), _jsx(CardTitle, { className: "text-sm font-semibold", children: "LifeOps Browser" })] }), _jsx("p", { className: "text-sm text-muted", children: "Personal Chrome and Safari companions for the user\u2019s browser, separate from the browser workspace." })] }), _jsxs(Button, { size: "sm", variant: "outline", onClick: () => void refresh(), children: [_jsx(RefreshCw, { className: "mr-2 h-3.5 w-3.5" }), "Refresh"] })] }), currentPage ? (_jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 px-3 py-2 text-xs text-muted", children: ["Current page: ", _jsx("span", { className: "text-txt", children: currentPage })] })) : null, statusMessage ? (_jsx("div", { className: "rounded-xl border border-border/60 bg-bg/40 px-3 py-2 text-xs text-txt", children: statusMessage })) : null, error ? (_jsx("div", { className: "rounded-xl border border-danger/50 bg-danger/10 px-3 py-2 text-xs text-danger", children: error })) : null] }), _jsxs(CardContent, { className: "space-y-5", children: [_jsxs("div", { className: "grid gap-3 md:grid-cols-2", children: [_jsx(BrowserCompanionRow, { browser: "chrome", buildPath: packageStatus?.chromeBuildPath, packagePath: packageStatus?.chromePackagePath, releaseManifest: packageStatus?.releaseManifest ?? null, busy: buildingBrowser === "chrome" ||
|
|
445
|
+
pairingBrowser === "chrome" ||
|
|
446
|
+
installingBrowser === "chrome", pairing: pairings.chrome ?? null, onInstall: installCompanion, onBuild: buildPackage, onCreatePairing: createPairing, onCopyPairing: copyPairing, onDownload: downloadPackage, onOpenPath: openPath }), _jsx(BrowserCompanionRow, { browser: "safari", buildPath: packageStatus?.safariWebExtensionPath, packagePath: packageStatus?.safariPackagePath, appPath: packageStatus?.safariAppPath, releaseManifest: packageStatus?.releaseManifest ?? null, busy: buildingBrowser === "safari" ||
|
|
447
|
+
pairingBrowser === "safari" ||
|
|
448
|
+
installingBrowser === "safari", pairing: pairings.safari ?? null, onInstall: installCompanion, onBuild: buildPackage, onCreatePairing: createPairing, onCopyPairing: copyPairing, onDownload: downloadPackage, onOpenPath: openPath })] }), ["chrome", "safari"].map((browser) => {
|
|
449
|
+
const payload = pairingPayloads[browser];
|
|
450
|
+
if (!payload) {
|
|
451
|
+
return null;
|
|
452
|
+
}
|
|
453
|
+
return (_jsxs("div", { className: "rounded-2xl border border-border/60 bg-bg/30 p-4 space-y-2", children: [_jsxs("div", { className: "flex items-center justify-between gap-2", children: [_jsxs("div", { className: "text-sm font-semibold text-txt", children: [browser === "chrome" ? "Chrome" : "Safari", " pairing payload"] }), _jsxs(Button, { size: "sm", variant: "outline", onClick: () => void copyPairing(browser), children: [_jsx(Copy, { className: "mr-2 h-3.5 w-3.5" }), "Copy"] })] }), _jsx(Textarea, { readOnly: true, rows: 8, value: payload, className: "font-mono text-xs" })] }, browser));
|
|
454
|
+
}), draft ? (_jsxs("div", { className: "rounded-2xl border border-border/60 bg-bg/30 p-4 space-y-4", children: [_jsxs("div", { className: "flex items-center justify-between gap-2", children: [_jsx("div", { className: "text-sm font-semibold text-txt", children: "LifeOps Browser settings" }), _jsx(Button, { size: "sm", variant: "outline", disabled: savingSettings || loading, onClick: () => void saveSettings(), children: savingSettings ? "Saving…" : "Save settings" })] }), _jsxs("div", { className: "grid gap-4 md:grid-cols-2", children: [_jsxs("div", { className: "flex items-center justify-between gap-3 rounded-xl border border-border/60 bg-bg/40 px-3 py-2", children: [_jsxs("div", { children: [_jsx("div", { className: "text-sm font-medium text-txt", children: "Enabled" }), _jsx("div", { className: "text-xs text-muted", children: "Allow the personal browser companion to sync with LifeOps." })] }), _jsx(Switch, { checked: draft.enabled, onCheckedChange: (checked) => updateDraft("enabled", checked) })] }), _jsxs("div", { className: "flex items-center justify-between gap-3 rounded-xl border border-border/60 bg-bg/40 px-3 py-2", children: [_jsxs("div", { children: [_jsx("div", { className: "text-sm font-medium text-txt", children: "Browser control" }), _jsx("div", { className: "text-xs text-muted", children: "Let approved sessions drive the personal browser." })] }), _jsx(Switch, { checked: draft.allowBrowserControl, onCheckedChange: (checked) => updateDraft("allowBrowserControl", checked) })] }), _jsxs("div", { className: "flex items-center justify-between gap-3 rounded-xl border border-border/60 bg-bg/40 px-3 py-2", children: [_jsxs("div", { children: [_jsx("div", { className: "text-sm font-medium text-txt", children: "Require confirmation" }), _jsx("div", { className: "text-xs text-muted", children: "Keep account-affecting actions gated by confirmation." })] }), _jsx(Switch, { checked: draft.requireConfirmationForAccountAffecting, onCheckedChange: (checked) => updateDraft("requireConfirmationForAccountAffecting", checked) })] }), _jsxs("div", { className: "flex items-center justify-between gap-3 rounded-xl border border-border/60 bg-bg/40 px-3 py-2", children: [_jsxs("div", { children: [_jsx("div", { className: "text-sm font-medium text-txt", children: "Incognito access" }), _jsx("div", { className: "text-xs text-muted", children: "Allow companion sync from incognito browser tabs." })] }), _jsx(Switch, { checked: draft.incognitoEnabled, onCheckedChange: (checked) => updateDraft("incognitoEnabled", checked) })] })] }), _jsxs("div", { className: "space-y-2", children: [_jsx(Label, { className: "text-xs uppercase tracking-[0.08em] text-muted", children: "Tracking mode" }), _jsx("div", { className: "flex flex-wrap gap-2", children: ["off", "current_tab", "active_tabs"].map((mode) => (_jsx(Button, { size: "sm", variant: draft.trackingMode === mode ? "default" : "outline", onClick: () => updateDraft("trackingMode", mode), children: mode === "off"
|
|
455
|
+
? "Off"
|
|
456
|
+
: mode === "current_tab"
|
|
457
|
+
? "Current tab"
|
|
458
|
+
: "Active tabs" }, mode))) })] }), _jsxs("div", { className: "space-y-2", children: [_jsx(Label, { className: "text-xs uppercase tracking-[0.08em] text-muted", children: "Site access mode" }), _jsx("div", { className: "flex flex-wrap gap-2", children: LIFEOPS_BROWSER_SITE_ACCESS_MODES.map((mode) => (_jsx(Button, { size: "sm", variant: draft.siteAccessMode === mode ? "default" : "outline", onClick: () => updateDraft("siteAccessMode", mode), children: mode === "current_site_only"
|
|
459
|
+
? "Current site"
|
|
460
|
+
: mode === "granted_sites"
|
|
461
|
+
? "Granted sites"
|
|
462
|
+
: "All sites" }, mode))) })] }), _jsxs("div", { className: "grid gap-4 md:grid-cols-[minmax(0,1fr)_220px]", children: [_jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "lifeops-browser-max-tabs", children: "Max remembered tabs" }), _jsx(Input, { id: "lifeops-browser-max-tabs", value: draft.maxRememberedTabs, onChange: (event) => updateDraft("maxRememberedTabs", event.currentTarget.value), inputMode: "numeric" })] }), _jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 px-3 py-2 text-xs text-muted", children: ["Connected companions:", " ", _jsx("span", { className: "text-txt", children: companions.length }), _jsx("br", {}), "Extension workspace:", " ", _jsx("span", { className: "break-all font-mono text-xs-tight text-txt", children: packageStatus?.extensionPath ?? "Unavailable" })] })] }), _jsxs("div", { className: "grid gap-4 md:grid-cols-[minmax(0,1fr)_auto_auto]", children: [_jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "lifeops-browser-pause-until", children: "Pause sharing until" }), _jsx(Input, { id: "lifeops-browser-pause-until", type: "datetime-local", value: draft.pauseUntilLocal, onChange: (event) => updateDraft("pauseUntilLocal", event.currentTarget.value) })] }), _jsx(Button, { size: "sm", variant: "outline", className: "self-end", onClick: () => updateDraft("pauseUntilLocal", formatDateTimeLocalValue(new Date(Date.now() + 60 * 60 * 1000).toISOString())), children: "Pause 1 hour" }), _jsx(Button, { size: "sm", variant: "outline", className: "self-end", onClick: () => updateDraft("pauseUntilLocal", ""), children: "Resume now" })] }), _jsxs("div", { className: "grid gap-4 md:grid-cols-2", children: [_jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "lifeops-browser-granted-origins", children: "Granted origins" }), _jsx(Textarea, { id: "lifeops-browser-granted-origins", rows: 5, placeholder: "https://mail.google.com", value: draft.grantedOriginsText, onChange: (event) => updateDraft("grantedOriginsText", event.currentTarget.value) })] }), _jsxs("div", { className: "space-y-2", children: [_jsx(Label, { htmlFor: "lifeops-browser-blocked-origins", children: "Blocked origins" }), _jsx(Textarea, { id: "lifeops-browser-blocked-origins", rows: 5, placeholder: "https://bank.example.com", value: draft.blockedOriginsText, onChange: (event) => updateDraft("blockedOriginsText", event.currentTarget.value) })] })] }), _jsx("div", { className: "rounded-xl border border-border/60 bg-bg/40 px-3 py-2 text-xs text-muted", children: "Install Chrome or Safari in one click here. The framework builds the companion, prepares a fresh pairing token, and launches the next destination for that browser. Chrome still requires Load unpacked approval, and Safari still requires enabling the extension in Safari Settings." })] })) : loading ? (_jsx("div", { className: "text-sm text-muted", children: "Loading LifeOps Browser settings\u2026" })) : null, companions.length > 0 ? (_jsxs("div", { className: "rounded-2xl border border-border/60 bg-bg/30 p-4 space-y-2", children: [_jsx("div", { className: "text-sm font-semibold text-txt", children: "Paired companions" }), _jsx("div", { className: "grid gap-2 text-sm", children: companions.map((companion) => (_jsxs("div", { className: "rounded-xl border border-border/60 bg-bg/40 px-3 py-2", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsxs(Badge, { variant: "outline", children: [companion.browser, "/", companion.profileLabel] }), _jsx(Badge, { variant: "secondary", children: companion.connectionState })] }), _jsxs("div", { className: "mt-1 text-xs text-muted", children: ["Last seen:", " ", formatTimestamp(companion.lastSeenAt) ?? "Never"] }), _jsx("div", { className: "mt-1 text-xs text-muted", children: permissionSummary(companion.permissions) })] }, companion.id))) })] })) : null] })] }));
|
|
463
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { LifeOpsActiveReminderView, LifeOpsGoalDefinition, LifeOpsOccurrenceView } from "@elizaos/shared/contracts/lifeops";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
import type { CloudCompatAgent, CloudCompatManagedGithubStatus, CloudOAuthConnection } from "@elizaos/app-core";
|
|
4
|
+
export type ManagedAgentGithubEntry = {
|
|
5
|
+
agent: CloudCompatAgent;
|
|
6
|
+
github: CloudCompatManagedGithubStatus | null;
|
|
7
|
+
};
|
|
8
|
+
export declare function occurrenceSortValue(occurrence: LifeOpsOccurrenceView): number;
|
|
9
|
+
export declare function SectionSurface({ title, icon, subtitle, children, }: {
|
|
10
|
+
title: string;
|
|
11
|
+
icon: ReactNode;
|
|
12
|
+
subtitle: string;
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function SummaryMetric({ label, value, detail, }: {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
detail: string;
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function OccurrenceList({ occurrences, }: {
|
|
21
|
+
occurrences: LifeOpsOccurrenceView[];
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function GoalList({ goals }: {
|
|
24
|
+
goals: LifeOpsGoalDefinition[];
|
|
25
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare function ReminderList({ reminders, }: {
|
|
27
|
+
reminders: LifeOpsActiveReminderView[];
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare function OwnerGithubConnectionCard({ connection, busy, onDisconnect, }: {
|
|
30
|
+
connection: CloudOAuthConnection;
|
|
31
|
+
busy: boolean;
|
|
32
|
+
onDisconnect: (connectionId: string) => void;
|
|
33
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export declare function AgentGithubCard({ entry, ownerConnections, busyAgentId, onConnect, onDisconnect, onUseOwnerConnection, }: {
|
|
35
|
+
entry: ManagedAgentGithubEntry;
|
|
36
|
+
ownerConnections: CloudOAuthConnection[];
|
|
37
|
+
busyAgentId: string | null;
|
|
38
|
+
onConnect: (agentId: string) => void;
|
|
39
|
+
onDisconnect: (agentId: string) => void;
|
|
40
|
+
onUseOwnerConnection: (agentId: string, connectionId: string) => void;
|
|
41
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
//# sourceMappingURL=LifeOpsPageSections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LifeOpsPageSections.d.ts","sourceRoot":"","sources":["../../../../../../apps/app-lifeops/src/LifeOpsPageSections.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EAEzB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,gBAAgB,EAChB,8BAA8B,EAC9B,oBAAoB,EACrB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,gBAAgB,CAAC;IACxB,MAAM,EAAE,8BAA8B,GAAG,IAAI,CAAC;CAC/C,CAAC;AA+CF,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,qBAAqB,GAAG,MAAM,CAiB7E;AAsED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAeA;AAED,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,2CAUA;AAED,wBAAgB,cAAc,CAAC,EAC7B,WAAW,GACZ,EAAE;IACD,WAAW,EAAE,qBAAqB,EAAE,CAAC;CACtC,2CA2CA;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,qBAAqB,EAAE,CAAA;CAAE,2CAkDrE;AAED,wBAAgB,YAAY,CAAC,EAC3B,SAAS,GACV,EAAE;IACD,SAAS,EAAE,yBAAyB,EAAE,CAAC;CACxC,2CAuCA;AAED,wBAAgB,yBAAyB,CAAC,EACxC,UAAU,EACV,IAAI,EACJ,YAAY,GACb,EAAE;IACD,UAAU,EAAE,oBAAoB,CAAC;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,2CAuDA;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,YAAY,EACZ,oBAAoB,GACrB,EAAE;IACD,KAAK,EAAE,uBAAuB,CAAC;IAC/B,gBAAgB,EAAE,oBAAoB,EAAE,CAAC;IACzC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,oBAAoB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CACvE,2CAqHA"}
|