@desplega.ai/agent-swarm 2.13.3 → 2.13.5
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/dist/acp-adapter-tbt61zkm.js +17 -0
- package/dist/{acp-targets-k8xs4tj8.js → acp-targets-w8dbs4nr.js} +10 -10
- package/dist/{actions-pg5fxjer.js → actions-8zrcbjrx.js} +237 -27
- package/dist/{agent-fs-provision-vbk3fppw.js → agent-fs-provision-cbt2ttds.js} +4 -4
- package/dist/{amp-adapter-adbhxsz9.js → amp-adapter-8x6zp8w4.js} +3 -3
- package/dist/{anthropic-messages-88b7s3n9.js → anthropic-messages-vdd1zmha.js} +10 -10
- package/dist/{app-b267ggx1.js → app-zfa9dwjw.js} +7 -7
- package/dist/{approval-notifications-evc1a9z5.js → approval-notifications-rv92zmza.js} +8 -8
- package/dist/{assistant-wgz2ab84.js → assistant-q7s7rm1q.js} +25 -25
- package/dist/{boot-args-schema-6tpk28j4.js → boot-args-schema-g27kpzr1.js} +1 -1
- package/dist/{boot-reembed-r1zyvefv.js → boot-reembed-1mjs52nt.js} +1 -1
- package/dist/{boot-reembed-ankp369c.js → boot-reembed-m62dpdkg.js} +1 -1
- package/dist/{boot-scrub-sweep-cgb6r5bd.js → boot-scrub-sweep-ss1vcamw.js} +2 -2
- package/dist/{boot-seeds-bjceqg7b.js → boot-seeds-hwnvgbb3.js} +4 -4
- package/dist/{boxd-hr8rsxzq.js → boxd-y0szhp0g.js} +2 -2
- package/dist/{claude-adapter-knztdnff.js → claude-adapter-0rjmbhjk.js} +9 -9
- package/dist/{claude-managed-adapter-qwejzqkk.js → claude-managed-adapter-6k032agg.js} +4 -4
- package/dist/{claude-managed-setup-0vgz4d1j.js → claude-managed-setup-6czvve8q.js} +5 -5
- package/dist/{claude-sdk-session-c3g6dv0g.js → claude-sdk-session-pr0znb81.js} +12671 -11885
- package/dist/{cli-2v4xxnx2.js → cli-0h8skzss.js} +1 -1
- package/dist/{cli-7fa6yv98.js → cli-0qt3epg4.js} +7 -7
- package/dist/{cli-aytna2fm.js → cli-19d6v8er.js} +7 -7
- package/dist/{cli-8m6gqnf1.js → cli-1jq2em7b.js} +4 -4
- package/dist/{cli-fp65jdp2.js → cli-1kvcsd2f.js} +219 -155
- package/dist/{cli-8fj8yfmk.js → cli-2vp0z049.js} +1 -1
- package/dist/{cli-61p7ty8d.js → cli-2wzkvfgm.js} +3 -3
- package/dist/{cli-tjf1bh1v.js → cli-34fygf87.js} +6 -4
- package/dist/{cli-czeh7x13.js → cli-3860pmrq.js} +4 -4
- package/dist/{cli-dq30fq3q.js → cli-3vw6dd4g.js} +2 -2
- package/dist/{cli-4dyhzhpx.js → cli-4gaf3tx5.js} +1 -1
- package/dist/{cli-3mf04tkh.js → cli-4vynxtrb.js} +1 -1
- package/dist/{cli-hpxcfvdm.js → cli-55h8m1x3.js} +10 -7
- package/dist/{cli-hxj888w3.js → cli-5n9w2xzx.js} +2 -2
- package/dist/{cli-50whymxq.js → cli-5tq15aa7.js} +2 -2
- package/dist/{cli-8sayvj48.js → cli-5web09sb.js} +3 -3
- package/dist/{cli-gc715jrc.js → cli-69zzpjgh.js} +1 -1
- package/dist/{cli-vgh5adn9.js → cli-6msnpj1z.js} +8 -8
- package/dist/{cli-f8rcvf2x.js → cli-7r9tvk8v.js} +76 -3
- package/dist/{cli-fbmgpt72.js → cli-7ypg8hka.js} +3 -3
- package/dist/{cli-xc8m5cjn.js → cli-887vhew6.js} +3 -3
- package/dist/{cli-q8aq48v1.js → cli-8b4rpnwj.js} +1 -1
- package/dist/{cli-pzsedyb0.js → cli-8pd1t17c.js} +14 -14
- package/dist/{cli-je587f74.js → cli-94gx6ze9.js} +1 -1
- package/dist/{cli-h9d3sdnc.js → cli-94mxerrp.js} +1 -1
- package/dist/{cli-ef590376.js → cli-9n6g14vs.js} +3 -3
- package/dist/{cli-80d5g0fa.js → cli-abby987g.js} +3 -3
- package/dist/{cli-grk77aen.js → cli-avax5mp9.js} +2 -2
- package/dist/{cli-hd2a204w.js → cli-b42yfn17.js} +14 -14
- package/dist/{cli-gkjw33x5.js → cli-b9ygp1kz.js} +2 -2
- package/dist/{cli-bh53ppqm.js → cli-bvamr9g0.js} +4 -4
- package/dist/{cli-ka4tqjzd.js → cli-ced4azn1.js} +15 -12
- package/dist/{cli-v1v49t36.js → cli-cmbb2t8a.js} +3 -3
- package/dist/{cli-hhb8kbwd.js → cli-cp163xga.js} +31 -16
- package/dist/{cli-55fqpd9q.js → cli-ebpq3c5z.js} +8 -8
- package/dist/{cli-9gmkw6xn.js → cli-ehg90jd1.js} +128 -48
- package/dist/{cli-jg5txpm6.js → cli-emdfd8fh.js} +75 -1
- package/dist/{cli-gxqwm3k3.js → cli-evy3egte.js} +104 -10
- package/dist/{cli-a21cwm89.js → cli-ewk3sg68.js} +3 -3
- package/dist/{cli-syqcny89.js → cli-f7b9nyvk.js} +9 -9
- package/dist/{cli-268b3dgn.js → cli-f9xw9pr4.js} +5 -5
- package/dist/{cli-61fzwtjk.js → cli-ffn0a515.js} +9 -9
- package/dist/{cli-ya1cj689.js → cli-fw67mnyc.js} +1 -1
- package/dist/{cli-dqgnbnxs.js → cli-grbngev5.js} +6 -1
- package/dist/{cli-sy2ge2ye.js → cli-hd5bm1e1.js} +4 -4
- package/dist/{cli-rfejbpe1.js → cli-htb5bpz2.js} +1 -1
- package/dist/{cli-w24741sm.js → cli-j69pzrrz.js} +7 -7
- package/dist/{cli-g4dhd3pr.js → cli-jdq3jmny.js} +6 -23
- package/dist/{cli-hv3820ez.js → cli-k0nebh10.js} +1 -1
- package/dist/{cli-d2epqm0y.js → cli-kezzteka.js} +1 -1
- package/dist/{cli-h0ewec3d.js → cli-kr0jpw9c.js} +1 -1
- package/dist/{cli-t25rq8mg.js → cli-ks06cd0n.js} +40 -11
- package/dist/{cli-1gnf5c7x.js → cli-kwj3131p.js} +1 -1
- package/dist/{cli-wtffytm8.js → cli-m8f4379k.js} +3 -3
- package/dist/{cli-43dsqhcp.js → cli-n79j1vxc.js} +4 -4
- package/dist/{cli-b768ek79.js → cli-nrt048ys.js} +1 -0
- package/dist/{cli-h3drhntp.js → cli-pedm2kht.js} +2 -2
- package/dist/{cli-eds5xnsz.js → cli-phmy14hb.js} +2 -2
- package/dist/{cli-7kv5d674.js → cli-prz1p3ft.js} +5 -5
- package/dist/{cli-nbawx3s0.js → cli-q1h041y8.js} +6 -6
- package/dist/{cli-cah298e5.js → cli-q41qar56.js} +104 -119
- package/dist/{cli-kwm1bek7.js → cli-qmx8bnt4.js} +2 -2
- package/dist/{cli-1wew39p0.js → cli-qrvk9nka.js} +28 -19
- package/dist/{cli-v8rpjrnx.js → cli-r3dxpmyt.js} +1 -1
- package/dist/{cli-0j4qmc80.js → cli-ryem5cfq.js} +8 -8
- package/dist/{cli-8pnawt98.js → cli-s8dhq7rj.js} +5 -5
- package/dist/{cli-zkbz8m2q.js → cli-sejvnjvw.js} +3 -2
- package/dist/{cli-at67kvnp.js → cli-srktrbby.js} +1 -1
- package/dist/{cli-wsnradtk.js → cli-srre41gb.js} +2 -2
- package/dist/{cli-r6xnchva.js → cli-t0n9svkb.js} +7 -7
- package/dist/{cli-y0q92v4r.js → cli-t879ww0y.js} +2 -2
- package/dist/{cli-eetzmsy5.js → cli-t9pzz2eq.js} +2 -2
- package/dist/{cli-xwsm6xkr.js → cli-tgc1kgg3.js} +1 -1
- package/dist/{cli-dw43pnzp.js → cli-tt7dkwjj.js} +7 -7
- package/dist/{cli-y754psdt.js → cli-tvyt8w6n.js} +5 -5
- package/dist/cli-v09eza21.js +1907 -0
- package/dist/{cli-mgr3gatr.js → cli-vbge4rsp.js} +4 -4
- package/dist/{cli-ppf9ap9n.js → cli-vcpyttcw.js} +1 -1
- package/dist/{cli-1606qw3n.js → cli-wzecestt.js} +1100 -432
- package/dist/{cli-5basv0e7.js → cli-x2adbg4j.js} +71 -9
- package/dist/{cli-vx9acp12.js → cli-ybte1fqc.js} +1 -1
- package/dist/{cli-vdfngx2g.js → cli-ywy8yz6t.js} +2 -2
- package/dist/{cli-cpkxh68d.js → cli-z1vam71h.js} +2 -2
- package/dist/{cli-djwt4mtn.js → cli-z3x7h79n.js} +15 -9
- package/dist/cli-z40t85ms.js +27 -0
- package/dist/{cli-ea367bdn.js → cli-zbbtp02a.js} +104 -27
- package/dist/{cli-88np9va3.js → cli-zntvmqmm.js} +2 -2
- package/dist/{cli-snwz16eg.js → cli-zxa1vmx7.js} +2 -2
- package/dist/{cli-50wa8k4h.js → cli-zy9bb22b.js} +1 -2
- package/dist/{cli-e4gx499y.js → cli-zzq96q57.js} +273 -106
- package/dist/cli.js +21 -21
- package/dist/{codex-adapter-493vb8cv.js → codex-adapter-bn7eaxk5.js} +8 -8
- package/dist/{codex-hook-ej8hn6z5.js → codex-hook-nnmezjg9.js} +3 -3
- package/dist/{codex-login-ven5cz5j.js → codex-login-ktfg1cxk.js} +1 -1
- package/dist/{codex-session-runner-ps5m4z1g.js → codex-session-runner-j1e9hffc.js} +9 -9
- package/dist/{commands-shktk0b8.js → commands-amhpafrr.js} +3 -3
- package/dist/{controller-wn3vd217.js → controller-tw7g10j2.js} +4 -4
- package/dist/{controllers-connect-yft057ws.js → controllers-connect-2ssqz7f4.js} +25 -25
- package/dist/core-bwp98v4w.js +42 -0
- package/dist/{cursor-adapter-8fpm4dng.js → cursor-adapter-d6knjmwa.js} +2 -2
- package/dist/{db-0ezhdhz5.js → db-fd6xxm77.js} +3 -3
- package/dist/{db-84pz2w5c.js → db-sc59379z.js} +2 -2
- package/dist/{devin-adapter-fs90ab4v.js → devin-adapter-3bp6rape.js} +1 -1
- package/dist/{dispatcher-h2rz69f6.js → dispatcher-a2gdqz8c.js} +22 -22
- package/dist/{docker-1h33jvh9.js → docker-a59g3ebm.js} +2 -2
- package/dist/{dsh-adapter-g9yqv09y.js → dsh-adapter-43ygwqn7.js} +2 -2
- package/dist/{e2b-jnk0yeva.js → e2b-cn7cvjqy.js} +3 -3
- package/dist/{e2b-y7e5kmzf.js → e2b-qnxyfea6.js} +3 -3
- package/dist/{easter-egg-3d-m41ad78v.js → easter-egg-3d-a0pphy71.js} +1 -1
- package/dist/{embedding-space-yam9zwzj.js → embedding-space-qepzrach.js} +6 -6
- package/dist/{embeddings-g2be0y8q.js → embeddings-d7vr881x.js} +1 -1
- package/dist/{event-bus-08t2b4y2.js → event-bus-7gbsr0g4.js} +1 -1
- package/dist/{execute-hhdejgzf.js → execute-6afts2bn.js} +1 -1
- package/dist/{external-channel-kjt2yzfj.js → external-channel-881zq1x4.js} +2 -2
- package/dist/fx-adapter-cr2hq17y.js +20 -0
- package/dist/grok-adapter-ayddnbsc.js +20 -0
- package/dist/handlers-7ghs84x2.js +41 -0
- package/dist/{heartbeat-2e5jdexj.js → heartbeat-4c022m6a.js} +25 -25
- package/dist/{hook-acg9saz7.js → hook-4k84x499.js} +6 -6
- package/dist/{hook-34s8cmgn.js → hook-a7eh6zty.js} +9 -9
- package/dist/{http-ra2zr2f8.js → http-6aw5wanc.js} +456 -1864
- package/dist/{index-mbpxhc4w.js → index-126v2d0t.js} +1 -4
- package/dist/index-dtt0d634.js +44 -0
- package/dist/index-hmszyqkk.js +42 -0
- package/dist/index-j6rm1rtn.js +39 -0
- package/dist/{index-9q42cr54.js → index-rwwhsmjg.js} +1 -1
- package/dist/{index-93bw5wds.js → index-xhad0n8m.js} +1 -1
- package/dist/{index-2z1z7qx6.js → index-yq9hhhhy.js} +26 -26
- package/dist/{index-9r4j0a60.js → index-z2g9469g.js} +410 -27
- package/dist/{k8s-8326q0rq.js → k8s-36gfn847.js} +2 -2
- package/dist/{keepalive-vjnnqbkm.js → keepalive-zhbmztqw.js} +5 -5
- package/dist/lead-g2j4q39z.js +83 -0
- package/dist/{maintenance-px2g599e.js → maintenance-rsp0591h.js} +1 -1
- package/dist/{node-2wfcey7d.js → node-0as4n1ef.js} +3 -3
- package/dist/{node-zd6shky9.js → node-dhxbt01p.js} +3 -3
- package/dist/{node-z67yjre7.js → node-rxte5hc6.js} +290 -70
- package/dist/{node-hjn5n1yp.js → node-t0ct2zpw.js} +3 -5
- package/dist/{oauth-refresh-sweep-nkykf09m.js → oauth-refresh-sweep-w3cqmxq7.js} +4 -4
- package/dist/{object-webhooks-gt9xnq21.js → object-webhooks-331hay92.js} +7 -7
- package/dist/{onboard-1f134p65.js → onboard-n2w80m2n.js} +7 -7
- package/dist/{opencode-adapter-94976yab.js → opencode-adapter-z98127cz.js} +8 -8
- package/dist/{otel-impl-5d4p2fqs.js → otel-impl-xsk35tvf.js} +2 -2
- package/dist/{pending-vkk0vx6n.js → pending-2e6trkxd.js} +23 -23
- package/dist/{pi-mono-adapter-cyzdv5er.js → pi-mono-adapter-wh6yndtm.js} +13 -13
- package/dist/{pricing-refresh-jtmjwss9.js → pricing-refresh-9355dj1t.js} +2 -2
- package/dist/{rbac-roles-yd1fgpsn.js → rbac-roles-58y3m912.js} +3 -3
- package/dist/{rbac-roles-1fvmdyeb.js → rbac-roles-8eajw4s6.js} +6 -4
- package/dist/{render-v2-kb5s3vx4.js → render-v2-7gskkmd4.js} +7 -7
- package/dist/{resume-z1vs44n5.js → resume-0drnmpja.js} +10 -10
- package/dist/{runtime-gk6ct7r7.js → runtime-d2tcmqte.js} +1 -1
- package/dist/{session-access-nz6nre4d.js → session-access-0ztys6bd.js} +5 -5
- package/dist/{session-source-backfill-wb60zjkd.js → session-source-backfill-cdm5s046.js} +3 -3
- package/dist/{setup-2x8g8j4s.js → setup-pqwb9tcc.js} +1 -1
- package/dist/thread-buffer-epx3san4.js +42 -0
- package/dist/{tree-visibility-ts3z30kw.js → tree-visibility-rwz67mje.js} +2 -2
- package/dist/{user-merge-jobs-zetg26e0.js → user-merge-jobs-mxrhamwt.js} +3 -3
- package/dist/{virtual-modules-674fka8x.js → virtual-modules-71y1gsmg.js} +3 -3
- package/dist/{work-objects-w52yyjxm.js → work-objects-3k4ykt9j.js} +25 -25
- package/dist/worker-09gqn9xy.js +83 -0
- package/dist/{worker-follow-up-dyfxyjbj.js → worker-follow-up-y0h64xpr.js} +22 -22
- package/dist/{x-asbrnafg.js → x-d27jj7z7.js} +2 -2
- package/openapi.json +861 -33
- package/package.json +4 -4
- package/src/apps/sync.ts +20 -5
- package/src/azure-devops/boards-sync.ts +1 -1
- package/src/be/db/approvals.ts +2 -0
- package/src/be/db/runtime.ts +5 -0
- package/src/be/db/script-run-sources.ts +17 -0
- package/src/be/db/slack-trees.ts +12 -1
- package/src/be/db/tasks/read.ts +25 -1
- package/src/be/db/tasks/write.ts +47 -12
- package/src/be/db/users/avatar.ts +12 -0
- package/src/be/db-retention.ts +1 -1
- package/src/be/db.ts +149 -67
- package/src/be/design-system.ts +63 -0
- package/src/be/migrations/342_script_run_sources.sql +20 -0
- package/src/be/migrations/344_user_avatar.sql +4 -0
- package/src/be/migrations/345_task_status_kind.sql +6 -0
- package/src/be/migrations/runner.ts +8 -0
- package/src/be/migrations/script-run-sources.ts +51 -0
- package/src/be/primitives/object-embed.ts +2 -2
- package/src/be/primitives/objects.ts +2 -2
- package/src/be/rbac-roles.ts +2 -0
- package/src/be/runtime-pools/supervisor.ts +1 -0
- package/src/be/scripts/typecheck.ts +5 -3
- package/src/be/seed-scripts/catalog/design-system-seed.ts +158 -0
- package/src/be/seed-scripts/index.ts +9 -0
- package/src/be/swarm-config-guard.ts +25 -1
- package/src/bitbucket/handlers.ts +1 -1
- package/src/commands/credential-outcome-report.ts +96 -0
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/commands/runner.ts +49 -3
- package/src/event-waits/github.ts +39 -6
- package/src/event-waits/index.ts +4 -2
- package/src/event-waits/types.ts +10 -3
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/github/app.ts +177 -13
- package/src/github/handlers.ts +7 -2
- package/src/github/pull-request-state.ts +100 -11
- package/src/gitlab/handlers.ts +2 -2
- package/src/heartbeat/heartbeat.ts +24 -5
- package/src/http/all-routes.ts +1 -0
- package/src/http/api-keys.ts +26 -0
- package/src/http/approval-chat-answer.ts +99 -0
- package/src/http/approval-requests.ts +280 -225
- package/src/http/asset-key-write.ts +45 -0
- package/src/http/assets.ts +4 -3
- package/src/http/design-system.ts +103 -0
- package/src/http/github-token.ts +27 -6
- package/src/http/index.ts +10 -6
- package/src/http/pages-public.ts +25 -10
- package/src/http/pages.ts +21 -10
- package/src/http/person-responder.ts +28 -0
- package/src/http/schedules.ts +6 -6
- package/src/http/sessions.ts +7 -2
- package/src/http/tasks.ts +23 -5
- package/src/http/users.ts +5 -0
- package/src/http/webhooks.ts +19 -1
- package/src/http/workflows.ts +5 -10
- package/src/integrations/chat-sdk/adapters.ts +33 -3
- package/src/integrations/chat-sdk/commands.ts +3 -1
- package/src/integrations/chat-sdk/inbound.ts +6 -18
- package/src/integrations/chat-sdk/mentions.ts +188 -0
- package/src/integrations/chat-sdk/outbound.ts +20 -3
- package/src/integrations/chat-sdk/router.ts +8 -0
- package/src/integrations/chat-sdk/telegram-thread.ts +12 -0
- package/src/jira/adf.ts +35 -9
- package/src/jira/sync.ts +1 -1
- package/src/kv-reserved-namespaces.ts +5 -0
- package/src/linear/sync.ts +5 -3
- package/src/pages/page-head.ts +11 -1
- package/src/prompts/session-templates.ts +1 -0
- package/src/providers/acp-targets.ts +2 -2
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-adapter.ts +5 -0
- package/src/providers/claude-sdk-session.ts +5 -0
- package/src/providers/dsh-adapter.ts +48 -13
- package/src/providers/runtime-dependencies.ts +1 -1
- package/src/rbac/legacy-policy.ts +4 -0
- package/src/rbac/permissions.ts +8 -0
- package/src/scheduler/deferred-task-waits.ts +74 -13
- package/src/scheduler/index.ts +1 -0
- package/src/scheduler/scheduler.test.ts +32 -1
- package/src/scheduler/scheduler.ts +24 -1
- package/src/script-workflows/executor.ts +6 -0
- package/src/script-workflows/supervisor.ts +2 -1
- package/src/scripts-runtime/sdk-allowlist.ts +2 -0
- package/src/scripts-runtime/swarm-sdk.ts +20 -24
- package/src/scripts-runtime/types/stdlib.d.ts +12 -2
- package/src/scripts-runtime/types/swarm-extension.d.ts +19 -2
- package/src/scripts-runtime/types/swarm-sdk.d.ts +12 -2
- package/src/server.ts +2 -0
- package/src/slack/actions.ts +4 -1
- package/src/slack/approval-actions.ts +148 -0
- package/src/slack/approval-buttons.ts +28 -0
- package/src/slack/render-v2.ts +148 -7
- package/src/tests/api-drain-worker-e2e.test.ts +0 -2
- package/src/tests/approval-auto-cancellation-migration.test.ts +8 -19
- package/src/tests/approval-card-resolution.test.ts +2 -17
- package/src/tests/approval-requests-notifications.test.ts +41 -27
- package/src/tests/approval-requests.test.ts +137 -369
- package/src/tests/apps-sync-engine.test.ts +5 -3
- package/src/tests/apps-table-filters-migration.test.ts +44 -25
- package/src/tests/bitbucket-handlers.test.ts +2 -0
- package/src/tests/chat-sdk-commands.test.ts +1 -0
- package/src/tests/chat-sdk-mentions.test.ts +183 -0
- package/src/tests/claude-adapter.test.ts +35 -0
- package/src/tests/codex-adapter.test.ts +3 -92
- package/src/tests/codex-gpt6-release.test.ts +0 -9
- package/src/tests/codex-oauth-credential-info.test.ts +35 -18
- package/src/tests/codex-oauth.test.ts +0 -6
- package/src/tests/codex-pool.test.ts +5 -214
- package/src/tests/codex-rate-limit-parse.test.ts +0 -7
- package/src/tests/codex-swarm-events.test.ts +11 -54
- package/src/tests/create-page-tool.test.ts +5 -0
- package/src/tests/db-client-busy-retry.test.ts +49 -16
- package/src/tests/defer-task.test.ts +1 -0
- package/src/tests/dsh-adapter.test.ts +53 -1
- package/src/tests/e2e-shards.test.ts +9 -9
- package/src/tests/enabled-tools.test.ts +0 -2
- package/src/tests/fixtures/base-prompt-baseline.json +6 -6
- package/src/tests/fixtures/compiled-source-schema-boot.ts +24 -0
- package/src/tests/fixtures/secret-corpus.ts +43 -1
- package/src/tests/github-app-worker-auth-helper.test.ts +147 -1
- package/src/tests/gitlab-handlers.test.ts +2 -0
- package/src/tests/heartbeat-jev-gate.test.ts +9 -241
- package/src/tests/heartbeat-reroute-decision.test.ts +2 -0
- package/src/tests/heartbeat-stall-thresholds.test.ts +174 -0
- package/src/tests/heartbeat-supersede-resume.test.ts +2 -0
- package/src/tests/heartbeat.test.ts +1 -0
- package/src/tests/jira-adf.test.ts +42 -2
- package/src/tests/key-usage-selection.test.ts +302 -0
- package/src/tests/memory-e2e.test.ts +34 -103
- package/src/tests/memory-key-paths.test.ts +5 -0
- package/src/tests/memory-rater-llm.test.ts +33 -149
- package/src/tests/memory-store.test.ts +24 -125
- package/src/tests/memory.test.ts +31 -100
- package/src/tests/merge-gate-detect-changes.test.ts +314 -16
- package/src/tests/migration-342-script-run-sources.test.ts +196 -0
- package/src/tests/migration-bunfs-compat.test.ts +129 -9
- package/src/tests/otel-service-name.test.ts +0 -9
- package/src/tests/otel-session-cost-metrics.test.ts +1 -38
- package/src/tests/pool-session-logs.test.ts +8 -42
- package/src/tests/pre-push-affected-tests.test.ts +106 -0
- package/src/tests/prompt-template-session.test.ts +3 -0
- package/src/tests/rbac-e2e-helpers.test.ts +10 -4
- package/src/tests/rbac-e2e-helpers.ts +13 -4
- package/src/tests/rbac-roles.test.ts +2 -0
- package/src/tests/runner-api-drain.test.ts +2 -17
- package/src/tests/runner-terminal-window-report.test.ts +132 -0
- package/src/tests/runtime-e2b-pools.test.ts +7 -1
- package/src/tests/runtime-supervisor-failures.test.ts +1 -0
- package/src/tests/sandboxed-process.test.ts +26 -21
- package/src/tests/schedule-http-triage-tools.test.ts +12 -9
- package/src/tests/schedule-target-type.test.ts +4 -1
- package/src/tests/scheduled-tasks.test.ts +14 -51
- package/src/tests/script-connections.test.ts +2 -0
- package/src/tests/script-executor-conformance.test.ts +4 -48
- package/src/tests/script-executor-quickjs-pool.test.ts +9 -7
- package/src/tests/script-native-startup.test.ts +21 -25
- package/src/tests/script-runs-retention.test.ts +43 -16
- package/src/tests/script-workflows-runtime-e2e.test.ts +56 -22
- package/src/tests/scripts-http.test.ts +9 -3
- package/src/tests/sdk-allowlist.test.ts +26 -13
- package/src/tests/sdk-store-progress-skipped.test.ts +12 -5
- package/src/tests/secret-rules.test.ts +38 -2
- package/src/tests/secret-scrub-gate.test.ts +7 -0
- package/src/tests/secret-scrubber.test.ts +62 -2
- package/src/tests/seed-scripts.test.ts +2 -2
- package/src/tests/session-logs.test.ts +1 -260
- package/src/tests/slack-render-v2.test.ts +5 -148
- package/src/tests/system-one-hosts-ui-mirror.test.ts +1 -0
- package/src/tests/task-cascade-fail.test.ts +1 -0
- package/src/tests/task-supersede-resume.test.ts +1 -0
- package/src/tests/test-proc.ts +5 -2
- package/src/tests/vcs-azure-devops.test.ts +10 -0
- package/src/tests/vcs-provider.test.ts +8 -0
- package/src/tests/window-stream-reporter.test.ts +122 -0
- package/src/tests/workflow-agent-task-retry.test.ts +1 -3
- package/src/tests/workflow-cascade-cancel.test.ts +1 -0
- package/src/tests/workflow-retry-v2.test.ts +34 -43
- package/src/tests/workflow-retry-validation.test.ts +8 -48
- package/src/tests/worktree-reaper.test.ts +2 -2
- package/src/themes/design-system.ts +163 -0
- package/src/themes/page-theme.ts +28 -19
- package/src/tools/cancel-task.ts +2 -2
- package/src/tools/chat-post.ts +7 -3
- package/src/tools/create-page.ts +3 -0
- package/src/tools/defer-task.ts +7 -2
- package/src/tools/design-system.ts +102 -0
- package/src/tools/get-task-details.ts +8 -4
- package/src/tools/get-tasks.ts +13 -2
- package/src/tools/manage-user.ts +9 -0
- package/src/tools/mcp-servers/mcp-server-get.ts +1 -1
- package/src/tools/mcp-servers/mcp-server-list.ts +1 -1
- package/src/tools/register-chat-channel.ts +11 -2
- package/src/tools/skills/skill-get-file.ts +1 -1
- package/src/tools/skills/skill-get.ts +1 -1
- package/src/tools/skills/skill-list.ts +1 -1
- package/src/tools/skills/skill-search.ts +1 -1
- package/src/tools/store-progress.ts +5 -3
- package/src/tools/utils.ts +49 -4
- package/src/tools/workflows/get-workflow-run.ts +1 -1
- package/src/tools/workflows/get-workflow.ts +1 -1
- package/src/tools/workflows/list-workflow-runs.ts +1 -1
- package/src/tools/workflows/list-workflows.ts +1 -1
- package/src/types.ts +158 -0
- package/src/utils/constants.ts +12 -0
- package/src/utils/credentials.ts +42 -5
- package/src/utils/error-tracker.ts +6 -0
- package/src/utils/key-usage.ts +114 -0
- package/src/utils/sandboxed-process.ts +1 -0
- package/src/utils/secret-rules.generated.ts +149 -149
- package/src/utils/secret-scrubber.ts +111 -5
- package/src/vcs/azure-devops.ts +22 -1
- package/src/vcs/index.ts +3 -1
- package/src/workflows/approval-inline.ts +122 -0
- package/src/workflows/approval-notifications.ts +7 -2
- package/src/workflows/engine.ts +6 -5
- package/src/workflows/executors/agent-task.ts +14 -0
- package/src/workflows/executors/system-one-providers.ts +23 -0
- package/src/workflows/resume.ts +5 -2
- package/templates/skills/apps/SKILL.md +2 -0
- package/templates/skills/apps/content.md +2 -0
- package/templates/skills/boards-and-sheets/content.md +4 -2
- package/templates/skills/pages/content.md +41 -8
- package/templates/skills/swarm-docs/content.md +6 -0
- package/templates/skills/swarm-scripts/SKILL.md +1 -0
- package/templates/skills/swarm-scripts/content.md +1 -0
- package/templates/skills/workflow-iterate/content.md +1 -1
- package/dist/acp-adapter-t2q6nsqv.js +0 -17
- package/dist/cli-kh973792.js +0 -98
- package/dist/core-nheayfgm.js +0 -42
- package/dist/fx-adapter-8g7xsp8q.js +0 -20
- package/dist/grok-adapter-ztk2zkz1.js +0 -20
- package/dist/handlers-9ywssz71.js +0 -41
- package/dist/index-6mgbdtv1.js +0 -44
- package/dist/index-hqdsn2t2.js +0 -39
- package/dist/index-st231bqv.js +0 -40
- package/dist/lead-mk0xkth2.js +0 -82
- package/dist/thread-buffer-d50rqpev.js +0 -42
- package/dist/worker-662x1vse.js +0 -82
- package/src/tests/apps-table-selection-migration.test.ts +0 -95
- package/src/tests/extensions-example-heartbeat-remediate.test.ts +0 -69
- package/src/tests/extensions-example-rewrite-and-suppress.test.ts +0 -70
package/dist/cli.js
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
scrubSecrets,
|
|
22
22
|
init_secret_scrubber
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-1kvcsd2f.js";
|
|
24
24
|
import {
|
|
25
25
|
__toESM,
|
|
26
26
|
__commonJS
|
|
@@ -50,7 +50,7 @@ var import_react = __toESM(require_react(), 1);
|
|
|
50
50
|
// package.json
|
|
51
51
|
var package_default = {
|
|
52
52
|
name: "@desplega.ai/agent-swarm",
|
|
53
|
-
version: "2.13.
|
|
53
|
+
version: "2.13.5",
|
|
54
54
|
description: "agent-swarm.dev — an open-source operating system for AI work: a lead agent breaks goals into tasks, routes them to specialized workers such as Claude Code or Codex, runs each worker in an isolated container, and preserves shared memory, tools, schedules, and review gates so delegated work compounds across sessions.",
|
|
55
55
|
keywords: [
|
|
56
56
|
"agent-swarm.dev",
|
|
@@ -259,8 +259,8 @@ var package_default = {
|
|
|
259
259
|
dependencies: {
|
|
260
260
|
"@agentclientprotocol/sdk": "2.7.0",
|
|
261
261
|
"@ai-sdk/openai": "^3.0.41",
|
|
262
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
263
|
-
"@anthropic-ai/sdk": "^1.
|
|
262
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.326",
|
|
263
|
+
"@anthropic-ai/sdk": "^1.9.0",
|
|
264
264
|
"@asteasolutions/zod-to-openapi": "^8.0.0",
|
|
265
265
|
"@aws-sdk/client-bedrock": "3.1048.0",
|
|
266
266
|
"@boxd-sh/sdk": "0.2.20",
|
|
@@ -270,7 +270,7 @@ var package_default = {
|
|
|
270
270
|
"@chat-adapter/teams": "4.45.0",
|
|
271
271
|
"@chat-adapter/telegram": "4.45.0",
|
|
272
272
|
"@cursor/sdk": "1.4.0",
|
|
273
|
-
"@desplega.ai/agent-fs-just-bash": "0.18.
|
|
273
|
+
"@desplega.ai/agent-fs-just-bash": "0.18.33",
|
|
274
274
|
"@desplega.ai/business-use": "^0.4.2",
|
|
275
275
|
"@earendil-works/pi-agent-core": "^1.5.2",
|
|
276
276
|
"@earendil-works/pi-ai": "^1.5.2",
|
|
@@ -848,7 +848,7 @@ function McpServer({ port, apiKey, dbPath }) {
|
|
|
848
848
|
if (dbPath) {
|
|
849
849
|
process.env.DATABASE_PATH = dbPath;
|
|
850
850
|
}
|
|
851
|
-
import("./http-
|
|
851
|
+
import("./http-6aw5wanc.js").then(() => {
|
|
852
852
|
setStatus("running");
|
|
853
853
|
}).catch((err) => {
|
|
854
854
|
setStatus("error");
|
|
@@ -929,7 +929,7 @@ function WorkerRunner({ prompt, systemPrompt, systemPromptFile, additionalArgs }
|
|
|
929
929
|
const { exit } = use_app_default();
|
|
930
930
|
import_react.useEffect(() => {
|
|
931
931
|
installConsoleScrub();
|
|
932
|
-
import("./worker-
|
|
932
|
+
import("./worker-09gqn9xy.js").then(({ runWorker }) => runWorker({
|
|
933
933
|
prompt: prompt || undefined,
|
|
934
934
|
systemPrompt: systemPrompt || undefined,
|
|
935
935
|
systemPromptFile: systemPromptFile || undefined,
|
|
@@ -946,7 +946,7 @@ function LeadRunner({ prompt, systemPrompt, systemPromptFile, additionalArgs })
|
|
|
946
946
|
const { exit } = use_app_default();
|
|
947
947
|
import_react.useEffect(() => {
|
|
948
948
|
installConsoleScrub();
|
|
949
|
-
import("./lead-
|
|
949
|
+
import("./lead-g2j4q39z.js").then(({ runLead }) => runLead({
|
|
950
950
|
prompt: prompt || undefined,
|
|
951
951
|
systemPrompt: systemPrompt || undefined,
|
|
952
952
|
systemPromptFile: systemPromptFile || undefined,
|
|
@@ -985,8 +985,8 @@ function LazyComponent({
|
|
|
985
985
|
}
|
|
986
986
|
return import_react.createElement(Component, props);
|
|
987
987
|
}
|
|
988
|
-
var loadOnboard = () => import("./onboard-
|
|
989
|
-
var loadConnect = () => import("./setup-
|
|
988
|
+
var loadOnboard = () => import("./onboard-n2w80m2n.js").then(({ Onboard }) => Onboard);
|
|
989
|
+
var loadConnect = () => import("./setup-pqwb9tcc.js").then(({ Setup }) => Setup);
|
|
990
990
|
function UnknownCommand({ command }) {
|
|
991
991
|
const { exit } = use_app_default();
|
|
992
992
|
import_react.useEffect(() => {
|
|
@@ -1115,19 +1115,19 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1115
1115
|
}
|
|
1116
1116
|
process.exit(0);
|
|
1117
1117
|
} else if (args.command === "hook") {
|
|
1118
|
-
const { runHook } = await import("./hook-
|
|
1118
|
+
const { runHook } = await import("./hook-4k84x499.js");
|
|
1119
1119
|
await runHook();
|
|
1120
1120
|
} else if (args.command === "codex-hook") {
|
|
1121
|
-
const { handleCodexHook } = await import("./codex-hook-
|
|
1121
|
+
const { handleCodexHook } = await import("./codex-hook-nnmezjg9.js");
|
|
1122
1122
|
await handleCodexHook();
|
|
1123
1123
|
process.exit(process.exitCode ?? 0);
|
|
1124
1124
|
} else if (args.command === "session-summary-stdin") {
|
|
1125
|
-
const { runSessionSummaryFromStdin } = await import("./hook-
|
|
1125
|
+
const { runSessionSummaryFromStdin } = await import("./hook-a7eh6zty.js");
|
|
1126
1126
|
await runSessionSummaryFromStdin();
|
|
1127
1127
|
process.exit(process.exitCode ?? 0);
|
|
1128
1128
|
} else if (args.command === "x") {
|
|
1129
1129
|
const xArgs = process.argv.slice(process.argv.indexOf("x") + 1);
|
|
1130
|
-
const { runXCommand } = await import("./x-
|
|
1130
|
+
const { runXCommand } = await import("./x-d27jj7z7.js");
|
|
1131
1131
|
await runXCommand(xArgs);
|
|
1132
1132
|
} else if (args.command === "scripts") {
|
|
1133
1133
|
const scriptsArgs = process.argv.slice(process.argv.indexOf("scripts") + 1);
|
|
@@ -1135,7 +1135,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1135
1135
|
printHelp("scripts");
|
|
1136
1136
|
process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
|
|
1137
1137
|
}
|
|
1138
|
-
const { runScriptsMaintenanceCommand } = await import("./maintenance-
|
|
1138
|
+
const { runScriptsMaintenanceCommand } = await import("./maintenance-rsp0591h.js");
|
|
1139
1139
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
1140
1140
|
console.log("Scripts re-embedded.");
|
|
1141
1141
|
} else if (args.command === "rbac") {
|
|
@@ -1145,17 +1145,17 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1145
1145
|
printHelp("rbac");
|
|
1146
1146
|
process.exit(args.showHelp ? 0 : 1);
|
|
1147
1147
|
}
|
|
1148
|
-
const { runRbacCliCommand } = await import("./rbac-roles-
|
|
1148
|
+
const { runRbacCliCommand } = await import("./rbac-roles-8eajw4s6.js");
|
|
1149
1149
|
await runRbacCliCommand(rbacArgs);
|
|
1150
1150
|
} else if (args.command === "codex-login") {
|
|
1151
|
-
const { runCodexLogin } = await import("./codex-login-
|
|
1151
|
+
const { runCodexLogin } = await import("./codex-login-ktfg1cxk.js");
|
|
1152
1152
|
const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
|
|
1153
1153
|
await runCodexLogin(codexLoginArgs);
|
|
1154
1154
|
} else if (args.command === "codex-session-runner") {
|
|
1155
|
-
const { runCodexSessionRunner } = await import("./codex-session-runner-
|
|
1155
|
+
const { runCodexSessionRunner } = await import("./codex-session-runner-j1e9hffc.js");
|
|
1156
1156
|
await runCodexSessionRunner();
|
|
1157
1157
|
} else if (args.command === "claude-managed-setup") {
|
|
1158
|
-
const { runClaudeManagedSetup } = await import("./claude-managed-setup-
|
|
1158
|
+
const { runClaudeManagedSetup } = await import("./claude-managed-setup-6czvve8q.js");
|
|
1159
1159
|
const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
|
|
1160
1160
|
await runClaudeManagedSetup(setupArgs);
|
|
1161
1161
|
} else if (args.command === "worker-token") {
|
|
@@ -1163,11 +1163,11 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1163
1163
|
const tokenArgs = process.argv.slice(process.argv.indexOf("worker-token") + 1);
|
|
1164
1164
|
process.exit(await runWorkerToken(tokenArgs));
|
|
1165
1165
|
} else if (args.command === "e2b") {
|
|
1166
|
-
const { runE2BCommand } = await import("./e2b-
|
|
1166
|
+
const { runE2BCommand } = await import("./e2b-cn7cvjqy.js");
|
|
1167
1167
|
const e2bArgs = process.argv.slice(process.argv.indexOf("e2b") + 1);
|
|
1168
1168
|
await runE2BCommand(e2bArgs);
|
|
1169
1169
|
} else if (args.command === "controller") {
|
|
1170
|
-
const { runController } = await import("./controller-
|
|
1170
|
+
const { runController } = await import("./controller-tw7g10j2.js");
|
|
1171
1171
|
await runController(process.argv.slice(process.argv.indexOf("controller") + 1));
|
|
1172
1172
|
} else {
|
|
1173
1173
|
render_default(/* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
checkCodexCredentials2,
|
|
3
3
|
createInProcessCodexSession2,
|
|
4
4
|
CodexAdapter2
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
5
|
+
} from "./cli-8pd1t17c.js";
|
|
6
|
+
import"./cli-srktrbby.js";
|
|
7
7
|
import"./cli-kr5tjjtz.js";
|
|
8
|
-
import"./cli-
|
|
8
|
+
import"./cli-1jq2em7b.js";
|
|
9
9
|
import"./cli-snxhtehz.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-srre41gb.js";
|
|
11
11
|
import"./cli-0726awxw.js";
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
12
|
+
import"./cli-zntvmqmm.js";
|
|
13
|
+
import"./cli-sejvnjvw.js";
|
|
14
|
+
import"./cli-9n6g14vs.js";
|
|
15
|
+
import"./cli-ywy8yz6t.js";
|
|
16
16
|
export {
|
|
17
17
|
CodexAdapter2 as CodexAdapter,
|
|
18
18
|
checkCodexCredentials2 as checkCodexCredentials,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
renderSteeringDelivery
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-94mxerrp.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalToolName,
|
|
7
7
|
canonicalArgs,
|
|
8
8
|
runNativePre,
|
|
9
9
|
runNativePost
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-0h8skzss.js";
|
|
11
11
|
import {
|
|
12
12
|
guardGhPrBody,
|
|
13
13
|
guardGhPrRoom
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
getMcpBaseUrl,
|
|
25
25
|
init_constants3
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-grbngev5.js";
|
|
27
27
|
|
|
28
28
|
// src/hooks/codex-hook.ts
|
|
29
29
|
init_api_key();
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import"./cli-
|
|
1
|
+
import"./cli-zntvmqmm.js";
|
|
2
2
|
import {
|
|
3
3
|
createInProcessCodexSession2
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
4
|
+
} from "./cli-8pd1t17c.js";
|
|
5
|
+
import"./cli-sejvnjvw.js";
|
|
6
|
+
import"./cli-9n6g14vs.js";
|
|
7
|
+
import"./cli-srre41gb.js";
|
|
8
|
+
import"./cli-1jq2em7b.js";
|
|
9
9
|
import"./cli-0726awxw.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-srktrbby.js";
|
|
11
11
|
import"./cli-kr5tjjtz.js";
|
|
12
12
|
import"./cli-snxhtehz.js";
|
|
13
|
-
import"./cli-
|
|
13
|
+
import"./cli-ywy8yz6t.js";
|
|
14
14
|
import {
|
|
15
15
|
scrubSecrets,
|
|
16
16
|
init_secret_scrubber
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-1kvcsd2f.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/codex-session-runner.ts
|
|
20
20
|
init_secret_scrubber();
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
getAllAgents2,
|
|
3
3
|
getAllTasks2,
|
|
4
4
|
init_db4
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-zzq96q57.js";
|
|
6
6
|
import {
|
|
7
7
|
EXTERNAL_CHANNEL_BLOCKED_REPLY2,
|
|
8
8
|
shouldBlockChannel2,
|
|
9
9
|
init_external_channel
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-5n9w2xzx.js";
|
|
11
11
|
import {
|
|
12
12
|
isSlackLeaveThreadDisabled,
|
|
13
13
|
init_left_threads
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-r3dxpmyt.js";
|
|
15
15
|
import {
|
|
16
16
|
isEnvFlagEnabled,
|
|
17
17
|
init_env_flag
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
CONTROLLER_PROTOCOL_VERSION,
|
|
4
4
|
CONTROLLER_PING_INTERVAL_MS,
|
|
5
5
|
ControllerServerMessageSchema
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-5tq15aa7.js";
|
|
7
7
|
import {
|
|
8
8
|
createRuntimeProvider,
|
|
9
9
|
init_runtime_providers
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-n79j1vxc.js";
|
|
11
11
|
import {
|
|
12
12
|
RuntimeProviderKindSchema,
|
|
13
13
|
init_types5
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-7r9tvk8v.js";
|
|
15
15
|
import {
|
|
16
16
|
scrubSecrets,
|
|
17
17
|
registerVolatileSecret,
|
|
18
18
|
init_secret_scrubber
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-1kvcsd2f.js";
|
|
20
20
|
|
|
21
21
|
// src/commands/controller.ts
|
|
22
22
|
init_runtime_providers();
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
isRuntimePoolsEnabled,
|
|
4
4
|
init_runtime_pools_flag,
|
|
5
5
|
init_db4
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-zzq96q57.js";
|
|
7
7
|
import {
|
|
8
8
|
CONTROLLER_PROTOCOL_VERSION,
|
|
9
9
|
CONTROLLER_PING_INTERVAL_MS,
|
|
10
10
|
ControllerClientMessageSchema
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-5tq15aa7.js";
|
|
12
12
|
import {
|
|
13
13
|
getRuntimeController2,
|
|
14
14
|
init_db2
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-f9xw9pr4.js";
|
|
16
16
|
import {
|
|
17
17
|
remoteControllerSession,
|
|
18
18
|
installRemoteController,
|
|
@@ -21,40 +21,40 @@ import {
|
|
|
21
21
|
ensureRuntimeOwnerId,
|
|
22
22
|
reconcileRemoteProvisions,
|
|
23
23
|
reconcileControllerOrphans
|
|
24
|
-
} from "./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
24
|
+
} from "./cli-b42yfn17.js";
|
|
25
|
+
import"./cli-5n9w2xzx.js";
|
|
26
|
+
import"./cli-4gaf3tx5.js";
|
|
27
27
|
import"./cli-vr4eyq6p.js";
|
|
28
28
|
import"./cli-r8ddn0hf.js";
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
32
|
-
import"./cli-
|
|
29
|
+
import"./cli-ybte1fqc.js";
|
|
30
|
+
import"./cli-zbbtp02a.js";
|
|
31
|
+
import"./cli-evy3egte.js";
|
|
32
|
+
import"./cli-55h8m1x3.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveHttpRequestAuth,
|
|
35
35
|
init_auth
|
|
36
|
-
} from "./cli-
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-
|
|
39
|
-
import"./cli-
|
|
36
|
+
} from "./cli-wzecestt.js";
|
|
37
|
+
import"./cli-34fygf87.js";
|
|
38
|
+
import"./cli-7ypg8hka.js";
|
|
39
|
+
import"./cli-pedm2kht.js";
|
|
40
40
|
import"./cli-y260hgep.js";
|
|
41
41
|
import {
|
|
42
42
|
route,
|
|
43
43
|
init_route_def
|
|
44
|
-
} from "./cli-
|
|
45
|
-
import"./cli-
|
|
46
|
-
import"./cli-
|
|
47
|
-
import"./cli-
|
|
48
|
-
import"./cli-
|
|
49
|
-
import"./cli-
|
|
50
|
-
import"./cli-
|
|
44
|
+
} from "./cli-tt7dkwjj.js";
|
|
45
|
+
import"./cli-ced4azn1.js";
|
|
46
|
+
import"./cli-5web09sb.js";
|
|
47
|
+
import"./cli-j69pzrrz.js";
|
|
48
|
+
import"./cli-zxa1vmx7.js";
|
|
49
|
+
import"./cli-r3dxpmyt.js";
|
|
50
|
+
import"./cli-cp163xga.js";
|
|
51
51
|
import {
|
|
52
52
|
getApiKey,
|
|
53
53
|
init_api_key
|
|
54
54
|
} from "./cli-pax9q4ff.js";
|
|
55
55
|
import"./cli-b0m3bg0f.js";
|
|
56
|
-
import"./cli-
|
|
57
|
-
import"./cli-
|
|
56
|
+
import"./cli-kwj3131p.js";
|
|
57
|
+
import"./cli-b9ygp1kz.js";
|
|
58
58
|
import {
|
|
59
59
|
import_websocket_server,
|
|
60
60
|
init_wrapper2
|
|
@@ -62,11 +62,11 @@ import {
|
|
|
62
62
|
import {
|
|
63
63
|
registerSessionTokenConnection,
|
|
64
64
|
init_session_token_connections
|
|
65
|
-
} from "./cli-
|
|
65
|
+
} from "./cli-avax5mp9.js";
|
|
66
66
|
import {
|
|
67
67
|
scrubSecrets,
|
|
68
68
|
init_secret_scrubber
|
|
69
|
-
} from "./cli-
|
|
69
|
+
} from "./cli-1kvcsd2f.js";
|
|
70
70
|
|
|
71
71
|
// src/http/controllers-connect.ts
|
|
72
72
|
init_wrapper2();
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getDeploymentEnvValue2,
|
|
3
|
+
loadGlobalConfigsIntoEnv2,
|
|
4
|
+
reloadGlobalConfigsAndIntegrations2,
|
|
5
|
+
scheduleIntegrationsReload2,
|
|
6
|
+
handleCore2,
|
|
7
|
+
init_core
|
|
8
|
+
} from "./cli-wzecestt.js";
|
|
9
|
+
import"./cli-7ypg8hka.js";
|
|
10
|
+
import"./cli-pedm2kht.js";
|
|
11
|
+
import"./cli-ced4azn1.js";
|
|
12
|
+
import"./cli-5web09sb.js";
|
|
13
|
+
import"./cli-j69pzrrz.js";
|
|
14
|
+
import"./cli-zxa1vmx7.js";
|
|
15
|
+
import"./cli-y260hgep.js";
|
|
16
|
+
import"./cli-r3dxpmyt.js";
|
|
17
|
+
import"./cli-55h8m1x3.js";
|
|
18
|
+
import"./cli-cp163xga.js";
|
|
19
|
+
import"./cli-evy3egte.js";
|
|
20
|
+
import"./cli-tt7dkwjj.js";
|
|
21
|
+
import"./cli-f9xw9pr4.js";
|
|
22
|
+
import"./cli-zbbtp02a.js";
|
|
23
|
+
import"./cli-4gaf3tx5.js";
|
|
24
|
+
import"./cli-5n9w2xzx.js";
|
|
25
|
+
import"./cli-r8ddn0hf.js";
|
|
26
|
+
import"./cli-b0m3bg0f.js";
|
|
27
|
+
import"./cli-vr4eyq6p.js";
|
|
28
|
+
import"./cli-kwj3131p.js";
|
|
29
|
+
import"./cli-ybte1fqc.js";
|
|
30
|
+
import"./cli-b9ygp1kz.js";
|
|
31
|
+
import"./cli-34fygf87.js";
|
|
32
|
+
import"./cli-avax5mp9.js";
|
|
33
|
+
import"./cli-zzq96q57.js";
|
|
34
|
+
init_core();
|
|
35
|
+
|
|
36
|
+
export {
|
|
37
|
+
getDeploymentEnvValue2 as getDeploymentEnvValue,
|
|
38
|
+
handleCore2 as handleCore,
|
|
39
|
+
loadGlobalConfigsIntoEnv2 as loadGlobalConfigsIntoEnv,
|
|
40
|
+
reloadGlobalConfigsAndIntegrations2 as reloadGlobalConfigsAndIntegrations,
|
|
41
|
+
scheduleIntegrationsReload2 as scheduleIntegrationsReload
|
|
42
|
+
};
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
checkCursorCredentials2,
|
|
3
3
|
liveTestCursorKey2,
|
|
4
4
|
CursorAdapter2
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
5
|
+
} from "./cli-tvyt8w6n.js";
|
|
6
|
+
import"./cli-ywy8yz6t.js";
|
|
7
7
|
export {
|
|
8
8
|
CursorAdapter2 as CursorAdapter,
|
|
9
9
|
checkCursorCredentials2 as checkCursorCredentials,
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
createPoolAgent2,
|
|
20
20
|
loadRuntimeControllerSecrets2,
|
|
21
21
|
init_db2
|
|
22
|
-
} from "./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
22
|
+
} from "./cli-f9xw9pr4.js";
|
|
23
|
+
import"./cli-avax5mp9.js";
|
|
24
|
+
import"./cli-zzq96q57.js";
|
|
25
25
|
init_db2();
|
|
26
26
|
|
|
27
27
|
export {
|
|
@@ -530,13 +530,13 @@ import {
|
|
|
530
530
|
countScriptRunJournalSteps2,
|
|
531
531
|
countScriptRunJournalAgentTaskSteps2,
|
|
532
532
|
init_db4
|
|
533
|
-
} from "./cli-
|
|
533
|
+
} from "./cli-zzq96q57.js";
|
|
534
534
|
import {
|
|
535
535
|
generateDefaultClaudeMd2,
|
|
536
536
|
generateDefaultSoulMd2,
|
|
537
537
|
generateDefaultIdentityMd2,
|
|
538
538
|
generateDefaultToolsMd2
|
|
539
|
-
} from "./cli-
|
|
539
|
+
} from "./cli-19d6v8er.js";
|
|
540
540
|
init_db4();
|
|
541
541
|
|
|
542
542
|
export {
|
|
@@ -13,32 +13,32 @@ import {
|
|
|
13
13
|
dispatchPre2,
|
|
14
14
|
dispatchPost2,
|
|
15
15
|
init_dispatcher
|
|
16
|
-
} from "./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
16
|
+
} from "./cli-wzecestt.js";
|
|
17
|
+
import"./cli-7ypg8hka.js";
|
|
18
|
+
import"./cli-pedm2kht.js";
|
|
19
|
+
import"./cli-ced4azn1.js";
|
|
20
|
+
import"./cli-5web09sb.js";
|
|
21
|
+
import"./cli-j69pzrrz.js";
|
|
22
|
+
import"./cli-zxa1vmx7.js";
|
|
23
23
|
import"./cli-y260hgep.js";
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
32
|
-
import"./cli-
|
|
24
|
+
import"./cli-r3dxpmyt.js";
|
|
25
|
+
import"./cli-55h8m1x3.js";
|
|
26
|
+
import"./cli-cp163xga.js";
|
|
27
|
+
import"./cli-evy3egte.js";
|
|
28
|
+
import"./cli-tt7dkwjj.js";
|
|
29
|
+
import"./cli-f9xw9pr4.js";
|
|
30
|
+
import"./cli-zbbtp02a.js";
|
|
31
|
+
import"./cli-4gaf3tx5.js";
|
|
32
|
+
import"./cli-5n9w2xzx.js";
|
|
33
33
|
import"./cli-r8ddn0hf.js";
|
|
34
34
|
import"./cli-b0m3bg0f.js";
|
|
35
35
|
import"./cli-vr4eyq6p.js";
|
|
36
|
-
import"./cli-
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-
|
|
39
|
-
import"./cli-
|
|
40
|
-
import"./cli-
|
|
41
|
-
import"./cli-
|
|
36
|
+
import"./cli-kwj3131p.js";
|
|
37
|
+
import"./cli-ybte1fqc.js";
|
|
38
|
+
import"./cli-b9ygp1kz.js";
|
|
39
|
+
import"./cli-34fygf87.js";
|
|
40
|
+
import"./cli-avax5mp9.js";
|
|
41
|
+
import"./cli-zzq96q57.js";
|
|
42
42
|
init_dispatcher();
|
|
43
43
|
|
|
44
44
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
redactWithEnv,
|
|
3
3
|
init_env2
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-kezzteka.js";
|
|
5
5
|
import {
|
|
6
6
|
WORKSPACE_MOUNT_PATH,
|
|
7
7
|
RUNTIME_LABELS,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
scrubSecrets,
|
|
17
17
|
init_secret_scrubber
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-1kvcsd2f.js";
|
|
19
19
|
import {
|
|
20
20
|
__esm
|
|
21
21
|
} from "./cli-242037k3.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
deleteTemplate,
|
|
27
27
|
setTemplateVisibility,
|
|
28
28
|
init_dispatch
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-kr0jpw9c.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_E2B_API_BASE,
|
|
32
32
|
DEFAULT_E2B_TEMPLATE_NAMES,
|
|
@@ -41,11 +41,11 @@ import {
|
|
|
41
41
|
redactObjectWithEnv,
|
|
42
42
|
absolutePath,
|
|
43
43
|
init_env2
|
|
44
|
-
} from "./cli-
|
|
44
|
+
} from "./cli-kezzteka.js";
|
|
45
45
|
import {
|
|
46
46
|
getAppUrl,
|
|
47
47
|
init_constants3
|
|
48
|
-
} from "./cli-
|
|
48
|
+
} from "./cli-grbngev5.js";
|
|
49
49
|
import {
|
|
50
50
|
__toESM
|
|
51
51
|
} from "./cli-242037k3.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
listSandboxes,
|
|
8
8
|
startDetachedProcess,
|
|
9
9
|
init_dispatch
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-kr0jpw9c.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveWorkerApiUrl,
|
|
13
13
|
init_worker_api_url
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-tgc1kgg3.js";
|
|
15
15
|
import {
|
|
16
16
|
redactWithEnv,
|
|
17
17
|
init_env2
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-kezzteka.js";
|
|
19
19
|
import {
|
|
20
20
|
RUNTIME_LABELS,
|
|
21
21
|
init_types4
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
getMemoryStore2,
|
|
6
6
|
init_memory,
|
|
7
7
|
init_db4
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-zzq96q57.js";
|
|
9
9
|
import {
|
|
10
10
|
publicEndpointSsrfOptions,
|
|
11
11
|
init_mcp_wrapper
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-b9ygp1kz.js";
|
|
13
13
|
import {
|
|
14
14
|
__esm
|
|
15
15
|
} from "./cli-242037k3.js";
|
|
@@ -112,8 +112,8 @@ async function reembedMemory(provider, counts, opts) {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
async function reembedScripts(memoryProvider, counts, opts) {
|
|
115
|
-
const { computeScriptEmbedding, embeddingProvider, writeScriptEmbedding } = await import("./embeddings-
|
|
116
|
-
const { toScriptRecord } = await import("./boot-reembed-
|
|
115
|
+
const { computeScriptEmbedding, embeddingProvider, writeScriptEmbedding } = await import("./embeddings-d7vr881x.js");
|
|
116
|
+
const { toScriptRecord } = await import("./boot-reembed-m62dpdkg.js");
|
|
117
117
|
const client = getDbClient2();
|
|
118
118
|
const provider = embeddingProvider();
|
|
119
119
|
const cursorKey = embeddingSpaceCursorKey("scripts");
|
|
@@ -226,10 +226,10 @@ function runEmbeddingMaintenance(opts = {}) {
|
|
|
226
226
|
if (!backfill && result !== "reembedded")
|
|
227
227
|
return;
|
|
228
228
|
await Promise.all([
|
|
229
|
-
import("./boot-reembed-
|
|
229
|
+
import("./boot-reembed-1mjs52nt.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
|
|
230
230
|
console.error("[boot-reembed] memory backfill failed (non-fatal):", err);
|
|
231
231
|
}),
|
|
232
|
-
import("./boot-reembed-
|
|
232
|
+
import("./boot-reembed-m62dpdkg.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
|
|
233
233
|
console.error("[boot-reembed-scripts] script backfill failed (non-fatal):", err);
|
|
234
234
|
})
|
|
235
235
|
]);
|