@elizaos/ui 2.0.0-alpha.382 → 2.0.0-alpha.385
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/components/avatar/VrmViewer.d.ts.map +1 -1
- package/apps/app-companion/src/components/avatar/VrmViewer.js +2 -1
- package/apps/app-companion/src/components/companion/CompanionAppView.d.ts.map +1 -1
- package/apps/app-companion/src/components/companion/CompanionAppView.js +2 -1
- package/apps/app-companion/src/components/companion/CompanionView.d.ts.map +1 -1
- package/apps/app-companion/src/components/companion/CompanionView.js +2 -1
- package/apps/app-companion/src/components/companion/EmotePicker.d.ts.map +1 -1
- package/apps/app-companion/src/components/companion/EmotePicker.js +1 -1
- package/apps/app-companion/src/components/companion/scene-overlay-bridge.d.ts.map +1 -1
- package/apps/app-companion/src/components/companion/scene-overlay-bridge.js +2 -1
- package/apps/app-companion/src/index.d.ts +3 -3
- package/apps/app-companion/src/index.d.ts.map +1 -1
- package/apps/app-companion/src/index.js +3 -3
- package/apps/app-elizamaker/src/drop-service.d.ts +2 -2
- package/apps/app-elizamaker/src/drop-service.d.ts.map +1 -1
- package/apps/app-elizamaker/src/twitter-verify.d.ts +2 -2
- package/apps/app-elizamaker/src/twitter-verify.d.ts.map +1 -1
- package/apps/app-lifeops/src/api/client-lifeops.d.ts +1 -1
- package/apps/app-lifeops/src/api/client-lifeops.d.ts.map +1 -1
- package/apps/app-lifeops/src/contracts/index.d.ts +1 -1
- package/apps/app-lifeops/src/contracts/index.d.ts.map +1 -1
- package/apps/app-lifeops/src/contracts/index.js +1 -1
- package/apps/app-lifeops/src/inbox/message-fetcher.d.ts.map +1 -1
- package/apps/app-lifeops/src/inbox/message-fetcher.js +4 -2
- package/apps/app-lifeops/src/lifeops/google-managed-client.d.ts.map +1 -1
- package/apps/app-lifeops/src/lifeops/google-managed-client.js +4 -3
- package/apps/app-lifeops/src/lifeops/paypal-managed-client.d.ts.map +1 -1
- package/apps/app-lifeops/src/lifeops/paypal-managed-client.js +4 -3
- package/apps/app-lifeops/src/lifeops/plaid-managed-client.d.ts.map +1 -1
- package/apps/app-lifeops/src/lifeops/plaid-managed-client.js +4 -3
- package/apps/app-lifeops/src/lifeops/repository.d.ts +12 -1
- package/apps/app-lifeops/src/lifeops/repository.d.ts.map +1 -1
- package/apps/app-lifeops/src/lifeops/repository.js +135 -0
- package/apps/app-lifeops/src/lifeops/schedule-sync-client.js +1 -1
- package/apps/app-lifeops/src/lifeops/schema.d.ts +4587 -3791
- package/apps/app-lifeops/src/lifeops/schema.d.ts.map +1 -1
- package/apps/app-lifeops/src/lifeops/schema.js +30 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-inbox.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-inbox.d.ts.map +1 -1
- package/apps/app-lifeops/src/lifeops/service-mixin-inbox.js +103 -13
- package/apps/app-lifeops/src/routes/cloud-features-routes.d.ts.map +1 -1
- package/apps/app-lifeops/src/routes/cloud-features-routes.js +2 -1
- package/apps/app-lifeops/src/routes/travel-provider-relay-routes.d.ts.map +1 -1
- package/apps/app-lifeops/src/routes/travel-provider-relay-routes.js +2 -1
- package/package.json +1 -1
- package/packages/agent/src/actions/grounded-action-reply.d.ts.map +1 -1
- package/packages/agent/src/actions/grounded-action-reply.js +1 -1
- package/packages/agent/src/actions/index.d.ts +1 -0
- package/packages/agent/src/actions/index.d.ts.map +1 -1
- package/packages/agent/src/actions/index.js +1 -0
- package/packages/agent/src/actions/scratchpad.d.ts +7 -0
- package/packages/agent/src/actions/scratchpad.d.ts.map +1 -0
- package/packages/agent/src/actions/scratchpad.js +394 -0
- package/packages/agent/src/actions/settings-actions.js +1 -1
- package/packages/agent/src/actions/terminal.d.ts.map +1 -1
- package/packages/agent/src/actions/terminal.js +10 -2
- package/packages/agent/src/api/apps-routes.d.ts.map +1 -1
- package/packages/agent/src/api/apps-routes.js +171 -0
- package/packages/agent/src/api/binance-skill-helpers.d.ts.map +1 -1
- package/packages/agent/src/api/chat-routes.d.ts +3 -0
- package/packages/agent/src/api/chat-routes.d.ts.map +1 -1
- package/packages/agent/src/api/chat-routes.js +33 -14
- package/packages/agent/src/api/conversation-routes.js +2 -2
- package/packages/agent/src/api/misc-routes.d.ts.map +1 -1
- package/packages/agent/src/api/misc-routes.js +2 -2
- package/packages/agent/src/api/permissions-routes.js +1 -1
- package/packages/agent/src/api/plugin-routes.d.ts.map +1 -1
- package/packages/agent/src/api/plugin-routes.js +7 -1
- package/packages/agent/src/api/provider-switch-config.js +1 -1
- package/packages/agent/src/api/registry-service.d.ts +1 -1
- package/packages/agent/src/api/registry-service.d.ts.map +1 -1
- package/packages/agent/src/api/server-auth.d.ts.map +1 -1
- package/packages/agent/src/api/server-auth.js +119 -1
- package/packages/agent/src/api/server-helpers-auth.d.ts.map +1 -1
- package/packages/agent/src/api/server-helpers-auth.js +119 -1
- package/packages/agent/src/api/server-helpers-swarm.d.ts +1 -1
- package/packages/agent/src/api/server-helpers-swarm.d.ts.map +1 -1
- package/packages/agent/src/api/server-helpers.js +1 -1
- package/packages/agent/src/api/server-types.d.ts +2 -2
- package/packages/agent/src/api/server-types.d.ts.map +1 -1
- package/packages/agent/src/api/server.d.ts.map +1 -1
- package/packages/agent/src/api/server.js +5 -4
- package/packages/agent/src/api/training-backend-check.d.ts +1 -1
- package/packages/agent/src/api/training-backend-check.d.ts.map +1 -1
- package/packages/agent/src/api/training-backend-check.js +1 -1
- package/packages/agent/src/api/training-routes.d.ts +1 -1
- package/packages/agent/src/api/training-routes.d.ts.map +1 -1
- package/packages/agent/src/api/training-routes.js +1 -1
- package/packages/agent/src/api/training-service-like.d.ts +1 -1
- package/packages/agent/src/api/training-service-like.d.ts.map +1 -1
- package/packages/agent/src/api/trajectory-routes.d.ts +1 -1
- package/packages/agent/src/api/trajectory-routes.d.ts.map +1 -1
- package/packages/agent/src/api/trajectory-routes.js +1 -1
- package/packages/agent/src/api/wallet-capability.js +1 -1
- package/packages/agent/src/api/wallet-evm-balance.js +1 -1
- package/packages/agent/src/api/wallet.d.ts +1 -1
- package/packages/agent/src/api/wallet.d.ts.map +1 -1
- package/packages/agent/src/api/wallet.js +2 -2
- package/packages/agent/src/awareness/index.d.ts +2 -0
- package/packages/agent/src/awareness/index.d.ts.map +1 -0
- package/packages/agent/src/awareness/index.js +1 -0
- package/packages/agent/src/config/config.d.ts.map +1 -1
- package/packages/agent/src/config/config.js +2 -0
- package/packages/agent/src/config/index.d.ts +1 -0
- package/packages/agent/src/config/index.d.ts.map +1 -1
- package/packages/agent/src/config/index.js +1 -0
- package/packages/agent/src/config/model-metadata.d.ts +20 -0
- package/packages/agent/src/config/model-metadata.d.ts.map +1 -0
- package/packages/agent/src/config/model-metadata.js +133 -0
- package/packages/agent/src/config/zod-schema.core.d.ts +28 -28
- package/packages/agent/src/config/zod-schema.core.d.ts.map +1 -1
- package/packages/agent/src/config/zod-schema.core.js +16 -9
- package/packages/agent/src/config/zod-schema.d.ts +10 -10
- package/packages/agent/src/index.d.ts +6 -11
- package/packages/agent/src/index.d.ts.map +1 -1
- package/packages/agent/src/index.js +8 -10
- package/packages/agent/src/providers/media-provider.js +1 -1
- package/packages/agent/src/runtime/custom-actions.d.ts.map +1 -1
- package/packages/agent/src/runtime/custom-actions.js +1 -1
- package/packages/agent/src/runtime/eliza-plugin.d.ts.map +1 -1
- package/packages/agent/src/runtime/eliza-plugin.js +6 -0
- package/packages/agent/src/runtime/eliza.d.ts.map +1 -1
- package/packages/agent/src/runtime/eliza.js +7 -7
- package/packages/agent/src/runtime/prompt-optimization.d.ts +24 -1
- package/packages/agent/src/runtime/prompt-optimization.d.ts.map +1 -1
- package/packages/agent/src/runtime/prompt-optimization.js +292 -27
- package/packages/agent/src/runtime/trajectory-internals.d.ts +1 -0
- package/packages/agent/src/runtime/trajectory-internals.d.ts.map +1 -1
- package/packages/agent/src/runtime/trajectory-storage.d.ts.map +1 -1
- package/packages/agent/src/runtime/trajectory-storage.js +3 -0
- package/packages/agent/src/services/index.d.ts +4 -4
- package/packages/agent/src/services/index.d.ts.map +1 -1
- package/packages/agent/src/services/index.js +2 -2
- package/packages/agent/src/services/registry-client-app-meta.d.ts.map +1 -1
- package/packages/agent/src/services/registry-client-app-meta.js +0 -61
- package/packages/agent/src/services/skill-marketplace.d.ts.map +1 -1
- package/packages/app-core/src/App.js +1 -1
- package/packages/app-core/src/api/auth.js +1 -1
- package/packages/app-core/src/api/client-agent.d.ts +1 -2
- package/packages/app-core/src/api/client-agent.d.ts.map +1 -1
- package/packages/app-core/src/api/client-chat.d.ts +10 -1
- package/packages/app-core/src/api/client-chat.d.ts.map +1 -1
- package/packages/app-core/src/api/client-chat.js +33 -0
- package/packages/app-core/src/api/client-skills.d.ts.map +1 -1
- package/packages/app-core/src/api/client-types-chat.d.ts +1 -0
- package/packages/app-core/src/api/client-types-chat.d.ts.map +1 -1
- package/packages/app-core/src/api/client-types-config.d.ts +2 -2
- package/packages/app-core/src/api/client-types-config.d.ts.map +1 -1
- package/packages/app-core/src/api/client-wallet.d.ts +2 -4
- package/packages/app-core/src/api/client-wallet.d.ts.map +1 -1
- package/packages/app-core/src/api/client.d.ts +3 -4
- 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/compat-route-shared.d.ts +1 -1
- package/packages/app-core/src/api/compat-route-shared.d.ts.map +1 -1
- package/packages/app-core/src/api/compat-route-shared.js +117 -1
- package/packages/app-core/src/api/server-cloud-tts.js +1 -1
- package/packages/app-core/src/api/trusted-local-request.d.ts +4 -0
- package/packages/app-core/src/api/trusted-local-request.d.ts.map +1 -0
- package/packages/app-core/src/api/trusted-local-request.js +176 -0
- package/packages/app-core/src/autonomy/index.d.ts.map +1 -1
- package/packages/app-core/src/autonomy/index.js +3 -1
- package/packages/app-core/src/components/auth/LoginView.d.ts +3 -23
- package/packages/app-core/src/components/auth/LoginView.d.ts.map +1 -1
- package/packages/app-core/src/components/auth/LoginView.js +43 -33
- package/packages/app-core/src/components/chat/AppsSection.d.ts.map +1 -1
- package/packages/app-core/src/components/chat/AppsSection.js +61 -6
- package/packages/app-core/src/components/chat/MessageContent.d.ts.map +1 -1
- package/packages/app-core/src/components/chat/MessageContent.js +26 -3
- package/packages/app-core/src/components/chat/message-choice-parser.d.ts +20 -0
- package/packages/app-core/src/components/chat/message-choice-parser.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/message-choice-parser.js +53 -0
- package/packages/app-core/src/components/chat/widgets/ChoiceWidget.d.ts +24 -0
- package/packages/app-core/src/components/chat/widgets/ChoiceWidget.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/widgets/ChoiceWidget.js +38 -0
- package/packages/app-core/src/components/connectors/ConnectorSetupPanel.js +1 -1
- package/packages/app-core/src/components/custom-actions/CustomActionEditor.d.ts.map +1 -1
- package/packages/app-core/src/components/custom-actions/CustomActionsPanel.d.ts.map +1 -1
- package/packages/app-core/src/components/custom-actions/CustomActionsView.d.ts.map +1 -1
- package/packages/app-core/src/components/custom-actions/custom-action-form.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/BrowserWorkspaceView.js +1 -1
- package/packages/app-core/src/components/pages/KnowledgeView.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/KnowledgeView.js +11 -1
- package/packages/app-core/src/components/pages/PluginConfigForm.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/PluginConfigForm.js +1 -1
- package/packages/app-core/src/components/pages/ScratchpadView.d.ts +2 -0
- package/packages/app-core/src/components/pages/ScratchpadView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/ScratchpadView.js +364 -0
- package/packages/app-core/src/components/pages/SettingsView.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/SettingsView.js +29 -5
- package/packages/app-core/src/components/pages/VectorBrowserView.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/VectorBrowserView.js +1 -1
- package/packages/app-core/src/components/pages/config-page-sections.d.ts +1 -1
- package/packages/app-core/src/components/pages/config-page-sections.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/config-page-sections.js +1 -1
- package/packages/app-core/src/components/pages/plugin-list-utils.d.ts +1 -1
- package/packages/app-core/src/components/pages/plugin-list-utils.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.d.ts +1 -1
- package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.js +1 -1
- package/packages/app-core/src/components/settings/ApiKeyConfig.js +1 -1
- package/packages/app-core/src/components/settings/AppearanceSettingsSection.d.ts.map +1 -1
- package/packages/app-core/src/components/settings/AppearanceSettingsSection.js +1 -1
- package/packages/app-core/src/components/settings/AppsManagementSection.d.ts +12 -0
- package/packages/app-core/src/components/settings/AppsManagementSection.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/AppsManagementSection.js +285 -0
- package/packages/app-core/src/components/settings/PermissionsSection.js +1 -1
- package/packages/app-core/src/components/settings/ProviderSwitcher.d.ts.map +1 -1
- package/packages/app-core/src/components/settings/ProviderSwitcher.js +2 -2
- package/packages/app-core/src/components/settings/SecuritySettingsSection.d.ts.map +1 -1
- package/packages/app-core/src/components/settings/SecuritySettingsSection.js +150 -33
- package/packages/app-core/src/components/settings/cloud-model-schema.d.ts +1 -1
- package/packages/app-core/src/components/settings/cloud-model-schema.d.ts.map +1 -1
- package/packages/app-core/src/components/shell/Header.d.ts.map +1 -1
- package/packages/app-core/src/components/shell/Header.js +28 -1
- package/packages/app-core/src/components/steward/injected.d.ts.map +1 -1
- package/packages/app-core/src/components/steward/injected.js +1 -1
- package/packages/app-core/src/components/training/injected.d.ts.map +1 -1
- package/packages/app-core/src/components/training/injected.js +1 -1
- package/packages/app-core/src/config/boot-config-store.d.ts +1 -1
- package/packages/app-core/src/config/boot-config-store.d.ts.map +1 -1
- package/packages/app-core/src/content-packs/bundled-packs.d.ts.map +1 -1
- package/packages/app-core/src/hooks/index.d.ts +0 -2
- package/packages/app-core/src/hooks/index.d.ts.map +1 -1
- package/packages/app-core/src/hooks/index.js +0 -2
- package/packages/app-core/src/hooks/useAuthStatus.d.ts +5 -0
- package/packages/app-core/src/hooks/useAuthStatus.d.ts.map +1 -1
- package/packages/app-core/src/hooks/useAuthStatus.js +41 -18
- package/packages/app-core/src/hooks/useSignalPairing.d.ts +1 -1
- package/packages/app-core/src/hooks/useSignalPairing.d.ts.map +1 -1
- package/packages/app-core/src/hooks/useWhatsAppPairing.d.ts +1 -1
- package/packages/app-core/src/hooks/useWhatsAppPairing.d.ts.map +1 -1
- package/packages/app-core/src/i18n/locales/en.json +0 -1
- package/packages/app-core/src/i18n/locales/es.json +0 -1
- package/packages/app-core/src/i18n/locales/ko.json +0 -1
- package/packages/app-core/src/i18n/locales/pt.json +0 -1
- package/packages/app-core/src/i18n/locales/tl.json +0 -1
- package/packages/app-core/src/i18n/locales/vi.json +0 -1
- package/packages/app-core/src/i18n/locales/zh-CN.json +0 -1
- package/packages/app-core/src/index.d.ts +0 -1
- package/packages/app-core/src/index.d.ts.map +1 -1
- package/packages/app-core/src/index.js +0 -1
- package/packages/app-core/src/runtime/channel-plugin-map.d.ts.map +1 -1
- package/packages/app-core/src/runtime/channel-plugin-map.js +1 -1
- package/packages/app-core/src/runtime/plugin-manager-guard.d.ts.map +1 -1
- package/packages/app-core/src/runtime/plugin-manager-guard.js +1 -1
- package/packages/app-core/src/services/plugin-installer.d.ts.map +1 -1
- package/packages/app-core/src/services/plugin-installer.js +1 -8
- package/packages/app-core/src/state/index.d.ts +0 -1
- package/packages/app-core/src/state/index.d.ts.map +1 -1
- package/packages/app-core/src/state/index.js +0 -1
- package/packages/app-core/src/state/startup-phase-restore.d.ts.map +1 -1
- package/packages/app-core/src/state/startup-phase-restore.js +1 -1
- package/packages/app-core/src/state/useOnboardingState.js +2 -2
- package/packages/app-core/src/state/usePluginsSkillsState.d.ts +4 -4
- package/packages/app-core/src/types/index.d.ts +1 -1
- package/packages/app-core/src/types/index.d.ts.map +1 -1
- package/packages/shared/src/contracts/index.d.ts +1 -0
- package/packages/shared/src/contracts/index.d.ts.map +1 -1
- package/packages/shared/src/contracts/index.js +1 -0
- package/packages/shared/src/contracts/scratchpad.d.ts +136 -0
- package/packages/shared/src/contracts/scratchpad.d.ts.map +1 -0
- package/packages/shared/src/contracts/scratchpad.js +90 -0
- package/packages/shared/src/index.d.ts +13 -13
- package/packages/shared/src/index.d.ts.map +1 -1
- package/packages/shared/src/index.js +19 -19
- package/packages/shared/src/spoken-text.js +1 -1
- package/packages/typescript/src/features/advanced-capabilities/evaluators/factExtractor.d.ts.map +1 -1
- package/packages/typescript/src/features/advanced-capabilities/evaluators/factExtractor.js +12 -6
- package/packages/typescript/src/generated/action-docs.d.ts +25 -0
- package/packages/typescript/src/generated/action-docs.d.ts.map +1 -1
- package/packages/typescript/src/generated/action-docs.js +51 -0
- package/packages/typescript/src/services/message.d.ts.map +1 -1
- package/packages/typescript/src/services/message.js +1 -3
- package/packages/typescript/src/types/tools.d.ts.map +1 -1
- package/packages/typescript/src/types/tools.js +7 -3
- package/apps/app-lifeops/src/action.d.ts +0 -3
- package/apps/app-lifeops/src/action.d.ts.map +0 -1
- package/apps/app-lifeops/src/action.js +0 -351
- package/apps/app-lifeops/src/actions/activity-report.d.ts +0 -13
- package/apps/app-lifeops/src/actions/activity-report.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/activity-report.js +0 -313
- package/apps/app-lifeops/src/actions/app-blocker.d.ts +0 -7
- package/apps/app-lifeops/src/actions/app-blocker.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/app-blocker.js +0 -454
- package/apps/app-lifeops/src/actions/approval.d.ts +0 -21
- package/apps/app-lifeops/src/actions/approval.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/approval.js +0 -342
- package/apps/app-lifeops/src/actions/autofill.d.ts +0 -35
- package/apps/app-lifeops/src/actions/autofill.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/autofill.js +0 -475
- package/apps/app-lifeops/src/actions/book-travel-executor.d.ts +0 -9
- package/apps/app-lifeops/src/actions/book-travel-executor.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/book-travel-executor.js +0 -65
- package/apps/app-lifeops/src/actions/book-travel.d.ts +0 -5
- package/apps/app-lifeops/src/actions/book-travel.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/book-travel.js +0 -491
- package/apps/app-lifeops/src/actions/calendar.d.ts +0 -19
- package/apps/app-lifeops/src/actions/calendar.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/calendar.js +0 -3189
- package/apps/app-lifeops/src/actions/calendly.d.ts +0 -3
- package/apps/app-lifeops/src/actions/calendly.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/calendly.js +0 -285
- package/apps/app-lifeops/src/actions/chat-thread-control.d.ts +0 -3
- package/apps/app-lifeops/src/actions/chat-thread-control.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/chat-thread-control.js +0 -260
- package/apps/app-lifeops/src/actions/checkin.d.ts +0 -8
- package/apps/app-lifeops/src/actions/checkin.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/checkin.js +0 -230
- package/apps/app-lifeops/src/actions/computer-use.d.ts +0 -14
- package/apps/app-lifeops/src/actions/computer-use.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/computer-use.js +0 -365
- package/apps/app-lifeops/src/actions/cross-channel-send.d.ts +0 -34
- package/apps/app-lifeops/src/actions/cross-channel-send.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/cross-channel-send.js +0 -964
- package/apps/app-lifeops/src/actions/device-bus.d.ts +0 -19
- package/apps/app-lifeops/src/actions/device-bus.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/device-bus.js +0 -386
- package/apps/app-lifeops/src/actions/dossier.d.ts +0 -5
- package/apps/app-lifeops/src/actions/dossier.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/dossier.js +0 -227
- package/apps/app-lifeops/src/actions/email-unsubscribe.d.ts +0 -5
- package/apps/app-lifeops/src/actions/email-unsubscribe.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/email-unsubscribe.js +0 -172
- package/apps/app-lifeops/src/actions/gmail.d.ts +0 -57
- package/apps/app-lifeops/src/actions/gmail.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/gmail.js +0 -2540
- package/apps/app-lifeops/src/actions/health.d.ts +0 -9
- package/apps/app-lifeops/src/actions/health.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/health.js +0 -398
- package/apps/app-lifeops/src/actions/inbox.d.ts +0 -5
- package/apps/app-lifeops/src/actions/inbox.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/inbox.js +0 -1244
- package/apps/app-lifeops/src/actions/intent-sync.d.ts +0 -5
- package/apps/app-lifeops/src/actions/intent-sync.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/intent-sync.js +0 -326
- package/apps/app-lifeops/src/actions/life-goal-extractor.d.ts +0 -69
- package/apps/app-lifeops/src/actions/life-goal-extractor.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/life-goal-extractor.js +0 -420
- package/apps/app-lifeops/src/actions/life-param-extractor.d.ts +0 -78
- package/apps/app-lifeops/src/actions/life-param-extractor.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/life-param-extractor.js +0 -431
- package/apps/app-lifeops/src/actions/life-recent-context.d.ts +0 -9
- package/apps/app-lifeops/src/actions/life-recent-context.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/life-recent-context.js +0 -78
- package/apps/app-lifeops/src/actions/life-update-extractor.d.ts +0 -27
- package/apps/app-lifeops/src/actions/life-update-extractor.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/life-update-extractor.js +0 -195
- package/apps/app-lifeops/src/actions/life.d.ts +0 -5
- package/apps/app-lifeops/src/actions/life.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/life.extractor.d.ts +0 -18
- package/apps/app-lifeops/src/actions/life.extractor.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/life.extractor.js +0 -363
- package/apps/app-lifeops/src/actions/life.js +0 -3247
- package/apps/app-lifeops/src/actions/lifeops-connector.d.ts +0 -5
- package/apps/app-lifeops/src/actions/lifeops-connector.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/lifeops-connector.js +0 -683
- package/apps/app-lifeops/src/actions/lifeops-extraction-config.d.ts +0 -16
- package/apps/app-lifeops/src/actions/lifeops-extraction-config.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/lifeops-extraction-config.js +0 -25
- package/apps/app-lifeops/src/actions/lifeops-google-helpers.d.ts +0 -64
- package/apps/app-lifeops/src/actions/lifeops-google-helpers.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/lifeops-google-helpers.js +0 -671
- package/apps/app-lifeops/src/actions/lifeops-mutate.d.ts +0 -5
- package/apps/app-lifeops/src/actions/lifeops-mutate.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/lifeops-mutate.js +0 -769
- package/apps/app-lifeops/src/actions/list-remote-sessions.d.ts +0 -6
- package/apps/app-lifeops/src/actions/list-remote-sessions.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/list-remote-sessions.js +0 -45
- package/apps/app-lifeops/src/actions/non-actionable-request.d.ts +0 -17
- package/apps/app-lifeops/src/actions/non-actionable-request.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/non-actionable-request.js +0 -25
- package/apps/app-lifeops/src/actions/owner-app-block.d.ts +0 -12
- package/apps/app-lifeops/src/actions/owner-app-block.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/owner-app-block.js +0 -144
- package/apps/app-lifeops/src/actions/owner-calendar.d.ts +0 -15
- package/apps/app-lifeops/src/actions/owner-calendar.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/owner-calendar.js +0 -762
- package/apps/app-lifeops/src/actions/owner-inbox.d.ts +0 -5
- package/apps/app-lifeops/src/actions/owner-inbox.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/owner-inbox.js +0 -662
- package/apps/app-lifeops/src/actions/owner-remote-desktop.d.ts +0 -12
- package/apps/app-lifeops/src/actions/owner-remote-desktop.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/owner-remote-desktop.js +0 -173
- package/apps/app-lifeops/src/actions/owner-schedule.d.ts +0 -3
- package/apps/app-lifeops/src/actions/owner-schedule.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/owner-schedule.js +0 -174
- package/apps/app-lifeops/src/actions/owner-screen-time.d.ts +0 -10
- package/apps/app-lifeops/src/actions/owner-screen-time.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/owner-screen-time.js +0 -213
- package/apps/app-lifeops/src/actions/owner-website-block.d.ts +0 -12
- package/apps/app-lifeops/src/actions/owner-website-block.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/owner-website-block.js +0 -424
- package/apps/app-lifeops/src/actions/password-manager.d.ts +0 -5
- package/apps/app-lifeops/src/actions/password-manager.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/password-manager.js +0 -217
- package/apps/app-lifeops/src/actions/payments.d.ts +0 -5
- package/apps/app-lifeops/src/actions/payments.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/payments.js +0 -236
- package/apps/app-lifeops/src/actions/relationships.d.ts +0 -12
- package/apps/app-lifeops/src/actions/relationships.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/relationships.js +0 -880
- package/apps/app-lifeops/src/actions/remote-desktop.d.ts +0 -5
- package/apps/app-lifeops/src/actions/remote-desktop.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/remote-desktop.js +0 -248
- package/apps/app-lifeops/src/actions/revoke-remote-session.d.ts +0 -6
- package/apps/app-lifeops/src/actions/revoke-remote-session.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/revoke-remote-session.js +0 -73
- package/apps/app-lifeops/src/actions/schedule-x-dm-reply.d.ts +0 -3
- package/apps/app-lifeops/src/actions/schedule-x-dm-reply.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/schedule-x-dm-reply.js +0 -134
- package/apps/app-lifeops/src/actions/scheduled-trigger-task.d.ts +0 -19
- package/apps/app-lifeops/src/actions/scheduled-trigger-task.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/scheduled-trigger-task.js +0 -82
- package/apps/app-lifeops/src/actions/scheduling.d.ts +0 -70
- package/apps/app-lifeops/src/actions/scheduling.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/scheduling.js +0 -1078
- package/apps/app-lifeops/src/actions/screen-time.d.ts +0 -8
- package/apps/app-lifeops/src/actions/screen-time.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/screen-time.js +0 -249
- package/apps/app-lifeops/src/actions/search-across-channels.d.ts +0 -13
- package/apps/app-lifeops/src/actions/search-across-channels.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/search-across-channels.js +0 -338
- package/apps/app-lifeops/src/actions/start-remote-session.d.ts +0 -14
- package/apps/app-lifeops/src/actions/start-remote-session.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/start-remote-session.js +0 -139
- package/apps/app-lifeops/src/actions/subscriptions.d.ts +0 -5
- package/apps/app-lifeops/src/actions/subscriptions.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/subscriptions.js +0 -404
- package/apps/app-lifeops/src/actions/timezone-normalization.d.ts +0 -4
- package/apps/app-lifeops/src/actions/timezone-normalization.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/timezone-normalization.js +0 -159
- package/apps/app-lifeops/src/actions/twilio-call.d.ts +0 -20
- package/apps/app-lifeops/src/actions/twilio-call.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/twilio-call.js +0 -853
- package/apps/app-lifeops/src/actions/update-owner-profile.d.ts +0 -5
- package/apps/app-lifeops/src/actions/update-owner-profile.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/update-owner-profile.js +0 -181
- package/apps/app-lifeops/src/actions/x-read.d.ts +0 -5
- package/apps/app-lifeops/src/actions/x-read.d.ts.map +0 -1
- package/apps/app-lifeops/src/actions/x-read.js +0 -561
- package/apps/app-lifeops/src/activity-profile/activity-tracker-service.d.ts +0 -36
- package/apps/app-lifeops/src/activity-profile/activity-tracker-service.d.ts.map +0 -1
- package/apps/app-lifeops/src/activity-profile/activity-tracker-service.js +0 -160
- package/apps/app-lifeops/src/activity-profile/analyzer.d.ts +0 -23
- package/apps/app-lifeops/src/activity-profile/analyzer.d.ts.map +0 -1
- package/apps/app-lifeops/src/activity-profile/analyzer.js +0 -555
- package/apps/app-lifeops/src/activity-profile/presence-signal-bridge-service.d.ts +0 -14
- package/apps/app-lifeops/src/activity-profile/presence-signal-bridge-service.d.ts.map +0 -1
- package/apps/app-lifeops/src/activity-profile/presence-signal-bridge-service.js +0 -133
- package/apps/app-lifeops/src/activity-profile/proactive-planner.d.ts +0 -71
- package/apps/app-lifeops/src/activity-profile/proactive-planner.d.ts.map +0 -1
- package/apps/app-lifeops/src/activity-profile/proactive-planner.js +0 -567
- package/apps/app-lifeops/src/activity-profile/proactive-worker.d.ts +0 -32
- package/apps/app-lifeops/src/activity-profile/proactive-worker.d.ts.map +0 -1
- package/apps/app-lifeops/src/activity-profile/proactive-worker.js +0 -676
- package/apps/app-lifeops/src/activity-profile/service.d.ts +0 -11
- package/apps/app-lifeops/src/activity-profile/service.d.ts.map +0 -1
- package/apps/app-lifeops/src/activity-profile/service.js +0 -246
- package/apps/app-lifeops/src/app-blocker/access.d.ts +0 -8
- package/apps/app-lifeops/src/app-blocker/access.d.ts.map +0 -1
- package/apps/app-lifeops/src/app-blocker/access.js +0 -35
- package/apps/app-lifeops/src/app-blocker/engine.d.ts +0 -10
- package/apps/app-lifeops/src/app-blocker/engine.d.ts.map +0 -1
- package/apps/app-lifeops/src/app-blocker/engine.js +0 -43
- package/apps/app-lifeops/src/components/AppBlockerSettingsCard.d.ts +0 -3
- package/apps/app-lifeops/src/components/AppBlockerSettingsCard.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/AppBlockerSettingsCard.js +0 -189
- package/apps/app-lifeops/src/components/BrowserBridgeSetupPanel.d.ts +0 -2
- package/apps/app-lifeops/src/components/BrowserBridgeSetupPanel.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/BrowserBridgeSetupPanel.js +0 -1065
- package/apps/app-lifeops/src/components/BrowserBridgeStatusChip.d.ts +0 -7
- package/apps/app-lifeops/src/components/BrowserBridgeStatusChip.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/BrowserBridgeStatusChip.js +0 -74
- package/apps/app-lifeops/src/components/DataSourcesStrip.d.ts +0 -14
- package/apps/app-lifeops/src/components/DataSourcesStrip.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/DataSourcesStrip.js +0 -36
- package/apps/app-lifeops/src/components/EventEditorDrawer.d.ts +0 -23
- package/apps/app-lifeops/src/components/EventEditorDrawer.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/EventEditorDrawer.js +0 -514
- package/apps/app-lifeops/src/components/LifeOpsActivitySignalsEffect.d.ts +0 -2
- package/apps/app-lifeops/src/components/LifeOpsActivitySignalsEffect.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsActivitySignalsEffect.js +0 -10
- package/apps/app-lifeops/src/components/LifeOpsCalendarSection.d.ts +0 -15
- package/apps/app-lifeops/src/components/LifeOpsCalendarSection.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsCalendarSection.js +0 -515
- package/apps/app-lifeops/src/components/LifeOpsChatAdapter.d.ts +0 -34
- package/apps/app-lifeops/src/components/LifeOpsChatAdapter.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsChatAdapter.js +0 -175
- package/apps/app-lifeops/src/components/LifeOpsFeatureTogglesSection.d.ts +0 -2
- package/apps/app-lifeops/src/components/LifeOpsFeatureTogglesSection.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsFeatureTogglesSection.js +0 -99
- package/apps/app-lifeops/src/components/LifeOpsHabitVisuals.d.ts +0 -37
- package/apps/app-lifeops/src/components/LifeOpsHabitVisuals.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsHabitVisuals.js +0 -88
- package/apps/app-lifeops/src/components/LifeOpsInboxSection.d.ts +0 -13
- package/apps/app-lifeops/src/components/LifeOpsInboxSection.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsInboxSection.js +0 -490
- package/apps/app-lifeops/src/components/LifeOpsLinkBankButton.d.ts +0 -12
- package/apps/app-lifeops/src/components/LifeOpsLinkBankButton.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsLinkBankButton.js +0 -92
- package/apps/app-lifeops/src/components/LifeOpsLinkPaypalButton.d.ts +0 -12
- package/apps/app-lifeops/src/components/LifeOpsLinkPaypalButton.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsLinkPaypalButton.js +0 -160
- package/apps/app-lifeops/src/components/LifeOpsMoneySection.d.ts +0 -3
- package/apps/app-lifeops/src/components/LifeOpsMoneySection.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsMoneySection.js +0 -373
- package/apps/app-lifeops/src/components/LifeOpsNavRail.d.ts +0 -9
- package/apps/app-lifeops/src/components/LifeOpsNavRail.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsNavRail.js +0 -93
- package/apps/app-lifeops/src/components/LifeOpsOperationalPanels.d.ts +0 -4
- package/apps/app-lifeops/src/components/LifeOpsOperationalPanels.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsOperationalPanels.js +0 -274
- package/apps/app-lifeops/src/components/LifeOpsOverviewSection.d.ts +0 -7
- package/apps/app-lifeops/src/components/LifeOpsOverviewSection.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsOverviewSection.js +0 -670
- package/apps/app-lifeops/src/components/LifeOpsPageSections.d.ts +0 -42
- package/apps/app-lifeops/src/components/LifeOpsPageSections.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsPageSections.js +0 -166
- package/apps/app-lifeops/src/components/LifeOpsPageView.d.ts +0 -2
- package/apps/app-lifeops/src/components/LifeOpsPageView.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsPageView.js +0 -565
- package/apps/app-lifeops/src/components/LifeOpsRemindersSection.d.ts +0 -2
- package/apps/app-lifeops/src/components/LifeOpsRemindersSection.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsRemindersSection.js +0 -749
- package/apps/app-lifeops/src/components/LifeOpsResizableSidebar.d.ts +0 -27
- package/apps/app-lifeops/src/components/LifeOpsResizableSidebar.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsResizableSidebar.js +0 -106
- package/apps/app-lifeops/src/components/LifeOpsScreenTimeSection.d.ts +0 -2
- package/apps/app-lifeops/src/components/LifeOpsScreenTimeSection.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsScreenTimeSection.js +0 -373
- package/apps/app-lifeops/src/components/LifeOpsSectionContent.d.ts +0 -10
- package/apps/app-lifeops/src/components/LifeOpsSectionContent.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsSectionContent.js +0 -30
- package/apps/app-lifeops/src/components/LifeOpsSelectionContext.d.ts +0 -21
- package/apps/app-lifeops/src/components/LifeOpsSelectionContext.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsSelectionContext.js +0 -30
- package/apps/app-lifeops/src/components/LifeOpsSettingsSection.d.ts +0 -20
- package/apps/app-lifeops/src/components/LifeOpsSettingsSection.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsSettingsSection.js +0 -597
- package/apps/app-lifeops/src/components/LifeOpsSetupGate.d.ts +0 -13
- package/apps/app-lifeops/src/components/LifeOpsSetupGate.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsSetupGate.js +0 -134
- package/apps/app-lifeops/src/components/LifeOpsSleepSection.d.ts +0 -10
- package/apps/app-lifeops/src/components/LifeOpsSleepSection.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsSleepSection.js +0 -425
- package/apps/app-lifeops/src/components/LifeOpsWorkspaceShell.d.ts +0 -11
- package/apps/app-lifeops/src/components/LifeOpsWorkspaceShell.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsWorkspaceShell.js +0 -49
- package/apps/app-lifeops/src/components/LifeOpsWorkspaceView.d.ts +0 -2
- package/apps/app-lifeops/src/components/LifeOpsWorkspaceView.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/LifeOpsWorkspaceView.js +0 -1041
- package/apps/app-lifeops/src/components/MessagingConnectorCards.d.ts +0 -7
- package/apps/app-lifeops/src/components/MessagingConnectorCards.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/MessagingConnectorCards.js +0 -643
- package/apps/app-lifeops/src/components/MissingSourceCard.d.ts +0 -9
- package/apps/app-lifeops/src/components/MissingSourceCard.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/MissingSourceCard.js +0 -5
- package/apps/app-lifeops/src/components/MobileSignalsSetupCard.d.ts +0 -2
- package/apps/app-lifeops/src/components/MobileSignalsSetupCard.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/MobileSignalsSetupCard.js +0 -162
- package/apps/app-lifeops/src/components/SleepInspectionPanel.d.ts +0 -8
- package/apps/app-lifeops/src/components/SleepInspectionPanel.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/SleepInspectionPanel.js +0 -59
- package/apps/app-lifeops/src/components/WebsiteBlockerSettingsCard.d.ts +0 -3
- package/apps/app-lifeops/src/components/WebsiteBlockerSettingsCard.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/WebsiteBlockerSettingsCard.js +0 -75
- package/apps/app-lifeops/src/components/WhatsAppQrOverlay.d.ts +0 -8
- package/apps/app-lifeops/src/components/WhatsAppQrOverlay.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/WhatsAppQrOverlay.js +0 -48
- package/apps/app-lifeops/src/components/lifeops-labels.d.ts +0 -2
- package/apps/app-lifeops/src/components/lifeops-labels.d.ts.map +0 -1
- package/apps/app-lifeops/src/components/lifeops-labels.js +0 -5
- package/apps/app-lifeops/src/events/index.d.ts +0 -34
- package/apps/app-lifeops/src/events/index.d.ts.map +0 -1
- package/apps/app-lifeops/src/events/index.js +0 -23
- package/apps/app-lifeops/src/followup/actions/listOverdueFollowups.d.ts +0 -3
- package/apps/app-lifeops/src/followup/actions/listOverdueFollowups.d.ts.map +0 -1
- package/apps/app-lifeops/src/followup/actions/listOverdueFollowups.js +0 -48
- package/apps/app-lifeops/src/followup/actions/markFollowupDone.d.ts +0 -3
- package/apps/app-lifeops/src/followup/actions/markFollowupDone.d.ts.map +0 -1
- package/apps/app-lifeops/src/followup/actions/markFollowupDone.js +0 -173
- package/apps/app-lifeops/src/followup/actions/setFollowupThreshold.d.ts +0 -3
- package/apps/app-lifeops/src/followup/actions/setFollowupThreshold.d.ts.map +0 -1
- package/apps/app-lifeops/src/followup/actions/setFollowupThreshold.js +0 -172
- package/apps/app-lifeops/src/followup/followup-tracker.d.ts +0 -82
- package/apps/app-lifeops/src/followup/followup-tracker.d.ts.map +0 -1
- package/apps/app-lifeops/src/followup/followup-tracker.js +0 -279
- package/apps/app-lifeops/src/followup/index.d.ts +0 -5
- package/apps/app-lifeops/src/followup/index.d.ts.map +0 -1
- package/apps/app-lifeops/src/followup/index.js +0 -4
- package/apps/app-lifeops/src/hooks/useCalendarWeek.d.ts +0 -28
- package/apps/app-lifeops/src/hooks/useCalendarWeek.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useCalendarWeek.js +0 -93
- package/apps/app-lifeops/src/hooks/useDiscordConnector.d.ts +0 -14
- package/apps/app-lifeops/src/hooks/useDiscordConnector.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useDiscordConnector.js +0 -126
- package/apps/app-lifeops/src/hooks/useGoogleLifeOpsConnector.d.ts +0 -29
- package/apps/app-lifeops/src/hooks/useGoogleLifeOpsConnector.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useGoogleLifeOpsConnector.js +0 -481
- package/apps/app-lifeops/src/hooks/useIMessageConnector.d.ts +0 -10
- package/apps/app-lifeops/src/hooks/useIMessageConnector.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useIMessageConnector.js +0 -50
- package/apps/app-lifeops/src/hooks/useInbox.d.ts +0 -34
- package/apps/app-lifeops/src/hooks/useInbox.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useInbox.js +0 -98
- package/apps/app-lifeops/src/hooks/useLifeOpsActivitySignals.d.ts +0 -2
- package/apps/app-lifeops/src/hooks/useLifeOpsActivitySignals.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useLifeOpsActivitySignals.js +0 -382
- package/apps/app-lifeops/src/hooks/useLifeOpsAppState.d.ts +0 -21
- package/apps/app-lifeops/src/hooks/useLifeOpsAppState.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useLifeOpsAppState.js +0 -83
- package/apps/app-lifeops/src/hooks/useLifeOpsCapabilitiesStatus.d.ts +0 -8
- package/apps/app-lifeops/src/hooks/useLifeOpsCapabilitiesStatus.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useLifeOpsCapabilitiesStatus.js +0 -60
- package/apps/app-lifeops/src/hooks/useLifeOpsScheduleInspection.d.ts +0 -18
- package/apps/app-lifeops/src/hooks/useLifeOpsScheduleInspection.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useLifeOpsScheduleInspection.js +0 -66
- package/apps/app-lifeops/src/hooks/useLifeOpsScheduleState.d.ts +0 -14
- package/apps/app-lifeops/src/hooks/useLifeOpsScheduleState.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useLifeOpsScheduleState.js +0 -79
- package/apps/app-lifeops/src/hooks/useLifeOpsSection.d.ts +0 -18
- package/apps/app-lifeops/src/hooks/useLifeOpsSection.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useLifeOpsSection.js +0 -78
- package/apps/app-lifeops/src/hooks/useLifeOpsXConnector.d.ts +0 -14
- package/apps/app-lifeops/src/hooks/useLifeOpsXConnector.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useLifeOpsXConnector.js +0 -160
- package/apps/app-lifeops/src/hooks/useSignalConnector.d.ts +0 -16
- package/apps/app-lifeops/src/hooks/useSignalConnector.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useSignalConnector.js +0 -198
- package/apps/app-lifeops/src/hooks/useTelegramConnector.d.ts +0 -21
- package/apps/app-lifeops/src/hooks/useTelegramConnector.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useTelegramConnector.js +0 -177
- package/apps/app-lifeops/src/hooks/useWhatsAppConnector.d.ts +0 -8
- package/apps/app-lifeops/src/hooks/useWhatsAppConnector.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useWhatsAppConnector.js +0 -58
- package/apps/app-lifeops/src/hooks/useWhatsAppPairing.d.ts +0 -12
- package/apps/app-lifeops/src/hooks/useWhatsAppPairing.d.ts.map +0 -1
- package/apps/app-lifeops/src/hooks/useWhatsAppPairing.js +0 -152
- package/apps/app-lifeops/src/inbox/config.d.ts +0 -7
- package/apps/app-lifeops/src/inbox/config.d.ts.map +0 -1
- package/apps/app-lifeops/src/inbox/config.js +0 -67
- package/apps/app-lifeops/src/inbox/reflection.d.ts +0 -40
- package/apps/app-lifeops/src/inbox/reflection.d.ts.map +0 -1
- package/apps/app-lifeops/src/inbox/reflection.js +0 -115
- package/apps/app-lifeops/src/inbox/repository.d.ts +0 -52
- package/apps/app-lifeops/src/inbox/repository.d.ts.map +0 -1
- package/apps/app-lifeops/src/inbox/repository.js +0 -262
- package/apps/app-lifeops/src/inbox/triage-classifier.d.ts +0 -15
- package/apps/app-lifeops/src/inbox/triage-classifier.d.ts.map +0 -1
- package/apps/app-lifeops/src/inbox/triage-classifier.js +0 -179
- package/apps/app-lifeops/src/index.d.ts +0 -20
- package/apps/app-lifeops/src/index.d.ts.map +0 -1
- package/apps/app-lifeops/src/index.js +0 -18
- package/apps/app-lifeops/src/lifeops/approval-queue.d.ts +0 -24
- package/apps/app-lifeops/src/lifeops/approval-queue.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/approval-queue.js +0 -500
- package/apps/app-lifeops/src/lifeops/approval-queue.types.d.ts +0 -166
- package/apps/app-lifeops/src/lifeops/approval-queue.types.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/approval-queue.types.js +0 -22
- package/apps/app-lifeops/src/lifeops/autofill-whitelist.d.ts +0 -15
- package/apps/app-lifeops/src/lifeops/autofill-whitelist.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/autofill-whitelist.js +0 -116
- package/apps/app-lifeops/src/lifeops/background-planner-dispatch.d.ts +0 -60
- package/apps/app-lifeops/src/lifeops/background-planner-dispatch.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/background-planner-dispatch.js +0 -134
- package/apps/app-lifeops/src/lifeops/background-planner.d.ts +0 -141
- package/apps/app-lifeops/src/lifeops/background-planner.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/background-planner.js +0 -377
- package/apps/app-lifeops/src/lifeops/calendly-client.d.ts +0 -61
- package/apps/app-lifeops/src/lifeops/calendly-client.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/calendly-client.js +0 -234
- package/apps/app-lifeops/src/lifeops/checkin/schedule-resolver.d.ts +0 -14
- package/apps/app-lifeops/src/lifeops/checkin/schedule-resolver.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/checkin/schedule-resolver.js +0 -27
- package/apps/app-lifeops/src/lifeops/cross-channel-search.d.ts +0 -88
- package/apps/app-lifeops/src/lifeops/cross-channel-search.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/cross-channel-search.js +0 -446
- package/apps/app-lifeops/src/lifeops/intent-sync.d.ts +0 -59
- package/apps/app-lifeops/src/lifeops/intent-sync.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/intent-sync.js +0 -305
- package/apps/app-lifeops/src/lifeops/notifications-push.d.ts +0 -37
- package/apps/app-lifeops/src/lifeops/notifications-push.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/notifications-push.js +0 -92
- package/apps/app-lifeops/src/lifeops/password-manager-bridge.d.ts +0 -50
- package/apps/app-lifeops/src/lifeops/password-manager-bridge.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/password-manager-bridge.js +0 -448
- package/apps/app-lifeops/src/lifeops/remote-desktop.d.ts +0 -38
- package/apps/app-lifeops/src/lifeops/remote-desktop.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/remote-desktop.js +0 -372
- package/apps/app-lifeops/src/lifeops/runtime.d.ts +0 -11
- package/apps/app-lifeops/src/lifeops/runtime.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/runtime.js +0 -57
- package/apps/app-lifeops/src/lifeops/screen-context.d.ts +0 -52
- package/apps/app-lifeops/src/lifeops/screen-context.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops/screen-context.js +0 -349
- package/apps/app-lifeops/src/lifeops-route.d.ts +0 -74
- package/apps/app-lifeops/src/lifeops-route.d.ts.map +0 -1
- package/apps/app-lifeops/src/lifeops-route.js +0 -204
- package/apps/app-lifeops/src/platform/index.d.ts +0 -2
- package/apps/app-lifeops/src/platform/index.d.ts.map +0 -1
- package/apps/app-lifeops/src/platform/index.js +0 -1
- package/apps/app-lifeops/src/platform/lifeops-github.d.ts +0 -15
- package/apps/app-lifeops/src/platform/lifeops-github.d.ts.map +0 -1
- package/apps/app-lifeops/src/platform/lifeops-github.js +0 -135
- package/apps/app-lifeops/src/plugin.d.ts +0 -33
- package/apps/app-lifeops/src/plugin.d.ts.map +0 -1
- package/apps/app-lifeops/src/plugin.js +0 -316
- package/apps/app-lifeops/src/provider.d.ts +0 -4
- package/apps/app-lifeops/src/provider.d.ts.map +0 -1
- package/apps/app-lifeops/src/provider.js +0 -77
- package/apps/app-lifeops/src/providers/activity-profile.d.ts +0 -3
- package/apps/app-lifeops/src/providers/activity-profile.d.ts.map +0 -1
- package/apps/app-lifeops/src/providers/activity-profile.js +0 -140
- package/apps/app-lifeops/src/providers/app-blocker.d.ts +0 -3
- package/apps/app-lifeops/src/providers/app-blocker.d.ts.map +0 -1
- package/apps/app-lifeops/src/providers/app-blocker.js +0 -86
- package/apps/app-lifeops/src/providers/cross-channel-context.d.ts +0 -29
- package/apps/app-lifeops/src/providers/cross-channel-context.d.ts.map +0 -1
- package/apps/app-lifeops/src/providers/cross-channel-context.js +0 -182
- package/apps/app-lifeops/src/providers/inbox-triage.d.ts +0 -3
- package/apps/app-lifeops/src/providers/inbox-triage.d.ts.map +0 -1
- package/apps/app-lifeops/src/providers/inbox-triage.js +0 -90
- package/apps/app-lifeops/src/providers/lifeops.d.ts +0 -3
- package/apps/app-lifeops/src/providers/lifeops.d.ts.map +0 -1
- package/apps/app-lifeops/src/providers/lifeops.js +0 -197
- package/apps/app-lifeops/src/remote/pairing-code.d.ts +0 -39
- package/apps/app-lifeops/src/remote/pairing-code.d.ts.map +0 -1
- package/apps/app-lifeops/src/remote/pairing-code.js +0 -76
- package/apps/app-lifeops/src/remote/remote-session-service.d.ts +0 -107
- package/apps/app-lifeops/src/remote/remote-session-service.d.ts.map +0 -1
- package/apps/app-lifeops/src/remote/remote-session-service.js +0 -253
- package/apps/app-lifeops/src/service.d.ts +0 -32
- package/apps/app-lifeops/src/service.d.ts.map +0 -1
- package/apps/app-lifeops/src/service.js +0 -67
- package/apps/app-lifeops/src/travel-time/calendar-create.d.ts +0 -17
- package/apps/app-lifeops/src/travel-time/calendar-create.d.ts.map +0 -1
- package/apps/app-lifeops/src/travel-time/calendar-create.js +0 -21
- package/apps/app-lifeops/src/travel-time/service.d.ts +0 -60
- package/apps/app-lifeops/src/travel-time/service.d.ts.map +0 -1
- package/apps/app-lifeops/src/travel-time/service.js +0 -142
- package/apps/app-lifeops/src/utils/lifeops-url.d.ts +0 -5
- package/apps/app-lifeops/src/utils/lifeops-url.d.ts.map +0 -1
- package/apps/app-lifeops/src/utils/lifeops-url.js +0 -35
- package/apps/app-lifeops/src/website-blocker/chat-integration/actions/blockUntilTaskComplete.d.ts +0 -3
- package/apps/app-lifeops/src/website-blocker/chat-integration/actions/blockUntilTaskComplete.d.ts.map +0 -1
- package/apps/app-lifeops/src/website-blocker/chat-integration/actions/blockUntilTaskComplete.js +0 -246
- package/apps/app-lifeops/src/website-blocker/chat-integration/actions/listActiveBlocks.d.ts +0 -3
- package/apps/app-lifeops/src/website-blocker/chat-integration/actions/listActiveBlocks.d.ts.map +0 -1
- package/apps/app-lifeops/src/website-blocker/chat-integration/actions/listActiveBlocks.js +0 -83
- package/apps/app-lifeops/src/website-blocker/chat-integration/actions/releaseBlock.d.ts +0 -3
- package/apps/app-lifeops/src/website-blocker/chat-integration/actions/releaseBlock.d.ts.map +0 -1
- package/apps/app-lifeops/src/website-blocker/chat-integration/actions/releaseBlock.js +0 -98
- package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-reconciler.d.ts +0 -7
- package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-reconciler.d.ts.map +0 -1
- package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-reconciler.js +0 -111
- package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-schema.d.ts +0 -39
- package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-schema.d.ts.map +0 -1
- package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-schema.js +0 -123
- package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-service.d.ts +0 -21
- package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-service.d.ts.map +0 -1
- package/apps/app-lifeops/src/website-blocker/chat-integration/block-rule-service.js +0 -258
- package/apps/app-lifeops/src/website-blocker/chat-integration/index.d.ts +0 -8
- package/apps/app-lifeops/src/website-blocker/chat-integration/index.d.ts.map +0 -1
- package/apps/app-lifeops/src/website-blocker/chat-integration/index.js +0 -6
- package/packages/app-core/src/api/client-lifeops.d.ts +0 -35
- package/packages/app-core/src/api/client-lifeops.d.ts.map +0 -1
- package/packages/app-core/src/api/client-lifeops.js +0 -114
- package/packages/app-core/src/hooks/useGoogleLifeOpsConnector.d.ts +0 -20
- package/packages/app-core/src/hooks/useGoogleLifeOpsConnector.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useGoogleLifeOpsConnector.js +0 -69
- package/packages/app-core/src/hooks/useLifeOpsAppState.d.ts +0 -21
- package/packages/app-core/src/hooks/useLifeOpsAppState.d.ts.map +0 -1
- package/packages/app-core/src/hooks/useLifeOpsAppState.js +0 -81
- package/packages/app-core/src/services/steward-sidecar.d.ts +0 -6
- package/packages/app-core/src/services/steward-sidecar.d.ts.map +0 -1
- package/packages/app-core/src/services/steward-sidecar.js +0 -5
|
@@ -1,514 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Button, ConfirmDialog, client, Dialog, DialogContent, Input, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, TagInput, Textarea, useApp, } from "@elizaos/app-core";
|
|
3
|
-
import { X } from "lucide-react";
|
|
4
|
-
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
5
|
-
const TIME_ZONE = Intl.DateTimeFormat().resolvedOptions().timeZone || "UTC";
|
|
6
|
-
const REMINDER_PRESETS = [
|
|
7
|
-
{ label: "5m", minutes: 5 },
|
|
8
|
-
{ label: "10m", minutes: 10 },
|
|
9
|
-
{ label: "15m", minutes: 15 },
|
|
10
|
-
{ label: "30m", minutes: 30 },
|
|
11
|
-
{ label: "1h", minutes: 60 },
|
|
12
|
-
{ label: "1d", minutes: 1440 },
|
|
13
|
-
];
|
|
14
|
-
const WEEKDAY_RRULE_CODES = [
|
|
15
|
-
"SU",
|
|
16
|
-
"MO",
|
|
17
|
-
"TU",
|
|
18
|
-
"WE",
|
|
19
|
-
"TH",
|
|
20
|
-
"FR",
|
|
21
|
-
"SA",
|
|
22
|
-
];
|
|
23
|
-
function toLocalInputValue(isoString) {
|
|
24
|
-
if (!isoString) {
|
|
25
|
-
return "";
|
|
26
|
-
}
|
|
27
|
-
const parsed = Date.parse(isoString);
|
|
28
|
-
if (!Number.isFinite(parsed)) {
|
|
29
|
-
return "";
|
|
30
|
-
}
|
|
31
|
-
// datetime-local input expects "YYYY-MM-DDTHH:mm"
|
|
32
|
-
const date = new Date(parsed);
|
|
33
|
-
const pad = (value) => String(value).padStart(2, "0");
|
|
34
|
-
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}T${pad(date.getHours())}:${pad(date.getMinutes())}`;
|
|
35
|
-
}
|
|
36
|
-
function fromLocalInputValue(localValue) {
|
|
37
|
-
if (!localValue) {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
const parsed = new Date(localValue);
|
|
41
|
-
return Number.isFinite(parsed.getTime()) ? parsed.toISOString() : null;
|
|
42
|
-
}
|
|
43
|
-
function nextHalfHourIso(now = new Date()) {
|
|
44
|
-
const ms = 30 * 60 * 1000;
|
|
45
|
-
const start = new Date(Math.ceil(now.getTime() / ms) * ms);
|
|
46
|
-
return start.toISOString();
|
|
47
|
-
}
|
|
48
|
-
function isoPlusMinutes(iso, minutes) {
|
|
49
|
-
return new Date(Date.parse(iso) + minutes * 60_000).toISOString();
|
|
50
|
-
}
|
|
51
|
-
function basicEmailValid(value) {
|
|
52
|
-
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value);
|
|
53
|
-
}
|
|
54
|
-
function rruleForPreset(preset, date) {
|
|
55
|
-
switch (preset) {
|
|
56
|
-
case "daily":
|
|
57
|
-
return "FREQ=DAILY";
|
|
58
|
-
case "weekly":
|
|
59
|
-
return `FREQ=WEEKLY;BYDAY=${WEEKDAY_RRULE_CODES[date.getDay()]}`;
|
|
60
|
-
case "monthly":
|
|
61
|
-
return `FREQ=MONTHLY;BYMONTHDAY=${date.getDate()}`;
|
|
62
|
-
case "yearly":
|
|
63
|
-
return "FREQ=YEARLY";
|
|
64
|
-
default:
|
|
65
|
-
return null;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
function recurrencePresetLabel(preset, date) {
|
|
69
|
-
const weekdayLong = new Intl.DateTimeFormat(undefined, {
|
|
70
|
-
weekday: "long",
|
|
71
|
-
}).format(date);
|
|
72
|
-
switch (preset) {
|
|
73
|
-
case "none":
|
|
74
|
-
return "Does not repeat";
|
|
75
|
-
case "daily":
|
|
76
|
-
return "Daily";
|
|
77
|
-
case "weekly":
|
|
78
|
-
return `Weekly on ${weekdayLong}`;
|
|
79
|
-
case "monthly":
|
|
80
|
-
return `Monthly on day ${date.getDate()}`;
|
|
81
|
-
case "yearly":
|
|
82
|
-
return "Yearly";
|
|
83
|
-
case "custom":
|
|
84
|
-
return "Custom (RRULE)";
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
const RECURRENCE_PRESETS = [
|
|
88
|
-
"none",
|
|
89
|
-
"daily",
|
|
90
|
-
"weekly",
|
|
91
|
-
"monthly",
|
|
92
|
-
"yearly",
|
|
93
|
-
"custom",
|
|
94
|
-
];
|
|
95
|
-
function blankFormState(defaults) {
|
|
96
|
-
const seedDate = defaults?.date ?? new Date();
|
|
97
|
-
const start = nextHalfHourIso(seedDate);
|
|
98
|
-
return {
|
|
99
|
-
title: "",
|
|
100
|
-
startAt: toLocalInputValue(start),
|
|
101
|
-
endAt: toLocalInputValue(isoPlusMinutes(start, 30)),
|
|
102
|
-
notes: "",
|
|
103
|
-
location: "",
|
|
104
|
-
attendees: [],
|
|
105
|
-
reminderMinutes: [],
|
|
106
|
-
recurrencePreset: "none",
|
|
107
|
-
customRrule: "",
|
|
108
|
-
calendarId: defaults?.calendarId ?? "",
|
|
109
|
-
grantId: defaults?.grantId ?? "",
|
|
110
|
-
side: defaults?.side ?? "owner",
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
function formStateFromEvent(event) {
|
|
114
|
-
const attendees = event.attendees
|
|
115
|
-
.map((attendee) => attendee.email?.trim() ?? "")
|
|
116
|
-
.filter((email) => email.length > 0);
|
|
117
|
-
return {
|
|
118
|
-
title: event.title,
|
|
119
|
-
startAt: toLocalInputValue(event.startAt),
|
|
120
|
-
endAt: toLocalInputValue(event.endAt),
|
|
121
|
-
notes: event.description ?? "",
|
|
122
|
-
location: event.location ?? "",
|
|
123
|
-
attendees,
|
|
124
|
-
reminderMinutes: [],
|
|
125
|
-
recurrencePreset: "none",
|
|
126
|
-
customRrule: "",
|
|
127
|
-
calendarId: event.calendarId,
|
|
128
|
-
grantId: event.grantId ?? "",
|
|
129
|
-
side: event.side,
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
function buildRecurrenceArray(state) {
|
|
133
|
-
if (state.recurrencePreset === "none") {
|
|
134
|
-
return undefined;
|
|
135
|
-
}
|
|
136
|
-
if (state.recurrencePreset === "custom") {
|
|
137
|
-
const rule = state.customRrule.trim();
|
|
138
|
-
if (!rule)
|
|
139
|
-
return undefined;
|
|
140
|
-
const stripped = rule.startsWith("RRULE:") ? rule.slice("RRULE:".length) : rule;
|
|
141
|
-
return [stripped];
|
|
142
|
-
}
|
|
143
|
-
const startDate = fromLocalInputValue(state.startAt);
|
|
144
|
-
if (!startDate)
|
|
145
|
-
return undefined;
|
|
146
|
-
const rule = rruleForPreset(state.recurrencePreset, new Date(startDate));
|
|
147
|
-
return rule ? [rule] : undefined;
|
|
148
|
-
}
|
|
149
|
-
function attendeesToContract(emails) {
|
|
150
|
-
const valid = emails
|
|
151
|
-
.map((value) => value.trim())
|
|
152
|
-
.filter((value) => value.length > 0 && basicEmailValid(value));
|
|
153
|
-
if (valid.length === 0)
|
|
154
|
-
return undefined;
|
|
155
|
-
return valid.map((email) => ({ email }));
|
|
156
|
-
}
|
|
157
|
-
export function EventEditorDrawer({ open, mode = "edit", event, createDefaults, onClose, onSaved, onCreated, onDeleted, onChat, }) {
|
|
158
|
-
const { setActionNotice, t } = useApp();
|
|
159
|
-
const [form, setForm] = useState(() => event ? formStateFromEvent(event) : blankFormState(createDefaults));
|
|
160
|
-
const [calendars, setCalendars] = useState([]);
|
|
161
|
-
const [calendarsLoading, setCalendarsLoading] = useState(false);
|
|
162
|
-
const [calendarsError, setCalendarsError] = useState(null);
|
|
163
|
-
const [customReminderDraft, setCustomReminderDraft] = useState("");
|
|
164
|
-
const [showCustomReminder, setShowCustomReminder] = useState(false);
|
|
165
|
-
const [saving, setSaving] = useState(false);
|
|
166
|
-
const [deleting, setDeleting] = useState(false);
|
|
167
|
-
const [confirmDeleteOpen, setConfirmDeleteOpen] = useState(false);
|
|
168
|
-
const [error, setError] = useState(null);
|
|
169
|
-
const isCreate = mode === "create";
|
|
170
|
-
// Seed form when the event changes (edit) or drawer opens in create mode.
|
|
171
|
-
useEffect(() => {
|
|
172
|
-
if (!open)
|
|
173
|
-
return;
|
|
174
|
-
if (isCreate) {
|
|
175
|
-
setForm(blankFormState(createDefaults));
|
|
176
|
-
}
|
|
177
|
-
else if (event) {
|
|
178
|
-
setForm(formStateFromEvent(event));
|
|
179
|
-
}
|
|
180
|
-
setError(null);
|
|
181
|
-
setCustomReminderDraft("");
|
|
182
|
-
setShowCustomReminder(false);
|
|
183
|
-
}, [open, isCreate, event, createDefaults]);
|
|
184
|
-
// Load calendar list when drawer opens. The selector is sourced from
|
|
185
|
-
// `client.getLifeOpsCalendars()`; if the call fails we fall back to a
|
|
186
|
-
// single "Primary" pseudo-row so the UI still renders.
|
|
187
|
-
useEffect(() => {
|
|
188
|
-
if (!open)
|
|
189
|
-
return;
|
|
190
|
-
let cancelled = false;
|
|
191
|
-
setCalendarsLoading(true);
|
|
192
|
-
setCalendarsError(null);
|
|
193
|
-
void client
|
|
194
|
-
.getLifeOpsCalendars({ side: "owner" })
|
|
195
|
-
.then((response) => {
|
|
196
|
-
if (cancelled)
|
|
197
|
-
return;
|
|
198
|
-
setCalendars(response.calendars);
|
|
199
|
-
setForm((prev) => {
|
|
200
|
-
if (prev.calendarId)
|
|
201
|
-
return prev;
|
|
202
|
-
const primary = response.calendars.find((calendar) => calendar.primary) ??
|
|
203
|
-
response.calendars[0];
|
|
204
|
-
if (!primary)
|
|
205
|
-
return prev;
|
|
206
|
-
return {
|
|
207
|
-
...prev,
|
|
208
|
-
calendarId: primary.calendarId,
|
|
209
|
-
grantId: primary.grantId,
|
|
210
|
-
side: primary.side,
|
|
211
|
-
};
|
|
212
|
-
});
|
|
213
|
-
})
|
|
214
|
-
.catch((cause) => {
|
|
215
|
-
if (cancelled)
|
|
216
|
-
return;
|
|
217
|
-
setCalendars([]);
|
|
218
|
-
setCalendarsError(cause instanceof Error && cause.message.trim().length > 0
|
|
219
|
-
? cause.message.trim()
|
|
220
|
-
: "Could not load calendars.");
|
|
221
|
-
})
|
|
222
|
-
.finally(() => {
|
|
223
|
-
if (!cancelled)
|
|
224
|
-
setCalendarsLoading(false);
|
|
225
|
-
});
|
|
226
|
-
return () => {
|
|
227
|
-
cancelled = true;
|
|
228
|
-
};
|
|
229
|
-
}, [open]);
|
|
230
|
-
const calendarOptions = useMemo(() => {
|
|
231
|
-
if (calendars.length > 0)
|
|
232
|
-
return calendars;
|
|
233
|
-
// Fallback row so the Select still renders something while the list is
|
|
234
|
-
// loading or after a failed fetch. The ID matches what the backend uses
|
|
235
|
-
// when no calendar is supplied on create/update.
|
|
236
|
-
return [
|
|
237
|
-
{
|
|
238
|
-
provider: "google",
|
|
239
|
-
side: form.side,
|
|
240
|
-
grantId: form.grantId,
|
|
241
|
-
accountEmail: null,
|
|
242
|
-
calendarId: form.calendarId || "primary",
|
|
243
|
-
summary: form.calendarId && form.calendarId !== "primary"
|
|
244
|
-
? form.calendarId
|
|
245
|
-
: "Primary",
|
|
246
|
-
description: null,
|
|
247
|
-
primary: true,
|
|
248
|
-
accessRole: "owner",
|
|
249
|
-
backgroundColor: null,
|
|
250
|
-
foregroundColor: null,
|
|
251
|
-
timeZone: null,
|
|
252
|
-
selected: true,
|
|
253
|
-
includeInFeed: true,
|
|
254
|
-
},
|
|
255
|
-
];
|
|
256
|
-
}, [calendars, form.calendarId, form.grantId, form.side]);
|
|
257
|
-
const updateForm = useCallback((key, value) => {
|
|
258
|
-
setForm((prev) => ({ ...prev, [key]: value }));
|
|
259
|
-
}, []);
|
|
260
|
-
const toggleReminderPreset = useCallback((minutes) => {
|
|
261
|
-
setForm((prev) => {
|
|
262
|
-
const exists = prev.reminderMinutes.includes(minutes);
|
|
263
|
-
const next = exists
|
|
264
|
-
? prev.reminderMinutes.filter((value) => value !== minutes)
|
|
265
|
-
: [...prev.reminderMinutes, minutes];
|
|
266
|
-
next.sort((a, b) => a - b);
|
|
267
|
-
return { ...prev, reminderMinutes: next };
|
|
268
|
-
});
|
|
269
|
-
}, []);
|
|
270
|
-
const addCustomReminder = useCallback(() => {
|
|
271
|
-
const parsed = Number(customReminderDraft);
|
|
272
|
-
if (!Number.isFinite(parsed) || parsed < 0)
|
|
273
|
-
return;
|
|
274
|
-
const minutes = Math.floor(parsed);
|
|
275
|
-
setForm((prev) => {
|
|
276
|
-
if (prev.reminderMinutes.includes(minutes))
|
|
277
|
-
return prev;
|
|
278
|
-
const next = [...prev.reminderMinutes, minutes];
|
|
279
|
-
next.sort((a, b) => a - b);
|
|
280
|
-
return { ...prev, reminderMinutes: next };
|
|
281
|
-
});
|
|
282
|
-
setCustomReminderDraft("");
|
|
283
|
-
}, [customReminderDraft]);
|
|
284
|
-
const handleSave = useCallback(async (options = {}) => {
|
|
285
|
-
setError(null);
|
|
286
|
-
const titleTrimmed = form.title.trim();
|
|
287
|
-
if (!titleTrimmed)
|
|
288
|
-
return;
|
|
289
|
-
const startIso = fromLocalInputValue(form.startAt);
|
|
290
|
-
const endIso = fromLocalInputValue(form.endAt);
|
|
291
|
-
if (!startIso || !endIso) {
|
|
292
|
-
setError(t("eventEditor.invalidTimes", {
|
|
293
|
-
defaultValue: "Pick valid start and end times.",
|
|
294
|
-
}));
|
|
295
|
-
return;
|
|
296
|
-
}
|
|
297
|
-
setSaving(true);
|
|
298
|
-
try {
|
|
299
|
-
if (isCreate) {
|
|
300
|
-
const request = {
|
|
301
|
-
side: form.side,
|
|
302
|
-
grantId: form.grantId || undefined,
|
|
303
|
-
calendarId: form.calendarId || undefined,
|
|
304
|
-
title: titleTrimmed,
|
|
305
|
-
description: form.notes.trim() || undefined,
|
|
306
|
-
location: form.location.trim() || undefined,
|
|
307
|
-
startAt: startIso,
|
|
308
|
-
endAt: endIso,
|
|
309
|
-
timeZone: TIME_ZONE,
|
|
310
|
-
attendees: attendeesToContract(form.attendees),
|
|
311
|
-
recurrence: buildRecurrenceArray(form),
|
|
312
|
-
reminders: form.reminderMinutes.length > 0
|
|
313
|
-
? form.reminderMinutes.map((minutesBefore) => ({
|
|
314
|
-
minutesBefore,
|
|
315
|
-
}))
|
|
316
|
-
: undefined,
|
|
317
|
-
};
|
|
318
|
-
const result = await client.createLifeOpsCalendarEvent(request);
|
|
319
|
-
if (!result.event) {
|
|
320
|
-
throw new Error("Calendar create returned no event.");
|
|
321
|
-
}
|
|
322
|
-
setActionNotice(t("eventEditor.created", {
|
|
323
|
-
defaultValue: "Event created.",
|
|
324
|
-
}), "success", 2400);
|
|
325
|
-
onCreated?.(result.event);
|
|
326
|
-
if (options.keepOpen) {
|
|
327
|
-
setForm(blankFormState({ ...createDefaults, side: form.side }));
|
|
328
|
-
}
|
|
329
|
-
else {
|
|
330
|
-
onClose();
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
else {
|
|
334
|
-
if (!event)
|
|
335
|
-
return;
|
|
336
|
-
const patch = {
|
|
337
|
-
side: event.side,
|
|
338
|
-
grantId: event.grantId,
|
|
339
|
-
calendarId: form.calendarId || event.calendarId,
|
|
340
|
-
timeZone: event.timezone ?? TIME_ZONE,
|
|
341
|
-
};
|
|
342
|
-
if (titleTrimmed !== event.title)
|
|
343
|
-
patch.title = titleTrimmed;
|
|
344
|
-
if (startIso !== event.startAt)
|
|
345
|
-
patch.startAt = startIso;
|
|
346
|
-
if (endIso !== event.endAt)
|
|
347
|
-
patch.endAt = endIso;
|
|
348
|
-
if (form.notes.trim() !== (event.description ?? "")) {
|
|
349
|
-
patch.notes = form.notes.trim();
|
|
350
|
-
}
|
|
351
|
-
if (form.location.trim() !== (event.location ?? "")) {
|
|
352
|
-
patch.location = form.location.trim();
|
|
353
|
-
}
|
|
354
|
-
const attendeesContract = attendeesToContract(form.attendees);
|
|
355
|
-
if (attendeesContract) {
|
|
356
|
-
patch.attendees = attendeesContract;
|
|
357
|
-
}
|
|
358
|
-
const recurrence = buildRecurrenceArray(form);
|
|
359
|
-
if (recurrence) {
|
|
360
|
-
patch.recurrence = recurrence;
|
|
361
|
-
}
|
|
362
|
-
if (form.reminderMinutes.length > 0) {
|
|
363
|
-
patch.reminders = form.reminderMinutes.map((minutesBefore) => ({
|
|
364
|
-
minutesBefore,
|
|
365
|
-
}));
|
|
366
|
-
}
|
|
367
|
-
const result = await client.updateLifeOpsCalendarEvent(event.externalId, patch);
|
|
368
|
-
setActionNotice(t("eventEditor.saved", { defaultValue: "Event saved." }), "success", 2400);
|
|
369
|
-
onSaved?.(result.event);
|
|
370
|
-
if (options.keepOpen) {
|
|
371
|
-
setForm(formStateFromEvent(result.event));
|
|
372
|
-
}
|
|
373
|
-
else {
|
|
374
|
-
onClose();
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
catch (cause) {
|
|
379
|
-
setError(cause instanceof Error && cause.message.trim().length > 0
|
|
380
|
-
? cause.message.trim()
|
|
381
|
-
: t("eventEditor.saveFailed", {
|
|
382
|
-
defaultValue: "Could not save the event.",
|
|
383
|
-
}));
|
|
384
|
-
}
|
|
385
|
-
finally {
|
|
386
|
-
setSaving(false);
|
|
387
|
-
}
|
|
388
|
-
}, [
|
|
389
|
-
createDefaults,
|
|
390
|
-
event,
|
|
391
|
-
form,
|
|
392
|
-
isCreate,
|
|
393
|
-
onClose,
|
|
394
|
-
onCreated,
|
|
395
|
-
onSaved,
|
|
396
|
-
setActionNotice,
|
|
397
|
-
t,
|
|
398
|
-
]);
|
|
399
|
-
const handleDelete = useCallback(async () => {
|
|
400
|
-
if (!event)
|
|
401
|
-
return;
|
|
402
|
-
setDeleting(true);
|
|
403
|
-
setError(null);
|
|
404
|
-
try {
|
|
405
|
-
await client.deleteLifeOpsCalendarEvent(event.externalId, {
|
|
406
|
-
side: event.side,
|
|
407
|
-
grantId: event.grantId,
|
|
408
|
-
calendarId: event.calendarId,
|
|
409
|
-
});
|
|
410
|
-
setActionNotice(t("eventEditor.deleted", { defaultValue: "Event deleted." }), "success", 2400);
|
|
411
|
-
onDeleted?.(event.id);
|
|
412
|
-
onClose();
|
|
413
|
-
}
|
|
414
|
-
catch (cause) {
|
|
415
|
-
setError(cause instanceof Error && cause.message.trim().length > 0
|
|
416
|
-
? cause.message.trim()
|
|
417
|
-
: t("eventEditor.deleteFailed", {
|
|
418
|
-
defaultValue: "Could not delete the event.",
|
|
419
|
-
}));
|
|
420
|
-
}
|
|
421
|
-
finally {
|
|
422
|
-
setDeleting(false);
|
|
423
|
-
setConfirmDeleteOpen(false);
|
|
424
|
-
}
|
|
425
|
-
}, [event, onClose, onDeleted, setActionNotice, t]);
|
|
426
|
-
const startDate = useMemo(() => {
|
|
427
|
-
const iso = fromLocalInputValue(form.startAt);
|
|
428
|
-
return iso ? new Date(iso) : new Date();
|
|
429
|
-
}, [form.startAt]);
|
|
430
|
-
if (!isCreate && !event) {
|
|
431
|
-
return null;
|
|
432
|
-
}
|
|
433
|
-
const titleLabel = isCreate
|
|
434
|
-
? t("eventEditor.createTitle", { defaultValue: "New event" })
|
|
435
|
-
: t("eventEditor.title", { defaultValue: "Edit event" });
|
|
436
|
-
const primaryActionLabel = isCreate
|
|
437
|
-
? t("eventEditor.create", { defaultValue: "Create" })
|
|
438
|
-
: t("common.save", { defaultValue: "Save" });
|
|
439
|
-
const primaryActionLoadingLabel = isCreate
|
|
440
|
-
? t("eventEditor.creating", { defaultValue: "Creating…" })
|
|
441
|
-
: t("common.saving", { defaultValue: "Saving…" });
|
|
442
|
-
const calendarSelectValue = form.calendarId || calendarOptions[0]?.calendarId || "";
|
|
443
|
-
return (_jsxs(_Fragment, { children: [_jsx(Dialog, { open: open, onOpenChange: (isOpen) => !isOpen && onClose(), children: _jsxs(DialogContent, { className: "fixed bottom-0 right-0 top-0 !left-auto !right-0 !top-0 m-0 h-full w-[min(28rem,100vw)] max-w-[100vw] !translate-x-0 !translate-y-0 overflow-y-auto rounded-l-2xl rounded-r-none border-l border-t-0 border-border/16 bg-bg p-0 shadow-xl duration-200 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-right-full", "data-testid": "event-editor-drawer", children: [_jsxs("div", { className: "flex items-center justify-between gap-3 border-b border-border/12 px-5 py-4", children: [_jsx("div", { children: _jsx("div", { className: "text-sm font-semibold text-txt", children: titleLabel }) }), _jsx("button", { type: "button", onClick: onClose, "aria-label": t("common.close", { defaultValue: "Close" }), className: "rounded-full p-1.5 text-muted transition-colors hover:bg-bg-hover/40 hover:text-txt", children: _jsx(X, { className: "h-4 w-4" }) })] }), _jsxs("div", { className: "space-y-4 px-5 py-5", children: [error ? (_jsx("div", { className: "rounded-2xl bg-danger/10 px-3 py-2 text-xs text-danger", children: error })) : null, _jsxs("div", { className: "space-y-1.5", children: [_jsx("label", { htmlFor: "event-editor-title", className: "block text-xs font-medium text-muted", children: t("common.title", { defaultValue: "Title" }) }), _jsx(Input, { id: "event-editor-title", value: form.title, onChange: (e) => updateForm("title", e.target.value), placeholder: t("eventEditor.titlePlaceholder", {
|
|
444
|
-
defaultValue: "Event title",
|
|
445
|
-
}), "aria-label": t("eventEditor.titleAria", {
|
|
446
|
-
defaultValue: "Event title",
|
|
447
|
-
}) })] }), _jsxs("div", { className: "grid grid-cols-2 gap-3", children: [_jsxs("div", { className: "space-y-1.5", children: [_jsx("label", { htmlFor: "event-editor-start-at", className: "block text-xs font-medium text-muted", children: t("eventEditor.startAt", { defaultValue: "Start" }) }), _jsx(Input, { id: "event-editor-start-at", type: "datetime-local", value: form.startAt, onChange: (e) => updateForm("startAt", e.target.value), "aria-label": t("eventEditor.startAtAria", {
|
|
448
|
-
defaultValue: "Start time",
|
|
449
|
-
}) })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx("label", { htmlFor: "event-editor-end-at", className: "block text-xs font-medium text-muted", children: t("eventEditor.endAt", { defaultValue: "End" }) }), _jsx(Input, { id: "event-editor-end-at", type: "datetime-local", value: form.endAt, onChange: (e) => updateForm("endAt", e.target.value), "aria-label": t("eventEditor.endAtAria", {
|
|
450
|
-
defaultValue: "End time",
|
|
451
|
-
}) })] })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx("label", { htmlFor: "event-editor-location", className: "block text-xs font-medium text-muted", children: t("eventEditor.location", { defaultValue: "Location" }) }), _jsx(Input, { id: "event-editor-location", value: form.location, onChange: (e) => updateForm("location", e.target.value), placeholder: t("eventEditor.locationPlaceholder", {
|
|
452
|
-
defaultValue: "Location (optional)",
|
|
453
|
-
}), "aria-label": t("eventEditor.locationAria", {
|
|
454
|
-
defaultValue: "Event location",
|
|
455
|
-
}) })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx("label", { htmlFor: "event-editor-recurrence", className: "block text-xs font-medium text-muted", children: t("eventEditor.recurrence", { defaultValue: "Repeat" }) }), _jsxs(Select, { value: form.recurrencePreset, onValueChange: (value) => updateForm("recurrencePreset", value), children: [_jsx(SelectTrigger, { id: "event-editor-recurrence", "aria-label": t("eventEditor.recurrenceAria", {
|
|
456
|
-
defaultValue: "Recurrence",
|
|
457
|
-
}), children: _jsx(SelectValue, {}) }), _jsx(SelectContent, { children: RECURRENCE_PRESETS.map((preset) => (_jsx(SelectItem, { value: preset, children: recurrencePresetLabel(preset, startDate) }, preset))) })] }), form.recurrencePreset === "custom" ? (_jsx(Input, { className: "mt-2", value: form.customRrule, onChange: (e) => updateForm("customRrule", e.target.value), placeholder: "FREQ=WEEKLY;BYDAY=MO,WE,FR", "aria-label": t("eventEditor.customRruleAria", {
|
|
458
|
-
defaultValue: "Custom RRULE",
|
|
459
|
-
}) })) : null] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx("span", { className: "block text-xs font-medium text-muted", children: t("eventEditor.attendees", { defaultValue: "Attendees" }) }), _jsx(TagInput, { items: form.attendees, onChange: (next) => updateForm("attendees", next.filter((value) => basicEmailValid(value))), placeholder: t("eventEditor.attendeePlaceholder", {
|
|
460
|
-
defaultValue: "Add email and press Enter",
|
|
461
|
-
}), addLabel: t("eventEditor.attendeeAdd", {
|
|
462
|
-
defaultValue: "Add attendee",
|
|
463
|
-
}), removeLabel: t("eventEditor.attendeeRemove", {
|
|
464
|
-
defaultValue: "Remove",
|
|
465
|
-
}) })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx("label", { htmlFor: "event-editor-calendar", className: "block text-xs font-medium text-muted", children: t("eventEditor.calendar", { defaultValue: "Calendar" }) }), _jsxs(Select, { value: calendarSelectValue, onValueChange: (value) => {
|
|
466
|
-
const match = calendarOptions.find((calendar) => calendar.calendarId === value);
|
|
467
|
-
setForm((prev) => ({
|
|
468
|
-
...prev,
|
|
469
|
-
calendarId: value,
|
|
470
|
-
grantId: match?.grantId ?? prev.grantId,
|
|
471
|
-
side: match?.side ?? prev.side,
|
|
472
|
-
}));
|
|
473
|
-
}, children: [_jsx(SelectTrigger, { id: "event-editor-calendar", "aria-label": t("eventEditor.calendarAria", {
|
|
474
|
-
defaultValue: "Calendar of record",
|
|
475
|
-
}), children: _jsx(SelectValue, { placeholder: calendarsLoading
|
|
476
|
-
? t("eventEditor.calendarLoading", {
|
|
477
|
-
defaultValue: "Loading…",
|
|
478
|
-
})
|
|
479
|
-
: t("eventEditor.calendarPlaceholder", {
|
|
480
|
-
defaultValue: "Select calendar",
|
|
481
|
-
}) }) }), _jsx(SelectContent, { children: calendarOptions.map((calendar) => (_jsxs(SelectItem, { value: calendar.calendarId, children: [calendar.summary, calendar.accountEmail
|
|
482
|
-
? ` · ${calendar.accountEmail}`
|
|
483
|
-
: ""] }, `${calendar.grantId}:${calendar.calendarId}`))) })] }), calendarsError ? (_jsx("div", { className: "text-[10px] text-danger", children: calendarsError })) : null] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx("span", { className: "block text-xs font-medium text-muted", children: t("eventEditor.reminders", { defaultValue: "Reminders" }) }), _jsxs("div", { className: "flex flex-wrap gap-1.5", children: [REMINDER_PRESETS.map((preset) => {
|
|
484
|
-
const active = form.reminderMinutes.includes(preset.minutes);
|
|
485
|
-
return (_jsx("button", { type: "button", onClick: () => toggleReminderPreset(preset.minutes), "aria-pressed": active, className: `rounded-full border px-2.5 py-1 text-xs font-medium transition-colors ${active
|
|
486
|
-
? "border-accent bg-accent/15 text-accent"
|
|
487
|
-
: "border-border/30 text-muted hover:border-border/60 hover:text-txt"}`, children: preset.label }, preset.minutes));
|
|
488
|
-
}), _jsx("button", { type: "button", onClick: () => setShowCustomReminder((prev) => !prev), "aria-pressed": showCustomReminder, className: `rounded-full border px-2.5 py-1 text-xs font-medium transition-colors ${showCustomReminder
|
|
489
|
-
? "border-accent bg-accent/15 text-accent"
|
|
490
|
-
: "border-border/30 text-muted hover:border-border/60 hover:text-txt"}`, children: t("eventEditor.reminderCustom", { defaultValue: "Custom" }) })] }), form.reminderMinutes.some((minutes) => !REMINDER_PRESETS.some((preset) => preset.minutes === minutes)) ? (_jsx("div", { className: "flex flex-wrap gap-1.5", children: form.reminderMinutes
|
|
491
|
-
.filter((minutes) => !REMINDER_PRESETS.some((preset) => preset.minutes === minutes))
|
|
492
|
-
.map((minutes) => (_jsxs("span", { className: "inline-flex items-center gap-1 rounded-full border border-accent/40 bg-accent/10 px-2 py-0.5 text-[11px] font-medium text-accent", children: [minutes, "m", _jsx("button", { type: "button", "aria-label": t("eventEditor.reminderRemove", {
|
|
493
|
-
defaultValue: "Remove reminder",
|
|
494
|
-
}), onClick: () => toggleReminderPreset(minutes), className: "rounded-full p-0.5 hover:bg-accent/20", children: _jsx(X, { className: "h-3 w-3" }) })] }, minutes))) })) : null, showCustomReminder ? (_jsxs("div", { className: "flex items-center gap-2", children: [_jsx(Input, { type: "number", min: 0, value: customReminderDraft, onChange: (e) => setCustomReminderDraft(e.target.value), onKeyDown: (e) => {
|
|
495
|
-
if (e.key === "Enter") {
|
|
496
|
-
e.preventDefault();
|
|
497
|
-
addCustomReminder();
|
|
498
|
-
}
|
|
499
|
-
}, placeholder: t("eventEditor.reminderCustomPlaceholder", {
|
|
500
|
-
defaultValue: "Minutes before",
|
|
501
|
-
}), "aria-label": t("eventEditor.reminderCustomAria", {
|
|
502
|
-
defaultValue: "Custom reminder minutes",
|
|
503
|
-
}), className: "w-32" }), _jsx(Button, { size: "sm", variant: "outline", className: "h-8 rounded-xl px-3 text-xs", onClick: addCustomReminder, children: t("common.add", { defaultValue: "Add" }) })] })) : null] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx("label", { htmlFor: "event-editor-notes", className: "block text-xs font-medium text-muted", children: t("eventEditor.notes", { defaultValue: "Notes" }) }), _jsx(Textarea, { id: "event-editor-notes", value: form.notes, onChange: (e) => updateForm("notes", e.target.value), placeholder: t("eventEditor.notesPlaceholder", {
|
|
504
|
-
defaultValue: "Add notes…",
|
|
505
|
-
}), className: "min-h-20" })] })] }), _jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3 border-t border-border/12 px-5 py-4", children: [_jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [!isCreate && onChat && event ? (_jsx(Button, { variant: "ghost", size: "sm", className: "h-8 rounded-xl px-3 text-xs font-semibold text-muted", onClick: () => onChat(event), children: t("common.chat", { defaultValue: "Chat" }) })) : null, !isCreate ? (_jsx(Button, { variant: "surfaceDestructive", size: "sm", className: "h-8 rounded-xl px-3 text-xs font-semibold", disabled: deleting || saving, onClick: () => setConfirmDeleteOpen(true), children: t("common.delete", { defaultValue: "Delete" }) })) : null] }), _jsxs("div", { className: "flex gap-2", children: [_jsx(Button, { variant: "outline", size: "sm", className: "h-8 rounded-xl px-3 text-xs font-semibold", onClick: onClose, disabled: saving, children: t("common.cancel", { defaultValue: "Cancel" }) }), _jsx(Button, { variant: "outline", size: "sm", className: "h-8 rounded-xl px-3 text-xs font-semibold", disabled: saving || !form.title.trim(), onClick: () => void handleSave({ keepOpen: true }), children: saving
|
|
506
|
-
? primaryActionLoadingLabel
|
|
507
|
-
: t("eventEditor.saveAndContinue", {
|
|
508
|
-
defaultValue: "Save & continue",
|
|
509
|
-
}) }), _jsx(Button, { size: "sm", className: "h-8 rounded-xl px-3 text-xs font-semibold", disabled: saving || !form.title.trim(), onClick: () => void handleSave(), children: saving ? primaryActionLoadingLabel : primaryActionLabel })] })] })] }) }), _jsx(ConfirmDialog, { open: confirmDeleteOpen, title: t("eventEditor.confirmDeleteTitle", {
|
|
510
|
-
defaultValue: "Delete event?",
|
|
511
|
-
}), message: t("eventEditor.confirmDeleteDescription", {
|
|
512
|
-
defaultValue: "This will delete the event from your calendar. This cannot be undone.",
|
|
513
|
-
}), confirmLabel: t("common.delete", { defaultValue: "Delete" }), cancelLabel: t("common.cancel", { defaultValue: "Cancel" }), variant: "danger", onConfirm: () => void handleDelete(), onCancel: () => setConfirmDeleteOpen(false) })] }));
|
|
514
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LifeOpsActivitySignalsEffect.d.ts","sourceRoot":"","sources":["../../../../../../../apps/app-lifeops/src/components/LifeOpsActivitySignalsEffect.tsx"],"names":[],"mappings":"AAGA,wBAAgB,4BAA4B,IAAI,IAAI,CAQnD"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { useApp } from "@elizaos/app-core";
|
|
2
|
-
import { useLifeOpsActivitySignals } from "../hooks/useLifeOpsActivitySignals.js";
|
|
3
|
-
export function LifeOpsActivitySignalsEffect() {
|
|
4
|
-
const { startupCoordinator, agentStatus, backendConnection } = useApp();
|
|
5
|
-
const enabled = startupCoordinator.phase === "ready" &&
|
|
6
|
-
agentStatus?.state === "running" &&
|
|
7
|
-
backendConnection?.state === "connected";
|
|
8
|
-
useLifeOpsActivitySignals(enabled);
|
|
9
|
-
return null;
|
|
10
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LifeOpsCalendarSection — Google Calendar-style week/day/month views.
|
|
3
|
-
*
|
|
4
|
-
* Day/week views render an hour-by-hour grid and position events by their
|
|
5
|
-
* actual start/end time. Month view renders a 5-6 row day grid. Events get
|
|
6
|
-
* deterministic category colours derived from their calendar/account id so
|
|
7
|
-
* the same feed keeps the same colour across renders.
|
|
8
|
-
*/
|
|
9
|
-
import { type LifeOpsSelection } from "./LifeOpsSelectionContext.js";
|
|
10
|
-
export interface LifeOpsCalendarSectionProps {
|
|
11
|
-
selection?: LifeOpsSelection;
|
|
12
|
-
onSelect?: (args: Partial<LifeOpsSelection> | null) => void;
|
|
13
|
-
}
|
|
14
|
-
export declare function LifeOpsCalendarSection(props?: LifeOpsCalendarSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
//# sourceMappingURL=LifeOpsCalendarSection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LifeOpsCalendarSection.d.ts","sourceRoot":"","sources":["../../../../../../../apps/app-lifeops/src/components/LifeOpsCalendarSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAsBH,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,8BAA8B,CAAC;AAo2BtC,MAAM,WAAW,2BAA2B;IAC1C,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;CAC7D;AAED,wBAAgB,sBAAsB,CACpC,KAAK,GAAE,2BAAgC,2CAgOxC"}
|