@elizaos/agent 2.0.0-alpha.144 → 2.0.0-alpha.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/app-lifeops/src/actions/inbox-digest.d.ts +2 -0
- package/apps/app-lifeops/src/actions/inbox-digest.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/inbox-digest.js +1 -0
- package/apps/app-lifeops/src/actions/inbox-respond.d.ts +2 -0
- package/apps/app-lifeops/src/actions/inbox-respond.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/inbox-respond.js +1 -0
- package/apps/app-lifeops/src/actions/inbox-triage.d.ts +2 -0
- package/apps/app-lifeops/src/actions/inbox-triage.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/inbox-triage.js +1 -0
- package/apps/app-lifeops/src/actions/inbox.d.ts +3 -0
- package/apps/app-lifeops/src/actions/inbox.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/inbox.js +856 -0
- package/apps/app-lifeops/src/actions/update-owner-profile.d.ts +3 -0
- package/apps/app-lifeops/src/actions/update-owner-profile.d.ts.map +1 -0
- package/apps/app-lifeops/src/actions/update-owner-profile.js +131 -0
- package/apps/app-lifeops/src/inbox/channel-deep-links.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/config.d.ts.map +1 -0
- package/{packages/agent → apps/app-lifeops}/src/inbox/config.js +1 -1
- package/apps/app-lifeops/src/inbox/message-fetcher.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/reflection.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/repository.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/triage-classifier.d.ts.map +1 -0
- package/apps/app-lifeops/src/inbox/types.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/index.d.ts +25 -0
- package/apps/app-lifeops/src/lifeops/index.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/index.js +24 -0
- package/apps/app-lifeops/src/lifeops/screen-context.d.ts +52 -0
- package/apps/app-lifeops/src/lifeops/screen-context.d.ts.map +1 -0
- package/apps/app-lifeops/src/lifeops/screen-context.js +332 -0
- package/apps/app-lifeops/src/plugin.d.ts +3 -0
- package/apps/app-lifeops/src/plugin.d.ts.map +1 -1
- package/apps/app-lifeops/src/plugin.js +16 -3
- package/apps/app-lifeops/src/providers/inbox-triage.d.ts +3 -0
- package/apps/app-lifeops/src/providers/inbox-triage.d.ts.map +1 -0
- package/apps/app-lifeops/src/providers/inbox-triage.js +89 -0
- package/package.json +6 -4
- package/packages/agent/src/actions/calendar.d.ts +1 -18
- package/packages/agent/src/actions/calendar.d.ts.map +1 -1
- package/packages/agent/src/actions/calendar.js +1 -3143
- package/packages/agent/src/actions/check-balance.d.ts +17 -0
- package/packages/agent/src/actions/check-balance.d.ts.map +1 -0
- package/packages/agent/src/actions/check-balance.js +167 -0
- package/packages/agent/src/actions/connector-resolver.d.ts +75 -0
- package/packages/agent/src/actions/connector-resolver.d.ts.map +1 -0
- package/packages/agent/src/actions/connector-resolver.js +245 -0
- package/packages/agent/src/actions/context-signal-lexicon.d.ts +1 -1
- package/packages/agent/src/actions/context-signal-lexicon.d.ts.map +1 -1
- package/packages/agent/src/actions/context-signal-lexicon.js +6 -0
- package/packages/agent/src/actions/eject-plugin.d.ts +3 -0
- package/packages/agent/src/actions/eject-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/eject-plugin.js +48 -0
- package/packages/agent/src/actions/execute-trade.d.ts +17 -0
- package/packages/agent/src/actions/execute-trade.d.ts.map +1 -0
- package/packages/agent/src/actions/execute-trade.js +299 -0
- package/packages/agent/src/actions/get-self-status.d.ts +13 -0
- package/packages/agent/src/actions/get-self-status.d.ts.map +1 -0
- package/packages/agent/src/actions/get-self-status.js +66 -0
- package/packages/agent/src/actions/gmail.d.ts +1 -32
- package/packages/agent/src/actions/gmail.d.ts.map +1 -1
- package/packages/agent/src/actions/gmail.js +1 -1734
- package/packages/agent/src/actions/inbox-digest.d.ts +1 -1
- package/packages/agent/src/actions/inbox-digest.d.ts.map +1 -1
- package/packages/agent/src/actions/inbox-digest.js +1 -1
- package/packages/agent/src/actions/inbox-respond.d.ts +1 -1
- package/packages/agent/src/actions/inbox-respond.d.ts.map +1 -1
- package/packages/agent/src/actions/inbox-respond.js +1 -1
- package/packages/agent/src/actions/inbox-triage.d.ts +1 -1
- package/packages/agent/src/actions/inbox-triage.d.ts.map +1 -1
- package/packages/agent/src/actions/inbox-triage.js +1 -1
- package/packages/agent/src/actions/inbox.d.ts +1 -2
- package/packages/agent/src/actions/inbox.d.ts.map +1 -1
- package/packages/agent/src/actions/inbox.js +1 -856
- package/packages/agent/src/actions/index.d.ts +13 -0
- package/packages/agent/src/actions/index.d.ts.map +1 -1
- package/packages/agent/src/actions/index.js +13 -0
- package/packages/agent/src/actions/install-plugin.d.ts +3 -0
- package/packages/agent/src/actions/install-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/install-plugin.js +65 -0
- package/packages/agent/src/actions/life-goal-extractor.d.ts +1 -68
- package/packages/agent/src/actions/life-goal-extractor.d.ts.map +1 -1
- package/packages/agent/src/actions/life-goal-extractor.js +1 -354
- package/packages/agent/src/actions/life-param-extractor.d.ts +1 -77
- package/packages/agent/src/actions/life-param-extractor.d.ts.map +1 -1
- package/packages/agent/src/actions/life-param-extractor.js +1 -423
- package/packages/agent/src/actions/life-recent-context.d.ts +1 -8
- package/packages/agent/src/actions/life-recent-context.d.ts.map +1 -1
- package/packages/agent/src/actions/life-recent-context.js +1 -84
- package/packages/agent/src/actions/life-update-extractor.d.ts +1 -26
- package/packages/agent/src/actions/life-update-extractor.d.ts.map +1 -1
- package/packages/agent/src/actions/life-update-extractor.js +1 -195
- package/packages/agent/src/actions/life.d.ts +1 -8
- package/packages/agent/src/actions/life.d.ts.map +1 -1
- package/packages/agent/src/actions/life.extractor.d.ts +1 -17
- package/packages/agent/src/actions/life.extractor.d.ts.map +1 -1
- package/packages/agent/src/actions/life.extractor.js +1 -264
- package/packages/agent/src/actions/life.js +1 -3379
- package/packages/agent/src/actions/lifeops-extraction-config.d.ts +1 -15
- package/packages/agent/src/actions/lifeops-extraction-config.d.ts.map +1 -1
- package/packages/agent/src/actions/lifeops-extraction-config.js +1 -25
- package/packages/agent/src/actions/lifeops-google-helpers.d.ts +1 -61
- package/packages/agent/src/actions/lifeops-google-helpers.d.ts.map +1 -1
- package/packages/agent/src/actions/lifeops-google-helpers.js +1 -607
- package/packages/agent/src/actions/list-ejected.d.ts +3 -0
- package/packages/agent/src/actions/list-ejected.d.ts.map +1 -0
- package/packages/agent/src/actions/list-ejected.js +35 -0
- package/packages/agent/src/actions/log-level.d.ts +3 -0
- package/packages/agent/src/actions/log-level.d.ts.map +1 -0
- package/packages/agent/src/actions/log-level.js +125 -0
- package/packages/agent/src/actions/manage-tasks.d.ts.map +1 -1
- package/packages/agent/src/actions/manage-tasks.js +51 -15
- package/packages/agent/src/actions/media.d.ts +21 -0
- package/packages/agent/src/actions/media.d.ts.map +1 -0
- package/packages/agent/src/actions/media.js +384 -0
- package/packages/agent/src/actions/read-messages.d.ts +14 -0
- package/packages/agent/src/actions/read-messages.d.ts.map +1 -0
- package/packages/agent/src/actions/read-messages.js +228 -0
- package/packages/agent/src/actions/reinject-plugin.d.ts +3 -0
- package/packages/agent/src/actions/reinject-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/reinject-plugin.js +47 -0
- package/packages/agent/src/actions/send-message.d.ts +0 -7
- package/packages/agent/src/actions/send-message.d.ts.map +1 -1
- package/packages/agent/src/actions/send-message.js +170 -49
- package/packages/agent/src/actions/sync-plugin.d.ts +3 -0
- package/packages/agent/src/actions/sync-plugin.d.ts.map +1 -0
- package/packages/agent/src/actions/sync-plugin.js +47 -0
- package/packages/agent/src/actions/timezone-normalization.d.ts +1 -2
- package/packages/agent/src/actions/timezone-normalization.d.ts.map +1 -1
- package/packages/agent/src/actions/timezone-normalization.js +1 -107
- package/packages/agent/src/actions/transfer-token.d.ts +17 -0
- package/packages/agent/src/actions/transfer-token.d.ts.map +1 -0
- package/packages/agent/src/actions/transfer-token.js +470 -0
- package/packages/agent/src/actions/update-owner-profile.d.ts +1 -2
- package/packages/agent/src/actions/update-owner-profile.d.ts.map +1 -1
- package/packages/agent/src/actions/update-owner-profile.js +1 -131
- package/packages/agent/src/actions/wallet-action-shared.d.ts +15 -0
- package/packages/agent/src/actions/wallet-action-shared.d.ts.map +1 -0
- package/packages/agent/src/actions/wallet-action-shared.js +24 -0
- package/packages/agent/src/api/agent-admin-routes.d.ts.map +1 -1
- package/packages/agent/src/api/agent-admin-routes.js +1 -1
- package/packages/agent/src/api/binance-skill-helpers.d.ts.map +1 -1
- package/packages/agent/src/api/binance-skill-helpers.js +8 -3
- package/packages/agent/src/api/chat-routes.d.ts.map +1 -1
- package/packages/agent/src/api/chat-routes.js +20 -5
- package/packages/agent/src/api/coding-agents-auth-sanitize.d.ts +1 -22
- package/packages/agent/src/api/coding-agents-auth-sanitize.d.ts.map +1 -1
- package/packages/agent/src/api/coding-agents-auth-sanitize.js +1 -39
- package/packages/agent/src/api/coding-agents-preflight-normalize.d.ts +1 -28
- package/packages/agent/src/api/coding-agents-preflight-normalize.d.ts.map +1 -1
- package/packages/agent/src/api/coding-agents-preflight-normalize.js +1 -45
- package/packages/agent/src/api/coordinator-types.d.ts +1 -46
- package/packages/agent/src/api/coordinator-types.d.ts.map +1 -1
- package/packages/agent/src/api/coordinator-types.js +1 -1
- package/packages/agent/src/api/coordinator-wiring.d.ts +1 -45
- package/packages/agent/src/api/coordinator-wiring.d.ts.map +1 -1
- package/packages/agent/src/api/coordinator-wiring.js +1 -108
- package/packages/agent/src/api/index.d.ts +1 -1
- package/packages/agent/src/api/index.d.ts.map +1 -1
- package/packages/agent/src/api/index.js +1 -1
- package/packages/agent/src/api/lifeops-browser-packaging.d.ts +1 -15
- package/packages/agent/src/api/lifeops-browser-packaging.d.ts.map +1 -1
- package/packages/agent/src/api/lifeops-browser-packaging.js +1 -305
- package/packages/agent/src/api/lifeops-routes.d.ts +1 -19
- package/packages/agent/src/api/lifeops-routes.d.ts.map +1 -1
- package/packages/agent/src/api/lifeops-routes.js +1 -1173
- package/packages/agent/src/api/server.d.ts.map +1 -1
- package/packages/agent/src/api/server.js +6 -6
- package/packages/agent/src/api/task-agent-message-routing.d.ts +1 -9
- package/packages/agent/src/api/task-agent-message-routing.d.ts.map +1 -1
- package/packages/agent/src/api/task-agent-message-routing.js +1 -62
- package/packages/agent/src/api/website-blocker-routes.d.ts +1 -6
- package/packages/agent/src/api/website-blocker-routes.d.ts.map +1 -1
- package/packages/agent/src/api/website-blocker-routes.js +1 -174
- package/packages/agent/src/config/types.agent-defaults.d.ts +1 -1
- package/packages/agent/src/config/types.agent-defaults.d.ts.map +1 -1
- package/packages/agent/src/evals/coordinator-eval-client.d.ts +1 -38
- package/packages/agent/src/evals/coordinator-eval-client.d.ts.map +1 -1
- package/packages/agent/src/evals/coordinator-eval-client.js +1 -138
- package/packages/agent/src/evals/coordinator-live-runner.d.ts +1 -56
- package/packages/agent/src/evals/coordinator-live-runner.d.ts.map +1 -1
- package/packages/agent/src/evals/coordinator-live-runner.js +1 -546
- package/packages/agent/src/evals/coordinator-preflight.d.ts +1 -31
- package/packages/agent/src/evals/coordinator-preflight.d.ts.map +1 -1
- package/packages/agent/src/evals/coordinator-preflight.js +1 -296
- package/packages/agent/src/evals/coordinator-scenarios.d.ts +1 -23
- package/packages/agent/src/evals/coordinator-scenarios.d.ts.map +1 -1
- package/packages/agent/src/evals/coordinator-scenarios.js +1 -1141
- package/packages/agent/src/lifeops/app-state.d.ts +1 -10
- package/packages/agent/src/lifeops/app-state.d.ts.map +1 -1
- package/packages/agent/src/lifeops/app-state.js +1 -32
- package/packages/agent/src/lifeops/apple-reminders.d.ts +1 -57
- package/packages/agent/src/lifeops/apple-reminders.d.ts.map +1 -1
- package/packages/agent/src/lifeops/apple-reminders.js +1 -325
- package/packages/agent/src/lifeops/defaults.d.ts +1 -23
- package/packages/agent/src/lifeops/defaults.d.ts.map +1 -1
- package/packages/agent/src/lifeops/defaults.js +1 -205
- package/packages/agent/src/lifeops/engine.d.ts +1 -7
- package/packages/agent/src/lifeops/engine.d.ts.map +1 -1
- package/packages/agent/src/lifeops/engine.js +1 -389
- package/packages/agent/src/lifeops/goal-grounding.d.ts +1 -53
- package/packages/agent/src/lifeops/goal-grounding.d.ts.map +1 -1
- package/packages/agent/src/lifeops/goal-grounding.js +1 -147
- package/packages/agent/src/lifeops/goal-semantic-evaluator.d.ts +1 -11
- package/packages/agent/src/lifeops/goal-semantic-evaluator.d.ts.map +1 -1
- package/packages/agent/src/lifeops/goal-semantic-evaluator.js +1 -154
- package/packages/agent/src/lifeops/google-api-error.d.ts +1 -6
- package/packages/agent/src/lifeops/google-api-error.d.ts.map +1 -1
- package/packages/agent/src/lifeops/google-api-error.js +1 -35
- package/packages/agent/src/lifeops/google-calendar.d.ts +1 -52
- package/packages/agent/src/lifeops/google-calendar.d.ts.map +1 -1
- package/packages/agent/src/lifeops/google-calendar.js +1 -268
- package/packages/agent/src/lifeops/google-connector-gateway.d.ts +1 -18
- package/packages/agent/src/lifeops/google-connector-gateway.d.ts.map +1 -1
- package/packages/agent/src/lifeops/google-connector-gateway.js +1 -65
- package/packages/agent/src/lifeops/google-fetch.d.ts +1 -10
- package/packages/agent/src/lifeops/google-fetch.d.ts.map +1 -1
- package/packages/agent/src/lifeops/google-fetch.js +1 -85
- package/packages/agent/src/lifeops/google-gmail.d.ts +1 -53
- package/packages/agent/src/lifeops/google-gmail.d.ts.map +1 -1
- package/packages/agent/src/lifeops/google-gmail.js +1 -471
- package/packages/agent/src/lifeops/google-managed-client.d.ts +1 -126
- package/packages/agent/src/lifeops/google-managed-client.d.ts.map +1 -1
- package/packages/agent/src/lifeops/google-managed-client.js +1 -294
- package/packages/agent/src/lifeops/google-oauth.d.ts +1 -60
- package/packages/agent/src/lifeops/google-oauth.d.ts.map +1 -1
- package/packages/agent/src/lifeops/google-oauth.js +1 -494
- package/packages/agent/src/lifeops/google-scopes.d.ts +1 -12
- package/packages/agent/src/lifeops/google-scopes.d.ts.map +1 -1
- package/packages/agent/src/lifeops/google-scopes.js +1 -96
- package/packages/agent/src/lifeops/index.d.ts +1 -2
- package/packages/agent/src/lifeops/index.d.ts.map +1 -1
- package/packages/agent/src/lifeops/index.js +1 -2
- package/packages/agent/src/lifeops/owner-profile.d.ts +1 -14
- package/packages/agent/src/lifeops/owner-profile.d.ts.map +1 -1
- package/packages/agent/src/lifeops/owner-profile.js +1 -194
- package/packages/agent/src/lifeops/repository.d.ts +1 -208
- package/packages/agent/src/lifeops/repository.d.ts.map +1 -1
- package/packages/agent/src/lifeops/repository.js +1 -3187
- package/packages/agent/src/lifeops/runtime.d.ts +1 -13
- package/packages/agent/src/lifeops/runtime.d.ts.map +1 -1
- package/packages/agent/src/lifeops/runtime.js +1 -120
- package/packages/agent/src/lifeops/screen-context.d.ts +1 -51
- package/packages/agent/src/lifeops/screen-context.d.ts.map +1 -1
- package/packages/agent/src/lifeops/screen-context.js +1 -332
- package/packages/agent/src/lifeops/seed-routines.d.ts +1 -19
- package/packages/agent/src/lifeops/seed-routines.d.ts.map +1 -1
- package/packages/agent/src/lifeops/seed-routines.js +1 -111
- package/packages/agent/src/lifeops/service.d.ts +1 -274
- package/packages/agent/src/lifeops/service.d.ts.map +1 -1
- package/packages/agent/src/lifeops/service.js +1 -9260
- package/packages/agent/src/lifeops/sql.d.ts +1 -30
- package/packages/agent/src/lifeops/sql.d.ts.map +1 -1
- package/packages/agent/src/lifeops/sql.js +1 -247
- package/packages/agent/src/lifeops/time.d.ts +1 -16
- package/packages/agent/src/lifeops/time.d.ts.map +1 -1
- package/packages/agent/src/lifeops/time.js +1 -132
- package/packages/agent/src/lifeops/twilio.d.ts +1 -24
- package/packages/agent/src/lifeops/twilio.d.ts.map +1 -1
- package/packages/agent/src/lifeops/twilio.js +1 -157
- package/packages/agent/src/lifeops/x-poster.d.ts +1 -18
- package/packages/agent/src/lifeops/x-poster.d.ts.map +1 -1
- package/packages/agent/src/lifeops/x-poster.js +1 -148
- package/packages/agent/src/providers/inbox-triage.d.ts +1 -2
- package/packages/agent/src/providers/inbox-triage.d.ts.map +1 -1
- package/packages/agent/src/providers/inbox-triage.js +1 -89
- package/packages/agent/src/providers/index.d.ts +4 -1
- package/packages/agent/src/providers/index.d.ts.map +1 -1
- package/packages/agent/src/providers/index.js +4 -1
- package/packages/agent/src/providers/lifeops.d.ts +1 -2
- package/packages/agent/src/providers/lifeops.d.ts.map +1 -1
- package/packages/agent/src/providers/lifeops.js +1 -157
- package/packages/agent/src/providers/local-models.d.ts +118 -0
- package/packages/agent/src/providers/local-models.d.ts.map +1 -0
- package/packages/agent/src/providers/local-models.js +427 -0
- package/packages/agent/src/providers/media-provider.d.ts +192 -0
- package/packages/agent/src/providers/media-provider.d.ts.map +1 -0
- package/packages/agent/src/providers/media-provider.js +1088 -0
- package/packages/agent/src/providers/self-status.d.ts +4 -0
- package/packages/agent/src/providers/self-status.d.ts.map +1 -0
- package/packages/agent/src/providers/self-status.js +12 -0
- package/packages/agent/src/providers/tasks.d.ts.map +1 -1
- package/packages/agent/src/providers/tasks.js +7 -7
- package/packages/agent/src/runtime/core-plugins.js +1 -1
- package/packages/agent/src/runtime/eliza-plugin.d.ts.map +1 -1
- package/packages/agent/src/runtime/eliza-plugin.js +1 -7
- package/packages/agent/src/runtime/eliza.js +2 -2
- package/packages/agent/src/runtime/plugin-collector.js +3 -3
- package/packages/agent/src/runtime/plugin-lifecycle.d.ts.map +1 -1
- package/packages/agent/src/runtime/plugin-lifecycle.js +3 -13
- package/packages/agent/src/runtime/trajectory-internals.d.ts.map +1 -1
- package/packages/agent/src/runtime/trajectory-internals.js +1 -3
- package/packages/agent/src/services/built-in-app-routes/hyperscape.d.ts.map +1 -1
- package/packages/agent/src/services/coding-task-executor.d.ts +3 -3
- package/packages/agent/src/services/coding-task-executor.js +3 -3
- package/packages/shared/src/awareness/index.d.ts +2 -0
- package/packages/shared/src/awareness/index.d.ts.map +1 -0
- package/packages/shared/src/awareness/index.js +1 -0
- package/packages/shared/src/awareness/registry.d.ts +27 -0
- package/packages/shared/src/awareness/registry.d.ts.map +1 -0
- package/packages/shared/src/awareness/registry.js +161 -0
- package/packages/shared/src/i18n/generated/validation-keyword-data.d.ts +24 -0
- package/packages/shared/src/i18n/generated/validation-keyword-data.d.ts.map +1 -1
- package/packages/shared/src/i18n/generated/validation-keyword-data.js +24 -0
- package/packages/shared/src/runtime-env.d.ts.map +1 -1
- package/packages/shared/src/runtime-env.js +5 -1
- package/packages/typescript/src/generated/action-docs.d.ts +135 -0
- package/packages/typescript/src/generated/action-docs.d.ts.map +1 -1
- package/packages/typescript/src/generated/action-docs.js +237 -0
- package/packages/typescript/src/i18n/generated/validation-keyword-data.d.ts +24 -0
- package/packages/typescript/src/i18n/generated/validation-keyword-data.d.ts.map +1 -1
- package/packages/typescript/src/i18n/generated/validation-keyword-data.js +24 -0
- package/packages/typescript/src/index.node.d.ts +2 -2
- package/packages/typescript/src/index.node.d.ts.map +1 -1
- package/packages/typescript/src/index.node.js +4 -3
- package/packages/typescript/src/plugin-lifecycle.d.ts.map +1 -1
- package/packages/typescript/src/plugin-lifecycle.js +42 -3
- package/packages/typescript/src/services/message.d.ts.map +1 -1
- package/packages/typescript/src/services/message.js +32 -0
- package/apps/app-training/src/core/cli.d.ts +0 -11
- package/apps/app-training/src/core/cli.d.ts.map +0 -1
- package/apps/app-training/src/core/cli.js +0 -302
- package/apps/app-training/src/core/context-audit.d.ts +0 -51
- package/apps/app-training/src/core/context-audit.d.ts.map +0 -1
- package/apps/app-training/src/core/context-audit.js +0 -141
- package/apps/app-training/src/core/context-catalog.d.ts +0 -47
- package/apps/app-training/src/core/context-catalog.d.ts.map +0 -1
- package/apps/app-training/src/core/context-catalog.js +0 -259
- package/apps/app-training/src/core/context-types.d.ts +0 -3
- package/apps/app-training/src/core/context-types.d.ts.map +0 -1
- package/apps/app-training/src/core/context-types.js +0 -11
- package/apps/app-training/src/core/dataset-generator.d.ts +0 -135
- package/apps/app-training/src/core/dataset-generator.d.ts.map +0 -1
- package/apps/app-training/src/core/dataset-generator.js +0 -703
- package/apps/app-training/src/core/replay-validator.d.ts +0 -96
- package/apps/app-training/src/core/replay-validator.d.ts.map +0 -1
- package/apps/app-training/src/core/replay-validator.js +0 -265
- package/apps/app-training/src/core/roleplay-executor.d.ts +0 -123
- package/apps/app-training/src/core/roleplay-executor.d.ts.map +0 -1
- package/apps/app-training/src/core/roleplay-executor.js +0 -645
- package/apps/app-training/src/core/roleplay-trajectories.d.ts +0 -54
- package/apps/app-training/src/core/roleplay-trajectories.d.ts.map +0 -1
- package/apps/app-training/src/core/roleplay-trajectories.js +0 -73
- package/apps/app-training/src/core/scenario-blueprints.d.ts +0 -62
- package/apps/app-training/src/core/scenario-blueprints.d.ts.map +0 -1
- package/apps/app-training/src/core/scenario-blueprints.js +0 -790
- package/apps/app-training/src/core/trajectory-task-datasets.d.ts +0 -38
- package/apps/app-training/src/core/trajectory-task-datasets.d.ts.map +0 -1
- package/apps/app-training/src/core/trajectory-task-datasets.js +0 -281
- package/apps/app-training/src/core/vertex-tuning.d.ts +0 -139
- package/apps/app-training/src/core/vertex-tuning.d.ts.map +0 -1
- package/apps/app-training/src/core/vertex-tuning.js +0 -234
- package/packages/agent/src/inbox/channel-deep-links.d.ts.map +0 -1
- package/packages/agent/src/inbox/config.d.ts.map +0 -1
- package/packages/agent/src/inbox/message-fetcher.d.ts.map +0 -1
- package/packages/agent/src/inbox/reflection.d.ts.map +0 -1
- package/packages/agent/src/inbox/repository.d.ts.map +0 -1
- package/packages/agent/src/inbox/triage-classifier.d.ts.map +0 -1
- package/packages/agent/src/inbox/types.d.ts.map +0 -1
- package/packages/agent/src/training/cli.d.ts +0 -2
- package/packages/agent/src/training/cli.d.ts.map +0 -1
- package/packages/agent/src/training/cli.js +0 -2
- package/packages/agent/src/training/context-audit.d.ts +0 -2
- package/packages/agent/src/training/context-audit.d.ts.map +0 -1
- package/packages/agent/src/training/context-audit.js +0 -2
- package/packages/agent/src/training/context-catalog.d.ts +0 -2
- package/packages/agent/src/training/context-catalog.d.ts.map +0 -1
- package/packages/agent/src/training/context-catalog.js +0 -2
- package/packages/agent/src/training/context-types.d.ts +0 -2
- package/packages/agent/src/training/context-types.d.ts.map +0 -1
- package/packages/agent/src/training/context-types.js +0 -2
- package/packages/agent/src/training/dataset-generator.d.ts +0 -2
- package/packages/agent/src/training/dataset-generator.d.ts.map +0 -1
- package/packages/agent/src/training/dataset-generator.js +0 -2
- package/packages/agent/src/training/replay-validator.d.ts +0 -2
- package/packages/agent/src/training/replay-validator.d.ts.map +0 -1
- package/packages/agent/src/training/replay-validator.js +0 -2
- package/packages/agent/src/training/roleplay-executor.d.ts +0 -2
- package/packages/agent/src/training/roleplay-executor.d.ts.map +0 -1
- package/packages/agent/src/training/roleplay-executor.js +0 -2
- package/packages/agent/src/training/roleplay-trajectories.d.ts +0 -2
- package/packages/agent/src/training/roleplay-trajectories.d.ts.map +0 -1
- package/packages/agent/src/training/roleplay-trajectories.js +0 -2
- package/packages/agent/src/training/scenario-blueprints.d.ts +0 -2
- package/packages/agent/src/training/scenario-blueprints.d.ts.map +0 -1
- package/packages/agent/src/training/scenario-blueprints.js +0 -2
- package/packages/agent/src/training/trajectory-task-datasets.d.ts +0 -2
- package/packages/agent/src/training/trajectory-task-datasets.d.ts.map +0 -1
- package/packages/agent/src/training/trajectory-task-datasets.js +0 -2
- package/packages/agent/src/training/vertex-tuning.d.ts +0 -2
- package/packages/agent/src/training/vertex-tuning.d.ts.map +0 -1
- package/packages/agent/src/training/vertex-tuning.js +0 -2
- package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.d.ts +0 -41
- package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/coding-task-handlers.js +0 -443
- package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.d.ts +0 -34
- package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/coding-task-helpers.js +0 -171
- package/packages/typescript/src/features/orchestrator/actions/eval-metadata.d.ts +0 -11
- package/packages/typescript/src/features/orchestrator/actions/eval-metadata.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/eval-metadata.js +0 -55
- package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.d.ts +0 -11
- package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/finalize-workspace.js +0 -214
- package/packages/typescript/src/features/orchestrator/actions/list-agents.d.ts +0 -13
- package/packages/typescript/src/features/orchestrator/actions/list-agents.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/list-agents.js +0 -174
- package/packages/typescript/src/features/orchestrator/actions/manage-issues.d.ts +0 -11
- package/packages/typescript/src/features/orchestrator/actions/manage-issues.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/manage-issues.js +0 -428
- package/packages/typescript/src/features/orchestrator/actions/provision-workspace.d.ts +0 -11
- package/packages/typescript/src/features/orchestrator/actions/provision-workspace.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/provision-workspace.js +0 -189
- package/packages/typescript/src/features/orchestrator/actions/send-to-agent.d.ts +0 -12
- package/packages/typescript/src/features/orchestrator/actions/send-to-agent.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/send-to-agent.js +0 -265
- package/packages/typescript/src/features/orchestrator/actions/spawn-agent.d.ts +0 -12
- package/packages/typescript/src/features/orchestrator/actions/spawn-agent.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/spawn-agent.js +0 -356
- package/packages/typescript/src/features/orchestrator/actions/start-coding-task.d.ts +0 -22
- package/packages/typescript/src/features/orchestrator/actions/start-coding-task.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/start-coding-task.js +0 -270
- package/packages/typescript/src/features/orchestrator/actions/stop-agent.d.ts +0 -12
- package/packages/typescript/src/features/orchestrator/actions/stop-agent.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/stop-agent.js +0 -192
- package/packages/typescript/src/features/orchestrator/actions/task-control.d.ts +0 -3
- package/packages/typescript/src/features/orchestrator/actions/task-control.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/task-control.js +0 -217
- package/packages/typescript/src/features/orchestrator/actions/task-history.d.ts +0 -3
- package/packages/typescript/src/features/orchestrator/actions/task-history.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/task-history.js +0 -323
- package/packages/typescript/src/features/orchestrator/actions/task-share.d.ts +0 -3
- package/packages/typescript/src/features/orchestrator/actions/task-share.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/task-share.js +0 -168
- package/packages/typescript/src/features/orchestrator/actions/task-thread-target.d.ts +0 -11
- package/packages/typescript/src/features/orchestrator/actions/task-thread-target.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/actions/task-thread-target.js +0 -68
- package/packages/typescript/src/features/orchestrator/api/agent-routes.d.ts +0 -18
- package/packages/typescript/src/features/orchestrator/api/agent-routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/agent-routes.js +0 -654
- package/packages/typescript/src/features/orchestrator/api/coordinator-routes.d.ts +0 -22
- package/packages/typescript/src/features/orchestrator/api/coordinator-routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/coordinator-routes.js +0 -403
- package/packages/typescript/src/features/orchestrator/api/hook-routes.d.ts +0 -18
- package/packages/typescript/src/features/orchestrator/api/hook-routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/hook-routes.js +0 -164
- package/packages/typescript/src/features/orchestrator/api/issue-routes.d.ts +0 -17
- package/packages/typescript/src/features/orchestrator/api/issue-routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/issue-routes.js +0 -132
- package/packages/typescript/src/features/orchestrator/api/routes.d.ts +0 -37
- package/packages/typescript/src/features/orchestrator/api/routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/routes.js +0 -96
- package/packages/typescript/src/features/orchestrator/api/workspace-routes.d.ts +0 -17
- package/packages/typescript/src/features/orchestrator/api/workspace-routes.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/api/workspace-routes.js +0 -149
- package/packages/typescript/src/features/orchestrator/base-plugin.d.ts +0 -19
- package/packages/typescript/src/features/orchestrator/base-plugin.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/base-plugin.js +0 -75
- package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.d.ts +0 -101
- package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/claude-jsonl-completion-watcher.js +0 -310
- package/packages/typescript/src/features/orchestrator/index.d.ts +0 -33
- package/packages/typescript/src/features/orchestrator/index.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/index.js +0 -30
- package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.d.ts +0 -15
- package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/patch-agent-orchestrator-plugin.js +0 -1449
- package/packages/typescript/src/features/orchestrator/providers/action-examples.d.ts +0 -14
- package/packages/typescript/src/features/orchestrator/providers/action-examples.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/providers/action-examples.js +0 -151
- package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.d.ts +0 -13
- package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/providers/active-workspace-context.js +0 -142
- package/packages/typescript/src/features/orchestrator/services/agent-credentials.d.ts +0 -6
- package/packages/typescript/src/features/orchestrator/services/agent-credentials.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/agent-credentials.js +0 -91
- package/packages/typescript/src/features/orchestrator/services/agent-metrics.d.ts +0 -30
- package/packages/typescript/src/features/orchestrator/services/agent-metrics.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/agent-metrics.js +0 -54
- package/packages/typescript/src/features/orchestrator/services/agent-selection.d.ts +0 -53
- package/packages/typescript/src/features/orchestrator/services/agent-selection.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/agent-selection.js +0 -70
- package/packages/typescript/src/features/orchestrator/services/ansi-utils.d.ts +0 -61
- package/packages/typescript/src/features/orchestrator/services/ansi-utils.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/ansi-utils.js +0 -252
- package/packages/typescript/src/features/orchestrator/services/config-env.d.ts +0 -13
- package/packages/typescript/src/features/orchestrator/services/config-env.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/config-env.js +0 -37
- package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.d.ts +0 -50
- package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/coordinator-event-normalizer.js +0 -184
- package/packages/typescript/src/features/orchestrator/services/debug-capture.d.ts +0 -38
- package/packages/typescript/src/features/orchestrator/services/debug-capture.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/debug-capture.js +0 -113
- package/packages/typescript/src/features/orchestrator/services/pty-auto-response.d.ts +0 -30
- package/packages/typescript/src/features/orchestrator/services/pty-auto-response.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-auto-response.js +0 -146
- package/packages/typescript/src/features/orchestrator/services/pty-init.d.ts +0 -54
- package/packages/typescript/src/features/orchestrator/services/pty-init.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-init.js +0 -315
- package/packages/typescript/src/features/orchestrator/services/pty-service.d.ts +0 -175
- package/packages/typescript/src/features/orchestrator/services/pty-service.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-service.js +0 -1469
- package/packages/typescript/src/features/orchestrator/services/pty-session-io.d.ts +0 -49
- package/packages/typescript/src/features/orchestrator/services/pty-session-io.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-session-io.js +0 -180
- package/packages/typescript/src/features/orchestrator/services/pty-spawn.d.ts +0 -53
- package/packages/typescript/src/features/orchestrator/services/pty-spawn.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-spawn.js +0 -280
- package/packages/typescript/src/features/orchestrator/services/pty-types.d.ts +0 -80
- package/packages/typescript/src/features/orchestrator/services/pty-types.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/pty-types.js +0 -51
- package/packages/typescript/src/features/orchestrator/services/repo-input.d.ts +0 -16
- package/packages/typescript/src/features/orchestrator/services/repo-input.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/repo-input.js +0 -88
- package/packages/typescript/src/features/orchestrator/services/stall-classifier.d.ts +0 -69
- package/packages/typescript/src/features/orchestrator/services/stall-classifier.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/stall-classifier.js +0 -446
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.d.ts +0 -97
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator-prompts.js +0 -342
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.d.ts +0 -421
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-coordinator.js +0 -2356
- package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.d.ts +0 -52
- package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-decision-loop.js +0 -1538
- package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.d.ts +0 -49
- package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-event-triage.js +0 -171
- package/packages/typescript/src/features/orchestrator/services/swarm-history.d.ts +0 -27
- package/packages/typescript/src/features/orchestrator/services/swarm-history.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-history.js +0 -148
- package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.d.ts +0 -22
- package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/swarm-idle-watchdog.js +0 -265
- package/packages/typescript/src/features/orchestrator/services/task-acceptance.d.ts +0 -8
- package/packages/typescript/src/features/orchestrator/services/task-acceptance.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-acceptance.js +0 -114
- package/packages/typescript/src/features/orchestrator/services/task-agent-auth.d.ts +0 -68
- package/packages/typescript/src/features/orchestrator/services/task-agent-auth.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-agent-auth.js +0 -559
- package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.d.ts +0 -82
- package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-agent-frameworks.js +0 -738
- package/packages/typescript/src/features/orchestrator/services/task-kind.d.ts +0 -3
- package/packages/typescript/src/features/orchestrator/services/task-kind.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-kind.js +0 -40
- package/packages/typescript/src/features/orchestrator/services/task-policy.d.ts +0 -17
- package/packages/typescript/src/features/orchestrator/services/task-policy.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-policy.js +0 -226
- package/packages/typescript/src/features/orchestrator/services/task-registry.d.ts +0 -550
- package/packages/typescript/src/features/orchestrator/services/task-registry.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-registry.js +0 -2182
- package/packages/typescript/src/features/orchestrator/services/task-share.d.ts +0 -18
- package/packages/typescript/src/features/orchestrator/services/task-share.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-share.js +0 -159
- package/packages/typescript/src/features/orchestrator/services/task-validation.d.ts +0 -69
- package/packages/typescript/src/features/orchestrator/services/task-validation.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-validation.js +0 -587
- package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.d.ts +0 -5
- package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/task-verifier-runner.js +0 -372
- package/packages/typescript/src/features/orchestrator/services/trajectory-context.d.ts +0 -73
- package/packages/typescript/src/features/orchestrator/services/trajectory-context.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/trajectory-context.js +0 -64
- package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.d.ts +0 -53
- package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/trajectory-feedback.js +0 -260
- package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.d.ts +0 -28
- package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/workspace-git-ops.js +0 -105
- package/packages/typescript/src/features/orchestrator/services/workspace-github.d.ts +0 -58
- package/packages/typescript/src/features/orchestrator/services/workspace-github.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/workspace-github.js +0 -139
- package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.d.ts +0 -18
- package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/workspace-lifecycle.js +0 -86
- package/packages/typescript/src/features/orchestrator/services/workspace-service.d.ts +0 -118
- package/packages/typescript/src/features/orchestrator/services/workspace-service.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/workspace-service.js +0 -533
- package/packages/typescript/src/features/orchestrator/services/workspace-types.d.ts +0 -81
- package/packages/typescript/src/features/orchestrator/services/workspace-types.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/services/workspace-types.js +0 -8
- package/packages/typescript/src/features/orchestrator/task-progress-streamer.d.ts +0 -38
- package/packages/typescript/src/features/orchestrator/task-progress-streamer.d.ts.map +0 -1
- package/packages/typescript/src/features/orchestrator/task-progress-streamer.js +0 -293
- /package/{packages/agent → apps/app-lifeops}/src/inbox/channel-deep-links.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/channel-deep-links.js +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/config.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/message-fetcher.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/message-fetcher.js +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/reflection.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/reflection.js +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/repository.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/repository.js +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/triage-classifier.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/triage-classifier.js +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/types.d.ts +0 -0
- /package/{packages/agent → apps/app-lifeops}/src/inbox/types.js +0 -0
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CREATE_TASK action - Unified action to set up and launch task agents.
|
|
3
|
-
*
|
|
4
|
-
* Combines workspace provisioning and agent spawning into a single atomic action.
|
|
5
|
-
* - If a repo URL is provided, clones it into a fresh workspace
|
|
6
|
-
* - If no repo, creates a scratch sandbox directory
|
|
7
|
-
* - Spawns the specified task agent(s) in that workspace with the given task
|
|
8
|
-
* - Supports multi-agent mode via pipe-delimited `agents` param
|
|
9
|
-
*
|
|
10
|
-
* This eliminates the need for multi-action chaining (PROVISION_WORKSPACE -> SPAWN_AGENT)
|
|
11
|
-
* and ensures agents always run in an isolated directory.
|
|
12
|
-
*
|
|
13
|
-
* @module actions/start-coding-task
|
|
14
|
-
*/
|
|
15
|
-
import { logger, } from "@elizaos/core";
|
|
16
|
-
import { buildAgentCredentials, isAnthropicOAuthToken, sanitizeCustomCredentials, } from "../services/agent-credentials.js";
|
|
17
|
-
import { getCoordinator } from "../services/pty-service.js";
|
|
18
|
-
import { normalizeAgentType } from "../services/pty-types.js";
|
|
19
|
-
import { normalizeRepositoryInput } from "../services/repo-input.js";
|
|
20
|
-
import { requireTaskAgentAccess } from "../services/task-policy.js";
|
|
21
|
-
import { handleMultiAgent, } from "./coding-task-handlers.js";
|
|
22
|
-
export const startCodingTaskAction = {
|
|
23
|
-
name: "CREATE_TASK",
|
|
24
|
-
similes: [
|
|
25
|
-
"START_CODING_TASK",
|
|
26
|
-
"LAUNCH_CODING_TASK",
|
|
27
|
-
"RUN_CODING_TASK",
|
|
28
|
-
"START_AGENT_TASK",
|
|
29
|
-
"SPAWN_AND_PROVISION",
|
|
30
|
-
"CODE_THIS",
|
|
31
|
-
"LAUNCH_TASK",
|
|
32
|
-
"CREATE_SUBTASK",
|
|
33
|
-
],
|
|
34
|
-
description: "Create one or more asynchronous task agents for any open-ended multi-step job. " +
|
|
35
|
-
"These task agents can code, debug, research, write, analyze, plan, document, and automate while the main agent stays free to keep talking with the user. " +
|
|
36
|
-
"If a repo URL is provided, a workspace is provisioned automatically; if no repo is provided, the task agent runs in a safe scratch directory. " +
|
|
37
|
-
"Use this whenever the work is more involved than a simple direct reply. " +
|
|
38
|
-
"IMPORTANT: If the user references a repository from conversation history (e.g. 'in the same repo', " +
|
|
39
|
-
"'on that project', 'add a feature to it'), you MUST include the repo URL in the `repo` parameter. " +
|
|
40
|
-
"If the task involves code changes to a real project but you don't know the repo URL, ASK the user for it " +
|
|
41
|
-
"before calling this action — do not default to a scratch directory for real project work.",
|
|
42
|
-
suppressPostActionContinuation: true,
|
|
43
|
-
examples: [
|
|
44
|
-
[
|
|
45
|
-
{
|
|
46
|
-
name: "{{user1}}",
|
|
47
|
-
content: {
|
|
48
|
-
text: "Take a deep pass on https://github.com/acme/my-app: debug the auth failure, fix it, run the tests, and summarize what changed.",
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
name: "{{agentName}}",
|
|
53
|
-
content: {
|
|
54
|
-
text: "I'll create a background task agent for that repo and keep track of its progress.",
|
|
55
|
-
action: "CREATE_TASK",
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
[
|
|
60
|
-
{
|
|
61
|
-
name: "{{user1}}",
|
|
62
|
-
content: {
|
|
63
|
-
text: "Spin up a couple of sub-agents to research current browser automation frameworks, compare them, and draft a recommendation.",
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: "{{agentName}}",
|
|
68
|
-
content: {
|
|
69
|
-
text: "I'll coordinate parallel task agents for that and keep the results organized.",
|
|
70
|
-
action: "CREATE_TASK",
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
],
|
|
75
|
-
validate: async (runtime, _message) => {
|
|
76
|
-
const ptyService = runtime.getService("PTY_SERVICE");
|
|
77
|
-
return ptyService != null;
|
|
78
|
-
},
|
|
79
|
-
handler: async (runtime, message, state, options, callback) => {
|
|
80
|
-
const access = await requireTaskAgentAccess(runtime, message, "create");
|
|
81
|
-
if (access.allowed === false) {
|
|
82
|
-
if (callback) {
|
|
83
|
-
await callback({
|
|
84
|
-
text: access.reason,
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
return { success: false, error: "FORBIDDEN", text: access.reason };
|
|
88
|
-
}
|
|
89
|
-
const ptyService = runtime.getService("PTY_SERVICE");
|
|
90
|
-
if (!ptyService) {
|
|
91
|
-
if (callback) {
|
|
92
|
-
await callback({
|
|
93
|
-
text: "PTY Service is not available. Cannot create the task.",
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
return { success: false, error: "SERVICE_UNAVAILABLE" };
|
|
97
|
-
}
|
|
98
|
-
const wsService = runtime.getService("CODING_WORKSPACE_SERVICE");
|
|
99
|
-
// Extract parameters
|
|
100
|
-
const params = options?.parameters;
|
|
101
|
-
const content = message.content;
|
|
102
|
-
const explicitRawType = params?.agentType ?? content.agentType;
|
|
103
|
-
const memoryContent = params?.memoryContent ?? content.memoryContent;
|
|
104
|
-
const approvalPreset = params?.approvalPreset ?? content.approvalPreset;
|
|
105
|
-
// Repo is optional -- extract from params, content, or text
|
|
106
|
-
let repo = params?.repo ?? content.repo;
|
|
107
|
-
if (!repo && content.text) {
|
|
108
|
-
const urlMatch = content.text.match(/https?:\/\/(?:github\.com|gitlab\.com|bitbucket\.org)\/[\w.-]+\/[\w.-]+(?:\.git)?/i);
|
|
109
|
-
if (urlMatch) {
|
|
110
|
-
repo = urlMatch[0];
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
// Fallback chain: coordinator memory → disk history → workspace service.
|
|
114
|
-
// Only use these fallbacks when the request implies working on an existing
|
|
115
|
-
// project (e.g. "in the same repo", "continue", "fix this") rather than a
|
|
116
|
-
// fresh scratch task. The reuseRepo flag or same-project language triggers it.
|
|
117
|
-
const reuseRepo = params?.reuseRepo ??
|
|
118
|
-
content.reuseRepo ??
|
|
119
|
-
// Implicit intent: task text references an existing context
|
|
120
|
-
/\b(same\s+repo|same\s+project|continue|that\s+repo|the\s+repo|this\s+repo|in\s+the\s+repo)\b/i.test(content.text ?? "");
|
|
121
|
-
if (!repo && reuseRepo) {
|
|
122
|
-
const coordinator = getCoordinator(runtime);
|
|
123
|
-
const lastRepo = await coordinator?.getLastUsedRepoAsync();
|
|
124
|
-
if (lastRepo) {
|
|
125
|
-
repo = lastRepo;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
if (!repo && reuseRepo) {
|
|
129
|
-
const wsService = runtime.getService("CODING_WORKSPACE_SERVICE");
|
|
130
|
-
if (wsService && typeof wsService.listWorkspaces === "function") {
|
|
131
|
-
const withRepo = wsService.listWorkspaces().find((ws) => ws.repo);
|
|
132
|
-
if (withRepo) {
|
|
133
|
-
repo = withRepo.repo;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
if (repo) {
|
|
138
|
-
repo = normalizeRepositoryInput(repo);
|
|
139
|
-
}
|
|
140
|
-
const selectionTask = params?.task ??
|
|
141
|
-
content.task ??
|
|
142
|
-
content.text;
|
|
143
|
-
const rawAgentType = explicitRawType ??
|
|
144
|
-
(await ptyService.resolveAgentType({
|
|
145
|
-
task: selectionTask,
|
|
146
|
-
repo,
|
|
147
|
-
subtaskCount: typeof params?.agents === "string" ||
|
|
148
|
-
typeof content.agents === "string"
|
|
149
|
-
? (params?.agents ?? content.agents)
|
|
150
|
-
.split("|")
|
|
151
|
-
.map((value) => value.trim())
|
|
152
|
-
.filter(Boolean).length || 1
|
|
153
|
-
: 1,
|
|
154
|
-
}));
|
|
155
|
-
const defaultAgentType = normalizeAgentType(rawAgentType);
|
|
156
|
-
// Build credentials (shared across all agents)
|
|
157
|
-
const customCredentialKeys = runtime.getSetting("CUSTOM_CREDENTIAL_KEYS");
|
|
158
|
-
let customCredentials;
|
|
159
|
-
if (customCredentialKeys) {
|
|
160
|
-
customCredentials = {};
|
|
161
|
-
for (const key of customCredentialKeys.split(",").map((k) => k.trim())) {
|
|
162
|
-
const val = runtime.getSetting(key);
|
|
163
|
-
if (val)
|
|
164
|
-
customCredentials[key] = val;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
const rawAnthropicKey = runtime.getSetting("ANTHROPIC_API_KEY");
|
|
168
|
-
customCredentials = sanitizeCustomCredentials(customCredentials, isAnthropicOAuthToken(rawAnthropicKey) ? [rawAnthropicKey] : []);
|
|
169
|
-
let credentials;
|
|
170
|
-
try {
|
|
171
|
-
credentials = buildAgentCredentials(runtime);
|
|
172
|
-
}
|
|
173
|
-
catch (err) {
|
|
174
|
-
const msg = err instanceof Error ? err.message : "Failed to build credentials";
|
|
175
|
-
logger.error(`[start-coding-task] ${msg}`);
|
|
176
|
-
if (callback) {
|
|
177
|
-
await callback({ text: msg });
|
|
178
|
-
}
|
|
179
|
-
return { success: false, error: "INVALID_CREDENTIALS" };
|
|
180
|
-
}
|
|
181
|
-
const explicitLabel = params?.label ?? content.label;
|
|
182
|
-
// Build shared context for handlers
|
|
183
|
-
const ctx = {
|
|
184
|
-
runtime,
|
|
185
|
-
ptyService,
|
|
186
|
-
wsService,
|
|
187
|
-
credentials,
|
|
188
|
-
customCredentials,
|
|
189
|
-
callback,
|
|
190
|
-
message,
|
|
191
|
-
state,
|
|
192
|
-
repo,
|
|
193
|
-
defaultAgentType,
|
|
194
|
-
rawAgentType,
|
|
195
|
-
agentTypeExplicit: Boolean(explicitRawType),
|
|
196
|
-
agentSelectionStrategy: ptyService.agentSelectionStrategy,
|
|
197
|
-
memoryContent,
|
|
198
|
-
approvalPreset,
|
|
199
|
-
explicitLabel,
|
|
200
|
-
};
|
|
201
|
-
// --- Dispatch: build a pipe-delimited agents string for handleMultiAgent ---
|
|
202
|
-
const agentsParam = params?.agents ?? content.agents;
|
|
203
|
-
if (agentsParam) {
|
|
204
|
-
return handleMultiAgent(ctx, agentsParam);
|
|
205
|
-
}
|
|
206
|
-
// Single-agent mode: build a single-element agents string so we can
|
|
207
|
-
// reuse handleMultiAgent (which handles length-1 specs fine).
|
|
208
|
-
// Fall back to the user's message text when params extraction fails —
|
|
209
|
-
// the user's request IS the task (e.g. "build me a todo app").
|
|
210
|
-
const task = params?.task ?? content.task;
|
|
211
|
-
const userText = content.text?.trim() || "";
|
|
212
|
-
const singleAgentSpec = task || userText;
|
|
213
|
-
return handleMultiAgent(ctx, singleAgentSpec);
|
|
214
|
-
},
|
|
215
|
-
parameters: [
|
|
216
|
-
{
|
|
217
|
-
name: "repo",
|
|
218
|
-
description: "Git repository to clone (e.g. https://github.com/owner/repo or owner/repo). " +
|
|
219
|
-
"ALWAYS provide this when the user is working on a real project or references a repo from context. " +
|
|
220
|
-
"Only omit for pure research/scratch tasks with no target repository. " +
|
|
221
|
-
"If unsure which repo, ask the user before spawning.",
|
|
222
|
-
required: false,
|
|
223
|
-
schema: { type: "string" },
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
name: "agentType",
|
|
227
|
-
description: "Specific task-agent framework to use. Options: claude, codex, gemini, aider, pi, shell. " +
|
|
228
|
-
"If omitted, the orchestrator picks the current preferred framework automatically.",
|
|
229
|
-
required: false,
|
|
230
|
-
schema: { type: "string" },
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
name: "task",
|
|
234
|
-
description: "The open-ended task or prompt to send once the task agent is ready. Used for single-agent mode.",
|
|
235
|
-
required: false,
|
|
236
|
-
schema: { type: "string" },
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
name: "agents",
|
|
240
|
-
description: "Pipe-delimited list of task-agent assignments for multi-agent mode. Each segment is a task description. " +
|
|
241
|
-
"Optionally prefix with an agent type: 'claude:Fix auth | gemini:Write tests | codex:Update docs'. " +
|
|
242
|
-
"Each task agent gets its own workspace clone. If provided, the 'task' parameter is ignored.",
|
|
243
|
-
required: false,
|
|
244
|
-
schema: { type: "string" },
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
name: "memoryContent",
|
|
248
|
-
description: "Instructions or shared context to write to each task agent's memory file before spawning.",
|
|
249
|
-
required: false,
|
|
250
|
-
schema: { type: "string" },
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
name: "label",
|
|
254
|
-
description: "Short semantic label for this workspace. In multi-agent mode, each agent gets '{label}-1', '{label}-2', etc. " +
|
|
255
|
-
"Auto-generated from repo/task if not provided.",
|
|
256
|
-
required: false,
|
|
257
|
-
schema: { type: "string" },
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
name: "approvalPreset",
|
|
261
|
-
description: "Permission level for all task agents: readonly, standard, permissive, autonomous.",
|
|
262
|
-
required: false,
|
|
263
|
-
schema: {
|
|
264
|
-
type: "string",
|
|
265
|
-
enum: ["readonly", "standard", "permissive", "autonomous"],
|
|
266
|
-
},
|
|
267
|
-
},
|
|
268
|
-
],
|
|
269
|
-
};
|
|
270
|
-
export const createTaskAction = startCodingTaskAction;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* STOP_AGENT action - Stop a running task-agent session.
|
|
3
|
-
*
|
|
4
|
-
* Terminates an active PTY session. Use when the agent is done,
|
|
5
|
-
* stuck, or needs to be cancelled.
|
|
6
|
-
*
|
|
7
|
-
* @module actions/stop-agent
|
|
8
|
-
*/
|
|
9
|
-
import { type Action } from "@elizaos/core";
|
|
10
|
-
export declare const stopAgentAction: Action;
|
|
11
|
-
export declare const stopTaskAgentAction: Action;
|
|
12
|
-
//# sourceMappingURL=stop-agent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stop-agent.d.ts","sourceRoot":"","sources":["../../../../../../../../typescript/src/features/orchestrator/actions/stop-agent.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACN,KAAK,MAAM,EAQX,MAAM,eAAe,CAAC;AAIvB,eAAO,MAAM,eAAe,EAAE,MA0N7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAAkB,CAAC"}
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* STOP_AGENT action - Stop a running task-agent session.
|
|
3
|
-
*
|
|
4
|
-
* Terminates an active PTY session. Use when the agent is done,
|
|
5
|
-
* stuck, or needs to be cancelled.
|
|
6
|
-
*
|
|
7
|
-
* @module actions/stop-agent
|
|
8
|
-
*/
|
|
9
|
-
import { logger, } from "@elizaos/core";
|
|
10
|
-
import { requireTaskAgentAccess } from "../services/task-policy.js";
|
|
11
|
-
export const stopAgentAction = {
|
|
12
|
-
name: "STOP_AGENT",
|
|
13
|
-
similes: [
|
|
14
|
-
"STOP_CODING_AGENT",
|
|
15
|
-
"KILL_CODING_AGENT",
|
|
16
|
-
"TERMINATE_AGENT",
|
|
17
|
-
"END_CODING_SESSION",
|
|
18
|
-
"CANCEL_AGENT",
|
|
19
|
-
"CANCEL_TASK_AGENT",
|
|
20
|
-
"STOP_SUB_AGENT",
|
|
21
|
-
],
|
|
22
|
-
description: "Stop a running task-agent session. " +
|
|
23
|
-
"Terminates the PTY session and cleans up resources.",
|
|
24
|
-
examples: [
|
|
25
|
-
[
|
|
26
|
-
{
|
|
27
|
-
name: "{{user1}}",
|
|
28
|
-
content: { text: "Stop the task agent" },
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
name: "{{agentName}}",
|
|
32
|
-
content: {
|
|
33
|
-
text: "I'll stop the task-agent session.",
|
|
34
|
-
action: "STOP_AGENT",
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
[
|
|
39
|
-
{
|
|
40
|
-
name: "{{user1}}",
|
|
41
|
-
content: { text: "Kill the stuck agent" },
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
name: "{{agentName}}",
|
|
45
|
-
content: {
|
|
46
|
-
text: "Terminating the task agent.",
|
|
47
|
-
action: "STOP_AGENT",
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
],
|
|
52
|
-
validate: async (runtime, _message) => {
|
|
53
|
-
const ptyService = runtime.getService("PTY_SERVICE");
|
|
54
|
-
if (!ptyService) {
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
try {
|
|
58
|
-
const sessions = await Promise.race([
|
|
59
|
-
ptyService.listSessions(),
|
|
60
|
-
new Promise((_, reject) => setTimeout(() => reject(new Error("validate timeout")), 2000)),
|
|
61
|
-
]);
|
|
62
|
-
return sessions.length > 0;
|
|
63
|
-
}
|
|
64
|
-
catch {
|
|
65
|
-
return false;
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
handler: async (runtime, message, state, options, callback) => {
|
|
69
|
-
const access = await requireTaskAgentAccess(runtime, message, "interact");
|
|
70
|
-
if (access.allowed === false) {
|
|
71
|
-
if (callback) {
|
|
72
|
-
await callback({
|
|
73
|
-
text: access.reason,
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
return { success: false, error: "FORBIDDEN", text: access.reason };
|
|
77
|
-
}
|
|
78
|
-
const ptyService = runtime.getService("PTY_SERVICE");
|
|
79
|
-
if (!ptyService) {
|
|
80
|
-
if (callback) {
|
|
81
|
-
await callback({
|
|
82
|
-
text: "PTY Service is not available.",
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
return { success: false, error: "SERVICE_UNAVAILABLE" };
|
|
86
|
-
}
|
|
87
|
-
const params = options?.parameters;
|
|
88
|
-
const content = message.content;
|
|
89
|
-
// Stop all sessions if requested
|
|
90
|
-
if (params?.all ?? content.all) {
|
|
91
|
-
const sessions = await ptyService.listSessions();
|
|
92
|
-
if (sessions.length === 0) {
|
|
93
|
-
if (callback) {
|
|
94
|
-
await callback({
|
|
95
|
-
text: "No active task-agent sessions to stop.",
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
return { success: true, text: "No sessions to stop" };
|
|
99
|
-
}
|
|
100
|
-
for (const session of sessions) {
|
|
101
|
-
try {
|
|
102
|
-
await ptyService.stopSession(session.id);
|
|
103
|
-
}
|
|
104
|
-
catch (err) {
|
|
105
|
-
logger.error(`Failed to stop session ${session.id}: ${err}`);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
// Clear state
|
|
109
|
-
if (state?.codingSession) {
|
|
110
|
-
delete state.codingSession;
|
|
111
|
-
}
|
|
112
|
-
if (callback) {
|
|
113
|
-
await callback({
|
|
114
|
-
text: `Stopped ${sessions.length} task-agent session(s).`,
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
return {
|
|
118
|
-
success: true,
|
|
119
|
-
text: `Stopped ${sessions.length} sessions`,
|
|
120
|
-
data: { stoppedCount: sessions.length },
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
// Stop specific session
|
|
124
|
-
let sessionId = params?.sessionId ?? content.sessionId;
|
|
125
|
-
if (!sessionId && state?.codingSession) {
|
|
126
|
-
sessionId = state.codingSession.id;
|
|
127
|
-
}
|
|
128
|
-
if (!sessionId) {
|
|
129
|
-
const sessions = await ptyService.listSessions();
|
|
130
|
-
if (sessions.length === 0) {
|
|
131
|
-
if (callback) {
|
|
132
|
-
await callback({
|
|
133
|
-
text: "No active task-agent sessions to stop.",
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
return { success: true, text: "No sessions to stop" };
|
|
137
|
-
}
|
|
138
|
-
sessionId = sessions[sessions.length - 1].id;
|
|
139
|
-
}
|
|
140
|
-
const session = ptyService.getSession(sessionId);
|
|
141
|
-
if (!session) {
|
|
142
|
-
if (callback) {
|
|
143
|
-
await callback({
|
|
144
|
-
text: `Session ${sessionId} not found.`,
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
return { success: false, error: "SESSION_NOT_FOUND" };
|
|
148
|
-
}
|
|
149
|
-
try {
|
|
150
|
-
await ptyService.stopSession(sessionId);
|
|
151
|
-
// Clear state if this was the current session
|
|
152
|
-
if (state?.codingSession &&
|
|
153
|
-
state.codingSession.id === sessionId) {
|
|
154
|
-
delete state.codingSession;
|
|
155
|
-
}
|
|
156
|
-
if (callback) {
|
|
157
|
-
await callback({
|
|
158
|
-
text: `Stopped task-agent session ${sessionId}.`,
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
return {
|
|
162
|
-
success: true,
|
|
163
|
-
text: `Stopped session ${sessionId}`,
|
|
164
|
-
data: { sessionId, agentType: session.agentType },
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
catch (error) {
|
|
168
|
-
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
169
|
-
if (callback) {
|
|
170
|
-
await callback({
|
|
171
|
-
text: `Failed to stop agent: ${errorMessage}`,
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
return { success: false, error: errorMessage };
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
parameters: [
|
|
178
|
-
{
|
|
179
|
-
name: "sessionId",
|
|
180
|
-
description: "ID of the session to stop. If not specified, stops the current session.",
|
|
181
|
-
required: false,
|
|
182
|
-
schema: { type: "string" },
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
name: "all",
|
|
186
|
-
description: "If true, stop all active task-agent sessions.",
|
|
187
|
-
required: false,
|
|
188
|
-
schema: { type: "boolean" },
|
|
189
|
-
},
|
|
190
|
-
],
|
|
191
|
-
};
|
|
192
|
-
export const stopTaskAgentAction = stopAgentAction;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task-control.d.ts","sourceRoot":"","sources":["../../../../../../../../typescript/src/features/orchestrator/actions/task-control.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,MAAM,EAON,MAAM,eAAe,CAAC;AA6CvB,eAAO,MAAM,iBAAiB,EAAE,MAiN/B,CAAC"}
|