@elizaos/ui 2.0.0-alpha.52 → 2.0.0-alpha.521
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/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-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 +31 -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/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/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.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/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/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/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-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-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-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/package.json +78 -51
- package/packages/agent/src/actions/agent-inbox.d.ts +14 -0
- package/packages/agent/src/actions/agent-inbox.d.ts.map +1 -0
- package/packages/agent/src/actions/agent-inbox.js +124 -0
- package/packages/agent/src/actions/browser-session.d.ts +3 -0
- package/packages/agent/src/actions/browser-session.d.ts.map +1 -0
- package/packages/agent/src/actions/browser-session.js +305 -0
- package/packages/agent/src/actions/configure-plugin.d.ts +11 -0
- package/packages/agent/src/actions/configure-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/configure-plugin.js +137 -0
- package/packages/agent/src/actions/connector-control.d.ts +24 -0
- package/packages/agent/src/actions/connector-control.d.ts.map +1 -0
- package/packages/agent/src/actions/connector-control.js +479 -0
- package/packages/agent/src/actions/connector-resolver.d.ts +75 -0
- package/packages/agent/src/actions/connector-resolver.d.ts.map +1 -0
- package/packages/agent/src/actions/connector-resolver.js +256 -0
- package/packages/agent/src/actions/context-signal-lexicon.d.ts +17 -0
- package/packages/agent/src/actions/context-signal-lexicon.d.ts.map +1 -0
- package/packages/agent/src/actions/context-signal-lexicon.js +212 -0
- package/packages/agent/src/actions/context-signal.d.ts +46 -0
- package/packages/agent/src/actions/context-signal.d.ts.map +1 -0
- package/packages/agent/src/actions/context-signal.js +134 -0
- package/packages/agent/src/actions/database.d.ts +15 -0
- package/packages/agent/src/actions/database.d.ts.map +1 -0
- package/packages/agent/src/actions/database.js +473 -0
- package/packages/agent/src/actions/eject-plugin.d.ts +3 -0
- package/packages/agent/src/actions/eject-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/eject-plugin.js +80 -0
- package/packages/agent/src/actions/entity-actions.d.ts +7 -0
- package/packages/agent/src/actions/entity-actions.d.ts.map +1 -0
- package/packages/agent/src/actions/entity-actions.js +1016 -0
- package/packages/agent/src/actions/extract-page.d.ts +3 -0
- package/packages/agent/src/actions/extract-page.d.ts.map +1 -0
- package/packages/agent/src/actions/extract-page.js +162 -0
- package/packages/agent/src/actions/extract-params.d.ts +87 -0
- package/packages/agent/src/actions/extract-params.d.ts.map +1 -0
- package/packages/agent/src/actions/extract-params.js +194 -0
- package/packages/agent/src/actions/get-self-status.d.ts +13 -0
- package/packages/agent/src/actions/get-self-status.d.ts.map +1 -0
- package/packages/agent/src/actions/get-self-status.js +107 -0
- package/packages/agent/src/actions/grounded-action-reply.d.ts +22 -0
- package/packages/agent/src/actions/grounded-action-reply.d.ts.map +1 -0
- package/packages/agent/src/actions/grounded-action-reply.js +288 -0
- package/packages/agent/src/actions/index.d.ts +26 -0
- package/packages/agent/src/actions/index.d.ts.map +1 -0
- package/packages/agent/src/actions/index.js +25 -0
- package/packages/agent/src/actions/install-plugin.d.ts +3 -0
- package/packages/agent/src/actions/install-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/install-plugin.js +97 -0
- package/packages/agent/src/actions/launchpad-launch.d.ts +16 -0
- package/packages/agent/src/actions/launchpad-launch.d.ts.map +1 -0
- package/packages/agent/src/actions/launchpad-launch.js +207 -0
- package/packages/agent/src/actions/list-ejected.d.ts +3 -0
- package/packages/agent/src/actions/list-ejected.d.ts.map +1 -0
- package/packages/agent/src/actions/list-ejected.js +79 -0
- package/packages/agent/src/actions/list-installed-plugins.d.ts +11 -0
- package/packages/agent/src/actions/list-installed-plugins.d.ts.map +1 -0
- package/packages/agent/src/actions/list-installed-plugins.js +142 -0
- package/packages/agent/src/actions/log-level.d.ts +3 -0
- package/packages/agent/src/actions/log-level.d.ts.map +1 -0
- package/packages/agent/src/actions/log-level.js +126 -0
- package/packages/agent/src/actions/logs.d.ts +12 -0
- package/packages/agent/src/actions/logs.d.ts.map +1 -0
- package/packages/agent/src/actions/logs.js +317 -0
- package/packages/agent/src/actions/manage-tasks.d.ts +8 -0
- package/packages/agent/src/actions/manage-tasks.d.ts.map +1 -0
- package/packages/agent/src/actions/manage-tasks.js +323 -0
- package/packages/agent/src/actions/media.d.ts +21 -0
- package/packages/agent/src/actions/media.d.ts.map +1 -0
- package/packages/agent/src/actions/media.js +504 -0
- package/packages/agent/src/actions/memories.d.ts +12 -0
- package/packages/agent/src/actions/memories.d.ts.map +1 -0
- package/packages/agent/src/actions/memories.js +310 -0
- package/packages/agent/src/actions/page-action-groups.d.ts +17 -0
- package/packages/agent/src/actions/page-action-groups.d.ts.map +1 -0
- package/packages/agent/src/actions/page-action-groups.js +171 -0
- package/packages/agent/src/actions/read-channel.d.ts +3 -0
- package/packages/agent/src/actions/read-channel.d.ts.map +1 -0
- package/packages/agent/src/actions/read-channel.js +265 -0
- package/packages/agent/src/actions/read-messages.d.ts +14 -0
- package/packages/agent/src/actions/read-messages.d.ts.map +1 -0
- package/packages/agent/src/actions/read-messages.js +269 -0
- package/packages/agent/src/actions/recent-conversation-texts.d.ts +9 -0
- package/packages/agent/src/actions/recent-conversation-texts.d.ts.map +1 -0
- package/packages/agent/src/actions/recent-conversation-texts.js +76 -0
- package/packages/agent/src/actions/reinject-plugin.d.ts +3 -0
- package/packages/agent/src/actions/reinject-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/reinject-plugin.js +79 -0
- package/packages/agent/src/actions/restart.d.ts +19 -0
- package/packages/agent/src/actions/restart.d.ts.map +1 -0
- package/packages/agent/src/actions/restart.js +139 -0
- package/packages/agent/src/actions/runtime.d.ts +14 -0
- package/packages/agent/src/actions/runtime.d.ts.map +1 -0
- package/packages/agent/src/actions/runtime.js +287 -0
- package/packages/agent/src/actions/scratchpad.d.ts +7 -0
- package/packages/agent/src/actions/scratchpad.d.ts.map +1 -0
- package/packages/agent/src/actions/scratchpad.js +409 -0
- package/packages/agent/src/actions/search-conversations.d.ts +3 -0
- package/packages/agent/src/actions/search-conversations.d.ts.map +1 -0
- package/packages/agent/src/actions/search-conversations.js +222 -0
- package/packages/agent/src/actions/send-admin-message.d.ts +3 -0
- package/packages/agent/src/actions/send-admin-message.d.ts.map +1 -0
- package/packages/agent/src/actions/send-admin-message.js +136 -0
- package/packages/agent/src/actions/send-message.d.ts +4 -0
- package/packages/agent/src/actions/send-message.d.ts.map +1 -0
- package/packages/agent/src/actions/send-message.js +410 -0
- package/packages/agent/src/actions/set-user-name.d.ts +13 -0
- package/packages/agent/src/actions/set-user-name.d.ts.map +1 -0
- package/packages/agent/src/actions/set-user-name.js +106 -0
- package/packages/agent/src/actions/settings-actions.d.ts +28 -0
- package/packages/agent/src/actions/settings-actions.d.ts.map +1 -0
- package/packages/agent/src/actions/settings-actions.js +564 -0
- package/packages/agent/src/actions/skill-command.d.ts +20 -0
- package/packages/agent/src/actions/skill-command.d.ts.map +1 -0
- package/packages/agent/src/actions/skill-command.js +142 -0
- package/packages/agent/src/actions/stream-control.d.ts +11 -0
- package/packages/agent/src/actions/stream-control.d.ts.map +1 -0
- package/packages/agent/src/actions/stream-control.js +182 -0
- package/packages/agent/src/actions/sync-plugin.d.ts +3 -0
- package/packages/agent/src/actions/sync-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/sync-plugin.js +76 -0
- package/packages/agent/src/actions/tasks-coding.d.ts +10 -0
- package/packages/agent/src/actions/tasks-coding.d.ts.map +1 -0
- package/packages/agent/src/actions/tasks-coding.js +171 -0
- package/packages/agent/src/actions/terminal.d.ts +15 -0
- package/packages/agent/src/actions/terminal.d.ts.map +1 -0
- package/packages/agent/src/actions/terminal.js +283 -0
- package/packages/agent/src/actions/toggle-plugin.d.ts +11 -0
- package/packages/agent/src/actions/toggle-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/toggle-plugin.js +125 -0
- package/packages/agent/src/actions/trajectories.d.ts +12 -0
- package/packages/agent/src/actions/trajectories.d.ts.map +1 -0
- package/packages/agent/src/actions/trajectories.js +347 -0
- package/packages/agent/src/actions/uninstall-plugin.d.ts +12 -0
- package/packages/agent/src/actions/uninstall-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/uninstall-plugin.js +110 -0
- package/packages/agent/src/actions/update-owner-name.d.ts +12 -0
- package/packages/agent/src/actions/update-owner-name.d.ts.map +1 -0
- package/packages/agent/src/actions/update-owner-name.js +83 -0
- package/packages/agent/src/actions/update-plugin.d.ts +10 -0
- package/packages/agent/src/actions/update-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/update-plugin.js +131 -0
- package/packages/agent/src/actions/web-search.d.ts +10 -0
- package/packages/agent/src/actions/web-search.d.ts.map +1 -0
- package/packages/agent/src/actions/web-search.js +282 -0
- package/packages/agent/src/actions/workflow/api.d.ts +24 -0
- package/packages/agent/src/actions/workflow/api.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/api.js +42 -0
- package/packages/agent/src/actions/workflow/create-workflow.d.ts +11 -0
- package/packages/agent/src/actions/workflow/create-workflow.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/create-workflow.js +120 -0
- package/packages/agent/src/actions/workflow/delete-workflow.d.ts +11 -0
- package/packages/agent/src/actions/workflow/delete-workflow.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/delete-workflow.js +100 -0
- package/packages/agent/src/actions/workflow/index.d.ts +5 -0
- package/packages/agent/src/actions/workflow/index.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/index.js +4 -0
- package/packages/agent/src/actions/workflow/promote-task-to-workflow.d.ts +12 -0
- package/packages/agent/src/actions/workflow/promote-task-to-workflow.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/promote-task-to-workflow.js +154 -0
- package/packages/agent/src/actions/workflow/toggle-workflow-active.d.ts +10 -0
- package/packages/agent/src/actions/workflow/toggle-workflow-active.d.ts.map +1 -0
- package/packages/agent/src/actions/workflow/toggle-workflow-active.js +132 -0
- package/packages/agent/src/api/accounts-routes.d.ts +39 -0
- package/packages/agent/src/api/accounts-routes.d.ts.map +1 -0
- package/packages/agent/src/api/accounts-routes.js +701 -0
- package/packages/agent/src/api/agent-admin-routes.d.ts +39 -0
- package/packages/agent/src/api/agent-admin-routes.d.ts.map +1 -0
- package/packages/agent/src/api/agent-admin-routes.js +155 -0
- package/packages/agent/src/api/agent-lifecycle-routes.d.ts +16 -0
- package/packages/agent/src/api/agent-lifecycle-routes.d.ts.map +1 -0
- package/packages/agent/src/api/agent-lifecycle-routes.js +94 -0
- package/packages/agent/src/api/agent-model.d.ts +5 -0
- package/packages/agent/src/api/agent-model.d.ts.map +1 -0
- package/packages/agent/src/api/agent-model.js +154 -0
- package/packages/agent/src/api/agent-status-routes.d.ts +96 -0
- package/packages/agent/src/api/agent-status-routes.d.ts.map +1 -0
- package/packages/agent/src/api/agent-status-routes.js +274 -0
- package/packages/agent/src/api/agent-transfer-routes.d.ts +16 -0
- package/packages/agent/src/api/agent-transfer-routes.d.ts.map +1 -0
- package/packages/agent/src/api/agent-transfer-routes.js +124 -0
- package/packages/agent/src/api/app-package-routes.d.ts +7 -0
- package/packages/agent/src/api/app-package-routes.d.ts.map +1 -0
- package/packages/agent/src/api/app-package-routes.js +59 -0
- package/packages/agent/src/api/apps-routes.d.ts +32 -0
- package/packages/agent/src/api/apps-routes.d.ts.map +1 -0
- package/packages/agent/src/api/apps-routes.js +982 -0
- package/packages/agent/src/api/auth-routes.d.ts +11 -0
- package/packages/agent/src/api/auth-routes.d.ts.map +1 -0
- package/packages/agent/src/api/auth-routes.js +74 -0
- package/packages/agent/src/api/avatar-routes.d.ts +11 -0
- package/packages/agent/src/api/avatar-routes.d.ts.map +1 -0
- package/packages/agent/src/api/avatar-routes.js +205 -0
- package/packages/agent/src/api/binance-skill-helpers.d.ts +26 -0
- package/packages/agent/src/api/binance-skill-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/binance-skill-helpers.js +785 -0
- package/packages/agent/src/api/bluebubbles-routes.d.ts +10 -0
- package/packages/agent/src/api/bluebubbles-routes.d.ts.map +1 -0
- package/packages/agent/src/api/bluebubbles-routes.js +129 -0
- package/packages/agent/src/api/browser-workspace-routes.d.ts +5 -0
- package/packages/agent/src/api/browser-workspace-routes.d.ts.map +1 -0
- package/packages/agent/src/api/browser-workspace-routes.js +100 -0
- package/packages/agent/src/api/bug-report-routes.d.ts +10 -0
- package/packages/agent/src/api/bug-report-routes.d.ts.map +1 -0
- package/packages/agent/src/api/bug-report-routes.js +271 -0
- package/packages/agent/src/api/character-routes.d.ts +52 -0
- package/packages/agent/src/api/character-routes.d.ts.map +1 -0
- package/packages/agent/src/api/character-routes.js +377 -0
- package/packages/agent/src/api/chat-augmentation.d.ts +70 -0
- package/packages/agent/src/api/chat-augmentation.d.ts.map +1 -0
- package/packages/agent/src/api/chat-augmentation.js +465 -0
- package/packages/agent/src/api/chat-routes.d.ts +110 -0
- package/packages/agent/src/api/chat-routes.d.ts.map +1 -0
- package/packages/agent/src/api/chat-routes.js +1516 -0
- package/packages/agent/src/api/chat-text-helpers.d.ts +11 -0
- package/packages/agent/src/api/chat-text-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/chat-text-helpers.js +184 -0
- package/packages/agent/src/api/client-chat-admin.d.ts +19 -0
- package/packages/agent/src/api/client-chat-admin.d.ts.map +1 -0
- package/packages/agent/src/api/client-chat-admin.js +27 -0
- package/packages/agent/src/api/cloud-billing-routes.d.ts +9 -0
- package/packages/agent/src/api/cloud-billing-routes.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-billing-routes.js +388 -0
- package/packages/agent/src/api/cloud-compat-routes.d.ts +10 -0
- package/packages/agent/src/api/cloud-compat-routes.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-compat-routes.js +212 -0
- package/packages/agent/src/api/cloud-provisioning.d.ts +14 -0
- package/packages/agent/src/api/cloud-provisioning.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-provisioning.js +30 -0
- package/packages/agent/src/api/cloud-relay-routes.d.ts +22 -0
- package/packages/agent/src/api/cloud-relay-routes.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-relay-routes.js +53 -0
- package/packages/agent/src/api/cloud-routes.d.ts +83 -0
- package/packages/agent/src/api/cloud-routes.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-routes.js +635 -0
- package/packages/agent/src/api/cloud-status-routes.d.ts +15 -0
- package/packages/agent/src/api/cloud-status-routes.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-status-routes.js +152 -0
- package/packages/agent/src/api/coding-agents-fallback-routes.d.ts +12 -0
- package/packages/agent/src/api/coding-agents-fallback-routes.d.ts.map +1 -0
- package/packages/agent/src/api/coding-agents-fallback-routes.js +523 -0
- package/packages/agent/src/api/compat-utils.d.ts +49 -0
- package/packages/agent/src/api/compat-utils.d.ts.map +1 -0
- package/packages/agent/src/api/compat-utils.js +122 -0
- package/packages/agent/src/api/config-env.d.ts +43 -0
- package/packages/agent/src/api/config-env.d.ts.map +1 -0
- package/packages/agent/src/api/config-env.js +284 -0
- package/packages/agent/src/api/config-routes.d.ts +40 -0
- package/packages/agent/src/api/config-routes.d.ts.map +1 -0
- package/packages/agent/src/api/config-routes.js +433 -0
- package/packages/agent/src/api/connector-health.d.ts +42 -0
- package/packages/agent/src/api/connector-health.d.ts.map +1 -0
- package/packages/agent/src/api/connector-health.js +132 -0
- package/packages/agent/src/api/connector-routes.d.ts +29 -0
- package/packages/agent/src/api/connector-routes.d.ts.map +1 -0
- package/packages/agent/src/api/connector-routes.js +137 -0
- package/packages/agent/src/api/conversation-metadata.d.ts +10 -0
- package/packages/agent/src/api/conversation-metadata.d.ts.map +1 -0
- package/packages/agent/src/api/conversation-metadata.js +107 -0
- package/packages/agent/src/api/conversation-routes.d.ts +43 -0
- package/packages/agent/src/api/conversation-routes.d.ts.map +1 -0
- package/packages/agent/src/api/conversation-routes.js +1198 -0
- package/packages/agent/src/api/credit-detection.d.ts +9 -0
- package/packages/agent/src/api/credit-detection.d.ts.map +1 -0
- package/packages/agent/src/api/credit-detection.js +47 -0
- package/packages/agent/src/api/curated-skills-routes.d.ts +22 -0
- package/packages/agent/src/api/curated-skills-routes.d.ts.map +1 -0
- package/packages/agent/src/api/curated-skills-routes.js +295 -0
- package/packages/agent/src/api/database.d.ts +35 -0
- package/packages/agent/src/api/database.d.ts.map +1 -0
- package/packages/agent/src/api/database.js +1141 -0
- package/packages/agent/src/api/diagnostics-routes.d.ts +60 -0
- package/packages/agent/src/api/diagnostics-routes.d.ts.map +1 -0
- package/packages/agent/src/api/diagnostics-routes.js +365 -0
- package/packages/agent/src/api/discord-avatar-cache.d.ts +10 -0
- package/packages/agent/src/api/discord-avatar-cache.d.ts.map +1 -0
- package/packages/agent/src/api/discord-avatar-cache.js +149 -0
- package/packages/agent/src/api/discord-profiles.d.ts +26 -0
- package/packages/agent/src/api/discord-profiles.d.ts.map +1 -0
- package/packages/agent/src/api/discord-profiles.js +279 -0
- package/packages/agent/src/api/early-logs.d.ts +29 -0
- package/packages/agent/src/api/early-logs.d.ts.map +1 -0
- package/packages/agent/src/api/early-logs.js +96 -0
- package/packages/agent/src/api/experience-routes.d.ts +8 -0
- package/packages/agent/src/api/experience-routes.d.ts.map +1 -0
- package/packages/agent/src/api/experience-routes.js +433 -0
- package/packages/agent/src/api/health-routes.d.ts +44 -0
- package/packages/agent/src/api/health-routes.d.ts.map +1 -0
- package/packages/agent/src/api/health-routes.js +449 -0
- package/packages/agent/src/api/http-helpers.d.ts +50 -0
- package/packages/agent/src/api/http-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/http-helpers.js +167 -0
- package/packages/agent/src/api/inbox-routes.d.ts +48 -0
- package/packages/agent/src/api/inbox-routes.d.ts.map +1 -0
- package/packages/agent/src/api/inbox-routes.js +1577 -0
- package/packages/agent/src/api/index.d.ts +58 -0
- package/packages/agent/src/api/index.d.ts.map +1 -0
- package/packages/agent/src/api/index.js +61 -0
- package/packages/agent/src/api/knowledge-routes.d.ts +2 -0
- package/packages/agent/src/api/knowledge-routes.d.ts.map +1 -0
- package/packages/agent/src/api/knowledge-routes.js +2 -0
- package/packages/agent/src/api/knowledge-service-loader.d.ts +2 -0
- package/packages/agent/src/api/knowledge-service-loader.d.ts.map +1 -0
- package/packages/agent/src/api/knowledge-service-loader.js +2 -0
- package/packages/agent/src/api/mcp-routes.d.ts +33 -0
- package/packages/agent/src/api/mcp-routes.d.ts.map +1 -0
- package/packages/agent/src/api/mcp-routes.js +186 -0
- package/packages/agent/src/api/memory-bounds.d.ts +51 -0
- package/packages/agent/src/api/memory-bounds.d.ts.map +1 -0
- package/packages/agent/src/api/memory-bounds.js +81 -0
- package/packages/agent/src/api/memory-routes.d.ts +9 -0
- package/packages/agent/src/api/memory-routes.d.ts.map +1 -0
- package/packages/agent/src/api/memory-routes.js +483 -0
- package/packages/agent/src/api/misc-routes.d.ts +64 -0
- package/packages/agent/src/api/misc-routes.d.ts.map +1 -0
- package/packages/agent/src/api/misc-routes.js +589 -0
- package/packages/agent/src/api/model-provider-helpers.d.ts +84 -0
- package/packages/agent/src/api/model-provider-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/model-provider-helpers.js +588 -0
- package/packages/agent/src/api/models-routes.d.ts +14 -0
- package/packages/agent/src/api/models-routes.d.ts.map +1 -0
- package/packages/agent/src/api/models-routes.js +37 -0
- package/packages/agent/src/api/music-player-route-fallback.d.ts +16 -0
- package/packages/agent/src/api/music-player-route-fallback.d.ts.map +1 -0
- package/packages/agent/src/api/music-player-route-fallback.js +65 -0
- package/packages/agent/src/api/nfa-routes.d.ts +5 -0
- package/packages/agent/src/api/nfa-routes.d.ts.map +1 -0
- package/packages/agent/src/api/nfa-routes.js +133 -0
- package/packages/agent/src/api/onboarding-routes.d.ts +50 -0
- package/packages/agent/src/api/onboarding-routes.d.ts.map +1 -0
- package/packages/agent/src/api/onboarding-routes.js +590 -0
- package/packages/agent/src/api/owner-contact-helpers.d.ts +39 -0
- package/packages/agent/src/api/owner-contact-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/owner-contact-helpers.js +47 -0
- package/packages/agent/src/api/parse-action-block.d.ts +35 -0
- package/packages/agent/src/api/parse-action-block.d.ts.map +1 -0
- package/packages/agent/src/api/parse-action-block.js +113 -0
- package/packages/agent/src/api/permissions-routes-extra.d.ts +30 -0
- package/packages/agent/src/api/permissions-routes-extra.d.ts.map +1 -0
- package/packages/agent/src/api/permissions-routes-extra.js +78 -0
- package/packages/agent/src/api/permissions-routes.d.ts +28 -0
- package/packages/agent/src/api/permissions-routes.d.ts.map +1 -0
- package/packages/agent/src/api/permissions-routes.js +180 -0
- package/packages/agent/src/api/plugin-discovery-helpers.d.ts +147 -0
- package/packages/agent/src/api/plugin-discovery-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/plugin-discovery-helpers.js +1136 -0
- package/packages/agent/src/api/plugin-routes.d.ts +127 -0
- package/packages/agent/src/api/plugin-routes.d.ts.map +1 -0
- package/packages/agent/src/api/plugin-routes.js +1250 -0
- package/packages/agent/src/api/plugin-runtime-apply.d.ts +31 -0
- package/packages/agent/src/api/plugin-runtime-apply.d.ts.map +1 -0
- package/packages/agent/src/api/plugin-runtime-apply.js +217 -0
- package/packages/agent/src/api/plugin-validation.d.ts +86 -0
- package/packages/agent/src/api/plugin-validation.d.ts.map +1 -0
- package/packages/agent/src/api/plugin-validation.js +259 -0
- package/packages/agent/src/api/provider-switch-config.d.ts +63 -0
- package/packages/agent/src/api/provider-switch-config.d.ts.map +1 -0
- package/packages/agent/src/api/provider-switch-config.js +721 -0
- package/packages/agent/src/api/provider-switch-routes.d.ts +28 -0
- package/packages/agent/src/api/provider-switch-routes.d.ts.map +1 -0
- package/packages/agent/src/api/provider-switch-routes.js +127 -0
- package/packages/agent/src/api/rate-limiter.d.ts +29 -0
- package/packages/agent/src/api/rate-limiter.d.ts.map +1 -0
- package/packages/agent/src/api/rate-limiter.js +57 -0
- package/packages/agent/src/api/registry-routes.d.ts +29 -0
- package/packages/agent/src/api/registry-routes.d.ts.map +1 -0
- package/packages/agent/src/api/registry-routes.js +98 -0
- package/packages/agent/src/api/registry-service.d.ts +77 -0
- package/packages/agent/src/api/registry-service.d.ts.map +1 -0
- package/packages/agent/src/api/registry-service.js +190 -0
- package/packages/agent/src/api/relationships-routes.d.ts +7 -0
- package/packages/agent/src/api/relationships-routes.d.ts.map +1 -0
- package/packages/agent/src/api/relationships-routes.js +275 -0
- package/packages/agent/src/api/route-helpers.d.ts +16 -0
- package/packages/agent/src/api/route-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/route-helpers.js +1 -0
- package/packages/agent/src/api/runtime-plugin-routes.d.ts +26 -0
- package/packages/agent/src/api/runtime-plugin-routes.d.ts.map +1 -0
- package/packages/agent/src/api/runtime-plugin-routes.js +196 -0
- package/packages/agent/src/api/sandbox-routes.d.ts +12 -0
- package/packages/agent/src/api/sandbox-routes.d.ts.map +1 -0
- package/packages/agent/src/api/sandbox-routes.js +1334 -0
- package/packages/agent/src/api/server-auth.d.ts +46 -0
- package/packages/agent/src/api/server-auth.d.ts.map +1 -0
- package/packages/agent/src/api/server-auth.js +509 -0
- package/packages/agent/src/api/server-helpers-auth.d.ts +40 -0
- package/packages/agent/src/api/server-helpers-auth.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-auth.js +609 -0
- package/packages/agent/src/api/server-helpers-config.d.ts +37 -0
- package/packages/agent/src/api/server-helpers-config.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-config.js +295 -0
- package/packages/agent/src/api/server-helpers-fetch.d.ts +15 -0
- package/packages/agent/src/api/server-helpers-fetch.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-fetch.js +149 -0
- package/packages/agent/src/api/server-helpers-mcp.d.ts +12 -0
- package/packages/agent/src/api/server-helpers-mcp.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-mcp.js +315 -0
- package/packages/agent/src/api/server-helpers-plugin.d.ts +13 -0
- package/packages/agent/src/api/server-helpers-plugin.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-plugin.js +158 -0
- package/packages/agent/src/api/server-helpers-swarm.d.ts +59 -0
- package/packages/agent/src/api/server-helpers-swarm.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-swarm.js +416 -0
- package/packages/agent/src/api/server-helpers-wallet.d.ts +18 -0
- package/packages/agent/src/api/server-helpers-wallet.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers-wallet.js +178 -0
- package/packages/agent/src/api/server-helpers.d.ts +96 -0
- package/packages/agent/src/api/server-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers.js +601 -0
- package/packages/agent/src/api/server-types.d.ts +238 -0
- package/packages/agent/src/api/server-types.d.ts.map +1 -0
- package/packages/agent/src/api/server-types.js +6 -0
- package/packages/agent/src/api/server.d.ts +61 -0
- package/packages/agent/src/api/server.d.ts.map +1 -0
- package/packages/agent/src/api/server.js +3227 -0
- package/packages/agent/src/api/signal-routes.d.ts +42 -0
- package/packages/agent/src/api/signal-routes.d.ts.map +1 -0
- package/packages/agent/src/api/signal-routes.js +231 -0
- package/packages/agent/src/api/skill-discovery-helpers.d.ts +80 -0
- package/packages/agent/src/api/skill-discovery-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/skill-discovery-helpers.js +383 -0
- package/packages/agent/src/api/skills-routes.d.ts +32 -0
- package/packages/agent/src/api/skills-routes.d.ts.map +1 -0
- package/packages/agent/src/api/skills-routes.js +975 -0
- package/packages/agent/src/api/static-file-server.d.ts +19 -0
- package/packages/agent/src/api/static-file-server.d.ts.map +1 -0
- package/packages/agent/src/api/static-file-server.js +233 -0
- package/packages/agent/src/api/stream-persistence.d.ts +64 -0
- package/packages/agent/src/api/stream-persistence.d.ts.map +1 -0
- package/packages/agent/src/api/stream-persistence.js +231 -0
- package/packages/agent/src/api/stream-route-state.d.ts +56 -0
- package/packages/agent/src/api/stream-route-state.d.ts.map +1 -0
- package/packages/agent/src/api/stream-route-state.js +1 -0
- package/packages/agent/src/api/stream-routes.d.ts +24 -0
- package/packages/agent/src/api/stream-routes.d.ts.map +1 -0
- package/packages/agent/src/api/stream-routes.js +728 -0
- package/packages/agent/src/api/streaming-text.d.ts +9 -0
- package/packages/agent/src/api/streaming-text.d.ts.map +1 -0
- package/packages/agent/src/api/streaming-text.js +85 -0
- package/packages/agent/src/api/streaming-types.d.ts +30 -0
- package/packages/agent/src/api/streaming-types.d.ts.map +1 -0
- package/packages/agent/src/api/streaming-types.js +1 -0
- package/packages/agent/src/api/subscription-routes.d.ts +20 -0
- package/packages/agent/src/api/subscription-routes.d.ts.map +1 -0
- package/packages/agent/src/api/subscription-routes.js +268 -0
- package/packages/agent/src/api/task-agent-message-routing.d.ts +10 -0
- package/packages/agent/src/api/task-agent-message-routing.d.ts.map +1 -0
- package/packages/agent/src/api/task-agent-message-routing.js +62 -0
- package/packages/agent/src/api/telegram-account-routes.d.ts +26 -0
- package/packages/agent/src/api/telegram-account-routes.d.ts.map +1 -0
- package/packages/agent/src/api/telegram-account-routes.js +229 -0
- package/packages/agent/src/api/terminal-run-limits.d.ts +5 -0
- package/packages/agent/src/api/terminal-run-limits.d.ts.map +1 -0
- package/packages/agent/src/api/terminal-run-limits.js +22 -0
- package/packages/agent/src/api/trade-safety.d.ts +35 -0
- package/packages/agent/src/api/trade-safety.d.ts.map +1 -0
- package/packages/agent/src/api/trade-safety.js +62 -0
- package/packages/agent/src/api/training-backend-check.d.ts +2 -0
- package/packages/agent/src/api/training-backend-check.d.ts.map +1 -0
- package/packages/agent/src/api/training-backend-check.js +2 -0
- package/packages/agent/src/api/training-routes.d.ts +2 -0
- package/packages/agent/src/api/training-routes.d.ts.map +1 -0
- package/packages/agent/src/api/training-routes.js +2 -0
- package/packages/agent/src/api/training-service-like.d.ts +2 -0
- package/packages/agent/src/api/training-service-like.d.ts.map +1 -0
- package/packages/agent/src/api/training-service-like.js +1 -0
- package/packages/agent/src/api/trajectory-routes.d.ts +3 -0
- package/packages/agent/src/api/trajectory-routes.d.ts.map +1 -0
- package/packages/agent/src/api/trajectory-routes.js +2 -0
- package/packages/agent/src/api/trigger-routes.d.ts +64 -0
- package/packages/agent/src/api/trigger-routes.d.ts.map +1 -0
- package/packages/agent/src/api/trigger-routes.js +431 -0
- package/packages/agent/src/api/tts-routes.d.ts +24 -0
- package/packages/agent/src/api/tts-routes.d.ts.map +1 -0
- package/packages/agent/src/api/tts-routes.js +200 -0
- package/packages/agent/src/api/tx-service.d.ts +53 -0
- package/packages/agent/src/api/tx-service.d.ts.map +1 -0
- package/packages/agent/src/api/tx-service.js +217 -0
- package/packages/agent/src/api/update-routes.d.ts +19 -0
- package/packages/agent/src/api/update-routes.d.ts.map +1 -0
- package/packages/agent/src/api/update-routes.js +54 -0
- package/packages/agent/src/api/wallet-capability.d.ts +32 -0
- package/packages/agent/src/api/wallet-capability.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-capability.js +189 -0
- package/packages/agent/src/api/wallet-env-sync.d.ts +2 -0
- package/packages/agent/src/api/wallet-env-sync.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-env-sync.js +108 -0
- package/packages/agent/src/api/wallet-evm-balance.d.ts +72 -0
- package/packages/agent/src/api/wallet-evm-balance.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-evm-balance.js +663 -0
- package/packages/agent/src/api/wallet-routes.d.ts +42 -0
- package/packages/agent/src/api/wallet-routes.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-routes.js +863 -0
- package/packages/agent/src/api/wallet-rpc.d.ts +73 -0
- package/packages/agent/src/api/wallet-rpc.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-rpc.js +471 -0
- package/packages/agent/src/api/wallet-trading-profile.d.ts +31 -0
- package/packages/agent/src/api/wallet-trading-profile.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-trading-profile.js +565 -0
- package/packages/agent/src/api/wallet.d.ts +64 -0
- package/packages/agent/src/api/wallet.d.ts.map +1 -0
- package/packages/agent/src/api/wallet.js +782 -0
- package/packages/agent/src/api/whatsapp-routes.d.ts +39 -0
- package/packages/agent/src/api/whatsapp-routes.d.ts.map +1 -0
- package/packages/agent/src/api/whatsapp-routes.js +275 -0
- package/packages/agent/src/api/workbench-helpers.d.ts +39 -0
- package/packages/agent/src/api/workbench-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/workbench-helpers.js +141 -0
- package/packages/agent/src/api/workbench-routes.d.ts +53 -0
- package/packages/agent/src/api/workbench-routes.d.ts.map +1 -0
- package/packages/agent/src/api/workbench-routes.js +391 -0
- package/packages/agent/src/api/x-relay-routes.d.ts +27 -0
- package/packages/agent/src/api/x-relay-routes.d.ts.map +1 -0
- package/packages/agent/src/api/x-relay-routes.js +135 -0
- package/packages/agent/src/api/zip-utils.d.ts +8 -0
- package/packages/agent/src/api/zip-utils.d.ts.map +1 -0
- package/packages/agent/src/api/zip-utils.js +115 -0
- package/packages/agent/src/auth/account-storage.d.ts +48 -0
- package/packages/agent/src/auth/account-storage.d.ts.map +1 -0
- package/packages/agent/src/auth/account-storage.js +238 -0
- package/packages/agent/src/auth/anthropic.d.ts +24 -0
- package/packages/agent/src/auth/anthropic.d.ts.map +1 -0
- package/packages/agent/src/auth/anthropic.js +38 -0
- package/packages/agent/src/auth/claude-code-stealth.d.ts +2 -0
- package/packages/agent/src/auth/claude-code-stealth.d.ts.map +1 -0
- package/packages/agent/src/auth/claude-code-stealth.js +114 -0
- package/packages/agent/src/auth/credentials.d.ts +95 -0
- package/packages/agent/src/auth/credentials.d.ts.map +1 -0
- package/packages/agent/src/auth/credentials.js +444 -0
- package/packages/agent/src/auth/index.d.ts +8 -0
- package/packages/agent/src/auth/index.d.ts.map +1 -0
- package/packages/agent/src/auth/index.js +7 -0
- package/packages/agent/src/auth/oauth-flow.d.ts +106 -0
- package/packages/agent/src/auth/oauth-flow.d.ts.map +1 -0
- package/packages/agent/src/auth/oauth-flow.js +349 -0
- package/packages/agent/src/auth/openai-codex.d.ts +27 -0
- package/packages/agent/src/auth/openai-codex.d.ts.map +1 -0
- package/packages/agent/src/auth/openai-codex.js +76 -0
- package/packages/agent/src/auth/refresh-mutex.d.ts +19 -0
- package/packages/agent/src/auth/refresh-mutex.d.ts.map +1 -0
- package/packages/agent/src/auth/refresh-mutex.js +33 -0
- package/packages/agent/src/auth/types.d.ts +18 -0
- package/packages/agent/src/auth/types.d.ts.map +1 -0
- package/packages/agent/src/auth/types.js +8 -0
- package/packages/agent/src/auth/vendor/pi-oauth/anthropic-login.d.ts +48 -0
- package/packages/agent/src/auth/vendor/pi-oauth/anthropic-login.d.ts.map +1 -0
- package/packages/agent/src/auth/vendor/pi-oauth/anthropic-login.js +113 -0
- package/packages/agent/src/auth/vendor/pi-oauth/openai-codex-login.d.ts +26 -0
- package/packages/agent/src/auth/vendor/pi-oauth/openai-codex-login.d.ts.map +1 -0
- package/packages/agent/src/auth/vendor/pi-oauth/openai-codex-login.js +342 -0
- package/packages/agent/src/auth/vendor/pi-oauth/pkce.d.ts +9 -0
- package/packages/agent/src/auth/vendor/pi-oauth/pkce.d.ts.map +1 -0
- package/packages/agent/src/auth/vendor/pi-oauth/pkce.js +21 -0
- package/packages/agent/src/awareness/index.d.ts +2 -0
- package/packages/agent/src/awareness/index.d.ts.map +1 -0
- package/packages/agent/src/awareness/index.js +1 -0
- package/packages/agent/src/awareness/registry.d.ts +27 -0
- package/packages/agent/src/awareness/registry.d.ts.map +1 -0
- package/packages/agent/src/awareness/registry.js +161 -0
- package/packages/agent/src/cli/parse-duration.d.ts +5 -0
- package/packages/agent/src/cli/parse-duration.d.ts.map +1 -0
- package/packages/agent/src/cli/parse-duration.js +27 -0
- package/packages/agent/src/cloud/auth.d.ts +19 -0
- package/packages/agent/src/cloud/auth.d.ts.map +1 -0
- package/packages/agent/src/cloud/auth.js +110 -0
- package/packages/agent/src/cloud/backup.d.ts +18 -0
- package/packages/agent/src/cloud/backup.d.ts.map +1 -0
- package/packages/agent/src/cloud/backup.js +42 -0
- package/packages/agent/src/cloud/base-url.d.ts +3 -0
- package/packages/agent/src/cloud/base-url.d.ts.map +1 -0
- package/packages/agent/src/cloud/base-url.js +53 -0
- package/packages/agent/src/cloud/bridge-client.d.ts +126 -0
- package/packages/agent/src/cloud/bridge-client.d.ts.map +1 -0
- package/packages/agent/src/cloud/bridge-client.js +380 -0
- package/packages/agent/src/cloud/cloud-manager.d.ts +33 -0
- package/packages/agent/src/cloud/cloud-manager.d.ts.map +1 -0
- package/packages/agent/src/cloud/cloud-manager.js +130 -0
- package/packages/agent/src/cloud/cloud-proxy.d.ts +20 -0
- package/packages/agent/src/cloud/cloud-proxy.d.ts.map +1 -0
- package/packages/agent/src/cloud/cloud-proxy.js +34 -0
- package/packages/agent/src/cloud/cloud-wallet.d.ts +92 -0
- package/packages/agent/src/cloud/cloud-wallet.d.ts.map +1 -0
- package/packages/agent/src/cloud/cloud-wallet.js +199 -0
- package/packages/agent/src/cloud/index.d.ts +9 -0
- package/packages/agent/src/cloud/index.d.ts.map +1 -0
- package/packages/agent/src/cloud/index.js +8 -0
- package/packages/agent/src/cloud/reconnect.d.ts +26 -0
- package/packages/agent/src/cloud/reconnect.d.ts.map +1 -0
- package/packages/agent/src/cloud/reconnect.js +89 -0
- package/packages/agent/src/cloud/validate-url.d.ts +2 -0
- package/packages/agent/src/cloud/validate-url.d.ts.map +1 -0
- package/packages/agent/src/cloud/validate-url.js +162 -0
- package/packages/agent/src/config/character-schema.d.ts +25 -0
- package/packages/agent/src/config/character-schema.d.ts.map +1 -0
- package/packages/agent/src/config/character-schema.js +39 -0
- package/packages/agent/src/config/config.d.ts +6 -0
- package/packages/agent/src/config/config.d.ts.map +1 -0
- package/packages/agent/src/config/config.js +279 -0
- package/packages/agent/src/config/env-vars.d.ts +9 -0
- package/packages/agent/src/config/env-vars.d.ts.map +1 -0
- package/packages/agent/src/config/env-vars.js +284 -0
- package/packages/agent/src/config/feature-flags.d.ts +17 -0
- package/packages/agent/src/config/feature-flags.d.ts.map +1 -0
- package/packages/agent/src/config/feature-flags.js +37 -0
- package/packages/agent/src/config/includes.d.ts +26 -0
- package/packages/agent/src/config/includes.d.ts.map +1 -0
- package/packages/agent/src/config/includes.js +148 -0
- package/packages/agent/src/config/index.d.ts +20 -0
- package/packages/agent/src/config/index.d.ts.map +1 -0
- package/packages/agent/src/config/index.js +19 -0
- package/packages/agent/src/config/model-metadata.d.ts +20 -0
- package/packages/agent/src/config/model-metadata.d.ts.map +1 -0
- package/packages/agent/src/config/model-metadata.js +133 -0
- package/packages/agent/src/config/object-utils.d.ts +2 -0
- package/packages/agent/src/config/object-utils.d.ts.map +1 -0
- package/packages/agent/src/config/object-utils.js +6 -0
- package/packages/agent/src/config/owner-contacts.d.ts +42 -0
- package/packages/agent/src/config/owner-contacts.d.ts.map +1 -0
- package/packages/agent/src/config/owner-contacts.js +223 -0
- package/packages/agent/src/config/paths.d.ts +19 -0
- package/packages/agent/src/config/paths.d.ts.map +1 -0
- package/packages/agent/src/config/paths.js +115 -0
- package/packages/agent/src/config/plugin-auto-enable.d.ts +44 -0
- package/packages/agent/src/config/plugin-auto-enable.d.ts.map +1 -0
- package/packages/agent/src/config/plugin-auto-enable.js +557 -0
- package/packages/agent/src/config/plugin-widgets.d.ts +29 -0
- package/packages/agent/src/config/plugin-widgets.d.ts.map +1 -0
- package/packages/agent/src/config/plugin-widgets.js +61 -0
- package/packages/agent/src/config/schema.d.ts +87 -0
- package/packages/agent/src/config/schema.d.ts.map +1 -0
- package/packages/agent/src/config/schema.js +922 -0
- package/packages/agent/src/config/telegram-custom-commands.d.ts +25 -0
- package/packages/agent/src/config/telegram-custom-commands.d.ts.map +1 -0
- package/packages/agent/src/config/telegram-custom-commands.js +71 -0
- package/packages/agent/src/config/types.agent-defaults.d.ts +363 -0
- package/packages/agent/src/config/types.agent-defaults.d.ts.map +1 -0
- package/packages/agent/src/config/types.agent-defaults.js +1 -0
- package/packages/agent/src/config/types.agents.d.ts +114 -0
- package/packages/agent/src/config/types.agents.d.ts.map +1 -0
- package/packages/agent/src/config/types.agents.js +1 -0
- package/packages/agent/src/config/types.d.ts +8 -0
- package/packages/agent/src/config/types.d.ts.map +1 -0
- package/packages/agent/src/config/types.eliza.d.ts +716 -0
- package/packages/agent/src/config/types.eliza.d.ts.map +1 -0
- package/packages/agent/src/config/types.eliza.js +1 -0
- package/packages/agent/src/config/types.gateway.d.ts +216 -0
- package/packages/agent/src/config/types.gateway.d.ts.map +1 -0
- package/packages/agent/src/config/types.gateway.js +1 -0
- package/packages/agent/src/config/types.hooks.d.ts +107 -0
- package/packages/agent/src/config/types.hooks.d.ts.map +1 -0
- package/packages/agent/src/config/types.hooks.js +1 -0
- package/packages/agent/src/config/types.js +7 -0
- package/packages/agent/src/config/types.messages.d.ts +176 -0
- package/packages/agent/src/config/types.messages.d.ts.map +1 -0
- package/packages/agent/src/config/types.messages.js +1 -0
- package/packages/agent/src/config/types.tools.d.ts +400 -0
- package/packages/agent/src/config/types.tools.d.ts.map +1 -0
- package/packages/agent/src/config/types.tools.js +1 -0
- package/packages/agent/src/config/zod-schema.agent-runtime.d.ts +1137 -0
- package/packages/agent/src/config/zod-schema.agent-runtime.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.agent-runtime.js +782 -0
- package/packages/agent/src/config/zod-schema.core.d.ts +1021 -0
- package/packages/agent/src/config/zod-schema.core.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.core.js +701 -0
- package/packages/agent/src/config/zod-schema.d.ts +3185 -0
- package/packages/agent/src/config/zod-schema.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.hooks.d.ts +88 -0
- package/packages/agent/src/config/zod-schema.hooks.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.hooks.js +133 -0
- package/packages/agent/src/config/zod-schema.js +850 -0
- package/packages/agent/src/config/zod-schema.providers-core.d.ts +2746 -0
- package/packages/agent/src/config/zod-schema.providers-core.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.providers-core.js +961 -0
- package/packages/agent/src/config/zod-schema.session.d.ts +183 -0
- package/packages/agent/src/config/zod-schema.session.d.ts.map +1 -0
- package/packages/agent/src/config/zod-schema.session.js +86 -0
- package/packages/agent/src/contracts/apps.d.ts +2 -0
- package/packages/agent/src/contracts/apps.d.ts.map +1 -0
- package/packages/agent/src/contracts/apps.js +1 -0
- package/packages/agent/src/contracts/awareness.d.ts +38 -0
- package/packages/agent/src/contracts/awareness.d.ts.map +1 -0
- package/packages/agent/src/contracts/awareness.js +7 -0
- package/packages/agent/src/contracts/config.d.ts +160 -0
- package/packages/agent/src/contracts/config.d.ts.map +1 -0
- package/packages/agent/src/contracts/config.js +4 -0
- package/packages/agent/src/contracts/onboarding.d.ts +2 -0
- package/packages/agent/src/contracts/onboarding.d.ts.map +1 -0
- package/packages/agent/src/contracts/onboarding.js +1 -0
- package/packages/agent/src/contracts/service-routing.d.ts +2 -0
- package/packages/agent/src/contracts/service-routing.d.ts.map +1 -0
- package/packages/agent/src/contracts/service-routing.js +1 -0
- package/packages/agent/src/contracts/wallet.d.ts +2 -0
- package/packages/agent/src/contracts/wallet.d.ts.map +1 -0
- package/packages/agent/src/contracts/wallet.js +1 -0
- package/packages/agent/src/diagnostics/integration-observability.d.ts +40 -0
- package/packages/agent/src/diagnostics/integration-observability.d.ts.map +1 -0
- package/packages/agent/src/diagnostics/integration-observability.js +78 -0
- package/packages/agent/src/evaluators/late-join-whitelist.d.ts +16 -0
- package/packages/agent/src/evaluators/late-join-whitelist.d.ts.map +1 -0
- package/packages/agent/src/evaluators/late-join-whitelist.js +67 -0
- package/packages/agent/src/hooks/discovery.d.ts +13 -0
- package/packages/agent/src/hooks/discovery.d.ts.map +1 -0
- package/packages/agent/src/hooks/discovery.js +191 -0
- package/packages/agent/src/hooks/eligibility.d.ts +12 -0
- package/packages/agent/src/hooks/eligibility.d.ts.map +1 -0
- package/packages/agent/src/hooks/eligibility.js +105 -0
- package/packages/agent/src/hooks/index.d.ts +3 -0
- package/packages/agent/src/hooks/index.d.ts.map +1 -0
- package/packages/agent/src/hooks/index.js +2 -0
- package/packages/agent/src/hooks/loader.d.ts +34 -0
- package/packages/agent/src/hooks/loader.d.ts.map +1 -0
- package/packages/agent/src/hooks/loader.js +214 -0
- package/packages/agent/src/hooks/registry.d.ts +11 -0
- package/packages/agent/src/hooks/registry.d.ts.map +1 -0
- package/packages/agent/src/hooks/registry.js +58 -0
- package/packages/agent/src/hooks/types.d.ts +104 -0
- package/packages/agent/src/hooks/types.d.ts.map +1 -0
- package/packages/agent/src/hooks/types.js +8 -0
- package/packages/agent/src/index.d.ts +57 -0
- package/packages/agent/src/index.d.ts.map +1 -0
- package/packages/agent/src/index.js +64 -0
- package/packages/agent/src/middleware/x402/payment-config.d.ts +251 -0
- package/packages/agent/src/middleware/x402/payment-config.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/payment-config.js +568 -0
- package/packages/agent/src/middleware/x402/payment-wrapper.d.ts +42 -0
- package/packages/agent/src/middleware/x402/payment-wrapper.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/payment-wrapper.js +1342 -0
- package/packages/agent/src/middleware/x402/startup-validator.d.ts +28 -0
- package/packages/agent/src/middleware/x402/startup-validator.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/startup-validator.js +225 -0
- package/packages/agent/src/middleware/x402/types.d.ts +158 -0
- package/packages/agent/src/middleware/x402/types.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/types.js +5 -0
- package/packages/agent/src/middleware/x402/x402-facilitator-binding.d.ts +9 -0
- package/packages/agent/src/middleware/x402/x402-facilitator-binding.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-facilitator-binding.js +74 -0
- package/packages/agent/src/middleware/x402/x402-replay-durable.d.ts +30 -0
- package/packages/agent/src/middleware/x402/x402-replay-durable.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-replay-durable.js +202 -0
- package/packages/agent/src/middleware/x402/x402-replay-guard.d.ts +28 -0
- package/packages/agent/src/middleware/x402/x402-replay-guard.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-replay-guard.js +134 -0
- package/packages/agent/src/middleware/x402/x402-replay-keys.d.ts +21 -0
- package/packages/agent/src/middleware/x402/x402-replay-keys.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-replay-keys.js +141 -0
- package/packages/agent/src/middleware/x402/x402-resolve.d.ts +6 -0
- package/packages/agent/src/middleware/x402/x402-resolve.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-resolve.js +31 -0
- package/packages/agent/src/middleware/x402/x402-standard-payment.d.ts +130 -0
- package/packages/agent/src/middleware/x402/x402-standard-payment.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-standard-payment.js +387 -0
- package/packages/agent/src/middleware/x402/x402-types.d.ts +130 -0
- package/packages/agent/src/middleware/x402/x402-types.d.ts.map +1 -0
- package/packages/agent/src/middleware/x402/x402-types.js +189 -0
- package/packages/agent/src/plugins/custom-rtmp/index.d.ts +12 -0
- package/packages/agent/src/plugins/custom-rtmp/index.d.ts.map +1 -0
- package/packages/agent/src/plugins/custom-rtmp/index.js +26 -0
- package/packages/agent/src/providers/admin-panel.d.ts +4 -0
- package/packages/agent/src/providers/admin-panel.d.ts.map +1 -0
- package/packages/agent/src/providers/admin-panel.js +83 -0
- package/packages/agent/src/providers/admin-trust.d.ts +4 -0
- package/packages/agent/src/providers/admin-trust.d.ts.map +1 -0
- package/packages/agent/src/providers/admin-trust.js +34 -0
- package/packages/agent/src/providers/automation-terminal-bridge.d.ts +3 -0
- package/packages/agent/src/providers/automation-terminal-bridge.d.ts.map +1 -0
- package/packages/agent/src/providers/automation-terminal-bridge.js +71 -0
- package/packages/agent/src/providers/conversation-utils.d.ts +11 -0
- package/packages/agent/src/providers/conversation-utils.d.ts.map +1 -0
- package/packages/agent/src/providers/conversation-utils.js +69 -0
- package/packages/agent/src/providers/escalation-trigger.d.ts +15 -0
- package/packages/agent/src/providers/escalation-trigger.d.ts.map +1 -0
- package/packages/agent/src/providers/escalation-trigger.js +165 -0
- package/packages/agent/src/providers/media-provider.d.ts +192 -0
- package/packages/agent/src/providers/media-provider.d.ts.map +1 -0
- package/packages/agent/src/providers/media-provider.js +1088 -0
- package/packages/agent/src/providers/page-scoped-context.d.ts +3 -0
- package/packages/agent/src/providers/page-scoped-context.d.ts.map +1 -0
- package/packages/agent/src/providers/page-scoped-context.js +533 -0
- package/packages/agent/src/providers/recent-conversations.d.ts +3 -0
- package/packages/agent/src/providers/recent-conversations.d.ts.map +1 -0
- package/packages/agent/src/providers/recent-conversations.js +94 -0
- package/packages/agent/src/providers/relevant-conversations.d.ts +3 -0
- package/packages/agent/src/providers/relevant-conversations.d.ts.map +1 -0
- package/packages/agent/src/providers/relevant-conversations.js +93 -0
- package/packages/agent/src/providers/role-backfill.d.ts +18 -0
- package/packages/agent/src/providers/role-backfill.d.ts.map +1 -0
- package/packages/agent/src/providers/role-backfill.js +84 -0
- package/packages/agent/src/providers/rolodex.d.ts +3 -0
- package/packages/agent/src/providers/rolodex.d.ts.map +1 -0
- package/packages/agent/src/providers/rolodex.js +78 -0
- package/packages/agent/src/providers/session-bridge.d.ts +24 -0
- package/packages/agent/src/providers/session-bridge.d.ts.map +1 -0
- package/packages/agent/src/providers/session-bridge.js +85 -0
- package/packages/agent/src/providers/session-utils.d.ts +20 -0
- package/packages/agent/src/providers/session-utils.d.ts.map +1 -0
- package/packages/agent/src/providers/session-utils.js +33 -0
- package/packages/agent/src/providers/simple-mode.d.ts +4 -0
- package/packages/agent/src/providers/simple-mode.d.ts.map +1 -0
- package/packages/agent/src/providers/simple-mode.js +85 -0
- package/packages/agent/src/providers/skill-provider.d.ts +16 -0
- package/packages/agent/src/providers/skill-provider.d.ts.map +1 -0
- package/packages/agent/src/providers/skill-provider.js +331 -0
- package/packages/agent/src/providers/tasks.d.ts +9 -0
- package/packages/agent/src/providers/tasks.d.ts.map +1 -0
- package/packages/agent/src/providers/tasks.js +113 -0
- package/packages/agent/src/providers/ui-catalog.d.ts +3 -0
- package/packages/agent/src/providers/ui-catalog.d.ts.map +1 -0
- package/packages/agent/src/providers/ui-catalog.js +95 -0
- package/packages/agent/src/providers/user-name.d.ts +11 -0
- package/packages/agent/src/providers/user-name.d.ts.map +1 -0
- package/packages/agent/src/providers/user-name.js +40 -0
- package/packages/agent/src/providers/workspace-provider.d.ts +14 -0
- package/packages/agent/src/providers/workspace-provider.d.ts.map +1 -0
- package/packages/agent/src/providers/workspace-provider.js +177 -0
- package/packages/agent/src/providers/workspace.d.ts +55 -0
- package/packages/agent/src/providers/workspace.d.ts.map +1 -0
- package/packages/agent/src/providers/workspace.js +484 -0
- package/packages/agent/src/runtime/advanced-capabilities-config.d.ts +8 -0
- package/packages/agent/src/runtime/advanced-capabilities-config.d.ts.map +1 -0
- package/packages/agent/src/runtime/advanced-capabilities-config.js +42 -0
- package/packages/agent/src/runtime/agent-event-service.d.ts +35 -0
- package/packages/agent/src/runtime/agent-event-service.d.ts.map +1 -0
- package/packages/agent/src/runtime/agent-event-service.js +16 -0
- package/packages/agent/src/runtime/cloud-onboarding.d.ts +35 -0
- package/packages/agent/src/runtime/cloud-onboarding.d.ts.map +1 -0
- package/packages/agent/src/runtime/cloud-onboarding.js +279 -0
- package/packages/agent/src/runtime/core-plugins.d.ts +39 -0
- package/packages/agent/src/runtime/core-plugins.d.ts.map +1 -0
- package/packages/agent/src/runtime/core-plugins.js +85 -0
- package/packages/agent/src/runtime/custom-actions.d.ts +43 -0
- package/packages/agent/src/runtime/custom-actions.d.ts.map +1 -0
- package/packages/agent/src/runtime/custom-actions.js +507 -0
- package/packages/agent/src/runtime/default-knowledge.d.ts +20 -0
- package/packages/agent/src/runtime/default-knowledge.d.ts.map +1 -0
- package/packages/agent/src/runtime/default-knowledge.js +256 -0
- package/packages/agent/src/runtime/discord-local-plugin.d.ts +86 -0
- package/packages/agent/src/runtime/discord-local-plugin.d.ts.map +1 -0
- package/packages/agent/src/runtime/discord-local-plugin.js +1116 -0
- package/packages/agent/src/runtime/eliza-plugin.d.ts +16 -0
- package/packages/agent/src/runtime/eliza-plugin.d.ts.map +1 -0
- package/packages/agent/src/runtime/eliza-plugin.js +235 -0
- package/packages/agent/src/runtime/eliza.d.ts +91 -0
- package/packages/agent/src/runtime/eliza.d.ts.map +1 -0
- package/packages/agent/src/runtime/eliza.js +3464 -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/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-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/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/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/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/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/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/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/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/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/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/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,1653 @@
|
|
|
1
|
+
import { sql } from "drizzle-orm";
|
|
2
|
+
import { logger } from "../logger";
|
|
3
|
+
import { asUUID } from "../types/primitives";
|
|
4
|
+
import { Service } from "../types/service";
|
|
5
|
+
import { stringToUuid } from "../utils";
|
|
6
|
+
import { UnionFind } from "../utils/union-find";
|
|
7
|
+
/**
|
|
8
|
+
* Handles on these platforms are enrichment (phone/email/website) — they
|
|
9
|
+
* identify *contact methods* a person has shared with us, not a separate
|
|
10
|
+
* identity we'd confuse with another person. Keep in sync with the runtime-
|
|
11
|
+
* level CONTACT_PLATFORM_SET in agent/src/services/relationships-graph.ts.
|
|
12
|
+
*/
|
|
13
|
+
const CONTACT_HANDLE_PLATFORMS = new Set(["email", "phone", "website"]);
|
|
14
|
+
function isConfirmedIdentityLinkLike(relationship) {
|
|
15
|
+
const tags = relationship.tags;
|
|
16
|
+
if (!Array.isArray(tags) || !tags.includes("identity_link")) {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
const metadata = relationship.metadata;
|
|
20
|
+
if (!metadata || typeof metadata !== "object" || Array.isArray(metadata)) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
const status = metadata.status;
|
|
24
|
+
return typeof status === "string" && status === "confirmed";
|
|
25
|
+
}
|
|
26
|
+
/** Max interactions kept in contact component to avoid unbounded growth. */
|
|
27
|
+
const MAX_INTERACTION_HISTORY = 50;
|
|
28
|
+
function getContactDisplayName(contactInfo) {
|
|
29
|
+
const displayName = contactInfo.customFields.displayName;
|
|
30
|
+
return typeof displayName === "string" && displayName.trim().length > 0
|
|
31
|
+
? displayName.trim()
|
|
32
|
+
: null;
|
|
33
|
+
}
|
|
34
|
+
/** Helper to convert ContactInfo to Metadata for storage */
|
|
35
|
+
function contactInfoToMetadata(contactInfo) {
|
|
36
|
+
return {
|
|
37
|
+
entityId: contactInfo.entityId,
|
|
38
|
+
categories: contactInfo.categories,
|
|
39
|
+
tags: contactInfo.tags,
|
|
40
|
+
preferences: contactInfo.preferences,
|
|
41
|
+
customFields: contactInfo.customFields,
|
|
42
|
+
privacyLevel: contactInfo.privacyLevel,
|
|
43
|
+
lastModified: contactInfo.lastModified,
|
|
44
|
+
handles: contactInfo.handles,
|
|
45
|
+
interactions: contactInfo.interactions,
|
|
46
|
+
followupThresholdDays: contactInfo.followupThresholdDays,
|
|
47
|
+
lastInteractionAt: contactInfo.lastInteractionAt,
|
|
48
|
+
relationshipGoal: contactInfo.relationshipGoal,
|
|
49
|
+
relationshipStatus: contactInfo.relationshipStatus,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function parseHandles(value) {
|
|
53
|
+
if (!Array.isArray(value))
|
|
54
|
+
return [];
|
|
55
|
+
const out = [];
|
|
56
|
+
for (const item of value) {
|
|
57
|
+
if (!item || typeof item !== "object" || Array.isArray(item))
|
|
58
|
+
continue;
|
|
59
|
+
const record = item;
|
|
60
|
+
const id = record.id;
|
|
61
|
+
const platform = record.platform;
|
|
62
|
+
const identifier = record.identifier;
|
|
63
|
+
const addedAt = record.addedAt;
|
|
64
|
+
if (typeof id !== "string" ||
|
|
65
|
+
typeof platform !== "string" ||
|
|
66
|
+
typeof identifier !== "string" ||
|
|
67
|
+
typeof addedAt !== "string") {
|
|
68
|
+
continue;
|
|
69
|
+
}
|
|
70
|
+
const displayLabel = typeof record.displayLabel === "string" ? record.displayLabel : undefined;
|
|
71
|
+
const isPrimary = typeof record.isPrimary === "boolean" ? record.isPrimary : undefined;
|
|
72
|
+
out.push({
|
|
73
|
+
id: id,
|
|
74
|
+
platform,
|
|
75
|
+
identifier,
|
|
76
|
+
displayLabel,
|
|
77
|
+
isPrimary,
|
|
78
|
+
addedAt,
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
return out;
|
|
82
|
+
}
|
|
83
|
+
function parseInteractions(value) {
|
|
84
|
+
if (!Array.isArray(value))
|
|
85
|
+
return [];
|
|
86
|
+
const out = [];
|
|
87
|
+
for (const item of value) {
|
|
88
|
+
if (!item || typeof item !== "object" || Array.isArray(item))
|
|
89
|
+
continue;
|
|
90
|
+
const record = item;
|
|
91
|
+
const id = record.id;
|
|
92
|
+
const platform = record.platform;
|
|
93
|
+
const direction = record.direction;
|
|
94
|
+
const occurredAt = record.occurredAt;
|
|
95
|
+
if (typeof id !== "string" ||
|
|
96
|
+
typeof platform !== "string" ||
|
|
97
|
+
(direction !== "inbound" && direction !== "outbound") ||
|
|
98
|
+
typeof occurredAt !== "string") {
|
|
99
|
+
continue;
|
|
100
|
+
}
|
|
101
|
+
const summary = typeof record.summary === "string" ? record.summary : undefined;
|
|
102
|
+
const externalRef = typeof record.externalRef === "string" ? record.externalRef : undefined;
|
|
103
|
+
out.push({
|
|
104
|
+
id: id,
|
|
105
|
+
platform,
|
|
106
|
+
direction,
|
|
107
|
+
summary,
|
|
108
|
+
externalRef,
|
|
109
|
+
occurredAt,
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
return out;
|
|
113
|
+
}
|
|
114
|
+
function parseRelationshipGoal(value) {
|
|
115
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
116
|
+
return undefined;
|
|
117
|
+
}
|
|
118
|
+
const record = value;
|
|
119
|
+
const goalText = record.goalText;
|
|
120
|
+
const setAt = record.setAt;
|
|
121
|
+
if (typeof goalText !== "string" || typeof setAt !== "string") {
|
|
122
|
+
return undefined;
|
|
123
|
+
}
|
|
124
|
+
const targetCadenceDays = typeof record.targetCadenceDays === "number"
|
|
125
|
+
? record.targetCadenceDays
|
|
126
|
+
: undefined;
|
|
127
|
+
return { goalText, setAt, targetCadenceDays };
|
|
128
|
+
}
|
|
129
|
+
function parseRelationshipStatus(value) {
|
|
130
|
+
if (value === "active" ||
|
|
131
|
+
value === "dormant" ||
|
|
132
|
+
value === "archived" ||
|
|
133
|
+
value === "blocked" ||
|
|
134
|
+
value === "unknown") {
|
|
135
|
+
return value;
|
|
136
|
+
}
|
|
137
|
+
return "active";
|
|
138
|
+
}
|
|
139
|
+
/** Helper to convert Metadata back to ContactInfo */
|
|
140
|
+
function metadataToContactInfo(data) {
|
|
141
|
+
return {
|
|
142
|
+
entityId: data.entityId,
|
|
143
|
+
categories: data.categories ?? [],
|
|
144
|
+
tags: data.tags ?? [],
|
|
145
|
+
preferences: data.preferences ?? {},
|
|
146
|
+
customFields: data.customFields ?? {},
|
|
147
|
+
privacyLevel: data.privacyLevel,
|
|
148
|
+
lastModified: data.lastModified,
|
|
149
|
+
handles: parseHandles(data.handles),
|
|
150
|
+
interactions: parseInteractions(data.interactions),
|
|
151
|
+
followupThresholdDays: typeof data.followupThresholdDays === "number"
|
|
152
|
+
? data.followupThresholdDays
|
|
153
|
+
: undefined,
|
|
154
|
+
lastInteractionAt: typeof data.lastInteractionAt === "string"
|
|
155
|
+
? data.lastInteractionAt
|
|
156
|
+
: undefined,
|
|
157
|
+
relationshipGoal: parseRelationshipGoal(data.relationshipGoal),
|
|
158
|
+
relationshipStatus: parseRelationshipStatus(data.relationshipStatus),
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
const AUTO_MERGE_CONFIDENCE_THRESHOLD = 0.85;
|
|
162
|
+
const AUTO_MERGE_MIN_EVIDENCE = 2;
|
|
163
|
+
// Entity lifecycle event types
|
|
164
|
+
export var EntityLifecycleEvent;
|
|
165
|
+
(function (EntityLifecycleEvent) {
|
|
166
|
+
EntityLifecycleEvent["CREATED"] = "entity:created";
|
|
167
|
+
EntityLifecycleEvent["UPDATED"] = "entity:updated";
|
|
168
|
+
EntityLifecycleEvent["MERGED"] = "entity:merged";
|
|
169
|
+
EntityLifecycleEvent["RESOLVED"] = "entity:resolved";
|
|
170
|
+
})(EntityLifecycleEvent || (EntityLifecycleEvent = {}));
|
|
171
|
+
/**
|
|
172
|
+
* Calculate relationship strength based on interaction patterns
|
|
173
|
+
*/
|
|
174
|
+
export function calculateRelationshipStrength({ interactionCount, lastInteractionAt, messageQuality = 5, relationshipType = "acquaintance", sharedConversationWindows = 0, }) {
|
|
175
|
+
// Base score from interaction count (max 40 points)
|
|
176
|
+
const interactionScore = Math.min(interactionCount * 2, 40);
|
|
177
|
+
// Shared conversation windows in the same room within an hour are a
|
|
178
|
+
// stronger social signal than isolated messages. Cap to avoid swamping
|
|
179
|
+
// explicit relationship/context signals.
|
|
180
|
+
const sharedConversationScore = Math.min(sharedConversationWindows * 4, 16);
|
|
181
|
+
// Recency score (max 30 points)
|
|
182
|
+
let recencyScore = 0;
|
|
183
|
+
if (lastInteractionAt) {
|
|
184
|
+
const daysSinceLastInteraction = (Date.now() - new Date(lastInteractionAt).getTime()) /
|
|
185
|
+
(1000 * 60 * 60 * 24);
|
|
186
|
+
if (daysSinceLastInteraction < 1)
|
|
187
|
+
recencyScore = 30;
|
|
188
|
+
else if (daysSinceLastInteraction < 7)
|
|
189
|
+
recencyScore = 25;
|
|
190
|
+
else if (daysSinceLastInteraction < 30)
|
|
191
|
+
recencyScore = 20;
|
|
192
|
+
else if (daysSinceLastInteraction < 90)
|
|
193
|
+
recencyScore = 10;
|
|
194
|
+
else
|
|
195
|
+
recencyScore = 5;
|
|
196
|
+
}
|
|
197
|
+
// Quality score (max 20 points)
|
|
198
|
+
const qualityScore = (messageQuality / 10) * 20;
|
|
199
|
+
// Relationship type bonus (max 10 points)
|
|
200
|
+
const relationshipBonus = {
|
|
201
|
+
family: 10,
|
|
202
|
+
friend: 8,
|
|
203
|
+
colleague: 6,
|
|
204
|
+
acquaintance: 4,
|
|
205
|
+
unknown: 0,
|
|
206
|
+
};
|
|
207
|
+
// Calculate total strength
|
|
208
|
+
const totalStrength = interactionScore +
|
|
209
|
+
recencyScore +
|
|
210
|
+
qualityScore +
|
|
211
|
+
sharedConversationScore +
|
|
212
|
+
(relationshipBonus[relationshipType] ?? 0);
|
|
213
|
+
// Return clamped value between 0 and 100
|
|
214
|
+
return Math.max(0, Math.min(100, Math.round(totalStrength)));
|
|
215
|
+
}
|
|
216
|
+
function toMessageTimestamp(value) {
|
|
217
|
+
if (typeof value === "number" && Number.isFinite(value)) {
|
|
218
|
+
return value;
|
|
219
|
+
}
|
|
220
|
+
if (typeof value === "string" && value.trim().length > 0) {
|
|
221
|
+
const parsed = Number(value);
|
|
222
|
+
if (Number.isFinite(parsed)) {
|
|
223
|
+
return parsed;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
return null;
|
|
227
|
+
}
|
|
228
|
+
export function countSharedConversationWindows(messages, leftEntityId, rightEntityId, windowMs = 1000 * 60 * 60) {
|
|
229
|
+
const relevantMessages = messages
|
|
230
|
+
.filter((message) => (message.entityId === leftEntityId ||
|
|
231
|
+
message.entityId === rightEntityId) &&
|
|
232
|
+
toMessageTimestamp(message.createdAt) !== null)
|
|
233
|
+
.sort((left, right) => (toMessageTimestamp(left.createdAt) ?? 0) -
|
|
234
|
+
(toMessageTimestamp(right.createdAt) ?? 0));
|
|
235
|
+
if (relevantMessages.length < 2) {
|
|
236
|
+
return 0;
|
|
237
|
+
}
|
|
238
|
+
const rooms = new Map();
|
|
239
|
+
for (const message of relevantMessages) {
|
|
240
|
+
const roomKey = typeof message.roomId === "string" ? message.roomId : "__shared__";
|
|
241
|
+
if (!rooms.has(roomKey)) {
|
|
242
|
+
rooms.set(roomKey, []);
|
|
243
|
+
}
|
|
244
|
+
rooms.get(roomKey)?.push(message);
|
|
245
|
+
}
|
|
246
|
+
let windowCount = 0;
|
|
247
|
+
for (const roomMessages of rooms.values()) {
|
|
248
|
+
let currentWindowStart = null;
|
|
249
|
+
let seenLeft = false;
|
|
250
|
+
let seenRight = false;
|
|
251
|
+
const flushWindow = () => {
|
|
252
|
+
if (seenLeft && seenRight) {
|
|
253
|
+
windowCount += 1;
|
|
254
|
+
}
|
|
255
|
+
currentWindowStart = null;
|
|
256
|
+
seenLeft = false;
|
|
257
|
+
seenRight = false;
|
|
258
|
+
};
|
|
259
|
+
for (const message of roomMessages) {
|
|
260
|
+
const createdAt = toMessageTimestamp(message.createdAt);
|
|
261
|
+
if (createdAt === null) {
|
|
262
|
+
continue;
|
|
263
|
+
}
|
|
264
|
+
if (currentWindowStart === null ||
|
|
265
|
+
createdAt - currentWindowStart > windowMs) {
|
|
266
|
+
if (currentWindowStart !== null) {
|
|
267
|
+
flushWindow();
|
|
268
|
+
}
|
|
269
|
+
currentWindowStart = createdAt;
|
|
270
|
+
}
|
|
271
|
+
if (message.entityId === leftEntityId) {
|
|
272
|
+
seenLeft = true;
|
|
273
|
+
}
|
|
274
|
+
if (message.entityId === rightEntityId) {
|
|
275
|
+
seenRight = true;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
if (currentWindowStart !== null) {
|
|
279
|
+
flushWindow();
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
return windowCount;
|
|
283
|
+
}
|
|
284
|
+
export class RelationshipsService extends Service {
|
|
285
|
+
static serviceType = "relationships";
|
|
286
|
+
capabilityDescription = "Comprehensive contact and relationship management service";
|
|
287
|
+
// In-memory caches for performance
|
|
288
|
+
contactInfoCache = new Map();
|
|
289
|
+
analyticsCache = new Map();
|
|
290
|
+
categoriesCache = [];
|
|
291
|
+
static CONTACT_CACHE_LIMIT = 2000;
|
|
292
|
+
static ANALYTICS_CACHE_LIMIT = 2000;
|
|
293
|
+
setCacheWithLimit(cache, key, value, limit) {
|
|
294
|
+
if (cache.has(key)) {
|
|
295
|
+
cache.delete(key);
|
|
296
|
+
}
|
|
297
|
+
cache.set(key, value);
|
|
298
|
+
if (cache.size > limit) {
|
|
299
|
+
const firstKey = cache.keys().next().value;
|
|
300
|
+
if (firstKey !== undefined) {
|
|
301
|
+
cache.delete(firstKey);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
getRelationshipsWorldId() {
|
|
306
|
+
return stringToUuid(`relationships-world-${this.runtime.agentId}`);
|
|
307
|
+
}
|
|
308
|
+
getRelationshipsRoomId() {
|
|
309
|
+
return stringToUuid(`relationships-${this.runtime.agentId}`);
|
|
310
|
+
}
|
|
311
|
+
isRelationshipsContactComponent(component) {
|
|
312
|
+
return (component.type === "contact_info" &&
|
|
313
|
+
component.agentId === this.runtime.agentId &&
|
|
314
|
+
component.worldId === this.getRelationshipsWorldId() &&
|
|
315
|
+
component.sourceEntityId === this.runtime.agentId);
|
|
316
|
+
}
|
|
317
|
+
async getStoredContactComponent(entityId) {
|
|
318
|
+
if (typeof this.runtime.getComponent === "function") {
|
|
319
|
+
return await this.runtime.getComponent(entityId, "contact_info", this.getRelationshipsWorldId(), this.runtime.agentId);
|
|
320
|
+
}
|
|
321
|
+
const components = await this.runtime.getComponents(entityId);
|
|
322
|
+
return (components.find((component) => this.isRelationshipsContactComponent(component)) ?? null);
|
|
323
|
+
}
|
|
324
|
+
cacheContactInfoFromEntities(entities) {
|
|
325
|
+
for (const entity of entities) {
|
|
326
|
+
if (!entity.id || !entity.components) {
|
|
327
|
+
continue;
|
|
328
|
+
}
|
|
329
|
+
const contactComponent = entity.components.find((component) => this.isRelationshipsContactComponent(component));
|
|
330
|
+
if (!contactComponent?.data) {
|
|
331
|
+
continue;
|
|
332
|
+
}
|
|
333
|
+
const contactInfo = metadataToContactInfo(contactComponent.data);
|
|
334
|
+
this.setCacheWithLimit(this.contactInfoCache, entity.id, contactInfo, RelationshipsService.CONTACT_CACHE_LIMIT);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
async initialize(runtime) {
|
|
338
|
+
this.runtime = runtime;
|
|
339
|
+
const relationshipsWorldId = this.getRelationshipsWorldId();
|
|
340
|
+
const relationshipsRoomId = this.getRelationshipsRoomId();
|
|
341
|
+
// Ensure the synthetic relationships world exists so component FK constraints pass
|
|
342
|
+
if (typeof this.runtime.ensureWorldExists === "function") {
|
|
343
|
+
try {
|
|
344
|
+
await this.runtime.ensureWorldExists({
|
|
345
|
+
id: relationshipsWorldId,
|
|
346
|
+
name: "Relationships World",
|
|
347
|
+
agentId: this.runtime.agentId,
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
catch (err) {
|
|
351
|
+
logger.warn(`[RelationshipsService] Failed to ensure relationships world: ${err}`);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
// Components are stored in a synthetic room inside the relationships world.
|
|
355
|
+
if (typeof this.runtime.ensureRoomExists === "function") {
|
|
356
|
+
try {
|
|
357
|
+
await this.runtime.ensureRoomExists({
|
|
358
|
+
id: relationshipsRoomId,
|
|
359
|
+
name: "Relationships",
|
|
360
|
+
source: "relationships",
|
|
361
|
+
type: "API",
|
|
362
|
+
channelId: `relationships-${this.runtime.agentId}`,
|
|
363
|
+
worldId: relationshipsWorldId,
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
catch (err) {
|
|
367
|
+
logger.warn(`[RelationshipsService] Failed to ensure relationships room: ${err}`);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
// Initialize default categories
|
|
371
|
+
this.categoriesCache = [
|
|
372
|
+
{ id: "friend", name: "Friend", color: "#4CAF50" },
|
|
373
|
+
{ id: "family", name: "Family", color: "#2196F3" },
|
|
374
|
+
{ id: "colleague", name: "Colleague", color: "#FF9800" },
|
|
375
|
+
{ id: "acquaintance", name: "Acquaintance", color: "#9E9E9E" },
|
|
376
|
+
{ id: "vip", name: "VIP", color: "#9C27B0" },
|
|
377
|
+
{ id: "business", name: "Business", color: "#795548" },
|
|
378
|
+
];
|
|
379
|
+
// Load existing contact info from components
|
|
380
|
+
await this.loadContactInfoFromComponents();
|
|
381
|
+
// Service initialized
|
|
382
|
+
logger.info("[RelationshipsService] Initialized successfully");
|
|
383
|
+
}
|
|
384
|
+
async stop() {
|
|
385
|
+
// Clean up caches
|
|
386
|
+
this.contactInfoCache.clear();
|
|
387
|
+
this.analyticsCache.clear();
|
|
388
|
+
this.categoriesCache = [];
|
|
389
|
+
// Service stopped
|
|
390
|
+
logger.info("[RelationshipsService] Stopped successfully");
|
|
391
|
+
}
|
|
392
|
+
static async start(runtime) {
|
|
393
|
+
const service = new RelationshipsService();
|
|
394
|
+
await service.initialize(runtime);
|
|
395
|
+
return service;
|
|
396
|
+
}
|
|
397
|
+
async loadContactInfoFromComponents() {
|
|
398
|
+
this.contactInfoCache.clear();
|
|
399
|
+
const relationshipsWorldId = this.getRelationshipsWorldId();
|
|
400
|
+
// Load contacts from the synthetic relationships world where they are stored.
|
|
401
|
+
if (typeof this.runtime.queryEntities === "function") {
|
|
402
|
+
try {
|
|
403
|
+
const entities = await this.runtime.queryEntities({
|
|
404
|
+
componentType: "contact_info",
|
|
405
|
+
worldId: relationshipsWorldId,
|
|
406
|
+
includeAllComponents: true,
|
|
407
|
+
});
|
|
408
|
+
if (entities.length > 0) {
|
|
409
|
+
this.cacheContactInfoFromEntities(entities);
|
|
410
|
+
}
|
|
411
|
+
logger.info(`[RelationshipsService] Loaded ${this.contactInfoCache.size} contacts from components`);
|
|
412
|
+
return;
|
|
413
|
+
}
|
|
414
|
+
catch (err) {
|
|
415
|
+
logger.warn(`[RelationshipsService] Failed to query contact components: ${err}`);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
else {
|
|
419
|
+
logger.warn("[RelationshipsService] runtime.queryEntities is not available; starting with an empty contact cache");
|
|
420
|
+
}
|
|
421
|
+
// Start with an empty cache — contacts will be populated as they are added.
|
|
422
|
+
// This avoids crashing on fresh databases or adapters that do not yet
|
|
423
|
+
// support queryEntities.
|
|
424
|
+
logger.info("[RelationshipsService] Starting with empty contact cache (contacts will load on demand)");
|
|
425
|
+
}
|
|
426
|
+
// Contact Management Methods
|
|
427
|
+
async addContact(entityId, categories = ["acquaintance"], preferences, customFields) {
|
|
428
|
+
const contactInfo = {
|
|
429
|
+
entityId,
|
|
430
|
+
categories,
|
|
431
|
+
tags: [],
|
|
432
|
+
preferences: preferences ?? {},
|
|
433
|
+
customFields: customFields ?? {},
|
|
434
|
+
privacyLevel: "private",
|
|
435
|
+
lastModified: new Date().toISOString(),
|
|
436
|
+
handles: [],
|
|
437
|
+
interactions: [],
|
|
438
|
+
relationshipStatus: "active",
|
|
439
|
+
};
|
|
440
|
+
// Save as component
|
|
441
|
+
await this.runtime.createComponent({
|
|
442
|
+
id: stringToUuid(`contact-${entityId}-${this.runtime.agentId}`),
|
|
443
|
+
type: "contact_info",
|
|
444
|
+
agentId: this.runtime.agentId,
|
|
445
|
+
entityId,
|
|
446
|
+
roomId: this.getRelationshipsRoomId(),
|
|
447
|
+
worldId: this.getRelationshipsWorldId(),
|
|
448
|
+
sourceEntityId: this.runtime.agentId,
|
|
449
|
+
data: contactInfoToMetadata(contactInfo),
|
|
450
|
+
createdAt: Date.now(),
|
|
451
|
+
});
|
|
452
|
+
this.setCacheWithLimit(this.contactInfoCache, entityId, contactInfo, RelationshipsService.CONTACT_CACHE_LIMIT);
|
|
453
|
+
// Emit entity lifecycle event
|
|
454
|
+
const entity = await this.runtime.getEntityById(entityId);
|
|
455
|
+
if (entity) {
|
|
456
|
+
await this.runtime.emitEvent(EntityLifecycleEvent.UPDATED, {
|
|
457
|
+
entityId: entity.id ?? "",
|
|
458
|
+
source: "relationships",
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
logger.info(`[RelationshipsService] Added contact ${entityId} with categories: ${categories.join(", ")}`);
|
|
462
|
+
return contactInfo;
|
|
463
|
+
}
|
|
464
|
+
async updateContact(entityId, updates) {
|
|
465
|
+
const existing = await this.getContact(entityId);
|
|
466
|
+
if (!existing) {
|
|
467
|
+
logger.warn(`[RelationshipsService] Contact ${entityId} not found`);
|
|
468
|
+
return null;
|
|
469
|
+
}
|
|
470
|
+
const updated = {
|
|
471
|
+
...existing,
|
|
472
|
+
...updates,
|
|
473
|
+
entityId, // Ensure entityId cannot be changed
|
|
474
|
+
lastModified: new Date().toISOString(),
|
|
475
|
+
};
|
|
476
|
+
// Update component
|
|
477
|
+
const contactComponent = await this.getStoredContactComponent(entityId);
|
|
478
|
+
if (contactComponent) {
|
|
479
|
+
await this.runtime.updateComponent({
|
|
480
|
+
...contactComponent,
|
|
481
|
+
data: contactInfoToMetadata(updated),
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
this.setCacheWithLimit(this.contactInfoCache, entityId, updated, RelationshipsService.CONTACT_CACHE_LIMIT);
|
|
485
|
+
logger.info(`[RelationshipsService] Updated contact ${entityId}`);
|
|
486
|
+
return updated;
|
|
487
|
+
}
|
|
488
|
+
async getContact(entityId) {
|
|
489
|
+
// Check cache first
|
|
490
|
+
if (this.contactInfoCache.has(entityId)) {
|
|
491
|
+
const cached = this.contactInfoCache.get(entityId);
|
|
492
|
+
if (cached) {
|
|
493
|
+
return cached;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
// Load from component if not in cache
|
|
497
|
+
const contactComponent = await this.getStoredContactComponent(entityId);
|
|
498
|
+
if (contactComponent?.data) {
|
|
499
|
+
const contactInfo = metadataToContactInfo(contactComponent.data);
|
|
500
|
+
this.setCacheWithLimit(this.contactInfoCache, entityId, contactInfo, RelationshipsService.CONTACT_CACHE_LIMIT);
|
|
501
|
+
return contactInfo;
|
|
502
|
+
}
|
|
503
|
+
return null;
|
|
504
|
+
}
|
|
505
|
+
async removeContact(entityId) {
|
|
506
|
+
const existing = await this.getContact(entityId);
|
|
507
|
+
if (!existing) {
|
|
508
|
+
logger.warn(`[RelationshipsService] Contact ${entityId} not found`);
|
|
509
|
+
return false;
|
|
510
|
+
}
|
|
511
|
+
// Remove component
|
|
512
|
+
const contactComponent = await this.getStoredContactComponent(entityId);
|
|
513
|
+
if (contactComponent) {
|
|
514
|
+
await this.runtime.deleteComponent(contactComponent.id);
|
|
515
|
+
}
|
|
516
|
+
// Remove from cache
|
|
517
|
+
this.contactInfoCache.delete(entityId);
|
|
518
|
+
logger.info(`[RelationshipsService] Removed contact ${entityId}`);
|
|
519
|
+
return true;
|
|
520
|
+
}
|
|
521
|
+
async searchContacts(criteria) {
|
|
522
|
+
const results = [];
|
|
523
|
+
for (const [, contactInfo] of this.contactInfoCache) {
|
|
524
|
+
let matches = true;
|
|
525
|
+
// Check categories
|
|
526
|
+
if (criteria.categories && criteria.categories.length > 0) {
|
|
527
|
+
const categorySet = new Set(contactInfo.categories);
|
|
528
|
+
matches =
|
|
529
|
+
matches && criteria.categories.some((cat) => categorySet.has(cat));
|
|
530
|
+
}
|
|
531
|
+
// Check tags
|
|
532
|
+
if (criteria.tags && criteria.tags.length > 0) {
|
|
533
|
+
const tagSet = new Set(contactInfo.tags);
|
|
534
|
+
matches = matches && criteria.tags.some((tag) => tagSet.has(tag));
|
|
535
|
+
}
|
|
536
|
+
// Check privacy level
|
|
537
|
+
if (criteria.privacyLevel) {
|
|
538
|
+
matches = matches && contactInfo.privacyLevel === criteria.privacyLevel;
|
|
539
|
+
}
|
|
540
|
+
if (matches) {
|
|
541
|
+
results.push(contactInfo);
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
// If searchTerm is provided, further filter by entity names
|
|
545
|
+
if (criteria.searchTerm) {
|
|
546
|
+
const searchTermLower = criteria.searchTerm.toLowerCase();
|
|
547
|
+
const entities = await Promise.all(results.map((contact) => this.runtime.getEntityById(contact.entityId)));
|
|
548
|
+
const filteredResults = [];
|
|
549
|
+
for (let i = 0; i < results.length; i++) {
|
|
550
|
+
const entity = entities[i];
|
|
551
|
+
const entityNames = entity?.names ?? [];
|
|
552
|
+
const displayName = getContactDisplayName(results[i])?.toLowerCase();
|
|
553
|
+
if (entityNames.some((name) => name.toLowerCase().includes(searchTermLower)) ||
|
|
554
|
+
displayName?.includes(searchTermLower) ||
|
|
555
|
+
String(results[i].entityId).toLowerCase().includes(searchTermLower)) {
|
|
556
|
+
filteredResults.push(results[i]);
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
return filteredResults;
|
|
560
|
+
}
|
|
561
|
+
return results;
|
|
562
|
+
}
|
|
563
|
+
// Relationship Analytics Methods
|
|
564
|
+
async analyzeRelationship(sourceEntityId, targetEntityId) {
|
|
565
|
+
const cacheKey = `${sourceEntityId}-${targetEntityId}`;
|
|
566
|
+
// Check cache first
|
|
567
|
+
if (this.analyticsCache.has(cacheKey)) {
|
|
568
|
+
const cached = this.analyticsCache.get(cacheKey);
|
|
569
|
+
if (cached) {
|
|
570
|
+
// Cache for 1 hour
|
|
571
|
+
if (cached.lastInteractionAt &&
|
|
572
|
+
Date.now() - new Date(cached.lastInteractionAt).getTime() < 3600000) {
|
|
573
|
+
return cached;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
// Get relationship
|
|
578
|
+
const relationships = await this.runtime.getRelationships({
|
|
579
|
+
entityIds: [sourceEntityId],
|
|
580
|
+
});
|
|
581
|
+
const relationship = relationships.find((r) => r.targetEntityId === targetEntityId ||
|
|
582
|
+
r.sourceEntityId === targetEntityId);
|
|
583
|
+
// Get recent messages from rooms both entities share. `inReplyTo` stores a
|
|
584
|
+
// parent message id, not an entity id, so direct reply matching here is incorrect.
|
|
585
|
+
const [sourceRoomIds, targetRoomIds] = await Promise.all([
|
|
586
|
+
this.runtime.getRoomsForParticipant(sourceEntityId),
|
|
587
|
+
this.runtime.getRoomsForParticipant(targetEntityId),
|
|
588
|
+
]);
|
|
589
|
+
const targetRoomIdSet = new Set(targetRoomIds.map((roomId) => String(roomId)));
|
|
590
|
+
const sharedRoomIds = sourceRoomIds.filter((roomId) => targetRoomIdSet.has(String(roomId)));
|
|
591
|
+
const sharedMessages = sharedRoomIds.length > 0
|
|
592
|
+
? await this.runtime.getMemoriesByRoomIds({
|
|
593
|
+
tableName: "messages",
|
|
594
|
+
roomIds: sharedRoomIds,
|
|
595
|
+
limit: 200,
|
|
596
|
+
})
|
|
597
|
+
: [];
|
|
598
|
+
const interactions = sharedMessages
|
|
599
|
+
.filter((message) => message.entityId === sourceEntityId ||
|
|
600
|
+
message.entityId === targetEntityId)
|
|
601
|
+
.sort((a, b) => Number(a.createdAt ?? 0) - Number(b.createdAt ?? 0));
|
|
602
|
+
if (!relationship && interactions.length === 0) {
|
|
603
|
+
return null;
|
|
604
|
+
}
|
|
605
|
+
// Calculate metrics
|
|
606
|
+
const interactionCount = interactions.length;
|
|
607
|
+
const sharedConversationWindows = countSharedConversationWindows(interactions, sourceEntityId, targetEntityId);
|
|
608
|
+
const lastInteraction = interactions[interactions.length - 1];
|
|
609
|
+
const lastInteractionAt = lastInteraction?.createdAt
|
|
610
|
+
? new Date(Number(lastInteraction.createdAt)).toISOString()
|
|
611
|
+
: relationship?.lastInteractionAt;
|
|
612
|
+
// Calculate average response time
|
|
613
|
+
let totalResponseTime = 0;
|
|
614
|
+
let responseCount = 0;
|
|
615
|
+
for (let i = 0; i < interactions.length - 1; i++) {
|
|
616
|
+
const current = interactions[i];
|
|
617
|
+
const next = interactions[i + 1];
|
|
618
|
+
if (current.entityId !== next.entityId &&
|
|
619
|
+
current.createdAt &&
|
|
620
|
+
next.createdAt) {
|
|
621
|
+
const timeDiff = Number(next.createdAt) - Number(current.createdAt);
|
|
622
|
+
totalResponseTime += timeDiff;
|
|
623
|
+
responseCount++;
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
const averageResponseTime = responseCount > 0 ? totalResponseTime / responseCount : undefined;
|
|
627
|
+
// Extract topics (simplified - could use NLP)
|
|
628
|
+
const topicsSet = new Set();
|
|
629
|
+
for (const msg of interactions) {
|
|
630
|
+
const text = msg.content.text || "";
|
|
631
|
+
// Simple keyword extraction - could be enhanced with NLP
|
|
632
|
+
const keywords = text.match(/\b[A-Z][a-z]+\b/g) || [];
|
|
633
|
+
for (const k of keywords) {
|
|
634
|
+
topicsSet.add(k);
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
// Calculate relationship strength
|
|
638
|
+
const strength = calculateRelationshipStrength({
|
|
639
|
+
interactionCount,
|
|
640
|
+
lastInteractionAt,
|
|
641
|
+
relationshipType: relationship?.relationshipType,
|
|
642
|
+
sharedConversationWindows,
|
|
643
|
+
});
|
|
644
|
+
const analytics = {
|
|
645
|
+
strength,
|
|
646
|
+
interactionCount,
|
|
647
|
+
sharedConversationWindows,
|
|
648
|
+
lastInteractionAt,
|
|
649
|
+
averageResponseTime,
|
|
650
|
+
sentimentScore: 0.7, // Placeholder - could integrate sentiment analysis
|
|
651
|
+
topicsDiscussed: Array.from(topicsSet).slice(0, 10),
|
|
652
|
+
};
|
|
653
|
+
// Update relationship with calculated strength
|
|
654
|
+
if (relationship &&
|
|
655
|
+
(relationship.strength !== strength ||
|
|
656
|
+
relationship.lastInteractionAt !== lastInteractionAt)) {
|
|
657
|
+
// Update relationship using components
|
|
658
|
+
const relationshipComponent = {
|
|
659
|
+
id: stringToUuid(`relationship-${relationship.id}`),
|
|
660
|
+
type: "relationship_update",
|
|
661
|
+
agentId: this.runtime.agentId,
|
|
662
|
+
entityId: relationship.sourceEntityId,
|
|
663
|
+
roomId: this.getRelationshipsRoomId(),
|
|
664
|
+
worldId: this.getRelationshipsWorldId(),
|
|
665
|
+
sourceEntityId: relationship.sourceEntityId,
|
|
666
|
+
data: {
|
|
667
|
+
targetEntityId: relationship.targetEntityId,
|
|
668
|
+
strength,
|
|
669
|
+
lastInteractionAt,
|
|
670
|
+
metadata: relationship.metadata,
|
|
671
|
+
},
|
|
672
|
+
createdAt: Date.now(),
|
|
673
|
+
};
|
|
674
|
+
await this.runtime.createComponent(relationshipComponent);
|
|
675
|
+
}
|
|
676
|
+
// Cache the result
|
|
677
|
+
this.setCacheWithLimit(this.analyticsCache, cacheKey, analytics, RelationshipsService.ANALYTICS_CACHE_LIMIT);
|
|
678
|
+
return analytics;
|
|
679
|
+
}
|
|
680
|
+
async getRelationshipInsights(entityId) {
|
|
681
|
+
const relationships = await this.runtime.getRelationships({
|
|
682
|
+
entityIds: [entityId],
|
|
683
|
+
});
|
|
684
|
+
const insights = {
|
|
685
|
+
strongestRelationships: [],
|
|
686
|
+
needsAttention: [],
|
|
687
|
+
recentInteractions: [],
|
|
688
|
+
};
|
|
689
|
+
const targets = relationships.map((rel) => rel.sourceEntityId === entityId ? rel.targetEntityId : rel.sourceEntityId);
|
|
690
|
+
const entities = await Promise.all(targets.map((target) => this.runtime.getEntityById(target)));
|
|
691
|
+
const analyticsResults = await Promise.all(targets.map((target, index) => entities[index] ? this.analyzeRelationship(entityId, target) : null));
|
|
692
|
+
for (let i = 0; i < relationships.length; i++) {
|
|
693
|
+
const entity = entities[i];
|
|
694
|
+
const analytics = analyticsResults[i];
|
|
695
|
+
if (!entity || !analytics)
|
|
696
|
+
continue;
|
|
697
|
+
// Strongest relationships
|
|
698
|
+
if (analytics.strength > 70) {
|
|
699
|
+
insights.strongestRelationships.push({ entity, analytics });
|
|
700
|
+
}
|
|
701
|
+
// Needs attention (no contact in 30+ days)
|
|
702
|
+
if (analytics.lastInteractionAt) {
|
|
703
|
+
const daysSince = (Date.now() - new Date(analytics.lastInteractionAt).getTime()) /
|
|
704
|
+
(1000 * 60 * 60 * 24);
|
|
705
|
+
if (daysSince > 30) {
|
|
706
|
+
insights.needsAttention.push({
|
|
707
|
+
entity,
|
|
708
|
+
daysSinceContact: Math.round(daysSince),
|
|
709
|
+
});
|
|
710
|
+
}
|
|
711
|
+
// Recent interactions (last 7 days)
|
|
712
|
+
if (daysSince < 7) {
|
|
713
|
+
insights.recentInteractions.push({
|
|
714
|
+
entity,
|
|
715
|
+
lastInteraction: analytics.lastInteractionAt,
|
|
716
|
+
});
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
// Sort by relevance
|
|
721
|
+
insights.strongestRelationships.sort((a, b) => b.analytics.strength - a.analytics.strength);
|
|
722
|
+
insights.needsAttention.sort((a, b) => b.daysSinceContact - a.daysSinceContact);
|
|
723
|
+
insights.recentInteractions.sort((a, b) => new Date(b.lastInteraction).getTime() -
|
|
724
|
+
new Date(a.lastInteraction).getTime());
|
|
725
|
+
return insights;
|
|
726
|
+
}
|
|
727
|
+
// Category Management
|
|
728
|
+
async getCategories() {
|
|
729
|
+
return this.categoriesCache;
|
|
730
|
+
}
|
|
731
|
+
async addCategory(category) {
|
|
732
|
+
if (this.categoriesCache.find((c) => c.id === category.id)) {
|
|
733
|
+
throw new Error(`Category ${category.id} already exists`);
|
|
734
|
+
}
|
|
735
|
+
this.categoriesCache.push(category);
|
|
736
|
+
logger.info(`[RelationshipsService] Added category: ${category.name}`);
|
|
737
|
+
}
|
|
738
|
+
// Privacy Management
|
|
739
|
+
async setContactPrivacy(entityId, privacyLevel) {
|
|
740
|
+
const contact = await this.getContact(entityId);
|
|
741
|
+
if (!contact)
|
|
742
|
+
return false;
|
|
743
|
+
contact.privacyLevel = privacyLevel;
|
|
744
|
+
await this.updateContact(entityId, { privacyLevel });
|
|
745
|
+
logger.info(`[RelationshipsService] Set privacy level for ${entityId} to ${privacyLevel}`);
|
|
746
|
+
return true;
|
|
747
|
+
}
|
|
748
|
+
async canAccessContact(requestingEntityId, targetEntityId) {
|
|
749
|
+
const contact = await this.getContact(targetEntityId);
|
|
750
|
+
if (!contact)
|
|
751
|
+
return false;
|
|
752
|
+
// Agent always has access
|
|
753
|
+
if (requestingEntityId === this.runtime.agentId)
|
|
754
|
+
return true;
|
|
755
|
+
// Check privacy level
|
|
756
|
+
switch (contact.privacyLevel) {
|
|
757
|
+
case "public":
|
|
758
|
+
return true;
|
|
759
|
+
case "private":
|
|
760
|
+
// Only agent and the entity itself
|
|
761
|
+
return requestingEntityId === targetEntityId;
|
|
762
|
+
case "restricted":
|
|
763
|
+
// Only agent
|
|
764
|
+
return false;
|
|
765
|
+
default:
|
|
766
|
+
return false;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
// ───────────────────────────────────────────────────────────────────────
|
|
770
|
+
// Rolodex extensions (T7b)
|
|
771
|
+
// ───────────────────────────────────────────────────────────────────────
|
|
772
|
+
/** Persist a ContactInfo back to its component + cache. */
|
|
773
|
+
async persistContactInfo(contactInfo) {
|
|
774
|
+
const stored = await this.getStoredContactComponent(contactInfo.entityId);
|
|
775
|
+
if (!stored) {
|
|
776
|
+
throw new Error(`[RelationshipsService] Contact component missing for ${contactInfo.entityId}`);
|
|
777
|
+
}
|
|
778
|
+
const next = {
|
|
779
|
+
...contactInfo,
|
|
780
|
+
lastModified: new Date().toISOString(),
|
|
781
|
+
};
|
|
782
|
+
await this.runtime.updateComponent({
|
|
783
|
+
...stored,
|
|
784
|
+
data: contactInfoToMetadata(next),
|
|
785
|
+
});
|
|
786
|
+
this.setCacheWithLimit(this.contactInfoCache, next.entityId, next, RelationshipsService.CONTACT_CACHE_LIMIT);
|
|
787
|
+
}
|
|
788
|
+
/**
|
|
789
|
+
* Add a platform handle to a contact. Enforces uniqueness on
|
|
790
|
+
* (platform, identifier) pairs across the contact.
|
|
791
|
+
*/
|
|
792
|
+
async addHandle(contactId, handle) {
|
|
793
|
+
const platform = handle.platform.trim().toLowerCase();
|
|
794
|
+
const identifier = handle.identifier.trim();
|
|
795
|
+
if (platform.length === 0 || identifier.length === 0) {
|
|
796
|
+
throw new Error("Handle platform and identifier are required");
|
|
797
|
+
}
|
|
798
|
+
const contact = await this.getContact(contactId);
|
|
799
|
+
if (!contact) {
|
|
800
|
+
throw new Error(`Contact ${contactId} not found`);
|
|
801
|
+
}
|
|
802
|
+
const normalizedIdentifier = identifier.toLowerCase();
|
|
803
|
+
const duplicate = contact.handles.find((h) => h.platform === platform &&
|
|
804
|
+
h.identifier.toLowerCase() === normalizedIdentifier);
|
|
805
|
+
if (duplicate) {
|
|
806
|
+
return duplicate;
|
|
807
|
+
}
|
|
808
|
+
const newHandle = {
|
|
809
|
+
id: stringToUuid(`handle-${contactId}-${platform}-${identifier}-${Date.now()}`),
|
|
810
|
+
platform,
|
|
811
|
+
identifier,
|
|
812
|
+
displayLabel: handle.displayLabel,
|
|
813
|
+
isPrimary: handle.isPrimary,
|
|
814
|
+
addedAt: new Date().toISOString(),
|
|
815
|
+
};
|
|
816
|
+
let handles = [...contact.handles, newHandle];
|
|
817
|
+
if (newHandle.isPrimary === true) {
|
|
818
|
+
handles = handles.map((h) => h.platform === platform && h.id !== newHandle.id
|
|
819
|
+
? { ...h, isPrimary: false }
|
|
820
|
+
: h);
|
|
821
|
+
}
|
|
822
|
+
await this.persistContactInfo({ ...contact, handles });
|
|
823
|
+
logger.info(`[RelationshipsService] Added handle ${platform}:${identifier} to ${contactId}`);
|
|
824
|
+
return newHandle;
|
|
825
|
+
}
|
|
826
|
+
async removeHandle(contactId, handleId) {
|
|
827
|
+
const contact = await this.getContact(contactId);
|
|
828
|
+
if (!contact)
|
|
829
|
+
return false;
|
|
830
|
+
const filtered = contact.handles.filter((h) => h.id !== handleId);
|
|
831
|
+
if (filtered.length === contact.handles.length) {
|
|
832
|
+
return false;
|
|
833
|
+
}
|
|
834
|
+
await this.persistContactInfo({ ...contact, handles: filtered });
|
|
835
|
+
logger.info(`[RelationshipsService] Removed handle ${handleId} from ${contactId}`);
|
|
836
|
+
return true;
|
|
837
|
+
}
|
|
838
|
+
/**
|
|
839
|
+
* Record an interaction with a contact. Trims interaction history to
|
|
840
|
+
* MAX_INTERACTION_HISTORY entries (most recent kept). Updates
|
|
841
|
+
* lastInteractionAt so followup thresholds stay accurate.
|
|
842
|
+
*/
|
|
843
|
+
async recordInteraction(input) {
|
|
844
|
+
const contact = await this.getContact(input.contactId);
|
|
845
|
+
if (!contact) {
|
|
846
|
+
throw new Error(`Contact ${input.contactId} not found`);
|
|
847
|
+
}
|
|
848
|
+
const platform = input.platform.trim().toLowerCase();
|
|
849
|
+
if (platform.length === 0) {
|
|
850
|
+
throw new Error("Interaction platform is required");
|
|
851
|
+
}
|
|
852
|
+
const occurredAt = input.occurredAt ?? new Date().toISOString();
|
|
853
|
+
const interaction = {
|
|
854
|
+
id: stringToUuid(`interaction-${input.contactId}-${platform}-${occurredAt}-${Math.random()}`),
|
|
855
|
+
platform,
|
|
856
|
+
direction: input.direction,
|
|
857
|
+
summary: input.summary,
|
|
858
|
+
externalRef: input.externalRef,
|
|
859
|
+
occurredAt,
|
|
860
|
+
};
|
|
861
|
+
const appended = [...contact.interactions, interaction].sort((a, b) => new Date(a.occurredAt).getTime() - new Date(b.occurredAt).getTime());
|
|
862
|
+
const trimmed = appended.length > MAX_INTERACTION_HISTORY
|
|
863
|
+
? appended.slice(appended.length - MAX_INTERACTION_HISTORY)
|
|
864
|
+
: appended;
|
|
865
|
+
const latestAt = trimmed[trimmed.length - 1]?.occurredAt;
|
|
866
|
+
const currentLatest = contact.lastInteractionAt
|
|
867
|
+
? new Date(contact.lastInteractionAt).getTime()
|
|
868
|
+
: 0;
|
|
869
|
+
const nextLastInteractionAt = latestAt && new Date(latestAt).getTime() >= currentLatest
|
|
870
|
+
? latestAt
|
|
871
|
+
: contact.lastInteractionAt;
|
|
872
|
+
await this.persistContactInfo({
|
|
873
|
+
...contact,
|
|
874
|
+
interactions: trimmed,
|
|
875
|
+
lastInteractionAt: nextLastInteractionAt,
|
|
876
|
+
});
|
|
877
|
+
return interaction;
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* Find a contact by one of its platform handles. Match is case-insensitive
|
|
881
|
+
* on identifier; platform is normalized to lowercase.
|
|
882
|
+
*/
|
|
883
|
+
async findByHandle(platform, identifier) {
|
|
884
|
+
const normalizedPlatform = platform.trim().toLowerCase();
|
|
885
|
+
const normalizedIdentifier = identifier.trim().toLowerCase();
|
|
886
|
+
if (normalizedPlatform.length === 0 || normalizedIdentifier.length === 0) {
|
|
887
|
+
return null;
|
|
888
|
+
}
|
|
889
|
+
for (const contact of this.contactInfoCache.values()) {
|
|
890
|
+
const match = contact.handles.find((h) => h.platform === normalizedPlatform &&
|
|
891
|
+
h.identifier.toLowerCase() === normalizedIdentifier);
|
|
892
|
+
if (match)
|
|
893
|
+
return contact;
|
|
894
|
+
}
|
|
895
|
+
return null;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* Merge two contacts. Handles, interactions, tags, and categories from the
|
|
899
|
+
* secondary are folded into the primary. The secondary contact is removed.
|
|
900
|
+
*/
|
|
901
|
+
async mergeContacts(primaryId, secondaryId) {
|
|
902
|
+
if (primaryId === secondaryId) {
|
|
903
|
+
throw new Error("Cannot merge a contact with itself");
|
|
904
|
+
}
|
|
905
|
+
const primary = await this.getContact(primaryId);
|
|
906
|
+
const secondary = await this.getContact(secondaryId);
|
|
907
|
+
if (!primary) {
|
|
908
|
+
throw new Error(`Primary contact ${primaryId} not found`);
|
|
909
|
+
}
|
|
910
|
+
if (!secondary) {
|
|
911
|
+
throw new Error(`Secondary contact ${secondaryId} not found`);
|
|
912
|
+
}
|
|
913
|
+
// Merge handles, dedupe on (platform, identifier)
|
|
914
|
+
const handleKey = (h) => `${h.platform}:${h.identifier.toLowerCase()}`;
|
|
915
|
+
const mergedHandlesMap = new Map();
|
|
916
|
+
for (const h of [...primary.handles, ...secondary.handles]) {
|
|
917
|
+
if (!mergedHandlesMap.has(handleKey(h))) {
|
|
918
|
+
mergedHandlesMap.set(handleKey(h), h);
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
// Merge interactions (dedupe by id) and keep sorted
|
|
922
|
+
const interactionMap = new Map();
|
|
923
|
+
for (const i of [...primary.interactions, ...secondary.interactions]) {
|
|
924
|
+
interactionMap.set(i.id, i);
|
|
925
|
+
}
|
|
926
|
+
const mergedInteractions = Array.from(interactionMap.values()).sort((a, b) => new Date(a.occurredAt).getTime() - new Date(b.occurredAt).getTime());
|
|
927
|
+
const trimmedInteractions = mergedInteractions.length > MAX_INTERACTION_HISTORY
|
|
928
|
+
? mergedInteractions.slice(mergedInteractions.length - MAX_INTERACTION_HISTORY)
|
|
929
|
+
: mergedInteractions;
|
|
930
|
+
const mergedCategories = Array.from(new Set([...primary.categories, ...secondary.categories]));
|
|
931
|
+
const mergedTags = Array.from(new Set([...primary.tags, ...secondary.tags]));
|
|
932
|
+
const primaryLast = primary.lastInteractionAt
|
|
933
|
+
? new Date(primary.lastInteractionAt).getTime()
|
|
934
|
+
: 0;
|
|
935
|
+
const secondaryLast = secondary.lastInteractionAt
|
|
936
|
+
? new Date(secondary.lastInteractionAt).getTime()
|
|
937
|
+
: 0;
|
|
938
|
+
const latestInteractionAt = primaryLast >= secondaryLast
|
|
939
|
+
? primary.lastInteractionAt
|
|
940
|
+
: secondary.lastInteractionAt;
|
|
941
|
+
const merged = {
|
|
942
|
+
...primary,
|
|
943
|
+
categories: mergedCategories,
|
|
944
|
+
tags: mergedTags,
|
|
945
|
+
handles: Array.from(mergedHandlesMap.values()),
|
|
946
|
+
interactions: trimmedInteractions,
|
|
947
|
+
lastInteractionAt: latestInteractionAt,
|
|
948
|
+
relationshipGoal: primary.relationshipGoal ?? secondary.relationshipGoal,
|
|
949
|
+
followupThresholdDays: primary.followupThresholdDays ?? secondary.followupThresholdDays,
|
|
950
|
+
customFields: { ...secondary.customFields, ...primary.customFields },
|
|
951
|
+
preferences: { ...secondary.preferences, ...primary.preferences },
|
|
952
|
+
};
|
|
953
|
+
await this.persistContactInfo(merged);
|
|
954
|
+
await this.removeContact(secondaryId);
|
|
955
|
+
logger.info(`[RelationshipsService] Merged ${secondaryId} into ${primaryId}`);
|
|
956
|
+
return merged;
|
|
957
|
+
}
|
|
958
|
+
async setRelationshipGoal(contactId, goal) {
|
|
959
|
+
const contact = await this.getContact(contactId);
|
|
960
|
+
if (!contact) {
|
|
961
|
+
throw new Error(`Contact ${contactId} not found`);
|
|
962
|
+
}
|
|
963
|
+
const goalText = goal.goalText.trim();
|
|
964
|
+
if (goalText.length === 0) {
|
|
965
|
+
throw new Error("Goal text is required");
|
|
966
|
+
}
|
|
967
|
+
const relationshipGoal = {
|
|
968
|
+
goalText,
|
|
969
|
+
targetCadenceDays: goal.targetCadenceDays,
|
|
970
|
+
setAt: new Date().toISOString(),
|
|
971
|
+
};
|
|
972
|
+
await this.persistContactInfo({
|
|
973
|
+
...contact,
|
|
974
|
+
relationshipGoal,
|
|
975
|
+
followupThresholdDays: goal.targetCadenceDays ?? contact.followupThresholdDays,
|
|
976
|
+
});
|
|
977
|
+
logger.info(`[RelationshipsService] Set relationship goal for ${contactId}`);
|
|
978
|
+
return relationshipGoal;
|
|
979
|
+
}
|
|
980
|
+
async getRelationshipProgress(contactId) {
|
|
981
|
+
const contact = await this.getContact(contactId);
|
|
982
|
+
if (!contact)
|
|
983
|
+
return null;
|
|
984
|
+
const goal = contact.relationshipGoal ?? null;
|
|
985
|
+
const last = contact.lastInteractionAt ?? null;
|
|
986
|
+
const targetCadence = goal?.targetCadenceDays ?? contact.followupThresholdDays ?? null;
|
|
987
|
+
let daysSinceInteraction = null;
|
|
988
|
+
if (last) {
|
|
989
|
+
daysSinceInteraction =
|
|
990
|
+
(Date.now() - new Date(last).getTime()) / (1000 * 60 * 60 * 24);
|
|
991
|
+
}
|
|
992
|
+
let cadenceHealth;
|
|
993
|
+
if (targetCadence === null) {
|
|
994
|
+
cadenceHealth = "no-goal";
|
|
995
|
+
}
|
|
996
|
+
else if (daysSinceInteraction === null) {
|
|
997
|
+
cadenceHealth = "never-contacted";
|
|
998
|
+
}
|
|
999
|
+
else if (daysSinceInteraction < targetCadence * 0.8) {
|
|
1000
|
+
cadenceHealth = "on-track";
|
|
1001
|
+
}
|
|
1002
|
+
else if (daysSinceInteraction <= targetCadence) {
|
|
1003
|
+
cadenceHealth = "due";
|
|
1004
|
+
}
|
|
1005
|
+
else {
|
|
1006
|
+
cadenceHealth = "overdue";
|
|
1007
|
+
}
|
|
1008
|
+
return {
|
|
1009
|
+
contactId,
|
|
1010
|
+
goal,
|
|
1011
|
+
lastInteractionAt: last,
|
|
1012
|
+
cadenceHealth,
|
|
1013
|
+
daysSinceInteraction,
|
|
1014
|
+
targetCadenceDays: targetCadence,
|
|
1015
|
+
};
|
|
1016
|
+
}
|
|
1017
|
+
/**
|
|
1018
|
+
* List all contacts whose followup threshold has lapsed. A contact is
|
|
1019
|
+
* considered overdue when:
|
|
1020
|
+
* - followupThresholdDays is set (or defaultThresholdDays is provided), AND
|
|
1021
|
+
* - (now - lastInteractionAt) > thresholdDays, OR lastInteractionAt is null.
|
|
1022
|
+
*/
|
|
1023
|
+
async listOverdueFollowups(options) {
|
|
1024
|
+
const asOf = options?.asOfMs ?? Date.now();
|
|
1025
|
+
const defaultThreshold = options?.defaultThresholdDays;
|
|
1026
|
+
const results = [];
|
|
1027
|
+
for (const contact of this.contactInfoCache.values()) {
|
|
1028
|
+
if (contact.relationshipStatus === "archived")
|
|
1029
|
+
continue;
|
|
1030
|
+
if (contact.relationshipStatus === "blocked")
|
|
1031
|
+
continue;
|
|
1032
|
+
const threshold = contact.followupThresholdDays ??
|
|
1033
|
+
contact.relationshipGoal?.targetCadenceDays ??
|
|
1034
|
+
defaultThreshold;
|
|
1035
|
+
if (threshold === undefined)
|
|
1036
|
+
continue;
|
|
1037
|
+
if (!contact.lastInteractionAt) {
|
|
1038
|
+
results.push({
|
|
1039
|
+
contact,
|
|
1040
|
+
daysSinceInteraction: Number.POSITIVE_INFINITY,
|
|
1041
|
+
thresholdDays: threshold,
|
|
1042
|
+
});
|
|
1043
|
+
continue;
|
|
1044
|
+
}
|
|
1045
|
+
const daysSince = (asOf - new Date(contact.lastInteractionAt).getTime()) /
|
|
1046
|
+
(1000 * 60 * 60 * 24);
|
|
1047
|
+
if (daysSince > threshold) {
|
|
1048
|
+
results.push({
|
|
1049
|
+
contact,
|
|
1050
|
+
daysSinceInteraction: daysSince,
|
|
1051
|
+
thresholdDays: threshold,
|
|
1052
|
+
});
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
results.sort((a, b) => b.daysSinceInteraction - a.daysSinceInteraction);
|
|
1056
|
+
return results;
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
* Import contacts from an external platform. For each seed:
|
|
1060
|
+
* - if an existing contact has a matching (platform, identifier) handle,
|
|
1061
|
+
* link any new metadata and return it as linkedToExisting;
|
|
1062
|
+
* - otherwise create a new entity + contact.
|
|
1063
|
+
*/
|
|
1064
|
+
async importContactsFromPlatform(platform, contacts) {
|
|
1065
|
+
const normalizedPlatform = platform.trim().toLowerCase();
|
|
1066
|
+
if (normalizedPlatform.length === 0) {
|
|
1067
|
+
throw new Error("Platform is required for import");
|
|
1068
|
+
}
|
|
1069
|
+
const imported = [];
|
|
1070
|
+
const linkedToExisting = [];
|
|
1071
|
+
const skipped = [];
|
|
1072
|
+
for (const seed of contacts) {
|
|
1073
|
+
const seedPlatform = (seed.platform ?? normalizedPlatform)
|
|
1074
|
+
.trim()
|
|
1075
|
+
.toLowerCase();
|
|
1076
|
+
const identifier = seed.identifier?.trim();
|
|
1077
|
+
if (!identifier) {
|
|
1078
|
+
skipped.push({ seed, reason: "missing identifier" });
|
|
1079
|
+
continue;
|
|
1080
|
+
}
|
|
1081
|
+
const existing = await this.findByHandle(seedPlatform, identifier);
|
|
1082
|
+
if (existing) {
|
|
1083
|
+
const refreshed = await this.getContact(existing.entityId);
|
|
1084
|
+
if (refreshed)
|
|
1085
|
+
linkedToExisting.push(refreshed);
|
|
1086
|
+
continue;
|
|
1087
|
+
}
|
|
1088
|
+
const displayName = seed.displayName?.trim() || identifier;
|
|
1089
|
+
const entityId = stringToUuid(`contact-import-${seedPlatform}-${identifier}-${this.runtime.agentId}`);
|
|
1090
|
+
const existingEntity = await this.runtime.getEntityById(entityId);
|
|
1091
|
+
if (!existingEntity) {
|
|
1092
|
+
await this.runtime.createEntity({
|
|
1093
|
+
id: entityId,
|
|
1094
|
+
names: [displayName],
|
|
1095
|
+
agentId: this.runtime.agentId,
|
|
1096
|
+
});
|
|
1097
|
+
}
|
|
1098
|
+
const preferences = {};
|
|
1099
|
+
if (seed.notes)
|
|
1100
|
+
preferences.notes = seed.notes;
|
|
1101
|
+
const newContact = await this.addContact(entityId, seed.categories ?? ["acquaintance"], preferences, { displayName });
|
|
1102
|
+
if (seed.tags && seed.tags.length > 0) {
|
|
1103
|
+
await this.persistContactInfo({
|
|
1104
|
+
...newContact,
|
|
1105
|
+
tags: Array.from(new Set([...newContact.tags, ...seed.tags])),
|
|
1106
|
+
});
|
|
1107
|
+
}
|
|
1108
|
+
await this.addHandle(entityId, {
|
|
1109
|
+
platform: seedPlatform,
|
|
1110
|
+
identifier,
|
|
1111
|
+
displayLabel: seed.displayLabel,
|
|
1112
|
+
isPrimary: true,
|
|
1113
|
+
});
|
|
1114
|
+
const finalContact = await this.getContact(entityId);
|
|
1115
|
+
if (finalContact)
|
|
1116
|
+
imported.push(finalContact);
|
|
1117
|
+
}
|
|
1118
|
+
logger.info(`[RelationshipsService] Imported ${imported.length}, linked ${linkedToExisting.length}, skipped ${skipped.length} from ${normalizedPlatform}`);
|
|
1119
|
+
return { imported, linkedToExisting, skipped };
|
|
1120
|
+
}
|
|
1121
|
+
// ───────────────────────────────────────────────────────────────────────
|
|
1122
|
+
// Identity strengthening (entity_identities + entity_merge_candidates)
|
|
1123
|
+
// ───────────────────────────────────────────────────────────────────────
|
|
1124
|
+
getRuntimeDb() {
|
|
1125
|
+
const adapter = this.runtime.adapter;
|
|
1126
|
+
const db = adapter?.db;
|
|
1127
|
+
if (!db || typeof db.execute !== "function") {
|
|
1128
|
+
return null;
|
|
1129
|
+
}
|
|
1130
|
+
return db;
|
|
1131
|
+
}
|
|
1132
|
+
async execSql(sqlText) {
|
|
1133
|
+
const db = this.getRuntimeDb();
|
|
1134
|
+
if (!db) {
|
|
1135
|
+
throw new Error("[RelationshipsService] runtime database adapter unavailable");
|
|
1136
|
+
}
|
|
1137
|
+
const result = (await db.execute(sql.raw(sqlText)));
|
|
1138
|
+
return { rows: Array.isArray(result.rows) ? result.rows : [] };
|
|
1139
|
+
}
|
|
1140
|
+
/**
|
|
1141
|
+
* Insert or strengthen an `entity_identities` row. Re-observations of the
|
|
1142
|
+
* same (entity, platform, handle) triple bump confidence to the max,
|
|
1143
|
+
* append (deduped) evidence message ids, and update last_seen.
|
|
1144
|
+
*
|
|
1145
|
+
* When the same (platform, handle) pair has already been observed for a
|
|
1146
|
+
* different entity AND this observation is high-confidence with
|
|
1147
|
+
* sufficient evidence, an auto-merge candidate is proposed and accepted.
|
|
1148
|
+
*/
|
|
1149
|
+
async upsertIdentity(entityId, identity, evidenceMessageIds = []) {
|
|
1150
|
+
const platform = identity.platform.trim().toLowerCase();
|
|
1151
|
+
const handle = identity.handle.trim();
|
|
1152
|
+
if (platform.length === 0 || handle.length === 0) {
|
|
1153
|
+
throw new Error("[RelationshipsService] upsertIdentity requires non-empty platform and handle");
|
|
1154
|
+
}
|
|
1155
|
+
const confidence = clampConfidence(identity.confidence);
|
|
1156
|
+
const verified = identity.verified === true;
|
|
1157
|
+
const dedupedEvidence = Array.from(new Set(evidenceMessageIds));
|
|
1158
|
+
const evidenceLiteral = sqlJsonbLiteral(dedupedEvidence);
|
|
1159
|
+
const sourceLiteral = typeof identity.source === "string" && identity.source.trim().length > 0
|
|
1160
|
+
? sqlQuote(identity.source.trim())
|
|
1161
|
+
: "NULL";
|
|
1162
|
+
const verifiedLiteral = verified ? "TRUE" : "FALSE";
|
|
1163
|
+
const platformLiteral = sqlQuote(platform);
|
|
1164
|
+
const handleLiteral = sqlQuote(handle);
|
|
1165
|
+
const entityLiteral = sqlQuote(entityId);
|
|
1166
|
+
const agentLiteral = sqlQuote(this.runtime.agentId);
|
|
1167
|
+
const upsertSql = `INSERT INTO entity_identities (
|
|
1168
|
+
entity_id, agent_id, platform, handle, verified, confidence, source,
|
|
1169
|
+
first_seen, last_seen, evidence_message_ids
|
|
1170
|
+
) VALUES (
|
|
1171
|
+
${entityLiteral}, ${agentLiteral}, ${platformLiteral}, ${handleLiteral},
|
|
1172
|
+
${verifiedLiteral}, ${confidence}, ${sourceLiteral},
|
|
1173
|
+
now(), now(), ${evidenceLiteral}
|
|
1174
|
+
)
|
|
1175
|
+
ON CONFLICT ON CONSTRAINT unique_entity_identity DO UPDATE SET
|
|
1176
|
+
confidence = GREATEST(entity_identities.confidence, EXCLUDED.confidence),
|
|
1177
|
+
verified = entity_identities.verified OR EXCLUDED.verified,
|
|
1178
|
+
last_seen = now(),
|
|
1179
|
+
source = COALESCE(EXCLUDED.source, entity_identities.source),
|
|
1180
|
+
evidence_message_ids = (
|
|
1181
|
+
SELECT to_jsonb(array_agg(DISTINCT element))
|
|
1182
|
+
FROM jsonb_array_elements_text(
|
|
1183
|
+
COALESCE(entity_identities.evidence_message_ids, '[]'::jsonb)
|
|
1184
|
+
|| COALESCE(EXCLUDED.evidence_message_ids, '[]'::jsonb)
|
|
1185
|
+
) AS element
|
|
1186
|
+
)`;
|
|
1187
|
+
await this.execSql(upsertSql);
|
|
1188
|
+
// Auto-merge: if this (platform, handle) is already pinned to another
|
|
1189
|
+
// entity, surface — and possibly accept — a merge candidate.
|
|
1190
|
+
if (confidence >= AUTO_MERGE_CONFIDENCE_THRESHOLD &&
|
|
1191
|
+
dedupedEvidence.length >= AUTO_MERGE_MIN_EVIDENCE) {
|
|
1192
|
+
const collisions = await this.findEntitiesByIdentity(platform, handle);
|
|
1193
|
+
for (const otherEntityId of collisions) {
|
|
1194
|
+
if (otherEntityId === entityId)
|
|
1195
|
+
continue;
|
|
1196
|
+
const candidate = await this.proposeMerge(entityId, otherEntityId, {
|
|
1197
|
+
platform,
|
|
1198
|
+
handle,
|
|
1199
|
+
notes: "auto-detected high-confidence identity collision",
|
|
1200
|
+
});
|
|
1201
|
+
await this.acceptMerge(candidate);
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
async getEntityIdentities(entityId) {
|
|
1206
|
+
const result = await this.execSql(`SELECT id, entity_id, platform, handle, verified, confidence, source,
|
|
1207
|
+
first_seen, last_seen, evidence_message_ids
|
|
1208
|
+
FROM entity_identities
|
|
1209
|
+
WHERE entity_id = ${sqlQuote(entityId)}
|
|
1210
|
+
AND agent_id = ${sqlQuote(this.runtime.agentId)}
|
|
1211
|
+
ORDER BY confidence DESC, last_seen DESC`);
|
|
1212
|
+
return result.rows.map(parseEntityIdentityRow);
|
|
1213
|
+
}
|
|
1214
|
+
async findEntitiesByIdentity(platform, handle) {
|
|
1215
|
+
const result = await this.execSql(`SELECT DISTINCT entity_id
|
|
1216
|
+
FROM entity_identities
|
|
1217
|
+
WHERE platform = ${sqlQuote(platform)}
|
|
1218
|
+
AND handle = ${sqlQuote(handle)}
|
|
1219
|
+
AND agent_id = ${sqlQuote(this.runtime.agentId)}`);
|
|
1220
|
+
const ids = [];
|
|
1221
|
+
for (const row of result.rows) {
|
|
1222
|
+
const value = row.entity_id;
|
|
1223
|
+
if (typeof value === "string" && value.length > 0) {
|
|
1224
|
+
ids.push(asUUID(value));
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
return ids;
|
|
1228
|
+
}
|
|
1229
|
+
async proposeMerge(entityA, entityB, evidence) {
|
|
1230
|
+
if (entityA === entityB) {
|
|
1231
|
+
throw new Error("[RelationshipsService] proposeMerge requires two distinct entities");
|
|
1232
|
+
}
|
|
1233
|
+
// entity_a is the *surviving* entity. Order is intentional and not
|
|
1234
|
+
// normalized — the caller picks the canonical side, and acceptMerge
|
|
1235
|
+
// folds entity_b into entity_a.
|
|
1236
|
+
const evidenceLiteral = sqlJsonbLiteral(evidence);
|
|
1237
|
+
const confidence = clampConfidence(typeof evidence.confidence === "number" ? evidence.confidence : 1);
|
|
1238
|
+
const result = await this.execSql(`INSERT INTO entity_merge_candidates (
|
|
1239
|
+
agent_id, entity_a, entity_b, confidence, evidence, status
|
|
1240
|
+
) VALUES (
|
|
1241
|
+
${sqlQuote(this.runtime.agentId)},
|
|
1242
|
+
${sqlQuote(entityA)},
|
|
1243
|
+
${sqlQuote(entityB)},
|
|
1244
|
+
${confidence},
|
|
1245
|
+
${evidenceLiteral},
|
|
1246
|
+
'pending'
|
|
1247
|
+
) RETURNING id`);
|
|
1248
|
+
const row = result.rows[0];
|
|
1249
|
+
const id = row?.id;
|
|
1250
|
+
if (typeof id !== "string") {
|
|
1251
|
+
throw new Error("[RelationshipsService] proposeMerge: insert did not return an id");
|
|
1252
|
+
}
|
|
1253
|
+
logger.info(`[RelationshipsService] Proposed merge candidate ${id} (${entityA} <-> ${entityB})`);
|
|
1254
|
+
return asUUID(id);
|
|
1255
|
+
}
|
|
1256
|
+
async getCandidateMerges() {
|
|
1257
|
+
const result = await this.execSql(`SELECT id, entity_a, entity_b, confidence, evidence, status,
|
|
1258
|
+
proposed_at, resolved_at
|
|
1259
|
+
FROM entity_merge_candidates
|
|
1260
|
+
WHERE agent_id = ${sqlQuote(this.runtime.agentId)}
|
|
1261
|
+
AND status = 'pending'
|
|
1262
|
+
ORDER BY proposed_at DESC`);
|
|
1263
|
+
return result.rows.map(parseMergeCandidateRow);
|
|
1264
|
+
}
|
|
1265
|
+
async acceptMerge(candidateId) {
|
|
1266
|
+
const result = await this.execSql(`SELECT id, entity_a, entity_b, confidence, evidence, status,
|
|
1267
|
+
proposed_at, resolved_at
|
|
1268
|
+
FROM entity_merge_candidates
|
|
1269
|
+
WHERE id = ${sqlQuote(candidateId)}
|
|
1270
|
+
AND agent_id = ${sqlQuote(this.runtime.agentId)}
|
|
1271
|
+
LIMIT 1`);
|
|
1272
|
+
const row = result.rows[0];
|
|
1273
|
+
if (!row) {
|
|
1274
|
+
throw new Error(`[RelationshipsService] merge candidate ${candidateId} not found`);
|
|
1275
|
+
}
|
|
1276
|
+
const candidate = parseMergeCandidateRow(row);
|
|
1277
|
+
if (candidate.status !== "pending") {
|
|
1278
|
+
logger.info(`[RelationshipsService] Merge candidate ${candidateId} already ${candidate.status}`);
|
|
1279
|
+
return;
|
|
1280
|
+
}
|
|
1281
|
+
// Move identities + relationships from B into A, dedupe via the unique
|
|
1282
|
+
// constraint, then collapse the secondary contact (if any). PGlite's
|
|
1283
|
+
// prepared-statement protocol disallows multi-statement queries, so we
|
|
1284
|
+
// issue each step as its own execute() inside an explicit transaction.
|
|
1285
|
+
const a = sqlQuote(candidate.entityA);
|
|
1286
|
+
const b = sqlQuote(candidate.entityB);
|
|
1287
|
+
const agent = sqlQuote(this.runtime.agentId);
|
|
1288
|
+
const candidateLiteral = sqlQuote(candidateId);
|
|
1289
|
+
await this.execSql("BEGIN");
|
|
1290
|
+
try {
|
|
1291
|
+
await this.execSql(`INSERT INTO entity_identities (
|
|
1292
|
+
entity_id, agent_id, platform, handle, verified, confidence, source,
|
|
1293
|
+
first_seen, last_seen, evidence_message_ids
|
|
1294
|
+
)
|
|
1295
|
+
SELECT ${a}, agent_id, platform, handle, verified, confidence, source,
|
|
1296
|
+
first_seen, last_seen, evidence_message_ids
|
|
1297
|
+
FROM entity_identities
|
|
1298
|
+
WHERE entity_id = ${b} AND agent_id = ${agent}
|
|
1299
|
+
ON CONFLICT ON CONSTRAINT unique_entity_identity DO UPDATE SET
|
|
1300
|
+
confidence = GREATEST(entity_identities.confidence, EXCLUDED.confidence),
|
|
1301
|
+
verified = entity_identities.verified OR EXCLUDED.verified,
|
|
1302
|
+
last_seen = GREATEST(entity_identities.last_seen, EXCLUDED.last_seen)`);
|
|
1303
|
+
await this.execSql(`DELETE FROM entity_identities
|
|
1304
|
+
WHERE entity_id = ${b} AND agent_id = ${agent}`);
|
|
1305
|
+
await this.execSql(`UPDATE entity_merge_candidates
|
|
1306
|
+
SET status = 'accepted', resolved_at = now()
|
|
1307
|
+
WHERE id = ${candidateLiteral}`);
|
|
1308
|
+
await this.execSql("COMMIT");
|
|
1309
|
+
}
|
|
1310
|
+
catch (err) {
|
|
1311
|
+
await this.execSql("ROLLBACK").catch(() => undefined);
|
|
1312
|
+
throw err;
|
|
1313
|
+
}
|
|
1314
|
+
// Fold the contact rows. mergeContacts requires both sides to have a
|
|
1315
|
+
// contact; if only the secondary has one we drop it so the secondary
|
|
1316
|
+
// entity does not retain stale relationship rows after the merge.
|
|
1317
|
+
const [contactA, contactB] = await Promise.all([
|
|
1318
|
+
this.getContact(candidate.entityA),
|
|
1319
|
+
this.getContact(candidate.entityB),
|
|
1320
|
+
]);
|
|
1321
|
+
if (contactA && contactB) {
|
|
1322
|
+
await this.mergeContacts(candidate.entityA, candidate.entityB);
|
|
1323
|
+
}
|
|
1324
|
+
else if (contactB) {
|
|
1325
|
+
await this.removeContact(candidate.entityB);
|
|
1326
|
+
}
|
|
1327
|
+
const existingIdentityLink = (await this.runtime.getRelationships({
|
|
1328
|
+
entityIds: [candidate.entityA, candidate.entityB],
|
|
1329
|
+
})).find((relationship) => {
|
|
1330
|
+
const samePair = (relationship.sourceEntityId === candidate.entityA &&
|
|
1331
|
+
relationship.targetEntityId === candidate.entityB) ||
|
|
1332
|
+
(relationship.sourceEntityId === candidate.entityB &&
|
|
1333
|
+
relationship.targetEntityId === candidate.entityA);
|
|
1334
|
+
return samePair && Array.isArray(relationship.tags);
|
|
1335
|
+
});
|
|
1336
|
+
const identityMetadata = {
|
|
1337
|
+
...(existingIdentityLink?.metadata ?? {}),
|
|
1338
|
+
...candidate.evidence,
|
|
1339
|
+
status: "confirmed",
|
|
1340
|
+
mergeCandidateId: candidateId,
|
|
1341
|
+
mergeSurvivorEntityId: candidate.entityA,
|
|
1342
|
+
mergeFoldedEntityId: candidate.entityB,
|
|
1343
|
+
source: "relationships.acceptMerge",
|
|
1344
|
+
};
|
|
1345
|
+
const identityTags = Array.from(new Set([...(existingIdentityLink?.tags ?? []), "identity_link"]));
|
|
1346
|
+
if (existingIdentityLink) {
|
|
1347
|
+
await this.runtime.updateRelationship({
|
|
1348
|
+
...existingIdentityLink,
|
|
1349
|
+
tags: identityTags,
|
|
1350
|
+
metadata: identityMetadata,
|
|
1351
|
+
});
|
|
1352
|
+
}
|
|
1353
|
+
else {
|
|
1354
|
+
await this.runtime.createRelationship({
|
|
1355
|
+
sourceEntityId: candidate.entityA,
|
|
1356
|
+
targetEntityId: candidate.entityB,
|
|
1357
|
+
tags: identityTags,
|
|
1358
|
+
metadata: identityMetadata,
|
|
1359
|
+
});
|
|
1360
|
+
}
|
|
1361
|
+
logger.info(`[RelationshipsService] Accepted merge ${candidateId}; folded ${candidate.entityB} into ${candidate.entityA}`);
|
|
1362
|
+
}
|
|
1363
|
+
async rejectMerge(candidateId) {
|
|
1364
|
+
await this.execSql(`UPDATE entity_merge_candidates
|
|
1365
|
+
SET status = 'rejected', resolved_at = now()
|
|
1366
|
+
WHERE id = ${sqlQuote(candidateId)}
|
|
1367
|
+
AND agent_id = ${sqlQuote(this.runtime.agentId)}`);
|
|
1368
|
+
logger.info(`[RelationshipsService] Rejected merge ${candidateId}`);
|
|
1369
|
+
}
|
|
1370
|
+
/**
|
|
1371
|
+
* Return every entity that belongs to the same identity cluster as
|
|
1372
|
+
* `primaryEntityId`. An identity cluster is the connected component
|
|
1373
|
+
* formed by:
|
|
1374
|
+
* - confirmed identity-link relationships (tag `identity_link`,
|
|
1375
|
+
* metadata.status === "confirmed"), and
|
|
1376
|
+
* - shared entity_identities rows (same (platform, handle) on two
|
|
1377
|
+
* different entities).
|
|
1378
|
+
*
|
|
1379
|
+
* The returned array always includes `primaryEntityId` itself.
|
|
1380
|
+
* Semantics match the runtime-level clusterer in
|
|
1381
|
+
* `@elizaos/agent/src/services/relationships-graph.ts` (buildClusters),
|
|
1382
|
+
* including contact-platform suppression (email/phone/website handles
|
|
1383
|
+
* are *not* treated as cluster-forming — they're enrichment, not
|
|
1384
|
+
* identity evidence).
|
|
1385
|
+
*/
|
|
1386
|
+
async getMemberEntityIds(primaryEntityId) {
|
|
1387
|
+
const uf = await this.buildIdentityUnionFind(primaryEntityId);
|
|
1388
|
+
const members = uf.componentOf(primaryEntityId);
|
|
1389
|
+
if (members.length === 0) {
|
|
1390
|
+
return [primaryEntityId];
|
|
1391
|
+
}
|
|
1392
|
+
return members;
|
|
1393
|
+
}
|
|
1394
|
+
/**
|
|
1395
|
+
* Resolve an entity to its cluster's primary entity.
|
|
1396
|
+
*
|
|
1397
|
+
* The primary is the member with a contact_info component if one
|
|
1398
|
+
* exists; otherwise the lexicographically-smallest UUID. This matches
|
|
1399
|
+
* the runtime-level clusterer's tiebreaker semantics when no scoring
|
|
1400
|
+
* data (EntityContext) is available at the service layer.
|
|
1401
|
+
*
|
|
1402
|
+
* If the entity is not part of a multi-member cluster, returns the
|
|
1403
|
+
* entity id itself.
|
|
1404
|
+
*/
|
|
1405
|
+
async resolvePrimaryEntityId(entityId) {
|
|
1406
|
+
const members = await this.getMemberEntityIds(entityId);
|
|
1407
|
+
if (members.length <= 1) {
|
|
1408
|
+
return entityId;
|
|
1409
|
+
}
|
|
1410
|
+
const contactEntries = await Promise.all(members.map(async (memberId) => {
|
|
1411
|
+
const contact = await this.getContact(memberId);
|
|
1412
|
+
return contact ? memberId : null;
|
|
1413
|
+
}));
|
|
1414
|
+
for (const candidate of contactEntries) {
|
|
1415
|
+
if (candidate) {
|
|
1416
|
+
return candidate;
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
const sorted = [...members].sort();
|
|
1420
|
+
return sorted[0];
|
|
1421
|
+
}
|
|
1422
|
+
/**
|
|
1423
|
+
* Build a UnionFind keyed by UUID containing every entity reachable
|
|
1424
|
+
* from `seedEntityId` via confirmed identity-link relationships or
|
|
1425
|
+
* shared entity_identities rows.
|
|
1426
|
+
*
|
|
1427
|
+
* We expand iteratively so we don't have to materialise the full
|
|
1428
|
+
* graph: at each step, we query relationships/identities for the
|
|
1429
|
+
* newly-discovered frontier and union in any new neighbours.
|
|
1430
|
+
*/
|
|
1431
|
+
async buildIdentityUnionFind(seedEntityId) {
|
|
1432
|
+
const uf = new UnionFind([seedEntityId]);
|
|
1433
|
+
const visited = new Set();
|
|
1434
|
+
let frontier = [seedEntityId];
|
|
1435
|
+
while (frontier.length > 0) {
|
|
1436
|
+
const nextFrontier = new Set();
|
|
1437
|
+
const pending = frontier.filter((id) => !visited.has(id));
|
|
1438
|
+
for (const id of pending) {
|
|
1439
|
+
visited.add(id);
|
|
1440
|
+
}
|
|
1441
|
+
if (pending.length === 0) {
|
|
1442
|
+
break;
|
|
1443
|
+
}
|
|
1444
|
+
const relationships = await this.runtime.getRelationships({
|
|
1445
|
+
entityIds: pending,
|
|
1446
|
+
});
|
|
1447
|
+
for (const relationship of relationships) {
|
|
1448
|
+
if (!isConfirmedIdentityLinkLike(relationship))
|
|
1449
|
+
continue;
|
|
1450
|
+
uf.union(relationship.sourceEntityId, relationship.targetEntityId);
|
|
1451
|
+
if (!visited.has(relationship.sourceEntityId)) {
|
|
1452
|
+
nextFrontier.add(relationship.sourceEntityId);
|
|
1453
|
+
}
|
|
1454
|
+
if (!visited.has(relationship.targetEntityId)) {
|
|
1455
|
+
nextFrontier.add(relationship.targetEntityId);
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
const identityRows = await this.getIdentityRowsForEntities(pending);
|
|
1459
|
+
const entitiesByHandleKey = new Map();
|
|
1460
|
+
for (const row of identityRows) {
|
|
1461
|
+
if (CONTACT_HANDLE_PLATFORMS.has(row.platform.toLowerCase())) {
|
|
1462
|
+
continue;
|
|
1463
|
+
}
|
|
1464
|
+
const key = `${row.platform.toLowerCase()}:${row.handle.toLowerCase()}`;
|
|
1465
|
+
const bucket = entitiesByHandleKey.get(key) ?? new Set();
|
|
1466
|
+
bucket.add(row.entityId);
|
|
1467
|
+
entitiesByHandleKey.set(key, bucket);
|
|
1468
|
+
}
|
|
1469
|
+
for (const key of entitiesByHandleKey.keys()) {
|
|
1470
|
+
const matches = await this.findEntitiesSharingHandleKey(key);
|
|
1471
|
+
const combined = entitiesByHandleKey.get(key) ?? new Set();
|
|
1472
|
+
for (const m of matches)
|
|
1473
|
+
combined.add(m);
|
|
1474
|
+
if (combined.size < 2)
|
|
1475
|
+
continue;
|
|
1476
|
+
const members = Array.from(combined);
|
|
1477
|
+
const anchor = members[0];
|
|
1478
|
+
for (const other of members.slice(1)) {
|
|
1479
|
+
uf.union(anchor, other);
|
|
1480
|
+
if (!visited.has(other)) {
|
|
1481
|
+
nextFrontier.add(other);
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
frontier = Array.from(nextFrontier);
|
|
1486
|
+
}
|
|
1487
|
+
return uf;
|
|
1488
|
+
}
|
|
1489
|
+
async getIdentityRowsForEntities(entityIds) {
|
|
1490
|
+
if (entityIds.length === 0)
|
|
1491
|
+
return [];
|
|
1492
|
+
if (!this.getRuntimeDb())
|
|
1493
|
+
return [];
|
|
1494
|
+
const quoted = entityIds.map(sqlQuote).join(", ");
|
|
1495
|
+
const result = await this.execSql(`SELECT entity_id, platform, handle
|
|
1496
|
+
FROM entity_identities
|
|
1497
|
+
WHERE agent_id = ${sqlQuote(this.runtime.agentId)}
|
|
1498
|
+
AND entity_id IN (${quoted})`);
|
|
1499
|
+
const rows = [];
|
|
1500
|
+
for (const row of result.rows) {
|
|
1501
|
+
const e = row.entity_id;
|
|
1502
|
+
const p = row.platform;
|
|
1503
|
+
const h = row.handle;
|
|
1504
|
+
if (typeof e !== "string" ||
|
|
1505
|
+
typeof p !== "string" ||
|
|
1506
|
+
typeof h !== "string") {
|
|
1507
|
+
continue;
|
|
1508
|
+
}
|
|
1509
|
+
rows.push({ entityId: asUUID(e), platform: p, handle: h });
|
|
1510
|
+
}
|
|
1511
|
+
return rows;
|
|
1512
|
+
}
|
|
1513
|
+
async findEntitiesSharingHandleKey(handleKey) {
|
|
1514
|
+
const [platform, handle] = handleKey.split(":", 2);
|
|
1515
|
+
if (!platform || handle === undefined)
|
|
1516
|
+
return [];
|
|
1517
|
+
if (!this.getRuntimeDb())
|
|
1518
|
+
return [];
|
|
1519
|
+
const result = await this.execSql(`SELECT DISTINCT entity_id
|
|
1520
|
+
FROM entity_identities
|
|
1521
|
+
WHERE agent_id = ${sqlQuote(this.runtime.agentId)}
|
|
1522
|
+
AND LOWER(platform) = ${sqlQuote(platform)}
|
|
1523
|
+
AND LOWER(handle) = ${sqlQuote(handle)}`);
|
|
1524
|
+
const ids = [];
|
|
1525
|
+
for (const row of result.rows) {
|
|
1526
|
+
const e = row.entity_id;
|
|
1527
|
+
if (typeof e === "string" && e.length > 0) {
|
|
1528
|
+
ids.push(asUUID(e));
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
return ids;
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
function clampConfidence(value) {
|
|
1535
|
+
if (!Number.isFinite(value))
|
|
1536
|
+
return 0;
|
|
1537
|
+
if (value < 0)
|
|
1538
|
+
return 0;
|
|
1539
|
+
if (value > 1)
|
|
1540
|
+
return 1;
|
|
1541
|
+
return value;
|
|
1542
|
+
}
|
|
1543
|
+
function sqlQuote(value) {
|
|
1544
|
+
return `'${value.replace(/'/g, "''")}'`;
|
|
1545
|
+
}
|
|
1546
|
+
function sqlJsonbLiteral(value) {
|
|
1547
|
+
return `${sqlQuote(JSON.stringify(value ?? null))}::jsonb`;
|
|
1548
|
+
}
|
|
1549
|
+
function parseEntityIdentityRow(row) {
|
|
1550
|
+
const id = row.id;
|
|
1551
|
+
const entityId = row.entity_id;
|
|
1552
|
+
const platform = row.platform;
|
|
1553
|
+
const handle = row.handle;
|
|
1554
|
+
if (typeof id !== "string" ||
|
|
1555
|
+
typeof entityId !== "string" ||
|
|
1556
|
+
typeof platform !== "string" ||
|
|
1557
|
+
typeof handle !== "string") {
|
|
1558
|
+
throw new Error("[RelationshipsService] entity_identities row missing required fields");
|
|
1559
|
+
}
|
|
1560
|
+
const evidenceRaw = row.evidence_message_ids;
|
|
1561
|
+
const evidenceArray = typeof evidenceRaw === "string"
|
|
1562
|
+
? safeJsonArray(evidenceRaw)
|
|
1563
|
+
: Array.isArray(evidenceRaw)
|
|
1564
|
+
? evidenceRaw
|
|
1565
|
+
: [];
|
|
1566
|
+
const evidence = [];
|
|
1567
|
+
for (const entry of evidenceArray) {
|
|
1568
|
+
if (typeof entry === "string" && entry.length > 0) {
|
|
1569
|
+
evidence.push(asUUID(entry));
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
return {
|
|
1573
|
+
id: asUUID(id),
|
|
1574
|
+
entityId: asUUID(entityId),
|
|
1575
|
+
platform,
|
|
1576
|
+
handle,
|
|
1577
|
+
verified: row.verified === true,
|
|
1578
|
+
confidence: typeof row.confidence === "number" && Number.isFinite(row.confidence)
|
|
1579
|
+
? row.confidence
|
|
1580
|
+
: 0,
|
|
1581
|
+
source: typeof row.source === "string" ? row.source : undefined,
|
|
1582
|
+
firstSeen: toIsoString(row.first_seen),
|
|
1583
|
+
lastSeen: toIsoString(row.last_seen),
|
|
1584
|
+
evidenceMessageIds: evidence,
|
|
1585
|
+
};
|
|
1586
|
+
}
|
|
1587
|
+
function parseMergeCandidateRow(row) {
|
|
1588
|
+
const id = row.id;
|
|
1589
|
+
const entityA = row.entity_a;
|
|
1590
|
+
const entityB = row.entity_b;
|
|
1591
|
+
if (typeof id !== "string" ||
|
|
1592
|
+
typeof entityA !== "string" ||
|
|
1593
|
+
typeof entityB !== "string") {
|
|
1594
|
+
throw new Error("[RelationshipsService] entity_merge_candidates row missing required fields");
|
|
1595
|
+
}
|
|
1596
|
+
const status = row.status;
|
|
1597
|
+
const normalizedStatus = status === "accepted" || status === "rejected" ? status : "pending";
|
|
1598
|
+
const evidenceRaw = row.evidence;
|
|
1599
|
+
let evidence = {};
|
|
1600
|
+
if (typeof evidenceRaw === "string") {
|
|
1601
|
+
const parsed = safeJsonObject(evidenceRaw);
|
|
1602
|
+
if (parsed)
|
|
1603
|
+
evidence = parsed;
|
|
1604
|
+
}
|
|
1605
|
+
else if (evidenceRaw &&
|
|
1606
|
+
typeof evidenceRaw === "object" &&
|
|
1607
|
+
!Array.isArray(evidenceRaw)) {
|
|
1608
|
+
evidence = evidenceRaw;
|
|
1609
|
+
}
|
|
1610
|
+
return {
|
|
1611
|
+
id: asUUID(id),
|
|
1612
|
+
entityA: asUUID(entityA),
|
|
1613
|
+
entityB: asUUID(entityB),
|
|
1614
|
+
confidence: typeof row.confidence === "number" && Number.isFinite(row.confidence)
|
|
1615
|
+
? row.confidence
|
|
1616
|
+
: 0,
|
|
1617
|
+
evidence,
|
|
1618
|
+
status: normalizedStatus,
|
|
1619
|
+
proposedAt: toIsoString(row.proposed_at),
|
|
1620
|
+
resolvedAt: row.resolved_at != null ? toIsoString(row.resolved_at) : undefined,
|
|
1621
|
+
};
|
|
1622
|
+
}
|
|
1623
|
+
function safeJsonArray(value) {
|
|
1624
|
+
const trimmed = value.trim();
|
|
1625
|
+
if (!trimmed)
|
|
1626
|
+
return [];
|
|
1627
|
+
const parsed = JSON.parse(trimmed);
|
|
1628
|
+
return Array.isArray(parsed) ? parsed : [];
|
|
1629
|
+
}
|
|
1630
|
+
function safeJsonObject(value) {
|
|
1631
|
+
const trimmed = value.trim();
|
|
1632
|
+
if (!trimmed)
|
|
1633
|
+
return null;
|
|
1634
|
+
const parsed = JSON.parse(trimmed);
|
|
1635
|
+
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) {
|
|
1636
|
+
return parsed;
|
|
1637
|
+
}
|
|
1638
|
+
return null;
|
|
1639
|
+
}
|
|
1640
|
+
function toIsoString(value) {
|
|
1641
|
+
if (value instanceof Date)
|
|
1642
|
+
return value.toISOString();
|
|
1643
|
+
if (typeof value === "string") {
|
|
1644
|
+
const parsed = new Date(value);
|
|
1645
|
+
if (!Number.isNaN(parsed.getTime()))
|
|
1646
|
+
return parsed.toISOString();
|
|
1647
|
+
return value;
|
|
1648
|
+
}
|
|
1649
|
+
if (typeof value === "number" && Number.isFinite(value)) {
|
|
1650
|
+
return new Date(value).toISOString();
|
|
1651
|
+
}
|
|
1652
|
+
return new Date().toISOString();
|
|
1653
|
+
}
|