@elizaos/agent 0.25.9 → 2.0.0-alpha.144
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/LICENSE +1 -1
- package/apps/app-companion/src/actions/emote.d.ts +10 -0
- package/apps/app-companion/src/actions/emote.d.ts.map +1 -0
- package/apps/app-companion/src/actions/emote.js +79 -0
- package/apps/app-companion/src/emotes/catalog.d.ts +31 -0
- package/apps/app-companion/src/emotes/catalog.d.ts.map +1 -0
- package/apps/app-companion/src/emotes/catalog.js +402 -0
- package/apps/app-companion/src/plugin.d.ts +9 -0
- package/apps/app-companion/src/plugin.d.ts.map +1 -0
- package/apps/app-companion/src/plugin.js +15 -0
- package/apps/app-knowledge/src/routes.d.ts +23 -0
- package/apps/app-knowledge/src/routes.d.ts.map +1 -0
- package/apps/app-knowledge/src/routes.js +956 -0
- package/apps/app-knowledge/src/service-loader.d.ts +51 -0
- package/apps/app-knowledge/src/service-loader.d.ts.map +1 -0
- package/apps/app-knowledge/src/service-loader.js +34 -0
- package/apps/app-lifeops/src/action.d.ts +3 -0
- package/apps/app-lifeops/src/action.d.ts.map +1 -0
- package/apps/app-lifeops/src/action.js +332 -0
- package/apps/app-lifeops/src/actions/calendar.d.ts +19 -0
- package/apps/app-lifeops/src/actions/calendar.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/calendar.js +3143 -0
- package/apps/app-lifeops/src/actions/gmail.d.ts +33 -0
- package/apps/app-lifeops/src/actions/gmail.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/gmail.js +1734 -0
- package/apps/app-lifeops/src/actions/life-goal-extractor.d.ts +69 -0
- package/apps/app-lifeops/src/actions/life-goal-extractor.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/life-goal-extractor.js +354 -0
- package/apps/app-lifeops/src/actions/life-param-extractor.d.ts +78 -0
- package/apps/app-lifeops/src/actions/life-param-extractor.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/life-param-extractor.js +423 -0
- package/apps/app-lifeops/src/actions/life-recent-context.d.ts +9 -0
- package/apps/app-lifeops/src/actions/life-recent-context.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/life-recent-context.js +84 -0
- package/apps/app-lifeops/src/actions/life-update-extractor.d.ts +27 -0
- package/apps/app-lifeops/src/actions/life-update-extractor.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/life-update-extractor.js +195 -0
- package/apps/app-lifeops/src/actions/life.d.ts +9 -0
- package/apps/app-lifeops/src/actions/life.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/life.extractor.d.ts +18 -0
- package/apps/app-lifeops/src/actions/life.extractor.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/life.extractor.js +264 -0
- package/apps/app-lifeops/src/actions/life.js +3379 -0
- package/apps/app-lifeops/src/actions/lifeops-extraction-config.d.ts +16 -0
- package/apps/app-lifeops/src/actions/lifeops-extraction-config.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/lifeops-extraction-config.js +25 -0
- package/apps/app-lifeops/src/actions/lifeops-google-helpers.d.ts +62 -0
- package/apps/app-lifeops/src/actions/lifeops-google-helpers.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/lifeops-google-helpers.js +607 -0
- package/apps/app-lifeops/src/actions/timezone-normalization.d.ts +3 -0
- package/apps/app-lifeops/src/actions/timezone-normalization.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/timezone-normalization.js +105 -0
- package/apps/app-lifeops/src/lifeops/app-state.d.ts +11 -0
- package/apps/app-lifeops/src/lifeops/app-state.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/app-state.js +32 -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/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 +205 -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 +389 -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 +147 -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 +154 -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 +53 -0
- package/apps/app-lifeops/src/lifeops/google-calendar.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-calendar.js +268 -0
- package/apps/app-lifeops/src/lifeops/google-connector-gateway.d.ts +19 -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 +65 -0
- package/apps/app-lifeops/src/lifeops/google-fetch.d.ts +11 -0
- package/apps/app-lifeops/src/lifeops/google-fetch.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-fetch.js +85 -0
- package/apps/app-lifeops/src/lifeops/google-gmail.d.ts +54 -0
- package/apps/app-lifeops/src/lifeops/google-gmail.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-gmail.js +471 -0
- package/apps/app-lifeops/src/lifeops/google-managed-client.d.ts +127 -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 +294 -0
- package/apps/app-lifeops/src/lifeops/google-oauth.d.ts +61 -0
- package/apps/app-lifeops/src/lifeops/google-oauth.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-oauth.js +491 -0
- package/apps/app-lifeops/src/lifeops/google-scopes.d.ts +13 -0
- package/apps/app-lifeops/src/lifeops/google-scopes.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/google-scopes.js +96 -0
- package/apps/app-lifeops/src/lifeops/owner-profile.d.ts +15 -0
- package/apps/app-lifeops/src/lifeops/owner-profile.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/owner-profile.js +194 -0
- package/apps/app-lifeops/src/lifeops/repository.d.ts +209 -0
- package/apps/app-lifeops/src/lifeops/repository.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/repository.js +3187 -0
- package/apps/app-lifeops/src/lifeops/runtime.d.ts +14 -0
- package/apps/app-lifeops/src/lifeops/runtime.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/runtime.js +120 -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 +111 -0
- package/apps/app-lifeops/src/lifeops/service.d.ts +275 -0
- package/apps/app-lifeops/src/lifeops/service.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/service.js +9260 -0
- package/apps/app-lifeops/src/lifeops/sql.d.ts +31 -0
- package/apps/app-lifeops/src/lifeops/sql.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/sql.js +247 -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/twilio.d.ts +25 -0
- package/apps/app-lifeops/src/lifeops/twilio.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/twilio.js +157 -0
- package/apps/app-lifeops/src/lifeops/x-poster.d.ts +19 -0
- package/apps/app-lifeops/src/lifeops/x-poster.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/x-poster.js +148 -0
- package/apps/app-lifeops/src/plugin.d.ts +19 -0
- package/apps/app-lifeops/src/plugin.d.ts.map +1 -0
- package/apps/app-lifeops/src/plugin.js +79 -0
- package/apps/app-lifeops/src/provider.d.ts +3 -0
- package/apps/app-lifeops/src/provider.d.ts.map +1 -0
- package/apps/app-lifeops/src/provider.js +75 -0
- package/apps/app-lifeops/src/providers/lifeops.d.ts +3 -0
- package/apps/app-lifeops/src/providers/lifeops.d.ts.map +1 -0
- package/apps/app-lifeops/src/providers/lifeops.js +157 -0
- package/apps/app-lifeops/src/routes/lifeops-browser-packaging.d.ts +16 -0
- package/apps/app-lifeops/src/routes/lifeops-browser-packaging.d.ts.map +1 -0
- package/apps/app-lifeops/src/routes/lifeops-browser-packaging.js +305 -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 +1173 -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 +175 -0
- package/apps/app-lifeops/src/selfcontrol/access.d.ts +8 -0
- package/apps/app-lifeops/src/selfcontrol/access.d.ts.map +1 -0
- package/apps/app-lifeops/src/selfcontrol/access.js +16 -0
- package/apps/app-lifeops/src/selfcontrol/action.d.ts +10 -0
- package/apps/app-lifeops/src/selfcontrol/action.d.ts.map +1 -0
- package/apps/app-lifeops/src/selfcontrol/action.js +506 -0
- package/apps/app-lifeops/src/selfcontrol/index.d.ts +13 -0
- package/apps/app-lifeops/src/selfcontrol/index.d.ts.map +1 -0
- package/apps/app-lifeops/src/selfcontrol/index.js +10 -0
- package/apps/app-lifeops/src/selfcontrol/permissions.d.ts +9 -0
- package/apps/app-lifeops/src/selfcontrol/permissions.d.ts.map +1 -0
- package/apps/app-lifeops/src/selfcontrol/permissions.js +1 -0
- package/apps/app-lifeops/src/selfcontrol/provider.d.ts +4 -0
- package/apps/app-lifeops/src/selfcontrol/provider.d.ts.map +1 -0
- package/apps/app-lifeops/src/selfcontrol/provider.js +116 -0
- package/apps/app-lifeops/src/selfcontrol/roles.d.ts +13 -0
- package/apps/app-lifeops/src/selfcontrol/roles.d.ts.map +1 -0
- package/apps/app-lifeops/src/selfcontrol/roles.js +228 -0
- package/apps/app-lifeops/src/selfcontrol/selfcontrol.d.ts +97 -0
- package/apps/app-lifeops/src/selfcontrol/selfcontrol.d.ts.map +1 -0
- package/apps/app-lifeops/src/selfcontrol/selfcontrol.js +949 -0
- package/apps/app-lifeops/src/selfcontrol/service.d.ts +21 -0
- package/apps/app-lifeops/src/selfcontrol/service.d.ts.map +1 -0
- package/apps/app-lifeops/src/selfcontrol/service.js +268 -0
- package/apps/app-lifeops/src/service.d.ts +8 -0
- package/apps/app-lifeops/src/service.d.ts.map +1 -0
- package/apps/app-lifeops/src/service.js +11 -0
- package/apps/app-steward/src/api/wallet-capability.d.ts +28 -0
- package/apps/app-steward/src/api/wallet-capability.d.ts.map +1 -0
- package/apps/app-steward/src/api/wallet-capability.js +94 -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 +35 -0
- package/apps/app-steward/src/api/wallet-routes.d.ts.map +1 -0
- package/apps/app-steward/src/api/wallet-routes.js +470 -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 +453 -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 +639 -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 +69 -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 +46 -0
- package/apps/app-steward/src/routes/wallet-export-guard.d.ts +51 -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/steward-evm-account.d.ts +58 -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 +302 -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 +99 -0
- package/apps/app-training/src/core/cli.d.ts +11 -0
- package/apps/app-training/src/core/cli.d.ts.map +1 -0
- package/apps/app-training/src/core/cli.js +302 -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 +259 -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 +135 -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/replay-validator.d.ts +96 -0
- package/apps/app-training/src/core/replay-validator.d.ts.map +1 -0
- package/apps/app-training/src/core/replay-validator.js +265 -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/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 +281 -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 +234 -0
- package/apps/app-training/src/services/index.d.ts +3 -0
- package/apps/app-training/src/services/index.d.ts.map +1 -0
- package/apps/app-training/src/services/index.js +1 -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 +38 -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/package.json +489 -34
- package/packages/agent/src/actions/app-control.d.ts +17 -0
- package/packages/agent/src/actions/app-control.d.ts.map +1 -0
- package/packages/agent/src/actions/app-control.js +212 -0
- package/packages/agent/src/actions/calendar.d.ts +19 -0
- package/packages/agent/src/actions/calendar.d.ts.map +1 -0
- package/packages/agent/src/actions/calendar.js +3143 -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 +201 -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/entity-actions.d.ts +4 -0
- package/packages/agent/src/actions/entity-actions.d.ts.map +1 -0
- package/packages/agent/src/actions/entity-actions.js +344 -0
- package/packages/agent/src/actions/gmail.d.ts +33 -0
- package/packages/agent/src/actions/gmail.d.ts.map +1 -0
- package/packages/agent/src/actions/gmail.js +1734 -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 +309 -0
- package/packages/agent/src/actions/inbox-digest.d.ts +2 -0
- package/packages/agent/src/actions/inbox-digest.d.ts.map +1 -0
- package/packages/agent/src/actions/inbox-digest.js +1 -0
- package/packages/agent/src/actions/inbox-respond.d.ts +2 -0
- package/packages/agent/src/actions/inbox-respond.d.ts.map +1 -0
- package/packages/agent/src/actions/inbox-respond.js +1 -0
- package/packages/agent/src/actions/inbox-triage.d.ts +2 -0
- package/packages/agent/src/actions/inbox-triage.d.ts.map +1 -0
- package/packages/agent/src/actions/inbox-triage.js +1 -0
- package/packages/agent/src/actions/inbox.d.ts +3 -0
- package/packages/agent/src/actions/inbox.d.ts.map +1 -0
- package/packages/agent/src/actions/inbox.js +856 -0
- package/packages/agent/src/actions/index.d.ts +11 -0
- package/packages/agent/src/actions/index.d.ts.map +1 -0
- package/packages/agent/src/actions/index.js +10 -0
- package/packages/agent/src/actions/life-goal-extractor.d.ts +69 -0
- package/packages/agent/src/actions/life-goal-extractor.d.ts.map +1 -0
- package/packages/agent/src/actions/life-goal-extractor.js +354 -0
- package/packages/agent/src/actions/life-param-extractor.d.ts +78 -0
- package/packages/agent/src/actions/life-param-extractor.d.ts.map +1 -0
- package/packages/agent/src/actions/life-param-extractor.js +423 -0
- package/packages/agent/src/actions/life-recent-context.d.ts +9 -0
- package/packages/agent/src/actions/life-recent-context.d.ts.map +1 -0
- package/packages/agent/src/actions/life-recent-context.js +84 -0
- package/packages/agent/src/actions/life-update-extractor.d.ts +27 -0
- package/packages/agent/src/actions/life-update-extractor.d.ts.map +1 -0
- package/packages/agent/src/actions/life-update-extractor.js +195 -0
- package/packages/agent/src/actions/life.d.ts +9 -0
- package/packages/agent/src/actions/life.d.ts.map +1 -0
- package/packages/agent/src/actions/life.extractor.d.ts +18 -0
- package/packages/agent/src/actions/life.extractor.d.ts.map +1 -0
- package/packages/agent/src/actions/life.extractor.js +264 -0
- package/packages/agent/src/actions/life.js +3379 -0
- package/packages/agent/src/actions/lifeops-extraction-config.d.ts +16 -0
- package/packages/agent/src/actions/lifeops-extraction-config.d.ts.map +1 -0
- package/packages/agent/src/actions/lifeops-extraction-config.js +25 -0
- package/packages/agent/src/actions/lifeops-google-helpers.d.ts +62 -0
- package/packages/agent/src/actions/lifeops-google-helpers.d.ts.map +1 -0
- package/packages/agent/src/actions/lifeops-google-helpers.js +607 -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 +253 -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 +224 -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 +109 -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 +181 -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 +106 -0
- package/packages/agent/src/actions/send-message.d.ts +11 -0
- package/packages/agent/src/actions/send-message.d.ts.map +1 -0
- package/packages/agent/src/actions/send-message.js +243 -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 +82 -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 +141 -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 +112 -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 +453 -0
- package/packages/agent/src/actions/timezone-normalization.d.ts +3 -0
- package/packages/agent/src/actions/timezone-normalization.d.ts.map +1 -0
- package/packages/agent/src/actions/timezone-normalization.js +107 -0
- package/packages/agent/src/actions/update-owner-profile.d.ts +3 -0
- package/packages/agent/src/actions/update-owner-profile.d.ts.map +1 -0
- package/packages/agent/src/actions/update-owner-profile.js +131 -0
- package/packages/agent/src/actions/web-search.d.ts +16 -0
- package/packages/agent/src/actions/web-search.d.ts.map +1 -0
- package/packages/agent/src/actions/web-search.js +196 -0
- package/packages/agent/src/activity-profile/analyzer.d.ts +23 -0
- package/packages/agent/src/activity-profile/analyzer.d.ts.map +1 -0
- package/packages/agent/src/activity-profile/analyzer.js +531 -0
- package/packages/agent/src/activity-profile/proactive-planner.d.ts +49 -0
- package/packages/agent/src/activity-profile/proactive-planner.d.ts.map +1 -0
- package/packages/agent/src/activity-profile/proactive-planner.js +455 -0
- package/packages/agent/src/activity-profile/proactive-worker.d.ts +32 -0
- package/packages/agent/src/activity-profile/proactive-worker.d.ts.map +1 -0
- package/packages/agent/src/activity-profile/proactive-worker.js +523 -0
- package/packages/agent/src/activity-profile/profile-metadata.d.ts +10 -0
- package/packages/agent/src/activity-profile/profile-metadata.d.ts.map +1 -0
- package/packages/agent/src/activity-profile/profile-metadata.js +25 -0
- package/packages/agent/src/activity-profile/service.d.ts +11 -0
- package/packages/agent/src/activity-profile/service.d.ts.map +1 -0
- package/packages/agent/src/activity-profile/service.js +226 -0
- package/packages/agent/src/activity-profile/types.d.ts +89 -0
- package/packages/agent/src/activity-profile/types.d.ts.map +1 -0
- package/packages/agent/src/activity-profile/types.js +29 -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 +24 -0
- package/packages/agent/src/api/apps-routes.d.ts.map +1 -0
- package/packages/agent/src/api/apps-routes.js +477 -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 +776 -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/bsc-trade.d.ts +40 -0
- package/packages/agent/src/api/bsc-trade.d.ts.map +1 -0
- package/packages/agent/src/api/bsc-trade.js +786 -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 +264 -0
- package/packages/agent/src/api/character-routes.d.ts +51 -0
- package/packages/agent/src/api/character-routes.d.ts.map +1 -0
- package/packages/agent/src/api/character-routes.js +367 -0
- package/packages/agent/src/api/chat-augmentation.d.ts +89 -0
- package/packages/agent/src/api/chat-augmentation.d.ts.map +1 -0
- package/packages/agent/src/api/chat-augmentation.js +396 -0
- package/packages/agent/src/api/chat-routes.d.ts +106 -0
- package/packages/agent/src/api/chat-routes.d.ts.map +1 -0
- package/packages/agent/src/api/chat-routes.js +1485 -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 +183 -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 +52 -0
- package/packages/agent/src/api/cloud-routes.d.ts +80 -0
- package/packages/agent/src/api/cloud-routes.d.ts.map +1 -0
- package/packages/agent/src/api/cloud-routes.js +582 -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 +143 -0
- package/packages/agent/src/api/coding-agents-auth-sanitize.d.ts +23 -0
- package/packages/agent/src/api/coding-agents-auth-sanitize.d.ts.map +1 -0
- package/packages/agent/src/api/coding-agents-auth-sanitize.js +39 -0
- package/packages/agent/src/api/coding-agents-preflight-normalize.d.ts +29 -0
- package/packages/agent/src/api/coding-agents-preflight-normalize.d.ts.map +1 -0
- package/packages/agent/src/api/coding-agents-preflight-normalize.js +45 -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 +126 -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 +33 -0
- package/packages/agent/src/api/config-routes.d.ts.map +1 -0
- package/packages/agent/src/api/config-routes.js +253 -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 +21 -0
- package/packages/agent/src/api/connector-routes.d.ts.map +1 -0
- package/packages/agent/src/api/connector-routes.js +79 -0
- package/packages/agent/src/api/conversation-routes.d.ts +42 -0
- package/packages/agent/src/api/conversation-routes.d.ts.map +1 -0
- package/packages/agent/src/api/conversation-routes.js +1128 -0
- package/packages/agent/src/api/coordinator-types.d.ts +47 -0
- package/packages/agent/src/api/coordinator-types.d.ts.map +1 -0
- package/packages/agent/src/api/coordinator-types.js +1 -0
- package/packages/agent/src/api/coordinator-wiring.d.ts +46 -0
- package/packages/agent/src/api/coordinator-wiring.d.ts.map +1 -0
- package/packages/agent/src/api/coordinator-wiring.js +108 -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 +41 -0
- package/packages/agent/src/api/database.d.ts +33 -0
- package/packages/agent/src/api/database.d.ts.map +1 -0
- package/packages/agent/src/api/database.js +1020 -0
- package/packages/agent/src/api/diagnostics-routes.d.ts +53 -0
- package/packages/agent/src/api/diagnostics-routes.d.ts.map +1 -0
- package/packages/agent/src/api/diagnostics-routes.js +250 -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-local-routes.d.ts +12 -0
- package/packages/agent/src/api/discord-local-routes.d.ts.map +1 -0
- package/packages/agent/src/api/discord-local-routes.js +145 -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 +282 -0
- package/packages/agent/src/api/drop-routes.d.ts +22 -0
- package/packages/agent/src/api/drop-routes.d.ts.map +1 -0
- package/packages/agent/src/api/drop-routes.js +155 -0
- package/packages/agent/src/api/drop-service.d.ts +26 -0
- package/packages/agent/src/api/drop-service.d.ts.map +1 -0
- package/packages/agent/src/api/drop-service.js +134 -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/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 +148 -0
- package/packages/agent/src/api/imessage-routes.d.ts +55 -0
- package/packages/agent/src/api/imessage-routes.d.ts.map +1 -0
- package/packages/agent/src/api/imessage-routes.js +231 -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 +1547 -0
- package/packages/agent/src/api/index.d.ts +63 -0
- package/packages/agent/src/api/index.d.ts.map +1 -0
- package/packages/agent/src/api/index.js +62 -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/lifeops-browser-packaging.d.ts +16 -0
- package/packages/agent/src/api/lifeops-browser-packaging.d.ts.map +1 -0
- package/packages/agent/src/api/lifeops-browser-packaging.js +305 -0
- package/packages/agent/src/api/lifeops-routes.d.ts +20 -0
- package/packages/agent/src/api/lifeops-routes.d.ts.map +1 -0
- package/packages/agent/src/api/lifeops-routes.js +1173 -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 +420 -0
- package/packages/agent/src/api/merkle-tree.d.ts +90 -0
- package/packages/agent/src/api/merkle-tree.d.ts.map +1 -0
- package/packages/agent/src/api/merkle-tree.js +174 -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 +557 -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/nft-verify.d.ts +16 -0
- package/packages/agent/src/api/nft-verify.d.ts.map +1 -0
- package/packages/agent/src/api/nft-verify.js +81 -0
- package/packages/agent/src/api/og-tracker.d.ts +28 -0
- package/packages/agent/src/api/og-tracker.d.ts.map +1 -0
- package/packages/agent/src/api/og-tracker.js +60 -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 +561 -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 +110 -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 +1015 -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 +1140 -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 +60 -0
- package/packages/agent/src/api/provider-switch-config.d.ts.map +1 -0
- package/packages/agent/src/api/provider-switch-config.js +718 -0
- package/packages/agent/src/api/provider-switch-routes.d.ts +22 -0
- package/packages/agent/src/api/provider-switch-routes.d.ts.map +1 -0
- package/packages/agent/src/api/provider-switch-routes.js +92 -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 +54 -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 +181 -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 +21 -0
- package/packages/agent/src/api/runtime-plugin-routes.d.ts.map +1 -0
- package/packages/agent/src/api/runtime-plugin-routes.js +132 -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 +52 -0
- package/packages/agent/src/api/server-auth.d.ts.map +1 -0
- package/packages/agent/src/api/server-auth.js +332 -0
- package/packages/agent/src/api/server-helpers.d.ts +95 -0
- package/packages/agent/src/api/server-helpers.d.ts.map +1 -0
- package/packages/agent/src/api/server-helpers.js +708 -0
- package/packages/agent/src/api/server-startup.d.ts +16 -0
- package/packages/agent/src/api/server-startup.d.ts.map +1 -0
- package/packages/agent/src/api/server-startup.js +14 -0
- package/packages/agent/src/api/server-types.d.ts +216 -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 +144 -0
- package/packages/agent/src/api/server.d.ts.map +1 -0
- package/packages/agent/src/api/server.js +5304 -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 +232 -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 +381 -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 +947 -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 +43 -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 +213 -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/telegram-setup-routes.d.ts +27 -0
- package/packages/agent/src/api/telegram-setup-routes.d.ts.map +1 -0
- package/packages/agent/src/api/telegram-setup-routes.js +125 -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 +39 -0
- package/packages/agent/src/api/trade-safety.d.ts.map +1 -0
- package/packages/agent/src/api/trade-safety.js +66 -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 +73 -0
- package/packages/agent/src/api/trigger-routes.d.ts.map +1 -0
- package/packages/agent/src/api/trigger-routes.js +308 -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/twitter-verify.d.ts +25 -0
- package/packages/agent/src/api/twitter-verify.d.ts.map +1 -0
- package/packages/agent/src/api/twitter-verify.js +168 -0
- package/packages/agent/src/api/tx-service.d.ts +51 -0
- package/packages/agent/src/api/tx-service.d.ts.map +1 -0
- package/packages/agent/src/api/tx-service.js +160 -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-bsc-routes.d.ts +67 -0
- package/packages/agent/src/api/wallet-bsc-routes.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-bsc-routes.js +322 -0
- package/packages/agent/src/api/wallet-capability.d.ts +33 -0
- package/packages/agent/src/api/wallet-capability.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-capability.js +124 -0
- package/packages/agent/src/api/wallet-dex-prices.d.ts +43 -0
- package/packages/agent/src/api/wallet-dex-prices.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-dex-prices.js +153 -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 +104 -0
- package/packages/agent/src/api/wallet-evm-balance.d.ts +66 -0
- package/packages/agent/src/api/wallet-evm-balance.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-evm-balance.js +667 -0
- package/packages/agent/src/api/wallet-routes.d.ts +55 -0
- package/packages/agent/src/api/wallet-routes.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-routes.js +833 -0
- package/packages/agent/src/api/wallet-rpc.d.ts +78 -0
- package/packages/agent/src/api/wallet-rpc.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-rpc.js +476 -0
- package/packages/agent/src/api/wallet-trade-routes.d.ts +110 -0
- package/packages/agent/src/api/wallet-trade-routes.d.ts.map +1 -0
- package/packages/agent/src/api/wallet-trade-routes.js +353 -0
- package/packages/agent/src/api/wallet-trading-profile.d.ts +56 -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 +674 -0
- package/packages/agent/src/api/website-blocker-routes.d.ts +7 -0
- package/packages/agent/src/api/website-blocker-routes.d.ts.map +1 -0
- package/packages/agent/src/api/website-blocker-routes.js +174 -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 +226 -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 +133 -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 +405 -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/anthropic.d.ts +29 -0
- package/packages/agent/src/auth/anthropic.d.ts.map +1 -0
- package/packages/agent/src/auth/anthropic.js +43 -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 +74 -0
- package/packages/agent/src/auth/credentials.d.ts.map +1 -0
- package/packages/agent/src/auth/credentials.js +379 -0
- package/packages/agent/src/auth/index.d.ts +6 -0
- package/packages/agent/src/auth/index.d.ts.map +1 -0
- package/packages/agent/src/auth/index.js +5 -0
- package/packages/agent/src/auth/openai-codex.d.ts +32 -0
- package/packages/agent/src/auth/openai-codex.d.ts.map +1 -0
- package/packages/agent/src/auth/openai-codex.js +81 -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 +16 -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 +78 -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/autonomy/index.d.ts +48 -0
- package/packages/agent/src/autonomy/index.d.ts.map +1 -0
- package/packages/agent/src/autonomy/index.js +330 -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/bin.d.ts +3 -0
- package/packages/agent/src/bin.d.ts.map +1 -0
- package/packages/agent/src/bin.js +6 -0
- package/packages/agent/src/cli/benchmark.d.ts +10 -0
- package/packages/agent/src/cli/benchmark.d.ts.map +1 -0
- package/packages/agent/src/cli/benchmark.js +293 -0
- package/packages/agent/src/cli/index.d.ts +2 -0
- package/packages/agent/src/cli/index.d.ts.map +1 -0
- package/packages/agent/src/cli/index.js +70 -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 +52 -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 +32 -0
- package/packages/agent/src/cloud/cloud-manager.d.ts.map +1 -0
- package/packages/agent/src/cloud/cloud-manager.js +121 -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 +94 -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 +7 -0
- package/packages/agent/src/cloud/index.d.ts.map +1 -0
- package/packages/agent/src/cloud/index.js +6 -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 +277 -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 +282 -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 +19 -0
- package/packages/agent/src/config/index.d.ts.map +1 -0
- package/packages/agent/src/config/index.js +18 -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 +13 -0
- package/packages/agent/src/config/paths.d.ts.map +1 -0
- package/packages/agent/src/config/paths.js +106 -0
- package/packages/agent/src/config/plugin-auto-enable.d.ts +36 -0
- package/packages/agent/src/config/plugin-auto-enable.d.ts.map +1 -0
- package/packages/agent/src/config/plugin-auto-enable.js +519 -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 +70 -0
- package/packages/agent/src/config/runtime-env.d.ts +2 -0
- package/packages/agent/src/config/runtime-env.d.ts.map +1 -0
- package/packages/agent/src/config/runtime-env.js +1 -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 +362 -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 +670 -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 +694 -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 +148 -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/drop.d.ts +2 -0
- package/packages/agent/src/contracts/drop.d.ts.map +1 -0
- package/packages/agent/src/contracts/drop.js +1 -0
- package/packages/agent/src/contracts/index.d.ts +11 -0
- package/packages/agent/src/contracts/index.d.ts.map +1 -0
- package/packages/agent/src/contracts/index.js +10 -0
- package/packages/agent/src/contracts/lifeops.d.ts +2 -0
- package/packages/agent/src/contracts/lifeops.d.ts.map +1 -0
- package/packages/agent/src/contracts/lifeops.js +1 -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/permissions.d.ts +2 -0
- package/packages/agent/src/contracts/permissions.d.ts.map +1 -0
- package/packages/agent/src/contracts/permissions.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/verification.d.ts +2 -0
- package/packages/agent/src/contracts/verification.d.ts.map +1 -0
- package/packages/agent/src/contracts/verification.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/index.d.ts +2 -0
- package/packages/agent/src/diagnostics/index.d.ts.map +1 -0
- package/packages/agent/src/diagnostics/index.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 +75 -0
- package/packages/agent/src/evals/coordinator-eval-client.d.ts +39 -0
- package/packages/agent/src/evals/coordinator-eval-client.d.ts.map +1 -0
- package/packages/agent/src/evals/coordinator-eval-client.js +138 -0
- package/packages/agent/src/evals/coordinator-live-runner.d.ts +57 -0
- package/packages/agent/src/evals/coordinator-live-runner.d.ts.map +1 -0
- package/packages/agent/src/evals/coordinator-live-runner.js +546 -0
- package/packages/agent/src/evals/coordinator-preflight.d.ts +32 -0
- package/packages/agent/src/evals/coordinator-preflight.d.ts.map +1 -0
- package/packages/agent/src/evals/coordinator-preflight.js +296 -0
- package/packages/agent/src/evals/coordinator-scenarios.d.ts +24 -0
- package/packages/agent/src/evals/coordinator-scenarios.d.ts.map +1 -0
- package/packages/agent/src/evals/coordinator-scenarios.js +1141 -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/inbox/channel-deep-links.d.ts +20 -0
- package/packages/agent/src/inbox/channel-deep-links.d.ts.map +1 -0
- package/packages/agent/src/inbox/channel-deep-links.js +185 -0
- package/packages/agent/src/inbox/config.d.ts +7 -0
- package/packages/agent/src/inbox/config.d.ts.map +1 -0
- package/packages/agent/src/inbox/config.js +59 -0
- package/packages/agent/src/inbox/message-fetcher.d.ts +33 -0
- package/packages/agent/src/inbox/message-fetcher.d.ts.map +1 -0
- package/packages/agent/src/inbox/message-fetcher.js +252 -0
- package/packages/agent/src/inbox/reflection.d.ts +45 -0
- package/packages/agent/src/inbox/reflection.d.ts.map +1 -0
- package/packages/agent/src/inbox/reflection.js +157 -0
- package/packages/agent/src/inbox/repository.d.ts +53 -0
- package/packages/agent/src/inbox/repository.d.ts.map +1 -0
- package/packages/agent/src/inbox/repository.js +362 -0
- package/packages/agent/src/inbox/triage-classifier.d.ts +17 -0
- package/packages/agent/src/inbox/triage-classifier.d.ts.map +1 -0
- package/packages/agent/src/inbox/triage-classifier.js +209 -0
- package/packages/agent/src/inbox/types.d.ts +130 -0
- package/packages/agent/src/inbox/types.d.ts.map +1 -0
- package/packages/agent/src/inbox/types.js +1 -0
- package/packages/agent/src/index.d.ts +22 -0
- package/packages/agent/src/index.d.ts.map +1 -0
- package/packages/agent/src/index.js +20 -0
- package/packages/agent/src/lifeops/app-state.d.ts +11 -0
- package/packages/agent/src/lifeops/app-state.d.ts.map +1 -0
- package/packages/agent/src/lifeops/app-state.js +32 -0
- package/packages/agent/src/lifeops/apple-reminders.d.ts +58 -0
- package/packages/agent/src/lifeops/apple-reminders.d.ts.map +1 -0
- package/packages/agent/src/lifeops/apple-reminders.js +325 -0
- package/packages/agent/src/lifeops/defaults.d.ts +24 -0
- package/packages/agent/src/lifeops/defaults.d.ts.map +1 -0
- package/packages/agent/src/lifeops/defaults.js +205 -0
- package/packages/agent/src/lifeops/engine.d.ts +8 -0
- package/packages/agent/src/lifeops/engine.d.ts.map +1 -0
- package/packages/agent/src/lifeops/engine.js +389 -0
- package/packages/agent/src/lifeops/goal-grounding.d.ts +54 -0
- package/packages/agent/src/lifeops/goal-grounding.d.ts.map +1 -0
- package/packages/agent/src/lifeops/goal-grounding.js +147 -0
- package/packages/agent/src/lifeops/goal-semantic-evaluator.d.ts +12 -0
- package/packages/agent/src/lifeops/goal-semantic-evaluator.d.ts.map +1 -0
- package/packages/agent/src/lifeops/goal-semantic-evaluator.js +154 -0
- package/packages/agent/src/lifeops/google-api-error.d.ts +7 -0
- package/packages/agent/src/lifeops/google-api-error.d.ts.map +1 -0
- package/packages/agent/src/lifeops/google-api-error.js +35 -0
- package/packages/agent/src/lifeops/google-calendar.d.ts +53 -0
- package/packages/agent/src/lifeops/google-calendar.d.ts.map +1 -0
- package/packages/agent/src/lifeops/google-calendar.js +268 -0
- package/packages/agent/src/lifeops/google-connector-gateway.d.ts +19 -0
- package/packages/agent/src/lifeops/google-connector-gateway.d.ts.map +1 -0
- package/packages/agent/src/lifeops/google-connector-gateway.js +65 -0
- package/packages/agent/src/lifeops/google-fetch.d.ts +11 -0
- package/packages/agent/src/lifeops/google-fetch.d.ts.map +1 -0
- package/packages/agent/src/lifeops/google-fetch.js +85 -0
- package/packages/agent/src/lifeops/google-gmail.d.ts +54 -0
- package/packages/agent/src/lifeops/google-gmail.d.ts.map +1 -0
- package/packages/agent/src/lifeops/google-gmail.js +471 -0
- package/packages/agent/src/lifeops/google-managed-client.d.ts +127 -0
- package/packages/agent/src/lifeops/google-managed-client.d.ts.map +1 -0
- package/packages/agent/src/lifeops/google-managed-client.js +294 -0
- package/packages/agent/src/lifeops/google-oauth.d.ts +61 -0
- package/packages/agent/src/lifeops/google-oauth.d.ts.map +1 -0
- package/packages/agent/src/lifeops/google-oauth.js +494 -0
- package/packages/agent/src/lifeops/google-scopes.d.ts +13 -0
- package/packages/agent/src/lifeops/google-scopes.d.ts.map +1 -0
- package/packages/agent/src/lifeops/google-scopes.js +96 -0
- package/packages/agent/src/lifeops/index.d.ts +3 -0
- package/packages/agent/src/lifeops/index.d.ts.map +1 -0
- package/packages/agent/src/lifeops/index.js +2 -0
- package/packages/agent/src/lifeops/owner-profile.d.ts +15 -0
- package/packages/agent/src/lifeops/owner-profile.d.ts.map +1 -0
- package/packages/agent/src/lifeops/owner-profile.js +194 -0
- package/packages/agent/src/lifeops/repository.d.ts +209 -0
- package/packages/agent/src/lifeops/repository.d.ts.map +1 -0
- package/packages/agent/src/lifeops/repository.js +3187 -0
- package/packages/agent/src/lifeops/runtime.d.ts +14 -0
- package/packages/agent/src/lifeops/runtime.d.ts.map +1 -0
- package/packages/agent/src/lifeops/runtime.js +120 -0
- package/packages/agent/src/lifeops/screen-context.d.ts +52 -0
- package/packages/agent/src/lifeops/screen-context.d.ts.map +1 -0
- package/packages/agent/src/lifeops/screen-context.js +332 -0
- package/packages/agent/src/lifeops/seed-routines.d.ts +20 -0
- package/packages/agent/src/lifeops/seed-routines.d.ts.map +1 -0
- package/packages/agent/src/lifeops/seed-routines.js +111 -0
- package/packages/agent/src/lifeops/service.d.ts +275 -0
- package/packages/agent/src/lifeops/service.d.ts.map +1 -0
- package/packages/agent/src/lifeops/service.js +9260 -0
- package/packages/agent/src/lifeops/sql.d.ts +31 -0
- package/packages/agent/src/lifeops/sql.d.ts.map +1 -0
- package/packages/agent/src/lifeops/sql.js +247 -0
- package/packages/agent/src/lifeops/time.d.ts +17 -0
- package/packages/agent/src/lifeops/time.d.ts.map +1 -0
- package/packages/agent/src/lifeops/time.js +132 -0
- package/packages/agent/src/lifeops/twilio.d.ts +25 -0
- package/packages/agent/src/lifeops/twilio.d.ts.map +1 -0
- package/packages/agent/src/lifeops/twilio.js +157 -0
- package/packages/agent/src/lifeops/x-poster.d.ts +19 -0
- package/packages/agent/src/lifeops/x-poster.d.ts.map +1 -0
- package/packages/agent/src/lifeops/x-poster.js +148 -0
- package/packages/agent/src/onboarding-presets.d.ts +2 -0
- package/packages/agent/src/onboarding-presets.d.ts.map +1 -0
- package/packages/agent/src/onboarding-presets.js +1 -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/plugins/discord-voice-capability.d.ts +35 -0
- package/packages/agent/src/plugins/discord-voice-capability.d.ts.map +1 -0
- package/packages/agent/src/plugins/discord-voice-capability.js +97 -0
- package/packages/agent/src/providers/activity-profile.d.ts +3 -0
- package/packages/agent/src/providers/activity-profile.d.ts.map +1 -0
- package/packages/agent/src/providers/activity-profile.js +140 -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/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 +79 -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/inbox-triage.d.ts +3 -0
- package/packages/agent/src/providers/inbox-triage.d.ts.map +1 -0
- package/packages/agent/src/providers/inbox-triage.js +89 -0
- package/packages/agent/src/providers/index.d.ts +15 -0
- package/packages/agent/src/providers/index.d.ts.map +1 -0
- package/packages/agent/src/providers/index.js +14 -0
- package/packages/agent/src/providers/lifeops.d.ts +3 -0
- package/packages/agent/src/providers/lifeops.d.ts.map +1 -0
- package/packages/agent/src/providers/lifeops.js +157 -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 +87 -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 +88 -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 +77 -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 +336 -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 +22 -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 +54 -0
- package/packages/agent/src/providers/workspace.d.ts.map +1 -0
- package/packages/agent/src/providers/workspace.js +481 -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 +19 -0
- package/packages/agent/src/runtime/core-plugins.d.ts.map +1 -0
- package/packages/agent/src/runtime/core-plugins.js +62 -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 +884 -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 +218 -0
- package/packages/agent/src/runtime/eliza.d.ts +181 -0
- package/packages/agent/src/runtime/eliza.d.ts.map +1 -0
- package/packages/agent/src/runtime/eliza.js +3286 -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 +25 -0
- package/packages/agent/src/runtime/first-time-setup.d.ts.map +1 -0
- package/packages/agent/src/runtime/first-time-setup.js +697 -0
- package/packages/agent/src/runtime/index.d.ts +13 -0
- package/packages/agent/src/runtime/index.d.ts.map +1 -0
- package/packages/agent/src/runtime/index.js +12 -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 +74 -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 +38 -0
- package/packages/agent/src/runtime/plugin-collector.d.ts.map +1 -0
- package/packages/agent/src/runtime/plugin-collector.js +397 -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 +584 -0
- package/packages/agent/src/runtime/plugin-resolver.d.ts +31 -0
- package/packages/agent/src/runtime/plugin-resolver.d.ts.map +1 -0
- package/packages/agent/src/runtime/plugin-resolver.js +828 -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 +232 -0
- package/packages/agent/src/runtime/plugin-types.d.ts +71 -0
- package/packages/agent/src/runtime/plugin-types.d.ts.map +1 -0
- package/packages/agent/src/runtime/plugin-types.js +318 -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 +11 -0
- package/packages/agent/src/runtime/prompt-optimization.d.ts.map +1 -0
- package/packages/agent/src/runtime/prompt-optimization.js +421 -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 +45 -0
- package/packages/agent/src/runtime/restart.d.ts.map +1 -0
- package/packages/agent/src/runtime/restart.js +45 -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 +676 -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 +299 -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-export.d.ts +8 -0
- package/packages/agent/src/runtime/trajectory-export.d.ts.map +1 -0
- package/packages/agent/src/runtime/trajectory-export.js +7 -0
- package/packages/agent/src/runtime/trajectory-internals.d.ts +217 -0
- package/packages/agent/src/runtime/trajectory-internals.d.ts.map +1 -0
- package/packages/agent/src/runtime/trajectory-internals.js +1298 -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 +65 -0
- package/packages/agent/src/runtime/trajectory-storage.d.ts.map +1 -0
- package/packages/agent/src/runtime/trajectory-storage.js +1026 -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 +149 -0
- package/packages/agent/src/security/audit-log.d.ts +49 -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 +3 -0
- package/packages/agent/src/security/index.d.ts.map +1 -0
- package/packages/agent/src/security/index.js +2 -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/server/index.d.ts +3 -0
- package/packages/agent/src/server/index.d.ts.map +1 -0
- package/packages/agent/src/server/index.js +1 -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 +56 -0
- package/packages/agent/src/services/app-manager.d.ts.map +1 -0
- package/packages/agent/src/services/app-manager.js +2019 -0
- package/packages/agent/src/services/app-package-modules.d.ts +30 -0
- package/packages/agent/src/services/app-package-modules.d.ts.map +1 -0
- package/packages/agent/src/services/app-package-modules.js +348 -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.d.ts +179 -0
- package/packages/agent/src/services/browser-workspace.d.ts.map +1 -0
- package/packages/agent/src/services/browser-workspace.js +4589 -0
- package/packages/agent/src/services/built-in-app-routes/2004scape.d.ts +28 -0
- package/packages/agent/src/services/built-in-app-routes/2004scape.d.ts.map +1 -0
- package/packages/agent/src/services/built-in-app-routes/2004scape.js +1343 -0
- package/packages/agent/src/services/built-in-app-routes/hyperscape.d.ts +5 -0
- package/packages/agent/src/services/built-in-app-routes/hyperscape.d.ts.map +1 -0
- package/packages/agent/src/services/built-in-app-routes/hyperscape.js +189 -0
- package/packages/agent/src/services/character-persistence.d.ts +39 -0
- package/packages/agent/src/services/character-persistence.d.ts.map +1 -0
- package/packages/agent/src/services/character-persistence.js +159 -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 +20 -0
- package/packages/agent/src/services/coding-task-executor.d.ts.map +1 -0
- package/packages/agent/src/services/coding-task-executor.js +141 -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/credential-words.d.ts +26 -0
- package/packages/agent/src/services/credential-words.d.ts.map +1 -0
- package/packages/agent/src/services/credential-words.js +116 -0
- package/packages/agent/src/services/escalation.d.ts +46 -0
- package/packages/agent/src/services/escalation.d.ts.map +1 -0
- package/packages/agent/src/services/escalation.js +415 -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/index.d.ts +25 -0
- package/packages/agent/src/services/index.d.ts.map +1 -0
- package/packages/agent/src/services/index.js +24 -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/plugin-manager-types.d.ts +113 -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/privy-wallets.d.ts +23 -0
- package/packages/agent/src/services/privy-wallets.d.ts.map +1 -0
- package/packages/agent/src/services/privy-wallets.js +230 -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 +225 -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 +545 -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 +119 -0
- package/packages/agent/src/services/registry-client-queries.d.ts +15 -0
- package/packages/agent/src/services/registry-client-queries.d.ts.map +1 -0
- package/packages/agent/src/services/registry-client-queries.js +172 -0
- package/packages/agent/src/services/registry-client-types.d.ts +125 -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 +134 -0
- package/packages/agent/src/services/relationships-graph.d.ts.map +1 -0
- package/packages/agent/src/services/relationships-graph.js +1332 -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 +136 -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 +57 -0
- package/packages/agent/src/services/signal-pairing.d.ts.map +1 -0
- package/packages/agent/src/services/signal-pairing.js +393 -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 +689 -0
- package/packages/agent/src/services/steward-evm-account.d.ts +62 -0
- package/packages/agent/src/services/steward-evm-account.d.ts.map +1 -0
- package/packages/agent/src/services/steward-evm-account.js +308 -0
- package/packages/agent/src/services/steward-evm-bridge.d.ts +39 -0
- package/packages/agent/src/services/steward-evm-bridge.d.ts.map +1 -0
- package/packages/agent/src/services/steward-evm-bridge.js +103 -0
- package/packages/agent/src/services/steward-wallet.d.ts +30 -0
- package/packages/agent/src/services/steward-wallet.d.ts.map +1 -0
- package/packages/agent/src/services/steward-wallet.js +334 -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/index.d.ts +2 -0
- package/packages/agent/src/shared/index.d.ts.map +1 -0
- package/packages/agent/src/shared/index.js +1 -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 +17 -0
- package/packages/agent/src/test-utils/sqlite-compat.d.ts.map +1 -0
- package/packages/agent/src/test-utils/sqlite-compat.js +48 -0
- package/packages/agent/src/testing/index.d.ts +4 -0
- package/packages/agent/src/testing/index.d.ts.map +1 -0
- package/packages/agent/src/testing/index.js +3 -0
- package/packages/agent/src/training/cli.d.ts +2 -0
- package/packages/agent/src/training/cli.d.ts.map +1 -0
- package/packages/agent/src/training/cli.js +2 -0
- package/packages/agent/src/training/context-audit.d.ts +2 -0
- package/packages/agent/src/training/context-audit.d.ts.map +1 -0
- package/packages/agent/src/training/context-audit.js +2 -0
- package/packages/agent/src/training/context-catalog.d.ts +2 -0
- package/packages/agent/src/training/context-catalog.d.ts.map +1 -0
- package/packages/agent/src/training/context-catalog.js +2 -0
- package/packages/agent/src/training/context-types.d.ts +2 -0
- package/packages/agent/src/training/context-types.d.ts.map +1 -0
- package/packages/agent/src/training/context-types.js +2 -0
- package/packages/agent/src/training/dataset-generator.d.ts +2 -0
- package/packages/agent/src/training/dataset-generator.d.ts.map +1 -0
- package/packages/agent/src/training/dataset-generator.js +2 -0
- package/packages/agent/src/training/replay-validator.d.ts +2 -0
- package/packages/agent/src/training/replay-validator.d.ts.map +1 -0
- package/packages/agent/src/training/replay-validator.js +2 -0
- package/packages/agent/src/training/roleplay-executor.d.ts +2 -0
- package/packages/agent/src/training/roleplay-executor.d.ts.map +1 -0
- package/packages/agent/src/training/roleplay-executor.js +2 -0
- package/packages/agent/src/training/roleplay-trajectories.d.ts +2 -0
- package/packages/agent/src/training/roleplay-trajectories.d.ts.map +1 -0
- package/packages/agent/src/training/roleplay-trajectories.js +2 -0
- package/packages/agent/src/training/scenario-blueprints.d.ts +2 -0
- package/packages/agent/src/training/scenario-blueprints.d.ts.map +1 -0
- package/packages/agent/src/training/scenario-blueprints.js +2 -0
- package/packages/agent/src/training/trajectory-task-datasets.d.ts +2 -0
- package/packages/agent/src/training/trajectory-task-datasets.d.ts.map +1 -0
- package/packages/agent/src/training/trajectory-task-datasets.js +2 -0
- package/packages/agent/src/training/vertex-tuning.d.ts +2 -0
- package/packages/agent/src/training/vertex-tuning.d.ts.map +1 -0
- package/packages/agent/src/training/vertex-tuning.js +2 -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 +316 -0
- package/packages/agent/src/triggers/index.d.ts +5 -0
- package/packages/agent/src/triggers/index.d.ts.map +1 -0
- package/packages/agent/src/triggers/index.js +4 -0
- package/packages/agent/src/triggers/runtime.d.ts +25 -0
- package/packages/agent/src/triggers/runtime.d.ts.map +1 -0
- package/packages/agent/src/triggers/runtime.js +456 -0
- package/packages/agent/src/triggers/scheduling.d.ts +71 -0
- package/packages/agent/src/triggers/scheduling.d.ts.map +1 -0
- package/packages/agent/src/triggers/scheduling.js +355 -0
- package/packages/agent/src/triggers/types.d.ts +115 -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/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/trajectory.d.ts +106 -0
- package/packages/agent/src/types/trajectory.d.ts.map +1 -0
- package/packages/agent/src/types/trajectory.js +7 -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/index.d.ts +3 -0
- package/packages/agent/src/utils/index.d.ts.map +1 -0
- package/packages/agent/src/utils/index.js +2 -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 +52 -0
- package/packages/agent/src/utils/spoken-text.d.ts +2 -0
- package/packages/agent/src/utils/spoken-text.d.ts.map +1 -0
- package/packages/agent/src/utils/spoken-text.js +1 -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/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 +16 -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 +99 -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 +18 -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 +469 -0
- package/packages/app-core/src/config/boot-config-store.d.ts +117 -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 +135 -0
- package/packages/app-core/src/config/boot-config.d.ts +6 -0
- package/packages/app-core/src/config/boot-config.d.ts.map +1 -0
- package/packages/app-core/src/config/boot-config.js +5 -0
- package/packages/app-core/src/config/branding.d.ts +55 -0
- package/packages/app-core/src/config/branding.d.ts.map +1 -0
- package/packages/app-core/src/config/branding.js +23 -0
- package/packages/app-core/src/config/config.d.ts +12 -0
- package/packages/app-core/src/config/config.d.ts.map +1 -0
- package/packages/app-core/src/config/config.js +23 -0
- package/packages/app-core/src/navigation/index.d.ts +52 -0
- package/packages/app-core/src/navigation/index.d.ts.map +1 -0
- package/packages/app-core/src/navigation/index.js +354 -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/types/index.d.ts +649 -0
- package/packages/app-core/src/types/index.d.ts.map +1 -0
- package/packages/app-core/src/types/index.js +1 -0
- package/packages/app-core/src/types/lifeops-ui.d.ts +10 -0
- package/packages/app-core/src/types/lifeops-ui.d.ts.map +1 -0
- package/packages/app-core/src/types/lifeops-ui.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/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 +68 -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 +91 -0
- package/packages/shared/src/contracts/apps.d.ts +204 -0
- package/packages/shared/src/contracts/apps.d.ts.map +1 -0
- package/packages/shared/src/contracts/apps.js +188 -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 +73 -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/index.d.ts +13 -0
- package/packages/shared/src/contracts/index.d.ts.map +1 -0
- package/packages/shared/src/contracts/index.js +12 -0
- package/packages/shared/src/contracts/lifeops.d.ts +1337 -0
- package/packages/shared/src/contracts/lifeops.d.ts.map +1 -0
- package/packages/shared/src/contracts/lifeops.js +278 -0
- package/packages/shared/src/contracts/onboarding.d.ts +443 -0
- package/packages/shared/src/contracts/onboarding.d.ts.map +1 -0
- package/packages/shared/src/contracts/onboarding.js +1020 -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/service-routing.d.ts +77 -0
- package/packages/shared/src/contracts/service-routing.d.ts.map +1 -0
- package/packages/shared/src/contracts/service-routing.js +227 -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 +626 -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/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 +16 -0
- package/packages/shared/src/env-utils.js +4 -0
- package/packages/shared/src/i18n/generated/validation-keyword-data.d.ts +1030 -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 +1033 -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 +13 -0
- package/packages/shared/src/index.d.ts.map +1 -0
- package/packages/shared/src/index.js +12 -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 +2606 -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 +176 -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/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 +82 -0
- package/packages/shared/src/runtime-env.d.ts.map +1 -0
- package/packages/shared/src/runtime-env.js +242 -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 +116 -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/types.d.ts +27 -0
- package/packages/shared/src/types.d.ts.map +1 -0
- package/packages/shared/src/types.js +1 -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/typescript/src/action-docs.d.ts +22 -0
- package/packages/typescript/src/action-docs.d.ts.map +1 -0
- package/packages/typescript/src/action-docs.js +93 -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 +456 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/append.d.ts +4 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/append.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/append.js +150 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/delete.d.ts +4 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/delete.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/delete.js +136 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/list.d.ts +4 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/list.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/list.js +84 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/read-attachment.d.ts +4 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/read-attachment.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/read-attachment.js +107 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/read-file.d.ts +16 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/read-file.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/read-file.js +187 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/read.d.ts +4 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/read.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/read.js +138 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/remove-from-clipboard.d.ts +4 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/remove-from-clipboard.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/remove-from-clipboard.js +96 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/search.d.ts +4 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/search.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/search.js +139 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/write.d.ts +4 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/write.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/actions/write.js +138 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/index.d.ts +39 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/index.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/index.js +78 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/providers/clipboard.d.ts +4 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/providers/clipboard.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/providers/clipboard.js +62 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/attachmentContext.d.ts +16 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/attachmentContext.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/attachmentContext.js +162 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/clipboardService.d.ts +65 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/clipboardService.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/clipboardService.js +352 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/taskClipboardPersistence.d.ts +24 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/taskClipboardPersistence.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/taskClipboardPersistence.js +63 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/taskClipboardService.d.ts +29 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/taskClipboardService.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/services/taskClipboardService.js +195 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/specs.d.ts +15 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/specs.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/specs.js +164 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/types.d.ts +92 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/types.d.ts.map +1 -0
- package/packages/typescript/src/advanced-capabilities/clipboard/types.js +4 -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 +1149 -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 +102 -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 +129 -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 +176 -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 +199 -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 +112 -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 +192 -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 +96 -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 +39 -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 +78 -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 +352 -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/index.d.ts +8 -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 +7 -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 +633 -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 +619 -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 +70 -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 +256 -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 +51 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/service.d.ts +46 -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 +569 -0
- package/packages/typescript/src/features/advanced-capabilities/experience/types.d.ts +95 -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/experienceRelationships.d.ts +25 -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 +116 -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 +70 -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 +924 -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 +588 -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 +114 -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/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 +10 -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 +8 -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 +498 -0
- package/packages/typescript/src/features/advanced-capabilities/personality/types.d.ts +18 -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 +11 -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 +108 -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 +125 -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 +180 -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 +286 -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 +198 -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 +37 -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 +347 -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 +181 -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 +132 -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 +80 -0
- package/packages/typescript/src/features/basic-capabilities/index.d.ts +108 -0
- package/packages/typescript/src/features/basic-capabilities/index.d.ts.map +1 -0
- package/packages/typescript/src/features/basic-capabilities/index.js +1020 -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 +232 -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 +82 -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 +19 -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 +18 -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 +70 -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 +323 -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/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/index.d.ts +58 -0
- package/packages/typescript/src/features/index.d.ts.map +1 -0
- package/packages/typescript/src/features/index.js +155 -0
- package/packages/typescript/src/features/knowledge/actions.d.ts +5 -0
- package/packages/typescript/src/features/knowledge/actions.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/actions.js +269 -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 +9 -0
- package/packages/typescript/src/features/knowledge/docs-loader.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/docs-loader.js +202 -0
- package/packages/typescript/src/features/knowledge/document-processor.d.ts +26 -0
- package/packages/typescript/src/features/knowledge/document-processor.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/document-processor.js +618 -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 +106 -0
- package/packages/typescript/src/features/knowledge/index.d.ts +16 -0
- package/packages/typescript/src/features/knowledge/index.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/index.js +29 -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 +62 -0
- package/packages/typescript/src/features/knowledge/service.d.ts +76 -0
- package/packages/typescript/src/features/knowledge/service.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/service.js +511 -0
- package/packages/typescript/src/features/knowledge/types.d.ts +144 -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/utils.d.ts +17 -0
- package/packages/typescript/src/features/knowledge/utils.d.ts.map +1 -0
- package/packages/typescript/src/features/knowledge/utils.js +313 -0
- package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.d.ts +41 -0
- package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.js +443 -0
- package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.d.ts +34 -0
- package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.js +171 -0
- package/packages/typescript/src/features/orchestrator/actions/eval-metadata.d.ts +11 -0
- package/packages/typescript/src/features/orchestrator/actions/eval-metadata.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/eval-metadata.js +55 -0
- package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.d.ts +11 -0
- package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.js +214 -0
- package/packages/typescript/src/features/orchestrator/actions/list-agents.d.ts +13 -0
- package/packages/typescript/src/features/orchestrator/actions/list-agents.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/list-agents.js +174 -0
- package/packages/typescript/src/features/orchestrator/actions/manage-issues.d.ts +11 -0
- package/packages/typescript/src/features/orchestrator/actions/manage-issues.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/manage-issues.js +428 -0
- package/packages/typescript/src/features/orchestrator/actions/provision-workspace.d.ts +11 -0
- package/packages/typescript/src/features/orchestrator/actions/provision-workspace.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/provision-workspace.js +189 -0
- package/packages/typescript/src/features/orchestrator/actions/send-to-agent.d.ts +12 -0
- package/packages/typescript/src/features/orchestrator/actions/send-to-agent.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/send-to-agent.js +265 -0
- package/packages/typescript/src/features/orchestrator/actions/spawn-agent.d.ts +12 -0
- package/packages/typescript/src/features/orchestrator/actions/spawn-agent.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/spawn-agent.js +356 -0
- package/packages/typescript/src/features/orchestrator/actions/start-coding-task.d.ts +22 -0
- package/packages/typescript/src/features/orchestrator/actions/start-coding-task.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/start-coding-task.js +270 -0
- package/packages/typescript/src/features/orchestrator/actions/stop-agent.d.ts +12 -0
- package/packages/typescript/src/features/orchestrator/actions/stop-agent.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/stop-agent.js +192 -0
- package/packages/typescript/src/features/orchestrator/actions/task-control.d.ts +3 -0
- package/packages/typescript/src/features/orchestrator/actions/task-control.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/task-control.js +217 -0
- package/packages/typescript/src/features/orchestrator/actions/task-history.d.ts +3 -0
- package/packages/typescript/src/features/orchestrator/actions/task-history.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/task-history.js +323 -0
- package/packages/typescript/src/features/orchestrator/actions/task-share.d.ts +3 -0
- package/packages/typescript/src/features/orchestrator/actions/task-share.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/task-share.js +168 -0
- package/packages/typescript/src/features/orchestrator/actions/task-thread-target.d.ts +11 -0
- package/packages/typescript/src/features/orchestrator/actions/task-thread-target.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/actions/task-thread-target.js +68 -0
- package/packages/typescript/src/features/orchestrator/api/agent-routes.d.ts +18 -0
- package/packages/typescript/src/features/orchestrator/api/agent-routes.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/api/agent-routes.js +654 -0
- package/packages/typescript/src/features/orchestrator/api/coordinator-routes.d.ts +22 -0
- package/packages/typescript/src/features/orchestrator/api/coordinator-routes.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/api/coordinator-routes.js +403 -0
- package/packages/typescript/src/features/orchestrator/api/hook-routes.d.ts +18 -0
- package/packages/typescript/src/features/orchestrator/api/hook-routes.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/api/hook-routes.js +164 -0
- package/packages/typescript/src/features/orchestrator/api/issue-routes.d.ts +17 -0
- package/packages/typescript/src/features/orchestrator/api/issue-routes.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/api/issue-routes.js +132 -0
- package/packages/typescript/src/features/orchestrator/api/routes.d.ts +37 -0
- package/packages/typescript/src/features/orchestrator/api/routes.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/api/routes.js +96 -0
- package/packages/typescript/src/features/orchestrator/api/workspace-routes.d.ts +17 -0
- package/packages/typescript/src/features/orchestrator/api/workspace-routes.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/api/workspace-routes.js +149 -0
- package/packages/typescript/src/features/orchestrator/base-plugin.d.ts +19 -0
- package/packages/typescript/src/features/orchestrator/base-plugin.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/base-plugin.js +75 -0
- package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.d.ts +101 -0
- package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.js +310 -0
- package/packages/typescript/src/features/orchestrator/index.d.ts +33 -0
- package/packages/typescript/src/features/orchestrator/index.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/index.js +30 -0
- package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.d.ts +15 -0
- package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.js +1449 -0
- package/packages/typescript/src/features/orchestrator/providers/action-examples.d.ts +14 -0
- package/packages/typescript/src/features/orchestrator/providers/action-examples.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/providers/action-examples.js +151 -0
- package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.d.ts +13 -0
- package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.js +142 -0
- package/packages/typescript/src/features/orchestrator/services/agent-credentials.d.ts +6 -0
- package/packages/typescript/src/features/orchestrator/services/agent-credentials.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/agent-credentials.js +91 -0
- package/packages/typescript/src/features/orchestrator/services/agent-metrics.d.ts +30 -0
- package/packages/typescript/src/features/orchestrator/services/agent-metrics.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/agent-metrics.js +54 -0
- package/packages/typescript/src/features/orchestrator/services/agent-selection.d.ts +53 -0
- package/packages/typescript/src/features/orchestrator/services/agent-selection.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/agent-selection.js +70 -0
- package/packages/typescript/src/features/orchestrator/services/ansi-utils.d.ts +61 -0
- package/packages/typescript/src/features/orchestrator/services/ansi-utils.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/ansi-utils.js +252 -0
- package/packages/typescript/src/features/orchestrator/services/config-env.d.ts +13 -0
- package/packages/typescript/src/features/orchestrator/services/config-env.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/config-env.js +37 -0
- package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.d.ts +50 -0
- package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.js +184 -0
- package/packages/typescript/src/features/orchestrator/services/debug-capture.d.ts +38 -0
- package/packages/typescript/src/features/orchestrator/services/debug-capture.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/debug-capture.js +113 -0
- package/packages/typescript/src/features/orchestrator/services/pty-auto-response.d.ts +30 -0
- package/packages/typescript/src/features/orchestrator/services/pty-auto-response.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/pty-auto-response.js +146 -0
- package/packages/typescript/src/features/orchestrator/services/pty-init.d.ts +54 -0
- package/packages/typescript/src/features/orchestrator/services/pty-init.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/pty-init.js +315 -0
- package/packages/typescript/src/features/orchestrator/services/pty-service.d.ts +175 -0
- package/packages/typescript/src/features/orchestrator/services/pty-service.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/pty-service.js +1469 -0
- package/packages/typescript/src/features/orchestrator/services/pty-session-io.d.ts +49 -0
- package/packages/typescript/src/features/orchestrator/services/pty-session-io.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/pty-session-io.js +180 -0
- package/packages/typescript/src/features/orchestrator/services/pty-spawn.d.ts +53 -0
- package/packages/typescript/src/features/orchestrator/services/pty-spawn.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/pty-spawn.js +280 -0
- package/packages/typescript/src/features/orchestrator/services/pty-types.d.ts +80 -0
- package/packages/typescript/src/features/orchestrator/services/pty-types.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/pty-types.js +51 -0
- package/packages/typescript/src/features/orchestrator/services/repo-input.d.ts +16 -0
- package/packages/typescript/src/features/orchestrator/services/repo-input.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/repo-input.js +88 -0
- package/packages/typescript/src/features/orchestrator/services/stall-classifier.d.ts +69 -0
- package/packages/typescript/src/features/orchestrator/services/stall-classifier.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/stall-classifier.js +446 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.d.ts +97 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.js +342 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.d.ts +421 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.js +2356 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.d.ts +52 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.js +1538 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.d.ts +49 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.js +171 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-history.d.ts +27 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-history.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-history.js +148 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.d.ts +22 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.js +265 -0
- package/packages/typescript/src/features/orchestrator/services/task-acceptance.d.ts +8 -0
- package/packages/typescript/src/features/orchestrator/services/task-acceptance.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/task-acceptance.js +114 -0
- package/packages/typescript/src/features/orchestrator/services/task-agent-auth.d.ts +68 -0
- package/packages/typescript/src/features/orchestrator/services/task-agent-auth.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/task-agent-auth.js +559 -0
- package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.d.ts +82 -0
- package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.js +738 -0
- package/packages/typescript/src/features/orchestrator/services/task-kind.d.ts +3 -0
- package/packages/typescript/src/features/orchestrator/services/task-kind.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/task-kind.js +40 -0
- package/packages/typescript/src/features/orchestrator/services/task-policy.d.ts +17 -0
- package/packages/typescript/src/features/orchestrator/services/task-policy.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/task-policy.js +226 -0
- package/packages/typescript/src/features/orchestrator/services/task-registry.d.ts +550 -0
- package/packages/typescript/src/features/orchestrator/services/task-registry.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/task-registry.js +2182 -0
- package/packages/typescript/src/features/orchestrator/services/task-share.d.ts +18 -0
- package/packages/typescript/src/features/orchestrator/services/task-share.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/task-share.js +159 -0
- package/packages/typescript/src/features/orchestrator/services/task-validation.d.ts +69 -0
- package/packages/typescript/src/features/orchestrator/services/task-validation.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/task-validation.js +587 -0
- package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.d.ts +5 -0
- package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.js +372 -0
- package/packages/typescript/src/features/orchestrator/services/trajectory-context.d.ts +73 -0
- package/packages/typescript/src/features/orchestrator/services/trajectory-context.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/trajectory-context.js +64 -0
- package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.d.ts +53 -0
- package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.js +260 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.d.ts +28 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.js +105 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-github.d.ts +58 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-github.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-github.js +139 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.d.ts +18 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.js +86 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-service.d.ts +118 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-service.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-service.js +533 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-types.d.ts +81 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-types.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/services/workspace-types.js +8 -0
- package/packages/typescript/src/features/orchestrator/task-progress-streamer.d.ts +38 -0
- package/packages/typescript/src/features/orchestrator/task-progress-streamer.d.ts.map +1 -0
- package/packages/typescript/src/features/orchestrator/task-progress-streamer.js +293 -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 +65 -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 +63 -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 +232 -0
- package/packages/typescript/src/features/plugin-manager/coreExtensions.d.ts +35 -0
- package/packages/typescript/src/features/plugin-manager/coreExtensions.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/coreExtensions.js +77 -0
- package/packages/typescript/src/features/plugin-manager/index.d.ts +25 -0
- package/packages/typescript/src/features/plugin-manager/index.d.ts.map +1 -0
- package/packages/typescript/src/features/plugin-manager/index.js +53 -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 +226 -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 +479 -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 +1007 -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 +402 -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 +278 -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 +105 -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 +223 -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/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 +337 -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/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/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/trajectories/TrajectoriesService.d.ts +275 -0
- package/packages/typescript/src/features/trajectories/TrajectoriesService.d.ts.map +1 -0
- package/packages/typescript/src/features/trajectories/TrajectoriesService.js +1401 -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 +253 -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 +243 -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 +225 -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 +189 -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 +165 -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 +295 -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 +603 -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 +290 -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 +72 -0
- package/packages/typescript/src/features/trust/index.d.ts.map +1 -0
- package/packages/typescript/src/features/trust/index.js +213 -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 +212 -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/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 +2470 -0
- package/packages/typescript/src/generated/action-docs.d.ts.map +1 -0
- package/packages/typescript/src/generated/action-docs.js +3549 -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 +1032 -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 +1032 -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/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 +78 -0
- package/packages/typescript/src/index.node.d.ts.map +1 -0
- package/packages/typescript/src/index.node.js +106 -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 +1023 -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/plugin-lifecycle.d.ts +16 -0
- package/packages/typescript/src/plugin-lifecycle.d.ts.map +1 -0
- package/packages/typescript/src/plugin-lifecycle.js +551 -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 +334 -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 +14 -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 +88 -0
- package/packages/typescript/src/prompts.d.ts.map +1 -0
- package/packages/typescript/src/prompts.js +1123 -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 +877 -0
- package/packages/typescript/src/runtime.d.ts.map +1 -0
- package/packages/typescript/src/runtime.js +5277 -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.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 +75 -0
- package/packages/typescript/src/schemas/index.d.ts.map +1 -0
- package/packages/typescript/src/schemas/index.js +74 -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 +381 -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 +252 -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 +93 -0
- package/packages/typescript/src/services/message.d.ts.map +1 -0
- package/packages/typescript/src/services/message.js +3131 -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/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 +163 -0
- package/packages/typescript/src/services/relationships.d.ts +125 -0
- package/packages/typescript/src/services/relationships.d.ts.map +1 -0
- package/packages/typescript/src/services/relationships.js +637 -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 +130 -0
- package/packages/typescript/src/services/task.d.ts.map +1 -0
- package/packages/typescript/src/services/task.js +536 -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 +25 -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 +396 -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 +79 -0
- package/packages/typescript/src/streaming-context.d.ts.map +1 -0
- package/packages/typescript/src/streaming-context.js +115 -0
- package/packages/typescript/src/trajectory-context.d.ts +26 -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 +49 -0
- package/packages/typescript/src/trajectory-utils.d.ts.map +1 -0
- package/packages/typescript/src/trajectory-utils.js +105 -0
- package/packages/typescript/src/types/agent.d.ts +62 -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 +346 -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 +386 -0
- package/packages/typescript/src/types/events.d.ts.map +1 -0
- package/packages/typescript/src/types/events.js +83 -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 +38 -0
- package/packages/typescript/src/types/index.d.ts.map +1 -0
- package/packages/typescript/src/types/index.js +46 -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 +438 -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 +169 -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 +45 -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/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 +325 -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/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 +394 -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 +173 -0
- package/packages/typescript/src/types/service.d.ts.map +1 -0
- package/packages/typescript/src/types/service.js +78 -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 +380 -0
- package/packages/typescript/src/types/trigger.d.ts +38 -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/batch-queue/batch-processor.d.ts +53 -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 +129 -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 +126 -0
- package/packages/typescript/src/utils/context-routing.d.ts +25 -0
- package/packages/typescript/src/utils/context-routing.d.ts.map +1 -0
- package/packages/typescript/src/utils/context-routing.js +160 -0
- package/packages/typescript/src/utils/crypto-compat.d.ts +83 -0
- package/packages/typescript/src/utils/crypto-compat.d.ts.map +1 -0
- package/packages/typescript/src/utils/crypto-compat.js +368 -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 +32 -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/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/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 +325 -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.d.ts +190 -0
- package/packages/typescript/src/utils.d.ts.map +1 -0
- package/packages/typescript/src/utils.js +1115 -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/jest.config.js +0 -17
- package/src/__tests__/client-type-identification.test.ts +0 -59
- package/src/defaultCharacter.ts +0 -530
- package/src/index.ts +0 -911
- package/tsconfig.json +0 -16
|
@@ -0,0 +1,1734 @@
|
|
|
1
|
+
import { ModelType, parseJSONObjectFromText, parseKeyValueXml, } from "@elizaos/core";
|
|
2
|
+
import { resolveDefaultTimeZone } from "../lifeops/defaults.js";
|
|
3
|
+
import { LifeOpsService, LifeOpsServiceError } from "../lifeops/service.js";
|
|
4
|
+
import { hasContextSignalForKey } from "@elizaos/agent/actions/context-signal";
|
|
5
|
+
import { extractActionResultsFromState, extractRecentMessageEntriesFromState, extractStateDataRecords, renderGroundedActionReply, summarizeActiveTrajectory, summarizeRecentActionHistory, } from "@elizaos/agent/actions/grounded-action-reply";
|
|
6
|
+
import { recentConversationTexts as collectRecentConversationTexts } from "./life-recent-context.js";
|
|
7
|
+
import { detailArray, detailBoolean, detailNumber, detailString, formatEmailNeedsResponse, formatEmailRead, formatEmailSearch, formatEmailTriage, formatGmailBatchReplyDrafts, formatGmailReplyDraft, getGoogleCapabilityStatus, gmailReadUnavailableMessage, gmailSendUnavailableMessage, hasLifeOpsAccess, INTERNAL_URL, messageText, toActionData, } from "./lifeops-google-helpers.js";
|
|
8
|
+
const GMAIL_CONTEXT_WINDOW = 12;
|
|
9
|
+
const GMAIL_DETAIL_ALIASES = {
|
|
10
|
+
forceSync: ["forcesync", "force_sync"],
|
|
11
|
+
maxResults: ["maxresults", "max_results"],
|
|
12
|
+
replyNeededOnly: ["replyneededonly", "reply_needed_only"],
|
|
13
|
+
messageIds: ["messageids", "message_ids"],
|
|
14
|
+
};
|
|
15
|
+
async function collectGmailConversationContext(args) {
|
|
16
|
+
const recentConversation = await collectRecentConversationTexts({
|
|
17
|
+
runtime: args.runtime,
|
|
18
|
+
message: args.message,
|
|
19
|
+
state: args.state,
|
|
20
|
+
limit: GMAIL_CONTEXT_WINDOW,
|
|
21
|
+
});
|
|
22
|
+
const currentMessage = messageText(args.message).trim();
|
|
23
|
+
const combined = [...recentConversation];
|
|
24
|
+
if (currentMessage.length > 0) {
|
|
25
|
+
combined.push(currentMessage);
|
|
26
|
+
}
|
|
27
|
+
return combined.slice(-GMAIL_CONTEXT_WINDOW);
|
|
28
|
+
}
|
|
29
|
+
async function buildGmailDraftGenerationContext(args) {
|
|
30
|
+
const [conversationContext, trajectorySummary] = await Promise.all([
|
|
31
|
+
collectGmailConversationContext(args),
|
|
32
|
+
summarizeActiveTrajectory(args.runtime),
|
|
33
|
+
]);
|
|
34
|
+
return {
|
|
35
|
+
conversationContext,
|
|
36
|
+
actionHistory: summarizeRecentActionHistory(args.state, 4),
|
|
37
|
+
trajectorySummary,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function normalizeGmailSubaction(value) {
|
|
41
|
+
if (typeof value !== "string") {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
const normalized = value.trim().toLowerCase();
|
|
45
|
+
switch (normalized) {
|
|
46
|
+
case "triage":
|
|
47
|
+
case "needs_response":
|
|
48
|
+
case "search":
|
|
49
|
+
case "read":
|
|
50
|
+
case "draft_reply":
|
|
51
|
+
case "draft_batch_replies":
|
|
52
|
+
case "send_reply":
|
|
53
|
+
case "send_batch_replies":
|
|
54
|
+
case "send_message":
|
|
55
|
+
return normalized;
|
|
56
|
+
default:
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function normalizeShouldAct(value) {
|
|
61
|
+
if (typeof value === "boolean") {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
if (typeof value === "string") {
|
|
65
|
+
const normalized = value.trim().toLowerCase();
|
|
66
|
+
if (normalized === "true") {
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
69
|
+
if (normalized === "false") {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return null;
|
|
74
|
+
}
|
|
75
|
+
function normalizePlannerResponse(value) {
|
|
76
|
+
if (typeof value !== "string") {
|
|
77
|
+
return undefined;
|
|
78
|
+
}
|
|
79
|
+
const trimmed = value.trim();
|
|
80
|
+
return trimmed.length > 0 ? trimmed : undefined;
|
|
81
|
+
}
|
|
82
|
+
function normalizePlannerString(value) {
|
|
83
|
+
if (typeof value !== "string") {
|
|
84
|
+
return undefined;
|
|
85
|
+
}
|
|
86
|
+
const trimmed = value.trim();
|
|
87
|
+
return trimmed.length > 0 ? trimmed : undefined;
|
|
88
|
+
}
|
|
89
|
+
function splitLooseListString(value) {
|
|
90
|
+
const parts = [];
|
|
91
|
+
let current = "";
|
|
92
|
+
let inQuotes = false;
|
|
93
|
+
let angleDepth = 0;
|
|
94
|
+
for (let index = 0; index < value.length; index += 1) {
|
|
95
|
+
const char = value[index];
|
|
96
|
+
const next = value[index + 1];
|
|
97
|
+
if (char === '"') {
|
|
98
|
+
inQuotes = !inQuotes;
|
|
99
|
+
current += char;
|
|
100
|
+
continue;
|
|
101
|
+
}
|
|
102
|
+
if (!inQuotes && char === "<") {
|
|
103
|
+
angleDepth += 1;
|
|
104
|
+
current += char;
|
|
105
|
+
continue;
|
|
106
|
+
}
|
|
107
|
+
if (!inQuotes && char === ">") {
|
|
108
|
+
angleDepth = Math.max(0, angleDepth - 1);
|
|
109
|
+
current += char;
|
|
110
|
+
continue;
|
|
111
|
+
}
|
|
112
|
+
if (!inQuotes && angleDepth === 0 && char === "|" && next === "|") {
|
|
113
|
+
const trimmed = current.trim();
|
|
114
|
+
if (trimmed.length > 0) {
|
|
115
|
+
parts.push(trimmed);
|
|
116
|
+
}
|
|
117
|
+
current = "";
|
|
118
|
+
index += 1;
|
|
119
|
+
continue;
|
|
120
|
+
}
|
|
121
|
+
if (!inQuotes &&
|
|
122
|
+
angleDepth === 0 &&
|
|
123
|
+
(char === "," || char === ";" || char === "\n")) {
|
|
124
|
+
const trimmed = current.trim();
|
|
125
|
+
if (trimmed.length > 0) {
|
|
126
|
+
parts.push(trimmed);
|
|
127
|
+
}
|
|
128
|
+
current = "";
|
|
129
|
+
continue;
|
|
130
|
+
}
|
|
131
|
+
current += char;
|
|
132
|
+
}
|
|
133
|
+
const trimmed = current.trim();
|
|
134
|
+
if (trimmed.length > 0) {
|
|
135
|
+
parts.push(trimmed);
|
|
136
|
+
}
|
|
137
|
+
return parts;
|
|
138
|
+
}
|
|
139
|
+
function normalizePlannerStringArray(value) {
|
|
140
|
+
if (Array.isArray(value)) {
|
|
141
|
+
return dedupeQueries(value.flatMap((item) => typeof item === "string" ? splitLooseListString(item) : []));
|
|
142
|
+
}
|
|
143
|
+
if (typeof value === "string") {
|
|
144
|
+
return dedupeQueries(splitLooseListString(value));
|
|
145
|
+
}
|
|
146
|
+
return undefined;
|
|
147
|
+
}
|
|
148
|
+
function normalizeQueryStringArray(value) {
|
|
149
|
+
if (Array.isArray(value)) {
|
|
150
|
+
return dedupeQueries(value.map((item) => (typeof item === "string" ? item.trim() : "")));
|
|
151
|
+
}
|
|
152
|
+
if (typeof value === "string") {
|
|
153
|
+
return dedupeQueries(value.split(/\s*\|\|\s*/).map((item) => item.trim()));
|
|
154
|
+
}
|
|
155
|
+
return undefined;
|
|
156
|
+
}
|
|
157
|
+
function buildGmailReplyOnlyFallback(subaction) {
|
|
158
|
+
switch (subaction) {
|
|
159
|
+
case "search":
|
|
160
|
+
return "What email do you want me to search for?";
|
|
161
|
+
case "read":
|
|
162
|
+
return "Which email do you want me to read?";
|
|
163
|
+
case "draft_reply":
|
|
164
|
+
case "draft_batch_replies":
|
|
165
|
+
return "Which email do you want me to draft a reply for?";
|
|
166
|
+
case "send_reply":
|
|
167
|
+
case "send_batch_replies":
|
|
168
|
+
case "send_message":
|
|
169
|
+
return "What exactly do you want me to send in Gmail?";
|
|
170
|
+
case "needs_response":
|
|
171
|
+
return "Do you want emails that need a reply, or something else in Gmail?";
|
|
172
|
+
default:
|
|
173
|
+
return "What do you want to do in Gmail — check inbox, search, read, or draft a reply?";
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
function looksLikeReplyDraftRewriteFollowup(text) {
|
|
177
|
+
const normalized = normalizeText(text);
|
|
178
|
+
if (!normalized) {
|
|
179
|
+
return false;
|
|
180
|
+
}
|
|
181
|
+
if (/\b(search|find|look for|read|open|show me|check (?:my )?inbox|who emailed)\b/.test(normalized)) {
|
|
182
|
+
return false;
|
|
183
|
+
}
|
|
184
|
+
return (/\b(rewrite|edit|revise|change|update|adjust|redo|rework)\b/.test(normalized) ||
|
|
185
|
+
/\b(make it|have it|say that|say i'm|say im|say i am|say he's|say hes|mention|instead|actually|we need to)\b/.test(normalized) ||
|
|
186
|
+
/\b(let (?:him|her|them) know|tell (?:him|her|them))\b/.test(normalized));
|
|
187
|
+
}
|
|
188
|
+
function looksLikeSendReplyFollowup(text) {
|
|
189
|
+
const normalized = normalizeText(text);
|
|
190
|
+
if (!normalized) {
|
|
191
|
+
return false;
|
|
192
|
+
}
|
|
193
|
+
return (/\b(send (?:it|that|the reply|the draft|that reply|that draft))\b/.test(normalized) ||
|
|
194
|
+
/\bemail (?:it|that|them back now)\b/.test(normalized) ||
|
|
195
|
+
/^\s*send now\b/.test(normalized));
|
|
196
|
+
}
|
|
197
|
+
function buildGmailServiceErrorFallback(error) {
|
|
198
|
+
const normalized = normalizeText(error.message);
|
|
199
|
+
if (error.status === 429 || normalized.includes("rate limit")) {
|
|
200
|
+
return "Gmail is rate-limited right now. Try again in a bit.";
|
|
201
|
+
}
|
|
202
|
+
if (normalized.includes("multiple gmail messages matched") ||
|
|
203
|
+
(error.status === 409 &&
|
|
204
|
+
normalized.includes("narrow the query") &&
|
|
205
|
+
normalized.includes("message"))) {
|
|
206
|
+
return "I found more than one matching email. Tell me the sender, subject, or message id.";
|
|
207
|
+
}
|
|
208
|
+
if (normalized.includes("not found")) {
|
|
209
|
+
return "I couldn't find that email. Tell me who it was from or what the subject looked like.";
|
|
210
|
+
}
|
|
211
|
+
if (normalized.includes("missing") &&
|
|
212
|
+
(normalized.includes("message") || normalized.includes("body"))) {
|
|
213
|
+
return "I still need the exact message or the reply text to finish that Gmail action.";
|
|
214
|
+
}
|
|
215
|
+
return "I couldn't finish that Gmail action yet. Tell me what message you want and what you want me to do with it.";
|
|
216
|
+
}
|
|
217
|
+
function buildGmailTargetDisambiguationFallback(feed) {
|
|
218
|
+
return `${formatEmailSearch(feed)}\nTell me which email you mean by sender, subject, or message id.`;
|
|
219
|
+
}
|
|
220
|
+
function shouldUseCanonicalGmailReplyFallback(scenario) {
|
|
221
|
+
return (scenario === "access_denied" ||
|
|
222
|
+
scenario === "gmail_read_unavailable" ||
|
|
223
|
+
scenario === "gmail_send_unavailable");
|
|
224
|
+
}
|
|
225
|
+
async function renderGmailActionReply(args) {
|
|
226
|
+
const { runtime, message, state, intent, scenario, fallback, context } = args;
|
|
227
|
+
if (shouldUseCanonicalGmailReplyFallback(scenario)) {
|
|
228
|
+
return fallback;
|
|
229
|
+
}
|
|
230
|
+
return renderGroundedActionReply({
|
|
231
|
+
runtime,
|
|
232
|
+
message,
|
|
233
|
+
state,
|
|
234
|
+
intent,
|
|
235
|
+
domain: "gmail",
|
|
236
|
+
scenario,
|
|
237
|
+
fallback,
|
|
238
|
+
context,
|
|
239
|
+
preferCharacterVoice: true,
|
|
240
|
+
additionalRules: [
|
|
241
|
+
"Mirror the user's wording for time windows, urgency, and reply intent when possible.",
|
|
242
|
+
"Preserve all concrete email facts from the context and canonical fallback.",
|
|
243
|
+
"If this is reply-only or a clarification, do not pretend you already searched, drafted, or sent something.",
|
|
244
|
+
],
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
function normalizeText(value) {
|
|
248
|
+
return value.trim().toLowerCase().replace(/\s+/g, " ");
|
|
249
|
+
}
|
|
250
|
+
function normalizeLookupKey(value) {
|
|
251
|
+
return value.toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
252
|
+
}
|
|
253
|
+
function dedupeQueries(values) {
|
|
254
|
+
const queries = [];
|
|
255
|
+
const seen = new Set();
|
|
256
|
+
for (const value of values) {
|
|
257
|
+
const query = typeof value === "string" ? value.trim().replace(/\s+/g, " ") : "";
|
|
258
|
+
if (!query) {
|
|
259
|
+
continue;
|
|
260
|
+
}
|
|
261
|
+
const key = query.toLowerCase();
|
|
262
|
+
if (seen.has(key)) {
|
|
263
|
+
continue;
|
|
264
|
+
}
|
|
265
|
+
seen.add(key);
|
|
266
|
+
queries.push(query);
|
|
267
|
+
}
|
|
268
|
+
return queries;
|
|
269
|
+
}
|
|
270
|
+
function normalizeGmailDetails(details) {
|
|
271
|
+
if (!details) {
|
|
272
|
+
return undefined;
|
|
273
|
+
}
|
|
274
|
+
const normalized = { ...details };
|
|
275
|
+
const aliasMap = new Map();
|
|
276
|
+
for (const [canonical, aliases] of Object.entries(GMAIL_DETAIL_ALIASES)) {
|
|
277
|
+
aliasMap.set(normalizeLookupKey(canonical), canonical);
|
|
278
|
+
for (const alias of aliases) {
|
|
279
|
+
aliasMap.set(normalizeLookupKey(alias), canonical);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
for (const [key, value] of Object.entries(details)) {
|
|
283
|
+
const canonical = aliasMap.get(normalizeLookupKey(key));
|
|
284
|
+
if (!canonical) {
|
|
285
|
+
continue;
|
|
286
|
+
}
|
|
287
|
+
if (normalized[canonical] === undefined) {
|
|
288
|
+
normalized[canonical] = value;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
return normalized;
|
|
292
|
+
}
|
|
293
|
+
function normalizeStringArray(value) {
|
|
294
|
+
const normalized = Array.isArray(value)
|
|
295
|
+
? value.flatMap((item) => typeof item === "string" ? splitLooseListString(item) : [])
|
|
296
|
+
: typeof value === "string"
|
|
297
|
+
? splitLooseListString(value)
|
|
298
|
+
: [];
|
|
299
|
+
return normalized.length > 0 ? normalized : undefined;
|
|
300
|
+
}
|
|
301
|
+
function normalizeOptionalBoolean(value) {
|
|
302
|
+
return typeof value === "boolean" ? value : undefined;
|
|
303
|
+
}
|
|
304
|
+
function coerceGmailComposeDraft(value) {
|
|
305
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
306
|
+
return null;
|
|
307
|
+
}
|
|
308
|
+
const record = value;
|
|
309
|
+
if (record.subaction !== "send_message") {
|
|
310
|
+
return null;
|
|
311
|
+
}
|
|
312
|
+
const status = record.status === "sent" || record.status === "pending_clarification"
|
|
313
|
+
? record.status
|
|
314
|
+
: null;
|
|
315
|
+
if (!status) {
|
|
316
|
+
return null;
|
|
317
|
+
}
|
|
318
|
+
return {
|
|
319
|
+
subaction: "send_message",
|
|
320
|
+
status,
|
|
321
|
+
intent: normalizePlannerString(record.intent),
|
|
322
|
+
to: normalizePlannerStringArray(record.to),
|
|
323
|
+
cc: normalizePlannerStringArray(record.cc),
|
|
324
|
+
bcc: normalizePlannerStringArray(record.bcc),
|
|
325
|
+
subject: normalizePlannerString(record.subject),
|
|
326
|
+
bodyText: normalizePlannerString(record.bodyText),
|
|
327
|
+
updatedAt: normalizePlannerString(record.updatedAt),
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
function buildGmailComposeDraft(args) {
|
|
331
|
+
return {
|
|
332
|
+
subaction: "send_message",
|
|
333
|
+
status: args.status,
|
|
334
|
+
intent: args.intent,
|
|
335
|
+
to: args.to,
|
|
336
|
+
cc: args.cc,
|
|
337
|
+
bcc: args.bcc,
|
|
338
|
+
subject: args.subject,
|
|
339
|
+
bodyText: args.bodyText,
|
|
340
|
+
updatedAt: new Date().toISOString(),
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
function composeDraftFromActionResult(result) {
|
|
344
|
+
if (!result?.data || typeof result.data !== "object") {
|
|
345
|
+
return null;
|
|
346
|
+
}
|
|
347
|
+
return coerceGmailComposeDraft(result.data.gmailDraft);
|
|
348
|
+
}
|
|
349
|
+
function coerceGmailReplyDraftContext(value) {
|
|
350
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
351
|
+
return null;
|
|
352
|
+
}
|
|
353
|
+
const record = value;
|
|
354
|
+
const messageId = normalizePlannerString(record.messageId);
|
|
355
|
+
const bodyText = normalizePlannerString(record.bodyText ?? record.body);
|
|
356
|
+
if (!messageId || !bodyText) {
|
|
357
|
+
return null;
|
|
358
|
+
}
|
|
359
|
+
return {
|
|
360
|
+
messageId,
|
|
361
|
+
bodyText,
|
|
362
|
+
subject: normalizePlannerString(record.subject),
|
|
363
|
+
to: normalizePlannerStringArray(record.to),
|
|
364
|
+
cc: normalizePlannerStringArray(record.cc),
|
|
365
|
+
};
|
|
366
|
+
}
|
|
367
|
+
function coerceGmailMessageTargetContext(value) {
|
|
368
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
369
|
+
return null;
|
|
370
|
+
}
|
|
371
|
+
const record = value;
|
|
372
|
+
const messageId = normalizePlannerString(record.id ?? record.messageId);
|
|
373
|
+
if (!messageId) {
|
|
374
|
+
return null;
|
|
375
|
+
}
|
|
376
|
+
return {
|
|
377
|
+
messageId,
|
|
378
|
+
subject: normalizePlannerString(record.subject),
|
|
379
|
+
from: normalizePlannerString(record.from),
|
|
380
|
+
query: normalizePlannerString(record.query),
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
function gmailStateDataRecords(state) {
|
|
384
|
+
return extractStateDataRecords(state);
|
|
385
|
+
}
|
|
386
|
+
function latestGmailReplyDraftContext(state) {
|
|
387
|
+
const records = gmailStateDataRecords(state);
|
|
388
|
+
for (const record of records.reverse()) {
|
|
389
|
+
const directDraft = coerceGmailReplyDraftContext(record.gmailDraft) ??
|
|
390
|
+
coerceGmailReplyDraftContext(record.draft) ??
|
|
391
|
+
coerceGmailReplyDraftContext(record);
|
|
392
|
+
if (directDraft) {
|
|
393
|
+
return directDraft;
|
|
394
|
+
}
|
|
395
|
+
if (Array.isArray(record.drafts)) {
|
|
396
|
+
for (const candidate of [...record.drafts].reverse()) {
|
|
397
|
+
const draft = coerceGmailReplyDraftContext(candidate);
|
|
398
|
+
if (draft) {
|
|
399
|
+
return draft;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
return null;
|
|
405
|
+
}
|
|
406
|
+
function latestGmailBatchReplyDraftItems(state) {
|
|
407
|
+
const records = gmailStateDataRecords(state);
|
|
408
|
+
for (const record of records.reverse()) {
|
|
409
|
+
const drafts = Array.isArray(record.drafts)
|
|
410
|
+
? record.drafts
|
|
411
|
+
.map((draft) => coerceGmailReplyDraftContext(draft))
|
|
412
|
+
.filter((draft) => draft !== null)
|
|
413
|
+
: [];
|
|
414
|
+
if (drafts.length === 0) {
|
|
415
|
+
continue;
|
|
416
|
+
}
|
|
417
|
+
return drafts.map((draft) => ({
|
|
418
|
+
messageId: draft.messageId,
|
|
419
|
+
bodyText: draft.bodyText,
|
|
420
|
+
subject: draft.subject,
|
|
421
|
+
to: draft.to,
|
|
422
|
+
cc: draft.cc,
|
|
423
|
+
}));
|
|
424
|
+
}
|
|
425
|
+
return undefined;
|
|
426
|
+
}
|
|
427
|
+
function latestGmailMessageTargetContext(state) {
|
|
428
|
+
const records = gmailStateDataRecords(state);
|
|
429
|
+
for (const record of records.reverse()) {
|
|
430
|
+
const directTarget = coerceGmailMessageTargetContext(record.message) ??
|
|
431
|
+
coerceGmailMessageTargetContext(record.gmailMessage) ??
|
|
432
|
+
coerceGmailMessageTargetContext(record);
|
|
433
|
+
if (directTarget) {
|
|
434
|
+
return directTarget;
|
|
435
|
+
}
|
|
436
|
+
if (Array.isArray(record.messages)) {
|
|
437
|
+
for (const candidate of record.messages) {
|
|
438
|
+
const message = coerceGmailMessageTargetContext(candidate);
|
|
439
|
+
if (message) {
|
|
440
|
+
return {
|
|
441
|
+
...message,
|
|
442
|
+
query: message.query ?? normalizePlannerString(record.query),
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
return null;
|
|
449
|
+
}
|
|
450
|
+
function gmailComposeDraftFromMessageEntry(entry) {
|
|
451
|
+
const content = entry.content && typeof entry.content === "object"
|
|
452
|
+
? entry.content
|
|
453
|
+
: null;
|
|
454
|
+
if (!content) {
|
|
455
|
+
return null;
|
|
456
|
+
}
|
|
457
|
+
return (coerceGmailComposeDraft(content.gmailDraft) ??
|
|
458
|
+
coerceGmailComposeDraft(content.data && typeof content.data === "object"
|
|
459
|
+
? content.data.gmailDraft
|
|
460
|
+
: undefined));
|
|
461
|
+
}
|
|
462
|
+
function latestGmailComposeDraft(state, statuses) {
|
|
463
|
+
const drafts = [];
|
|
464
|
+
for (const result of extractActionResultsFromState(state)) {
|
|
465
|
+
const draft = composeDraftFromActionResult(result);
|
|
466
|
+
if (draft) {
|
|
467
|
+
drafts.push(draft);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
for (const entry of extractRecentMessageEntriesFromState(state)) {
|
|
471
|
+
const draft = gmailComposeDraftFromMessageEntry(entry);
|
|
472
|
+
if (draft) {
|
|
473
|
+
drafts.push(draft);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
const allowed = new Set(statuses);
|
|
477
|
+
for (const draft of drafts.reverse()) {
|
|
478
|
+
if (allowed.has(draft.status)) {
|
|
479
|
+
return draft;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
return null;
|
|
483
|
+
}
|
|
484
|
+
function mergePlannerArray(primary, fallback) {
|
|
485
|
+
if (primary && primary.length > 0) {
|
|
486
|
+
return primary;
|
|
487
|
+
}
|
|
488
|
+
return fallback && fallback.length > 0 ? fallback : undefined;
|
|
489
|
+
}
|
|
490
|
+
function mergeComposeDrafts(...drafts) {
|
|
491
|
+
let to;
|
|
492
|
+
let cc;
|
|
493
|
+
let bcc;
|
|
494
|
+
let subject;
|
|
495
|
+
let bodyText;
|
|
496
|
+
let intent;
|
|
497
|
+
let status = "pending_clarification";
|
|
498
|
+
for (const draft of drafts) {
|
|
499
|
+
if (!draft) {
|
|
500
|
+
continue;
|
|
501
|
+
}
|
|
502
|
+
to = mergePlannerArray(draft.to, to);
|
|
503
|
+
cc = mergePlannerArray(draft.cc, cc);
|
|
504
|
+
bcc = mergePlannerArray(draft.bcc, bcc);
|
|
505
|
+
subject =
|
|
506
|
+
normalizePlannerString(draft.subject) ?? normalizePlannerString(subject);
|
|
507
|
+
bodyText =
|
|
508
|
+
normalizePlannerString(draft.bodyText) ??
|
|
509
|
+
normalizePlannerString(bodyText);
|
|
510
|
+
if ("intent" in draft) {
|
|
511
|
+
intent =
|
|
512
|
+
normalizePlannerString(draft.intent) ??
|
|
513
|
+
intent;
|
|
514
|
+
}
|
|
515
|
+
if ("status" in draft) {
|
|
516
|
+
const candidate = draft.status;
|
|
517
|
+
if (candidate === "pending_clarification" || candidate === "sent") {
|
|
518
|
+
status = candidate;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
return buildGmailComposeDraft({
|
|
523
|
+
status,
|
|
524
|
+
intent,
|
|
525
|
+
to,
|
|
526
|
+
cc,
|
|
527
|
+
bcc,
|
|
528
|
+
subject,
|
|
529
|
+
bodyText,
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
export async function extractGmailPlanWithLlm(runtime, message, state, intent, activeComposeDraft) {
|
|
533
|
+
const recentConversation = (await collectGmailConversationContext({ runtime, message, state })).join("\n");
|
|
534
|
+
const latestReplyDraft = latestGmailReplyDraftContext(state);
|
|
535
|
+
const latestMessageTarget = latestGmailMessageTargetContext(state);
|
|
536
|
+
const currentMessage = messageText(message).trim();
|
|
537
|
+
const timeZone = resolveDefaultTimeZone();
|
|
538
|
+
const now = new Date();
|
|
539
|
+
const nowIso = now.toISOString();
|
|
540
|
+
const localNow = new Intl.DateTimeFormat(undefined, {
|
|
541
|
+
timeZone,
|
|
542
|
+
year: "numeric",
|
|
543
|
+
month: "2-digit",
|
|
544
|
+
day: "2-digit",
|
|
545
|
+
hour: "2-digit",
|
|
546
|
+
minute: "2-digit",
|
|
547
|
+
second: "2-digit",
|
|
548
|
+
hour12: false,
|
|
549
|
+
}).format(now);
|
|
550
|
+
const prompt = [
|
|
551
|
+
"Plan the Gmail action for this request.",
|
|
552
|
+
"The user may speak in any language.",
|
|
553
|
+
"Use the current request plus recent conversation context.",
|
|
554
|
+
"If the current request is vague or a follow-up, recover the subject from recent conversation and apply the new constraint from the current request.",
|
|
555
|
+
"You are allowed to decide that the assistant should reply naturally without acting yet.",
|
|
556
|
+
"Set shouldAct=false when the user is vague, only acknowledging, brainstorming, or asking for email help without enough specifics to safely act.",
|
|
557
|
+
"When shouldAct=false, provide a short natural response that asks only for what is missing.",
|
|
558
|
+
"When shouldAct=false, write that response in the user's language unless they clearly asked to switch languages.",
|
|
559
|
+
"For clear reply-workflow commands like 'draft a reply to John's email' or 'send that reply now', still choose the intent-level subaction even if the exact Gmail message id is not known yet. Downstream Gmail logic can clarify the target email.",
|
|
560
|
+
"",
|
|
561
|
+
"Return a JSON object with exactly these fields:",
|
|
562
|
+
" subaction: one of the allowed subactions below, or null when this should be reply-only/no-op",
|
|
563
|
+
" shouldAct: boolean",
|
|
564
|
+
" response: short natural-language reply when shouldAct is false, otherwise empty or null",
|
|
565
|
+
" queries: array or ||-delimited string of up to 3 Gmail search queries",
|
|
566
|
+
" messageId: optional Gmail message id",
|
|
567
|
+
" replyNeededOnly: optional boolean",
|
|
568
|
+
" to: optional array of recipient email addresses when subaction is send_message",
|
|
569
|
+
" cc: optional array of cc email addresses when subaction is send_message",
|
|
570
|
+
" bcc: optional array of bcc email addresses when subaction is send_message",
|
|
571
|
+
" subject: optional subject line when subaction is send_message",
|
|
572
|
+
" bodyText: optional email body when subaction is send_message",
|
|
573
|
+
"",
|
|
574
|
+
"Subactions and when to use each:",
|
|
575
|
+
" triage — general inbox overview, unread count, email summary (e.g. 'check my inbox', 'any new emails')",
|
|
576
|
+
" needs_response — specifically about emails that need a reply (e.g. 'which emails need a response', 'any reply-needed emails')",
|
|
577
|
+
" search — find emails by sender, subject, keyword, date, label (e.g. 'emails from John', 'who emailed me today', 'find the invoice email')",
|
|
578
|
+
" read — read a specific email body by message ID (e.g. 'read that email', 'show me the full message')",
|
|
579
|
+
" draft_reply — compose a reply to a specific email (e.g. 'draft a reply to John', 'write a response to that email')",
|
|
580
|
+
" draft_batch_replies — compose replies to multiple emails at once (e.g. 'draft replies to all of those', 'respond to each one')",
|
|
581
|
+
" send_reply — send a confirmed reply to an email (e.g. 'send that reply', 'email them back now')",
|
|
582
|
+
" send_batch_replies — send confirmed replies to multiple emails (e.g. 'send all those replies')",
|
|
583
|
+
" send_message — compose and send a brand-new outbound email (e.g. 'send an email to zo@iqlabs.dev, subject hello, body how are you doing today?')",
|
|
584
|
+
"",
|
|
585
|
+
"For search or read, extract up to 3 short Gmail-compatible queries using Gmail search operators.",
|
|
586
|
+
"For draft_reply, send_reply, and draft_batch_replies, also extract Gmail-compatible queries whenever the target email is described by sender, subject, keyword, or timeframe but no explicit Gmail message id is known.",
|
|
587
|
+
"Return Gmail operators in Gmail syntax even if the user speaks another language, and preserve names, addresses, and subject keywords in their original language or script when useful.",
|
|
588
|
+
"For send_message, preserve the exact recipient addresses and keep the user's intended subject/body wording as close as possible.",
|
|
589
|
+
"When the user writes in another language, still infer the correct Gmail action and keep extracted subject/body wording in that language unless the user asked to translate.",
|
|
590
|
+
"",
|
|
591
|
+
"Gmail search operators — complete reference:",
|
|
592
|
+
" Sender/recipient: from:name to:name cc:name bcc:name deliveredto:alias@example.com",
|
|
593
|
+
' Content: subject:word "exact phrase" has:attachment filename:report.pdf has:drive has:document has:spreadsheet has:presentation has:youtube',
|
|
594
|
+
" Status: is:unread is:read is:starred is:important is:snoozed",
|
|
595
|
+
" Location: in:inbox in:sent in:draft in:trash in:spam in:anywhere label:work category:primary category:social category:promotions category:updates category:forums",
|
|
596
|
+
" Date/time: newer_than:7d older_than:30d after:2025/01/01 before:2025/12/31",
|
|
597
|
+
" Size: size:5m larger:10m smaller:1m larger_than:500k smaller_than:2m",
|
|
598
|
+
" Special: from:me list:info@mailinglist.com",
|
|
599
|
+
" Negation: -from:name -subject:word -label:work -is:unread (prefix any operator with - to exclude)",
|
|
600
|
+
" Boolean: {term1 term2} for OR. Combine operators: from:suran is:unread newer_than:21d",
|
|
601
|
+
" Proximity: AROUND (not widely supported but available)",
|
|
602
|
+
"",
|
|
603
|
+
"Preserve sender names, email addresses, subject keywords, unread/starred/important status, attachment mentions, and time windows.",
|
|
604
|
+
"Use the current local datetime to convert relative time references like today, yesterday, this week, and this month into Gmail-compatible operators.",
|
|
605
|
+
"Set replyNeededOnly to true only when the request is specifically about emails that need a reply.",
|
|
606
|
+
"",
|
|
607
|
+
"Examples:",
|
|
608
|
+
' "who emailed me today" → {"subaction":"search","shouldAct":true,"response":null,"queries":["newer_than:1d"]}',
|
|
609
|
+
' "did suran email me" → {"subaction":"search","shouldAct":true,"response":null,"queries":["from:suran"]}',
|
|
610
|
+
' "draft a reply to John" → {"subaction":"draft_reply","shouldAct":true,"response":null,"queries":["from:john"]}',
|
|
611
|
+
' "draft a reply to John\'s email" → {"subaction":"draft_reply","shouldAct":true,"response":null,"queries":["from:john"]}',
|
|
612
|
+
' "what about unread ones?" with recent context about a Suran email search → {"subaction":"search","shouldAct":true,"response":null,"queries":["from:suran is:unread"]}',
|
|
613
|
+
' "rewrite that reply to say I\'m in San Francisco, not NYC" with recent context about an existing Suran draft → {"subaction":"draft_reply","shouldAct":true,"response":null}',
|
|
614
|
+
' "send that reply now" with recent context about an existing drafted reply → {"subaction":"send_reply","shouldAct":true,"response":null}',
|
|
615
|
+
' "check my inbox" → {"subaction":"triage","shouldAct":true,"response":null}',
|
|
616
|
+
' "any emails from Sarah about the report" → {"subaction":"search","shouldAct":true,"response":null,"queries":["from:sarah subject:report"]}',
|
|
617
|
+
' "busca en mi correo si Suran me escribió hoy" → {"subaction":"search","shouldAct":true,"response":null,"queries":["from:suran newer_than:1d"]}',
|
|
618
|
+
' "envíale un correo a maria@example.com con asunto hola y cuerpo nos vemos mañana" → {"subaction":"send_message","shouldAct":true,"response":null,"queries":[],"to":["maria@example.com"],"subject":"hola","bodyText":"nos vemos mañana"}',
|
|
619
|
+
' "send an email to zo@iqlabs.dev, subject hello anon, body how are you doing today?" → {"subaction":"send_message","shouldAct":true,"response":null,"queries":[],"to":["zo@iqlabs.dev"],"subject":"hello anon","bodyText":"how are you doing today?"}',
|
|
620
|
+
' "can you help me with my email?" → {"subaction":null,"shouldAct":false,"response":"What do you want to do in Gmail — check inbox, search, read, or draft a reply?","queries":[]}',
|
|
621
|
+
' "send an email like \'test\'" with active draft having to=["shaw@gmail.com"] → {"subaction":"send_message","shouldAct":true,"response":null,"queries":[],"to":["shaw@gmail.com"],"subject":"test","bodyText":"test"}',
|
|
622
|
+
...(activeComposeDraft
|
|
623
|
+
? [
|
|
624
|
+
"",
|
|
625
|
+
"Active compose draft (fields already established in this conversation):",
|
|
626
|
+
` ${JSON.stringify({ to: activeComposeDraft.to, cc: activeComposeDraft.cc, bcc: activeComposeDraft.bcc, subject: activeComposeDraft.subject, bodyText: activeComposeDraft.bodyText })}`,
|
|
627
|
+
"If the active compose draft already has a recipient, subject, or body, do NOT ask for those again.",
|
|
628
|
+
"Set shouldAct=true and subaction=send_message when the user provides missing fields, confirms sending, or provides a short payload like 'test' to use as subject and body.",
|
|
629
|
+
"Only set shouldAct=false when genuinely no information is available from conversation context or active draft.",
|
|
630
|
+
]
|
|
631
|
+
: []),
|
|
632
|
+
...(latestReplyDraft || latestMessageTarget
|
|
633
|
+
? [
|
|
634
|
+
"",
|
|
635
|
+
"Recent reply-draft context:",
|
|
636
|
+
` ${JSON.stringify({
|
|
637
|
+
latestReplyDraft,
|
|
638
|
+
latestMessageTarget,
|
|
639
|
+
})}`,
|
|
640
|
+
"If there is a recent drafted reply or known target email and the user says rewrite, edit, revise, change, update, or 'send that reply', keep working on that same reply workflow even if they do not restate the sender or subject.",
|
|
641
|
+
]
|
|
642
|
+
: []),
|
|
643
|
+
"",
|
|
644
|
+
"Return ONLY valid JSON. No prose. No markdown. No XML. No <think>.",
|
|
645
|
+
"",
|
|
646
|
+
`Current timezone: ${timeZone}`,
|
|
647
|
+
`Current local datetime: ${localNow}`,
|
|
648
|
+
`Current ISO datetime: ${nowIso}`,
|
|
649
|
+
`Current request: ${JSON.stringify(currentMessage)}`,
|
|
650
|
+
`Resolved intent: ${JSON.stringify(intent)}`,
|
|
651
|
+
`Recent conversation: ${JSON.stringify(recentConversation)}`,
|
|
652
|
+
].join("\n");
|
|
653
|
+
let rawResponse = "";
|
|
654
|
+
try {
|
|
655
|
+
const result = await runtime.useModel(ModelType.TEXT_LARGE, {
|
|
656
|
+
prompt,
|
|
657
|
+
});
|
|
658
|
+
rawResponse = typeof result === "string" ? result : "";
|
|
659
|
+
}
|
|
660
|
+
catch (error) {
|
|
661
|
+
runtime.logger?.warn?.({
|
|
662
|
+
src: "action:gmail",
|
|
663
|
+
error: error instanceof Error ? error.message : String(error),
|
|
664
|
+
}, "Gmail action planning model call failed");
|
|
665
|
+
return {
|
|
666
|
+
subaction: null,
|
|
667
|
+
queries: [],
|
|
668
|
+
shouldAct: null,
|
|
669
|
+
};
|
|
670
|
+
}
|
|
671
|
+
const parsed = parseKeyValueXml(rawResponse) ??
|
|
672
|
+
parseJSONObjectFromText(rawResponse);
|
|
673
|
+
if (!parsed) {
|
|
674
|
+
return {
|
|
675
|
+
subaction: null,
|
|
676
|
+
queries: [],
|
|
677
|
+
shouldAct: null,
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
// Extract queries from multiple possible shapes:
|
|
681
|
+
// - TOON string: "from:john || subject:report" (split on ||)
|
|
682
|
+
// - TOON single: "from:john" (no delimiter)
|
|
683
|
+
// - JSON array: ["from:john", "subject:report"]
|
|
684
|
+
// - Numbered fallbacks: query1, query2, query3
|
|
685
|
+
const rawQueries = [];
|
|
686
|
+
if (typeof parsed.queries === "string" && parsed.queries.trim().length > 0) {
|
|
687
|
+
// TOON path: split on || delimiter
|
|
688
|
+
for (const q of parsed.queries.split(/\s*\|\|\s*/)) {
|
|
689
|
+
if (q.trim().length > 0)
|
|
690
|
+
rawQueries.push(q.trim());
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
else if (Array.isArray(parsed.queries)) {
|
|
694
|
+
// JSON path: array of strings
|
|
695
|
+
for (const value of parsed.queries) {
|
|
696
|
+
if (typeof value === "string")
|
|
697
|
+
rawQueries.push(value);
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
if (typeof parsed.query === "string")
|
|
701
|
+
rawQueries.push(parsed.query);
|
|
702
|
+
if (typeof parsed.query1 === "string")
|
|
703
|
+
rawQueries.push(parsed.query1);
|
|
704
|
+
if (typeof parsed.query2 === "string")
|
|
705
|
+
rawQueries.push(parsed.query2);
|
|
706
|
+
if (typeof parsed.query3 === "string")
|
|
707
|
+
rawQueries.push(parsed.query3);
|
|
708
|
+
return {
|
|
709
|
+
subaction: normalizeGmailSubaction(parsed.subaction),
|
|
710
|
+
queries: dedupeQueries(rawQueries),
|
|
711
|
+
response: normalizePlannerResponse(parsed.response),
|
|
712
|
+
shouldAct: normalizeShouldAct(parsed.shouldAct),
|
|
713
|
+
messageId: typeof parsed.messageId === "string" && parsed.messageId.trim().length > 0
|
|
714
|
+
? parsed.messageId.trim()
|
|
715
|
+
: undefined,
|
|
716
|
+
replyNeededOnly: normalizeOptionalBoolean(parsed.replyNeededOnly),
|
|
717
|
+
to: normalizePlannerStringArray(parsed.to ?? parsed.recipients),
|
|
718
|
+
cc: normalizePlannerStringArray(parsed.cc),
|
|
719
|
+
bcc: normalizePlannerStringArray(parsed.bcc),
|
|
720
|
+
subject: normalizePlannerString(parsed.subject),
|
|
721
|
+
bodyText: normalizePlannerString(parsed.bodyText ?? parsed.body),
|
|
722
|
+
};
|
|
723
|
+
}
|
|
724
|
+
async function recoverSendMessagePlanWithLlm(args) {
|
|
725
|
+
const { runtime, message, state, intent, currentPlan, activeDraft, previousSentDraft, } = args;
|
|
726
|
+
if (typeof runtime.useModel !== "function") {
|
|
727
|
+
return null;
|
|
728
|
+
}
|
|
729
|
+
const recentConversation = (await collectGmailConversationContext({ runtime, message, state })).join("\n");
|
|
730
|
+
const currentMessage = messageText(message).trim();
|
|
731
|
+
const prompt = [
|
|
732
|
+
"Extract or recover the Gmail compose draft for this conversation.",
|
|
733
|
+
"The user may speak in any language.",
|
|
734
|
+
"This is only for brand-new outbound emails, not replies to an existing thread.",
|
|
735
|
+
"There may be no existing compose draft yet. Start a new draft from the current user message whenever they are trying to send a brand-new email.",
|
|
736
|
+
"Use the current user message as the source of truth for any new or overridden compose fields.",
|
|
737
|
+
"Preserve already-established compose fields unless the current user message clearly overrides them.",
|
|
738
|
+
"If the current user only gives part of the email, keep any extracted fields and leave the rest empty.",
|
|
739
|
+
"Return shouldResume=true whenever the conversation is still actively composing a brand-new outbound email, even if recipient, subject, or body is still missing.",
|
|
740
|
+
"When there is an active pending compose draft, keep its recipient, cc, bcc, subject, and body unless the user changes them.",
|
|
741
|
+
"When the user says something like 'same as the last email', reuse subject/body/cc/bcc from the most recent completed outbound email, but keep the active draft recipient unless the user changes it.",
|
|
742
|
+
"When a recipient is already known and the user gives a single short payload like send an email like 'test', treat that payload as the body text and, if subject is still missing, use the same short payload as the minimal subject.",
|
|
743
|
+
"Keep the subject and body in the user's language unless the user explicitly asks to translate or switch languages.",
|
|
744
|
+
"If the user is only pausing, thinking, or not ready yet, set shouldResume=false and do not invent missing fields.",
|
|
745
|
+
"If the user cancels the email, set cancelled=true and shouldResume=false.",
|
|
746
|
+
"",
|
|
747
|
+
"Return ONLY XML with exactly these tags and nothing else.",
|
|
748
|
+
"Use || between multiple addresses inside to, cc, or bcc.",
|
|
749
|
+
"<shouldResume>true|false</shouldResume>",
|
|
750
|
+
"<cancelled>true|false</cancelled>",
|
|
751
|
+
"<response></response>",
|
|
752
|
+
"<to></to>",
|
|
753
|
+
"<cc></cc>",
|
|
754
|
+
"<bcc></bcc>",
|
|
755
|
+
"<subject></subject>",
|
|
756
|
+
"<bodyText></bodyText>",
|
|
757
|
+
"",
|
|
758
|
+
"Examples:",
|
|
759
|
+
' current message: "send an email to zo@iqlabs.dev the subject should say hello anon and the body should say how are you doing today?"',
|
|
760
|
+
" <shouldResume>true</shouldResume><cancelled>false</cancelled><to>zo@iqlabs.dev</to><subject>hello anon</subject><bodyText>how are you doing today?</bodyText>",
|
|
761
|
+
' current message: "send it to shawmakesmagic@gmail.com this time"',
|
|
762
|
+
" <shouldResume>true</shouldResume><cancelled>false</cancelled><to>shawmakesmagic@gmail.com</to>",
|
|
763
|
+
' active draft recipient: ["shawmakesmagic@gmail.com"], current message: "send an email like \\"test\\""',
|
|
764
|
+
" <shouldResume>true</shouldResume><cancelled>false</cancelled><to>shawmakesmagic@gmail.com</to><subject>test</subject><bodyText>test</bodyText>",
|
|
765
|
+
' active draft recipient: ["shawmakesmagic@gmail.com"], previous sent subject/body: "Quick test" / "test", current message: "same as the last email"',
|
|
766
|
+
" <shouldResume>true</shouldResume><cancelled>false</cancelled><to>shawmakesmagic@gmail.com</to><subject>Quick test</subject><bodyText>test</bodyText>",
|
|
767
|
+
' current message: "enviale un correo a maria@example.com con asunto hola y cuerpo nos vemos manana"',
|
|
768
|
+
" <shouldResume>true</shouldResume><cancelled>false</cancelled><to>maria@example.com</to><subject>hola</subject><bodyText>nos vemos manana</bodyText>",
|
|
769
|
+
`Current user message: ${JSON.stringify(currentMessage)}`,
|
|
770
|
+
`Resolved intent: ${JSON.stringify(intent)}`,
|
|
771
|
+
`Current Gmail planner draft: ${JSON.stringify({
|
|
772
|
+
to: currentPlan.to,
|
|
773
|
+
cc: currentPlan.cc,
|
|
774
|
+
bcc: currentPlan.bcc,
|
|
775
|
+
subject: currentPlan.subject,
|
|
776
|
+
bodyText: currentPlan.bodyText,
|
|
777
|
+
response: currentPlan.response,
|
|
778
|
+
shouldAct: currentPlan.shouldAct,
|
|
779
|
+
subaction: currentPlan.subaction,
|
|
780
|
+
})}`,
|
|
781
|
+
`Active pending compose draft: ${JSON.stringify(activeDraft ?? null)}`,
|
|
782
|
+
`Most recent completed outbound email draft: ${JSON.stringify(previousSentDraft ?? null)}`,
|
|
783
|
+
`Recent conversation: ${JSON.stringify(recentConversation)}`,
|
|
784
|
+
].join("\n");
|
|
785
|
+
let rawResponse = "";
|
|
786
|
+
try {
|
|
787
|
+
const result = await runtime.useModel(ModelType.TEXT_LARGE, { prompt });
|
|
788
|
+
rawResponse = typeof result === "string" ? result : "";
|
|
789
|
+
}
|
|
790
|
+
catch (error) {
|
|
791
|
+
runtime.logger?.warn?.({
|
|
792
|
+
src: "action:gmail",
|
|
793
|
+
error: error instanceof Error ? error.message : String(error),
|
|
794
|
+
}, "Gmail compose recovery model call failed");
|
|
795
|
+
return null;
|
|
796
|
+
}
|
|
797
|
+
const parsed = parseKeyValueXml(rawResponse) ??
|
|
798
|
+
parseJSONObjectFromText(rawResponse);
|
|
799
|
+
if (!parsed) {
|
|
800
|
+
return null;
|
|
801
|
+
}
|
|
802
|
+
return {
|
|
803
|
+
shouldResume: normalizeOptionalBoolean(parsed.shouldResume),
|
|
804
|
+
cancelled: normalizeOptionalBoolean(parsed.cancelled),
|
|
805
|
+
response: normalizePlannerResponse(parsed.response),
|
|
806
|
+
to: normalizePlannerStringArray(parsed.to ?? parsed.recipients),
|
|
807
|
+
cc: normalizePlannerStringArray(parsed.cc),
|
|
808
|
+
bcc: normalizePlannerStringArray(parsed.bcc),
|
|
809
|
+
subject: normalizePlannerString(parsed.subject),
|
|
810
|
+
bodyText: normalizePlannerString(parsed.bodyText ?? parsed.body),
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
function resolveGmailSearchQueries(explicitQueries, llmPlan) {
|
|
814
|
+
return dedupeQueries([...explicitQueries, ...(llmPlan?.queries ?? [])]);
|
|
815
|
+
}
|
|
816
|
+
function buildGmailSearchPlan(args) {
|
|
817
|
+
const queries = dedupeQueries(args.queries);
|
|
818
|
+
if (queries.length === 0) {
|
|
819
|
+
return null;
|
|
820
|
+
}
|
|
821
|
+
return {
|
|
822
|
+
queries,
|
|
823
|
+
displayQuery: queries[0],
|
|
824
|
+
};
|
|
825
|
+
}
|
|
826
|
+
async function resolveGmailTargetMessage(args) {
|
|
827
|
+
const resolvedQueries = resolveGmailSearchQueries([
|
|
828
|
+
...args.explicitQueryArray,
|
|
829
|
+
args.paramsQuery,
|
|
830
|
+
detailString(args.details, "query"),
|
|
831
|
+
], args.llmPlan);
|
|
832
|
+
const searchPlan = buildGmailSearchPlan({
|
|
833
|
+
queries: resolvedQueries,
|
|
834
|
+
});
|
|
835
|
+
if (!searchPlan) {
|
|
836
|
+
return { kind: "missing" };
|
|
837
|
+
}
|
|
838
|
+
const requestBase = {
|
|
839
|
+
mode: detailString(args.details, "mode"),
|
|
840
|
+
side: detailString(args.details, "side"),
|
|
841
|
+
forceSync: detailBoolean(args.details, "forceSync"),
|
|
842
|
+
maxResults: detailNumber(args.details, "maxResults") ?? 10,
|
|
843
|
+
replyNeededOnly: detailBoolean(args.details, "replyNeededOnly") ??
|
|
844
|
+
args.llmPlan.replyNeededOnly ??
|
|
845
|
+
false,
|
|
846
|
+
};
|
|
847
|
+
for (const query of searchPlan.queries) {
|
|
848
|
+
const feed = await args.service.getGmailSearch(INTERNAL_URL, {
|
|
849
|
+
...requestBase,
|
|
850
|
+
query,
|
|
851
|
+
});
|
|
852
|
+
if (feed.messages.length === 0) {
|
|
853
|
+
continue;
|
|
854
|
+
}
|
|
855
|
+
const displayFeed = feed.query === searchPlan.displayQuery
|
|
856
|
+
? feed
|
|
857
|
+
: {
|
|
858
|
+
...feed,
|
|
859
|
+
query: searchPlan.displayQuery,
|
|
860
|
+
};
|
|
861
|
+
if (feed.messages.length > 1) {
|
|
862
|
+
return {
|
|
863
|
+
kind: "ambiguous",
|
|
864
|
+
feed: displayFeed,
|
|
865
|
+
displayQuery: searchPlan.displayQuery,
|
|
866
|
+
};
|
|
867
|
+
}
|
|
868
|
+
const message = feed.messages[0];
|
|
869
|
+
return message
|
|
870
|
+
? {
|
|
871
|
+
kind: "resolved",
|
|
872
|
+
target: {
|
|
873
|
+
messageId: message.id,
|
|
874
|
+
subject: message.subject,
|
|
875
|
+
from: message.from,
|
|
876
|
+
query: searchPlan.displayQuery,
|
|
877
|
+
},
|
|
878
|
+
}
|
|
879
|
+
: { kind: "missing" };
|
|
880
|
+
}
|
|
881
|
+
return { kind: "missing" };
|
|
882
|
+
}
|
|
883
|
+
function normalizeBatchSendItems(details) {
|
|
884
|
+
const items = detailArray(details, "items");
|
|
885
|
+
if (!items) {
|
|
886
|
+
return undefined;
|
|
887
|
+
}
|
|
888
|
+
const normalized = items
|
|
889
|
+
.map((item) => {
|
|
890
|
+
if (!item || typeof item !== "object" || Array.isArray(item)) {
|
|
891
|
+
return null;
|
|
892
|
+
}
|
|
893
|
+
const record = item;
|
|
894
|
+
const messageId = typeof record.messageId === "string" &&
|
|
895
|
+
record.messageId.trim().length > 0
|
|
896
|
+
? record.messageId.trim()
|
|
897
|
+
: null;
|
|
898
|
+
const bodyText = typeof record.bodyText === "string" && record.bodyText.trim().length > 0
|
|
899
|
+
? record.bodyText.trim()
|
|
900
|
+
: null;
|
|
901
|
+
if (!messageId || !bodyText) {
|
|
902
|
+
return null;
|
|
903
|
+
}
|
|
904
|
+
const normalized = {
|
|
905
|
+
messageId,
|
|
906
|
+
bodyText,
|
|
907
|
+
subject: typeof record.subject === "string" && record.subject.trim().length > 0
|
|
908
|
+
? record.subject.trim()
|
|
909
|
+
: undefined,
|
|
910
|
+
to: normalizeStringArray(record.to),
|
|
911
|
+
cc: normalizeStringArray(record.cc),
|
|
912
|
+
};
|
|
913
|
+
return normalized;
|
|
914
|
+
})
|
|
915
|
+
.filter((item) => item !== null);
|
|
916
|
+
return normalized.length > 0 ? normalized : undefined;
|
|
917
|
+
}
|
|
918
|
+
// `suppressPostActionContinuation` is a local feature flag the runtime
|
|
919
|
+
// reads via a wider Action shape than the npm `@elizaos/core@alpha`
|
|
920
|
+
// dist-tag's exported type — the published type hasn't caught up yet
|
|
921
|
+
// so tsc rejects the property when compiled against node_modules on CI
|
|
922
|
+
// (local resolves via paths map to the newer eliza/ source and accepts
|
|
923
|
+
// it natively).
|
|
924
|
+
//
|
|
925
|
+
// We used to end this declaration with
|
|
926
|
+
// `} satisfies Action & { suppressPostActionContinuation?: boolean }`,
|
|
927
|
+
// but `satisfies` keeps the inferred literal type on the `const`. When
|
|
928
|
+
// the Docker CI Smoke build walks `packages/agent` with
|
|
929
|
+
// `declaration: true`, TypeScript tries to emit a portable `.d.ts`
|
|
930
|
+
// and fails with TS2742 because the inferred literal transitively
|
|
931
|
+
// references `@bufbuild/protobuf` types that are not in this package's
|
|
932
|
+
// direct dependency graph. An explicit type annotation on the binding
|
|
933
|
+
// makes `gmailAction` widen to the declared type, so tsc only has to
|
|
934
|
+
// emit the (portable) declared shape in the `.d.ts`.
|
|
935
|
+
export const gmailAction = {
|
|
936
|
+
name: "GMAIL_ACTION",
|
|
937
|
+
similes: [
|
|
938
|
+
"GMAIL",
|
|
939
|
+
"CHECK_EMAIL",
|
|
940
|
+
"EMAIL_TRIAGE",
|
|
941
|
+
"SEARCH_EMAIL",
|
|
942
|
+
"DRAFT_EMAIL_REPLY",
|
|
943
|
+
"SEND_EMAIL_REPLY",
|
|
944
|
+
],
|
|
945
|
+
description: "Interact with Gmail through LifeOps. " +
|
|
946
|
+
"USE this action for: inbox triage and unread summaries; searching emails by sender, subject, keyword, date, or label; " +
|
|
947
|
+
"reading full email bodies by message ID; checking which emails need a reply; " +
|
|
948
|
+
"drafting reply text for one or more emails; sending confirmed replies. " +
|
|
949
|
+
"DO NOT use this action for calendar events, meetings, or scheduling — use CALENDAR_ACTION instead. " +
|
|
950
|
+
"DO NOT use this action for personal habits, goals, routines, or reminders — use LIFE instead. " +
|
|
951
|
+
"This action provides the final grounded reply; do not pair it with a speculative REPLY action.",
|
|
952
|
+
suppressPostActionContinuation: true,
|
|
953
|
+
validate: async (runtime, message, state) => {
|
|
954
|
+
if (!(await hasLifeOpsAccess(runtime, message)))
|
|
955
|
+
return false;
|
|
956
|
+
return hasContextSignalForKey(runtime, message, state, "gmail", {
|
|
957
|
+
contextLimit: GMAIL_CONTEXT_WINDOW,
|
|
958
|
+
});
|
|
959
|
+
},
|
|
960
|
+
handler: async (runtime, message, state, options, callback) => {
|
|
961
|
+
if (!(await hasLifeOpsAccess(runtime, message))) {
|
|
962
|
+
const fallback = "Gmail actions are restricted to the owner, explicitly granted users, and the agent.";
|
|
963
|
+
return {
|
|
964
|
+
success: false,
|
|
965
|
+
text: await renderGmailActionReply({
|
|
966
|
+
runtime,
|
|
967
|
+
message,
|
|
968
|
+
state,
|
|
969
|
+
intent: messageText(message).trim(),
|
|
970
|
+
scenario: "access_denied",
|
|
971
|
+
fallback,
|
|
972
|
+
}),
|
|
973
|
+
};
|
|
974
|
+
}
|
|
975
|
+
const rawParams = options?.parameters;
|
|
976
|
+
const params = rawParams ?? {};
|
|
977
|
+
const details = normalizeGmailDetails(params.details);
|
|
978
|
+
const explicitSubaction = normalizeGmailSubaction(params.subaction);
|
|
979
|
+
const intent = normalizePlannerString(params.intent) ?? messageText(message).trim();
|
|
980
|
+
const activeComposeDraft = latestGmailComposeDraft(state, [
|
|
981
|
+
"pending_clarification",
|
|
982
|
+
]);
|
|
983
|
+
const previousSentComposeDraft = latestGmailComposeDraft(state, ["sent"]);
|
|
984
|
+
const llmPlan = await extractGmailPlanWithLlm(runtime, message, state, intent, activeComposeDraft);
|
|
985
|
+
const latestReplyDraft = latestGmailReplyDraftContext(state);
|
|
986
|
+
const latestMessageTarget = latestGmailMessageTargetContext(state);
|
|
987
|
+
const latestBatchReplyDraftItems = latestGmailBatchReplyDraftItems(state);
|
|
988
|
+
const hasStructuredComposeSignal = Boolean(params.bodyText ||
|
|
989
|
+
detailString(details, "bodyText") ||
|
|
990
|
+
detailString(details, "subject") ||
|
|
991
|
+
(normalizeStringArray(details?.to)?.length ?? 0) > 0 ||
|
|
992
|
+
(normalizeStringArray(details?.cc)?.length ?? 0) > 0 ||
|
|
993
|
+
(normalizeStringArray(details?.bcc)?.length ?? 0) > 0 ||
|
|
994
|
+
(llmPlan.to?.length ?? 0) > 0 ||
|
|
995
|
+
(llmPlan.cc?.length ?? 0) > 0 ||
|
|
996
|
+
(llmPlan.bcc?.length ?? 0) > 0 ||
|
|
997
|
+
Boolean(llmPlan.subject) ||
|
|
998
|
+
Boolean(llmPlan.bodyText));
|
|
999
|
+
const hasReplyOrBatchTarget = Boolean(params.messageId ||
|
|
1000
|
+
detailString(details, "messageId") ||
|
|
1001
|
+
detailArray(details, "items") ||
|
|
1002
|
+
(normalizeStringArray(details?.messageIds)?.length ?? 0) > 0);
|
|
1003
|
+
const shouldAttemptComposeRecovery = !hasReplyOrBatchTarget &&
|
|
1004
|
+
(Boolean(activeComposeDraft || previousSentComposeDraft) ||
|
|
1005
|
+
llmPlan.subaction === "send_message" ||
|
|
1006
|
+
llmPlan.subaction === null ||
|
|
1007
|
+
explicitSubaction === "send_message" ||
|
|
1008
|
+
hasStructuredComposeSignal);
|
|
1009
|
+
const composeRecoveryPlan = shouldAttemptComposeRecovery
|
|
1010
|
+
? await recoverSendMessagePlanWithLlm({
|
|
1011
|
+
runtime,
|
|
1012
|
+
message,
|
|
1013
|
+
state,
|
|
1014
|
+
intent,
|
|
1015
|
+
currentPlan: llmPlan,
|
|
1016
|
+
activeDraft: activeComposeDraft,
|
|
1017
|
+
previousSentDraft: previousSentComposeDraft,
|
|
1018
|
+
})
|
|
1019
|
+
: null;
|
|
1020
|
+
const composeRecoveryActivated = composeRecoveryPlan?.shouldResume === true;
|
|
1021
|
+
const resolvedComposeDraft = mergeComposeDrafts(previousSentComposeDraft ?? undefined, activeComposeDraft ?? undefined, {
|
|
1022
|
+
subaction: "send_message",
|
|
1023
|
+
status: "pending_clarification",
|
|
1024
|
+
intent,
|
|
1025
|
+
to: llmPlan.to,
|
|
1026
|
+
cc: llmPlan.cc,
|
|
1027
|
+
bcc: llmPlan.bcc,
|
|
1028
|
+
subject: llmPlan.subject,
|
|
1029
|
+
bodyText: llmPlan.bodyText,
|
|
1030
|
+
}, composeRecoveryPlan ?? undefined);
|
|
1031
|
+
const explicitQueryArray = [
|
|
1032
|
+
...(params.queries ?? []),
|
|
1033
|
+
...(normalizeQueryStringArray(details?.queries) ?? []),
|
|
1034
|
+
];
|
|
1035
|
+
const hasExplicitGmailExecutionInput = Boolean(explicitSubaction ||
|
|
1036
|
+
params.query ||
|
|
1037
|
+
explicitQueryArray.length > 0 ||
|
|
1038
|
+
params.messageId ||
|
|
1039
|
+
detailString(details, "messageId") ||
|
|
1040
|
+
params.bodyText ||
|
|
1041
|
+
detailString(details, "bodyText") ||
|
|
1042
|
+
(normalizeStringArray(details?.to)?.length ?? 0) > 0 ||
|
|
1043
|
+
(normalizeStringArray(details?.cc)?.length ?? 0) > 0 ||
|
|
1044
|
+
(normalizeStringArray(details?.bcc)?.length ?? 0) > 0 ||
|
|
1045
|
+
detailString(details, "subject"));
|
|
1046
|
+
let subaction = explicitSubaction ?? llmPlan.subaction;
|
|
1047
|
+
const currentMessageText = messageText(message).trim();
|
|
1048
|
+
const composeRecipients = normalizeStringArray(details?.to) ??
|
|
1049
|
+
resolvedComposeDraft.to ??
|
|
1050
|
+
llmPlan.to ??
|
|
1051
|
+
[];
|
|
1052
|
+
const hasComposeRecipients = composeRecipients.length > 0;
|
|
1053
|
+
const hasComposeContent = Boolean(params.bodyText ||
|
|
1054
|
+
detailString(details, "bodyText") ||
|
|
1055
|
+
resolvedComposeDraft.bodyText ||
|
|
1056
|
+
llmPlan.bodyText ||
|
|
1057
|
+
detailString(details, "subject") ||
|
|
1058
|
+
resolvedComposeDraft.subject ||
|
|
1059
|
+
llmPlan.subject);
|
|
1060
|
+
if (!explicitSubaction && composeRecoveryActivated) {
|
|
1061
|
+
subaction = "send_message";
|
|
1062
|
+
}
|
|
1063
|
+
if (!explicitSubaction &&
|
|
1064
|
+
!subaction &&
|
|
1065
|
+
latestReplyDraft &&
|
|
1066
|
+
looksLikeReplyDraftRewriteFollowup(currentMessageText)) {
|
|
1067
|
+
subaction = "draft_reply";
|
|
1068
|
+
}
|
|
1069
|
+
if (!explicitSubaction &&
|
|
1070
|
+
!subaction &&
|
|
1071
|
+
latestReplyDraft &&
|
|
1072
|
+
looksLikeSendReplyFollowup(currentMessageText)) {
|
|
1073
|
+
subaction = "send_reply";
|
|
1074
|
+
}
|
|
1075
|
+
if (!subaction &&
|
|
1076
|
+
!params.messageId &&
|
|
1077
|
+
!detailString(details, "messageId") &&
|
|
1078
|
+
!detailArray(details, "items") &&
|
|
1079
|
+
(hasComposeRecipients || hasStructuredComposeSignal) &&
|
|
1080
|
+
hasComposeContent) {
|
|
1081
|
+
subaction = "send_message";
|
|
1082
|
+
}
|
|
1083
|
+
runtime.logger?.debug?.({
|
|
1084
|
+
src: "action:gmail",
|
|
1085
|
+
subaction,
|
|
1086
|
+
rawMessage: messageText(message).slice(0, 200),
|
|
1087
|
+
resolvedIntent: intent.slice(0, 200),
|
|
1088
|
+
params: {
|
|
1089
|
+
subaction: params.subaction,
|
|
1090
|
+
query: params.query,
|
|
1091
|
+
messageId: params.messageId,
|
|
1092
|
+
bodyText: params.bodyText?.slice(0, 100),
|
|
1093
|
+
},
|
|
1094
|
+
detailKeys: details ? Object.keys(details) : [],
|
|
1095
|
+
detailToType: typeof details?.to,
|
|
1096
|
+
detailSubject: typeof details?.subject === "string" ? details.subject : undefined,
|
|
1097
|
+
}, "gmail action dispatch");
|
|
1098
|
+
const service = new LifeOpsService(runtime);
|
|
1099
|
+
const respond = async (payload) => {
|
|
1100
|
+
await callback?.({
|
|
1101
|
+
text: payload.text,
|
|
1102
|
+
source: "action",
|
|
1103
|
+
action: "GMAIL_ACTION",
|
|
1104
|
+
});
|
|
1105
|
+
return payload;
|
|
1106
|
+
};
|
|
1107
|
+
const renderReply = (scenario, fallback, context) => renderGmailActionReply({
|
|
1108
|
+
runtime,
|
|
1109
|
+
message,
|
|
1110
|
+
state,
|
|
1111
|
+
intent,
|
|
1112
|
+
scenario,
|
|
1113
|
+
fallback,
|
|
1114
|
+
context,
|
|
1115
|
+
});
|
|
1116
|
+
if (composeRecoveryPlan?.cancelled) {
|
|
1117
|
+
return respond({
|
|
1118
|
+
success: true,
|
|
1119
|
+
text: await renderReply("cancel_send_message", composeRecoveryPlan.response ?? "Okay, I won't send that email.", {
|
|
1120
|
+
composeRecoveryPlan,
|
|
1121
|
+
activeComposeDraft,
|
|
1122
|
+
}),
|
|
1123
|
+
data: {
|
|
1124
|
+
noop: true,
|
|
1125
|
+
},
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1128
|
+
if (!subaction &&
|
|
1129
|
+
!composeRecoveryActivated &&
|
|
1130
|
+
!hasExplicitGmailExecutionInput) {
|
|
1131
|
+
const fallback = composeRecoveryPlan?.response ??
|
|
1132
|
+
llmPlan.response ??
|
|
1133
|
+
buildGmailReplyOnlyFallback(llmPlan.subaction);
|
|
1134
|
+
return respond({
|
|
1135
|
+
success: true,
|
|
1136
|
+
text: await renderReply("reply_only", fallback, {
|
|
1137
|
+
llmPlan,
|
|
1138
|
+
composeRecoveryPlan,
|
|
1139
|
+
suggestedSubaction: llmPlan.subaction,
|
|
1140
|
+
}),
|
|
1141
|
+
data: {
|
|
1142
|
+
noop: true,
|
|
1143
|
+
...(llmPlan.subaction
|
|
1144
|
+
? { suggestedSubaction: llmPlan.subaction }
|
|
1145
|
+
: {}),
|
|
1146
|
+
},
|
|
1147
|
+
});
|
|
1148
|
+
}
|
|
1149
|
+
if (!subaction) {
|
|
1150
|
+
const fallback = llmPlan.response ??
|
|
1151
|
+
composeRecoveryPlan?.response ??
|
|
1152
|
+
buildGmailReplyOnlyFallback(llmPlan.subaction);
|
|
1153
|
+
return respond({
|
|
1154
|
+
success: false,
|
|
1155
|
+
text: await renderReply("clarify_gmail_request", fallback, {
|
|
1156
|
+
llmPlan,
|
|
1157
|
+
composeRecoveryPlan,
|
|
1158
|
+
}),
|
|
1159
|
+
data: {
|
|
1160
|
+
noop: true,
|
|
1161
|
+
},
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
try {
|
|
1165
|
+
const google = await getGoogleCapabilityStatus(service);
|
|
1166
|
+
if (subaction === "send_reply" ||
|
|
1167
|
+
subaction === "send_batch_replies" ||
|
|
1168
|
+
subaction === "send_message") {
|
|
1169
|
+
if (!google.hasGmailSend) {
|
|
1170
|
+
return respond({
|
|
1171
|
+
success: false,
|
|
1172
|
+
text: await renderReply("gmail_send_unavailable", gmailSendUnavailableMessage(google), {
|
|
1173
|
+
subaction,
|
|
1174
|
+
google,
|
|
1175
|
+
}),
|
|
1176
|
+
});
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
else if (!google.hasGmailTriage) {
|
|
1180
|
+
return respond({
|
|
1181
|
+
success: false,
|
|
1182
|
+
text: await renderReply("gmail_read_unavailable", gmailReadUnavailableMessage(google), {
|
|
1183
|
+
subaction,
|
|
1184
|
+
google,
|
|
1185
|
+
}),
|
|
1186
|
+
});
|
|
1187
|
+
}
|
|
1188
|
+
if (subaction === "triage") {
|
|
1189
|
+
const feed = await service.getGmailTriage(INTERNAL_URL, {
|
|
1190
|
+
mode: detailString(details, "mode"),
|
|
1191
|
+
side: detailString(details, "side"),
|
|
1192
|
+
forceSync: detailBoolean(details, "forceSync"),
|
|
1193
|
+
maxResults: detailNumber(details, "maxResults") ?? 10,
|
|
1194
|
+
});
|
|
1195
|
+
const fallback = formatEmailTriage(feed);
|
|
1196
|
+
return respond({
|
|
1197
|
+
success: true,
|
|
1198
|
+
text: await renderReply("triage_results", fallback, {
|
|
1199
|
+
summary: feed.summary,
|
|
1200
|
+
messages: feed.messages,
|
|
1201
|
+
}),
|
|
1202
|
+
data: toActionData(feed),
|
|
1203
|
+
});
|
|
1204
|
+
}
|
|
1205
|
+
if (subaction === "needs_response") {
|
|
1206
|
+
const feed = await service.getGmailNeedsResponse(INTERNAL_URL, {
|
|
1207
|
+
mode: detailString(details, "mode"),
|
|
1208
|
+
side: detailString(details, "side"),
|
|
1209
|
+
forceSync: detailBoolean(details, "forceSync"),
|
|
1210
|
+
maxResults: detailNumber(details, "maxResults") ?? 10,
|
|
1211
|
+
});
|
|
1212
|
+
const fallback = formatEmailNeedsResponse(feed);
|
|
1213
|
+
return respond({
|
|
1214
|
+
success: true,
|
|
1215
|
+
text: await renderReply("needs_response_results", fallback, {
|
|
1216
|
+
summary: feed.summary,
|
|
1217
|
+
messages: feed.messages,
|
|
1218
|
+
}),
|
|
1219
|
+
data: toActionData(feed),
|
|
1220
|
+
});
|
|
1221
|
+
}
|
|
1222
|
+
if (subaction === "search") {
|
|
1223
|
+
const resolvedQueries = resolveGmailSearchQueries([...explicitQueryArray, params.query, detailString(details, "query")], llmPlan);
|
|
1224
|
+
const searchPlan = buildGmailSearchPlan({
|
|
1225
|
+
queries: resolvedQueries,
|
|
1226
|
+
});
|
|
1227
|
+
if (!searchPlan) {
|
|
1228
|
+
return respond({
|
|
1229
|
+
success: false,
|
|
1230
|
+
text: await renderReply("clarify_search_target", "I need a sender, subject, keyword, or email search target to run that Gmail search.", {
|
|
1231
|
+
missing: ["search target"],
|
|
1232
|
+
}),
|
|
1233
|
+
});
|
|
1234
|
+
}
|
|
1235
|
+
const requestBase = {
|
|
1236
|
+
mode: detailString(details, "mode"),
|
|
1237
|
+
side: detailString(details, "side"),
|
|
1238
|
+
forceSync: detailBoolean(details, "forceSync"),
|
|
1239
|
+
maxResults: detailNumber(details, "maxResults") ?? 10,
|
|
1240
|
+
replyNeededOnly: detailBoolean(details, "replyNeededOnly") ??
|
|
1241
|
+
llmPlan.replyNeededOnly ??
|
|
1242
|
+
false,
|
|
1243
|
+
};
|
|
1244
|
+
let feed = await service.getGmailSearch(INTERNAL_URL, {
|
|
1245
|
+
...requestBase,
|
|
1246
|
+
query: searchPlan.queries[0] ?? searchPlan.displayQuery,
|
|
1247
|
+
});
|
|
1248
|
+
for (const query of searchPlan.queries.slice(1)) {
|
|
1249
|
+
if (feed.messages.length > 0) {
|
|
1250
|
+
break;
|
|
1251
|
+
}
|
|
1252
|
+
feed = await service.getGmailSearch(INTERNAL_URL, {
|
|
1253
|
+
...requestBase,
|
|
1254
|
+
query,
|
|
1255
|
+
});
|
|
1256
|
+
}
|
|
1257
|
+
const displayFeed = feed.query === searchPlan.displayQuery
|
|
1258
|
+
? feed
|
|
1259
|
+
: {
|
|
1260
|
+
...feed,
|
|
1261
|
+
query: searchPlan.displayQuery,
|
|
1262
|
+
};
|
|
1263
|
+
const fallback = formatEmailSearch(displayFeed);
|
|
1264
|
+
return respond({
|
|
1265
|
+
success: true,
|
|
1266
|
+
text: await renderReply("search_results", fallback, {
|
|
1267
|
+
query: displayFeed.query,
|
|
1268
|
+
messages: displayFeed.messages,
|
|
1269
|
+
}),
|
|
1270
|
+
data: toActionData(displayFeed),
|
|
1271
|
+
});
|
|
1272
|
+
}
|
|
1273
|
+
if (subaction === "read") {
|
|
1274
|
+
const messageId = params.messageId ??
|
|
1275
|
+
detailString(details, "messageId") ??
|
|
1276
|
+
llmPlan.messageId ??
|
|
1277
|
+
latestMessageTarget?.messageId ??
|
|
1278
|
+
latestReplyDraft?.messageId;
|
|
1279
|
+
if (messageId) {
|
|
1280
|
+
const result = await service.readGmailMessage(INTERNAL_URL, {
|
|
1281
|
+
mode: detailString(details, "mode"),
|
|
1282
|
+
side: detailString(details, "side"),
|
|
1283
|
+
forceSync: detailBoolean(details, "forceSync"),
|
|
1284
|
+
messageId,
|
|
1285
|
+
});
|
|
1286
|
+
const fallback = formatEmailRead(result);
|
|
1287
|
+
return respond({
|
|
1288
|
+
success: true,
|
|
1289
|
+
text: await renderReply("read_result", fallback, {
|
|
1290
|
+
message: result,
|
|
1291
|
+
}),
|
|
1292
|
+
data: toActionData(result),
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1295
|
+
const resolvedTarget = await resolveGmailTargetMessage({
|
|
1296
|
+
service,
|
|
1297
|
+
details,
|
|
1298
|
+
explicitQueryArray,
|
|
1299
|
+
paramsQuery: params.query,
|
|
1300
|
+
llmPlan,
|
|
1301
|
+
});
|
|
1302
|
+
if (resolvedTarget.kind === "missing") {
|
|
1303
|
+
return respond({
|
|
1304
|
+
success: false,
|
|
1305
|
+
text: await renderReply("clarify_read_target", "I need to know which email to read. Give me a sender, subject, keyword, or specific message id.", {
|
|
1306
|
+
missing: ["message target"],
|
|
1307
|
+
}),
|
|
1308
|
+
});
|
|
1309
|
+
}
|
|
1310
|
+
if (resolvedTarget.kind === "ambiguous") {
|
|
1311
|
+
const fallback = buildGmailTargetDisambiguationFallback(resolvedTarget.feed);
|
|
1312
|
+
return respond({
|
|
1313
|
+
success: false,
|
|
1314
|
+
text: await renderReply("clarify_read_target", fallback, {
|
|
1315
|
+
query: resolvedTarget.displayQuery,
|
|
1316
|
+
messages: resolvedTarget.feed.messages,
|
|
1317
|
+
}),
|
|
1318
|
+
});
|
|
1319
|
+
}
|
|
1320
|
+
const result = await service.readGmailMessage(INTERNAL_URL, {
|
|
1321
|
+
mode: detailString(details, "mode"),
|
|
1322
|
+
side: detailString(details, "side"),
|
|
1323
|
+
forceSync: detailBoolean(details, "forceSync"),
|
|
1324
|
+
messageId: resolvedTarget.target.messageId,
|
|
1325
|
+
});
|
|
1326
|
+
const displayResult = {
|
|
1327
|
+
...result,
|
|
1328
|
+
query: resolvedTarget.target.query ?? result.query,
|
|
1329
|
+
};
|
|
1330
|
+
const fallback = formatEmailRead(displayResult);
|
|
1331
|
+
return respond({
|
|
1332
|
+
success: true,
|
|
1333
|
+
text: await renderReply("read_result", fallback, {
|
|
1334
|
+
message: displayResult,
|
|
1335
|
+
}),
|
|
1336
|
+
data: toActionData(displayResult),
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1339
|
+
if (subaction === "draft_reply") {
|
|
1340
|
+
let messageId = params.messageId ??
|
|
1341
|
+
detailString(details, "messageId") ??
|
|
1342
|
+
llmPlan.messageId ??
|
|
1343
|
+
latestMessageTarget?.messageId ??
|
|
1344
|
+
latestReplyDraft?.messageId;
|
|
1345
|
+
if (!messageId) {
|
|
1346
|
+
const resolvedTarget = await resolveGmailTargetMessage({
|
|
1347
|
+
service,
|
|
1348
|
+
details,
|
|
1349
|
+
explicitQueryArray,
|
|
1350
|
+
paramsQuery: params.query,
|
|
1351
|
+
llmPlan,
|
|
1352
|
+
});
|
|
1353
|
+
if (resolvedTarget.kind === "ambiguous") {
|
|
1354
|
+
const fallback = buildGmailTargetDisambiguationFallback(resolvedTarget.feed);
|
|
1355
|
+
return respond({
|
|
1356
|
+
success: false,
|
|
1357
|
+
text: await renderReply("clarify_draft_reply_target", fallback, {
|
|
1358
|
+
query: resolvedTarget.displayQuery,
|
|
1359
|
+
messages: resolvedTarget.feed.messages,
|
|
1360
|
+
}),
|
|
1361
|
+
});
|
|
1362
|
+
}
|
|
1363
|
+
messageId =
|
|
1364
|
+
resolvedTarget.kind === "resolved"
|
|
1365
|
+
? resolvedTarget.target.messageId
|
|
1366
|
+
: undefined;
|
|
1367
|
+
if (!messageId) {
|
|
1368
|
+
return respond({
|
|
1369
|
+
success: false,
|
|
1370
|
+
text: await renderReply("clarify_draft_reply_target", "Which email do you want me to draft a reply for?", {
|
|
1371
|
+
missing: ["message target"],
|
|
1372
|
+
latestMessageTarget,
|
|
1373
|
+
latestReplyDraft,
|
|
1374
|
+
}),
|
|
1375
|
+
});
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
const draftGenerationContext = await buildGmailDraftGenerationContext({
|
|
1379
|
+
runtime,
|
|
1380
|
+
message,
|
|
1381
|
+
state,
|
|
1382
|
+
});
|
|
1383
|
+
const draft = await service.createGmailReplyDraft(INTERNAL_URL, {
|
|
1384
|
+
mode: detailString(details, "mode"),
|
|
1385
|
+
side: detailString(details, "side"),
|
|
1386
|
+
messageId,
|
|
1387
|
+
tone: detailString(details, "tone"),
|
|
1388
|
+
intent: detailString(details, "draftIntent") ??
|
|
1389
|
+
detailString(details, "intent") ??
|
|
1390
|
+
intent,
|
|
1391
|
+
includeQuotedOriginal: detailBoolean(details, "includeQuotedOriginal"),
|
|
1392
|
+
...draftGenerationContext,
|
|
1393
|
+
});
|
|
1394
|
+
const fallback = formatGmailReplyDraft(draft);
|
|
1395
|
+
return respond({
|
|
1396
|
+
success: true,
|
|
1397
|
+
text: await renderReply("draft_reply", fallback, {
|
|
1398
|
+
draft,
|
|
1399
|
+
}),
|
|
1400
|
+
data: toActionData({
|
|
1401
|
+
...draft,
|
|
1402
|
+
gmailDraft: draft,
|
|
1403
|
+
gmailMessage: {
|
|
1404
|
+
messageId: draft.messageId,
|
|
1405
|
+
subject: draft.subject,
|
|
1406
|
+
query: latestMessageTarget?.query,
|
|
1407
|
+
},
|
|
1408
|
+
}),
|
|
1409
|
+
});
|
|
1410
|
+
}
|
|
1411
|
+
if (subaction === "draft_batch_replies") {
|
|
1412
|
+
const batchSearchQueries = (normalizeStringArray(details?.messageIds)?.length ?? 0)
|
|
1413
|
+
? []
|
|
1414
|
+
: resolveGmailSearchQueries([
|
|
1415
|
+
...explicitQueryArray,
|
|
1416
|
+
params.query,
|
|
1417
|
+
detailString(details, "query"),
|
|
1418
|
+
], llmPlan);
|
|
1419
|
+
const draftGenerationContext = await buildGmailDraftGenerationContext({
|
|
1420
|
+
runtime,
|
|
1421
|
+
message,
|
|
1422
|
+
state,
|
|
1423
|
+
});
|
|
1424
|
+
const request = {
|
|
1425
|
+
mode: detailString(details, "mode"),
|
|
1426
|
+
side: detailString(details, "side"),
|
|
1427
|
+
forceSync: detailBoolean(details, "forceSync"),
|
|
1428
|
+
maxResults: detailNumber(details, "maxResults") ?? 10,
|
|
1429
|
+
query: batchSearchQueries[0],
|
|
1430
|
+
messageIds: normalizeStringArray(details?.messageIds),
|
|
1431
|
+
tone: detailString(details, "tone"),
|
|
1432
|
+
intent: detailString(details, "draftIntent") ??
|
|
1433
|
+
detailString(details, "intent") ??
|
|
1434
|
+
intent,
|
|
1435
|
+
includeQuotedOriginal: detailBoolean(details, "includeQuotedOriginal"),
|
|
1436
|
+
replyNeededOnly: detailBoolean(details, "replyNeededOnly") ??
|
|
1437
|
+
llmPlan.replyNeededOnly ??
|
|
1438
|
+
false,
|
|
1439
|
+
...draftGenerationContext,
|
|
1440
|
+
};
|
|
1441
|
+
const batch = await service.createGmailBatchReplyDrafts(INTERNAL_URL, request);
|
|
1442
|
+
const fallback = formatGmailBatchReplyDrafts(batch);
|
|
1443
|
+
return respond({
|
|
1444
|
+
success: true,
|
|
1445
|
+
text: await renderReply("draft_batch_replies", fallback, {
|
|
1446
|
+
batch,
|
|
1447
|
+
}),
|
|
1448
|
+
data: toActionData(batch),
|
|
1449
|
+
});
|
|
1450
|
+
}
|
|
1451
|
+
if (subaction === "send_reply") {
|
|
1452
|
+
let messageId = params.messageId ??
|
|
1453
|
+
detailString(details, "messageId") ??
|
|
1454
|
+
llmPlan.messageId ??
|
|
1455
|
+
latestReplyDraft?.messageId ??
|
|
1456
|
+
latestMessageTarget?.messageId;
|
|
1457
|
+
if (!messageId) {
|
|
1458
|
+
const resolvedTarget = await resolveGmailTargetMessage({
|
|
1459
|
+
service,
|
|
1460
|
+
details,
|
|
1461
|
+
explicitQueryArray,
|
|
1462
|
+
paramsQuery: params.query,
|
|
1463
|
+
llmPlan,
|
|
1464
|
+
});
|
|
1465
|
+
if (resolvedTarget.kind === "ambiguous") {
|
|
1466
|
+
const fallback = buildGmailTargetDisambiguationFallback(resolvedTarget.feed);
|
|
1467
|
+
return respond({
|
|
1468
|
+
success: false,
|
|
1469
|
+
text: await renderReply("clarify_send_reply", fallback, {
|
|
1470
|
+
query: resolvedTarget.displayQuery,
|
|
1471
|
+
messages: resolvedTarget.feed.messages,
|
|
1472
|
+
}),
|
|
1473
|
+
});
|
|
1474
|
+
}
|
|
1475
|
+
messageId =
|
|
1476
|
+
resolvedTarget.kind === "resolved"
|
|
1477
|
+
? resolvedTarget.target.messageId
|
|
1478
|
+
: undefined;
|
|
1479
|
+
}
|
|
1480
|
+
const bodyText = params.bodyText ??
|
|
1481
|
+
detailString(details, "bodyText") ??
|
|
1482
|
+
latestReplyDraft?.bodyText;
|
|
1483
|
+
if (!messageId || !bodyText) {
|
|
1484
|
+
return respond({
|
|
1485
|
+
success: false,
|
|
1486
|
+
text: await renderReply("clarify_send_reply", "I need both the email you're replying to and the reply text before I can send it.", {
|
|
1487
|
+
missing: [
|
|
1488
|
+
...(!messageId ? ["messageId"] : []),
|
|
1489
|
+
...(!bodyText ? ["bodyText"] : []),
|
|
1490
|
+
],
|
|
1491
|
+
latestReplyDraft,
|
|
1492
|
+
latestMessageTarget,
|
|
1493
|
+
}),
|
|
1494
|
+
});
|
|
1495
|
+
}
|
|
1496
|
+
const result = await service.sendGmailReply(INTERNAL_URL, {
|
|
1497
|
+
mode: detailString(details, "mode"),
|
|
1498
|
+
side: detailString(details, "side"),
|
|
1499
|
+
messageId,
|
|
1500
|
+
bodyText,
|
|
1501
|
+
subject: detailString(details, "subject") ?? latestReplyDraft?.subject,
|
|
1502
|
+
to: normalizeStringArray(details?.to) ?? latestReplyDraft?.to,
|
|
1503
|
+
cc: normalizeStringArray(details?.cc) ?? latestReplyDraft?.cc,
|
|
1504
|
+
confirmSend: detailBoolean(details, "confirmSend") ?? true,
|
|
1505
|
+
});
|
|
1506
|
+
const fallback = "Gmail reply sent.";
|
|
1507
|
+
return respond({
|
|
1508
|
+
success: true,
|
|
1509
|
+
text: await renderReply("sent_reply", fallback, {
|
|
1510
|
+
result,
|
|
1511
|
+
messageId,
|
|
1512
|
+
}),
|
|
1513
|
+
data: toActionData(result),
|
|
1514
|
+
});
|
|
1515
|
+
}
|
|
1516
|
+
if (subaction === "send_message") {
|
|
1517
|
+
const to = normalizeStringArray(details?.to) ??
|
|
1518
|
+
resolvedComposeDraft.to ??
|
|
1519
|
+
llmPlan.to ??
|
|
1520
|
+
[];
|
|
1521
|
+
const cc = normalizeStringArray(details?.cc) ?? resolvedComposeDraft.cc;
|
|
1522
|
+
const bcc = normalizeStringArray(details?.bcc) ?? resolvedComposeDraft.bcc;
|
|
1523
|
+
const subject = detailString(details, "subject") ?? resolvedComposeDraft.subject;
|
|
1524
|
+
const bodyText = params.bodyText ??
|
|
1525
|
+
detailString(details, "bodyText") ??
|
|
1526
|
+
resolvedComposeDraft.bodyText;
|
|
1527
|
+
const composeDraft = buildGmailComposeDraft({
|
|
1528
|
+
status: "pending_clarification",
|
|
1529
|
+
intent,
|
|
1530
|
+
to,
|
|
1531
|
+
cc,
|
|
1532
|
+
bcc,
|
|
1533
|
+
subject,
|
|
1534
|
+
bodyText,
|
|
1535
|
+
});
|
|
1536
|
+
if (to.length === 0 || !subject || !bodyText) {
|
|
1537
|
+
const missing = [];
|
|
1538
|
+
if (to.length === 0)
|
|
1539
|
+
missing.push("recipient address");
|
|
1540
|
+
if (!subject)
|
|
1541
|
+
missing.push("subject");
|
|
1542
|
+
if (!bodyText)
|
|
1543
|
+
missing.push("body text");
|
|
1544
|
+
const fallback = `I need ${missing.join(", ")} to compose that email.`;
|
|
1545
|
+
return respond({
|
|
1546
|
+
success: false,
|
|
1547
|
+
text: await renderReply("clarify_send_message", fallback, {
|
|
1548
|
+
composeDraft,
|
|
1549
|
+
missing,
|
|
1550
|
+
}),
|
|
1551
|
+
data: {
|
|
1552
|
+
gmailDraft: composeDraft,
|
|
1553
|
+
missing,
|
|
1554
|
+
noop: true,
|
|
1555
|
+
},
|
|
1556
|
+
});
|
|
1557
|
+
}
|
|
1558
|
+
const result = await service.sendGmailMessage(INTERNAL_URL, {
|
|
1559
|
+
mode: detailString(details, "mode"),
|
|
1560
|
+
side: detailString(details, "side"),
|
|
1561
|
+
to,
|
|
1562
|
+
cc,
|
|
1563
|
+
bcc,
|
|
1564
|
+
subject,
|
|
1565
|
+
bodyText,
|
|
1566
|
+
confirmSend: detailBoolean(details, "confirmSend") ?? true,
|
|
1567
|
+
});
|
|
1568
|
+
const fallback = `sent to ${to.join(", ")}.`;
|
|
1569
|
+
return respond({
|
|
1570
|
+
success: true,
|
|
1571
|
+
text: await renderReply("sent_message", fallback, {
|
|
1572
|
+
result,
|
|
1573
|
+
to,
|
|
1574
|
+
subject,
|
|
1575
|
+
}),
|
|
1576
|
+
data: toActionData({
|
|
1577
|
+
...result,
|
|
1578
|
+
gmailDraft: buildGmailComposeDraft({
|
|
1579
|
+
status: "sent",
|
|
1580
|
+
intent,
|
|
1581
|
+
to,
|
|
1582
|
+
cc,
|
|
1583
|
+
bcc,
|
|
1584
|
+
subject,
|
|
1585
|
+
bodyText,
|
|
1586
|
+
}),
|
|
1587
|
+
}),
|
|
1588
|
+
});
|
|
1589
|
+
}
|
|
1590
|
+
const items = normalizeBatchSendItems(details) ?? latestBatchReplyDraftItems;
|
|
1591
|
+
if (!items) {
|
|
1592
|
+
return respond({
|
|
1593
|
+
success: false,
|
|
1594
|
+
text: await renderReply("clarify_send_batch_replies", "I need the list of replies to send, with each email and its reply text.", {
|
|
1595
|
+
missing: ["items"],
|
|
1596
|
+
latestBatchReplyDraftItems,
|
|
1597
|
+
}),
|
|
1598
|
+
});
|
|
1599
|
+
}
|
|
1600
|
+
const result = await service.sendGmailReplies(INTERNAL_URL, {
|
|
1601
|
+
mode: detailString(details, "mode"),
|
|
1602
|
+
side: detailString(details, "side"),
|
|
1603
|
+
confirmSend: detailBoolean(details, "confirmSend") ?? true,
|
|
1604
|
+
items,
|
|
1605
|
+
});
|
|
1606
|
+
const fallback = `Sent ${result.sentCount} Gmail repl${result.sentCount === 1 ? "y" : "ies"}.`;
|
|
1607
|
+
return respond({
|
|
1608
|
+
success: true,
|
|
1609
|
+
text: await renderReply("sent_batch_replies", fallback, {
|
|
1610
|
+
result,
|
|
1611
|
+
}),
|
|
1612
|
+
data: toActionData(result),
|
|
1613
|
+
});
|
|
1614
|
+
}
|
|
1615
|
+
catch (error) {
|
|
1616
|
+
if (error instanceof LifeOpsServiceError) {
|
|
1617
|
+
const fallback = buildGmailServiceErrorFallback(error);
|
|
1618
|
+
return respond({
|
|
1619
|
+
success: false,
|
|
1620
|
+
text: await renderReply("service_error", fallback, {
|
|
1621
|
+
status: error.status,
|
|
1622
|
+
subaction,
|
|
1623
|
+
}),
|
|
1624
|
+
});
|
|
1625
|
+
}
|
|
1626
|
+
throw error;
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1629
|
+
parameters: [
|
|
1630
|
+
{
|
|
1631
|
+
name: "subaction",
|
|
1632
|
+
description: "Gmail operation to run. Use triage, needs_response, search, read, draft_reply, draft_batch_replies, send_reply, send_batch_replies, or send_message (compose a brand-new outbound email).",
|
|
1633
|
+
required: false,
|
|
1634
|
+
schema: {
|
|
1635
|
+
type: "string",
|
|
1636
|
+
enum: [
|
|
1637
|
+
"triage",
|
|
1638
|
+
"needs_response",
|
|
1639
|
+
"search",
|
|
1640
|
+
"read",
|
|
1641
|
+
"draft_reply",
|
|
1642
|
+
"draft_batch_replies",
|
|
1643
|
+
"send_reply",
|
|
1644
|
+
"send_batch_replies",
|
|
1645
|
+
"send_message",
|
|
1646
|
+
],
|
|
1647
|
+
},
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
name: "intent",
|
|
1651
|
+
description: 'Natural language Gmail request. Examples: "what emails need a reply", "search email for investor", "read the latest email from suran", "draft a reply to message 123".',
|
|
1652
|
+
required: false,
|
|
1653
|
+
schema: { type: "string" },
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
name: "query",
|
|
1657
|
+
description: "Search query for Gmail search or batch draft selection. Use Gmail-style query fragments when helpful, such as from:suran, is:unread, newer_than:21d, subject:venue.",
|
|
1658
|
+
required: false,
|
|
1659
|
+
schema: { type: "string" },
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
name: "queries",
|
|
1663
|
+
description: "Optional array of Gmail search queries to try in order when the planner has multiple good variants.",
|
|
1664
|
+
required: false,
|
|
1665
|
+
schema: { type: "array", items: { type: "string" } },
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
name: "messageId",
|
|
1669
|
+
description: "Single Gmail message id for read, draft_reply, or send_reply operations.",
|
|
1670
|
+
required: false,
|
|
1671
|
+
schema: { type: "string" },
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
name: "bodyText",
|
|
1675
|
+
description: "Reply body for send_reply.",
|
|
1676
|
+
required: false,
|
|
1677
|
+
schema: { type: "string" },
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
name: "details",
|
|
1681
|
+
description: "Structured Gmail arguments. Supported keys include mode, side, forceSync, maxResults, query, queries, replyNeededOnly, tone, includeQuotedOriginal, messageId, messageIds, draftIntent, subject, to, cc, bodyText, confirmSend, and items for batch send.",
|
|
1682
|
+
required: false,
|
|
1683
|
+
schema: { type: "object" },
|
|
1684
|
+
},
|
|
1685
|
+
],
|
|
1686
|
+
examples: [
|
|
1687
|
+
[
|
|
1688
|
+
{
|
|
1689
|
+
name: "{{name1}}",
|
|
1690
|
+
content: { text: "Do I have any emails I need to reply to?" },
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
name: "{{agentName}}",
|
|
1694
|
+
content: {
|
|
1695
|
+
text: "Emails that likely need a reply: 3.\n- **Investor follow-up** from Jane Doe · 2h ago",
|
|
1696
|
+
},
|
|
1697
|
+
},
|
|
1698
|
+
],
|
|
1699
|
+
[
|
|
1700
|
+
{
|
|
1701
|
+
name: "{{name1}}",
|
|
1702
|
+
content: { text: "Search my email for OneBlade receipts." },
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
name: "{{agentName}}",
|
|
1706
|
+
content: { text: 'Found 2 emails for "OneBlade receipts".' },
|
|
1707
|
+
},
|
|
1708
|
+
],
|
|
1709
|
+
[
|
|
1710
|
+
{
|
|
1711
|
+
name: "{{name1}}",
|
|
1712
|
+
content: { text: "Read the latest email from Suran." },
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
name: "{{agentName}}",
|
|
1716
|
+
content: {
|
|
1717
|
+
text: "**Suran follow-up** from Suran Lee · 2d ago\n\nWanted to follow up on the last few weeks.",
|
|
1718
|
+
},
|
|
1719
|
+
},
|
|
1720
|
+
],
|
|
1721
|
+
[
|
|
1722
|
+
{
|
|
1723
|
+
name: "{{name1}}",
|
|
1724
|
+
content: {
|
|
1725
|
+
text: "Draft a reply to message abc123 thanking them and saying next week works.",
|
|
1726
|
+
},
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
name: "{{agentName}}",
|
|
1730
|
+
content: { text: "Drafted reply for **Re: Scheduling**." },
|
|
1731
|
+
},
|
|
1732
|
+
],
|
|
1733
|
+
],
|
|
1734
|
+
};
|