@elizaos/ui 2.0.0-alpha.51 → 2.0.0-alpha.511
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/character-catalog.d.ts +10 -0
- package/apps/app-companion/src/character-catalog.d.ts.map +1 -0
- package/apps/app-companion/src/character-catalog.js +32 -0
- package/apps/app-companion/src/components/avatar/MathEnvironment.d.ts +38 -0
- package/apps/app-companion/src/components/avatar/MathEnvironment.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/MathEnvironment.js +295 -0
- package/apps/app-companion/src/components/avatar/SceneOverlayManager.d.ts +36 -0
- package/apps/app-companion/src/components/avatar/SceneOverlayManager.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/SceneOverlayManager.js +305 -0
- package/apps/app-companion/src/components/avatar/VrmAnimationLoader.d.ts +30 -0
- package/apps/app-companion/src/components/avatar/VrmAnimationLoader.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/VrmAnimationLoader.js +99 -0
- package/apps/app-companion/src/components/avatar/VrmBlinkController.d.ts +37 -0
- package/apps/app-companion/src/components/avatar/VrmBlinkController.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/VrmBlinkController.js +98 -0
- package/apps/app-companion/src/components/avatar/VrmCameraManager.d.ts +57 -0
- package/apps/app-companion/src/components/avatar/VrmCameraManager.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/VrmCameraManager.js +256 -0
- package/apps/app-companion/src/components/avatar/VrmEngine.d.ts +283 -0
- package/apps/app-companion/src/components/avatar/VrmEngine.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/VrmEngine.js +2003 -0
- package/apps/app-companion/src/components/avatar/VrmFootShadow.d.ts +18 -0
- package/apps/app-companion/src/components/avatar/VrmFootShadow.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/VrmFootShadow.js +83 -0
- package/apps/app-companion/src/components/avatar/VrmTeleportEffect.d.ts +49 -0
- package/apps/app-companion/src/components/avatar/VrmTeleportEffect.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/VrmTeleportEffect.js +390 -0
- package/apps/app-companion/src/components/avatar/VrmViewer.d.ts +64 -0
- package/apps/app-companion/src/components/avatar/VrmViewer.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/VrmViewer.js +437 -0
- package/apps/app-companion/src/components/avatar/mixamoVRMRigMap.d.ts +3 -0
- package/apps/app-companion/src/components/avatar/mixamoVRMRigMap.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/mixamoVRMRigMap.js +56 -0
- package/apps/app-companion/src/components/avatar/retargetMixamoFbxToVrm.d.ts +9 -0
- package/apps/app-companion/src/components/avatar/retargetMixamoFbxToVrm.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/retargetMixamoFbxToVrm.js +127 -0
- package/apps/app-companion/src/components/avatar/retargetMixamoGltfToVrm.d.ts +11 -0
- package/apps/app-companion/src/components/avatar/retargetMixamoGltfToVrm.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/retargetMixamoGltfToVrm.js +97 -0
- package/apps/app-companion/src/components/avatar/scene-overlay-renderer.d.ts +37 -0
- package/apps/app-companion/src/components/avatar/scene-overlay-renderer.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/scene-overlay-renderer.js +337 -0
- package/apps/app-companion/src/components/avatar/scene-theme-tokens.d.ts +26 -0
- package/apps/app-companion/src/components/avatar/scene-theme-tokens.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/scene-theme-tokens.js +48 -0
- package/apps/app-companion/src/components/avatar/vector-browser-three.d.ts +9 -0
- package/apps/app-companion/src/components/avatar/vector-browser-three.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/vector-browser-three.js +21 -0
- package/apps/app-companion/src/components/avatar/vector-browser-utils.d.ts +52 -0
- package/apps/app-companion/src/components/avatar/vector-browser-utils.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/vector-browser-utils.js +245 -0
- package/apps/app-companion/src/components/avatar/vrm-desktop-energy.d.ts +40 -0
- package/apps/app-companion/src/components/avatar/vrm-desktop-energy.d.ts.map +1 -0
- package/apps/app-companion/src/components/avatar/vrm-desktop-energy.js +74 -0
- package/apps/app-companion/src/components/chat/ChatAvatar.d.ts +3 -0
- package/apps/app-companion/src/components/chat/ChatAvatar.d.ts.map +1 -0
- package/apps/app-companion/src/components/chat/ChatAvatar.js +80 -0
- package/apps/app-companion/src/components/companion/CompanionAppView.d.ts +9 -0
- package/apps/app-companion/src/components/companion/CompanionAppView.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/CompanionAppView.js +121 -0
- package/apps/app-companion/src/components/companion/CompanionHeader.d.ts +27 -0
- package/apps/app-companion/src/components/companion/CompanionHeader.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/CompanionHeader.js +67 -0
- package/apps/app-companion/src/components/companion/CompanionPerformanceSettings.d.ts +2 -0
- package/apps/app-companion/src/components/companion/CompanionPerformanceSettings.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/CompanionPerformanceSettings.js +33 -0
- package/apps/app-companion/src/components/companion/CompanionSceneHost.d.ts +15 -0
- package/apps/app-companion/src/components/companion/CompanionSceneHost.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/CompanionSceneHost.js +476 -0
- package/apps/app-companion/src/components/companion/CompanionSettingsPanel.d.ts +2 -0
- package/apps/app-companion/src/components/companion/CompanionSettingsPanel.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/CompanionSettingsPanel.js +7 -0
- package/apps/app-companion/src/components/companion/CompanionShell.d.ts +8 -0
- package/apps/app-companion/src/components/companion/CompanionShell.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/CompanionShell.js +9 -0
- package/apps/app-companion/src/components/companion/CompanionView.d.ts +7 -0
- package/apps/app-companion/src/components/companion/CompanionView.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/CompanionView.js +126 -0
- package/apps/app-companion/src/components/companion/EmotePicker.d.ts +2 -0
- package/apps/app-companion/src/components/companion/EmotePicker.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/EmotePicker.js +351 -0
- package/apps/app-companion/src/components/companion/GlobalEmoteOverlay.d.ts +2 -0
- package/apps/app-companion/src/components/companion/GlobalEmoteOverlay.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/GlobalEmoteOverlay.js +113 -0
- package/apps/app-companion/src/components/companion/InferenceCloudAlertButton.d.ts +9 -0
- package/apps/app-companion/src/components/companion/InferenceCloudAlertButton.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/InferenceCloudAlertButton.js +16 -0
- package/apps/app-companion/src/components/companion/VrmStage.d.ts +27 -0
- package/apps/app-companion/src/components/companion/VrmStage.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/VrmStage.js +179 -0
- package/apps/app-companion/src/components/companion/companion-app.d.ts +6 -0
- package/apps/app-companion/src/components/companion/companion-app.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/companion-app.js +15 -0
- package/apps/app-companion/src/components/companion/companion-scene-status-context.d.ts +7 -0
- package/apps/app-companion/src/components/companion/companion-scene-status-context.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/companion-scene-status-context.js +8 -0
- package/apps/app-companion/src/components/companion/companion-shell-styles.d.ts +38 -0
- package/apps/app-companion/src/components/companion/companion-shell-styles.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/companion-shell-styles.js +237 -0
- package/apps/app-companion/src/components/companion/resolve-companion-inference-notice.d.ts +19 -0
- package/apps/app-companion/src/components/companion/resolve-companion-inference-notice.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/resolve-companion-inference-notice.js +31 -0
- package/apps/app-companion/src/components/companion/scene-overlay-bridge.d.ts +6 -0
- package/apps/app-companion/src/components/companion/scene-overlay-bridge.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/scene-overlay-bridge.js +83 -0
- package/apps/app-companion/src/components/companion/shared-companion-scene-context.d.ts +3 -0
- package/apps/app-companion/src/components/companion/shared-companion-scene-context.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/shared-companion-scene-context.js +13 -0
- package/apps/app-companion/src/components/companion/walletUtils.d.ts +91 -0
- package/apps/app-companion/src/components/companion/walletUtils.d.ts.map +1 -0
- package/apps/app-companion/src/components/companion/walletUtils.js +152 -0
- package/apps/app-companion/src/emotes/catalog.d.ts +31 -0
- package/apps/app-companion/src/emotes/catalog.d.ts.map +1 -0
- package/apps/app-companion/src/emotes/catalog.js +402 -0
- package/apps/app-companion/src/emotes/index.d.ts +2 -0
- package/apps/app-companion/src/emotes/index.d.ts.map +1 -0
- package/apps/app-companion/src/emotes/index.js +1 -0
- package/apps/app-companion/src/index.d.ts +38 -0
- package/apps/app-companion/src/index.d.ts.map +1 -0
- package/apps/app-companion/src/index.js +37 -0
- package/apps/app-companion/src/types/render-modes.d.ts +4 -0
- package/apps/app-companion/src/types/render-modes.d.ts.map +1 -0
- package/apps/app-companion/src/types/render-modes.js +6 -0
- package/apps/app-companion/src/vrm-assets.d.ts +10 -0
- package/apps/app-companion/src/vrm-assets.d.ts.map +1 -0
- package/apps/app-companion/src/vrm-assets.js +70 -0
- package/apps/app-elizamaker/src/drop-routes.d.ts +22 -0
- package/apps/app-elizamaker/src/drop-routes.d.ts.map +1 -0
- package/apps/app-elizamaker/src/drop-routes.js +155 -0
- package/apps/app-elizamaker/src/drop-service-registry.d.ts +4 -0
- package/apps/app-elizamaker/src/drop-service-registry.d.ts.map +1 -0
- package/apps/app-elizamaker/src/drop-service-registry.js +7 -0
- package/apps/app-elizamaker/src/drop-service.d.ts +26 -0
- package/apps/app-elizamaker/src/drop-service.d.ts.map +1 -0
- package/apps/app-elizamaker/src/drop-service.js +134 -0
- package/apps/app-elizamaker/src/index.d.ts +10 -0
- package/apps/app-elizamaker/src/index.d.ts.map +1 -0
- package/apps/app-elizamaker/src/index.js +7 -0
- package/apps/app-elizamaker/src/merkle-tree.d.ts +90 -0
- package/apps/app-elizamaker/src/merkle-tree.d.ts.map +1 -0
- package/apps/app-elizamaker/src/merkle-tree.js +174 -0
- package/apps/app-elizamaker/src/og-tracker.d.ts +28 -0
- package/apps/app-elizamaker/src/og-tracker.d.ts.map +1 -0
- package/apps/app-elizamaker/src/og-tracker.js +60 -0
- package/apps/app-elizamaker/src/plugin.d.ts +4 -0
- package/apps/app-elizamaker/src/plugin.d.ts.map +1 -0
- package/apps/app-elizamaker/src/plugin.js +80 -0
- package/apps/app-elizamaker/src/twitter-verify.d.ts +25 -0
- package/apps/app-elizamaker/src/twitter-verify.d.ts.map +1 -0
- package/apps/app-elizamaker/src/twitter-verify.js +167 -0
- package/apps/app-lifeops/src/actions/website-blocker.d.ts +8 -0
- package/apps/app-lifeops/src/actions/website-blocker.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/website-blocker.js +832 -0
- package/apps/app-lifeops/src/activity-profile/activity-tracker-repo.d.ts +28 -0
- package/apps/app-lifeops/src/activity-profile/activity-tracker-repo.d.ts.map +1 -0
- package/apps/app-lifeops/src/activity-profile/activity-tracker-repo.js +62 -0
- package/apps/app-lifeops/src/activity-profile/activity-tracker-reporting.d.ts +52 -0
- package/apps/app-lifeops/src/activity-profile/activity-tracker-reporting.d.ts.map +1 -0
- package/apps/app-lifeops/src/activity-profile/activity-tracker-reporting.js +129 -0
- package/apps/app-lifeops/src/activity-profile/profile-metadata.d.ts +10 -0
- package/apps/app-lifeops/src/activity-profile/profile-metadata.d.ts.map +1 -0
- package/apps/app-lifeops/src/activity-profile/profile-metadata.js +25 -0
- package/apps/app-lifeops/src/activity-profile/redactor.d.ts +18 -0
- package/apps/app-lifeops/src/activity-profile/redactor.d.ts.map +1 -0
- package/apps/app-lifeops/src/activity-profile/redactor.js +39 -0
- package/apps/app-lifeops/src/activity-profile/system-inactivity-apps.d.ts +8 -0
- package/apps/app-lifeops/src/activity-profile/system-inactivity-apps.d.ts.map +1 -0
- package/apps/app-lifeops/src/activity-profile/system-inactivity-apps.js +75 -0
- package/apps/app-lifeops/src/activity-profile/types.d.ts +89 -0
- package/apps/app-lifeops/src/activity-profile/types.d.ts.map +1 -0
- package/apps/app-lifeops/src/activity-profile/types.js +29 -0
- package/apps/app-lifeops/src/api/client-lifeops.d.ts +406 -0
- package/apps/app-lifeops/src/api/client-lifeops.d.ts.map +1 -0
- package/apps/app-lifeops/src/api/client-lifeops.js +1070 -0
- package/apps/app-lifeops/src/contracts/index.d.ts +3 -0
- package/apps/app-lifeops/src/contracts/index.d.ts.map +1 -0
- package/apps/app-lifeops/src/contracts/index.js +2 -0
- package/apps/app-lifeops/src/inbox/channel-deep-links.d.ts +7 -0
- package/apps/app-lifeops/src/inbox/channel-deep-links.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/channel-deep-links.js +108 -0
- package/apps/app-lifeops/src/inbox/message-fetcher.d.ts +47 -0
- package/apps/app-lifeops/src/inbox/message-fetcher.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/message-fetcher.js +445 -0
- package/apps/app-lifeops/src/inbox/types.d.ts +118 -0
- package/apps/app-lifeops/src/inbox/types.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/types.js +1 -0
- package/apps/app-lifeops/src/lifeops/app-state.d.ts +22 -0
- package/apps/app-lifeops/src/lifeops/app-state.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/app-state.js +72 -0
- package/apps/app-lifeops/src/lifeops/apple-reminders.d.ts +58 -0
- package/apps/app-lifeops/src/lifeops/apple-reminders.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/apple-reminders.js +325 -0
- package/apps/app-lifeops/src/lifeops/awake-probability.d.ts +11 -0
- package/apps/app-lifeops/src/lifeops/awake-probability.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/awake-probability.js +169 -0
- package/apps/app-lifeops/src/lifeops/bill-extraction.d.ts +47 -0
- package/apps/app-lifeops/src/lifeops/bill-extraction.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/bill-extraction.js +355 -0
- package/apps/app-lifeops/src/lifeops/browser-extension-store.d.ts +61 -0
- package/apps/app-lifeops/src/lifeops/browser-extension-store.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/browser-extension-store.js +181 -0
- package/apps/app-lifeops/src/lifeops/browser-readiness.d.ts +16 -0
- package/apps/app-lifeops/src/lifeops/browser-readiness.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/browser-readiness.js +74 -0
- package/apps/app-lifeops/src/lifeops/browser-session-lifecycle.d.ts +57 -0
- package/apps/app-lifeops/src/lifeops/browser-session-lifecycle.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/browser-session-lifecycle.js +267 -0
- package/apps/app-lifeops/src/lifeops/checkin/checkin-service.d.ts +61 -0
- package/apps/app-lifeops/src/lifeops/checkin/checkin-service.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/checkin/checkin-service.js +975 -0
- package/apps/app-lifeops/src/lifeops/checkin/sleep-cycle-dispatch.d.ts +18 -0
- package/apps/app-lifeops/src/lifeops/checkin/sleep-cycle-dispatch.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/checkin/sleep-cycle-dispatch.js +26 -0
- package/apps/app-lifeops/src/lifeops/checkin/types.d.ts +78 -0
- package/apps/app-lifeops/src/lifeops/checkin/types.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/checkin/types.js +7 -0
- package/apps/app-lifeops/src/lifeops/circadian-rules.d.ts +45 -0
- package/apps/app-lifeops/src/lifeops/circadian-rules.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/circadian-rules.js +291 -0
- package/apps/app-lifeops/src/lifeops/continuity-probe.d.ts +31 -0
- package/apps/app-lifeops/src/lifeops/continuity-probe.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/continuity-probe.js +187 -0
- package/apps/app-lifeops/src/lifeops/defaults.d.ts +24 -0
- package/apps/app-lifeops/src/lifeops/defaults.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/defaults.js +212 -0
- package/apps/app-lifeops/src/lifeops/discord-browser-scraper.d.ts +109 -0
- package/apps/app-lifeops/src/lifeops/discord-browser-scraper.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/discord-browser-scraper.js +536 -0
- package/apps/app-lifeops/src/lifeops/discord-desktop-cdp.d.ts +33 -0
- package/apps/app-lifeops/src/lifeops/discord-desktop-cdp.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/discord-desktop-cdp.js +521 -0
- package/apps/app-lifeops/src/lifeops/email-classifier.d.ts +57 -0
- package/apps/app-lifeops/src/lifeops/email-classifier.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/email-classifier.js +337 -0
- package/apps/app-lifeops/src/lifeops/email-unsubscribe-gmail.d.ts +64 -0
- package/apps/app-lifeops/src/lifeops/email-unsubscribe-gmail.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/email-unsubscribe-gmail.js +273 -0
- package/apps/app-lifeops/src/lifeops/email-unsubscribe-types.d.ts +67 -0
- package/apps/app-lifeops/src/lifeops/email-unsubscribe-types.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/email-unsubscribe-types.js +1 -0
- package/apps/app-lifeops/src/lifeops/enforcement-windows.d.ts +34 -0
- package/apps/app-lifeops/src/lifeops/enforcement-windows.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/enforcement-windows.js +103 -0
- package/apps/app-lifeops/src/lifeops/engine.d.ts +8 -0
- package/apps/app-lifeops/src/lifeops/engine.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/engine.js +393 -0
- package/apps/app-lifeops/src/lifeops/fda-probe.d.ts +23 -0
- package/apps/app-lifeops/src/lifeops/fda-probe.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/fda-probe.js +70 -0
- package/apps/app-lifeops/src/lifeops/feature-flags.d.ts +20 -0
- package/apps/app-lifeops/src/lifeops/feature-flags.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/feature-flags.js +241 -0
- package/apps/app-lifeops/src/lifeops/feature-flags.types.d.ts +144 -0
- package/apps/app-lifeops/src/lifeops/feature-flags.types.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/feature-flags.types.js +178 -0
- package/apps/app-lifeops/src/lifeops/goal-grounding.d.ts +54 -0
- package/apps/app-lifeops/src/lifeops/goal-grounding.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/goal-grounding.js +151 -0
- package/apps/app-lifeops/src/lifeops/goal-semantic-evaluator.d.ts +12 -0
- package/apps/app-lifeops/src/lifeops/goal-semantic-evaluator.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/goal-semantic-evaluator.js +160 -0
- package/apps/app-lifeops/src/lifeops/google-api-error.d.ts +7 -0
- package/apps/app-lifeops/src/lifeops/google-api-error.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-api-error.js +35 -0
- package/apps/app-lifeops/src/lifeops/google-calendar.d.ts +67 -0
- package/apps/app-lifeops/src/lifeops/google-calendar.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-calendar.js +299 -0
- package/apps/app-lifeops/src/lifeops/google-connector-gateway.d.ts +32 -0
- package/apps/app-lifeops/src/lifeops/google-connector-gateway.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-connector-gateway.js +88 -0
- package/apps/app-lifeops/src/lifeops/google-drive.d.ts +103 -0
- package/apps/app-lifeops/src/lifeops/google-drive.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-drive.js +271 -0
- package/apps/app-lifeops/src/lifeops/google-fetch.d.ts +16 -0
- package/apps/app-lifeops/src/lifeops/google-fetch.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-fetch.js +122 -0
- package/apps/app-lifeops/src/lifeops/google-gmail.d.ts +76 -0
- package/apps/app-lifeops/src/lifeops/google-gmail.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-gmail.js +691 -0
- package/apps/app-lifeops/src/lifeops/google-managed-client.d.ts +172 -0
- package/apps/app-lifeops/src/lifeops/google-managed-client.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-managed-client.js +351 -0
- package/apps/app-lifeops/src/lifeops/google-oauth.d.ts +65 -0
- package/apps/app-lifeops/src/lifeops/google-oauth.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-oauth.js +614 -0
- package/apps/app-lifeops/src/lifeops/google-scopes.d.ts +15 -0
- package/apps/app-lifeops/src/lifeops/google-scopes.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-scopes.js +107 -0
- package/apps/app-lifeops/src/lifeops/health-bridge.d.ts +57 -0
- package/apps/app-lifeops/src/lifeops/health-bridge.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/health-bridge.js +556 -0
- package/apps/app-lifeops/src/lifeops/health-connectors.d.ts +23 -0
- package/apps/app-lifeops/src/lifeops/health-connectors.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/health-connectors.js +962 -0
- package/apps/app-lifeops/src/lifeops/health-oauth.d.ts +62 -0
- package/apps/app-lifeops/src/lifeops/health-oauth.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/health-oauth.js +496 -0
- package/apps/app-lifeops/src/lifeops/imessage-bridge.d.ts +99 -0
- package/apps/app-lifeops/src/lifeops/imessage-bridge.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/imessage-bridge.js +556 -0
- package/apps/app-lifeops/src/lifeops/imessage-outbound-probe.d.ts +7 -0
- package/apps/app-lifeops/src/lifeops/imessage-outbound-probe.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/imessage-outbound-probe.js +67 -0
- package/apps/app-lifeops/src/lifeops/owner-profile.d.ts +61 -0
- package/apps/app-lifeops/src/lifeops/owner-profile.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/owner-profile.js +426 -0
- package/apps/app-lifeops/src/lifeops/payment-csv-import.d.ts +23 -0
- package/apps/app-lifeops/src/lifeops/payment-csv-import.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/payment-csv-import.js +244 -0
- package/apps/app-lifeops/src/lifeops/payment-recurrence.d.ts +14 -0
- package/apps/app-lifeops/src/lifeops/payment-recurrence.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/payment-recurrence.js +218 -0
- package/apps/app-lifeops/src/lifeops/payment-types.d.ts +158 -0
- package/apps/app-lifeops/src/lifeops/payment-types.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/payment-types.js +1 -0
- package/apps/app-lifeops/src/lifeops/paypal-managed-client.d.ts +110 -0
- package/apps/app-lifeops/src/lifeops/paypal-managed-client.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/paypal-managed-client.js +148 -0
- package/apps/app-lifeops/src/lifeops/plaid-managed-client.d.ts +86 -0
- package/apps/app-lifeops/src/lifeops/plaid-managed-client.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/plaid-managed-client.js +134 -0
- package/apps/app-lifeops/src/lifeops/priority-scoring.d.ts +51 -0
- package/apps/app-lifeops/src/lifeops/priority-scoring.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/priority-scoring.js +220 -0
- package/apps/app-lifeops/src/lifeops/redact-sensitive-data.d.ts +32 -0
- package/apps/app-lifeops/src/lifeops/redact-sensitive-data.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/redact-sensitive-data.js +123 -0
- package/apps/app-lifeops/src/lifeops/relative-schedule-resolver.d.ts +13 -0
- package/apps/app-lifeops/src/lifeops/relative-schedule-resolver.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/relative-schedule-resolver.js +111 -0
- package/apps/app-lifeops/src/lifeops/relative-time.d.ts +15 -0
- package/apps/app-lifeops/src/lifeops/relative-time.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/relative-time.js +233 -0
- package/apps/app-lifeops/src/lifeops/repository.d.ts +506 -0
- package/apps/app-lifeops/src/lifeops/repository.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/repository.js +5204 -0
- package/apps/app-lifeops/src/lifeops/schedule-insight.d.ts +133 -0
- package/apps/app-lifeops/src/lifeops/schedule-insight.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/schedule-insight.js +769 -0
- package/apps/app-lifeops/src/lifeops/schedule-state.d.ts +39 -0
- package/apps/app-lifeops/src/lifeops/schedule-state.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/schedule-state.js +651 -0
- package/apps/app-lifeops/src/lifeops/schedule-sync-client.d.ts +35 -0
- package/apps/app-lifeops/src/lifeops/schedule-sync-client.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/schedule-sync-client.js +184 -0
- package/apps/app-lifeops/src/lifeops/schedule-sync-contracts.d.ts +89 -0
- package/apps/app-lifeops/src/lifeops/schedule-sync-contracts.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/schedule-sync-contracts.js +13 -0
- package/apps/app-lifeops/src/lifeops/scheduler-task.d.ts +11 -0
- package/apps/app-lifeops/src/lifeops/scheduler-task.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/scheduler-task.js +165 -0
- package/apps/app-lifeops/src/lifeops/schema.d.ts +28558 -0
- package/apps/app-lifeops/src/lifeops/schema.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/schema.js +1148 -0
- package/apps/app-lifeops/src/lifeops/seed-routines.d.ts +20 -0
- package/apps/app-lifeops/src/lifeops/seed-routines.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/seed-routines.js +133 -0
- package/apps/app-lifeops/src/lifeops/service-constants.d.ts +68 -0
- package/apps/app-lifeops/src/lifeops/service-constants.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-constants.js +130 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-browser.d.ts +41 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-browser.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-browser.js +296 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-misc.d.ts +68 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-misc.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-misc.js +493 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-occurrence.d.ts +23 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-occurrence.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-occurrence.js +240 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-reminder.d.ts +76 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-reminder.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-reminder.js +376 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-browser.d.ts +26 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-browser.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-browser.js +689 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-calendar.d.ts +44 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-calendar.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-calendar.js +737 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-core.d.ts +55 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-core.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-core.js +443 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-definitions.d.ts +21 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-definitions.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-definitions.js +375 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-discord.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-discord.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-discord.js +1115 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-dossier.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-dossier.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-dossier.js +262 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-drive.d.ts +12 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-drive.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-drive.js +231 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-email-unsubscribe.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-email-unsubscribe.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-email-unsubscribe.js +394 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-gmail.d.ts +42 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-gmail.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-gmail.js +1570 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-goals.d.ts +22 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-goals.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-goals.js +896 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-google.d.ts +10 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-google.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-google.js +873 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-health.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-health.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-health.js +582 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-imessage.d.ts +3 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-imessage.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-imessage.js +423 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-inbox.d.ts +46 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-inbox.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-inbox.js +608 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-payments.d.ts +6 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-payments.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-payments.js +1047 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-relationships.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-relationships.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-relationships.js +109 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-reminders.d.ts +78 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-reminders.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-reminders.js +3170 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-scheduling.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-scheduling.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-scheduling.js +335 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-screentime.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-screentime.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-screentime.js +873 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-signal.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-signal.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-signal.js +424 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-sleep.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-sleep.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-sleep.js +174 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-status.d.ts +26 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-status.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-status.js +433 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-subscriptions.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-subscriptions.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-subscriptions.js +826 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-telegram.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-telegram.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-telegram.js +325 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-travel.d.ts +33 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-travel.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-travel.js +274 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-whatsapp.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-whatsapp.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-whatsapp.js +243 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-workflows.d.ts +15 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-workflows.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-workflows.js +775 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-x-read.d.ts +2 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-x-read.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-x-read.js +350 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-x.d.ts +65 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-x.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-x.js +569 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-calendar.d.ts +43 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-calendar.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-calendar.js +305 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-connector.d.ts +19 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-connector.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-connector.js +601 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-gmail.d.ts +95 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-gmail.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-gmail.js +977 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-health.d.ts +3 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-health.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-health.js +56 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-task.d.ts +9 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-task.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-normalize-task.js +361 -0
- package/apps/app-lifeops/src/lifeops/service-normalize.d.ts +27 -0
- package/apps/app-lifeops/src/lifeops/service-normalize.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-normalize.js +193 -0
- package/apps/app-lifeops/src/lifeops/service-types.d.ts +59 -0
- package/apps/app-lifeops/src/lifeops/service-types.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service-types.js +8 -0
- package/apps/app-lifeops/src/lifeops/service.d.ts +1345 -0
- package/apps/app-lifeops/src/lifeops/service.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service.js +64 -0
- package/apps/app-lifeops/src/lifeops/signal-auth.d.ts +36 -0
- package/apps/app-lifeops/src/lifeops/signal-auth.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/signal-auth.js +348 -0
- package/apps/app-lifeops/src/lifeops/signal-local-client.d.ts +68 -0
- package/apps/app-lifeops/src/lifeops/signal-local-client.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/signal-local-client.js +236 -0
- package/apps/app-lifeops/src/lifeops/signal-runtime-config.d.ts +13 -0
- package/apps/app-lifeops/src/lifeops/signal-runtime-config.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/signal-runtime-config.js +42 -0
- package/apps/app-lifeops/src/lifeops/sleep-cycle.d.ts +38 -0
- package/apps/app-lifeops/src/lifeops/sleep-cycle.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/sleep-cycle.js +448 -0
- package/apps/app-lifeops/src/lifeops/sleep-episode-store.d.ts +25 -0
- package/apps/app-lifeops/src/lifeops/sleep-episode-store.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/sleep-episode-store.js +54 -0
- package/apps/app-lifeops/src/lifeops/sleep-regularity.d.ts +19 -0
- package/apps/app-lifeops/src/lifeops/sleep-regularity.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/sleep-regularity.js +221 -0
- package/apps/app-lifeops/src/lifeops/sleep-wake-events.d.ts +48 -0
- package/apps/app-lifeops/src/lifeops/sleep-wake-events.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/sleep-wake-events.js +150 -0
- package/apps/app-lifeops/src/lifeops/social-taxonomy.d.ts +21 -0
- package/apps/app-lifeops/src/lifeops/social-taxonomy.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/social-taxonomy.js +273 -0
- package/apps/app-lifeops/src/lifeops/source-reliability.d.ts +38 -0
- package/apps/app-lifeops/src/lifeops/source-reliability.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/source-reliability.js +66 -0
- package/apps/app-lifeops/src/lifeops/sql.d.ts +26 -0
- package/apps/app-lifeops/src/lifeops/sql.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/sql.js +140 -0
- package/apps/app-lifeops/src/lifeops/subscriptions-playbooks.d.ts +79 -0
- package/apps/app-lifeops/src/lifeops/subscriptions-playbooks.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/subscriptions-playbooks.js +852 -0
- package/apps/app-lifeops/src/lifeops/subscriptions-types.d.ts +80 -0
- package/apps/app-lifeops/src/lifeops/subscriptions-types.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/subscriptions-types.js +1 -0
- package/apps/app-lifeops/src/lifeops/telegram-auth.d.ts +69 -0
- package/apps/app-lifeops/src/lifeops/telegram-auth.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/telegram-auth.js +597 -0
- package/apps/app-lifeops/src/lifeops/telegram-local-client.d.ts +122 -0
- package/apps/app-lifeops/src/lifeops/telegram-local-client.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/telegram-local-client.js +561 -0
- package/apps/app-lifeops/src/lifeops/telemetry-mapping.d.ts +14 -0
- package/apps/app-lifeops/src/lifeops/telemetry-mapping.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/telemetry-mapping.js +139 -0
- package/apps/app-lifeops/src/lifeops/telemetry-retention.d.ts +21 -0
- package/apps/app-lifeops/src/lifeops/telemetry-retention.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/telemetry-retention.js +19 -0
- package/apps/app-lifeops/src/lifeops/time-util.d.ts +10 -0
- package/apps/app-lifeops/src/lifeops/time-util.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/time-util.js +18 -0
- package/apps/app-lifeops/src/lifeops/time.d.ts +17 -0
- package/apps/app-lifeops/src/lifeops/time.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/time.js +132 -0
- package/apps/app-lifeops/src/lifeops/token-encryption.d.ts +49 -0
- package/apps/app-lifeops/src/lifeops/token-encryption.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/token-encryption.js +123 -0
- package/apps/app-lifeops/src/lifeops/travel-adapters/duffel.d.ts +181 -0
- package/apps/app-lifeops/src/lifeops/travel-adapters/duffel.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/travel-adapters/duffel.js +422 -0
- package/apps/app-lifeops/src/lifeops/travel-booking.types.d.ts +46 -0
- package/apps/app-lifeops/src/lifeops/travel-booking.types.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/travel-booking.types.js +1 -0
- package/apps/app-lifeops/src/lifeops/twilio.d.ts +34 -0
- package/apps/app-lifeops/src/lifeops/twilio.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/twilio.js +200 -0
- package/apps/app-lifeops/src/lifeops/whatsapp-client.d.ts +54 -0
- package/apps/app-lifeops/src/lifeops/whatsapp-client.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/whatsapp-client.js +234 -0
- package/apps/app-lifeops/src/lifeops/x-managed-client.d.ts +124 -0
- package/apps/app-lifeops/src/lifeops/x-managed-client.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/x-managed-client.js +238 -0
- package/apps/app-lifeops/src/lifeops/x-poster.d.ts +41 -0
- package/apps/app-lifeops/src/lifeops/x-poster.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/x-poster.js +334 -0
- package/apps/app-lifeops/src/lifeops/x-reader.d.ts +70 -0
- package/apps/app-lifeops/src/lifeops/x-reader.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/x-reader.js +269 -0
- package/apps/app-lifeops/src/lifeops/x402-payment-handler.d.ts +85 -0
- package/apps/app-lifeops/src/lifeops/x402-payment-handler.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/x402-payment-handler.js +142 -0
- package/apps/app-lifeops/src/providers/website-blocker.d.ts +3 -0
- package/apps/app-lifeops/src/providers/website-blocker.d.ts.map +1 -0
- package/apps/app-lifeops/src/providers/website-blocker.js +116 -0
- package/apps/app-lifeops/src/public.d.ts +4 -0
- package/apps/app-lifeops/src/public.d.ts.map +1 -0
- package/apps/app-lifeops/src/public.js +3 -0
- package/apps/app-lifeops/src/routes/cloud-features-routes.d.ts +9 -0
- package/apps/app-lifeops/src/routes/cloud-features-routes.d.ts.map +1 -0
- package/apps/app-lifeops/src/routes/cloud-features-routes.js +171 -0
- package/apps/app-lifeops/src/routes/lifeops-routes.d.ts +20 -0
- package/apps/app-lifeops/src/routes/lifeops-routes.d.ts.map +1 -0
- package/apps/app-lifeops/src/routes/lifeops-routes.js +2411 -0
- package/apps/app-lifeops/src/routes/plugin.d.ts +3 -0
- package/apps/app-lifeops/src/routes/plugin.d.ts.map +1 -0
- package/apps/app-lifeops/src/routes/plugin.js +415 -0
- package/apps/app-lifeops/src/routes/sleep-routes.d.ts +3 -0
- package/apps/app-lifeops/src/routes/sleep-routes.d.ts.map +1 -0
- package/apps/app-lifeops/src/routes/sleep-routes.js +109 -0
- package/apps/app-lifeops/src/routes/travel-provider-relay-routes.d.ts +9 -0
- package/apps/app-lifeops/src/routes/travel-provider-relay-routes.d.ts.map +1 -0
- package/apps/app-lifeops/src/routes/travel-provider-relay-routes.js +144 -0
- package/apps/app-lifeops/src/routes/website-blocker-routes.d.ts +7 -0
- package/apps/app-lifeops/src/routes/website-blocker-routes.d.ts.map +1 -0
- package/apps/app-lifeops/src/routes/website-blocker-routes.js +169 -0
- package/apps/app-lifeops/src/website-blocker/access.d.ts +8 -0
- package/apps/app-lifeops/src/website-blocker/access.d.ts.map +1 -0
- package/apps/app-lifeops/src/website-blocker/access.js +45 -0
- package/apps/app-lifeops/src/website-blocker/engine.d.ts +137 -0
- package/apps/app-lifeops/src/website-blocker/engine.d.ts.map +1 -0
- package/apps/app-lifeops/src/website-blocker/engine.js +1256 -0
- package/apps/app-lifeops/src/website-blocker/permissions.d.ts +9 -0
- package/apps/app-lifeops/src/website-blocker/permissions.d.ts.map +1 -0
- package/apps/app-lifeops/src/website-blocker/permissions.js +1 -0
- package/apps/app-lifeops/src/website-blocker/public.d.ts +13 -0
- package/apps/app-lifeops/src/website-blocker/public.d.ts.map +1 -0
- package/apps/app-lifeops/src/website-blocker/public.js +10 -0
- package/apps/app-lifeops/src/website-blocker/roles.d.ts +11 -0
- package/apps/app-lifeops/src/website-blocker/roles.d.ts.map +1 -0
- package/apps/app-lifeops/src/website-blocker/roles.js +17 -0
- package/apps/app-lifeops/src/website-blocker/service.d.ts +21 -0
- package/apps/app-lifeops/src/website-blocker/service.d.ts.map +1 -0
- package/apps/app-lifeops/src/website-blocker/service.js +268 -0
- package/apps/app-steward/src/ApprovalQueue.d.ts +18 -0
- package/apps/app-steward/src/ApprovalQueue.d.ts.map +1 -0
- package/apps/app-steward/src/ApprovalQueue.js +141 -0
- package/apps/app-steward/src/StewardLogo.d.ts +11 -0
- package/apps/app-steward/src/StewardLogo.d.ts.map +1 -0
- package/apps/app-steward/src/StewardLogo.js +4 -0
- package/apps/app-steward/src/StewardView.d.ts +6 -0
- package/apps/app-steward/src/StewardView.d.ts.map +1 -0
- package/apps/app-steward/src/StewardView.js +45 -0
- package/apps/app-steward/src/TransactionHistory.d.ts +22 -0
- package/apps/app-steward/src/TransactionHistory.d.ts.map +1 -0
- package/apps/app-steward/src/TransactionHistory.js +100 -0
- package/apps/app-steward/src/actions/check-balance.d.ts +17 -0
- package/apps/app-steward/src/actions/check-balance.d.ts.map +1 -0
- package/apps/app-steward/src/actions/check-balance.js +168 -0
- package/apps/app-steward/src/actions/execute-trade.d.ts +17 -0
- package/apps/app-steward/src/actions/execute-trade.d.ts.map +1 -0
- package/apps/app-steward/src/actions/execute-trade.js +307 -0
- package/apps/app-steward/src/actions/get-receive-address.d.ts +13 -0
- package/apps/app-steward/src/actions/get-receive-address.d.ts.map +1 -0
- package/apps/app-steward/src/actions/get-receive-address.js +127 -0
- package/apps/app-steward/src/actions/prepare-swap.d.ts +13 -0
- package/apps/app-steward/src/actions/prepare-swap.d.ts.map +1 -0
- package/apps/app-steward/src/actions/prepare-swap.js +303 -0
- package/apps/app-steward/src/actions/prepare-transfer.d.ts +14 -0
- package/apps/app-steward/src/actions/prepare-transfer.d.ts.map +1 -0
- package/apps/app-steward/src/actions/prepare-transfer.js +217 -0
- package/apps/app-steward/src/actions/transfer-token.d.ts +17 -0
- package/apps/app-steward/src/actions/transfer-token.d.ts.map +1 -0
- package/apps/app-steward/src/actions/transfer-token.js +479 -0
- package/apps/app-steward/src/actions/wallet-action-shared.d.ts +15 -0
- package/apps/app-steward/src/actions/wallet-action-shared.d.ts.map +1 -0
- package/apps/app-steward/src/actions/wallet-action-shared.js +24 -0
- package/apps/app-steward/src/api/bsc-trade.d.ts +36 -0
- package/apps/app-steward/src/api/bsc-trade.d.ts.map +1 -0
- package/apps/app-steward/src/api/bsc-trade.js +782 -0
- package/apps/app-steward/src/api/tx-service.d.ts +53 -0
- package/apps/app-steward/src/api/tx-service.d.ts.map +1 -0
- package/apps/app-steward/src/api/tx-service.js +217 -0
- package/apps/app-steward/src/api/wallet-bsc-routes.d.ts +63 -0
- package/apps/app-steward/src/api/wallet-bsc-routes.d.ts.map +1 -0
- package/apps/app-steward/src/api/wallet-bsc-routes.js +318 -0
- package/apps/app-steward/src/api/wallet-capability.d.ts +2 -0
- package/apps/app-steward/src/api/wallet-capability.d.ts.map +1 -0
- package/apps/app-steward/src/api/wallet-capability.js +1 -0
- package/apps/app-steward/src/api/wallet-dex-prices.d.ts +43 -0
- package/apps/app-steward/src/api/wallet-dex-prices.d.ts.map +1 -0
- package/apps/app-steward/src/api/wallet-dex-prices.js +149 -0
- package/apps/app-steward/src/api/wallet-evm-balance.d.ts +66 -0
- package/apps/app-steward/src/api/wallet-evm-balance.d.ts.map +1 -0
- package/apps/app-steward/src/api/wallet-evm-balance.js +666 -0
- package/apps/app-steward/src/api/wallet-routes.d.ts +28 -0
- package/apps/app-steward/src/api/wallet-routes.d.ts.map +1 -0
- package/apps/app-steward/src/api/wallet-routes.js +525 -0
- package/apps/app-steward/src/api/wallet-rpc.d.ts +67 -0
- package/apps/app-steward/src/api/wallet-rpc.d.ts.map +1 -0
- package/apps/app-steward/src/api/wallet-rpc.js +452 -0
- package/apps/app-steward/src/api/wallet-trading-profile.d.ts +31 -0
- package/apps/app-steward/src/api/wallet-trading-profile.d.ts.map +1 -0
- package/apps/app-steward/src/api/wallet-trading-profile.js +560 -0
- package/apps/app-steward/src/api/wallet.d.ts +60 -0
- package/apps/app-steward/src/api/wallet.d.ts.map +1 -0
- package/apps/app-steward/src/api/wallet.js +641 -0
- package/apps/app-steward/src/browser-workspace-wallet.d.ts +80 -0
- package/apps/app-steward/src/browser-workspace-wallet.d.ts.map +1 -0
- package/apps/app-steward/src/browser-workspace-wallet.js +135 -0
- package/apps/app-steward/src/chain-utils.d.ts +10 -0
- package/apps/app-steward/src/chain-utils.d.ts.map +1 -0
- package/apps/app-steward/src/chain-utils.js +83 -0
- package/apps/app-steward/src/index.d.ts +20 -0
- package/apps/app-steward/src/index.d.ts.map +1 -0
- package/apps/app-steward/src/index.js +19 -0
- package/apps/app-steward/src/plugin.d.ts +21 -0
- package/apps/app-steward/src/plugin.d.ts.map +1 -0
- package/apps/app-steward/src/plugin.js +325 -0
- package/apps/app-steward/src/routes/server-wallet-trade.d.ts +27 -0
- package/apps/app-steward/src/routes/server-wallet-trade.d.ts.map +1 -0
- package/apps/app-steward/src/routes/server-wallet-trade.js +56 -0
- package/apps/app-steward/src/routes/steward-bridge.d.ts +202 -0
- package/apps/app-steward/src/routes/steward-bridge.d.ts.map +1 -0
- package/apps/app-steward/src/routes/steward-bridge.js +858 -0
- package/apps/app-steward/src/routes/steward-compat-routes.d.ts +21 -0
- package/apps/app-steward/src/routes/steward-compat-routes.d.ts.map +1 -0
- package/apps/app-steward/src/routes/steward-compat-routes.js +372 -0
- package/apps/app-steward/src/routes/wallet-browser-compat-routes.d.ts +4 -0
- package/apps/app-steward/src/routes/wallet-browser-compat-routes.d.ts.map +1 -0
- package/apps/app-steward/src/routes/wallet-browser-compat-routes.js +387 -0
- package/apps/app-steward/src/routes/wallet-bsc-core-routes.d.ts +15 -0
- package/apps/app-steward/src/routes/wallet-bsc-core-routes.d.ts.map +1 -0
- package/apps/app-steward/src/routes/wallet-bsc-core-routes.js +42 -0
- package/apps/app-steward/src/routes/wallet-compat-routes.d.ts +13 -0
- package/apps/app-steward/src/routes/wallet-compat-routes.d.ts.map +1 -0
- package/apps/app-steward/src/routes/wallet-compat-routes.js +200 -0
- package/apps/app-steward/src/routes/wallet-core-routes.d.ts +16 -0
- package/apps/app-steward/src/routes/wallet-core-routes.d.ts.map +1 -0
- package/apps/app-steward/src/routes/wallet-core-routes.js +57 -0
- package/apps/app-steward/src/routes/wallet-export-guard.d.ts +44 -0
- package/apps/app-steward/src/routes/wallet-export-guard.d.ts.map +1 -0
- package/apps/app-steward/src/routes/wallet-export-guard.js +248 -0
- package/apps/app-steward/src/routes/wallet-trade-compat-routes.d.ts +11 -0
- package/apps/app-steward/src/routes/wallet-trade-compat-routes.d.ts.map +1 -0
- package/apps/app-steward/src/routes/wallet-trade-compat-routes.js +528 -0
- package/apps/app-steward/src/security/hydrate-wallet-keys-from-platform-store.d.ts +7 -0
- package/apps/app-steward/src/security/hydrate-wallet-keys-from-platform-store.d.ts.map +1 -0
- package/apps/app-steward/src/security/hydrate-wallet-keys-from-platform-store.js +40 -0
- package/apps/app-steward/src/security/wallet-os-store-actions.d.ts +14 -0
- package/apps/app-steward/src/security/wallet-os-store-actions.d.ts.map +1 -0
- package/apps/app-steward/src/security/wallet-os-store-actions.js +70 -0
- package/apps/app-steward/src/services/privy-wallets.d.ts +18 -0
- package/apps/app-steward/src/services/privy-wallets.d.ts.map +1 -0
- package/apps/app-steward/src/services/privy-wallets.js +225 -0
- package/apps/app-steward/src/services/steward-credentials.d.ts +37 -0
- package/apps/app-steward/src/services/steward-credentials.d.ts.map +1 -0
- package/apps/app-steward/src/services/steward-credentials.js +91 -0
- package/apps/app-steward/src/services/steward-evm-account.d.ts +67 -0
- package/apps/app-steward/src/services/steward-evm-account.d.ts.map +1 -0
- package/apps/app-steward/src/services/steward-evm-account.js +309 -0
- package/apps/app-steward/src/services/steward-evm-bridge.d.ts +35 -0
- package/apps/app-steward/src/services/steward-evm-bridge.d.ts.map +1 -0
- package/apps/app-steward/src/services/steward-evm-bridge.js +101 -0
- package/apps/app-steward/src/services/steward-sidecar/health-check.d.ts +9 -0
- package/apps/app-steward/src/services/steward-sidecar/health-check.d.ts.map +1 -0
- package/apps/app-steward/src/services/steward-sidecar/health-check.js +34 -0
- package/apps/app-steward/src/services/steward-sidecar/helpers.d.ts +21 -0
- package/apps/app-steward/src/services/steward-sidecar/helpers.d.ts.map +1 -0
- package/apps/app-steward/src/services/steward-sidecar/helpers.js +71 -0
- package/apps/app-steward/src/services/steward-sidecar/process-management.d.ts +9 -0
- package/apps/app-steward/src/services/steward-sidecar/process-management.d.ts.map +1 -0
- package/apps/app-steward/src/services/steward-sidecar/process-management.js +53 -0
- package/apps/app-steward/src/services/steward-sidecar/types.d.ts +60 -0
- package/apps/app-steward/src/services/steward-sidecar/types.d.ts.map +1 -0
- package/apps/app-steward/src/services/steward-sidecar/types.js +17 -0
- package/apps/app-steward/src/services/steward-sidecar/wallet-setup.d.ts +9 -0
- package/apps/app-steward/src/services/steward-sidecar/wallet-setup.d.ts.map +1 -0
- package/apps/app-steward/src/services/steward-sidecar/wallet-setup.js +114 -0
- package/apps/app-steward/src/services/steward-sidecar.d.ts +69 -0
- package/apps/app-steward/src/services/steward-sidecar.d.ts.map +1 -0
- package/apps/app-steward/src/services/steward-sidecar.js +383 -0
- package/apps/app-steward/src/services/steward-wallet.d.ts +25 -0
- package/apps/app-steward/src/services/steward-wallet.d.ts.map +1 -0
- package/apps/app-steward/src/services/steward-wallet.js +332 -0
- package/apps/app-steward/src/types/bsc-trade.d.ts +181 -0
- package/apps/app-steward/src/types/bsc-trade.d.ts.map +1 -0
- package/apps/app-steward/src/types/bsc-trade.js +8 -0
- package/apps/app-steward/src/types/index.d.ts +3 -0
- package/apps/app-steward/src/types/index.d.ts.map +1 -0
- package/apps/app-steward/src/types/index.js +2 -0
- package/apps/app-steward/src/types/steward.d.ts +85 -0
- package/apps/app-steward/src/types/steward.d.ts.map +1 -0
- package/apps/app-steward/src/types/steward.js +9 -0
- package/apps/app-task-coordinator/src/AgentTabsSection.d.ts +16 -0
- package/apps/app-task-coordinator/src/AgentTabsSection.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/AgentTabsSection.js +57 -0
- package/apps/app-task-coordinator/src/CodingAgentControlChip.d.ts +6 -0
- package/apps/app-task-coordinator/src/CodingAgentControlChip.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/CodingAgentControlChip.js +26 -0
- package/apps/app-task-coordinator/src/CodingAgentSettingsSection.d.ts +2 -0
- package/apps/app-task-coordinator/src/CodingAgentSettingsSection.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/CodingAgentSettingsSection.js +344 -0
- package/apps/app-task-coordinator/src/CodingAgentTasksPanel.d.ts +4 -0
- package/apps/app-task-coordinator/src/CodingAgentTasksPanel.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/CodingAgentTasksPanel.js +417 -0
- package/apps/app-task-coordinator/src/GitHubConnectionCard.d.ts +2 -0
- package/apps/app-task-coordinator/src/GitHubConnectionCard.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/GitHubConnectionCard.js +60 -0
- package/apps/app-task-coordinator/src/GlobalPrefsSection.d.ts +10 -0
- package/apps/app-task-coordinator/src/GlobalPrefsSection.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/GlobalPrefsSection.js +40 -0
- package/apps/app-task-coordinator/src/LlmProviderSection.d.ts +10 -0
- package/apps/app-task-coordinator/src/LlmProviderSection.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/LlmProviderSection.js +47 -0
- package/apps/app-task-coordinator/src/ModelConfigSection.d.ts +16 -0
- package/apps/app-task-coordinator/src/ModelConfigSection.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/ModelConfigSection.js +12 -0
- package/apps/app-task-coordinator/src/PtyConsoleBase.d.ts +15 -0
- package/apps/app-task-coordinator/src/PtyConsoleBase.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/PtyConsoleBase.js +37 -0
- package/apps/app-task-coordinator/src/PtyConsoleDrawer.d.ts +16 -0
- package/apps/app-task-coordinator/src/PtyConsoleDrawer.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/PtyConsoleDrawer.js +28 -0
- package/apps/app-task-coordinator/src/PtyConsoleSidePanel.d.ts +9 -0
- package/apps/app-task-coordinator/src/PtyConsoleSidePanel.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/PtyConsoleSidePanel.js +10 -0
- package/apps/app-task-coordinator/src/PtyTerminalPane.d.ts +10 -0
- package/apps/app-task-coordinator/src/PtyTerminalPane.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/PtyTerminalPane.js +178 -0
- package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.d.ts +23 -0
- package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/api/coding-agents-auth-sanitize.js +39 -0
- package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.d.ts +29 -0
- package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/api/coding-agents-preflight-normalize.js +45 -0
- package/apps/app-task-coordinator/src/api/coordinator-types.d.ts +49 -0
- package/apps/app-task-coordinator/src/api/coordinator-types.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/api/coordinator-types.js +1 -0
- package/apps/app-task-coordinator/src/api/coordinator-wiring.d.ts +46 -0
- package/apps/app-task-coordinator/src/api/coordinator-wiring.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/api/coordinator-wiring.js +108 -0
- package/apps/app-task-coordinator/src/coding-agent-settings-shared.d.ts +38 -0
- package/apps/app-task-coordinator/src/coding-agent-settings-shared.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/coding-agent-settings-shared.js +92 -0
- package/apps/app-task-coordinator/src/index.d.ts +17 -0
- package/apps/app-task-coordinator/src/index.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/index.js +16 -0
- package/apps/app-task-coordinator/src/pty-status-dots.d.ts +2 -0
- package/apps/app-task-coordinator/src/pty-status-dots.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/pty-status-dots.js +1 -0
- package/apps/app-task-coordinator/src/session-hydration.d.ts +2 -0
- package/apps/app-task-coordinator/src/session-hydration.d.ts.map +1 -0
- package/apps/app-task-coordinator/src/session-hydration.js +1 -0
- package/apps/app-training/src/backends/atropos.d.ts +31 -0
- package/apps/app-training/src/backends/atropos.d.ts.map +1 -0
- package/apps/app-training/src/backends/atropos.js +61 -0
- package/apps/app-training/src/backends/native.d.ts +50 -0
- package/apps/app-training/src/backends/native.d.ts.map +1 -0
- package/apps/app-training/src/backends/native.js +130 -0
- package/apps/app-training/src/backends/tinker.d.ts +27 -0
- package/apps/app-training/src/backends/tinker.d.ts.map +1 -0
- package/apps/app-training/src/backends/tinker.js +56 -0
- package/apps/app-training/src/core/context-audit.d.ts +51 -0
- package/apps/app-training/src/core/context-audit.d.ts.map +1 -0
- package/apps/app-training/src/core/context-audit.js +141 -0
- package/apps/app-training/src/core/context-catalog.d.ts +47 -0
- package/apps/app-training/src/core/context-catalog.d.ts.map +1 -0
- package/apps/app-training/src/core/context-catalog.js +265 -0
- package/apps/app-training/src/core/context-types.d.ts +3 -0
- package/apps/app-training/src/core/context-types.d.ts.map +1 -0
- package/apps/app-training/src/core/context-types.js +11 -0
- package/apps/app-training/src/core/dataset-generator.d.ts +125 -0
- package/apps/app-training/src/core/dataset-generator.d.ts.map +1 -0
- package/apps/app-training/src/core/dataset-generator.js +703 -0
- package/apps/app-training/src/core/index.d.ts +13 -0
- package/apps/app-training/src/core/index.d.ts.map +1 -0
- package/apps/app-training/src/core/index.js +12 -0
- package/apps/app-training/src/core/privacy-filter.d.ts +73 -0
- package/apps/app-training/src/core/privacy-filter.d.ts.map +1 -0
- package/apps/app-training/src/core/privacy-filter.js +169 -0
- package/apps/app-training/src/core/replay-validator.d.ts +136 -0
- package/apps/app-training/src/core/replay-validator.d.ts.map +1 -0
- package/apps/app-training/src/core/replay-validator.js +305 -0
- package/apps/app-training/src/core/roleplay-executor.d.ts +123 -0
- package/apps/app-training/src/core/roleplay-executor.d.ts.map +1 -0
- package/apps/app-training/src/core/roleplay-executor.js +645 -0
- package/apps/app-training/src/core/roleplay-trajectories.d.ts +54 -0
- package/apps/app-training/src/core/roleplay-trajectories.d.ts.map +1 -0
- package/apps/app-training/src/core/roleplay-trajectories.js +73 -0
- package/apps/app-training/src/core/scenario-blueprints.d.ts +62 -0
- package/apps/app-training/src/core/scenario-blueprints.d.ts.map +1 -0
- package/apps/app-training/src/core/scenario-blueprints.js +790 -0
- package/apps/app-training/src/core/training-config.d.ts +52 -0
- package/apps/app-training/src/core/training-config.d.ts.map +1 -0
- package/apps/app-training/src/core/training-config.js +135 -0
- package/apps/app-training/src/core/training-orchestrator.d.ts +107 -0
- package/apps/app-training/src/core/training-orchestrator.d.ts.map +1 -0
- package/apps/app-training/src/core/training-orchestrator.js +413 -0
- package/apps/app-training/src/core/trajectory-task-datasets.d.ts +38 -0
- package/apps/app-training/src/core/trajectory-task-datasets.d.ts.map +1 -0
- package/apps/app-training/src/core/trajectory-task-datasets.js +300 -0
- package/apps/app-training/src/core/vertex-tuning.d.ts +139 -0
- package/apps/app-training/src/core/vertex-tuning.d.ts.map +1 -0
- package/apps/app-training/src/core/vertex-tuning.js +268 -0
- package/apps/app-training/src/index.d.ts +4 -0
- package/apps/app-training/src/index.d.ts.map +1 -0
- package/apps/app-training/src/index.js +3 -0
- package/apps/app-training/src/optimizers/bootstrap-fewshot.d.ts +42 -0
- package/apps/app-training/src/optimizers/bootstrap-fewshot.d.ts.map +1 -0
- package/apps/app-training/src/optimizers/bootstrap-fewshot.js +94 -0
- package/apps/app-training/src/optimizers/index.d.ts +6 -0
- package/apps/app-training/src/optimizers/index.d.ts.map +1 -0
- package/apps/app-training/src/optimizers/index.js +4 -0
- package/apps/app-training/src/optimizers/instruction-search.d.ts +39 -0
- package/apps/app-training/src/optimizers/instruction-search.d.ts.map +1 -0
- package/apps/app-training/src/optimizers/instruction-search.js +87 -0
- package/apps/app-training/src/optimizers/prompt-evolution.d.ts +39 -0
- package/apps/app-training/src/optimizers/prompt-evolution.d.ts.map +1 -0
- package/apps/app-training/src/optimizers/prompt-evolution.js +116 -0
- package/apps/app-training/src/optimizers/scoring.d.ts +80 -0
- package/apps/app-training/src/optimizers/scoring.d.ts.map +1 -0
- package/apps/app-training/src/optimizers/scoring.js +151 -0
- package/apps/app-training/src/optimizers/types.d.ts +105 -0
- package/apps/app-training/src/optimizers/types.d.ts.map +1 -0
- package/apps/app-training/src/optimizers/types.js +17 -0
- package/apps/app-training/src/routes/index.d.ts +3 -0
- package/apps/app-training/src/routes/index.d.ts.map +1 -0
- package/apps/app-training/src/routes/index.js +2 -0
- package/apps/app-training/src/routes/training-routes.d.ts +11 -0
- package/apps/app-training/src/routes/training-routes.d.ts.map +1 -0
- package/apps/app-training/src/routes/training-routes.js +777 -0
- package/apps/app-training/src/routes/trajectory-routes.d.ts +19 -0
- package/apps/app-training/src/routes/trajectory-routes.d.ts.map +1 -0
- package/apps/app-training/src/routes/trajectory-routes.js +912 -0
- package/apps/app-training/src/services/index.d.ts +5 -0
- package/apps/app-training/src/services/index.d.ts.map +1 -0
- package/apps/app-training/src/services/index.js +3 -0
- package/apps/app-training/src/services/training-backend-check.d.ts +8 -0
- package/apps/app-training/src/services/training-backend-check.d.ts.map +1 -0
- package/apps/app-training/src/services/training-backend-check.js +28 -0
- package/apps/app-training/src/services/training-service-like.d.ts +39 -0
- package/apps/app-training/src/services/training-service-like.d.ts.map +1 -0
- package/apps/app-training/src/services/training-service-like.js +1 -0
- package/apps/app-training/src/services/training-service.d.ts +46 -0
- package/apps/app-training/src/services/training-service.d.ts.map +1 -0
- package/apps/app-training/src/services/training-service.js +109 -0
- package/apps/app-training/src/services/training-trigger.d.ts +180 -0
- package/apps/app-training/src/services/training-trigger.d.ts.map +1 -0
- package/apps/app-training/src/services/training-trigger.js +385 -0
- package/apps/app-vincent/src/client.d.ts +17 -0
- package/apps/app-vincent/src/client.d.ts.map +1 -0
- package/apps/app-vincent/src/client.js +38 -0
- package/apps/app-vincent/src/vincent-contracts.d.ts +52 -0
- package/apps/app-vincent/src/vincent-contracts.d.ts.map +1 -0
- package/apps/app-vincent/src/vincent-contracts.js +4 -0
- package/package.json +78 -51
- package/packages/agent/src/actions/agent-inbox.d.ts +14 -0
- package/packages/agent/src/actions/agent-inbox.d.ts.map +1 -0
- package/packages/agent/src/actions/agent-inbox.js +124 -0
- package/packages/agent/src/actions/browser-session.d.ts +3 -0
- package/packages/agent/src/actions/browser-session.d.ts.map +1 -0
- package/packages/agent/src/actions/browser-session.js +305 -0
- package/packages/agent/src/actions/configure-plugin.d.ts +11 -0
- package/packages/agent/src/actions/configure-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/configure-plugin.js +137 -0
- package/packages/agent/src/actions/connector-control.d.ts +24 -0
- package/packages/agent/src/actions/connector-control.d.ts.map +1 -0
- package/packages/agent/src/actions/connector-control.js +479 -0
- package/packages/agent/src/actions/connector-resolver.d.ts +75 -0
- package/packages/agent/src/actions/connector-resolver.d.ts.map +1 -0
- package/packages/agent/src/actions/connector-resolver.js +256 -0
- package/packages/agent/src/actions/context-signal-lexicon.d.ts +17 -0
- package/packages/agent/src/actions/context-signal-lexicon.d.ts.map +1 -0
- package/packages/agent/src/actions/context-signal-lexicon.js +212 -0
- package/packages/agent/src/actions/context-signal.d.ts +46 -0
- package/packages/agent/src/actions/context-signal.d.ts.map +1 -0
- package/packages/agent/src/actions/context-signal.js +134 -0
- package/packages/agent/src/actions/database.d.ts +15 -0
- package/packages/agent/src/actions/database.d.ts.map +1 -0
- package/packages/agent/src/actions/database.js +473 -0
- package/packages/agent/src/actions/eject-plugin.d.ts +3 -0
- package/packages/agent/src/actions/eject-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/eject-plugin.js +80 -0
- package/packages/agent/src/actions/entity-actions.d.ts +7 -0
- package/packages/agent/src/actions/entity-actions.d.ts.map +1 -0
- package/packages/agent/src/actions/entity-actions.js +1016 -0
- package/packages/agent/src/actions/extract-page.d.ts +3 -0
- package/packages/agent/src/actions/extract-page.d.ts.map +1 -0
- package/packages/agent/src/actions/extract-page.js +162 -0
- package/packages/agent/src/actions/extract-params.d.ts +87 -0
- package/packages/agent/src/actions/extract-params.d.ts.map +1 -0
- package/packages/agent/src/actions/extract-params.js +194 -0
- package/packages/agent/src/actions/get-self-status.d.ts +13 -0
- package/packages/agent/src/actions/get-self-status.d.ts.map +1 -0
- package/packages/agent/src/actions/get-self-status.js +107 -0
- package/packages/agent/src/actions/grounded-action-reply.d.ts +22 -0
- package/packages/agent/src/actions/grounded-action-reply.d.ts.map +1 -0
- package/packages/agent/src/actions/grounded-action-reply.js +288 -0
- package/packages/agent/src/actions/index.d.ts +26 -0
- package/packages/agent/src/actions/index.d.ts.map +1 -0
- package/packages/agent/src/actions/index.js +25 -0
- package/packages/agent/src/actions/install-plugin.d.ts +3 -0
- package/packages/agent/src/actions/install-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/install-plugin.js +97 -0
- package/packages/agent/src/actions/launchpad-launch.d.ts +16 -0
- package/packages/agent/src/actions/launchpad-launch.d.ts.map +1 -0
- package/packages/agent/src/actions/launchpad-launch.js +207 -0
- package/packages/agent/src/actions/list-ejected.d.ts +3 -0
- package/packages/agent/src/actions/list-ejected.d.ts.map +1 -0
- package/packages/agent/src/actions/list-ejected.js +79 -0
- package/packages/agent/src/actions/list-installed-plugins.d.ts +11 -0
- package/packages/agent/src/actions/list-installed-plugins.d.ts.map +1 -0
- package/packages/agent/src/actions/list-installed-plugins.js +142 -0
- package/packages/agent/src/actions/log-level.d.ts +3 -0
- package/packages/agent/src/actions/log-level.d.ts.map +1 -0
- package/packages/agent/src/actions/log-level.js +126 -0
- package/packages/agent/src/actions/logs.d.ts +12 -0
- package/packages/agent/src/actions/logs.d.ts.map +1 -0
- package/packages/agent/src/actions/logs.js +317 -0
- package/packages/agent/src/actions/manage-tasks.d.ts +8 -0
- package/packages/agent/src/actions/manage-tasks.d.ts.map +1 -0
- package/packages/agent/src/actions/manage-tasks.js +323 -0
- package/packages/agent/src/actions/media.d.ts +21 -0
- package/packages/agent/src/actions/media.d.ts.map +1 -0
- package/packages/agent/src/actions/media.js +504 -0
- package/packages/agent/src/actions/memories.d.ts +12 -0
- package/packages/agent/src/actions/memories.d.ts.map +1 -0
- package/packages/agent/src/actions/memories.js +310 -0
- package/packages/agent/src/actions/page-action-groups.d.ts +17 -0
- package/packages/agent/src/actions/page-action-groups.d.ts.map +1 -0
- package/packages/agent/src/actions/page-action-groups.js +171 -0
- package/packages/agent/src/actions/read-channel.d.ts +3 -0
- package/packages/agent/src/actions/read-channel.d.ts.map +1 -0
- package/packages/agent/src/actions/read-channel.js +265 -0
- package/packages/agent/src/actions/read-messages.d.ts +14 -0
- package/packages/agent/src/actions/read-messages.d.ts.map +1 -0
- package/packages/agent/src/actions/read-messages.js +269 -0
- package/packages/agent/src/actions/recent-conversation-texts.d.ts +9 -0
- package/packages/agent/src/actions/recent-conversation-texts.d.ts.map +1 -0
- package/packages/agent/src/actions/recent-conversation-texts.js +76 -0
- package/packages/agent/src/actions/reinject-plugin.d.ts +3 -0
- package/packages/agent/src/actions/reinject-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/reinject-plugin.js +79 -0
- package/packages/agent/src/actions/restart.d.ts +19 -0
- package/packages/agent/src/actions/restart.d.ts.map +1 -0
- package/packages/agent/src/actions/restart.js +139 -0
- package/packages/agent/src/actions/runtime.d.ts +14 -0
- package/packages/agent/src/actions/runtime.d.ts.map +1 -0
- package/packages/agent/src/actions/runtime.js +287 -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 +409 -0
- package/packages/agent/src/actions/search-conversations.d.ts +3 -0
- package/packages/agent/src/actions/search-conversations.d.ts.map +1 -0
- package/packages/agent/src/actions/search-conversations.js +222 -0
- package/packages/agent/src/actions/send-admin-message.d.ts +3 -0
- package/packages/agent/src/actions/send-admin-message.d.ts.map +1 -0
- package/packages/agent/src/actions/send-admin-message.js +136 -0
- package/packages/agent/src/actions/send-message.d.ts +4 -0
- package/packages/agent/src/actions/send-message.d.ts.map +1 -0
- package/packages/agent/src/actions/send-message.js +410 -0
- package/packages/agent/src/actions/set-user-name.d.ts +13 -0
- package/packages/agent/src/actions/set-user-name.d.ts.map +1 -0
- package/packages/agent/src/actions/set-user-name.js +106 -0
- package/packages/agent/src/actions/settings-actions.d.ts +28 -0
- package/packages/agent/src/actions/settings-actions.d.ts.map +1 -0
- package/packages/agent/src/actions/settings-actions.js +564 -0
- package/packages/agent/src/actions/skill-command.d.ts +20 -0
- package/packages/agent/src/actions/skill-command.d.ts.map +1 -0
- package/packages/agent/src/actions/skill-command.js +142 -0
- package/packages/agent/src/actions/stream-control.d.ts +11 -0
- package/packages/agent/src/actions/stream-control.d.ts.map +1 -0
- package/packages/agent/src/actions/stream-control.js +182 -0
- package/packages/agent/src/actions/sync-plugin.d.ts +3 -0
- package/packages/agent/src/actions/sync-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/sync-plugin.js +76 -0
- package/packages/agent/src/actions/tasks-coding.d.ts +10 -0
- package/packages/agent/src/actions/tasks-coding.d.ts.map +1 -0
- package/packages/agent/src/actions/tasks-coding.js +171 -0
- package/packages/agent/src/actions/terminal.d.ts +15 -0
- package/packages/agent/src/actions/terminal.d.ts.map +1 -0
- package/packages/agent/src/actions/terminal.js +283 -0
- package/packages/agent/src/actions/toggle-plugin.d.ts +11 -0
- package/packages/agent/src/actions/toggle-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/toggle-plugin.js +125 -0
- package/packages/agent/src/actions/trajectories.d.ts +12 -0
- package/packages/agent/src/actions/trajectories.d.ts.map +1 -0
- package/packages/agent/src/actions/trajectories.js +347 -0
- package/packages/agent/src/actions/uninstall-plugin.d.ts +12 -0
- package/packages/agent/src/actions/uninstall-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/uninstall-plugin.js +110 -0
- package/packages/agent/src/actions/update-owner-name.d.ts +12 -0
- package/packages/agent/src/actions/update-owner-name.d.ts.map +1 -0
- package/packages/agent/src/actions/update-owner-name.js +83 -0
- package/packages/agent/src/actions/update-plugin.d.ts +10 -0
- package/packages/agent/src/actions/update-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/update-plugin.js +131 -0
- package/packages/agent/src/actions/web-search.d.ts +10 -0
- package/packages/agent/src/actions/web-search.d.ts.map +1 -0
- package/packages/agent/src/actions/web-search.js +282 -0
- package/packages/agent/src/actions/workflow/api.d.ts +24 -0
- package/packages/agent/src/actions/workflow/api.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/api.js +42 -0
- package/packages/agent/src/actions/workflow/create-workflow.d.ts +11 -0
- package/packages/agent/src/actions/workflow/create-workflow.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/create-workflow.js +120 -0
- package/packages/agent/src/actions/workflow/delete-workflow.d.ts +11 -0
- package/packages/agent/src/actions/workflow/delete-workflow.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/delete-workflow.js +100 -0
- package/packages/agent/src/actions/workflow/index.d.ts +5 -0
- package/packages/agent/src/actions/workflow/index.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/index.js +4 -0
- package/packages/agent/src/actions/workflow/promote-task-to-workflow.d.ts +12 -0
- package/packages/agent/src/actions/workflow/promote-task-to-workflow.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/promote-task-to-workflow.js +154 -0
- package/packages/agent/src/actions/workflow/toggle-workflow-active.d.ts +10 -0
- package/packages/agent/src/actions/workflow/toggle-workflow-active.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/toggle-workflow-active.js +132 -0
- package/packages/agent/src/api/accounts-routes.d.ts +39 -0
- package/packages/agent/src/api/accounts-routes.d.ts.map +1 -0
- package/packages/agent/src/api/accounts-routes.js +701 -0
- package/packages/agent/src/api/agent-admin-routes.d.ts +39 -0
- package/packages/agent/src/api/agent-admin-routes.d.ts.map +1 -0
- package/packages/agent/src/api/agent-admin-routes.js +155 -0
- package/packages/agent/src/api/agent-lifecycle-routes.d.ts +16 -0
- package/packages/agent/src/api/agent-lifecycle-routes.d.ts.map +1 -0
- package/packages/agent/src/api/agent-lifecycle-routes.js +94 -0
- package/packages/agent/src/api/agent-model.d.ts +5 -0
- package/packages/agent/src/api/agent-model.d.ts.map +1 -0
- package/packages/agent/src/api/agent-model.js +154 -0
- package/packages/agent/src/api/agent-status-routes.d.ts +96 -0
- package/packages/agent/src/api/agent-status-routes.d.ts.map +1 -0
- package/packages/agent/src/api/agent-status-routes.js +274 -0
- package/packages/agent/src/api/agent-transfer-routes.d.ts +16 -0
- package/packages/agent/src/api/agent-transfer-routes.d.ts.map +1 -0
- package/packages/agent/src/api/agent-transfer-routes.js +124 -0
- package/packages/agent/src/api/app-package-routes.d.ts +7 -0
- package/packages/agent/src/api/app-package-routes.d.ts.map +1 -0
- package/packages/agent/src/api/app-package-routes.js +59 -0
- package/packages/agent/src/api/apps-routes.d.ts +32 -0
- package/packages/agent/src/api/apps-routes.d.ts.map +1 -0
- package/packages/agent/src/api/apps-routes.js +982 -0
- package/packages/agent/src/api/auth-routes.d.ts +11 -0
- package/packages/agent/src/api/auth-routes.d.ts.map +1 -0
- package/packages/agent/src/api/auth-routes.js +74 -0
- package/packages/agent/src/api/avatar-routes.d.ts +11 -0
- package/packages/agent/src/api/avatar-routes.d.ts.map +1 -0
- package/packages/agent/src/api/avatar-routes.js +205 -0
- package/packages/agent/src/api/binance-skill-helpers.d.ts +26 -0
- package/packages/agent/src/api/binance-skill-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/binance-skill-helpers.js +785 -0
- package/packages/agent/src/api/bluebubbles-routes.d.ts +10 -0
- package/packages/agent/src/api/bluebubbles-routes.d.ts.map +1 -0
- package/packages/agent/src/api/bluebubbles-routes.js +129 -0
- package/packages/agent/src/api/browser-workspace-routes.d.ts +5 -0
- package/packages/agent/src/api/browser-workspace-routes.d.ts.map +1 -0
- package/packages/agent/src/api/browser-workspace-routes.js +100 -0
- package/packages/agent/src/api/bug-report-routes.d.ts +10 -0
- package/packages/agent/src/api/bug-report-routes.d.ts.map +1 -0
- package/packages/agent/src/api/bug-report-routes.js +271 -0
- package/packages/agent/src/api/character-routes.d.ts +52 -0
- package/packages/agent/src/api/character-routes.d.ts.map +1 -0
- package/packages/agent/src/api/character-routes.js +377 -0
- package/packages/agent/src/api/chat-augmentation.d.ts +70 -0
- package/packages/agent/src/api/chat-augmentation.d.ts.map +1 -0
- package/packages/agent/src/api/chat-augmentation.js +465 -0
- package/packages/agent/src/api/chat-routes.d.ts +110 -0
- package/packages/agent/src/api/chat-routes.d.ts.map +1 -0
- package/packages/agent/src/api/chat-routes.js +1516 -0
- package/packages/agent/src/api/chat-text-helpers.d.ts +11 -0
- package/packages/agent/src/api/chat-text-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/chat-text-helpers.js +184 -0
- package/packages/agent/src/api/client-chat-admin.d.ts +19 -0
- package/packages/agent/src/api/client-chat-admin.d.ts.map +1 -0
- package/packages/agent/src/api/client-chat-admin.js +27 -0
- package/packages/agent/src/api/cloud-billing-routes.d.ts +9 -0
- package/packages/agent/src/api/cloud-billing-routes.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-billing-routes.js +388 -0
- package/packages/agent/src/api/cloud-compat-routes.d.ts +10 -0
- package/packages/agent/src/api/cloud-compat-routes.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-compat-routes.js +212 -0
- package/packages/agent/src/api/cloud-provisioning.d.ts +14 -0
- package/packages/agent/src/api/cloud-provisioning.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-provisioning.js +30 -0
- package/packages/agent/src/api/cloud-relay-routes.d.ts +22 -0
- package/packages/agent/src/api/cloud-relay-routes.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-relay-routes.js +53 -0
- package/packages/agent/src/api/cloud-routes.d.ts +83 -0
- package/packages/agent/src/api/cloud-routes.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-routes.js +635 -0
- package/packages/agent/src/api/cloud-status-routes.d.ts +15 -0
- package/packages/agent/src/api/cloud-status-routes.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-status-routes.js +152 -0
- package/packages/agent/src/api/coding-agents-fallback-routes.d.ts +12 -0
- package/packages/agent/src/api/coding-agents-fallback-routes.d.ts.map +1 -0
- package/packages/agent/src/api/coding-agents-fallback-routes.js +523 -0
- package/packages/agent/src/api/compat-utils.d.ts +49 -0
- package/packages/agent/src/api/compat-utils.d.ts.map +1 -0
- package/packages/agent/src/api/compat-utils.js +122 -0
- package/packages/agent/src/api/config-env.d.ts +43 -0
- package/packages/agent/src/api/config-env.d.ts.map +1 -0
- package/packages/agent/src/api/config-env.js +284 -0
- package/packages/agent/src/api/config-routes.d.ts +40 -0
- package/packages/agent/src/api/config-routes.d.ts.map +1 -0
- package/packages/agent/src/api/config-routes.js +433 -0
- package/packages/agent/src/api/connector-health.d.ts +42 -0
- package/packages/agent/src/api/connector-health.d.ts.map +1 -0
- package/packages/agent/src/api/connector-health.js +132 -0
- package/packages/agent/src/api/connector-routes.d.ts +29 -0
- package/packages/agent/src/api/connector-routes.d.ts.map +1 -0
- package/packages/agent/src/api/connector-routes.js +137 -0
- package/packages/agent/src/api/conversation-metadata.d.ts +10 -0
- package/packages/agent/src/api/conversation-metadata.d.ts.map +1 -0
- package/packages/agent/src/api/conversation-metadata.js +107 -0
- package/packages/agent/src/api/conversation-routes.d.ts +43 -0
- package/packages/agent/src/api/conversation-routes.d.ts.map +1 -0
- package/packages/agent/src/api/conversation-routes.js +1198 -0
- package/packages/agent/src/api/credit-detection.d.ts +9 -0
- package/packages/agent/src/api/credit-detection.d.ts.map +1 -0
- package/packages/agent/src/api/credit-detection.js +47 -0
- package/packages/agent/src/api/curated-skills-routes.d.ts +22 -0
- package/packages/agent/src/api/curated-skills-routes.d.ts.map +1 -0
- package/packages/agent/src/api/curated-skills-routes.js +295 -0
- package/packages/agent/src/api/database.d.ts +35 -0
- package/packages/agent/src/api/database.d.ts.map +1 -0
- package/packages/agent/src/api/database.js +1141 -0
- package/packages/agent/src/api/diagnostics-routes.d.ts +60 -0
- package/packages/agent/src/api/diagnostics-routes.d.ts.map +1 -0
- package/packages/agent/src/api/diagnostics-routes.js +365 -0
- package/packages/agent/src/api/discord-avatar-cache.d.ts +10 -0
- package/packages/agent/src/api/discord-avatar-cache.d.ts.map +1 -0
- package/packages/agent/src/api/discord-avatar-cache.js +149 -0
- package/packages/agent/src/api/discord-profiles.d.ts +26 -0
- package/packages/agent/src/api/discord-profiles.d.ts.map +1 -0
- package/packages/agent/src/api/discord-profiles.js +279 -0
- package/packages/agent/src/api/early-logs.d.ts +29 -0
- package/packages/agent/src/api/early-logs.d.ts.map +1 -0
- package/packages/agent/src/api/early-logs.js +96 -0
- package/packages/agent/src/api/experience-routes.d.ts +8 -0
- package/packages/agent/src/api/experience-routes.d.ts.map +1 -0
- package/packages/agent/src/api/experience-routes.js +433 -0
- package/packages/agent/src/api/health-routes.d.ts +44 -0
- package/packages/agent/src/api/health-routes.d.ts.map +1 -0
- package/packages/agent/src/api/health-routes.js +449 -0
- package/packages/agent/src/api/http-helpers.d.ts +50 -0
- package/packages/agent/src/api/http-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/http-helpers.js +167 -0
- package/packages/agent/src/api/inbox-routes.d.ts +48 -0
- package/packages/agent/src/api/inbox-routes.d.ts.map +1 -0
- package/packages/agent/src/api/inbox-routes.js +1577 -0
- package/packages/agent/src/api/index.d.ts +58 -0
- package/packages/agent/src/api/index.d.ts.map +1 -0
- package/packages/agent/src/api/index.js +61 -0
- package/packages/agent/src/api/knowledge-routes.d.ts +2 -0
- package/packages/agent/src/api/knowledge-routes.d.ts.map +1 -0
- package/packages/agent/src/api/knowledge-routes.js +2 -0
- package/packages/agent/src/api/knowledge-service-loader.d.ts +2 -0
- package/packages/agent/src/api/knowledge-service-loader.d.ts.map +1 -0
- package/packages/agent/src/api/knowledge-service-loader.js +2 -0
- package/packages/agent/src/api/mcp-routes.d.ts +33 -0
- package/packages/agent/src/api/mcp-routes.d.ts.map +1 -0
- package/packages/agent/src/api/mcp-routes.js +186 -0
- package/packages/agent/src/api/memory-bounds.d.ts +51 -0
- package/packages/agent/src/api/memory-bounds.d.ts.map +1 -0
- package/packages/agent/src/api/memory-bounds.js +81 -0
- package/packages/agent/src/api/memory-routes.d.ts +9 -0
- package/packages/agent/src/api/memory-routes.d.ts.map +1 -0
- package/packages/agent/src/api/memory-routes.js +483 -0
- package/packages/agent/src/api/misc-routes.d.ts +64 -0
- package/packages/agent/src/api/misc-routes.d.ts.map +1 -0
- package/packages/agent/src/api/misc-routes.js +589 -0
- package/packages/agent/src/api/model-provider-helpers.d.ts +84 -0
- package/packages/agent/src/api/model-provider-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/model-provider-helpers.js +588 -0
- package/packages/agent/src/api/models-routes.d.ts +14 -0
- package/packages/agent/src/api/models-routes.d.ts.map +1 -0
- package/packages/agent/src/api/models-routes.js +37 -0
- package/packages/agent/src/api/music-player-route-fallback.d.ts +16 -0
- package/packages/agent/src/api/music-player-route-fallback.d.ts.map +1 -0
- package/packages/agent/src/api/music-player-route-fallback.js +65 -0
- package/packages/agent/src/api/nfa-routes.d.ts +5 -0
- package/packages/agent/src/api/nfa-routes.d.ts.map +1 -0
- package/packages/agent/src/api/nfa-routes.js +133 -0
- package/packages/agent/src/api/onboarding-routes.d.ts +50 -0
- package/packages/agent/src/api/onboarding-routes.d.ts.map +1 -0
- package/packages/agent/src/api/onboarding-routes.js +590 -0
- package/packages/agent/src/api/owner-contact-helpers.d.ts +39 -0
- package/packages/agent/src/api/owner-contact-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/owner-contact-helpers.js +47 -0
- package/packages/agent/src/api/parse-action-block.d.ts +35 -0
- package/packages/agent/src/api/parse-action-block.d.ts.map +1 -0
- package/packages/agent/src/api/parse-action-block.js +113 -0
- package/packages/agent/src/api/permissions-routes-extra.d.ts +30 -0
- package/packages/agent/src/api/permissions-routes-extra.d.ts.map +1 -0
- package/packages/agent/src/api/permissions-routes-extra.js +78 -0
- package/packages/agent/src/api/permissions-routes.d.ts +28 -0
- package/packages/agent/src/api/permissions-routes.d.ts.map +1 -0
- package/packages/agent/src/api/permissions-routes.js +180 -0
- package/packages/agent/src/api/plugin-discovery-helpers.d.ts +147 -0
- package/packages/agent/src/api/plugin-discovery-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/plugin-discovery-helpers.js +1136 -0
- package/packages/agent/src/api/plugin-routes.d.ts +127 -0
- package/packages/agent/src/api/plugin-routes.d.ts.map +1 -0
- package/packages/agent/src/api/plugin-routes.js +1250 -0
- package/packages/agent/src/api/plugin-runtime-apply.d.ts +31 -0
- package/packages/agent/src/api/plugin-runtime-apply.d.ts.map +1 -0
- package/packages/agent/src/api/plugin-runtime-apply.js +217 -0
- package/packages/agent/src/api/plugin-validation.d.ts +86 -0
- package/packages/agent/src/api/plugin-validation.d.ts.map +1 -0
- package/packages/agent/src/api/plugin-validation.js +259 -0
- package/packages/agent/src/api/provider-switch-config.d.ts +63 -0
- package/packages/agent/src/api/provider-switch-config.d.ts.map +1 -0
- package/packages/agent/src/api/provider-switch-config.js +721 -0
- package/packages/agent/src/api/provider-switch-routes.d.ts +28 -0
- package/packages/agent/src/api/provider-switch-routes.d.ts.map +1 -0
- package/packages/agent/src/api/provider-switch-routes.js +127 -0
- package/packages/agent/src/api/rate-limiter.d.ts +29 -0
- package/packages/agent/src/api/rate-limiter.d.ts.map +1 -0
- package/packages/agent/src/api/rate-limiter.js +57 -0
- package/packages/agent/src/api/registry-routes.d.ts +29 -0
- package/packages/agent/src/api/registry-routes.d.ts.map +1 -0
- package/packages/agent/src/api/registry-routes.js +98 -0
- package/packages/agent/src/api/registry-service.d.ts +77 -0
- package/packages/agent/src/api/registry-service.d.ts.map +1 -0
- package/packages/agent/src/api/registry-service.js +190 -0
- package/packages/agent/src/api/relationships-routes.d.ts +7 -0
- package/packages/agent/src/api/relationships-routes.d.ts.map +1 -0
- package/packages/agent/src/api/relationships-routes.js +275 -0
- package/packages/agent/src/api/route-helpers.d.ts +16 -0
- package/packages/agent/src/api/route-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/route-helpers.js +1 -0
- package/packages/agent/src/api/runtime-plugin-routes.d.ts +26 -0
- package/packages/agent/src/api/runtime-plugin-routes.d.ts.map +1 -0
- package/packages/agent/src/api/runtime-plugin-routes.js +196 -0
- package/packages/agent/src/api/sandbox-routes.d.ts +12 -0
- package/packages/agent/src/api/sandbox-routes.d.ts.map +1 -0
- package/packages/agent/src/api/sandbox-routes.js +1334 -0
- package/packages/agent/src/api/server-auth.d.ts +46 -0
- package/packages/agent/src/api/server-auth.d.ts.map +1 -0
- package/packages/agent/src/api/server-auth.js +509 -0
- package/packages/agent/src/api/server-helpers-auth.d.ts +40 -0
- package/packages/agent/src/api/server-helpers-auth.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-auth.js +609 -0
- package/packages/agent/src/api/server-helpers-config.d.ts +37 -0
- package/packages/agent/src/api/server-helpers-config.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-config.js +295 -0
- package/packages/agent/src/api/server-helpers-fetch.d.ts +15 -0
- package/packages/agent/src/api/server-helpers-fetch.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-fetch.js +149 -0
- package/packages/agent/src/api/server-helpers-mcp.d.ts +12 -0
- package/packages/agent/src/api/server-helpers-mcp.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-mcp.js +315 -0
- package/packages/agent/src/api/server-helpers-plugin.d.ts +13 -0
- package/packages/agent/src/api/server-helpers-plugin.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-plugin.js +158 -0
- package/packages/agent/src/api/server-helpers-swarm.d.ts +59 -0
- package/packages/agent/src/api/server-helpers-swarm.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-swarm.js +416 -0
- package/packages/agent/src/api/server-helpers-wallet.d.ts +18 -0
- package/packages/agent/src/api/server-helpers-wallet.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-wallet.js +178 -0
- package/packages/agent/src/api/server-helpers.d.ts +96 -0
- package/packages/agent/src/api/server-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers.js +601 -0
- package/packages/agent/src/api/server-types.d.ts +238 -0
- package/packages/agent/src/api/server-types.d.ts.map +1 -0
- package/packages/agent/src/api/server-types.js +6 -0
- package/packages/agent/src/api/server.d.ts +61 -0
- package/packages/agent/src/api/server.d.ts.map +1 -0
- package/packages/agent/src/api/server.js +3227 -0
- package/packages/agent/src/api/signal-routes.d.ts +42 -0
- package/packages/agent/src/api/signal-routes.d.ts.map +1 -0
- package/packages/agent/src/api/signal-routes.js +231 -0
- package/packages/agent/src/api/skill-discovery-helpers.d.ts +80 -0
- package/packages/agent/src/api/skill-discovery-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/skill-discovery-helpers.js +383 -0
- package/packages/agent/src/api/skills-routes.d.ts +32 -0
- package/packages/agent/src/api/skills-routes.d.ts.map +1 -0
- package/packages/agent/src/api/skills-routes.js +975 -0
- package/packages/agent/src/api/static-file-server.d.ts +19 -0
- package/packages/agent/src/api/static-file-server.d.ts.map +1 -0
- package/packages/agent/src/api/static-file-server.js +233 -0
- package/packages/agent/src/api/stream-persistence.d.ts +64 -0
- package/packages/agent/src/api/stream-persistence.d.ts.map +1 -0
- package/packages/agent/src/api/stream-persistence.js +231 -0
- package/packages/agent/src/api/stream-route-state.d.ts +56 -0
- package/packages/agent/src/api/stream-route-state.d.ts.map +1 -0
- package/packages/agent/src/api/stream-route-state.js +1 -0
- package/packages/agent/src/api/stream-routes.d.ts +24 -0
- package/packages/agent/src/api/stream-routes.d.ts.map +1 -0
- package/packages/agent/src/api/stream-routes.js +728 -0
- package/packages/agent/src/api/streaming-text.d.ts +9 -0
- package/packages/agent/src/api/streaming-text.d.ts.map +1 -0
- package/packages/agent/src/api/streaming-text.js +85 -0
- package/packages/agent/src/api/streaming-types.d.ts +30 -0
- package/packages/agent/src/api/streaming-types.d.ts.map +1 -0
- package/packages/agent/src/api/streaming-types.js +1 -0
- package/packages/agent/src/api/subscription-routes.d.ts +20 -0
- package/packages/agent/src/api/subscription-routes.d.ts.map +1 -0
- package/packages/agent/src/api/subscription-routes.js +268 -0
- package/packages/agent/src/api/task-agent-message-routing.d.ts +10 -0
- package/packages/agent/src/api/task-agent-message-routing.d.ts.map +1 -0
- package/packages/agent/src/api/task-agent-message-routing.js +62 -0
- package/packages/agent/src/api/telegram-account-routes.d.ts +26 -0
- package/packages/agent/src/api/telegram-account-routes.d.ts.map +1 -0
- package/packages/agent/src/api/telegram-account-routes.js +229 -0
- package/packages/agent/src/api/terminal-run-limits.d.ts +5 -0
- package/packages/agent/src/api/terminal-run-limits.d.ts.map +1 -0
- package/packages/agent/src/api/terminal-run-limits.js +22 -0
- package/packages/agent/src/api/trade-safety.d.ts +35 -0
- package/packages/agent/src/api/trade-safety.d.ts.map +1 -0
- package/packages/agent/src/api/trade-safety.js +62 -0
- package/packages/agent/src/api/training-backend-check.d.ts +2 -0
- package/packages/agent/src/api/training-backend-check.d.ts.map +1 -0
- package/packages/agent/src/api/training-backend-check.js +2 -0
- package/packages/agent/src/api/training-routes.d.ts +2 -0
- package/packages/agent/src/api/training-routes.d.ts.map +1 -0
- package/packages/agent/src/api/training-routes.js +2 -0
- package/packages/agent/src/api/training-service-like.d.ts +2 -0
- package/packages/agent/src/api/training-service-like.d.ts.map +1 -0
- package/packages/agent/src/api/training-service-like.js +1 -0
- package/packages/agent/src/api/trajectory-routes.d.ts +3 -0
- package/packages/agent/src/api/trajectory-routes.d.ts.map +1 -0
- package/packages/agent/src/api/trajectory-routes.js +2 -0
- package/packages/agent/src/api/trigger-routes.d.ts +64 -0
- package/packages/agent/src/api/trigger-routes.d.ts.map +1 -0
- package/packages/agent/src/api/trigger-routes.js +431 -0
- package/packages/agent/src/api/tts-routes.d.ts +24 -0
- package/packages/agent/src/api/tts-routes.d.ts.map +1 -0
- package/packages/agent/src/api/tts-routes.js +200 -0
- package/packages/agent/src/api/tx-service.d.ts +53 -0
- package/packages/agent/src/api/tx-service.d.ts.map +1 -0
- package/packages/agent/src/api/tx-service.js +217 -0
- package/packages/agent/src/api/update-routes.d.ts +19 -0
- package/packages/agent/src/api/update-routes.d.ts.map +1 -0
- package/packages/agent/src/api/update-routes.js +54 -0
- package/packages/agent/src/api/wallet-capability.d.ts +32 -0
- package/packages/agent/src/api/wallet-capability.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-capability.js +189 -0
- package/packages/agent/src/api/wallet-env-sync.d.ts +2 -0
- package/packages/agent/src/api/wallet-env-sync.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-env-sync.js +108 -0
- package/packages/agent/src/api/wallet-evm-balance.d.ts +72 -0
- package/packages/agent/src/api/wallet-evm-balance.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-evm-balance.js +663 -0
- package/packages/agent/src/api/wallet-routes.d.ts +42 -0
- package/packages/agent/src/api/wallet-routes.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-routes.js +863 -0
- package/packages/agent/src/api/wallet-rpc.d.ts +73 -0
- package/packages/agent/src/api/wallet-rpc.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-rpc.js +471 -0
- package/packages/agent/src/api/wallet-trading-profile.d.ts +31 -0
- package/packages/agent/src/api/wallet-trading-profile.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-trading-profile.js +565 -0
- package/packages/agent/src/api/wallet.d.ts +64 -0
- package/packages/agent/src/api/wallet.d.ts.map +1 -0
- package/packages/agent/src/api/wallet.js +782 -0
- package/packages/agent/src/api/whatsapp-routes.d.ts +39 -0
- package/packages/agent/src/api/whatsapp-routes.d.ts.map +1 -0
- package/packages/agent/src/api/whatsapp-routes.js +275 -0
- package/packages/agent/src/api/workbench-helpers.d.ts +39 -0
- package/packages/agent/src/api/workbench-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/workbench-helpers.js +141 -0
- package/packages/agent/src/api/workbench-routes.d.ts +53 -0
- package/packages/agent/src/api/workbench-routes.d.ts.map +1 -0
- package/packages/agent/src/api/workbench-routes.js +391 -0
- package/packages/agent/src/api/x-relay-routes.d.ts +27 -0
- package/packages/agent/src/api/x-relay-routes.d.ts.map +1 -0
- package/packages/agent/src/api/x-relay-routes.js +135 -0
- package/packages/agent/src/api/zip-utils.d.ts +8 -0
- package/packages/agent/src/api/zip-utils.d.ts.map +1 -0
- package/packages/agent/src/api/zip-utils.js +115 -0
- package/packages/agent/src/auth/account-storage.d.ts +48 -0
- package/packages/agent/src/auth/account-storage.d.ts.map +1 -0
- package/packages/agent/src/auth/account-storage.js +238 -0
- package/packages/agent/src/auth/anthropic.d.ts +24 -0
- package/packages/agent/src/auth/anthropic.d.ts.map +1 -0
- package/packages/agent/src/auth/anthropic.js +38 -0
- package/packages/agent/src/auth/claude-code-stealth.d.ts +2 -0
- package/packages/agent/src/auth/claude-code-stealth.d.ts.map +1 -0
- package/packages/agent/src/auth/claude-code-stealth.js +114 -0
- package/packages/agent/src/auth/credentials.d.ts +95 -0
- package/packages/agent/src/auth/credentials.d.ts.map +1 -0
- package/packages/agent/src/auth/credentials.js +444 -0
- package/packages/agent/src/auth/index.d.ts +8 -0
- package/packages/agent/src/auth/index.d.ts.map +1 -0
- package/packages/agent/src/auth/index.js +7 -0
- package/packages/agent/src/auth/oauth-flow.d.ts +106 -0
- package/packages/agent/src/auth/oauth-flow.d.ts.map +1 -0
- package/packages/agent/src/auth/oauth-flow.js +349 -0
- package/packages/agent/src/auth/openai-codex.d.ts +27 -0
- package/packages/agent/src/auth/openai-codex.d.ts.map +1 -0
- package/packages/agent/src/auth/openai-codex.js +76 -0
- package/packages/agent/src/auth/refresh-mutex.d.ts +19 -0
- package/packages/agent/src/auth/refresh-mutex.d.ts.map +1 -0
- package/packages/agent/src/auth/refresh-mutex.js +33 -0
- package/packages/agent/src/auth/types.d.ts +18 -0
- package/packages/agent/src/auth/types.d.ts.map +1 -0
- package/packages/agent/src/auth/types.js +8 -0
- package/packages/agent/src/auth/vendor/pi-oauth/anthropic-login.d.ts +48 -0
- package/packages/agent/src/auth/vendor/pi-oauth/anthropic-login.d.ts.map +1 -0
- package/packages/agent/src/auth/vendor/pi-oauth/anthropic-login.js +113 -0
- package/packages/agent/src/auth/vendor/pi-oauth/openai-codex-login.d.ts +26 -0
- package/packages/agent/src/auth/vendor/pi-oauth/openai-codex-login.d.ts.map +1 -0
- package/packages/agent/src/auth/vendor/pi-oauth/openai-codex-login.js +342 -0
- package/packages/agent/src/auth/vendor/pi-oauth/pkce.d.ts +9 -0
- package/packages/agent/src/auth/vendor/pi-oauth/pkce.d.ts.map +1 -0
- package/packages/agent/src/auth/vendor/pi-oauth/pkce.js +21 -0
- 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/awareness/registry.d.ts +27 -0
- package/packages/agent/src/awareness/registry.d.ts.map +1 -0
- package/packages/agent/src/awareness/registry.js +161 -0
- package/packages/agent/src/cli/parse-duration.d.ts +5 -0
- package/packages/agent/src/cli/parse-duration.d.ts.map +1 -0
- package/packages/agent/src/cli/parse-duration.js +27 -0
- package/packages/agent/src/cloud/auth.d.ts +19 -0
- package/packages/agent/src/cloud/auth.d.ts.map +1 -0
- package/packages/agent/src/cloud/auth.js +110 -0
- package/packages/agent/src/cloud/backup.d.ts +18 -0
- package/packages/agent/src/cloud/backup.d.ts.map +1 -0
- package/packages/agent/src/cloud/backup.js +42 -0
- package/packages/agent/src/cloud/base-url.d.ts +3 -0
- package/packages/agent/src/cloud/base-url.d.ts.map +1 -0
- package/packages/agent/src/cloud/base-url.js +53 -0
- package/packages/agent/src/cloud/bridge-client.d.ts +126 -0
- package/packages/agent/src/cloud/bridge-client.d.ts.map +1 -0
- package/packages/agent/src/cloud/bridge-client.js +380 -0
- package/packages/agent/src/cloud/cloud-manager.d.ts +33 -0
- package/packages/agent/src/cloud/cloud-manager.d.ts.map +1 -0
- package/packages/agent/src/cloud/cloud-manager.js +130 -0
- package/packages/agent/src/cloud/cloud-proxy.d.ts +20 -0
- package/packages/agent/src/cloud/cloud-proxy.d.ts.map +1 -0
- package/packages/agent/src/cloud/cloud-proxy.js +34 -0
- package/packages/agent/src/cloud/cloud-wallet.d.ts +92 -0
- package/packages/agent/src/cloud/cloud-wallet.d.ts.map +1 -0
- package/packages/agent/src/cloud/cloud-wallet.js +199 -0
- package/packages/agent/src/cloud/index.d.ts +9 -0
- package/packages/agent/src/cloud/index.d.ts.map +1 -0
- package/packages/agent/src/cloud/index.js +8 -0
- package/packages/agent/src/cloud/reconnect.d.ts +26 -0
- package/packages/agent/src/cloud/reconnect.d.ts.map +1 -0
- package/packages/agent/src/cloud/reconnect.js +89 -0
- package/packages/agent/src/cloud/validate-url.d.ts +2 -0
- package/packages/agent/src/cloud/validate-url.d.ts.map +1 -0
- package/packages/agent/src/cloud/validate-url.js +162 -0
- package/packages/agent/src/config/character-schema.d.ts +25 -0
- package/packages/agent/src/config/character-schema.d.ts.map +1 -0
- package/packages/agent/src/config/character-schema.js +39 -0
- package/packages/agent/src/config/config.d.ts +6 -0
- package/packages/agent/src/config/config.d.ts.map +1 -0
- package/packages/agent/src/config/config.js +279 -0
- package/packages/agent/src/config/env-vars.d.ts +9 -0
- package/packages/agent/src/config/env-vars.d.ts.map +1 -0
- package/packages/agent/src/config/env-vars.js +284 -0
- package/packages/agent/src/config/feature-flags.d.ts +17 -0
- package/packages/agent/src/config/feature-flags.d.ts.map +1 -0
- package/packages/agent/src/config/feature-flags.js +37 -0
- package/packages/agent/src/config/includes.d.ts +26 -0
- package/packages/agent/src/config/includes.d.ts.map +1 -0
- package/packages/agent/src/config/includes.js +148 -0
- package/packages/agent/src/config/index.d.ts +20 -0
- package/packages/agent/src/config/index.d.ts.map +1 -0
- package/packages/agent/src/config/index.js +19 -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/object-utils.d.ts +2 -0
- package/packages/agent/src/config/object-utils.d.ts.map +1 -0
- package/packages/agent/src/config/object-utils.js +6 -0
- package/packages/agent/src/config/owner-contacts.d.ts +42 -0
- package/packages/agent/src/config/owner-contacts.d.ts.map +1 -0
- package/packages/agent/src/config/owner-contacts.js +223 -0
- package/packages/agent/src/config/paths.d.ts +19 -0
- package/packages/agent/src/config/paths.d.ts.map +1 -0
- package/packages/agent/src/config/paths.js +115 -0
- package/packages/agent/src/config/plugin-auto-enable.d.ts +44 -0
- package/packages/agent/src/config/plugin-auto-enable.d.ts.map +1 -0
- package/packages/agent/src/config/plugin-auto-enable.js +557 -0
- package/packages/agent/src/config/plugin-widgets.d.ts +29 -0
- package/packages/agent/src/config/plugin-widgets.d.ts.map +1 -0
- package/packages/agent/src/config/plugin-widgets.js +61 -0
- package/packages/agent/src/config/schema.d.ts +87 -0
- package/packages/agent/src/config/schema.d.ts.map +1 -0
- package/packages/agent/src/config/schema.js +922 -0
- package/packages/agent/src/config/telegram-custom-commands.d.ts +25 -0
- package/packages/agent/src/config/telegram-custom-commands.d.ts.map +1 -0
- package/packages/agent/src/config/telegram-custom-commands.js +71 -0
- package/packages/agent/src/config/types.agent-defaults.d.ts +363 -0
- package/packages/agent/src/config/types.agent-defaults.d.ts.map +1 -0
- package/packages/agent/src/config/types.agent-defaults.js +1 -0
- package/packages/agent/src/config/types.agents.d.ts +114 -0
- package/packages/agent/src/config/types.agents.d.ts.map +1 -0
- package/packages/agent/src/config/types.agents.js +1 -0
- package/packages/agent/src/config/types.d.ts +8 -0
- package/packages/agent/src/config/types.d.ts.map +1 -0
- package/packages/agent/src/config/types.eliza.d.ts +716 -0
- package/packages/agent/src/config/types.eliza.d.ts.map +1 -0
- package/packages/agent/src/config/types.eliza.js +1 -0
- package/packages/agent/src/config/types.gateway.d.ts +216 -0
- package/packages/agent/src/config/types.gateway.d.ts.map +1 -0
- package/packages/agent/src/config/types.gateway.js +1 -0
- package/packages/agent/src/config/types.hooks.d.ts +107 -0
- package/packages/agent/src/config/types.hooks.d.ts.map +1 -0
- package/packages/agent/src/config/types.hooks.js +1 -0
- package/packages/agent/src/config/types.js +7 -0
- package/packages/agent/src/config/types.messages.d.ts +176 -0
- package/packages/agent/src/config/types.messages.d.ts.map +1 -0
- package/packages/agent/src/config/types.messages.js +1 -0
- package/packages/agent/src/config/types.tools.d.ts +400 -0
- package/packages/agent/src/config/types.tools.d.ts.map +1 -0
- package/packages/agent/src/config/types.tools.js +1 -0
- package/packages/agent/src/config/zod-schema.agent-runtime.d.ts +1137 -0
- package/packages/agent/src/config/zod-schema.agent-runtime.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.agent-runtime.js +782 -0
- package/packages/agent/src/config/zod-schema.core.d.ts +1021 -0
- package/packages/agent/src/config/zod-schema.core.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.core.js +701 -0
- package/packages/agent/src/config/zod-schema.d.ts +3185 -0
- package/packages/agent/src/config/zod-schema.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.hooks.d.ts +88 -0
- package/packages/agent/src/config/zod-schema.hooks.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.hooks.js +133 -0
- package/packages/agent/src/config/zod-schema.js +850 -0
- package/packages/agent/src/config/zod-schema.providers-core.d.ts +2746 -0
- package/packages/agent/src/config/zod-schema.providers-core.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.providers-core.js +961 -0
- package/packages/agent/src/config/zod-schema.session.d.ts +183 -0
- package/packages/agent/src/config/zod-schema.session.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.session.js +86 -0
- package/packages/agent/src/contracts/apps.d.ts +2 -0
- package/packages/agent/src/contracts/apps.d.ts.map +1 -0
- package/packages/agent/src/contracts/apps.js +1 -0
- package/packages/agent/src/contracts/awareness.d.ts +38 -0
- package/packages/agent/src/contracts/awareness.d.ts.map +1 -0
- package/packages/agent/src/contracts/awareness.js +7 -0
- package/packages/agent/src/contracts/config.d.ts +160 -0
- package/packages/agent/src/contracts/config.d.ts.map +1 -0
- package/packages/agent/src/contracts/config.js +4 -0
- package/packages/agent/src/contracts/onboarding.d.ts +2 -0
- package/packages/agent/src/contracts/onboarding.d.ts.map +1 -0
- package/packages/agent/src/contracts/onboarding.js +1 -0
- package/packages/agent/src/contracts/service-routing.d.ts +2 -0
- package/packages/agent/src/contracts/service-routing.d.ts.map +1 -0
- package/packages/agent/src/contracts/service-routing.js +1 -0
- package/packages/agent/src/contracts/wallet.d.ts +2 -0
- package/packages/agent/src/contracts/wallet.d.ts.map +1 -0
- package/packages/agent/src/contracts/wallet.js +1 -0
- package/packages/agent/src/diagnostics/integration-observability.d.ts +40 -0
- package/packages/agent/src/diagnostics/integration-observability.d.ts.map +1 -0
- package/packages/agent/src/diagnostics/integration-observability.js +78 -0
- package/packages/agent/src/evaluators/late-join-whitelist.d.ts +16 -0
- package/packages/agent/src/evaluators/late-join-whitelist.d.ts.map +1 -0
- package/packages/agent/src/evaluators/late-join-whitelist.js +67 -0
- package/packages/agent/src/hooks/discovery.d.ts +13 -0
- package/packages/agent/src/hooks/discovery.d.ts.map +1 -0
- package/packages/agent/src/hooks/discovery.js +191 -0
- package/packages/agent/src/hooks/eligibility.d.ts +12 -0
- package/packages/agent/src/hooks/eligibility.d.ts.map +1 -0
- package/packages/agent/src/hooks/eligibility.js +105 -0
- package/packages/agent/src/hooks/index.d.ts +3 -0
- package/packages/agent/src/hooks/index.d.ts.map +1 -0
- package/packages/agent/src/hooks/index.js +2 -0
- package/packages/agent/src/hooks/loader.d.ts +34 -0
- package/packages/agent/src/hooks/loader.d.ts.map +1 -0
- package/packages/agent/src/hooks/loader.js +214 -0
- package/packages/agent/src/hooks/registry.d.ts +11 -0
- package/packages/agent/src/hooks/registry.d.ts.map +1 -0
- package/packages/agent/src/hooks/registry.js +58 -0
- package/packages/agent/src/hooks/types.d.ts +104 -0
- package/packages/agent/src/hooks/types.d.ts.map +1 -0
- package/packages/agent/src/hooks/types.js +8 -0
- package/packages/agent/src/index.d.ts +57 -0
- package/packages/agent/src/index.d.ts.map +1 -0
- package/packages/agent/src/index.js +64 -0
- package/packages/agent/src/middleware/x402/payment-config.d.ts +251 -0
- package/packages/agent/src/middleware/x402/payment-config.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/payment-config.js +568 -0
- package/packages/agent/src/middleware/x402/payment-wrapper.d.ts +42 -0
- package/packages/agent/src/middleware/x402/payment-wrapper.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/payment-wrapper.js +1342 -0
- package/packages/agent/src/middleware/x402/startup-validator.d.ts +28 -0
- package/packages/agent/src/middleware/x402/startup-validator.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/startup-validator.js +225 -0
- package/packages/agent/src/middleware/x402/types.d.ts +158 -0
- package/packages/agent/src/middleware/x402/types.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/types.js +5 -0
- package/packages/agent/src/middleware/x402/x402-facilitator-binding.d.ts +9 -0
- package/packages/agent/src/middleware/x402/x402-facilitator-binding.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-facilitator-binding.js +74 -0
- package/packages/agent/src/middleware/x402/x402-replay-durable.d.ts +30 -0
- package/packages/agent/src/middleware/x402/x402-replay-durable.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-replay-durable.js +202 -0
- package/packages/agent/src/middleware/x402/x402-replay-guard.d.ts +28 -0
- package/packages/agent/src/middleware/x402/x402-replay-guard.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-replay-guard.js +134 -0
- package/packages/agent/src/middleware/x402/x402-replay-keys.d.ts +21 -0
- package/packages/agent/src/middleware/x402/x402-replay-keys.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-replay-keys.js +141 -0
- package/packages/agent/src/middleware/x402/x402-resolve.d.ts +6 -0
- package/packages/agent/src/middleware/x402/x402-resolve.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-resolve.js +31 -0
- package/packages/agent/src/middleware/x402/x402-standard-payment.d.ts +130 -0
- package/packages/agent/src/middleware/x402/x402-standard-payment.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-standard-payment.js +387 -0
- package/packages/agent/src/middleware/x402/x402-types.d.ts +130 -0
- package/packages/agent/src/middleware/x402/x402-types.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-types.js +189 -0
- package/packages/agent/src/plugins/custom-rtmp/index.d.ts +12 -0
- package/packages/agent/src/plugins/custom-rtmp/index.d.ts.map +1 -0
- package/packages/agent/src/plugins/custom-rtmp/index.js +26 -0
- package/packages/agent/src/providers/admin-panel.d.ts +4 -0
- package/packages/agent/src/providers/admin-panel.d.ts.map +1 -0
- package/packages/agent/src/providers/admin-panel.js +83 -0
- package/packages/agent/src/providers/admin-trust.d.ts +4 -0
- package/packages/agent/src/providers/admin-trust.d.ts.map +1 -0
- package/packages/agent/src/providers/admin-trust.js +34 -0
- package/packages/agent/src/providers/automation-terminal-bridge.d.ts +3 -0
- package/packages/agent/src/providers/automation-terminal-bridge.d.ts.map +1 -0
- package/packages/agent/src/providers/automation-terminal-bridge.js +71 -0
- package/packages/agent/src/providers/conversation-utils.d.ts +11 -0
- package/packages/agent/src/providers/conversation-utils.d.ts.map +1 -0
- package/packages/agent/src/providers/conversation-utils.js +69 -0
- package/packages/agent/src/providers/escalation-trigger.d.ts +15 -0
- package/packages/agent/src/providers/escalation-trigger.d.ts.map +1 -0
- package/packages/agent/src/providers/escalation-trigger.js +165 -0
- package/packages/agent/src/providers/media-provider.d.ts +192 -0
- package/packages/agent/src/providers/media-provider.d.ts.map +1 -0
- package/packages/agent/src/providers/media-provider.js +1088 -0
- package/packages/agent/src/providers/page-scoped-context.d.ts +3 -0
- package/packages/agent/src/providers/page-scoped-context.d.ts.map +1 -0
- package/packages/agent/src/providers/page-scoped-context.js +533 -0
- package/packages/agent/src/providers/recent-conversations.d.ts +3 -0
- package/packages/agent/src/providers/recent-conversations.d.ts.map +1 -0
- package/packages/agent/src/providers/recent-conversations.js +94 -0
- package/packages/agent/src/providers/relevant-conversations.d.ts +3 -0
- package/packages/agent/src/providers/relevant-conversations.d.ts.map +1 -0
- package/packages/agent/src/providers/relevant-conversations.js +93 -0
- package/packages/agent/src/providers/role-backfill.d.ts +18 -0
- package/packages/agent/src/providers/role-backfill.d.ts.map +1 -0
- package/packages/agent/src/providers/role-backfill.js +84 -0
- package/packages/agent/src/providers/rolodex.d.ts +3 -0
- package/packages/agent/src/providers/rolodex.d.ts.map +1 -0
- package/packages/agent/src/providers/rolodex.js +78 -0
- package/packages/agent/src/providers/session-bridge.d.ts +24 -0
- package/packages/agent/src/providers/session-bridge.d.ts.map +1 -0
- package/packages/agent/src/providers/session-bridge.js +85 -0
- package/packages/agent/src/providers/session-utils.d.ts +20 -0
- package/packages/agent/src/providers/session-utils.d.ts.map +1 -0
- package/packages/agent/src/providers/session-utils.js +33 -0
- package/packages/agent/src/providers/simple-mode.d.ts +4 -0
- package/packages/agent/src/providers/simple-mode.d.ts.map +1 -0
- package/packages/agent/src/providers/simple-mode.js +85 -0
- package/packages/agent/src/providers/skill-provider.d.ts +16 -0
- package/packages/agent/src/providers/skill-provider.d.ts.map +1 -0
- package/packages/agent/src/providers/skill-provider.js +331 -0
- package/packages/agent/src/providers/tasks.d.ts +9 -0
- package/packages/agent/src/providers/tasks.d.ts.map +1 -0
- package/packages/agent/src/providers/tasks.js +113 -0
- package/packages/agent/src/providers/ui-catalog.d.ts +3 -0
- package/packages/agent/src/providers/ui-catalog.d.ts.map +1 -0
- package/packages/agent/src/providers/ui-catalog.js +95 -0
- package/packages/agent/src/providers/user-name.d.ts +11 -0
- package/packages/agent/src/providers/user-name.d.ts.map +1 -0
- package/packages/agent/src/providers/user-name.js +40 -0
- package/packages/agent/src/providers/workspace-provider.d.ts +14 -0
- package/packages/agent/src/providers/workspace-provider.d.ts.map +1 -0
- package/packages/agent/src/providers/workspace-provider.js +177 -0
- package/packages/agent/src/providers/workspace.d.ts +55 -0
- package/packages/agent/src/providers/workspace.d.ts.map +1 -0
- package/packages/agent/src/providers/workspace.js +484 -0
- package/packages/agent/src/runtime/advanced-capabilities-config.d.ts +8 -0
- package/packages/agent/src/runtime/advanced-capabilities-config.d.ts.map +1 -0
- package/packages/agent/src/runtime/advanced-capabilities-config.js +42 -0
- package/packages/agent/src/runtime/agent-event-service.d.ts +35 -0
- package/packages/agent/src/runtime/agent-event-service.d.ts.map +1 -0
- package/packages/agent/src/runtime/agent-event-service.js +16 -0
- package/packages/agent/src/runtime/cloud-onboarding.d.ts +35 -0
- package/packages/agent/src/runtime/cloud-onboarding.d.ts.map +1 -0
- package/packages/agent/src/runtime/cloud-onboarding.js +279 -0
- package/packages/agent/src/runtime/core-plugins.d.ts +39 -0
- package/packages/agent/src/runtime/core-plugins.d.ts.map +1 -0
- package/packages/agent/src/runtime/core-plugins.js +85 -0
- package/packages/agent/src/runtime/custom-actions.d.ts +43 -0
- package/packages/agent/src/runtime/custom-actions.d.ts.map +1 -0
- package/packages/agent/src/runtime/custom-actions.js +507 -0
- package/packages/agent/src/runtime/default-knowledge.d.ts +20 -0
- package/packages/agent/src/runtime/default-knowledge.d.ts.map +1 -0
- package/packages/agent/src/runtime/default-knowledge.js +256 -0
- package/packages/agent/src/runtime/discord-local-plugin.d.ts +86 -0
- package/packages/agent/src/runtime/discord-local-plugin.d.ts.map +1 -0
- package/packages/agent/src/runtime/discord-local-plugin.js +1116 -0
- package/packages/agent/src/runtime/eliza-plugin.d.ts +16 -0
- package/packages/agent/src/runtime/eliza-plugin.d.ts.map +1 -0
- package/packages/agent/src/runtime/eliza-plugin.js +235 -0
- package/packages/agent/src/runtime/eliza.d.ts +91 -0
- package/packages/agent/src/runtime/eliza.d.ts.map +1 -0
- package/packages/agent/src/runtime/eliza.js +3442 -0
- package/packages/agent/src/runtime/embedding-presets.d.ts +19 -0
- package/packages/agent/src/runtime/embedding-presets.d.ts.map +1 -0
- package/packages/agent/src/runtime/embedding-presets.js +60 -0
- package/packages/agent/src/runtime/first-time-setup.d.ts +46 -0
- package/packages/agent/src/runtime/first-time-setup.d.ts.map +1 -0
- package/packages/agent/src/runtime/first-time-setup.js +693 -0
- package/packages/agent/src/runtime/native-runtime-features.d.ts +4 -0
- package/packages/agent/src/runtime/native-runtime-features.d.ts.map +1 -0
- package/packages/agent/src/runtime/native-runtime-features.js +10 -0
- package/packages/agent/src/runtime/onboarding-names.d.ts +11 -0
- package/packages/agent/src/runtime/onboarding-names.d.ts.map +1 -0
- package/packages/agent/src/runtime/onboarding-names.js +81 -0
- package/packages/agent/src/runtime/operations/classifier.d.ts +36 -0
- package/packages/agent/src/runtime/operations/classifier.d.ts.map +1 -0
- package/packages/agent/src/runtime/operations/classifier.js +72 -0
- package/packages/agent/src/runtime/operations/cold-strategy.d.ts +19 -0
- package/packages/agent/src/runtime/operations/cold-strategy.d.ts.map +1 -0
- package/packages/agent/src/runtime/operations/cold-strategy.js +83 -0
- package/packages/agent/src/runtime/operations/health-checks.d.ts +24 -0
- package/packages/agent/src/runtime/operations/health-checks.d.ts.map +1 -0
- package/packages/agent/src/runtime/operations/health-checks.js +186 -0
- package/packages/agent/src/runtime/operations/health.d.ts +32 -0
- package/packages/agent/src/runtime/operations/health.d.ts.map +1 -0
- package/packages/agent/src/runtime/operations/health.js +151 -0
- package/packages/agent/src/runtime/operations/index.d.ts +16 -0
- package/packages/agent/src/runtime/operations/index.d.ts.map +1 -0
- package/packages/agent/src/runtime/operations/index.js +14 -0
- package/packages/agent/src/runtime/operations/manager.d.ts +68 -0
- package/packages/agent/src/runtime/operations/manager.d.ts.map +1 -0
- package/packages/agent/src/runtime/operations/manager.js +182 -0
- package/packages/agent/src/runtime/operations/reload-hot.d.ts +40 -0
- package/packages/agent/src/runtime/operations/reload-hot.d.ts.map +1 -0
- package/packages/agent/src/runtime/operations/reload-hot.js +176 -0
- package/packages/agent/src/runtime/operations/repository.d.ts +44 -0
- package/packages/agent/src/runtime/operations/repository.d.ts.map +1 -0
- package/packages/agent/src/runtime/operations/repository.js +233 -0
- package/packages/agent/src/runtime/operations/types.d.ts +201 -0
- package/packages/agent/src/runtime/operations/types.d.ts.map +1 -0
- package/packages/agent/src/runtime/operations/types.js +30 -0
- package/packages/agent/src/runtime/owner-entity.d.ts +4 -0
- package/packages/agent/src/runtime/owner-entity.d.ts.map +1 -0
- package/packages/agent/src/runtime/owner-entity.js +30 -0
- package/packages/agent/src/runtime/pglite-error-compat.d.ts +28 -0
- package/packages/agent/src/runtime/pglite-error-compat.d.ts.map +1 -0
- package/packages/agent/src/runtime/pglite-error-compat.js +54 -0
- package/packages/agent/src/runtime/plugin-collector.d.ts +26 -0
- package/packages/agent/src/runtime/plugin-collector.d.ts.map +1 -0
- package/packages/agent/src/runtime/plugin-collector.js +443 -0
- package/packages/agent/src/runtime/plugin-lifecycle.d.ts +44 -0
- package/packages/agent/src/runtime/plugin-lifecycle.d.ts.map +1 -0
- package/packages/agent/src/runtime/plugin-lifecycle.js +578 -0
- package/packages/agent/src/runtime/plugin-resolver.d.ts +32 -0
- package/packages/agent/src/runtime/plugin-resolver.d.ts.map +1 -0
- package/packages/agent/src/runtime/plugin-resolver.js +971 -0
- package/packages/agent/src/runtime/plugin-role-gating.d.ts +34 -0
- package/packages/agent/src/runtime/plugin-role-gating.d.ts.map +1 -0
- package/packages/agent/src/runtime/plugin-role-gating.js +267 -0
- package/packages/agent/src/runtime/plugin-types.d.ts +65 -0
- package/packages/agent/src/runtime/plugin-types.d.ts.map +1 -0
- package/packages/agent/src/runtime/plugin-types.js +331 -0
- package/packages/agent/src/runtime/prompt-compaction.d.ts +80 -0
- package/packages/agent/src/runtime/prompt-compaction.d.ts.map +1 -0
- package/packages/agent/src/runtime/prompt-compaction.js +307 -0
- package/packages/agent/src/runtime/prompt-optimization.d.ts +34 -0
- package/packages/agent/src/runtime/prompt-optimization.d.ts.map +1 -0
- package/packages/agent/src/runtime/prompt-optimization.js +686 -0
- package/packages/agent/src/runtime/release-plugin-policy.d.ts +20 -0
- package/packages/agent/src/runtime/release-plugin-policy.d.ts.map +1 -0
- package/packages/agent/src/runtime/release-plugin-policy.js +85 -0
- package/packages/agent/src/runtime/restart.d.ts +21 -0
- package/packages/agent/src/runtime/restart.d.ts.map +1 -0
- package/packages/agent/src/runtime/restart.js +20 -0
- package/packages/agent/src/runtime/roles/src/action.d.ts +11 -0
- package/packages/agent/src/runtime/roles/src/action.d.ts.map +1 -0
- package/packages/agent/src/runtime/roles/src/action.js +665 -0
- package/packages/agent/src/runtime/roles/src/index.d.ts +24 -0
- package/packages/agent/src/runtime/roles/src/index.d.ts.map +1 -0
- package/packages/agent/src/runtime/roles/src/index.js +243 -0
- package/packages/agent/src/runtime/roles/src/intent.d.ts +18 -0
- package/packages/agent/src/runtime/roles/src/intent.d.ts.map +1 -0
- package/packages/agent/src/runtime/roles/src/intent.js +293 -0
- package/packages/agent/src/runtime/roles/src/provider.d.ts +7 -0
- package/packages/agent/src/runtime/roles/src/provider.d.ts.map +1 -0
- package/packages/agent/src/runtime/roles/src/provider.js +133 -0
- package/packages/agent/src/runtime/roles/src/types.d.ts +3 -0
- package/packages/agent/src/runtime/roles/src/types.d.ts.map +1 -0
- package/packages/agent/src/runtime/roles/src/types.js +1 -0
- package/packages/agent/src/runtime/roles/src/utils.d.ts +2 -0
- package/packages/agent/src/runtime/roles/src/utils.d.ts.map +1 -0
- package/packages/agent/src/runtime/roles/src/utils.js +1 -0
- package/packages/agent/src/runtime/roles.d.ts +3 -0
- package/packages/agent/src/runtime/roles.d.ts.map +1 -0
- package/packages/agent/src/runtime/roles.js +5 -0
- package/packages/agent/src/runtime/trajectory-internals.d.ts +226 -0
- package/packages/agent/src/runtime/trajectory-internals.d.ts.map +1 -0
- package/packages/agent/src/runtime/trajectory-internals.js +1327 -0
- package/packages/agent/src/runtime/trajectory-persistence.d.ts +15 -0
- package/packages/agent/src/runtime/trajectory-persistence.d.ts.map +1 -0
- package/packages/agent/src/runtime/trajectory-persistence.js +29 -0
- package/packages/agent/src/runtime/trajectory-query.d.ts +8 -0
- package/packages/agent/src/runtime/trajectory-query.d.ts.map +1 -0
- package/packages/agent/src/runtime/trajectory-query.js +27 -0
- package/packages/agent/src/runtime/trajectory-storage.d.ts +91 -0
- package/packages/agent/src/runtime/trajectory-storage.d.ts.map +1 -0
- package/packages/agent/src/runtime/trajectory-storage.js +1155 -0
- package/packages/agent/src/runtime/version.d.ts +2 -0
- package/packages/agent/src/runtime/version.d.ts.map +1 -0
- package/packages/agent/src/runtime/version.js +5 -0
- package/packages/agent/src/runtime/web-search-tools.d.ts +22 -0
- package/packages/agent/src/runtime/web-search-tools.d.ts.map +1 -0
- package/packages/agent/src/runtime/web-search-tools.js +149 -0
- package/packages/agent/src/security/access.d.ts +17 -0
- package/packages/agent/src/security/access.d.ts.map +1 -0
- package/packages/agent/src/security/access.js +129 -0
- package/packages/agent/src/security/audit-log.d.ts +47 -0
- package/packages/agent/src/security/audit-log.d.ts.map +1 -0
- package/packages/agent/src/security/audit-log.js +161 -0
- package/packages/agent/src/security/index.d.ts +4 -0
- package/packages/agent/src/security/index.d.ts.map +1 -0
- package/packages/agent/src/security/index.js +3 -0
- package/packages/agent/src/security/network-policy.d.ts +6 -0
- package/packages/agent/src/security/network-policy.d.ts.map +1 -0
- package/packages/agent/src/security/network-policy.js +85 -0
- package/packages/agent/src/services/agent-export.d.ts +100 -0
- package/packages/agent/src/services/agent-export.d.ts.map +1 -0
- package/packages/agent/src/services/agent-export.js +729 -0
- package/packages/agent/src/services/app-manager.d.ts +108 -0
- package/packages/agent/src/services/app-manager.d.ts.map +1 -0
- package/packages/agent/src/services/app-manager.js +1623 -0
- package/packages/agent/src/services/app-package-modules.d.ts +22 -0
- package/packages/agent/src/services/app-package-modules.d.ts.map +1 -0
- package/packages/agent/src/services/app-package-modules.js +388 -0
- package/packages/agent/src/services/app-run-store.d.ts +6 -0
- package/packages/agent/src/services/app-run-store.d.ts.map +1 -0
- package/packages/agent/src/services/app-run-store.js +490 -0
- package/packages/agent/src/services/app-session-gate.d.ts +15 -0
- package/packages/agent/src/services/app-session-gate.d.ts.map +1 -0
- package/packages/agent/src/services/app-session-gate.js +71 -0
- package/packages/agent/src/services/browser-capture.d.ts +41 -0
- package/packages/agent/src/services/browser-capture.d.ts.map +1 -0
- package/packages/agent/src/services/browser-capture.js +173 -0
- package/packages/agent/src/services/browser-workspace-desktop.d.ts +22 -0
- package/packages/agent/src/services/browser-workspace-desktop.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace-desktop.js +1490 -0
- package/packages/agent/src/services/browser-workspace-elements.d.ts +42 -0
- package/packages/agent/src/services/browser-workspace-elements.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace-elements.js +508 -0
- package/packages/agent/src/services/browser-workspace-forms.d.ts +19 -0
- package/packages/agent/src/services/browser-workspace-forms.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace-forms.js +245 -0
- package/packages/agent/src/services/browser-workspace-helpers.d.ts +20 -0
- package/packages/agent/src/services/browser-workspace-helpers.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace-helpers.js +121 -0
- package/packages/agent/src/services/browser-workspace-jsdom.d.ts +16 -0
- package/packages/agent/src/services/browser-workspace-jsdom.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace-jsdom.js +223 -0
- package/packages/agent/src/services/browser-workspace-network.d.ts +7 -0
- package/packages/agent/src/services/browser-workspace-network.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace-network.js +137 -0
- package/packages/agent/src/services/browser-workspace-snapshots.d.ts +14 -0
- package/packages/agent/src/services/browser-workspace-snapshots.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace-snapshots.js +144 -0
- package/packages/agent/src/services/browser-workspace-state.d.ts +22 -0
- package/packages/agent/src/services/browser-workspace-state.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace-state.js +129 -0
- package/packages/agent/src/services/browser-workspace-types.d.ts +279 -0
- package/packages/agent/src/services/browser-workspace-types.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace-types.js +1 -0
- package/packages/agent/src/services/browser-workspace-web.d.ts +8 -0
- package/packages/agent/src/services/browser-workspace-web.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace-web.js +1152 -0
- package/packages/agent/src/services/browser-workspace.d.ts +36 -0
- package/packages/agent/src/services/browser-workspace.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace.js +639 -0
- package/packages/agent/src/services/character-history.d.ts +69 -0
- package/packages/agent/src/services/character-history.d.ts.map +1 -0
- package/packages/agent/src/services/character-history.js +280 -0
- package/packages/agent/src/services/character-persistence.d.ts +25 -0
- package/packages/agent/src/services/character-persistence.d.ts.map +1 -0
- package/packages/agent/src/services/character-persistence.js +167 -0
- package/packages/agent/src/services/client-chat-sender.d.ts +19 -0
- package/packages/agent/src/services/client-chat-sender.d.ts.map +1 -0
- package/packages/agent/src/services/client-chat-sender.js +88 -0
- package/packages/agent/src/services/coding-agent-context.d.ts +310 -0
- package/packages/agent/src/services/coding-agent-context.d.ts.map +1 -0
- package/packages/agent/src/services/coding-agent-context.js +281 -0
- package/packages/agent/src/services/coding-task-executor.d.ts +14 -0
- package/packages/agent/src/services/coding-task-executor.d.ts.map +1 -0
- package/packages/agent/src/services/coding-task-executor.js +109 -0
- package/packages/agent/src/services/config-plugin-manager.d.ts +6 -0
- package/packages/agent/src/services/config-plugin-manager.d.ts.map +1 -0
- package/packages/agent/src/services/config-plugin-manager.js +53 -0
- package/packages/agent/src/services/connector-setup-service.d.ts +48 -0
- package/packages/agent/src/services/connector-setup-service.d.ts.map +1 -0
- package/packages/agent/src/services/connector-setup-service.js +60 -0
- package/packages/agent/src/services/conversation-proximity.d.ts +27 -0
- package/packages/agent/src/services/conversation-proximity.d.ts.map +1 -0
- package/packages/agent/src/services/conversation-proximity.js +124 -0
- package/packages/agent/src/services/escalation.d.ts +35 -0
- package/packages/agent/src/services/escalation.d.ts.map +1 -0
- package/packages/agent/src/services/escalation.js +376 -0
- package/packages/agent/src/services/evm-signing-capability.d.ts +38 -0
- package/packages/agent/src/services/evm-signing-capability.d.ts.map +1 -0
- package/packages/agent/src/services/evm-signing-capability.js +60 -0
- package/packages/agent/src/services/executor-registry.d.ts +4 -0
- package/packages/agent/src/services/executor-registry.d.ts.map +1 -0
- package/packages/agent/src/services/executor-registry.js +10 -0
- package/packages/agent/src/services/hosted-tools.d.ts +70 -0
- package/packages/agent/src/services/hosted-tools.d.ts.map +1 -0
- package/packages/agent/src/services/hosted-tools.js +87 -0
- package/packages/agent/src/services/index.d.ts +28 -0
- package/packages/agent/src/services/index.d.ts.map +1 -0
- package/packages/agent/src/services/index.js +34 -0
- package/packages/agent/src/services/launchpads/image-generator.d.ts +22 -0
- package/packages/agent/src/services/launchpads/image-generator.d.ts.map +1 -0
- package/packages/agent/src/services/launchpads/image-generator.js +46 -0
- package/packages/agent/src/services/launchpads/launchpad-engine.d.ts +32 -0
- package/packages/agent/src/services/launchpads/launchpad-engine.d.ts.map +1 -0
- package/packages/agent/src/services/launchpads/launchpad-engine.js +191 -0
- package/packages/agent/src/services/launchpads/launchpad-types.d.ts +116 -0
- package/packages/agent/src/services/launchpads/launchpad-types.d.ts.map +1 -0
- package/packages/agent/src/services/launchpads/launchpad-types.js +19 -0
- package/packages/agent/src/services/launchpads/metadata-generator.d.ts +24 -0
- package/packages/agent/src/services/launchpads/metadata-generator.d.ts.map +1 -0
- package/packages/agent/src/services/launchpads/metadata-generator.js +96 -0
- package/packages/agent/src/services/launchpads/profiles/flap-sh.d.ts +25 -0
- package/packages/agent/src/services/launchpads/profiles/flap-sh.d.ts.map +1 -0
- package/packages/agent/src/services/launchpads/profiles/flap-sh.js +80 -0
- package/packages/agent/src/services/launchpads/profiles/four-meme.d.ts +11 -0
- package/packages/agent/src/services/launchpads/profiles/four-meme.d.ts.map +1 -0
- package/packages/agent/src/services/launchpads/profiles/four-meme.js +70 -0
- package/packages/agent/src/services/mcp-marketplace.d.ts +89 -0
- package/packages/agent/src/services/mcp-marketplace.d.ts.map +1 -0
- package/packages/agent/src/services/mcp-marketplace.js +200 -0
- package/packages/agent/src/services/overlay-app-presence.d.ts +9 -0
- package/packages/agent/src/services/overlay-app-presence.d.ts.map +1 -0
- package/packages/agent/src/services/overlay-app-presence.js +18 -0
- package/packages/agent/src/services/owner-name.d.ts +4 -0
- package/packages/agent/src/services/owner-name.d.ts.map +1 -0
- package/packages/agent/src/services/owner-name.js +46 -0
- package/packages/agent/src/services/plugin-manager-types.d.ts +114 -0
- package/packages/agent/src/services/plugin-manager-types.d.ts.map +1 -0
- package/packages/agent/src/services/plugin-manager-types.js +18 -0
- package/packages/agent/src/services/registry-client-app-meta.d.ts +6 -0
- package/packages/agent/src/services/registry-client-app-meta.d.ts.map +1 -0
- package/packages/agent/src/services/registry-client-app-meta.js +165 -0
- package/packages/agent/src/services/registry-client-endpoints.d.ts +7 -0
- package/packages/agent/src/services/registry-client-endpoints.d.ts.map +1 -0
- package/packages/agent/src/services/registry-client-endpoints.js +190 -0
- package/packages/agent/src/services/registry-client-local.d.ts +4 -0
- package/packages/agent/src/services/registry-client-local.d.ts.map +1 -0
- package/packages/agent/src/services/registry-client-local.js +546 -0
- package/packages/agent/src/services/registry-client-network.d.ts +9 -0
- package/packages/agent/src/services/registry-client-network.d.ts.map +1 -0
- package/packages/agent/src/services/registry-client-network.js +120 -0
- package/packages/agent/src/services/registry-client-queries.d.ts +26 -0
- package/packages/agent/src/services/registry-client-queries.d.ts.map +1 -0
- package/packages/agent/src/services/registry-client-queries.js +194 -0
- package/packages/agent/src/services/registry-client-types.d.ts +92 -0
- package/packages/agent/src/services/registry-client-types.d.ts.map +1 -0
- package/packages/agent/src/services/registry-client-types.js +1 -0
- package/packages/agent/src/services/registry-client.d.ts +39 -0
- package/packages/agent/src/services/registry-client.d.ts.map +1 -0
- package/packages/agent/src/services/registry-client.js +332 -0
- package/packages/agent/src/services/relationships-graph.d.ts +240 -0
- package/packages/agent/src/services/relationships-graph.d.ts.map +1 -0
- package/packages/agent/src/services/relationships-graph.js +1642 -0
- package/packages/agent/src/services/remote-signing-service.d.ts +58 -0
- package/packages/agent/src/services/remote-signing-service.d.ts.map +1 -0
- package/packages/agent/src/services/remote-signing-service.js +185 -0
- package/packages/agent/src/services/research-task-executor.d.ts +14 -0
- package/packages/agent/src/services/research-task-executor.d.ts.map +1 -0
- package/packages/agent/src/services/research-task-executor.js +138 -0
- package/packages/agent/src/services/sandbox-engine.d.ts +96 -0
- package/packages/agent/src/services/sandbox-engine.d.ts.map +1 -0
- package/packages/agent/src/services/sandbox-engine.js +604 -0
- package/packages/agent/src/services/sandbox-manager.d.ts +106 -0
- package/packages/agent/src/services/sandbox-manager.d.ts.map +1 -0
- package/packages/agent/src/services/sandbox-manager.js +380 -0
- package/packages/agent/src/services/self-updater.d.ts +21 -0
- package/packages/agent/src/services/self-updater.d.ts.map +1 -0
- package/packages/agent/src/services/self-updater.js +162 -0
- package/packages/agent/src/services/send-handler-availability.d.ts +5 -0
- package/packages/agent/src/services/send-handler-availability.d.ts.map +1 -0
- package/packages/agent/src/services/send-handler-availability.js +20 -0
- package/packages/agent/src/services/signal-pairing.d.ts +73 -0
- package/packages/agent/src/services/signal-pairing.d.ts.map +1 -0
- package/packages/agent/src/services/signal-pairing.js +514 -0
- package/packages/agent/src/services/signing-policy.d.ts +44 -0
- package/packages/agent/src/services/signing-policy.d.ts.map +1 -0
- package/packages/agent/src/services/signing-policy.js +165 -0
- package/packages/agent/src/services/skill-catalog-client.d.ts +47 -0
- package/packages/agent/src/services/skill-catalog-client.d.ts.map +1 -0
- package/packages/agent/src/services/skill-catalog-client.js +130 -0
- package/packages/agent/src/services/skill-marketplace.d.ts +42 -0
- package/packages/agent/src/services/skill-marketplace.d.ts.map +1 -0
- package/packages/agent/src/services/skill-marketplace.js +693 -0
- package/packages/agent/src/services/stream-manager.d.ts +121 -0
- package/packages/agent/src/services/stream-manager.d.ts.map +1 -0
- package/packages/agent/src/services/stream-manager.js +609 -0
- package/packages/agent/src/services/task-executor.d.ts +47 -0
- package/packages/agent/src/services/task-executor.d.ts.map +1 -0
- package/packages/agent/src/services/task-executor.js +31 -0
- package/packages/agent/src/services/telegram-account-auth.d.ts +99 -0
- package/packages/agent/src/services/telegram-account-auth.d.ts.map +1 -0
- package/packages/agent/src/services/telegram-account-auth.js +611 -0
- package/packages/agent/src/services/tts-stream-bridge.d.ts +83 -0
- package/packages/agent/src/services/tts-stream-bridge.d.ts.map +1 -0
- package/packages/agent/src/services/tts-stream-bridge.js +360 -0
- package/packages/agent/src/services/update-checker.d.ts +29 -0
- package/packages/agent/src/services/update-checker.d.ts.map +1 -0
- package/packages/agent/src/services/update-checker.js +134 -0
- package/packages/agent/src/services/version-compat.d.ts +99 -0
- package/packages/agent/src/services/version-compat.d.ts.map +1 -0
- package/packages/agent/src/services/version-compat.js +203 -0
- package/packages/agent/src/services/whatsapp-pairing.d.ts +41 -0
- package/packages/agent/src/services/whatsapp-pairing.d.ts.map +1 -0
- package/packages/agent/src/services/whatsapp-pairing.js +209 -0
- package/packages/agent/src/shared/ui-catalog-prompt.d.ts +52 -0
- package/packages/agent/src/shared/ui-catalog-prompt.d.ts.map +1 -0
- package/packages/agent/src/shared/ui-catalog-prompt.js +1028 -0
- package/packages/agent/src/test-support/index.d.ts +4 -0
- package/packages/agent/src/test-support/index.d.ts.map +1 -0
- package/packages/agent/src/test-support/index.js +3 -0
- package/packages/agent/src/test-support/process-helpers.d.ts +13 -0
- package/packages/agent/src/test-support/process-helpers.d.ts.map +1 -0
- package/packages/agent/src/test-support/process-helpers.js +23 -0
- package/packages/agent/src/test-support/route-test-helpers.d.ts +37 -0
- package/packages/agent/src/test-support/route-test-helpers.d.ts.map +1 -0
- package/packages/agent/src/test-support/route-test-helpers.js +54 -0
- package/packages/agent/src/test-support/test-helpers.d.ts +77 -0
- package/packages/agent/src/test-support/test-helpers.d.ts.map +1 -0
- package/packages/agent/src/test-support/test-helpers.js +217 -0
- package/packages/agent/src/test-utils/sqlite-compat.d.ts +23 -0
- package/packages/agent/src/test-utils/sqlite-compat.d.ts.map +1 -0
- package/packages/agent/src/test-utils/sqlite-compat.js +214 -0
- package/packages/agent/src/triggers/action.d.ts +4 -0
- package/packages/agent/src/triggers/action.d.ts.map +1 -0
- package/packages/agent/src/triggers/action.js +336 -0
- package/packages/agent/src/triggers/delete-trigger.d.ts +10 -0
- package/packages/agent/src/triggers/delete-trigger.d.ts.map +1 -0
- package/packages/agent/src/triggers/delete-trigger.js +158 -0
- package/packages/agent/src/triggers/run-trigger.d.ts +11 -0
- package/packages/agent/src/triggers/run-trigger.d.ts.map +1 -0
- package/packages/agent/src/triggers/run-trigger.js +142 -0
- package/packages/agent/src/triggers/runtime.d.ts +30 -0
- package/packages/agent/src/triggers/runtime.d.ts.map +1 -0
- package/packages/agent/src/triggers/runtime.js +530 -0
- package/packages/agent/src/triggers/scheduling.d.ts +78 -0
- package/packages/agent/src/triggers/scheduling.d.ts.map +1 -0
- package/packages/agent/src/triggers/scheduling.js +433 -0
- package/packages/agent/src/triggers/types.d.ts +96 -0
- package/packages/agent/src/triggers/types.d.ts.map +1 -0
- package/packages/agent/src/triggers/types.js +1 -0
- package/packages/agent/src/triggers/update-trigger.d.ts +10 -0
- package/packages/agent/src/triggers/update-trigger.d.ts.map +1 -0
- package/packages/agent/src/triggers/update-trigger.js +309 -0
- package/packages/agent/src/types/agent-skills.d.ts +19 -0
- package/packages/agent/src/types/agent-skills.d.ts.map +1 -0
- package/packages/agent/src/types/agent-skills.js +7 -0
- package/packages/agent/src/types/config-like.d.ts +17 -0
- package/packages/agent/src/types/config-like.d.ts.map +1 -0
- package/packages/agent/src/types/config-like.js +7 -0
- package/packages/agent/src/types/index.d.ts +4 -0
- package/packages/agent/src/types/index.d.ts.map +1 -0
- package/packages/agent/src/types/index.js +3 -0
- package/packages/agent/src/types/trajectory.d.ts +147 -0
- package/packages/agent/src/types/trajectory.d.ts.map +1 -0
- package/packages/agent/src/types/trajectory.js +8 -0
- package/packages/agent/src/utils/exec-safety.d.ts +2 -0
- package/packages/agent/src/utils/exec-safety.d.ts.map +1 -0
- package/packages/agent/src/utils/exec-safety.js +21 -0
- package/packages/agent/src/utils/number-parsing.d.ts +26 -0
- package/packages/agent/src/utils/number-parsing.d.ts.map +1 -0
- package/packages/agent/src/utils/number-parsing.js +51 -0
- package/packages/agent/src/version-resolver.d.ts +2 -0
- package/packages/agent/src/version-resolver.d.ts.map +1 -0
- package/packages/agent/src/version-resolver.js +50 -0
- package/packages/app-core/src/App.d.ts +6 -0
- package/packages/app-core/src/App.d.ts.map +1 -0
- package/packages/app-core/src/App.js +516 -0
- package/packages/app-core/src/api/auth/audit.d.ts +52 -0
- package/packages/app-core/src/api/auth/audit.d.ts.map +1 -0
- package/packages/app-core/src/api/auth/audit.js +126 -0
- package/packages/app-core/src/api/auth/legacy-bearer.d.ts +75 -0
- package/packages/app-core/src/api/auth/legacy-bearer.d.ts.map +1 -0
- package/packages/app-core/src/api/auth/legacy-bearer.js +126 -0
- package/packages/app-core/src/api/auth/sessions.d.ts +152 -0
- package/packages/app-core/src/api/auth/sessions.d.ts.map +1 -0
- package/packages/app-core/src/api/auth/sessions.js +298 -0
- package/packages/app-core/src/api/auth/tokens.d.ts +3 -0
- package/packages/app-core/src/api/auth/tokens.d.ts.map +1 -0
- package/packages/app-core/src/api/auth/tokens.js +13 -0
- package/packages/app-core/src/api/auth-client.d.ts +130 -0
- package/packages/app-core/src/api/auth-client.d.ts.map +1 -0
- package/packages/app-core/src/api/auth-client.js +301 -0
- package/packages/app-core/src/api/auth.d.ts +155 -0
- package/packages/app-core/src/api/auth.d.ts.map +1 -0
- package/packages/app-core/src/api/auth.js +326 -0
- package/packages/app-core/src/api/client-agent.d.ts +627 -0
- package/packages/app-core/src/api/client-agent.d.ts.map +1 -0
- package/packages/app-core/src/api/client-agent.js +1442 -0
- package/packages/app-core/src/api/client-automations.d.ts +8 -0
- package/packages/app-core/src/api/client-automations.d.ts.map +1 -0
- package/packages/app-core/src/api/client-automations.js +7 -0
- package/packages/app-core/src/api/client-base.d.ts +82 -0
- package/packages/app-core/src/api/client-base.d.ts.map +1 -0
- package/packages/app-core/src/api/client-base.js +729 -0
- package/packages/app-core/src/api/client-browser-workspace.d.ts +25 -0
- package/packages/app-core/src/api/client-browser-workspace.d.ts.map +1 -0
- package/packages/app-core/src/api/client-browser-workspace.js +98 -0
- package/packages/app-core/src/api/client-chat.d.ts +355 -0
- package/packages/app-core/src/api/client-chat.d.ts.map +1 -0
- package/packages/app-core/src/api/client-chat.js +582 -0
- package/packages/app-core/src/api/client-cloud.d.ts +286 -0
- package/packages/app-core/src/api/client-cloud.d.ts.map +1 -0
- package/packages/app-core/src/api/client-cloud.js +410 -0
- package/packages/app-core/src/api/client-computeruse.d.ts +32 -0
- package/packages/app-core/src/api/client-computeruse.d.ts.map +1 -0
- package/packages/app-core/src/api/client-computeruse.js +16 -0
- package/packages/app-core/src/api/client-imessage.d.ts +68 -0
- package/packages/app-core/src/api/client-imessage.d.ts.map +1 -0
- package/packages/app-core/src/api/client-imessage.js +74 -0
- package/packages/app-core/src/api/client-local-inference.d.ts +62 -0
- package/packages/app-core/src/api/client-local-inference.d.ts.map +1 -0
- package/packages/app-core/src/api/client-local-inference.js +87 -0
- package/packages/app-core/src/api/client-n8n.d.ts +27 -0
- package/packages/app-core/src/api/client-n8n.d.ts.map +1 -0
- package/packages/app-core/src/api/client-n8n.js +61 -0
- package/packages/app-core/src/api/client-skills.d.ts +475 -0
- package/packages/app-core/src/api/client-skills.d.ts.map +1 -0
- package/packages/app-core/src/api/client-skills.js +608 -0
- package/packages/app-core/src/api/client-types-babylon.d.ts +254 -0
- package/packages/app-core/src/api/client-types-babylon.d.ts.map +1 -0
- package/packages/app-core/src/api/client-types-babylon.js +2 -0
- package/packages/app-core/src/api/client-types-character.d.ts +39 -0
- package/packages/app-core/src/api/client-types-character.d.ts.map +1 -0
- package/packages/app-core/src/api/client-types-character.js +1 -0
- package/packages/app-core/src/api/client-types-chat.d.ts +428 -0
- package/packages/app-core/src/api/client-types-chat.d.ts.map +1 -0
- package/packages/app-core/src/api/client-types-chat.js +9 -0
- package/packages/app-core/src/api/client-types-cloud.d.ts +805 -0
- package/packages/app-core/src/api/client-types-cloud.d.ts.map +1 -0
- package/packages/app-core/src/api/client-types-cloud.js +57 -0
- package/packages/app-core/src/api/client-types-config.d.ts +586 -0
- package/packages/app-core/src/api/client-types-config.d.ts.map +1 -0
- package/packages/app-core/src/api/client-types-config.js +5 -0
- package/packages/app-core/src/api/client-types-core.d.ts +337 -0
- package/packages/app-core/src/api/client-types-core.d.ts.map +1 -0
- package/packages/app-core/src/api/client-types-core.js +22 -0
- package/packages/app-core/src/api/client-types-experience.d.ts +97 -0
- package/packages/app-core/src/api/client-types-experience.d.ts.map +1 -0
- package/packages/app-core/src/api/client-types-experience.js +1 -0
- package/packages/app-core/src/api/client-types-relationships.d.ts +181 -0
- package/packages/app-core/src/api/client-types-relationships.d.ts.map +1 -0
- package/packages/app-core/src/api/client-types-relationships.js +1 -0
- package/packages/app-core/src/api/client-types.d.ts +9 -0
- package/packages/app-core/src/api/client-types.d.ts.map +1 -0
- package/packages/app-core/src/api/client-types.js +12 -0
- package/packages/app-core/src/api/client-wallet.d.ts +129 -0
- package/packages/app-core/src/api/client-wallet.d.ts.map +1 -0
- package/packages/app-core/src/api/client-wallet.js +228 -0
- package/packages/app-core/src/api/client.d.ts +38 -0
- package/packages/app-core/src/api/client.d.ts.map +1 -0
- package/packages/app-core/src/api/client.js +38 -0
- package/packages/app-core/src/api/cloud-secrets.d.ts +23 -0
- package/packages/app-core/src/api/cloud-secrets.d.ts.map +1 -0
- package/packages/app-core/src/api/cloud-secrets.js +50 -0
- package/packages/app-core/src/api/compat-route-shared.d.ts +29 -0
- package/packages/app-core/src/api/compat-route-shared.d.ts.map +1 -0
- package/packages/app-core/src/api/compat-route-shared.js +284 -0
- package/packages/app-core/src/api/csrf-client.d.ts +29 -0
- package/packages/app-core/src/api/csrf-client.d.ts.map +1 -0
- package/packages/app-core/src/api/csrf-client.js +54 -0
- package/packages/app-core/src/api/index.d.ts +2 -0
- package/packages/app-core/src/api/index.d.ts.map +1 -0
- package/packages/app-core/src/api/index.js +1 -0
- package/packages/app-core/src/api/response.d.ts +12 -0
- package/packages/app-core/src/api/response.d.ts.map +1 -0
- package/packages/app-core/src/api/response.js +36 -0
- package/packages/app-core/src/api/server-cloud-tts.d.ts +41 -0
- package/packages/app-core/src/api/server-cloud-tts.d.ts.map +1 -0
- package/packages/app-core/src/api/server-cloud-tts.js +471 -0
- package/packages/app-core/src/app-shell/task-coordinator-slots.d.ts +38 -0
- package/packages/app-core/src/app-shell/task-coordinator-slots.d.ts.map +1 -0
- package/packages/app-core/src/app-shell/task-coordinator-slots.js +21 -0
- package/packages/app-core/src/autonomy/index.d.ts +48 -0
- package/packages/app-core/src/autonomy/index.d.ts.map +1 -0
- package/packages/app-core/src/autonomy/index.js +336 -0
- package/packages/app-core/src/bridge/capacitor-bridge.d.ts +153 -0
- package/packages/app-core/src/bridge/capacitor-bridge.d.ts.map +1 -0
- package/packages/app-core/src/bridge/capacitor-bridge.js +195 -0
- package/packages/app-core/src/bridge/electrobun-rpc.d.ts +57 -0
- package/packages/app-core/src/bridge/electrobun-rpc.d.ts.map +1 -0
- package/packages/app-core/src/bridge/electrobun-rpc.js +87 -0
- package/packages/app-core/src/bridge/electrobun-runtime.d.ts +3 -0
- package/packages/app-core/src/bridge/electrobun-runtime.d.ts.map +1 -0
- package/packages/app-core/src/bridge/electrobun-runtime.js +34 -0
- package/packages/app-core/src/bridge/gateway-discovery.d.ts +17 -0
- package/packages/app-core/src/bridge/gateway-discovery.d.ts.map +1 -0
- package/packages/app-core/src/bridge/gateway-discovery.js +49 -0
- package/packages/app-core/src/bridge/index.d.ts +7 -0
- package/packages/app-core/src/bridge/index.d.ts.map +1 -0
- package/packages/app-core/src/bridge/index.js +6 -0
- package/packages/app-core/src/bridge/native-plugins.d.ts +504 -0
- package/packages/app-core/src/bridge/native-plugins.d.ts.map +1 -0
- package/packages/app-core/src/bridge/native-plugins.js +67 -0
- package/packages/app-core/src/bridge/plugin-bridge.d.ts +133 -0
- package/packages/app-core/src/bridge/plugin-bridge.d.ts.map +1 -0
- package/packages/app-core/src/bridge/plugin-bridge.js +241 -0
- package/packages/app-core/src/bridge/storage-bridge.d.ts +39 -0
- package/packages/app-core/src/bridge/storage-bridge.d.ts.map +1 -0
- package/packages/app-core/src/bridge/storage-bridge.js +142 -0
- package/packages/app-core/src/character/character-draft-helpers.d.ts +35 -0
- package/packages/app-core/src/character/character-draft-helpers.d.ts.map +1 -0
- package/packages/app-core/src/character/character-draft-helpers.js +270 -0
- package/packages/app-core/src/chat/coding-agent-session-state.d.ts +16 -0
- package/packages/app-core/src/chat/coding-agent-session-state.d.ts.map +1 -0
- package/packages/app-core/src/chat/coding-agent-session-state.js +27 -0
- package/packages/app-core/src/chat/index.d.ts +65 -0
- package/packages/app-core/src/chat/index.d.ts.map +1 -0
- package/packages/app-core/src/chat/index.js +225 -0
- package/packages/app-core/src/components/accounts/AccountCard.d.ts +30 -0
- package/packages/app-core/src/components/accounts/AccountCard.d.ts.map +1 -0
- package/packages/app-core/src/components/accounts/AccountCard.js +185 -0
- package/packages/app-core/src/components/accounts/AccountList.d.ts +15 -0
- package/packages/app-core/src/components/accounts/AccountList.d.ts.map +1 -0
- package/packages/app-core/src/components/accounts/AccountList.js +89 -0
- package/packages/app-core/src/components/accounts/AddAccountDialog.d.ts +33 -0
- package/packages/app-core/src/components/accounts/AddAccountDialog.d.ts.map +1 -0
- package/packages/app-core/src/components/accounts/AddAccountDialog.js +318 -0
- package/packages/app-core/src/components/accounts/RotationStrategyPicker.d.ts +16 -0
- package/packages/app-core/src/components/accounts/RotationStrategyPicker.d.ts.map +1 -0
- package/packages/app-core/src/components/accounts/RotationStrategyPicker.js +45 -0
- package/packages/app-core/src/components/apps/AppsCatalogGrid.d.ts +14 -0
- package/packages/app-core/src/components/apps/AppsCatalogGrid.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/AppsCatalogGrid.js +208 -0
- package/packages/app-core/src/components/apps/AppsSidebar.d.ts +22 -0
- package/packages/app-core/src/components/apps/AppsSidebar.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/AppsSidebar.js +98 -0
- package/packages/app-core/src/components/apps/GameView.d.ts +18 -0
- package/packages/app-core/src/components/apps/GameView.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/GameView.js +1133 -0
- package/packages/app-core/src/components/apps/GameViewOverlay.d.ts +2 -0
- package/packages/app-core/src/components/apps/GameViewOverlay.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/GameViewOverlay.js +120 -0
- package/packages/app-core/src/components/apps/RunningAppsRow.d.ts +12 -0
- package/packages/app-core/src/components/apps/RunningAppsRow.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/RunningAppsRow.js +35 -0
- package/packages/app-core/src/components/apps/app-identity.d.ts +32 -0
- package/packages/app-core/src/components/apps/app-identity.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/app-identity.js +182 -0
- package/packages/app-core/src/components/apps/catalog-loader.d.ts +7 -0
- package/packages/app-core/src/components/apps/catalog-loader.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/catalog-loader.js +30 -0
- package/packages/app-core/src/components/apps/extensions/registry.d.ts +12 -0
- package/packages/app-core/src/components/apps/extensions/registry.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/extensions/registry.js +23 -0
- package/packages/app-core/src/components/apps/extensions/surface.d.ts +34 -0
- package/packages/app-core/src/components/apps/extensions/surface.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/extensions/surface.js +96 -0
- package/packages/app-core/src/components/apps/extensions/types.d.ts +7 -0
- package/packages/app-core/src/components/apps/extensions/types.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/extensions/types.js +1 -0
- package/packages/app-core/src/components/apps/helpers.d.ts +53 -0
- package/packages/app-core/src/components/apps/helpers.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/helpers.js +364 -0
- package/packages/app-core/src/components/apps/internal-tool-apps.d.ts +18 -0
- package/packages/app-core/src/components/apps/internal-tool-apps.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/internal-tool-apps.js +173 -0
- package/packages/app-core/src/components/apps/launch-history.d.ts +16 -0
- package/packages/app-core/src/components/apps/launch-history.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/launch-history.js +77 -0
- package/packages/app-core/src/components/apps/overlay-app-api.d.ts +55 -0
- package/packages/app-core/src/components/apps/overlay-app-api.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/overlay-app-api.js +8 -0
- package/packages/app-core/src/components/apps/overlay-app-registry.d.ts +19 -0
- package/packages/app-core/src/components/apps/overlay-app-registry.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/overlay-app-registry.js +58 -0
- package/packages/app-core/src/components/apps/per-app-config.d.ts +19 -0
- package/packages/app-core/src/components/apps/per-app-config.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/per-app-config.js +99 -0
- package/packages/app-core/src/components/apps/run-attention.d.ts +3 -0
- package/packages/app-core/src/components/apps/run-attention.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/run-attention.js +77 -0
- package/packages/app-core/src/components/apps/surfaces/GameOperatorShell.d.ts +47 -0
- package/packages/app-core/src/components/apps/surfaces/GameOperatorShell.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/surfaces/GameOperatorShell.js +42 -0
- package/packages/app-core/src/components/apps/surfaces/registry.d.ts +11 -0
- package/packages/app-core/src/components/apps/surfaces/registry.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/surfaces/registry.js +23 -0
- package/packages/app-core/src/components/apps/surfaces/types.d.ts +10 -0
- package/packages/app-core/src/components/apps/surfaces/types.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/surfaces/types.js +1 -0
- package/packages/app-core/src/components/apps/useRegistryCatalog.d.ts +14 -0
- package/packages/app-core/src/components/apps/useRegistryCatalog.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/useRegistryCatalog.js +52 -0
- package/packages/app-core/src/components/apps/viewer-auth.d.ts +7 -0
- package/packages/app-core/src/components/apps/viewer-auth.d.ts.map +1 -0
- package/packages/app-core/src/components/apps/viewer-auth.js +55 -0
- package/packages/app-core/src/components/auth/LoginView.d.ts +17 -0
- package/packages/app-core/src/components/auth/LoginView.d.ts.map +1 -0
- package/packages/app-core/src/components/auth/LoginView.js +62 -0
- package/packages/app-core/src/components/character/CharacterEditor.d.ts +12 -0
- package/packages/app-core/src/components/character/CharacterEditor.d.ts.map +1 -0
- package/packages/app-core/src/components/character/CharacterEditor.js +885 -0
- package/packages/app-core/src/components/character/CharacterEditorPanels.d.ts +35 -0
- package/packages/app-core/src/components/character/CharacterEditorPanels.d.ts.map +1 -0
- package/packages/app-core/src/components/character/CharacterEditorPanels.js +250 -0
- package/packages/app-core/src/components/character/CharacterExperienceWorkspace.d.ts +11 -0
- package/packages/app-core/src/components/character/CharacterExperienceWorkspace.d.ts.map +1 -0
- package/packages/app-core/src/components/character/CharacterExperienceWorkspace.js +453 -0
- package/packages/app-core/src/components/character/CharacterHubView.d.ts +22 -0
- package/packages/app-core/src/components/character/CharacterHubView.d.ts.map +1 -0
- package/packages/app-core/src/components/character/CharacterHubView.js +688 -0
- package/packages/app-core/src/components/character/CharacterLearnedSkillsSection.d.ts +2 -0
- package/packages/app-core/src/components/character/CharacterLearnedSkillsSection.d.ts.map +1 -0
- package/packages/app-core/src/components/character/CharacterLearnedSkillsSection.js +76 -0
- package/packages/app-core/src/components/character/CharacterOverviewSection.d.ts +27 -0
- package/packages/app-core/src/components/character/CharacterOverviewSection.d.ts.map +1 -0
- package/packages/app-core/src/components/character/CharacterOverviewSection.js +36 -0
- package/packages/app-core/src/components/character/CharacterRelationshipsSection.d.ts +7 -0
- package/packages/app-core/src/components/character/CharacterRelationshipsSection.d.ts.map +1 -0
- package/packages/app-core/src/components/character/CharacterRelationshipsSection.js +4 -0
- package/packages/app-core/src/components/character/CharacterRoster.d.ts +32 -0
- package/packages/app-core/src/components/character/CharacterRoster.d.ts.map +1 -0
- package/packages/app-core/src/components/character/CharacterRoster.js +111 -0
- package/packages/app-core/src/components/character/MusicLibraryCharacterWidget.d.ts +3 -0
- package/packages/app-core/src/components/character/MusicLibraryCharacterWidget.d.ts.map +1 -0
- package/packages/app-core/src/components/character/MusicLibraryCharacterWidget.js +27 -0
- package/packages/app-core/src/components/character/character-editor-helpers.d.ts +42 -0
- package/packages/app-core/src/components/character/character-editor-helpers.d.ts.map +1 -0
- package/packages/app-core/src/components/character/character-editor-helpers.js +58 -0
- package/packages/app-core/src/components/character/character-greeting.d.ts +5 -0
- package/packages/app-core/src/components/character/character-greeting.d.ts.map +1 -0
- package/packages/app-core/src/components/character/character-greeting.js +22 -0
- package/packages/app-core/src/components/character/character-hub-helpers.d.ts +14 -0
- package/packages/app-core/src/components/character/character-hub-helpers.d.ts.map +1 -0
- package/packages/app-core/src/components/character/character-hub-helpers.js +140 -0
- package/packages/app-core/src/components/character/character-hub-types.d.ts +60 -0
- package/packages/app-core/src/components/character/character-hub-types.d.ts.map +1 -0
- package/packages/app-core/src/components/character/character-hub-types.js +1 -0
- package/packages/app-core/src/components/character/character-voice-config.d.ts +33 -0
- package/packages/app-core/src/components/character/character-voice-config.d.ts.map +1 -0
- package/packages/app-core/src/components/character/character-voice-config.js +95 -0
- package/packages/app-core/src/components/chat/AgentActivityBox.d.ts +8 -0
- package/packages/app-core/src/components/chat/AgentActivityBox.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/AgentActivityBox.js +33 -0
- package/packages/app-core/src/components/chat/AppsSection.d.ts +13 -0
- package/packages/app-core/src/components/chat/AppsSection.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/AppsSection.js +198 -0
- package/packages/app-core/src/components/chat/MessageContent.d.ts +41 -0
- package/packages/app-core/src/components/chat/MessageContent.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/MessageContent.js +691 -0
- package/packages/app-core/src/components/chat/SaveCommandModal.d.ts +9 -0
- package/packages/app-core/src/components/chat/SaveCommandModal.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/SaveCommandModal.js +59 -0
- package/packages/app-core/src/components/chat/TasksEventsPanel.d.ts +30 -0
- package/packages/app-core/src/components/chat/TasksEventsPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/TasksEventsPanel.js +139 -0
- package/packages/app-core/src/components/chat/WidgetVisibilityPanel.d.ts +25 -0
- package/packages/app-core/src/components/chat/WidgetVisibilityPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/WidgetVisibilityPanel.js +30 -0
- package/packages/app-core/src/components/chat/chat-source-registration.d.ts +1 -0
- package/packages/app-core/src/components/chat/chat-source-registration.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/chat-source-registration.js +1 -0
- 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/chat/widgets/agent-orchestrator.d.ts +20 -0
- package/packages/app-core/src/components/chat/widgets/agent-orchestrator.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/widgets/agent-orchestrator.js +273 -0
- package/packages/app-core/src/components/chat/widgets/browser-status.d.ts +14 -0
- package/packages/app-core/src/components/chat/widgets/browser-status.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/widgets/browser-status.js +109 -0
- package/packages/app-core/src/components/chat/widgets/music-player.d.ts +4 -0
- package/packages/app-core/src/components/chat/widgets/music-player.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/widgets/music-player.js +132 -0
- package/packages/app-core/src/components/chat/widgets/registry.d.ts +8 -0
- package/packages/app-core/src/components/chat/widgets/registry.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/widgets/registry.js +7 -0
- package/packages/app-core/src/components/chat/widgets/shared.d.ts +17 -0
- package/packages/app-core/src/components/chat/widgets/shared.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/widgets/shared.js +8 -0
- package/packages/app-core/src/components/chat/widgets/todo.d.ts +3 -0
- package/packages/app-core/src/components/chat/widgets/todo.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/widgets/todo.js +109 -0
- package/packages/app-core/src/components/chat/widgets/types.d.ts +16 -0
- package/packages/app-core/src/components/chat/widgets/types.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/widgets/types.js +1 -0
- package/packages/app-core/src/components/chat/widgets/wallet-status.d.ts +4 -0
- package/packages/app-core/src/components/chat/widgets/wallet-status.d.ts.map +1 -0
- package/packages/app-core/src/components/chat/widgets/wallet-status.js +190 -0
- package/packages/app-core/src/components/cloud/CloudSourceControls.d.ts +13 -0
- package/packages/app-core/src/components/cloud/CloudSourceControls.d.ts.map +1 -0
- package/packages/app-core/src/components/cloud/CloudSourceControls.js +19 -0
- package/packages/app-core/src/components/cloud/CloudStatusBadge.d.ts +33 -0
- package/packages/app-core/src/components/cloud/CloudStatusBadge.d.ts.map +1 -0
- package/packages/app-core/src/components/cloud/CloudStatusBadge.js +98 -0
- package/packages/app-core/src/components/cloud/FlaminaGuide.d.ts +10 -0
- package/packages/app-core/src/components/cloud/FlaminaGuide.d.ts.map +1 -0
- package/packages/app-core/src/components/cloud/FlaminaGuide.js +86 -0
- package/packages/app-core/src/components/cloud/StripeEmbeddedCheckout.d.ts +24 -0
- package/packages/app-core/src/components/cloud/StripeEmbeddedCheckout.d.ts.map +1 -0
- package/packages/app-core/src/components/cloud/StripeEmbeddedCheckout.js +101 -0
- package/packages/app-core/src/components/companion/injected.d.ts +10 -0
- package/packages/app-core/src/components/companion/injected.d.ts.map +1 -0
- package/packages/app-core/src/components/companion/injected.js +25 -0
- package/packages/app-core/src/components/config-ui/config-control-primitives.d.ts +14 -0
- package/packages/app-core/src/components/config-ui/config-control-primitives.d.ts.map +1 -0
- package/packages/app-core/src/components/config-ui/config-control-primitives.js +22 -0
- package/packages/app-core/src/components/config-ui/config-field.d.ts +58 -0
- package/packages/app-core/src/components/config-ui/config-field.d.ts.map +1 -0
- package/packages/app-core/src/components/config-ui/config-field.js +874 -0
- package/packages/app-core/src/components/config-ui/config-renderer.d.ts +164 -0
- package/packages/app-core/src/components/config-ui/config-renderer.d.ts.map +1 -0
- package/packages/app-core/src/components/config-ui/config-renderer.js +397 -0
- package/packages/app-core/src/components/config-ui/index.d.ts +5 -0
- package/packages/app-core/src/components/config-ui/index.d.ts.map +1 -0
- package/packages/app-core/src/components/config-ui/index.js +4 -0
- package/packages/app-core/src/components/config-ui/ui-renderer.d.ts +15 -0
- package/packages/app-core/src/components/config-ui/ui-renderer.d.ts.map +1 -0
- package/packages/app-core/src/components/config-ui/ui-renderer.js +826 -0
- package/packages/app-core/src/components/connectors/BlueBubblesStatusPanel.d.ts +2 -0
- package/packages/app-core/src/components/connectors/BlueBubblesStatusPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/connectors/BlueBubblesStatusPanel.js +61 -0
- package/packages/app-core/src/components/connectors/ConnectorModeSelector.d.ts +35 -0
- package/packages/app-core/src/components/connectors/ConnectorModeSelector.d.ts.map +1 -0
- package/packages/app-core/src/components/connectors/ConnectorModeSelector.js +150 -0
- package/packages/app-core/src/components/connectors/ConnectorSetupPanel.d.ts +12 -0
- package/packages/app-core/src/components/connectors/ConnectorSetupPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/connectors/ConnectorSetupPanel.js +92 -0
- package/packages/app-core/src/components/connectors/DiscordLocalConnectorPanel.d.ts +2 -0
- package/packages/app-core/src/components/connectors/DiscordLocalConnectorPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/connectors/DiscordLocalConnectorPanel.js +249 -0
- package/packages/app-core/src/components/connectors/IMessageStatusPanel.d.ts +2 -0
- package/packages/app-core/src/components/connectors/IMessageStatusPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/connectors/IMessageStatusPanel.js +63 -0
- package/packages/app-core/src/components/connectors/SignalQrOverlay.d.ts +7 -0
- package/packages/app-core/src/components/connectors/SignalQrOverlay.d.ts.map +1 -0
- package/packages/app-core/src/components/connectors/SignalQrOverlay.js +63 -0
- package/packages/app-core/src/components/connectors/TelegramAccountConnectorPanel.d.ts +2 -0
- package/packages/app-core/src/components/connectors/TelegramAccountConnectorPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/connectors/TelegramAccountConnectorPanel.js +202 -0
- package/packages/app-core/src/components/connectors/TelegramBotSetupPanel.d.ts +2 -0
- package/packages/app-core/src/components/connectors/TelegramBotSetupPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/connectors/TelegramBotSetupPanel.js +81 -0
- package/packages/app-core/src/components/connectors/WhatsAppQrOverlay.d.ts +9 -0
- package/packages/app-core/src/components/connectors/WhatsAppQrOverlay.d.ts.map +1 -0
- package/packages/app-core/src/components/connectors/WhatsAppQrOverlay.js +53 -0
- package/packages/app-core/src/components/conversations/ConversationRenameDialog.d.ts +9 -0
- package/packages/app-core/src/components/conversations/ConversationRenameDialog.d.ts.map +1 -0
- package/packages/app-core/src/components/conversations/ConversationRenameDialog.js +46 -0
- package/packages/app-core/src/components/conversations/ConversationsSidebar.d.ts +9 -0
- package/packages/app-core/src/components/conversations/ConversationsSidebar.d.ts.map +1 -0
- package/packages/app-core/src/components/conversations/ConversationsSidebar.js +557 -0
- package/packages/app-core/src/components/conversations/brand-icons.d.ts +12 -0
- package/packages/app-core/src/components/conversations/brand-icons.d.ts.map +1 -0
- package/packages/app-core/src/components/conversations/brand-icons.js +49 -0
- package/packages/app-core/src/components/conversations/conversation-sidebar-model.d.ts +66 -0
- package/packages/app-core/src/components/conversations/conversation-sidebar-model.d.ts.map +1 -0
- package/packages/app-core/src/components/conversations/conversation-sidebar-model.js +340 -0
- package/packages/app-core/src/components/conversations/conversation-utils.d.ts +9 -0
- package/packages/app-core/src/components/conversations/conversation-utils.d.ts.map +1 -0
- package/packages/app-core/src/components/conversations/conversation-utils.js +142 -0
- package/packages/app-core/src/components/custom-actions/CustomActionEditor.d.ts +10 -0
- package/packages/app-core/src/components/custom-actions/CustomActionEditor.d.ts.map +1 -0
- package/packages/app-core/src/components/custom-actions/CustomActionEditor.js +385 -0
- package/packages/app-core/src/components/custom-actions/CustomActionsPanel.d.ts +9 -0
- package/packages/app-core/src/components/custom-actions/CustomActionsPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/custom-actions/CustomActionsPanel.js +158 -0
- package/packages/app-core/src/components/custom-actions/CustomActionsView.d.ts +2 -0
- package/packages/app-core/src/components/custom-actions/CustomActionsView.d.ts.map +1 -0
- package/packages/app-core/src/components/custom-actions/CustomActionsView.js +144 -0
- package/packages/app-core/src/components/custom-actions/custom-action-form.d.ts +44 -0
- package/packages/app-core/src/components/custom-actions/custom-action-form.d.ts.map +1 -0
- package/packages/app-core/src/components/custom-actions/custom-action-form.js +237 -0
- package/packages/app-core/src/components/index.d.ts +100 -0
- package/packages/app-core/src/components/index.d.ts.map +1 -0
- package/packages/app-core/src/components/index.js +101 -0
- package/packages/app-core/src/components/inventory/ChainIcon.d.ts +9 -0
- package/packages/app-core/src/components/inventory/ChainIcon.d.ts.map +1 -0
- package/packages/app-core/src/components/inventory/ChainIcon.js +58 -0
- package/packages/app-core/src/components/inventory/TokenLogo.d.ts +9 -0
- package/packages/app-core/src/components/inventory/TokenLogo.d.ts.map +1 -0
- package/packages/app-core/src/components/inventory/TokenLogo.js +26 -0
- package/packages/app-core/src/components/inventory/chainConfig.d.ts +89 -0
- package/packages/app-core/src/components/inventory/chainConfig.d.ts.map +1 -0
- package/packages/app-core/src/components/inventory/chainConfig.js +285 -0
- package/packages/app-core/src/components/inventory/constants.d.ts +30 -0
- package/packages/app-core/src/components/inventory/constants.d.ts.map +1 -0
- package/packages/app-core/src/components/inventory/constants.js +57 -0
- package/packages/app-core/src/components/inventory/inventory-chain-filters.d.ts +11 -0
- package/packages/app-core/src/components/inventory/inventory-chain-filters.d.ts.map +1 -0
- package/packages/app-core/src/components/inventory/inventory-chain-filters.js +41 -0
- package/packages/app-core/src/components/inventory/media-url.d.ts +6 -0
- package/packages/app-core/src/components/inventory/media-url.d.ts.map +1 -0
- package/packages/app-core/src/components/inventory/media-url.js +28 -0
- package/packages/app-core/src/components/inventory/useInventoryData.d.ts +38 -0
- package/packages/app-core/src/components/inventory/useInventoryData.d.ts.map +1 -0
- package/packages/app-core/src/components/inventory/useInventoryData.js +278 -0
- package/packages/app-core/src/components/local-inference/ActiveModelBar.d.ts +10 -0
- package/packages/app-core/src/components/local-inference/ActiveModelBar.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/ActiveModelBar.js +19 -0
- package/packages/app-core/src/components/local-inference/DeviceBridgeStatus.d.ts +2 -0
- package/packages/app-core/src/components/local-inference/DeviceBridgeStatus.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/DeviceBridgeStatus.js +39 -0
- package/packages/app-core/src/components/local-inference/DevicesPanel.d.ts +8 -0
- package/packages/app-core/src/components/local-inference/DevicesPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/DevicesPanel.js +44 -0
- package/packages/app-core/src/components/local-inference/DownloadProgress.d.ts +7 -0
- package/packages/app-core/src/components/local-inference/DownloadProgress.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/DownloadProgress.js +8 -0
- package/packages/app-core/src/components/local-inference/DownloadQueue.d.ts +15 -0
- package/packages/app-core/src/components/local-inference/DownloadQueue.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/DownloadQueue.js +21 -0
- package/packages/app-core/src/components/local-inference/FirstRunOffer.d.ts +11 -0
- package/packages/app-core/src/components/local-inference/FirstRunOffer.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/FirstRunOffer.js +49 -0
- package/packages/app-core/src/components/local-inference/HardwareBadge.d.ts +7 -0
- package/packages/app-core/src/components/local-inference/HardwareBadge.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/HardwareBadge.js +10 -0
- package/packages/app-core/src/components/local-inference/HuggingFaceSearch.d.ts +22 -0
- package/packages/app-core/src/components/local-inference/HuggingFaceSearch.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/HuggingFaceSearch.js +68 -0
- package/packages/app-core/src/components/local-inference/LocalInferencePanel.d.ts +5 -0
- package/packages/app-core/src/components/local-inference/LocalInferencePanel.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/LocalInferencePanel.js +225 -0
- package/packages/app-core/src/components/local-inference/ModelCard.d.ts +20 -0
- package/packages/app-core/src/components/local-inference/ModelCard.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/ModelCard.js +21 -0
- package/packages/app-core/src/components/local-inference/ModelHubView.d.ts +18 -0
- package/packages/app-core/src/components/local-inference/ModelHubView.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/ModelHubView.js +40 -0
- package/packages/app-core/src/components/local-inference/ProvidersList.d.ts +2 -0
- package/packages/app-core/src/components/local-inference/ProvidersList.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/ProvidersList.js +51 -0
- package/packages/app-core/src/components/local-inference/RoutingMatrix.d.ts +2 -0
- package/packages/app-core/src/components/local-inference/RoutingMatrix.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/RoutingMatrix.js +108 -0
- package/packages/app-core/src/components/local-inference/SlotAssignments.d.ts +15 -0
- package/packages/app-core/src/components/local-inference/SlotAssignments.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/SlotAssignments.js +58 -0
- package/packages/app-core/src/components/local-inference/hub-utils.d.ts +27 -0
- package/packages/app-core/src/components/local-inference/hub-utils.d.ts.map +1 -0
- package/packages/app-core/src/components/local-inference/hub-utils.js +86 -0
- package/packages/app-core/src/components/onboarding/BootstrapStep.d.ts +35 -0
- package/packages/app-core/src/components/onboarding/BootstrapStep.d.ts.map +1 -0
- package/packages/app-core/src/components/onboarding/BootstrapStep.js +150 -0
- package/packages/app-core/src/components/onboarding/onboarding-form-primitives.d.ts +54 -0
- package/packages/app-core/src/components/onboarding/onboarding-form-primitives.d.ts.map +1 -0
- package/packages/app-core/src/components/onboarding/onboarding-form-primitives.js +55 -0
- package/packages/app-core/src/components/onboarding/onboarding-step-chrome.d.ts +40 -0
- package/packages/app-core/src/components/onboarding/onboarding-step-chrome.d.ts.map +1 -0
- package/packages/app-core/src/components/onboarding/onboarding-step-chrome.js +74 -0
- package/packages/app-core/src/components/pages/AdvancedPageView.d.ts +4 -0
- package/packages/app-core/src/components/pages/AdvancedPageView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/AdvancedPageView.js +72 -0
- package/packages/app-core/src/components/pages/AppDetailsView.d.ts +34 -0
- package/packages/app-core/src/components/pages/AppDetailsView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/AppDetailsView.js +350 -0
- package/packages/app-core/src/components/pages/AppsPageView.d.ts +12 -0
- package/packages/app-core/src/components/pages/AppsPageView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/AppsPageView.js +58 -0
- package/packages/app-core/src/components/pages/AppsView.d.ts +3 -0
- package/packages/app-core/src/components/pages/AppsView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/AppsView.js +883 -0
- package/packages/app-core/src/components/pages/AutomationsView.d.ts +6 -0
- package/packages/app-core/src/components/pages/AutomationsView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/AutomationsView.js +2512 -0
- package/packages/app-core/src/components/pages/BrowserWorkspaceView.d.ts +17 -0
- package/packages/app-core/src/components/pages/BrowserWorkspaceView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/BrowserWorkspaceView.js +1326 -0
- package/packages/app-core/src/components/pages/ChatModalView.d.ts +13 -0
- package/packages/app-core/src/components/pages/ChatModalView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/ChatModalView.js +17 -0
- package/packages/app-core/src/components/pages/ChatView.d.ts +24 -0
- package/packages/app-core/src/components/pages/ChatView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/ChatView.js +534 -0
- package/packages/app-core/src/components/pages/ConfigPageView.d.ts +12 -0
- package/packages/app-core/src/components/pages/ConfigPageView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/ConfigPageView.js +263 -0
- package/packages/app-core/src/components/pages/ConnectorsPageView.d.ts +8 -0
- package/packages/app-core/src/components/pages/ConnectorsPageView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/ConnectorsPageView.js +8 -0
- package/packages/app-core/src/components/pages/DatabasePageView.d.ts +5 -0
- package/packages/app-core/src/components/pages/DatabasePageView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/DatabasePageView.js +33 -0
- package/packages/app-core/src/components/pages/DatabaseView.d.ts +6 -0
- package/packages/app-core/src/components/pages/DatabaseView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/DatabaseView.js +247 -0
- package/packages/app-core/src/components/pages/ElizaCloudDashboard.d.ts +2 -0
- package/packages/app-core/src/components/pages/ElizaCloudDashboard.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/ElizaCloudDashboard.js +380 -0
- package/packages/app-core/src/components/pages/HeartbeatForm.d.ts +56 -0
- package/packages/app-core/src/components/pages/HeartbeatForm.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/HeartbeatForm.js +215 -0
- package/packages/app-core/src/components/pages/HeartbeatsView.d.ts +3 -0
- package/packages/app-core/src/components/pages/HeartbeatsView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/HeartbeatsView.js +399 -0
- package/packages/app-core/src/components/pages/InventoryView.d.ts +2 -0
- package/packages/app-core/src/components/pages/InventoryView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/InventoryView.js +837 -0
- package/packages/app-core/src/components/pages/KnowledgeView.d.ts +12 -0
- package/packages/app-core/src/components/pages/KnowledgeView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/KnowledgeView.js +546 -0
- package/packages/app-core/src/components/pages/LogsPageView.d.ts +6 -0
- package/packages/app-core/src/components/pages/LogsPageView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/LogsPageView.js +6 -0
- package/packages/app-core/src/components/pages/LogsView.d.ts +2 -0
- package/packages/app-core/src/components/pages/LogsView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/LogsView.js +81 -0
- package/packages/app-core/src/components/pages/MediaGalleryView.d.ts +6 -0
- package/packages/app-core/src/components/pages/MediaGalleryView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/MediaGalleryView.js +273 -0
- package/packages/app-core/src/components/pages/MemoryDetailPanel.d.ts +5 -0
- package/packages/app-core/src/components/pages/MemoryDetailPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/MemoryDetailPanel.js +17 -0
- package/packages/app-core/src/components/pages/MemoryViewerView.d.ts +5 -0
- package/packages/app-core/src/components/pages/MemoryViewerView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/MemoryViewerView.js +234 -0
- package/packages/app-core/src/components/pages/MiladyOsAppsView.d.ts +4 -0
- package/packages/app-core/src/components/pages/MiladyOsAppsView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/MiladyOsAppsView.js +618 -0
- package/packages/app-core/src/components/pages/PageScopedChatPane.d.ts +48 -0
- package/packages/app-core/src/components/pages/PageScopedChatPane.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/PageScopedChatPane.js +503 -0
- package/packages/app-core/src/components/pages/PluginCard.d.ts +36 -0
- package/packages/app-core/src/components/pages/PluginCard.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/PluginCard.js +128 -0
- package/packages/app-core/src/components/pages/PluginConfigForm.d.ts +29 -0
- package/packages/app-core/src/components/pages/PluginConfigForm.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/PluginConfigForm.js +133 -0
- package/packages/app-core/src/components/pages/PluginsPageView.d.ts +9 -0
- package/packages/app-core/src/components/pages/PluginsPageView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/PluginsPageView.js +5 -0
- package/packages/app-core/src/components/pages/PluginsView.d.ts +11 -0
- package/packages/app-core/src/components/pages/PluginsView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/PluginsView.js +813 -0
- package/packages/app-core/src/components/pages/RelationshipsGraphPanel.d.ts +8 -0
- package/packages/app-core/src/components/pages/RelationshipsGraphPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/RelationshipsGraphPanel.js +696 -0
- package/packages/app-core/src/components/pages/RelationshipsIdentityCluster.d.ts +5 -0
- package/packages/app-core/src/components/pages/RelationshipsIdentityCluster.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/RelationshipsIdentityCluster.js +17 -0
- package/packages/app-core/src/components/pages/RelationshipsView.d.ts +5 -0
- package/packages/app-core/src/components/pages/RelationshipsView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/RelationshipsView.js +5 -0
- package/packages/app-core/src/components/pages/ReleaseCenterView.d.ts +2 -0
- package/packages/app-core/src/components/pages/ReleaseCenterView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/ReleaseCenterView.js +216 -0
- package/packages/app-core/src/components/pages/RuntimeView.d.ts +5 -0
- package/packages/app-core/src/components/pages/RuntimeView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/RuntimeView.js +283 -0
- 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/SecretsView.d.ts +5 -0
- package/packages/app-core/src/components/pages/SecretsView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/SecretsView.js +245 -0
- package/packages/app-core/src/components/pages/SettingsView.d.ts +6 -0
- package/packages/app-core/src/components/pages/SettingsView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/SettingsView.js +498 -0
- package/packages/app-core/src/components/pages/SkillsView.d.ts +6 -0
- package/packages/app-core/src/components/pages/SkillsView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/SkillsView.js +205 -0
- package/packages/app-core/src/components/pages/SqlEditorPanel.d.ts +13 -0
- package/packages/app-core/src/components/pages/SqlEditorPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/SqlEditorPanel.js +19 -0
- package/packages/app-core/src/components/pages/StreamView.d.ts +4 -0
- package/packages/app-core/src/components/pages/StreamView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/StreamView.js +113 -0
- package/packages/app-core/src/components/pages/TasksPageView.d.ts +2 -0
- package/packages/app-core/src/components/pages/TasksPageView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/TasksPageView.js +10 -0
- package/packages/app-core/src/components/pages/TrajectoriesView.d.ts +9 -0
- package/packages/app-core/src/components/pages/TrajectoriesView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/TrajectoriesView.js +278 -0
- package/packages/app-core/src/components/pages/TrajectoryDetailView.d.ts +7 -0
- package/packages/app-core/src/components/pages/TrajectoryDetailView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/TrajectoryDetailView.js +173 -0
- package/packages/app-core/src/components/pages/TriggersView.d.ts +3 -0
- package/packages/app-core/src/components/pages/TriggersView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/TriggersView.js +2 -0
- package/packages/app-core/src/components/pages/VectorBrowserView.d.ts +13 -0
- package/packages/app-core/src/components/pages/VectorBrowserView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/VectorBrowserView.js +846 -0
- package/packages/app-core/src/components/pages/WorkflowGraphViewer.d.ts +15 -0
- package/packages/app-core/src/components/pages/WorkflowGraphViewer.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/WorkflowGraphViewer.js +403 -0
- package/packages/app-core/src/components/pages/automation-conversations.d.ts +16 -0
- package/packages/app-core/src/components/pages/automation-conversations.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/automation-conversations.js +204 -0
- package/packages/app-core/src/components/pages/chat-view-hooks.d.ts +63 -0
- package/packages/app-core/src/components/pages/chat-view-hooks.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/chat-view-hooks.js +531 -0
- package/packages/app-core/src/components/pages/cloud-dashboard-utils.d.ts +91 -0
- package/packages/app-core/src/components/pages/cloud-dashboard-utils.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/cloud-dashboard-utils.js +284 -0
- package/packages/app-core/src/components/pages/config-page-sections.d.ts +86 -0
- package/packages/app-core/src/components/pages/config-page-sections.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/config-page-sections.js +205 -0
- package/packages/app-core/src/components/pages/database-utils.d.ts +30 -0
- package/packages/app-core/src/components/pages/database-utils.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/database-utils.js +133 -0
- package/packages/app-core/src/components/pages/heartbeat-utils.d.ts +105 -0
- package/packages/app-core/src/components/pages/heartbeat-utils.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/heartbeat-utils.js +368 -0
- package/packages/app-core/src/components/pages/knowledge-detail.d.ts +9 -0
- package/packages/app-core/src/components/pages/knowledge-detail.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/knowledge-detail.js +149 -0
- package/packages/app-core/src/components/pages/knowledge-upload.d.ts +27 -0
- package/packages/app-core/src/components/pages/knowledge-upload.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/knowledge-upload.js +125 -0
- package/packages/app-core/src/components/pages/page-scoped-conversations.d.ts +62 -0
- package/packages/app-core/src/components/pages/page-scoped-conversations.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/page-scoped-conversations.js +266 -0
- package/packages/app-core/src/components/pages/plugin-list-utils.d.ts +67 -0
- package/packages/app-core/src/components/pages/plugin-list-utils.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/plugin-list-utils.js +665 -0
- package/packages/app-core/src/components/pages/plugin-view-connectors.d.ts +57 -0
- package/packages/app-core/src/components/pages/plugin-view-connectors.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/plugin-view-connectors.js +275 -0
- package/packages/app-core/src/components/pages/plugin-view-dialogs.d.ts +36 -0
- package/packages/app-core/src/components/pages/plugin-view-dialogs.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/plugin-view-dialogs.js +63 -0
- package/packages/app-core/src/components/pages/plugin-view-modal.d.ts +34 -0
- package/packages/app-core/src/components/pages/plugin-view-modal.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/plugin-view-modal.js +29 -0
- package/packages/app-core/src/components/pages/plugin-view-sidebar.d.ts +36 -0
- package/packages/app-core/src/components/pages/plugin-view-sidebar.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/plugin-view-sidebar.js +42 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsActivityFeed.d.ts +2 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsActivityFeed.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsActivityFeed.js +85 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsCandidateMergesPanel.d.ts +6 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsCandidateMergesPanel.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsCandidateMergesPanel.js +73 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsPersonPanels.d.ts +27 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsPersonPanels.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsPersonPanels.js +241 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsSidebar.d.ts +10 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsSidebar.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsSidebar.js +16 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsWorkspaceView.d.ts +7 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsWorkspaceView.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/relationships/RelationshipsWorkspaceView.js +130 -0
- package/packages/app-core/src/components/pages/relationships/relationships-utils.d.ts +16 -0
- package/packages/app-core/src/components/pages/relationships/relationships-utils.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/relationships/relationships-utils.js +105 -0
- package/packages/app-core/src/components/pages/settings/IdentitySettingsSection.d.ts +2 -0
- package/packages/app-core/src/components/pages/settings/IdentitySettingsSection.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/settings/IdentitySettingsSection.js +310 -0
- package/packages/app-core/src/components/pages/skill-detail-panel.d.ts +13 -0
- package/packages/app-core/src/components/pages/skill-detail-panel.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/skill-detail-panel.js +161 -0
- package/packages/app-core/src/components/pages/skill-marketplace.d.ts +38 -0
- package/packages/app-core/src/components/pages/skill-marketplace.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/skill-marketplace.js +114 -0
- package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.d.ts +43 -0
- package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/useBrowserWorkspaceWalletBridge.js +362 -0
- package/packages/app-core/src/components/pages/vector-browser-utils.d.ts +2 -0
- package/packages/app-core/src/components/pages/vector-browser-utils.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/vector-browser-utils.js +1 -0
- package/packages/app-core/src/components/pages/workflow-graph-events.d.ts +6 -0
- package/packages/app-core/src/components/pages/workflow-graph-events.d.ts.map +1 -0
- package/packages/app-core/src/components/pages/workflow-graph-events.js +7 -0
- package/packages/app-core/src/components/permissions/PermissionIcon.d.ts +4 -0
- package/packages/app-core/src/components/permissions/PermissionIcon.d.ts.map +1 -0
- package/packages/app-core/src/components/permissions/PermissionIcon.js +13 -0
- package/packages/app-core/src/components/permissions/StreamingPermissions.d.ts +21 -0
- package/packages/app-core/src/components/permissions/StreamingPermissions.d.ts.map +1 -0
- package/packages/app-core/src/components/permissions/StreamingPermissions.js +284 -0
- package/packages/app-core/src/components/phone-companion/Chat.d.ts +15 -0
- package/packages/app-core/src/components/phone-companion/Chat.d.ts.map +1 -0
- package/packages/app-core/src/components/phone-companion/Chat.js +76 -0
- package/packages/app-core/src/components/phone-companion/Pairing.d.ts +9 -0
- package/packages/app-core/src/components/phone-companion/Pairing.d.ts.map +1 -0
- package/packages/app-core/src/components/phone-companion/Pairing.js +124 -0
- package/packages/app-core/src/components/phone-companion/PhoneCompanionApp.d.ts +9 -0
- package/packages/app-core/src/components/phone-companion/PhoneCompanionApp.d.ts.map +1 -0
- package/packages/app-core/src/components/phone-companion/PhoneCompanionApp.js +108 -0
- package/packages/app-core/src/components/phone-companion/RemoteSession.d.ts +9 -0
- package/packages/app-core/src/components/phone-companion/RemoteSession.d.ts.map +1 -0
- package/packages/app-core/src/components/phone-companion/RemoteSession.js +364 -0
- package/packages/app-core/src/components/phone-companion/index.d.ts +5 -0
- package/packages/app-core/src/components/phone-companion/index.d.ts.map +1 -0
- package/packages/app-core/src/components/phone-companion/index.js +4 -0
- package/packages/app-core/src/components/plugins/showcase-data.d.ts +4 -0
- package/packages/app-core/src/components/plugins/showcase-data.d.ts.map +1 -0
- package/packages/app-core/src/components/plugins/showcase-data.js +461 -0
- package/packages/app-core/src/components/policy-controls/ApprovedAddressesSection.d.ts +7 -0
- package/packages/app-core/src/components/policy-controls/ApprovedAddressesSection.d.ts.map +1 -0
- package/packages/app-core/src/components/policy-controls/ApprovedAddressesSection.js +74 -0
- package/packages/app-core/src/components/policy-controls/AutoApproveSection.d.ts +7 -0
- package/packages/app-core/src/components/policy-controls/AutoApproveSection.d.ts.map +1 -0
- package/packages/app-core/src/components/policy-controls/AutoApproveSection.js +14 -0
- package/packages/app-core/src/components/policy-controls/PolicyToggle.d.ts +15 -0
- package/packages/app-core/src/components/policy-controls/PolicyToggle.d.ts.map +1 -0
- package/packages/app-core/src/components/policy-controls/PolicyToggle.js +12 -0
- package/packages/app-core/src/components/policy-controls/RateLimitSection.d.ts +7 -0
- package/packages/app-core/src/components/policy-controls/RateLimitSection.d.ts.map +1 -0
- package/packages/app-core/src/components/policy-controls/RateLimitSection.js +11 -0
- package/packages/app-core/src/components/policy-controls/SpendingLimitSection.d.ts +7 -0
- package/packages/app-core/src/components/policy-controls/SpendingLimitSection.d.ts.map +1 -0
- package/packages/app-core/src/components/policy-controls/SpendingLimitSection.js +15 -0
- package/packages/app-core/src/components/policy-controls/TimeWindowSection.d.ts +7 -0
- package/packages/app-core/src/components/policy-controls/TimeWindowSection.d.ts.map +1 -0
- package/packages/app-core/src/components/policy-controls/TimeWindowSection.js +40 -0
- package/packages/app-core/src/components/policy-controls/constants.d.ts +11 -0
- package/packages/app-core/src/components/policy-controls/constants.d.ts.map +1 -0
- package/packages/app-core/src/components/policy-controls/constants.js +41 -0
- package/packages/app-core/src/components/policy-controls/helpers.d.ts +13 -0
- package/packages/app-core/src/components/policy-controls/helpers.d.ts.map +1 -0
- package/packages/app-core/src/components/policy-controls/helpers.js +43 -0
- package/packages/app-core/src/components/policy-controls/index.d.ts +10 -0
- package/packages/app-core/src/components/policy-controls/index.d.ts.map +1 -0
- package/packages/app-core/src/components/policy-controls/index.js +9 -0
- package/packages/app-core/src/components/policy-controls/types.d.ts +58 -0
- package/packages/app-core/src/components/policy-controls/types.d.ts.map +1 -0
- package/packages/app-core/src/components/policy-controls/types.js +7 -0
- package/packages/app-core/src/components/release-center/shared.d.ts +13 -0
- package/packages/app-core/src/components/release-center/shared.d.ts.map +1 -0
- package/packages/app-core/src/components/release-center/shared.js +38 -0
- package/packages/app-core/src/components/release-center/types.d.ts +79 -0
- package/packages/app-core/src/components/release-center/types.d.ts.map +1 -0
- package/packages/app-core/src/components/release-center/types.js +5 -0
- package/packages/app-core/src/components/settings/ApiKeyConfig.d.ts +21 -0
- package/packages/app-core/src/components/settings/ApiKeyConfig.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/ApiKeyConfig.js +111 -0
- package/packages/app-core/src/components/settings/AppearanceSettingsSection.d.ts +2 -0
- package/packages/app-core/src/components/settings/AppearanceSettingsSection.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/AppearanceSettingsSection.js +253 -0
- 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/CapabilitiesSection.d.ts +2 -0
- package/packages/app-core/src/components/settings/CapabilitiesSection.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/CapabilitiesSection.js +97 -0
- package/packages/app-core/src/components/settings/DesktopWorkspaceSection.d.ts +7 -0
- package/packages/app-core/src/components/settings/DesktopWorkspaceSection.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/DesktopWorkspaceSection.js +502 -0
- package/packages/app-core/src/components/settings/PermissionsSection.d.ts +8 -0
- package/packages/app-core/src/components/settings/PermissionsSection.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/PermissionsSection.js +310 -0
- package/packages/app-core/src/components/settings/PolicyControlsView.d.ts +2 -0
- package/packages/app-core/src/components/settings/PolicyControlsView.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/PolicyControlsView.js +231 -0
- package/packages/app-core/src/components/settings/ProviderSwitcher.d.ts +22 -0
- package/packages/app-core/src/components/settings/ProviderSwitcher.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/ProviderSwitcher.js +618 -0
- package/packages/app-core/src/components/settings/SecuritySettingsSection.d.ts +2 -0
- package/packages/app-core/src/components/settings/SecuritySettingsSection.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/SecuritySettingsSection.js +381 -0
- package/packages/app-core/src/components/settings/SubscriptionStatus.d.ts +28 -0
- package/packages/app-core/src/components/settings/SubscriptionStatus.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/SubscriptionStatus.js +266 -0
- package/packages/app-core/src/components/settings/VoiceConfigView.d.ts +5 -0
- package/packages/app-core/src/components/settings/VoiceConfigView.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/VoiceConfigView.js +505 -0
- package/packages/app-core/src/components/settings/cloud-model-schema.d.ts +26 -0
- package/packages/app-core/src/components/settings/cloud-model-schema.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/cloud-model-schema.js +103 -0
- package/packages/app-core/src/components/settings/permission-controls.d.ts +37 -0
- package/packages/app-core/src/components/settings/permission-controls.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/permission-controls.js +437 -0
- package/packages/app-core/src/components/settings/permission-types.d.ts +44 -0
- package/packages/app-core/src/components/settings/permission-types.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/permission-types.js +215 -0
- package/packages/app-core/src/components/settings/settings-control-primitives.d.ts +11 -0
- package/packages/app-core/src/components/settings/settings-control-primitives.d.ts.map +1 -0
- package/packages/app-core/src/components/settings/settings-control-primitives.js +14 -0
- package/packages/app-core/src/components/shared/AppPageSidebar.d.ts +12 -0
- package/packages/app-core/src/components/shared/AppPageSidebar.d.ts.map +1 -0
- package/packages/app-core/src/components/shared/AppPageSidebar.js +119 -0
- package/packages/app-core/src/components/shared/CollapsibleSidebarSection.d.ts +19 -0
- package/packages/app-core/src/components/shared/CollapsibleSidebarSection.d.ts.map +1 -0
- package/packages/app-core/src/components/shared/CollapsibleSidebarSection.js +12 -0
- package/packages/app-core/src/components/shared/LanguageDropdown.d.ts +24 -0
- package/packages/app-core/src/components/shared/LanguageDropdown.d.ts.map +1 -0
- package/packages/app-core/src/components/shared/LanguageDropdown.js +37 -0
- package/packages/app-core/src/components/shared/ThemeToggle.d.ts +14 -0
- package/packages/app-core/src/components/shared/ThemeToggle.d.ts.map +1 -0
- package/packages/app-core/src/components/shared/ThemeToggle.js +14 -0
- package/packages/app-core/src/components/shared/confirm-delete-control.d.ts +19 -0
- package/packages/app-core/src/components/shared/confirm-delete-control.d.ts.map +1 -0
- package/packages/app-core/src/components/shared/confirm-delete-control.js +19 -0
- package/packages/app-core/src/components/shell/BugReportModal.d.ts +2 -0
- package/packages/app-core/src/components/shell/BugReportModal.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/BugReportModal.js +366 -0
- package/packages/app-core/src/components/shell/CommandPalette.d.ts +2 -0
- package/packages/app-core/src/components/shell/CommandPalette.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/CommandPalette.js +185 -0
- package/packages/app-core/src/components/shell/ComputerUseApprovalOverlay.d.ts +2 -0
- package/packages/app-core/src/components/shell/ComputerUseApprovalOverlay.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/ComputerUseApprovalOverlay.js +171 -0
- package/packages/app-core/src/components/shell/ConnectionFailedBanner.d.ts +6 -0
- package/packages/app-core/src/components/shell/ConnectionFailedBanner.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/ConnectionFailedBanner.js +23 -0
- package/packages/app-core/src/components/shell/ConnectionLostOverlay.d.ts +2 -0
- package/packages/app-core/src/components/shell/ConnectionLostOverlay.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/ConnectionLostOverlay.js +49 -0
- package/packages/app-core/src/components/shell/Header.d.ts +13 -0
- package/packages/app-core/src/components/shell/Header.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/Header.js +298 -0
- package/packages/app-core/src/components/shell/LoadingScreen.d.ts +13 -0
- package/packages/app-core/src/components/shell/LoadingScreen.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/LoadingScreen.js +86 -0
- package/packages/app-core/src/components/shell/PairingView.d.ts +2 -0
- package/packages/app-core/src/components/shell/PairingView.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/PairingView.js +41 -0
- package/packages/app-core/src/components/shell/RestartBanner.d.ts +2 -0
- package/packages/app-core/src/components/shell/RestartBanner.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/RestartBanner.js +39 -0
- package/packages/app-core/src/components/shell/RuntimeGate.d.ts +22 -0
- package/packages/app-core/src/components/shell/RuntimeGate.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/RuntimeGate.js +640 -0
- package/packages/app-core/src/components/shell/ShellHeaderControls.d.ts +44 -0
- package/packages/app-core/src/components/shell/ShellHeaderControls.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/ShellHeaderControls.js +80 -0
- package/packages/app-core/src/components/shell/ShellOverlays.d.ts +5 -0
- package/packages/app-core/src/components/shell/ShellOverlays.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/ShellOverlays.js +15 -0
- package/packages/app-core/src/components/shell/ShortcutsOverlay.d.ts +2 -0
- package/packages/app-core/src/components/shell/ShortcutsOverlay.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/ShortcutsOverlay.js +58 -0
- package/packages/app-core/src/components/shell/StartupFailureView.d.ts +8 -0
- package/packages/app-core/src/components/shell/StartupFailureView.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/StartupFailureView.js +148 -0
- package/packages/app-core/src/components/shell/StartupShell.d.ts +12 -0
- package/packages/app-core/src/components/shell/StartupShell.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/StartupShell.js +230 -0
- package/packages/app-core/src/components/shell/SystemWarningBanner.d.ts +6 -0
- package/packages/app-core/src/components/shell/SystemWarningBanner.d.ts.map +1 -0
- package/packages/app-core/src/components/shell/SystemWarningBanner.js +44 -0
- package/packages/app-core/src/components/steward/injected.d.ts +5 -0
- package/packages/app-core/src/components/steward/injected.d.ts.map +1 -0
- package/packages/app-core/src/components/steward/injected.js +14 -0
- package/packages/app-core/src/components/stream/StatusBar.d.ts +10 -0
- package/packages/app-core/src/components/stream/StatusBar.d.ts.map +1 -0
- package/packages/app-core/src/components/stream/StatusBar.js +65 -0
- package/packages/app-core/src/components/stream/helpers.d.ts +15 -0
- package/packages/app-core/src/components/stream/helpers.d.ts.map +1 -0
- package/packages/app-core/src/components/stream/helpers.js +16 -0
- package/packages/app-core/src/components/training/injected.d.ts +3 -0
- package/packages/app-core/src/components/training/injected.d.ts.map +1 -0
- package/packages/app-core/src/components/training/injected.js +6 -0
- package/packages/app-core/src/components/workspace/AppWorkspaceChrome.d.ts +62 -0
- package/packages/app-core/src/components/workspace/AppWorkspaceChrome.d.ts.map +1 -0
- package/packages/app-core/src/components/workspace/AppWorkspaceChrome.js +220 -0
- package/packages/app-core/src/config/app-config.d.ts +121 -0
- package/packages/app-core/src/config/app-config.d.ts.map +1 -0
- package/packages/app-core/src/config/app-config.js +31 -0
- package/packages/app-core/src/config/boot-config-react.d.ts +5 -0
- package/packages/app-core/src/config/boot-config-react.d.ts.map +1 -0
- package/packages/app-core/src/config/boot-config-react.js +7 -0
- package/packages/app-core/src/config/boot-config-store.d.ts +267 -0
- package/packages/app-core/src/config/boot-config-store.d.ts.map +1 -0
- package/packages/app-core/src/config/boot-config-store.js +143 -0
- package/packages/app-core/src/config/boot-config.d.ts +6 -0
- package/packages/app-core/src/config/boot-config.d.ts.map +1 -0
- package/packages/app-core/src/config/boot-config.js +5 -0
- package/packages/app-core/src/config/branding.d.ts +55 -0
- package/packages/app-core/src/config/branding.d.ts.map +1 -0
- package/packages/app-core/src/config/branding.js +23 -0
- package/packages/app-core/src/config/cloud-only.d.ts +6 -0
- package/packages/app-core/src/config/cloud-only.d.ts.map +1 -0
- package/packages/app-core/src/config/cloud-only.js +15 -0
- package/packages/app-core/src/config/config-catalog.d.ts +376 -0
- package/packages/app-core/src/config/config-catalog.d.ts.map +1 -0
- package/packages/app-core/src/config/config-catalog.js +732 -0
- package/packages/app-core/src/config/index.d.ts +12 -0
- package/packages/app-core/src/config/index.d.ts.map +1 -0
- package/packages/app-core/src/config/index.js +11 -0
- package/packages/app-core/src/config/plugin-auto-enable.d.ts +5 -0
- package/packages/app-core/src/config/plugin-auto-enable.d.ts.map +1 -0
- package/packages/app-core/src/config/plugin-auto-enable.js +47 -0
- package/packages/app-core/src/config/plugin-ui-spec.d.ts +42 -0
- package/packages/app-core/src/config/plugin-ui-spec.d.ts.map +1 -0
- package/packages/app-core/src/config/plugin-ui-spec.js +256 -0
- package/packages/app-core/src/config/ui-spec.d.ts +164 -0
- package/packages/app-core/src/config/ui-spec.d.ts.map +1 -0
- package/packages/app-core/src/config/ui-spec.js +13 -0
- package/packages/app-core/src/config/wechat-config.d.ts +3 -0
- package/packages/app-core/src/config/wechat-config.d.ts.map +1 -0
- package/packages/app-core/src/config/wechat-config.js +21 -0
- package/packages/app-core/src/content-packs/apply-pack.d.ts +33 -0
- package/packages/app-core/src/content-packs/apply-pack.d.ts.map +1 -0
- package/packages/app-core/src/content-packs/apply-pack.js +96 -0
- package/packages/app-core/src/content-packs/bundled-packs.d.ts +14 -0
- package/packages/app-core/src/content-packs/bundled-packs.d.ts.map +1 -0
- package/packages/app-core/src/content-packs/bundled-packs.js +106 -0
- package/packages/app-core/src/content-packs/index.d.ts +4 -0
- package/packages/app-core/src/content-packs/index.d.ts.map +1 -0
- package/packages/app-core/src/content-packs/index.js +3 -0
- package/packages/app-core/src/content-packs/load-pack.d.ts +34 -0
- package/packages/app-core/src/content-packs/load-pack.d.ts.map +1 -0
- package/packages/app-core/src/content-packs/load-pack.js +151 -0
- package/packages/app-core/src/events/index.d.ts +62 -0
- package/packages/app-core/src/events/index.d.ts.map +1 -0
- package/packages/app-core/src/events/index.js +51 -0
- package/packages/app-core/src/hooks/index.d.ts +14 -0
- package/packages/app-core/src/hooks/index.d.ts.map +1 -0
- package/packages/app-core/src/hooks/index.js +13 -0
- package/packages/app-core/src/hooks/useAccounts.d.ts +41 -0
- package/packages/app-core/src/hooks/useAccounts.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useAccounts.js +250 -0
- package/packages/app-core/src/hooks/useActivityEvents.d.ts +20 -0
- package/packages/app-core/src/hooks/useActivityEvents.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useActivityEvents.js +126 -0
- package/packages/app-core/src/hooks/useAuthStatus.d.ts +49 -0
- package/packages/app-core/src/hooks/useAuthStatus.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useAuthStatus.js +90 -0
- package/packages/app-core/src/hooks/useBugReport.d.ts +26 -0
- package/packages/app-core/src/hooks/useBugReport.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useBugReport.js +28 -0
- package/packages/app-core/src/hooks/useCanvasWindow.d.ts +38 -0
- package/packages/app-core/src/hooks/useCanvasWindow.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useCanvasWindow.js +277 -0
- package/packages/app-core/src/hooks/useChatAvatarVoiceBridge.d.ts +12 -0
- package/packages/app-core/src/hooks/useChatAvatarVoiceBridge.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useChatAvatarVoiceBridge.js +21 -0
- package/packages/app-core/src/hooks/useContextMenu.d.ts +17 -0
- package/packages/app-core/src/hooks/useContextMenu.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useContextMenu.js +142 -0
- package/packages/app-core/src/hooks/useKeyboardShortcuts.d.ts +5 -0
- package/packages/app-core/src/hooks/useKeyboardShortcuts.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useKeyboardShortcuts.js +32 -0
- package/packages/app-core/src/hooks/useMediaQuery.d.ts +4 -0
- package/packages/app-core/src/hooks/useMediaQuery.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useMediaQuery.js +30 -0
- package/packages/app-core/src/hooks/useMusicPlayer.d.ts +54 -0
- package/packages/app-core/src/hooks/useMusicPlayer.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useMusicPlayer.js +117 -0
- package/packages/app-core/src/hooks/useRenderGuard.d.ts +17 -0
- package/packages/app-core/src/hooks/useRenderGuard.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useRenderGuard.js +36 -0
- package/packages/app-core/src/hooks/useSignalPairing.d.ts +12 -0
- package/packages/app-core/src/hooks/useSignalPairing.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useSignalPairing.js +129 -0
- package/packages/app-core/src/hooks/useStreamPopoutNavigation.d.ts +3 -0
- package/packages/app-core/src/hooks/useStreamPopoutNavigation.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useStreamPopoutNavigation.js +4 -0
- package/packages/app-core/src/hooks/useVoiceChat.d.ts +37 -0
- package/packages/app-core/src/hooks/useVoiceChat.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useVoiceChat.js +1310 -0
- package/packages/app-core/src/hooks/useWhatsAppPairing.d.ts +12 -0
- package/packages/app-core/src/hooks/useWhatsAppPairing.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useWhatsAppPairing.js +95 -0
- package/packages/app-core/src/hooks/useWorkflowGenerationState.d.ts +23 -0
- package/packages/app-core/src/hooks/useWorkflowGenerationState.d.ts.map +1 -0
- package/packages/app-core/src/hooks/useWorkflowGenerationState.js +46 -0
- package/packages/app-core/src/hooks/voice-chat-playback.d.ts +32 -0
- package/packages/app-core/src/hooks/voice-chat-playback.d.ts.map +1 -0
- package/packages/app-core/src/hooks/voice-chat-playback.js +203 -0
- package/packages/app-core/src/hooks/voice-chat-recording.d.ts +6 -0
- package/packages/app-core/src/hooks/voice-chat-recording.d.ts.map +1 -0
- package/packages/app-core/src/hooks/voice-chat-recording.js +46 -0
- package/packages/app-core/src/hooks/voice-chat-types.d.ts +193 -0
- package/packages/app-core/src/hooks/voice-chat-types.d.ts.map +1 -0
- package/packages/app-core/src/hooks/voice-chat-types.js +185 -0
- package/packages/app-core/src/i18n/index.d.ts +7 -0
- package/packages/app-core/src/i18n/index.d.ts.map +1 -0
- package/packages/app-core/src/i18n/index.js +57 -0
- package/packages/app-core/src/i18n/locales/en.json +3231 -0
- package/packages/app-core/src/i18n/locales/es.json +3231 -0
- package/packages/app-core/src/i18n/locales/ko.json +3231 -0
- package/packages/app-core/src/i18n/locales/pt.json +3231 -0
- package/packages/app-core/src/i18n/locales/tl.json +3231 -0
- package/packages/app-core/src/i18n/locales/vi.json +3231 -0
- package/packages/app-core/src/i18n/locales/zh-CN.json +3231 -0
- package/packages/app-core/src/i18n/messages.d.ts +6 -0
- package/packages/app-core/src/i18n/messages.d.ts.map +1 -0
- package/packages/app-core/src/i18n/messages.js +26 -0
- package/packages/app-core/src/index.d.ts +54 -0
- package/packages/app-core/src/index.d.ts.map +1 -0
- package/packages/app-core/src/index.js +50 -0
- package/packages/app-core/src/navigation/index.d.ts +70 -0
- package/packages/app-core/src/navigation/index.d.ts.map +1 -0
- package/packages/app-core/src/navigation/index.js +442 -0
- package/packages/app-core/src/onboarding/flow.d.ts +66 -0
- package/packages/app-core/src/onboarding/flow.d.ts.map +1 -0
- package/packages/app-core/src/onboarding/flow.js +100 -0
- package/packages/app-core/src/onboarding/mobile-runtime-mode.d.ts +8 -0
- package/packages/app-core/src/onboarding/mobile-runtime-mode.d.ts.map +1 -0
- package/packages/app-core/src/onboarding/mobile-runtime-mode.js +57 -0
- package/packages/app-core/src/onboarding/probe-local-agent.d.ts +44 -0
- package/packages/app-core/src/onboarding/probe-local-agent.d.ts.map +1 -0
- package/packages/app-core/src/onboarding/probe-local-agent.js +126 -0
- package/packages/app-core/src/onboarding/server-target.d.ts +4 -0
- package/packages/app-core/src/onboarding/server-target.d.ts.map +1 -0
- package/packages/app-core/src/onboarding/server-target.js +13 -0
- package/packages/app-core/src/onboarding-config.d.ts +61 -0
- package/packages/app-core/src/onboarding-config.d.ts.map +1 -0
- package/packages/app-core/src/onboarding-config.js +172 -0
- package/packages/app-core/src/platform/browser-launch.d.ts +10 -0
- package/packages/app-core/src/platform/browser-launch.d.ts.map +1 -0
- package/packages/app-core/src/platform/browser-launch.js +147 -0
- package/packages/app-core/src/platform/cloud-preference-patch.d.ts +11 -0
- package/packages/app-core/src/platform/cloud-preference-patch.d.ts.map +1 -0
- package/packages/app-core/src/platform/cloud-preference-patch.js +85 -0
- package/packages/app-core/src/platform/desktop-permissions-client.d.ts +3 -0
- package/packages/app-core/src/platform/desktop-permissions-client.d.ts.map +1 -0
- package/packages/app-core/src/platform/desktop-permissions-client.js +128 -0
- package/packages/app-core/src/platform/index.d.ts +15 -0
- package/packages/app-core/src/platform/index.d.ts.map +1 -0
- package/packages/app-core/src/platform/index.js +23 -0
- package/packages/app-core/src/platform/init.d.ts +46 -0
- package/packages/app-core/src/platform/init.d.ts.map +1 -0
- package/packages/app-core/src/platform/init.js +169 -0
- package/packages/app-core/src/platform/is-native-server.d.ts +14 -0
- package/packages/app-core/src/platform/is-native-server.d.ts.map +1 -0
- package/packages/app-core/src/platform/is-native-server.js +16 -0
- package/packages/app-core/src/platform/onboarding-reset.d.ts +11 -0
- package/packages/app-core/src/platform/onboarding-reset.d.ts.map +1 -0
- package/packages/app-core/src/platform/onboarding-reset.js +127 -0
- package/packages/app-core/src/platform/types.d.ts +28 -0
- package/packages/app-core/src/platform/types.d.ts.map +1 -0
- package/packages/app-core/src/platform/types.js +1 -0
- package/packages/app-core/src/platform/window-shell.d.ts +28 -0
- package/packages/app-core/src/platform/window-shell.d.ts.map +1 -0
- package/packages/app-core/src/platform/window-shell.js +73 -0
- package/packages/app-core/src/providers/index.d.ts +26 -0
- package/packages/app-core/src/providers/index.d.ts.map +1 -0
- package/packages/app-core/src/providers/index.js +107 -0
- package/packages/app-core/src/runtime/channel-plugin-map.d.ts +6 -0
- package/packages/app-core/src/runtime/channel-plugin-map.d.ts.map +1 -0
- package/packages/app-core/src/runtime/channel-plugin-map.js +10 -0
- package/packages/app-core/src/security/agent-vault-id.d.ts +14 -0
- package/packages/app-core/src/security/agent-vault-id.d.ts.map +1 -0
- package/packages/app-core/src/security/agent-vault-id.js +32 -0
- package/packages/app-core/src/security/platform-secure-store-node.d.ts +15 -0
- package/packages/app-core/src/security/platform-secure-store-node.d.ts.map +1 -0
- package/packages/app-core/src/security/platform-secure-store-node.js +296 -0
- package/packages/app-core/src/security/platform-secure-store.d.ts +47 -0
- package/packages/app-core/src/security/platform-secure-store.d.ts.map +1 -0
- package/packages/app-core/src/security/platform-secure-store.js +10 -0
- package/packages/app-core/src/services/account-pool.d.ts +98 -0
- package/packages/app-core/src/services/account-pool.d.ts.map +1 -0
- package/packages/app-core/src/services/account-pool.js +506 -0
- package/packages/app-core/src/services/account-usage.d.ts +75 -0
- package/packages/app-core/src/services/account-usage.d.ts.map +1 -0
- package/packages/app-core/src/services/account-usage.js +179 -0
- package/packages/app-core/src/services/auth-store.d.ts +185 -0
- package/packages/app-core/src/services/auth-store.d.ts.map +1 -0
- package/packages/app-core/src/services/auth-store.js +418 -0
- package/packages/app-core/src/services/cloud-jwks-store.d.ts +62 -0
- package/packages/app-core/src/services/cloud-jwks-store.d.ts.map +1 -0
- package/packages/app-core/src/services/cloud-jwks-store.js +118 -0
- package/packages/app-core/src/services/local-inference/active-model.d.ts +59 -0
- package/packages/app-core/src/services/local-inference/active-model.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/active-model.js +120 -0
- package/packages/app-core/src/services/local-inference/device-bridge.d.ts +131 -0
- package/packages/app-core/src/services/local-inference/device-bridge.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/device-bridge.js +748 -0
- package/packages/app-core/src/services/local-inference/engine.d.ts +52 -0
- package/packages/app-core/src/services/local-inference/engine.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/engine.js +138 -0
- package/packages/app-core/src/services/local-inference/external-scanner.d.ts +17 -0
- package/packages/app-core/src/services/local-inference/external-scanner.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/external-scanner.js +261 -0
- package/packages/app-core/src/services/local-inference/handler-registry.d.ts +72 -0
- package/packages/app-core/src/services/local-inference/handler-registry.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/handler-registry.js +160 -0
- package/packages/app-core/src/services/local-inference/hardware.d.ts +26 -0
- package/packages/app-core/src/services/local-inference/hardware.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/hardware.js +139 -0
- package/packages/app-core/src/services/local-inference/paths.d.ts +24 -0
- package/packages/app-core/src/services/local-inference/paths.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/paths.js +41 -0
- package/packages/app-core/src/services/local-inference/providers.d.ts +61 -0
- package/packages/app-core/src/services/local-inference/providers.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/providers.js +277 -0
- package/packages/app-core/src/services/local-inference/registry.d.ts +35 -0
- package/packages/app-core/src/services/local-inference/registry.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/registry.js +108 -0
- package/packages/app-core/src/services/local-inference/routing-preferences.d.ts +31 -0
- package/packages/app-core/src/services/local-inference/routing-preferences.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/routing-preferences.js +72 -0
- package/packages/app-core/src/services/local-inference/types.d.ts +121 -0
- package/packages/app-core/src/services/local-inference/types.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/types.js +14 -0
- package/packages/app-core/src/services/local-inference/verify.d.ts +39 -0
- package/packages/app-core/src/services/local-inference/verify.d.ts.map +1 -0
- package/packages/app-core/src/services/local-inference/verify.js +104 -0
- package/packages/app-core/src/services/phone-companion/env.d.ts +11 -0
- package/packages/app-core/src/services/phone-companion/env.d.ts.map +1 -0
- package/packages/app-core/src/services/phone-companion/env.js +21 -0
- package/packages/app-core/src/services/phone-companion/index.d.ts +14 -0
- package/packages/app-core/src/services/phone-companion/index.d.ts.map +1 -0
- package/packages/app-core/src/services/phone-companion/index.js +13 -0
- package/packages/app-core/src/services/phone-companion/logger.d.ts +14 -0
- package/packages/app-core/src/services/phone-companion/logger.d.ts.map +1 -0
- package/packages/app-core/src/services/phone-companion/logger.js +57 -0
- package/packages/app-core/src/services/phone-companion/milady-intent.d.ts +63 -0
- package/packages/app-core/src/services/phone-companion/milady-intent.d.ts.map +1 -0
- package/packages/app-core/src/services/phone-companion/milady-intent.js +50 -0
- package/packages/app-core/src/services/phone-companion/navigation.d.ts +17 -0
- package/packages/app-core/src/services/phone-companion/navigation.d.ts.map +1 -0
- package/packages/app-core/src/services/phone-companion/navigation.js +99 -0
- package/packages/app-core/src/services/phone-companion/push.d.ts +27 -0
- package/packages/app-core/src/services/phone-companion/push.d.ts.map +1 -0
- package/packages/app-core/src/services/phone-companion/push.js +80 -0
- package/packages/app-core/src/services/phone-companion/session-client.d.ts +114 -0
- package/packages/app-core/src/services/phone-companion/session-client.d.ts.map +1 -0
- package/packages/app-core/src/services/phone-companion/session-client.js +211 -0
- package/packages/app-core/src/services/plugin-installer.d.ts +93 -0
- package/packages/app-core/src/services/plugin-installer.d.ts.map +1 -0
- package/packages/app-core/src/services/plugin-installer.js +628 -0
- package/packages/app-core/src/shell/AppWindowRenderer.d.ts +17 -0
- package/packages/app-core/src/shell/AppWindowRenderer.d.ts.map +1 -0
- package/packages/app-core/src/shell/AppWindowRenderer.js +319 -0
- package/packages/app-core/src/shell/DesktopOnboardingRuntime.d.ts +9 -0
- package/packages/app-core/src/shell/DesktopOnboardingRuntime.d.ts.map +1 -0
- package/packages/app-core/src/shell/DesktopOnboardingRuntime.js +10 -0
- package/packages/app-core/src/shell/DesktopSurfaceNavigationRuntime.d.ts +2 -0
- package/packages/app-core/src/shell/DesktopSurfaceNavigationRuntime.d.ts.map +1 -0
- package/packages/app-core/src/shell/DesktopSurfaceNavigationRuntime.js +48 -0
- package/packages/app-core/src/shell/DesktopTrayRuntime.d.ts +11 -0
- package/packages/app-core/src/shell/DesktopTrayRuntime.d.ts.map +1 -0
- package/packages/app-core/src/shell/DesktopTrayRuntime.js +265 -0
- package/packages/app-core/src/shell/DetachedShellRoot.d.ts +10 -0
- package/packages/app-core/src/shell/DetachedShellRoot.d.ts.map +1 -0
- package/packages/app-core/src/shell/DetachedShellRoot.js +114 -0
- package/packages/app-core/src/shell/index.d.ts +6 -0
- package/packages/app-core/src/shell/index.d.ts.map +1 -0
- package/packages/app-core/src/shell/index.js +5 -0
- package/packages/app-core/src/state/AppContext.d.ts +13 -0
- package/packages/app-core/src/state/AppContext.d.ts.map +1 -0
- package/packages/app-core/src/state/AppContext.js +1896 -0
- package/packages/app-core/src/state/ChatComposerContext.d.ts +28 -0
- package/packages/app-core/src/state/ChatComposerContext.d.ts.map +1 -0
- package/packages/app-core/src/state/ChatComposerContext.js +30 -0
- package/packages/app-core/src/state/CompanionSceneConfigContext.d.ts +27 -0
- package/packages/app-core/src/state/CompanionSceneConfigContext.d.ts.map +1 -0
- package/packages/app-core/src/state/CompanionSceneConfigContext.js +32 -0
- package/packages/app-core/src/state/PtySessionsContext.d.ts +15 -0
- package/packages/app-core/src/state/PtySessionsContext.d.ts.map +1 -0
- package/packages/app-core/src/state/PtySessionsContext.js +15 -0
- package/packages/app-core/src/state/TranslationContext.d.ts +29 -0
- package/packages/app-core/src/state/TranslationContext.d.ts.map +1 -0
- package/packages/app-core/src/state/TranslationContext.js +61 -0
- package/packages/app-core/src/state/action-notice.d.ts +7 -0
- package/packages/app-core/src/state/action-notice.d.ts.map +1 -0
- package/packages/app-core/src/state/action-notice.js +1 -0
- package/packages/app-core/src/state/agent-profile-types.d.ts +29 -0
- package/packages/app-core/src/state/agent-profile-types.d.ts.map +1 -0
- package/packages/app-core/src/state/agent-profile-types.js +1 -0
- package/packages/app-core/src/state/agent-profiles.d.ts +16 -0
- package/packages/app-core/src/state/agent-profiles.d.ts.map +1 -0
- package/packages/app-core/src/state/agent-profiles.js +119 -0
- package/packages/app-core/src/state/agent-startup-timing.d.ts +15 -0
- package/packages/app-core/src/state/agent-startup-timing.d.ts.map +1 -0
- package/packages/app-core/src/state/agent-startup-timing.js +28 -0
- package/packages/app-core/src/state/chat-conversation-guards.d.ts +6 -0
- package/packages/app-core/src/state/chat-conversation-guards.d.ts.map +1 -0
- package/packages/app-core/src/state/chat-conversation-guards.js +47 -0
- package/packages/app-core/src/state/complete-reset-local-state-after-wipe.d.ts +30 -0
- package/packages/app-core/src/state/complete-reset-local-state-after-wipe.d.ts.map +1 -0
- package/packages/app-core/src/state/complete-reset-local-state-after-wipe.js +24 -0
- package/packages/app-core/src/state/config-readers.d.ts +7 -0
- package/packages/app-core/src/state/config-readers.d.ts.map +1 -0
- package/packages/app-core/src/state/config-readers.js +8 -0
- package/packages/app-core/src/state/connector-deeplink.d.ts +30 -0
- package/packages/app-core/src/state/connector-deeplink.d.ts.map +1 -0
- package/packages/app-core/src/state/connector-deeplink.js +46 -0
- package/packages/app-core/src/state/handle-reset-applied-from-main.d.ts +31 -0
- package/packages/app-core/src/state/handle-reset-applied-from-main.d.ts.map +1 -0
- package/packages/app-core/src/state/handle-reset-applied-from-main.js +38 -0
- package/packages/app-core/src/state/index.d.ts +14 -0
- package/packages/app-core/src/state/index.d.ts.map +1 -0
- package/packages/app-core/src/state/index.js +13 -0
- package/packages/app-core/src/state/internal.d.ts +9 -0
- package/packages/app-core/src/state/internal.d.ts.map +1 -0
- package/packages/app-core/src/state/internal.js +9 -0
- package/packages/app-core/src/state/navigation-events.d.ts +12 -0
- package/packages/app-core/src/state/navigation-events.d.ts.map +1 -0
- package/packages/app-core/src/state/navigation-events.js +25 -0
- package/packages/app-core/src/state/onboarding-bootstrap.d.ts +28 -0
- package/packages/app-core/src/state/onboarding-bootstrap.d.ts.map +1 -0
- package/packages/app-core/src/state/onboarding-bootstrap.js +76 -0
- package/packages/app-core/src/state/onboarding-resume.d.ts +9 -0
- package/packages/app-core/src/state/onboarding-resume.d.ts.map +1 -0
- package/packages/app-core/src/state/onboarding-resume.js +93 -0
- package/packages/app-core/src/state/parsers.d.ts +33 -0
- package/packages/app-core/src/state/parsers.d.ts.map +1 -0
- package/packages/app-core/src/state/parsers.js +354 -0
- package/packages/app-core/src/state/persistence.d.ts +111 -0
- package/packages/app-core/src/state/persistence.d.ts.map +1 -0
- package/packages/app-core/src/state/persistence.js +749 -0
- package/packages/app-core/src/state/shell-routing.d.ts +12 -0
- package/packages/app-core/src/state/shell-routing.d.ts.map +1 -0
- package/packages/app-core/src/state/shell-routing.js +21 -0
- package/packages/app-core/src/state/startup-coordinator.d.ts +137 -0
- package/packages/app-core/src/state/startup-coordinator.d.ts.map +1 -0
- package/packages/app-core/src/state/startup-coordinator.js +247 -0
- package/packages/app-core/src/state/startup-phase-hydrate.d.ts +74 -0
- package/packages/app-core/src/state/startup-phase-hydrate.d.ts.map +1 -0
- package/packages/app-core/src/state/startup-phase-hydrate.js +494 -0
- package/packages/app-core/src/state/startup-phase-poll.d.ts +61 -0
- package/packages/app-core/src/state/startup-phase-poll.d.ts.map +1 -0
- package/packages/app-core/src/state/startup-phase-poll.js +272 -0
- package/packages/app-core/src/state/startup-phase-restore.d.ts +49 -0
- package/packages/app-core/src/state/startup-phase-restore.d.ts.map +1 -0
- package/packages/app-core/src/state/startup-phase-restore.js +145 -0
- package/packages/app-core/src/state/startup-phase-runtime.d.ts +34 -0
- package/packages/app-core/src/state/startup-phase-runtime.d.ts.map +1 -0
- package/packages/app-core/src/state/startup-phase-runtime.js +126 -0
- package/packages/app-core/src/state/types.d.ts +645 -0
- package/packages/app-core/src/state/types.d.ts.map +1 -0
- package/packages/app-core/src/state/types.js +62 -0
- package/packages/app-core/src/state/ui-preferences.d.ts +3 -0
- package/packages/app-core/src/state/ui-preferences.d.ts.map +1 -0
- package/packages/app-core/src/state/ui-preferences.js +1 -0
- package/packages/app-core/src/state/useApp.d.ts +4 -0
- package/packages/app-core/src/state/useApp.d.ts.map +1 -0
- package/packages/app-core/src/state/useApp.js +32 -0
- package/packages/app-core/src/state/useCharacterState.d.ts +52 -0
- package/packages/app-core/src/state/useCharacterState.d.ts.map +1 -0
- package/packages/app-core/src/state/useCharacterState.js +208 -0
- package/packages/app-core/src/state/useChatCallbacks.d.ts +168 -0
- package/packages/app-core/src/state/useChatCallbacks.d.ts.map +1 -0
- package/packages/app-core/src/state/useChatCallbacks.js +773 -0
- package/packages/app-core/src/state/useChatLifecycle.d.ts +104 -0
- package/packages/app-core/src/state/useChatLifecycle.d.ts.map +1 -0
- package/packages/app-core/src/state/useChatLifecycle.js +584 -0
- package/packages/app-core/src/state/useChatSend.d.ts +81 -0
- package/packages/app-core/src/state/useChatSend.d.ts.map +1 -0
- package/packages/app-core/src/state/useChatSend.js +924 -0
- package/packages/app-core/src/state/useChatState.d.ts +144 -0
- package/packages/app-core/src/state/useChatState.d.ts.map +1 -0
- package/packages/app-core/src/state/useChatState.js +251 -0
- package/packages/app-core/src/state/useCloudState.d.ts +71 -0
- package/packages/app-core/src/state/useCloudState.d.ts.map +1 -0
- package/packages/app-core/src/state/useCloudState.js +561 -0
- package/packages/app-core/src/state/useDataLoaders.d.ts +88 -0
- package/packages/app-core/src/state/useDataLoaders.d.ts.map +1 -0
- package/packages/app-core/src/state/useDataLoaders.js +394 -0
- package/packages/app-core/src/state/useDisplayPreferences.d.ts +23 -0
- package/packages/app-core/src/state/useDisplayPreferences.d.ts.map +1 -0
- package/packages/app-core/src/state/useDisplayPreferences.js +64 -0
- package/packages/app-core/src/state/useExportImportState.d.ts +32 -0
- package/packages/app-core/src/state/useExportImportState.d.ts.map +1 -0
- package/packages/app-core/src/state/useExportImportState.js +140 -0
- package/packages/app-core/src/state/useLifecycleState.d.ts +123 -0
- package/packages/app-core/src/state/useLifecycleState.d.ts.map +1 -0
- package/packages/app-core/src/state/useLifecycleState.js +258 -0
- package/packages/app-core/src/state/useLogsState.d.ts +24 -0
- package/packages/app-core/src/state/useLogsState.d.ts.map +1 -0
- package/packages/app-core/src/state/useLogsState.js +87 -0
- package/packages/app-core/src/state/useMiscUiState.d.ts +87 -0
- package/packages/app-core/src/state/useMiscUiState.d.ts.map +1 -0
- package/packages/app-core/src/state/useMiscUiState.js +150 -0
- package/packages/app-core/src/state/useNavigationState.d.ts +29 -0
- package/packages/app-core/src/state/useNavigationState.d.ts.map +1 -0
- package/packages/app-core/src/state/useNavigationState.js +122 -0
- package/packages/app-core/src/state/useOnboardingCallbacks.d.ts +100 -0
- package/packages/app-core/src/state/useOnboardingCallbacks.d.ts.map +1 -0
- package/packages/app-core/src/state/useOnboardingCallbacks.js +792 -0
- package/packages/app-core/src/state/useOnboardingCompat.d.ts +61 -0
- package/packages/app-core/src/state/useOnboardingCompat.d.ts.map +1 -0
- package/packages/app-core/src/state/useOnboardingCompat.js +110 -0
- package/packages/app-core/src/state/useOnboardingState.d.ts +126 -0
- package/packages/app-core/src/state/useOnboardingState.d.ts.map +1 -0
- package/packages/app-core/src/state/useOnboardingState.js +263 -0
- package/packages/app-core/src/state/usePairingState.d.ts +21 -0
- package/packages/app-core/src/state/usePairingState.d.ts.map +1 -0
- package/packages/app-core/src/state/usePairingState.js +60 -0
- package/packages/app-core/src/state/usePluginsSkillsState.d.ts +131 -0
- package/packages/app-core/src/state/usePluginsSkillsState.d.ts.map +1 -0
- package/packages/app-core/src/state/usePluginsSkillsState.js +572 -0
- package/packages/app-core/src/state/useStartupCoordinator.d.ts +40 -0
- package/packages/app-core/src/state/useStartupCoordinator.d.ts.map +1 -0
- package/packages/app-core/src/state/useStartupCoordinator.js +183 -0
- package/packages/app-core/src/state/useTriggersState.d.ts +29 -0
- package/packages/app-core/src/state/useTriggersState.d.ts.map +1 -0
- package/packages/app-core/src/state/useTriggersState.js +198 -0
- package/packages/app-core/src/state/useVincentState.d.ts +3 -0
- package/packages/app-core/src/state/useVincentState.d.ts.map +1 -0
- package/packages/app-core/src/state/useVincentState.js +13 -0
- package/packages/app-core/src/state/useWalletState.d.ts +97 -0
- package/packages/app-core/src/state/useWalletState.d.ts.map +1 -0
- package/packages/app-core/src/state/useWalletState.js +533 -0
- package/packages/app-core/src/state/vrm.d.ts +2 -0
- package/packages/app-core/src/state/vrm.d.ts.map +1 -0
- package/packages/app-core/src/state/vrm.js +1 -0
- package/packages/app-core/src/test-support/test-helpers.d.ts +111 -0
- package/packages/app-core/src/test-support/test-helpers.d.ts.map +1 -0
- package/packages/app-core/src/test-support/test-helpers.js +417 -0
- package/packages/app-core/src/themes/apply-theme.d.ts +24 -0
- package/packages/app-core/src/themes/apply-theme.d.ts.map +1 -0
- package/packages/app-core/src/themes/apply-theme.js +130 -0
- package/packages/app-core/src/types/index.d.ts +658 -0
- package/packages/app-core/src/types/index.d.ts.map +1 -0
- package/packages/app-core/src/types/index.js +4 -0
- package/packages/app-core/src/utils/asset-url.d.ts +24 -0
- package/packages/app-core/src/utils/asset-url.d.ts.map +1 -0
- package/packages/app-core/src/utils/asset-url.js +150 -0
- package/packages/app-core/src/utils/assistant-text.d.ts +2 -0
- package/packages/app-core/src/utils/assistant-text.d.ts.map +1 -0
- package/packages/app-core/src/utils/assistant-text.js +167 -0
- package/packages/app-core/src/utils/browser-tabs-renderer-registry.d.ts +56 -0
- package/packages/app-core/src/utils/browser-tabs-renderer-registry.d.ts.map +1 -0
- package/packages/app-core/src/utils/browser-tabs-renderer-registry.js +738 -0
- package/packages/app-core/src/utils/character-message-examples.d.ts +7 -0
- package/packages/app-core/src/utils/character-message-examples.d.ts.map +1 -0
- package/packages/app-core/src/utils/character-message-examples.js +122 -0
- package/packages/app-core/src/utils/clipboard.d.ts +2 -0
- package/packages/app-core/src/utils/clipboard.d.ts.map +1 -0
- package/packages/app-core/src/utils/clipboard.js +38 -0
- package/packages/app-core/src/utils/cloud-status.d.ts +3 -0
- package/packages/app-core/src/utils/cloud-status.d.ts.map +1 -0
- package/packages/app-core/src/utils/cloud-status.js +10 -0
- package/packages/app-core/src/utils/desktop-bug-report.d.ts +35 -0
- package/packages/app-core/src/utils/desktop-bug-report.d.ts.map +1 -0
- package/packages/app-core/src/utils/desktop-bug-report.js +47 -0
- package/packages/app-core/src/utils/desktop-dialogs.d.ts +24 -0
- package/packages/app-core/src/utils/desktop-dialogs.d.ts.map +1 -0
- package/packages/app-core/src/utils/desktop-dialogs.js +149 -0
- package/packages/app-core/src/utils/desktop-workspace.d.ts +86 -0
- package/packages/app-core/src/utils/desktop-workspace.d.ts.map +1 -0
- package/packages/app-core/src/utils/desktop-workspace.js +162 -0
- package/packages/app-core/src/utils/eliza-cloud-model-route.d.ts +3 -0
- package/packages/app-core/src/utils/eliza-cloud-model-route.d.ts.map +1 -0
- package/packages/app-core/src/utils/eliza-cloud-model-route.js +9 -0
- package/packages/app-core/src/utils/eliza-globals.d.ts +15 -0
- package/packages/app-core/src/utils/eliza-globals.d.ts.map +1 -0
- package/packages/app-core/src/utils/eliza-globals.js +50 -0
- package/packages/app-core/src/utils/env.d.ts +31 -0
- package/packages/app-core/src/utils/env.d.ts.map +1 -0
- package/packages/app-core/src/utils/env.js +51 -0
- package/packages/app-core/src/utils/errors.d.ts +13 -0
- package/packages/app-core/src/utils/errors.d.ts.map +1 -0
- package/packages/app-core/src/utils/errors.js +25 -0
- package/packages/app-core/src/utils/format.d.ts +66 -0
- package/packages/app-core/src/utils/format.d.ts.map +1 -0
- package/packages/app-core/src/utils/format.js +121 -0
- package/packages/app-core/src/utils/index.d.ts +15 -0
- package/packages/app-core/src/utils/index.d.ts.map +1 -0
- package/packages/app-core/src/utils/index.js +14 -0
- package/packages/app-core/src/utils/knowledge-upload-image.d.ts +27 -0
- package/packages/app-core/src/utils/knowledge-upload-image.d.ts.map +1 -0
- package/packages/app-core/src/utils/knowledge-upload-image.js +146 -0
- package/packages/app-core/src/utils/labels.d.ts +6 -0
- package/packages/app-core/src/utils/labels.d.ts.map +1 -0
- package/packages/app-core/src/utils/labels.js +41 -0
- package/packages/app-core/src/utils/name-tokens.d.ts +24 -0
- package/packages/app-core/src/utils/name-tokens.d.ts.map +1 -0
- package/packages/app-core/src/utils/name-tokens.js +36 -0
- package/packages/app-core/src/utils/number-parsing.d.ts +26 -0
- package/packages/app-core/src/utils/number-parsing.d.ts.map +1 -0
- package/packages/app-core/src/utils/number-parsing.js +51 -0
- package/packages/app-core/src/utils/openExternalUrl.d.ts +21 -0
- package/packages/app-core/src/utils/openExternalUrl.d.ts.map +1 -0
- package/packages/app-core/src/utils/openExternalUrl.js +67 -0
- package/packages/app-core/src/utils/owner-name.d.ts +3 -0
- package/packages/app-core/src/utils/owner-name.d.ts.map +1 -0
- package/packages/app-core/src/utils/owner-name.js +7 -0
- package/packages/app-core/src/utils/serialise.d.ts +12 -0
- package/packages/app-core/src/utils/serialise.d.ts.map +1 -0
- package/packages/app-core/src/utils/serialise.js +21 -0
- package/packages/app-core/src/utils/streaming-text.d.ts +9 -0
- package/packages/app-core/src/utils/streaming-text.d.ts.map +1 -0
- package/packages/app-core/src/utils/streaming-text.js +112 -0
- package/packages/app-core/src/utils/subscription-auth.d.ts +9 -0
- package/packages/app-core/src/utils/subscription-auth.d.ts.map +1 -0
- package/packages/app-core/src/utils/subscription-auth.js +48 -0
- package/packages/app-core/src/utils/trajectory-format.d.ts +6 -0
- package/packages/app-core/src/utils/trajectory-format.d.ts.map +1 -0
- package/packages/app-core/src/utils/trajectory-format.js +43 -0
- package/packages/app-core/src/utils/tts-debug.d.ts +9 -0
- package/packages/app-core/src/utils/tts-debug.d.ts.map +1 -0
- package/packages/app-core/src/utils/tts-debug.js +69 -0
- package/packages/app-core/src/voice/character-voice-config.d.ts +9 -0
- package/packages/app-core/src/voice/character-voice-config.d.ts.map +1 -0
- package/packages/app-core/src/voice/character-voice-config.js +83 -0
- package/packages/app-core/src/voice/index.d.ts +3 -0
- package/packages/app-core/src/voice/index.d.ts.map +1 -0
- package/packages/app-core/src/voice/index.js +2 -0
- package/packages/app-core/src/voice/types.d.ts +40 -0
- package/packages/app-core/src/voice/types.d.ts.map +1 -0
- package/packages/app-core/src/voice/types.js +295 -0
- package/packages/app-core/src/wallet-rpc.d.ts +9 -0
- package/packages/app-core/src/wallet-rpc.d.ts.map +1 -0
- package/packages/app-core/src/wallet-rpc.js +133 -0
- package/packages/app-core/src/widgets/WidgetHost.d.ts +32 -0
- package/packages/app-core/src/widgets/WidgetHost.d.ts.map +1 -0
- package/packages/app-core/src/widgets/WidgetHost.js +57 -0
- package/packages/app-core/src/widgets/index.d.ts +6 -0
- package/packages/app-core/src/widgets/index.d.ts.map +1 -0
- package/packages/app-core/src/widgets/index.js +2 -0
- package/packages/app-core/src/widgets/registry.d.ts +58 -0
- package/packages/app-core/src/widgets/registry.d.ts.map +1 -0
- package/packages/app-core/src/widgets/registry.js +221 -0
- package/packages/app-core/src/widgets/types.d.ts +50 -0
- package/packages/app-core/src/widgets/types.d.ts.map +1 -0
- package/packages/app-core/src/widgets/types.js +1 -0
- package/packages/app-core/src/widgets/useChatSidebarVisibility.d.ts +16 -0
- package/packages/app-core/src/widgets/useChatSidebarVisibility.d.ts.map +1 -0
- package/packages/app-core/src/widgets/useChatSidebarVisibility.js +54 -0
- package/packages/app-core/src/widgets/visibility.d.ts +55 -0
- package/packages/app-core/src/widgets/visibility.d.ts.map +1 -0
- package/packages/app-core/src/widgets/visibility.js +90 -0
- package/packages/shared/src/app-hero-art.d.ts +13 -0
- package/packages/shared/src/app-hero-art.d.ts.map +1 -0
- package/packages/shared/src/app-hero-art.js +357 -0
- package/packages/shared/src/awareness/index.d.ts +2 -0
- package/packages/shared/src/awareness/index.d.ts.map +1 -0
- package/packages/shared/src/awareness/index.js +1 -0
- package/packages/shared/src/awareness/registry.d.ts +27 -0
- package/packages/shared/src/awareness/registry.d.ts.map +1 -0
- package/packages/shared/src/awareness/registry.js +161 -0
- package/packages/shared/src/config/types.agent-defaults.d.ts +383 -0
- package/packages/shared/src/config/types.agent-defaults.d.ts.map +1 -0
- package/packages/shared/src/config/types.agent-defaults.js +1 -0
- package/packages/shared/src/config/types.agents.d.ts +114 -0
- package/packages/shared/src/config/types.agents.d.ts.map +1 -0
- package/packages/shared/src/config/types.agents.js +1 -0
- package/packages/shared/src/config/types.d.ts +8 -0
- package/packages/shared/src/config/types.d.ts.map +1 -0
- package/packages/shared/src/config/types.eliza.d.ts +711 -0
- package/packages/shared/src/config/types.eliza.d.ts.map +1 -0
- package/packages/shared/src/config/types.eliza.js +1 -0
- package/packages/shared/src/config/types.gateway.d.ts +216 -0
- package/packages/shared/src/config/types.gateway.d.ts.map +1 -0
- package/packages/shared/src/config/types.gateway.js +1 -0
- package/packages/shared/src/config/types.hooks.d.ts +107 -0
- package/packages/shared/src/config/types.hooks.d.ts.map +1 -0
- package/packages/shared/src/config/types.hooks.js +1 -0
- package/packages/shared/src/config/types.js +7 -0
- package/packages/shared/src/config/types.messages.d.ts +176 -0
- package/packages/shared/src/config/types.messages.d.ts.map +1 -0
- package/packages/shared/src/config/types.messages.js +1 -0
- package/packages/shared/src/config/types.tools.d.ts +400 -0
- package/packages/shared/src/config/types.tools.d.ts.map +1 -0
- package/packages/shared/src/config/types.tools.js +1 -0
- package/packages/shared/src/connector-cred-types.d.ts +27 -0
- package/packages/shared/src/connector-cred-types.d.ts.map +1 -0
- package/packages/shared/src/connector-cred-types.js +63 -0
- package/packages/shared/src/connectors.d.ts +13 -0
- package/packages/shared/src/connectors.d.ts.map +1 -0
- package/packages/shared/src/connectors.js +96 -0
- package/packages/shared/src/contracts/apps.d.ts +259 -0
- package/packages/shared/src/contracts/apps.d.ts.map +1 -0
- package/packages/shared/src/contracts/apps.js +203 -0
- package/packages/shared/src/contracts/awareness.d.ts +38 -0
- package/packages/shared/src/contracts/awareness.d.ts.map +1 -0
- package/packages/shared/src/contracts/awareness.js +7 -0
- package/packages/shared/src/contracts/cloud-topology.d.ts +13 -0
- package/packages/shared/src/contracts/cloud-topology.d.ts.map +1 -0
- package/packages/shared/src/contracts/cloud-topology.js +71 -0
- package/packages/shared/src/contracts/config.d.ts +146 -0
- package/packages/shared/src/contracts/config.d.ts.map +1 -0
- package/packages/shared/src/contracts/config.js +4 -0
- package/packages/shared/src/contracts/content-pack.d.ts +131 -0
- package/packages/shared/src/contracts/content-pack.d.ts.map +1 -0
- package/packages/shared/src/contracts/content-pack.js +102 -0
- package/packages/shared/src/contracts/drop.d.ts +20 -0
- package/packages/shared/src/contracts/drop.d.ts.map +1 -0
- package/packages/shared/src/contracts/drop.js +4 -0
- package/packages/shared/src/contracts/inbox.d.ts +26 -0
- package/packages/shared/src/contracts/inbox.d.ts.map +1 -0
- package/packages/shared/src/contracts/inbox.js +1 -0
- package/packages/shared/src/contracts/index.d.ts +15 -0
- package/packages/shared/src/contracts/index.d.ts.map +1 -0
- package/packages/shared/src/contracts/index.js +14 -0
- package/packages/shared/src/contracts/lifeops-connector-degradation.d.ts +9 -0
- package/packages/shared/src/contracts/lifeops-connector-degradation.d.ts.map +1 -0
- package/packages/shared/src/contracts/lifeops-connector-degradation.js +13 -0
- package/packages/shared/src/contracts/lifeops-extensions.d.ts +340 -0
- package/packages/shared/src/contracts/lifeops-extensions.d.ts.map +1 -0
- package/packages/shared/src/contracts/lifeops-extensions.js +36 -0
- package/packages/shared/src/contracts/lifeops.d.ts +2729 -0
- package/packages/shared/src/contracts/lifeops.d.ts.map +1 -0
- package/packages/shared/src/contracts/lifeops.js +556 -0
- package/packages/shared/src/contracts/onboarding.d.ts +408 -0
- package/packages/shared/src/contracts/onboarding.d.ts.map +1 -0
- package/packages/shared/src/contracts/onboarding.js +1021 -0
- package/packages/shared/src/contracts/permissions.d.ts +38 -0
- package/packages/shared/src/contracts/permissions.d.ts.map +1 -0
- package/packages/shared/src/contracts/permissions.js +4 -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/contracts/service-routing.d.ts +162 -0
- package/packages/shared/src/contracts/service-routing.d.ts.map +1 -0
- package/packages/shared/src/contracts/service-routing.js +392 -0
- package/packages/shared/src/contracts/theme.d.ts +136 -0
- package/packages/shared/src/contracts/theme.d.ts.map +1 -0
- package/packages/shared/src/contracts/theme.js +133 -0
- package/packages/shared/src/contracts/verification.d.ts +9 -0
- package/packages/shared/src/contracts/verification.d.ts.map +1 -0
- package/packages/shared/src/contracts/verification.js +4 -0
- package/packages/shared/src/contracts/wallet.d.ts +615 -0
- package/packages/shared/src/contracts/wallet.d.ts.map +1 -0
- package/packages/shared/src/contracts/wallet.js +60 -0
- package/packages/shared/src/dev-settings-banner-style.d.ts +14 -0
- package/packages/shared/src/dev-settings-banner-style.d.ts.map +1 -0
- package/packages/shared/src/dev-settings-banner-style.js +57 -0
- package/packages/shared/src/dev-settings-table.d.ts +47 -0
- package/packages/shared/src/dev-settings-table.d.ts.map +1 -0
- package/packages/shared/src/dev-settings-table.js +188 -0
- package/packages/shared/src/env-utils.d.ts +5 -0
- package/packages/shared/src/env-utils.d.ts.map +1 -0
- package/packages/shared/src/env-utils.impl.d.ts +2 -0
- package/packages/shared/src/env-utils.impl.d.ts.map +1 -0
- package/packages/shared/src/env-utils.impl.js +9 -0
- package/packages/shared/src/env-utils.js +4 -0
- package/packages/shared/src/i18n/generated/validation-keyword-data.d.ts +1091 -0
- package/packages/shared/src/i18n/generated/validation-keyword-data.d.ts.map +1 -0
- package/packages/shared/src/i18n/generated/validation-keyword-data.js +1094 -0
- package/packages/shared/src/i18n/keyword-matching.d.ts +23 -0
- package/packages/shared/src/i18n/keyword-matching.d.ts.map +1 -0
- package/packages/shared/src/i18n/keyword-matching.js +112 -0
- package/packages/shared/src/i18n/validation-keywords.d.ts +13 -0
- package/packages/shared/src/i18n/validation-keywords.d.ts.map +1 -0
- package/packages/shared/src/i18n/validation-keywords.js +12 -0
- package/packages/shared/src/index.d.ts +26 -0
- package/packages/shared/src/index.d.ts.map +1 -0
- package/packages/shared/src/index.js +37 -0
- package/packages/shared/src/onboarding-presets.characters.d.ts +22 -0
- package/packages/shared/src/onboarding-presets.characters.d.ts.map +1 -0
- package/packages/shared/src/onboarding-presets.characters.js +2616 -0
- package/packages/shared/src/onboarding-presets.d.ts +40 -0
- package/packages/shared/src/onboarding-presets.d.ts.map +1 -0
- package/packages/shared/src/onboarding-presets.js +180 -0
- package/packages/shared/src/onboarding-presets.shared.d.ts +2 -0
- package/packages/shared/src/onboarding-presets.shared.d.ts.map +1 -0
- package/packages/shared/src/onboarding-presets.shared.js +7 -0
- package/packages/shared/src/recent-messages-state.d.ts +10 -0
- package/packages/shared/src/recent-messages-state.d.ts.map +1 -0
- package/packages/shared/src/recent-messages-state.js +11 -0
- package/packages/shared/src/restart.d.ts +27 -0
- package/packages/shared/src/restart.d.ts.map +1 -0
- package/packages/shared/src/restart.js +28 -0
- package/packages/shared/src/runtime-env.d.ts +84 -0
- package/packages/shared/src/runtime-env.d.ts.map +1 -0
- package/packages/shared/src/runtime-env.js +261 -0
- package/packages/shared/src/settings-debug.d.ts +20 -0
- package/packages/shared/src/settings-debug.d.ts.map +1 -0
- package/packages/shared/src/settings-debug.js +114 -0
- package/packages/shared/src/spoken-text.d.ts +2 -0
- package/packages/shared/src/spoken-text.d.ts.map +1 -0
- package/packages/shared/src/spoken-text.js +56 -0
- package/packages/shared/src/themes/index.d.ts +7 -0
- package/packages/shared/src/themes/index.d.ts.map +1 -0
- package/packages/shared/src/themes/index.js +5 -0
- package/packages/shared/src/themes/presets.d.ts +15 -0
- package/packages/shared/src/themes/presets.d.ts.map +1 -0
- package/packages/shared/src/themes/presets.js +788 -0
- package/packages/shared/src/type-guards.d.ts +29 -0
- package/packages/shared/src/type-guards.d.ts.map +1 -0
- package/packages/shared/src/type-guards.js +43 -0
- package/packages/shared/src/validation-keywords.d.ts +2 -0
- package/packages/shared/src/validation-keywords.d.ts.map +1 -0
- package/packages/shared/src/validation-keywords.js +1 -0
- package/packages/skills/src/formatter.d.ts +44 -0
- package/packages/skills/src/formatter.d.ts.map +1 -0
- package/packages/skills/src/formatter.js +182 -0
- package/packages/skills/src/frontmatter.d.ts +51 -0
- package/packages/skills/src/frontmatter.d.ts.map +1 -0
- package/packages/skills/src/frontmatter.js +155 -0
- package/packages/skills/src/index.d.ts +29 -0
- package/packages/skills/src/index.d.ts.map +1 -0
- package/packages/skills/src/index.js +31 -0
- package/packages/skills/src/loader.d.ts +33 -0
- package/packages/skills/src/loader.d.ts.map +1 -0
- package/packages/skills/src/loader.js +369 -0
- package/packages/skills/src/resolver.d.ts +35 -0
- package/packages/skills/src/resolver.d.ts.map +1 -0
- package/packages/skills/src/resolver.js +143 -0
- package/packages/skills/src/types.d.ts +238 -0
- package/packages/skills/src/types.d.ts.map +1 -0
- package/packages/skills/src/types.js +1 -0
- package/packages/typescript/src/action-docs.d.ts +26 -0
- package/packages/typescript/src/action-docs.d.ts.map +1 -0
- package/packages/typescript/src/action-docs.js +119 -0
- package/packages/typescript/src/actions.d.ts +29 -0
- package/packages/typescript/src/actions.d.ts.map +1 -0
- package/packages/typescript/src/actions.js +551 -0
- package/packages/typescript/src/character-utils.d.ts +138 -0
- package/packages/typescript/src/character-utils.d.ts.map +1 -0
- package/packages/typescript/src/character-utils.js +271 -0
- package/packages/typescript/src/character.d.ts +68 -0
- package/packages/typescript/src/character.d.ts.map +1 -0
- package/packages/typescript/src/character.js +155 -0
- package/packages/typescript/src/connection.d.ts +45 -0
- package/packages/typescript/src/connection.d.ts.map +1 -0
- package/packages/typescript/src/connection.js +149 -0
- package/packages/typescript/src/constants/index.d.ts +7 -0
- package/packages/typescript/src/constants/index.d.ts.map +1 -0
- package/packages/typescript/src/constants/index.js +6 -0
- package/packages/typescript/src/constants/secrets.d.ts +99 -0
- package/packages/typescript/src/constants/secrets.d.ts.map +1 -0
- package/packages/typescript/src/constants/secrets.js +239 -0
- package/packages/typescript/src/database/inMemoryAdapter.d.ts +285 -0
- package/packages/typescript/src/database/inMemoryAdapter.d.ts.map +1 -0
- package/packages/typescript/src/database/inMemoryAdapter.js +1171 -0
- package/packages/typescript/src/database.d.ts +426 -0
- package/packages/typescript/src/database.d.ts.map +1 -0
- package/packages/typescript/src/database.js +24 -0
- package/packages/typescript/src/entities.d.ts +11 -0
- package/packages/typescript/src/entities.d.ts.map +1 -0
- package/packages/typescript/src/entities.js +437 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/addContact.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/addContact.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/addContact.js +142 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/followRoom.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/followRoom.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/followRoom.js +183 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/imageGeneration.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/imageGeneration.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/imageGeneration.js +148 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/index.d.ts +21 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/index.js +20 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/muteRoom.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/muteRoom.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/muteRoom.js +181 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/removeContact.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/removeContact.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/removeContact.js +121 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/roles.d.ts +13 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/roles.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/roles.js +317 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/scheduleFollowUp.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/scheduleFollowUp.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/scheduleFollowUp.js +138 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/searchContacts.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/searchContacts.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/searchContacts.js +178 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/sendMessage.d.ts +15 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/sendMessage.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/sendMessage.js +476 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/settings.d.ts +22 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/settings.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/settings.js +823 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/think.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/think.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/think.js +84 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/unfollowRoom.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/unfollowRoom.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/unfollowRoom.js +134 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/unmuteRoom.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/unmuteRoom.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/unmuteRoom.js +193 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/updateContact.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/updateContact.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/updateContact.js +219 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/updateEntity.d.ts +43 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/updateEntity.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/actions/updateEntity.js +372 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/append.d.ts +4 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/append.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/append.js +150 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/delete.d.ts +4 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/delete.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/delete.js +136 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/list.d.ts +4 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/list.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/list.js +84 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-attachment.d.ts +4 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-attachment.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-attachment.js +120 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-file.d.ts +16 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-file.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read-file.js +202 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read.d.ts +4 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/read.js +138 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/remove-from-clipboard.d.ts +4 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/remove-from-clipboard.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/remove-from-clipboard.js +102 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/save-attachment-to-clipboard.d.ts +4 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/save-attachment-to-clipboard.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/save-attachment-to-clipboard.js +134 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/search.d.ts +4 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/search.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/search.js +139 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/write.d.ts +4 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/write.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/actions/write.js +138 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/index.d.ts +41 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/index.js +82 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/providers/clipboard.d.ts +4 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/providers/clipboard.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/providers/clipboard.js +62 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/attachmentContext.d.ts +16 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/attachmentContext.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/attachmentContext.js +162 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/clipboardService.d.ts +65 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/clipboardService.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/clipboardService.js +357 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardPersistence.d.ts +24 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardPersistence.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardPersistence.js +63 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardService.d.ts +29 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardService.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/services/taskClipboardService.js +195 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/specs.d.ts +15 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/specs.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/specs.js +164 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/types.d.ts +92 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/types.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/clipboard/types.js +4 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/_factCandidates.d.ts +11 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/_factCandidates.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/_factCandidates.js +49 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/factExtractor.d.ts +23 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/factExtractor.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/factExtractor.js +608 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/factExtractor.schema.d.ts +210 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/factExtractor.schema.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/factExtractor.schema.js +114 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/index.d.ts +11 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/index.js +10 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/reflection.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/reflection.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/reflection.js +642 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/relationshipExtraction.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/relationshipExtraction.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/relationshipExtraction.js +643 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/skillExtraction.d.ts +25 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/skillExtraction.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/skillExtraction.js +362 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/skillRefinement.d.ts +21 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/skillRefinement.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/skillRefinement.js +541 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/task-completion.d.ts +12 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/task-completion.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/evaluators/task-completion.js +14 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/actions/record-experience.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/actions/record-experience.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/actions/record-experience.js +114 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/actions/search-experiences.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/actions/search-experiences.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/actions/search-experiences.js +110 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/evaluators/experienceEvaluator.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/evaluators/experienceEvaluator.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/evaluators/experienceEvaluator.js +296 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/generated/prompts/typescript/prompts.d.ts +12 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/generated/prompts/typescript/prompts.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/generated/prompts/typescript/prompts.js +41 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/spec-helpers.d.ts +49 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/spec-helpers.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/spec-helpers.js +78 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/specs.d.ts +159 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/specs.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/generated/specs/specs.js +192 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/index.d.ts +10 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/index.js +8 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/providers/experienceProvider.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/providers/experienceProvider.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/providers/experienceProvider.js +61 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/service.d.ts +88 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/service.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/service.js +1194 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/types.d.ts +141 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/types.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/types.js +22 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/confidenceDecay.d.ts +34 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/confidenceDecay.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/confidenceDecay.js +106 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceFormatter.d.ts +24 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceFormatter.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceFormatter.js +152 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceRelationships.d.ts +26 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceRelationships.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceRelationships.js +129 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceText.d.ts +8 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceText.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/utils/experienceText.js +175 -0
- package/packages/typescript/src/features/advanced-capabilities/form/actions/restore.d.ts +13 -0
- package/packages/typescript/src/features/advanced-capabilities/form/actions/restore.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/actions/restore.js +152 -0
- package/packages/typescript/src/features/advanced-capabilities/form/builder.d.ts +101 -0
- package/packages/typescript/src/features/advanced-capabilities/form/builder.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/builder.js +362 -0
- package/packages/typescript/src/features/advanced-capabilities/form/builtins.d.ts +16 -0
- package/packages/typescript/src/features/advanced-capabilities/form/builtins.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/builtins.js +245 -0
- package/packages/typescript/src/features/advanced-capabilities/form/defaults.d.ts +32 -0
- package/packages/typescript/src/features/advanced-capabilities/form/defaults.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/defaults.js +98 -0
- package/packages/typescript/src/features/advanced-capabilities/form/evaluators/extractor.d.ts +12 -0
- package/packages/typescript/src/features/advanced-capabilities/form/evaluators/extractor.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/evaluators/extractor.js +231 -0
- package/packages/typescript/src/features/advanced-capabilities/form/extraction.d.ts +24 -0
- package/packages/typescript/src/features/advanced-capabilities/form/extraction.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/extraction.js +319 -0
- package/packages/typescript/src/features/advanced-capabilities/form/index.d.ts +22 -0
- package/packages/typescript/src/features/advanced-capabilities/form/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/index.js +52 -0
- package/packages/typescript/src/features/advanced-capabilities/form/intent.d.ts +41 -0
- package/packages/typescript/src/features/advanced-capabilities/form/intent.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/intent.js +119 -0
- package/packages/typescript/src/features/advanced-capabilities/form/providers/context.d.ts +11 -0
- package/packages/typescript/src/features/advanced-capabilities/form/providers/context.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/providers/context.js +166 -0
- package/packages/typescript/src/features/advanced-capabilities/form/service.d.ts +66 -0
- package/packages/typescript/src/features/advanced-capabilities/form/service.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/service.js +912 -0
- package/packages/typescript/src/features/advanced-capabilities/form/storage.d.ts +26 -0
- package/packages/typescript/src/features/advanced-capabilities/form/storage.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/storage.js +228 -0
- package/packages/typescript/src/features/advanced-capabilities/form/template.d.ts +10 -0
- package/packages/typescript/src/features/advanced-capabilities/form/template.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/template.js +56 -0
- package/packages/typescript/src/features/advanced-capabilities/form/ttl.d.ts +40 -0
- package/packages/typescript/src/features/advanced-capabilities/form/ttl.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/ttl.js +107 -0
- package/packages/typescript/src/features/advanced-capabilities/form/types.d.ts +589 -0
- package/packages/typescript/src/features/advanced-capabilities/form/types.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/types.js +71 -0
- package/packages/typescript/src/features/advanced-capabilities/form/validation.d.ts +24 -0
- package/packages/typescript/src/features/advanced-capabilities/form/validation.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/form/validation.js +311 -0
- package/packages/typescript/src/features/advanced-capabilities/index.d.ts +47 -0
- package/packages/typescript/src/features/advanced-capabilities/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/index.js +121 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/manage-message-examples.d.ts +16 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/manage-message-examples.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/manage-message-examples.js +356 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/manage-post-examples.d.ts +9 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/manage-post-examples.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/manage-post-examples.js +234 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/manage-style-rules.d.ts +8 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/manage-style-rules.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/manage-style-rules.js +290 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/modify-character.d.ts +7 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/modify-character.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/modify-character.js +1299 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/persist-character.d.ts +12 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/persist-character.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/persist-character.js +167 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/set-voice-config.d.ts +13 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/set-voice-config.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/set-voice-config.js +193 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/shared/persist-character-patch.d.ts +18 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/shared/persist-character-patch.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/actions/shared/persist-character-patch.js +42 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/evaluators/character-evolution.d.ts +53 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/evaluators/character-evolution.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/evaluators/character-evolution.js +429 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/index.d.ts +14 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/index.js +12 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/providers/user-personality.d.ts +8 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/providers/user-personality.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/providers/user-personality.js +57 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/services/character-file-manager.d.ts +71 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/services/character-file-manager.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/services/character-file-manager.js +478 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/types.d.ts +13 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/types.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/types.js +8 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/contacts.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/contacts.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/contacts.js +77 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/facts.d.ts +9 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/facts.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/facts.js +272 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/followUps.d.ts +3 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/followUps.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/followUps.js +112 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/index.d.ts +13 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/index.js +12 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/knowledge.d.ts +9 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/knowledge.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/knowledge.js +83 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/relationships.d.ts +15 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/relationships.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/relationships.js +140 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/roles.d.ts +19 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/roles.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/roles.js +231 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/settings.d.ts +7 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/settings.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-capabilities/providers/settings.js +294 -0
- package/packages/typescript/src/features/advanced-memory/evaluators/index.d.ts +3 -0
- package/packages/typescript/src/features/advanced-memory/evaluators/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/evaluators/index.js +2 -0
- package/packages/typescript/src/features/advanced-memory/evaluators/long-term-extraction.d.ts +3 -0
- package/packages/typescript/src/features/advanced-memory/evaluators/long-term-extraction.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/evaluators/long-term-extraction.js +199 -0
- package/packages/typescript/src/features/advanced-memory/evaluators/summarization.d.ts +3 -0
- package/packages/typescript/src/features/advanced-memory/evaluators/summarization.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/evaluators/summarization.js +240 -0
- package/packages/typescript/src/features/advanced-memory/index.d.ts +16 -0
- package/packages/typescript/src/features/advanced-memory/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/index.js +26 -0
- package/packages/typescript/src/features/advanced-memory/prompts.d.ts +2 -0
- package/packages/typescript/src/features/advanced-memory/prompts.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/prompts.js +1 -0
- package/packages/typescript/src/features/advanced-memory/providers/context-summary.d.ts +3 -0
- package/packages/typescript/src/features/advanced-memory/providers/context-summary.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/providers/context-summary.js +85 -0
- package/packages/typescript/src/features/advanced-memory/providers/index.d.ts +3 -0
- package/packages/typescript/src/features/advanced-memory/providers/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/providers/index.js +2 -0
- package/packages/typescript/src/features/advanced-memory/providers/long-term-memory.d.ts +3 -0
- package/packages/typescript/src/features/advanced-memory/providers/long-term-memory.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/providers/long-term-memory.js +92 -0
- package/packages/typescript/src/features/advanced-memory/schemas/index.d.ts +5 -0
- package/packages/typescript/src/features/advanced-memory/schemas/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/schemas/index.js +3 -0
- package/packages/typescript/src/features/advanced-memory/schemas/long-term-memories.d.ts +10 -0
- package/packages/typescript/src/features/advanced-memory/schemas/long-term-memories.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/schemas/long-term-memories.js +65 -0
- package/packages/typescript/src/features/advanced-memory/schemas/memory-access-logs.d.ts +10 -0
- package/packages/typescript/src/features/advanced-memory/schemas/memory-access-logs.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/schemas/memory-access-logs.js +45 -0
- package/packages/typescript/src/features/advanced-memory/schemas/session-summaries.d.ts +10 -0
- package/packages/typescript/src/features/advanced-memory/schemas/session-summaries.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/schemas/session-summaries.js +66 -0
- package/packages/typescript/src/features/advanced-memory/services/memory-service.d.ts +38 -0
- package/packages/typescript/src/features/advanced-memory/services/memory-service.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/services/memory-service.js +378 -0
- package/packages/typescript/src/features/advanced-memory/trajectory.d.ts +10 -0
- package/packages/typescript/src/features/advanced-memory/trajectory.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/trajectory.js +33 -0
- package/packages/typescript/src/features/advanced-memory/types.d.ts +68 -0
- package/packages/typescript/src/features/advanced-memory/types.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-memory/types.js +6 -0
- package/packages/typescript/src/features/advanced-planning/actions/chain-example.d.ts +6 -0
- package/packages/typescript/src/features/advanced-planning/actions/chain-example.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-planning/actions/chain-example.js +178 -0
- package/packages/typescript/src/features/advanced-planning/index.d.ts +5 -0
- package/packages/typescript/src/features/advanced-planning/index.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-planning/index.js +20 -0
- package/packages/typescript/src/features/advanced-planning/providers/message-classifier.d.ts +3 -0
- package/packages/typescript/src/features/advanced-planning/providers/message-classifier.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-planning/providers/message-classifier.js +105 -0
- package/packages/typescript/src/features/advanced-planning/services/planning-service.d.ts +77 -0
- package/packages/typescript/src/features/advanced-planning/services/planning-service.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-planning/services/planning-service.js +875 -0
- package/packages/typescript/src/features/advanced-planning/types.d.ts +78 -0
- package/packages/typescript/src/features/advanced-planning/types.d.ts.map +1 -0
- package/packages/typescript/src/features/advanced-planning/types.js +1 -0
- package/packages/typescript/src/features/autonomy/action.d.ts +14 -0
- package/packages/typescript/src/features/autonomy/action.d.ts.map +1 -0
- package/packages/typescript/src/features/autonomy/action.js +177 -0
- package/packages/typescript/src/features/autonomy/execution-facade.d.ts +22 -0
- package/packages/typescript/src/features/autonomy/execution-facade.d.ts.map +1 -0
- package/packages/typescript/src/features/autonomy/execution-facade.js +150 -0
- package/packages/typescript/src/features/autonomy/index.d.ts +11 -0
- package/packages/typescript/src/features/autonomy/index.d.ts.map +1 -0
- package/packages/typescript/src/features/autonomy/index.js +13 -0
- package/packages/typescript/src/features/autonomy/providers.d.ts +21 -0
- package/packages/typescript/src/features/autonomy/providers.d.ts.map +1 -0
- package/packages/typescript/src/features/autonomy/providers.js +154 -0
- package/packages/typescript/src/features/autonomy/routes.d.ts +11 -0
- package/packages/typescript/src/features/autonomy/routes.d.ts.map +1 -0
- package/packages/typescript/src/features/autonomy/routes.js +158 -0
- package/packages/typescript/src/features/autonomy/service.d.ts +138 -0
- package/packages/typescript/src/features/autonomy/service.d.ts.map +1 -0
- package/packages/typescript/src/features/autonomy/service.js +813 -0
- package/packages/typescript/src/features/autonomy/types.d.ts +31 -0
- package/packages/typescript/src/features/autonomy/types.d.ts.map +1 -0
- package/packages/typescript/src/features/autonomy/types.js +6 -0
- package/packages/typescript/src/features/basic-capabilities/actions/choice.d.ts +4 -0
- package/packages/typescript/src/features/basic-capabilities/actions/choice.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/actions/choice.js +278 -0
- package/packages/typescript/src/features/basic-capabilities/actions/ignore.d.ts +3 -0
- package/packages/typescript/src/features/basic-capabilities/actions/ignore.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/actions/ignore.js +23 -0
- package/packages/typescript/src/features/basic-capabilities/actions/index.d.ts +10 -0
- package/packages/typescript/src/features/basic-capabilities/actions/index.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/actions/index.js +9 -0
- package/packages/typescript/src/features/basic-capabilities/actions/none.d.ts +3 -0
- package/packages/typescript/src/features/basic-capabilities/actions/none.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/actions/none.js +26 -0
- package/packages/typescript/src/features/basic-capabilities/actions/reply.d.ts +3 -0
- package/packages/typescript/src/features/basic-capabilities/actions/reply.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/actions/reply.js +81 -0
- package/packages/typescript/src/features/basic-capabilities/index.d.ts +109 -0
- package/packages/typescript/src/features/basic-capabilities/index.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/index.js +1033 -0
- package/packages/typescript/src/features/basic-capabilities/providers/actionState.d.ts +7 -0
- package/packages/typescript/src/features/basic-capabilities/providers/actionState.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/actionState.js +189 -0
- package/packages/typescript/src/features/basic-capabilities/providers/actions.d.ts +35 -0
- package/packages/typescript/src/features/basic-capabilities/providers/actions.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/actions.js +142 -0
- package/packages/typescript/src/features/basic-capabilities/providers/attachments.d.ts +20 -0
- package/packages/typescript/src/features/basic-capabilities/providers/attachments.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/attachments.js +94 -0
- package/packages/typescript/src/features/basic-capabilities/providers/character.d.ts +17 -0
- package/packages/typescript/src/features/basic-capabilities/providers/character.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/character.js +190 -0
- package/packages/typescript/src/features/basic-capabilities/providers/choice.d.ts +11 -0
- package/packages/typescript/src/features/basic-capabilities/providers/choice.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/choice.js +86 -0
- package/packages/typescript/src/features/basic-capabilities/providers/contextBench.d.ts +12 -0
- package/packages/typescript/src/features/basic-capabilities/providers/contextBench.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/contextBench.js +50 -0
- package/packages/typescript/src/features/basic-capabilities/providers/currentTime.d.ts +11 -0
- package/packages/typescript/src/features/basic-capabilities/providers/currentTime.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/currentTime.js +56 -0
- package/packages/typescript/src/features/basic-capabilities/providers/entities.d.ts +7 -0
- package/packages/typescript/src/features/basic-capabilities/providers/entities.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/entities.js +39 -0
- package/packages/typescript/src/features/basic-capabilities/providers/evaluators.d.ts +27 -0
- package/packages/typescript/src/features/basic-capabilities/providers/evaluators.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/evaluators.js +107 -0
- package/packages/typescript/src/features/basic-capabilities/providers/index.d.ts +20 -0
- package/packages/typescript/src/features/basic-capabilities/providers/index.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/index.js +19 -0
- package/packages/typescript/src/features/basic-capabilities/providers/non-actionable-chatter.d.ts +5 -0
- package/packages/typescript/src/features/basic-capabilities/providers/non-actionable-chatter.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/non-actionable-chatter.js +20 -0
- package/packages/typescript/src/features/basic-capabilities/providers/providers.d.ts +18 -0
- package/packages/typescript/src/features/basic-capabilities/providers/providers.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/providers.js +75 -0
- package/packages/typescript/src/features/basic-capabilities/providers/recentMessages.d.ts +14 -0
- package/packages/typescript/src/features/basic-capabilities/providers/recentMessages.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/recentMessages.js +325 -0
- package/packages/typescript/src/features/basic-capabilities/providers/time.d.ts +12 -0
- package/packages/typescript/src/features/basic-capabilities/providers/time.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/time.js +36 -0
- package/packages/typescript/src/features/basic-capabilities/providers/uiContext.d.ts +3 -0
- package/packages/typescript/src/features/basic-capabilities/providers/uiContext.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/uiContext.js +48 -0
- package/packages/typescript/src/features/basic-capabilities/providers/world.d.ts +8 -0
- package/packages/typescript/src/features/basic-capabilities/providers/world.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/providers/world.js +212 -0
- package/packages/typescript/src/features/evaluator-doc-examples.d.ts +4 -0
- package/packages/typescript/src/features/evaluator-doc-examples.d.ts.map +1 -0
- package/packages/typescript/src/features/evaluator-doc-examples.js +13 -0
- package/packages/typescript/src/features/index.d.ts +58 -0
- package/packages/typescript/src/features/index.d.ts.map +1 -0
- package/packages/typescript/src/features/index.js +148 -0
- package/packages/typescript/src/features/knowledge/actions.d.ts +8 -0
- package/packages/typescript/src/features/knowledge/actions.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/actions.js +735 -0
- package/packages/typescript/src/features/knowledge/config.d.ts +5 -0
- package/packages/typescript/src/features/knowledge/config.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/config.js +147 -0
- package/packages/typescript/src/features/knowledge/ctx-embeddings.d.ts +53 -0
- package/packages/typescript/src/features/knowledge/ctx-embeddings.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/ctx-embeddings.js +412 -0
- package/packages/typescript/src/features/knowledge/docs-loader.d.ts +27 -0
- package/packages/typescript/src/features/knowledge/docs-loader.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/docs-loader.js +226 -0
- package/packages/typescript/src/features/knowledge/document-processor.d.ts +27 -0
- package/packages/typescript/src/features/knowledge/document-processor.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/document-processor.js +629 -0
- package/packages/typescript/src/features/knowledge/documents-provider.d.ts +3 -0
- package/packages/typescript/src/features/knowledge/documents-provider.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/documents-provider.js +112 -0
- package/packages/typescript/src/features/knowledge/index.d.ts +17 -0
- package/packages/typescript/src/features/knowledge/index.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/index.js +30 -0
- package/packages/typescript/src/features/knowledge/llm.d.ts +27 -0
- package/packages/typescript/src/features/knowledge/llm.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/llm.js +444 -0
- package/packages/typescript/src/features/knowledge/provider.d.ts +3 -0
- package/packages/typescript/src/features/knowledge/provider.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/provider.js +114 -0
- package/packages/typescript/src/features/knowledge/service.d.ts +83 -0
- package/packages/typescript/src/features/knowledge/service.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/service.js +648 -0
- package/packages/typescript/src/features/knowledge/types.d.ts +162 -0
- package/packages/typescript/src/features/knowledge/types.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/types.js +57 -0
- package/packages/typescript/src/features/knowledge/url-ingest.d.ts +37 -0
- package/packages/typescript/src/features/knowledge/url-ingest.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/url-ingest.js +490 -0
- package/packages/typescript/src/features/knowledge/utils.d.ts +22 -0
- package/packages/typescript/src/features/knowledge/utils.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/utils.js +388 -0
- package/packages/typescript/src/features/plugin-manager/actions/coreStatusAction.d.ts +3 -0
- package/packages/typescript/src/features/plugin-manager/actions/coreStatusAction.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/coreStatusAction.js +83 -0
- package/packages/typescript/src/features/plugin-manager/actions/listEjectedPluginsAction.d.ts +3 -0
- package/packages/typescript/src/features/plugin-manager/actions/listEjectedPluginsAction.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/listEjectedPluginsAction.js +88 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/core-status.d.ts +14 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/core-status.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/core-status.js +48 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/create.d.ts +32 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/create.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/create.js +518 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/eject.d.ts +16 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/eject.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/eject.js +49 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/install.d.ts +18 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/install.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/install.js +59 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/list-ejected.d.ts +14 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/list-ejected.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/list-ejected.js +31 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/list.d.ts +14 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/list.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/list.js +51 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/reinject.d.ts +15 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/reinject.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/reinject.js +43 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/search.d.ts +15 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/search.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/search.js +52 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/sync.d.ts +15 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/sync.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin-handlers/sync.js +48 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin.d.ts +25 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/plugin.js +442 -0
- package/packages/typescript/src/features/plugin-manager/actions/searchPluginAction.d.ts +4 -0
- package/packages/typescript/src/features/plugin-manager/actions/searchPluginAction.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/actions/searchPluginAction.js +265 -0
- package/packages/typescript/src/features/plugin-manager/coreExtensions.d.ts +28 -0
- package/packages/typescript/src/features/plugin-manager/coreExtensions.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/coreExtensions.js +54 -0
- package/packages/typescript/src/features/plugin-manager/index.d.ts +27 -0
- package/packages/typescript/src/features/plugin-manager/index.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/index.js +50 -0
- package/packages/typescript/src/features/plugin-manager/providers/pluginConfigurationStatus.d.ts +5 -0
- package/packages/typescript/src/features/plugin-manager/providers/pluginConfigurationStatus.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/providers/pluginConfigurationStatus.js +104 -0
- package/packages/typescript/src/features/plugin-manager/providers/pluginStateProvider.d.ts +5 -0
- package/packages/typescript/src/features/plugin-manager/providers/pluginStateProvider.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/providers/pluginStateProvider.js +105 -0
- package/packages/typescript/src/features/plugin-manager/providers/registryPluginsProvider.d.ts +5 -0
- package/packages/typescript/src/features/plugin-manager/providers/registryPluginsProvider.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/providers/registryPluginsProvider.js +93 -0
- package/packages/typescript/src/features/plugin-manager/providers/relevance.d.ts +9 -0
- package/packages/typescript/src/features/plugin-manager/providers/relevance.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/providers/relevance.js +229 -0
- package/packages/typescript/src/features/plugin-manager/security.d.ts +33 -0
- package/packages/typescript/src/features/plugin-manager/security.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/security.js +80 -0
- package/packages/typescript/src/features/plugin-manager/services/coreManagerService.d.ts +76 -0
- package/packages/typescript/src/features/plugin-manager/services/coreManagerService.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/services/coreManagerService.js +489 -0
- package/packages/typescript/src/features/plugin-manager/services/pluginConfigurationService.d.ts +31 -0
- package/packages/typescript/src/features/plugin-manager/services/pluginConfigurationService.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/services/pluginConfigurationService.js +57 -0
- package/packages/typescript/src/features/plugin-manager/services/pluginManagerService.d.ts +68 -0
- package/packages/typescript/src/features/plugin-manager/services/pluginManagerService.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/services/pluginManagerService.js +1004 -0
- package/packages/typescript/src/features/plugin-manager/services/pluginRegistryService.d.ts +84 -0
- package/packages/typescript/src/features/plugin-manager/services/pluginRegistryService.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/services/pluginRegistryService.js +410 -0
- package/packages/typescript/src/features/plugin-manager/types.d.ts +142 -0
- package/packages/typescript/src/features/plugin-manager/types.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/types.js +13 -0
- package/packages/typescript/src/features/plugin-manager/utils/paths.d.ts +4 -0
- package/packages/typescript/src/features/plugin-manager/utils/paths.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/utils/paths.js +32 -0
- package/packages/typescript/src/features/secrets/actions/index.d.ts +7 -0
- package/packages/typescript/src/features/secrets/actions/index.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/actions/index.js +6 -0
- package/packages/typescript/src/features/secrets/actions/manage-secret.d.ts +12 -0
- package/packages/typescript/src/features/secrets/actions/manage-secret.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/actions/manage-secret.js +289 -0
- package/packages/typescript/src/features/secrets/actions/request-secret.d.ts +3 -0
- package/packages/typescript/src/features/secrets/actions/request-secret.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/actions/request-secret.js +123 -0
- package/packages/typescript/src/features/secrets/actions/set-secret.d.ts +12 -0
- package/packages/typescript/src/features/secrets/actions/set-secret.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/actions/set-secret.js +241 -0
- package/packages/typescript/src/features/secrets/crypto/encryption.d.ts +184 -0
- package/packages/typescript/src/features/secrets/crypto/encryption.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/crypto/encryption.js +373 -0
- package/packages/typescript/src/features/secrets/crypto/index.d.ts +5 -0
- package/packages/typescript/src/features/secrets/crypto/index.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/crypto/index.js +16 -0
- package/packages/typescript/src/features/secrets/index.d.ts +22 -0
- package/packages/typescript/src/features/secrets/index.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/index.js +24 -0
- package/packages/typescript/src/features/secrets/onboarding/action.d.ts +12 -0
- package/packages/typescript/src/features/secrets/onboarding/action.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/onboarding/action.js +338 -0
- package/packages/typescript/src/features/secrets/onboarding/config.d.ts +99 -0
- package/packages/typescript/src/features/secrets/onboarding/config.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/onboarding/config.js +240 -0
- package/packages/typescript/src/features/secrets/onboarding/index.d.ts +13 -0
- package/packages/typescript/src/features/secrets/onboarding/index.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/onboarding/index.js +12 -0
- package/packages/typescript/src/features/secrets/onboarding/provider.d.ts +16 -0
- package/packages/typescript/src/features/secrets/onboarding/provider.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/onboarding/provider.js +231 -0
- package/packages/typescript/src/features/secrets/onboarding/service.d.ts +134 -0
- package/packages/typescript/src/features/secrets/onboarding/service.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/onboarding/service.js +436 -0
- package/packages/typescript/src/features/secrets/plugin.d.ts +70 -0
- package/packages/typescript/src/features/secrets/plugin.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/plugin.js +87 -0
- package/packages/typescript/src/features/secrets/providers/index.d.ts +5 -0
- package/packages/typescript/src/features/secrets/providers/index.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/providers/index.js +4 -0
- package/packages/typescript/src/features/secrets/providers/secrets-status.d.ts +22 -0
- package/packages/typescript/src/features/secrets/providers/secrets-status.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/providers/secrets-status.js +160 -0
- package/packages/typescript/src/features/secrets/services/index.d.ts +7 -0
- package/packages/typescript/src/features/secrets/services/index.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/services/index.js +5 -0
- package/packages/typescript/src/features/secrets/services/plugin-activator.d.ts +182 -0
- package/packages/typescript/src/features/secrets/services/plugin-activator.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/services/plugin-activator.js +617 -0
- package/packages/typescript/src/features/secrets/services/secrets.d.ts +183 -0
- package/packages/typescript/src/features/secrets/services/secrets.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/services/secrets.js +566 -0
- package/packages/typescript/src/features/secrets/storage/character-store.d.ts +63 -0
- package/packages/typescript/src/features/secrets/storage/character-store.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/storage/character-store.js +265 -0
- package/packages/typescript/src/features/secrets/storage/component-store.d.ts +47 -0
- package/packages/typescript/src/features/secrets/storage/component-store.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/storage/component-store.js +264 -0
- package/packages/typescript/src/features/secrets/storage/index.d.ts +10 -0
- package/packages/typescript/src/features/secrets/storage/index.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/storage/index.js +8 -0
- package/packages/typescript/src/features/secrets/storage/interface.d.ts +52 -0
- package/packages/typescript/src/features/secrets/storage/interface.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/storage/interface.js +92 -0
- package/packages/typescript/src/features/secrets/storage/memory-store.d.ts +44 -0
- package/packages/typescript/src/features/secrets/storage/memory-store.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/storage/memory-store.js +142 -0
- package/packages/typescript/src/features/secrets/storage/world-store.d.ts +52 -0
- package/packages/typescript/src/features/secrets/storage/world-store.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/storage/world-store.js +292 -0
- package/packages/typescript/src/features/secrets/types.d.ts +438 -0
- package/packages/typescript/src/features/secrets/types.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/types.js +57 -0
- package/packages/typescript/src/features/secrets/validation.d.ts +33 -0
- package/packages/typescript/src/features/secrets/validation.d.ts.map +1 -0
- package/packages/typescript/src/features/secrets/validation.js +389 -0
- package/packages/typescript/src/features/shared/schedule-follow-up-response.d.ts +10 -0
- package/packages/typescript/src/features/shared/schedule-follow-up-response.d.ts.map +1 -0
- package/packages/typescript/src/features/shared/schedule-follow-up-response.js +49 -0
- package/packages/typescript/src/features/trajectories/TrajectoriesService.d.ts +289 -0
- package/packages/typescript/src/features/trajectories/TrajectoriesService.d.ts.map +1 -0
- package/packages/typescript/src/features/trajectories/TrajectoriesService.js +1432 -0
- package/packages/typescript/src/features/trajectories/action-interceptor.d.ts +23 -0
- package/packages/typescript/src/features/trajectories/action-interceptor.d.ts.map +1 -0
- package/packages/typescript/src/features/trajectories/action-interceptor.js +178 -0
- package/packages/typescript/src/features/trajectories/art-format.d.ts +32 -0
- package/packages/typescript/src/features/trajectories/art-format.d.ts.map +1 -0
- package/packages/typescript/src/features/trajectories/art-format.js +221 -0
- package/packages/typescript/src/features/trajectories/export.d.ts +40 -0
- package/packages/typescript/src/features/trajectories/export.d.ts.map +1 -0
- package/packages/typescript/src/features/trajectories/export.js +99 -0
- package/packages/typescript/src/features/trajectories/game-rewards.d.ts +14 -0
- package/packages/typescript/src/features/trajectories/game-rewards.d.ts.map +1 -0
- package/packages/typescript/src/features/trajectories/game-rewards.js +20 -0
- package/packages/typescript/src/features/trajectories/index.d.ts +24 -0
- package/packages/typescript/src/features/trajectories/index.d.ts.map +1 -0
- package/packages/typescript/src/features/trajectories/index.js +332 -0
- package/packages/typescript/src/features/trajectories/integration.d.ts +59 -0
- package/packages/typescript/src/features/trajectories/integration.d.ts.map +1 -0
- package/packages/typescript/src/features/trajectories/integration.js +83 -0
- package/packages/typescript/src/features/trajectories/reward-service.d.ts +24 -0
- package/packages/typescript/src/features/trajectories/reward-service.d.ts.map +1 -0
- package/packages/typescript/src/features/trajectories/reward-service.js +89 -0
- package/packages/typescript/src/features/trajectories/types.d.ts +261 -0
- package/packages/typescript/src/features/trajectories/types.d.ts.map +1 -0
- package/packages/typescript/src/features/trajectories/types.js +1 -0
- package/packages/typescript/src/features/trust/actions/evaluateTrust.d.ts +3 -0
- package/packages/typescript/src/features/trust/actions/evaluateTrust.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/actions/evaluateTrust.js +230 -0
- package/packages/typescript/src/features/trust/actions/hasTrustEngine.d.ts +3 -0
- package/packages/typescript/src/features/trust/actions/hasTrustEngine.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/actions/hasTrustEngine.js +3 -0
- package/packages/typescript/src/features/trust/actions/index.d.ts +6 -0
- package/packages/typescript/src/features/trust/actions/index.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/actions/index.js +5 -0
- package/packages/typescript/src/features/trust/actions/recordTrustInteraction.d.ts +3 -0
- package/packages/typescript/src/features/trust/actions/recordTrustInteraction.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/actions/recordTrustInteraction.js +194 -0
- package/packages/typescript/src/features/trust/actions/requestElevation.d.ts +3 -0
- package/packages/typescript/src/features/trust/actions/requestElevation.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/actions/requestElevation.js +170 -0
- package/packages/typescript/src/features/trust/actions/roles.d.ts +3 -0
- package/packages/typescript/src/features/trust/actions/roles.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/actions/roles.js +299 -0
- package/packages/typescript/src/features/trust/actions/settings.d.ts +5 -0
- package/packages/typescript/src/features/trust/actions/settings.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/actions/settings.js +616 -0
- package/packages/typescript/src/features/trust/evaluators/index.d.ts +4 -0
- package/packages/typescript/src/features/trust/evaluators/index.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/evaluators/index.js +3 -0
- package/packages/typescript/src/features/trust/evaluators/reflection.d.ts +3 -0
- package/packages/typescript/src/features/trust/evaluators/reflection.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/evaluators/reflection.js +319 -0
- package/packages/typescript/src/features/trust/evaluators/securityEvaluator.d.ts +3 -0
- package/packages/typescript/src/features/trust/evaluators/securityEvaluator.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/evaluators/securityEvaluator.js +270 -0
- package/packages/typescript/src/features/trust/evaluators/trustChangeEvaluator.d.ts +3 -0
- package/packages/typescript/src/features/trust/evaluators/trustChangeEvaluator.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/evaluators/trustChangeEvaluator.js +201 -0
- package/packages/typescript/src/features/trust/index.d.ts +23 -0
- package/packages/typescript/src/features/trust/index.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/index.js +96 -0
- package/packages/typescript/src/features/trust/providers/adminTrust.d.ts +3 -0
- package/packages/typescript/src/features/trust/providers/adminTrust.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/providers/adminTrust.js +49 -0
- package/packages/typescript/src/features/trust/providers/index.d.ts +6 -0
- package/packages/typescript/src/features/trust/providers/index.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/providers/index.js +5 -0
- package/packages/typescript/src/features/trust/providers/roles.d.ts +4 -0
- package/packages/typescript/src/features/trust/providers/roles.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/providers/roles.js +142 -0
- package/packages/typescript/src/features/trust/providers/securityStatus.d.ts +3 -0
- package/packages/typescript/src/features/trust/providers/securityStatus.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/providers/securityStatus.js +110 -0
- package/packages/typescript/src/features/trust/providers/settings.d.ts +3 -0
- package/packages/typescript/src/features/trust/providers/settings.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/providers/settings.js +222 -0
- package/packages/typescript/src/features/trust/providers/trustProfile.d.ts +3 -0
- package/packages/typescript/src/features/trust/providers/trustProfile.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/providers/trustProfile.js +68 -0
- package/packages/typescript/src/features/trust/schema.d.ts +1170 -0
- package/packages/typescript/src/features/trust/schema.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/schema.js +108 -0
- package/packages/typescript/src/features/trust/services/ContextualPermissionSystem.d.ts +40 -0
- package/packages/typescript/src/features/trust/services/ContextualPermissionSystem.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/services/ContextualPermissionSystem.js +317 -0
- package/packages/typescript/src/features/trust/services/CredentialProtector.d.ts +62 -0
- package/packages/typescript/src/features/trust/services/CredentialProtector.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/services/CredentialProtector.js +417 -0
- package/packages/typescript/src/features/trust/services/SecurityModule.d.ts +142 -0
- package/packages/typescript/src/features/trust/services/SecurityModule.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/services/SecurityModule.js +1057 -0
- package/packages/typescript/src/features/trust/services/SecurityStore.d.ts +53 -0
- package/packages/typescript/src/features/trust/services/SecurityStore.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/services/SecurityStore.js +123 -0
- package/packages/typescript/src/features/trust/services/TrustEngine.d.ts +81 -0
- package/packages/typescript/src/features/trust/services/TrustEngine.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/services/TrustEngine.js +621 -0
- package/packages/typescript/src/features/trust/services/adminContext.d.ts +3 -0
- package/packages/typescript/src/features/trust/services/adminContext.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/services/adminContext.js +32 -0
- package/packages/typescript/src/features/trust/services/db.d.ts +12 -0
- package/packages/typescript/src/features/trust/services/db.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/services/db.js +10 -0
- package/packages/typescript/src/features/trust/services/wrappers.d.ts +56 -0
- package/packages/typescript/src/features/trust/services/wrappers.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/services/wrappers.js +124 -0
- package/packages/typescript/src/features/trust/types/permissions.d.ts +185 -0
- package/packages/typescript/src/features/trust/types/permissions.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/types/permissions.js +58 -0
- package/packages/typescript/src/features/trust/types/security.d.ts +114 -0
- package/packages/typescript/src/features/trust/types/security.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/types/security.js +15 -0
- package/packages/typescript/src/features/trust/types/trust.d.ts +179 -0
- package/packages/typescript/src/features/trust/types/trust.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/types/trust.js +25 -0
- package/packages/typescript/src/generated/action-docs.d.ts +2887 -0
- package/packages/typescript/src/generated/action-docs.d.ts.map +1 -0
- package/packages/typescript/src/generated/action-docs.js +4115 -0
- package/packages/typescript/src/generated/spec-helpers.d.ts +49 -0
- package/packages/typescript/src/generated/spec-helpers.d.ts.map +1 -0
- package/packages/typescript/src/generated/spec-helpers.js +78 -0
- package/packages/typescript/src/i18n/generated/validation-keyword-data.d.ts +1093 -0
- package/packages/typescript/src/i18n/generated/validation-keyword-data.d.ts.map +1 -0
- package/packages/typescript/src/i18n/generated/validation-keyword-data.js +1093 -0
- package/packages/typescript/src/i18n/validation-keywords.d.ts +25 -0
- package/packages/typescript/src/i18n/validation-keywords.d.ts.map +1 -0
- package/packages/typescript/src/i18n/validation-keywords.js +112 -0
- package/packages/typescript/src/identity-clusters.d.ts +4 -0
- package/packages/typescript/src/identity-clusters.d.ts.map +1 -0
- package/packages/typescript/src/identity-clusters.js +29 -0
- package/packages/typescript/src/index.d.ts +12 -0
- package/packages/typescript/src/index.d.ts.map +1 -0
- package/packages/typescript/src/index.js +13 -0
- package/packages/typescript/src/index.node.d.ts +84 -0
- package/packages/typescript/src/index.node.d.ts.map +1 -0
- package/packages/typescript/src/index.node.js +118 -0
- package/packages/typescript/src/lifeops-passive-connectors.d.ts +7 -0
- package/packages/typescript/src/lifeops-passive-connectors.d.ts.map +1 -0
- package/packages/typescript/src/lifeops-passive-connectors.js +39 -0
- package/packages/typescript/src/logger.d.ts +121 -0
- package/packages/typescript/src/logger.d.ts.map +1 -0
- package/packages/typescript/src/logger.js +1024 -0
- package/packages/typescript/src/markdown/chunk.d.ts +50 -0
- package/packages/typescript/src/markdown/chunk.d.ts.map +1 -0
- package/packages/typescript/src/markdown/chunk.js +268 -0
- package/packages/typescript/src/markdown/code-spans.d.ts +42 -0
- package/packages/typescript/src/markdown/code-spans.d.ts.map +1 -0
- package/packages/typescript/src/markdown/code-spans.js +89 -0
- package/packages/typescript/src/markdown/fences.d.ts +50 -0
- package/packages/typescript/src/markdown/fences.d.ts.map +1 -0
- package/packages/typescript/src/markdown/fences.js +90 -0
- package/packages/typescript/src/markdown/frontmatter.d.ts +24 -0
- package/packages/typescript/src/markdown/frontmatter.d.ts.map +1 -0
- package/packages/typescript/src/markdown/frontmatter.js +151 -0
- package/packages/typescript/src/markdown/index.d.ts +18 -0
- package/packages/typescript/src/markdown/index.d.ts.map +1 -0
- package/packages/typescript/src/markdown/index.js +17 -0
- package/packages/typescript/src/markdown/ir.d.ts +101 -0
- package/packages/typescript/src/markdown/ir.d.ts.map +1 -0
- package/packages/typescript/src/markdown/ir.js +789 -0
- package/packages/typescript/src/media/fetch.d.ts +39 -0
- package/packages/typescript/src/media/fetch.d.ts.map +1 -0
- package/packages/typescript/src/media/fetch.js +205 -0
- package/packages/typescript/src/media/index.d.ts +8 -0
- package/packages/typescript/src/media/index.d.ts.map +1 -0
- package/packages/typescript/src/media/index.js +7 -0
- package/packages/typescript/src/media/mime.d.ts +51 -0
- package/packages/typescript/src/media/mime.d.ts.map +1 -0
- package/packages/typescript/src/media/mime.js +225 -0
- package/packages/typescript/src/memory.d.ts +40 -0
- package/packages/typescript/src/memory.d.ts.map +1 -0
- package/packages/typescript/src/memory.js +58 -0
- package/packages/typescript/src/network/fetch-guard.d.ts +34 -0
- package/packages/typescript/src/network/fetch-guard.d.ts.map +1 -0
- package/packages/typescript/src/network/fetch-guard.js +136 -0
- package/packages/typescript/src/network/index.d.ts +11 -0
- package/packages/typescript/src/network/index.d.ts.map +1 -0
- package/packages/typescript/src/network/index.js +10 -0
- package/packages/typescript/src/network/ssrf.d.ts +58 -0
- package/packages/typescript/src/network/ssrf.d.ts.map +1 -0
- package/packages/typescript/src/network/ssrf.js +252 -0
- package/packages/typescript/src/optimization/ab-analysis.d.ts +3 -0
- package/packages/typescript/src/optimization/ab-analysis.d.ts.map +1 -0
- package/packages/typescript/src/optimization/ab-analysis.js +8 -0
- package/packages/typescript/src/optimization-root-dir.d.ts +8 -0
- package/packages/typescript/src/optimization-root-dir.d.ts.map +1 -0
- package/packages/typescript/src/optimization-root-dir.js +14 -0
- package/packages/typescript/src/plugin-lifecycle.d.ts +16 -0
- package/packages/typescript/src/plugin-lifecycle.d.ts.map +1 -0
- package/packages/typescript/src/plugin-lifecycle.js +590 -0
- package/packages/typescript/src/plugin.d.ts +13 -0
- package/packages/typescript/src/plugin.d.ts.map +1 -0
- package/packages/typescript/src/plugin.js +341 -0
- package/packages/typescript/src/plugins/index.d.ts +9 -0
- package/packages/typescript/src/plugins/index.d.ts.map +1 -0
- package/packages/typescript/src/plugins/index.js +8 -0
- package/packages/typescript/src/plugins/native-features.d.ts +15 -0
- package/packages/typescript/src/plugins/native-features.d.ts.map +1 -0
- package/packages/typescript/src/plugins/native-features.js +59 -0
- package/packages/typescript/src/prompts.d.ts +90 -0
- package/packages/typescript/src/prompts.d.ts.map +1 -0
- package/packages/typescript/src/prompts.js +1242 -0
- package/packages/typescript/src/providers/onboarding-progress.d.ts +19 -0
- package/packages/typescript/src/providers/onboarding-progress.d.ts.map +1 -0
- package/packages/typescript/src/providers/onboarding-progress.js +268 -0
- package/packages/typescript/src/providers/skill-eligibility.d.ts +28 -0
- package/packages/typescript/src/providers/skill-eligibility.d.ts.map +1 -0
- package/packages/typescript/src/providers/skill-eligibility.js +179 -0
- package/packages/typescript/src/provisioning.d.ts +54 -0
- package/packages/typescript/src/provisioning.d.ts.map +1 -0
- package/packages/typescript/src/provisioning.js +209 -0
- package/packages/typescript/src/roles.d.ts +70 -0
- package/packages/typescript/src/roles.d.ts.map +1 -0
- package/packages/typescript/src/roles.js +544 -0
- package/packages/typescript/src/runtime-composition.d.ts +129 -0
- package/packages/typescript/src/runtime-composition.d.ts.map +1 -0
- package/packages/typescript/src/runtime-composition.js +335 -0
- package/packages/typescript/src/runtime.d.ts +927 -0
- package/packages/typescript/src/runtime.d.ts.map +1 -0
- package/packages/typescript/src/runtime.js +6292 -0
- package/packages/typescript/src/schemas/agent.d.ts +7 -0
- package/packages/typescript/src/schemas/agent.d.ts.map +1 -0
- package/packages/typescript/src/schemas/agent.js +112 -0
- package/packages/typescript/src/schemas/cache.d.ts +7 -0
- package/packages/typescript/src/schemas/cache.d.ts.map +1 -0
- package/packages/typescript/src/schemas/cache.js +55 -0
- package/packages/typescript/src/schemas/channel-participant.d.ts +7 -0
- package/packages/typescript/src/schemas/channel-participant.d.ts.map +1 -0
- package/packages/typescript/src/schemas/channel-participant.js +49 -0
- package/packages/typescript/src/schemas/channel.d.ts +7 -0
- package/packages/typescript/src/schemas/channel.d.ts.map +1 -0
- package/packages/typescript/src/schemas/channel.js +94 -0
- package/packages/typescript/src/schemas/character.d.ts +445 -0
- package/packages/typescript/src/schemas/character.d.ts.map +1 -0
- package/packages/typescript/src/schemas/character.js +309 -0
- package/packages/typescript/src/schemas/component.d.ts +7 -0
- package/packages/typescript/src/schemas/component.d.ts.map +1 -0
- package/packages/typescript/src/schemas/component.js +156 -0
- package/packages/typescript/src/schemas/embedding.d.ts +7 -0
- package/packages/typescript/src/schemas/embedding.d.ts.map +1 -0
- package/packages/typescript/src/schemas/embedding.js +89 -0
- package/packages/typescript/src/schemas/entity-identity.d.ts +29 -0
- package/packages/typescript/src/schemas/entity-identity.d.ts.map +1 -0
- package/packages/typescript/src/schemas/entity-identity.js +334 -0
- package/packages/typescript/src/schemas/entity.d.ts +7 -0
- package/packages/typescript/src/schemas/entity.d.ts.map +1 -0
- package/packages/typescript/src/schemas/entity.js +69 -0
- package/packages/typescript/src/schemas/index.d.ts +77 -0
- package/packages/typescript/src/schemas/index.d.ts.map +1 -0
- package/packages/typescript/src/schemas/index.js +75 -0
- package/packages/typescript/src/schemas/log.d.ts +6 -0
- package/packages/typescript/src/schemas/log.d.ts.map +1 -0
- package/packages/typescript/src/schemas/log.js +93 -0
- package/packages/typescript/src/schemas/memory.d.ts +7 -0
- package/packages/typescript/src/schemas/memory.d.ts.map +1 -0
- package/packages/typescript/src/schemas/memory.js +167 -0
- package/packages/typescript/src/schemas/message-server-agent.d.ts +7 -0
- package/packages/typescript/src/schemas/message-server-agent.d.ts.map +1 -0
- package/packages/typescript/src/schemas/message-server-agent.js +58 -0
- package/packages/typescript/src/schemas/message-server.d.ts +6 -0
- package/packages/typescript/src/schemas/message-server.d.ts.map +1 -0
- package/packages/typescript/src/schemas/message-server.js +62 -0
- package/packages/typescript/src/schemas/message.d.ts +7 -0
- package/packages/typescript/src/schemas/message.d.ts.map +1 -0
- package/packages/typescript/src/schemas/message.js +106 -0
- package/packages/typescript/src/schemas/pairing-allowlist.d.ts +7 -0
- package/packages/typescript/src/schemas/pairing-allowlist.d.ts.map +1 -0
- package/packages/typescript/src/schemas/pairing-allowlist.js +76 -0
- package/packages/typescript/src/schemas/pairing-request.d.ts +7 -0
- package/packages/typescript/src/schemas/pairing-request.d.ts.map +1 -0
- package/packages/typescript/src/schemas/pairing-request.js +96 -0
- package/packages/typescript/src/schemas/participant.d.ts +6 -0
- package/packages/typescript/src/schemas/participant.d.ts.map +1 -0
- package/packages/typescript/src/schemas/participant.js +91 -0
- package/packages/typescript/src/schemas/relationship.d.ts +7 -0
- package/packages/typescript/src/schemas/relationship.d.ts.map +1 -0
- package/packages/typescript/src/schemas/relationship.js +102 -0
- package/packages/typescript/src/schemas/room.d.ts +6 -0
- package/packages/typescript/src/schemas/room.d.ts.map +1 -0
- package/packages/typescript/src/schemas/room.js +86 -0
- package/packages/typescript/src/schemas/server.d.ts +7 -0
- package/packages/typescript/src/schemas/server.d.ts.map +1 -0
- package/packages/typescript/src/schemas/server.js +33 -0
- package/packages/typescript/src/schemas/task.d.ts +6 -0
- package/packages/typescript/src/schemas/task.d.ts.map +1 -0
- package/packages/typescript/src/schemas/task.js +95 -0
- package/packages/typescript/src/schemas/world.d.ts +6 -0
- package/packages/typescript/src/schemas/world.d.ts.map +1 -0
- package/packages/typescript/src/schemas/world.js +64 -0
- package/packages/typescript/src/search.d.ts +359 -0
- package/packages/typescript/src/search.d.ts.map +1 -0
- package/packages/typescript/src/search.js +1580 -0
- package/packages/typescript/src/secrets.d.ts +6 -0
- package/packages/typescript/src/secrets.d.ts.map +1 -0
- package/packages/typescript/src/secrets.js +28 -0
- package/packages/typescript/src/security/external-content.d.ts +96 -0
- package/packages/typescript/src/security/external-content.d.ts.map +1 -0
- package/packages/typescript/src/security/external-content.js +253 -0
- package/packages/typescript/src/security/index.d.ts +12 -0
- package/packages/typescript/src/security/index.d.ts.map +1 -0
- package/packages/typescript/src/security/index.js +13 -0
- package/packages/typescript/src/security/redact.d.ts +111 -0
- package/packages/typescript/src/security/redact.d.ts.map +1 -0
- package/packages/typescript/src/security/redact.js +254 -0
- package/packages/typescript/src/services/agentEvent.d.ts +297 -0
- package/packages/typescript/src/services/agentEvent.d.ts.map +1 -0
- package/packages/typescript/src/services/agentEvent.js +422 -0
- package/packages/typescript/src/services/approval.d.ts +169 -0
- package/packages/typescript/src/services/approval.d.ts.map +1 -0
- package/packages/typescript/src/services/approval.js +399 -0
- package/packages/typescript/src/services/embedding.d.ts +29 -0
- package/packages/typescript/src/services/embedding.d.ts.map +1 -0
- package/packages/typescript/src/services/embedding.js +211 -0
- package/packages/typescript/src/services/followUp.d.ts +48 -0
- package/packages/typescript/src/services/followUp.d.ts.map +1 -0
- package/packages/typescript/src/services/followUp.js +333 -0
- package/packages/typescript/src/services/hook.d.ts +85 -0
- package/packages/typescript/src/services/hook.d.ts.map +1 -0
- package/packages/typescript/src/services/hook.js +396 -0
- package/packages/typescript/src/services/message.d.ts +147 -0
- package/packages/typescript/src/services/message.d.ts.map +1 -0
- package/packages/typescript/src/services/message.js +4967 -0
- package/packages/typescript/src/services/onboarding-cli.d.ts +240 -0
- package/packages/typescript/src/services/onboarding-cli.d.ts.map +1 -0
- package/packages/typescript/src/services/onboarding-cli.js +688 -0
- package/packages/typescript/src/services/onboarding-rpc.d.ts +225 -0
- package/packages/typescript/src/services/onboarding-rpc.d.ts.map +1 -0
- package/packages/typescript/src/services/onboarding-rpc.js +318 -0
- package/packages/typescript/src/services/onboarding-state.d.ts +155 -0
- package/packages/typescript/src/services/onboarding-state.d.ts.map +1 -0
- package/packages/typescript/src/services/onboarding-state.js +706 -0
- package/packages/typescript/src/services/optimized-prompt-resolver.d.ts +23 -0
- package/packages/typescript/src/services/optimized-prompt-resolver.d.ts.map +1 -0
- package/packages/typescript/src/services/optimized-prompt-resolver.js +49 -0
- package/packages/typescript/src/services/optimized-prompt.d.ts +116 -0
- package/packages/typescript/src/services/optimized-prompt.d.ts.map +1 -0
- package/packages/typescript/src/services/optimized-prompt.js +254 -0
- package/packages/typescript/src/services/pairing-integration.d.ts +96 -0
- package/packages/typescript/src/services/pairing-integration.d.ts.map +1 -0
- package/packages/typescript/src/services/pairing-integration.js +145 -0
- package/packages/typescript/src/services/pairing-migration.d.ts +105 -0
- package/packages/typescript/src/services/pairing-migration.d.ts.map +1 -0
- package/packages/typescript/src/services/pairing-migration.js +283 -0
- package/packages/typescript/src/services/pairing.d.ts +80 -0
- package/packages/typescript/src/services/pairing.d.ts.map +1 -0
- package/packages/typescript/src/services/pairing.js +253 -0
- package/packages/typescript/src/services/plugin-hooks.d.ts +112 -0
- package/packages/typescript/src/services/plugin-hooks.d.ts.map +1 -0
- package/packages/typescript/src/services/plugin-hooks.js +164 -0
- package/packages/typescript/src/services/relationships.d.ts +350 -0
- package/packages/typescript/src/services/relationships.d.ts.map +1 -0
- package/packages/typescript/src/services/relationships.js +1653 -0
- package/packages/typescript/src/services/task-scheduler.d.ts +28 -0
- package/packages/typescript/src/services/task-scheduler.d.ts.map +1 -0
- package/packages/typescript/src/services/task-scheduler.js +89 -0
- package/packages/typescript/src/services/task.d.ts +133 -0
- package/packages/typescript/src/services/task.d.ts.map +1 -0
- package/packages/typescript/src/services/task.js +559 -0
- package/packages/typescript/src/services/tool-policy.d.ts +186 -0
- package/packages/typescript/src/services/tool-policy.d.ts.map +1 -0
- package/packages/typescript/src/services/tool-policy.js +332 -0
- package/packages/typescript/src/services/trajectories.d.ts +34 -0
- package/packages/typescript/src/services/trajectories.d.ts.map +1 -0
- package/packages/typescript/src/services/trajectories.js +1 -0
- package/packages/typescript/src/services.d.ts +61 -0
- package/packages/typescript/src/services.d.ts.map +1 -0
- package/packages/typescript/src/services.js +99 -0
- package/packages/typescript/src/sessions/index.d.ts +17 -0
- package/packages/typescript/src/sessions/index.d.ts.map +1 -0
- package/packages/typescript/src/sessions/index.js +29 -0
- package/packages/typescript/src/sessions/provider.d.ts +71 -0
- package/packages/typescript/src/sessions/provider.d.ts.map +1 -0
- package/packages/typescript/src/sessions/provider.js +243 -0
- package/packages/typescript/src/sessions/session-key.d.ts +201 -0
- package/packages/typescript/src/sessions/session-key.d.ts.map +1 -0
- package/packages/typescript/src/sessions/session-key.js +398 -0
- package/packages/typescript/src/sessions/types.d.ts +197 -0
- package/packages/typescript/src/sessions/types.d.ts.map +1 -0
- package/packages/typescript/src/sessions/types.js +68 -0
- package/packages/typescript/src/settings.d.ts +99 -0
- package/packages/typescript/src/settings.d.ts.map +1 -0
- package/packages/typescript/src/settings.js +409 -0
- package/packages/typescript/src/should-respond.d.ts +2 -0
- package/packages/typescript/src/should-respond.d.ts.map +1 -0
- package/packages/typescript/src/should-respond.js +16 -0
- package/packages/typescript/src/streaming-context.d.ts +88 -0
- package/packages/typescript/src/streaming-context.d.ts.map +1 -0
- package/packages/typescript/src/streaming-context.js +160 -0
- package/packages/typescript/src/trajectory-context.d.ts +39 -0
- package/packages/typescript/src/trajectory-context.d.ts.map +1 -0
- package/packages/typescript/src/trajectory-context.js +85 -0
- package/packages/typescript/src/trajectory-utils.d.ts +73 -0
- package/packages/typescript/src/trajectory-utils.d.ts.map +1 -0
- package/packages/typescript/src/trajectory-utils.js +124 -0
- package/packages/typescript/src/types/agent.d.ts +67 -0
- package/packages/typescript/src/types/agent.d.ts.map +1 -0
- package/packages/typescript/src/types/agent.js +5 -0
- package/packages/typescript/src/types/agentEvent.d.ts +258 -0
- package/packages/typescript/src/types/agentEvent.d.ts.map +1 -0
- package/packages/typescript/src/types/agentEvent.js +11 -0
- package/packages/typescript/src/types/channel-config.d.ts +167 -0
- package/packages/typescript/src/types/channel-config.d.ts.map +1 -0
- package/packages/typescript/src/types/channel-config.js +7 -0
- package/packages/typescript/src/types/components.d.ts +363 -0
- package/packages/typescript/src/types/components.d.ts.map +1 -0
- package/packages/typescript/src/types/components.js +1 -0
- package/packages/typescript/src/types/database.d.ts +1079 -0
- package/packages/typescript/src/types/database.d.ts.map +1 -0
- package/packages/typescript/src/types/database.js +9 -0
- package/packages/typescript/src/types/environment.d.ts +73 -0
- package/packages/typescript/src/types/environment.d.ts.map +1 -0
- package/packages/typescript/src/types/environment.js +16 -0
- package/packages/typescript/src/types/events.d.ts +403 -0
- package/packages/typescript/src/types/events.d.ts.map +1 -0
- package/packages/typescript/src/types/events.js +85 -0
- package/packages/typescript/src/types/generated/eliza/v1/agent_pb.d.ts +400 -0
- package/packages/typescript/src/types/generated/eliza/v1/agent_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/agent_pb.js +72 -0
- package/packages/typescript/src/types/generated/eliza/v1/components_pb.d.ts +364 -0
- package/packages/typescript/src/types/generated/eliza/v1/components_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/components_pb.js +68 -0
- package/packages/typescript/src/types/generated/eliza/v1/database_pb.d.ts +694 -0
- package/packages/typescript/src/types/generated/eliza/v1/database_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/database_pb.js +172 -0
- package/packages/typescript/src/types/generated/eliza/v1/environment_pb.d.ts +299 -0
- package/packages/typescript/src/types/generated/eliza/v1/environment_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/environment_pb.js +52 -0
- package/packages/typescript/src/types/generated/eliza/v1/events_pb.d.ts +746 -0
- package/packages/typescript/src/types/generated/eliza/v1/events_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/events_pb.js +357 -0
- package/packages/typescript/src/types/generated/eliza/v1/ipc_pb.d.ts +799 -0
- package/packages/typescript/src/types/generated/eliza/v1/ipc_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/ipc_pb.js +172 -0
- package/packages/typescript/src/types/generated/eliza/v1/knowledge_pb.d.ts +63 -0
- package/packages/typescript/src/types/generated/eliza/v1/knowledge_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/knowledge_pb.js +18 -0
- package/packages/typescript/src/types/generated/eliza/v1/memory_pb.d.ts +290 -0
- package/packages/typescript/src/types/generated/eliza/v1/memory_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/memory_pb.js +53 -0
- package/packages/typescript/src/types/generated/eliza/v1/message_service_pb.d.ts +160 -0
- package/packages/typescript/src/types/generated/eliza/v1/message_service_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/message_service_pb.js +88 -0
- package/packages/typescript/src/types/generated/eliza/v1/messaging_pb.d.ts +214 -0
- package/packages/typescript/src/types/generated/eliza/v1/messaging_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/messaging_pb.js +78 -0
- package/packages/typescript/src/types/generated/eliza/v1/model_pb.d.ts +653 -0
- package/packages/typescript/src/types/generated/eliza/v1/model_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/model_pb.js +237 -0
- package/packages/typescript/src/types/generated/eliza/v1/payment_pb.d.ts +147 -0
- package/packages/typescript/src/types/generated/eliza/v1/payment_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/payment_pb.js +27 -0
- package/packages/typescript/src/types/generated/eliza/v1/plugin_pb.d.ts +286 -0
- package/packages/typescript/src/types/generated/eliza/v1/plugin_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/plugin_pb.js +86 -0
- package/packages/typescript/src/types/generated/eliza/v1/primitives_pb.d.ts +263 -0
- package/packages/typescript/src/types/generated/eliza/v1/primitives_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/primitives_pb.js +38 -0
- package/packages/typescript/src/types/generated/eliza/v1/prompts_pb.d.ts +137 -0
- package/packages/typescript/src/types/generated/eliza/v1/prompts_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/prompts_pb.js +27 -0
- package/packages/typescript/src/types/generated/eliza/v1/service_interfaces_pb.d.ts +2687 -0
- package/packages/typescript/src/types/generated/eliza/v1/service_interfaces_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/service_interfaces_pb.js +392 -0
- package/packages/typescript/src/types/generated/eliza/v1/service_pb.d.ts +144 -0
- package/packages/typescript/src/types/generated/eliza/v1/service_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/service_pb.js +99 -0
- package/packages/typescript/src/types/generated/eliza/v1/settings_pb.d.ts +146 -0
- package/packages/typescript/src/types/generated/eliza/v1/settings_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/settings_pb.js +32 -0
- package/packages/typescript/src/types/generated/eliza/v1/state_pb.d.ts +259 -0
- package/packages/typescript/src/types/generated/eliza/v1/state_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/state_pb.js +44 -0
- package/packages/typescript/src/types/generated/eliza/v1/task_pb.d.ts +120 -0
- package/packages/typescript/src/types/generated/eliza/v1/task_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/task_pb.js +53 -0
- package/packages/typescript/src/types/generated/eliza/v1/tee_pb.d.ts +205 -0
- package/packages/typescript/src/types/generated/eliza/v1/tee_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/tee_pb.js +89 -0
- package/packages/typescript/src/types/generated/eliza/v1/testing_pb.d.ts +47 -0
- package/packages/typescript/src/types/generated/eliza/v1/testing_pb.d.ts.map +1 -0
- package/packages/typescript/src/types/generated/eliza/v1/testing_pb.js +16 -0
- package/packages/typescript/src/types/hook.d.ts +338 -0
- package/packages/typescript/src/types/hook.d.ts.map +1 -0
- package/packages/typescript/src/types/hook.js +73 -0
- package/packages/typescript/src/types/index.d.ts +42 -0
- package/packages/typescript/src/types/index.d.ts.map +1 -0
- package/packages/typescript/src/types/index.js +50 -0
- package/packages/typescript/src/types/knowledge.d.ts +49 -0
- package/packages/typescript/src/types/knowledge.d.ts.map +1 -0
- package/packages/typescript/src/types/knowledge.js +1 -0
- package/packages/typescript/src/types/memory-storage.d.ts +28 -0
- package/packages/typescript/src/types/memory-storage.d.ts.map +1 -0
- package/packages/typescript/src/types/memory-storage.js +13 -0
- package/packages/typescript/src/types/memory.d.ts +517 -0
- package/packages/typescript/src/types/memory.d.ts.map +1 -0
- package/packages/typescript/src/types/memory.js +16 -0
- package/packages/typescript/src/types/message-service.d.ts +178 -0
- package/packages/typescript/src/types/message-service.d.ts.map +1 -0
- package/packages/typescript/src/types/message-service.js +1 -0
- package/packages/typescript/src/types/messaging.d.ts +358 -0
- package/packages/typescript/src/types/messaging.d.ts.map +1 -0
- package/packages/typescript/src/types/messaging.js +27 -0
- package/packages/typescript/src/types/model.d.ts +697 -0
- package/packages/typescript/src/types/model.d.ts.map +1 -0
- package/packages/typescript/src/types/model.js +247 -0
- package/packages/typescript/src/types/onboarding.d.ts +319 -0
- package/packages/typescript/src/types/onboarding.d.ts.map +1 -0
- package/packages/typescript/src/types/onboarding.js +97 -0
- package/packages/typescript/src/types/pairing.d.ts +124 -0
- package/packages/typescript/src/types/pairing.d.ts.map +1 -0
- package/packages/typescript/src/types/pairing.js +32 -0
- package/packages/typescript/src/types/payment.d.ts +67 -0
- package/packages/typescript/src/types/payment.d.ts.map +1 -0
- package/packages/typescript/src/types/payment.js +1 -0
- package/packages/typescript/src/types/pipeline-hooks.d.ts +234 -0
- package/packages/typescript/src/types/pipeline-hooks.d.ts.map +1 -0
- package/packages/typescript/src/types/pipeline-hooks.js +111 -0
- package/packages/typescript/src/types/plugin-manifest.d.ts +381 -0
- package/packages/typescript/src/types/plugin-manifest.d.ts.map +1 -0
- package/packages/typescript/src/types/plugin-manifest.js +10 -0
- package/packages/typescript/src/types/plugin-store.d.ts +173 -0
- package/packages/typescript/src/types/plugin-store.d.ts.map +1 -0
- package/packages/typescript/src/types/plugin-store.js +1 -0
- package/packages/typescript/src/types/plugin.d.ts +374 -0
- package/packages/typescript/src/types/plugin.d.ts.map +1 -0
- package/packages/typescript/src/types/plugin.js +1 -0
- package/packages/typescript/src/types/primitives.d.ts +176 -0
- package/packages/typescript/src/types/primitives.d.ts.map +1 -0
- package/packages/typescript/src/types/primitives.js +41 -0
- package/packages/typescript/src/types/prompt-batcher.d.ts +126 -0
- package/packages/typescript/src/types/prompt-batcher.d.ts.map +1 -0
- package/packages/typescript/src/types/prompt-batcher.js +6 -0
- package/packages/typescript/src/types/prompt-optimization-hooks.d.ts +41 -0
- package/packages/typescript/src/types/prompt-optimization-hooks.d.ts.map +1 -0
- package/packages/typescript/src/types/prompt-optimization-hooks.js +1 -0
- package/packages/typescript/src/types/prompt-optimization-score-card.d.ts +22 -0
- package/packages/typescript/src/types/prompt-optimization-score-card.d.ts.map +1 -0
- package/packages/typescript/src/types/prompt-optimization-score-card.js +72 -0
- package/packages/typescript/src/types/prompt-optimization-trace.d.ts +53 -0
- package/packages/typescript/src/types/prompt-optimization-trace.d.ts.map +1 -0
- package/packages/typescript/src/types/prompt-optimization-trace.js +19 -0
- package/packages/typescript/src/types/prompts.d.ts +39 -0
- package/packages/typescript/src/types/prompts.d.ts.map +1 -0
- package/packages/typescript/src/types/prompts.js +7 -0
- package/packages/typescript/src/types/proto.d.ts +60 -0
- package/packages/typescript/src/types/proto.d.ts.map +1 -0
- package/packages/typescript/src/types/proto.js +53 -0
- package/packages/typescript/src/types/runtime.d.ts +445 -0
- package/packages/typescript/src/types/runtime.d.ts.map +1 -0
- package/packages/typescript/src/types/runtime.js +1 -0
- package/packages/typescript/src/types/schema-builder.d.ts +43 -0
- package/packages/typescript/src/types/schema-builder.d.ts.map +1 -0
- package/packages/typescript/src/types/schema-builder.js +16 -0
- package/packages/typescript/src/types/schema.d.ts +99 -0
- package/packages/typescript/src/types/schema.d.ts.map +1 -0
- package/packages/typescript/src/types/schema.js +11 -0
- package/packages/typescript/src/types/service-interfaces.d.ts +1200 -0
- package/packages/typescript/src/types/service-interfaces.d.ts.map +1 -0
- package/packages/typescript/src/types/service-interfaces.js +81 -0
- package/packages/typescript/src/types/service.d.ts +175 -0
- package/packages/typescript/src/types/service.d.ts.map +1 -0
- package/packages/typescript/src/types/service.js +79 -0
- package/packages/typescript/src/types/settings.d.ts +36 -0
- package/packages/typescript/src/types/settings.d.ts.map +1 -0
- package/packages/typescript/src/types/settings.js +1 -0
- package/packages/typescript/src/types/state.d.ts +251 -0
- package/packages/typescript/src/types/state.d.ts.map +1 -0
- package/packages/typescript/src/types/state.js +1 -0
- package/packages/typescript/src/types/streaming.d.ts +93 -0
- package/packages/typescript/src/types/streaming.d.ts.map +1 -0
- package/packages/typescript/src/types/streaming.js +21 -0
- package/packages/typescript/src/types/task.d.ts +122 -0
- package/packages/typescript/src/types/task.d.ts.map +1 -0
- package/packages/typescript/src/types/task.js +1 -0
- package/packages/typescript/src/types/tee.d.ts +3 -0
- package/packages/typescript/src/types/tee.d.ts.map +1 -0
- package/packages/typescript/src/types/tee.js +1 -0
- package/packages/typescript/src/types/testing.d.ts +15 -0
- package/packages/typescript/src/types/testing.d.ts.map +1 -0
- package/packages/typescript/src/types/testing.js +1 -0
- package/packages/typescript/src/types/tools.d.ts +166 -0
- package/packages/typescript/src/types/tools.d.ts.map +1 -0
- package/packages/typescript/src/types/tools.js +384 -0
- package/packages/typescript/src/types/trigger.d.ts +44 -0
- package/packages/typescript/src/types/trigger.d.ts.map +1 -0
- package/packages/typescript/src/types/trigger.js +1 -0
- package/packages/typescript/src/utils/action-results.d.ts +33 -0
- package/packages/typescript/src/utils/action-results.d.ts.map +1 -0
- package/packages/typescript/src/utils/action-results.js +169 -0
- package/packages/typescript/src/utils/batch-queue/batch-processor.d.ts +52 -0
- package/packages/typescript/src/utils/batch-queue/batch-processor.d.ts.map +1 -0
- package/packages/typescript/src/utils/batch-queue/batch-processor.js +126 -0
- package/packages/typescript/src/utils/batch-queue/index.d.ts +97 -0
- package/packages/typescript/src/utils/batch-queue/index.d.ts.map +1 -0
- package/packages/typescript/src/utils/batch-queue/index.js +175 -0
- package/packages/typescript/src/utils/batch-queue/priority-queue.d.ts +53 -0
- package/packages/typescript/src/utils/batch-queue/priority-queue.d.ts.map +1 -0
- package/packages/typescript/src/utils/batch-queue/priority-queue.js +128 -0
- package/packages/typescript/src/utils/batch-queue/semaphore.d.ts +18 -0
- package/packages/typescript/src/utils/batch-queue/semaphore.d.ts.map +1 -0
- package/packages/typescript/src/utils/batch-queue/semaphore.js +34 -0
- package/packages/typescript/src/utils/batch-queue/task-drain.d.ts +57 -0
- package/packages/typescript/src/utils/batch-queue/task-drain.d.ts.map +1 -0
- package/packages/typescript/src/utils/batch-queue/task-drain.js +150 -0
- package/packages/typescript/src/utils/batch-queue.d.ts +20 -0
- package/packages/typescript/src/utils/batch-queue.d.ts.map +1 -0
- package/packages/typescript/src/utils/batch-queue.js +19 -0
- package/packages/typescript/src/utils/boolean.d.ts +50 -0
- package/packages/typescript/src/utils/boolean.d.ts.map +1 -0
- package/packages/typescript/src/utils/boolean.js +73 -0
- package/packages/typescript/src/utils/buffer.d.ts +107 -0
- package/packages/typescript/src/utils/buffer.d.ts.map +1 -0
- package/packages/typescript/src/utils/buffer.js +229 -0
- package/packages/typescript/src/utils/channel-utils.d.ts +274 -0
- package/packages/typescript/src/utils/channel-utils.d.ts.map +1 -0
- package/packages/typescript/src/utils/channel-utils.js +337 -0
- package/packages/typescript/src/utils/context-catalog.d.ts +6 -0
- package/packages/typescript/src/utils/context-catalog.d.ts.map +1 -0
- package/packages/typescript/src/utils/context-catalog.js +264 -0
- package/packages/typescript/src/utils/context-routing.d.ts +28 -0
- package/packages/typescript/src/utils/context-routing.d.ts.map +1 -0
- package/packages/typescript/src/utils/context-routing.js +294 -0
- package/packages/typescript/src/utils/crypto-compat.d.ts +92 -0
- package/packages/typescript/src/utils/crypto-compat.d.ts.map +1 -0
- package/packages/typescript/src/utils/crypto-compat.js +373 -0
- package/packages/typescript/src/utils/deterministic.d.ts +9 -0
- package/packages/typescript/src/utils/deterministic.d.ts.map +1 -0
- package/packages/typescript/src/utils/deterministic.js +70 -0
- package/packages/typescript/src/utils/environment.d.ts +125 -0
- package/packages/typescript/src/utils/environment.d.ts.map +1 -0
- package/packages/typescript/src/utils/environment.js +290 -0
- package/packages/typescript/src/utils/example-names.d.ts +3 -0
- package/packages/typescript/src/utils/example-names.d.ts.map +1 -0
- package/packages/typescript/src/utils/example-names.js +30 -0
- package/packages/typescript/src/utils/json-llm.d.ts +17 -0
- package/packages/typescript/src/utils/json-llm.d.ts.map +1 -0
- package/packages/typescript/src/utils/json-llm.js +33 -0
- package/packages/typescript/src/utils/message-text.d.ts +5 -0
- package/packages/typescript/src/utils/message-text.d.ts.map +1 -0
- package/packages/typescript/src/utils/message-text.js +24 -0
- package/packages/typescript/src/utils/model-errors.d.ts +3 -0
- package/packages/typescript/src/utils/model-errors.d.ts.map +1 -0
- package/packages/typescript/src/utils/model-errors.js +23 -0
- package/packages/typescript/src/utils/node.d.ts +8 -0
- package/packages/typescript/src/utils/node.d.ts.map +1 -0
- package/packages/typescript/src/utils/node.js +12 -0
- package/packages/typescript/src/utils/paths.d.ts +97 -0
- package/packages/typescript/src/utils/paths.d.ts.map +1 -0
- package/packages/typescript/src/utils/paths.js +204 -0
- package/packages/typescript/src/utils/prompt-batcher/batcher.d.ts +163 -0
- package/packages/typescript/src/utils/prompt-batcher/batcher.d.ts.map +1 -0
- package/packages/typescript/src/utils/prompt-batcher/batcher.js +896 -0
- package/packages/typescript/src/utils/prompt-batcher/dispatcher.d.ts +15 -0
- package/packages/typescript/src/utils/prompt-batcher/dispatcher.d.ts.map +1 -0
- package/packages/typescript/src/utils/prompt-batcher/dispatcher.js +230 -0
- package/packages/typescript/src/utils/prompt-batcher/shared.d.ts +66 -0
- package/packages/typescript/src/utils/prompt-batcher/shared.d.ts.map +1 -0
- package/packages/typescript/src/utils/prompt-batcher/shared.js +101 -0
- package/packages/typescript/src/utils/prompt-batcher.d.ts +5 -0
- package/packages/typescript/src/utils/prompt-batcher.d.ts.map +1 -0
- package/packages/typescript/src/utils/prompt-batcher.js +4 -0
- package/packages/typescript/src/utils/prompt-compression.d.ts +6 -0
- package/packages/typescript/src/utils/prompt-compression.d.ts.map +1 -0
- package/packages/typescript/src/utils/prompt-compression.js +14 -0
- package/packages/typescript/src/utils/retry.d.ts +128 -0
- package/packages/typescript/src/utils/retry.d.ts.map +1 -0
- package/packages/typescript/src/utils/retry.js +190 -0
- package/packages/typescript/src/utils/server-health.d.ts +35 -0
- package/packages/typescript/src/utils/server-health.d.ts.map +1 -0
- package/packages/typescript/src/utils/server-health.js +76 -0
- package/packages/typescript/src/utils/slice-to-fit-budget.d.ts +12 -0
- package/packages/typescript/src/utils/slice-to-fit-budget.d.ts.map +1 -0
- package/packages/typescript/src/utils/slice-to-fit-budget.js +36 -0
- package/packages/typescript/src/utils/state-dir.d.ts +19 -0
- package/packages/typescript/src/utils/state-dir.d.ts.map +1 -0
- package/packages/typescript/src/utils/state-dir.js +24 -0
- package/packages/typescript/src/utils/streaming.d.ts +275 -0
- package/packages/typescript/src/utils/streaming.d.ts.map +1 -0
- package/packages/typescript/src/utils/streaming.js +774 -0
- package/packages/typescript/src/utils/text-normalize.d.ts +23 -0
- package/packages/typescript/src/utils/text-normalize.d.ts.map +1 -0
- package/packages/typescript/src/utils/text-normalize.js +42 -0
- package/packages/typescript/src/utils/text-splitting.d.ts +14 -0
- package/packages/typescript/src/utils/text-splitting.d.ts.map +1 -0
- package/packages/typescript/src/utils/text-splitting.js +66 -0
- package/packages/typescript/src/utils/toon.d.ts +8 -0
- package/packages/typescript/src/utils/toon.d.ts.map +1 -0
- package/packages/typescript/src/utils/toon.js +347 -0
- package/packages/typescript/src/utils/type-guards.d.ts +25 -0
- package/packages/typescript/src/utils/type-guards.d.ts.map +1 -0
- package/packages/typescript/src/utils/type-guards.js +73 -0
- package/packages/typescript/src/utils/union-find.d.ts +30 -0
- package/packages/typescript/src/utils/union-find.d.ts.map +1 -0
- package/packages/typescript/src/utils/union-find.js +81 -0
- package/packages/typescript/src/utils.d.ts +194 -0
- package/packages/typescript/src/utils.d.ts.map +1 -0
- package/packages/typescript/src/utils.js +1126 -0
- package/packages/typescript/src/validation/index.d.ts +8 -0
- package/packages/typescript/src/validation/index.d.ts.map +1 -0
- package/packages/typescript/src/validation/index.js +7 -0
- package/packages/typescript/src/validation/keywords.d.ts +26 -0
- package/packages/typescript/src/validation/keywords.d.ts.map +1 -0
- package/packages/typescript/src/validation/keywords.js +76 -0
- package/packages/typescript/src/validation/secrets.d.ts +94 -0
- package/packages/typescript/src/validation/secrets.d.ts.map +1 -0
- package/packages/typescript/src/validation/secrets.js +399 -0
- package/packages/ui/src/components/composites/chat/chat-attachment-strip.d.ts +9 -0
- package/packages/ui/src/components/composites/chat/chat-attachment-strip.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-attachment-strip.js +8 -0
- package/packages/ui/src/components/composites/chat/chat-bubble.d.ts +14 -0
- package/packages/ui/src/components/composites/chat/chat-bubble.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-bubble.js +7 -0
- package/packages/ui/src/components/composites/chat/chat-composer-shell.d.ts +14 -0
- package/packages/ui/src/components/composites/chat/chat-composer-shell.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-composer-shell.js +25 -0
- package/packages/ui/src/components/composites/chat/chat-composer.d.ts +45 -0
- package/packages/ui/src/components/composites/chat/chat-composer.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-composer.js +297 -0
- package/packages/ui/src/components/composites/chat/chat-conversation-item.d.ts +21 -0
- package/packages/ui/src/components/composites/chat/chat-conversation-item.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-conversation-item.js +118 -0
- package/packages/ui/src/components/composites/chat/chat-conversation-rename-dialog.d.ts +22 -0
- package/packages/ui/src/components/composites/chat/chat-conversation-rename-dialog.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-conversation-rename-dialog.js +14 -0
- package/packages/ui/src/components/composites/chat/chat-empty-state.d.ts +19 -0
- package/packages/ui/src/components/composites/chat/chat-empty-state.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-empty-state.js +8 -0
- package/packages/ui/src/components/composites/chat/chat-message-actions.d.ts +14 -0
- package/packages/ui/src/components/composites/chat/chat-message-actions.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-message-actions.js +10 -0
- package/packages/ui/src/components/composites/chat/chat-message.d.ts +18 -0
- package/packages/ui/src/components/composites/chat/chat-message.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-message.js +260 -0
- package/packages/ui/src/components/composites/chat/chat-sidebar.d.ts +54 -0
- package/packages/ui/src/components/composites/chat/chat-sidebar.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-sidebar.js +64 -0
- package/packages/ui/src/components/composites/chat/chat-source.d.ts +23 -0
- package/packages/ui/src/components/composites/chat/chat-source.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-source.js +60 -0
- package/packages/ui/src/components/composites/chat/chat-thread-layout.d.ts +22 -0
- package/packages/ui/src/components/composites/chat/chat-thread-layout.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-thread-layout.js +37 -0
- package/packages/ui/src/components/composites/chat/chat-transcript.d.ts +19 -0
- package/packages/ui/src/components/composites/chat/chat-transcript.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-transcript.js +88 -0
- package/packages/ui/src/components/composites/chat/chat-types.d.ts +91 -0
- package/packages/ui/src/components/composites/chat/chat-types.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-types.js +1 -0
- package/packages/ui/src/components/composites/chat/chat-typing-indicator.d.ts +10 -0
- package/packages/ui/src/components/composites/chat/chat-typing-indicator.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/chat-typing-indicator.js +10 -0
- package/packages/ui/src/components/composites/chat/create-task-popover.d.ts +13 -0
- package/packages/ui/src/components/composites/chat/create-task-popover.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/create-task-popover.js +44 -0
- package/packages/ui/src/components/composites/chat/index.d.ts +17 -0
- package/packages/ui/src/components/composites/chat/index.d.ts.map +1 -0
- package/packages/ui/src/components/composites/chat/index.js +16 -0
- package/packages/ui/src/components/composites/form-field/form-field.d.ts +14 -0
- package/packages/ui/src/components/composites/form-field/form-field.d.ts.map +1 -0
- package/packages/ui/src/components/composites/form-field/form-field.js +8 -0
- package/packages/ui/src/components/composites/form-field/index.d.ts +2 -0
- package/packages/ui/src/components/composites/form-field/index.d.ts.map +1 -0
- package/packages/ui/src/components/composites/form-field/index.js +1 -0
- package/packages/ui/src/components/composites/index.d.ts +27 -0
- package/packages/ui/src/components/composites/index.d.ts.map +1 -0
- package/packages/ui/src/components/composites/index.js +26 -0
- package/packages/ui/src/components/composites/page-panel/index.d.ts +29 -0
- package/packages/ui/src/components/composites/page-panel/index.d.ts.map +1 -0
- package/packages/ui/src/components/composites/page-panel/index.js +28 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-collapsible-section.d.ts +4 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-collapsible-section.d.ts.map +1 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-collapsible-section.js +60 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-empty.d.ts +3 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-empty.d.ts.map +1 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-empty.js +15 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-frame.d.ts +5 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-frame.d.ts.map +1 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-frame.js +9 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-header.d.ts +7 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-header.d.ts.map +1 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-header.js +30 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-loading.d.ts +3 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-loading.d.ts.map +1 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-loading.js +13 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-root.d.ts +7 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-root.d.ts.map +1 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-root.js +17 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-toolbar.d.ts +4 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-toolbar.d.ts.map +1 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-toolbar.js +6 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-types.d.ts +66 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-types.d.ts.map +1 -0
- package/packages/ui/src/components/composites/page-panel/page-panel-types.js +1 -0
- package/packages/ui/src/components/composites/search/index.d.ts +3 -0
- package/packages/ui/src/components/composites/search/index.d.ts.map +1 -0
- package/packages/ui/src/components/composites/search/index.js +2 -0
- package/packages/ui/src/components/composites/search/search-input.d.ts.map +1 -0
- package/packages/ui/src/components/composites/search/search-input.js +10 -0
- package/packages/ui/src/components/composites/search/searchbar.d.ts +18 -0
- package/packages/ui/src/components/composites/search/searchbar.d.ts.map +1 -0
- package/packages/ui/src/components/composites/search/searchbar.js +25 -0
- package/packages/ui/src/components/composites/sidebar/index.d.ts +11 -0
- package/packages/ui/src/components/composites/sidebar/index.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/index.js +10 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-auto-rail.d.ts +15 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-auto-rail.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-auto-rail.js +292 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-body.d.ts +4 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-body.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-body.js +7 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-collapsed-rail.d.ts +11 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-collapsed-rail.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-collapsed-rail.js +13 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-content.d.ts +78 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-content.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-content.js +94 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-filter-bar.d.ts +3 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-filter-bar.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-filter-bar.js +14 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-header-stack.d.ts +3 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-header-stack.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-header-stack.js +6 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-header.d.ts +9 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-header.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-header.js +6 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-panel.d.ts +3 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-panel.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-panel.js +18 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-root.d.ts +4 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-root.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-root.js +491 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-scroll-region.d.ts +3 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-scroll-region.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-scroll-region.js +18 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-types.d.ts +77 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-types.d.ts.map +1 -0
- package/packages/ui/src/components/composites/sidebar/sidebar-types.js +1 -0
- package/packages/ui/src/components/composites/skills/index.d.ts +2 -0
- package/packages/ui/src/components/composites/skills/index.d.ts.map +1 -0
- package/packages/ui/src/components/composites/skills/index.js +1 -0
- package/packages/ui/src/components/composites/skills/skill-sidebar-item.d.ts +16 -0
- package/packages/ui/src/components/composites/skills/skill-sidebar-item.d.ts.map +1 -0
- package/packages/ui/src/components/composites/skills/skill-sidebar-item.js +7 -0
- package/packages/ui/src/components/composites/trajectories/index.d.ts +5 -0
- package/packages/ui/src/components/composites/trajectories/index.d.ts.map +1 -0
- package/packages/ui/src/components/composites/trajectories/index.js +4 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-code-block.d.ts +13 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-code-block.d.ts.map +1 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-code-block.js +13 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-llm-call-card.d.ts +34 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-llm-call-card.d.ts.map +1 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-llm-call-card.js +14 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-pipeline-graph.d.ts +26 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-pipeline-graph.d.ts.map +1 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-pipeline-graph.js +46 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-sidebar-item.d.ts +15 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-sidebar-item.d.ts.map +1 -0
- package/packages/ui/src/components/composites/trajectories/trajectory-sidebar-item.js +8 -0
- package/packages/ui/src/components/primitives/index.d.ts +26 -0
- package/packages/ui/src/components/primitives/index.d.ts.map +1 -0
- package/packages/ui/src/components/primitives/index.js +25 -0
- package/packages/ui/src/components/ui/admin-dialog.d.ts +50 -0
- package/packages/ui/src/components/ui/admin-dialog.d.ts.map +1 -0
- package/packages/ui/src/components/ui/admin-dialog.js +48 -0
- package/packages/ui/src/components/ui/badge.d.ts +10 -0
- package/packages/ui/src/components/ui/badge.d.ts.map +1 -0
- package/packages/ui/src/components/ui/badge.js +21 -0
- package/packages/ui/src/components/ui/banner.d.ts +17 -0
- package/packages/ui/src/components/ui/banner.d.ts.map +1 -0
- package/packages/ui/src/components/ui/banner.js +29 -0
- package/packages/ui/src/components/ui/button.d.ts +13 -0
- package/packages/ui/src/components/ui/button.d.ts.map +1 -0
- package/packages/ui/src/components/ui/button.js +40 -0
- package/packages/ui/src/components/ui/card.d.ts +15 -0
- package/packages/ui/src/components/ui/card.d.ts.map +1 -0
- package/packages/ui/src/components/ui/card.js +32 -0
- package/packages/ui/src/components/ui/checkbox.d.ts.map +1 -0
- package/packages/ui/src/components/ui/confirm-delete.d.ts +20 -0
- package/packages/ui/src/components/ui/confirm-delete.d.ts.map +1 -0
- package/packages/ui/src/components/ui/confirm-delete.js +16 -0
- package/packages/ui/src/components/ui/confirm-dialog.d.ts +49 -0
- package/packages/ui/src/components/ui/confirm-dialog.d.ts.map +1 -0
- package/packages/ui/src/components/ui/confirm-dialog.js +90 -0
- package/packages/ui/src/components/ui/connection-status.d.ts +15 -0
- package/packages/ui/src/components/ui/connection-status.d.ts.map +1 -0
- package/packages/ui/src/components/ui/connection-status.js +25 -0
- package/packages/ui/src/components/ui/copy-button.d.ts.map +1 -0
- package/packages/ui/src/components/ui/dialog.d.ts +25 -0
- package/packages/ui/src/components/ui/dialog.d.ts.map +1 -0
- package/packages/ui/src/components/ui/dialog.js +23 -0
- package/packages/ui/src/components/ui/drawer-sheet.d.ts +19 -0
- package/packages/ui/src/components/ui/drawer-sheet.d.ts.map +1 -0
- package/packages/ui/src/components/ui/drawer-sheet.js +21 -0
- package/packages/ui/src/components/ui/dropdown-menu.d.ts.map +1 -0
- package/packages/ui/src/components/ui/dropdown-menu.js +35 -0
- package/packages/ui/src/components/ui/empty-state.d.ts.map +1 -0
- package/packages/ui/src/components/ui/error-boundary.d.ts +22 -0
- package/packages/ui/src/components/ui/error-boundary.d.ts.map +1 -0
- package/packages/ui/src/components/ui/error-boundary.js +27 -0
- package/packages/ui/src/components/ui/field-switch.d.ts +8 -0
- package/packages/ui/src/components/ui/field-switch.d.ts.map +1 -0
- package/packages/ui/src/components/ui/field-switch.js +10 -0
- package/packages/ui/src/components/ui/field.d.ts +12 -0
- package/packages/ui/src/components/ui/field.d.ts.map +1 -0
- package/packages/ui/src/components/ui/field.js +21 -0
- package/packages/ui/src/components/ui/form-select.d.ts +14 -0
- package/packages/ui/src/components/ui/form-select.d.ts.map +1 -0
- package/packages/ui/src/components/ui/form-select.js +9 -0
- package/packages/ui/src/components/ui/grid.d.ts +10 -0
- package/packages/ui/src/components/ui/grid.d.ts.map +1 -0
- package/packages/ui/src/components/ui/grid.js +31 -0
- package/packages/ui/src/components/ui/input.d.ts +12 -0
- package/packages/ui/src/components/ui/input.d.ts.map +1 -0
- package/packages/ui/src/components/ui/input.js +29 -0
- package/packages/ui/src/components/ui/label.d.ts +5 -0
- package/packages/ui/src/components/ui/label.d.ts.map +1 -0
- package/packages/ui/src/components/ui/label.js +10 -0
- package/packages/ui/src/components/ui/new-action-button.d.ts +7 -0
- package/packages/ui/src/components/ui/new-action-button.d.ts.map +1 -0
- package/packages/ui/src/components/ui/new-action-button.js +13 -0
- package/packages/ui/src/components/ui/popover.d.ts.map +1 -0
- package/packages/ui/src/components/ui/save-footer.d.ts.map +1 -0
- package/packages/ui/src/components/ui/save-footer.js +10 -0
- package/packages/ui/src/components/ui/section-card.d.ts.map +1 -0
- package/packages/ui/src/components/ui/section-card.js +10 -0
- package/packages/ui/src/components/ui/segmented-control.d.ts +18 -0
- package/packages/ui/src/components/ui/segmented-control.d.ts.map +1 -0
- package/packages/ui/src/components/ui/segmented-control.js +10 -0
- package/packages/ui/src/components/ui/select.d.ts.map +1 -0
- package/packages/ui/src/components/ui/select.js +27 -0
- package/packages/ui/src/components/ui/separator.d.ts.map +1 -0
- package/packages/ui/src/components/ui/settings-controls.d.ts +41 -0
- package/packages/ui/src/components/ui/settings-controls.d.ts.map +1 -0
- package/packages/ui/src/components/ui/settings-controls.js +60 -0
- package/packages/ui/src/components/ui/skeleton.d.ts.map +1 -0
- package/packages/ui/src/components/ui/skeleton.js +24 -0
- package/packages/ui/src/components/ui/slider.d.ts.map +1 -0
- package/packages/ui/src/components/ui/slider.js +7 -0
- package/packages/ui/src/components/ui/sonner.d.ts +2 -0
- package/packages/ui/src/components/ui/sonner.d.ts.map +1 -0
- package/packages/ui/src/components/ui/sonner.js +1 -0
- package/packages/ui/src/components/ui/spinner.d.ts.map +1 -0
- package/packages/ui/src/components/ui/stack.d.ts +11 -0
- package/packages/ui/src/components/ui/stack.d.ts.map +1 -0
- package/packages/ui/src/components/ui/stack.js +40 -0
- package/packages/ui/src/components/ui/status-badge.d.ts +27 -0
- package/packages/ui/src/components/ui/status-badge.d.ts.map +1 -0
- package/packages/ui/src/components/ui/status-badge.js +70 -0
- package/packages/ui/src/components/ui/switch.d.ts.map +1 -0
- package/packages/ui/src/components/ui/switch.js +7 -0
- package/packages/ui/src/components/ui/tabs.d.ts.map +1 -0
- package/packages/ui/src/components/ui/tabs.js +12 -0
- package/packages/ui/src/components/ui/tag-editor.d.ts +12 -0
- package/packages/ui/src/components/ui/tag-editor.d.ts.map +1 -0
- package/packages/ui/src/components/ui/tag-editor.js +34 -0
- package/packages/ui/src/components/ui/tag-input.d.ts +3 -0
- package/packages/ui/src/components/ui/tag-input.d.ts.map +1 -0
- package/packages/ui/src/components/ui/tag-input.js +1 -0
- package/packages/ui/src/components/ui/textarea.d.ts +12 -0
- package/packages/ui/src/components/ui/textarea.d.ts.map +1 -0
- package/packages/ui/src/components/ui/textarea.js +29 -0
- package/packages/ui/src/components/ui/themed-select.d.ts +22 -0
- package/packages/ui/src/components/ui/themed-select.d.ts.map +1 -0
- package/packages/ui/src/components/ui/themed-select.js +137 -0
- package/packages/ui/src/components/ui/tooltip-extended.d.ts +54 -0
- package/packages/ui/src/components/ui/tooltip-extended.d.ts.map +1 -0
- package/packages/ui/src/components/ui/tooltip-extended.js +114 -0
- package/packages/ui/src/components/ui/tooltip.d.ts +18 -0
- package/packages/ui/src/components/ui/tooltip.d.ts.map +1 -0
- package/packages/ui/src/components/ui/tooltip.js +13 -0
- package/packages/ui/src/components/ui/typography.d.ts +15 -0
- package/packages/ui/src/components/ui/typography.d.ts.map +1 -0
- package/packages/ui/src/components/ui/typography.js +46 -0
- package/packages/ui/src/hooks/index.d.ts +6 -0
- package/packages/ui/src/hooks/index.d.ts.map +1 -0
- package/packages/ui/src/hooks/index.js +5 -0
- package/packages/ui/src/hooks/useClickOutside.d.ts +3 -0
- package/packages/ui/src/hooks/useClickOutside.d.ts.map +1 -0
- package/packages/ui/src/hooks/useClickOutside.js +22 -0
- package/packages/ui/src/hooks/useDocumentVisibility.d.ts +3 -0
- package/packages/ui/src/hooks/useDocumentVisibility.d.ts.map +1 -0
- package/packages/ui/src/hooks/useDocumentVisibility.js +28 -0
- package/packages/ui/src/hooks/useKeyboardShortcuts.d.ts +13 -0
- package/packages/ui/src/hooks/useKeyboardShortcuts.d.ts.map +1 -0
- package/packages/ui/src/hooks/useKeyboardShortcuts.js +34 -0
- package/packages/ui/src/hooks/useLinkedSidebarSelection.d.ts +16 -0
- package/packages/ui/src/hooks/useLinkedSidebarSelection.d.ts.map +1 -0
- package/packages/ui/src/hooks/useLinkedSidebarSelection.js +117 -0
- package/packages/ui/src/hooks/useTimeout.d.ts +5 -0
- package/packages/ui/src/hooks/useTimeout.d.ts.map +1 -0
- package/packages/ui/src/hooks/useTimeout.js +26 -0
- package/packages/ui/src/index.d.ts +8 -0
- package/packages/ui/src/index.d.ts.map +1 -0
- package/packages/ui/src/index.js +7 -0
- package/packages/ui/src/layouts/chat-panel-layout/chat-panel-layout.d.ts +11 -0
- package/packages/ui/src/layouts/chat-panel-layout/chat-panel-layout.d.ts.map +1 -0
- package/packages/ui/src/layouts/chat-panel-layout/chat-panel-layout.js +37 -0
- package/packages/ui/src/layouts/chat-panel-layout/index.d.ts +2 -0
- package/packages/ui/src/layouts/chat-panel-layout/index.d.ts.map +1 -0
- package/packages/ui/src/layouts/chat-panel-layout/index.js +1 -0
- package/packages/ui/src/layouts/content-layout/content-layout.d.ts +21 -0
- package/packages/ui/src/layouts/content-layout/content-layout.d.ts.map +1 -0
- package/packages/ui/src/layouts/content-layout/content-layout.js +5 -0
- package/packages/ui/src/layouts/content-layout/index.d.ts +2 -0
- package/packages/ui/src/layouts/content-layout/index.d.ts.map +1 -0
- package/packages/ui/src/layouts/content-layout/index.js +1 -0
- package/packages/ui/src/layouts/index.d.ts +5 -0
- package/packages/ui/src/layouts/index.d.ts.map +1 -0
- package/packages/ui/src/layouts/index.js +4 -0
- package/packages/ui/src/layouts/layout-test-utils.d.ts +6 -0
- package/packages/ui/src/layouts/layout-test-utils.d.ts.map +1 -0
- package/packages/ui/src/layouts/layout-test-utils.js +36 -0
- package/packages/ui/src/layouts/page-layout/index.d.ts +5 -0
- package/packages/ui/src/layouts/page-layout/index.d.ts.map +1 -0
- package/packages/ui/src/layouts/page-layout/index.js +4 -0
- package/packages/ui/src/layouts/page-layout/page-layout-header.d.ts +287 -0
- package/packages/ui/src/layouts/page-layout/page-layout-header.d.ts.map +1 -0
- package/packages/ui/src/layouts/page-layout/page-layout-header.js +8 -0
- package/packages/ui/src/layouts/page-layout/page-layout-mobile-drawer.d.ts +3 -0
- package/packages/ui/src/layouts/page-layout/page-layout-mobile-drawer.d.ts.map +1 -0
- package/packages/ui/src/layouts/page-layout/page-layout-mobile-drawer.js +37 -0
- package/packages/ui/src/layouts/page-layout/page-layout-types.d.ts +15 -0
- package/packages/ui/src/layouts/page-layout/page-layout-types.d.ts.map +1 -0
- package/packages/ui/src/layouts/page-layout/page-layout-types.js +1 -0
- package/packages/ui/src/layouts/page-layout/page-layout.d.ts +3 -0
- package/packages/ui/src/layouts/page-layout/page-layout.d.ts.map +1 -0
- package/packages/ui/src/layouts/page-layout/page-layout.js +5 -0
- package/packages/ui/src/layouts/workspace-layout/index.d.ts +4 -0
- package/packages/ui/src/layouts/workspace-layout/index.d.ts.map +1 -0
- package/packages/ui/src/layouts/workspace-layout/index.js +3 -0
- package/packages/ui/src/layouts/workspace-layout/workspace-layout-types.d.ts +19 -0
- package/packages/ui/src/layouts/workspace-layout/workspace-layout-types.d.ts.map +1 -0
- package/packages/ui/src/layouts/workspace-layout/workspace-layout-types.js +1 -0
- package/packages/ui/src/layouts/workspace-layout/workspace-layout.d.ts +3 -0
- package/packages/ui/src/layouts/workspace-layout/workspace-layout.d.ts.map +1 -0
- package/packages/ui/src/layouts/workspace-layout/workspace-layout.js +65 -0
- package/packages/ui/src/layouts/workspace-layout/workspace-mobile-sidebar-controls.d.ts +13 -0
- package/packages/ui/src/layouts/workspace-layout/workspace-mobile-sidebar-controls.d.ts.map +1 -0
- package/packages/ui/src/layouts/workspace-layout/workspace-mobile-sidebar-controls.js +5 -0
- package/packages/ui/src/lib/floating-layers.d.ts +17 -0
- package/packages/ui/src/lib/floating-layers.d.ts.map +1 -0
- package/packages/ui/src/lib/floating-layers.js +20 -0
- package/packages/ui/src/lib/utils.d.ts +3 -0
- package/packages/ui/src/lib/utils.d.ts.map +1 -0
- package/packages/ui/src/lib/utils.js +5 -0
- package/packages/ui/src/stories/layout-story-fixtures.d.ts +14 -0
- package/packages/ui/src/stories/layout-story-fixtures.d.ts.map +1 -0
- package/packages/ui/src/stories/layout-story-fixtures.js +33 -0
- package/packages/ui/src/types/onboarding.d.ts +8 -0
- package/packages/ui/src/types/onboarding.d.ts.map +1 -0
- package/packages/ui/src/types/onboarding.js +17 -0
- package/plugins/plugin-browser-bridge/src/actions.d.ts +44 -0
- package/plugins/plugin-browser-bridge/src/actions.d.ts.map +1 -0
- package/plugins/plugin-browser-bridge/src/actions.js +234 -0
- package/plugins/plugin-browser-bridge/src/contracts.d.ts +272 -0
- package/plugins/plugin-browser-bridge/src/contracts.d.ts.map +1 -0
- package/plugins/plugin-browser-bridge/src/contracts.js +48 -0
- package/plugins/plugin-browser-bridge/src/index.d.ts +19 -0
- package/plugins/plugin-browser-bridge/src/index.d.ts.map +1 -0
- package/plugins/plugin-browser-bridge/src/index.js +18 -0
- package/plugins/plugin-browser-bridge/src/packaging.d.ts +27 -0
- package/plugins/plugin-browser-bridge/src/packaging.d.ts.map +1 -0
- package/plugins/plugin-browser-bridge/src/packaging.js +503 -0
- package/plugins/plugin-browser-bridge/src/plugin.d.ts +10 -0
- package/plugins/plugin-browser-bridge/src/plugin.d.ts.map +1 -0
- package/plugins/plugin-browser-bridge/src/plugin.js +140 -0
- package/plugins/plugin-browser-bridge/src/routes.d.ts +37 -0
- package/plugins/plugin-browser-bridge/src/routes.d.ts.map +1 -0
- package/plugins/plugin-browser-bridge/src/routes.js +496 -0
- package/plugins/plugin-browser-bridge/src/schema.d.ts +2250 -0
- package/plugins/plugin-browser-bridge/src/schema.d.ts.map +1 -0
- package/plugins/plugin-browser-bridge/src/schema.js +111 -0
- package/plugins/plugin-browser-bridge/src/service.d.ts +28 -0
- package/plugins/plugin-browser-bridge/src/service.d.ts.map +1 -0
- package/plugins/plugin-browser-bridge/src/service.js +1 -0
- package/styles/electrobun-mac-window-drag.css +94 -0
- package/styles/theme.css +73 -0
- package/README.md +0 -6
- package/dist/components/ui/badge.d.ts +0 -10
- package/dist/components/ui/badge.d.ts.map +0 -1
- package/dist/components/ui/badge.js +0 -20
- package/dist/components/ui/banner.d.ts +0 -18
- package/dist/components/ui/banner.d.ts.map +0 -1
- package/dist/components/ui/banner.js +0 -27
- package/dist/components/ui/button.d.ts +0 -12
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/button.js +0 -33
- package/dist/components/ui/card.d.ts +0 -9
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/card.js +0 -16
- package/dist/components/ui/chat-atoms.d.ts +0 -26
- package/dist/components/ui/chat-atoms.d.ts.map +0 -1
- package/dist/components/ui/chat-atoms.js +0 -17
- package/dist/components/ui/checkbox.d.ts.map +0 -1
- package/dist/components/ui/confirm-delete.d.ts +0 -12
- package/dist/components/ui/confirm-delete.d.ts.map +0 -1
- package/dist/components/ui/confirm-delete.js +0 -13
- package/dist/components/ui/confirm-dialog.d.ts +0 -24
- package/dist/components/ui/confirm-dialog.d.ts.map +0 -1
- package/dist/components/ui/confirm-dialog.js +0 -55
- package/dist/components/ui/connection-status.d.ts +0 -9
- package/dist/components/ui/connection-status.d.ts.map +0 -1
- package/dist/components/ui/connection-status.js +0 -25
- package/dist/components/ui/copy-button.d.ts.map +0 -1
- package/dist/components/ui/dialog.d.ts +0 -20
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/dialog.js +0 -22
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.js +0 -35
- package/dist/components/ui/empty-state.d.ts.map +0 -1
- package/dist/components/ui/error-boundary.d.ts +0 -18
- package/dist/components/ui/error-boundary.d.ts.map +0 -1
- package/dist/components/ui/error-boundary.js +0 -27
- package/dist/components/ui/grid.d.ts +0 -11
- package/dist/components/ui/grid.d.ts.map +0 -1
- package/dist/components/ui/grid.js +0 -30
- package/dist/components/ui/input.d.ts +0 -6
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/input.js +0 -8
- package/dist/components/ui/label.d.ts +0 -6
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/label.js +0 -9
- package/dist/components/ui/popover.d.ts.map +0 -1
- package/dist/components/ui/save-footer.d.ts.map +0 -1
- package/dist/components/ui/save-footer.js +0 -9
- package/dist/components/ui/search-bar.d.ts +0 -17
- package/dist/components/ui/search-bar.d.ts.map +0 -1
- package/dist/components/ui/search-bar.js +0 -19
- package/dist/components/ui/search-input.d.ts.map +0 -1
- package/dist/components/ui/search-input.js +0 -9
- package/dist/components/ui/section-card.d.ts.map +0 -1
- package/dist/components/ui/section-card.js +0 -9
- package/dist/components/ui/select.d.ts.map +0 -1
- package/dist/components/ui/select.js +0 -26
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/skeleton.js +0 -25
- package/dist/components/ui/slider.d.ts.map +0 -1
- package/dist/components/ui/slider.js +0 -7
- package/dist/components/ui/sonner.d.ts +0 -5
- package/dist/components/ui/sonner.d.ts.map +0 -1
- package/dist/components/ui/sonner.js +0 -15
- package/dist/components/ui/spinner.d.ts.map +0 -1
- package/dist/components/ui/stack.d.ts +0 -13
- package/dist/components/ui/stack.d.ts.map +0 -1
- package/dist/components/ui/stack.js +0 -39
- package/dist/components/ui/status-badge.d.ts +0 -20
- package/dist/components/ui/status-badge.d.ts.map +0 -1
- package/dist/components/ui/status-badge.js +0 -41
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/switch.js +0 -7
- package/dist/components/ui/tabs.d.ts.map +0 -1
- package/dist/components/ui/tabs.js +0 -12
- package/dist/components/ui/tag-editor.d.ts +0 -24
- package/dist/components/ui/tag-editor.d.ts.map +0 -1
- package/dist/components/ui/tag-editor.js +0 -32
- package/dist/components/ui/tag-input.d.ts +0 -19
- package/dist/components/ui/tag-input.d.ts.map +0 -1
- package/dist/components/ui/tag-input.js +0 -28
- package/dist/components/ui/textarea.d.ts +0 -6
- package/dist/components/ui/textarea.d.ts.map +0 -1
- package/dist/components/ui/textarea.js +0 -8
- package/dist/components/ui/themed-select.d.ts +0 -27
- package/dist/components/ui/themed-select.d.ts.map +0 -1
- package/dist/components/ui/themed-select.js +0 -57
- package/dist/components/ui/tooltip-extended.d.ts +0 -76
- package/dist/components/ui/tooltip-extended.d.ts.map +0 -1
- package/dist/components/ui/tooltip-extended.js +0 -128
- package/dist/components/ui/tooltip.d.ts +0 -8
- package/dist/components/ui/tooltip.d.ts.map +0 -1
- package/dist/components/ui/tooltip.js +0 -10
- package/dist/components/ui/typography.d.ts +0 -17
- package/dist/components/ui/typography.d.ts.map +0 -1
- package/dist/components/ui/typography.js +0 -44
- package/dist/index.d.ts +0 -42
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -43
- package/dist/lib/button-styles.d.ts +0 -12
- package/dist/lib/button-styles.d.ts.map +0 -1
- package/dist/lib/button-styles.js +0 -11
- package/dist/lib/utils.d.ts +0 -6
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/utils.js +0 -8
- package/dist/package.json +0 -65
- package/dist/styles/theme.css +0 -193
- package/src/styles/theme.css +0 -193
- /package/{dist/components/ui → packages/ui/src/components/composites/search}/search-input.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/checkbox.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/checkbox.js +0 -0
- /package/{dist → packages/ui/src}/components/ui/copy-button.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/copy-button.js +0 -0
- /package/{dist → packages/ui/src}/components/ui/dropdown-menu.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/empty-state.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/empty-state.js +0 -0
- /package/{dist → packages/ui/src}/components/ui/popover.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/popover.js +0 -0
- /package/{dist → packages/ui/src}/components/ui/save-footer.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/section-card.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/select.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/separator.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/separator.js +0 -0
- /package/{dist → packages/ui/src}/components/ui/skeleton.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/slider.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/spinner.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/spinner.js +0 -0
- /package/{dist → packages/ui/src}/components/ui/switch.d.ts +0 -0
- /package/{dist → packages/ui/src}/components/ui/tabs.d.ts +0 -0
|
@@ -0,0 +1,3170 @@
|
|
|
1
|
+
// @ts-nocheck — mixin: type safety is enforced on the composed class
|
|
2
|
+
import crypto from "node:crypto";
|
|
3
|
+
import { loadOwnerContactRoutingHints, loadOwnerContactsConfig, resolveOwnerContactWithFallback, } from "@elizaos/agent/config/owner-contacts";
|
|
4
|
+
import { registerEscalationChannel } from "@elizaos/agent/services/escalation";
|
|
5
|
+
import { ModelType } from "@elizaos/core";
|
|
6
|
+
import { readProfileFromMetadata } from "../activity-profile/profile-metadata.js";
|
|
7
|
+
import { LIFEOPS_CHANNEL_TYPES, LIFEOPS_CIRCADIAN_STATES, LIFEOPS_MANUAL_OVERRIDE_KINDS, LIFEOPS_UNCLEAR_REASONS, } from "../contracts/index.js";
|
|
8
|
+
import { getSelfControlStatus, startSelfControlBlock, stopSelfControlBlock, } from "../website-blocker/engine.js";
|
|
9
|
+
import { buildNativeAppleReminderMetadata, createNativeAppleReminderLikeItem, deleteNativeAppleReminderLikeItem, readNativeAppleReminderMetadata, updateNativeAppleReminderLikeItem, } from "./apple-reminders.js";
|
|
10
|
+
import { CheckinService } from "./checkin/checkin-service.js";
|
|
11
|
+
import { shouldRunMorningCheckinFromSleepCycle, shouldRunNightCheckinFromSleepCycle, } from "./checkin/sleep-cycle-dispatch.js";
|
|
12
|
+
import { computeAdaptiveWindowPolicy, resolveDefaultTimeZone, windowPolicyMatchesDefaults, } from "./defaults.js";
|
|
13
|
+
import { DEFAULT_MORNING_WINDOW, DEFAULT_NIGHT_WINDOW, getCurrentEnforcementWindow, minutesPastWindowStart, } from "./enforcement-windows.js";
|
|
14
|
+
import { materializeDefinitionOccurrences } from "./engine.js";
|
|
15
|
+
import { refreshLifeOpsRelativeTime } from "./relative-time.js";
|
|
16
|
+
import { createLifeOpsActivitySignal, createLifeOpsChannelPolicy, createLifeOpsReminderAttempt, createLifeOpsReminderPlan, createLifeOpsWebsiteAccessGrant, } from "./repository.js";
|
|
17
|
+
import { refreshLifeOpsScheduleInsight } from "./schedule-insight.js";
|
|
18
|
+
import { deriveLocalScheduleObservations, isFreshCloudMergedState, mergeScheduleObservations, preferEffectiveMergedState, recordsFromSyncRequest, resolveScheduleDeviceIdentity, SCHEDULE_CLOUD_SYNC_TTL_MS, SCHEDULE_OBSERVATION_LOOKBACK_MS, } from "./schedule-state.js";
|
|
19
|
+
import { LIFEOPS_SCHEDULE_DEVICE_KINDS, } from "./schedule-sync-contracts.js";
|
|
20
|
+
import { REMINDER_ESCALATION_DELAYS, REMINDER_REVIEW_AFTER_MINUTES_METADATA_KEY, REMINDER_REVIEW_AT_METADATA_KEY, REMINDER_REVIEW_DECISION_METADATA_KEY, REMINDER_REVIEW_ESCALATED_AT_METADATA_KEY, REMINDER_REVIEW_ESCALATED_ATTEMPT_ID_METADATA_KEY, REMINDER_REVIEW_ESCALATED_CHANNEL_METADATA_KEY, REMINDER_REVIEW_REASON_METADATA_KEY, REMINDER_REVIEW_RESPONDED_AT_METADATA_KEY, REMINDER_REVIEW_RESPONSE_TEXT_METADATA_KEY, REMINDER_REVIEW_STATUS_METADATA_KEY, } from "./service-constants.js";
|
|
21
|
+
import { isReminderChannelAllowedForUrgency, isWithinQuietHours as isWithinQuietHoursPolicy, } from "./service-helpers-misc.js";
|
|
22
|
+
import { computeDefinitionPerformance } from "./service-helpers-occurrence.js";
|
|
23
|
+
import { classifyReminderOwnerResponseText, rankReminderEscalationChannels, readReminderAttemptLifecycle, resolveReminderDeliveryUrgency, resolveReminderEscalationDelayMinutes, shouldDeferReminderUntilComputerActive, shouldDeliverReminderForIntensity, shouldEscalateImmediately, } from "./service-helpers-reminder.js";
|
|
24
|
+
import { fail, lifeOpsErrorMessage, normalizeEnumValue, normalizeOptionalString, requireNonEmptyString, } from "./service-normalize.js";
|
|
25
|
+
import { normalizeHealthSignal } from "./service-normalize-health.js";
|
|
26
|
+
import { deriveSleepWakeEvents, } from "./sleep-wake-events.js";
|
|
27
|
+
import { DEFAULT_TELEMETRY_RETENTION_DAYS, runTelemetryRetention, } from "./telemetry-retention.js";
|
|
28
|
+
import { addMinutes, getZonedDateParts } from "./time.js";
|
|
29
|
+
import { readTwilioCredentialsFromEnv, sendTwilioSms, sendTwilioVoiceCall, } from "./twilio.js";
|
|
30
|
+
/**
|
|
31
|
+
* Given a "normal" delay in minutes between reminder steps and the
|
|
32
|
+
* current enforcement state, return the effective delay. Inside an
|
|
33
|
+
* active enforcement window for a routine definition, once more than
|
|
34
|
+
* 10 minutes have elapsed past the window start, the gap is halved.
|
|
35
|
+
*/
|
|
36
|
+
export function applyEnforcementOverrides(normalDelayMinutes, state) {
|
|
37
|
+
if (!state || state.window.kind === "none" || !state.definitionIsRoutine) {
|
|
38
|
+
return { delayMinutes: normalDelayMinutes, forceVoice: false };
|
|
39
|
+
}
|
|
40
|
+
let delay = normalDelayMinutes;
|
|
41
|
+
if (state.minutesPastStart > 10) {
|
|
42
|
+
delay = Math.max(1, Math.floor(normalDelayMinutes / 2));
|
|
43
|
+
}
|
|
44
|
+
const forceVoice = state.twilioVoiceAvailable && state.minutesPastStart > 20;
|
|
45
|
+
return { delayMinutes: delay, forceVoice };
|
|
46
|
+
}
|
|
47
|
+
function normalizeHour(value) {
|
|
48
|
+
return typeof value === "number" && Number.isFinite(value) ? value : null;
|
|
49
|
+
}
|
|
50
|
+
function hourFromIso(value, timezone) {
|
|
51
|
+
if (!value) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
const date = new Date(value);
|
|
55
|
+
if (!Number.isFinite(date.getTime())) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
const parts = getZonedDateParts(date, timezone);
|
|
59
|
+
return parts.hour + parts.minute / 60;
|
|
60
|
+
}
|
|
61
|
+
function buildAdaptiveWindowProfile(args) {
|
|
62
|
+
const baseline = args.schedule?.baseline ?? null;
|
|
63
|
+
const scheduleWakeHour = normalizeHour(baseline?.medianWakeLocalHour) ??
|
|
64
|
+
hourFromIso(args.schedule?.wakeAt ?? args.schedule?.firstActiveAt, args.timeZone);
|
|
65
|
+
const scheduleFirstActiveHour = hourFromIso(args.schedule?.firstActiveAt, args.timeZone) ??
|
|
66
|
+
scheduleWakeHour;
|
|
67
|
+
const scheduleLastActiveHour = hourFromIso(args.schedule?.lastActiveAt, args.timeZone);
|
|
68
|
+
const scheduleSleepHour = normalizeHour(baseline?.medianBedtimeLocalHour);
|
|
69
|
+
const adaptiveProfile = {
|
|
70
|
+
typicalWakeHour: scheduleWakeHour ?? args.profile?.typicalWakeHour ?? null,
|
|
71
|
+
typicalFirstActiveHour: scheduleFirstActiveHour ?? args.profile?.typicalFirstActiveHour ?? null,
|
|
72
|
+
typicalLastActiveHour: scheduleLastActiveHour ?? args.profile?.typicalLastActiveHour ?? null,
|
|
73
|
+
typicalSleepHour: scheduleSleepHour ?? args.profile?.typicalSleepHour ?? null,
|
|
74
|
+
};
|
|
75
|
+
return Object.values(adaptiveProfile).some((value) => value !== null)
|
|
76
|
+
? adaptiveProfile
|
|
77
|
+
: null;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Determine whether a task/routine definition should trigger enforcement
|
|
81
|
+
* overrides inside a morning/night window.
|
|
82
|
+
*/
|
|
83
|
+
export function definitionTriggersEnforcement(definition) {
|
|
84
|
+
if (!definition)
|
|
85
|
+
return false;
|
|
86
|
+
if (definition.kind === "morning_routine" ||
|
|
87
|
+
definition.kind === "night_routine") {
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
const metadata = definition.metadata;
|
|
91
|
+
if (metadata && metadata.enforceRoutineWindow === true)
|
|
92
|
+
return true;
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Build the enforcement state for a dispatch. Callers pass the relevant
|
|
97
|
+
* definition (may be null for calendar events) and the owner's timezone.
|
|
98
|
+
*/
|
|
99
|
+
export function buildReminderEnforcementState(now, timezone, definition, twilioVoiceAvailable, windows) {
|
|
100
|
+
const window = getCurrentEnforcementWindow(now, timezone, windows ?? [DEFAULT_MORNING_WINDOW, DEFAULT_NIGHT_WINDOW]);
|
|
101
|
+
const minutesPast = minutesPastWindowStart(now, timezone, window);
|
|
102
|
+
return {
|
|
103
|
+
window,
|
|
104
|
+
minutesPastStart: minutesPast,
|
|
105
|
+
definitionIsRoutine: definitionTriggersEnforcement(definition),
|
|
106
|
+
twilioVoiceAvailable,
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
// ---------------------------------------------------------------------------
|
|
110
|
+
// Local constants
|
|
111
|
+
// ---------------------------------------------------------------------------
|
|
112
|
+
const DEFAULT_REMINDER_PROCESS_LIMIT = 24;
|
|
113
|
+
const DEFAULT_WORKFLOW_PROCESS_LIMIT = 12;
|
|
114
|
+
const OVERVIEW_HORIZON_MINUTES = 18 * 60;
|
|
115
|
+
const DEFAULT_REMINDER_INTENSITY = "normal";
|
|
116
|
+
const GLOBAL_REMINDER_PREFERENCE_CHANNEL_REF = "lifeops://owner/reminder-preferences";
|
|
117
|
+
const REMINDER_INTENSITY_METADATA_KEY = "reminderIntensity";
|
|
118
|
+
const REMINDER_INTENSITY_UPDATED_AT_METADATA_KEY = "reminderIntensityUpdatedAt";
|
|
119
|
+
const REMINDER_INTENSITY_NOTE_METADATA_KEY = "reminderIntensityNote";
|
|
120
|
+
const REMINDER_PREFERENCE_SCOPE_METADATA_KEY = "reminderPreferenceScope";
|
|
121
|
+
const REMINDER_LIFECYCLE_METADATA_KEY = "lifecycle";
|
|
122
|
+
const REMINDER_ESCALATION_INDEX_METADATA_KEY = "escalationIndex";
|
|
123
|
+
const REMINDER_ESCALATION_REASON_METADATA_KEY = "escalationReason";
|
|
124
|
+
const REMINDER_ESCALATION_ACTIVITY_PLATFORM_METADATA_KEY = "activityPlatform";
|
|
125
|
+
const REMINDER_ESCALATION_ACTIVITY_ACTIVE_METADATA_KEY = "activityActive";
|
|
126
|
+
const REMINDER_ESCALATION_STARTED_AT_METADATA_KEY = "reminderEscalationStartedAt";
|
|
127
|
+
const REMINDER_ESCALATION_LAST_ATTEMPT_AT_METADATA_KEY = "reminderEscalationLastAttemptAt";
|
|
128
|
+
const REMINDER_ESCALATION_LAST_CHANNEL_METADATA_KEY = "reminderEscalationLastChannel";
|
|
129
|
+
const REMINDER_ESCALATION_LAST_OUTCOME_METADATA_KEY = "reminderEscalationLastOutcome";
|
|
130
|
+
const REMINDER_ESCALATION_CHANNELS_METADATA_KEY = "reminderEscalationChannels";
|
|
131
|
+
const REMINDER_ESCALATION_RESOLVED_AT_METADATA_KEY = "reminderEscalationResolvedAt";
|
|
132
|
+
const REMINDER_ESCALATION_RESOLUTION_METADATA_KEY = "reminderEscalationResolution";
|
|
133
|
+
const REMINDER_ESCALATION_RESOLUTION_NOTE_METADATA_KEY = "reminderEscalationResolutionNote";
|
|
134
|
+
const PROACTIVE_TASK_QUERY_TAGS = ["queue", "repeat", "proactive"];
|
|
135
|
+
// ---------------------------------------------------------------------------
|
|
136
|
+
// Local helpers (copied from service.ts)
|
|
137
|
+
// ---------------------------------------------------------------------------
|
|
138
|
+
function isRecord(value) {
|
|
139
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
140
|
+
}
|
|
141
|
+
function mergeMetadata(current, updates) {
|
|
142
|
+
const cloned = updates && typeof updates === "object" && !Array.isArray(updates)
|
|
143
|
+
? { ...updates }
|
|
144
|
+
: {};
|
|
145
|
+
return { ...current, ...cloned };
|
|
146
|
+
}
|
|
147
|
+
function requireRecord(value, field) {
|
|
148
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
149
|
+
fail(400, `${field} must be an object`);
|
|
150
|
+
}
|
|
151
|
+
return { ...value };
|
|
152
|
+
}
|
|
153
|
+
function normalizeOptionalBoolean(value, field) {
|
|
154
|
+
if (value === undefined || value === null)
|
|
155
|
+
return null;
|
|
156
|
+
if (typeof value === "boolean")
|
|
157
|
+
return value;
|
|
158
|
+
if (value === "true")
|
|
159
|
+
return true;
|
|
160
|
+
if (value === "false")
|
|
161
|
+
return false;
|
|
162
|
+
fail(400, `${field} must be a boolean`);
|
|
163
|
+
}
|
|
164
|
+
function normalizeIsoString(value, field) {
|
|
165
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
166
|
+
fail(400, `${field} must be an ISO 8601 string`);
|
|
167
|
+
}
|
|
168
|
+
const ms = Date.parse(value);
|
|
169
|
+
if (!Number.isFinite(ms)) {
|
|
170
|
+
fail(400, `${field} must be a valid ISO 8601 string`);
|
|
171
|
+
}
|
|
172
|
+
return value;
|
|
173
|
+
}
|
|
174
|
+
function normalizeOptionalIsoString(value, field) {
|
|
175
|
+
if (value === undefined || value === null)
|
|
176
|
+
return null;
|
|
177
|
+
return normalizeIsoString(value, field);
|
|
178
|
+
}
|
|
179
|
+
function normalizePositiveInteger(value, field) {
|
|
180
|
+
const num = typeof value === "string" ? Number(value) : value;
|
|
181
|
+
if (typeof num !== "number" || !Number.isInteger(num) || num < 1) {
|
|
182
|
+
fail(400, `${field} must be a positive integer`);
|
|
183
|
+
}
|
|
184
|
+
return num;
|
|
185
|
+
}
|
|
186
|
+
function normalizeOptionalNonNegativeInteger(value, field) {
|
|
187
|
+
if (value === undefined || value === null)
|
|
188
|
+
return null;
|
|
189
|
+
const num = typeof value === "string" ? Number(value) : value;
|
|
190
|
+
if (typeof num !== "number" || !Number.isInteger(num) || num < 0) {
|
|
191
|
+
fail(400, `${field} must be a non-negative integer`);
|
|
192
|
+
}
|
|
193
|
+
return num;
|
|
194
|
+
}
|
|
195
|
+
function normalizeOptionalRecord(value, field) {
|
|
196
|
+
if (value === undefined)
|
|
197
|
+
return undefined;
|
|
198
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
199
|
+
fail(400, `${field} must be an object`);
|
|
200
|
+
}
|
|
201
|
+
return { ...value };
|
|
202
|
+
}
|
|
203
|
+
function normalizePhoneNumber(value, field) {
|
|
204
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
205
|
+
fail(400, `${field} must be a non-empty phone number string`);
|
|
206
|
+
}
|
|
207
|
+
const cleaned = value.replace(/[\s\-().]/g, "");
|
|
208
|
+
if (!/^\+?\d{7,15}$/.test(cleaned)) {
|
|
209
|
+
fail(400, `${field} is not a valid phone number`);
|
|
210
|
+
}
|
|
211
|
+
return cleaned.startsWith("+") ? cleaned : `+${cleaned}`;
|
|
212
|
+
}
|
|
213
|
+
function normalizePrivacyClass(value, field, fallback) {
|
|
214
|
+
if (value === undefined || value === null) {
|
|
215
|
+
return typeof fallback === "string" ? fallback : "private";
|
|
216
|
+
}
|
|
217
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
218
|
+
if (typeof fallback === "string")
|
|
219
|
+
return fallback;
|
|
220
|
+
fail(400, `${field ?? "privacyClass"} must be a string`);
|
|
221
|
+
}
|
|
222
|
+
return value.trim();
|
|
223
|
+
}
|
|
224
|
+
const LIFEOPS_OWNER_CONTACTS_LOAD_CONTEXT = {
|
|
225
|
+
fallbackToEnv: true,
|
|
226
|
+
envPrefix: "LIFEOPS_OWNER_",
|
|
227
|
+
};
|
|
228
|
+
// Reminder-specific helpers
|
|
229
|
+
const REMINDER_INTENSITY_CANONICAL_ALIASES = {
|
|
230
|
+
minimal: "minimal",
|
|
231
|
+
normal: "normal",
|
|
232
|
+
persistent: "persistent",
|
|
233
|
+
high_priority_only: "high_priority_only",
|
|
234
|
+
paused: "high_priority_only",
|
|
235
|
+
low: "minimal",
|
|
236
|
+
high: "persistent",
|
|
237
|
+
};
|
|
238
|
+
function normalizeReminderIntensityInput(value, field) {
|
|
239
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
240
|
+
fail(400, `${field} must be a non-empty string`);
|
|
241
|
+
}
|
|
242
|
+
const canonical = REMINDER_INTENSITY_CANONICAL_ALIASES[value.trim().toLowerCase()];
|
|
243
|
+
if (!canonical) {
|
|
244
|
+
fail(400, `${field} must be one of: ${Object.keys(REMINDER_INTENSITY_CANONICAL_ALIASES).join(", ")}`);
|
|
245
|
+
}
|
|
246
|
+
return canonical;
|
|
247
|
+
}
|
|
248
|
+
function isReminderChannel(value) {
|
|
249
|
+
return (typeof value === "string" &&
|
|
250
|
+
(value === "in_app" ||
|
|
251
|
+
value === "email" ||
|
|
252
|
+
value === "telegram" ||
|
|
253
|
+
value === "discord" ||
|
|
254
|
+
value === "signal" ||
|
|
255
|
+
value === "whatsapp" ||
|
|
256
|
+
value === "imessage" ||
|
|
257
|
+
value === "sms" ||
|
|
258
|
+
value === "voice" ||
|
|
259
|
+
value === "push"));
|
|
260
|
+
}
|
|
261
|
+
function isDeliveredReminderOutcome(outcome) {
|
|
262
|
+
return (outcome === "delivered" ||
|
|
263
|
+
outcome === "delivered_read" ||
|
|
264
|
+
outcome === "delivered_unread");
|
|
265
|
+
}
|
|
266
|
+
function readReminderReviewAt(attempt) {
|
|
267
|
+
const value = attempt.deliveryMetadata?.[REMINDER_REVIEW_AT_METADATA_KEY];
|
|
268
|
+
if (typeof value !== "string") {
|
|
269
|
+
return null;
|
|
270
|
+
}
|
|
271
|
+
return Number.isFinite(Date.parse(value)) ? value : null;
|
|
272
|
+
}
|
|
273
|
+
function readReminderReviewStatus(attempt) {
|
|
274
|
+
const value = attempt.deliveryMetadata?.[REMINDER_REVIEW_STATUS_METADATA_KEY] ?? null;
|
|
275
|
+
return typeof value === "string" && value.trim().length > 0 ? value : null;
|
|
276
|
+
}
|
|
277
|
+
function isReminderReviewClosed(attempt) {
|
|
278
|
+
const status = readReminderReviewStatus(attempt);
|
|
279
|
+
return status === "resolved" || status === "escalated";
|
|
280
|
+
}
|
|
281
|
+
function readReminderAttemptAnchorMs(attempt) {
|
|
282
|
+
const attempted = attempt.attemptedAt ? Date.parse(attempt.attemptedAt) : NaN;
|
|
283
|
+
if (Number.isFinite(attempted)) {
|
|
284
|
+
return attempted;
|
|
285
|
+
}
|
|
286
|
+
const scheduled = Date.parse(attempt.scheduledFor);
|
|
287
|
+
return Number.isFinite(scheduled) ? scheduled : Number.NEGATIVE_INFINITY;
|
|
288
|
+
}
|
|
289
|
+
function readLatestPendingReminderReviewAttempt(attempts) {
|
|
290
|
+
return (attempts
|
|
291
|
+
.filter((attempt) => isDeliveredReminderOutcome(attempt.outcome) &&
|
|
292
|
+
readReminderReviewAt(attempt) !== null &&
|
|
293
|
+
!isReminderReviewClosed(attempt))
|
|
294
|
+
.sort((left, right) => readReminderAttemptAnchorMs(left) -
|
|
295
|
+
readReminderAttemptAnchorMs(right))
|
|
296
|
+
.at(-1) ?? null);
|
|
297
|
+
}
|
|
298
|
+
function readReminderPreferenceSettingFromMetadata(metadata, source) {
|
|
299
|
+
if (!metadata)
|
|
300
|
+
return null;
|
|
301
|
+
const intensity = metadata[REMINDER_INTENSITY_METADATA_KEY];
|
|
302
|
+
if (typeof intensity !== "string")
|
|
303
|
+
return null;
|
|
304
|
+
const canonical = REMINDER_INTENSITY_CANONICAL_ALIASES[intensity];
|
|
305
|
+
if (!canonical)
|
|
306
|
+
return null;
|
|
307
|
+
return {
|
|
308
|
+
intensity: canonical,
|
|
309
|
+
source,
|
|
310
|
+
updatedAt: typeof metadata[REMINDER_INTENSITY_UPDATED_AT_METADATA_KEY] === "string"
|
|
311
|
+
? metadata[REMINDER_INTENSITY_UPDATED_AT_METADATA_KEY]
|
|
312
|
+
: null,
|
|
313
|
+
note: typeof metadata[REMINDER_INTENSITY_NOTE_METADATA_KEY] === "string"
|
|
314
|
+
? metadata[REMINDER_INTENSITY_NOTE_METADATA_KEY]
|
|
315
|
+
: null,
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
function withReminderPreferenceMetadata(metadata, intensity, updatedAt, note, _scope) {
|
|
319
|
+
return {
|
|
320
|
+
...metadata,
|
|
321
|
+
[REMINDER_INTENSITY_METADATA_KEY]: intensity,
|
|
322
|
+
[REMINDER_INTENSITY_UPDATED_AT_METADATA_KEY]: updatedAt,
|
|
323
|
+
[REMINDER_INTENSITY_NOTE_METADATA_KEY]: note,
|
|
324
|
+
};
|
|
325
|
+
}
|
|
326
|
+
function applyReminderIntensityToPlan(plan, intensity) {
|
|
327
|
+
if (intensity === "normal" || intensity === "persistent") {
|
|
328
|
+
return plan;
|
|
329
|
+
}
|
|
330
|
+
return plan;
|
|
331
|
+
}
|
|
332
|
+
function buildReminderBody(args) {
|
|
333
|
+
const parts = [];
|
|
334
|
+
if (args.lifecycle === "escalation") {
|
|
335
|
+
parts.push(`Follow-up reminder: ${args.title}`);
|
|
336
|
+
}
|
|
337
|
+
else {
|
|
338
|
+
parts.push(`Reminder: ${args.title}`);
|
|
339
|
+
}
|
|
340
|
+
if (args.dueAt) {
|
|
341
|
+
parts.push(`Due: ${new Date(args.dueAt).toLocaleString()}`);
|
|
342
|
+
}
|
|
343
|
+
return parts.join("\n");
|
|
344
|
+
}
|
|
345
|
+
function buildReminderVoiceContext(runtime) {
|
|
346
|
+
if (!runtime.character)
|
|
347
|
+
return "";
|
|
348
|
+
const parts = [];
|
|
349
|
+
if (runtime.character.name) {
|
|
350
|
+
parts.push(`Name: ${runtime.character.name}`);
|
|
351
|
+
}
|
|
352
|
+
const bio = runtime.character.bio;
|
|
353
|
+
if (typeof bio === "string" && bio.trim().length > 0) {
|
|
354
|
+
parts.push(`Bio: ${bio.trim()}`);
|
|
355
|
+
}
|
|
356
|
+
else if (Array.isArray(bio)) {
|
|
357
|
+
const bioText = bio
|
|
358
|
+
.filter((line) => typeof line === "string")
|
|
359
|
+
.map((line) => line.trim())
|
|
360
|
+
.filter(Boolean)
|
|
361
|
+
.join(" ");
|
|
362
|
+
if (bioText.length > 0) {
|
|
363
|
+
parts.push(`Bio: ${bioText}`);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
return parts.join("\n");
|
|
367
|
+
}
|
|
368
|
+
function formatReminderConversationLine(args) {
|
|
369
|
+
const text = args.memory.content?.text;
|
|
370
|
+
if (!text || typeof text !== "string")
|
|
371
|
+
return null;
|
|
372
|
+
const isAgent = args.memory.entityId === args.agentId;
|
|
373
|
+
const prefix = isAgent ? args.agentName : "User";
|
|
374
|
+
return `${prefix}: ${text}`;
|
|
375
|
+
}
|
|
376
|
+
function readMemoryCreatedAtMs(memory) {
|
|
377
|
+
if (typeof memory.createdAt === "number" &&
|
|
378
|
+
Number.isFinite(memory.createdAt)) {
|
|
379
|
+
return memory.createdAt;
|
|
380
|
+
}
|
|
381
|
+
if (typeof memory.createdAt === "string") {
|
|
382
|
+
const parsed = Date.parse(memory.createdAt);
|
|
383
|
+
return Number.isFinite(parsed) ? parsed : null;
|
|
384
|
+
}
|
|
385
|
+
return null;
|
|
386
|
+
}
|
|
387
|
+
function normalizeGeneratedReminderBody(value) {
|
|
388
|
+
const cleaned = value.replace(/^["'`]+|["'`]+$/g, "").trim();
|
|
389
|
+
return cleaned.length > 0 ? cleaned : null;
|
|
390
|
+
}
|
|
391
|
+
function normalizeGeneratedWorkflowBody(value) {
|
|
392
|
+
const cleaned = value.replace(/^["'`]+|["'`]+$/g, "").trim();
|
|
393
|
+
return cleaned.length > 0 ? cleaned : null;
|
|
394
|
+
}
|
|
395
|
+
function formatNearbyReminderTitlesForPrompt(titles) {
|
|
396
|
+
if (titles.length === 0) {
|
|
397
|
+
return "None.";
|
|
398
|
+
}
|
|
399
|
+
return titles.map((title) => `- ${title}`).join("\n");
|
|
400
|
+
}
|
|
401
|
+
function collectNearbyReminderTitles(args) {
|
|
402
|
+
if (!args.currentAnchorAt)
|
|
403
|
+
return [];
|
|
404
|
+
const anchorMs = Date.parse(args.currentAnchorAt);
|
|
405
|
+
if (!Number.isFinite(anchorMs))
|
|
406
|
+
return [];
|
|
407
|
+
const windowMs = 2 * 60 * 60 * 1000; // 2 hours
|
|
408
|
+
const titles = [];
|
|
409
|
+
for (const occ of args.occurrences) {
|
|
410
|
+
if (occ.id === args.currentOwnerId)
|
|
411
|
+
continue;
|
|
412
|
+
const occMs = occ.dueAt ? Date.parse(occ.dueAt) : null;
|
|
413
|
+
if (occMs !== null && Math.abs(occMs - anchorMs) <= windowMs) {
|
|
414
|
+
titles.push(occ.title);
|
|
415
|
+
}
|
|
416
|
+
if (titles.length >= args.limit)
|
|
417
|
+
return titles;
|
|
418
|
+
}
|
|
419
|
+
for (const event of args.events) {
|
|
420
|
+
if (event.id === args.currentOwnerId)
|
|
421
|
+
continue;
|
|
422
|
+
const eventMs = Date.parse(event.startAt);
|
|
423
|
+
if (Math.abs(eventMs - anchorMs) <= windowMs) {
|
|
424
|
+
titles.push(event.title);
|
|
425
|
+
}
|
|
426
|
+
if (titles.length >= args.limit)
|
|
427
|
+
return titles;
|
|
428
|
+
}
|
|
429
|
+
return titles;
|
|
430
|
+
}
|
|
431
|
+
function buildActiveReminders(occurrences, plansByDefinitionId, now) {
|
|
432
|
+
const rows = [];
|
|
433
|
+
for (const occurrence of occurrences) {
|
|
434
|
+
const plan = plansByDefinitionId.get(occurrence.definitionId);
|
|
435
|
+
if (!plan)
|
|
436
|
+
continue;
|
|
437
|
+
const anchorIso = occurrence.snoozedUntil ?? occurrence.relevanceStartAt;
|
|
438
|
+
if (!anchorIso)
|
|
439
|
+
continue;
|
|
440
|
+
const anchorDate = new Date(anchorIso);
|
|
441
|
+
for (const [stepIndex, step] of plan.steps.entries()) {
|
|
442
|
+
const scheduledFor = addMinutes(anchorDate, step.offsetMinutes).toISOString();
|
|
443
|
+
if (Date.parse(scheduledFor) > now.getTime())
|
|
444
|
+
continue;
|
|
445
|
+
rows.push({
|
|
446
|
+
ownerType: "occurrence",
|
|
447
|
+
ownerId: occurrence.id,
|
|
448
|
+
occurrenceId: occurrence.id,
|
|
449
|
+
definitionId: occurrence.definitionId,
|
|
450
|
+
title: occurrence.title,
|
|
451
|
+
channel: step.channel,
|
|
452
|
+
stepIndex,
|
|
453
|
+
scheduledFor,
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
return rows;
|
|
458
|
+
}
|
|
459
|
+
function buildActiveCalendarEventReminders(events, plansByEventId, _ownerEntityId, now) {
|
|
460
|
+
const rows = [];
|
|
461
|
+
for (const event of events) {
|
|
462
|
+
const plan = plansByEventId.get(event.id);
|
|
463
|
+
if (!plan)
|
|
464
|
+
continue;
|
|
465
|
+
const eventStartAt = new Date(event.startAt);
|
|
466
|
+
for (const [stepIndex, step] of plan.steps.entries()) {
|
|
467
|
+
const scheduledFor = addMinutes(eventStartAt, -step.offsetMinutes).toISOString();
|
|
468
|
+
if (Date.parse(scheduledFor) > now.getTime())
|
|
469
|
+
continue;
|
|
470
|
+
rows.push({
|
|
471
|
+
ownerType: "calendar_event",
|
|
472
|
+
ownerId: event.id,
|
|
473
|
+
eventId: event.id,
|
|
474
|
+
subjectType: "owner",
|
|
475
|
+
title: event.title,
|
|
476
|
+
dueAt: event.startAt,
|
|
477
|
+
channel: step.channel,
|
|
478
|
+
stepIndex,
|
|
479
|
+
scheduledFor,
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
return rows;
|
|
484
|
+
}
|
|
485
|
+
function normalizeActivitySignalSource(value, field) {
|
|
486
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
487
|
+
fail(400, `${field} must be a non-empty string`);
|
|
488
|
+
}
|
|
489
|
+
return value.trim();
|
|
490
|
+
}
|
|
491
|
+
function normalizeActivitySignalState(value, field) {
|
|
492
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
493
|
+
fail(400, `${field} must be a non-empty string`);
|
|
494
|
+
}
|
|
495
|
+
return value.trim();
|
|
496
|
+
}
|
|
497
|
+
function normalizeOptionalIdleState(value, field) {
|
|
498
|
+
if (value === undefined || value === null)
|
|
499
|
+
return null;
|
|
500
|
+
if (typeof value !== "string" || value.trim().length === 0) {
|
|
501
|
+
fail(400, `${field} must be a non-empty string`);
|
|
502
|
+
}
|
|
503
|
+
return value.trim();
|
|
504
|
+
}
|
|
505
|
+
function normalizeWebsiteListForComparison(websites) {
|
|
506
|
+
return [
|
|
507
|
+
...new Set(websites.map((w) => w.toLowerCase().trim()).filter(Boolean)),
|
|
508
|
+
].sort();
|
|
509
|
+
}
|
|
510
|
+
function haveSameWebsiteSet(left, right) {
|
|
511
|
+
const leftSet = normalizeWebsiteListForComparison([...left]);
|
|
512
|
+
const rightSet = normalizeWebsiteListForComparison([...right]);
|
|
513
|
+
if (leftSet.length !== rightSet.length)
|
|
514
|
+
return false;
|
|
515
|
+
return leftSet.every((v, i) => v === rightSet[i]);
|
|
516
|
+
}
|
|
517
|
+
function isWebsiteAccessGrantActive(grant, now) {
|
|
518
|
+
if (grant.revokedAt)
|
|
519
|
+
return false;
|
|
520
|
+
if (grant.expiresAt) {
|
|
521
|
+
return Date.parse(grant.expiresAt) > now.getTime();
|
|
522
|
+
}
|
|
523
|
+
return true;
|
|
524
|
+
}
|
|
525
|
+
// ---------------------------------------------------------------------------
|
|
526
|
+
// Reminders mixin
|
|
527
|
+
// ---------------------------------------------------------------------------
|
|
528
|
+
/** @internal */
|
|
529
|
+
export function withReminders(Base) {
|
|
530
|
+
return class LifeOpsRemindersServiceMixin extends Base {
|
|
531
|
+
/**
|
|
532
|
+
* UTC date key of the last successful telemetry rollup+retention run.
|
|
533
|
+
* Gates the daily maintenance call inside the scheduler tick so it only
|
|
534
|
+
* fires once per day per runtime process.
|
|
535
|
+
*/
|
|
536
|
+
telemetryRollupLastRunDate = null;
|
|
537
|
+
emitInAppReminderNudge(args) {
|
|
538
|
+
this.emitAssistantEvent(args.text, "lifeops-reminder", {
|
|
539
|
+
ownerType: args.ownerType,
|
|
540
|
+
ownerId: args.ownerId,
|
|
541
|
+
subjectType: args.subjectType,
|
|
542
|
+
scheduledFor: args.scheduledFor,
|
|
543
|
+
dueAt: args.dueAt,
|
|
544
|
+
});
|
|
545
|
+
}
|
|
546
|
+
async readRecentReminderConversation(args) {
|
|
547
|
+
if (args.subjectType !== "owner" ||
|
|
548
|
+
typeof this.runtime.getRoomsForParticipants !== "function" ||
|
|
549
|
+
typeof this.runtime.getMemoriesByRoomIds !== "function") {
|
|
550
|
+
return [];
|
|
551
|
+
}
|
|
552
|
+
const ownerEntityId = (await this.ownerRoutingEntityId()) ?? this.ownerEntityId();
|
|
553
|
+
const agentId = this.agentId();
|
|
554
|
+
try {
|
|
555
|
+
const roomIds = await this.runtime.getRoomsForParticipants([
|
|
556
|
+
ownerEntityId,
|
|
557
|
+
agentId,
|
|
558
|
+
]);
|
|
559
|
+
if (!Array.isArray(roomIds) || roomIds.length === 0) {
|
|
560
|
+
return [];
|
|
561
|
+
}
|
|
562
|
+
const memories = await this.runtime.getMemoriesByRoomIds({
|
|
563
|
+
tableName: "messages",
|
|
564
|
+
roomIds,
|
|
565
|
+
limit: Math.max(6, (args.limit ?? 6) * 2),
|
|
566
|
+
});
|
|
567
|
+
if (!Array.isArray(memories) || memories.length === 0) {
|
|
568
|
+
return [];
|
|
569
|
+
}
|
|
570
|
+
const agentName = typeof this.runtime.character?.name === "string" &&
|
|
571
|
+
this.runtime.character.name.trim().length > 0
|
|
572
|
+
? this.runtime.character.name.trim()
|
|
573
|
+
: "Assistant";
|
|
574
|
+
return memories
|
|
575
|
+
.slice()
|
|
576
|
+
.sort((left, right) => Number(left.createdAt ?? 0) - Number(right.createdAt ?? 0))
|
|
577
|
+
.map((memory) => formatReminderConversationLine({
|
|
578
|
+
agentId,
|
|
579
|
+
agentName,
|
|
580
|
+
ownerEntityId,
|
|
581
|
+
memory,
|
|
582
|
+
}))
|
|
583
|
+
.filter((line) => typeof line === "string")
|
|
584
|
+
.slice(-(args.limit ?? 6));
|
|
585
|
+
}
|
|
586
|
+
catch {
|
|
587
|
+
return [];
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
async reviewOwnerResponseAfterReminderAttempt(args) {
|
|
591
|
+
const noResponse = {
|
|
592
|
+
decision: "no_response",
|
|
593
|
+
resolution: null,
|
|
594
|
+
respondedAt: null,
|
|
595
|
+
responseText: null,
|
|
596
|
+
confidence: 0,
|
|
597
|
+
reason: "no_owner_response",
|
|
598
|
+
};
|
|
599
|
+
if (args.subjectType !== "owner" ||
|
|
600
|
+
typeof this.runtime.getRoomsForParticipants !== "function" ||
|
|
601
|
+
typeof this.runtime.getMemoriesByRoomIds !== "function") {
|
|
602
|
+
return noResponse;
|
|
603
|
+
}
|
|
604
|
+
const attemptedAt = args.attempt.attemptedAt ?? args.attempt.scheduledFor ?? null;
|
|
605
|
+
const attemptedMs = attemptedAt ? Date.parse(attemptedAt) : Number.NaN;
|
|
606
|
+
if (!Number.isFinite(attemptedMs)) {
|
|
607
|
+
return noResponse;
|
|
608
|
+
}
|
|
609
|
+
const ownerEntityId = (await this.ownerRoutingEntityId()) ?? this.ownerEntityId();
|
|
610
|
+
const agentId = this.agentId();
|
|
611
|
+
try {
|
|
612
|
+
const roomIds = await this.runtime.getRoomsForParticipants([
|
|
613
|
+
ownerEntityId,
|
|
614
|
+
agentId,
|
|
615
|
+
]);
|
|
616
|
+
if (!Array.isArray(roomIds) || roomIds.length === 0) {
|
|
617
|
+
return noResponse;
|
|
618
|
+
}
|
|
619
|
+
const memories = await this.runtime.getMemoriesByRoomIds({
|
|
620
|
+
tableName: "messages",
|
|
621
|
+
roomIds,
|
|
622
|
+
limit: 50,
|
|
623
|
+
});
|
|
624
|
+
if (!Array.isArray(memories) || memories.length === 0) {
|
|
625
|
+
return noResponse;
|
|
626
|
+
}
|
|
627
|
+
const nowMs = args.now.getTime();
|
|
628
|
+
const ownerResponses = memories
|
|
629
|
+
.filter((memory) => memory.entityId === ownerEntityId)
|
|
630
|
+
.map((memory) => {
|
|
631
|
+
const createdAt = readMemoryCreatedAtMs(memory);
|
|
632
|
+
const text = typeof memory.content?.text === "string"
|
|
633
|
+
? memory.content.text.trim()
|
|
634
|
+
: "";
|
|
635
|
+
return { createdAt, text };
|
|
636
|
+
})
|
|
637
|
+
.filter((response) => response.createdAt !== null &&
|
|
638
|
+
response.createdAt > attemptedMs &&
|
|
639
|
+
response.createdAt <= nowMs &&
|
|
640
|
+
response.text.length > 0)
|
|
641
|
+
.sort((left, right) => left.createdAt - right.createdAt);
|
|
642
|
+
if (ownerResponses.length === 0) {
|
|
643
|
+
return noResponse;
|
|
644
|
+
}
|
|
645
|
+
for (const response of ownerResponses) {
|
|
646
|
+
const classification = classifyReminderOwnerResponseText(response.text);
|
|
647
|
+
if (classification.decision === "explicit_resolution") {
|
|
648
|
+
return {
|
|
649
|
+
decision: "explicit_resolution",
|
|
650
|
+
resolution: classification.resolution,
|
|
651
|
+
respondedAt: new Date(response.createdAt).toISOString(),
|
|
652
|
+
responseText: response.text,
|
|
653
|
+
confidence: classification.confidence,
|
|
654
|
+
reason: classification.reason,
|
|
655
|
+
};
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
const latest = ownerResponses.at(-1);
|
|
659
|
+
return {
|
|
660
|
+
decision: "unrelated",
|
|
661
|
+
resolution: null,
|
|
662
|
+
respondedAt: latest ? new Date(latest.createdAt).toISOString() : null,
|
|
663
|
+
responseText: latest?.text ?? null,
|
|
664
|
+
confidence: 0.4,
|
|
665
|
+
reason: "owner_responded_without_explicit_reminder_resolution",
|
|
666
|
+
};
|
|
667
|
+
}
|
|
668
|
+
catch {
|
|
669
|
+
return noResponse;
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
async renderReminderBody(args) {
|
|
673
|
+
const fallback = buildReminderBody({
|
|
674
|
+
title: args.title,
|
|
675
|
+
scheduledFor: args.scheduledFor,
|
|
676
|
+
dueAt: args.dueAt,
|
|
677
|
+
channel: args.channel,
|
|
678
|
+
lifecycle: args.lifecycle,
|
|
679
|
+
nearbyReminderTitles: args.nearbyReminderTitles,
|
|
680
|
+
});
|
|
681
|
+
if (typeof this.runtime.useModel !== "function") {
|
|
682
|
+
return fallback;
|
|
683
|
+
}
|
|
684
|
+
const recentConversation = await this.readRecentReminderConversation({
|
|
685
|
+
subjectType: args.subjectType,
|
|
686
|
+
limit: 6,
|
|
687
|
+
});
|
|
688
|
+
const reminderAt = args.dueAt ?? args.scheduledFor;
|
|
689
|
+
const prompt = [
|
|
690
|
+
`Write a short reminder nudge in the voice of ${this.runtime.character?.name ?? "the assistant"}.`,
|
|
691
|
+
"This is a real follow-up or reminder delivery, not a system log.",
|
|
692
|
+
"",
|
|
693
|
+
"Character voice:",
|
|
694
|
+
buildReminderVoiceContext(this.runtime) ||
|
|
695
|
+
"No extra character context.",
|
|
696
|
+
"",
|
|
697
|
+
"Current reminder:",
|
|
698
|
+
`- title: ${args.title}`,
|
|
699
|
+
`- due: ${new Date(reminderAt).toLocaleString()}`,
|
|
700
|
+
`- channel: ${args.channel}`,
|
|
701
|
+
`- urgency: ${args.urgency}`,
|
|
702
|
+
`- lifecycle: ${args.lifecycle}`,
|
|
703
|
+
"",
|
|
704
|
+
"Recent conversation:",
|
|
705
|
+
recentConversation.length > 0
|
|
706
|
+
? recentConversation.join("\n")
|
|
707
|
+
: "No recent conversation available.",
|
|
708
|
+
"",
|
|
709
|
+
"Other reminders around this time:",
|
|
710
|
+
formatNearbyReminderTitlesForPrompt(args.nearbyReminderTitles ?? []),
|
|
711
|
+
"",
|
|
712
|
+
"Rules:",
|
|
713
|
+
"- Return only the reminder text.",
|
|
714
|
+
"- Sound natural and in character.",
|
|
715
|
+
"- Do not start with 'Reminder' or 'Follow-up reminder'.",
|
|
716
|
+
"- Do not use ISO timestamps.",
|
|
717
|
+
"- Keep it concise: one or two short sentences.",
|
|
718
|
+
"- You may mention nearby reminders briefly if it helps.",
|
|
719
|
+
"- For escalation, sound a little firmer but still human.",
|
|
720
|
+
"- No markdown, bullets, quotes, labels, or emoji.",
|
|
721
|
+
"",
|
|
722
|
+
"Reminder text:",
|
|
723
|
+
].join("\n");
|
|
724
|
+
try {
|
|
725
|
+
const response = await this.runtime.useModel(ModelType.TEXT_SMALL, {
|
|
726
|
+
prompt,
|
|
727
|
+
});
|
|
728
|
+
const text = typeof response === "string"
|
|
729
|
+
? normalizeGeneratedReminderBody(response)
|
|
730
|
+
: null;
|
|
731
|
+
return text ?? fallback;
|
|
732
|
+
}
|
|
733
|
+
catch {
|
|
734
|
+
return fallback;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
async renderWorkflowRunBody(args) {
|
|
738
|
+
const fallback = args.run.status === "success"
|
|
739
|
+
? `${args.workflow.title} just ran successfully.`
|
|
740
|
+
: `${args.workflow.title} ran but hit a problem.`;
|
|
741
|
+
if (args.workflow.subjectType !== "owner" ||
|
|
742
|
+
typeof this.runtime.useModel !== "function") {
|
|
743
|
+
return fallback;
|
|
744
|
+
}
|
|
745
|
+
const recentConversation = await this.readRecentReminderConversation({
|
|
746
|
+
subjectType: "owner",
|
|
747
|
+
limit: 6,
|
|
748
|
+
});
|
|
749
|
+
const prompt = [
|
|
750
|
+
`Write a short assistant update about the workflow "${args.workflow.title}".`,
|
|
751
|
+
"This is a user-facing status nudge, not a system log.",
|
|
752
|
+
"",
|
|
753
|
+
"Character voice:",
|
|
754
|
+
buildReminderVoiceContext(this.runtime) ||
|
|
755
|
+
"No extra character context.",
|
|
756
|
+
"",
|
|
757
|
+
"Workflow run:",
|
|
758
|
+
`- title: ${args.workflow.title}`,
|
|
759
|
+
`- status: ${args.run.status}`,
|
|
760
|
+
"",
|
|
761
|
+
"Recent conversation:",
|
|
762
|
+
recentConversation.length > 0
|
|
763
|
+
? recentConversation.join("\n")
|
|
764
|
+
: "No recent conversation available.",
|
|
765
|
+
"",
|
|
766
|
+
"Rules:",
|
|
767
|
+
"- Return only the message text.",
|
|
768
|
+
"- Sound natural and in character.",
|
|
769
|
+
"- Do not start with 'Workflow' or 'Scheduled workflow'.",
|
|
770
|
+
"- Keep it concise: one short sentence, or two at most.",
|
|
771
|
+
"- For failures, sound calm and direct rather than robotic.",
|
|
772
|
+
"- No markdown, bullets, quotes, labels, or emoji.",
|
|
773
|
+
"",
|
|
774
|
+
"Message text:",
|
|
775
|
+
].join("\n");
|
|
776
|
+
try {
|
|
777
|
+
const response = await this.runtime.useModel(ModelType.TEXT_SMALL, {
|
|
778
|
+
prompt,
|
|
779
|
+
});
|
|
780
|
+
const text = typeof response === "string"
|
|
781
|
+
? normalizeGeneratedWorkflowBody(response)
|
|
782
|
+
: null;
|
|
783
|
+
return text ?? fallback;
|
|
784
|
+
}
|
|
785
|
+
catch {
|
|
786
|
+
return fallback;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
async emitWorkflowRunNudge(workflow, run) {
|
|
790
|
+
if (workflow.subjectType !== "owner") {
|
|
791
|
+
return;
|
|
792
|
+
}
|
|
793
|
+
const message = await this.renderWorkflowRunBody({
|
|
794
|
+
workflow,
|
|
795
|
+
run,
|
|
796
|
+
});
|
|
797
|
+
this.emitAssistantEvent(message, "lifeops-workflow", {
|
|
798
|
+
workflowId: workflow.id,
|
|
799
|
+
workflowTitle: workflow.title,
|
|
800
|
+
workflowRunId: run.id,
|
|
801
|
+
status: run.status,
|
|
802
|
+
subjectType: workflow.subjectType,
|
|
803
|
+
});
|
|
804
|
+
}
|
|
805
|
+
withNativeAppleReminderId(definition, reminderId) {
|
|
806
|
+
const nativeMetadata = readNativeAppleReminderMetadata(definition.metadata);
|
|
807
|
+
if (!nativeMetadata) {
|
|
808
|
+
return definition;
|
|
809
|
+
}
|
|
810
|
+
return {
|
|
811
|
+
...definition,
|
|
812
|
+
metadata: mergeMetadata(definition.metadata, buildNativeAppleReminderMetadata({
|
|
813
|
+
kind: nativeMetadata.kind,
|
|
814
|
+
source: nativeMetadata.source,
|
|
815
|
+
reminderId,
|
|
816
|
+
})),
|
|
817
|
+
updatedAt: new Date().toISOString(),
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
async syncNativeAppleReminderForDefinition(args) {
|
|
821
|
+
const previousMetadata = args.previousDefinition
|
|
822
|
+
? readNativeAppleReminderMetadata(args.previousDefinition.metadata)
|
|
823
|
+
: null;
|
|
824
|
+
const nextMetadata = args.definition
|
|
825
|
+
? readNativeAppleReminderMetadata(args.definition.metadata)
|
|
826
|
+
: null;
|
|
827
|
+
const previousReminderId = previousMetadata?.reminderId ?? null;
|
|
828
|
+
if (args.definition === null ||
|
|
829
|
+
nextMetadata === null ||
|
|
830
|
+
args.definition.subjectType !== "owner" ||
|
|
831
|
+
args.definition.domain !== "user_lifeops" ||
|
|
832
|
+
args.definition.cadence.kind !== "once") {
|
|
833
|
+
if (previousReminderId) {
|
|
834
|
+
const deleteResult = await deleteNativeAppleReminderLikeItem(previousReminderId);
|
|
835
|
+
if (deleteResult.ok === false) {
|
|
836
|
+
this.logLifeOpsWarn("native_apple_reminder_sync", "[lifeops] Failed to delete a native Apple reminder.", {
|
|
837
|
+
definitionId: args.previousDefinition?.id ?? null,
|
|
838
|
+
reminderId: previousReminderId,
|
|
839
|
+
skippedReason: deleteResult.skippedReason,
|
|
840
|
+
error: deleteResult.error,
|
|
841
|
+
});
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
if (args.definition && nextMetadata?.reminderId) {
|
|
845
|
+
return this.withNativeAppleReminderId(args.definition, null);
|
|
846
|
+
}
|
|
847
|
+
return args.definition;
|
|
848
|
+
}
|
|
849
|
+
const definition = args.definition;
|
|
850
|
+
const nativeMetadata = nextMetadata;
|
|
851
|
+
const cadence = definition.cadence.kind === "once" ? definition.cadence : null;
|
|
852
|
+
if (!cadence) {
|
|
853
|
+
return definition;
|
|
854
|
+
}
|
|
855
|
+
const reminderId = nativeMetadata.reminderId ?? previousReminderId;
|
|
856
|
+
if (reminderId) {
|
|
857
|
+
const updateResult = await updateNativeAppleReminderLikeItem({
|
|
858
|
+
reminderId,
|
|
859
|
+
kind: nativeMetadata.kind,
|
|
860
|
+
title: definition.title,
|
|
861
|
+
dueAt: cadence.dueAt,
|
|
862
|
+
notes: definition.description,
|
|
863
|
+
originalIntent: definition.originalIntent,
|
|
864
|
+
});
|
|
865
|
+
if (updateResult.ok === true) {
|
|
866
|
+
return this.withNativeAppleReminderId(definition, updateResult.reminderId ?? reminderId);
|
|
867
|
+
}
|
|
868
|
+
this.logLifeOpsWarn("native_apple_reminder_sync", "[lifeops] Failed to update a native Apple reminder.", {
|
|
869
|
+
definitionId: definition.id,
|
|
870
|
+
kind: nativeMetadata.kind,
|
|
871
|
+
reminderId,
|
|
872
|
+
skippedReason: updateResult.skippedReason,
|
|
873
|
+
error: updateResult.error,
|
|
874
|
+
});
|
|
875
|
+
return this.withNativeAppleReminderId(definition, reminderId);
|
|
876
|
+
}
|
|
877
|
+
const createResult = await createNativeAppleReminderLikeItem({
|
|
878
|
+
kind: nativeMetadata.kind,
|
|
879
|
+
title: definition.title,
|
|
880
|
+
dueAt: cadence.dueAt,
|
|
881
|
+
notes: definition.description,
|
|
882
|
+
originalIntent: definition.originalIntent,
|
|
883
|
+
});
|
|
884
|
+
if (createResult.ok === false) {
|
|
885
|
+
this.logLifeOpsWarn("native_apple_reminder_sync", "[lifeops] Failed to sync a native Apple reminder.", {
|
|
886
|
+
definitionId: definition.id,
|
|
887
|
+
kind: nativeMetadata.kind,
|
|
888
|
+
skippedReason: createResult.skippedReason,
|
|
889
|
+
error: createResult.error,
|
|
890
|
+
});
|
|
891
|
+
return definition;
|
|
892
|
+
}
|
|
893
|
+
return this.withNativeAppleReminderId(definition, createResult.reminderId ?? null);
|
|
894
|
+
}
|
|
895
|
+
async getDefinitionRecord(definitionId, now = new Date()) {
|
|
896
|
+
const definition = await this.repository.getDefinition(this.agentId(), definitionId);
|
|
897
|
+
if (!definition) {
|
|
898
|
+
fail(404, "life-ops definition not found");
|
|
899
|
+
}
|
|
900
|
+
const reminderPlan = definition.reminderPlanId
|
|
901
|
+
? await this.repository.getReminderPlan(this.agentId(), definition.reminderPlanId)
|
|
902
|
+
: null;
|
|
903
|
+
const occurrences = await this.repository.listOccurrencesForDefinition(this.agentId(), definition.id);
|
|
904
|
+
return {
|
|
905
|
+
definition,
|
|
906
|
+
reminderPlan,
|
|
907
|
+
performance: computeDefinitionPerformance(definition, occurrences, now),
|
|
908
|
+
};
|
|
909
|
+
}
|
|
910
|
+
async getGoalRecord(goalId) {
|
|
911
|
+
const goal = await this.repository.getGoal(this.agentId(), goalId);
|
|
912
|
+
if (!goal) {
|
|
913
|
+
fail(404, "life-ops goal not found");
|
|
914
|
+
}
|
|
915
|
+
const links = await this.repository.listGoalLinksForGoal(this.agentId(), goalId);
|
|
916
|
+
return { goal, links };
|
|
917
|
+
}
|
|
918
|
+
async ensureGoalExists(goalId, ownership) {
|
|
919
|
+
if (!goalId)
|
|
920
|
+
return null;
|
|
921
|
+
const goal = await this.repository.getGoal(this.agentId(), goalId);
|
|
922
|
+
if (!goal) {
|
|
923
|
+
fail(404, `goal ${goalId} does not exist`);
|
|
924
|
+
}
|
|
925
|
+
if (ownership &&
|
|
926
|
+
(goal.domain !== ownership.domain ||
|
|
927
|
+
goal.subjectType !== ownership.subjectType ||
|
|
928
|
+
goal.subjectId !== ownership.subjectId)) {
|
|
929
|
+
fail(400, "goalId must reference a goal in the same owner or agent scope");
|
|
930
|
+
}
|
|
931
|
+
return goal.id;
|
|
932
|
+
}
|
|
933
|
+
async syncGoalLink(definition) {
|
|
934
|
+
await this.repository.deleteGoalLinksForLinked(definition.agentId, "definition", definition.id);
|
|
935
|
+
if (!definition.goalId)
|
|
936
|
+
return;
|
|
937
|
+
await this.repository.upsertGoalLink({
|
|
938
|
+
id: crypto.randomUUID(),
|
|
939
|
+
agentId: definition.agentId,
|
|
940
|
+
goalId: definition.goalId,
|
|
941
|
+
linkedType: "definition",
|
|
942
|
+
linkedId: definition.id,
|
|
943
|
+
createdAt: new Date().toISOString(),
|
|
944
|
+
});
|
|
945
|
+
}
|
|
946
|
+
async syncReminderPlan(definition, draft) {
|
|
947
|
+
if (draft === undefined) {
|
|
948
|
+
return definition.reminderPlanId
|
|
949
|
+
? await this.repository.getReminderPlan(definition.agentId, definition.reminderPlanId)
|
|
950
|
+
: null;
|
|
951
|
+
}
|
|
952
|
+
if (draft === null) {
|
|
953
|
+
if (definition.reminderPlanId) {
|
|
954
|
+
await this.repository.deleteReminderPlan(definition.agentId, definition.reminderPlanId);
|
|
955
|
+
}
|
|
956
|
+
definition.reminderPlanId = null;
|
|
957
|
+
return null;
|
|
958
|
+
}
|
|
959
|
+
const existingPlan = definition.reminderPlanId
|
|
960
|
+
? await this.repository.getReminderPlan(definition.agentId, definition.reminderPlanId)
|
|
961
|
+
: null;
|
|
962
|
+
if (existingPlan) {
|
|
963
|
+
const nextPlan = {
|
|
964
|
+
...existingPlan,
|
|
965
|
+
steps: draft.steps,
|
|
966
|
+
mutePolicy: draft.mutePolicy,
|
|
967
|
+
quietHours: draft.quietHours,
|
|
968
|
+
updatedAt: new Date().toISOString(),
|
|
969
|
+
};
|
|
970
|
+
await this.repository.updateReminderPlan(nextPlan);
|
|
971
|
+
definition.reminderPlanId = nextPlan.id;
|
|
972
|
+
return nextPlan;
|
|
973
|
+
}
|
|
974
|
+
const createdPlan = createLifeOpsReminderPlan({
|
|
975
|
+
agentId: definition.agentId,
|
|
976
|
+
ownerType: "definition",
|
|
977
|
+
ownerId: definition.id,
|
|
978
|
+
steps: draft.steps,
|
|
979
|
+
mutePolicy: draft.mutePolicy,
|
|
980
|
+
quietHours: draft.quietHours,
|
|
981
|
+
});
|
|
982
|
+
await this.repository.createReminderPlan(createdPlan);
|
|
983
|
+
definition.reminderPlanId = createdPlan.id;
|
|
984
|
+
return createdPlan;
|
|
985
|
+
}
|
|
986
|
+
/** @internal — public to satisfy TS4094 on exported anonymous mixin class */
|
|
987
|
+
serializeScheduleObservationForSync(observation) {
|
|
988
|
+
const metadata = isRecord(observation.metadata)
|
|
989
|
+
? observation.metadata
|
|
990
|
+
: null;
|
|
991
|
+
const rawSnapshot = metadata?.snapshot;
|
|
992
|
+
const snapshot = isRecord(rawSnapshot) ? { ...rawSnapshot } : undefined;
|
|
993
|
+
const extraMetadata = metadata && typeof metadata === "object"
|
|
994
|
+
? Object.fromEntries(Object.entries(metadata).filter(([key]) => key !== "snapshot" && key !== "source"))
|
|
995
|
+
: {};
|
|
996
|
+
return {
|
|
997
|
+
circadianState: observation.circadianState,
|
|
998
|
+
stateConfidence: observation.stateConfidence,
|
|
999
|
+
uncertaintyReason: observation.uncertaintyReason,
|
|
1000
|
+
windowStartAt: observation.windowStartAt,
|
|
1001
|
+
windowEndAt: observation.windowEndAt,
|
|
1002
|
+
mealLabel: observation.mealLabel,
|
|
1003
|
+
snapshot,
|
|
1004
|
+
metadata: Object.keys(extraMetadata).length > 0 ? extraMetadata : undefined,
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
async refreshLocalMergedScheduleState(args) {
|
|
1008
|
+
const timezone = normalizeOptionalString(args?.timezone) ?? resolveDefaultTimeZone();
|
|
1009
|
+
const now = args?.now ?? new Date();
|
|
1010
|
+
const insight = await refreshLifeOpsScheduleInsight({
|
|
1011
|
+
runtime: this.runtime,
|
|
1012
|
+
repository: this.repository,
|
|
1013
|
+
agentId: this.agentId(),
|
|
1014
|
+
timezone,
|
|
1015
|
+
now,
|
|
1016
|
+
});
|
|
1017
|
+
const deviceIdentity = resolveScheduleDeviceIdentity();
|
|
1018
|
+
const observations = deriveLocalScheduleObservations({
|
|
1019
|
+
agentId: this.agentId(),
|
|
1020
|
+
deviceId: deviceIdentity.deviceId,
|
|
1021
|
+
deviceKind: deviceIdentity.deviceKind,
|
|
1022
|
+
timezone,
|
|
1023
|
+
observedAt: now.toISOString(),
|
|
1024
|
+
insight,
|
|
1025
|
+
});
|
|
1026
|
+
for (const observation of observations) {
|
|
1027
|
+
await this.repository.upsertScheduleObservation(observation);
|
|
1028
|
+
}
|
|
1029
|
+
const sinceAt = new Date(now.getTime() - SCHEDULE_OBSERVATION_LOOKBACK_MS).toISOString();
|
|
1030
|
+
const recentObservations = await this.repository.listScheduleObservations(this.agentId(), sinceAt, {
|
|
1031
|
+
origin: "local_inference",
|
|
1032
|
+
deviceId: deviceIdentity.deviceId,
|
|
1033
|
+
});
|
|
1034
|
+
const merged = mergeScheduleObservations({
|
|
1035
|
+
agentId: this.agentId(),
|
|
1036
|
+
scope: "local",
|
|
1037
|
+
timezone,
|
|
1038
|
+
now,
|
|
1039
|
+
observations: recentObservations,
|
|
1040
|
+
});
|
|
1041
|
+
if (!merged) {
|
|
1042
|
+
const cached = await this.repository.getScheduleMergedState(this.agentId(), "local", timezone);
|
|
1043
|
+
return cached ? refreshLifeOpsRelativeTime(cached, now) : null;
|
|
1044
|
+
}
|
|
1045
|
+
// Propagate scorer firings from the local insight so the inspection UI
|
|
1046
|
+
// (and the circadian-state evidenceRefs audit column) can see exactly
|
|
1047
|
+
// which rules fired this tick. Merged states aggregated from cloud
|
|
1048
|
+
// peers don't have firings — only the local refresh path does.
|
|
1049
|
+
merged.circadianRuleFirings = insight.circadianRuleFirings;
|
|
1050
|
+
await this.repository.upsertScheduleMergedState(merged);
|
|
1051
|
+
const stored = (await this.repository.getScheduleMergedState(this.agentId(), "local", timezone)) ?? merged;
|
|
1052
|
+
return refreshLifeOpsRelativeTime(stored, now);
|
|
1053
|
+
}
|
|
1054
|
+
async ingestScheduleObservations(request) {
|
|
1055
|
+
const deviceId = requireNonEmptyString(request?.deviceId, "deviceId");
|
|
1056
|
+
const deviceKind = normalizeEnumValue(request?.deviceKind, "deviceKind", LIFEOPS_SCHEDULE_DEVICE_KINDS);
|
|
1057
|
+
const timezone = requireNonEmptyString(request?.timezone, "timezone");
|
|
1058
|
+
const observedAt = normalizeOptionalIsoString(request?.observedAt, "observedAt") ??
|
|
1059
|
+
new Date().toISOString();
|
|
1060
|
+
if (!Array.isArray(request?.observations) ||
|
|
1061
|
+
request.observations.length === 0) {
|
|
1062
|
+
fail(400, "observations must be a non-empty array");
|
|
1063
|
+
}
|
|
1064
|
+
const observations = request.observations.map((input, index) => {
|
|
1065
|
+
const record = requireRecord(input, `observations[${index}]`);
|
|
1066
|
+
const stateConfidence = typeof record.stateConfidence === "string"
|
|
1067
|
+
? Number(record.stateConfidence)
|
|
1068
|
+
: record.stateConfidence;
|
|
1069
|
+
if (typeof stateConfidence !== "number" ||
|
|
1070
|
+
!Number.isFinite(stateConfidence)) {
|
|
1071
|
+
fail(400, `observations[${index}].stateConfidence must be a number`);
|
|
1072
|
+
}
|
|
1073
|
+
return {
|
|
1074
|
+
circadianState: normalizeEnumValue(record.circadianState, `observations[${index}].circadianState`, LIFEOPS_CIRCADIAN_STATES),
|
|
1075
|
+
stateConfidence,
|
|
1076
|
+
uncertaintyReason: record.uncertaintyReason === undefined ||
|
|
1077
|
+
record.uncertaintyReason === null
|
|
1078
|
+
? null
|
|
1079
|
+
: normalizeEnumValue(record.uncertaintyReason, `observations[${index}].uncertaintyReason`, LIFEOPS_UNCLEAR_REASONS),
|
|
1080
|
+
windowStartAt: normalizeIsoString(record.windowStartAt, `observations[${index}].windowStartAt`),
|
|
1081
|
+
windowEndAt: normalizeOptionalIsoString(record.windowEndAt, `observations[${index}].windowEndAt`),
|
|
1082
|
+
mealLabel: record.mealLabel === undefined || record.mealLabel === null
|
|
1083
|
+
? null
|
|
1084
|
+
: requireNonEmptyString(record.mealLabel, `observations[${index}].mealLabel`),
|
|
1085
|
+
snapshot: record.snapshot === undefined
|
|
1086
|
+
? undefined
|
|
1087
|
+
: (normalizeOptionalRecord(record.snapshot, `observations[${index}].snapshot`) ?? null),
|
|
1088
|
+
metadata: record.metadata === undefined
|
|
1089
|
+
? undefined
|
|
1090
|
+
: normalizeOptionalRecord(record.metadata, `observations[${index}].metadata`),
|
|
1091
|
+
};
|
|
1092
|
+
});
|
|
1093
|
+
const normalizedRequest = {
|
|
1094
|
+
deviceId,
|
|
1095
|
+
deviceKind,
|
|
1096
|
+
timezone,
|
|
1097
|
+
observedAt,
|
|
1098
|
+
observations,
|
|
1099
|
+
};
|
|
1100
|
+
const records = recordsFromSyncRequest({
|
|
1101
|
+
agentId: this.agentId(),
|
|
1102
|
+
origin: "device_sync",
|
|
1103
|
+
request: normalizedRequest,
|
|
1104
|
+
});
|
|
1105
|
+
for (const record of records) {
|
|
1106
|
+
await this.repository.upsertScheduleObservation(record);
|
|
1107
|
+
}
|
|
1108
|
+
const now = new Date(observedAt);
|
|
1109
|
+
const recentObservations = await this.repository.listScheduleObservations(this.agentId(), new Date(now.getTime() - SCHEDULE_OBSERVATION_LOOKBACK_MS).toISOString());
|
|
1110
|
+
const merged = mergeScheduleObservations({
|
|
1111
|
+
agentId: this.agentId(),
|
|
1112
|
+
scope: "cloud",
|
|
1113
|
+
timezone,
|
|
1114
|
+
now,
|
|
1115
|
+
observations: recentObservations,
|
|
1116
|
+
});
|
|
1117
|
+
if (!merged) {
|
|
1118
|
+
fail(409, "unable to merge schedule observations");
|
|
1119
|
+
}
|
|
1120
|
+
await this.repository.upsertScheduleMergedState(merged);
|
|
1121
|
+
return {
|
|
1122
|
+
acceptedCount: records.length,
|
|
1123
|
+
mergedState: merged,
|
|
1124
|
+
};
|
|
1125
|
+
}
|
|
1126
|
+
async fetchCloudMergedScheduleState(args) {
|
|
1127
|
+
const timezone = normalizeOptionalString(args?.timezone) ?? resolveDefaultTimeZone();
|
|
1128
|
+
const now = new Date();
|
|
1129
|
+
const cached = await this.repository.getScheduleMergedState(this.agentId(), "cloud", timezone);
|
|
1130
|
+
if (!this.scheduleSyncClient.configured) {
|
|
1131
|
+
return cached ? refreshLifeOpsRelativeTime(cached, now) : null;
|
|
1132
|
+
}
|
|
1133
|
+
try {
|
|
1134
|
+
const response = await this.scheduleSyncClient.getMergedState(timezone, "cloud");
|
|
1135
|
+
if (!response.mergedState) {
|
|
1136
|
+
return cached ? refreshLifeOpsRelativeTime(cached, now) : null;
|
|
1137
|
+
}
|
|
1138
|
+
await this.repository.upsertScheduleMergedState(response.mergedState);
|
|
1139
|
+
const stored = (await this.repository.getScheduleMergedState(this.agentId(), "cloud", timezone)) ?? response.mergedState;
|
|
1140
|
+
return refreshLifeOpsRelativeTime(stored, now);
|
|
1141
|
+
}
|
|
1142
|
+
catch (error) {
|
|
1143
|
+
this.logLifeOpsWarn("schedule_fetch_cloud_state", "[lifeops] Failed to fetch merged cloud schedule state; using cached state.", { error: lifeOpsErrorMessage(error) });
|
|
1144
|
+
return cached ? refreshLifeOpsRelativeTime(cached, now) : null;
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
async readEffectiveScheduleState(args) {
|
|
1148
|
+
const timezone = normalizeOptionalString(args?.timezone) ?? resolveDefaultTimeZone();
|
|
1149
|
+
const now = args?.now ?? new Date();
|
|
1150
|
+
const local = await this.repository.getScheduleMergedState(this.agentId(), "local", timezone);
|
|
1151
|
+
const cloud = await this.repository.getScheduleMergedState(this.agentId(), "cloud", timezone);
|
|
1152
|
+
const preferred = preferEffectiveMergedState({
|
|
1153
|
+
now,
|
|
1154
|
+
local,
|
|
1155
|
+
cloud,
|
|
1156
|
+
});
|
|
1157
|
+
return preferred ? refreshLifeOpsRelativeTime(preferred, now) : null;
|
|
1158
|
+
}
|
|
1159
|
+
async refreshEffectiveScheduleState(args) {
|
|
1160
|
+
const timezone = normalizeOptionalString(args?.timezone) ?? resolveDefaultTimeZone();
|
|
1161
|
+
const now = args?.now ?? new Date();
|
|
1162
|
+
const local = await this.refreshLocalMergedScheduleState({
|
|
1163
|
+
timezone,
|
|
1164
|
+
now,
|
|
1165
|
+
});
|
|
1166
|
+
let cloud = await this.repository.getScheduleMergedState(this.agentId(), "cloud", timezone);
|
|
1167
|
+
if (!this.scheduleSyncClient.configured) {
|
|
1168
|
+
const preferred = preferEffectiveMergedState({ now, local, cloud });
|
|
1169
|
+
return preferred ? refreshLifeOpsRelativeTime(preferred, now) : null;
|
|
1170
|
+
}
|
|
1171
|
+
if (!isFreshCloudMergedState(cloud, now)) {
|
|
1172
|
+
const deviceIdentity = resolveScheduleDeviceIdentity();
|
|
1173
|
+
const localObservations = await this.repository.listScheduleObservations(this.agentId(), new Date(now.getTime() - SCHEDULE_OBSERVATION_LOOKBACK_MS).toISOString(), {
|
|
1174
|
+
origin: "local_inference",
|
|
1175
|
+
deviceId: deviceIdentity.deviceId,
|
|
1176
|
+
});
|
|
1177
|
+
try {
|
|
1178
|
+
if (localObservations.length > 0) {
|
|
1179
|
+
const response = await this.scheduleSyncClient.syncObservations({
|
|
1180
|
+
deviceId: deviceIdentity.deviceId,
|
|
1181
|
+
deviceKind: deviceIdentity.deviceKind,
|
|
1182
|
+
timezone,
|
|
1183
|
+
observedAt: now.toISOString(),
|
|
1184
|
+
observations: localObservations.map((observation) => this.serializeScheduleObservationForSync(observation)),
|
|
1185
|
+
});
|
|
1186
|
+
await this.repository.upsertScheduleMergedState(response.mergedState);
|
|
1187
|
+
cloud =
|
|
1188
|
+
(await this.repository.getScheduleMergedState(this.agentId(), "cloud", timezone)) ?? response.mergedState;
|
|
1189
|
+
}
|
|
1190
|
+
else {
|
|
1191
|
+
cloud = await this.fetchCloudMergedScheduleState({ timezone });
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
catch (error) {
|
|
1195
|
+
this.logLifeOpsWarn("schedule_sync", "[lifeops] Failed to sync coarse schedule observations; using local state.", { error: lifeOpsErrorMessage(error) });
|
|
1196
|
+
if (!cloud ||
|
|
1197
|
+
now.getTime() - Date.parse(cloud.updatedAt) >
|
|
1198
|
+
SCHEDULE_CLOUD_SYNC_TTL_MS) {
|
|
1199
|
+
cloud = await this.fetchCloudMergedScheduleState({ timezone });
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
const preferred = preferEffectiveMergedState({ now, local, cloud });
|
|
1204
|
+
return preferred ? refreshLifeOpsRelativeTime(preferred, now) : null;
|
|
1205
|
+
}
|
|
1206
|
+
async getScheduleMergedState(args) {
|
|
1207
|
+
const timezone = normalizeOptionalString(args?.timezone) ?? resolveDefaultTimeZone();
|
|
1208
|
+
const scope = args?.scope ?? "effective";
|
|
1209
|
+
if (scope === "effective") {
|
|
1210
|
+
return args?.refresh
|
|
1211
|
+
? await this.refreshEffectiveScheduleState({
|
|
1212
|
+
timezone,
|
|
1213
|
+
now: args?.now,
|
|
1214
|
+
})
|
|
1215
|
+
: await this.readEffectiveScheduleState({
|
|
1216
|
+
timezone,
|
|
1217
|
+
now: args?.now,
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1220
|
+
if (scope === "local" && args?.refresh) {
|
|
1221
|
+
return await this.refreshLocalMergedScheduleState({
|
|
1222
|
+
timezone,
|
|
1223
|
+
now: args?.now,
|
|
1224
|
+
});
|
|
1225
|
+
}
|
|
1226
|
+
const state = await this.repository.getScheduleMergedState(this.agentId(), scope, timezone);
|
|
1227
|
+
return state
|
|
1228
|
+
? refreshLifeOpsRelativeTime(state, args?.now ?? new Date())
|
|
1229
|
+
: null;
|
|
1230
|
+
}
|
|
1231
|
+
/** Max age for the cached adaptive window policy (30 minutes). */
|
|
1232
|
+
static ADAPTIVE_POLICY_TTL_MS = 30 * 60 * 1000;
|
|
1233
|
+
/**
|
|
1234
|
+
* Read the activity profile from the proactive task metadata and return
|
|
1235
|
+
* an adaptive window policy. Result is cached for up to 30 minutes.
|
|
1236
|
+
*/
|
|
1237
|
+
async resolveAdaptiveWindowPolicy(timezone, now) {
|
|
1238
|
+
const cached = this.adaptiveWindowPolicyCache;
|
|
1239
|
+
if (cached &&
|
|
1240
|
+
now.getTime() - cached.computedAt <
|
|
1241
|
+
LifeOpsRemindersServiceMixin.ADAPTIVE_POLICY_TTL_MS) {
|
|
1242
|
+
return cached.policy;
|
|
1243
|
+
}
|
|
1244
|
+
try {
|
|
1245
|
+
const tasks = await this.runtime.getTasks({
|
|
1246
|
+
agentIds: [this.runtime.agentId],
|
|
1247
|
+
tags: [...PROACTIVE_TASK_QUERY_TAGS],
|
|
1248
|
+
});
|
|
1249
|
+
const proactiveTask = tasks.find((task) => {
|
|
1250
|
+
const metadata = isRecord(task.metadata) ? task.metadata : null;
|
|
1251
|
+
return (task.name === "PROACTIVE_AGENT" &&
|
|
1252
|
+
isRecord(metadata?.proactiveAgent) &&
|
|
1253
|
+
metadata.proactiveAgent.kind ===
|
|
1254
|
+
"runtime_runner");
|
|
1255
|
+
});
|
|
1256
|
+
const profile = proactiveTask
|
|
1257
|
+
? readProfileFromMetadata(isRecord(proactiveTask.metadata)
|
|
1258
|
+
? proactiveTask.metadata
|
|
1259
|
+
: null)
|
|
1260
|
+
: null;
|
|
1261
|
+
const schedule = await this.refreshEffectiveScheduleState({
|
|
1262
|
+
timezone,
|
|
1263
|
+
now,
|
|
1264
|
+
});
|
|
1265
|
+
const adaptiveProfile = buildAdaptiveWindowProfile({
|
|
1266
|
+
profile,
|
|
1267
|
+
schedule,
|
|
1268
|
+
timeZone: timezone,
|
|
1269
|
+
});
|
|
1270
|
+
if (!adaptiveProfile) {
|
|
1271
|
+
this.adaptiveWindowPolicyCache = null;
|
|
1272
|
+
return null;
|
|
1273
|
+
}
|
|
1274
|
+
const policy = computeAdaptiveWindowPolicy(adaptiveProfile, timezone);
|
|
1275
|
+
this.adaptiveWindowPolicyCache = { policy, computedAt: now.getTime() };
|
|
1276
|
+
return policy;
|
|
1277
|
+
}
|
|
1278
|
+
catch (error) {
|
|
1279
|
+
this.logLifeOpsWarn("adaptive_window_policy", "[lifeops] Failed to resolve adaptive window policy; using defaults.", { error: lifeOpsErrorMessage(error) });
|
|
1280
|
+
this.adaptiveWindowPolicyCache = null;
|
|
1281
|
+
return null;
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
async refreshDefinitionOccurrences(definition, now = new Date()) {
|
|
1285
|
+
const existingOccurrences = await this.repository.listOccurrencesForDefinition(definition.agentId, definition.id);
|
|
1286
|
+
// If the definition still uses the default time windows, adapt them
|
|
1287
|
+
// to the user's actual rhythm when an activity profile is available.
|
|
1288
|
+
let effectiveDefinition = definition;
|
|
1289
|
+
if (windowPolicyMatchesDefaults(definition.windowPolicy)) {
|
|
1290
|
+
const adaptivePolicy = await this.resolveAdaptiveWindowPolicy(definition.timezone, now);
|
|
1291
|
+
if (adaptivePolicy) {
|
|
1292
|
+
effectiveDefinition = { ...definition, windowPolicy: adaptivePolicy };
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
const materialized = materializeDefinitionOccurrences(effectiveDefinition, existingOccurrences, { now });
|
|
1296
|
+
for (const occurrence of materialized) {
|
|
1297
|
+
await this.repository.upsertOccurrence(occurrence);
|
|
1298
|
+
}
|
|
1299
|
+
await this.repository.pruneNonTerminalOccurrences(definition.agentId, definition.id, materialized.map((occurrence) => occurrence.occurrenceKey));
|
|
1300
|
+
return materialized;
|
|
1301
|
+
}
|
|
1302
|
+
async getFreshOccurrence(occurrenceId, now = new Date()) {
|
|
1303
|
+
const occurrence = await this.repository.getOccurrence(this.agentId(), occurrenceId);
|
|
1304
|
+
if (!occurrence) {
|
|
1305
|
+
fail(404, "life-ops occurrence not found");
|
|
1306
|
+
}
|
|
1307
|
+
const definition = await this.repository.getDefinition(this.agentId(), occurrence.definitionId);
|
|
1308
|
+
if (!definition) {
|
|
1309
|
+
fail(404, "life-ops definition not found for occurrence");
|
|
1310
|
+
}
|
|
1311
|
+
if (definition.status === "active") {
|
|
1312
|
+
await this.refreshDefinitionOccurrences(definition, now);
|
|
1313
|
+
}
|
|
1314
|
+
const freshOccurrence = await this.repository.getOccurrence(this.agentId(), occurrenceId);
|
|
1315
|
+
if (!freshOccurrence) {
|
|
1316
|
+
fail(404, "life-ops occurrence not found after refresh");
|
|
1317
|
+
}
|
|
1318
|
+
return {
|
|
1319
|
+
definition,
|
|
1320
|
+
occurrence: freshOccurrence,
|
|
1321
|
+
};
|
|
1322
|
+
}
|
|
1323
|
+
async resolvePrimaryChannelPolicy(channelType) {
|
|
1324
|
+
const policies = (await this.repository.listChannelPolicies(this.agentId())).filter((policy) => policy.channelType === channelType);
|
|
1325
|
+
return (policies.find((policy) => policy.metadata.isPrimary === true) ??
|
|
1326
|
+
policies[0] ??
|
|
1327
|
+
null);
|
|
1328
|
+
}
|
|
1329
|
+
async resolveRuntimeReminderTarget(channel, policy, ownerContacts = loadOwnerContactsConfig(LIFEOPS_OWNER_CONTACTS_LOAD_CONTEXT), ownerContactHints) {
|
|
1330
|
+
const metadata = policy ? policy.metadata : null;
|
|
1331
|
+
const configuredSource = (metadata && normalizeOptionalString(metadata.source)) ??
|
|
1332
|
+
(metadata && normalizeOptionalString(metadata.platform)) ??
|
|
1333
|
+
channel;
|
|
1334
|
+
const hints = ownerContactHints ??
|
|
1335
|
+
(await loadOwnerContactRoutingHints(this.runtime, ownerContacts));
|
|
1336
|
+
const ownerEntityId = await this.ownerRoutingEntityId();
|
|
1337
|
+
const hint = hints[configuredSource] ??
|
|
1338
|
+
hints[channel] ??
|
|
1339
|
+
{
|
|
1340
|
+
source: configuredSource,
|
|
1341
|
+
entityId: null,
|
|
1342
|
+
channelId: null,
|
|
1343
|
+
roomId: null,
|
|
1344
|
+
preferredCommunicationChannel: null,
|
|
1345
|
+
platformIdentities: [],
|
|
1346
|
+
lastResponseAt: null,
|
|
1347
|
+
lastResponseChannel: null,
|
|
1348
|
+
resolvedFrom: "config",
|
|
1349
|
+
};
|
|
1350
|
+
const contactResolution = resolveOwnerContactWithFallback({
|
|
1351
|
+
ownerContacts,
|
|
1352
|
+
source: hint.source,
|
|
1353
|
+
ownerEntityId,
|
|
1354
|
+
}) ??
|
|
1355
|
+
resolveOwnerContactWithFallback({
|
|
1356
|
+
ownerContacts,
|
|
1357
|
+
source: channel,
|
|
1358
|
+
ownerEntityId,
|
|
1359
|
+
});
|
|
1360
|
+
const contact = contactResolution?.contact ??
|
|
1361
|
+
ownerContacts[hint.source] ??
|
|
1362
|
+
ownerContacts[channel];
|
|
1363
|
+
const entityId = (metadata && normalizeOptionalString(metadata.entityId)) ??
|
|
1364
|
+
normalizeOptionalString(hint.entityId) ??
|
|
1365
|
+
normalizeOptionalString(contact?.entityId) ??
|
|
1366
|
+
null;
|
|
1367
|
+
const channelId = (metadata && normalizeOptionalString(metadata.channelId)) ??
|
|
1368
|
+
normalizeOptionalString(hint.channelId) ??
|
|
1369
|
+
normalizeOptionalString(contact?.channelId) ??
|
|
1370
|
+
null;
|
|
1371
|
+
const roomId = (metadata && normalizeOptionalString(metadata.roomId)) ??
|
|
1372
|
+
normalizeOptionalString(hint.roomId) ??
|
|
1373
|
+
normalizeOptionalString(contact?.roomId) ??
|
|
1374
|
+
null;
|
|
1375
|
+
if (!entityId && !channelId && !roomId) {
|
|
1376
|
+
return null;
|
|
1377
|
+
}
|
|
1378
|
+
const targetRef = channelId ?? roomId ?? entityId ?? policy?.channelRef ?? null;
|
|
1379
|
+
return {
|
|
1380
|
+
source: contactResolution?.source ?? hint.source,
|
|
1381
|
+
connectorRef: `runtime:${contactResolution?.source ?? hint.source}:${targetRef}`,
|
|
1382
|
+
target: {
|
|
1383
|
+
source: contactResolution?.source ?? hint.source,
|
|
1384
|
+
entityId: entityId,
|
|
1385
|
+
channelId,
|
|
1386
|
+
roomId: roomId,
|
|
1387
|
+
},
|
|
1388
|
+
resolution: {
|
|
1389
|
+
sourceOfTruth: hint.resolvedFrom,
|
|
1390
|
+
preferredCommunicationChannel: hint.preferredCommunicationChannel,
|
|
1391
|
+
platformIdentities: hint.platformIdentities,
|
|
1392
|
+
lastResponseAt: hint.lastResponseAt,
|
|
1393
|
+
lastResponseChannel: hint.lastResponseChannel,
|
|
1394
|
+
},
|
|
1395
|
+
};
|
|
1396
|
+
}
|
|
1397
|
+
async readReminderActivityProfileSnapshot() {
|
|
1398
|
+
try {
|
|
1399
|
+
const schedule = await this.refreshEffectiveScheduleState({
|
|
1400
|
+
timezone: resolveDefaultTimeZone(),
|
|
1401
|
+
});
|
|
1402
|
+
const tasks = await this.runtime.getTasks({
|
|
1403
|
+
agentIds: [this.runtime.agentId],
|
|
1404
|
+
tags: [...PROACTIVE_TASK_QUERY_TAGS],
|
|
1405
|
+
});
|
|
1406
|
+
const proactiveTask = tasks.find((task) => {
|
|
1407
|
+
const metadata = isRecord(task.metadata) ? task.metadata : null;
|
|
1408
|
+
return (task.name === "PROACTIVE_AGENT" &&
|
|
1409
|
+
isRecord(metadata?.proactiveAgent) &&
|
|
1410
|
+
metadata.proactiveAgent.kind === "runtime_runner");
|
|
1411
|
+
});
|
|
1412
|
+
const profile = proactiveTask && isRecord(proactiveTask.metadata)
|
|
1413
|
+
? proactiveTask.metadata.activityProfile
|
|
1414
|
+
: null;
|
|
1415
|
+
if (!isRecord(profile) && !schedule) {
|
|
1416
|
+
return null;
|
|
1417
|
+
}
|
|
1418
|
+
return {
|
|
1419
|
+
primaryPlatform: isRecord(profile)
|
|
1420
|
+
? (normalizeOptionalString(profile.primaryPlatform) ?? null)
|
|
1421
|
+
: null,
|
|
1422
|
+
secondaryPlatform: isRecord(profile)
|
|
1423
|
+
? (normalizeOptionalString(profile.secondaryPlatform) ?? null)
|
|
1424
|
+
: null,
|
|
1425
|
+
lastSeenPlatform: isRecord(profile)
|
|
1426
|
+
? (normalizeOptionalString(profile.lastSeenPlatform) ?? null)
|
|
1427
|
+
: null,
|
|
1428
|
+
isCurrentlyActive: isRecord(profile) && profile.isCurrentlyActive === true,
|
|
1429
|
+
lastSeenAt: isRecord(profile) && typeof profile.lastSeenAt === "number"
|
|
1430
|
+
? profile.lastSeenAt
|
|
1431
|
+
: schedule?.lastActiveAt
|
|
1432
|
+
? Date.parse(schedule.lastActiveAt)
|
|
1433
|
+
: null,
|
|
1434
|
+
circadianState: schedule?.circadianState ?? "unclear",
|
|
1435
|
+
stateConfidence: schedule?.stateConfidence ?? 0,
|
|
1436
|
+
lastSleepEndedAt: schedule?.lastSleepEndedAt ?? null,
|
|
1437
|
+
nextMealLabel: schedule?.nextMealLabel ?? null,
|
|
1438
|
+
nextMealWindowStartAt: schedule?.nextMealWindowStartAt ?? null,
|
|
1439
|
+
nextMealWindowEndAt: schedule?.nextMealWindowEndAt ?? null,
|
|
1440
|
+
};
|
|
1441
|
+
}
|
|
1442
|
+
catch (error) {
|
|
1443
|
+
this.logLifeOpsWarn("reminder_activity_profile", "[lifeops] Failed to read proactive activity profile; using connector order for reminder escalation.", {
|
|
1444
|
+
error: lifeOpsErrorMessage(error),
|
|
1445
|
+
});
|
|
1446
|
+
return null;
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* Scan recent "delivered" attempts and upgrade to "delivered_read" when the
|
|
1451
|
+
* owner was seen active after the reminder was sent. This gives escalation
|
|
1452
|
+
* better signal about whether the owner is reachable.
|
|
1453
|
+
*/
|
|
1454
|
+
async scanReadReceipts(attempts, activityProfile, now) {
|
|
1455
|
+
if (!activityProfile?.lastSeenAt) {
|
|
1456
|
+
return;
|
|
1457
|
+
}
|
|
1458
|
+
const RECEIPT_SCAN_WINDOW_MS = 4 * 60 * 60 * 1000; // 4 hours
|
|
1459
|
+
const cutoff = now.getTime() - RECEIPT_SCAN_WINDOW_MS;
|
|
1460
|
+
const candidates = attempts.filter((attempt) => {
|
|
1461
|
+
if (attempt.outcome !== "delivered") {
|
|
1462
|
+
return false;
|
|
1463
|
+
}
|
|
1464
|
+
const attemptedMs = attempt.attemptedAt
|
|
1465
|
+
? Date.parse(attempt.attemptedAt)
|
|
1466
|
+
: 0;
|
|
1467
|
+
return attemptedMs > cutoff;
|
|
1468
|
+
});
|
|
1469
|
+
for (const attempt of candidates) {
|
|
1470
|
+
const attemptedMs = attempt.attemptedAt
|
|
1471
|
+
? Date.parse(attempt.attemptedAt)
|
|
1472
|
+
: 0;
|
|
1473
|
+
if (activityProfile.lastSeenAt > attemptedMs) {
|
|
1474
|
+
try {
|
|
1475
|
+
await this.repository.updateReminderAttemptOutcome(attempt.id, "delivered_read", { readDetectedAt: now.toISOString() });
|
|
1476
|
+
attempt.outcome = "delivered_read";
|
|
1477
|
+
}
|
|
1478
|
+
catch (error) {
|
|
1479
|
+
this.logLifeOpsWarn("read_receipt_scan", `[lifeops] Failed to update read receipt for attempt ${attempt.id}`, { error: lifeOpsErrorMessage(error) });
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
buildReminderPlanSchedule(args) {
|
|
1485
|
+
const rows = [];
|
|
1486
|
+
if (args.ownerType === "occurrence") {
|
|
1487
|
+
const anchorIso = args.occurrence?.snoozedUntil ?? args.occurrence?.relevanceStartAt;
|
|
1488
|
+
if (!anchorIso) {
|
|
1489
|
+
return rows;
|
|
1490
|
+
}
|
|
1491
|
+
const anchorDate = new Date(anchorIso);
|
|
1492
|
+
for (const [stepIndex, step] of args.plan.steps.entries()) {
|
|
1493
|
+
rows.push({
|
|
1494
|
+
ownerType: args.ownerType,
|
|
1495
|
+
ownerId: args.ownerId,
|
|
1496
|
+
occurrenceId: args.occurrenceId,
|
|
1497
|
+
title: args.title,
|
|
1498
|
+
channel: step.channel,
|
|
1499
|
+
stepIndex,
|
|
1500
|
+
scheduledFor: addMinutes(anchorDate, step.offsetMinutes).toISOString(),
|
|
1501
|
+
});
|
|
1502
|
+
}
|
|
1503
|
+
return rows;
|
|
1504
|
+
}
|
|
1505
|
+
if (!args.eventStartAt) {
|
|
1506
|
+
return rows;
|
|
1507
|
+
}
|
|
1508
|
+
const eventStartAt = new Date(args.eventStartAt);
|
|
1509
|
+
for (const [stepIndex, step] of args.plan.steps.entries()) {
|
|
1510
|
+
rows.push({
|
|
1511
|
+
ownerType: args.ownerType,
|
|
1512
|
+
ownerId: args.ownerId,
|
|
1513
|
+
occurrenceId: args.occurrenceId,
|
|
1514
|
+
title: args.title,
|
|
1515
|
+
channel: step.channel,
|
|
1516
|
+
stepIndex,
|
|
1517
|
+
scheduledFor: addMinutes(eventStartAt, -step.offsetMinutes).toISOString(),
|
|
1518
|
+
});
|
|
1519
|
+
}
|
|
1520
|
+
return rows;
|
|
1521
|
+
}
|
|
1522
|
+
async resolveReminderEscalationChannels(args) {
|
|
1523
|
+
const ordered = [];
|
|
1524
|
+
const ownerContacts = loadOwnerContactsConfig(LIFEOPS_OWNER_CONTACTS_LOAD_CONTEXT);
|
|
1525
|
+
const ownerContactHints = await loadOwnerContactRoutingHints(this.runtime, ownerContacts);
|
|
1526
|
+
const pushChannel = async (channel) => {
|
|
1527
|
+
if (!channel || ordered.includes(channel)) {
|
|
1528
|
+
return;
|
|
1529
|
+
}
|
|
1530
|
+
if (!isReminderChannelAllowedForUrgency(channel, args.urgency)) {
|
|
1531
|
+
return;
|
|
1532
|
+
}
|
|
1533
|
+
if (channel === "in_app") {
|
|
1534
|
+
ordered.push(channel);
|
|
1535
|
+
return;
|
|
1536
|
+
}
|
|
1537
|
+
const policy = await this.resolvePrimaryChannelPolicy(channel);
|
|
1538
|
+
if (policy) {
|
|
1539
|
+
if (!policy.allowReminders || !policy.allowEscalation) {
|
|
1540
|
+
return;
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
else if (channel === "sms" || channel === "voice") {
|
|
1544
|
+
return;
|
|
1545
|
+
}
|
|
1546
|
+
if (channel === "sms" || channel === "voice") {
|
|
1547
|
+
ordered.push(channel);
|
|
1548
|
+
return;
|
|
1549
|
+
}
|
|
1550
|
+
if (typeof this.runtime.sendMessageToTarget !== "function") {
|
|
1551
|
+
return;
|
|
1552
|
+
}
|
|
1553
|
+
const runtimeTarget = await this.resolveRuntimeReminderTarget(channel, policy, ownerContacts, ownerContactHints);
|
|
1554
|
+
if (runtimeTarget !== null) {
|
|
1555
|
+
ordered.push(channel);
|
|
1556
|
+
}
|
|
1557
|
+
};
|
|
1558
|
+
const rankedChannels = rankReminderEscalationChannels({
|
|
1559
|
+
activityProfile: args.activityProfile,
|
|
1560
|
+
ownerContactHints,
|
|
1561
|
+
ownerContactSources: Object.keys(ownerContacts),
|
|
1562
|
+
policyChannels: args.policies.map((policy) => policy.channelType),
|
|
1563
|
+
});
|
|
1564
|
+
for (const channel of rankedChannels) {
|
|
1565
|
+
await pushChannel(channel);
|
|
1566
|
+
}
|
|
1567
|
+
return ordered;
|
|
1568
|
+
}
|
|
1569
|
+
async markReminderEscalationStarted(args) {
|
|
1570
|
+
if (args.ownerType === "occurrence") {
|
|
1571
|
+
const occurrence = await this.repository.getOccurrence(this.agentId(), args.ownerId);
|
|
1572
|
+
if (!occurrence) {
|
|
1573
|
+
return;
|
|
1574
|
+
}
|
|
1575
|
+
const channels = Array.isArray(occurrence.metadata[REMINDER_ESCALATION_CHANNELS_METADATA_KEY])
|
|
1576
|
+
? occurrence.metadata[REMINDER_ESCALATION_CHANNELS_METADATA_KEY].filter(isReminderChannel)
|
|
1577
|
+
: [];
|
|
1578
|
+
const nextChannels = [...new Set([...channels, args.channel])];
|
|
1579
|
+
await this.repository.updateOccurrence({
|
|
1580
|
+
...occurrence,
|
|
1581
|
+
metadata: {
|
|
1582
|
+
...occurrence.metadata,
|
|
1583
|
+
[REMINDER_ESCALATION_STARTED_AT_METADATA_KEY]: typeof occurrence.metadata[REMINDER_ESCALATION_STARTED_AT_METADATA_KEY] === "string"
|
|
1584
|
+
? occurrence.metadata[REMINDER_ESCALATION_STARTED_AT_METADATA_KEY]
|
|
1585
|
+
: args.attemptedAt,
|
|
1586
|
+
[REMINDER_ESCALATION_LAST_ATTEMPT_AT_METADATA_KEY]: args.attemptedAt,
|
|
1587
|
+
[REMINDER_ESCALATION_LAST_CHANNEL_METADATA_KEY]: args.channel,
|
|
1588
|
+
[REMINDER_ESCALATION_LAST_OUTCOME_METADATA_KEY]: args.outcome,
|
|
1589
|
+
[REMINDER_ESCALATION_CHANNELS_METADATA_KEY]: nextChannels,
|
|
1590
|
+
},
|
|
1591
|
+
updatedAt: new Date().toISOString(),
|
|
1592
|
+
});
|
|
1593
|
+
return;
|
|
1594
|
+
}
|
|
1595
|
+
const event = (await this.repository.listCalendarEvents(this.agentId(), "google")).find((candidate) => candidate.id === args.ownerId);
|
|
1596
|
+
if (!event) {
|
|
1597
|
+
return;
|
|
1598
|
+
}
|
|
1599
|
+
const channels = Array.isArray(event.metadata[REMINDER_ESCALATION_CHANNELS_METADATA_KEY])
|
|
1600
|
+
? event.metadata[REMINDER_ESCALATION_CHANNELS_METADATA_KEY].filter(isReminderChannel)
|
|
1601
|
+
: [];
|
|
1602
|
+
const nextChannels = [...new Set([...channels, args.channel])];
|
|
1603
|
+
await this.repository.upsertCalendarEvent({
|
|
1604
|
+
...event,
|
|
1605
|
+
metadata: {
|
|
1606
|
+
...event.metadata,
|
|
1607
|
+
[REMINDER_ESCALATION_STARTED_AT_METADATA_KEY]: typeof event.metadata[REMINDER_ESCALATION_STARTED_AT_METADATA_KEY] === "string"
|
|
1608
|
+
? event.metadata[REMINDER_ESCALATION_STARTED_AT_METADATA_KEY]
|
|
1609
|
+
: args.attemptedAt,
|
|
1610
|
+
[REMINDER_ESCALATION_LAST_ATTEMPT_AT_METADATA_KEY]: args.attemptedAt,
|
|
1611
|
+
[REMINDER_ESCALATION_LAST_CHANNEL_METADATA_KEY]: args.channel,
|
|
1612
|
+
[REMINDER_ESCALATION_LAST_OUTCOME_METADATA_KEY]: args.outcome,
|
|
1613
|
+
[REMINDER_ESCALATION_CHANNELS_METADATA_KEY]: nextChannels,
|
|
1614
|
+
},
|
|
1615
|
+
updatedAt: new Date().toISOString(),
|
|
1616
|
+
});
|
|
1617
|
+
}
|
|
1618
|
+
async resolveReminderEscalation(args) {
|
|
1619
|
+
const attempts = await this.repository.listReminderAttempts(this.agentId(), {
|
|
1620
|
+
ownerType: args.ownerType,
|
|
1621
|
+
ownerId: args.ownerId,
|
|
1622
|
+
});
|
|
1623
|
+
const escalationAttempts = attempts.filter((attempt) => readReminderAttemptLifecycle(attempt) === "escalation");
|
|
1624
|
+
const latestEscalation = escalationAttempts.at(-1) ?? null;
|
|
1625
|
+
if (!latestEscalation) {
|
|
1626
|
+
return;
|
|
1627
|
+
}
|
|
1628
|
+
const latestEscalationAt = Date.parse(latestEscalation.attemptedAt ?? latestEscalation.scheduledFor);
|
|
1629
|
+
if (args.ownerType === "occurrence") {
|
|
1630
|
+
const occurrence = await this.repository.getOccurrence(this.agentId(), args.ownerId);
|
|
1631
|
+
if (!occurrence) {
|
|
1632
|
+
return;
|
|
1633
|
+
}
|
|
1634
|
+
const resolvedAtValue = typeof occurrence.metadata[REMINDER_ESCALATION_RESOLVED_AT_METADATA_KEY] === "string"
|
|
1635
|
+
? occurrence.metadata[REMINDER_ESCALATION_RESOLVED_AT_METADATA_KEY]
|
|
1636
|
+
: null;
|
|
1637
|
+
if (resolvedAtValue &&
|
|
1638
|
+
Date.parse(resolvedAtValue) >= latestEscalationAt) {
|
|
1639
|
+
return;
|
|
1640
|
+
}
|
|
1641
|
+
await this.repository.updateOccurrence({
|
|
1642
|
+
...occurrence,
|
|
1643
|
+
metadata: {
|
|
1644
|
+
...occurrence.metadata,
|
|
1645
|
+
[REMINDER_ESCALATION_RESOLVED_AT_METADATA_KEY]: args.resolvedAt,
|
|
1646
|
+
[REMINDER_ESCALATION_RESOLUTION_METADATA_KEY]: args.resolution,
|
|
1647
|
+
[REMINDER_ESCALATION_RESOLUTION_NOTE_METADATA_KEY]: args.note ?? null,
|
|
1648
|
+
},
|
|
1649
|
+
updatedAt: new Date().toISOString(),
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1652
|
+
else {
|
|
1653
|
+
const event = (await this.repository.listCalendarEvents(this.agentId(), "google")).find((candidate) => candidate.id === args.ownerId);
|
|
1654
|
+
if (!event) {
|
|
1655
|
+
return;
|
|
1656
|
+
}
|
|
1657
|
+
const resolvedAtValue = typeof event.metadata[REMINDER_ESCALATION_RESOLVED_AT_METADATA_KEY] === "string"
|
|
1658
|
+
? event.metadata[REMINDER_ESCALATION_RESOLVED_AT_METADATA_KEY]
|
|
1659
|
+
: null;
|
|
1660
|
+
if (resolvedAtValue &&
|
|
1661
|
+
Date.parse(resolvedAtValue) >= latestEscalationAt) {
|
|
1662
|
+
return;
|
|
1663
|
+
}
|
|
1664
|
+
await this.repository.upsertCalendarEvent({
|
|
1665
|
+
...event,
|
|
1666
|
+
metadata: {
|
|
1667
|
+
...event.metadata,
|
|
1668
|
+
[REMINDER_ESCALATION_RESOLVED_AT_METADATA_KEY]: args.resolvedAt,
|
|
1669
|
+
[REMINDER_ESCALATION_RESOLUTION_METADATA_KEY]: args.resolution,
|
|
1670
|
+
[REMINDER_ESCALATION_RESOLUTION_NOTE_METADATA_KEY]: args.note ?? null,
|
|
1671
|
+
},
|
|
1672
|
+
updatedAt: new Date().toISOString(),
|
|
1673
|
+
});
|
|
1674
|
+
}
|
|
1675
|
+
await this.recordReminderAudit("reminder_escalation_resolved", args.ownerType, args.ownerId, "reminder escalation resolved", {
|
|
1676
|
+
resolution: args.resolution,
|
|
1677
|
+
note: args.note ?? null,
|
|
1678
|
+
}, {
|
|
1679
|
+
resolvedAt: args.resolvedAt,
|
|
1680
|
+
lastEscalationChannel: latestEscalation.channel,
|
|
1681
|
+
lastEscalationOutcome: latestEscalation.outcome,
|
|
1682
|
+
});
|
|
1683
|
+
}
|
|
1684
|
+
async resolveReminderReviewFromOwnerResponse(args) {
|
|
1685
|
+
const reviewMetadata = {
|
|
1686
|
+
[REMINDER_REVIEW_STATUS_METADATA_KEY]: "resolved",
|
|
1687
|
+
[REMINDER_REVIEW_DECISION_METADATA_KEY]: args.resolution,
|
|
1688
|
+
[REMINDER_REVIEW_RESPONDED_AT_METADATA_KEY]: args.respondedAt,
|
|
1689
|
+
[REMINDER_REVIEW_RESPONSE_TEXT_METADATA_KEY]: args.responseText,
|
|
1690
|
+
reviewConfidence: args.confidence,
|
|
1691
|
+
reviewReason: args.reason,
|
|
1692
|
+
};
|
|
1693
|
+
await this.repository.updateReminderAttemptOutcome(args.attempt.id, args.attempt.outcome, reviewMetadata);
|
|
1694
|
+
const acknowledgementNote = args.responseText
|
|
1695
|
+
? `Owner replied: ${args.responseText}`
|
|
1696
|
+
: args.reason;
|
|
1697
|
+
if (args.ownerType === "occurrence") {
|
|
1698
|
+
const occurrence = await this.repository.getOccurrence(this.agentId(), args.ownerId);
|
|
1699
|
+
if (occurrence) {
|
|
1700
|
+
await this.repository.updateOccurrence({
|
|
1701
|
+
...occurrence,
|
|
1702
|
+
metadata: {
|
|
1703
|
+
...occurrence.metadata,
|
|
1704
|
+
reminderAcknowledgedAt: args.respondedAt ?? args.reviewedAt,
|
|
1705
|
+
reminderAcknowledgedNote: acknowledgementNote,
|
|
1706
|
+
reminderAcknowledgedResolution: args.resolution,
|
|
1707
|
+
},
|
|
1708
|
+
updatedAt: new Date().toISOString(),
|
|
1709
|
+
});
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
else {
|
|
1713
|
+
const event = (await this.repository.listCalendarEvents(this.agentId(), "google")).find((candidate) => candidate.id === args.ownerId);
|
|
1714
|
+
if (event) {
|
|
1715
|
+
await this.repository.upsertCalendarEvent({
|
|
1716
|
+
...event,
|
|
1717
|
+
metadata: {
|
|
1718
|
+
...event.metadata,
|
|
1719
|
+
reminderAcknowledgedAt: args.respondedAt ?? args.reviewedAt,
|
|
1720
|
+
reminderAcknowledgedNote: acknowledgementNote,
|
|
1721
|
+
reminderAcknowledgedResolution: args.resolution,
|
|
1722
|
+
},
|
|
1723
|
+
updatedAt: new Date().toISOString(),
|
|
1724
|
+
});
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
await this.resolveReminderEscalation({
|
|
1728
|
+
ownerType: args.ownerType,
|
|
1729
|
+
ownerId: args.ownerId,
|
|
1730
|
+
resolvedAt: args.respondedAt ?? args.reviewedAt,
|
|
1731
|
+
resolution: args.resolution,
|
|
1732
|
+
note: acknowledgementNote,
|
|
1733
|
+
});
|
|
1734
|
+
}
|
|
1735
|
+
async markReminderReviewEscalated(args) {
|
|
1736
|
+
await this.repository.updateReminderAttemptOutcome(args.attempt.id, args.attempt.outcome, {
|
|
1737
|
+
[REMINDER_REVIEW_STATUS_METADATA_KEY]: "escalated",
|
|
1738
|
+
[REMINDER_REVIEW_DECISION_METADATA_KEY]: "escalate",
|
|
1739
|
+
[REMINDER_REVIEW_ESCALATED_AT_METADATA_KEY]: args.escalatedAt,
|
|
1740
|
+
[REMINDER_REVIEW_ESCALATED_ATTEMPT_ID_METADATA_KEY]: args.escalatedAttempt.id,
|
|
1741
|
+
[REMINDER_REVIEW_ESCALATED_CHANNEL_METADATA_KEY]: args.escalatedAttempt.channel,
|
|
1742
|
+
});
|
|
1743
|
+
}
|
|
1744
|
+
async markReminderReviewObservedResponse(args) {
|
|
1745
|
+
await this.repository.updateReminderAttemptOutcome(args.attempt.id, args.attempt.outcome, {
|
|
1746
|
+
[REMINDER_REVIEW_STATUS_METADATA_KEY]: args.decision,
|
|
1747
|
+
[REMINDER_REVIEW_DECISION_METADATA_KEY]: args.decision,
|
|
1748
|
+
[REMINDER_REVIEW_RESPONDED_AT_METADATA_KEY]: args.respondedAt,
|
|
1749
|
+
[REMINDER_REVIEW_RESPONSE_TEXT_METADATA_KEY]: args.responseText,
|
|
1750
|
+
reviewReason: args.reason,
|
|
1751
|
+
});
|
|
1752
|
+
}
|
|
1753
|
+
async dispatchDueReminderEscalation(args) {
|
|
1754
|
+
if (!shouldDeliverReminderForIntensity(args.intensity, args.urgency)) {
|
|
1755
|
+
return null;
|
|
1756
|
+
}
|
|
1757
|
+
if (args.acknowledged || args.urgency === "low") {
|
|
1758
|
+
return null;
|
|
1759
|
+
}
|
|
1760
|
+
const ownerAttempts = args.attempts.filter((attempt) => attempt.ownerType === args.ownerType &&
|
|
1761
|
+
attempt.ownerId === args.ownerId);
|
|
1762
|
+
if (ownerAttempts.length === 0) {
|
|
1763
|
+
return null;
|
|
1764
|
+
}
|
|
1765
|
+
const escalationAttempts = ownerAttempts.filter((attempt) => readReminderAttemptLifecycle(attempt) === "escalation");
|
|
1766
|
+
const schedule = this.buildReminderPlanSchedule({
|
|
1767
|
+
ownerType: args.ownerType,
|
|
1768
|
+
ownerId: args.ownerId,
|
|
1769
|
+
occurrenceId: args.occurrenceId,
|
|
1770
|
+
title: args.title,
|
|
1771
|
+
plan: args.plan,
|
|
1772
|
+
occurrence: args.occurrence ?? null,
|
|
1773
|
+
eventStartAt: args.eventStartAt ?? null,
|
|
1774
|
+
});
|
|
1775
|
+
if (schedule.length === 0) {
|
|
1776
|
+
return null;
|
|
1777
|
+
}
|
|
1778
|
+
const lastNormalAttempt = ownerAttempts
|
|
1779
|
+
.filter((attempt) => readReminderAttemptLifecycle(attempt) === "plan")
|
|
1780
|
+
.at(-1);
|
|
1781
|
+
if (!lastNormalAttempt) {
|
|
1782
|
+
return null;
|
|
1783
|
+
}
|
|
1784
|
+
const lastScheduledPlanEntry = schedule[schedule.length - 1];
|
|
1785
|
+
const lastScheduledPlanTime = Date.parse(lastScheduledPlanEntry.scheduledFor);
|
|
1786
|
+
const nowMs = args.now.getTime();
|
|
1787
|
+
const planExhausted = nowMs >= lastScheduledPlanTime;
|
|
1788
|
+
const reviewAttempt = readLatestPendingReminderReviewAttempt(ownerAttempts);
|
|
1789
|
+
const reviewAt = reviewAttempt
|
|
1790
|
+
? readReminderReviewAt(reviewAttempt)
|
|
1791
|
+
: null;
|
|
1792
|
+
const reviewDue = reviewAt !== null && Date.parse(reviewAt) <= nowMs;
|
|
1793
|
+
if (!reviewDue &&
|
|
1794
|
+
!planExhausted &&
|
|
1795
|
+
!shouldEscalateImmediately(lastNormalAttempt.outcome)) {
|
|
1796
|
+
return null;
|
|
1797
|
+
}
|
|
1798
|
+
const lastScheduledPlanAttempt = ownerAttempts.find((attempt) => readReminderAttemptLifecycle(attempt) === "plan" &&
|
|
1799
|
+
attempt.stepIndex === lastScheduledPlanEntry.stepIndex &&
|
|
1800
|
+
attempt.scheduledFor === lastScheduledPlanEntry.scheduledFor);
|
|
1801
|
+
const gatingPlanAttempt = planExhausted
|
|
1802
|
+
? lastScheduledPlanAttempt
|
|
1803
|
+
: lastNormalAttempt;
|
|
1804
|
+
if (!reviewDue && !gatingPlanAttempt && escalationAttempts.length === 0) {
|
|
1805
|
+
return null;
|
|
1806
|
+
}
|
|
1807
|
+
const previousAttempt = (reviewDue ? reviewAttempt : null) ??
|
|
1808
|
+
escalationAttempts.at(-1) ??
|
|
1809
|
+
gatingPlanAttempt ??
|
|
1810
|
+
lastNormalAttempt;
|
|
1811
|
+
if (!previousAttempt) {
|
|
1812
|
+
return null;
|
|
1813
|
+
}
|
|
1814
|
+
const twilioVoiceAvailable = readTwilioCredentialsFromEnv() !== null;
|
|
1815
|
+
const enforcementState = buildReminderEnforcementState(args.now, args.timezone, args.definition, twilioVoiceAvailable);
|
|
1816
|
+
let forceVoice = enforcementState?.twilioVoiceAvailable &&
|
|
1817
|
+
enforcementState.definitionIsRoutine &&
|
|
1818
|
+
enforcementState.window.kind !== "none" &&
|
|
1819
|
+
enforcementState.minutesPastStart > 20;
|
|
1820
|
+
let scheduledFor = reviewDue ? reviewAt : null;
|
|
1821
|
+
if (!scheduledFor) {
|
|
1822
|
+
const baseDelayMinutes = resolveReminderEscalationDelayMinutes(args.urgency, previousAttempt.outcome, escalationAttempts.length > 0);
|
|
1823
|
+
if (baseDelayMinutes === null) {
|
|
1824
|
+
return null;
|
|
1825
|
+
}
|
|
1826
|
+
const enforcement = applyEnforcementOverrides(baseDelayMinutes, enforcementState);
|
|
1827
|
+
forceVoice = forceVoice || enforcement.forceVoice;
|
|
1828
|
+
scheduledFor = addMinutes(new Date(previousAttempt.attemptedAt ?? previousAttempt.scheduledFor), enforcement.delayMinutes).toISOString();
|
|
1829
|
+
}
|
|
1830
|
+
if (Date.parse(scheduledFor) > nowMs) {
|
|
1831
|
+
return null;
|
|
1832
|
+
}
|
|
1833
|
+
if (isDeliveredReminderOutcome(previousAttempt.outcome)) {
|
|
1834
|
+
const responseReview = await this.reviewOwnerResponseAfterReminderAttempt({
|
|
1835
|
+
subjectType: args.subjectType,
|
|
1836
|
+
attempt: previousAttempt,
|
|
1837
|
+
now: args.now,
|
|
1838
|
+
});
|
|
1839
|
+
if (responseReview.decision === "explicit_resolution" &&
|
|
1840
|
+
responseReview.resolution !== null) {
|
|
1841
|
+
await this.resolveReminderReviewFromOwnerResponse({
|
|
1842
|
+
ownerType: args.ownerType,
|
|
1843
|
+
ownerId: args.ownerId,
|
|
1844
|
+
attempt: previousAttempt,
|
|
1845
|
+
reviewedAt: args.attemptedAt,
|
|
1846
|
+
resolution: responseReview.resolution,
|
|
1847
|
+
responseText: responseReview.responseText,
|
|
1848
|
+
respondedAt: responseReview.respondedAt,
|
|
1849
|
+
confidence: responseReview.confidence,
|
|
1850
|
+
reason: responseReview.reason,
|
|
1851
|
+
});
|
|
1852
|
+
return null;
|
|
1853
|
+
}
|
|
1854
|
+
if (reviewDue) {
|
|
1855
|
+
await this.markReminderReviewObservedResponse({
|
|
1856
|
+
attempt: previousAttempt,
|
|
1857
|
+
decision: responseReview.decision,
|
|
1858
|
+
respondedAt: responseReview.respondedAt,
|
|
1859
|
+
responseText: responseReview.responseText,
|
|
1860
|
+
reason: responseReview.reason,
|
|
1861
|
+
});
|
|
1862
|
+
}
|
|
1863
|
+
}
|
|
1864
|
+
const candidateChannels = await this.resolveReminderEscalationChannels({
|
|
1865
|
+
activityProfile: args.activityProfile,
|
|
1866
|
+
policies: args.policies,
|
|
1867
|
+
urgency: args.urgency,
|
|
1868
|
+
});
|
|
1869
|
+
const attemptedChannels = new Set(ownerAttempts.map((attempt) => attempt.channel));
|
|
1870
|
+
const lastEscalationAttempt = escalationAttempts.at(-1) ?? null;
|
|
1871
|
+
let nextChannel = candidateChannels.find((channel) => !attemptedChannels.has(channel)) ??
|
|
1872
|
+
null;
|
|
1873
|
+
if (!nextChannel &&
|
|
1874
|
+
lastEscalationAttempt &&
|
|
1875
|
+
isDeliveredReminderOutcome(lastEscalationAttempt.outcome) &&
|
|
1876
|
+
candidateChannels.includes(lastEscalationAttempt.channel)) {
|
|
1877
|
+
nextChannel = lastEscalationAttempt.channel;
|
|
1878
|
+
}
|
|
1879
|
+
if (!nextChannel &&
|
|
1880
|
+
isDeliveredReminderOutcome(previousAttempt.outcome) &&
|
|
1881
|
+
candidateChannels.includes(previousAttempt.channel)) {
|
|
1882
|
+
nextChannel = previousAttempt.channel;
|
|
1883
|
+
}
|
|
1884
|
+
if (forceVoice && nextChannel !== "voice") {
|
|
1885
|
+
nextChannel = "voice";
|
|
1886
|
+
}
|
|
1887
|
+
if (!nextChannel) {
|
|
1888
|
+
return null;
|
|
1889
|
+
}
|
|
1890
|
+
const attempt = await this.dispatchReminderAttempt({
|
|
1891
|
+
plan: args.plan,
|
|
1892
|
+
ownerType: args.ownerType,
|
|
1893
|
+
ownerId: args.ownerId,
|
|
1894
|
+
occurrenceId: args.occurrenceId,
|
|
1895
|
+
subjectType: args.subjectType,
|
|
1896
|
+
title: args.title,
|
|
1897
|
+
channel: nextChannel,
|
|
1898
|
+
stepIndex: args.plan.steps.length + escalationAttempts.length,
|
|
1899
|
+
scheduledFor,
|
|
1900
|
+
dueAt: args.dueAt,
|
|
1901
|
+
urgency: args.urgency,
|
|
1902
|
+
quietHours: args.quietHours,
|
|
1903
|
+
acknowledged: false,
|
|
1904
|
+
attemptedAt: args.attemptedAt,
|
|
1905
|
+
lifecycle: "escalation",
|
|
1906
|
+
escalationIndex: escalationAttempts.length,
|
|
1907
|
+
escalationReason: reviewDue
|
|
1908
|
+
? "review_due_without_acknowledgement"
|
|
1909
|
+
: escalationAttempts.length > 0
|
|
1910
|
+
? "previous_escalation_unacknowledged"
|
|
1911
|
+
: "plan_exhausted_without_acknowledgement",
|
|
1912
|
+
activityProfile: args.activityProfile,
|
|
1913
|
+
nearbyReminderTitles: args.nearbyReminderTitles,
|
|
1914
|
+
timezone: args.timezone,
|
|
1915
|
+
definition: args.definition,
|
|
1916
|
+
});
|
|
1917
|
+
if (readReminderReviewAt(previousAttempt) !== null &&
|
|
1918
|
+
!isReminderReviewClosed(previousAttempt)) {
|
|
1919
|
+
await this.markReminderReviewEscalated({
|
|
1920
|
+
attempt: previousAttempt,
|
|
1921
|
+
escalatedAttempt: attempt,
|
|
1922
|
+
escalatedAt: args.attemptedAt,
|
|
1923
|
+
});
|
|
1924
|
+
}
|
|
1925
|
+
await this.markReminderEscalationStarted({
|
|
1926
|
+
ownerType: args.ownerType,
|
|
1927
|
+
ownerId: args.ownerId,
|
|
1928
|
+
attemptedAt: args.attemptedAt,
|
|
1929
|
+
channel: nextChannel,
|
|
1930
|
+
outcome: attempt.outcome,
|
|
1931
|
+
});
|
|
1932
|
+
if (escalationAttempts.length === 0) {
|
|
1933
|
+
await this.recordReminderAudit("reminder_escalation_started", args.ownerType, args.ownerId, "reminder escalation started", {
|
|
1934
|
+
channel: nextChannel,
|
|
1935
|
+
scheduledFor,
|
|
1936
|
+
}, {
|
|
1937
|
+
urgency: args.urgency,
|
|
1938
|
+
activityPlatform: args.activityProfile?.lastSeenPlatform ?? null,
|
|
1939
|
+
activityActive: args.activityProfile?.isCurrentlyActive ?? false,
|
|
1940
|
+
outcome: attempt.outcome,
|
|
1941
|
+
});
|
|
1942
|
+
}
|
|
1943
|
+
return attempt;
|
|
1944
|
+
}
|
|
1945
|
+
async awardWebsiteAccessGrant(definition, occurrenceId, now = new Date()) {
|
|
1946
|
+
const policy = definition.websiteAccess;
|
|
1947
|
+
if (!policy) {
|
|
1948
|
+
return;
|
|
1949
|
+
}
|
|
1950
|
+
const unlockedAt = now.toISOString();
|
|
1951
|
+
await this.repository.revokeWebsiteAccessGrants(definition.agentId, {
|
|
1952
|
+
groupKey: policy.groupKey,
|
|
1953
|
+
revokedAt: unlockedAt,
|
|
1954
|
+
});
|
|
1955
|
+
const expiresAt = policy.unlockMode === "fixed_duration" &&
|
|
1956
|
+
typeof policy.unlockDurationMinutes === "number"
|
|
1957
|
+
? addMinutes(now, policy.unlockDurationMinutes).toISOString()
|
|
1958
|
+
: null;
|
|
1959
|
+
const grant = createLifeOpsWebsiteAccessGrant({
|
|
1960
|
+
agentId: definition.agentId,
|
|
1961
|
+
groupKey: policy.groupKey,
|
|
1962
|
+
definitionId: definition.id,
|
|
1963
|
+
occurrenceId,
|
|
1964
|
+
websites: [...policy.websites],
|
|
1965
|
+
unlockMode: policy.unlockMode,
|
|
1966
|
+
unlockDurationMinutes: policy.unlockMode === "fixed_duration"
|
|
1967
|
+
? (policy.unlockDurationMinutes ?? null)
|
|
1968
|
+
: null,
|
|
1969
|
+
callbackKey: policy.callbackKey ?? null,
|
|
1970
|
+
unlockedAt,
|
|
1971
|
+
expiresAt,
|
|
1972
|
+
revokedAt: null,
|
|
1973
|
+
metadata: {
|
|
1974
|
+
definitionTitle: definition.title,
|
|
1975
|
+
reason: policy.reason,
|
|
1976
|
+
},
|
|
1977
|
+
});
|
|
1978
|
+
await this.repository.upsertWebsiteAccessGrant(grant);
|
|
1979
|
+
}
|
|
1980
|
+
async syncWebsiteAccessState(now = new Date()) {
|
|
1981
|
+
const definitions = (await this.repository.listDefinitions(this.agentId())).filter((definition) => definition.status === "active" && definition.websiteAccess);
|
|
1982
|
+
const groups = new Map();
|
|
1983
|
+
for (const definition of definitions) {
|
|
1984
|
+
const policy = definition.websiteAccess;
|
|
1985
|
+
if (!policy) {
|
|
1986
|
+
continue;
|
|
1987
|
+
}
|
|
1988
|
+
const websites = groups.get(policy.groupKey) ?? new Set();
|
|
1989
|
+
for (const website of policy.websites) {
|
|
1990
|
+
websites.add(website.toLowerCase());
|
|
1991
|
+
}
|
|
1992
|
+
groups.set(policy.groupKey, websites);
|
|
1993
|
+
}
|
|
1994
|
+
const activeGrants = (await this.repository.listWebsiteAccessGrants(this.agentId())).filter((grant) => isWebsiteAccessGrantActive(grant, now));
|
|
1995
|
+
const unlockedGroups = new Set(activeGrants.map((grant) => grant.groupKey));
|
|
1996
|
+
const blockedGroups = [...groups.keys()].filter((groupKey) => !unlockedGroups.has(groupKey));
|
|
1997
|
+
const blockedWebsites = normalizeWebsiteListForComparison(blockedGroups.flatMap((groupKey) => [...(groups.get(groupKey) ?? [])]));
|
|
1998
|
+
let status;
|
|
1999
|
+
try {
|
|
2000
|
+
status = await getSelfControlStatus();
|
|
2001
|
+
}
|
|
2002
|
+
catch (error) {
|
|
2003
|
+
this.logLifeOpsError("website_access_status", error, {
|
|
2004
|
+
blockedGroups,
|
|
2005
|
+
});
|
|
2006
|
+
return;
|
|
2007
|
+
}
|
|
2008
|
+
const activeLifeOpsBlock = status.active && status.managedBy === "lifeops";
|
|
2009
|
+
if (status.active && !activeLifeOpsBlock) {
|
|
2010
|
+
if (blockedWebsites.length > 0) {
|
|
2011
|
+
this.logLifeOpsWarn("website_access_sync", "[lifeops] Website blocker is already active outside LifeOps; skipping blocker sync.", {
|
|
2012
|
+
managedBy: status.managedBy,
|
|
2013
|
+
currentWebsites: status.websites,
|
|
2014
|
+
blockedWebsites,
|
|
2015
|
+
});
|
|
2016
|
+
}
|
|
2017
|
+
return;
|
|
2018
|
+
}
|
|
2019
|
+
if (blockedWebsites.length === 0) {
|
|
2020
|
+
if (!activeLifeOpsBlock) {
|
|
2021
|
+
return;
|
|
2022
|
+
}
|
|
2023
|
+
const stopResult = await stopSelfControlBlock();
|
|
2024
|
+
if (stopResult.success === false) {
|
|
2025
|
+
this.logLifeOpsWarn("website_access_sync", "[lifeops] Failed to clear the LifeOps-managed website blocker state.", {
|
|
2026
|
+
error: stopResult.error,
|
|
2027
|
+
});
|
|
2028
|
+
}
|
|
2029
|
+
return;
|
|
2030
|
+
}
|
|
2031
|
+
if (activeLifeOpsBlock &&
|
|
2032
|
+
haveSameWebsiteSet(status.websites, blockedWebsites)) {
|
|
2033
|
+
return;
|
|
2034
|
+
}
|
|
2035
|
+
if (activeLifeOpsBlock) {
|
|
2036
|
+
const stopResult = await stopSelfControlBlock();
|
|
2037
|
+
if (stopResult.success === false) {
|
|
2038
|
+
this.logLifeOpsWarn("website_access_sync", "[lifeops] Failed to update the existing LifeOps website block.", {
|
|
2039
|
+
error: stopResult.error,
|
|
2040
|
+
blockedWebsites,
|
|
2041
|
+
});
|
|
2042
|
+
return;
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
const startResult = await startSelfControlBlock({
|
|
2046
|
+
websites: blockedWebsites,
|
|
2047
|
+
durationMinutes: null,
|
|
2048
|
+
metadata: {
|
|
2049
|
+
managedBy: "lifeops",
|
|
2050
|
+
blockedGroups,
|
|
2051
|
+
reason: "lifeops_earned_access",
|
|
2052
|
+
},
|
|
2053
|
+
});
|
|
2054
|
+
if (startResult.success === false) {
|
|
2055
|
+
this.logLifeOpsWarn("website_access_sync", "[lifeops] Failed to apply the LifeOps website block.", {
|
|
2056
|
+
error: startResult.error,
|
|
2057
|
+
blockedWebsites,
|
|
2058
|
+
blockedGroups,
|
|
2059
|
+
});
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
async dispatchReminderAttempt(args) {
|
|
2063
|
+
const attemptedAt = args.attemptedAt;
|
|
2064
|
+
const attemptedAtDate = new Date(attemptedAt);
|
|
2065
|
+
const lifecycle = args.lifecycle ?? "plan";
|
|
2066
|
+
const reminderBody = await this.renderReminderBody({
|
|
2067
|
+
title: args.title,
|
|
2068
|
+
scheduledFor: args.scheduledFor,
|
|
2069
|
+
dueAt: args.dueAt,
|
|
2070
|
+
channel: args.channel,
|
|
2071
|
+
lifecycle,
|
|
2072
|
+
urgency: args.urgency,
|
|
2073
|
+
subjectType: args.subjectType,
|
|
2074
|
+
nearbyReminderTitles: args.nearbyReminderTitles,
|
|
2075
|
+
});
|
|
2076
|
+
let outcome = "delivered";
|
|
2077
|
+
let connectorRef = null;
|
|
2078
|
+
const deliveryMetadata = {
|
|
2079
|
+
title: args.title,
|
|
2080
|
+
urgency: args.urgency,
|
|
2081
|
+
[REMINDER_LIFECYCLE_METADATA_KEY]: lifecycle,
|
|
2082
|
+
};
|
|
2083
|
+
if (lifecycle === "escalation") {
|
|
2084
|
+
deliveryMetadata[REMINDER_ESCALATION_INDEX_METADATA_KEY] =
|
|
2085
|
+
args.escalationIndex ?? 0;
|
|
2086
|
+
deliveryMetadata[REMINDER_ESCALATION_REASON_METADATA_KEY] =
|
|
2087
|
+
args.escalationReason ?? "escalation";
|
|
2088
|
+
deliveryMetadata[REMINDER_ESCALATION_ACTIVITY_PLATFORM_METADATA_KEY] =
|
|
2089
|
+
args.activityProfile?.lastSeenPlatform ??
|
|
2090
|
+
args.activityProfile?.primaryPlatform ??
|
|
2091
|
+
null;
|
|
2092
|
+
deliveryMetadata[REMINDER_ESCALATION_ACTIVITY_ACTIVE_METADATA_KEY] =
|
|
2093
|
+
args.activityProfile?.isCurrentlyActive ?? false;
|
|
2094
|
+
}
|
|
2095
|
+
await this.recordReminderAudit("reminder_due", args.ownerType, args.ownerId, "reminder step became due", {
|
|
2096
|
+
planId: args.plan.id,
|
|
2097
|
+
channel: args.channel,
|
|
2098
|
+
stepIndex: args.stepIndex,
|
|
2099
|
+
scheduledFor: args.scheduledFor,
|
|
2100
|
+
}, {
|
|
2101
|
+
ownerId: args.ownerId,
|
|
2102
|
+
});
|
|
2103
|
+
if (args.acknowledged) {
|
|
2104
|
+
outcome = "blocked_acknowledged";
|
|
2105
|
+
deliveryMetadata.reason = "owner_acknowledged";
|
|
2106
|
+
}
|
|
2107
|
+
else if (!isReminderChannelAllowedForUrgency(args.channel, args.urgency)) {
|
|
2108
|
+
outcome = "blocked_urgency";
|
|
2109
|
+
deliveryMetadata.reason = "urgency_gate";
|
|
2110
|
+
}
|
|
2111
|
+
else if (args.activityProfile?.circadianState === "sleeping" ||
|
|
2112
|
+
args.activityProfile?.circadianState === "napping") {
|
|
2113
|
+
outcome = "blocked_quiet_hours";
|
|
2114
|
+
deliveryMetadata.reason = "probable_sleep";
|
|
2115
|
+
deliveryMetadata.stateConfidence = args.activityProfile.stateConfidence;
|
|
2116
|
+
deliveryMetadata.circadianState = args.activityProfile.circadianState;
|
|
2117
|
+
}
|
|
2118
|
+
else if (args.channel !== "in_app" &&
|
|
2119
|
+
isWithinQuietHoursPolicy({
|
|
2120
|
+
now: attemptedAtDate,
|
|
2121
|
+
quietHours: args.quietHours,
|
|
2122
|
+
channel: args.channel,
|
|
2123
|
+
})) {
|
|
2124
|
+
outcome = "blocked_quiet_hours";
|
|
2125
|
+
deliveryMetadata.reason = "quiet_hours";
|
|
2126
|
+
}
|
|
2127
|
+
else if (args.channel === "in_app") {
|
|
2128
|
+
connectorRef = "system:in_app";
|
|
2129
|
+
deliveryMetadata.message = reminderBody;
|
|
2130
|
+
}
|
|
2131
|
+
else {
|
|
2132
|
+
const policy = await this.resolvePrimaryChannelPolicy(args.channel);
|
|
2133
|
+
const runtimeTarget = args.channel === "sms" || args.channel === "voice"
|
|
2134
|
+
? null
|
|
2135
|
+
: await this.resolveRuntimeReminderTarget(args.channel, policy);
|
|
2136
|
+
const requiresEscalationPermission = args.stepIndex > 0;
|
|
2137
|
+
if (policy && !policy.allowReminders) {
|
|
2138
|
+
outcome = "blocked_policy";
|
|
2139
|
+
deliveryMetadata.reason = "channel_policy";
|
|
2140
|
+
}
|
|
2141
|
+
else if ((lifecycle === "escalation" || requiresEscalationPermission) &&
|
|
2142
|
+
policy &&
|
|
2143
|
+
!policy.allowEscalation) {
|
|
2144
|
+
outcome = "blocked_policy";
|
|
2145
|
+
deliveryMetadata.reason = "channel_escalation_policy";
|
|
2146
|
+
}
|
|
2147
|
+
else if ((args.channel === "sms" || args.channel === "voice") &&
|
|
2148
|
+
!policy) {
|
|
2149
|
+
outcome = "blocked_policy";
|
|
2150
|
+
deliveryMetadata.reason = "channel_policy";
|
|
2151
|
+
}
|
|
2152
|
+
else if (args.channel === "sms" || args.channel === "voice") {
|
|
2153
|
+
const credentials = readTwilioCredentialsFromEnv();
|
|
2154
|
+
const twilioPolicy = policy;
|
|
2155
|
+
if (!credentials) {
|
|
2156
|
+
outcome = "blocked_connector";
|
|
2157
|
+
deliveryMetadata.reason = "twilio_missing";
|
|
2158
|
+
}
|
|
2159
|
+
else if (!twilioPolicy) {
|
|
2160
|
+
outcome = "blocked_policy";
|
|
2161
|
+
deliveryMetadata.reason = "channel_policy";
|
|
2162
|
+
}
|
|
2163
|
+
else if ((lifecycle === "escalation" || requiresEscalationPermission) &&
|
|
2164
|
+
!twilioPolicy.allowEscalation) {
|
|
2165
|
+
outcome = "blocked_policy";
|
|
2166
|
+
deliveryMetadata.reason = "channel_escalation_policy";
|
|
2167
|
+
}
|
|
2168
|
+
else {
|
|
2169
|
+
connectorRef = `twilio:${twilioPolicy.channelRef}`;
|
|
2170
|
+
if (args.channel === "sms") {
|
|
2171
|
+
const result = await sendTwilioSms({
|
|
2172
|
+
credentials,
|
|
2173
|
+
to: twilioPolicy.channelRef,
|
|
2174
|
+
body: reminderBody,
|
|
2175
|
+
});
|
|
2176
|
+
if (!result.ok) {
|
|
2177
|
+
outcome = "blocked_connector";
|
|
2178
|
+
deliveryMetadata.error = result.error ?? "sms delivery failed";
|
|
2179
|
+
deliveryMetadata.status = result.status;
|
|
2180
|
+
}
|
|
2181
|
+
else {
|
|
2182
|
+
deliveryMetadata.sid = result.sid ?? null;
|
|
2183
|
+
deliveryMetadata.status = result.status;
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
else {
|
|
2187
|
+
const result = await sendTwilioVoiceCall({
|
|
2188
|
+
credentials,
|
|
2189
|
+
to: twilioPolicy.channelRef,
|
|
2190
|
+
message: reminderBody,
|
|
2191
|
+
});
|
|
2192
|
+
if (!result.ok) {
|
|
2193
|
+
outcome = "blocked_connector";
|
|
2194
|
+
deliveryMetadata.error =
|
|
2195
|
+
result.error ?? "voice delivery failed";
|
|
2196
|
+
deliveryMetadata.status = result.status;
|
|
2197
|
+
}
|
|
2198
|
+
else {
|
|
2199
|
+
deliveryMetadata.sid = result.sid ?? null;
|
|
2200
|
+
deliveryMetadata.status = result.status;
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
else if (runtimeTarget) {
|
|
2206
|
+
connectorRef = runtimeTarget.connectorRef;
|
|
2207
|
+
deliveryMetadata.routeSource = runtimeTarget.source;
|
|
2208
|
+
deliveryMetadata.routeResolution = runtimeTarget.resolution;
|
|
2209
|
+
deliveryMetadata.routeEndpoint =
|
|
2210
|
+
runtimeTarget.target.channelId ??
|
|
2211
|
+
runtimeTarget.target.roomId ??
|
|
2212
|
+
runtimeTarget.target.entityId ??
|
|
2213
|
+
null;
|
|
2214
|
+
const sendPayload = {
|
|
2215
|
+
text: reminderBody,
|
|
2216
|
+
source: runtimeTarget.source,
|
|
2217
|
+
metadata: {
|
|
2218
|
+
channelType: args.channel,
|
|
2219
|
+
lifeopsReminder: true,
|
|
2220
|
+
ownerType: args.ownerType,
|
|
2221
|
+
ownerId: args.ownerId,
|
|
2222
|
+
urgency: args.urgency,
|
|
2223
|
+
scheduledFor: args.scheduledFor,
|
|
2224
|
+
routeSource: runtimeTarget.source,
|
|
2225
|
+
routeEndpoint: runtimeTarget.target.channelId ??
|
|
2226
|
+
runtimeTarget.target.roomId ??
|
|
2227
|
+
runtimeTarget.target.entityId ??
|
|
2228
|
+
null,
|
|
2229
|
+
routeResolution: runtimeTarget.resolution,
|
|
2230
|
+
},
|
|
2231
|
+
};
|
|
2232
|
+
try {
|
|
2233
|
+
await this.runtime.sendMessageToTarget(runtimeTarget.target, sendPayload);
|
|
2234
|
+
}
|
|
2235
|
+
catch (firstError) {
|
|
2236
|
+
this.logLifeOpsWarn("reminder_dispatch", `[lifeops] Reminder delivery failed for ${args.channel}, retrying in 2s`, { error: lifeOpsErrorMessage(firstError) });
|
|
2237
|
+
await new Promise((r) => setTimeout(r, 2_000));
|
|
2238
|
+
try {
|
|
2239
|
+
await this.runtime.sendMessageToTarget(runtimeTarget.target, sendPayload);
|
|
2240
|
+
}
|
|
2241
|
+
catch (retryError) {
|
|
2242
|
+
outcome = "blocked_connector";
|
|
2243
|
+
deliveryMetadata.error = lifeOpsErrorMessage(retryError);
|
|
2244
|
+
deliveryMetadata.reason = "runtime_send_failed";
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
else {
|
|
2249
|
+
outcome = "blocked_connector";
|
|
2250
|
+
deliveryMetadata.reason = policy
|
|
2251
|
+
? "target_missing"
|
|
2252
|
+
: "unconfigured_channel";
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
if (outcome === "delivered" &&
|
|
2256
|
+
(args.urgency === "high" || args.urgency === "critical")) {
|
|
2257
|
+
const reviewDelayMinutes = lifecycle === "escalation"
|
|
2258
|
+
? REMINDER_ESCALATION_DELAYS[args.urgency].repeatMinutes
|
|
2259
|
+
: REMINDER_ESCALATION_DELAYS[args.urgency].initialMinutes;
|
|
2260
|
+
if (reviewDelayMinutes !== null) {
|
|
2261
|
+
deliveryMetadata[REMINDER_REVIEW_AFTER_MINUTES_METADATA_KEY] =
|
|
2262
|
+
reviewDelayMinutes;
|
|
2263
|
+
deliveryMetadata[REMINDER_REVIEW_AT_METADATA_KEY] = addMinutes(attemptedAtDate, reviewDelayMinutes).toISOString();
|
|
2264
|
+
deliveryMetadata[REMINDER_REVIEW_REASON_METADATA_KEY] =
|
|
2265
|
+
lifecycle === "escalation"
|
|
2266
|
+
? "escalation_unacknowledged_review"
|
|
2267
|
+
: "delivery_acknowledgement_review";
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
const attempt = createLifeOpsReminderAttempt({
|
|
2271
|
+
agentId: this.agentId(),
|
|
2272
|
+
planId: args.plan.id,
|
|
2273
|
+
ownerType: args.ownerType,
|
|
2274
|
+
ownerId: args.ownerId,
|
|
2275
|
+
occurrenceId: args.occurrenceId,
|
|
2276
|
+
channel: args.channel,
|
|
2277
|
+
stepIndex: args.stepIndex,
|
|
2278
|
+
scheduledFor: args.scheduledFor,
|
|
2279
|
+
attemptedAt,
|
|
2280
|
+
outcome,
|
|
2281
|
+
connectorRef,
|
|
2282
|
+
deliveryMetadata,
|
|
2283
|
+
});
|
|
2284
|
+
await this.repository.createReminderAttempt(attempt);
|
|
2285
|
+
await this.recordReminderAudit(outcome === "delivered" ? "reminder_delivered" : "reminder_blocked", args.ownerType, args.ownerId, outcome === "delivered" ? "reminder delivered" : "reminder blocked", {
|
|
2286
|
+
planId: args.plan.id,
|
|
2287
|
+
channel: args.channel,
|
|
2288
|
+
stepIndex: args.stepIndex,
|
|
2289
|
+
scheduledFor: args.scheduledFor,
|
|
2290
|
+
}, {
|
|
2291
|
+
connectorRef,
|
|
2292
|
+
outcome,
|
|
2293
|
+
...deliveryMetadata,
|
|
2294
|
+
});
|
|
2295
|
+
if (outcome === "blocked_connector") {
|
|
2296
|
+
this.logLifeOpsWarn("reminder_dispatch", `[lifeops] Reminder delivery failed for ${args.channel}`, {
|
|
2297
|
+
ownerType: args.ownerType,
|
|
2298
|
+
ownerId: args.ownerId,
|
|
2299
|
+
occurrenceId: args.occurrenceId,
|
|
2300
|
+
channel: args.channel,
|
|
2301
|
+
connectorRef,
|
|
2302
|
+
scheduledFor: args.scheduledFor,
|
|
2303
|
+
stepIndex: args.stepIndex,
|
|
2304
|
+
reason: typeof deliveryMetadata.reason === "string"
|
|
2305
|
+
? deliveryMetadata.reason
|
|
2306
|
+
: null,
|
|
2307
|
+
status: typeof deliveryMetadata.status === "number"
|
|
2308
|
+
? deliveryMetadata.status
|
|
2309
|
+
: null,
|
|
2310
|
+
error: typeof deliveryMetadata.error === "string"
|
|
2311
|
+
? deliveryMetadata.error
|
|
2312
|
+
: null,
|
|
2313
|
+
});
|
|
2314
|
+
}
|
|
2315
|
+
if (outcome === "delivered" && args.channel === "in_app") {
|
|
2316
|
+
this.emitInAppReminderNudge({
|
|
2317
|
+
text: reminderBody,
|
|
2318
|
+
ownerType: args.ownerType,
|
|
2319
|
+
ownerId: args.ownerId,
|
|
2320
|
+
subjectType: args.subjectType,
|
|
2321
|
+
scheduledFor: args.scheduledFor,
|
|
2322
|
+
dueAt: args.dueAt,
|
|
2323
|
+
});
|
|
2324
|
+
}
|
|
2325
|
+
return attempt;
|
|
2326
|
+
}
|
|
2327
|
+
resolveGlobalReminderPreferencePolicy(policies) {
|
|
2328
|
+
const candidates = policies.filter((policy) => policy.channelType === "in_app" &&
|
|
2329
|
+
(policy.channelRef === GLOBAL_REMINDER_PREFERENCE_CHANNEL_REF ||
|
|
2330
|
+
policy.metadata[REMINDER_PREFERENCE_SCOPE_METADATA_KEY] ===
|
|
2331
|
+
"global"));
|
|
2332
|
+
return (candidates.find((policy) => policy.metadata.isPrimary === true) ??
|
|
2333
|
+
candidates[0] ??
|
|
2334
|
+
null);
|
|
2335
|
+
}
|
|
2336
|
+
buildReminderPreferenceResponse(definition, policies) {
|
|
2337
|
+
const globalPolicy = this.resolveGlobalReminderPreferencePolicy(policies);
|
|
2338
|
+
const globalSetting = readReminderPreferenceSettingFromMetadata(globalPolicy?.metadata, "global_policy") ?? {
|
|
2339
|
+
intensity: DEFAULT_REMINDER_INTENSITY,
|
|
2340
|
+
source: "default",
|
|
2341
|
+
updatedAt: null,
|
|
2342
|
+
note: null,
|
|
2343
|
+
};
|
|
2344
|
+
const definitionSetting = definition
|
|
2345
|
+
? readReminderPreferenceSettingFromMetadata(definition.metadata, "definition_metadata")
|
|
2346
|
+
: null;
|
|
2347
|
+
return {
|
|
2348
|
+
definitionId: definition?.id ?? null,
|
|
2349
|
+
definitionTitle: definition?.title ?? null,
|
|
2350
|
+
global: globalSetting,
|
|
2351
|
+
definition: definitionSetting,
|
|
2352
|
+
effective: definitionSetting ?? globalSetting,
|
|
2353
|
+
};
|
|
2354
|
+
}
|
|
2355
|
+
resolveEffectiveReminderPlan(plan, preference) {
|
|
2356
|
+
if (!plan) {
|
|
2357
|
+
return null;
|
|
2358
|
+
}
|
|
2359
|
+
return applyReminderIntensityToPlan(plan, preference.effective.intensity);
|
|
2360
|
+
}
|
|
2361
|
+
async getReminderPreference(definitionId) {
|
|
2362
|
+
const definition = definitionId
|
|
2363
|
+
? await this.repository.getDefinition(this.agentId(), requireNonEmptyString(definitionId, "definitionId"))
|
|
2364
|
+
: null;
|
|
2365
|
+
if (definitionId && !definition) {
|
|
2366
|
+
fail(404, "life-ops definition not found");
|
|
2367
|
+
}
|
|
2368
|
+
const policies = await this.repository.listChannelPolicies(this.agentId());
|
|
2369
|
+
return this.buildReminderPreferenceResponse(definition, policies);
|
|
2370
|
+
}
|
|
2371
|
+
async setReminderPreference(request) {
|
|
2372
|
+
const intensity = normalizeReminderIntensityInput(request.intensity, "intensity");
|
|
2373
|
+
const note = normalizeOptionalString(request.note) ?? null;
|
|
2374
|
+
const updatedAt = new Date().toISOString();
|
|
2375
|
+
const definitionId = normalizeOptionalString(request.definitionId) ?? null;
|
|
2376
|
+
if (definitionId) {
|
|
2377
|
+
const definition = await this.repository.getDefinition(this.agentId(), definitionId);
|
|
2378
|
+
if (!definition) {
|
|
2379
|
+
fail(404, "life-ops definition not found");
|
|
2380
|
+
}
|
|
2381
|
+
const nextDefinition = {
|
|
2382
|
+
...definition,
|
|
2383
|
+
metadata: withReminderPreferenceMetadata(definition.metadata, intensity, updatedAt, note, "definition"),
|
|
2384
|
+
updatedAt,
|
|
2385
|
+
};
|
|
2386
|
+
await this.repository.updateDefinition(nextDefinition);
|
|
2387
|
+
await this.recordAudit("definition_updated", "definition", definition.id, "reminder preference updated", {
|
|
2388
|
+
request,
|
|
2389
|
+
}, {
|
|
2390
|
+
reminderIntensity: intensity,
|
|
2391
|
+
note,
|
|
2392
|
+
});
|
|
2393
|
+
const policies = await this.repository.listChannelPolicies(this.agentId());
|
|
2394
|
+
return this.buildReminderPreferenceResponse(nextDefinition, policies);
|
|
2395
|
+
}
|
|
2396
|
+
await this.upsertChannelPolicy({
|
|
2397
|
+
channelType: "in_app",
|
|
2398
|
+
channelRef: GLOBAL_REMINDER_PREFERENCE_CHANNEL_REF,
|
|
2399
|
+
privacyClass: "private",
|
|
2400
|
+
allowReminders: true,
|
|
2401
|
+
allowEscalation: false,
|
|
2402
|
+
allowPosts: false,
|
|
2403
|
+
requireConfirmationForActions: false,
|
|
2404
|
+
metadata: {
|
|
2405
|
+
isPrimary: true,
|
|
2406
|
+
[REMINDER_PREFERENCE_SCOPE_METADATA_KEY]: "global",
|
|
2407
|
+
[REMINDER_INTENSITY_METADATA_KEY]: intensity,
|
|
2408
|
+
[REMINDER_INTENSITY_UPDATED_AT_METADATA_KEY]: updatedAt,
|
|
2409
|
+
[REMINDER_INTENSITY_NOTE_METADATA_KEY]: note,
|
|
2410
|
+
},
|
|
2411
|
+
});
|
|
2412
|
+
return this.getReminderPreference();
|
|
2413
|
+
}
|
|
2414
|
+
async captureActivitySignal(request) {
|
|
2415
|
+
const health = normalizeHealthSignal(request.health, "health");
|
|
2416
|
+
const signal = createLifeOpsActivitySignal({
|
|
2417
|
+
agentId: this.agentId(),
|
|
2418
|
+
source: normalizeActivitySignalSource(request.source, "source"),
|
|
2419
|
+
platform: normalizeOptionalString(request.platform) ?? "client_chat",
|
|
2420
|
+
state: normalizeActivitySignalState(request.state, "state"),
|
|
2421
|
+
observedAt: normalizeOptionalIsoString(request.observedAt, "observedAt") ??
|
|
2422
|
+
new Date().toISOString(),
|
|
2423
|
+
idleState: normalizeOptionalIdleState(request.idleState, "idleState"),
|
|
2424
|
+
idleTimeSeconds: normalizeOptionalNonNegativeInteger(request.idleTimeSeconds, "idleTimeSeconds"),
|
|
2425
|
+
onBattery: normalizeOptionalBoolean(request.onBattery, "onBattery") ?? null,
|
|
2426
|
+
health,
|
|
2427
|
+
metadata: request.metadata !== undefined
|
|
2428
|
+
? requireRecord(request.metadata, "metadata")
|
|
2429
|
+
: {},
|
|
2430
|
+
});
|
|
2431
|
+
await this.repository.createActivitySignal(signal);
|
|
2432
|
+
return signal;
|
|
2433
|
+
}
|
|
2434
|
+
async captureManualOverride(request) {
|
|
2435
|
+
const kind = normalizeEnumValue(request.kind, "kind", LIFEOPS_MANUAL_OVERRIDE_KINDS);
|
|
2436
|
+
const occurredAt = normalizeOptionalIsoString(request.occurredAt, "occurredAt") ??
|
|
2437
|
+
new Date().toISOString();
|
|
2438
|
+
const note = normalizeOptionalString(request.note);
|
|
2439
|
+
if (note !== undefined && note.length > 500) {
|
|
2440
|
+
fail(400, "note must be <= 500 characters");
|
|
2441
|
+
}
|
|
2442
|
+
const desiredState = kind === "going_to_bed" ? "sleeping" : "awake";
|
|
2443
|
+
const priorState = await this.repository.readCircadianState(this.agentId());
|
|
2444
|
+
const signal = createLifeOpsActivitySignal({
|
|
2445
|
+
agentId: this.agentId(),
|
|
2446
|
+
source: "app_lifecycle",
|
|
2447
|
+
platform: "manual_override",
|
|
2448
|
+
state: kind === "going_to_bed" ? "sleeping" : "active",
|
|
2449
|
+
observedAt: occurredAt,
|
|
2450
|
+
idleState: kind === "going_to_bed" ? "idle" : "active",
|
|
2451
|
+
idleTimeSeconds: 0,
|
|
2452
|
+
onBattery: null,
|
|
2453
|
+
health: null,
|
|
2454
|
+
metadata: {
|
|
2455
|
+
userAttested: true,
|
|
2456
|
+
manualOverrideKind: kind,
|
|
2457
|
+
...(note ? { note } : {}),
|
|
2458
|
+
},
|
|
2459
|
+
});
|
|
2460
|
+
await this.repository.createActivitySignal(signal);
|
|
2461
|
+
// Audit every user-attested override. The id is deterministic so
|
|
2462
|
+
// re-submits of the same (kind, occurredAt) by the client don't
|
|
2463
|
+
// double-count. Using `createAuditEventIfNew` so a retry is a no-op.
|
|
2464
|
+
await this.repository.createAuditEventIfNew({
|
|
2465
|
+
id: `lifeops.manual_override:${this.agentId()}:${occurredAt}:${kind}`,
|
|
2466
|
+
agentId: this.agentId(),
|
|
2467
|
+
eventType: "manual_override_accepted",
|
|
2468
|
+
ownerType: "circadian_state",
|
|
2469
|
+
ownerId: `lifeops-manual-override:${this.agentId()}`,
|
|
2470
|
+
reason: `user_attested_${kind}`,
|
|
2471
|
+
inputs: {
|
|
2472
|
+
kind,
|
|
2473
|
+
occurredAt,
|
|
2474
|
+
note: note ?? null,
|
|
2475
|
+
priorCircadianState: priorState?.circadianState ?? null,
|
|
2476
|
+
},
|
|
2477
|
+
decision: {
|
|
2478
|
+
desiredCircadianState: desiredState,
|
|
2479
|
+
bypassedStabilityWindow: true,
|
|
2480
|
+
},
|
|
2481
|
+
actor: "user",
|
|
2482
|
+
createdAt: new Date().toISOString(),
|
|
2483
|
+
});
|
|
2484
|
+
const refreshed = await this.refreshEffectiveScheduleState({
|
|
2485
|
+
now: new Date(occurredAt),
|
|
2486
|
+
});
|
|
2487
|
+
return {
|
|
2488
|
+
accepted: true,
|
|
2489
|
+
kind,
|
|
2490
|
+
occurredAt,
|
|
2491
|
+
circadianState: refreshed?.circadianState ?? desiredState,
|
|
2492
|
+
stateConfidence: refreshed?.stateConfidence ?? 0.99,
|
|
2493
|
+
};
|
|
2494
|
+
}
|
|
2495
|
+
async listActivitySignals(args = {}) {
|
|
2496
|
+
return this.repository.listActivitySignals(this.agentId(), args);
|
|
2497
|
+
}
|
|
2498
|
+
async upsertChannelPolicy(request) {
|
|
2499
|
+
const channelType = normalizeEnumValue(request.channelType, "channelType", LIFEOPS_CHANNEL_TYPES);
|
|
2500
|
+
const channelRef = channelType === "sms" || channelType === "voice"
|
|
2501
|
+
? normalizePhoneNumber(request.channelRef, "channelRef")
|
|
2502
|
+
: requireNonEmptyString(request.channelRef, "channelRef");
|
|
2503
|
+
const existing = await this.repository.getChannelPolicy(this.agentId(), channelType, channelRef);
|
|
2504
|
+
const policy = existing
|
|
2505
|
+
? {
|
|
2506
|
+
...existing,
|
|
2507
|
+
privacyClass: normalizePrivacyClass(request.privacyClass, "privacyClass", existing.privacyClass),
|
|
2508
|
+
allowReminders: normalizeOptionalBoolean(request.allowReminders, "allowReminders") ?? existing.allowReminders,
|
|
2509
|
+
allowEscalation: normalizeOptionalBoolean(request.allowEscalation, "allowEscalation") ?? existing.allowEscalation,
|
|
2510
|
+
allowPosts: normalizeOptionalBoolean(request.allowPosts, "allowPosts") ??
|
|
2511
|
+
existing.allowPosts,
|
|
2512
|
+
requireConfirmationForActions: normalizeOptionalBoolean(request.requireConfirmationForActions, "requireConfirmationForActions") ?? existing.requireConfirmationForActions,
|
|
2513
|
+
metadata: request.metadata !== undefined
|
|
2514
|
+
? {
|
|
2515
|
+
...existing.metadata,
|
|
2516
|
+
...requireRecord(request.metadata, "metadata"),
|
|
2517
|
+
}
|
|
2518
|
+
: existing.metadata,
|
|
2519
|
+
updatedAt: new Date().toISOString(),
|
|
2520
|
+
}
|
|
2521
|
+
: createLifeOpsChannelPolicy({
|
|
2522
|
+
agentId: this.agentId(),
|
|
2523
|
+
channelType,
|
|
2524
|
+
channelRef,
|
|
2525
|
+
privacyClass: normalizePrivacyClass(request.privacyClass),
|
|
2526
|
+
allowReminders: normalizeOptionalBoolean(request.allowReminders, "allowReminders") ?? true,
|
|
2527
|
+
allowEscalation: normalizeOptionalBoolean(request.allowEscalation, "allowEscalation") ?? false,
|
|
2528
|
+
allowPosts: normalizeOptionalBoolean(request.allowPosts, "allowPosts") ??
|
|
2529
|
+
false,
|
|
2530
|
+
requireConfirmationForActions: normalizeOptionalBoolean(request.requireConfirmationForActions, "requireConfirmationForActions") ?? true,
|
|
2531
|
+
metadata: normalizeOptionalRecord(request.metadata, "metadata") ?? {},
|
|
2532
|
+
});
|
|
2533
|
+
await this.repository.upsertChannelPolicy(policy);
|
|
2534
|
+
await this.recordChannelPolicyAudit(policy.id, "channel policy updated", { request }, {
|
|
2535
|
+
channelType: policy.channelType,
|
|
2536
|
+
channelRef: policy.channelRef,
|
|
2537
|
+
});
|
|
2538
|
+
return policy;
|
|
2539
|
+
}
|
|
2540
|
+
async capturePhoneConsent(request) {
|
|
2541
|
+
if (normalizeOptionalBoolean(request.consentGiven, "consentGiven") !== true) {
|
|
2542
|
+
fail(400, "Explicit consent is required before capturing a phone number.");
|
|
2543
|
+
}
|
|
2544
|
+
const phoneNumber = normalizePhoneNumber(request.phoneNumber, "phoneNumber");
|
|
2545
|
+
const privacyClass = normalizePrivacyClass(request.privacyClass);
|
|
2546
|
+
const baseMetadata = {
|
|
2547
|
+
...(normalizeOptionalRecord(request.metadata, "metadata") ?? {}),
|
|
2548
|
+
phoneNumber,
|
|
2549
|
+
consentCapturedAt: new Date().toISOString(),
|
|
2550
|
+
consentGiven: true,
|
|
2551
|
+
isPrimary: true,
|
|
2552
|
+
};
|
|
2553
|
+
const smsPolicy = await this.upsertChannelPolicy({
|
|
2554
|
+
channelType: "sms",
|
|
2555
|
+
channelRef: phoneNumber,
|
|
2556
|
+
privacyClass,
|
|
2557
|
+
allowReminders: normalizeOptionalBoolean(request.allowSms, "allowSms") ?? false,
|
|
2558
|
+
allowEscalation: normalizeOptionalBoolean(request.allowSms, "allowSms") ?? false,
|
|
2559
|
+
allowPosts: false,
|
|
2560
|
+
requireConfirmationForActions: true,
|
|
2561
|
+
metadata: {
|
|
2562
|
+
...baseMetadata,
|
|
2563
|
+
consentKind: "phone",
|
|
2564
|
+
smsAllowed: normalizeOptionalBoolean(request.allowSms, "allowSms") ?? false,
|
|
2565
|
+
voiceAllowed: normalizeOptionalBoolean(request.allowVoice, "allowVoice") ?? false,
|
|
2566
|
+
},
|
|
2567
|
+
});
|
|
2568
|
+
const voicePolicy = await this.upsertChannelPolicy({
|
|
2569
|
+
channelType: "voice",
|
|
2570
|
+
channelRef: phoneNumber,
|
|
2571
|
+
privacyClass,
|
|
2572
|
+
allowReminders: normalizeOptionalBoolean(request.allowVoice, "allowVoice") ?? false,
|
|
2573
|
+
allowEscalation: normalizeOptionalBoolean(request.allowVoice, "allowVoice") ?? false,
|
|
2574
|
+
allowPosts: false,
|
|
2575
|
+
requireConfirmationForActions: true,
|
|
2576
|
+
metadata: {
|
|
2577
|
+
...baseMetadata,
|
|
2578
|
+
consentKind: "phone",
|
|
2579
|
+
smsAllowed: normalizeOptionalBoolean(request.allowSms, "allowSms") ?? false,
|
|
2580
|
+
voiceAllowed: normalizeOptionalBoolean(request.allowVoice, "allowVoice") ?? false,
|
|
2581
|
+
},
|
|
2582
|
+
});
|
|
2583
|
+
// Register SMS/voice in the escalation channel list when the user
|
|
2584
|
+
// consents so the escalation service can reach them without manual
|
|
2585
|
+
// setup.
|
|
2586
|
+
const allowSms = normalizeOptionalBoolean(request.allowSms, "allowSms") ?? false;
|
|
2587
|
+
const allowVoice = normalizeOptionalBoolean(request.allowVoice, "allowVoice") ?? false;
|
|
2588
|
+
if (allowSms) {
|
|
2589
|
+
registerEscalationChannel("sms");
|
|
2590
|
+
}
|
|
2591
|
+
if (allowVoice) {
|
|
2592
|
+
registerEscalationChannel("voice");
|
|
2593
|
+
}
|
|
2594
|
+
return {
|
|
2595
|
+
phoneNumber,
|
|
2596
|
+
policies: [smsPolicy, voicePolicy],
|
|
2597
|
+
};
|
|
2598
|
+
}
|
|
2599
|
+
async processReminders(request = {}) {
|
|
2600
|
+
return this.withReminderProcessingLock(async () => {
|
|
2601
|
+
const now = request.now === undefined
|
|
2602
|
+
? new Date()
|
|
2603
|
+
: new Date(normalizeIsoString(request.now, "now"));
|
|
2604
|
+
const limit = request.limit === undefined
|
|
2605
|
+
? DEFAULT_REMINDER_PROCESS_LIMIT
|
|
2606
|
+
: normalizePositiveInteger(request.limit, "limit");
|
|
2607
|
+
const ownerTimezone = resolveDefaultTimeZone();
|
|
2608
|
+
const definitions = await this.repository.listActiveDefinitions(this.agentId());
|
|
2609
|
+
for (const definition of definitions) {
|
|
2610
|
+
await this.refreshDefinitionOccurrences(definition, now);
|
|
2611
|
+
}
|
|
2612
|
+
const definitionsById = new Map(definitions.map((definition) => [definition.id, definition]));
|
|
2613
|
+
const horizon = addMinutes(now, OVERVIEW_HORIZON_MINUTES).toISOString();
|
|
2614
|
+
const occurrenceViews = await this.repository.listOccurrenceViewsForOverview(this.agentId(), horizon);
|
|
2615
|
+
const occurrencePlans = await this.repository.listReminderPlansForOwners(this.agentId(), "definition", occurrenceViews.map((occurrence) => occurrence.definitionId));
|
|
2616
|
+
const policies = await this.repository.listChannelPolicies(this.agentId());
|
|
2617
|
+
const definitionPreferencesById = new Map();
|
|
2618
|
+
const plansByDefinitionId = new Map();
|
|
2619
|
+
for (const plan of occurrencePlans) {
|
|
2620
|
+
const definition = definitionsById.get(plan.ownerId) ?? null;
|
|
2621
|
+
const preference = this.buildReminderPreferenceResponse(definition, policies);
|
|
2622
|
+
definitionPreferencesById.set(plan.ownerId, preference);
|
|
2623
|
+
const effectivePlan = this.resolveEffectiveReminderPlan(plan, preference);
|
|
2624
|
+
if (effectivePlan) {
|
|
2625
|
+
plansByDefinitionId.set(plan.ownerId, effectivePlan);
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
const eventWindowEnd = addMinutes(now, OVERVIEW_HORIZON_MINUTES).toISOString();
|
|
2629
|
+
const calendarEvents = await this.repository.listCalendarEvents(this.agentId(), "google", now.toISOString(), eventWindowEnd);
|
|
2630
|
+
const eventPlans = await this.repository.listReminderPlansForOwners(this.agentId(), "calendar_event", calendarEvents.map((event) => event.id));
|
|
2631
|
+
const globalReminderPreference = this.buildReminderPreferenceResponse(null, policies);
|
|
2632
|
+
const occurrenceUrgencies = new Map();
|
|
2633
|
+
for (const occurrence of occurrenceViews) {
|
|
2634
|
+
occurrenceUrgencies.set(occurrence.id, resolveReminderDeliveryUrgency({
|
|
2635
|
+
metadata: occurrence.metadata,
|
|
2636
|
+
priority: occurrence.priority,
|
|
2637
|
+
}));
|
|
2638
|
+
}
|
|
2639
|
+
const plansByEventId = new Map();
|
|
2640
|
+
for (const plan of eventPlans) {
|
|
2641
|
+
const effectivePlan = this.resolveEffectiveReminderPlan(plan, globalReminderPreference);
|
|
2642
|
+
if (effectivePlan) {
|
|
2643
|
+
plansByEventId.set(plan.ownerId, effectivePlan);
|
|
2644
|
+
}
|
|
2645
|
+
}
|
|
2646
|
+
const eventUrgencies = new Map();
|
|
2647
|
+
for (const event of calendarEvents) {
|
|
2648
|
+
eventUrgencies.set(event.id, resolveReminderDeliveryUrgency({
|
|
2649
|
+
metadata: event.metadata,
|
|
2650
|
+
fallback: "medium",
|
|
2651
|
+
}));
|
|
2652
|
+
}
|
|
2653
|
+
const existingAttempts = await this.repository.listReminderAttempts(this.agentId());
|
|
2654
|
+
const attemptKey = (planId, stepIndex, scheduledFor) => `${planId}:${stepIndex}:${scheduledFor}`;
|
|
2655
|
+
const deliveredAttempts = new Set(existingAttempts
|
|
2656
|
+
.filter((attempt) => attempt.outcome === "delivered" ||
|
|
2657
|
+
attempt.outcome === "delivered_read" ||
|
|
2658
|
+
attempt.outcome === "delivered_unread")
|
|
2659
|
+
.map((attempt) => attemptKey(attempt.planId, attempt.stepIndex, attempt.scheduledFor)));
|
|
2660
|
+
const blockedAckAttempts = new Set(existingAttempts
|
|
2661
|
+
.filter((attempt) => attempt.outcome === "blocked_acknowledged")
|
|
2662
|
+
.map((attempt) => attemptKey(attempt.planId, attempt.stepIndex, attempt.scheduledFor)));
|
|
2663
|
+
const activityProfile = await this.readReminderActivityProfileSnapshot();
|
|
2664
|
+
const dueAttempts = [];
|
|
2665
|
+
for (const reminder of buildActiveReminders(occurrenceViews, plansByDefinitionId, now)) {
|
|
2666
|
+
if (dueAttempts.length >= limit)
|
|
2667
|
+
break;
|
|
2668
|
+
const plan = reminder.definitionId
|
|
2669
|
+
? plansByDefinitionId.get(reminder.definitionId)
|
|
2670
|
+
: null;
|
|
2671
|
+
if (!plan)
|
|
2672
|
+
continue;
|
|
2673
|
+
const occurrence = occurrenceViews.find((candidate) => candidate.id === reminder.ownerId);
|
|
2674
|
+
if (!occurrence)
|
|
2675
|
+
continue;
|
|
2676
|
+
const preference = definitionPreferencesById.get(reminder.definitionId ?? "") ??
|
|
2677
|
+
globalReminderPreference;
|
|
2678
|
+
const urgency = occurrenceUrgencies.get(reminder.ownerId) ?? "medium";
|
|
2679
|
+
const definition = definitionsById.get(occurrence.definitionId) ?? null;
|
|
2680
|
+
if (!shouldDeliverReminderForIntensity(preference.effective.intensity, urgency)) {
|
|
2681
|
+
continue;
|
|
2682
|
+
}
|
|
2683
|
+
const key = attemptKey(plan.id, reminder.stepIndex, reminder.scheduledFor);
|
|
2684
|
+
const acknowledged = Boolean(occurrence.metadata.reminderAcknowledgedAt ||
|
|
2685
|
+
occurrence.state === "completed");
|
|
2686
|
+
if (deliveredAttempts.has(key) ||
|
|
2687
|
+
(acknowledged && blockedAckAttempts.has(key))) {
|
|
2688
|
+
continue;
|
|
2689
|
+
}
|
|
2690
|
+
if (shouldDeferReminderUntilComputerActive({
|
|
2691
|
+
channel: reminder.channel,
|
|
2692
|
+
definition,
|
|
2693
|
+
activityProfile,
|
|
2694
|
+
urgency,
|
|
2695
|
+
})) {
|
|
2696
|
+
continue;
|
|
2697
|
+
}
|
|
2698
|
+
const attempt = await this.dispatchReminderAttempt({
|
|
2699
|
+
plan,
|
|
2700
|
+
ownerType: "occurrence",
|
|
2701
|
+
ownerId: reminder.ownerId,
|
|
2702
|
+
occurrenceId: reminder.occurrenceId,
|
|
2703
|
+
subjectType: occurrence.subjectType,
|
|
2704
|
+
title: reminder.title,
|
|
2705
|
+
channel: reminder.channel,
|
|
2706
|
+
stepIndex: reminder.stepIndex,
|
|
2707
|
+
scheduledFor: reminder.scheduledFor,
|
|
2708
|
+
dueAt: occurrence.dueAt,
|
|
2709
|
+
urgency,
|
|
2710
|
+
quietHours: plan.quietHours,
|
|
2711
|
+
acknowledged,
|
|
2712
|
+
attemptedAt: now.toISOString(),
|
|
2713
|
+
activityProfile,
|
|
2714
|
+
nearbyReminderTitles: collectNearbyReminderTitles({
|
|
2715
|
+
currentOwnerId: reminder.ownerId,
|
|
2716
|
+
currentAnchorAt: occurrence.dueAt,
|
|
2717
|
+
occurrences: occurrenceViews,
|
|
2718
|
+
events: calendarEvents,
|
|
2719
|
+
limit: 3,
|
|
2720
|
+
}),
|
|
2721
|
+
timezone: ownerTimezone,
|
|
2722
|
+
definition,
|
|
2723
|
+
});
|
|
2724
|
+
dueAttempts.push(attempt);
|
|
2725
|
+
if (attempt.outcome === "delivered") {
|
|
2726
|
+
deliveredAttempts.add(key);
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2729
|
+
for (const reminder of buildActiveCalendarEventReminders(calendarEvents, plansByEventId, this.ownerEntityId(), now)) {
|
|
2730
|
+
if (dueAttempts.length >= limit)
|
|
2731
|
+
break;
|
|
2732
|
+
const plan = reminder.eventId
|
|
2733
|
+
? plansByEventId.get(reminder.eventId)
|
|
2734
|
+
: null;
|
|
2735
|
+
if (!plan)
|
|
2736
|
+
continue;
|
|
2737
|
+
const event = calendarEvents.find((candidate) => candidate.id === reminder.ownerId);
|
|
2738
|
+
if (!event)
|
|
2739
|
+
continue;
|
|
2740
|
+
if (!shouldDeliverReminderForIntensity(globalReminderPreference.effective.intensity, eventUrgencies.get(reminder.ownerId) ?? "medium")) {
|
|
2741
|
+
continue;
|
|
2742
|
+
}
|
|
2743
|
+
const key = attemptKey(plan.id, reminder.stepIndex, reminder.scheduledFor);
|
|
2744
|
+
const acknowledged = Boolean(event.metadata.reminderAcknowledgedAt);
|
|
2745
|
+
if (deliveredAttempts.has(key) ||
|
|
2746
|
+
(acknowledged && blockedAckAttempts.has(key))) {
|
|
2747
|
+
continue;
|
|
2748
|
+
}
|
|
2749
|
+
const attempt = await this.dispatchReminderAttempt({
|
|
2750
|
+
plan,
|
|
2751
|
+
ownerType: "calendar_event",
|
|
2752
|
+
ownerId: reminder.ownerId,
|
|
2753
|
+
occurrenceId: null,
|
|
2754
|
+
subjectType: reminder.subjectType,
|
|
2755
|
+
title: reminder.title,
|
|
2756
|
+
channel: reminder.channel,
|
|
2757
|
+
stepIndex: reminder.stepIndex,
|
|
2758
|
+
scheduledFor: reminder.scheduledFor,
|
|
2759
|
+
dueAt: reminder.dueAt,
|
|
2760
|
+
urgency: resolveReminderDeliveryUrgency({
|
|
2761
|
+
metadata: event.metadata,
|
|
2762
|
+
fallback: "medium",
|
|
2763
|
+
}),
|
|
2764
|
+
quietHours: plan.quietHours,
|
|
2765
|
+
acknowledged,
|
|
2766
|
+
attemptedAt: now.toISOString(),
|
|
2767
|
+
activityProfile,
|
|
2768
|
+
nearbyReminderTitles: collectNearbyReminderTitles({
|
|
2769
|
+
currentOwnerId: reminder.ownerId,
|
|
2770
|
+
currentAnchorAt: reminder.dueAt,
|
|
2771
|
+
occurrences: occurrenceViews,
|
|
2772
|
+
events: calendarEvents,
|
|
2773
|
+
limit: 3,
|
|
2774
|
+
}),
|
|
2775
|
+
timezone: ownerTimezone,
|
|
2776
|
+
definition: null,
|
|
2777
|
+
});
|
|
2778
|
+
dueAttempts.push(attempt);
|
|
2779
|
+
if (attempt.outcome === "delivered") {
|
|
2780
|
+
deliveredAttempts.add(key);
|
|
2781
|
+
}
|
|
2782
|
+
}
|
|
2783
|
+
const reminderAttemptsForEscalation = [
|
|
2784
|
+
...existingAttempts,
|
|
2785
|
+
...dueAttempts,
|
|
2786
|
+
];
|
|
2787
|
+
// Scan recent "delivered" attempts and upgrade to "delivered_read" when
|
|
2788
|
+
// the owner was active after delivery. This improves escalation decisions.
|
|
2789
|
+
await this.scanReadReceipts(reminderAttemptsForEscalation, activityProfile, now);
|
|
2790
|
+
for (const occurrence of occurrenceViews) {
|
|
2791
|
+
if (dueAttempts.length >= limit)
|
|
2792
|
+
break;
|
|
2793
|
+
const plan = plansByDefinitionId.get(occurrence.definitionId) ?? null;
|
|
2794
|
+
if (!plan)
|
|
2795
|
+
continue;
|
|
2796
|
+
const acknowledged = Boolean(occurrence.metadata.reminderAcknowledgedAt ||
|
|
2797
|
+
occurrence.state === "completed");
|
|
2798
|
+
const attempt = await this.dispatchDueReminderEscalation({
|
|
2799
|
+
plan,
|
|
2800
|
+
ownerType: "occurrence",
|
|
2801
|
+
ownerId: occurrence.id,
|
|
2802
|
+
occurrenceId: occurrence.id,
|
|
2803
|
+
subjectType: occurrence.subjectType,
|
|
2804
|
+
title: occurrence.title,
|
|
2805
|
+
dueAt: occurrence.dueAt,
|
|
2806
|
+
urgency: resolveReminderDeliveryUrgency({
|
|
2807
|
+
metadata: occurrence.metadata,
|
|
2808
|
+
priority: occurrence.priority,
|
|
2809
|
+
}),
|
|
2810
|
+
intensity: definitionPreferencesById.get(occurrence.definitionId)?.effective
|
|
2811
|
+
?.intensity ?? globalReminderPreference.effective.intensity,
|
|
2812
|
+
quietHours: plan.quietHours,
|
|
2813
|
+
attemptedAt: now.toISOString(),
|
|
2814
|
+
now,
|
|
2815
|
+
attempts: reminderAttemptsForEscalation,
|
|
2816
|
+
policies,
|
|
2817
|
+
activityProfile,
|
|
2818
|
+
occurrence,
|
|
2819
|
+
acknowledged,
|
|
2820
|
+
nearbyReminderTitles: collectNearbyReminderTitles({
|
|
2821
|
+
currentOwnerId: occurrence.id,
|
|
2822
|
+
currentAnchorAt: occurrence.dueAt,
|
|
2823
|
+
occurrences: occurrenceViews,
|
|
2824
|
+
events: calendarEvents,
|
|
2825
|
+
limit: 3,
|
|
2826
|
+
}),
|
|
2827
|
+
timezone: ownerTimezone,
|
|
2828
|
+
definition: definitionsById.get(occurrence.definitionId) ?? null,
|
|
2829
|
+
});
|
|
2830
|
+
if (!attempt)
|
|
2831
|
+
continue;
|
|
2832
|
+
dueAttempts.push(attempt);
|
|
2833
|
+
reminderAttemptsForEscalation.push(attempt);
|
|
2834
|
+
}
|
|
2835
|
+
for (const event of calendarEvents) {
|
|
2836
|
+
if (dueAttempts.length >= limit)
|
|
2837
|
+
break;
|
|
2838
|
+
const plan = plansByEventId.get(event.id) ?? null;
|
|
2839
|
+
if (!plan)
|
|
2840
|
+
continue;
|
|
2841
|
+
const attempt = await this.dispatchDueReminderEscalation({
|
|
2842
|
+
plan,
|
|
2843
|
+
ownerType: "calendar_event",
|
|
2844
|
+
ownerId: event.id,
|
|
2845
|
+
occurrenceId: null,
|
|
2846
|
+
subjectType: "owner",
|
|
2847
|
+
title: event.title,
|
|
2848
|
+
dueAt: event.startAt,
|
|
2849
|
+
urgency: resolveReminderDeliveryUrgency({
|
|
2850
|
+
metadata: event.metadata,
|
|
2851
|
+
fallback: "medium",
|
|
2852
|
+
}),
|
|
2853
|
+
intensity: globalReminderPreference.effective.intensity,
|
|
2854
|
+
quietHours: plan.quietHours,
|
|
2855
|
+
attemptedAt: now.toISOString(),
|
|
2856
|
+
now,
|
|
2857
|
+
attempts: reminderAttemptsForEscalation,
|
|
2858
|
+
policies,
|
|
2859
|
+
activityProfile,
|
|
2860
|
+
eventStartAt: event.startAt,
|
|
2861
|
+
acknowledged: Boolean(event.metadata.reminderAcknowledgedAt),
|
|
2862
|
+
nearbyReminderTitles: collectNearbyReminderTitles({
|
|
2863
|
+
currentOwnerId: event.id,
|
|
2864
|
+
currentAnchorAt: event.startAt,
|
|
2865
|
+
occurrences: occurrenceViews,
|
|
2866
|
+
events: calendarEvents,
|
|
2867
|
+
limit: 3,
|
|
2868
|
+
}),
|
|
2869
|
+
timezone: ownerTimezone,
|
|
2870
|
+
definition: null,
|
|
2871
|
+
});
|
|
2872
|
+
if (!attempt)
|
|
2873
|
+
continue;
|
|
2874
|
+
dueAttempts.push(attempt);
|
|
2875
|
+
reminderAttemptsForEscalation.push(attempt);
|
|
2876
|
+
}
|
|
2877
|
+
return {
|
|
2878
|
+
now: now.toISOString(),
|
|
2879
|
+
attempts: dueAttempts,
|
|
2880
|
+
};
|
|
2881
|
+
});
|
|
2882
|
+
}
|
|
2883
|
+
async processScheduledWork(request = {}) {
|
|
2884
|
+
const now = request.now === undefined
|
|
2885
|
+
? new Date()
|
|
2886
|
+
: new Date(normalizeIsoString(request.now, "now"));
|
|
2887
|
+
const reminderLimit = request.reminderLimit === undefined
|
|
2888
|
+
? DEFAULT_REMINDER_PROCESS_LIMIT
|
|
2889
|
+
: normalizePositiveInteger(request.reminderLimit, "reminderLimit");
|
|
2890
|
+
const workflowLimit = request.workflowLimit === undefined
|
|
2891
|
+
? DEFAULT_WORKFLOW_PROCESS_LIMIT
|
|
2892
|
+
: normalizePositiveInteger(request.workflowLimit, "workflowLimit");
|
|
2893
|
+
await this.syncWebsiteAccessState(now);
|
|
2894
|
+
const previousSchedule = await this.readEffectiveScheduleState({ now });
|
|
2895
|
+
const currentSchedule = await this.refreshEffectiveScheduleState({ now });
|
|
2896
|
+
if (currentSchedule !== null) {
|
|
2897
|
+
// Persist the canonical circadian state row. Boot rehydration reads
|
|
2898
|
+
// this on the next runtime start; downstream consumers can subscribe
|
|
2899
|
+
// to transitions via life_audit_events owner_type=circadian_state.
|
|
2900
|
+
const priorState = await this.repository.readCircadianState(this.agentId());
|
|
2901
|
+
const stateChanged = priorState === null ||
|
|
2902
|
+
priorState.circadianState !== currentSchedule.circadianState;
|
|
2903
|
+
await this.repository.upsertCircadianState({
|
|
2904
|
+
agentId: this.agentId(),
|
|
2905
|
+
circadianState: currentSchedule.circadianState,
|
|
2906
|
+
stateConfidence: currentSchedule.stateConfidence,
|
|
2907
|
+
uncertaintyReason: currentSchedule.uncertaintyReason,
|
|
2908
|
+
enteredAt: stateChanged
|
|
2909
|
+
? now.toISOString()
|
|
2910
|
+
: (priorState?.enteredAt ?? now.toISOString()),
|
|
2911
|
+
sinceSleepDetectedAt: currentSchedule.circadianState === "sleeping" ||
|
|
2912
|
+
currentSchedule.circadianState === "napping"
|
|
2913
|
+
? (currentSchedule.currentSleepStartedAt ??
|
|
2914
|
+
priorState?.sinceSleepDetectedAt ??
|
|
2915
|
+
null)
|
|
2916
|
+
: null,
|
|
2917
|
+
sinceWakeObservedAt: currentSchedule.circadianState === "waking" ||
|
|
2918
|
+
currentSchedule.circadianState === "awake"
|
|
2919
|
+
? (currentSchedule.wakeAt ??
|
|
2920
|
+
priorState?.sinceWakeObservedAt ??
|
|
2921
|
+
null)
|
|
2922
|
+
: null,
|
|
2923
|
+
sinceWakeConfirmedAt: currentSchedule.circadianState === "awake"
|
|
2924
|
+
? (currentSchedule.wakeAt ??
|
|
2925
|
+
priorState?.sinceWakeConfirmedAt ??
|
|
2926
|
+
null)
|
|
2927
|
+
: (priorState?.sinceWakeConfirmedAt ?? null),
|
|
2928
|
+
evidenceRefs: currentSchedule.circadianRuleFirings.map((firing) => firing.name),
|
|
2929
|
+
createdAt: priorState?.createdAt ?? now.toISOString(),
|
|
2930
|
+
updatedAt: now.toISOString(),
|
|
2931
|
+
});
|
|
2932
|
+
}
|
|
2933
|
+
const derivedEvents = currentSchedule === null
|
|
2934
|
+
? []
|
|
2935
|
+
: deriveSleepWakeEvents({
|
|
2936
|
+
previous: previousSchedule,
|
|
2937
|
+
current: currentSchedule,
|
|
2938
|
+
now,
|
|
2939
|
+
});
|
|
2940
|
+
// Persist each derived circadian event via createAuditEventIfNew so a
|
|
2941
|
+
// runtime restart that re-runs deriveSleepWakeEvents on the same state
|
|
2942
|
+
// pair does not duplicate the emit (audit id is deterministic:
|
|
2943
|
+
// `${eventKind}:${agentId}:${occurredAt}`). Only events that were
|
|
2944
|
+
// newly inserted get dispatched to runtime.emitEvent.
|
|
2945
|
+
const lifeOpsEvents = [];
|
|
2946
|
+
for (const event of derivedEvents) {
|
|
2947
|
+
const inserted = await this.repository.createAuditEventIfNew({
|
|
2948
|
+
id: event.id,
|
|
2949
|
+
agentId: this.agentId(),
|
|
2950
|
+
eventType: "circadian_event_emitted",
|
|
2951
|
+
ownerType: "circadian_state",
|
|
2952
|
+
ownerId: currentSchedule?.id ??
|
|
2953
|
+
`lifeops-schedule-merged:${this.agentId()}:local:${currentSchedule?.timezone ?? "UTC"}`,
|
|
2954
|
+
reason: event.kind,
|
|
2955
|
+
inputs: {
|
|
2956
|
+
previousStateId: event.payload.previousStateId,
|
|
2957
|
+
currentStateId: event.payload.currentStateId,
|
|
2958
|
+
},
|
|
2959
|
+
decision: {
|
|
2960
|
+
kind: event.kind,
|
|
2961
|
+
occurredAt: event.occurredAt,
|
|
2962
|
+
confidence: event.confidence,
|
|
2963
|
+
circadianState: event.payload.circadianState,
|
|
2964
|
+
uncertaintyReason: event.payload.uncertaintyReason,
|
|
2965
|
+
},
|
|
2966
|
+
actor: "agent",
|
|
2967
|
+
createdAt: now.toISOString(),
|
|
2968
|
+
});
|
|
2969
|
+
if (inserted) {
|
|
2970
|
+
lifeOpsEvents.push(event);
|
|
2971
|
+
await this.runtime.emitEvent(event.kind, {
|
|
2972
|
+
occurredAt: event.occurredAt,
|
|
2973
|
+
confidence: event.confidence,
|
|
2974
|
+
payload: event.payload,
|
|
2975
|
+
});
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2978
|
+
const reminderResult = await this.processReminders({
|
|
2979
|
+
now: now.toISOString(),
|
|
2980
|
+
limit: reminderLimit,
|
|
2981
|
+
});
|
|
2982
|
+
const workflowRunner = this;
|
|
2983
|
+
const workflowRuns = await workflowRunner.runDueWorkflows({
|
|
2984
|
+
now: now.toISOString(),
|
|
2985
|
+
limit: workflowLimit,
|
|
2986
|
+
});
|
|
2987
|
+
const eventWorkflowRuns = await workflowRunner.runDueEventWorkflows({
|
|
2988
|
+
now: now.toISOString(),
|
|
2989
|
+
limit: workflowLimit,
|
|
2990
|
+
lifeOpsEvents,
|
|
2991
|
+
});
|
|
2992
|
+
await this.processSleepCycleCheckins({
|
|
2993
|
+
now,
|
|
2994
|
+
currentSchedule,
|
|
2995
|
+
});
|
|
2996
|
+
await this.runTelemetryMaintenanceIfDue(now);
|
|
2997
|
+
return {
|
|
2998
|
+
now: now.toISOString(),
|
|
2999
|
+
reminderAttempts: reminderResult.attempts,
|
|
3000
|
+
workflowRuns: [...workflowRuns, ...eventWorkflowRuns],
|
|
3001
|
+
};
|
|
3002
|
+
}
|
|
3003
|
+
async processSleepCycleCheckins(args) {
|
|
3004
|
+
const currentSchedule = args.currentSchedule;
|
|
3005
|
+
if (!currentSchedule) {
|
|
3006
|
+
return;
|
|
3007
|
+
}
|
|
3008
|
+
const service = new CheckinService(this.runtime, {
|
|
3009
|
+
sources: this,
|
|
3010
|
+
});
|
|
3011
|
+
const timezone = currentSchedule.timezone || resolveDefaultTimeZone();
|
|
3012
|
+
const dispatch = async (kind) => {
|
|
3013
|
+
const alreadySent = await service.hasCheckinForLocalDay({
|
|
3014
|
+
kind,
|
|
3015
|
+
now: args.now,
|
|
3016
|
+
timezone,
|
|
3017
|
+
});
|
|
3018
|
+
if (alreadySent) {
|
|
3019
|
+
return;
|
|
3020
|
+
}
|
|
3021
|
+
const report = kind === "morning"
|
|
3022
|
+
? await service.runMorningCheckin({ now: args.now, timezone })
|
|
3023
|
+
: await service.runNightCheckin({ now: args.now, timezone });
|
|
3024
|
+
this.emitAssistantEvent(report.summaryText, "lifeops-checkin", {
|
|
3025
|
+
checkinKind: kind,
|
|
3026
|
+
reportId: report.reportId,
|
|
3027
|
+
deliveryBasis: "sleep_cycle",
|
|
3028
|
+
circadianState: currentSchedule.circadianState,
|
|
3029
|
+
wakeAt: currentSchedule.wakeAt,
|
|
3030
|
+
bedtimeTargetAt: currentSchedule.relativeTime.bedtimeTargetAt,
|
|
3031
|
+
minutesUntilBedtimeTarget: currentSchedule.relativeTime.minutesUntilBedtimeTarget,
|
|
3032
|
+
});
|
|
3033
|
+
};
|
|
3034
|
+
if (shouldRunMorningCheckinFromSleepCycle({
|
|
3035
|
+
state: currentSchedule,
|
|
3036
|
+
now: args.now,
|
|
3037
|
+
})) {
|
|
3038
|
+
await dispatch("morning");
|
|
3039
|
+
}
|
|
3040
|
+
if (shouldRunNightCheckinFromSleepCycle({
|
|
3041
|
+
state: currentSchedule,
|
|
3042
|
+
})) {
|
|
3043
|
+
await dispatch("night");
|
|
3044
|
+
}
|
|
3045
|
+
}
|
|
3046
|
+
/**
|
|
3047
|
+
* Daily telemetry maintenance: rolls up yesterday's raw events into
|
|
3048
|
+
* `life_telemetry_rollup_daily`, then prunes raw rows past the retention
|
|
3049
|
+
* window. Gated to one run per UTC day per process via
|
|
3050
|
+
* `telemetryRollupLastRunDate` so a 60-second scheduler tick doesn't thrash.
|
|
3051
|
+
*/
|
|
3052
|
+
async runTelemetryMaintenanceIfDue(now) {
|
|
3053
|
+
const dateKey = now.toISOString().slice(0, 10);
|
|
3054
|
+
if (this.telemetryRollupLastRunDate === dateKey) {
|
|
3055
|
+
return;
|
|
3056
|
+
}
|
|
3057
|
+
try {
|
|
3058
|
+
const yesterday = new Date(now.getTime() - 24 * 60 * 60 * 1_000);
|
|
3059
|
+
await this.repository.upsertTelemetryDailyRollup({
|
|
3060
|
+
agentId: this.agentId(),
|
|
3061
|
+
sinceIso: `${yesterday.toISOString().slice(0, 10)}T00:00:00.000Z`,
|
|
3062
|
+
untilIso: `${dateKey}T00:00:00.000Z`,
|
|
3063
|
+
});
|
|
3064
|
+
await runTelemetryRetention({
|
|
3065
|
+
repository: this.repository,
|
|
3066
|
+
agentId: this.agentId(),
|
|
3067
|
+
retentionDays: DEFAULT_TELEMETRY_RETENTION_DAYS,
|
|
3068
|
+
});
|
|
3069
|
+
this.telemetryRollupLastRunDate = dateKey;
|
|
3070
|
+
}
|
|
3071
|
+
catch (error) {
|
|
3072
|
+
// Maintenance failure should not break the scheduler tick; surface
|
|
3073
|
+
// a warning and retry next tick (the gate isn't updated on failure).
|
|
3074
|
+
this.logLifeOpsWarn("telemetry_maintenance", error instanceof Error ? error.message : String(error));
|
|
3075
|
+
}
|
|
3076
|
+
}
|
|
3077
|
+
async relockWebsiteAccessGroup(groupKey, now = new Date()) {
|
|
3078
|
+
await this.repository.revokeWebsiteAccessGrants(this.agentId(), {
|
|
3079
|
+
groupKey: requireNonEmptyString(groupKey, "groupKey"),
|
|
3080
|
+
revokedAt: now.toISOString(),
|
|
3081
|
+
});
|
|
3082
|
+
await this.syncWebsiteAccessState(now);
|
|
3083
|
+
return { ok: true };
|
|
3084
|
+
}
|
|
3085
|
+
async resolveWebsiteAccessCallback(callbackKey, now = new Date()) {
|
|
3086
|
+
await this.repository.revokeWebsiteAccessGrants(this.agentId(), {
|
|
3087
|
+
callbackKey: requireNonEmptyString(callbackKey, "callbackKey"),
|
|
3088
|
+
revokedAt: now.toISOString(),
|
|
3089
|
+
});
|
|
3090
|
+
await this.syncWebsiteAccessState(now);
|
|
3091
|
+
return { ok: true };
|
|
3092
|
+
}
|
|
3093
|
+
async inspectReminder(ownerType, ownerId) {
|
|
3094
|
+
let plan = null;
|
|
3095
|
+
if (ownerType === "occurrence") {
|
|
3096
|
+
const occurrence = await this.repository.getOccurrence(this.agentId(), ownerId);
|
|
3097
|
+
if (!occurrence) {
|
|
3098
|
+
fail(404, "life-ops occurrence not found");
|
|
3099
|
+
}
|
|
3100
|
+
const definition = await this.repository.getDefinition(this.agentId(), occurrence.definitionId);
|
|
3101
|
+
if (definition?.reminderPlanId) {
|
|
3102
|
+
plan = await this.repository.getReminderPlan(this.agentId(), definition.reminderPlanId);
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3105
|
+
else {
|
|
3106
|
+
const plans = await this.repository.listReminderPlansForOwners(this.agentId(), "calendar_event", [ownerId]);
|
|
3107
|
+
plan = plans[0] ?? null;
|
|
3108
|
+
}
|
|
3109
|
+
return {
|
|
3110
|
+
ownerType,
|
|
3111
|
+
ownerId,
|
|
3112
|
+
reminderPlan: plan,
|
|
3113
|
+
attempts: await this.repository.listReminderAttempts(this.agentId(), {
|
|
3114
|
+
ownerType,
|
|
3115
|
+
ownerId,
|
|
3116
|
+
}),
|
|
3117
|
+
audits: await this.repository.listAuditEvents(this.agentId(), ownerType, ownerId),
|
|
3118
|
+
};
|
|
3119
|
+
}
|
|
3120
|
+
async acknowledgeReminder(request) {
|
|
3121
|
+
const ownerType = normalizeEnumValue(request.ownerType, "ownerType", [
|
|
3122
|
+
"occurrence",
|
|
3123
|
+
"calendar_event",
|
|
3124
|
+
]);
|
|
3125
|
+
const ownerId = requireNonEmptyString(request.ownerId, "ownerId");
|
|
3126
|
+
const acknowledgedAt = request.acknowledgedAt === undefined
|
|
3127
|
+
? new Date().toISOString()
|
|
3128
|
+
: normalizeIsoString(request.acknowledgedAt, "acknowledgedAt");
|
|
3129
|
+
const note = normalizeOptionalString(request.note) ?? null;
|
|
3130
|
+
if (ownerType === "occurrence") {
|
|
3131
|
+
const occurrence = await this.repository.getOccurrence(this.agentId(), ownerId);
|
|
3132
|
+
if (!occurrence) {
|
|
3133
|
+
fail(404, "life-ops occurrence not found");
|
|
3134
|
+
}
|
|
3135
|
+
await this.repository.updateOccurrence({
|
|
3136
|
+
...occurrence,
|
|
3137
|
+
metadata: {
|
|
3138
|
+
...occurrence.metadata,
|
|
3139
|
+
reminderAcknowledgedAt: acknowledgedAt,
|
|
3140
|
+
reminderAcknowledgedNote: note,
|
|
3141
|
+
},
|
|
3142
|
+
updatedAt: new Date().toISOString(),
|
|
3143
|
+
});
|
|
3144
|
+
}
|
|
3145
|
+
else {
|
|
3146
|
+
const event = (await this.repository.listCalendarEvents(this.agentId(), "google")).find((candidate) => candidate.id === ownerId);
|
|
3147
|
+
if (!event) {
|
|
3148
|
+
fail(404, "life-ops calendar event not found");
|
|
3149
|
+
}
|
|
3150
|
+
await this.repository.upsertCalendarEvent({
|
|
3151
|
+
...event,
|
|
3152
|
+
metadata: {
|
|
3153
|
+
...event.metadata,
|
|
3154
|
+
reminderAcknowledgedAt: acknowledgedAt,
|
|
3155
|
+
reminderAcknowledgedNote: note,
|
|
3156
|
+
},
|
|
3157
|
+
updatedAt: new Date().toISOString(),
|
|
3158
|
+
});
|
|
3159
|
+
}
|
|
3160
|
+
await this.resolveReminderEscalation({
|
|
3161
|
+
ownerType,
|
|
3162
|
+
ownerId,
|
|
3163
|
+
resolvedAt: acknowledgedAt,
|
|
3164
|
+
resolution: "acknowledged",
|
|
3165
|
+
note,
|
|
3166
|
+
});
|
|
3167
|
+
return { ok: true };
|
|
3168
|
+
}
|
|
3169
|
+
};
|
|
3170
|
+
}
|