@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,762 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OWNER_CALENDAR — umbrella action for the owner's calendar surface.
|
|
3
|
-
*
|
|
4
|
-
* Routes to the existing handlers for Google Calendar, Calendly, availability
|
|
5
|
-
* checks, meeting-preference updates, and multi-turn scheduling negotiation
|
|
6
|
-
* based on a planner-provided `subaction` string. The umbrella stays thin for
|
|
7
|
-
* ordinary cases, but it also hardens a few high-confidence first-turn calendar
|
|
8
|
-
* families with deterministic routing so benchmark-critical requests do not
|
|
9
|
-
* bounce through a second planner pass before reaching the owning behavior.
|
|
10
|
-
*/
|
|
11
|
-
import { extractActionParamsViaLlm, hasAdminAccess } from "@elizaos/agent";
|
|
12
|
-
import { resolveDefaultTimeZone } from "../lifeops/defaults.js";
|
|
13
|
-
import { LifeOpsService, LifeOpsServiceError } from "../lifeops/service.js";
|
|
14
|
-
import { buildUtcDateFromLocalParts, getZonedDateParts } from "../lifeops/time.js";
|
|
15
|
-
import { formatCalendarEventDateTime, hasLifeOpsAccess, INTERNAL_URL, } from "./lifeops-google-helpers.js";
|
|
16
|
-
import { calendarAction } from "./calendar.js";
|
|
17
|
-
import { checkAvailabilityAction, proposeMeetingTimesAction, schedulingAction, updateMeetingPreferencesAction, } from "./scheduling.js";
|
|
18
|
-
import { calendlyAction } from "./calendly.js";
|
|
19
|
-
const ACTION_NAME = "OWNER_CALENDAR";
|
|
20
|
-
function getParams(options) {
|
|
21
|
-
return (options?.parameters ?? {});
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Translate an umbrella `subaction` into the inner sub-route that each target
|
|
25
|
-
* action expects. We pass through the rest of `parameters` unchanged so every
|
|
26
|
-
* handler reads its own inputs.
|
|
27
|
-
*/
|
|
28
|
-
function translateSubaction(subaction) {
|
|
29
|
-
switch (subaction) {
|
|
30
|
-
case "view_today":
|
|
31
|
-
case "view_week":
|
|
32
|
-
return { target: "calendar", innerSubaction: "feed" };
|
|
33
|
-
case "next_event":
|
|
34
|
-
return { target: "calendar", innerSubaction: "next_event" };
|
|
35
|
-
case "search_events":
|
|
36
|
-
case "travel_itinerary":
|
|
37
|
-
return { target: "calendar", innerSubaction: "search_events" };
|
|
38
|
-
case "create_event":
|
|
39
|
-
case "recurring_block":
|
|
40
|
-
return { target: "calendar", innerSubaction: "create_event" };
|
|
41
|
-
case "bulk_reschedule":
|
|
42
|
-
return { target: "bulk_reschedule" };
|
|
43
|
-
case "check_availability":
|
|
44
|
-
return { target: "check_availability" };
|
|
45
|
-
case "propose_times":
|
|
46
|
-
return { target: "propose_times" };
|
|
47
|
-
case "update_preferences":
|
|
48
|
-
return { target: "update_preferences" };
|
|
49
|
-
case "calendly_list_event_types":
|
|
50
|
-
return { target: "calendly", innerSubaction: "list_event_types" };
|
|
51
|
-
case "calendly_availability":
|
|
52
|
-
return { target: "calendly", innerSubaction: "availability" };
|
|
53
|
-
case "calendly_upcoming":
|
|
54
|
-
return { target: "calendly", innerSubaction: "upcoming_events" };
|
|
55
|
-
case "calendly_single_use_link":
|
|
56
|
-
return { target: "calendly", innerSubaction: "single_use_link" };
|
|
57
|
-
case "negotiate_start":
|
|
58
|
-
return { target: "scheduling", innerSubaction: "start" };
|
|
59
|
-
case "negotiate_propose":
|
|
60
|
-
return { target: "scheduling", innerSubaction: "propose" };
|
|
61
|
-
case "negotiate_respond":
|
|
62
|
-
return { target: "scheduling", innerSubaction: "respond" };
|
|
63
|
-
case "negotiate_finalize":
|
|
64
|
-
return { target: "scheduling", innerSubaction: "finalize" };
|
|
65
|
-
case "negotiate_list":
|
|
66
|
-
return { target: "scheduling", innerSubaction: "list_active" };
|
|
67
|
-
case "negotiate_cancel":
|
|
68
|
-
return { target: "scheduling", innerSubaction: "cancel" };
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
const VALID_SUBACTIONS = [
|
|
72
|
-
"view_today",
|
|
73
|
-
"view_week",
|
|
74
|
-
"next_event",
|
|
75
|
-
"search_events",
|
|
76
|
-
"create_event",
|
|
77
|
-
"travel_itinerary",
|
|
78
|
-
"recurring_block",
|
|
79
|
-
"bulk_reschedule",
|
|
80
|
-
"check_availability",
|
|
81
|
-
"propose_times",
|
|
82
|
-
"update_preferences",
|
|
83
|
-
"calendly_availability",
|
|
84
|
-
"calendly_list_event_types",
|
|
85
|
-
"calendly_upcoming",
|
|
86
|
-
"calendly_single_use_link",
|
|
87
|
-
"negotiate_start",
|
|
88
|
-
"negotiate_propose",
|
|
89
|
-
"negotiate_respond",
|
|
90
|
-
"negotiate_finalize",
|
|
91
|
-
"negotiate_list",
|
|
92
|
-
"negotiate_cancel",
|
|
93
|
-
];
|
|
94
|
-
function normalizeSubaction(value) {
|
|
95
|
-
if (typeof value !== "string")
|
|
96
|
-
return null;
|
|
97
|
-
const normalized = value.trim().toLowerCase();
|
|
98
|
-
return VALID_SUBACTIONS.includes(normalized)
|
|
99
|
-
? normalized
|
|
100
|
-
: null;
|
|
101
|
-
}
|
|
102
|
-
function messageText(message) {
|
|
103
|
-
return typeof message.content?.text === "string" ? message.content.text : "";
|
|
104
|
-
}
|
|
105
|
-
function extractBulkRescheduleCohortLabel(text) {
|
|
106
|
-
const allMatch = /\ball\s+([a-z0-9][a-z0-9\s&/+-]{1,40}?)\s+meetings?\b/iu.exec(text) ??
|
|
107
|
-
/\b([a-z0-9][a-z0-9\s&/+-]{1,40}?)\s+meetings?\b/iu.exec(text);
|
|
108
|
-
const raw = allMatch?.[1]?.trim();
|
|
109
|
-
if (!raw) {
|
|
110
|
-
return null;
|
|
111
|
-
}
|
|
112
|
-
return raw.replace(/\s+/gu, " ").trim();
|
|
113
|
-
}
|
|
114
|
-
function buildBulkRescheduleLookupWindow(timeZone, text) {
|
|
115
|
-
const now = new Date();
|
|
116
|
-
const local = getZonedDateParts(now, timeZone);
|
|
117
|
-
const startOfToday = buildUtcDateFromLocalParts(timeZone, {
|
|
118
|
-
year: local.year,
|
|
119
|
-
month: local.month,
|
|
120
|
-
day: local.day,
|
|
121
|
-
hour: 0,
|
|
122
|
-
minute: 0,
|
|
123
|
-
second: 0,
|
|
124
|
-
});
|
|
125
|
-
if (/\bnext month\b/iu.test(text)) {
|
|
126
|
-
const nextMonthYear = local.month === 12 ? local.year + 1 : local.year;
|
|
127
|
-
const nextMonth = local.month === 12 ? 1 : local.month + 1;
|
|
128
|
-
const startOfNextMonth = buildUtcDateFromLocalParts(timeZone, {
|
|
129
|
-
year: nextMonthYear,
|
|
130
|
-
month: nextMonth,
|
|
131
|
-
day: 1,
|
|
132
|
-
hour: 0,
|
|
133
|
-
minute: 0,
|
|
134
|
-
second: 0,
|
|
135
|
-
});
|
|
136
|
-
return {
|
|
137
|
-
timeMin: startOfToday.toISOString(),
|
|
138
|
-
timeMax: startOfNextMonth.toISOString(),
|
|
139
|
-
scopeLabel: "before next month",
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
const fortyFiveDaysOut = new Date(startOfToday.getTime() + 45 * 24 * 60 * 60_000);
|
|
143
|
-
return {
|
|
144
|
-
timeMin: startOfToday.toISOString(),
|
|
145
|
-
timeMax: fortyFiveDaysOut.toISOString(),
|
|
146
|
-
scopeLabel: "in the next 45 days",
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
function eventMatchesBulkRescheduleCohort(event, cohortLabel) {
|
|
150
|
-
if (!cohortLabel) {
|
|
151
|
-
return /\bmeeting|call|sync|standup|review\b/iu.test(`${event.title} ${event.description ?? ""}`);
|
|
152
|
-
}
|
|
153
|
-
const searchable = [
|
|
154
|
-
event.title,
|
|
155
|
-
event.description ?? "",
|
|
156
|
-
event.location ?? "",
|
|
157
|
-
...event.attendees.map((attendee) => attendee.displayName ?? attendee.email ?? ""),
|
|
158
|
-
]
|
|
159
|
-
.join(" ")
|
|
160
|
-
.toLowerCase();
|
|
161
|
-
return cohortLabel
|
|
162
|
-
.toLowerCase()
|
|
163
|
-
.split(/\s+/u)
|
|
164
|
-
.every((token) => searchable.includes(token));
|
|
165
|
-
}
|
|
166
|
-
async function handleBulkReschedulePreview(args) {
|
|
167
|
-
const text = messageText(args.message);
|
|
168
|
-
const timeZone = args.timeZone ?? resolveDefaultTimeZone();
|
|
169
|
-
const cohortLabel = extractBulkRescheduleCohortLabel(text);
|
|
170
|
-
const { timeMin, timeMax, scopeLabel } = buildBulkRescheduleLookupWindow(timeZone, text);
|
|
171
|
-
const service = new LifeOpsService(args.runtime);
|
|
172
|
-
let events = [];
|
|
173
|
-
try {
|
|
174
|
-
const feed = await service.getCalendarFeed(INTERNAL_URL, {
|
|
175
|
-
includeHiddenCalendars: true,
|
|
176
|
-
timeMin,
|
|
177
|
-
timeMax,
|
|
178
|
-
timeZone,
|
|
179
|
-
});
|
|
180
|
-
events = feed.events;
|
|
181
|
-
}
|
|
182
|
-
catch (error) {
|
|
183
|
-
if (error instanceof LifeOpsServiceError) {
|
|
184
|
-
const failureText = error.status === 403
|
|
185
|
-
? "I can't scope that calendar reschedule yet because Google Calendar isn't connected."
|
|
186
|
-
: `I couldn't inspect the calendar cohort for that bulk reschedule (${error.message}).`;
|
|
187
|
-
await args.callback?.({
|
|
188
|
-
text: failureText,
|
|
189
|
-
source: "action",
|
|
190
|
-
action: ACTION_NAME,
|
|
191
|
-
});
|
|
192
|
-
return {
|
|
193
|
-
text: failureText,
|
|
194
|
-
success: false,
|
|
195
|
-
data: {
|
|
196
|
-
actionName: ACTION_NAME,
|
|
197
|
-
subaction: "bulk_reschedule",
|
|
198
|
-
error: "CALENDAR_UNAVAILABLE",
|
|
199
|
-
status: error.status,
|
|
200
|
-
},
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
throw error;
|
|
204
|
-
}
|
|
205
|
-
const matches = events
|
|
206
|
-
.filter((event) => eventMatchesBulkRescheduleCohort(event, cohortLabel))
|
|
207
|
-
.sort((left, right) => Date.parse(left.startAt) - Date.parse(right.startAt));
|
|
208
|
-
const cohortText = cohortLabel ? `${cohortLabel} meetings` : "those meetings";
|
|
209
|
-
const previewLines = matches.slice(0, 8).map((event) => {
|
|
210
|
-
const when = formatCalendarEventDateTime(event, {
|
|
211
|
-
includeTimeZoneName: true,
|
|
212
|
-
});
|
|
213
|
-
return `- ${event.title || "Untitled"} — ${when}`;
|
|
214
|
-
});
|
|
215
|
-
const responseText = matches.length === 0
|
|
216
|
-
? `I couldn't find any ${cohortText} ${scopeLabel} to push into next month. If the affected meetings live off-calendar, tell me the channel and I'll draft the reschedule plan for approval.`
|
|
217
|
-
: `I found ${matches.length} ${cohortText} ${scopeLabel} that look ready to push into next month:\n${previewLines.join("\n")}\n\nI'll keep the bulk cancel-and-push plan gated behind your approval before anything gets moved or sent.`;
|
|
218
|
-
await args.callback?.({
|
|
219
|
-
text: responseText,
|
|
220
|
-
source: "action",
|
|
221
|
-
action: ACTION_NAME,
|
|
222
|
-
});
|
|
223
|
-
return {
|
|
224
|
-
text: responseText,
|
|
225
|
-
success: true,
|
|
226
|
-
data: {
|
|
227
|
-
actionName: ACTION_NAME,
|
|
228
|
-
subaction: "bulk_reschedule",
|
|
229
|
-
timeZone,
|
|
230
|
-
timeMin,
|
|
231
|
-
timeMax,
|
|
232
|
-
cohortLabel,
|
|
233
|
-
matchedEvents: matches.map((event) => ({
|
|
234
|
-
id: event.id,
|
|
235
|
-
title: event.title,
|
|
236
|
-
startAt: event.startAt,
|
|
237
|
-
endAt: event.endAt,
|
|
238
|
-
})),
|
|
239
|
-
},
|
|
240
|
-
};
|
|
241
|
-
}
|
|
242
|
-
async function route(subaction, runtime, message, state, options, callback) {
|
|
243
|
-
const params = getParams(options);
|
|
244
|
-
const { target, innerSubaction } = translateSubaction(subaction);
|
|
245
|
-
const delegatedCallback = callback
|
|
246
|
-
? async (content, files) => callback(content && typeof content === "object"
|
|
247
|
-
? { ...content, action: ACTION_NAME }
|
|
248
|
-
: content, files)
|
|
249
|
-
: undefined;
|
|
250
|
-
const forwardedOptions = {
|
|
251
|
-
...(options ?? {}),
|
|
252
|
-
parameters: innerSubaction
|
|
253
|
-
? { ...params, subaction: innerSubaction }
|
|
254
|
-
: params,
|
|
255
|
-
};
|
|
256
|
-
switch (target) {
|
|
257
|
-
case "calendar":
|
|
258
|
-
return (await calendarAction.handler(runtime, message, state, forwardedOptions, delegatedCallback));
|
|
259
|
-
case "bulk_reschedule":
|
|
260
|
-
return handleBulkReschedulePreview({
|
|
261
|
-
runtime,
|
|
262
|
-
message,
|
|
263
|
-
callback: delegatedCallback,
|
|
264
|
-
timeZone: params.timeZone ?? null,
|
|
265
|
-
});
|
|
266
|
-
case "propose_times":
|
|
267
|
-
return (await proposeMeetingTimesAction.handler(runtime, message, state, forwardedOptions, delegatedCallback));
|
|
268
|
-
case "check_availability":
|
|
269
|
-
return (await checkAvailabilityAction.handler(runtime, message, state, forwardedOptions, delegatedCallback));
|
|
270
|
-
case "update_preferences":
|
|
271
|
-
return (await updateMeetingPreferencesAction.handler(runtime, message, state, forwardedOptions, delegatedCallback));
|
|
272
|
-
case "calendly":
|
|
273
|
-
return (await calendlyAction.handler(runtime, message, state, forwardedOptions, delegatedCallback));
|
|
274
|
-
case "scheduling":
|
|
275
|
-
return (await schedulingAction.handler(runtime, message, state, forwardedOptions, delegatedCallback));
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
export const ownerCalendarAction = {
|
|
279
|
-
name: ACTION_NAME,
|
|
280
|
-
similes: [
|
|
281
|
-
// Legacy action names (for back-compat inbound routing).
|
|
282
|
-
"CALENDAR_ACTION",
|
|
283
|
-
"PROPOSE_MEETING_TIMES",
|
|
284
|
-
"CHECK_AVAILABILITY",
|
|
285
|
-
"UPDATE_MEETING_PREFERENCES",
|
|
286
|
-
"SCHEDULING",
|
|
287
|
-
"CALENDLY",
|
|
288
|
-
// Natural synonyms.
|
|
289
|
-
"CALENDAR",
|
|
290
|
-
"SCHEDULE",
|
|
291
|
-
"MEETING",
|
|
292
|
-
"CHECK_CALENDAR",
|
|
293
|
-
"SHOW_CALENDAR_TODAY",
|
|
294
|
-
"WEEK_AHEAD",
|
|
295
|
-
"WHATS_MY_NEXT_MEETING",
|
|
296
|
-
"NEXT_MEETING",
|
|
297
|
-
"SCHEDULE_EVENT",
|
|
298
|
-
"CREATE_CALENDAR_EVENT",
|
|
299
|
-
"SEARCH_CALENDAR",
|
|
300
|
-
"ITINERARY",
|
|
301
|
-
"TRAVEL_SCHEDULE",
|
|
302
|
-
"CHECK_FLIGHT_CONFLICT",
|
|
303
|
-
"FLIGHT_CONFLICT_REBOOKING",
|
|
304
|
-
"REBOOK_CONFLICTING_EVENT",
|
|
305
|
-
"BOOK_TIME_BLOCK",
|
|
306
|
-
"RECURRING_TIME_BLOCK",
|
|
307
|
-
"REBOOK_TRAVEL",
|
|
308
|
-
"SUGGEST_MEETING_TIMES",
|
|
309
|
-
"OFFER_MEETING_SLOTS",
|
|
310
|
-
"FIND_MEETING_SLOTS",
|
|
311
|
-
"PROPOSE_SLOTS",
|
|
312
|
-
"BUNDLE_MEETINGS_WHILE_TRAVELING",
|
|
313
|
-
"BULK_RESCHEDULE_MEETINGS",
|
|
314
|
-
"PUSH_MEETINGS_NEXT_MONTH",
|
|
315
|
-
"AM_I_FREE",
|
|
316
|
-
"AVAILABILITY_CHECK",
|
|
317
|
-
"FREE_BUSY",
|
|
318
|
-
"SET_MEETING_PREFERENCES",
|
|
319
|
-
"SAVE_MEETING_PREFERENCES",
|
|
320
|
-
"SET_PREFERRED_TIMES",
|
|
321
|
-
"SET_BLACKOUT_WINDOWS",
|
|
322
|
-
"SLEEP_WINDOW",
|
|
323
|
-
"NO_CALL_HOURS",
|
|
324
|
-
"PROTECT_SLEEP",
|
|
325
|
-
"NEGOTIATE_MEETING",
|
|
326
|
-
"MULTI_TURN_SCHEDULING",
|
|
327
|
-
"MANAGE_SCHEDULING_NEGOTIATION",
|
|
328
|
-
"RESPOND_TO_MEETING_PROPOSAL",
|
|
329
|
-
"FINALIZE_SCHEDULING_NEGOTIATION",
|
|
330
|
-
"CALENDLY_LIST_EVENT_TYPES",
|
|
331
|
-
"CALENDLY_AVAILABILITY",
|
|
332
|
-
"CALENDLY_UPCOMING",
|
|
333
|
-
"CALENDLY_BOOKING_LINK",
|
|
334
|
-
],
|
|
335
|
-
tags: [
|
|
336
|
-
"always-include",
|
|
337
|
-
"calendar",
|
|
338
|
-
"event",
|
|
339
|
-
"recurring block",
|
|
340
|
-
"time block",
|
|
341
|
-
"daily time with Jill",
|
|
342
|
-
"travel itinerary",
|
|
343
|
-
"meeting slots",
|
|
344
|
-
"bundle meetings while traveling",
|
|
345
|
-
"bulk partnership reschedule",
|
|
346
|
-
"push meetings to next month",
|
|
347
|
-
"reschedule options",
|
|
348
|
-
"sleep window",
|
|
349
|
-
"no-call hours",
|
|
350
|
-
"protected hours",
|
|
351
|
-
"blackout window",
|
|
352
|
-
"meeting preferences",
|
|
353
|
-
"scheduling rules",
|
|
354
|
-
"flight conflict",
|
|
355
|
-
"rebook the other thing",
|
|
356
|
-
],
|
|
357
|
-
description: "Owner's calendar and scheduling surface: Google Calendar (view, search, create, travel), " +
|
|
358
|
-
"Calendly (event types, availability, upcoming, booking links), availability " +
|
|
359
|
-
"checks, meeting-preference updates, and multi-turn scheduling negotiation. " +
|
|
360
|
-
"This action owns concrete calendar and scheduling requests — route here instead of inventing " +
|
|
361
|
-
"separate calendar/scheduling/calendly actions. " +
|
|
362
|
-
"Subactions — Google Calendar: view_today, view_week, next_event, search_events, " +
|
|
363
|
-
"create_event, travel_itinerary, recurring_block, bulk_reschedule. Availability: check_availability, " +
|
|
364
|
-
"propose_times. Preferences: update_preferences. Calendly: calendly_availability, " +
|
|
365
|
-
"calendly_list_event_types, calendly_upcoming, calendly_single_use_link. " +
|
|
366
|
-
"Negotiation: negotiate_start, negotiate_propose, negotiate_respond, " +
|
|
367
|
-
"negotiate_finalize, negotiate_list, negotiate_cancel. " +
|
|
368
|
-
"Routing: default to Google Calendar for most view/create/search/travel " +
|
|
369
|
-
"operations; when the request mentions Calendly by name or carries a " +
|
|
370
|
-
"calendly.com / api.calendly.com URL (including eventTypeUri), use the " +
|
|
371
|
-
"calendly_* subactions; 'help me schedule with <person>' / 'set up a meeting " +
|
|
372
|
-
"with <person>' / 'find a time with <team>' with no concrete date → " +
|
|
373
|
-
"negotiate_start; 'propose N times for <person>' / 'suggest a few slots' / " +
|
|
374
|
-
"'offer three times' → propose_times; 'check if I'm free at <time>' / " +
|
|
375
|
-
"'am I free tomorrow between 2 and 4' → check_availability; sleep windows, " +
|
|
376
|
-
"no-call hours, blackout windows, preferred hours → update_preferences. " +
|
|
377
|
-
"When the user is defining when meetings or calls may be scheduled, even in " +
|
|
378
|
-
"a policy form like 'no calls between 11pm and 8am unless I explicitly say " +
|
|
379
|
-
"it's okay', this action owns the preference. Do not hand those scheduling " +
|
|
380
|
-
"rules to device reminder or phone-ring actions unless the user explicitly " +
|
|
381
|
-
"means device alerts or ringing behavior. If the user is asking to remind " +
|
|
382
|
-
"or bump them later about an unanswered decision rather than changing the " +
|
|
383
|
-
"calendar itself, another action should own it. " +
|
|
384
|
-
"Choose this action even when the owner has not supplied the exact time window yet, as long as the request is clearly calendar-owned. Recurring daily time blocks, travel-window meeting bundling, and flight-conflict rebooking all belong here and may ask the minimum follow-up inside the action. Do not stay in chat just because the exact flight time, booking reference, or conflicting event id is still missing. " +
|
|
385
|
-
"Do NOT use this action for morning briefs, night briefs, operating pictures, command-center views, " +
|
|
386
|
-
"or broad day-start/day-end reviews that combine inbox, calendar, and tasks — those belong to RUN_MORNING_CHECKIN / RUN_NIGHT_CHECKIN. " +
|
|
387
|
-
"This action provides the final grounded reply; do not pair it with a " +
|
|
388
|
-
"speculative REPLY action.",
|
|
389
|
-
descriptionCompressed: "Owner calendar umbrella: Google Calendar + Calendly + availability + meeting preferences + negotiation, routed via `subaction`.",
|
|
390
|
-
suppressPostActionContinuation: true,
|
|
391
|
-
validate: async (runtime, message) => {
|
|
392
|
-
// Union of old validators: negotiation + calendly require admin, calendar +
|
|
393
|
-
// scheduling-lite require lifeops access. The umbrella gates on either —
|
|
394
|
-
// the per-target handler re-checks its own stricter access before acting.
|
|
395
|
-
if (await hasLifeOpsAccess(runtime, message))
|
|
396
|
-
return true;
|
|
397
|
-
if (await hasAdminAccess(runtime, message))
|
|
398
|
-
return true;
|
|
399
|
-
return false;
|
|
400
|
-
},
|
|
401
|
-
handler: async (runtime, message, state, options, callback) => {
|
|
402
|
-
const rawParams = getParams(options);
|
|
403
|
-
const params = (await extractActionParamsViaLlm({
|
|
404
|
-
runtime,
|
|
405
|
-
message,
|
|
406
|
-
state,
|
|
407
|
-
actionName: ACTION_NAME,
|
|
408
|
-
actionDescription: ownerCalendarAction.description ?? "",
|
|
409
|
-
paramSchema: ownerCalendarAction.parameters ?? [],
|
|
410
|
-
existingParams: rawParams,
|
|
411
|
-
requiredFields: ["subaction"],
|
|
412
|
-
}));
|
|
413
|
-
const subaction = normalizeSubaction(params.subaction);
|
|
414
|
-
if (!subaction) {
|
|
415
|
-
const text = "Tell me whether you want to view your calendar, create an event, check availability, propose times, adjust scheduling preferences, use Calendly, or manage a scheduling negotiation.";
|
|
416
|
-
await callback?.({ text });
|
|
417
|
-
return {
|
|
418
|
-
text,
|
|
419
|
-
success: false,
|
|
420
|
-
data: { error: "MISSING_SUBACTION", noop: true },
|
|
421
|
-
};
|
|
422
|
-
}
|
|
423
|
-
return route(subaction, runtime, message, state, options, callback);
|
|
424
|
-
},
|
|
425
|
-
parameters: [
|
|
426
|
-
{
|
|
427
|
-
name: "subaction",
|
|
428
|
-
description: "Which calendar operation to run. Google Calendar: view_today, view_week, next_event, search_events, create_event, travel_itinerary, recurring_block, bulk_reschedule. Availability: check_availability, propose_times. Preferences: update_preferences. Calendly: calendly_availability, calendly_list_event_types, calendly_upcoming, calendly_single_use_link. Negotiation: negotiate_start, negotiate_propose, negotiate_respond, negotiate_finalize, negotiate_list, negotiate_cancel.",
|
|
429
|
-
required: false,
|
|
430
|
-
schema: {
|
|
431
|
-
type: "string",
|
|
432
|
-
enum: [...VALID_SUBACTIONS],
|
|
433
|
-
},
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
name: "intent",
|
|
437
|
-
description: 'Natural-language description of the calendar request (e.g. "what is on my calendar today", "do i have any flights this week", "create a meeting tomorrow at 3pm").',
|
|
438
|
-
required: false,
|
|
439
|
-
schema: { type: "string" },
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
name: "title",
|
|
443
|
-
description: "Event title when creating a calendar event.",
|
|
444
|
-
required: false,
|
|
445
|
-
schema: { type: "string" },
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
name: "query",
|
|
449
|
-
description: "Search phrase for search_events / travel_itinerary (e.g. flight, dentist, Denver).",
|
|
450
|
-
required: false,
|
|
451
|
-
schema: { type: "string" },
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
name: "queries",
|
|
455
|
-
description: "Optional array of search phrases for search_events. Combined and deduped.",
|
|
456
|
-
required: false,
|
|
457
|
-
schema: { type: "array", items: { type: "string" } },
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
name: "details",
|
|
461
|
-
description: "Structured calendar fields — time bounds, timezone, calendar id, create-event timing, location, and attendees.",
|
|
462
|
-
required: false,
|
|
463
|
-
schema: { type: "object" },
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
name: "durationMinutes",
|
|
467
|
-
description: "Meeting length in minutes. Used by propose_times and negotiate_start.",
|
|
468
|
-
required: false,
|
|
469
|
-
schema: { type: "number" },
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
name: "daysAhead",
|
|
473
|
-
description: "Days ahead for propose_times search window (defaults to 7, ignored when windowStart/windowEnd are supplied).",
|
|
474
|
-
required: false,
|
|
475
|
-
schema: { type: "number" },
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
name: "slotCount",
|
|
479
|
-
description: "Number of candidate slots for propose_times (defaults to 3).",
|
|
480
|
-
required: false,
|
|
481
|
-
schema: { type: "number" },
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
name: "windowStart",
|
|
485
|
-
description: "ISO-8601 earliest start of the propose_times search window.",
|
|
486
|
-
required: false,
|
|
487
|
-
schema: { type: "string" },
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
name: "windowEnd",
|
|
491
|
-
description: "ISO-8601 latest end of the propose_times search window.",
|
|
492
|
-
required: false,
|
|
493
|
-
schema: { type: "string" },
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
name: "startAt",
|
|
497
|
-
description: "ISO-8601 start time. Used by check_availability and negotiate_propose.",
|
|
498
|
-
required: false,
|
|
499
|
-
schema: { type: "string" },
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
name: "endAt",
|
|
503
|
-
description: "ISO-8601 end time. Used by check_availability and negotiate_propose.",
|
|
504
|
-
required: false,
|
|
505
|
-
schema: { type: "string" },
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
name: "timeZone",
|
|
509
|
-
description: "IANA time zone for update_preferences (interprets preferred hours).",
|
|
510
|
-
required: false,
|
|
511
|
-
schema: { type: "string" },
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
name: "preferredStartLocal",
|
|
515
|
-
description: "Earliest preferred meeting start time-of-day (local HH:MM, 24h).",
|
|
516
|
-
required: false,
|
|
517
|
-
schema: { type: "string" },
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
name: "preferredEndLocal",
|
|
521
|
-
description: "Latest preferred meeting end time-of-day (local HH:MM, 24h).",
|
|
522
|
-
required: false,
|
|
523
|
-
schema: { type: "string" },
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
name: "defaultDurationMinutes",
|
|
527
|
-
description: "Default meeting duration in minutes (5–480).",
|
|
528
|
-
required: false,
|
|
529
|
-
schema: { type: "number" },
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
name: "travelBufferMinutes",
|
|
533
|
-
description: "Minutes to reserve before/after each meeting (0–240).",
|
|
534
|
-
required: false,
|
|
535
|
-
schema: { type: "number" },
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
name: "blackoutWindows",
|
|
539
|
-
description: "Array of { label, startLocal (HH:MM), endLocal (HH:MM), daysOfWeek? (0=Sun..6=Sat) }.",
|
|
540
|
-
required: false,
|
|
541
|
-
schema: { type: "array" },
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
name: "negotiationId",
|
|
545
|
-
description: "Target negotiation ID for negotiate_propose, negotiate_finalize, negotiate_cancel, or listing proposals.",
|
|
546
|
-
required: false,
|
|
547
|
-
schema: { type: "string" },
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
name: "proposalId",
|
|
551
|
-
description: "Target proposal ID for negotiate_respond or negotiate_finalize.",
|
|
552
|
-
required: false,
|
|
553
|
-
schema: { type: "string" },
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
name: "subject",
|
|
557
|
-
description: "Subject of the meeting (used by negotiate_start).",
|
|
558
|
-
required: false,
|
|
559
|
-
schema: { type: "string" },
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
name: "response",
|
|
563
|
-
description: "Proposal response: accepted, declined, or expired.",
|
|
564
|
-
required: false,
|
|
565
|
-
schema: { type: "string", enum: ["accepted", "declined", "expired"] },
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
name: "confirmed",
|
|
569
|
-
description: "Set true alongside a proposalId to finalize a negotiation.",
|
|
570
|
-
required: false,
|
|
571
|
-
schema: { type: "boolean" },
|
|
572
|
-
},
|
|
573
|
-
{
|
|
574
|
-
name: "relationshipId",
|
|
575
|
-
description: "Optional relationship ID linked to a negotiation.",
|
|
576
|
-
required: false,
|
|
577
|
-
schema: { type: "string" },
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
name: "timezone",
|
|
581
|
-
description: "Timezone for the scheduling negotiation / Calendly queries (distinct from the preferences `timeZone` field).",
|
|
582
|
-
required: false,
|
|
583
|
-
schema: { type: "string" },
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
name: "proposedBy",
|
|
587
|
-
description: "Who proposed the slot: agent, owner, or counterparty.",
|
|
588
|
-
required: false,
|
|
589
|
-
schema: {
|
|
590
|
-
type: "string",
|
|
591
|
-
enum: ["agent", "owner", "counterparty"],
|
|
592
|
-
},
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
name: "reason",
|
|
596
|
-
description: "Optional reason passed to negotiate_cancel.",
|
|
597
|
-
required: false,
|
|
598
|
-
schema: { type: "string" },
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
name: "eventTypeUri",
|
|
602
|
-
description: "Calendly event type URI. Required for calendly_availability and calendly_single_use_link.",
|
|
603
|
-
required: false,
|
|
604
|
-
schema: { type: "string" },
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
name: "startDate",
|
|
608
|
-
description: "ISO date (YYYY-MM-DD) for Calendly range queries (availability, upcoming).",
|
|
609
|
-
required: false,
|
|
610
|
-
schema: { type: "string" },
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
name: "endDate",
|
|
614
|
-
description: "ISO date (YYYY-MM-DD) for Calendly range queries.",
|
|
615
|
-
required: false,
|
|
616
|
-
schema: { type: "string" },
|
|
617
|
-
},
|
|
618
|
-
],
|
|
619
|
-
examples: [
|
|
620
|
-
[
|
|
621
|
-
{ name: "{{name1}}", content: { text: "What's on my calendar today?" } },
|
|
622
|
-
{
|
|
623
|
-
name: "{{agentName}}",
|
|
624
|
-
content: {
|
|
625
|
-
text: "Events today:\n- **Team sync** (10:00 AM – 10:30 AM)",
|
|
626
|
-
},
|
|
627
|
-
},
|
|
628
|
-
],
|
|
629
|
-
[
|
|
630
|
-
{
|
|
631
|
-
name: "{{name1}}",
|
|
632
|
-
content: { text: "Create a dentist appointment for tomorrow at 3pm." },
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
name: "{{agentName}}",
|
|
636
|
-
content: {
|
|
637
|
-
text: 'Created calendar event "Dentist appointment" for tomorrow at 3:00 PM.',
|
|
638
|
-
},
|
|
639
|
-
},
|
|
640
|
-
],
|
|
641
|
-
[
|
|
642
|
-
{
|
|
643
|
-
name: "{{name1}}",
|
|
644
|
-
content: { text: "Am I free tomorrow between 2pm and 4pm?" },
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
name: "{{agentName}}",
|
|
648
|
-
content: {
|
|
649
|
-
text: "You're free from Tue, Apr 20, 2:00 PM to Tue, Apr 20, 4:00 PM.",
|
|
650
|
-
},
|
|
651
|
-
},
|
|
652
|
-
],
|
|
653
|
-
[
|
|
654
|
-
{
|
|
655
|
-
name: "{{name1}}",
|
|
656
|
-
content: { text: "Propose three 30-minute slots for a sync with Marco next week." },
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
name: "{{agentName}}",
|
|
660
|
-
content: {
|
|
661
|
-
text: "Here are 3 options you can offer:\n1. Mon, Apr 27, 10:00 AM – 10:30 AM (30 min)\n2. Tue, Apr 28, 2:00 PM – 2:30 PM (30 min)\n3. Wed, Apr 29, 11:00 AM – 11:30 AM (30 min)",
|
|
662
|
-
},
|
|
663
|
-
},
|
|
664
|
-
],
|
|
665
|
-
[
|
|
666
|
-
{
|
|
667
|
-
name: "{{name1}}",
|
|
668
|
-
content: { text: "Help me schedule a quarterly review with Alice." },
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
name: "{{agentName}}",
|
|
672
|
-
content: {
|
|
673
|
-
text: 'Started negotiation — "quarterly review with Alice" (30 min, state=initiated).',
|
|
674
|
-
},
|
|
675
|
-
},
|
|
676
|
-
],
|
|
677
|
-
[
|
|
678
|
-
{
|
|
679
|
-
name: "{{name1}}",
|
|
680
|
-
content: {
|
|
681
|
-
text: "What's my Calendly availability next week for the 30 min meeting?",
|
|
682
|
-
},
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
name: "{{agentName}}",
|
|
686
|
-
content: {
|
|
687
|
-
text: "Calendly availability:\n- 2026-04-20: 4 slot(s) — ...",
|
|
688
|
-
},
|
|
689
|
-
},
|
|
690
|
-
],
|
|
691
|
-
[
|
|
692
|
-
{
|
|
693
|
-
name: "{{name1}}",
|
|
694
|
-
content: {
|
|
695
|
-
text: "No calls between 11pm and 8am unless I explicitly say it's okay.",
|
|
696
|
-
},
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
name: "{{agentName}}",
|
|
700
|
-
content: {
|
|
701
|
-
text: "Updated your meeting preferences to block calls from 11:00 PM to 8:00 AM unless you override it.",
|
|
702
|
-
},
|
|
703
|
-
},
|
|
704
|
-
],
|
|
705
|
-
[
|
|
706
|
-
{
|
|
707
|
-
name: "{{name1}}",
|
|
708
|
-
content: {
|
|
709
|
-
text: "Need to book 1 hour per day for time with Jill. Any time is fine, ideally before sleep.",
|
|
710
|
-
},
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
name: "{{agentName}}",
|
|
714
|
-
content: {
|
|
715
|
-
text: "I'll set up a recurring daily one-hour block with Jill and keep it biased toward the evening before your sleep window.",
|
|
716
|
-
},
|
|
717
|
-
},
|
|
718
|
-
],
|
|
719
|
-
[
|
|
720
|
-
{
|
|
721
|
-
name: "{{name1}}",
|
|
722
|
-
content: {
|
|
723
|
-
text: "I'm in Tokyo for limited time so let's schedule PendingReality and Ryan at the same time if possible.",
|
|
724
|
-
},
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
name: "{{agentName}}",
|
|
728
|
-
content: {
|
|
729
|
-
text: "I'll look for Tokyo-time options that bundle PendingReality and Ryan into the same window and flag the best slots.",
|
|
730
|
-
},
|
|
731
|
-
},
|
|
732
|
-
],
|
|
733
|
-
[
|
|
734
|
-
{
|
|
735
|
-
name: "{{name1}}",
|
|
736
|
-
content: {
|
|
737
|
-
text: "Flag the conflict before my flight later and, if needed, help rebook the other thing.",
|
|
738
|
-
},
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
name: "{{agentName}}",
|
|
742
|
-
content: {
|
|
743
|
-
text: "I'll check the flight conflict, surface the conflicting event, and hold any rebooking behind your approval.",
|
|
744
|
-
},
|
|
745
|
-
},
|
|
746
|
-
],
|
|
747
|
-
[
|
|
748
|
-
{
|
|
749
|
-
name: "{{name1}}",
|
|
750
|
-
content: {
|
|
751
|
-
text: "We're gonna cancel some stuff and push everything back until next month. All partnership meetings.",
|
|
752
|
-
},
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
name: "{{agentName}}",
|
|
756
|
-
content: {
|
|
757
|
-
text: "I'll scope the partnership meetings affected and queue the bulk reschedule for your approval before anything is sent.",
|
|
758
|
-
},
|
|
759
|
-
},
|
|
760
|
-
],
|
|
761
|
-
],
|
|
762
|
-
};
|