@elizaos/ui 2.0.0-alpha.49 → 2.0.0-alpha.501
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 +1017 -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 +344 -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,3442 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* elizaOS runtime entry point for Eliza.
|
|
3
|
+
*
|
|
4
|
+
* Starts the elizaOS agent runtime with Eliza's plugin configuration.
|
|
5
|
+
* Can be run directly via: node --import tsx src/runtime/eliza.ts
|
|
6
|
+
* Or via the CLI: eliza start
|
|
7
|
+
*
|
|
8
|
+
* @module eliza
|
|
9
|
+
*/
|
|
10
|
+
import crypto from "node:crypto";
|
|
11
|
+
import { existsSync, mkdirSync, readFileSync, unlinkSync } from "node:fs";
|
|
12
|
+
import fs from "node:fs/promises";
|
|
13
|
+
import { createRequire } from "node:module";
|
|
14
|
+
import os from "node:os";
|
|
15
|
+
import path from "node:path";
|
|
16
|
+
import process from "node:process";
|
|
17
|
+
import * as readline from "node:readline";
|
|
18
|
+
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
19
|
+
// ---------------------------------------------------------------------------
|
|
20
|
+
// Extracted modules — re-exported for backward compatibility
|
|
21
|
+
// ---------------------------------------------------------------------------
|
|
22
|
+
import { runFirstTimeSetup } from "./first-time-setup.js";
|
|
23
|
+
import { resolvePlugins } from "./plugin-resolver.js";
|
|
24
|
+
import { CUSTOM_PLUGINS_DIRNAME as CUSTOM_RUNTIME_PLUGINS_DIRNAME, STATIC_ELIZA_PLUGINS, } from "./plugin-types.js";
|
|
25
|
+
export { CHANNEL_PLUGIN_MAP, collectPluginNames, OPTIONAL_PLUGIN_MAP, PROVIDER_PLUGIN_MAP, } from "./plugin-collector.js";
|
|
26
|
+
import { applyAdvancedCapabilitySettings, resolveAdvancedCapabilitiesEnabled, } from "./advanced-capabilities-config.js";
|
|
27
|
+
export { CUSTOM_PLUGINS_DIRNAME, EJECTED_PLUGINS_DIRNAME, ensureBrowserServerLink, findPluginBrowserStagehandDir, findRuntimePluginExport, mergeDropInPlugins, repairBrokenInstallRecord, resolveElizaPluginImportSpecifier, resolvePackageEntry, STATIC_ELIZA_PLUGINS, scanDropInPlugins, shouldIgnoreMissingPluginExport, } from "./plugin-types.js";
|
|
28
|
+
// resolvePlugins is re-exported via index.ts from ./plugin-resolver
|
|
29
|
+
// `@elizaos/app-lifeops` and `@elizaos/app-companion` are NOT eagerly imported
|
|
30
|
+
// here. Both packages transitively import from `@elizaos/agent` (e.g.
|
|
31
|
+
// `hasOwnerAccess` from this package's barrel) — a top-level static import
|
|
32
|
+
// would form a module-init cycle that leaves named exports of the app-lifeops
|
|
33
|
+
// actions array as `undefined`, crashing `runtime.registerPlugin` when it
|
|
34
|
+
// iterates `plugin.actions`.
|
|
35
|
+
//
|
|
36
|
+
// Both apps still resolve at plugin-load time via headless dynamic-import
|
|
37
|
+
// entrypoints in `plugin-resolver.ts`, after the static module graph has fully
|
|
38
|
+
// evaluated, so the cycle never forms and browser-only UI exports stay out of
|
|
39
|
+
// the agent process.
|
|
40
|
+
// Keep this here as a single sentinel: if we ever need a static reference,
|
|
41
|
+
// add `as const` data only — never an `import * as` of an app-* package.
|
|
42
|
+
import { AgentRuntime, AutonomyService, addLogListener, ChannelType, createBasicCapabilitiesPlugin, createMessageMemory, logger,
|
|
43
|
+
// loggerScope, // removed
|
|
44
|
+
mergeCharacterDefaults, stringToUuid, } from "@elizaos/core";
|
|
45
|
+
import * as pluginAgentSkills from "@elizaos/plugin-agent-skills";
|
|
46
|
+
import * as pluginAnthropic from "@elizaos/plugin-anthropic";
|
|
47
|
+
import * as pluginBrowserBridge from "@elizaos/plugin-browser-bridge";
|
|
48
|
+
import * as pluginLocalEmbedding from "@elizaos/plugin-local-embedding";
|
|
49
|
+
import * as pluginPdf from "@elizaos/plugin-pdf";
|
|
50
|
+
import * as pluginSql from "@elizaos/plugin-sql";
|
|
51
|
+
import { getDefaultStylePreset, getOnboardingProviderOption, isElizaSettingsDebugEnabled, migrateLegacyRuntimeConfig, normalizeCharacterLanguage, normalizeOnboardingProviderId, resolveDeploymentTargetInConfig, resolveElizaCloudTopology, resolveServerOnlyPort, resolveServiceRoutingInConfig, resolveStylePresetByAvatarIndex, resolveStylePresetById, resolveStylePresetByName, settingsDebugCloudSummary, } from "@elizaos/shared";
|
|
52
|
+
import { debugLogResolvedContext, validateRuntimeContext, } from "../api/plugin-validation.js";
|
|
53
|
+
import { getWalletAddresses, syncSolanaPublicKeyEnv } from "../api/wallet.js";
|
|
54
|
+
import { configFileExists, loadElizaConfig, } from "../config/config.js";
|
|
55
|
+
import { CONNECTOR_ENV_MAP, collectConfigEnvVars, collectConnectorEnvVars, } from "../config/env-vars.js";
|
|
56
|
+
import { resolveStateDir, resolveUserPath } from "../config/paths.js";
|
|
57
|
+
import { createHookEvent, loadHooks, triggerHook, } from "../hooks/index.js";
|
|
58
|
+
import { ensureAgentWorkspace, resolveDefaultAgentWorkspaceDir, shouldBootstrapWorkspaceInitFiles, } from "../providers/workspace.js";
|
|
59
|
+
import { SandboxAuditLog } from "../security/audit-log.js";
|
|
60
|
+
import { SandboxManager, } from "../services/sandbox-manager.js";
|
|
61
|
+
import { CORE_PLUGINS, OPTIONAL_CORE_PLUGINS } from "./core-plugins.js";
|
|
62
|
+
import { seedBundledKnowledge } from "./default-knowledge.js";
|
|
63
|
+
import discordLocalPlugin from "./discord-local-plugin.js";
|
|
64
|
+
import { createElizaPlugin } from "./eliza-plugin.js";
|
|
65
|
+
import { detectEmbeddingPreset } from "./embedding-presets.js";
|
|
66
|
+
import { runtimeKnowledgeEnabled, runtimeTrajectoriesEnabled, } from "./native-runtime-features.js";
|
|
67
|
+
import { createPgliteInitError, getPgliteErrorCode, PGLITE_ERROR_CODES, } from "./pglite-error-compat";
|
|
68
|
+
import { installRuntimePluginLifecycle } from "./plugin-lifecycle.js";
|
|
69
|
+
import rolesPlugin from "./roles.js";
|
|
70
|
+
import { shouldEnableTrajectoryLoggingByDefault } from "./trajectory-persistence.js";
|
|
71
|
+
const require = createRequire(import.meta.url);
|
|
72
|
+
// Agent orchestrator ships as the standalone @elizaos/plugin-agent-orchestrator package.
|
|
73
|
+
// Use top-level dynamic import because the package is ESM-only and fails under
|
|
74
|
+
// createRequire() in bun runtime; the await is resolved before module consumers read the binding.
|
|
75
|
+
let pluginAgentOrchestrator = null;
|
|
76
|
+
try {
|
|
77
|
+
pluginAgentOrchestrator = await import("@elizaos/plugin-agent-orchestrator");
|
|
78
|
+
}
|
|
79
|
+
catch {
|
|
80
|
+
pluginAgentOrchestrator = null;
|
|
81
|
+
}
|
|
82
|
+
// Keep plugin-shell behind a guarded runtime require too. The published alpha
|
|
83
|
+
// tarball can declare dist/index.js without actually shipping it, which breaks
|
|
84
|
+
// CLI/bootstrap in published-only CI.
|
|
85
|
+
let pluginShell = null;
|
|
86
|
+
try {
|
|
87
|
+
pluginShell = require("@elizaos/plugin-shell");
|
|
88
|
+
}
|
|
89
|
+
catch {
|
|
90
|
+
pluginShell = null;
|
|
91
|
+
}
|
|
92
|
+
// Keep plugin-commands behind a guarded runtime require. Some published alpha
|
|
93
|
+
// builds advertise dist/index.js without actually shipping it, and a static
|
|
94
|
+
// ESM import here makes the CLI fail before it can print --help/--version.
|
|
95
|
+
let pluginCommands = null;
|
|
96
|
+
try {
|
|
97
|
+
pluginCommands = require("@elizaos/plugin-commands");
|
|
98
|
+
}
|
|
99
|
+
catch {
|
|
100
|
+
pluginCommands = null;
|
|
101
|
+
}
|
|
102
|
+
let pluginCron = null;
|
|
103
|
+
try {
|
|
104
|
+
pluginCron = require("@elizaos/plugin-cron");
|
|
105
|
+
}
|
|
106
|
+
catch {
|
|
107
|
+
pluginCron = null;
|
|
108
|
+
}
|
|
109
|
+
// Keep plugin-elizacloud behind a guarded runtime require as well. Some
|
|
110
|
+
// published alpha builds advertise dist/node/index.node.js but do not ship
|
|
111
|
+
// that ESM entry, which breaks CLI bootstrap in published-only CI.
|
|
112
|
+
let pluginElizacloud = null;
|
|
113
|
+
try {
|
|
114
|
+
pluginElizacloud = require("@elizaos/plugin-elizacloud");
|
|
115
|
+
}
|
|
116
|
+
catch {
|
|
117
|
+
pluginElizacloud = null;
|
|
118
|
+
}
|
|
119
|
+
// Keep plugin-ollama behind a guarded runtime require as well. Some published
|
|
120
|
+
// alpha builds advertise dist/node/index.node.js but do not ship that ESM
|
|
121
|
+
// entry, which breaks CLI bootstrap and startup smokes in published-only CI.
|
|
122
|
+
let pluginOllama = null;
|
|
123
|
+
try {
|
|
124
|
+
pluginOllama = require("@elizaos/plugin-ollama");
|
|
125
|
+
}
|
|
126
|
+
catch {
|
|
127
|
+
pluginOllama = null;
|
|
128
|
+
}
|
|
129
|
+
// Keep plugin-openai behind a guarded runtime require too. Some published
|
|
130
|
+
// alpha builds advertise dist/node/index.node.js without shipping that entry,
|
|
131
|
+
// which breaks CLI bootstrap and validation in published-only CI.
|
|
132
|
+
let pluginOpenai = null;
|
|
133
|
+
try {
|
|
134
|
+
pluginOpenai = require("@elizaos/plugin-openai");
|
|
135
|
+
}
|
|
136
|
+
catch {
|
|
137
|
+
pluginOpenai = null;
|
|
138
|
+
}
|
|
139
|
+
let activeSignalShutdownContext = null;
|
|
140
|
+
let signalHandlersRegistered = false;
|
|
141
|
+
let signalShutdownPromise = null;
|
|
142
|
+
function registerSignalShutdownHandlers(context) {
|
|
143
|
+
activeSignalShutdownContext = context;
|
|
144
|
+
if (signalHandlersRegistered) {
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
const shutdown = async () => {
|
|
148
|
+
if (signalShutdownPromise) {
|
|
149
|
+
await signalShutdownPromise;
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
signalShutdownPromise = (async () => {
|
|
153
|
+
const current = activeSignalShutdownContext;
|
|
154
|
+
if (!current) {
|
|
155
|
+
process.exit(0);
|
|
156
|
+
}
|
|
157
|
+
try {
|
|
158
|
+
await current?.beforeShutdown?.();
|
|
159
|
+
}
|
|
160
|
+
catch (err) {
|
|
161
|
+
logger.warn(`[eliza] Pre-shutdown cleanup error: ${formatError(err)}`);
|
|
162
|
+
}
|
|
163
|
+
try {
|
|
164
|
+
const sandboxManager = current?.getSandboxManager();
|
|
165
|
+
if (sandboxManager) {
|
|
166
|
+
try {
|
|
167
|
+
await sandboxManager.stop();
|
|
168
|
+
logger.info("[eliza] Sandbox manager stopped");
|
|
169
|
+
}
|
|
170
|
+
catch (err) {
|
|
171
|
+
logger.warn(`[eliza] Sandbox stop error: ${err instanceof Error ? err.message : String(err)}`);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
catch (err) {
|
|
176
|
+
logger.warn(`[eliza] Sandbox shutdown error: ${formatError(err)}`);
|
|
177
|
+
}
|
|
178
|
+
try {
|
|
179
|
+
const runtime = current?.getRuntime();
|
|
180
|
+
if (runtime) {
|
|
181
|
+
await shutdownRuntime(runtime, "signal shutdown");
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
catch (err) {
|
|
185
|
+
logger.warn(`[eliza] Error during shutdown: ${formatError(err)}`);
|
|
186
|
+
}
|
|
187
|
+
process.exit(0);
|
|
188
|
+
})();
|
|
189
|
+
await signalShutdownPromise;
|
|
190
|
+
};
|
|
191
|
+
process.on("SIGINT", () => void shutdown());
|
|
192
|
+
process.on("SIGTERM", () => void shutdown());
|
|
193
|
+
signalHandlersRegistered = true;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Map of baseline bundled @elizaos plugin names to their statically imported
|
|
197
|
+
* modules.
|
|
198
|
+
*
|
|
199
|
+
* Post-release plugins are intentionally excluded so the packaged runtime can
|
|
200
|
+
* ship a smaller baseline bundle. Those plugins fall through to dynamic
|
|
201
|
+
* import() and can be installed later via the plugin installer.
|
|
202
|
+
*/
|
|
203
|
+
// Populate the shared STATIC_ELIZA_PLUGINS registry (defined in plugin-types.ts)
|
|
204
|
+
// so plugin-resolver.ts can read it without importing this module directly.
|
|
205
|
+
Object.assign(STATIC_ELIZA_PLUGINS, {
|
|
206
|
+
"@elizaos/plugin-sql": pluginSql,
|
|
207
|
+
"@elizaos/plugin-local-embedding": pluginLocalEmbedding,
|
|
208
|
+
// secrets (SECRETS service): now built-in core capability (ENABLE_SECRETS_MANAGER)
|
|
209
|
+
...(pluginAgentOrchestrator
|
|
210
|
+
? { "agent-orchestrator": pluginAgentOrchestrator }
|
|
211
|
+
: {}),
|
|
212
|
+
...(pluginCron ? { "@elizaos/plugin-cron": pluginCron } : {}),
|
|
213
|
+
...(pluginShell ? { "@elizaos/plugin-shell": pluginShell } : {}),
|
|
214
|
+
// plugin-manager: now built-in core capability (ENABLE_PLUGIN_MANAGER)
|
|
215
|
+
"@elizaos/plugin-agent-skills": pluginAgentSkills,
|
|
216
|
+
...(pluginCommands ? { "@elizaos/plugin-commands": pluginCommands } : {}),
|
|
217
|
+
"@elizaos/plugin-pdf": pluginPdf,
|
|
218
|
+
...(pluginOpenai ? { "@elizaos/plugin-openai": pluginOpenai } : {}),
|
|
219
|
+
"@elizaos/plugin-anthropic": pluginAnthropic,
|
|
220
|
+
...(pluginOllama ? { "@elizaos/plugin-ollama": pluginOllama } : {}),
|
|
221
|
+
...(pluginElizacloud
|
|
222
|
+
? { "@elizaos/plugin-elizacloud": pluginElizacloud }
|
|
223
|
+
: {}),
|
|
224
|
+
// trust: now built-in core capability (ENABLE_TRUST)
|
|
225
|
+
// `@elizaos/app-lifeops` and `@elizaos/app-companion` are intentionally
|
|
226
|
+
// omitted from the static map — see the comment near the top of this file.
|
|
227
|
+
// They resolve via headless dynamic-import entrypoints in plugin-resolver.ts.
|
|
228
|
+
"@elizaos/plugin-browser-bridge": pluginBrowserBridge,
|
|
229
|
+
"@elizaos/plugin-discord-local": discordLocalPlugin,
|
|
230
|
+
// personality: now built-in advanced capability (advancedCapabilities: true)
|
|
231
|
+
});
|
|
232
|
+
// NODE_PATH so dynamic plugin imports (e.g. @elizaos/plugin-*) resolve.
|
|
233
|
+
// WHY: When eliza is loaded from dist/ or by a test runner, Node's resolution does not
|
|
234
|
+
// search repo root node_modules; import("@elizaos/plugin-*") then fails. We prepend
|
|
235
|
+
// repo root node_modules only if not already in NODE_PATH (run-node.mjs may have set it)
|
|
236
|
+
// to avoid duplicate entries; _initPaths() makes Node re-read NODE_PATH. See docs/plugin-resolution-and-node-path.md.
|
|
237
|
+
// We walk up from this file to find node_modules — we do not assume a fixed depth
|
|
238
|
+
// (e.g. two levels for src/runtime/ or dist/runtime/) so we still work if build
|
|
239
|
+
// output structure changes (e.g. flat dist). First directory with node_modules wins.
|
|
240
|
+
const _elizaDir = path.dirname(fileURLToPath(import.meta.url));
|
|
241
|
+
let _dir = _elizaDir;
|
|
242
|
+
let _rootModules = null;
|
|
243
|
+
while (_dir !== path.dirname(_dir)) {
|
|
244
|
+
const candidate = path.join(_dir, "node_modules");
|
|
245
|
+
if (existsSync(candidate)) {
|
|
246
|
+
_rootModules = candidate;
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
_dir = path.dirname(_dir);
|
|
250
|
+
}
|
|
251
|
+
if (_rootModules) {
|
|
252
|
+
const prev = process.env.NODE_PATH ?? "";
|
|
253
|
+
const entries = prev ? prev.split(path.delimiter) : [];
|
|
254
|
+
const normalizedRoot = path.resolve(_rootModules);
|
|
255
|
+
if (!entries.some((e) => path.resolve(e) === normalizedRoot)) {
|
|
256
|
+
process.env.NODE_PATH = prev
|
|
257
|
+
? `${_rootModules}${path.delimiter}${prev}`
|
|
258
|
+
: _rootModules;
|
|
259
|
+
createRequire(import.meta.url)("node:module").Module._initPaths();
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
export function configureLocalEmbeddingPlugin(_plugin, config) {
|
|
263
|
+
const detectedPreset = detectEmbeddingPreset();
|
|
264
|
+
const SQL_COMPATIBLE_EMBEDDING_DIMENSIONS = new Set([
|
|
265
|
+
384, 512, 768, 1024, 1536, 3072,
|
|
266
|
+
]);
|
|
267
|
+
const normalizeEmbeddingDimensions = (rawValue) => {
|
|
268
|
+
if (!rawValue)
|
|
269
|
+
return undefined;
|
|
270
|
+
const parsed = Number.parseInt(rawValue, 10);
|
|
271
|
+
if (!Number.isInteger(parsed) || parsed <= 0)
|
|
272
|
+
return undefined;
|
|
273
|
+
return SQL_COMPATIBLE_EMBEDDING_DIMENSIONS.has(parsed)
|
|
274
|
+
? String(parsed)
|
|
275
|
+
: "384";
|
|
276
|
+
};
|
|
277
|
+
const embeddingConfig = config?.embedding;
|
|
278
|
+
const configuredModel = embeddingConfig?.model?.trim();
|
|
279
|
+
const configuredRepo = embeddingConfig?.modelRepo?.trim();
|
|
280
|
+
const configuredDimensions = normalizeEmbeddingDimensions(typeof embeddingConfig?.dimensions === "number" &&
|
|
281
|
+
Number.isInteger(embeddingConfig.dimensions) &&
|
|
282
|
+
embeddingConfig.dimensions > 0
|
|
283
|
+
? String(embeddingConfig.dimensions)
|
|
284
|
+
: undefined);
|
|
285
|
+
const detectedDimensions = normalizeEmbeddingDimensions(String(detectedPreset.dimensions));
|
|
286
|
+
const configuredContextSize = typeof embeddingConfig?.contextSize === "number" &&
|
|
287
|
+
Number.isInteger(embeddingConfig.contextSize) &&
|
|
288
|
+
embeddingConfig.contextSize > 0
|
|
289
|
+
? String(embeddingConfig.contextSize)
|
|
290
|
+
: undefined;
|
|
291
|
+
const configuredGpuLayers = (() => {
|
|
292
|
+
const value = embeddingConfig?.gpuLayers;
|
|
293
|
+
if (typeof value === "number" && Number.isInteger(value) && value >= 0) {
|
|
294
|
+
return String(value);
|
|
295
|
+
}
|
|
296
|
+
if (value === "auto" || value === "max") {
|
|
297
|
+
// plugin-local-embedding understands "auto" and treats it as runtime max
|
|
298
|
+
return "auto";
|
|
299
|
+
}
|
|
300
|
+
return undefined;
|
|
301
|
+
})();
|
|
302
|
+
const setEnvIfMissing = (key, value) => {
|
|
303
|
+
if (!value || process.env[key])
|
|
304
|
+
return;
|
|
305
|
+
process.env[key] = value;
|
|
306
|
+
};
|
|
307
|
+
const setEnvFromConfig = (key, value) => {
|
|
308
|
+
if (!value)
|
|
309
|
+
return;
|
|
310
|
+
process.env[key] = value;
|
|
311
|
+
};
|
|
312
|
+
// Keep plugin-local-embedding aligned with Eliza's hardware-adaptive preset
|
|
313
|
+
// selection. Hard-coding the standard preset here forces slower first-run
|
|
314
|
+
// downloads on Windows and low-spec machines.
|
|
315
|
+
setEnvIfMissing("LOCAL_EMBEDDING_MODEL", configuredModel || detectedPreset.model);
|
|
316
|
+
if (configuredRepo) {
|
|
317
|
+
setEnvFromConfig("LOCAL_EMBEDDING_MODEL_REPO", configuredRepo);
|
|
318
|
+
}
|
|
319
|
+
else if (!configuredModel) {
|
|
320
|
+
setEnvIfMissing("LOCAL_EMBEDDING_MODEL_REPO", detectedPreset.modelRepo);
|
|
321
|
+
}
|
|
322
|
+
if (configuredDimensions) {
|
|
323
|
+
setEnvFromConfig("LOCAL_EMBEDDING_DIMENSIONS", configuredDimensions);
|
|
324
|
+
}
|
|
325
|
+
else if (!configuredModel) {
|
|
326
|
+
setEnvIfMissing("LOCAL_EMBEDDING_DIMENSIONS", detectedDimensions);
|
|
327
|
+
}
|
|
328
|
+
if (configuredContextSize) {
|
|
329
|
+
setEnvFromConfig("LOCAL_EMBEDDING_CONTEXT_SIZE", configuredContextSize);
|
|
330
|
+
}
|
|
331
|
+
else if (!configuredModel) {
|
|
332
|
+
setEnvIfMissing("LOCAL_EMBEDDING_CONTEXT_SIZE", String(detectedPreset.contextSize));
|
|
333
|
+
}
|
|
334
|
+
if (configuredGpuLayers) {
|
|
335
|
+
process.env.LOCAL_EMBEDDING_GPU_LAYERS = configuredGpuLayers;
|
|
336
|
+
}
|
|
337
|
+
else if (!process.env.LOCAL_EMBEDDING_GPU_LAYERS) {
|
|
338
|
+
process.env.LOCAL_EMBEDDING_GPU_LAYERS = String(detectedPreset.gpuLayers);
|
|
339
|
+
}
|
|
340
|
+
// Performance tuning
|
|
341
|
+
// Disable mmap on Metal to prevent "different text" errors with some models
|
|
342
|
+
setEnvIfMissing("LOCAL_EMBEDDING_USE_MMAP", detectedPreset.gpuLayers === "auto" ? "false" : "true");
|
|
343
|
+
// Set default models directory if not present
|
|
344
|
+
setEnvIfMissing("MODELS_DIR", path.join(os.homedir(), ".eliza", "models"));
|
|
345
|
+
// Normalize Google AI API key aliases — the elizaOS plugin and @google/genai
|
|
346
|
+
// SDK expect different env var names. Canonicalize to the long form that
|
|
347
|
+
// @elizaos/plugin-google-genai reads via runtime.getSetting(). Users can set
|
|
348
|
+
// any of: GEMINI_API_KEY, GOOGLE_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY.
|
|
349
|
+
setEnvIfMissing("GOOGLE_GENERATIVE_AI_API_KEY", process.env.GEMINI_API_KEY || process.env.GOOGLE_API_KEY);
|
|
350
|
+
// Default Google model names — the Google GenAI plugin's getSetting() returns
|
|
351
|
+
// null (not undefined) for missing keys, but the plugin checks !== undefined
|
|
352
|
+
// causing String(null) = "null" to be sent as the model name. Set sensible
|
|
353
|
+
// defaults so the plugin always has valid model names.
|
|
354
|
+
setEnvIfMissing("GOOGLE_SMALL_MODEL", "gemini-3-flash-preview");
|
|
355
|
+
setEnvIfMissing("GOOGLE_LARGE_MODEL", "gemini-3.1-pro-preview");
|
|
356
|
+
// Default Groq model names — plugin-groq still ships a deprecated large-model
|
|
357
|
+
// fallback. Seed runtime defaults before plugin init so direct Groq provider
|
|
358
|
+
// sessions do not inherit the retired qwen-qwq-32b default.
|
|
359
|
+
const currentSharedSmallModel = process.env.OPENAI_SMALL_MODEL ?? process.env.SMALL_MODEL;
|
|
360
|
+
const currentSharedLargeModel = process.env.OPENAI_LARGE_MODEL ?? process.env.LARGE_MODEL;
|
|
361
|
+
setEnvIfMissing("GROQ_SMALL_MODEL", currentSharedSmallModel && !isLikelyOpenAiTextModel(currentSharedSmallModel)
|
|
362
|
+
? currentSharedSmallModel
|
|
363
|
+
: "openai/gpt-oss-20b");
|
|
364
|
+
setEnvIfMissing("GROQ_LARGE_MODEL", currentSharedLargeModel && !isLikelyOpenAiTextModel(currentSharedLargeModel)
|
|
365
|
+
? currentSharedLargeModel
|
|
366
|
+
: "openai/gpt-oss-120b");
|
|
367
|
+
logger.info(`[eliza] Configured local embedding env: ${process.env.LOCAL_EMBEDDING_MODEL} (repo: ${process.env.LOCAL_EMBEDDING_MODEL_REPO ?? "auto"}, dims: ${process.env.LOCAL_EMBEDDING_DIMENSIONS ?? "auto"}, ctx: ${process.env.LOCAL_EMBEDDING_CONTEXT_SIZE ?? "auto"}, GPU: ${process.env.LOCAL_EMBEDDING_GPU_LAYERS}, mmap: ${process.env.LOCAL_EMBEDDING_USE_MMAP})`);
|
|
368
|
+
}
|
|
369
|
+
// ---------------------------------------------------------------------------
|
|
370
|
+
// Helpers
|
|
371
|
+
// ---------------------------------------------------------------------------
|
|
372
|
+
/** Extract a human-readable error message from an unknown thrown value. */
|
|
373
|
+
function formatError(err) {
|
|
374
|
+
return err instanceof Error ? err.message : String(err);
|
|
375
|
+
}
|
|
376
|
+
function trimEnvString(value) {
|
|
377
|
+
if (typeof value !== "string")
|
|
378
|
+
return undefined;
|
|
379
|
+
const trimmed = value.trim();
|
|
380
|
+
return trimmed.length > 0 ? trimmed : undefined;
|
|
381
|
+
}
|
|
382
|
+
function getMutableConfigEnv(config) {
|
|
383
|
+
if (!config.env ||
|
|
384
|
+
typeof config.env !== "object" ||
|
|
385
|
+
Array.isArray(config.env)) {
|
|
386
|
+
return null;
|
|
387
|
+
}
|
|
388
|
+
return config.env;
|
|
389
|
+
}
|
|
390
|
+
function getMutableConfigEnvVars(configEnv) {
|
|
391
|
+
if (!configEnv.vars ||
|
|
392
|
+
typeof configEnv.vars !== "object" ||
|
|
393
|
+
Array.isArray(configEnv.vars)) {
|
|
394
|
+
return null;
|
|
395
|
+
}
|
|
396
|
+
return configEnv.vars;
|
|
397
|
+
}
|
|
398
|
+
function readConfigEnvValue(config, key) {
|
|
399
|
+
const configEnv = getMutableConfigEnv(config);
|
|
400
|
+
if (!configEnv)
|
|
401
|
+
return undefined;
|
|
402
|
+
const vars = getMutableConfigEnvVars(configEnv);
|
|
403
|
+
return trimEnvString(vars?.[key]) ?? trimEnvString(configEnv[key]);
|
|
404
|
+
}
|
|
405
|
+
function readEffectiveEnvValue(config, key, env = process.env) {
|
|
406
|
+
return trimEnvString(env[key]) ?? readConfigEnvValue(config, key);
|
|
407
|
+
}
|
|
408
|
+
function setConfigEnvValue(config, key, value) {
|
|
409
|
+
if (!config.env ||
|
|
410
|
+
typeof config.env !== "object" ||
|
|
411
|
+
Array.isArray(config.env)) {
|
|
412
|
+
config.env = {};
|
|
413
|
+
}
|
|
414
|
+
const configEnv = config.env;
|
|
415
|
+
const vars = getMutableConfigEnvVars(configEnv);
|
|
416
|
+
if (vars) {
|
|
417
|
+
vars[key] = value;
|
|
418
|
+
delete configEnv[key];
|
|
419
|
+
return;
|
|
420
|
+
}
|
|
421
|
+
configEnv[key] = value;
|
|
422
|
+
}
|
|
423
|
+
function deleteConfigEnvValue(config, key) {
|
|
424
|
+
const configEnv = getMutableConfigEnv(config);
|
|
425
|
+
if (!configEnv)
|
|
426
|
+
return;
|
|
427
|
+
const vars = getMutableConfigEnvVars(configEnv);
|
|
428
|
+
if (vars) {
|
|
429
|
+
delete vars[key];
|
|
430
|
+
if (Object.keys(vars).length === 0) {
|
|
431
|
+
delete configEnv.vars;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
delete configEnv[key];
|
|
435
|
+
}
|
|
436
|
+
function detectOpenAiBaseUrlProvider(baseUrl) {
|
|
437
|
+
try {
|
|
438
|
+
const hostname = new URL(baseUrl).hostname.trim().toLowerCase();
|
|
439
|
+
if (hostname === "api.groq.com" || hostname.endsWith(".groq.com")) {
|
|
440
|
+
return "groq";
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
catch {
|
|
444
|
+
return null;
|
|
445
|
+
}
|
|
446
|
+
return null;
|
|
447
|
+
}
|
|
448
|
+
function looksLikeGroqApiKey(value) {
|
|
449
|
+
return Boolean(value && /^gsk[-_]/i.test(value));
|
|
450
|
+
}
|
|
451
|
+
function isLikelyOpenAiTextModel(value) {
|
|
452
|
+
if (!value)
|
|
453
|
+
return false;
|
|
454
|
+
const normalized = value.trim().toLowerCase();
|
|
455
|
+
return normalized.startsWith("gpt-") || normalized.startsWith("openai/");
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* Normalize known-bad provider compatibility shims before plugin resolution.
|
|
459
|
+
*
|
|
460
|
+
* A common failure mode is routing the OpenAI plugin through Groq's
|
|
461
|
+
* OpenAI-compatible base URL while leaving OpenAI defaults (`gpt-5.5`,
|
|
462
|
+
* `gpt-5.5-mini`) in place. Structured XML/object generation then fails during
|
|
463
|
+
* message handling because Groq does not serve those model IDs.
|
|
464
|
+
*
|
|
465
|
+
* When we can confidently detect that state, rewrite the effective runtime
|
|
466
|
+
* config to use the Groq plugin directly.
|
|
467
|
+
*/
|
|
468
|
+
/** @internal Exported for testing. */
|
|
469
|
+
export function normalizeOpenAiCompatibleProviderConfig(config, env = process.env) {
|
|
470
|
+
const cloudInferenceEnabled = resolveElizaCloudTopology(config).services.inference;
|
|
471
|
+
if (cloudInferenceEnabled) {
|
|
472
|
+
return false;
|
|
473
|
+
}
|
|
474
|
+
const openaiBaseUrl = readEffectiveEnvValue(config, "OPENAI_BASE_URL", env);
|
|
475
|
+
if (!openaiBaseUrl) {
|
|
476
|
+
return false;
|
|
477
|
+
}
|
|
478
|
+
if (detectOpenAiBaseUrlProvider(openaiBaseUrl) !== "groq") {
|
|
479
|
+
return false;
|
|
480
|
+
}
|
|
481
|
+
const openaiApiKey = readEffectiveEnvValue(config, "OPENAI_API_KEY", env);
|
|
482
|
+
const groqApiKey = readEffectiveEnvValue(config, "GROQ_API_KEY", env);
|
|
483
|
+
const inheritedGroqApiKey = groqApiKey ??
|
|
484
|
+
(looksLikeGroqApiKey(openaiApiKey) ? openaiApiKey : undefined);
|
|
485
|
+
if (!inheritedGroqApiKey) {
|
|
486
|
+
return false;
|
|
487
|
+
}
|
|
488
|
+
const currentGroqSmallModel = readEffectiveEnvValue(config, "GROQ_SMALL_MODEL", env);
|
|
489
|
+
const currentGroqLargeModel = readEffectiveEnvValue(config, "GROQ_LARGE_MODEL", env);
|
|
490
|
+
const currentSharedSmallModel = readEffectiveEnvValue(config, "OPENAI_SMALL_MODEL", env) ??
|
|
491
|
+
readEffectiveEnvValue(config, "SMALL_MODEL", env);
|
|
492
|
+
const currentSharedLargeModel = readEffectiveEnvValue(config, "OPENAI_LARGE_MODEL", env) ??
|
|
493
|
+
readEffectiveEnvValue(config, "LARGE_MODEL", env);
|
|
494
|
+
const normalizedGroqSmallModel = currentGroqSmallModel ??
|
|
495
|
+
(currentSharedSmallModel &&
|
|
496
|
+
!isLikelyOpenAiTextModel(currentSharedSmallModel)
|
|
497
|
+
? currentSharedSmallModel
|
|
498
|
+
: "llama-3.1-8b-instant");
|
|
499
|
+
const normalizedGroqLargeModel = currentGroqLargeModel ??
|
|
500
|
+
(currentSharedLargeModel &&
|
|
501
|
+
!isLikelyOpenAiTextModel(currentSharedLargeModel)
|
|
502
|
+
? currentSharedLargeModel
|
|
503
|
+
: "qwen/qwen3-32b");
|
|
504
|
+
env.GROQ_API_KEY = inheritedGroqApiKey;
|
|
505
|
+
env.GROQ_SMALL_MODEL = normalizedGroqSmallModel;
|
|
506
|
+
env.GROQ_LARGE_MODEL = normalizedGroqLargeModel;
|
|
507
|
+
setConfigEnvValue(config, "GROQ_API_KEY", inheritedGroqApiKey);
|
|
508
|
+
setConfigEnvValue(config, "GROQ_SMALL_MODEL", normalizedGroqSmallModel);
|
|
509
|
+
setConfigEnvValue(config, "GROQ_LARGE_MODEL", normalizedGroqLargeModel);
|
|
510
|
+
delete env.OPENAI_BASE_URL;
|
|
511
|
+
deleteConfigEnvValue(config, "OPENAI_BASE_URL");
|
|
512
|
+
const shouldDisableOpenAiKey = !openaiApiKey ||
|
|
513
|
+
openaiApiKey === groqApiKey ||
|
|
514
|
+
looksLikeGroqApiKey(openaiApiKey);
|
|
515
|
+
if (shouldDisableOpenAiKey) {
|
|
516
|
+
delete env.OPENAI_API_KEY;
|
|
517
|
+
deleteConfigEnvValue(config, "OPENAI_API_KEY");
|
|
518
|
+
}
|
|
519
|
+
const primaryModel = trimEnvString(config.agents?.defaults?.model?.primary);
|
|
520
|
+
if (shouldDisableOpenAiKey &&
|
|
521
|
+
primaryModel &&
|
|
522
|
+
(primaryModel.toLowerCase() === "openai" ||
|
|
523
|
+
isLikelyOpenAiTextModel(primaryModel))) {
|
|
524
|
+
config.agents ??= {};
|
|
525
|
+
config.agents.defaults ??= {};
|
|
526
|
+
config.agents.defaults.model = {
|
|
527
|
+
...config.agents.defaults.model,
|
|
528
|
+
primary: "groq",
|
|
529
|
+
};
|
|
530
|
+
}
|
|
531
|
+
logger.warn("[eliza] Detected Groq routed through OPENAI_BASE_URL; normalizing runtime settings to use @elizaos/plugin-groq");
|
|
532
|
+
return true;
|
|
533
|
+
}
|
|
534
|
+
/** Redact username segments from filesystem paths to avoid leaking user info in logs. */
|
|
535
|
+
function _redactUserSegments(filepath) {
|
|
536
|
+
// Replace /Users/<name>/ or /home/<name>/ with /Users/<redacted>/ etc.
|
|
537
|
+
return filepath.replace(/\/(Users|home)\/[^/]+\//g, "/$1/<redacted>/");
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* Best-effort runtime shutdown that also closes the database adapter.
|
|
541
|
+
*
|
|
542
|
+
* AgentRuntime.stop() only stops services. plugin-sql keeps a process-global
|
|
543
|
+
* PGlite manager, so restarts must close the adapter or the next runtime can
|
|
544
|
+
* silently reuse the same broken manager instance.
|
|
545
|
+
*/
|
|
546
|
+
export async function shutdownRuntime(runtime, context) {
|
|
547
|
+
if (!runtime)
|
|
548
|
+
return;
|
|
549
|
+
const adapter = runtime.adapter;
|
|
550
|
+
let firstError = null;
|
|
551
|
+
try {
|
|
552
|
+
await runtime.stop();
|
|
553
|
+
}
|
|
554
|
+
catch (err) {
|
|
555
|
+
firstError = err;
|
|
556
|
+
logger.warn(`[eliza] ${context}: runtime stop failed: ${formatError(err)}`);
|
|
557
|
+
}
|
|
558
|
+
if (adapter && typeof adapter.close === "function") {
|
|
559
|
+
try {
|
|
560
|
+
await adapter.close();
|
|
561
|
+
}
|
|
562
|
+
catch (err) {
|
|
563
|
+
if (!firstError) {
|
|
564
|
+
firstError = err;
|
|
565
|
+
}
|
|
566
|
+
logger.warn(`[eliza] ${context}: database adapter close failed: ${formatError(err)}`);
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
if (firstError) {
|
|
570
|
+
throw firstError;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* Remove duplicate actions across an ordered list of plugins.
|
|
575
|
+
*
|
|
576
|
+
* When multiple plugins define an action with the same `name`, only the first
|
|
577
|
+
* occurrence is kept. This prevents "Action already registered" warnings from
|
|
578
|
+
* elizaOS core. The function mutates each plugin's `actions` array in-place.
|
|
579
|
+
*/
|
|
580
|
+
export function deduplicatePluginActions(plugins) {
|
|
581
|
+
const seen = new Set();
|
|
582
|
+
for (const plugin of plugins) {
|
|
583
|
+
if (plugin.actions) {
|
|
584
|
+
plugin.actions = plugin.actions.filter((action) => {
|
|
585
|
+
if (seen.has(action.name)) {
|
|
586
|
+
logger.debug(`[eliza] Skipping duplicate action "${action.name}" from plugin "${plugin.name}"`);
|
|
587
|
+
return false;
|
|
588
|
+
}
|
|
589
|
+
seen.add(action.name);
|
|
590
|
+
return true;
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Retrieve the AutonomyService from the runtime, returning null if unavailable.
|
|
597
|
+
* Uses a runtime property check to safely narrow the opaque Service return.
|
|
598
|
+
*/
|
|
599
|
+
function getAutonomyService(runtime) {
|
|
600
|
+
const svc = runtime.getService("AUTONOMY") ?? runtime.getService("autonomy");
|
|
601
|
+
if (svc &&
|
|
602
|
+
"enableAutonomy" in svc &&
|
|
603
|
+
typeof svc.enableAutonomy === "function") {
|
|
604
|
+
return svc;
|
|
605
|
+
}
|
|
606
|
+
return null;
|
|
607
|
+
}
|
|
608
|
+
async function startAndRegisterAutonomyService(runtime) {
|
|
609
|
+
const service = await AutonomyService.start(runtime);
|
|
610
|
+
runtime.services.set("AUTONOMY", [service]);
|
|
611
|
+
return service;
|
|
612
|
+
}
|
|
613
|
+
async function waitForTrajectoriesService(runtime, context, timeoutMs = 3000) {
|
|
614
|
+
if (!runtimeTrajectoriesEnabled(runtime)) {
|
|
615
|
+
return;
|
|
616
|
+
}
|
|
617
|
+
const runtimeLike = runtime;
|
|
618
|
+
// Check if already available
|
|
619
|
+
if (typeof runtimeLike.getService === "function") {
|
|
620
|
+
const existing = runtimeLike.getService("trajectories");
|
|
621
|
+
if (existing)
|
|
622
|
+
return;
|
|
623
|
+
}
|
|
624
|
+
const registrationStatus = typeof runtimeLike.getServiceRegistrationStatus === "function"
|
|
625
|
+
? runtimeLike.getServiceRegistrationStatus("trajectories")
|
|
626
|
+
: "unknown";
|
|
627
|
+
if (registrationStatus !== "pending" &&
|
|
628
|
+
registrationStatus !== "registering") {
|
|
629
|
+
return;
|
|
630
|
+
}
|
|
631
|
+
if (typeof runtimeLike.getServiceLoadPromise !== "function")
|
|
632
|
+
return;
|
|
633
|
+
let timedOut = false;
|
|
634
|
+
let timeoutHandle;
|
|
635
|
+
const timeoutPromise = new Promise((resolve) => {
|
|
636
|
+
timeoutHandle = setTimeout(() => {
|
|
637
|
+
timedOut = true;
|
|
638
|
+
resolve();
|
|
639
|
+
}, timeoutMs);
|
|
640
|
+
});
|
|
641
|
+
try {
|
|
642
|
+
await Promise.race([
|
|
643
|
+
runtimeLike.getServiceLoadPromise("trajectories").then(() => { }),
|
|
644
|
+
timeoutPromise,
|
|
645
|
+
]);
|
|
646
|
+
if (timedOut) {
|
|
647
|
+
logger.debug(`[eliza] trajectories still ${registrationStatus} after ${timeoutMs}ms (${context})`);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
catch (err) {
|
|
651
|
+
logger.debug(`[eliza] trajectories registration failed while waiting (${context}): ${formatError(err)}`);
|
|
652
|
+
}
|
|
653
|
+
finally {
|
|
654
|
+
if (timeoutHandle)
|
|
655
|
+
clearTimeout(timeoutHandle);
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
function ensureTrajectoryLoggerEnabled(runtime, context) {
|
|
659
|
+
if (!runtimeTrajectoriesEnabled(runtime)) {
|
|
660
|
+
logger.info(`[eliza] Native trajectories disabled (${context})`);
|
|
661
|
+
return;
|
|
662
|
+
}
|
|
663
|
+
const trajectoryLogger = runtime.getService("trajectories");
|
|
664
|
+
if (!trajectoryLogger) {
|
|
665
|
+
logger.warn(`[eliza] trajectories service unavailable (${context}); trajectory capture disabled`);
|
|
666
|
+
return;
|
|
667
|
+
}
|
|
668
|
+
const isEnabled = typeof trajectoryLogger.isEnabled === "function"
|
|
669
|
+
? trajectoryLogger.isEnabled()
|
|
670
|
+
: shouldEnableTrajectoryLoggingByDefault();
|
|
671
|
+
const shouldEnable = shouldEnableTrajectoryLoggingByDefault();
|
|
672
|
+
if (isEnabled !== shouldEnable &&
|
|
673
|
+
typeof trajectoryLogger.setEnabled === "function") {
|
|
674
|
+
trajectoryLogger.setEnabled(shouldEnable);
|
|
675
|
+
logger.info(`[eliza] trajectories defaulted ${shouldEnable ? "on" : "off"} (${context})`);
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
async function installPromptOptimizationLayer(runtime, context, config) {
|
|
679
|
+
try {
|
|
680
|
+
const { installPromptOptimizations } = await import("./prompt-optimization.js");
|
|
681
|
+
installPromptOptimizations(runtime, config);
|
|
682
|
+
}
|
|
683
|
+
catch (err) {
|
|
684
|
+
logger.warn(`[eliza] Failed to install prompt optimizations (${context}): ${err instanceof Error ? err.message : err}`);
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
async function prepareRuntimeForTrajectoryCapture(runtime, context, config) {
|
|
688
|
+
await waitForTrajectoriesService(runtime, context);
|
|
689
|
+
ensureTrajectoryLoggerEnabled(runtime, context);
|
|
690
|
+
await installPromptOptimizationLayer(runtime, context, config);
|
|
691
|
+
}
|
|
692
|
+
// ---------------------------------------------------------------------------
|
|
693
|
+
// Channel secret mapping
|
|
694
|
+
// ---------------------------------------------------------------------------
|
|
695
|
+
/**
|
|
696
|
+
* Maps Eliza channel config fields to the environment variable names
|
|
697
|
+
* that elizaOS plugins expect.
|
|
698
|
+
*
|
|
699
|
+
* Eliza stores channel credentials under `config.channels.<name>.<field>`,
|
|
700
|
+
* while elizaOS plugins read them from process.env.
|
|
701
|
+
*/
|
|
702
|
+
const CHANNEL_ENV_MAP = CONNECTOR_ENV_MAP;
|
|
703
|
+
// ---------------------------------------------------------------------------
|
|
704
|
+
// Plugin resolution
|
|
705
|
+
// ---------------------------------------------------------------------------
|
|
706
|
+
export { CORE_PLUGINS, OPTIONAL_CORE_PLUGINS };
|
|
707
|
+
/**
|
|
708
|
+
* Optional plugins that require native binaries or specific config.
|
|
709
|
+
* These are only loaded when explicitly enabled via features config,
|
|
710
|
+
* NOT by default — they crash if their prerequisites are missing.
|
|
711
|
+
*/
|
|
712
|
+
const _OPTIONAL_NATIVE_PLUGINS = [
|
|
713
|
+
"@elizaos/plugin-browser", // requires browser server binary
|
|
714
|
+
"@elizaos/plugin-vision", // requires @tensorflow/tfjs-node native addon
|
|
715
|
+
"@elizaos/plugin-computeruse", // requires platform-specific binaries
|
|
716
|
+
];
|
|
717
|
+
// CHANNEL_PLUGIN_MAP, PROVIDER_PLUGIN_MAP, and OPTIONAL_PLUGIN_MAP live in
|
|
718
|
+
// ./plugin-collector.ts and are re-exported from this module for backward compatibility.
|
|
719
|
+
// ---------------------------------------------------------------------------
|
|
720
|
+
// Custom / drop-in plugin discovery (moved to plugin-types.ts)
|
|
721
|
+
// ---------------------------------------------------------------------------
|
|
722
|
+
// ---------------------------------------------------------------------------
|
|
723
|
+
// Plugin resolution
|
|
724
|
+
// ---------------------------------------------------------------------------
|
|
725
|
+
// ---------------------------------------------------------------------------
|
|
726
|
+
// Browser server pre-flight
|
|
727
|
+
// ---------------------------------------------------------------------------
|
|
728
|
+
/**
|
|
729
|
+
* Returns true if the given env var key is safe to forward to runtime.settings.
|
|
730
|
+
* Blocks blockchain private keys, secrets, passwords, tokens, credentials,
|
|
731
|
+
* mnemonics, and seed phrases while allowing API keys that plugins need.
|
|
732
|
+
*/
|
|
733
|
+
export function isEnvKeyAllowedForForwarding(key) {
|
|
734
|
+
const upper = key.toUpperCase();
|
|
735
|
+
if (upper === "ALLOW_NO_DATABASE")
|
|
736
|
+
return false;
|
|
737
|
+
// Block blockchain private keys
|
|
738
|
+
if (upper.includes("PRIVATE_KEY"))
|
|
739
|
+
return false;
|
|
740
|
+
if (upper.startsWith("EVM_") || upper.startsWith("SOLANA_"))
|
|
741
|
+
return false;
|
|
742
|
+
// Block secrets, passwords, tokens, and seed phrases (but not API_KEY which plugins need)
|
|
743
|
+
if (/(SECRET|PASSWORD|CREDENTIAL|MNEMONIC|SEED_PHRASE)/i.test(key))
|
|
744
|
+
return false;
|
|
745
|
+
if (/(ACCESS_TOKEN|REFRESH_TOKEN|SESSION_TOKEN|AUTH_TOKEN)$/i.test(key))
|
|
746
|
+
return false;
|
|
747
|
+
// Block elizaCloud connection keys — these must only come from config.cloud
|
|
748
|
+
// via applyCloudConfigToEnv(). Forwarding them from config.env.vars into
|
|
749
|
+
// runtime.settings would let a stale env-var shadow the live cloud key that
|
|
750
|
+
// the app sets when the user connects through the UI.
|
|
751
|
+
if (upper === "ELIZAOS_CLOUD_API_KEY" ||
|
|
752
|
+
upper === "ELIZAOS_CLOUD_ENABLED" ||
|
|
753
|
+
upper === "ELIZAOS_CLOUD_BASE_URL" ||
|
|
754
|
+
upper === "ELIZAOS_CLOUD_NANO_MODEL" ||
|
|
755
|
+
upper === "ELIZAOS_CLOUD_MEDIUM_MODEL" ||
|
|
756
|
+
upper === "ELIZAOS_CLOUD_SMALL_MODEL" ||
|
|
757
|
+
upper === "ELIZAOS_CLOUD_LARGE_MODEL" ||
|
|
758
|
+
upper === "ELIZAOS_CLOUD_MEGA_MODEL" ||
|
|
759
|
+
upper === "ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL" ||
|
|
760
|
+
upper === "ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL" ||
|
|
761
|
+
upper === "ELIZAOS_CLOUD_ACTION_PLANNER_MODEL" ||
|
|
762
|
+
upper === "ELIZAOS_CLOUD_PLANNER_MODEL")
|
|
763
|
+
return false;
|
|
764
|
+
return true;
|
|
765
|
+
}
|
|
766
|
+
function assertPersistentDatabaseRequired(runtime) {
|
|
767
|
+
const raw = runtime.getSetting("ALLOW_NO_DATABASE") ?? process.env.ALLOW_NO_DATABASE;
|
|
768
|
+
const normalized = String(raw ?? "")
|
|
769
|
+
.trim()
|
|
770
|
+
.toLowerCase();
|
|
771
|
+
if (normalized === "true" ||
|
|
772
|
+
normalized === "1" ||
|
|
773
|
+
normalized === "yes" ||
|
|
774
|
+
normalized === "on") {
|
|
775
|
+
throw new Error(`Eliza requires persistent database storage and does not permit ALLOW_NO_DATABASE (agent ${runtime.agentId}). Remove ALLOW_NO_DATABASE from config/env and use @elizaos/plugin-sql.`);
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
function isElizaCloudManagedProcessEnvKey(key) {
|
|
779
|
+
const upper = key.toUpperCase();
|
|
780
|
+
return (upper === "ELIZAOS_CLOUD_API_KEY" ||
|
|
781
|
+
upper === "ELIZAOS_CLOUD_ENABLED" ||
|
|
782
|
+
upper === "ELIZAOS_CLOUD_BASE_URL" ||
|
|
783
|
+
upper === "ELIZAOS_CLOUD_NANO_MODEL" ||
|
|
784
|
+
upper === "ELIZAOS_CLOUD_MEDIUM_MODEL" ||
|
|
785
|
+
upper === "ELIZAOS_CLOUD_SMALL_MODEL" ||
|
|
786
|
+
upper === "ELIZAOS_CLOUD_LARGE_MODEL" ||
|
|
787
|
+
upper === "ELIZAOS_CLOUD_MEGA_MODEL" ||
|
|
788
|
+
upper === "ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL" ||
|
|
789
|
+
upper === "ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL" ||
|
|
790
|
+
upper === "ELIZAOS_CLOUD_ACTION_PLANNER_MODEL" ||
|
|
791
|
+
upper === "ELIZAOS_CLOUD_PLANNER_MODEL");
|
|
792
|
+
}
|
|
793
|
+
// findPluginBrowserStagehandDir, ensureBrowserServerLink,
|
|
794
|
+
// repairBrokenInstallRecord, resolvePackageEntry — moved to plugin-types.ts
|
|
795
|
+
// ---------------------------------------------------------------------------
|
|
796
|
+
// Config → Character mapping
|
|
797
|
+
// ---------------------------------------------------------------------------
|
|
798
|
+
/**
|
|
799
|
+
* Propagate channel credentials from Eliza config into process.env so
|
|
800
|
+
* that elizaOS plugins can find them.
|
|
801
|
+
*/
|
|
802
|
+
/** @internal Exported for testing. */
|
|
803
|
+
export function applyConnectorSecretsToEnv(config) {
|
|
804
|
+
// Prefer config.connectors, fall back to config.channels for backward compatibility
|
|
805
|
+
const connectors = config.connectors ?? config.channels ?? {};
|
|
806
|
+
for (const [channelName, channelConfig] of Object.entries(connectors)) {
|
|
807
|
+
if (!channelConfig || typeof channelConfig !== "object")
|
|
808
|
+
continue;
|
|
809
|
+
const configObj = channelConfig;
|
|
810
|
+
// Discord plugins in the ecosystem use both DISCORD_API_TOKEN and
|
|
811
|
+
// DISCORD_BOT_TOKEN across versions. Mirror to both when available.
|
|
812
|
+
if (channelName === "discord") {
|
|
813
|
+
const tokenValue = (typeof configObj.token === "string" && configObj.token.trim()) ||
|
|
814
|
+
(typeof configObj.botToken === "string" && configObj.botToken.trim()) ||
|
|
815
|
+
"";
|
|
816
|
+
if (tokenValue) {
|
|
817
|
+
process.env.DISCORD_API_TOKEN = tokenValue;
|
|
818
|
+
process.env.DISCORD_BOT_TOKEN = tokenValue;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
const envMap = CHANNEL_ENV_MAP[channelName];
|
|
822
|
+
if (!envMap)
|
|
823
|
+
continue;
|
|
824
|
+
for (const [configField, envKey] of Object.entries(envMap)) {
|
|
825
|
+
const value = configObj[configField];
|
|
826
|
+
if (typeof value === "boolean" || typeof value === "number") {
|
|
827
|
+
process.env[envKey] = String(value);
|
|
828
|
+
}
|
|
829
|
+
else if (typeof value === "string" && value.trim()) {
|
|
830
|
+
process.env[envKey] = value;
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
if (channelName === "whatsapp") {
|
|
834
|
+
const allowFrom = configObj.allowFrom;
|
|
835
|
+
if (Array.isArray(allowFrom) && allowFrom.length > 0) {
|
|
836
|
+
const normalized = allowFrom
|
|
837
|
+
.map((value) => String(value).trim())
|
|
838
|
+
.filter(Boolean);
|
|
839
|
+
if (normalized.length > 0) {
|
|
840
|
+
process.env.WHATSAPP_ALLOW_FROM = normalized.join(",");
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
const groupAllowFrom = configObj.groupAllowFrom;
|
|
844
|
+
if (Array.isArray(groupAllowFrom) && groupAllowFrom.length > 0) {
|
|
845
|
+
const normalized = groupAllowFrom
|
|
846
|
+
.map((value) => String(value).trim())
|
|
847
|
+
.filter(Boolean);
|
|
848
|
+
if (normalized.length > 0) {
|
|
849
|
+
process.env.WHATSAPP_GROUP_ALLOW_FROM = normalized.join(",");
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
const accounts = configObj.accounts;
|
|
853
|
+
if (accounts &&
|
|
854
|
+
typeof accounts === "object" &&
|
|
855
|
+
!Array.isArray(accounts)) {
|
|
856
|
+
const firstEnabledAccount = Object.values(accounts).find((account) => {
|
|
857
|
+
if (!account ||
|
|
858
|
+
typeof account !== "object" ||
|
|
859
|
+
Array.isArray(account)) {
|
|
860
|
+
return false;
|
|
861
|
+
}
|
|
862
|
+
const candidate = account;
|
|
863
|
+
return (candidate.enabled !== false && typeof candidate.authDir === "string");
|
|
864
|
+
});
|
|
865
|
+
if (firstEnabledAccount &&
|
|
866
|
+
typeof firstEnabledAccount.authDir === "string" &&
|
|
867
|
+
firstEnabledAccount.authDir.trim()) {
|
|
868
|
+
process.env.WHATSAPP_AUTH_DIR = firstEnabledAccount.authDir.trim();
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* Auto-resolve Discord Application ID from the bot token via Discord API.
|
|
876
|
+
* Called during async runtime init so that users only need a bot token.
|
|
877
|
+
*/
|
|
878
|
+
/** @internal Exported for testing. */
|
|
879
|
+
export async function autoResolveDiscordAppId() {
|
|
880
|
+
if (process.env.DISCORD_APPLICATION_ID)
|
|
881
|
+
return;
|
|
882
|
+
const discordToken = process.env.DISCORD_API_TOKEN || process.env.DISCORD_BOT_TOKEN;
|
|
883
|
+
if (!discordToken)
|
|
884
|
+
return;
|
|
885
|
+
try {
|
|
886
|
+
const res = await fetch("https://discord.com/api/v10/oauth2/applications/@me", { headers: { Authorization: `Bot ${discordToken}` } });
|
|
887
|
+
if (!res.ok) {
|
|
888
|
+
logger.warn(`[eliza] Failed to auto-resolve Discord Application ID: ${res.status}`);
|
|
889
|
+
return;
|
|
890
|
+
}
|
|
891
|
+
const app = (await res.json());
|
|
892
|
+
if (!app.id)
|
|
893
|
+
return;
|
|
894
|
+
process.env.DISCORD_APPLICATION_ID = app.id;
|
|
895
|
+
logger.info(`[eliza] Auto-resolved Discord Application ID: ${app.id}`);
|
|
896
|
+
}
|
|
897
|
+
catch (err) {
|
|
898
|
+
logger.warn(`[eliza] Could not auto-resolve Discord Application ID: ${err}`);
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* Fetch GitHub OAuth token from cloud if available and no local token is set.
|
|
903
|
+
* Called during async runtime init after cloud config is applied.
|
|
904
|
+
*
|
|
905
|
+
* Flow: If the agent has a managed GitHub connection in the cloud, and no
|
|
906
|
+
* local GITHUB_TOKEN is set, fetch the OAuth token from the cloud API and
|
|
907
|
+
* inject it into process.env so plugins (plugin-github, git-workspace-service)
|
|
908
|
+
* can use it for API calls and git credential helpers.
|
|
909
|
+
*/
|
|
910
|
+
/** @internal Exported for testing. */
|
|
911
|
+
export async function autoFetchCloudGithubToken(agentId) {
|
|
912
|
+
// Skip if a local token is already configured
|
|
913
|
+
if (process.env.GITHUB_TOKEN || process.env.GITHUB_PAT)
|
|
914
|
+
return;
|
|
915
|
+
// Need cloud credentials and an agent ID
|
|
916
|
+
const cloudApiKey = process.env.ELIZAOS_CLOUD_API_KEY?.trim();
|
|
917
|
+
const cloudBaseUrl = process.env.ELIZAOS_CLOUD_BASE_URL?.trim() || "https://api.elizacloud.ai";
|
|
918
|
+
if (!cloudApiKey || !agentId)
|
|
919
|
+
return;
|
|
920
|
+
const managedNs = process.env.ELIZA_CLOUD_MANAGED_AGENTS_API_SEGMENT?.trim();
|
|
921
|
+
if (!managedNs)
|
|
922
|
+
return;
|
|
923
|
+
try {
|
|
924
|
+
const url = `${cloudBaseUrl}/api/v1/${managedNs}/agents/${encodeURIComponent(agentId)}/github/token`;
|
|
925
|
+
const res = await fetch(url, {
|
|
926
|
+
headers: {
|
|
927
|
+
Authorization: `Bearer ${cloudApiKey}`,
|
|
928
|
+
Accept: "application/json",
|
|
929
|
+
},
|
|
930
|
+
signal: AbortSignal.timeout(10_000),
|
|
931
|
+
});
|
|
932
|
+
if (!res.ok) {
|
|
933
|
+
// 404 = no GitHub connection for this agent, which is fine
|
|
934
|
+
if (res.status !== 404) {
|
|
935
|
+
logger.warn(`[eliza] Failed to fetch cloud GitHub token: ${res.status}`);
|
|
936
|
+
}
|
|
937
|
+
return;
|
|
938
|
+
}
|
|
939
|
+
const body = (await res.json());
|
|
940
|
+
if (!body.success || !body.data?.accessToken)
|
|
941
|
+
return;
|
|
942
|
+
process.env.GITHUB_TOKEN = body.data.accessToken;
|
|
943
|
+
logger.info(`[eliza] Fetched GitHub token from cloud for @${body.data.githubUsername || "unknown"}`);
|
|
944
|
+
}
|
|
945
|
+
catch (err) {
|
|
946
|
+
logger.warn(`[eliza] Could not fetch cloud GitHub token: ${err}`);
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* Propagate cloud config from Eliza config into process.env so the
|
|
951
|
+
* ElizaCloud plugin can discover settings at startup.
|
|
952
|
+
*/
|
|
953
|
+
/** @internal Exported for testing. */
|
|
954
|
+
export function applyCloudConfigToEnv(config) {
|
|
955
|
+
migrateLegacyRuntimeConfig(config);
|
|
956
|
+
const cloud = config.cloud;
|
|
957
|
+
const isCloudContainer = process.env.ELIZA_CLOUD_PROVISIONED === "1";
|
|
958
|
+
if (!cloud && !isCloudContainer)
|
|
959
|
+
return;
|
|
960
|
+
const topology = resolveElizaCloudTopology(config);
|
|
961
|
+
// Cloud inference is selected from the canonical onboarding connection, not
|
|
962
|
+
// just from raw cloud flags. This keeps linked cloud auth from re-enabling
|
|
963
|
+
// Eliza Cloud after the user has switched to a local or remote provider.
|
|
964
|
+
const effectivelyEnabled = topology.services.inference || isCloudContainer;
|
|
965
|
+
const shouldLoadCloudPlugin = topology.shouldLoadPlugin || isCloudContainer;
|
|
966
|
+
const setCloudUsageEnv = (key, enabled) => {
|
|
967
|
+
if (enabled) {
|
|
968
|
+
process.env[key] = "true";
|
|
969
|
+
}
|
|
970
|
+
else {
|
|
971
|
+
delete process.env[key];
|
|
972
|
+
}
|
|
973
|
+
};
|
|
974
|
+
if (isElizaSettingsDebugEnabled()) {
|
|
975
|
+
const c = (cloud ?? {});
|
|
976
|
+
logger.debug(`[eliza][settings][runtime] applyCloudConfigToEnv inference=${effectivelyEnabled} shouldLoadPlugin=${shouldLoadCloudPlugin} isCloudContainer=${isCloudContainer} cloud=${JSON.stringify(settingsDebugCloudSummary(c))}`);
|
|
977
|
+
}
|
|
978
|
+
setCloudUsageEnv("ELIZAOS_CLOUD_USE_INFERENCE", effectivelyEnabled);
|
|
979
|
+
setCloudUsageEnv("ELIZAOS_CLOUD_USE_TTS", topology.services.tts || isCloudContainer);
|
|
980
|
+
setCloudUsageEnv("ELIZAOS_CLOUD_USE_MEDIA", topology.services.media);
|
|
981
|
+
setCloudUsageEnv("ELIZAOS_CLOUD_USE_EMBEDDINGS", topology.services.embeddings);
|
|
982
|
+
setCloudUsageEnv("ELIZAOS_CLOUD_USE_RPC", topology.services.rpc);
|
|
983
|
+
if (effectivelyEnabled) {
|
|
984
|
+
process.env.ELIZAOS_CLOUD_ENABLED = "true";
|
|
985
|
+
}
|
|
986
|
+
else {
|
|
987
|
+
delete process.env.ELIZAOS_CLOUD_ENABLED;
|
|
988
|
+
}
|
|
989
|
+
if (shouldLoadCloudPlugin) {
|
|
990
|
+
logger.info(`[eliza] Cloud config: inference=${topology.services.inference}, runtime=${topology.runtime}, hasApiKey=${Boolean(cloud?.apiKey || process.env.ELIZAOS_CLOUD_API_KEY)}, baseUrl=${cloud?.baseUrl ?? "(default)"}, isCloudContainer=${isCloudContainer}`);
|
|
991
|
+
// Only propagate the API key when cloud is enabled AND it is a real
|
|
992
|
+
// credential — never set the literal "[REDACTED]" placeholder (which can
|
|
993
|
+
// leak into the config via UI round-trips through the redacted GET → PUT
|
|
994
|
+
// cycle). WHY: when enabled is false (BYOK / disconnected), leaving the key
|
|
995
|
+
// in process.env still auto-loads @elizaos/plugin-elizacloud and steals
|
|
996
|
+
// TEXT_LARGE even if the JSON says cloud is off.
|
|
997
|
+
const isRealApiKey = cloud?.apiKey && cloud.apiKey.trim().toUpperCase() !== "[REDACTED]";
|
|
998
|
+
if (isRealApiKey) {
|
|
999
|
+
process.env.ELIZAOS_CLOUD_API_KEY = cloud.apiKey;
|
|
1000
|
+
}
|
|
1001
|
+
else if (!isCloudContainer) {
|
|
1002
|
+
delete process.env.ELIZAOS_CLOUD_API_KEY;
|
|
1003
|
+
}
|
|
1004
|
+
if (cloud?.baseUrl) {
|
|
1005
|
+
process.env.ELIZAOS_CLOUD_BASE_URL = cloud.baseUrl;
|
|
1006
|
+
}
|
|
1007
|
+
else if (!isCloudContainer) {
|
|
1008
|
+
delete process.env.ELIZAOS_CLOUD_BASE_URL;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
else {
|
|
1012
|
+
delete process.env.ELIZAOS_CLOUD_NANO_MODEL;
|
|
1013
|
+
delete process.env.ELIZAOS_CLOUD_MEDIUM_MODEL;
|
|
1014
|
+
delete process.env.ELIZAOS_CLOUD_SMALL_MODEL;
|
|
1015
|
+
delete process.env.ELIZAOS_CLOUD_LARGE_MODEL;
|
|
1016
|
+
delete process.env.ELIZAOS_CLOUD_MEGA_MODEL;
|
|
1017
|
+
delete process.env.ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL;
|
|
1018
|
+
delete process.env.ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL;
|
|
1019
|
+
delete process.env.ELIZAOS_CLOUD_ACTION_PLANNER_MODEL;
|
|
1020
|
+
delete process.env.ELIZAOS_CLOUD_PLANNER_MODEL;
|
|
1021
|
+
delete process.env.ELIZAOS_CLOUD_API_KEY;
|
|
1022
|
+
delete process.env.ELIZAOS_CLOUD_BASE_URL;
|
|
1023
|
+
}
|
|
1024
|
+
// Propagate model names so the cloud plugin picks them up. Falls back to
|
|
1025
|
+
// sensible defaults when cloud is enabled but no explicit selection exists.
|
|
1026
|
+
// Skip when inferenceMode is "byok"/"local" or services.inference is off —
|
|
1027
|
+
// user's own keys handle models.
|
|
1028
|
+
// If the user chose a subscription provider, treat that as "byok" unless
|
|
1029
|
+
// they explicitly set inferenceMode to "cloud".
|
|
1030
|
+
const llmText = resolveServiceRoutingInConfig(config)?.llmText;
|
|
1031
|
+
const models = config.models;
|
|
1032
|
+
if (effectivelyEnabled) {
|
|
1033
|
+
const nano = llmText?.nanoModel || models?.nano || "openai/gpt-5.5-nano";
|
|
1034
|
+
const small = llmText?.smallModel || models?.small || "minimax/minimax-m2.7";
|
|
1035
|
+
const medium = llmText?.mediumModel || models?.medium || small;
|
|
1036
|
+
const large = llmText?.largeModel || models?.large || "anthropic/claude-opus-4-7";
|
|
1037
|
+
const mega = llmText?.megaModel || models?.mega || large;
|
|
1038
|
+
const responseHandlerModel = llmText?.responseHandlerModel || llmText?.shouldRespondModel;
|
|
1039
|
+
const actionPlannerModel = llmText?.actionPlannerModel || llmText?.plannerModel;
|
|
1040
|
+
process.env.SMALL_MODEL = small;
|
|
1041
|
+
process.env.NANO_MODEL = nano;
|
|
1042
|
+
process.env.MEDIUM_MODEL = medium;
|
|
1043
|
+
process.env.LARGE_MODEL = large;
|
|
1044
|
+
process.env.MEGA_MODEL = mega;
|
|
1045
|
+
if (responseHandlerModel) {
|
|
1046
|
+
process.env.ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL = responseHandlerModel;
|
|
1047
|
+
process.env.ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL = responseHandlerModel;
|
|
1048
|
+
}
|
|
1049
|
+
else {
|
|
1050
|
+
delete process.env.ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL;
|
|
1051
|
+
delete process.env.ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL;
|
|
1052
|
+
}
|
|
1053
|
+
if (actionPlannerModel) {
|
|
1054
|
+
process.env.ELIZAOS_CLOUD_ACTION_PLANNER_MODEL = actionPlannerModel;
|
|
1055
|
+
process.env.ELIZAOS_CLOUD_PLANNER_MODEL = actionPlannerModel;
|
|
1056
|
+
}
|
|
1057
|
+
else {
|
|
1058
|
+
delete process.env.ELIZAOS_CLOUD_ACTION_PLANNER_MODEL;
|
|
1059
|
+
delete process.env.ELIZAOS_CLOUD_PLANNER_MODEL;
|
|
1060
|
+
}
|
|
1061
|
+
process.env.ELIZAOS_CLOUD_NANO_MODEL = nano;
|
|
1062
|
+
process.env.ELIZAOS_CLOUD_MEDIUM_MODEL = medium;
|
|
1063
|
+
process.env.ELIZAOS_CLOUD_SMALL_MODEL = small;
|
|
1064
|
+
process.env.ELIZAOS_CLOUD_LARGE_MODEL = large;
|
|
1065
|
+
process.env.ELIZAOS_CLOUD_MEGA_MODEL = mega;
|
|
1066
|
+
}
|
|
1067
|
+
else if (shouldLoadCloudPlugin) {
|
|
1068
|
+
// Cloud plugin may still be active for non-inference services; keep model
|
|
1069
|
+
// routing local by clearing the cloud model aliases.
|
|
1070
|
+
delete process.env.ELIZAOS_CLOUD_NANO_MODEL;
|
|
1071
|
+
delete process.env.ELIZAOS_CLOUD_MEDIUM_MODEL;
|
|
1072
|
+
delete process.env.ELIZAOS_CLOUD_SMALL_MODEL;
|
|
1073
|
+
delete process.env.ELIZAOS_CLOUD_LARGE_MODEL;
|
|
1074
|
+
delete process.env.ELIZAOS_CLOUD_MEGA_MODEL;
|
|
1075
|
+
delete process.env.ELIZAOS_CLOUD_RESPONSE_HANDLER_MODEL;
|
|
1076
|
+
delete process.env.ELIZAOS_CLOUD_SHOULD_RESPOND_MODEL;
|
|
1077
|
+
delete process.env.ELIZAOS_CLOUD_ACTION_PLANNER_MODEL;
|
|
1078
|
+
delete process.env.ELIZAOS_CLOUD_PLANNER_MODEL;
|
|
1079
|
+
delete process.env.NANO_MODEL;
|
|
1080
|
+
delete process.env.MEDIUM_MODEL;
|
|
1081
|
+
delete process.env.SMALL_MODEL;
|
|
1082
|
+
delete process.env.LARGE_MODEL;
|
|
1083
|
+
delete process.env.MEGA_MODEL;
|
|
1084
|
+
}
|
|
1085
|
+
// Propagate per-service disable flags so downstream code can check them
|
|
1086
|
+
// without needing direct access to the ElizaConfig object.
|
|
1087
|
+
if (!topology.services.tts) {
|
|
1088
|
+
process.env.ELIZA_CLOUD_TTS_DISABLED = "true";
|
|
1089
|
+
}
|
|
1090
|
+
else {
|
|
1091
|
+
delete process.env.ELIZA_CLOUD_TTS_DISABLED;
|
|
1092
|
+
}
|
|
1093
|
+
if (!topology.services.media) {
|
|
1094
|
+
process.env.ELIZA_CLOUD_MEDIA_DISABLED = "true";
|
|
1095
|
+
}
|
|
1096
|
+
else {
|
|
1097
|
+
delete process.env.ELIZA_CLOUD_MEDIA_DISABLED;
|
|
1098
|
+
}
|
|
1099
|
+
if (!topology.services.embeddings) {
|
|
1100
|
+
process.env.ELIZA_CLOUD_EMBEDDINGS_DISABLED = "true";
|
|
1101
|
+
}
|
|
1102
|
+
else {
|
|
1103
|
+
delete process.env.ELIZA_CLOUD_EMBEDDINGS_DISABLED;
|
|
1104
|
+
}
|
|
1105
|
+
if (!topology.services.rpc) {
|
|
1106
|
+
process.env.ELIZA_CLOUD_RPC_DISABLED = "true";
|
|
1107
|
+
}
|
|
1108
|
+
else {
|
|
1109
|
+
delete process.env.ELIZA_CLOUD_RPC_DISABLED;
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* Translate `config.database` into the environment variables that
|
|
1114
|
+
* `@elizaos/plugin-sql` reads at init time (`POSTGRES_URL`, `PGLITE_DATA_DIR`).
|
|
1115
|
+
*
|
|
1116
|
+
* When the provider is "postgres", we build a connection string from the
|
|
1117
|
+
* credentials (or use the explicit `connectionString` field) and set
|
|
1118
|
+
* `POSTGRES_URL`. When the provider is "pglite" (the default), we set
|
|
1119
|
+
* `PGLITE_DATA_DIR` to either the configured value or the resolved default
|
|
1120
|
+
* workspace (`<workspace>/.eliza/.elizadb`) and remove any stale
|
|
1121
|
+
* `POSTGRES_URL`.
|
|
1122
|
+
*/
|
|
1123
|
+
/** @internal Exported for testing. */
|
|
1124
|
+
export function applyX402ConfigToEnv(config) {
|
|
1125
|
+
const x402 = config.x402;
|
|
1126
|
+
if (!x402?.enabled)
|
|
1127
|
+
return;
|
|
1128
|
+
if (!process.env.X402_ENABLED)
|
|
1129
|
+
process.env.X402_ENABLED = "true";
|
|
1130
|
+
if (x402.apiKey && !process.env.X402_API_KEY)
|
|
1131
|
+
process.env.X402_API_KEY = x402.apiKey;
|
|
1132
|
+
if (x402.baseUrl && !process.env.X402_BASE_URL)
|
|
1133
|
+
process.env.X402_BASE_URL = x402.baseUrl;
|
|
1134
|
+
}
|
|
1135
|
+
/**
|
|
1136
|
+
* Resolve N8N_HOST + N8N_API_KEY for @elizaos/plugin-n8n-workflow.
|
|
1137
|
+
*
|
|
1138
|
+
* Precedence:
|
|
1139
|
+
* 1. Existing process.env values (user override) — respected as-is.
|
|
1140
|
+
* 2. Eliza Cloud authenticated (cloud.apiKey present AND cloud.enabled !== false):
|
|
1141
|
+
* N8N_HOST = `${cloudBaseUrl}/api/v1/agents/${agentId}/n8n`
|
|
1142
|
+
* N8N_API_KEY = cloud.apiKey
|
|
1143
|
+
* 3. Local sidecar — the sidecar lifecycle writes `config.n8n.host` and
|
|
1144
|
+
* `config.n8n.apiKey` when it reaches "ready". We pump those into
|
|
1145
|
+
* process.env here when cloud did not fire. The authoritative shape is
|
|
1146
|
+
* `N8nConfig` in types.eliza.ts.
|
|
1147
|
+
* 4. Otherwise: leave unset. The plugin's init() no-ops without credentials.
|
|
1148
|
+
*
|
|
1149
|
+
* Called from startEliza() after applyCloudConfigToEnv so cloud settings are
|
|
1150
|
+
* already reflected in process.env.
|
|
1151
|
+
*
|
|
1152
|
+
* @internal Exported for testing.
|
|
1153
|
+
*/
|
|
1154
|
+
export function applyN8nConfigToEnv(config, agentId) {
|
|
1155
|
+
// 1. Respect existing process.env overrides.
|
|
1156
|
+
if (process.env.N8N_HOST && process.env.N8N_API_KEY)
|
|
1157
|
+
return;
|
|
1158
|
+
// Master gate — when config.n8n.enabled is false, do not pump anything.
|
|
1159
|
+
if (config.n8n?.enabled === false)
|
|
1160
|
+
return;
|
|
1161
|
+
const cloud = config.cloud;
|
|
1162
|
+
const cloudAuthed = Boolean(cloud?.apiKey) && cloud?.enabled !== false;
|
|
1163
|
+
if (cloudAuthed && cloud?.apiKey) {
|
|
1164
|
+
const rawBase = cloud.baseUrl ?? "https://www.elizacloud.ai";
|
|
1165
|
+
// Strip trailing /api/v1 (or /api/v1/) plus any trailing slashes so we can
|
|
1166
|
+
// build `${siteUrl}/api/v1/agents/${agentId}/n8n` without duplication.
|
|
1167
|
+
const safeBase = rawBase.length > 8192 ? rawBase.slice(0, 8192) : rawBase;
|
|
1168
|
+
const siteUrl = safeBase
|
|
1169
|
+
.replace(/\/api\/v1\/?$/, "")
|
|
1170
|
+
.replace(/\/{1,1024}$/, "");
|
|
1171
|
+
const gateway = `${siteUrl}/api/v1/agents/${agentId}/n8n`;
|
|
1172
|
+
if (!process.env.N8N_HOST)
|
|
1173
|
+
process.env.N8N_HOST = gateway;
|
|
1174
|
+
if (!process.env.N8N_API_KEY)
|
|
1175
|
+
process.env.N8N_API_KEY = cloud.apiKey;
|
|
1176
|
+
return;
|
|
1177
|
+
}
|
|
1178
|
+
// 2. Local sidecar path — the sidecar populates `config.n8n.host` and
|
|
1179
|
+
// `config.n8n.apiKey` (authoritative N8nConfig shape) when it reaches
|
|
1180
|
+
// "ready". Surface those to process.env for the plugin.
|
|
1181
|
+
const n8n = config.n8n;
|
|
1182
|
+
if (n8n?.host && n8n?.apiKey) {
|
|
1183
|
+
if (!process.env.N8N_HOST)
|
|
1184
|
+
process.env.N8N_HOST = n8n.host;
|
|
1185
|
+
if (!process.env.N8N_API_KEY)
|
|
1186
|
+
process.env.N8N_API_KEY = n8n.apiKey;
|
|
1187
|
+
return;
|
|
1188
|
+
}
|
|
1189
|
+
// 3. Fallback — leave unset. Legacy `config.env.vars` entries (N8N_HOST /
|
|
1190
|
+
// N8N_API_KEY) still flow through the generic env-var pump in startEliza.
|
|
1191
|
+
}
|
|
1192
|
+
function resolveDefaultPgliteDataDir(config) {
|
|
1193
|
+
const workspaceDir = config.agents?.defaults?.workspace ?? resolveDefaultAgentWorkspaceDir();
|
|
1194
|
+
return path.join(resolveUserPath(workspaceDir), ".eliza", ".elizadb");
|
|
1195
|
+
}
|
|
1196
|
+
/** @internal Exported for testing. */
|
|
1197
|
+
export function applyDatabaseConfigToEnv(config) {
|
|
1198
|
+
const db = config.database;
|
|
1199
|
+
const provider = db?.provider ?? "pglite";
|
|
1200
|
+
if (provider === "postgres" && db?.postgres) {
|
|
1201
|
+
const pg = db.postgres;
|
|
1202
|
+
let url = pg.connectionString;
|
|
1203
|
+
if (!url) {
|
|
1204
|
+
const host = pg.host ?? "localhost";
|
|
1205
|
+
const port = pg.port ?? 5432;
|
|
1206
|
+
const user = encodeURIComponent(pg.user ?? "postgres");
|
|
1207
|
+
const password = pg.password ? encodeURIComponent(pg.password) : "";
|
|
1208
|
+
const database = pg.database ?? "postgres";
|
|
1209
|
+
const auth = password ? `${user}:${password}` : user;
|
|
1210
|
+
const sslParam = pg.ssl ? "?sslmode=require" : "";
|
|
1211
|
+
url = `postgresql://${auth}@${host}:${port}/${database}${sslParam}`;
|
|
1212
|
+
}
|
|
1213
|
+
process.env.POSTGRES_URL = url;
|
|
1214
|
+
// Clear PGLite dir so plugin-sql does not fall back to PGLite
|
|
1215
|
+
delete process.env.PGLITE_DATA_DIR;
|
|
1216
|
+
}
|
|
1217
|
+
else {
|
|
1218
|
+
// PGLite mode (default): ensure no leftover POSTGRES_URL and pin
|
|
1219
|
+
// PGLite to the workspace path unless overridden by config/env.
|
|
1220
|
+
delete process.env.POSTGRES_URL;
|
|
1221
|
+
const configuredDataDir = db?.pglite?.dataDir?.trim();
|
|
1222
|
+
if (configuredDataDir) {
|
|
1223
|
+
process.env.PGLITE_DATA_DIR = resolveUserPath(configuredDataDir);
|
|
1224
|
+
// Fall through to directory creation below instead of returning early
|
|
1225
|
+
}
|
|
1226
|
+
const envDataDir = process.env.PGLITE_DATA_DIR?.trim();
|
|
1227
|
+
if (!envDataDir) {
|
|
1228
|
+
process.env.PGLITE_DATA_DIR = resolveDefaultPgliteDataDir(config);
|
|
1229
|
+
}
|
|
1230
|
+
// Ensure the PGlite data directory exists before init so PGlite does
|
|
1231
|
+
// not silently fall back to in-memory mode on first run.
|
|
1232
|
+
const dataDir = process.env.PGLITE_DATA_DIR;
|
|
1233
|
+
if (dataDir) {
|
|
1234
|
+
const alreadyExisted = existsSync(dataDir);
|
|
1235
|
+
mkdirSync(dataDir, { recursive: true });
|
|
1236
|
+
logger.info(`[eliza] PGlite data dir: ${dataDir} (${alreadyExisted ? "existed" : "created"})`);
|
|
1237
|
+
// Remove stale postmaster.pid left by a crashed process. Without this,
|
|
1238
|
+
// PGlite sees the lock and either fails or, with explicit destructive
|
|
1239
|
+
// recovery enabled, triggers the resetPgliteDataDir path.
|
|
1240
|
+
cleanStalePglitePid(dataDir);
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
function reconcilePglitePidFile(dataDir) {
|
|
1245
|
+
const pidPath = path.join(dataDir, "postmaster.pid");
|
|
1246
|
+
if (!existsSync(pidPath))
|
|
1247
|
+
return "missing";
|
|
1248
|
+
try {
|
|
1249
|
+
const content = readFileSync(pidPath, "utf-8");
|
|
1250
|
+
const firstLine = content.split("\n")[0]?.trim();
|
|
1251
|
+
const pid = parseInt(firstLine, 10);
|
|
1252
|
+
if (Number.isNaN(pid) || pid <= 0) {
|
|
1253
|
+
// Malformed pid file — remove it
|
|
1254
|
+
unlinkSync(pidPath);
|
|
1255
|
+
logger.info(`[eliza] Removed malformed PGlite postmaster.pid`);
|
|
1256
|
+
return "cleared-malformed";
|
|
1257
|
+
}
|
|
1258
|
+
// Check if the process is still alive
|
|
1259
|
+
try {
|
|
1260
|
+
process.kill(pid, 0); // signal 0 = existence check, doesn't kill
|
|
1261
|
+
// Process exists — pid file is NOT stale, leave it alone
|
|
1262
|
+
logger.info(`[eliza] PGlite postmaster.pid references running process ${pid} — leaving intact`);
|
|
1263
|
+
return "active";
|
|
1264
|
+
}
|
|
1265
|
+
catch (killErr) {
|
|
1266
|
+
const code = killErr.code;
|
|
1267
|
+
if (code === "ESRCH") {
|
|
1268
|
+
// Process doesn't exist — stale pid file, safe to remove
|
|
1269
|
+
unlinkSync(pidPath);
|
|
1270
|
+
logger.info(`[eliza] Removed stale PGlite postmaster.pid (process ${pid} not running)`);
|
|
1271
|
+
return "cleared-stale";
|
|
1272
|
+
}
|
|
1273
|
+
else {
|
|
1274
|
+
// EPERM or other — process may be alive under a different user,
|
|
1275
|
+
// leave the file alone to avoid data directory corruption
|
|
1276
|
+
logger.warn(`[eliza] Cannot confirm postmaster.pid staleness (${code}) — leaving intact`);
|
|
1277
|
+
return "active-unconfirmed";
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
catch (err) {
|
|
1282
|
+
logger.warn(`[eliza] Failed to check PGlite postmaster.pid: ${formatError(err)}`);
|
|
1283
|
+
return "check-failed";
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
/**
|
|
1287
|
+
* Check for and remove a stale postmaster.pid in the PGlite data directory.
|
|
1288
|
+
* The pid file is stale if the recorded process is no longer running.
|
|
1289
|
+
*/
|
|
1290
|
+
export function cleanStalePglitePid(dataDir) {
|
|
1291
|
+
try {
|
|
1292
|
+
reconcilePglitePidFile(dataDir);
|
|
1293
|
+
}
|
|
1294
|
+
catch (err) {
|
|
1295
|
+
logger.warn(`[eliza] PGlite PID reconciliation failed: ${err}`);
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
function collectErrorMessages(err) {
|
|
1299
|
+
const messages = [];
|
|
1300
|
+
const seen = new Set();
|
|
1301
|
+
let current = err;
|
|
1302
|
+
while (current && !seen.has(current)) {
|
|
1303
|
+
seen.add(current);
|
|
1304
|
+
if (typeof current === "string") {
|
|
1305
|
+
messages.push(current);
|
|
1306
|
+
break;
|
|
1307
|
+
}
|
|
1308
|
+
if (current instanceof Error) {
|
|
1309
|
+
if (current.message)
|
|
1310
|
+
messages.push(current.message);
|
|
1311
|
+
if (current.stack)
|
|
1312
|
+
messages.push(current.stack);
|
|
1313
|
+
current = current.cause;
|
|
1314
|
+
continue;
|
|
1315
|
+
}
|
|
1316
|
+
if (typeof current === "object") {
|
|
1317
|
+
const maybeErr = current;
|
|
1318
|
+
if (typeof maybeErr.message === "string" && maybeErr.message) {
|
|
1319
|
+
messages.push(maybeErr.message);
|
|
1320
|
+
}
|
|
1321
|
+
if (maybeErr.cause !== undefined) {
|
|
1322
|
+
current = maybeErr.cause;
|
|
1323
|
+
continue;
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
break;
|
|
1327
|
+
}
|
|
1328
|
+
return messages;
|
|
1329
|
+
}
|
|
1330
|
+
function isPgliteLockError(err) {
|
|
1331
|
+
const haystack = collectErrorMessages(err).join("\n").toLowerCase();
|
|
1332
|
+
if (!haystack)
|
|
1333
|
+
return false;
|
|
1334
|
+
const hasPglite = haystack.includes("pglite");
|
|
1335
|
+
const hasSqlite = haystack.includes("sqlite");
|
|
1336
|
+
const hasLockSignal = haystack.includes("database is locked") ||
|
|
1337
|
+
haystack.includes("lock file already exists");
|
|
1338
|
+
return hasLockSignal && (hasPglite || hasSqlite);
|
|
1339
|
+
}
|
|
1340
|
+
/** @internal Exported for testing. */
|
|
1341
|
+
export function isRecoverablePgliteInitError(err) {
|
|
1342
|
+
const code = getPgliteErrorCode(err);
|
|
1343
|
+
if (code === PGLITE_ERROR_CODES.ACTIVE_LOCK ||
|
|
1344
|
+
code === PGLITE_ERROR_CODES.CORRUPT_DATA ||
|
|
1345
|
+
code === PGLITE_ERROR_CODES.MANUAL_RESET_REQUIRED) {
|
|
1346
|
+
return true;
|
|
1347
|
+
}
|
|
1348
|
+
const haystack = collectErrorMessages(err).join("\n").toLowerCase();
|
|
1349
|
+
if (!haystack)
|
|
1350
|
+
return false;
|
|
1351
|
+
const hasAbort = haystack.includes("aborted(). build with -sassertions");
|
|
1352
|
+
const hasPglite = haystack.includes("pglite");
|
|
1353
|
+
const _hasSqlite = haystack.includes("sqlite");
|
|
1354
|
+
const hasMigrationsSchema = haystack.includes("create schema if not exists migrations") ||
|
|
1355
|
+
haystack.includes("failed query: create schema if not exists migrations");
|
|
1356
|
+
const hasRecoverableStorageSignal = [
|
|
1357
|
+
"database disk image is malformed",
|
|
1358
|
+
"file is not a database",
|
|
1359
|
+
"malformed database schema",
|
|
1360
|
+
"database is locked",
|
|
1361
|
+
"lock file already exists",
|
|
1362
|
+
"wal file",
|
|
1363
|
+
"checkpoint failed",
|
|
1364
|
+
"checksum mismatch",
|
|
1365
|
+
"corrupt",
|
|
1366
|
+
"could not read blocks",
|
|
1367
|
+
"read only ",
|
|
1368
|
+
"unreachable code should not be executed",
|
|
1369
|
+
"_pgl_backend",
|
|
1370
|
+
].some((needle) => haystack.includes(needle));
|
|
1371
|
+
if (hasMigrationsSchema)
|
|
1372
|
+
return true;
|
|
1373
|
+
if (hasAbort && hasPglite)
|
|
1374
|
+
return true;
|
|
1375
|
+
if (hasRecoverableStorageSignal)
|
|
1376
|
+
return true;
|
|
1377
|
+
return false;
|
|
1378
|
+
}
|
|
1379
|
+
/** @internal Exported for testing. */
|
|
1380
|
+
export function getPgliteRecoveryAction(err, dataDir) {
|
|
1381
|
+
const code = getPgliteErrorCode(err);
|
|
1382
|
+
if (code === PGLITE_ERROR_CODES.ACTIVE_LOCK) {
|
|
1383
|
+
return "fail-active-lock";
|
|
1384
|
+
}
|
|
1385
|
+
if (code === PGLITE_ERROR_CODES.CORRUPT_DATA ||
|
|
1386
|
+
code === PGLITE_ERROR_CODES.MANUAL_RESET_REQUIRED) {
|
|
1387
|
+
return "fail-manual-reset";
|
|
1388
|
+
}
|
|
1389
|
+
if (!isRecoverablePgliteInitError(err))
|
|
1390
|
+
return "none";
|
|
1391
|
+
const pidStatus = reconcilePglitePidFile(dataDir);
|
|
1392
|
+
const treatPidAsActiveLock = code === PGLITE_ERROR_CODES.ACTIVE_LOCK || isPgliteLockError(err);
|
|
1393
|
+
if ((treatPidAsActiveLock && pidStatus === "active") ||
|
|
1394
|
+
(treatPidAsActiveLock && pidStatus === "active-unconfirmed") ||
|
|
1395
|
+
(treatPidAsActiveLock && pidStatus === "check-failed")) {
|
|
1396
|
+
return "fail-active-lock";
|
|
1397
|
+
}
|
|
1398
|
+
if (pidStatus === "cleared-stale" || pidStatus === "cleared-malformed") {
|
|
1399
|
+
return "retry-without-reset";
|
|
1400
|
+
}
|
|
1401
|
+
return "fail-manual-reset";
|
|
1402
|
+
}
|
|
1403
|
+
function createActivePgliteLockError(dataDir, err) {
|
|
1404
|
+
if (getPgliteErrorCode(err) === PGLITE_ERROR_CODES.ACTIVE_LOCK &&
|
|
1405
|
+
err instanceof Error) {
|
|
1406
|
+
return err;
|
|
1407
|
+
}
|
|
1408
|
+
return createPgliteInitError(PGLITE_ERROR_CODES.ACTIVE_LOCK, `PGLite data dir is already in use at ${dataDir}. Close the other Eliza or Eliza process, or set a different PGLITE_DATA_DIR before retrying.`, { cause: err, dataDir });
|
|
1409
|
+
}
|
|
1410
|
+
function formatPgliteFailure(err) {
|
|
1411
|
+
return collectErrorMessages(err)[0] ?? formatError(err);
|
|
1412
|
+
}
|
|
1413
|
+
function createManualResetRequiredPgliteError(dataDir, err) {
|
|
1414
|
+
if (getPgliteErrorCode(err) === PGLITE_ERROR_CODES.MANUAL_RESET_REQUIRED &&
|
|
1415
|
+
err instanceof Error) {
|
|
1416
|
+
return err;
|
|
1417
|
+
}
|
|
1418
|
+
const errorText = formatPgliteFailure(err);
|
|
1419
|
+
const cause = getPgliteErrorCode(err) === PGLITE_ERROR_CODES.CORRUPT_DATA
|
|
1420
|
+
? err
|
|
1421
|
+
: createPgliteInitError(PGLITE_ERROR_CODES.CORRUPT_DATA, `PGlite data dir at ${dataDir} appears corrupt or unreadable: ${errorText}`, { cause: err, dataDir });
|
|
1422
|
+
return createPgliteInitError(PGLITE_ERROR_CODES.MANUAL_RESET_REQUIRED, `PGlite initialization failed for ${dataDir}: ${errorText}. Stop Eliza, then rename or delete only this directory before retrying: ${dataDir}`, { cause, dataDir });
|
|
1423
|
+
}
|
|
1424
|
+
export function isFatalPgliteStartupError(err) {
|
|
1425
|
+
const code = getPgliteErrorCode(err);
|
|
1426
|
+
return (code === PGLITE_ERROR_CODES.ACTIVE_LOCK ||
|
|
1427
|
+
code === PGLITE_ERROR_CODES.CORRUPT_DATA ||
|
|
1428
|
+
code === PGLITE_ERROR_CODES.MANUAL_RESET_REQUIRED);
|
|
1429
|
+
}
|
|
1430
|
+
function resolveActivePgliteDataDir(config) {
|
|
1431
|
+
const provider = config.database?.provider ?? "pglite";
|
|
1432
|
+
if (provider === "postgres")
|
|
1433
|
+
return null;
|
|
1434
|
+
const configured = process.env.PGLITE_DATA_DIR?.trim();
|
|
1435
|
+
const dataDir = configured || resolveDefaultPgliteDataDir(config);
|
|
1436
|
+
return resolveUserPath(dataDir);
|
|
1437
|
+
}
|
|
1438
|
+
/** Call whichever init method the adapter exposes (.init or .initialize). */
|
|
1439
|
+
async function callAdapterInit(adapter) {
|
|
1440
|
+
const fn = "init" in adapter &&
|
|
1441
|
+
typeof adapter.init === "function"
|
|
1442
|
+
? adapter.init
|
|
1443
|
+
: adapter.initialize;
|
|
1444
|
+
if (typeof fn === "function")
|
|
1445
|
+
await fn.call(adapter);
|
|
1446
|
+
}
|
|
1447
|
+
async function initializeDatabaseAdapter(runtime, config) {
|
|
1448
|
+
if (!runtime.adapter || (await runtime.adapter.isReady()))
|
|
1449
|
+
return;
|
|
1450
|
+
try {
|
|
1451
|
+
await callAdapterInit(runtime.adapter);
|
|
1452
|
+
logger.info("[eliza] Database adapter initialized early (before plugin inits)");
|
|
1453
|
+
}
|
|
1454
|
+
catch (err) {
|
|
1455
|
+
const pgliteDataDir = resolveActivePgliteDataDir(config);
|
|
1456
|
+
if (!pgliteDataDir) {
|
|
1457
|
+
throw err;
|
|
1458
|
+
}
|
|
1459
|
+
const recoveryAction = getPgliteRecoveryAction(err, pgliteDataDir);
|
|
1460
|
+
if (recoveryAction === "none") {
|
|
1461
|
+
throw err;
|
|
1462
|
+
}
|
|
1463
|
+
if (recoveryAction === "fail-active-lock") {
|
|
1464
|
+
throw createActivePgliteLockError(pgliteDataDir, err);
|
|
1465
|
+
}
|
|
1466
|
+
if (recoveryAction === "fail-manual-reset") {
|
|
1467
|
+
throw createManualResetRequiredPgliteError(pgliteDataDir, err);
|
|
1468
|
+
}
|
|
1469
|
+
logger.warn(`[eliza] PGLite init failed (${formatError(err)}). Cleared a stale PGLite lock in ${pgliteDataDir} and retrying without resetting data.`);
|
|
1470
|
+
await callAdapterInit(runtime.adapter);
|
|
1471
|
+
logger.info("[eliza] Database adapter recovered after clearing a stale PGLite lock");
|
|
1472
|
+
}
|
|
1473
|
+
// Health check: verify PGlite data directory has files after init.
|
|
1474
|
+
// Runs on BOTH the happy path and the recovery path.
|
|
1475
|
+
await verifyPgliteDataDir(config);
|
|
1476
|
+
}
|
|
1477
|
+
/**
|
|
1478
|
+
* Verify PGlite data directory contains files after init.
|
|
1479
|
+
* Warns if the directory is empty (suggests ephemeral/in-memory fallback).
|
|
1480
|
+
*/
|
|
1481
|
+
async function verifyPgliteDataDir(config) {
|
|
1482
|
+
const pgliteDataDir = resolveActivePgliteDataDir(config);
|
|
1483
|
+
if (!pgliteDataDir || !existsSync(pgliteDataDir))
|
|
1484
|
+
return;
|
|
1485
|
+
try {
|
|
1486
|
+
const files = await fs.readdir(pgliteDataDir);
|
|
1487
|
+
logger.info(`[eliza] PGlite health check: ${files.length} file(s) in ${pgliteDataDir}`);
|
|
1488
|
+
if (files.length === 0) {
|
|
1489
|
+
logger.warn(`[eliza] PGlite data directory is empty after init — data may not persist across restarts`);
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
catch (err) {
|
|
1493
|
+
logger.warn(`[eliza] PGlite health check failed: ${formatError(err)}`);
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
function isPluginAlreadyRegisteredError(err) {
|
|
1497
|
+
return formatError(err).toLowerCase().includes("already registered");
|
|
1498
|
+
}
|
|
1499
|
+
function getConstraintName(error) {
|
|
1500
|
+
if (!error || typeof error !== "object")
|
|
1501
|
+
return null;
|
|
1502
|
+
const err = error;
|
|
1503
|
+
if (typeof err.constraint === "string" && err.constraint.length > 0) {
|
|
1504
|
+
return err.constraint;
|
|
1505
|
+
}
|
|
1506
|
+
if (err.cause)
|
|
1507
|
+
return getConstraintName(err.cause);
|
|
1508
|
+
return null;
|
|
1509
|
+
}
|
|
1510
|
+
function isComponentsWorldFkViolation(error) {
|
|
1511
|
+
return getConstraintName(error) === "components_world_id_worlds_id_fk";
|
|
1512
|
+
}
|
|
1513
|
+
function toErrorDetails(error, depth = 0) {
|
|
1514
|
+
if (!error || typeof error !== "object") {
|
|
1515
|
+
return { value: String(error) };
|
|
1516
|
+
}
|
|
1517
|
+
const err = error;
|
|
1518
|
+
const details = {};
|
|
1519
|
+
for (const key of [
|
|
1520
|
+
"name",
|
|
1521
|
+
"message",
|
|
1522
|
+
"code",
|
|
1523
|
+
"detail",
|
|
1524
|
+
"hint",
|
|
1525
|
+
"constraint",
|
|
1526
|
+
"schema",
|
|
1527
|
+
"table",
|
|
1528
|
+
"column",
|
|
1529
|
+
"where",
|
|
1530
|
+
]) {
|
|
1531
|
+
const value = err[key];
|
|
1532
|
+
if (typeof value === "string" || typeof value === "number") {
|
|
1533
|
+
details[key] = value;
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
if (depth < 2 && err.cause) {
|
|
1537
|
+
details.cause = toErrorDetails(err.cause, depth + 1);
|
|
1538
|
+
}
|
|
1539
|
+
return details;
|
|
1540
|
+
}
|
|
1541
|
+
async function withEntityCreateMutex(runtimeWithBindings, fn) {
|
|
1542
|
+
const previous = runtimeWithBindings.__elizaEntityCreateMutex;
|
|
1543
|
+
let release = () => { };
|
|
1544
|
+
runtimeWithBindings.__elizaEntityCreateMutex = new Promise((resolve) => {
|
|
1545
|
+
release = resolve;
|
|
1546
|
+
});
|
|
1547
|
+
if (previous) {
|
|
1548
|
+
await previous;
|
|
1549
|
+
}
|
|
1550
|
+
try {
|
|
1551
|
+
return await fn();
|
|
1552
|
+
}
|
|
1553
|
+
finally {
|
|
1554
|
+
release();
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
function summarizeComponentWrite(input) {
|
|
1558
|
+
if (!input || typeof input !== "object" || Array.isArray(input)) {
|
|
1559
|
+
return { inputType: typeof input };
|
|
1560
|
+
}
|
|
1561
|
+
const record = input;
|
|
1562
|
+
const data = record.data;
|
|
1563
|
+
const dataKeys = data && typeof data === "object" && !Array.isArray(data)
|
|
1564
|
+
? Object.keys(data).slice(0, 20)
|
|
1565
|
+
: [];
|
|
1566
|
+
return {
|
|
1567
|
+
id: record.id,
|
|
1568
|
+
type: record.type,
|
|
1569
|
+
entityId: record.entityId ?? record.entity_id,
|
|
1570
|
+
sourceEntityId: record.sourceEntityId ?? record.source_entity_id,
|
|
1571
|
+
roomId: record.roomId ?? record.room_id,
|
|
1572
|
+
worldId: record.worldId ?? record.world_id,
|
|
1573
|
+
agentId: record.agentId ?? record.agent_id,
|
|
1574
|
+
dataKeys,
|
|
1575
|
+
};
|
|
1576
|
+
}
|
|
1577
|
+
export function installRuntimeMethodBindings(runtime) {
|
|
1578
|
+
const runtimeWithBindings = runtime;
|
|
1579
|
+
if (runtimeWithBindings.__elizaMethodBindingsInstalled) {
|
|
1580
|
+
return;
|
|
1581
|
+
}
|
|
1582
|
+
installRuntimePluginLifecycle(runtime);
|
|
1583
|
+
// Some plugin builds store this method and invoke it later without the
|
|
1584
|
+
// runtime receiver, which breaks private-field access in AgentRuntime.
|
|
1585
|
+
runtime.getConversationLength = runtime.getConversationLength.bind(runtime);
|
|
1586
|
+
// Wrap getSetting() to fall back to process.env for known keys when the
|
|
1587
|
+
// core returns null. elizaOS core returns null for missing keys, but some
|
|
1588
|
+
// plugins (e.g. @elizaos/plugin-google-genai) check `!== undefined` and
|
|
1589
|
+
// convert null to the string "null", causing API calls like `models/null`.
|
|
1590
|
+
// Scoped to an allowlist to avoid leaking arbitrary env vars to plugins.
|
|
1591
|
+
const GETSETTING_ENV_ALLOWLIST = new Set([
|
|
1592
|
+
// Model provider API keys
|
|
1593
|
+
"ANTHROPIC_API_KEY",
|
|
1594
|
+
"OPENAI_API_KEY",
|
|
1595
|
+
"GOOGLE_GENERATIVE_AI_API_KEY",
|
|
1596
|
+
"GOOGLE_API_KEY",
|
|
1597
|
+
"GEMINI_API_KEY",
|
|
1598
|
+
"GROQ_API_KEY",
|
|
1599
|
+
"XAI_API_KEY",
|
|
1600
|
+
"DEEPSEEK_API_KEY",
|
|
1601
|
+
"OPENROUTER_API_KEY",
|
|
1602
|
+
// Google model defaults
|
|
1603
|
+
"GOOGLE_SMALL_MODEL",
|
|
1604
|
+
"GOOGLE_LARGE_MODEL",
|
|
1605
|
+
// GitHub
|
|
1606
|
+
"GITHUB_TOKEN",
|
|
1607
|
+
"GITHUB_OAUTH_CLIENT_ID",
|
|
1608
|
+
// Coding agent model preferences
|
|
1609
|
+
"PARALLAX_CLAUDE_MODEL_POWERFUL",
|
|
1610
|
+
"PARALLAX_CLAUDE_MODEL_FAST",
|
|
1611
|
+
"PARALLAX_GEMINI_MODEL_POWERFUL",
|
|
1612
|
+
"PARALLAX_GEMINI_MODEL_FAST",
|
|
1613
|
+
"PARALLAX_CODEX_MODEL_POWERFUL",
|
|
1614
|
+
"PARALLAX_CODEX_MODEL_FAST",
|
|
1615
|
+
"PARALLAX_AIDER_PROVIDER",
|
|
1616
|
+
"PARALLAX_AIDER_MODEL_POWERFUL",
|
|
1617
|
+
"PARALLAX_AIDER_MODEL_FAST",
|
|
1618
|
+
// Custom credential forwarding — intentionally broad: users configure which env vars
|
|
1619
|
+
// to forward to coding agents via this comma-separated key list (e.g. MCP server tokens).
|
|
1620
|
+
"CUSTOM_CREDENTIAL_KEYS",
|
|
1621
|
+
]);
|
|
1622
|
+
const originalGetSetting = runtime.getSetting.bind(runtime);
|
|
1623
|
+
runtime.getSetting = (key) => {
|
|
1624
|
+
const result = originalGetSetting(key);
|
|
1625
|
+
if (result !== null && result !== undefined)
|
|
1626
|
+
return result;
|
|
1627
|
+
if (GETSETTING_ENV_ALLOWLIST.has(key)) {
|
|
1628
|
+
const envVal = process.env[key];
|
|
1629
|
+
if (envVal !== undefined && envVal.trim() !== "")
|
|
1630
|
+
return envVal;
|
|
1631
|
+
}
|
|
1632
|
+
return result;
|
|
1633
|
+
};
|
|
1634
|
+
// Add targeted diagnostics around component writes. Relationships reflection and
|
|
1635
|
+
// relationship extraction rely heavily on components; when inserts fail,
|
|
1636
|
+
// upstream logs often hide the concrete DB cause/constraint.
|
|
1637
|
+
if (!runtimeWithBindings.__elizaComponentWriteDiagnosticsInstalled) {
|
|
1638
|
+
const runtimeWithComponentWrites = runtime;
|
|
1639
|
+
if (typeof runtimeWithComponentWrites.createComponent === "function") {
|
|
1640
|
+
const originalCreate = runtimeWithComponentWrites.createComponent.bind(runtime);
|
|
1641
|
+
runtimeWithComponentWrites.createComponent = async (input) => {
|
|
1642
|
+
try {
|
|
1643
|
+
return await originalCreate(input);
|
|
1644
|
+
}
|
|
1645
|
+
catch (error) {
|
|
1646
|
+
// Recovery path: some evaluators (e.g. relationship extraction)
|
|
1647
|
+
// compute a synthetic worldId that may not exist yet. If we hit the
|
|
1648
|
+
// components->worlds FK, retry once with the room's canonical worldId.
|
|
1649
|
+
if (isComponentsWorldFkViolation(error) &&
|
|
1650
|
+
input.roomId &&
|
|
1651
|
+
typeof runtime.getRoom === "function") {
|
|
1652
|
+
try {
|
|
1653
|
+
const room = await runtime.getRoom(input.roomId);
|
|
1654
|
+
const fallbackWorldId = room?.worldId ?? null;
|
|
1655
|
+
if (fallbackWorldId !== input.worldId) {
|
|
1656
|
+
logger.warn(`[eliza] createComponent retry with ${fallbackWorldId ? `room worldId (${fallbackWorldId})` : "null worldId"} after FK violation`);
|
|
1657
|
+
const recovered = {
|
|
1658
|
+
...input,
|
|
1659
|
+
worldId: fallbackWorldId,
|
|
1660
|
+
};
|
|
1661
|
+
return await originalCreate(recovered);
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
catch (retryLookupError) {
|
|
1665
|
+
logger.warn(`[eliza] createComponent recovery lookup failed: ${formatError(retryLookupError)}`);
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
const component = summarizeComponentWrite(input);
|
|
1669
|
+
logger.error(`[eliza] createComponent failed: ${formatError(error)} | component=${JSON.stringify(component)}`);
|
|
1670
|
+
logger.error(`[eliza] createComponent db details: ${JSON.stringify(toErrorDetails(error))}`);
|
|
1671
|
+
throw error;
|
|
1672
|
+
}
|
|
1673
|
+
};
|
|
1674
|
+
}
|
|
1675
|
+
if (typeof runtimeWithComponentWrites.updateComponent === "function") {
|
|
1676
|
+
const originalUpdate = runtimeWithComponentWrites.updateComponent.bind(runtime);
|
|
1677
|
+
runtimeWithComponentWrites.updateComponent = async (input) => {
|
|
1678
|
+
try {
|
|
1679
|
+
return await originalUpdate(input);
|
|
1680
|
+
}
|
|
1681
|
+
catch (error) {
|
|
1682
|
+
const component = summarizeComponentWrite(input);
|
|
1683
|
+
logger.error(`[eliza] updateComponent failed: ${formatError(error)} | component=${JSON.stringify(component)}`);
|
|
1684
|
+
logger.error(`[eliza] updateComponent db details: ${JSON.stringify(toErrorDetails(error))}`);
|
|
1685
|
+
throw error;
|
|
1686
|
+
}
|
|
1687
|
+
};
|
|
1688
|
+
}
|
|
1689
|
+
runtimeWithBindings.__elizaComponentWriteDiagnosticsInstalled = true;
|
|
1690
|
+
}
|
|
1691
|
+
// Proactive guard for plugin-sql entity creation. Some evaluators may attempt
|
|
1692
|
+
// to create the same entity in rapid succession; plugin-sql's batch insert is
|
|
1693
|
+
// non-idempotent and can fail entire writes on duplicate/conflicting rows.
|
|
1694
|
+
if (!runtimeWithBindings.__elizaEntityWriteDiagnosticsInstalled) {
|
|
1695
|
+
const runtimeWithEntityWrites = runtime;
|
|
1696
|
+
if (typeof runtimeWithEntityWrites.createEntities === "function") {
|
|
1697
|
+
const originalCreateEntities = runtimeWithEntityWrites.createEntities.bind(runtime);
|
|
1698
|
+
runtimeWithEntityWrites.createEntities = async (entities) => {
|
|
1699
|
+
return withEntityCreateMutex(runtimeWithBindings, async () => {
|
|
1700
|
+
const uniqueById = new Map();
|
|
1701
|
+
for (const entity of entities) {
|
|
1702
|
+
if (entity?.id)
|
|
1703
|
+
uniqueById.set(entity.id, entity);
|
|
1704
|
+
}
|
|
1705
|
+
const deduped = Array.from(uniqueById.values());
|
|
1706
|
+
if (deduped.length === 0)
|
|
1707
|
+
return deduped.map((e) => e.id);
|
|
1708
|
+
let missing = deduped;
|
|
1709
|
+
if (typeof runtimeWithEntityWrites.getEntitiesByIds === "function") {
|
|
1710
|
+
try {
|
|
1711
|
+
const existing = (await runtimeWithEntityWrites.getEntitiesByIds(deduped.map((e) => e.id))) ?? [];
|
|
1712
|
+
const existingIds = new Set();
|
|
1713
|
+
for (const entity of existing) {
|
|
1714
|
+
if (entity?.id)
|
|
1715
|
+
existingIds.add(entity.id);
|
|
1716
|
+
}
|
|
1717
|
+
missing = deduped.filter((entity) => !existingIds.has(entity.id));
|
|
1718
|
+
}
|
|
1719
|
+
catch (err) {
|
|
1720
|
+
logger.warn(`[eliza] createEntities precheck failed; proceeding with guarded insert: ${formatError(err)}`);
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
if (missing.length === 0)
|
|
1724
|
+
return deduped.map((e) => e.id);
|
|
1725
|
+
const result = await originalCreateEntities(missing);
|
|
1726
|
+
if (Array.isArray(result) ? result.length > 0 : result)
|
|
1727
|
+
return deduped.map((e) => e.id);
|
|
1728
|
+
if (typeof runtimeWithEntityWrites.ensureEntityExists === "function") {
|
|
1729
|
+
let allRecovered = true;
|
|
1730
|
+
for (const entity of missing) {
|
|
1731
|
+
try {
|
|
1732
|
+
const ensured = await runtimeWithEntityWrites.ensureEntityExists(entity);
|
|
1733
|
+
allRecovered = allRecovered && ensured;
|
|
1734
|
+
}
|
|
1735
|
+
catch (err) {
|
|
1736
|
+
allRecovered = false;
|
|
1737
|
+
logger.warn(`[eliza] ensureEntityExists recovery failed for ${String(entity.id)}: ${formatError(err)}`);
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
if (allRecovered)
|
|
1741
|
+
return deduped.map((e) => e.id);
|
|
1742
|
+
}
|
|
1743
|
+
logger.warn(`[eliza] createEntities unresolved after guarded retries (requested=${entities.length}, deduped=${deduped.length}, missing=${missing.length})`);
|
|
1744
|
+
return [];
|
|
1745
|
+
});
|
|
1746
|
+
};
|
|
1747
|
+
}
|
|
1748
|
+
runtimeWithBindings.__elizaEntityWriteDiagnosticsInstalled = true;
|
|
1749
|
+
}
|
|
1750
|
+
runtimeWithBindings.__elizaMethodBindingsInstalled = true;
|
|
1751
|
+
}
|
|
1752
|
+
function installActionAliases(runtime) {
|
|
1753
|
+
const runtimeWithAliases = runtime;
|
|
1754
|
+
if (runtimeWithAliases.__elizaActionAliasesInstalled) {
|
|
1755
|
+
return;
|
|
1756
|
+
}
|
|
1757
|
+
const actions = Array.isArray(runtimeWithAliases.actions)
|
|
1758
|
+
? runtimeWithAliases.actions
|
|
1759
|
+
: [];
|
|
1760
|
+
// Keep compaction automatic-only; do not allow manual COMPACT_SESSION invokes.
|
|
1761
|
+
const compactSessionIndex = actions.findIndex((action) => action?.name?.toUpperCase() === "COMPACT_SESSION");
|
|
1762
|
+
if (compactSessionIndex !== -1) {
|
|
1763
|
+
actions.splice(compactSessionIndex, 1);
|
|
1764
|
+
logger.info("[eliza] Disabled manual COMPACT_SESSION action; auto-compaction remains enabled");
|
|
1765
|
+
}
|
|
1766
|
+
// Compatibility alias: older prompts/docs still reference CODE_TASK,
|
|
1767
|
+
// while agent-orchestrator exposes CREATE_TASK.
|
|
1768
|
+
const createTaskAction = actions.find((action) => action?.name?.toUpperCase() === "CREATE_TASK");
|
|
1769
|
+
if (createTaskAction) {
|
|
1770
|
+
const similes = Array.isArray(createTaskAction.similes)
|
|
1771
|
+
? createTaskAction.similes
|
|
1772
|
+
: [];
|
|
1773
|
+
const hasCodeTaskAlias = similes.some((simile) => simile.toUpperCase() === "CODE_TASK");
|
|
1774
|
+
if (!hasCodeTaskAlias) {
|
|
1775
|
+
createTaskAction.similes = [...similes, "CODE_TASK"];
|
|
1776
|
+
logger.info("[eliza] Added action alias CODE_TASK -> CREATE_TASK for agent-orchestrator");
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
runtimeWithAliases.__elizaActionAliasesInstalled = true;
|
|
1780
|
+
}
|
|
1781
|
+
async function registerSqlPluginWithRecovery(runtime, sqlPlugin, config) {
|
|
1782
|
+
let registerError = null;
|
|
1783
|
+
try {
|
|
1784
|
+
await runtime.registerPlugin(sqlPlugin.plugin);
|
|
1785
|
+
}
|
|
1786
|
+
catch (err) {
|
|
1787
|
+
registerError = err;
|
|
1788
|
+
}
|
|
1789
|
+
if (registerError) {
|
|
1790
|
+
const pgliteDataDir = resolveActivePgliteDataDir(config);
|
|
1791
|
+
if (!pgliteDataDir) {
|
|
1792
|
+
throw registerError;
|
|
1793
|
+
}
|
|
1794
|
+
const recoveryAction = getPgliteRecoveryAction(registerError, pgliteDataDir);
|
|
1795
|
+
if (recoveryAction === "none") {
|
|
1796
|
+
throw registerError;
|
|
1797
|
+
}
|
|
1798
|
+
if (recoveryAction === "fail-active-lock") {
|
|
1799
|
+
throw createActivePgliteLockError(pgliteDataDir, registerError);
|
|
1800
|
+
}
|
|
1801
|
+
if (recoveryAction === "fail-manual-reset") {
|
|
1802
|
+
throw createManualResetRequiredPgliteError(pgliteDataDir, registerError);
|
|
1803
|
+
}
|
|
1804
|
+
logger.warn(`[eliza] SQL plugin registration failed (${formatError(registerError)}). Cleared a stale PGLite lock in ${pgliteDataDir} and retrying without resetting data.`);
|
|
1805
|
+
try {
|
|
1806
|
+
await runtime.registerPlugin(sqlPlugin.plugin);
|
|
1807
|
+
}
|
|
1808
|
+
catch (retryErr) {
|
|
1809
|
+
if (!isPluginAlreadyRegisteredError(retryErr)) {
|
|
1810
|
+
throw retryErr;
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
await initializeDatabaseAdapter(runtime, config);
|
|
1815
|
+
}
|
|
1816
|
+
/**
|
|
1817
|
+
* Build an elizaOS Character from the Eliza config.
|
|
1818
|
+
*
|
|
1819
|
+
* Resolves the agent name from `config.agents.list` (first entry) or
|
|
1820
|
+
* `config.ui.assistant.name`, falling back to the default bundled preset.
|
|
1821
|
+
* Character
|
|
1822
|
+
* personality data (bio, system prompt, style, etc.) is stored in the
|
|
1823
|
+
* database — not the config file — so we only provide sensible defaults
|
|
1824
|
+
* here for the initial setup.
|
|
1825
|
+
*/
|
|
1826
|
+
/** @internal Exported for testing. */
|
|
1827
|
+
export function buildCharacterFromConfig(config) {
|
|
1828
|
+
const agentEntry = config.agents?.list?.[0];
|
|
1829
|
+
const uiConfig = (config.ui ?? {});
|
|
1830
|
+
const language = normalizeCharacterLanguage(uiConfig.language);
|
|
1831
|
+
const configuredUiName = uiConfig.assistant?.name?.trim();
|
|
1832
|
+
const configuredAgentName = agentEntry?.name?.trim();
|
|
1833
|
+
// Prefer the UI-level assistant name when it diverges from the bundled
|
|
1834
|
+
// preset entry so renames take effect immediately across prompts/logging.
|
|
1835
|
+
const configuredName = configuredUiName || configuredAgentName;
|
|
1836
|
+
const bundledPreset = resolveStylePresetById(uiConfig.presetId, language) ??
|
|
1837
|
+
resolveStylePresetByAvatarIndex(uiConfig.avatarIndex, language) ??
|
|
1838
|
+
resolveStylePresetByName(configuredName, language) ??
|
|
1839
|
+
(configuredName ? undefined : getDefaultStylePreset(language));
|
|
1840
|
+
const name = configuredName ??
|
|
1841
|
+
bundledPreset?.name ??
|
|
1842
|
+
getDefaultStylePreset(language).name;
|
|
1843
|
+
// Read personality fields from the agent config entry (set during
|
|
1844
|
+
// onboarding from the chosen style preset). Fall back to generic
|
|
1845
|
+
// defaults when the preset data is not present (e.g. pre-onboarding
|
|
1846
|
+
// setup or configs created before this change). For built-in default
|
|
1847
|
+
// characters, fall back to the bundled preset so legacy name-only configs
|
|
1848
|
+
// still retain their default posts/messages.
|
|
1849
|
+
const bio = agentEntry?.bio ??
|
|
1850
|
+
bundledPreset?.bio ?? [
|
|
1851
|
+
"{{name}} is an AI assistant powered by Eliza and elizaOS.",
|
|
1852
|
+
];
|
|
1853
|
+
const systemPrompt = agentEntry?.system ??
|
|
1854
|
+
bundledPreset?.system ??
|
|
1855
|
+
"You are {{name}}, an autonomous AI agent powered by elizaOS.";
|
|
1856
|
+
const style = agentEntry?.style ?? bundledPreset?.style;
|
|
1857
|
+
const adjectives = agentEntry?.adjectives ?? bundledPreset?.adjectives;
|
|
1858
|
+
const topics = agentEntry?.topics && agentEntry.topics.length > 0
|
|
1859
|
+
? agentEntry.topics
|
|
1860
|
+
: bundledPreset?.topics;
|
|
1861
|
+
const postExamples = agentEntry?.postExamples ?? bundledPreset?.postExamples;
|
|
1862
|
+
const messageExamples = agentEntry?.messageExamples ?? bundledPreset?.messageExamples;
|
|
1863
|
+
const advancedMemory = agentEntry?.advancedMemory ??
|
|
1864
|
+
config.agents?.defaults?.advancedMemory ??
|
|
1865
|
+
true;
|
|
1866
|
+
const advancedCapabilitiesEnabled = resolveAdvancedCapabilitiesEnabled(config);
|
|
1867
|
+
const settings = applyAdvancedCapabilitySettings({
|
|
1868
|
+
MEMORY_SUMMARY_MODEL_TYPE: process.env.MEMORY_SUMMARY_MODEL_TYPE?.trim() || "TEXT_SMALL",
|
|
1869
|
+
MEMORY_REFLECTION_MODEL_TYPE: process.env.MEMORY_REFLECTION_MODEL_TYPE?.trim() || "TEXT_LARGE",
|
|
1870
|
+
}, advancedCapabilitiesEnabled);
|
|
1871
|
+
// Collect secrets from process.env (API keys the plugins need)
|
|
1872
|
+
const secretKeys = [
|
|
1873
|
+
"ANTHROPIC_API_KEY",
|
|
1874
|
+
"OPENAI_API_KEY",
|
|
1875
|
+
"GEMINI_API_KEY",
|
|
1876
|
+
"GOOGLE_API_KEY",
|
|
1877
|
+
"GOOGLE_GENERATIVE_AI_API_KEY",
|
|
1878
|
+
"GROQ_API_KEY",
|
|
1879
|
+
"XAI_API_KEY",
|
|
1880
|
+
"OPENROUTER_API_KEY",
|
|
1881
|
+
"AI_GATEWAY_API_KEY",
|
|
1882
|
+
"AIGATEWAY_API_KEY",
|
|
1883
|
+
"AI_GATEWAY_BASE_URL",
|
|
1884
|
+
"AI_GATEWAY_SMALL_MODEL",
|
|
1885
|
+
"AI_GATEWAY_LARGE_MODEL",
|
|
1886
|
+
"AI_GATEWAY_EMBEDDING_MODEL",
|
|
1887
|
+
"AI_GATEWAY_EMBEDDING_DIMENSIONS",
|
|
1888
|
+
"AI_GATEWAY_IMAGE_MODEL",
|
|
1889
|
+
"AI_GATEWAY_TIMEOUT_MS",
|
|
1890
|
+
"OLLAMA_BASE_URL",
|
|
1891
|
+
"DISCORD_API_TOKEN",
|
|
1892
|
+
"DISCORD_APPLICATION_ID",
|
|
1893
|
+
"DISCORD_BOT_TOKEN",
|
|
1894
|
+
"TELEGRAM_BOT_TOKEN",
|
|
1895
|
+
"WHATSAPP_ACCESS_TOKEN",
|
|
1896
|
+
"WHATSAPP_PHONE_NUMBER_ID",
|
|
1897
|
+
"WHATSAPP_AUTH_DIR",
|
|
1898
|
+
"WHATSAPP_SESSION_PATH",
|
|
1899
|
+
"WHATSAPP_WEBHOOK_VERIFY_TOKEN",
|
|
1900
|
+
"WHATSAPP_API_VERSION",
|
|
1901
|
+
"WHATSAPP_DM_POLICY",
|
|
1902
|
+
"WHATSAPP_GROUP_POLICY",
|
|
1903
|
+
"WHATSAPP_ALLOW_FROM",
|
|
1904
|
+
"WHATSAPP_GROUP_ALLOW_FROM",
|
|
1905
|
+
"TELEGRAM_ACCOUNT_PHONE",
|
|
1906
|
+
"TELEGRAM_ACCOUNT_APP_ID",
|
|
1907
|
+
"TELEGRAM_ACCOUNT_APP_HASH",
|
|
1908
|
+
"TELEGRAM_ACCOUNT_DEVICE_MODEL",
|
|
1909
|
+
"TELEGRAM_ACCOUNT_SYSTEM_VERSION",
|
|
1910
|
+
"SLACK_BOT_TOKEN",
|
|
1911
|
+
"SLACK_APP_TOKEN",
|
|
1912
|
+
"SLACK_USER_TOKEN",
|
|
1913
|
+
"SIGNAL_ACCOUNT_NUMBER",
|
|
1914
|
+
"MSTEAMS_APP_ID",
|
|
1915
|
+
"MSTEAMS_APP_PASSWORD",
|
|
1916
|
+
"MATTERMOST_BOT_TOKEN",
|
|
1917
|
+
"MATTERMOST_BASE_URL",
|
|
1918
|
+
// ElizaCloud secrets
|
|
1919
|
+
"ELIZAOS_CLOUD_API_KEY",
|
|
1920
|
+
"ELIZAOS_CLOUD_BASE_URL",
|
|
1921
|
+
"ELIZAOS_CLOUD_ENABLED",
|
|
1922
|
+
// Wallet / blockchain secrets
|
|
1923
|
+
"EVM_PRIVATE_KEY",
|
|
1924
|
+
"SOLANA_PRIVATE_KEY",
|
|
1925
|
+
"ALCHEMY_API_KEY",
|
|
1926
|
+
"HELIUS_API_KEY",
|
|
1927
|
+
"BIRDEYE_API_KEY",
|
|
1928
|
+
"SOLANA_RPC_URL",
|
|
1929
|
+
"X402_PRIVATE_KEY",
|
|
1930
|
+
"X402_NETWORK",
|
|
1931
|
+
"X402_PAY_TO",
|
|
1932
|
+
"X402_FACILITATOR_URL",
|
|
1933
|
+
"X402_MAX_PAYMENT_USD",
|
|
1934
|
+
"X402_MAX_TOTAL_USD",
|
|
1935
|
+
"X402_ENABLED",
|
|
1936
|
+
"X402_DB_PATH",
|
|
1937
|
+
// n8n workflow plugin (resolved by applyN8nConfigToEnv)
|
|
1938
|
+
"N8N_HOST",
|
|
1939
|
+
"N8N_API_KEY",
|
|
1940
|
+
// GitHub access for coding agent plugin
|
|
1941
|
+
"GITHUB_TOKEN",
|
|
1942
|
+
"GITHUB_OAUTH_CLIENT_ID",
|
|
1943
|
+
];
|
|
1944
|
+
const secrets = {};
|
|
1945
|
+
for (const key of secretKeys) {
|
|
1946
|
+
const value = process.env[key];
|
|
1947
|
+
if (value?.trim()) {
|
|
1948
|
+
secrets[key] = value;
|
|
1949
|
+
}
|
|
1950
|
+
}
|
|
1951
|
+
// Normalise messageExamples to the {examples: [{name,content}]} shape
|
|
1952
|
+
// that @elizaos/core expects. Config may contain EITHER format:
|
|
1953
|
+
// OLD (preset/onboarding): [[{user, content}, ...], ...]
|
|
1954
|
+
// NEW (@elizaos/core): [{examples: [{name, content}, ...]}, ...]
|
|
1955
|
+
const mappedExamples = messageExamples?.map((item) => {
|
|
1956
|
+
// Already in new format — pass through
|
|
1957
|
+
if (item &&
|
|
1958
|
+
typeof item === "object" &&
|
|
1959
|
+
"examples" in item) {
|
|
1960
|
+
return item;
|
|
1961
|
+
}
|
|
1962
|
+
// Old format — array of {user, content} entries
|
|
1963
|
+
const arr = item;
|
|
1964
|
+
return {
|
|
1965
|
+
examples: arr.map((msg) => ({
|
|
1966
|
+
name: msg.name ?? msg.user ?? "",
|
|
1967
|
+
content: msg.content,
|
|
1968
|
+
})),
|
|
1969
|
+
};
|
|
1970
|
+
});
|
|
1971
|
+
// Capability hints — append short descriptions of features the runtime has
|
|
1972
|
+
// auto-enabled so the model knows about new actions/tools without requiring
|
|
1973
|
+
// the user to hand-edit the system prompt. Kept terse (one sentence per
|
|
1974
|
+
// capability) to stay out of the way of the preset's voice.
|
|
1975
|
+
const capabilityHints = [];
|
|
1976
|
+
const n8nMasterEnabled = config.n8n?.enabled !== false;
|
|
1977
|
+
const n8nExplicitlyDisabled = config.plugins?.entries?.["n8n-workflow"]?.enabled === false;
|
|
1978
|
+
const n8nCloudAuthed = Boolean(config.cloud?.apiKey && config.cloud?.enabled !== false);
|
|
1979
|
+
const n8nLocalEnabled = config.n8n?.localEnabled !== false;
|
|
1980
|
+
if (n8nMasterEnabled &&
|
|
1981
|
+
!n8nExplicitlyDisabled &&
|
|
1982
|
+
(n8nCloudAuthed || n8nLocalEnabled)) {
|
|
1983
|
+
capabilityHints.push("You can create, activate, deactivate, and delete n8n workflows via natural language using the n8n workflow actions.");
|
|
1984
|
+
}
|
|
1985
|
+
const effectiveSystemPrompt = capabilityHints.length > 0
|
|
1986
|
+
? `${systemPrompt}\n\n${capabilityHints.join("\n")}`
|
|
1987
|
+
: systemPrompt;
|
|
1988
|
+
return mergeCharacterDefaults({
|
|
1989
|
+
name,
|
|
1990
|
+
...(agentEntry?.username ? { username: agentEntry.username } : {}),
|
|
1991
|
+
bio,
|
|
1992
|
+
system: effectiveSystemPrompt,
|
|
1993
|
+
...(topics ? { topics } : {}),
|
|
1994
|
+
...(style ? { style } : {}),
|
|
1995
|
+
...(adjectives ? { adjectives } : {}),
|
|
1996
|
+
...(postExamples ? { postExamples } : {}),
|
|
1997
|
+
...(mappedExamples ? { messageExamples: mappedExamples } : {}),
|
|
1998
|
+
advancedMemory,
|
|
1999
|
+
settings,
|
|
2000
|
+
secrets,
|
|
2001
|
+
});
|
|
2002
|
+
}
|
|
2003
|
+
/**
|
|
2004
|
+
* Resolve the primary model identifier from Eliza config.
|
|
2005
|
+
*
|
|
2006
|
+
* Eliza stores the model under `agents.defaults.model.primary` as an
|
|
2007
|
+
* AgentModelListConfig object. Returns undefined when no model is
|
|
2008
|
+
* explicitly configured (elizaOS falls back to whichever model
|
|
2009
|
+
* plugin is loaded).
|
|
2010
|
+
*/
|
|
2011
|
+
/** @internal Exported for testing. */
|
|
2012
|
+
export function resolvePrimaryModel(config) {
|
|
2013
|
+
const modelConfig = config.agents?.defaults?.model;
|
|
2014
|
+
if (!modelConfig)
|
|
2015
|
+
return undefined;
|
|
2016
|
+
// AgentDefaultsConfig.model is AgentModelListConfig: { primary?, fallbacks? }
|
|
2017
|
+
return modelConfig.primary;
|
|
2018
|
+
}
|
|
2019
|
+
function resolveProviderIdFromSelectionHint(value) {
|
|
2020
|
+
const trimmed = trimEnvString(value);
|
|
2021
|
+
if (!trimmed)
|
|
2022
|
+
return undefined;
|
|
2023
|
+
return (normalizeOnboardingProviderId(trimmed) ??
|
|
2024
|
+
normalizeOnboardingProviderId(trimmed.split("/", 1)[0]) ??
|
|
2025
|
+
undefined);
|
|
2026
|
+
}
|
|
2027
|
+
/** @internal Exported for testing. */
|
|
2028
|
+
export function resolvePreferredProviderId(config) {
|
|
2029
|
+
const llmText = resolveServiceRoutingInConfig(config)?.llmText;
|
|
2030
|
+
const backend = normalizeOnboardingProviderId(llmText?.backend);
|
|
2031
|
+
if (llmText?.transport === "cloud-proxy" && backend === "elizacloud") {
|
|
2032
|
+
return "elizacloud";
|
|
2033
|
+
}
|
|
2034
|
+
if (llmText?.transport === "direct") {
|
|
2035
|
+
const directProvider = backend && backend !== "elizacloud" ? backend : undefined;
|
|
2036
|
+
return (directProvider ?? resolveProviderIdFromSelectionHint(llmText.primaryModel));
|
|
2037
|
+
}
|
|
2038
|
+
if (llmText?.transport === "remote") {
|
|
2039
|
+
const remoteProvider = backend && backend !== "elizacloud" ? backend : undefined;
|
|
2040
|
+
return (remoteProvider ?? resolveProviderIdFromSelectionHint(llmText.primaryModel));
|
|
2041
|
+
}
|
|
2042
|
+
return resolveProviderIdFromSelectionHint(resolvePrimaryModel(config));
|
|
2043
|
+
}
|
|
2044
|
+
/** @internal Exported for testing. */
|
|
2045
|
+
export function resolvePreferredProviderPluginName(config) {
|
|
2046
|
+
const providerId = resolvePreferredProviderId(config);
|
|
2047
|
+
return providerId
|
|
2048
|
+
? getOnboardingProviderOption(providerId)?.pluginName
|
|
2049
|
+
: undefined;
|
|
2050
|
+
}
|
|
2051
|
+
/**
|
|
2052
|
+
* Vision is a heavy optional plugin. When Eliza enables it, keep the service
|
|
2053
|
+
* loaded but idle until the user explicitly selects CAMERA, SCREEN, or BOTH.
|
|
2054
|
+
* This avoids background capture loops during normal app startup.
|
|
2055
|
+
*/
|
|
2056
|
+
export function resolveVisionModeSetting(config, env = process.env) {
|
|
2057
|
+
const explicitMode = env.VISION_MODE?.trim();
|
|
2058
|
+
if (explicitMode)
|
|
2059
|
+
return explicitMode;
|
|
2060
|
+
if (config.features?.vision === true)
|
|
2061
|
+
return "OFF";
|
|
2062
|
+
return undefined;
|
|
2063
|
+
}
|
|
2064
|
+
/** @internal Exported for testing. */
|
|
2065
|
+
export function resolveWalletRuntimeSettings(config, env = process.env) {
|
|
2066
|
+
const directRpcUrl = trimEnvString(env.SOLANA_RPC_URL);
|
|
2067
|
+
const solanaNoActions = trimEnvString(env.SOLANA_NO_ACTIONS);
|
|
2068
|
+
const configEnv = config?.env;
|
|
2069
|
+
const configVars = configEnv?.vars &&
|
|
2070
|
+
typeof configEnv.vars === "object" &&
|
|
2071
|
+
!Array.isArray(configEnv.vars)
|
|
2072
|
+
? configEnv.vars
|
|
2073
|
+
: undefined;
|
|
2074
|
+
const getConfigEnvString = (key) => {
|
|
2075
|
+
const value = configVars?.[key] ?? configEnv?.[key];
|
|
2076
|
+
return typeof value === "string" && value.trim() ? value.trim() : undefined;
|
|
2077
|
+
};
|
|
2078
|
+
const explicitSolanaPublicKey = trimEnvString(env.SOLANA_PUBLIC_KEY) ??
|
|
2079
|
+
trimEnvString(env.WALLET_PUBLIC_KEY) ??
|
|
2080
|
+
getConfigEnvString("SOLANA_PUBLIC_KEY") ??
|
|
2081
|
+
getConfigEnvString("WALLET_PUBLIC_KEY");
|
|
2082
|
+
const derivedSolanaPublicKey = trimEnvString(getWalletAddresses().solanaAddress) ??
|
|
2083
|
+
trimEnvString(syncSolanaPublicKeyEnv(getConfigEnvString("SOLANA_PRIVATE_KEY")));
|
|
2084
|
+
const solanaPublicKey = explicitSolanaPublicKey ?? derivedSolanaPublicKey;
|
|
2085
|
+
const settings = {};
|
|
2086
|
+
if (directRpcUrl) {
|
|
2087
|
+
settings.SOLANA_RPC_URL = directRpcUrl;
|
|
2088
|
+
}
|
|
2089
|
+
if (solanaNoActions) {
|
|
2090
|
+
settings.SOLANA_NO_ACTIONS = solanaNoActions;
|
|
2091
|
+
}
|
|
2092
|
+
if (!solanaPublicKey) {
|
|
2093
|
+
return settings;
|
|
2094
|
+
}
|
|
2095
|
+
settings.SOLANA_PUBLIC_KEY = solanaPublicKey;
|
|
2096
|
+
settings.WALLET_PUBLIC_KEY = solanaPublicKey;
|
|
2097
|
+
return settings;
|
|
2098
|
+
}
|
|
2099
|
+
/**
|
|
2100
|
+
* Boot the elizaOS runtime without starting the readline chat loop.
|
|
2101
|
+
*
|
|
2102
|
+
* This is a convenience wrapper around {@link startEliza} in headless mode,
|
|
2103
|
+
* with optional config guards.
|
|
2104
|
+
*/
|
|
2105
|
+
export async function bootElizaRuntime(opts = {}) {
|
|
2106
|
+
if (opts.requireConfig && !configFileExists()) {
|
|
2107
|
+
throw new Error("No config found. Run `eliza start` once to complete setup.");
|
|
2108
|
+
}
|
|
2109
|
+
const runtime = await startEliza({ headless: true });
|
|
2110
|
+
if (!runtime) {
|
|
2111
|
+
throw new Error("Failed to boot runtime");
|
|
2112
|
+
}
|
|
2113
|
+
return runtime;
|
|
2114
|
+
}
|
|
2115
|
+
const LEVEL_TO_NAME = {
|
|
2116
|
+
10: "trace",
|
|
2117
|
+
20: "debug",
|
|
2118
|
+
27: "success",
|
|
2119
|
+
28: "progress",
|
|
2120
|
+
29: "log",
|
|
2121
|
+
30: "info",
|
|
2122
|
+
40: "warn",
|
|
2123
|
+
50: "error",
|
|
2124
|
+
60: "fatal",
|
|
2125
|
+
};
|
|
2126
|
+
export const logToChatListener = (entry) => {
|
|
2127
|
+
if (entry.roomId && entry.runtime) {
|
|
2128
|
+
const runtime = entry.runtime;
|
|
2129
|
+
// access dynamic property
|
|
2130
|
+
const overrides = runtime.logLevelOverrides;
|
|
2131
|
+
const overrideLevel = overrides?.get(String(entry.roomId));
|
|
2132
|
+
if (overrideLevel) {
|
|
2133
|
+
const levelKey = entry.level;
|
|
2134
|
+
const levelName = (levelKey && LEVEL_TO_NAME[levelKey] ? LEVEL_TO_NAME[levelKey] : "log").toUpperCase();
|
|
2135
|
+
const prefix = `[${levelName}]`;
|
|
2136
|
+
const content = `${prefix} ${entry.msg}`;
|
|
2137
|
+
// Prevent infinite loops by suppressing logs from this action
|
|
2138
|
+
runtime
|
|
2139
|
+
.sendMessageToTarget({ roomId: entry.roomId }, {
|
|
2140
|
+
text: `\`\`\`\n${content}\n\`\`\``,
|
|
2141
|
+
source: "system",
|
|
2142
|
+
isLog: "true",
|
|
2143
|
+
})
|
|
2144
|
+
.catch((err) => {
|
|
2145
|
+
logger.debug(`[runtime] failed to send log message to target: ${err}`);
|
|
2146
|
+
});
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
};
|
|
2150
|
+
/**
|
|
2151
|
+
* Start the elizaOS runtime with Eliza's configuration.
|
|
2152
|
+
*
|
|
2153
|
+
* In headless mode the runtime is returned instead of entering the
|
|
2154
|
+
* interactive readline loop.
|
|
2155
|
+
*/
|
|
2156
|
+
export async function startEliza(opts) {
|
|
2157
|
+
// Start buffering logs early so startup messages appear in the UI log viewer
|
|
2158
|
+
const { captureEarlyLogs } = await import("../api/early-logs.js");
|
|
2159
|
+
captureEarlyLogs();
|
|
2160
|
+
// Register log listener for chat mirroring
|
|
2161
|
+
addLogListener(logToChatListener);
|
|
2162
|
+
// 1. Load Eliza config from ~/.eliza/eliza.json
|
|
2163
|
+
let config;
|
|
2164
|
+
try {
|
|
2165
|
+
config = loadElizaConfig();
|
|
2166
|
+
}
|
|
2167
|
+
catch (err) {
|
|
2168
|
+
if (err.code === "ENOENT") {
|
|
2169
|
+
logger.warn("[eliza] No config found, using defaults");
|
|
2170
|
+
// All ElizaConfig fields are optional, so an empty object is
|
|
2171
|
+
// structurally valid. The `as` cast is safe here.
|
|
2172
|
+
config = {};
|
|
2173
|
+
}
|
|
2174
|
+
else {
|
|
2175
|
+
throw err;
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
// 1b. First-run onboarding — ask for agent name if not configured.
|
|
2179
|
+
// In headless mode (GUI) the onboarding is handled by the web UI,
|
|
2180
|
+
// so we skip the interactive CLI prompt and let the runtime start
|
|
2181
|
+
// with defaults. The GUI will restart the agent after onboarding.
|
|
2182
|
+
if (!opts?.headless) {
|
|
2183
|
+
config = await runFirstTimeSetup(config);
|
|
2184
|
+
}
|
|
2185
|
+
// 1c. Apply logging level from config to process.env so the global
|
|
2186
|
+
// @elizaos/core logger (used by plugins) respects it.
|
|
2187
|
+
// config.logging.level is guaranteed to be set (defaults to "error").
|
|
2188
|
+
// Users can still opt into noisy logs via config.logging.level or
|
|
2189
|
+
// an explicit LOG_LEVEL environment variable.
|
|
2190
|
+
if (!process.env.LOG_LEVEL) {
|
|
2191
|
+
process.env.LOG_LEVEL = config.logging?.level ?? "error";
|
|
2192
|
+
}
|
|
2193
|
+
// 2. Push channel secrets into process.env for plugin discovery
|
|
2194
|
+
applyConnectorSecretsToEnv(config);
|
|
2195
|
+
await autoResolveDiscordAppId();
|
|
2196
|
+
// 2b. Propagate cloud config into process.env for ElizaCloud plugin
|
|
2197
|
+
applyCloudConfigToEnv(config);
|
|
2198
|
+
// 2c. Propagate x402 config into process.env
|
|
2199
|
+
applyX402ConfigToEnv(config);
|
|
2200
|
+
// 2d. Propagate database config into process.env for plugin-sql
|
|
2201
|
+
applyDatabaseConfigToEnv(config);
|
|
2202
|
+
// 2e. Propagate arbitrary env vars from config.env into process.env.
|
|
2203
|
+
// Eliza stores user-defined env vars (plugin settings, API URLs, etc.)
|
|
2204
|
+
// in config.env; elizaOS plugins read them via process.env / getSetting.
|
|
2205
|
+
// Skip ELIZAOS_CLOUD_* — applyCloudConfigToEnv() owns those; otherwise a
|
|
2206
|
+
// stale key in config.env refills process.env after disconnect cleared it.
|
|
2207
|
+
if (config.env &&
|
|
2208
|
+
typeof config.env === "object" &&
|
|
2209
|
+
!Array.isArray(config.env)) {
|
|
2210
|
+
for (const [key, value] of Object.entries(config.env)) {
|
|
2211
|
+
if (isElizaCloudManagedProcessEnvKey(key))
|
|
2212
|
+
continue;
|
|
2213
|
+
if (typeof value === "string" && !process.env[key]) {
|
|
2214
|
+
process.env[key] = value;
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2217
|
+
// Also hydrate from config.env.vars — setEnvValue writes API keys to
|
|
2218
|
+
// both config.env["KEY"] and config.env.vars["KEY"]. If the top-level
|
|
2219
|
+
// key was lost (e.g. pruneEnv, config migration), the nested form is
|
|
2220
|
+
// the authoritative source.
|
|
2221
|
+
const vars = config.env.vars;
|
|
2222
|
+
if (vars && typeof vars === "object" && !Array.isArray(vars)) {
|
|
2223
|
+
for (const [key, value] of Object.entries(vars)) {
|
|
2224
|
+
if (isElizaCloudManagedProcessEnvKey(key))
|
|
2225
|
+
continue;
|
|
2226
|
+
if (typeof value === "string" && !process.env[key]) {
|
|
2227
|
+
process.env[key] = value;
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
// Keep the canonical public key env in sync for Solana plugins that still
|
|
2233
|
+
// read process.env directly instead of runtime settings.
|
|
2234
|
+
syncSolanaPublicKeyEnv();
|
|
2235
|
+
normalizeOpenAiCompatibleProviderConfig(config);
|
|
2236
|
+
// Log active database configuration for debugging persistence issues
|
|
2237
|
+
{
|
|
2238
|
+
const dbProvider = config.database?.provider ?? "pglite";
|
|
2239
|
+
const pgliteDir = process.env.PGLITE_DATA_DIR;
|
|
2240
|
+
const postgresUrl = process.env.POSTGRES_URL;
|
|
2241
|
+
logger.info(`[eliza] Database provider: ${dbProvider}` +
|
|
2242
|
+
(dbProvider === "pglite" && pgliteDir
|
|
2243
|
+
? ` | data dir: ${pgliteDir}`
|
|
2244
|
+
: "") +
|
|
2245
|
+
(dbProvider === "postgres" && postgresUrl
|
|
2246
|
+
? ` | connection: ${(postgresUrl.length > 4096 ? postgresUrl.slice(0, 4096) : postgresUrl).replace(/:\/\/([^:@]{1,1024}):([^@]{1,1024})@/, "://$1:***@")}`
|
|
2247
|
+
: ""));
|
|
2248
|
+
}
|
|
2249
|
+
// 2d-iii. OG tracking code initialization
|
|
2250
|
+
try {
|
|
2251
|
+
const { initializeOGCode } = await import("@elizaos/app-elizamaker");
|
|
2252
|
+
initializeOGCode();
|
|
2253
|
+
}
|
|
2254
|
+
catch {
|
|
2255
|
+
// Silent — OG tracking is non-critical
|
|
2256
|
+
}
|
|
2257
|
+
// 2d-ii. Allow destructive migrations (e.g. dropping tables removed between
|
|
2258
|
+
// plugin versions) so the runtime doesn't silently stall. Without this
|
|
2259
|
+
// the migration system throws an error that gets swallowed, leaving the
|
|
2260
|
+
// app hanging indefinitely with no output.
|
|
2261
|
+
if (!process.env.ELIZA_ALLOW_DESTRUCTIVE_MIGRATIONS) {
|
|
2262
|
+
process.env.ELIZA_ALLOW_DESTRUCTIVE_MIGRATIONS = "true";
|
|
2263
|
+
}
|
|
2264
|
+
// 2e-ii. Ensure SECRET_SALT is set to suppress the @elizaos/core default
|
|
2265
|
+
// warning and avoid using a predictable value in production.
|
|
2266
|
+
if (!process.env.SECRET_SALT) {
|
|
2267
|
+
process.env.SECRET_SALT = crypto.randomBytes(32).toString("hex");
|
|
2268
|
+
logger.info("[eliza] Generated random SECRET_SALT for this session");
|
|
2269
|
+
}
|
|
2270
|
+
// 2e-iii. Pre-flight validation for Google AI API keys. If the key looks
|
|
2271
|
+
// obviously invalid (too short, placeholder, wrong prefix), clear it
|
|
2272
|
+
// to prevent plugin-google-genai from making a failing API call.
|
|
2273
|
+
for (const gkey of [
|
|
2274
|
+
"GEMINI_API_KEY",
|
|
2275
|
+
"GOOGLE_API_KEY",
|
|
2276
|
+
"GOOGLE_GENERATIVE_AI_API_KEY",
|
|
2277
|
+
]) {
|
|
2278
|
+
const val = process.env[gkey]?.trim();
|
|
2279
|
+
if (val &&
|
|
2280
|
+
(val.length < 20 || val === "your-key-here" || val.startsWith("sk-"))) {
|
|
2281
|
+
logger.warn(`[eliza] ${gkey} appears invalid (length/format), clearing to skip Google AI plugin`);
|
|
2282
|
+
delete process.env[gkey];
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
// 2f. Apply subscription-based credentials (Claude Max, Codex Max).
|
|
2286
|
+
// Failure is non-fatal — the agent can still start with other providers.
|
|
2287
|
+
// Config is NOT rolled back on failure; partial mutations may persist in
|
|
2288
|
+
// the in-memory config but are not saved to disk until explicit save.
|
|
2289
|
+
try {
|
|
2290
|
+
const { applySubscriptionCredentials } = await import("../auth/index.js");
|
|
2291
|
+
await applySubscriptionCredentials(config);
|
|
2292
|
+
}
|
|
2293
|
+
catch (err) {
|
|
2294
|
+
logger.warn(`[eliza] Failed to apply subscription credentials (agent will continue without them): ${formatError(err)}`);
|
|
2295
|
+
}
|
|
2296
|
+
// 2g. Cloud mode — if the user chose cloud during onboarding (or on a
|
|
2297
|
+
// subsequent start with cloud config), skip local runtime setup and
|
|
2298
|
+
// connect via the thin client instead.
|
|
2299
|
+
const deploymentTarget = resolveDeploymentTargetInConfig(config);
|
|
2300
|
+
if (deploymentTarget.runtime === "cloud" &&
|
|
2301
|
+
deploymentTarget.provider === "elizacloud" &&
|
|
2302
|
+
config.cloud?.apiKey &&
|
|
2303
|
+
config.cloud?.agentId?.trim()) {
|
|
2304
|
+
return startInCloudMode(config, config.cloud.agentId, opts);
|
|
2305
|
+
}
|
|
2306
|
+
// 3. Build elizaOS Character from Eliza config
|
|
2307
|
+
const character = buildCharacterFromConfig(config);
|
|
2308
|
+
const primaryModel = resolvePrimaryModel(config);
|
|
2309
|
+
const preferredProviderId = resolvePreferredProviderId(config);
|
|
2310
|
+
const preferredProviderPluginName = resolvePreferredProviderPluginName(config);
|
|
2311
|
+
// 4. Ensure workspace exists with required files
|
|
2312
|
+
const workspaceDir = config.agents?.defaults?.workspace ?? resolveDefaultAgentWorkspaceDir();
|
|
2313
|
+
await ensureAgentWorkspace({
|
|
2314
|
+
dir: workspaceDir,
|
|
2315
|
+
ensureInitFiles: shouldBootstrapWorkspaceInitFiles(workspaceDir),
|
|
2316
|
+
});
|
|
2317
|
+
// 4b. Ensure custom plugins directory exists for drop-in plugins
|
|
2318
|
+
await fs.mkdir(path.join(resolveStateDir(), CUSTOM_RUNTIME_PLUGINS_DIRNAME), {
|
|
2319
|
+
recursive: true,
|
|
2320
|
+
});
|
|
2321
|
+
// 5. Create the Eliza bridge plugin (workspace context + session keys + compaction)
|
|
2322
|
+
const agentId = character.name?.toLowerCase().replace(/\s+/g, "-") ?? "main";
|
|
2323
|
+
// 5a. If cloud is configured and no local GitHub token, try fetching from cloud
|
|
2324
|
+
await autoFetchCloudGithubToken(config.cloud?.agentId?.trim() || agentId);
|
|
2325
|
+
// 5b. Pump N8N_HOST + N8N_API_KEY into process.env for
|
|
2326
|
+
// @elizaos/plugin-n8n-workflow. Must run AFTER applyCloudConfigToEnv
|
|
2327
|
+
// (2b above) and AFTER agentId is derived — the cloud gateway URL
|
|
2328
|
+
// embeds the agent id. Prefer the persisted cloud-agent id when set;
|
|
2329
|
+
// fall back to the derived local agent slug.
|
|
2330
|
+
applyN8nConfigToEnv(config, config.cloud?.agentId?.trim() || agentId);
|
|
2331
|
+
const elizaPlugin = createElizaPlugin({
|
|
2332
|
+
workspaceDir,
|
|
2333
|
+
agentId,
|
|
2334
|
+
});
|
|
2335
|
+
// 6. Resolve and load plugins
|
|
2336
|
+
// In headless (GUI) mode before onboarding, the user hasn't configured a
|
|
2337
|
+
// provider yet. Downgrade diagnostics so the expected "no AI provider"
|
|
2338
|
+
// state doesn't appear as a scary Error in the terminal.
|
|
2339
|
+
const preOnboarding = opts?.headless && !config.agents;
|
|
2340
|
+
const resolvedPlugins = await resolvePlugins(config, {
|
|
2341
|
+
quiet: preOnboarding,
|
|
2342
|
+
});
|
|
2343
|
+
if (resolvedPlugins.length === 0) {
|
|
2344
|
+
if (preOnboarding) {
|
|
2345
|
+
logger.info("[eliza] No plugins loaded yet — the onboarding wizard will configure a model provider");
|
|
2346
|
+
}
|
|
2347
|
+
else {
|
|
2348
|
+
logger.error("[eliza] No plugins loaded — at least one model provider plugin is required");
|
|
2349
|
+
logger.error("[eliza] Set an API key (e.g. ANTHROPIC_API_KEY, OPENAI_API_KEY) in your environment");
|
|
2350
|
+
throw new Error("No plugins loaded");
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
// 6b. Debug logging — print full context after provider + plugin resolution
|
|
2354
|
+
{
|
|
2355
|
+
const pluginNames = resolvedPlugins.map((p) => p.name);
|
|
2356
|
+
const providerNames = resolvedPlugins
|
|
2357
|
+
.flatMap((p) => p.plugin.providers ?? [])
|
|
2358
|
+
.map((prov) => prov.name);
|
|
2359
|
+
// Build a context summary for validation
|
|
2360
|
+
const contextSummary = {
|
|
2361
|
+
agentName: character.name,
|
|
2362
|
+
pluginCount: resolvedPlugins.length,
|
|
2363
|
+
providerCount: providerNames.length,
|
|
2364
|
+
primaryModel: primaryModel ?? "(auto-detect)",
|
|
2365
|
+
preferredProvider: preferredProviderId ?? "(auto-detect)",
|
|
2366
|
+
workspaceDir,
|
|
2367
|
+
};
|
|
2368
|
+
debugLogResolvedContext(pluginNames, providerNames, contextSummary, (msg) => logger.debug(msg));
|
|
2369
|
+
// Validate the context and surface issues early
|
|
2370
|
+
const contextValidation = validateRuntimeContext(contextSummary);
|
|
2371
|
+
if (!contextValidation.valid) {
|
|
2372
|
+
const issues = [];
|
|
2373
|
+
if (contextValidation.nullFields.length > 0) {
|
|
2374
|
+
issues.push(`null: ${contextValidation.nullFields.join(", ")}`);
|
|
2375
|
+
}
|
|
2376
|
+
if (contextValidation.undefinedFields.length > 0) {
|
|
2377
|
+
issues.push(`undefined: ${contextValidation.undefinedFields.join(", ")}`);
|
|
2378
|
+
}
|
|
2379
|
+
if (contextValidation.emptyFields.length > 0) {
|
|
2380
|
+
issues.push(`empty: ${contextValidation.emptyFields.join(", ")}`);
|
|
2381
|
+
}
|
|
2382
|
+
logger.warn(`[eliza] Context validation issues detected: ${issues.join("; ")}`);
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
// 7. Create the AgentRuntime with Eliza plugin + resolved plugins
|
|
2386
|
+
// All CORE_PLUGINS are pre-registered sequentially (in CORE_PLUGINS
|
|
2387
|
+
// order) before runtime.initialize() so that cross-plugin getService()
|
|
2388
|
+
// calls always resolve. runtime.initialize() registers remaining
|
|
2389
|
+
// characterPlugins (connectors, providers, custom) in parallel — those
|
|
2390
|
+
// are NOT core and don't have ordering dependencies.
|
|
2391
|
+
const PREREGISTER_PLUGINS = new Set(CORE_PLUGINS);
|
|
2392
|
+
const sqlPlugin = resolvedPlugins.find((p) => p.name === "@elizaos/plugin-sql");
|
|
2393
|
+
const localEmbeddingPlugin = resolvedPlugins.find((p) => p.name === "@elizaos/plugin-local-embedding");
|
|
2394
|
+
const otherPlugins = resolvedPlugins.filter((p) => !PREREGISTER_PLUGINS.has(p.name));
|
|
2395
|
+
// Resolve the runtime log level from config (AgentRuntime doesn't support
|
|
2396
|
+
// "silent", so we map it to "fatal" as the quietest supported level).
|
|
2397
|
+
const runtimeLogLevel = (() => {
|
|
2398
|
+
// process.env.LOG_LEVEL is already resolved (set explicitly or from
|
|
2399
|
+
// config.logging.level above), so prefer it to honour the dev-mode
|
|
2400
|
+
// LOG_LEVEL=error override set by eliza/packages/app-core/scripts/dev-ui.mjs.
|
|
2401
|
+
const lvl = process.env.LOG_LEVEL ?? config.logging?.level ?? "error";
|
|
2402
|
+
if (lvl === "silent")
|
|
2403
|
+
return "fatal";
|
|
2404
|
+
return lvl;
|
|
2405
|
+
})();
|
|
2406
|
+
// 7a. Resolve bundled skills directory from @elizaos/skills so
|
|
2407
|
+
// plugin-agent-skills auto-loads them on startup.
|
|
2408
|
+
let bundledSkillsDir = null;
|
|
2409
|
+
try {
|
|
2410
|
+
const { getSkillsDir } = (await import("@elizaos/skills"));
|
|
2411
|
+
bundledSkillsDir = getSkillsDir();
|
|
2412
|
+
logger.info(`[eliza] Bundled skills dir: ${bundledSkillsDir}`);
|
|
2413
|
+
}
|
|
2414
|
+
catch {
|
|
2415
|
+
logger.debug("[eliza] @elizaos/skills not available — bundled skills will not be loaded");
|
|
2416
|
+
}
|
|
2417
|
+
// Workspace skills directory (highest precedence for overrides)
|
|
2418
|
+
const workspaceSkillsDir = workspaceDir ? `${workspaceDir}/skills` : null;
|
|
2419
|
+
const managedSkillsDir = path.join(resolveStateDir(), "skills");
|
|
2420
|
+
// ── Sandbox mode setup ──────────────────────────────────────────────────
|
|
2421
|
+
const sandboxConfig = config.agents?.defaults?.sandbox;
|
|
2422
|
+
const sandboxModeStr = sandboxConfig
|
|
2423
|
+
?.mode;
|
|
2424
|
+
const sandboxMode = sandboxModeStr === "light" ||
|
|
2425
|
+
sandboxModeStr === "standard" ||
|
|
2426
|
+
sandboxModeStr === "max"
|
|
2427
|
+
? sandboxModeStr
|
|
2428
|
+
: "off";
|
|
2429
|
+
const isSandboxActive = sandboxMode !== "off";
|
|
2430
|
+
let sandboxManager = null;
|
|
2431
|
+
let sandboxAuditLog = null;
|
|
2432
|
+
if (isSandboxActive) {
|
|
2433
|
+
logger.info(`[eliza] Sandbox mode: ${sandboxMode}`);
|
|
2434
|
+
sandboxAuditLog = new SandboxAuditLog({ console: true });
|
|
2435
|
+
// Standard/max modes also start the container sandbox manager
|
|
2436
|
+
if (sandboxMode === "standard" || sandboxMode === "max") {
|
|
2437
|
+
const dockerSettings = sandboxConfig?.docker;
|
|
2438
|
+
const browserSettings = sandboxConfig?.browser;
|
|
2439
|
+
sandboxManager = new SandboxManager({
|
|
2440
|
+
mode: sandboxMode,
|
|
2441
|
+
image: dockerSettings?.image ?? undefined,
|
|
2442
|
+
containerPrefix: dockerSettings?.containerPrefix ?? undefined,
|
|
2443
|
+
network: dockerSettings?.network ?? undefined,
|
|
2444
|
+
memory: dockerSettings?.memory ?? undefined,
|
|
2445
|
+
cpus: dockerSettings?.cpus ?? undefined,
|
|
2446
|
+
workspaceRoot: workspaceDir ?? undefined,
|
|
2447
|
+
browser: browserSettings
|
|
2448
|
+
? {
|
|
2449
|
+
enabled: browserSettings.enabled ?? false,
|
|
2450
|
+
image: browserSettings.image ?? undefined,
|
|
2451
|
+
cdpPort: browserSettings.cdpPort ?? undefined,
|
|
2452
|
+
vncPort: browserSettings.vncPort ?? undefined,
|
|
2453
|
+
noVncPort: browserSettings.noVncPort ?? undefined,
|
|
2454
|
+
headless: browserSettings.headless ?? undefined,
|
|
2455
|
+
enableNoVnc: browserSettings.enableNoVnc ?? undefined,
|
|
2456
|
+
autoStart: browserSettings.autoStart ?? true,
|
|
2457
|
+
autoStartTimeoutMs: browserSettings.autoStartTimeoutMs ?? undefined,
|
|
2458
|
+
}
|
|
2459
|
+
: undefined,
|
|
2460
|
+
});
|
|
2461
|
+
try {
|
|
2462
|
+
await sandboxManager.start();
|
|
2463
|
+
logger.info("[eliza] Sandbox manager started");
|
|
2464
|
+
}
|
|
2465
|
+
catch (err) {
|
|
2466
|
+
logger.error(`[eliza] Sandbox manager failed to start: ${err instanceof Error ? err.message : String(err)}`);
|
|
2467
|
+
// Non-fatal: light mode fallback
|
|
2468
|
+
}
|
|
2469
|
+
}
|
|
2470
|
+
sandboxAuditLog.record({
|
|
2471
|
+
type: "sandbox_lifecycle",
|
|
2472
|
+
summary: `Sandbox initialized: mode=${sandboxMode}`,
|
|
2473
|
+
severity: "info",
|
|
2474
|
+
});
|
|
2475
|
+
}
|
|
2476
|
+
// ── End sandbox setup ───────────────────────────────────────────────────
|
|
2477
|
+
// ── Boost preferred provider plugin priority ──────────────────────────
|
|
2478
|
+
// elizaOS selects the model handler with the highest `priority` for each
|
|
2479
|
+
// ModelType. All provider plugins default to priority 0, so whichever
|
|
2480
|
+
// registers first wins — essentially random when using Promise.all.
|
|
2481
|
+
// When the user has explicitly selected a provider or model, prefer that
|
|
2482
|
+
// provider's plugin so its handlers are selected over registration order.
|
|
2483
|
+
const pluginsForRuntime = otherPlugins.map((p) => p.plugin);
|
|
2484
|
+
const visionModeSetting = resolveVisionModeSetting(config);
|
|
2485
|
+
if (preferredProviderPluginName) {
|
|
2486
|
+
for (const plugin of pluginsForRuntime) {
|
|
2487
|
+
if (plugin.name === preferredProviderPluginName) {
|
|
2488
|
+
plugin.priority = (plugin.priority ?? 0) + 10;
|
|
2489
|
+
logger.info(`[eliza] Boosted plugin "${plugin.name}" priority to ${plugin.priority} (preferred provider: ${preferredProviderId ?? "unknown"})`);
|
|
2490
|
+
break;
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
// ── Strip upstream skill providers ──────────────────────────────────────
|
|
2495
|
+
// The upstream @elizaos/plugin-agent-skills registers providers that dump
|
|
2496
|
+
// ALL loaded skills into every prompt (~2000-4000 tokens). Eliza replaces
|
|
2497
|
+
// them with a BM25-lite dynamic provider (see providers/skill-provider.ts)
|
|
2498
|
+
// that injects only the most relevant skills per turn.
|
|
2499
|
+
//
|
|
2500
|
+
// We keep:
|
|
2501
|
+
// - agent_skills_overview (lightweight stats, ~50 tokens)
|
|
2502
|
+
// - all actions (USE_SKILL, SEARCH_SKILLS, INSTALL_SKILL, …)
|
|
2503
|
+
// - the AGENT_SKILLS_SERVICE itself
|
|
2504
|
+
{
|
|
2505
|
+
const UPSTREAM_SKILL_PROVIDERS_TO_STRIP = new Set([
|
|
2506
|
+
"agent_skills",
|
|
2507
|
+
"agent_skill_instructions",
|
|
2508
|
+
"agent_skills_catalog",
|
|
2509
|
+
]);
|
|
2510
|
+
for (const plugin of pluginsForRuntime) {
|
|
2511
|
+
if (plugin.name === "@elizaos/plugin-agent-skills" &&
|
|
2512
|
+
Array.isArray(plugin.providers)) {
|
|
2513
|
+
const before = plugin.providers.length;
|
|
2514
|
+
plugin.providers = plugin.providers.filter((p) => !UPSTREAM_SKILL_PROVIDERS_TO_STRIP.has(p.name ?? ""));
|
|
2515
|
+
const removed = before - plugin.providers.length;
|
|
2516
|
+
if (removed > 0) {
|
|
2517
|
+
logger.info(`[eliza] Stripped ${removed} upstream skill provider(s) — using dynamic BM25-lite provider instead`);
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
// Deduplicate actions across all plugins to avoid "Action already registered"
|
|
2523
|
+
// warnings from elizaOS core. basic-capabilities is registered first by the
|
|
2524
|
+
// runtime, so include it in deduplication so its actions take precedence.
|
|
2525
|
+
const settings = character.settings ?? {};
|
|
2526
|
+
const basicCapabilitiesPlugin = createBasicCapabilitiesPlugin({
|
|
2527
|
+
disableBasic: settings.DISABLE_BASIC_CAPABILITIES === true ||
|
|
2528
|
+
settings.DISABLE_BASIC_CAPABILITIES === "true",
|
|
2529
|
+
enableExtended: settings.ENABLE_EXTENDED_CAPABILITIES === true ||
|
|
2530
|
+
settings.ENABLE_EXTENDED_CAPABILITIES === "true" ||
|
|
2531
|
+
settings.ADVANCED_CAPABILITIES === true ||
|
|
2532
|
+
settings.ADVANCED_CAPABILITIES === "true",
|
|
2533
|
+
skipCharacterProvider: false,
|
|
2534
|
+
enableAutonomy: settings.ENABLE_AUTONOMY === true || settings.ENABLE_AUTONOMY === "true",
|
|
2535
|
+
});
|
|
2536
|
+
deduplicatePluginActions([
|
|
2537
|
+
basicCapabilitiesPlugin,
|
|
2538
|
+
elizaPlugin,
|
|
2539
|
+
...pluginsForRuntime,
|
|
2540
|
+
]);
|
|
2541
|
+
let runtime = new AgentRuntime({
|
|
2542
|
+
character,
|
|
2543
|
+
// advancedCapabilities: true,
|
|
2544
|
+
actionPlanning: true,
|
|
2545
|
+
// advancedMemory is enabled via character.advancedMemory
|
|
2546
|
+
plugins: [elizaPlugin, ...pluginsForRuntime],
|
|
2547
|
+
...(runtimeLogLevel ? { logLevel: runtimeLogLevel } : {}),
|
|
2548
|
+
// Sandbox options — only active when mode != "off"
|
|
2549
|
+
...(isSandboxActive
|
|
2550
|
+
? {
|
|
2551
|
+
sandboxMode: true,
|
|
2552
|
+
sandboxAuditHandler: sandboxAuditLog
|
|
2553
|
+
? (event) => {
|
|
2554
|
+
sandboxAuditLog.recordTokenReplacement(event.direction, event.url, event.tokenIds);
|
|
2555
|
+
}
|
|
2556
|
+
: undefined,
|
|
2557
|
+
}
|
|
2558
|
+
: {}),
|
|
2559
|
+
settings: {
|
|
2560
|
+
VALIDATION_LEVEL: "fast",
|
|
2561
|
+
// Forward non-sensitive Eliza config.env vars as runtime settings so
|
|
2562
|
+
// plugins can access them via runtime.getSetting(). This fixes a bug where
|
|
2563
|
+
// plugins (e.g. @elizaos/plugin-google-genai) call runtime.getSetting()
|
|
2564
|
+
// which returns null for keys not in settings, but the plugin checks
|
|
2565
|
+
// !== undefined causing it to use "null" as the model name.
|
|
2566
|
+
//
|
|
2567
|
+
// Security: Filter out blockchain private keys and secrets. API keys are
|
|
2568
|
+
// allowed since plugins need them via runtime.getSetting(). Private keys
|
|
2569
|
+
// should only be accessed via process.env by signing services.
|
|
2570
|
+
...Object.fromEntries(Object.entries(collectConfigEnvVars(config)).filter(([key]) => isEnvKeyAllowedForForwarding(key))),
|
|
2571
|
+
// Forward connector config vars as-is. The connector env map is curated
|
|
2572
|
+
// and plugins need access to secrets like passwords and tokens via
|
|
2573
|
+
// runtime.getSetting() for real transports to boot.
|
|
2574
|
+
...collectConnectorEnvVars(config),
|
|
2575
|
+
// Forward Eliza config env vars as runtime settings
|
|
2576
|
+
...(preferredProviderId ? { MODEL_PROVIDER: preferredProviderId } : {}),
|
|
2577
|
+
...(visionModeSetting ? { VISION_MODE: visionModeSetting } : {}),
|
|
2578
|
+
...resolveWalletRuntimeSettings(config),
|
|
2579
|
+
...(typeof config.agents?.defaults?.adminEntityId === "string" &&
|
|
2580
|
+
config.agents.defaults.adminEntityId.trim().length > 0
|
|
2581
|
+
? {
|
|
2582
|
+
ELIZA_ADMIN_ENTITY_ID: config.agents.defaults.adminEntityId.trim(),
|
|
2583
|
+
}
|
|
2584
|
+
: {}),
|
|
2585
|
+
...(config.agents?.defaults?.ownerContacts
|
|
2586
|
+
? {
|
|
2587
|
+
ELIZA_OWNER_CONTACTS_JSON: JSON.stringify(config.agents.defaults.ownerContacts),
|
|
2588
|
+
}
|
|
2589
|
+
: {}),
|
|
2590
|
+
...(config.roles?.connectorAdmins
|
|
2591
|
+
? {
|
|
2592
|
+
ELIZA_ROLES_CONNECTOR_ADMINS_JSON: JSON.stringify(config.roles.connectorAdmins),
|
|
2593
|
+
}
|
|
2594
|
+
: {}),
|
|
2595
|
+
// Forward skills config so plugin-agent-skills can apply allow/deny filtering
|
|
2596
|
+
...(config.skills?.allowBundled
|
|
2597
|
+
? { SKILLS_ALLOWLIST: config.skills.allowBundled.join(",") }
|
|
2598
|
+
: {}),
|
|
2599
|
+
...(config.skills?.denyBundled
|
|
2600
|
+
? { SKILLS_DENYLIST: config.skills.denyBundled.join(",") }
|
|
2601
|
+
: {}),
|
|
2602
|
+
// Managed skills are stored in the Eliza state dir (~/.eliza/skills).
|
|
2603
|
+
SKILLS_DIR: managedSkillsDir,
|
|
2604
|
+
// Tell plugin-agent-skills where to find bundled + workspace skills
|
|
2605
|
+
...(bundledSkillsDir ? { BUNDLED_SKILLS_DIRS: bundledSkillsDir } : {}),
|
|
2606
|
+
...(workspaceSkillsDir
|
|
2607
|
+
? { WORKSPACE_SKILLS_DIR: workspaceSkillsDir }
|
|
2608
|
+
: {}),
|
|
2609
|
+
// Also forward extra dirs from config
|
|
2610
|
+
...(config.skills?.load?.extraDirs?.length
|
|
2611
|
+
? { EXTRA_SKILLS_DIRS: config.skills.load.extraDirs.join(",") }
|
|
2612
|
+
: {}),
|
|
2613
|
+
// Disable image description when vision is explicitly toggled off.
|
|
2614
|
+
// The cloud plugin always registers IMAGE_DESCRIPTION, so we need a
|
|
2615
|
+
// runtime setting to prevent the message service from calling it.
|
|
2616
|
+
...(config.features?.vision === false
|
|
2617
|
+
? { DISABLE_IMAGE_DESCRIPTION: "true" }
|
|
2618
|
+
: {}),
|
|
2619
|
+
},
|
|
2620
|
+
});
|
|
2621
|
+
installRuntimeMethodBindings(runtime);
|
|
2622
|
+
// 7b. Pre-register plugin-sql so the adapter is ready before other plugins init.
|
|
2623
|
+
// This is OPTIONAL — without it, some features (memory, todos) won't work.
|
|
2624
|
+
// runtime.db is a getter that returns this.adapter.db and throws when
|
|
2625
|
+
// this.adapter is undefined, so plugins that use runtime.db will fail.
|
|
2626
|
+
if (sqlPlugin) {
|
|
2627
|
+
// 7c. Eagerly initialize the database adapter so it's fully ready
|
|
2628
|
+
// BEFORE other plugins run their init(). When legacy/corrupt PGLite
|
|
2629
|
+
// state causes startup aborts, reset the local DB dir and retry once.
|
|
2630
|
+
await registerSqlPluginWithRecovery(runtime, sqlPlugin, config);
|
|
2631
|
+
}
|
|
2632
|
+
else {
|
|
2633
|
+
const loadedNames = resolvedPlugins.map((p) => p.name).join(", ");
|
|
2634
|
+
logger.error(`[eliza] @elizaos/plugin-sql was NOT found among resolved plugins. ` +
|
|
2635
|
+
`Loaded: [${loadedNames}]`);
|
|
2636
|
+
throw new Error("@elizaos/plugin-sql is required but was not loaded. " +
|
|
2637
|
+
"Ensure the package is installed and built (check for import errors above).");
|
|
2638
|
+
}
|
|
2639
|
+
// 7d. Pre-register plugin-local-embedding so its TEXT_EMBEDDING handler
|
|
2640
|
+
// (priority 10) is available before runtime.initialize() starts all
|
|
2641
|
+
// plugins in parallel. Without this, the basic-capabilities plugin's services
|
|
2642
|
+
// (ActionFilterService, EmbeddingGenerationService) race ahead and use
|
|
2643
|
+
// the cloud plugin's TEXT_EMBEDDING handler — which hits a paid API —
|
|
2644
|
+
// because local-embedding's heavier init hasn't completed yet.
|
|
2645
|
+
if (localEmbeddingPlugin) {
|
|
2646
|
+
configureLocalEmbeddingPlugin(localEmbeddingPlugin.plugin, config);
|
|
2647
|
+
await runtime.registerPlugin(localEmbeddingPlugin.plugin);
|
|
2648
|
+
logger.info("[eliza] plugin-local-embedding pre-registered (TEXT_EMBEDDING ready)");
|
|
2649
|
+
}
|
|
2650
|
+
else {
|
|
2651
|
+
logger.warn("[eliza] @elizaos/plugin-local-embedding not found — embeddings " +
|
|
2652
|
+
"will fall back to whatever TEXT_EMBEDDING handler is registered by " +
|
|
2653
|
+
"other plugins (may incur cloud API costs)");
|
|
2654
|
+
}
|
|
2655
|
+
// 7e. Pre-register remaining core plugins sequentially in CORE_PLUGINS order.
|
|
2656
|
+
// Each registerPlugin() call runs the plugin's init() before proceeding
|
|
2657
|
+
// to the next, guaranteeing that cross-plugin getService() calls resolve.
|
|
2658
|
+
{
|
|
2659
|
+
try {
|
|
2660
|
+
logger.info("[eliza] Pre-registering roles capability...");
|
|
2661
|
+
await runtime.registerPlugin(rolesPlugin);
|
|
2662
|
+
logger.info("[eliza] ✓ roles capability pre-registered");
|
|
2663
|
+
}
|
|
2664
|
+
catch (err) {
|
|
2665
|
+
logger.warn(`[eliza] Roles capability pre-registration failed: ${formatError(err)}`);
|
|
2666
|
+
}
|
|
2667
|
+
const alreadyPreRegistered = new Set([
|
|
2668
|
+
"@elizaos/plugin-sql",
|
|
2669
|
+
"@elizaos/plugin-local-embedding",
|
|
2670
|
+
]);
|
|
2671
|
+
for (const name of CORE_PLUGINS) {
|
|
2672
|
+
if (alreadyPreRegistered.has(name))
|
|
2673
|
+
continue;
|
|
2674
|
+
const resolved = resolvedPlugins.find((p) => p.name === name);
|
|
2675
|
+
if (!resolved) {
|
|
2676
|
+
logger.debug(`[eliza] Core plugin ${name} not resolved — skipping pre-registration`);
|
|
2677
|
+
continue;
|
|
2678
|
+
}
|
|
2679
|
+
try {
|
|
2680
|
+
const regStart = Date.now();
|
|
2681
|
+
logger.info(`[eliza] Pre-registering core plugin: ${name}...`);
|
|
2682
|
+
const PLUGIN_REG_TIMEOUT_MS = 30_000;
|
|
2683
|
+
await Promise.race([
|
|
2684
|
+
runtime.registerPlugin(resolved.plugin),
|
|
2685
|
+
new Promise((_resolve, reject) => setTimeout(() => reject(new Error(`Timed out after ${PLUGIN_REG_TIMEOUT_MS / 1000}s`)), PLUGIN_REG_TIMEOUT_MS)),
|
|
2686
|
+
]);
|
|
2687
|
+
logger.info(`[eliza] ✓ ${name} pre-registered (${Date.now() - regStart}ms)`);
|
|
2688
|
+
}
|
|
2689
|
+
catch (err) {
|
|
2690
|
+
logger.warn(`[eliza] Core plugin ${name} pre-registration failed: ${formatError(err)}`);
|
|
2691
|
+
}
|
|
2692
|
+
}
|
|
2693
|
+
}
|
|
2694
|
+
const warmAgentSkillsService = async () => {
|
|
2695
|
+
// Let runtime startup complete first; this warm-up runs asynchronously
|
|
2696
|
+
// so API + agent come online immediately.
|
|
2697
|
+
try {
|
|
2698
|
+
const skillServicePromise = runtime.getServiceLoadPromise("AGENT_SKILLS_SERVICE");
|
|
2699
|
+
const timeout = new Promise((_resolve, reject) => {
|
|
2700
|
+
setTimeout(() => {
|
|
2701
|
+
reject(new Error("AgentSkillsService warm-up timed out (10s) — non-blocking, agent will function without skills"));
|
|
2702
|
+
}, 10_000);
|
|
2703
|
+
});
|
|
2704
|
+
await Promise.race([skillServicePromise, timeout]);
|
|
2705
|
+
const svc = runtime.getService("AGENT_SKILLS_SERVICE");
|
|
2706
|
+
if (svc?.getCatalogStats) {
|
|
2707
|
+
const stats = svc.getCatalogStats();
|
|
2708
|
+
logger.info(`[eliza] AgentSkills ready — ${stats.loaded} skills loaded, ` +
|
|
2709
|
+
`${stats.total} in catalog (storage: ${stats.storageType})`);
|
|
2710
|
+
}
|
|
2711
|
+
// Guard against non-string skill.description values.
|
|
2712
|
+
// The bundled YAML parser produces {} for multi-line descriptions, which
|
|
2713
|
+
// crashes findBestLocalMatch / scoreSkillMatch (call .toLowerCase() on it).
|
|
2714
|
+
// Instead of a one-shot sanitize (which misses skills loaded later by
|
|
2715
|
+
// syncCatalog / autoRefresh), we monkey-patch getLoadedSkills to always
|
|
2716
|
+
// return sanitized values.
|
|
2717
|
+
const svcAny = svc;
|
|
2718
|
+
const origGetLoaded = svcAny?.getLoadedSkills;
|
|
2719
|
+
if (origGetLoaded && svcAny) {
|
|
2720
|
+
svcAny.getLoadedSkills = function (...args) {
|
|
2721
|
+
const skills = origGetLoaded.apply(this, args);
|
|
2722
|
+
for (const skill of skills) {
|
|
2723
|
+
if (typeof skill.description !== "string") {
|
|
2724
|
+
skill.description =
|
|
2725
|
+
skill.description == null
|
|
2726
|
+
? ""
|
|
2727
|
+
: JSON.stringify(skill.description);
|
|
2728
|
+
}
|
|
2729
|
+
}
|
|
2730
|
+
return skills;
|
|
2731
|
+
};
|
|
2732
|
+
logger.debug("[eliza] Patched getLoadedSkills to guard descriptions");
|
|
2733
|
+
}
|
|
2734
|
+
}
|
|
2735
|
+
catch (err) {
|
|
2736
|
+
// Non-fatal — the agent can operate without skills. This warm-up runs
|
|
2737
|
+
// async so it doesn't block startup.
|
|
2738
|
+
logger.debug(`[eliza] AgentSkillsService warm-up: ${formatError(err)}`);
|
|
2739
|
+
}
|
|
2740
|
+
};
|
|
2741
|
+
const initializeRuntimeServices = async () => {
|
|
2742
|
+
try {
|
|
2743
|
+
const { stewardEvmPreBoot } = await import("@elizaos/app-steward/services/steward-evm-bridge");
|
|
2744
|
+
await stewardEvmPreBoot(runtime);
|
|
2745
|
+
}
|
|
2746
|
+
catch (err) {
|
|
2747
|
+
logger.debug(`[eliza] Steward EVM pre-boot skipped: ${formatError(err)}`);
|
|
2748
|
+
}
|
|
2749
|
+
// 7f. Pre-register ConnectorSetupService so connector plugins can access
|
|
2750
|
+
// shared config/escalation/owner-contact helpers via runtime.getService().
|
|
2751
|
+
try {
|
|
2752
|
+
const { ConnectorSetupService } = await import("../services/connector-setup-service.js");
|
|
2753
|
+
await runtime.registerService(ConnectorSetupService);
|
|
2754
|
+
}
|
|
2755
|
+
catch (err) {
|
|
2756
|
+
logger.debug(`[eliza] ConnectorSetupService registration skipped: ${formatError(err)}`);
|
|
2757
|
+
}
|
|
2758
|
+
// 8. Initialize the runtime (registers remaining plugins, starts services)
|
|
2759
|
+
assertPersistentDatabaseRequired(runtime);
|
|
2760
|
+
await runtime.initialize();
|
|
2761
|
+
await prepareRuntimeForTrajectoryCapture(runtime, "runtime.initialize()", config);
|
|
2762
|
+
// 8a. Apply role gating to protected plugin actions/providers.
|
|
2763
|
+
try {
|
|
2764
|
+
const { applyPluginRoleGating } = await import("./plugin-role-gating.js");
|
|
2765
|
+
applyPluginRoleGating(runtime.plugins ?? []);
|
|
2766
|
+
}
|
|
2767
|
+
catch (err) {
|
|
2768
|
+
logger.debug(`[eliza] Plugin role gating skipped: ${formatError(err)}`);
|
|
2769
|
+
}
|
|
2770
|
+
// 8b. Register lightweight conversation-proximity evaluator.
|
|
2771
|
+
// Updates relationship strength when people post near each other in a room.
|
|
2772
|
+
// No LLM calls — deterministic, runs on every message.
|
|
2773
|
+
try {
|
|
2774
|
+
const { updateProximityRelationships } = await import("../services/conversation-proximity.js");
|
|
2775
|
+
await runtime.registerPlugin({
|
|
2776
|
+
name: "eliza-conversation-proximity",
|
|
2777
|
+
description: "Lightweight relationship updates from conversation co-occurrence",
|
|
2778
|
+
evaluators: [
|
|
2779
|
+
{
|
|
2780
|
+
name: "CONVERSATION_PROXIMITY",
|
|
2781
|
+
description: "Update relationship strength for co-participants in a room",
|
|
2782
|
+
similes: [],
|
|
2783
|
+
alwaysRun: true,
|
|
2784
|
+
examples: [],
|
|
2785
|
+
validate: async (_runtime, message) => {
|
|
2786
|
+
// Run for any message with text from a real user (not the agent).
|
|
2787
|
+
const text = message.content?.text;
|
|
2788
|
+
return Boolean(text) && message.entityId !== _runtime.agentId;
|
|
2789
|
+
},
|
|
2790
|
+
handler: async (_runtime, message) => {
|
|
2791
|
+
await updateProximityRelationships(_runtime, message);
|
|
2792
|
+
return undefined;
|
|
2793
|
+
},
|
|
2794
|
+
},
|
|
2795
|
+
],
|
|
2796
|
+
});
|
|
2797
|
+
logger.info("[eliza] ✓ conversation-proximity evaluator registered");
|
|
2798
|
+
}
|
|
2799
|
+
catch (err) {
|
|
2800
|
+
logger.debug(`[eliza] Conversation-proximity evaluator skipped: ${formatError(err)}`);
|
|
2801
|
+
}
|
|
2802
|
+
try {
|
|
2803
|
+
if (runtimeKnowledgeEnabled(runtime)) {
|
|
2804
|
+
await seedBundledKnowledge(runtime);
|
|
2805
|
+
}
|
|
2806
|
+
else {
|
|
2807
|
+
logger.info("[eliza] Native knowledge disabled; skipping bundled knowledge seeding");
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
catch (err) {
|
|
2811
|
+
logger.warn(`[eliza] Failed to seed bundled knowledge: ${formatError(err)}`);
|
|
2812
|
+
}
|
|
2813
|
+
try {
|
|
2814
|
+
const { stewardEvmPostBoot } = await import("@elizaos/app-steward/services/steward-evm-bridge");
|
|
2815
|
+
await stewardEvmPostBoot(runtime);
|
|
2816
|
+
}
|
|
2817
|
+
catch (err) {
|
|
2818
|
+
logger.debug(`[eliza] Steward EVM post-boot skipped: ${formatError(err)}`);
|
|
2819
|
+
}
|
|
2820
|
+
try {
|
|
2821
|
+
const { installAnthropicWebSearch } = await import("./web-search-tools.js");
|
|
2822
|
+
installAnthropicWebSearch(runtime);
|
|
2823
|
+
}
|
|
2824
|
+
catch (err) {
|
|
2825
|
+
logger.debug(`[eliza] Anthropic web search setup skipped: ${formatError(err)}`);
|
|
2826
|
+
}
|
|
2827
|
+
// 8b. Ensure AutonomyService is available for trigger dispatch.
|
|
2828
|
+
// registers this service) from loading, so we start it explicitly.
|
|
2829
|
+
// Respect ENABLE_AUTONOMY env var — cloud-provisioned containers may
|
|
2830
|
+
// disable this to prevent runaway autonomous actions.
|
|
2831
|
+
const autonomyEnabled = (process.env.ENABLE_AUTONOMY ?? "true").toLowerCase() !== "false";
|
|
2832
|
+
if (autonomyEnabled && !runtime.getService("AUTONOMY")) {
|
|
2833
|
+
try {
|
|
2834
|
+
await startAndRegisterAutonomyService(runtime);
|
|
2835
|
+
logger.info("[eliza] AutonomyService started for trigger dispatch");
|
|
2836
|
+
}
|
|
2837
|
+
catch (err) {
|
|
2838
|
+
logger.warn(`[eliza] AutonomyService failed to start: ${formatError(err)}`);
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2841
|
+
else if (!autonomyEnabled) {
|
|
2842
|
+
logger.info("[eliza] AutonomyService skipped — ENABLE_AUTONOMY=false");
|
|
2843
|
+
}
|
|
2844
|
+
// Enable the autonomy loop so trigger/heartbeat instructions are
|
|
2845
|
+
// actually processed. Without this, memories created by
|
|
2846
|
+
// dispatchInstruction() sit in the DB and are never acted on.
|
|
2847
|
+
if (autonomyEnabled) {
|
|
2848
|
+
const autonomySvc = getAutonomyService(runtime);
|
|
2849
|
+
if (autonomySvc) {
|
|
2850
|
+
try {
|
|
2851
|
+
await autonomySvc.enableAutonomy();
|
|
2852
|
+
logger.info("[eliza] AutonomyService enabled — trigger instructions will be processed");
|
|
2853
|
+
}
|
|
2854
|
+
catch (err) {
|
|
2855
|
+
logger.warn(`[eliza] Failed to enable autonomy loop: ${formatError(err)}`);
|
|
2856
|
+
}
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2859
|
+
// Do not block runtime startup on skills warm-up.
|
|
2860
|
+
void warmAgentSkillsService().catch((err) => {
|
|
2861
|
+
logger.warn(`[eliza] Skills warm-up failed: ${formatError(err)}`);
|
|
2862
|
+
});
|
|
2863
|
+
};
|
|
2864
|
+
try {
|
|
2865
|
+
await initializeRuntimeServices();
|
|
2866
|
+
}
|
|
2867
|
+
catch (err) {
|
|
2868
|
+
const pgliteDataDir = resolveActivePgliteDataDir(config);
|
|
2869
|
+
const recoveryAction = !opts?.pgliteRecoveryAttempted && pgliteDataDir
|
|
2870
|
+
? getPgliteRecoveryAction(err, pgliteDataDir)
|
|
2871
|
+
: "none";
|
|
2872
|
+
if (!pgliteDataDir || recoveryAction === "none") {
|
|
2873
|
+
throw err;
|
|
2874
|
+
}
|
|
2875
|
+
if (recoveryAction === "fail-active-lock") {
|
|
2876
|
+
throw createActivePgliteLockError(pgliteDataDir, err);
|
|
2877
|
+
}
|
|
2878
|
+
if (recoveryAction === "fail-manual-reset") {
|
|
2879
|
+
throw createManualResetRequiredPgliteError(pgliteDataDir, err);
|
|
2880
|
+
}
|
|
2881
|
+
logger.warn(`[eliza] Runtime migrations failed (${formatError(err)}). Cleared a stale PGLite lock in ${pgliteDataDir} and retrying startup once without resetting data.`);
|
|
2882
|
+
try {
|
|
2883
|
+
await shutdownRuntime(runtime, "PGLite recovery");
|
|
2884
|
+
}
|
|
2885
|
+
catch {
|
|
2886
|
+
// Ignore cleanup errors — retry creates a fresh runtime anyway.
|
|
2887
|
+
}
|
|
2888
|
+
return await startEliza({
|
|
2889
|
+
...opts,
|
|
2890
|
+
pgliteRecoveryAttempted: true,
|
|
2891
|
+
});
|
|
2892
|
+
}
|
|
2893
|
+
installActionAliases(runtime);
|
|
2894
|
+
// 9. Graceful shutdown handler
|
|
2895
|
+
//
|
|
2896
|
+
// In headless mode the caller (dev-server / desktop shell) owns the process
|
|
2897
|
+
// lifecycle, so we must NOT register signal handlers here — they would
|
|
2898
|
+
// stack on every hot-restart, close over stale runtime references, and
|
|
2899
|
+
// race with bun --watch's own process teardown.
|
|
2900
|
+
if (!opts?.headless) {
|
|
2901
|
+
registerSignalShutdownHandlers({
|
|
2902
|
+
getRuntime: () => runtime,
|
|
2903
|
+
getSandboxManager: () => sandboxManager,
|
|
2904
|
+
});
|
|
2905
|
+
}
|
|
2906
|
+
const loadHooksSystem = async () => {
|
|
2907
|
+
try {
|
|
2908
|
+
const internalHooksConfig = config.hooks
|
|
2909
|
+
?.internal;
|
|
2910
|
+
await loadHooks({
|
|
2911
|
+
workspacePath: workspaceDir,
|
|
2912
|
+
internalConfig: internalHooksConfig,
|
|
2913
|
+
elizaConfig: config,
|
|
2914
|
+
});
|
|
2915
|
+
const startupEvent = createHookEvent("gateway", "startup", "system", {
|
|
2916
|
+
cfg: config,
|
|
2917
|
+
});
|
|
2918
|
+
await triggerHook(startupEvent);
|
|
2919
|
+
}
|
|
2920
|
+
catch (err) {
|
|
2921
|
+
logger.warn(`[eliza] Hooks system could not load: ${formatError(err)}`);
|
|
2922
|
+
}
|
|
2923
|
+
};
|
|
2924
|
+
// ── Headless mode — return runtime for API server wiring ──────────────
|
|
2925
|
+
if (opts?.headless) {
|
|
2926
|
+
void loadHooksSystem().catch((err) => {
|
|
2927
|
+
logger.warn(`[eliza] Hooks system load failed: ${formatError(err)}`);
|
|
2928
|
+
});
|
|
2929
|
+
logger.info("[eliza] Runtime initialised in headless mode (autonomy enabled)");
|
|
2930
|
+
return runtime;
|
|
2931
|
+
}
|
|
2932
|
+
// 10. Load hooks system
|
|
2933
|
+
await loadHooksSystem();
|
|
2934
|
+
// ── Start API server for GUI access ──────────────────────────────────────
|
|
2935
|
+
// In CLI mode (non-headless), start the API server in the background so
|
|
2936
|
+
// the GUI can connect to the running agent. This ensures full feature
|
|
2937
|
+
// parity: whether started via `npx elizaos`, `bun run dev`, or the
|
|
2938
|
+
// desktop app, the API server is always available for the GUI admin
|
|
2939
|
+
// surface.
|
|
2940
|
+
try {
|
|
2941
|
+
const { startApiServer } = await import("../api/server.js");
|
|
2942
|
+
const apiPort = resolveServerOnlyPort(process.env);
|
|
2943
|
+
const { port: actualApiPort } = await startApiServer({
|
|
2944
|
+
port: apiPort,
|
|
2945
|
+
runtime,
|
|
2946
|
+
onRestart: async () => {
|
|
2947
|
+
logger.info("[eliza] Hot-reload: Restarting runtime...");
|
|
2948
|
+
try {
|
|
2949
|
+
// Stop the old runtime to release resources (DB connections, timers, etc.)
|
|
2950
|
+
//
|
|
2951
|
+
// WHY the 2s timeout: some services — notably PTYService —
|
|
2952
|
+
// shut down gracefully by awaiting each active session with a
|
|
2953
|
+
// per-session timeout (up to ~5s). runtime.stop() awaits every
|
|
2954
|
+
// service.stop() sequentially, so a single idle PTY session
|
|
2955
|
+
// turns a provider switch into a multi-second block. During
|
|
2956
|
+
// that window server.ts's providerSwitchInProgress flag +
|
|
2957
|
+
// agentState === "restarting" guard reject further clicks,
|
|
2958
|
+
// which is why flipping through providers rapidly feels stuck.
|
|
2959
|
+
//
|
|
2960
|
+
// Cap the shutdown window at 2s; if it doesn't finish, log and
|
|
2961
|
+
// bring the new runtime up anyway. Services that miss the
|
|
2962
|
+
// window get GC'd when the process unwinds. This is fine for a
|
|
2963
|
+
// user-initiated restart — the user asked for a new runtime;
|
|
2964
|
+
// in-flight work on the old one is already obsolete.
|
|
2965
|
+
try {
|
|
2966
|
+
const SHUTDOWN_TIMEOUT_MS = 2000;
|
|
2967
|
+
let shutdownTimedOut = false;
|
|
2968
|
+
await Promise.race([
|
|
2969
|
+
shutdownRuntime(runtime, "hot-reload cleanup"),
|
|
2970
|
+
new Promise((resolve) => setTimeout(() => {
|
|
2971
|
+
shutdownTimedOut = true;
|
|
2972
|
+
resolve();
|
|
2973
|
+
}, SHUTDOWN_TIMEOUT_MS)),
|
|
2974
|
+
]);
|
|
2975
|
+
if (shutdownTimedOut) {
|
|
2976
|
+
logger.warn(`[eliza] Hot-reload: old runtime shutdown exceeded ${SHUTDOWN_TIMEOUT_MS}ms; proceeding with new runtime`);
|
|
2977
|
+
}
|
|
2978
|
+
}
|
|
2979
|
+
catch (stopErr) {
|
|
2980
|
+
logger.warn(`[eliza] Hot-reload: old runtime stop failed: ${formatError(stopErr)}`);
|
|
2981
|
+
}
|
|
2982
|
+
// Reload config from disk (updated by API)
|
|
2983
|
+
const freshConfig = loadElizaConfig();
|
|
2984
|
+
// Propagate secrets & cloud config into process.env so plugins
|
|
2985
|
+
// (especially plugin-elizacloud) can discover them. The initial
|
|
2986
|
+
// startup does this in startEliza(); the hot-reload must repeat it
|
|
2987
|
+
// because the config may have changed (e.g. cloud enabled during
|
|
2988
|
+
// onboarding).
|
|
2989
|
+
applyConnectorSecretsToEnv(freshConfig);
|
|
2990
|
+
await autoResolveDiscordAppId();
|
|
2991
|
+
applyCloudConfigToEnv(freshConfig);
|
|
2992
|
+
applyX402ConfigToEnv(freshConfig);
|
|
2993
|
+
applyDatabaseConfigToEnv(freshConfig);
|
|
2994
|
+
applyN8nConfigToEnv(freshConfig, freshConfig.cloud?.agentId?.trim() || agentId);
|
|
2995
|
+
await autoFetchCloudGithubToken(freshConfig.cloud?.agentId?.trim() || agentId);
|
|
2996
|
+
// Apply subscription-based credentials (Claude Max, Codex Max)
|
|
2997
|
+
// that may have been set up during onboarding.
|
|
2998
|
+
try {
|
|
2999
|
+
const { applySubscriptionCredentials } = await import("../auth/index.js");
|
|
3000
|
+
await applySubscriptionCredentials(freshConfig);
|
|
3001
|
+
}
|
|
3002
|
+
catch (subErr) {
|
|
3003
|
+
logger.warn(`[eliza] Hot-reload: subscription credentials: ${formatError(subErr)}`);
|
|
3004
|
+
}
|
|
3005
|
+
// Resolve plugins using same function as startup
|
|
3006
|
+
const resolvedPlugins = await resolvePlugins(freshConfig);
|
|
3007
|
+
// Rebuild character from the fresh config so onboarding changes
|
|
3008
|
+
// (name, bio, style, etc.) are picked up on restart.
|
|
3009
|
+
const freshCharacter = buildCharacterFromConfig(freshConfig);
|
|
3010
|
+
// Recreate Eliza plugin with fresh workspace
|
|
3011
|
+
const freshElizaPlugin = createElizaPlugin({
|
|
3012
|
+
workspaceDir: freshConfig.agents?.defaults?.workspace ?? workspaceDir,
|
|
3013
|
+
agentId: freshCharacter.name?.toLowerCase().replace(/\s+/g, "-") ?? "main",
|
|
3014
|
+
});
|
|
3015
|
+
// Create new runtime with updated plugins.
|
|
3016
|
+
// Filter out pre-registered plugins so they aren't double-loaded
|
|
3017
|
+
// inside initialize()'s Promise.all — same pattern as the initial
|
|
3018
|
+
// startup to avoid the TEXT_EMBEDDING race condition.
|
|
3019
|
+
const freshPreferredProviderId = resolvePreferredProviderId(freshConfig);
|
|
3020
|
+
const freshPreferredProviderPluginName = resolvePreferredProviderPluginName(freshConfig);
|
|
3021
|
+
const freshOtherPlugins = resolvedPlugins.filter((p) => !PREREGISTER_PLUGINS.has(p.name));
|
|
3022
|
+
// Boost the preferred provider plugin priority (same as initial startup)
|
|
3023
|
+
const freshPluginsForRuntime = freshOtherPlugins.map((p) => p.plugin);
|
|
3024
|
+
const freshVisionModeSetting = resolveVisionModeSetting(freshConfig);
|
|
3025
|
+
if (freshPreferredProviderPluginName) {
|
|
3026
|
+
for (const plugin of freshPluginsForRuntime) {
|
|
3027
|
+
if (plugin.name === freshPreferredProviderPluginName) {
|
|
3028
|
+
plugin.priority = (plugin.priority ?? 0) + 10;
|
|
3029
|
+
break;
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
3032
|
+
}
|
|
3033
|
+
const newRuntime = new AgentRuntime({
|
|
3034
|
+
character: freshCharacter,
|
|
3035
|
+
plugins: [freshElizaPlugin, ...freshPluginsForRuntime],
|
|
3036
|
+
...(runtimeLogLevel ? { logLevel: runtimeLogLevel } : {}),
|
|
3037
|
+
settings: {
|
|
3038
|
+
...(freshPreferredProviderId
|
|
3039
|
+
? { MODEL_PROVIDER: freshPreferredProviderId }
|
|
3040
|
+
: {}),
|
|
3041
|
+
...(freshVisionModeSetting
|
|
3042
|
+
? { VISION_MODE: freshVisionModeSetting }
|
|
3043
|
+
: {}),
|
|
3044
|
+
// Disable image description when vision is explicitly toggled off.
|
|
3045
|
+
...(freshConfig.features?.vision === false
|
|
3046
|
+
? { DISABLE_IMAGE_DESCRIPTION: "true" }
|
|
3047
|
+
: {}),
|
|
3048
|
+
},
|
|
3049
|
+
});
|
|
3050
|
+
installRuntimeMethodBindings(newRuntime);
|
|
3051
|
+
// Pre-register plugin-sql + local-embedding before initialize()
|
|
3052
|
+
// to avoid the same race condition as the initial startup.
|
|
3053
|
+
// Re-derive from freshly resolved plugins (not outer closure) so
|
|
3054
|
+
// hot-reload picks up any plugin updates.
|
|
3055
|
+
const freshSqlPlugin = resolvedPlugins.find((p) => p.name === "@elizaos/plugin-sql");
|
|
3056
|
+
const freshLocalEmbeddingPlugin = resolvedPlugins.find((p) => p.name === "@elizaos/plugin-local-embedding");
|
|
3057
|
+
if (freshSqlPlugin) {
|
|
3058
|
+
await registerSqlPluginWithRecovery(newRuntime, freshSqlPlugin, freshConfig);
|
|
3059
|
+
}
|
|
3060
|
+
if (freshLocalEmbeddingPlugin) {
|
|
3061
|
+
configureLocalEmbeddingPlugin(freshLocalEmbeddingPlugin.plugin, freshConfig);
|
|
3062
|
+
await newRuntime.registerPlugin(freshLocalEmbeddingPlugin.plugin);
|
|
3063
|
+
}
|
|
3064
|
+
// Pre-register remaining core plugins sequentially (same as startup)
|
|
3065
|
+
{
|
|
3066
|
+
try {
|
|
3067
|
+
await newRuntime.registerPlugin(rolesPlugin);
|
|
3068
|
+
}
|
|
3069
|
+
catch (err) {
|
|
3070
|
+
logger.warn(`[eliza] Hot-reload: roles capability pre-registration failed: ${formatError(err)}`);
|
|
3071
|
+
}
|
|
3072
|
+
const alreadyPreRegistered = new Set([
|
|
3073
|
+
"@elizaos/plugin-sql",
|
|
3074
|
+
"@elizaos/plugin-local-embedding",
|
|
3075
|
+
]);
|
|
3076
|
+
for (const name of CORE_PLUGINS) {
|
|
3077
|
+
if (alreadyPreRegistered.has(name))
|
|
3078
|
+
continue;
|
|
3079
|
+
const resolved = resolvedPlugins.find((p) => p.name === name);
|
|
3080
|
+
if (!resolved)
|
|
3081
|
+
continue;
|
|
3082
|
+
try {
|
|
3083
|
+
await newRuntime.registerPlugin(resolved.plugin);
|
|
3084
|
+
}
|
|
3085
|
+
catch (err) {
|
|
3086
|
+
logger.warn(`[eliza] Hot-reload: core plugin ${name} pre-registration failed: ${formatError(err)}`);
|
|
3087
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
assertPersistentDatabaseRequired(newRuntime);
|
|
3091
|
+
try {
|
|
3092
|
+
const { ConnectorSetupService: CSSReload } = await import("../services/connector-setup-service.js");
|
|
3093
|
+
await newRuntime.registerService(CSSReload);
|
|
3094
|
+
}
|
|
3095
|
+
catch {
|
|
3096
|
+
// non-fatal
|
|
3097
|
+
}
|
|
3098
|
+
try {
|
|
3099
|
+
const { stewardEvmPreBoot: preBootHR } = await import("@elizaos/app-steward/services/steward-evm-bridge");
|
|
3100
|
+
await preBootHR(newRuntime);
|
|
3101
|
+
}
|
|
3102
|
+
catch {
|
|
3103
|
+
// non-fatal
|
|
3104
|
+
}
|
|
3105
|
+
assertPersistentDatabaseRequired(newRuntime);
|
|
3106
|
+
await newRuntime.initialize();
|
|
3107
|
+
await prepareRuntimeForTrajectoryCapture(newRuntime, "hot-reload runtime.initialize()", config);
|
|
3108
|
+
try {
|
|
3109
|
+
const { applyPluginRoleGating } = await import("./plugin-role-gating.js");
|
|
3110
|
+
applyPluginRoleGating(newRuntime.plugins ?? []);
|
|
3111
|
+
}
|
|
3112
|
+
catch (err) {
|
|
3113
|
+
logger.debug(`[eliza] Hot-reload plugin role gating skipped: ${formatError(err)}`);
|
|
3114
|
+
}
|
|
3115
|
+
try {
|
|
3116
|
+
const { stewardEvmPostBoot: postBootHR } = await import("@elizaos/app-steward/services/steward-evm-bridge");
|
|
3117
|
+
await postBootHR(newRuntime);
|
|
3118
|
+
}
|
|
3119
|
+
catch {
|
|
3120
|
+
// non-fatal
|
|
3121
|
+
}
|
|
3122
|
+
// Ensure AutonomyService survives hot-reload (respects ENABLE_AUTONOMY)
|
|
3123
|
+
const hotReloadAutonomyEnabled = (process.env.ENABLE_AUTONOMY ?? "true").toLowerCase() !== "false";
|
|
3124
|
+
if (hotReloadAutonomyEnabled && !newRuntime.getService("AUTONOMY")) {
|
|
3125
|
+
try {
|
|
3126
|
+
await startAndRegisterAutonomyService(newRuntime);
|
|
3127
|
+
}
|
|
3128
|
+
catch (err) {
|
|
3129
|
+
logger.warn(`[eliza] AutonomyService failed to start after hot-reload: ${formatError(err)}`);
|
|
3130
|
+
}
|
|
3131
|
+
}
|
|
3132
|
+
// Enable the autonomy loop after hot-reload (same as initial boot)
|
|
3133
|
+
if (hotReloadAutonomyEnabled) {
|
|
3134
|
+
const svc = getAutonomyService(newRuntime);
|
|
3135
|
+
if (svc) {
|
|
3136
|
+
try {
|
|
3137
|
+
await svc.enableAutonomy();
|
|
3138
|
+
}
|
|
3139
|
+
catch (err) {
|
|
3140
|
+
logger.warn(`[eliza] Failed to enable autonomy after hot-reload: ${formatError(err)}`);
|
|
3141
|
+
}
|
|
3142
|
+
}
|
|
3143
|
+
}
|
|
3144
|
+
installActionAliases(newRuntime);
|
|
3145
|
+
runtime = newRuntime;
|
|
3146
|
+
logger.info("[eliza] Hot-reload: Runtime restarted successfully");
|
|
3147
|
+
return newRuntime;
|
|
3148
|
+
}
|
|
3149
|
+
catch (err) {
|
|
3150
|
+
logger.error(`[eliza] Hot-reload failed: ${formatError(err)}`);
|
|
3151
|
+
return null;
|
|
3152
|
+
}
|
|
3153
|
+
},
|
|
3154
|
+
});
|
|
3155
|
+
const dashboardUrl = `http://localhost:${actualApiPort}`;
|
|
3156
|
+
console.log(`[eliza] Control UI: ${dashboardUrl}`);
|
|
3157
|
+
logger.info(`[eliza] API server listening on ${dashboardUrl}`);
|
|
3158
|
+
}
|
|
3159
|
+
catch (apiErr) {
|
|
3160
|
+
// Log to both stderr (visible to Electrobun agent.ts) and the in-memory
|
|
3161
|
+
// logger so the error is never silently swallowed in packaged builds.
|
|
3162
|
+
const apiErrMsg = `[eliza] Could not start API server: ${formatError(apiErr)}`;
|
|
3163
|
+
console.error(apiErrMsg);
|
|
3164
|
+
logger.warn(apiErrMsg);
|
|
3165
|
+
// In server-only mode (Electrobun desktop), a missing API server is fatal
|
|
3166
|
+
// — nothing else can serve requests. Exit so the parent process sees a
|
|
3167
|
+
// non-zero exit code instead of the misleading "Server running" message.
|
|
3168
|
+
if (opts?.serverOnly) {
|
|
3169
|
+
console.error("[eliza] Exiting: API server is required in server-only mode.");
|
|
3170
|
+
process.exit(1);
|
|
3171
|
+
}
|
|
3172
|
+
// Non-fatal in CLI mode — the interactive chat loop still works.
|
|
3173
|
+
}
|
|
3174
|
+
// ── Server-only mode — keep running without chat loop ────────────────────
|
|
3175
|
+
if (opts?.serverOnly) {
|
|
3176
|
+
logger.info("[eliza] Running in server-only mode (no interactive chat)");
|
|
3177
|
+
console.log("[eliza] Server running. Press Ctrl+C to stop.");
|
|
3178
|
+
// Keep process alive — the API server handles all interaction
|
|
3179
|
+
const keepAlive = setInterval(() => { }, 1 << 30); // ~12 days
|
|
3180
|
+
registerSignalShutdownHandlers({
|
|
3181
|
+
getRuntime: () => runtime,
|
|
3182
|
+
getSandboxManager: () => sandboxManager,
|
|
3183
|
+
beforeShutdown: () => {
|
|
3184
|
+
clearInterval(keepAlive);
|
|
3185
|
+
},
|
|
3186
|
+
});
|
|
3187
|
+
return runtime;
|
|
3188
|
+
}
|
|
3189
|
+
// ── Interactive chat loop ────────────────────────────────────────────────
|
|
3190
|
+
const agentName = character.name ?? "Eliza";
|
|
3191
|
+
const userId = crypto.randomUUID();
|
|
3192
|
+
// Use `let` so the fallback path can reassign to fresh IDs.
|
|
3193
|
+
let roomId = stringToUuid(`${agentName}-chat-room`);
|
|
3194
|
+
try {
|
|
3195
|
+
const worldId = stringToUuid(`${agentName}-chat-world`);
|
|
3196
|
+
// Use a deterministic messageServerId so the settings provider
|
|
3197
|
+
// can reference the world by serverId after it is found.
|
|
3198
|
+
const messageServerId = stringToUuid(`${agentName}-cli-server`);
|
|
3199
|
+
await runtime.ensureConnection({
|
|
3200
|
+
entityId: userId,
|
|
3201
|
+
roomId,
|
|
3202
|
+
worldId,
|
|
3203
|
+
userName: "User",
|
|
3204
|
+
source: "cli",
|
|
3205
|
+
channelId: `${agentName}-chat`,
|
|
3206
|
+
type: ChannelType.DM,
|
|
3207
|
+
messageServerId,
|
|
3208
|
+
metadata: { ownership: { ownerId: userId } },
|
|
3209
|
+
});
|
|
3210
|
+
// Ensure the world has ownership metadata so the settings
|
|
3211
|
+
// provider can locate it via findWorldsForOwner during onboarding.
|
|
3212
|
+
// This also handles worlds that already exist from a prior session
|
|
3213
|
+
// but were created without ownership metadata.
|
|
3214
|
+
const world = await runtime.getWorld(worldId);
|
|
3215
|
+
if (world) {
|
|
3216
|
+
let needsUpdate = false;
|
|
3217
|
+
if (!world.metadata) {
|
|
3218
|
+
world.metadata = {};
|
|
3219
|
+
needsUpdate = true;
|
|
3220
|
+
}
|
|
3221
|
+
if (!world.metadata.ownership ||
|
|
3222
|
+
typeof world.metadata.ownership !== "object" ||
|
|
3223
|
+
world.metadata.ownership.ownerId !== userId) {
|
|
3224
|
+
world.metadata.ownership = { ownerId: userId };
|
|
3225
|
+
needsUpdate = true;
|
|
3226
|
+
}
|
|
3227
|
+
if (needsUpdate) {
|
|
3228
|
+
await runtime.updateWorld(world);
|
|
3229
|
+
}
|
|
3230
|
+
}
|
|
3231
|
+
}
|
|
3232
|
+
catch (err) {
|
|
3233
|
+
logger.warn(`[eliza] Could not establish chat room, retrying with fresh IDs: ${formatError(err)}`);
|
|
3234
|
+
// Fall back to unique IDs if deterministic ones conflict with stale data.
|
|
3235
|
+
// IMPORTANT: reassign roomId so the message loop below uses the same room.
|
|
3236
|
+
roomId = crypto.randomUUID();
|
|
3237
|
+
const freshWorldId = crypto.randomUUID();
|
|
3238
|
+
const freshServerId = crypto.randomUUID();
|
|
3239
|
+
try {
|
|
3240
|
+
await runtime.ensureConnection({
|
|
3241
|
+
entityId: userId,
|
|
3242
|
+
roomId,
|
|
3243
|
+
worldId: freshWorldId,
|
|
3244
|
+
userName: "User",
|
|
3245
|
+
source: "cli",
|
|
3246
|
+
channelId: `${agentName}-chat`,
|
|
3247
|
+
type: ChannelType.DM,
|
|
3248
|
+
messageServerId: freshServerId,
|
|
3249
|
+
metadata: { ownership: { ownerId: userId } },
|
|
3250
|
+
});
|
|
3251
|
+
// Same ownership metadata fix for the fallback world.
|
|
3252
|
+
const fallbackWorld = await runtime.getWorld(freshWorldId);
|
|
3253
|
+
if (fallbackWorld) {
|
|
3254
|
+
let needsUpdate = false;
|
|
3255
|
+
if (!fallbackWorld.metadata) {
|
|
3256
|
+
fallbackWorld.metadata = {};
|
|
3257
|
+
needsUpdate = true;
|
|
3258
|
+
}
|
|
3259
|
+
if (!fallbackWorld.metadata.ownership ||
|
|
3260
|
+
typeof fallbackWorld.metadata.ownership !== "object" ||
|
|
3261
|
+
fallbackWorld.metadata.ownership.ownerId !==
|
|
3262
|
+
userId) {
|
|
3263
|
+
fallbackWorld.metadata.ownership = { ownerId: userId };
|
|
3264
|
+
needsUpdate = true;
|
|
3265
|
+
}
|
|
3266
|
+
if (needsUpdate) {
|
|
3267
|
+
await runtime.updateWorld(fallbackWorld);
|
|
3268
|
+
}
|
|
3269
|
+
}
|
|
3270
|
+
}
|
|
3271
|
+
catch (retryErr) {
|
|
3272
|
+
logger.error(`[eliza] Chat room setup failed after retry: ${formatError(retryErr)}`);
|
|
3273
|
+
throw retryErr;
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
const rl = readline.createInterface({
|
|
3277
|
+
input: process.stdin,
|
|
3278
|
+
output: process.stdout,
|
|
3279
|
+
});
|
|
3280
|
+
console.log(`\n💬 Chat with ${agentName} (type 'exit' to quit)\n`);
|
|
3281
|
+
const prompt = () => {
|
|
3282
|
+
rl.question("You: ", async (input) => {
|
|
3283
|
+
const text = input.trim();
|
|
3284
|
+
if (text.toLowerCase() === "exit" || text.toLowerCase() === "quit") {
|
|
3285
|
+
console.log("\nGoodbye!");
|
|
3286
|
+
rl.close();
|
|
3287
|
+
try {
|
|
3288
|
+
await shutdownRuntime(runtime, "cli shutdown");
|
|
3289
|
+
}
|
|
3290
|
+
catch (err) {
|
|
3291
|
+
logger.warn(`[eliza] Error stopping runtime: ${formatError(err)}`);
|
|
3292
|
+
}
|
|
3293
|
+
process.exit(0);
|
|
3294
|
+
}
|
|
3295
|
+
if (!text) {
|
|
3296
|
+
prompt();
|
|
3297
|
+
return;
|
|
3298
|
+
}
|
|
3299
|
+
try {
|
|
3300
|
+
const message = createMessageMemory({
|
|
3301
|
+
id: crypto.randomUUID(),
|
|
3302
|
+
entityId: userId,
|
|
3303
|
+
roomId,
|
|
3304
|
+
content: {
|
|
3305
|
+
text,
|
|
3306
|
+
source: "client_chat",
|
|
3307
|
+
channelType: ChannelType.DM,
|
|
3308
|
+
},
|
|
3309
|
+
});
|
|
3310
|
+
process.stdout.write(`${agentName}: `);
|
|
3311
|
+
if (!runtime.messageService) {
|
|
3312
|
+
logger.error("[eliza] runtime.messageService is not available — cannot process messages");
|
|
3313
|
+
console.log("[Error: message service unavailable]\n");
|
|
3314
|
+
prompt();
|
|
3315
|
+
return;
|
|
3316
|
+
}
|
|
3317
|
+
await runtime.messageService.handleMessage(runtime, message, async (content) => {
|
|
3318
|
+
if (content?.text) {
|
|
3319
|
+
process.stdout.write(content.text);
|
|
3320
|
+
}
|
|
3321
|
+
return [];
|
|
3322
|
+
});
|
|
3323
|
+
console.log("\n");
|
|
3324
|
+
}
|
|
3325
|
+
catch (err) {
|
|
3326
|
+
// Log the error and continue the prompt loop — don't let a single
|
|
3327
|
+
// failed message kill the interactive session.
|
|
3328
|
+
console.log(`\n[Error: ${formatError(err)}]\n`);
|
|
3329
|
+
logger.error(`[eliza] Chat message handling failed: ${formatError(err)}`);
|
|
3330
|
+
}
|
|
3331
|
+
prompt();
|
|
3332
|
+
});
|
|
3333
|
+
};
|
|
3334
|
+
prompt();
|
|
3335
|
+
}
|
|
3336
|
+
// When run directly (not imported), start immediately.
|
|
3337
|
+
// Use path.resolve to normalise both sides before comparing so that
|
|
3338
|
+
// symlinks, trailing slashes, and relative paths don't cause false negatives.
|
|
3339
|
+
// ---------------------------------------------------------------------------
|
|
3340
|
+
// Cloud thin-client mode
|
|
3341
|
+
// ---------------------------------------------------------------------------
|
|
3342
|
+
/**
|
|
3343
|
+
* Start in cloud mode — connect to a remote cloud agent via the thin client.
|
|
3344
|
+
* Skips all local runtime construction (plugins, database, etc.).
|
|
3345
|
+
*/
|
|
3346
|
+
export async function startInCloudMode(config, agentId, opts) {
|
|
3347
|
+
const { CloudManager } = await import("../cloud/cloud-manager.js");
|
|
3348
|
+
const cloudConfig = config.cloud;
|
|
3349
|
+
if (!cloudConfig) {
|
|
3350
|
+
throw new Error("Cloud mode requires a cloud configuration block in the config");
|
|
3351
|
+
}
|
|
3352
|
+
logger.info(`[eliza] Starting in cloud mode (agentId=${agentId}, baseUrl=${cloudConfig.baseUrl ?? "(default)"})`);
|
|
3353
|
+
const manager = new CloudManager(cloudConfig, {
|
|
3354
|
+
onStatusChange: (status) => {
|
|
3355
|
+
logger.info(`[eliza] Cloud connection: ${status}`);
|
|
3356
|
+
},
|
|
3357
|
+
});
|
|
3358
|
+
try {
|
|
3359
|
+
await manager.init();
|
|
3360
|
+
const proxy = await manager.connect(agentId);
|
|
3361
|
+
if (opts?.headless || opts?.serverOnly) {
|
|
3362
|
+
// In headless/server mode, start the API server with the cloud proxy.
|
|
3363
|
+
// The proxy exposes the same interface the API server needs.
|
|
3364
|
+
logger.info(`[eliza] Cloud agent connected (headless). Agent: ${proxy.agentName}`);
|
|
3365
|
+
// Return undefined here; GUI cloud mode is handled through the
|
|
3366
|
+
// dedicated cloud proxy routes instead of a local AgentRuntime.
|
|
3367
|
+
return undefined;
|
|
3368
|
+
}
|
|
3369
|
+
// Interactive CLI mode — simple chat loop against the cloud agent
|
|
3370
|
+
console.log(`\n☁️ Connected to cloud agent "${proxy.agentName}" (${agentId})\n`);
|
|
3371
|
+
console.log("Type a message to chat, or Ctrl+C to quit.\n");
|
|
3372
|
+
const rl = (await import("node:readline")).createInterface({
|
|
3373
|
+
input: process.stdin,
|
|
3374
|
+
output: process.stdout,
|
|
3375
|
+
});
|
|
3376
|
+
const prompt = () => {
|
|
3377
|
+
rl.question("You: ", async (input) => {
|
|
3378
|
+
const text = input.trim();
|
|
3379
|
+
if (!text) {
|
|
3380
|
+
prompt();
|
|
3381
|
+
return;
|
|
3382
|
+
}
|
|
3383
|
+
try {
|
|
3384
|
+
// Use streaming if available
|
|
3385
|
+
let response = "";
|
|
3386
|
+
process.stdout.write(`${proxy.agentName}: `);
|
|
3387
|
+
for await (const chunk of proxy.handleChatMessageStream(text)) {
|
|
3388
|
+
process.stdout.write(chunk);
|
|
3389
|
+
response += chunk;
|
|
3390
|
+
}
|
|
3391
|
+
if (!response) {
|
|
3392
|
+
// Fallback to non-streaming
|
|
3393
|
+
response = await proxy.handleChatMessage(text);
|
|
3394
|
+
process.stdout.write(response);
|
|
3395
|
+
}
|
|
3396
|
+
console.log("\n");
|
|
3397
|
+
}
|
|
3398
|
+
catch (err) {
|
|
3399
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
3400
|
+
console.error(`\n[error] ${msg}\n`);
|
|
3401
|
+
}
|
|
3402
|
+
prompt();
|
|
3403
|
+
});
|
|
3404
|
+
};
|
|
3405
|
+
rl.on("close", async () => {
|
|
3406
|
+
console.log("\nDisconnecting from cloud agent...");
|
|
3407
|
+
await manager.disconnect();
|
|
3408
|
+
process.exit(0);
|
|
3409
|
+
});
|
|
3410
|
+
prompt();
|
|
3411
|
+
// Keep the process alive
|
|
3412
|
+
return undefined;
|
|
3413
|
+
}
|
|
3414
|
+
catch (err) {
|
|
3415
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
3416
|
+
logger.error(`[eliza] Failed to connect to cloud agent: ${msg}`);
|
|
3417
|
+
throw new Error(`Failed to connect to cloud agent: ${msg}\n` +
|
|
3418
|
+
"You can retry with `eliza start`, or switch to local mode by setting `deploymentTarget.runtime` to `local`");
|
|
3419
|
+
}
|
|
3420
|
+
}
|
|
3421
|
+
const isDirectRun = (() => {
|
|
3422
|
+
// Mobile (bundled) builds set MILADY_DISABLE_DIRECT_RUN=1 via Bun's
|
|
3423
|
+
// `--define`. After bundling, `import.meta.url` and `process.argv[1]`
|
|
3424
|
+
// collapse to the same bundle path, so this check spuriously matches and
|
|
3425
|
+
// the runtime self-invokes a SECOND `startEliza()` alongside the CLI's
|
|
3426
|
+
// primary one. The second invocation lacks `{ serverOnly: true }` and
|
|
3427
|
+
// drops into the readline chat loop, which closes on stdin EOF and tears
|
|
3428
|
+
// the whole process down.
|
|
3429
|
+
if (process.env.MILADY_DISABLE_DIRECT_RUN === "1")
|
|
3430
|
+
return false;
|
|
3431
|
+
const scriptArg = process.argv[1];
|
|
3432
|
+
if (!scriptArg)
|
|
3433
|
+
return false;
|
|
3434
|
+
const normalised = path.resolve(scriptArg);
|
|
3435
|
+
return import.meta.url === pathToFileURL(normalised).href;
|
|
3436
|
+
})();
|
|
3437
|
+
if (isDirectRun) {
|
|
3438
|
+
startEliza().catch((err) => {
|
|
3439
|
+
console.error("[eliza] Fatal error:", err instanceof Error ? (err.stack ?? err.message) : err);
|
|
3440
|
+
process.exit(1);
|
|
3441
|
+
});
|
|
3442
|
+
}
|