@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
|
@@ -182,35 +182,58 @@ import {
|
|
|
182
182
|
warnIfCorsAllowsAnyOrigin,
|
|
183
183
|
wireHttpSpanLifecycle,
|
|
184
184
|
writeSkillsToFilesystem
|
|
185
|
-
} from "./cli-
|
|
185
|
+
} from "./cli-3mh119qv.js";
|
|
186
186
|
import"./cli-0z2v4nhw.js";
|
|
187
187
|
import {
|
|
188
188
|
Anthropic
|
|
189
189
|
} from "./cli-j490egb5.js";
|
|
190
|
+
import {
|
|
191
|
+
checkHeartbeatChecklist,
|
|
192
|
+
runHeartbeatSweep,
|
|
193
|
+
stopHeartbeat
|
|
194
|
+
} from "./cli-ttje5a4z.js";
|
|
195
|
+
import {
|
|
196
|
+
AGENT_MAX_TASKS_CONFIG_KEY,
|
|
197
|
+
createResumeFollowUp,
|
|
198
|
+
createWorkerTaskFollowUp,
|
|
199
|
+
getRuntimeInstanceById,
|
|
200
|
+
listRuntimeInstancesForAgent,
|
|
201
|
+
reconcileAgentMaxTasksPolicy,
|
|
202
|
+
reconcileAgentStatusFromRuntimes,
|
|
203
|
+
resetAgentMaxTasksMirror,
|
|
204
|
+
runtimeStaleThresholdMinutes,
|
|
205
|
+
setRuntimeCredentialReady,
|
|
206
|
+
touchRuntimeInstance,
|
|
207
|
+
upsertRuntimeInstance,
|
|
208
|
+
upsertSwarmConfigWithPolicyMirror
|
|
209
|
+
} from "./cli-xjb9wghj.js";
|
|
190
210
|
import {
|
|
191
211
|
isClaudeBridgeEffective,
|
|
192
212
|
resolveClaudeTransport
|
|
193
213
|
} from "./cli-eree7rnv.js";
|
|
214
|
+
import {
|
|
215
|
+
reasoningCapability
|
|
216
|
+
} from "./cli-4yc5d8fk.js";
|
|
194
217
|
import {
|
|
195
218
|
REFERENCES_SOURCE_MAX_LENGTH,
|
|
196
219
|
sanitizeReferencesSource
|
|
197
220
|
} from "./cli-xvkmedgn.js";
|
|
198
221
|
import {
|
|
199
|
-
|
|
200
|
-
} from "./cli-
|
|
222
|
+
isMultiRuntimeEnabled
|
|
223
|
+
} from "./cli-07jd68a1.js";
|
|
201
224
|
import {
|
|
202
225
|
calculateNextRun,
|
|
203
226
|
dispatchScheduleTarget
|
|
204
|
-
} from "./cli-
|
|
227
|
+
} from "./cli-rwp3ksm7.js";
|
|
205
228
|
import {
|
|
206
229
|
getModelsCatalog
|
|
207
|
-
} from "./cli-
|
|
230
|
+
} from "./cli-h505yhex.js";
|
|
208
231
|
import {
|
|
209
232
|
normalizeModelKey
|
|
210
|
-
} from "./cli-
|
|
233
|
+
} from "./cli-ceb5y160.js";
|
|
211
234
|
import {
|
|
212
235
|
getUserGrant
|
|
213
|
-
} from "./cli-
|
|
236
|
+
} from "./cli-ck1vqzdj.js";
|
|
214
237
|
import {
|
|
215
238
|
can,
|
|
216
239
|
clearAuditSink,
|
|
@@ -227,38 +250,15 @@ import {
|
|
|
227
250
|
scriptSdkTypesWithGeneratedApis,
|
|
228
251
|
scriptStdlibTypesWithGeneratedApis,
|
|
229
252
|
typecheckScript
|
|
230
|
-
} from "./cli-
|
|
253
|
+
} from "./cli-3ckzxdt1.js";
|
|
231
254
|
import {
|
|
232
255
|
collectScriptReferences,
|
|
233
256
|
getApp,
|
|
234
257
|
listAppRecords
|
|
235
|
-
} from "./cli-
|
|
258
|
+
} from "./cli-q04q68be.js";
|
|
236
259
|
import {
|
|
237
260
|
require_dist
|
|
238
261
|
} from "./cli-qgm2pfpq.js";
|
|
239
|
-
import {
|
|
240
|
-
checkHeartbeatChecklist,
|
|
241
|
-
runHeartbeatSweep,
|
|
242
|
-
stopHeartbeat
|
|
243
|
-
} from "./cli-nye12xk5.js";
|
|
244
|
-
import {
|
|
245
|
-
AGENT_MAX_TASKS_CONFIG_KEY,
|
|
246
|
-
createResumeFollowUp,
|
|
247
|
-
createWorkerTaskFollowUp,
|
|
248
|
-
getRuntimeInstanceById,
|
|
249
|
-
listRuntimeInstancesForAgent,
|
|
250
|
-
reconcileAgentMaxTasksPolicy,
|
|
251
|
-
reconcileAgentStatusFromRuntimes,
|
|
252
|
-
resetAgentMaxTasksMirror,
|
|
253
|
-
runtimeStaleThresholdMinutes,
|
|
254
|
-
setRuntimeCredentialReady,
|
|
255
|
-
touchRuntimeInstance,
|
|
256
|
-
upsertRuntimeInstance,
|
|
257
|
-
upsertSwarmConfigWithPolicyMirror
|
|
258
|
-
} from "./cli-mnmsfd1w.js";
|
|
259
|
-
import {
|
|
260
|
-
isMultiRuntimeEnabled
|
|
261
|
-
} from "./cli-07jd68a1.js";
|
|
262
262
|
import {
|
|
263
263
|
RawLlmConfigSchema,
|
|
264
264
|
RawLlmOutputSchema,
|
|
@@ -278,8 +278,8 @@ import {
|
|
|
278
278
|
startWorkflowExecution,
|
|
279
279
|
validateJsonSchema,
|
|
280
280
|
verifyHmacSignature
|
|
281
|
-
} from "./cli-
|
|
282
|
-
import"./cli-
|
|
281
|
+
} from "./cli-rnsr8asm.js";
|
|
282
|
+
import"./cli-mzb0n642.js";
|
|
283
283
|
import {
|
|
284
284
|
deriveCodexKeySuffix,
|
|
285
285
|
getValidCodexOAuth,
|
|
@@ -363,11 +363,11 @@ import {
|
|
|
363
363
|
upsertScriptByName,
|
|
364
364
|
upsertScriptConnection,
|
|
365
365
|
validateDefinition
|
|
366
|
-
} from "./cli-
|
|
366
|
+
} from "./cli-zd21jrrc.js";
|
|
367
367
|
import"./cli-epan13p1.js";
|
|
368
368
|
import {
|
|
369
369
|
searchScripts
|
|
370
|
-
} from "./cli-
|
|
370
|
+
} from "./cli-8chp8xab.js";
|
|
371
371
|
import {
|
|
372
372
|
CANDIDATE_SET_MULTIPLIER,
|
|
373
373
|
getEmbeddingProvider,
|
|
@@ -375,7 +375,7 @@ import {
|
|
|
375
375
|
init_constants as init_constants2,
|
|
376
376
|
init_reranker,
|
|
377
377
|
rerank
|
|
378
|
-
} from "./cli-
|
|
378
|
+
} from "./cli-7kwmt3r5.js";
|
|
379
379
|
import {
|
|
380
380
|
detachedProcessGroup,
|
|
381
381
|
forceTerminateProcessGroup,
|
|
@@ -386,7 +386,7 @@ import {
|
|
|
386
386
|
import {
|
|
387
387
|
getApiKey
|
|
388
388
|
} from "./cli-f14fvzag.js";
|
|
389
|
-
import"./cli-
|
|
389
|
+
import"./cli-a45d5v9b.js";
|
|
390
390
|
import {
|
|
391
391
|
acquireOAuthRefreshLock,
|
|
392
392
|
buildAuthorizationUrl,
|
|
@@ -410,15 +410,15 @@ import {
|
|
|
410
410
|
updateAuthorizationIdentity,
|
|
411
411
|
updateOAuthAppById,
|
|
412
412
|
upsertAuthorization
|
|
413
|
-
} from "./cli-
|
|
413
|
+
} from "./cli-vr6qj104.js";
|
|
414
|
+
import"./cli-bsakbbkm.js";
|
|
414
415
|
import"./cli-fad8m16k.js";
|
|
415
416
|
import"./cli-aehm1rbq.js";
|
|
416
|
-
import"./cli-bsakbbkm.js";
|
|
417
417
|
import"./cli-51tf7ac3.js";
|
|
418
418
|
import {
|
|
419
419
|
MAX_TASK_ATTACHMENT_BYTES,
|
|
420
420
|
recordTaskAttachmentUpload
|
|
421
|
-
} from "./cli-
|
|
421
|
+
} from "./cli-b8x19vbh.js";
|
|
422
422
|
import {
|
|
423
423
|
FilesError,
|
|
424
424
|
getFileStorageProvider,
|
|
@@ -441,10 +441,10 @@ import {
|
|
|
441
441
|
revokeSessionToken,
|
|
442
442
|
revokeToken,
|
|
443
443
|
unlinkIdentity
|
|
444
|
-
} from "./cli-
|
|
444
|
+
} from "./cli-ydk0wjj8.js";
|
|
445
445
|
import {
|
|
446
446
|
createTaskWithSiblingAwareness
|
|
447
|
-
} from "./cli-
|
|
447
|
+
} from "./cli-n1yj5fd5.js";
|
|
448
448
|
import {
|
|
449
449
|
ensure,
|
|
450
450
|
getSlackApp,
|
|
@@ -460,9 +460,9 @@ import {
|
|
|
460
460
|
withRemoteContext,
|
|
461
461
|
withSpan,
|
|
462
462
|
withSpanContext
|
|
463
|
-
} from "./cli-
|
|
463
|
+
} from "./cli-kt7wevqh.js";
|
|
464
464
|
import"./cli-q51yprfq.js";
|
|
465
|
-
import"./cli-
|
|
465
|
+
import"./cli-2658f6at.js";
|
|
466
466
|
import"./cli-yatxqynm.js";
|
|
467
467
|
import {
|
|
468
468
|
ActiveSessionSchema,
|
|
@@ -865,12 +865,13 @@ import {
|
|
|
865
865
|
upsertSwarmConfig,
|
|
866
866
|
validateConfigValue,
|
|
867
867
|
withFavoriteFlags
|
|
868
|
-
} from "./cli-
|
|
868
|
+
} from "./cli-qp69dd5d.js";
|
|
869
|
+
import"./cli-c2mk1kgf.js";
|
|
869
870
|
import {
|
|
870
871
|
IDENTITY_FIELD_BUDGETS,
|
|
871
872
|
IdentityFieldBudgetError,
|
|
872
873
|
init_identity_field_budget
|
|
873
|
-
} from "./cli-
|
|
874
|
+
} from "./cli-hmyynq9b.js";
|
|
874
875
|
import {
|
|
875
876
|
getAllTemplateDefinitions,
|
|
876
877
|
getTemplateDefinition,
|
|
@@ -881,7 +882,7 @@ import {
|
|
|
881
882
|
interpolate,
|
|
882
883
|
isSteeringEnabled,
|
|
883
884
|
resolveTemplate
|
|
884
|
-
} from "./cli-
|
|
885
|
+
} from "./cli-n75jt793.js";
|
|
885
886
|
import {
|
|
886
887
|
MAX_PROFILE_FILE_LENGTH,
|
|
887
888
|
getAppUrl,
|
|
@@ -889,8 +890,7 @@ import {
|
|
|
889
890
|
getMcpBaseUrl,
|
|
890
891
|
getPublicMcpBaseUrl,
|
|
891
892
|
init_constants
|
|
892
|
-
} from "./cli-
|
|
893
|
-
import"./cli-c2mk1kgf.js";
|
|
893
|
+
} from "./cli-dv6cdjs2.js";
|
|
894
894
|
import {
|
|
895
895
|
init_env_flag,
|
|
896
896
|
isEnvFlagEnabled,
|
|
@@ -911,7 +911,7 @@ import {
|
|
|
911
911
|
import {
|
|
912
912
|
init_package,
|
|
913
913
|
package_default
|
|
914
|
-
} from "./cli-
|
|
914
|
+
} from "./cli-gm0fhz13.js";
|
|
915
915
|
import {
|
|
916
916
|
init_secret_scrubber,
|
|
917
917
|
registerVolatileSecret,
|
|
@@ -933,15 +933,15 @@ import {
|
|
|
933
933
|
} from "./cli-zf8jjwex.js";
|
|
934
934
|
import {
|
|
935
935
|
bedrockProviderModule
|
|
936
|
-
} from "./cli-
|
|
936
|
+
} from "./cli-8qx7jnrk.js";
|
|
937
937
|
import"./cli-cg4vnyh4.js";
|
|
938
938
|
import {
|
|
939
939
|
setBedrockProviderModule
|
|
940
940
|
} from "./cli-c4eeb5q2.js";
|
|
941
|
-
import"./cli-pdz9qde4.js";
|
|
942
941
|
import"./cli-txgcknmy.js";
|
|
943
|
-
import"./cli-
|
|
942
|
+
import"./cli-pdz9qde4.js";
|
|
944
943
|
import"./cli-btbzvq95.js";
|
|
944
|
+
import"./cli-6map995v.js";
|
|
945
945
|
import"./cli-1m2e086m.js";
|
|
946
946
|
import"./cli-j8dggbcr.js";
|
|
947
947
|
import"./cli-rgvp6r2x.js";
|
|
@@ -5079,6 +5079,7 @@ async function handleApprovalRequests(req, res, pathSegments, queryParams) {
|
|
|
5079
5079
|
await createTaskExtended(taskText, {
|
|
5080
5080
|
agentId: sourceTask.agentId,
|
|
5081
5081
|
routingReason: sourceTask.agentId ? "continuity" : undefined,
|
|
5082
|
+
routingSource: sourceTask.agentId ? "engine_default" : undefined,
|
|
5082
5083
|
parentTaskId: updated.sourceTaskId,
|
|
5083
5084
|
source: "system",
|
|
5084
5085
|
taskType: "hitl-follow-up",
|
|
@@ -5940,7 +5941,8 @@ async function handleConfig(req, res, pathSegments, queryParams) {
|
|
|
5940
5941
|
}
|
|
5941
5942
|
const presence = {};
|
|
5942
5943
|
for (const key of keys) {
|
|
5943
|
-
|
|
5944
|
+
const value = key === "SWARM_ORG_NAME" ? process.env[key]?.trim() : process.env[key];
|
|
5945
|
+
presence[key] = value !== undefined && value !== "";
|
|
5944
5946
|
}
|
|
5945
5947
|
envPresence.respond(res, 200, { presence });
|
|
5946
5948
|
return true;
|
|
@@ -18775,6 +18777,7 @@ async function handleScriptRuns(req, res, pathSegments, queryParams, agentId) {
|
|
|
18775
18777
|
agentId: parsed.body.agentId,
|
|
18776
18778
|
routingReason: parsed.body.routingReason ?? (parsed.body.agentId ? "human_pinned" : undefined),
|
|
18777
18779
|
routingNote: parsed.body.routingNote,
|
|
18780
|
+
routingSource: parsed.body.routingReason ? "declared" : parsed.body.agentId ? "engine_default" : undefined,
|
|
18778
18781
|
tags: parsed.body.tags,
|
|
18779
18782
|
priority: parsed.body.priority,
|
|
18780
18783
|
offeredTo: parsed.body.offerMode ? parsed.body.agentId : undefined,
|
|
@@ -22558,6 +22561,7 @@ async function handleTasks(req, res, pathSegments, queryParams, myAgentId) {
|
|
|
22558
22561
|
agentId: defaultAgentId,
|
|
22559
22562
|
routingReason: parsed.body.routingReason ?? (defaultAgentId ? parentTask?.agentId === defaultAgentId ? "continuity" : "skill" : undefined),
|
|
22560
22563
|
routingNote: parsed.body.routingNote,
|
|
22564
|
+
routingSource: parsed.body.routingReason ? "declared" : defaultAgentId ? "engine_default" : undefined,
|
|
22561
22565
|
creatorAgentId: myAgentId || undefined,
|
|
22562
22566
|
taskType: parsed.body.taskType || undefined,
|
|
22563
22567
|
tags: parsed.body.tags || undefined,
|
|
@@ -24831,6 +24835,7 @@ async function routeKapsoInbound(payload) {
|
|
|
24831
24835
|
const task = await createTaskWithSiblingAwareness(await buildTaskDescription(payload), {
|
|
24832
24836
|
agentId: mapping.agentId ?? null,
|
|
24833
24837
|
routingReason: mapping.agentId ? "human_pinned" : undefined,
|
|
24838
|
+
routingSource: mapping.agentId ? "engine_default" : undefined,
|
|
24834
24839
|
source: "system",
|
|
24835
24840
|
taskType: "kapso-inbound",
|
|
24836
24841
|
tags: ["kapso-whatsapp", "inbound"],
|
|
@@ -26555,7 +26560,7 @@ async function shutdown() {
|
|
|
26555
26560
|
sessionsProcessed: getServerSessionsProcessed()
|
|
26556
26561
|
});
|
|
26557
26562
|
if (hasCapability("scheduling")) {
|
|
26558
|
-
const { stopScheduler } = await import("./index-
|
|
26563
|
+
const { stopScheduler } = await import("./index-wtwpthe1.js");
|
|
26559
26564
|
stopScheduler();
|
|
26560
26565
|
}
|
|
26561
26566
|
stopHeartbeat();
|
|
@@ -26563,7 +26568,7 @@ async function shutdown() {
|
|
|
26563
26568
|
await stopScriptRunSupervisor();
|
|
26564
26569
|
await stopSlackApp();
|
|
26565
26570
|
if (process.env.OAUTH_KEEPALIVE_DISABLE !== "true") {
|
|
26566
|
-
const { stopOAuthKeepalive } = await import("./keepalive-
|
|
26571
|
+
const { stopOAuthKeepalive } = await import("./keepalive-fbsak4ya.js");
|
|
26567
26572
|
await stopOAuthKeepalive();
|
|
26568
26573
|
}
|
|
26569
26574
|
stopOAuthPendingGc();
|
|
@@ -26617,7 +26622,7 @@ if (!globalState.__runId) {
|
|
|
26617
26622
|
startApiGcInterval();
|
|
26618
26623
|
var startupConfigsInjected = [];
|
|
26619
26624
|
try {
|
|
26620
|
-
startupConfigsInjected = await loadGlobalConfigsIntoEnv(
|
|
26625
|
+
startupConfigsInjected = await loadGlobalConfigsIntoEnv(true);
|
|
26621
26626
|
} catch (err) {
|
|
26622
26627
|
console.error("[startup] Failed to load global swarm configs before listen:", err);
|
|
26623
26628
|
process.exitCode = 1;
|
|
@@ -26630,15 +26635,15 @@ try {
|
|
|
26630
26635
|
console.warn("[startup] CAPABILITIES upgrade seed failed (non-fatal):", err);
|
|
26631
26636
|
}
|
|
26632
26637
|
try {
|
|
26633
|
-
const { seedPricingFromModelsDev } = await import("./seed-pricing-
|
|
26638
|
+
const { seedPricingFromModelsDev } = await import("./seed-pricing-7rxhcnzm.js");
|
|
26634
26639
|
seedPricingFromModelsDev();
|
|
26635
|
-
const { startPricingRefreshLoop } = await import("./pricing-refresh-
|
|
26640
|
+
const { startPricingRefreshLoop } = await import("./pricing-refresh-9cek71nq.js");
|
|
26636
26641
|
startPricingRefreshLoop();
|
|
26637
26642
|
} catch (err) {
|
|
26638
26643
|
console.error("[startup] Failed to seed pricing rows:", err);
|
|
26639
26644
|
}
|
|
26640
26645
|
try {
|
|
26641
|
-
const { ensureRbacSeedsSynced } = await import("./rbac-roles-
|
|
26646
|
+
const { ensureRbacSeedsSynced } = await import("./rbac-roles-vk8mqp9v.js");
|
|
26642
26647
|
ensureRbacSeedsSynced();
|
|
26643
26648
|
} catch (err) {
|
|
26644
26649
|
console.error("[startup] Failed to sync RBAC seed rows:", err);
|
|
@@ -26646,7 +26651,7 @@ try {
|
|
|
26646
26651
|
throw err;
|
|
26647
26652
|
}
|
|
26648
26653
|
try {
|
|
26649
|
-
const { runAllSeeders } = await import("./index-
|
|
26654
|
+
const { runAllSeeders } = await import("./index-sfhaq59d.js");
|
|
26650
26655
|
await runAllSeeders({ scriptEmbeddingMode: "skip" });
|
|
26651
26656
|
} catch (err) {
|
|
26652
26657
|
console.error("[startup] Failed to seed built-in entities:", err);
|
|
@@ -26677,7 +26682,11 @@ httpServer.listen(port, async () => {
|
|
|
26677
26682
|
if (process.env.GITHUB_TOKEN) {
|
|
26678
26683
|
await emitBuiltInIntegrationConnectedOnce("github");
|
|
26679
26684
|
}
|
|
26680
|
-
|
|
26685
|
+
try {
|
|
26686
|
+
await startSlackApp();
|
|
26687
|
+
} catch (err) {
|
|
26688
|
+
console.error("[Slack] Failed to start, continuing boot without Slack:", err);
|
|
26689
|
+
}
|
|
26681
26690
|
startQueueStallAlarm();
|
|
26682
26691
|
initGitHub();
|
|
26683
26692
|
initGitLab();
|
|
@@ -26687,36 +26696,36 @@ httpServer.listen(port, async () => {
|
|
|
26687
26696
|
await initWorkflows();
|
|
26688
26697
|
await startScriptRunSupervisor(getMcpBaseUrl());
|
|
26689
26698
|
if (hasCapability("scheduling")) {
|
|
26690
|
-
const { startScheduler } = await import("./index-
|
|
26691
|
-
const { getExecutorRegistry: getExecutorRegistry2 } = await import("./index-
|
|
26699
|
+
const { startScheduler } = await import("./index-wtwpthe1.js");
|
|
26700
|
+
const { getExecutorRegistry: getExecutorRegistry2 } = await import("./index-bcyx5djw.js");
|
|
26692
26701
|
const intervalMs = Number(process.env.SCHEDULER_INTERVAL_MS) || 1e4;
|
|
26693
26702
|
startScheduler(getExecutorRegistry2(), intervalMs, {
|
|
26694
26703
|
runId: globalState.__runId
|
|
26695
26704
|
});
|
|
26696
26705
|
}
|
|
26697
26706
|
if (!isEnvFlagEnabled("HEARTBEAT_DISABLE", false)) {
|
|
26698
|
-
const { startHeartbeat } = await import("./index-
|
|
26707
|
+
const { startHeartbeat } = await import("./index-1d9r6a74.js");
|
|
26699
26708
|
const heartbeatMs = Number(process.env.HEARTBEAT_INTERVAL_MS) || 90000;
|
|
26700
26709
|
startHeartbeat(heartbeatMs);
|
|
26701
26710
|
}
|
|
26702
26711
|
if (process.env.OAUTH_KEEPALIVE_DISABLE !== "true") {
|
|
26703
|
-
const { startOAuthKeepalive } = await import("./keepalive-
|
|
26712
|
+
const { startOAuthKeepalive } = await import("./keepalive-fbsak4ya.js");
|
|
26704
26713
|
startOAuthKeepalive();
|
|
26705
26714
|
}
|
|
26706
26715
|
if (process.env.OAUTH_REFRESH_SWEEP_DISABLE !== "true") {
|
|
26707
|
-
const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-
|
|
26716
|
+
const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-j3d7gtse.js");
|
|
26708
26717
|
startOAuthRefreshSweep();
|
|
26709
26718
|
}
|
|
26710
26719
|
startOAuthPendingGc();
|
|
26711
26720
|
await startMemoryGc();
|
|
26712
26721
|
await startDbRetention();
|
|
26713
|
-
import("./boot-reembed-
|
|
26722
|
+
import("./boot-reembed-n15q6s9x.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
|
|
26714
26723
|
console.error("[boot-reembed] startup backfill failed (non-fatal):", err);
|
|
26715
26724
|
});
|
|
26716
|
-
import("./boot-reembed-
|
|
26725
|
+
import("./boot-reembed-92292pgf.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
|
|
26717
26726
|
console.error("[boot-reembed-scripts] startup backfill failed (non-fatal):", err);
|
|
26718
26727
|
});
|
|
26719
|
-
import("./boot-scrub-logs-
|
|
26728
|
+
import("./boot-scrub-logs-44pc955m.js").then(({ runBootScrubLogs }) => runBootScrubLogs()).catch((err) => {
|
|
26720
26729
|
console.error("[boot-scrub-logs] startup scrub failed (non-fatal):", err);
|
|
26721
26730
|
});
|
|
26722
26731
|
}).on("error", (err) => {
|
|
@@ -4,37 +4,37 @@ import {
|
|
|
4
4
|
runRebootSweep,
|
|
5
5
|
startHeartbeat,
|
|
6
6
|
stopHeartbeat
|
|
7
|
-
} from "./cli-
|
|
8
|
-
import"./cli-
|
|
7
|
+
} from "./cli-ttje5a4z.js";
|
|
8
|
+
import"./cli-xjb9wghj.js";
|
|
9
9
|
import"./cli-07jd68a1.js";
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
10
|
+
import"./cli-rnsr8asm.js";
|
|
11
|
+
import"./cli-mzb0n642.js";
|
|
12
12
|
import"./cli-e7d20cty.js";
|
|
13
13
|
import"./cli-3dpj7atn.js";
|
|
14
|
-
import"./cli-
|
|
14
|
+
import"./cli-zd21jrrc.js";
|
|
15
15
|
import"./cli-epan13p1.js";
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
16
|
+
import"./cli-8chp8xab.js";
|
|
17
|
+
import"./cli-7kwmt3r5.js";
|
|
18
18
|
import"./cli-y89t4nca.js";
|
|
19
19
|
import"./cli-f14fvzag.js";
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-aehm1rbq.js";
|
|
20
|
+
import"./cli-a45d5v9b.js";
|
|
21
|
+
import"./cli-vr6qj104.js";
|
|
23
22
|
import"./cli-bsakbbkm.js";
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
23
|
+
import"./cli-aehm1rbq.js";
|
|
24
|
+
import"./cli-n1yj5fd5.js";
|
|
25
|
+
import"./cli-kt7wevqh.js";
|
|
26
26
|
import"./cli-q51yprfq.js";
|
|
27
|
-
import"./cli-
|
|
27
|
+
import"./cli-2658f6at.js";
|
|
28
28
|
import"./cli-yatxqynm.js";
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-08b07b4r.js";
|
|
31
|
-
import"./cli-3apbzgyk.js";
|
|
32
|
-
import"./cli-e29gmdmw.js";
|
|
29
|
+
import"./cli-qp69dd5d.js";
|
|
33
30
|
import"./cli-c2mk1kgf.js";
|
|
31
|
+
import"./cli-hmyynq9b.js";
|
|
32
|
+
import"./cli-n75jt793.js";
|
|
33
|
+
import"./cli-dv6cdjs2.js";
|
|
34
34
|
import"./cli-ej6gbxfb.js";
|
|
35
35
|
import"./cli-sd0mxa3c.js";
|
|
36
36
|
import"./cli-w5e1d1vv.js";
|
|
37
|
-
import"./cli-
|
|
37
|
+
import"./cli-gm0fhz13.js";
|
|
38
38
|
import"./cli-r2ap2czm.js";
|
|
39
39
|
import"./cli-pzxba7gw.js";
|
|
40
40
|
import"./cli-f7kvq46p.js";
|
|
@@ -20,39 +20,39 @@ import {
|
|
|
20
20
|
stopWaitPoller,
|
|
21
21
|
subscribeWaitToBus,
|
|
22
22
|
validateTemplateVariables
|
|
23
|
-
} from "./cli-
|
|
24
|
-
import"./cli-
|
|
23
|
+
} from "./cli-rnsr8asm.js";
|
|
24
|
+
import"./cli-mzb0n642.js";
|
|
25
25
|
import"./cli-e7d20cty.js";
|
|
26
26
|
import"./cli-3dpj7atn.js";
|
|
27
27
|
import {
|
|
28
28
|
findEntryNodes,
|
|
29
29
|
getSuccessors
|
|
30
|
-
} from "./cli-
|
|
30
|
+
} from "./cli-zd21jrrc.js";
|
|
31
31
|
import"./cli-epan13p1.js";
|
|
32
|
-
import"./cli-
|
|
33
|
-
import"./cli-
|
|
32
|
+
import"./cli-8chp8xab.js";
|
|
33
|
+
import"./cli-7kwmt3r5.js";
|
|
34
34
|
import"./cli-y89t4nca.js";
|
|
35
35
|
import"./cli-f14fvzag.js";
|
|
36
|
-
import"./cli-
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-aehm1rbq.js";
|
|
36
|
+
import"./cli-a45d5v9b.js";
|
|
37
|
+
import"./cli-vr6qj104.js";
|
|
39
38
|
import"./cli-bsakbbkm.js";
|
|
40
|
-
import"./cli-
|
|
41
|
-
import"./cli-
|
|
39
|
+
import"./cli-aehm1rbq.js";
|
|
40
|
+
import"./cli-n1yj5fd5.js";
|
|
41
|
+
import"./cli-kt7wevqh.js";
|
|
42
42
|
import"./cli-q51yprfq.js";
|
|
43
|
-
import"./cli-
|
|
43
|
+
import"./cli-2658f6at.js";
|
|
44
44
|
import"./cli-yatxqynm.js";
|
|
45
|
-
import"./cli-
|
|
46
|
-
import"./cli-
|
|
45
|
+
import"./cli-qp69dd5d.js";
|
|
46
|
+
import"./cli-c2mk1kgf.js";
|
|
47
|
+
import"./cli-hmyynq9b.js";
|
|
47
48
|
import {
|
|
48
49
|
interpolate
|
|
49
|
-
} from "./cli-
|
|
50
|
-
import"./cli-
|
|
51
|
-
import"./cli-c2mk1kgf.js";
|
|
50
|
+
} from "./cli-n75jt793.js";
|
|
51
|
+
import"./cli-dv6cdjs2.js";
|
|
52
52
|
import"./cli-ej6gbxfb.js";
|
|
53
53
|
import"./cli-sd0mxa3c.js";
|
|
54
54
|
import"./cli-w5e1d1vv.js";
|
|
55
|
-
import"./cli-
|
|
55
|
+
import"./cli-gm0fhz13.js";
|
|
56
56
|
import"./cli-r2ap2czm.js";
|
|
57
57
|
import"./cli-pzxba7gw.js";
|
|
58
58
|
import {
|