@desplega.ai/agent-swarm 1.149.0 → 1.150.0
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/README.md +7 -3
- package/dist/{acp-adapter-4jncb126.js → acp-adapter-d5mzggyk.js} +1 -1
- package/dist/{actions-31vp3ae7.js → actions-wn6ew0p7.js} +11 -10
- package/dist/{anthropic-messages-vs2rabzp.js → anthropic-messages-ec35ktvx.js} +4 -4
- package/dist/{app-1hh67x8w.js → app-dty7p9hg.js} +7 -7
- package/dist/{artifact-gj9arwrr.js → artifact-td4q4dch.js} +1 -1
- package/dist/{assistant-z66dmz6p.js → assistant-q4vhgjtx.js} +16 -17
- package/dist/{boot-reembed-wxa8ya0s.js → boot-reembed-92292pgf.js} +9 -9
- package/dist/{boot-reembed-fqzxxzjh.js → boot-reembed-n15q6s9x.js} +8 -8
- package/dist/{boot-scrub-logs-jnyndh79.js → boot-scrub-logs-44pc955m.js} +5 -5
- package/dist/{claude-adapter-3qpa9w0j.js → claude-adapter-cjegjbje.js} +14 -14
- package/dist/{claude-managed-adapter-qvsmh6mv.js → claude-managed-adapter-p3ts5m9m.js} +2 -2
- package/dist/{claude-sdk-session-2yxgjs5d.js → claude-sdk-session-7ywbn12v.js} +14 -14
- package/dist/{cli-cr12paw2.js → cli-111ey3ra.js} +5 -5
- package/dist/{cli-4wtq5jjv.js → cli-1mx65de9.js} +1 -1
- package/dist/{cli-9d8ntetj.js → cli-2658f6at.js} +1 -1
- package/dist/{cli-n3dz2942.js → cli-3ckzxdt1.js} +10 -6
- package/dist/{cli-yb9qhqam.js → cli-3mh119qv.js} +184 -67
- package/dist/{cli-ykxrnd1q.js → cli-72xdszyx.js} +2 -2
- package/dist/{cli-xm87hzbw.js → cli-7fesa1ky.js} +1 -1
- package/dist/{cli-3q5ejx9p.js → cli-7kwmt3r5.js} +2 -2
- package/dist/{cli-2qts1hys.js → cli-8chp8xab.js} +2 -2
- package/dist/{cli-qaacms9y.js → cli-9gqddmxs.js} +122 -97
- package/dist/{cli-zvz62chv.js → cli-a45d5v9b.js} +4 -4
- package/dist/{cli-9xvdm3bx.js → cli-asvrh7kj.js} +1 -1
- package/dist/{cli-kgz4np97.js → cli-b8x19vbh.js} +4 -4
- package/dist/{cli-9fy6nk6g.js → cli-ceb5y160.js} +1 -1
- package/dist/{cli-k0cr4kat.js → cli-ck1vqzdj.js} +1 -1
- package/dist/{cli-e29gmdmw.js → cli-dv6cdjs2.js} +2 -1
- package/dist/{cli-jecc01cb.js → cli-dyx0237s.js} +1 -1
- package/dist/{cli-kjwt6hdf.js → cli-gm0fhz13.js} +3 -3
- package/dist/{cli-sd5pv3b1.js → cli-h505yhex.js} +2 -2
- package/dist/{handlers-nbzdzn9k.js → cli-hbagregr.js} +15 -38
- package/dist/{cli-08b07b4r.js → cli-hmyynq9b.js} +1 -1
- package/dist/{cli-d8ftsp62.js → cli-kt7wevqh.js} +20 -13
- package/dist/{cli-gjhjfeeg.js → cli-kyysm7m3.js} +1 -1
- package/dist/{cli-1ebpar1q.js → cli-mzb0n642.js} +6 -6
- package/dist/{cli-q50ef8g0.js → cli-n1yj5fd5.js} +1 -1
- package/dist/{cli-3apbzgyk.js → cli-n75jt793.js} +13 -9
- package/dist/{cli-19f354qr.js → cli-q04q68be.js} +2 -2
- package/dist/{cli-yab68w40.js → cli-qp69dd5d.js} +29 -14
- package/dist/{cli-6pqcb4q0.js → cli-rnsr8asm.js} +12 -11
- package/dist/{cli-ygweqcn4.js → cli-rwp3ksm7.js} +91 -108
- package/dist/{cli-phsxnkp6.js → cli-ryz8q8p1.js} +74 -58
- package/dist/{cli-e95cx1eb.js → cli-taym3dmg.js} +10 -10
- package/dist/{cli-nye12xk5.js → cli-ttje5a4z.js} +7 -4
- package/dist/{cli-9hspd3dp.js → cli-vr6qj104.js} +1 -1
- package/dist/{cli-mnmsfd1w.js → cli-xjb9wghj.js} +7 -3
- package/dist/{cli-gv88e1vf.js → cli-ydk0wjj8.js} +1 -1
- package/dist/{cli-aae6hz6a.js → cli-zd21jrrc.js} +3 -3
- package/dist/{cli-7smrsr25.js → cli-zthatyrx.js} +23 -11
- package/dist/cli.js +19 -19
- package/dist/{codex-adapter-8meawydj.js → codex-adapter-rn3aq7jm.js} +7 -7
- package/dist/{codex-hook-hfrt9shr.js → codex-hook-gthcmm0g.js} +3 -3
- package/dist/{codex-session-runner-gjgxyp5j.js → codex-session-runner-bge0cbsw.js} +7 -7
- package/dist/{commands-hz3nb95f.js → commands-26phw0pc.js} +5 -5
- package/dist/{db-ggz97zbm.js → db-jxjx6s1b.js} +6 -6
- package/dist/{e2b-p04vmtx0.js → e2b-413b8t4v.js} +1 -1
- package/dist/handlers-vr1djg4n.js +41 -0
- package/dist/{hook-bks2q1f6.js → hook-jw0ztn96.js} +9 -9
- package/dist/{hook-kq9wp0ep.js → hook-t6fqsggw.js} +10 -10
- package/dist/{http-hrf77v87.js → http-hyc7s57s.js} +80 -71
- package/dist/{index-n28pw1zt.js → index-1d9r6a74.js} +18 -18
- package/dist/{index-cqtebbhb.js → index-bcyx5djw.js} +17 -17
- package/dist/{index-6nsbg88z.js → index-sfhaq59d.js} +408 -74
- package/dist/{index-8hmeg8j1.js → index-wtwpthe1.js} +17 -17
- package/dist/{keepalive-dxc12gvg.js → keepalive-fbsak4ya.js} +7 -7
- package/dist/{lead-yckfn18d.js → lead-rdzdm627.js} +39 -39
- package/dist/{maintenance-6kfb2m5e.js → maintenance-25z1c1vf.js} +9 -9
- package/dist/{node-x1g4v0pq.js → node-209sxmg3.js} +9 -9
- package/dist/{oauth-refresh-sweep-1x1ac722.js → oauth-refresh-sweep-j3d7gtse.js} +6 -6
- package/dist/{onboard-dcyt1609.js → onboard-dkcwrc75.js} +2 -2
- package/dist/{otel-impl-tbk3e5dr.js → otel-impl-8rgyy3j8.js} +1 -1
- package/dist/{pi-mono-adapter-zvshk5cj.js → pi-mono-adapter-4s2bbkgq.js} +8 -8
- package/dist/{pricing-refresh-kaqg567e.js → pricing-refresh-9cek71nq.js} +7 -7
- package/dist/{rbac-roles-cf97v1vd.js → rbac-roles-vk8mqp9v.js} +6 -6
- package/dist/{rbac-roles-ammq6rd2.js → rbac-roles-z98s2ypy.js} +5 -5
- package/dist/{render-v2-80w603vy.js → render-v2-3j26g0qh.js} +7 -7
- package/dist/{seed-pricing-zbrn83xv.js → seed-pricing-7rxhcnzm.js} +6 -6
- package/dist/{setup-fe66kczs.js → setup-e2t7vz0c.js} +2 -2
- package/dist/work-objects-8d3nd3x2.js +141 -0
- package/dist/{worker-qmb2d1e2.js → worker-0x9fn7nq.js} +39 -39
- package/openapi.json +15 -4
- package/package.json +3 -3
- package/src/agentmail/handlers.ts +5 -0
- package/src/be/budget-refusal-notify.ts +1 -0
- package/src/be/db/tasks/read.ts +3 -0
- package/src/be/db/tasks/write.ts +13 -1
- package/src/be/db.ts +4 -2
- package/src/be/migrations/153_deferred_task_wait_members.sql +25 -0
- package/src/be/migrations/154_routing_source.sql +3 -0
- package/src/be/scripts/typecheck.ts +7 -3
- package/src/be/seed/automation-toggle.ts +69 -0
- package/src/be/seed/schedules-seeder.ts +53 -8
- package/src/be/seed/workflows-seeder.ts +35 -6
- package/src/be/seed-scripts/catalog/delegate.ts +3 -1
- package/src/be/seed-skills/bundled-files.generated.json +1 -1
- package/src/be/steering.ts +1 -0
- package/src/be/swarm-config-guard.ts +1 -0
- package/src/commands/credential-refresh.ts +70 -0
- package/src/commands/provider-credentials.ts +2 -25
- package/src/commands/runner.ts +23 -56
- package/src/github/handlers.ts +9 -0
- package/src/gitlab/handlers.ts +4 -0
- package/src/heartbeat/heartbeat.ts +3 -0
- package/src/http/approval-requests.ts +1 -0
- package/src/http/apps.ts +1 -0
- package/src/http/config.ts +4 -1
- package/src/http/core.ts +4 -2
- package/src/http/index.ts +16 -3
- package/src/http/script-runs.ts +5 -0
- package/src/http/tasks.ts +5 -0
- package/src/integrations/kapso/inbound.ts +1 -0
- package/src/jira/sync.ts +2 -0
- package/src/linear/sync.ts +2 -0
- package/src/prompts/session-templates.ts +13 -9
- package/src/providers/claude-adapter.ts +21 -8
- package/src/scheduler/deferred-task-waits.ts +34 -5
- package/src/scheduler/schedule-task.ts +5 -1
- package/src/scheduler/scheduler.ts +104 -123
- package/src/scripts-runtime/types/stdlib.d.ts +7 -3
- package/src/scripts-runtime/types/swarm-sdk.d.ts +7 -3
- package/src/slack/HEURISTICS.md +2 -0
- package/src/slack/actions.ts +1 -0
- package/src/slack/app.ts +2 -0
- package/src/slack/assistant.ts +4 -12
- package/src/slack/handlers.ts +9 -14
- package/src/slack/inbound-files.ts +3 -3
- package/src/slack/render-v2.ts +17 -3
- package/src/slack/thread-buffer.ts +66 -23
- package/src/slack/work-objects.test.ts +252 -0
- package/src/slack/work-objects.ts +118 -0
- package/src/tasks/worker-follow-up.ts +4 -0
- package/src/tests/acp-adapter.test.ts +10 -10
- package/src/tests/agent-fs-live-url.test.ts +40 -0
- package/src/tests/agent-fs-provision-seeder.test.ts +12 -12
- package/src/tests/api-key-tracking.test.ts +18 -18
- package/src/tests/api-key.test.ts +4 -2
- package/src/tests/apps-rbac.test.ts +1 -1
- package/src/tests/apps-spike5.test.ts +1 -1
- package/src/tests/apps-sync-engine.test.ts +8 -8
- package/src/tests/apps-user-config.test.ts +1 -1
- package/src/tests/artifact-sdk.test.ts +8 -8
- package/src/tests/asset-key-mcp.test.ts +2 -0
- package/src/tests/automation-preflight-alert.test.ts +1 -1
- package/src/tests/base-prompt.test.ts +6 -6
- package/src/tests/budget-user-scope.test.ts +1 -1
- package/src/tests/budgets-routes.test.ts +1 -1
- package/src/tests/claude-adapter-binary.test.ts +22 -40
- package/src/tests/claude-adapter-otel.test.ts +13 -7
- package/src/tests/claude-adapter.test.ts +8 -6
- package/src/tests/claude-hook-credentials.test.ts +3 -3
- package/src/tests/claude-managed-adapter.test.ts +4 -4
- package/src/tests/claude-managed-setup.test.ts +3 -3
- package/src/tests/claude-sdk-lifecycle.test.ts +1 -1
- package/src/tests/claude-sdk-transport.test.ts +6 -6
- package/src/tests/claude-stop-hook.test.ts +8 -8
- package/src/tests/claude-worker-parity.test.ts +3 -3
- package/src/tests/codex-adapter-pool-auth-revalidate.test.ts +5 -5
- package/src/tests/codex-adapter.test.ts +7 -5
- package/src/tests/codex-app-server.test.ts +2 -2
- package/src/tests/codex-login.test.ts +15 -15
- package/src/tests/codex-oauth-credential-info.test.ts +4 -4
- package/src/tests/codex-oauth-keep-warm.test.ts +4 -4
- package/src/tests/codex-oauth-refresh-lock.test.ts +1 -1
- package/src/tests/codex-oauth-storage.test.ts +7 -7
- package/src/tests/codex-pool.test.ts +1 -1
- package/src/tests/codex-steering-hook.test.ts +1 -1
- package/src/tests/codex-swarm-events.test.ts +1 -1
- package/src/tests/config-api-only-keys.test.ts +1 -1
- package/src/tests/config-session-auth.test.ts +2 -2
- package/src/tests/connection-embedded-auth.test.ts +20 -18
- package/src/tests/core-auth.test.ts +1 -1
- package/src/tests/create-page-tool.test.ts +3 -3
- package/src/tests/credential-refresh.test.ts +115 -0
- package/src/tests/credential-wait.test.ts +2 -2
- package/src/tests/credentials.test.ts +6 -4
- package/src/tests/db-queries-oauth.test.ts +40 -40
- package/src/tests/defer-task.test.ts +73 -8
- package/src/tests/deferred-task-wait-migration.test.ts +64 -0
- package/src/tests/deferred-task-wake.test.ts +190 -1
- package/src/tests/devin-adapter.test.ts +1 -1
- package/src/tests/devin-api.test.ts +1 -1
- package/src/tests/e2b-dispatch.test.ts +21 -19
- package/src/tests/e2e-claude-transport.test.ts +3 -3
- package/src/tests/e2e-redact.test.ts +6 -6
- package/src/tests/ensure-token.test.ts +68 -68
- package/src/tests/entrypoint-api-readiness.test.ts +1 -1
- package/src/tests/entrypoint-codex-oauth-seed.test.ts +13 -13
- package/src/tests/events-http.test.ts +1 -1
- package/src/tests/fs-routes.test.ts +1 -1
- package/src/tests/gitlab-auth.test.ts +10 -10
- package/src/tests/harness-provider-resolution.test.ts +8 -5
- package/src/tests/heartbeat-reroute-decision.test.ts +1 -0
- package/src/tests/helper-credentials.test.ts +137 -0
- package/src/tests/http/context-routes.test.ts +2 -2
- package/src/tests/http-api-integration.test.ts +5 -2
- package/src/tests/http-users.test.ts +1 -1
- package/src/tests/identity-refresh.test.ts +2 -2
- package/src/tests/internal-ai/complete-structured.test.ts +2 -2
- package/src/tests/internal-ai/credentials.test.ts +19 -17
- package/src/tests/jira-metadata.test.ts +1 -1
- package/src/tests/jira-oauth.test.ts +5 -5
- package/src/tests/jira-sync.test.ts +1 -1
- package/src/tests/jira-webhook-lifecycle.test.ts +3 -3
- package/src/tests/jira-webhook.test.ts +2 -2
- package/src/tests/kapso-inbound.test.ts +2 -2
- package/src/tests/kv-http.test.ts +1 -1
- package/src/tests/kv-namespace-resolution.test.ts +1 -1
- package/src/tests/kv-page-proxy.test.ts +2 -2
- package/src/tests/launch-password-rejection.test.ts +2 -2
- package/src/tests/linear-webhook.test.ts +1 -1
- package/src/tests/mcp-oauth-dcr-reuse.test.ts +6 -6
- package/src/tests/mcp-oauth-ensure-token.test.ts +28 -22
- package/src/tests/mcp-oauth-manual-client.test.ts +16 -12
- package/src/tests/mcp-oauth-queries.test.ts +35 -32
- package/src/tests/mcp-oauth-resolve-secrets.test.ts +8 -8
- package/src/tests/mcp-oauth-wrapper.test.ts +20 -20
- package/src/tests/mcp-user-route.test.ts +1 -1
- package/src/tests/memory-edges.test.ts +1 -1
- package/src/tests/memory-rate-endpoint.test.ts +1 -1
- package/src/tests/memory-rate-tool.test.ts +2 -2
- package/src/tests/memory-rater-e2e.test.ts +1 -1
- package/src/tests/memory-rater-llm-summarizer.test.ts +3 -3
- package/src/tests/memory-rater-llm.test.ts +1 -1
- package/src/tests/model-control.test.ts +3 -0
- package/src/tests/multi-runtime-registration.test.ts +97 -3
- package/src/tests/oauth-access-token-tool.test.ts +18 -18
- package/src/tests/oauth-callback-flow.test.ts +8 -8
- package/src/tests/oauth-credential-bindings.test.ts +29 -27
- package/src/tests/oauth-keepalive.test.ts +10 -10
- package/src/tests/oauth-presets.test.ts +13 -5
- package/src/tests/oauth-refresh-failure.test.ts +9 -9
- package/src/tests/oauth-refresh-sweep.test.ts +20 -13
- package/src/tests/oauth-wrapper.test.ts +1 -1
- package/src/tests/onboard-compose.test.ts +3 -3
- package/src/tests/onboard-env.test.ts +26 -26
- package/src/tests/onboard-non-interactive.test.ts +4 -4
- package/src/tests/opencode-adapter.test.ts +1 -1
- package/src/tests/opencode-plugin.test.ts +2 -2
- package/src/tests/otel-session-cost-metrics.test.ts +1 -1
- package/src/tests/page-proxy-authed.test.ts +2 -2
- package/src/tests/page-proxy.test.ts +2 -2
- package/src/tests/page-session.test.ts +7 -7
- package/src/tests/page-viewer-auth.test.ts +2 -2
- package/src/tests/pages-authed-mode.test.ts +1 -1
- package/src/tests/pages-http.test.ts +1 -1
- package/src/tests/pages-password-mode.test.ts +1 -1
- package/src/tests/pages-public-authed-401.test.ts +1 -1
- package/src/tests/pages-public-html.test.ts +2 -2
- package/src/tests/pages-view-count.test.ts +1 -1
- package/src/tests/pi-mono-adapter.test.ts +10 -10
- package/src/tests/pi-mono-extension.test.ts +2 -2
- package/src/tests/pricing-routes.test.ts +1 -1
- package/src/tests/profile-sync-warning.test.ts +8 -8
- package/src/tests/profile-sync.test.ts +8 -8
- package/src/tests/prompt-template-session.test.ts +36 -5
- package/src/tests/provider-process-group.test.ts +95 -4
- package/src/tests/providers/pi-cost.test.ts +1 -1
- package/src/tests/queue-stall-alarm.test.ts +1 -1
- package/src/tests/rbac-admission.test.ts +1 -1
- package/src/tests/rbac-charact-http.test.ts +1 -1
- package/src/tests/rbac-e2e-helpers.ts +1 -1
- package/src/tests/realtime-room-surfaces.test.ts +1 -1
- package/src/tests/reload-config.test.ts +1 -1
- package/src/tests/routing-reason-contract.test.ts +76 -3
- package/src/tests/routing-reason-inventory.test.ts +11 -6
- package/src/tests/routing-source.test.ts +53 -0
- package/src/tests/runner-agent-fs-provision-retry.test.ts +1 -1
- package/src/tests/runner-context-preamble.test.ts +1 -1
- package/src/tests/runner-deployment-resume.test.ts +1 -1
- package/src/tests/runner-fallback-output.test.ts +1 -1
- package/src/tests/runner-identity-refresh.test.ts +1 -1
- package/src/tests/runner-skills-refresh.test.ts +1 -1
- package/src/tests/schedule-target-type.test.ts +3 -3
- package/src/tests/scheduled-tasks.test.ts +14 -5
- package/src/tests/scheduler-occurrence.test.ts +347 -0
- package/src/tests/script-apis-mcp.test.ts +1 -1
- package/src/tests/script-connections-http.test.ts +61 -58
- package/src/tests/script-connections-mcp.test.ts +1 -1
- package/src/tests/script-connections.test.ts +1 -1
- package/src/tests/script-runs-http.test.ts +15 -7
- package/src/tests/script-workflows-runtime-e2e.test.ts +1 -1
- package/src/tests/scripts-external-api.test.ts +1 -1
- package/src/tests/scripts-http.test.ts +1 -1
- package/src/tests/scripts-mcp-e2e.test.ts +1 -1
- package/src/tests/scripts-only-gating.test.ts +2 -2
- package/src/tests/scripts-retention.test.ts +1 -1
- package/src/tests/scripts-runtime-identity.test.ts +1 -1
- package/src/tests/scripts-runtime-secret-egress.test.ts +1 -1
- package/src/tests/scripts-runtime.test.ts +6 -4
- package/src/tests/scripts-typecheck.test.ts +21 -0
- package/src/tests/sdk-allowlist.test.ts +1 -1
- package/src/tests/secret-scrubber.test.ts +38 -31
- package/src/tests/seed-registry.test.ts +46 -8
- package/src/tests/seed-schedules.test.ts +139 -8
- package/src/tests/seed-workflows.test.ts +93 -7
- package/src/tests/send-task-output-schema.test.ts +9 -1
- package/src/tests/send-task-requested-by.test.ts +1 -0
- package/src/tests/send-task-slack-routing-guard.test.ts +2 -0
- package/src/tests/session-costs-codex-recompute.test.ts +1 -1
- package/src/tests/session-costs-golden.test.ts +2 -2
- package/src/tests/session-costs-model-key-normalize.test.ts +2 -2
- package/src/tests/session-costs-recompute-all-providers.test.ts +1 -1
- package/src/tests/session-tokens.test.ts +1 -1
- package/src/tests/shutdown-error-scrubbing.test.ts +1 -1
- package/src/tests/slack-file-tools-attachments.test.ts +1 -1
- package/src/tests/slack-inbound-files.test.ts +222 -86
- package/src/tests/slack-reaction-config.test.ts +5 -4
- package/src/tests/slack-read-boundaries.test.ts +1 -1
- package/src/tests/slack-render-v2.test.ts +120 -1
- package/src/tests/status.test.ts +7 -7
- package/src/tests/steering-core.test.ts +1 -1
- package/src/tests/steering-transport.test.ts +4 -4
- package/src/tests/store-progress-output-guidance.test.ts +34 -0
- package/src/tests/swarm-tool-result-gate.test.ts +11 -11
- package/src/tests/swarm-x-tool.test.ts +7 -5
- package/src/tests/sync-ai-toolbox-skills.test.ts +19 -0
- package/src/tests/task-supersede-resume.test.ts +1 -1
- package/src/tests/task-tools-ctx.test.ts +2 -0
- package/src/tests/tasks-requested-by-filter.test.ts +2 -2
- package/src/tests/telemetry-init.test.ts +11 -3
- package/src/tests/tool-output-agent-id.test.ts +1 -0
- package/src/tests/tracker-fold.test.ts +7 -7
- package/src/tests/tracker-tools.test.ts +3 -3
- package/src/tests/ui-followup-lead-delegation.test.ts +1 -0
- package/src/tests/unified-oauth-migration.test.ts +5 -5
- package/src/tests/user-token-rest-auth.test.ts +1 -1
- package/src/tests/user-token-routes.test.ts +1 -1
- package/src/tests/whoami-route.test.ts +1 -1
- package/src/tests/workflow-agent-task.test.ts +15 -13
- package/src/tests/workflow-ctx.test.ts +1 -1
- package/src/tests/workflow-e2e.test.ts +1 -1
- package/src/tests/workflow-engine-v2.test.ts +3 -1
- package/src/tests/workflow-executors.test.ts +2 -2
- package/src/tests/workflow-http-v2.test.ts +8 -6
- package/src/tests/workflow-input-redaction.test.ts +7 -5
- package/src/tests/workflow-integration-io.test.ts +2 -2
- package/src/tests/workflow-llm.test.ts +5 -5
- package/src/tests/workflow-registry.test.ts +1 -1
- package/src/tests/workflow-swarm-script.test.ts +1 -1
- package/src/tests/workflow-triggers-v2.test.ts +23 -21
- package/src/tests/x-composio.test.ts +9 -7
- package/src/tests/x402-client.test.ts +1 -1
- package/src/tests/x402-config.test.ts +28 -41
- package/src/tools/defer-task.ts +156 -24
- package/src/tools/send-task.ts +21 -1
- package/src/tools/skills/skill-publish.ts +1 -0
- package/src/tools/store-progress.ts +1 -1
- package/src/tools/templates.ts +2 -1
- package/src/types.ts +11 -0
- package/src/utils/constants.ts +7 -1
- package/src/utils/credentials.test.ts +16 -16
- package/src/workflows/executors/agent-task.ts +5 -0
- package/templates/ai-toolbox.manifest.json +7 -1
- package/templates/schedules/daily-blocker-digest/config.json +6 -1
- package/templates/schedules/daily-compounding-reflection/config.json +1 -0
- package/templates/schedules/daily-hn-briefing/config.json +1 -1
- package/templates/schedules/daily-status-report/config.json +6 -1
- package/templates/schedules/daily-swarm-update-check/config.json +19 -0
- package/templates/schedules/daily-swarm-update-check/content.md +49 -0
- package/templates/schedules/daily-workflow-health-audit/config.json +6 -1
- package/templates/schedules/gtm-weekly-review/config.json +1 -1
- package/templates/schedules/weekly-code-health-reports/config.json +1 -1
- package/templates/schedules/weekly-dependabot-triage/config.json +1 -1
- package/templates/schedules/weekly-dora-metrics/config.json +1 -1
- package/templates/schedules/weekly-harness-upgrade-check/config.json +1 -1
- package/templates/skills/delegate-work/files/scripts/codex-exec.sh +1 -1
- package/templates/skills/serply-search/SKILL.md +95 -0
- package/templates/skills/serply-search/config.json +13 -0
- package/templates/skills/serply-search/content.md +90 -0
- package/templates/skills/swarm-scripts/SKILL.md +2 -2
- package/templates/skills/swarm-scripts/content.md +2 -2
- package/templates/workflows/claude-code-changelog-watch/config.json +1 -1
- package/templates/workflows/gsc-topic-miner/config.json +1 -1
- package/templates/workflows/linear-drain-loop/config.json +1 -1
- package/templates/workflows/llm-safe-release-context/config.json +1 -1
- package/templates/workflows/ralph-loop/config.json +1 -1
- package/dist/{azure-openai-responses-cqar64rc.js → azure-openai-responses-g85jv7m8.js} +8 -8
- package/dist/{cli-4xz3pmrq.js → cli-8qx7jnrk.js} +5 -5
- package/dist/{cli-6664w7y4.js → cli-wk0gjrn3.js} +3 -3
- package/dist/{google-vertex-ppw8ydpa.js → google-vertex-pkhpkbq9.js} +3 -3
- package/dist/{openai-codex-responses-g7w48y30.js → openai-codex-responses-pm5gnyfa.js} +4 -4
- package/dist/{openai-completions-0bqmsajw.js → openai-completions-qdcmkfnr.js} +12 -12
- package/dist/{openai-responses-nmeyptke.js → openai-responses-vwvk1taj.js} +13 -13
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ agent-swarm.dev is an open-source operating system for AI work. A lead agent del
|
|
|
13
13
|
|
|
14
14
|
- A lead agent that receives work from Slack, repositories, issue trackers, email, or the API
|
|
15
15
|
- [Schema-validated task results](./MCP.md#send-task) for callers that need structured JSON output
|
|
16
|
-
- [Deferred tasks](./MCP.md#defer-task) that wake when
|
|
17
|
-
- [Dashboard file attachments](https://docs.agent-swarm.dev/docs/ui#file-attachments) by drag-and-drop or file picker
|
|
16
|
+
- [Deferred tasks](./MCP.md#defer-task) that wake when all or any watched tasks reach an outcome, or a deadline arrives
|
|
17
|
+
- [Dashboard file attachments](https://docs.agent-swarm.dev/docs/ui#file-attachments) by paste, drag-and-drop, or file picker
|
|
18
18
|
- Workers in isolated Docker containers with development environments
|
|
19
19
|
- Memory and identity that persist across sessions
|
|
20
20
|
- Workflows, schedules, scripts, and apps for recurring work
|
|
@@ -78,6 +78,10 @@ Or install it as a plugin in your harness:
|
|
|
78
78
|
| Antigravity / Factory Droid | `droid plugin marketplace add https://github.com/desplega-ai/agent-swarm` then `droid plugin install agent-swarm@agent-swarm` |
|
|
79
79
|
| OpenCode, pi, Devin, Kimi, others | `npx skills add desplega-ai/agent-swarm` |
|
|
80
80
|
|
|
81
|
+
The plugin's [privacy](https://www.agent-swarm.dev/privacy) and
|
|
82
|
+
[terms](https://www.agent-swarm.dev/terms) links describe the Agent Swarm website and
|
|
83
|
+
Cloud service. The self-hosted software remains covered by the [MIT License](./LICENSE).
|
|
84
|
+
|
|
81
85
|
Or use the examples directly:
|
|
82
86
|
|
|
83
87
|
```bash
|
|
@@ -93,7 +97,7 @@ Kubernetes: [install the OCI Helm chart](./charts/agent-swarm/README.md).
|
|
|
93
97
|
|
|
94
98
|
## Integrations
|
|
95
99
|
|
|
96
|
-
Slack · GitHub · GitLab · Linear · Jira · AgentMail · WhatsApp (Kapso) · Composio · Sentry · Devin. [Integration guides](https://docs.agent-swarm.dev/docs/integrations).
|
|
100
|
+
Slack · GitHub · GitLab · Linear · Jira · AgentMail · WhatsApp (Kapso) · Composio · Sentry · Devin · [Serply search](https://docs.agent-swarm.dev/docs/integrations/serply). [Integration guides](https://docs.agent-swarm.dev/docs/integrations).
|
|
97
101
|
|
|
98
102
|
## Learn more
|
|
99
103
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveSlackUserId
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
3
|
+
} from "./cli-72xdszyx.js";
|
|
4
|
+
import"./cli-ydk0wjj8.js";
|
|
5
5
|
import {
|
|
6
6
|
createTaskWithSiblingAwareness
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-n1yj5fd5.js";
|
|
8
8
|
import {
|
|
9
9
|
buildCancelledBlocks,
|
|
10
10
|
ensureSlackThreadTree,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
getAgentEmoji,
|
|
13
13
|
getTaskLink,
|
|
14
14
|
isSlackRenderV2Enabled
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-kt7wevqh.js";
|
|
16
16
|
import"./cli-q51yprfq.js";
|
|
17
|
-
import"./cli-
|
|
17
|
+
import"./cli-2658f6at.js";
|
|
18
18
|
import"./cli-yatxqynm.js";
|
|
19
19
|
import {
|
|
20
20
|
cancelTask,
|
|
@@ -24,15 +24,15 @@ import {
|
|
|
24
24
|
init_context_key,
|
|
25
25
|
init_db,
|
|
26
26
|
slackContextKey
|
|
27
|
-
} from "./cli-
|
|
28
|
-
import"./cli-08b07b4r.js";
|
|
29
|
-
import"./cli-3apbzgyk.js";
|
|
30
|
-
import"./cli-e29gmdmw.js";
|
|
27
|
+
} from "./cli-qp69dd5d.js";
|
|
31
28
|
import"./cli-c2mk1kgf.js";
|
|
29
|
+
import"./cli-hmyynq9b.js";
|
|
30
|
+
import"./cli-n75jt793.js";
|
|
31
|
+
import"./cli-dv6cdjs2.js";
|
|
32
32
|
import"./cli-ej6gbxfb.js";
|
|
33
33
|
import"./cli-sd0mxa3c.js";
|
|
34
34
|
import"./cli-w5e1d1vv.js";
|
|
35
|
-
import"./cli-
|
|
35
|
+
import"./cli-gm0fhz13.js";
|
|
36
36
|
import"./cli-r2ap2czm.js";
|
|
37
37
|
import"./cli-pzxba7gw.js";
|
|
38
38
|
import"./cli-zf8jjwex.js";
|
|
@@ -105,6 +105,7 @@ function registerActionHandlers(app) {
|
|
|
105
105
|
const followUpTask = await createTaskWithSiblingAwareness(followUpText, {
|
|
106
106
|
agentId: lead?.id,
|
|
107
107
|
routingReason: lead ? "skill" : undefined,
|
|
108
|
+
routingSource: lead ? "engine_default" : undefined,
|
|
108
109
|
source: "slack",
|
|
109
110
|
parentTaskId: taskId,
|
|
110
111
|
slackChannelId: originalTask.slackChannelId,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
splitDeferredTools
|
|
3
|
+
} from "./cli-vfcth11k.js";
|
|
1
4
|
import {
|
|
2
5
|
buildCopilotDynamicHeaders,
|
|
3
6
|
hasCopilotVisionInput
|
|
@@ -5,15 +8,12 @@ import {
|
|
|
5
8
|
import {
|
|
6
9
|
retryProviderRequest
|
|
7
10
|
} from "./cli-s8s499xy.js";
|
|
8
|
-
import {
|
|
9
|
-
splitDeferredTools
|
|
10
|
-
} from "./cli-vfcth11k.js";
|
|
11
11
|
import {
|
|
12
12
|
getPiUserAgent
|
|
13
13
|
} from "./cli-et1bbwqf.js";
|
|
14
14
|
import {
|
|
15
15
|
Anthropic
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-asvrh7kj.js";
|
|
17
17
|
import"./cli-51tf7ac3.js";
|
|
18
18
|
import {
|
|
19
19
|
getProviderEnvValue
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
initSlackApp,
|
|
4
4
|
startSlackApp,
|
|
5
5
|
stopSlackApp
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-kt7wevqh.js";
|
|
7
7
|
import"./cli-q51yprfq.js";
|
|
8
|
-
import"./cli-
|
|
8
|
+
import"./cli-2658f6at.js";
|
|
9
9
|
import"./cli-yatxqynm.js";
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-08b07b4r.js";
|
|
12
|
-
import"./cli-3apbzgyk.js";
|
|
13
|
-
import"./cli-e29gmdmw.js";
|
|
10
|
+
import"./cli-qp69dd5d.js";
|
|
14
11
|
import"./cli-c2mk1kgf.js";
|
|
12
|
+
import"./cli-hmyynq9b.js";
|
|
13
|
+
import"./cli-n75jt793.js";
|
|
14
|
+
import"./cli-dv6cdjs2.js";
|
|
15
15
|
import"./cli-ej6gbxfb.js";
|
|
16
16
|
import"./cli-sd0mxa3c.js";
|
|
17
17
|
import"./cli-w5e1d1vv.js";
|
|
18
|
-
import"./cli-
|
|
18
|
+
import"./cli-gm0fhz13.js";
|
|
19
19
|
import"./cli-r2ap2czm.js";
|
|
20
20
|
import"./cli-pzxba7gw.js";
|
|
21
21
|
import"./cli-zf8jjwex.js";
|
|
@@ -2,30 +2,29 @@ import {
|
|
|
2
2
|
bufferThreadMessage,
|
|
3
3
|
getBufferMessageCount,
|
|
4
4
|
wasEventSeen
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-9gqddmxs.js";
|
|
6
6
|
import {
|
|
7
|
-
bufferedFileFailures,
|
|
8
7
|
buildEffectiveText,
|
|
9
8
|
createSlackTaskWithFiles,
|
|
10
9
|
fetchSlackFiles,
|
|
11
10
|
hasOtherUserMention,
|
|
12
11
|
notifySlackFileFailures
|
|
13
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-b8x19vbh.js";
|
|
14
13
|
import"./cli-jsp14b6c.js";
|
|
15
14
|
import {
|
|
16
15
|
resolveSlackUserId,
|
|
17
16
|
rewriteSlackMentions
|
|
18
|
-
} from "./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
17
|
+
} from "./cli-72xdszyx.js";
|
|
18
|
+
import"./cli-ydk0wjj8.js";
|
|
19
|
+
import"./cli-n1yj5fd5.js";
|
|
21
20
|
import {
|
|
22
21
|
ackSlackMessage,
|
|
23
22
|
ensureSlackThreadTree,
|
|
24
23
|
isSlackRenderV2Enabled,
|
|
25
24
|
require_dist
|
|
26
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-kt7wevqh.js";
|
|
27
26
|
import"./cli-q51yprfq.js";
|
|
28
|
-
import"./cli-
|
|
27
|
+
import"./cli-2658f6at.js";
|
|
29
28
|
import"./cli-yatxqynm.js";
|
|
30
29
|
import {
|
|
31
30
|
getAgentWorkingOnThread,
|
|
@@ -35,21 +34,21 @@ import {
|
|
|
35
34
|
init_db,
|
|
36
35
|
reactionName,
|
|
37
36
|
slackContextKey
|
|
38
|
-
} from "./cli-
|
|
39
|
-
import"./cli-
|
|
37
|
+
} from "./cli-qp69dd5d.js";
|
|
38
|
+
import"./cli-c2mk1kgf.js";
|
|
39
|
+
import"./cli-hmyynq9b.js";
|
|
40
40
|
import {
|
|
41
41
|
init_resolver,
|
|
42
42
|
resolveTemplate
|
|
43
|
-
} from "./cli-
|
|
44
|
-
import"./cli-
|
|
45
|
-
import"./cli-c2mk1kgf.js";
|
|
43
|
+
} from "./cli-n75jt793.js";
|
|
44
|
+
import"./cli-dv6cdjs2.js";
|
|
46
45
|
import {
|
|
47
46
|
init_env_flag,
|
|
48
47
|
isEnvFlagEnabled
|
|
49
48
|
} from "./cli-ej6gbxfb.js";
|
|
50
49
|
import"./cli-sd0mxa3c.js";
|
|
51
50
|
import"./cli-w5e1d1vv.js";
|
|
52
|
-
import"./cli-
|
|
51
|
+
import"./cli-gm0fhz13.js";
|
|
53
52
|
import"./cli-r2ap2czm.js";
|
|
54
53
|
import"./cli-pzxba7gw.js";
|
|
55
54
|
import"./cli-zf8jjwex.js";
|
|
@@ -142,12 +141,10 @@ function createAssistant() {
|
|
|
142
141
|
}) : undefined;
|
|
143
142
|
const workingAgent = await getAgentWorkingOnThread(channelId, threadTs);
|
|
144
143
|
if (workingAgent && workingAgent.status !== "offline" && isAdditiveSlack()) {
|
|
145
|
-
|
|
146
|
-
bufferThreadMessage(channelId, threadTs, buildEffectiveText(messageText, files, unattached2), userId, message.ts);
|
|
144
|
+
bufferThreadMessage(channelId, threadTs, messageText, userId, message.ts, files);
|
|
147
145
|
const count = getBufferMessageCount(`${channelId}:${threadTs}`);
|
|
148
146
|
const event = count === 1 ? "accepted" : "buffered";
|
|
149
147
|
await ackSlackMessage(client, channelId, message.ts, reactionName(event), event);
|
|
150
|
-
await notifySlackFileFailures(client, channelId, threadTs, unattached2);
|
|
151
148
|
await safeSetStatus("Queuing follow-up...");
|
|
152
149
|
return;
|
|
153
150
|
}
|
|
@@ -160,6 +157,7 @@ function createAssistant() {
|
|
|
160
157
|
const { task: task2, unattached: unattached2 } = await createSlackTaskWithFiles(renderedMessageText, {
|
|
161
158
|
agentId: workingAgent.id,
|
|
162
159
|
routingReason: "continuity",
|
|
160
|
+
routingSource: "engine_default",
|
|
163
161
|
source: "slack",
|
|
164
162
|
slackChannelId: channelId,
|
|
165
163
|
slackThreadTs: threadTs,
|
|
@@ -209,6 +207,7 @@ function createAssistant() {
|
|
|
209
207
|
const { task, unattached } = await createSlackTaskWithFiles(renderedMessageText + channelContext, {
|
|
210
208
|
agentId: lead.id,
|
|
211
209
|
routingReason: "skill",
|
|
210
|
+
routingSource: "engine_default",
|
|
212
211
|
source: "slack",
|
|
213
212
|
slackChannelId: channelId,
|
|
214
213
|
slackThreadTs: threadTs,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
embedScript,
|
|
3
3
|
embeddingProvider
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
4
|
+
} from "./cli-8chp8xab.js";
|
|
5
|
+
import"./cli-7kwmt3r5.js";
|
|
6
|
+
import"./cli-a45d5v9b.js";
|
|
7
7
|
import"./cli-aehm1rbq.js";
|
|
8
|
-
import"./cli-
|
|
8
|
+
import"./cli-2658f6at.js";
|
|
9
9
|
import {
|
|
10
10
|
getDbClient,
|
|
11
11
|
init_db
|
|
12
|
-
} from "./cli-
|
|
13
|
-
import"./cli-08b07b4r.js";
|
|
14
|
-
import"./cli-3apbzgyk.js";
|
|
15
|
-
import"./cli-e29gmdmw.js";
|
|
12
|
+
} from "./cli-qp69dd5d.js";
|
|
16
13
|
import"./cli-c2mk1kgf.js";
|
|
14
|
+
import"./cli-hmyynq9b.js";
|
|
15
|
+
import"./cli-n75jt793.js";
|
|
16
|
+
import"./cli-dv6cdjs2.js";
|
|
17
17
|
import"./cli-ej6gbxfb.js";
|
|
18
18
|
import"./cli-sd0mxa3c.js";
|
|
19
19
|
import"./cli-w5e1d1vv.js";
|
|
20
|
-
import"./cli-
|
|
20
|
+
import"./cli-gm0fhz13.js";
|
|
21
21
|
import"./cli-r2ap2czm.js";
|
|
22
22
|
import"./cli-zf8jjwex.js";
|
|
23
23
|
import"./cli-bc05qbss.js";
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
getEmbeddingProvider,
|
|
4
4
|
getMemoryStore,
|
|
5
5
|
init_constants
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import"./cli-
|
|
6
|
+
} from "./cli-7kwmt3r5.js";
|
|
7
|
+
import"./cli-a45d5v9b.js";
|
|
8
8
|
import"./cli-aehm1rbq.js";
|
|
9
|
-
import"./cli-
|
|
9
|
+
import"./cli-2658f6at.js";
|
|
10
10
|
import {
|
|
11
11
|
getDbClient,
|
|
12
12
|
init_db
|
|
13
|
-
} from "./cli-
|
|
14
|
-
import"./cli-08b07b4r.js";
|
|
15
|
-
import"./cli-3apbzgyk.js";
|
|
16
|
-
import"./cli-e29gmdmw.js";
|
|
13
|
+
} from "./cli-qp69dd5d.js";
|
|
17
14
|
import"./cli-c2mk1kgf.js";
|
|
15
|
+
import"./cli-hmyynq9b.js";
|
|
16
|
+
import"./cli-n75jt793.js";
|
|
17
|
+
import"./cli-dv6cdjs2.js";
|
|
18
18
|
import"./cli-ej6gbxfb.js";
|
|
19
19
|
import"./cli-sd0mxa3c.js";
|
|
20
20
|
import"./cli-w5e1d1vv.js";
|
|
21
|
-
import"./cli-
|
|
21
|
+
import"./cli-gm0fhz13.js";
|
|
22
22
|
import"./cli-r2ap2czm.js";
|
|
23
23
|
import"./cli-zf8jjwex.js";
|
|
24
24
|
import"./cli-bc05qbss.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDbClient,
|
|
3
3
|
init_db
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-08b07b4r.js";
|
|
6
|
-
import"./cli-3apbzgyk.js";
|
|
7
|
-
import"./cli-e29gmdmw.js";
|
|
4
|
+
} from "./cli-qp69dd5d.js";
|
|
8
5
|
import"./cli-c2mk1kgf.js";
|
|
6
|
+
import"./cli-hmyynq9b.js";
|
|
7
|
+
import"./cli-n75jt793.js";
|
|
8
|
+
import"./cli-dv6cdjs2.js";
|
|
9
9
|
import"./cli-ej6gbxfb.js";
|
|
10
10
|
import"./cli-sd0mxa3c.js";
|
|
11
11
|
import"./cli-w5e1d1vv.js";
|
|
12
|
-
import"./cli-
|
|
12
|
+
import"./cli-gm0fhz13.js";
|
|
13
13
|
import {
|
|
14
14
|
init_secret_scrubber,
|
|
15
15
|
scrubSecrets
|
|
@@ -17,35 +17,35 @@ import {
|
|
|
17
17
|
resolveClaudeBridgeEnabled,
|
|
18
18
|
resolveClaudeQueueSteeringOverride,
|
|
19
19
|
runClaudeSessionSummary
|
|
20
|
-
} from "./cli-
|
|
21
|
-
import"./cli-cr12paw2.js";
|
|
22
|
-
import"./cli-4wtq5jjv.js";
|
|
23
|
-
import"./cli-b5b30yzk.js";
|
|
24
|
-
import"./cli-jecc01cb.js";
|
|
25
|
-
import"./cli-hp1n6zq3.js";
|
|
20
|
+
} from "./cli-zthatyrx.js";
|
|
26
21
|
import"./cli-tng3131n.js";
|
|
22
|
+
import"./cli-111ey3ra.js";
|
|
23
|
+
import"./cli-1mx65de9.js";
|
|
24
|
+
import"./cli-b5b30yzk.js";
|
|
27
25
|
import"./cli-zm7njwzd.js";
|
|
26
|
+
import"./cli-dyx0237s.js";
|
|
28
27
|
import"./cli-s25avqg9.js";
|
|
28
|
+
import"./cli-hp1n6zq3.js";
|
|
29
29
|
import"./cli-eree7rnv.js";
|
|
30
|
-
import"./cli-xvkmedgn.js";
|
|
31
30
|
import"./cli-4yc5d8fk.js";
|
|
31
|
+
import"./cli-xvkmedgn.js";
|
|
32
32
|
import"./cli-07jd68a1.js";
|
|
33
|
-
import"./cli-
|
|
33
|
+
import"./cli-mzb0n642.js";
|
|
34
34
|
import"./cli-e7d20cty.js";
|
|
35
35
|
import"./cli-3dpj7atn.js";
|
|
36
36
|
import"./cli-y89t4nca.js";
|
|
37
37
|
import"./cli-f14fvzag.js";
|
|
38
|
-
import"./cli-
|
|
38
|
+
import"./cli-a45d5v9b.js";
|
|
39
39
|
import"./cli-bsakbbkm.js";
|
|
40
|
-
import"./cli-
|
|
41
|
-
import"./cli-08b07b4r.js";
|
|
42
|
-
import"./cli-3apbzgyk.js";
|
|
43
|
-
import"./cli-e29gmdmw.js";
|
|
40
|
+
import"./cli-2658f6at.js";
|
|
44
41
|
import"./cli-c2mk1kgf.js";
|
|
42
|
+
import"./cli-hmyynq9b.js";
|
|
43
|
+
import"./cli-n75jt793.js";
|
|
44
|
+
import"./cli-dv6cdjs2.js";
|
|
45
45
|
import"./cli-ej6gbxfb.js";
|
|
46
46
|
import"./cli-sd0mxa3c.js";
|
|
47
47
|
import"./cli-w5e1d1vv.js";
|
|
48
|
-
import"./cli-
|
|
48
|
+
import"./cli-gm0fhz13.js";
|
|
49
49
|
import"./cli-r2ap2czm.js";
|
|
50
50
|
import"./cli-knd276ed.js";
|
|
51
51
|
import"./cli-c4eeb5q2.js";
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
checkClaudeManagedCredentials,
|
|
4
4
|
composeManagedUserMessage,
|
|
5
5
|
normalizeRepoUrl
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-wk0gjrn3.js";
|
|
7
7
|
import"./cli-hsxj0yar.js";
|
|
8
8
|
import"./cli-2djtr51b.js";
|
|
9
9
|
import"./cli-j490egb5.js";
|
|
10
|
-
import"./cli-hp1n6zq3.js";
|
|
11
10
|
import"./cli-s25avqg9.js";
|
|
11
|
+
import"./cli-hp1n6zq3.js";
|
|
12
12
|
import"./cli-r2ap2czm.js";
|
|
13
13
|
import"./cli-bc05qbss.js";
|
|
14
14
|
export {
|
|
@@ -3,26 +3,26 @@ import {
|
|
|
3
3
|
cleanupTaskFile,
|
|
4
4
|
normalizeClaudeMessage,
|
|
5
5
|
runClaudeSessionSummary
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
6
|
+
} from "./cli-zthatyrx.js";
|
|
7
|
+
import"./cli-tng3131n.js";
|
|
8
|
+
import"./cli-111ey3ra.js";
|
|
9
|
+
import"./cli-1mx65de9.js";
|
|
9
10
|
import {
|
|
10
11
|
SessionErrorTracker,
|
|
11
12
|
parseStderrForErrors,
|
|
12
13
|
trackErrorFromJson
|
|
13
14
|
} from "./cli-b5b30yzk.js";
|
|
14
|
-
import"./cli-jecc01cb.js";
|
|
15
|
-
import"./cli-hp1n6zq3.js";
|
|
16
|
-
import"./cli-tng3131n.js";
|
|
17
15
|
import"./cli-zm7njwzd.js";
|
|
16
|
+
import"./cli-dyx0237s.js";
|
|
18
17
|
import {
|
|
19
18
|
getContextWindowSize
|
|
20
19
|
} from "./cli-s25avqg9.js";
|
|
20
|
+
import"./cli-hp1n6zq3.js";
|
|
21
21
|
import"./cli-eree7rnv.js";
|
|
22
|
-
import"./cli-xvkmedgn.js";
|
|
23
22
|
import"./cli-4yc5d8fk.js";
|
|
23
|
+
import"./cli-xvkmedgn.js";
|
|
24
24
|
import"./cli-07jd68a1.js";
|
|
25
|
-
import"./cli-
|
|
25
|
+
import"./cli-mzb0n642.js";
|
|
26
26
|
import"./cli-e7d20cty.js";
|
|
27
27
|
import"./cli-3dpj7atn.js";
|
|
28
28
|
import {
|
|
@@ -32,17 +32,17 @@ import {
|
|
|
32
32
|
terminateProcessGroup
|
|
33
33
|
} from "./cli-y89t4nca.js";
|
|
34
34
|
import"./cli-f14fvzag.js";
|
|
35
|
-
import"./cli-
|
|
35
|
+
import"./cli-a45d5v9b.js";
|
|
36
36
|
import"./cli-bsakbbkm.js";
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-08b07b4r.js";
|
|
39
|
-
import"./cli-3apbzgyk.js";
|
|
40
|
-
import"./cli-e29gmdmw.js";
|
|
37
|
+
import"./cli-2658f6at.js";
|
|
41
38
|
import"./cli-c2mk1kgf.js";
|
|
39
|
+
import"./cli-hmyynq9b.js";
|
|
40
|
+
import"./cli-n75jt793.js";
|
|
41
|
+
import"./cli-dv6cdjs2.js";
|
|
42
42
|
import"./cli-ej6gbxfb.js";
|
|
43
43
|
import"./cli-sd0mxa3c.js";
|
|
44
44
|
import"./cli-w5e1d1vv.js";
|
|
45
|
-
import"./cli-
|
|
45
|
+
import"./cli-gm0fhz13.js";
|
|
46
46
|
import {
|
|
47
47
|
init_secret_scrubber,
|
|
48
48
|
scrubSecrets
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
materializeClaudeMd,
|
|
3
3
|
stopClaudeMd
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-1mx65de9.js";
|
|
5
5
|
import {
|
|
6
6
|
summarizeSession
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-dyx0237s.js";
|
|
8
8
|
import {
|
|
9
9
|
checkToolLoop,
|
|
10
10
|
clearToolHistory
|
|
@@ -26,16 +26,16 @@ import {
|
|
|
26
26
|
init_profile_sync,
|
|
27
27
|
readIdentityBaselines,
|
|
28
28
|
warnProfileFileTooLarge
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-a45d5v9b.js";
|
|
30
30
|
import {
|
|
31
31
|
MAX_PROFILE_FILE_LENGTH,
|
|
32
32
|
getMcpBaseUrl,
|
|
33
33
|
init_constants
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-dv6cdjs2.js";
|
|
35
35
|
import {
|
|
36
36
|
init_package,
|
|
37
37
|
package_default
|
|
38
|
-
} from "./cli-
|
|
38
|
+
} from "./cli-gm0fhz13.js";
|
|
39
39
|
import {
|
|
40
40
|
init_secret_scrubber,
|
|
41
41
|
scrubSecrets
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SYSTEM_COLUMN_KINDS,
|
|
3
3
|
listAppRecords
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-q04q68be.js";
|
|
5
5
|
import {
|
|
6
6
|
getScriptApiTypes,
|
|
7
7
|
getScriptMcpTypes,
|
|
8
8
|
require_typescript
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-zd21jrrc.js";
|
|
10
10
|
import {
|
|
11
11
|
deleteSwarmConfigByKey,
|
|
12
12
|
getAgentById,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
getSwarmConfigs,
|
|
16
16
|
init_db,
|
|
17
17
|
upsertSwarmConfig
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-qp69dd5d.js";
|
|
19
19
|
import {
|
|
20
20
|
init_secret_scrubber,
|
|
21
21
|
scrubSecrets
|
|
@@ -632,10 +632,14 @@ export type ScriptApiDefaultOptions = { raw?: false };
|
|
|
632
632
|
export type RoutingReason = "skill" | "continuity" | "overflow" | "human_pinned" | "reroute_fault";
|
|
633
633
|
export type TaskSendArgs = Record<string, unknown> & {
|
|
634
634
|
task: string;
|
|
635
|
-
routingNote?: string;
|
|
636
635
|
} & (
|
|
637
|
-
| {
|
|
638
|
-
|
|
636
|
+
| {
|
|
637
|
+
agentId: string;
|
|
638
|
+
routingReason: RoutingReason;
|
|
639
|
+
/** At least 10 characters after trim; maximum 200. */
|
|
640
|
+
routingNote: string;
|
|
641
|
+
}
|
|
642
|
+
| { agentId?: never; routingReason?: never; routingNote?: string }
|
|
639
643
|
);
|
|
640
644
|
export type AgentTaskStepConfig = {
|
|
641
645
|
template?: string;
|