@desplega.ai/agent-swarm 2.13.4 → 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-zrk9k0n7.js → acp-targets-w8dbs4nr.js} +7 -7
- package/dist/{actions-acqqj9jn.js → actions-8zrcbjrx.js} +26 -26
- package/dist/{agent-fs-provision-zmaykqnd.js → agent-fs-provision-cbt2ttds.js} +4 -4
- package/dist/{amp-adapter-a7ts8tmw.js → amp-adapter-8x6zp8w4.js} +2 -2
- package/dist/{anthropic-messages-88b7s3n9.js → anthropic-messages-vdd1zmha.js} +10 -10
- package/dist/{app-tmwa442h.js → app-zfa9dwjw.js} +6 -6
- package/dist/{approval-notifications-6psaaaye.js → approval-notifications-rv92zmza.js} +7 -7
- package/dist/{assistant-564v6emv.js → assistant-q7s7rm1q.js} +24 -24
- package/dist/{boot-args-schema-n099e0f2.js → boot-args-schema-g27kpzr1.js} +1 -1
- package/dist/{boot-reembed-epvg4fp9.js → boot-reembed-1mjs52nt.js} +1 -1
- package/dist/{boot-reembed-chx66qfk.js → boot-reembed-m62dpdkg.js} +1 -1
- package/dist/{boot-scrub-sweep-dhkfp0a7.js → boot-scrub-sweep-ss1vcamw.js} +2 -2
- package/dist/{boot-seeds-m74fc07r.js → boot-seeds-hwnvgbb3.js} +4 -4
- package/dist/{boxd-451q55ys.js → boxd-y0szhp0g.js} +1 -1
- package/dist/{claude-adapter-hw63yj3j.js → claude-adapter-0rjmbhjk.js} +7 -7
- package/dist/{claude-managed-adapter-z5s7fx6p.js → claude-managed-adapter-6k032agg.js} +3 -3
- package/dist/{claude-managed-setup-wee1762m.js → claude-managed-setup-6czvve8q.js} +4 -4
- package/dist/{claude-sdk-session-cktyqkpk.js → claude-sdk-session-pr0znb81.js} +12667 -11881
- package/dist/{cli-0fgvnb0x.js → cli-0qt3epg4.js} +3 -3
- package/dist/{cli-ka48vpev.js → cli-19d6v8er.js} +3 -3
- package/dist/{cli-zexwhj3f.js → cli-1jq2em7b.js} +3 -3
- package/dist/{cli-5rgm8p39.js → cli-2wzkvfgm.js} +2 -2
- package/dist/{cli-x2cem5vy.js → cli-34fygf87.js} +2 -2
- package/dist/{cli-tsc3pdfd.js → cli-3860pmrq.js} +3 -3
- package/dist/{cli-hhtbandk.js → cli-3vw6dd4g.js} +2 -2
- package/dist/{cli-qzz6tz8s.js → cli-4gaf3tx5.js} +1 -1
- package/dist/{cli-9ah37a8a.js → cli-55h8m1x3.js} +8 -5
- package/dist/{cli-7gbff32z.js → cli-5n9w2xzx.js} +1 -1
- package/dist/{cli-p436yrzp.js → cli-5tq15aa7.js} +1 -1
- package/dist/{cli-jyhbvdga.js → cli-5web09sb.js} +2 -2
- package/dist/{cli-3zrwrnz7.js → cli-69zzpjgh.js} +1 -1
- package/dist/{cli-7g3fg4gf.js → cli-6msnpj1z.js} +6 -6
- package/dist/{cli-azj9t1f9.js → cli-7r9tvk8v.js} +41 -3
- package/dist/{cli-4fpa0zns.js → cli-7ypg8hka.js} +3 -3
- package/dist/{cli-8cas2xvp.js → cli-887vhew6.js} +2 -2
- package/dist/{cli-t0jmkcah.js → cli-8pd1t17c.js} +7 -7
- package/dist/{cli-h9d3sdnc.js → cli-94mxerrp.js} +1 -1
- package/dist/{cli-bv4vvnmg.js → cli-9n6g14vs.js} +2 -2
- package/dist/{cli-5ashycw3.js → cli-abby987g.js} +2 -2
- package/dist/{cli-kj84fqxz.js → cli-avax5mp9.js} +1 -1
- package/dist/{cli-ea7nz50q.js → cli-b42yfn17.js} +11 -11
- package/dist/{cli-ysv0k1we.js → cli-b9ygp1kz.js} +1 -1
- package/dist/{cli-3bxrrh53.js → cli-bvamr9g0.js} +2 -2
- package/dist/{cli-gse7bp3z.js → cli-ced4azn1.js} +10 -9
- package/dist/{cli-7by7vp6m.js → cli-cmbb2t8a.js} +2 -2
- package/dist/{cli-0p76my9q.js → cli-cp163xga.js} +10 -10
- package/dist/{cli-jzerrzgc.js → cli-ebpq3c5z.js} +8 -8
- package/dist/{cli-p3knvk62.js → cli-ehg90jd1.js} +113 -39
- package/dist/{cli-jg5txpm6.js → cli-emdfd8fh.js} +75 -1
- package/dist/{cli-d5pc8ep0.js → cli-evy3egte.js} +7 -7
- package/dist/{cli-60dwk8tx.js → cli-ewk3sg68.js} +2 -2
- package/dist/{cli-nc4pbwmp.js → cli-f7b9nyvk.js} +4 -4
- package/dist/{cli-29h5239w.js → cli-f9xw9pr4.js} +4 -4
- package/dist/{cli-3tzmh38q.js → cli-ffn0a515.js} +7 -7
- package/dist/{cli-dqgnbnxs.js → cli-grbngev5.js} +6 -1
- package/dist/{cli-cq4am6vg.js → cli-hd5bm1e1.js} +4 -4
- package/dist/{cli-akm6y2a8.js → cli-htb5bpz2.js} +1 -1
- package/dist/{cli-tr19nyn9.js → cli-j69pzrrz.js} +6 -6
- package/dist/{cli-hdhpdrka.js → cli-jdq3jmny.js} +3 -3
- package/dist/{cli-ja450998.js → cli-ks06cd0n.js} +1 -1
- package/dist/{cli-pz1dp12c.js → cli-kwj3131p.js} +1 -1
- package/dist/{cli-1vmhnncj.js → cli-m8f4379k.js} +3 -3
- package/dist/{cli-jbrc98qb.js → cli-n79j1vxc.js} +2 -2
- package/dist/{cli-b768ek79.js → cli-nrt048ys.js} +1 -0
- package/dist/{cli-93n305hm.js → cli-pedm2kht.js} +1 -1
- package/dist/{cli-eds5xnsz.js → cli-phmy14hb.js} +2 -2
- package/dist/{cli-n1kjs58m.js → cli-prz1p3ft.js} +3 -3
- package/dist/{cli-pz1nq5xm.js → cli-q1h041y8.js} +3 -3
- package/dist/{cli-cah298e5.js → cli-q41qar56.js} +104 -119
- package/dist/{cli-4pbwg7sn.js → cli-qmx8bnt4.js} +1 -1
- package/dist/{cli-944w9wb4.js → cli-qrvk9nka.js} +18 -13
- package/dist/{cli-gtj12v95.js → cli-r3dxpmyt.js} +1 -1
- package/dist/{cli-phdzn699.js → cli-ryem5cfq.js} +7 -7
- package/dist/{cli-49aq3cyn.js → cli-s8dhq7rj.js} +4 -4
- package/dist/{cli-fkpnx3vf.js → cli-sejvnjvw.js} +3 -2
- package/dist/{cli-m1sns1da.js → cli-srre41gb.js} +2 -2
- package/dist/{cli-5rxsb3wq.js → cli-t0n9svkb.js} +3 -3
- package/dist/{cli-tzw1jr2t.js → cli-t879ww0y.js} +2 -2
- package/dist/{cli-xwsm6xkr.js → cli-tgc1kgg3.js} +1 -1
- package/dist/{cli-404am6f3.js → cli-tt7dkwjj.js} +6 -6
- package/dist/{cli-zjdhrzm0.js → cli-tvyt8w6n.js} +2 -2
- package/dist/{cli-hyqksecw.js → cli-v09eza21.js} +9 -9
- package/dist/{cli-rv3y60bt.js → cli-vbge4rsp.js} +4 -4
- package/dist/{cli-bzcwwebm.js → cli-vcpyttcw.js} +1 -1
- package/dist/{cli-904wk98s.js → cli-wzecestt.js} +338 -98
- package/dist/{cli-gkv0r2hq.js → cli-x2adbg4j.js} +70 -8
- package/dist/{cli-4q2c8rxw.js → cli-z3x7h79n.js} +12 -6
- package/dist/{cli-s33bzmk0.js → cli-z40t85ms.js} +1 -1
- package/dist/{cli-rmgvwcmy.js → cli-zbbtp02a.js} +98 -21
- package/dist/{cli-3xqad83h.js → cli-zntvmqmm.js} +1 -1
- package/dist/{cli-zhwjdhjr.js → cli-zxa1vmx7.js} +1 -1
- package/dist/{cli-50wa8k4h.js → cli-zy9bb22b.js} +1 -2
- package/dist/{cli-ts5yv7dn.js → cli-zzq96q57.js} +123 -33
- package/dist/cli.js +18 -18
- package/dist/{codex-adapter-2fs2c0n6.js → codex-adapter-bn7eaxk5.js} +6 -6
- package/dist/{codex-hook-jxjv6dy5.js → codex-hook-nnmezjg9.js} +2 -2
- package/dist/{codex-session-runner-r55tmx4c.js → codex-session-runner-j1e9hffc.js} +6 -6
- package/dist/{commands-0mxdy9x8.js → commands-amhpafrr.js} +3 -3
- package/dist/{controller-g3vkfhr4.js → controller-tw7g10j2.js} +3 -3
- package/dist/{controllers-connect-4wdmncqt.js → controllers-connect-2ssqz7f4.js} +23 -23
- package/dist/{core-gsvj5f3z.js → core-bwp98v4w.js} +21 -21
- package/dist/{cursor-adapter-t9qb96q2.js → cursor-adapter-d6knjmwa.js} +1 -1
- package/dist/{db-487vvyv9.js → db-fd6xxm77.js} +3 -3
- package/dist/{db-76p7w3gr.js → db-sc59379z.js} +2 -2
- package/dist/{dispatcher-64rp6w67.js → dispatcher-a2gdqz8c.js} +21 -21
- package/dist/{dsh-adapter-8abzqk5c.js → dsh-adapter-43ygwqn7.js} +1 -1
- package/dist/{e2b-dc8f6ctq.js → e2b-cn7cvjqy.js} +1 -1
- package/dist/{e2b-3ykbe805.js → e2b-qnxyfea6.js} +1 -1
- package/dist/{easter-egg-3d-jrrwyf55.js → easter-egg-3d-a0pphy71.js} +1 -1
- package/dist/{embedding-space-001hhhpk.js → embedding-space-qepzrach.js} +6 -6
- package/dist/{embeddings-esj19cnw.js → embeddings-d7vr881x.js} +1 -1
- package/dist/{execute-301hkxqg.js → execute-6afts2bn.js} +1 -1
- package/dist/{external-channel-w10e2j05.js → external-channel-881zq1x4.js} +2 -2
- package/dist/fx-adapter-cr2hq17y.js +20 -0
- package/dist/{grok-adapter-3a0ezfee.js → grok-adapter-ayddnbsc.js} +9 -9
- package/dist/handlers-7ghs84x2.js +41 -0
- package/dist/{heartbeat-tbrj7vhq.js → heartbeat-4c022m6a.js} +24 -24
- package/dist/{hook-3am1sq68.js → hook-4k84x499.js} +5 -5
- package/dist/{hook-tx917rqw.js → hook-a7eh6zty.js} +7 -7
- package/dist/{http-3rmemtqy.js → http-6aw5wanc.js} +180 -94
- package/dist/index-dtt0d634.js +44 -0
- package/dist/index-hmszyqkk.js +42 -0
- package/dist/index-j6rm1rtn.js +39 -0
- package/dist/{index-aetfyx6p.js → index-rwwhsmjg.js} +1 -1
- package/dist/{index-s7xtvc0f.js → index-xhad0n8m.js} +1 -1
- package/dist/{index-2jw11t8s.js → index-yq9hhhhy.js} +25 -25
- package/dist/{index-gfnq66t1.js → index-z2g9469g.js} +202 -17
- package/dist/{keepalive-9px3t7qj.js → keepalive-zhbmztqw.js} +4 -4
- package/dist/lead-g2j4q39z.js +83 -0
- package/dist/{maintenance-vwqjwst6.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-yqry3wn4.js → oauth-refresh-sweep-w3cqmxq7.js} +3 -3
- package/dist/{object-webhooks-8s1wtths.js → object-webhooks-331hay92.js} +7 -7
- package/dist/{onboard-hb8czx0p.js → onboard-n2w80m2n.js} +3 -3
- package/dist/{opencode-adapter-djd6m6dk.js → opencode-adapter-z98127cz.js} +6 -6
- package/dist/{otel-impl-2ymwyczz.js → otel-impl-xsk35tvf.js} +1 -1
- package/dist/{pending-nxavtvx7.js → pending-2e6trkxd.js} +22 -22
- package/dist/{pi-mono-adapter-d2cpmcy4.js → pi-mono-adapter-wh6yndtm.js} +8 -8
- package/dist/{pricing-refresh-1yz8jkqv.js → pricing-refresh-9355dj1t.js} +2 -2
- package/dist/{rbac-roles-dbpx0x9v.js → rbac-roles-58y3m912.js} +3 -3
- package/dist/{rbac-roles-7s6m31xw.js → rbac-roles-8eajw4s6.js} +2 -2
- package/dist/{render-v2-7y20rjrn.js → render-v2-7gskkmd4.js} +6 -6
- package/dist/{resume-wz546x47.js → resume-0drnmpja.js} +9 -9
- package/dist/{runtime-cb5bd9tz.js → runtime-d2tcmqte.js} +1 -1
- package/dist/{session-access-4vcft8kq.js → session-access-0ztys6bd.js} +5 -5
- package/dist/{session-source-backfill-57b50tpw.js → session-source-backfill-cdm5s046.js} +2 -2
- package/dist/{setup-e1tevjyj.js → setup-pqwb9tcc.js} +1 -1
- package/dist/thread-buffer-epx3san4.js +42 -0
- package/dist/{tree-visibility-07wf1nct.js → tree-visibility-rwz67mje.js} +2 -2
- package/dist/{user-merge-jobs-n20qpv6s.js → user-merge-jobs-mxrhamwt.js} +3 -3
- package/dist/{virtual-modules-6fxmn1yv.js → virtual-modules-71y1gsmg.js} +3 -3
- package/dist/{work-objects-eg7y48pe.js → work-objects-3k4ykt9j.js} +24 -24
- package/dist/worker-09gqn9xy.js +83 -0
- package/dist/{worker-follow-up-jnvnnf2b.js → worker-follow-up-y0h64xpr.js} +21 -21
- package/openapi.json +387 -6
- 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/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.ts +78 -5
- package/src/be/migrations/344_user_avatar.sql +4 -0
- package/src/be/migrations/345_task_status_kind.sql +6 -0
- package/src/be/primitives/object-embed.ts +2 -2
- package/src/be/primitives/objects.ts +2 -2
- package/src/be/runtime-pools/supervisor.ts +1 -0
- package/src/be/scripts/typecheck.ts +1 -1
- package/src/be/swarm-config-guard.ts +4 -0
- 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 +6 -1
- package/src/http/api-keys.ts +26 -0
- package/src/http/asset-key-write.ts +45 -0
- package/src/http/assets.ts +4 -3
- package/src/http/github-token.ts +27 -6
- package/src/http/pages.ts +4 -10
- 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/commands.ts +3 -1
- package/src/jira/sync.ts +1 -1
- package/src/linear/sync.ts +5 -3
- 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/runtime-dependencies.ts +1 -1
- package/src/scheduler/deferred-task-waits.ts +74 -13
- package/src/scripts-runtime/swarm-sdk.ts +8 -1
- package/src/scripts-runtime/types/stdlib.d.ts +8 -1
- package/src/scripts-runtime/types/swarm-extension.d.ts +19 -2
- package/src/scripts-runtime/types/swarm-sdk.d.ts +8 -1
- package/src/slack/actions.ts +1 -1
- 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/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/db-client-busy-retry.test.ts +49 -16
- package/src/tests/defer-task.test.ts +1 -0
- 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/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-supersede-resume.test.ts +2 -0
- package/src/tests/heartbeat.test.ts +1 -0
- 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 +108 -2
- 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/runner-api-drain.test.ts +2 -17
- package/src/tests/runner-terminal-window-report.test.ts +132 -0
- 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/scheduled-tasks.test.ts +14 -51
- 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/secret-rules.test.ts +4 -2
- package/src/tests/session-logs.test.ts +1 -260
- package/src/tests/slack-render-v2.test.ts +5 -148
- 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/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/tools/cancel-task.ts +2 -2
- package/src/tools/defer-task.ts +7 -2
- 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/store-progress.ts +5 -3
- package/src/types.ts +93 -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/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 +7 -0
- package/templates/skills/swarm-docs/content.md +1 -0
- package/templates/skills/swarm-scripts/SKILL.md +1 -0
- package/templates/skills/swarm-scripts/content.md +1 -0
- package/dist/acp-adapter-mr4temec.js +0 -17
- package/dist/fx-adapter-4sjrbdne.js +0 -20
- package/dist/handlers-ef3k11hb.js +0 -41
- package/dist/index-e6bq0exk.js +0 -42
- package/dist/index-hf2k1vge.js +0 -39
- package/dist/index-taxmejj3.js +0 -44
- package/dist/lead-5vt6f174.js +0 -83
- package/dist/thread-buffer-686pa1p1.js +0 -42
- package/dist/worker-4vp616ms.js +0 -83
- 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
|
@@ -459,6 +459,19 @@ var formatRequestDetails = (details) => {
|
|
|
459
459
|
return details;
|
|
460
460
|
};
|
|
461
461
|
|
|
462
|
+
// node_modules/@anthropic-ai/sdk/internal/utils/abort.mjs
|
|
463
|
+
function linkAbort(external, controller) {
|
|
464
|
+
if (!external)
|
|
465
|
+
return () => {};
|
|
466
|
+
if (external.aborted) {
|
|
467
|
+
controller.abort();
|
|
468
|
+
return () => {};
|
|
469
|
+
}
|
|
470
|
+
const onAbort = () => controller.abort();
|
|
471
|
+
external.addEventListener("abort", onAbort);
|
|
472
|
+
return () => external.removeEventListener("abort", onAbort);
|
|
473
|
+
}
|
|
474
|
+
|
|
462
475
|
// node_modules/@anthropic-ai/sdk/internal/utils/backoff.mjs
|
|
463
476
|
function isStatus(e, code) {
|
|
464
477
|
return e instanceof APIError && e.status === code;
|
|
@@ -479,6 +492,67 @@ function applyJitter(ms) {
|
|
|
479
492
|
return ms * (1 - Math.random() * 0.25);
|
|
480
493
|
}
|
|
481
494
|
|
|
495
|
+
// node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs
|
|
496
|
+
var _AsyncQueue_items;
|
|
497
|
+
var _AsyncQueue_waiters;
|
|
498
|
+
var _AsyncQueue_closed;
|
|
499
|
+
var AsyncQueue = /* @__PURE__ */ (() => {
|
|
500
|
+
|
|
501
|
+
class AsyncQueue {
|
|
502
|
+
constructor() {
|
|
503
|
+
_AsyncQueue_items.set(this, []);
|
|
504
|
+
_AsyncQueue_waiters.set(this, []);
|
|
505
|
+
_AsyncQueue_closed.set(this, false);
|
|
506
|
+
}
|
|
507
|
+
push(item) {
|
|
508
|
+
if (__classPrivateFieldGet(this, _AsyncQueue_closed, "f"))
|
|
509
|
+
return false;
|
|
510
|
+
const w = __classPrivateFieldGet(this, _AsyncQueue_waiters, "f").shift();
|
|
511
|
+
if (w)
|
|
512
|
+
w({ done: false, value: item });
|
|
513
|
+
else
|
|
514
|
+
__classPrivateFieldGet(this, _AsyncQueue_items, "f").push(item);
|
|
515
|
+
return true;
|
|
516
|
+
}
|
|
517
|
+
close() {
|
|
518
|
+
if (__classPrivateFieldGet(this, _AsyncQueue_closed, "f"))
|
|
519
|
+
return;
|
|
520
|
+
__classPrivateFieldSet(this, _AsyncQueue_closed, true, "f");
|
|
521
|
+
while (__classPrivateFieldGet(this, _AsyncQueue_waiters, "f").length > 0) {
|
|
522
|
+
const w = __classPrivateFieldGet(this, _AsyncQueue_waiters, "f").shift();
|
|
523
|
+
w({ done: true, value: undefined });
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
next(signal) {
|
|
527
|
+
if (__classPrivateFieldGet(this, _AsyncQueue_items, "f").length > 0) {
|
|
528
|
+
return Promise.resolve({ done: false, value: __classPrivateFieldGet(this, _AsyncQueue_items, "f").shift() });
|
|
529
|
+
}
|
|
530
|
+
if (__classPrivateFieldGet(this, _AsyncQueue_closed, "f") || signal?.aborted) {
|
|
531
|
+
return Promise.resolve({ done: true, value: undefined });
|
|
532
|
+
}
|
|
533
|
+
return new Promise((resolve) => {
|
|
534
|
+
const waiter = (r) => {
|
|
535
|
+
signal?.removeEventListener("abort", onAbort);
|
|
536
|
+
resolve(r);
|
|
537
|
+
};
|
|
538
|
+
const onAbort = () => {
|
|
539
|
+
const idx = __classPrivateFieldGet(this, _AsyncQueue_waiters, "f").indexOf(waiter);
|
|
540
|
+
if (idx >= 0)
|
|
541
|
+
__classPrivateFieldGet(this, _AsyncQueue_waiters, "f").splice(idx, 1);
|
|
542
|
+
resolve({ done: true, value: undefined });
|
|
543
|
+
};
|
|
544
|
+
__classPrivateFieldGet(this, _AsyncQueue_waiters, "f").push(waiter);
|
|
545
|
+
signal?.addEventListener("abort", onAbort, { once: true });
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
tryShift() {
|
|
549
|
+
return __classPrivateFieldGet(this, _AsyncQueue_items, "f").shift();
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
_AsyncQueue_items = new WeakMap, _AsyncQueue_waiters = new WeakMap, _AsyncQueue_closed = new WeakMap;
|
|
553
|
+
return AsyncQueue;
|
|
554
|
+
})();
|
|
555
|
+
|
|
482
556
|
// node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs
|
|
483
557
|
var ToolError = /* @__PURE__ */ (() => {
|
|
484
558
|
class ToolError extends Error {
|
|
@@ -516,4 +590,4 @@ function promiseWithResolvers() {
|
|
|
516
590
|
return { promise, resolve, reject };
|
|
517
591
|
}
|
|
518
592
|
|
|
519
|
-
export { __classPrivateFieldSet, __classPrivateFieldGet, isAbortError, castToError, AnthropicError, APIError, APIUserAbortError, APIConnectionError, APIConnectionTimeoutError, RetryableError, BadRequestError, AuthenticationError, PermissionDeniedError, NotFoundError2, RequestTimeoutError, ConflictError, PreconditionFailedError, ContentTooLargeError, UnprocessableEntityError, RateLimitError, RequestHeaderFieldsTooLargeError, ClientClosedRequestError, InternalServerError, NotImplementedError2, ServiceUnavailableError, GatewayTimeoutError, OverloadedError, isAbsoluteURL, isArray, isReadonlyArray, maybeObj, isEmptyObj, isObj, validatePositiveInteger, CREDENTIAL_OPTIONS, safeJSON, checkNever, concatBytes, encodeUTF8, decodeUTF8, readEnv, defaultLogLevel, parseLogLevel, loggerFor, defaultLogger, debugLogRequestDetails, isStatus, isFatal4xx, backoff, jitter, applyJitter, ToolError, DEFAULT_MEMORY_SYNC_INTERVAL_MS, checkMemorySyncInterval, promiseWithResolvers };
|
|
593
|
+
export { __classPrivateFieldSet, __classPrivateFieldGet, isAbortError, castToError, AnthropicError, APIError, APIUserAbortError, APIConnectionError, APIConnectionTimeoutError, RetryableError, BadRequestError, AuthenticationError, PermissionDeniedError, NotFoundError2, RequestTimeoutError, ConflictError, PreconditionFailedError, ContentTooLargeError, UnprocessableEntityError, RateLimitError, RequestHeaderFieldsTooLargeError, ClientClosedRequestError, InternalServerError, NotImplementedError2, ServiceUnavailableError, GatewayTimeoutError, OverloadedError, isAbsoluteURL, isArray, isReadonlyArray, maybeObj, isEmptyObj, isObj, validatePositiveInteger, CREDENTIAL_OPTIONS, safeJSON, checkNever, concatBytes, encodeUTF8, decodeUTF8, readEnv, defaultLogLevel, parseLogLevel, loggerFor, defaultLogger, debugLogRequestDetails, linkAbort, isStatus, isFatal4xx, backoff, jitter, applyJitter, AsyncQueue, ToolError, DEFAULT_MEMORY_SYNC_INTERVAL_MS, checkMemorySyncInterval, promiseWithResolvers };
|
|
@@ -25,17 +25,17 @@ import {
|
|
|
25
25
|
getUserById2,
|
|
26
26
|
getAllUsers2,
|
|
27
27
|
init_db4
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-zzq96q57.js";
|
|
29
29
|
import {
|
|
30
30
|
externalChannelToolError2,
|
|
31
31
|
isBlockExternalEnabled2,
|
|
32
32
|
getChannelBlockReason2,
|
|
33
33
|
init_external_channel
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-5n9w2xzx.js";
|
|
35
35
|
import {
|
|
36
36
|
getSlackApp2,
|
|
37
37
|
init_app4
|
|
38
|
-
} from "./cli-
|
|
38
|
+
} from "./cli-zbbtp02a.js";
|
|
39
39
|
import {
|
|
40
40
|
isMultiRuntimeEnabled,
|
|
41
41
|
init_multi_runtime2
|
|
@@ -43,15 +43,15 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
revokeRuntimeTokensForRuntime,
|
|
45
45
|
init_users
|
|
46
|
-
} from "./cli-
|
|
46
|
+
} from "./cli-avax5mp9.js";
|
|
47
47
|
import {
|
|
48
48
|
resolveTemplate,
|
|
49
49
|
init_resolver
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-nrt048ys.js";
|
|
51
51
|
import {
|
|
52
52
|
TERMINAL_TASK_STATUSES,
|
|
53
53
|
init_types5
|
|
54
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-7r9tvk8v.js";
|
|
55
55
|
import {
|
|
56
56
|
init_zod
|
|
57
57
|
} from "./cli-96234j5w.js";
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
import {
|
|
68
68
|
getAppUrl,
|
|
69
69
|
init_constants3
|
|
70
|
-
} from "./cli-
|
|
70
|
+
} from "./cli-grbngev5.js";
|
|
71
71
|
import {
|
|
72
72
|
scrubSecrets,
|
|
73
73
|
init_secret_scrubber
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
getResolvedConfig2,
|
|
7
7
|
getAllUsers2,
|
|
8
8
|
init_db4
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-zzq96q57.js";
|
|
10
10
|
import {
|
|
11
11
|
getUserGrant2,
|
|
12
12
|
init_rbac_roles
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-34fygf87.js";
|
|
14
14
|
import {
|
|
15
15
|
scrubSecrets,
|
|
16
16
|
init_secret_scrubber
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
contextBoundNoteThreshold,
|
|
3
3
|
createContextBoundNote
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-zntvmqmm.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalToolName,
|
|
7
7
|
canonicalArgs,
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
autoIndexMemoryFile,
|
|
28
28
|
fetchConcurrentContext,
|
|
29
29
|
summarizeTranscript
|
|
30
|
-
} from "./cli-
|
|
30
|
+
} from "./cli-prz1p3ft.js";
|
|
31
31
|
import {
|
|
32
32
|
applyReasoningEffort
|
|
33
33
|
} from "./cli-ywy8yz6t.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveOpencodeSdkSpecifier
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-1jq2em7b.js";
|
|
37
37
|
import {
|
|
38
38
|
fetchInstalledMcpServers
|
|
39
39
|
} from "./cli-5y2fvw4z.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
openAICompatibleKeyLabels,
|
|
56
56
|
validateOpencodeCredentials,
|
|
57
57
|
init_credentials2
|
|
58
|
-
} from "./cli-
|
|
58
|
+
} from "./cli-x2adbg4j.js";
|
|
59
59
|
import {
|
|
60
60
|
DEFAULT_OPENROUTER_BASE_URL,
|
|
61
61
|
getOpenRouterBaseUrl,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
getSwarmConfigs2,
|
|
17
17
|
upsertSwarmConfig2,
|
|
18
18
|
init_db4
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-zzq96q57.js";
|
|
20
20
|
import {
|
|
21
21
|
createRuntimeProvider,
|
|
22
22
|
init_runtime_providers
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-n79j1vxc.js";
|
|
24
24
|
import {
|
|
25
25
|
poolCacheKey,
|
|
26
26
|
init_types4
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
init_session_token_connections,
|
|
31
31
|
insertSessionToken,
|
|
32
32
|
init_users
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-avax5mp9.js";
|
|
34
34
|
import {
|
|
35
35
|
RuntimeControllerCreateSchema,
|
|
36
36
|
RuntimeControllerUpdateSchema,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
RuntimePoolUpdateSchema,
|
|
39
39
|
RuntimePoolCreateAgentSchema,
|
|
40
40
|
init_types5
|
|
41
|
-
} from "./cli-
|
|
41
|
+
} from "./cli-7r9tvk8v.js";
|
|
42
42
|
import {
|
|
43
43
|
scrubSecrets,
|
|
44
44
|
registerVolatileSecret,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
SteeringBlockedError,
|
|
15
15
|
init_steering2,
|
|
16
16
|
init_db4
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-zzq96q57.js";
|
|
18
18
|
import {
|
|
19
19
|
isBlockExternalEnabled2,
|
|
20
20
|
invalidateChannelExternality2,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
shouldBlockChannel2,
|
|
23
23
|
leaveExternalChannel2,
|
|
24
24
|
init_external_channel
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-5n9w2xzx.js";
|
|
26
26
|
import {
|
|
27
27
|
workflowEventBus2,
|
|
28
28
|
init_event_bus
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
init_render_v2,
|
|
43
43
|
registerTreeMessage,
|
|
44
44
|
init_watcher
|
|
45
|
-
} from "./cli-
|
|
45
|
+
} from "./cli-zbbtp02a.js";
|
|
46
46
|
import {
|
|
47
47
|
dispatchPre2,
|
|
48
48
|
init_dispatcher,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
slackInboundMessageText,
|
|
61
61
|
collectSlackMessageFiles,
|
|
62
62
|
init_message_text
|
|
63
|
-
} from "./cli-
|
|
63
|
+
} from "./cli-wzecestt.js";
|
|
64
64
|
import {
|
|
65
65
|
requestSlackThreadSteering,
|
|
66
66
|
formatSlackSteeringAck,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
getBufferMessageCount2,
|
|
72
72
|
instantFlush2,
|
|
73
73
|
init_thread_buffer
|
|
74
|
-
} from "./cli-
|
|
74
|
+
} from "./cli-ryem5cfq.js";
|
|
75
75
|
import {
|
|
76
76
|
wasEventSeen,
|
|
77
77
|
init_event_dedup
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
getSlackUserTeam,
|
|
83
83
|
isOurSlackTeam,
|
|
84
84
|
init_enrich
|
|
85
|
-
} from "./cli-
|
|
85
|
+
} from "./cli-m8f4379k.js";
|
|
86
86
|
import {
|
|
87
87
|
isSlackLeaveThreadDisabled,
|
|
88
88
|
SLACK_LEFT_THREAD_CONFIRMATION,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
leaveSlackThread,
|
|
91
91
|
shouldSkipLeftSlackThread,
|
|
92
92
|
init_left_threads
|
|
93
|
-
} from "./cli-
|
|
93
|
+
} from "./cli-r3dxpmyt.js";
|
|
94
94
|
import {
|
|
95
95
|
init_zod
|
|
96
96
|
} from "./cli-96234j5w.js";
|
|
@@ -91,6 +91,11 @@ function buildAgentFsLiveUrl(opts) {
|
|
|
91
91
|
const live = getAgentFsLiveUrl();
|
|
92
92
|
return route ? `${live}/file/~/${route}${agentFsFileLinkQuery(live)}` : null;
|
|
93
93
|
}
|
|
94
|
+
function buildAgentFsFileLink(opts) {
|
|
95
|
+
const route = agentFsFileRoute(opts);
|
|
96
|
+
const base = resolveAgentFsLinkBase("attachment");
|
|
97
|
+
return route ? `${base}/file/~/${route}${agentFsFileLinkQuery(base)}` : null;
|
|
98
|
+
}
|
|
94
99
|
function getCombState() {
|
|
95
100
|
const apiUrl = process.env.AGENT_FS_API_URL?.trim().replace(/\/+$/, "");
|
|
96
101
|
const explicit = isCombFlagExplicit();
|
|
@@ -129,4 +134,4 @@ var init_constants3 = __esm(() => {
|
|
|
129
134
|
DOT_SEGMENT_RE = /^(?:\.|%2e){1,2}$/i;
|
|
130
135
|
});
|
|
131
136
|
|
|
132
|
-
export { MAX_PROFILE_FILE_LENGTH, DEFAULT_APP_URL, getConfiguredAppUrls, getAppUrl, getLocalDevAppOrigins, getMcpBaseUrl, getPublicMcpBaseUrl, getAgentFsLiveUrl, resolveAgentFsLinkBase, agentFsFileLinkQuery, getAgentFsDefaultOrgId, getAgentFsDefaultDriveId, agentFsFileRoute, buildAgentFsLiveUrl, getCombState, isCombEnabled, isAgentFsProxyEnabled, init_constants3 };
|
|
137
|
+
export { MAX_PROFILE_FILE_LENGTH, DEFAULT_APP_URL, getConfiguredAppUrls, getAppUrl, getLocalDevAppOrigins, getMcpBaseUrl, getPublicMcpBaseUrl, getAgentFsLiveUrl, resolveAgentFsLinkBase, agentFsFileLinkQuery, getAgentFsDefaultOrgId, getAgentFsDefaultDriveId, agentFsFileRoute, buildAgentFsLiveUrl, buildAgentFsFileLink, getCombState, isCombEnabled, isAgentFsProxyEnabled, init_constants3 };
|
|
@@ -7,7 +7,7 @@ var package_default;
|
|
|
7
7
|
var init_package = __esm(() => {
|
|
8
8
|
package_default = {
|
|
9
9
|
name: "@desplega.ai/agent-swarm",
|
|
10
|
-
version: "2.13.
|
|
10
|
+
version: "2.13.5",
|
|
11
11
|
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.",
|
|
12
12
|
keywords: [
|
|
13
13
|
"agent-swarm.dev",
|
|
@@ -216,8 +216,8 @@ var init_package = __esm(() => {
|
|
|
216
216
|
dependencies: {
|
|
217
217
|
"@agentclientprotocol/sdk": "2.7.0",
|
|
218
218
|
"@ai-sdk/openai": "^3.0.41",
|
|
219
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
220
|
-
"@anthropic-ai/sdk": "^1.
|
|
219
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.326",
|
|
220
|
+
"@anthropic-ai/sdk": "^1.9.0",
|
|
221
221
|
"@asteasolutions/zod-to-openapi": "^8.0.0",
|
|
222
222
|
"@aws-sdk/client-bedrock": "3.1048.0",
|
|
223
223
|
"@boxd-sh/sdk": "0.2.20",
|
|
@@ -227,7 +227,7 @@ var init_package = __esm(() => {
|
|
|
227
227
|
"@chat-adapter/teams": "4.45.0",
|
|
228
228
|
"@chat-adapter/telegram": "4.45.0",
|
|
229
229
|
"@cursor/sdk": "1.4.0",
|
|
230
|
-
"@desplega.ai/agent-fs-just-bash": "0.18.
|
|
230
|
+
"@desplega.ai/agent-fs-just-bash": "0.18.33",
|
|
231
231
|
"@desplega.ai/business-use": "^0.4.2",
|
|
232
232
|
"@earendil-works/pi-agent-core": "^1.5.2",
|
|
233
233
|
"@earendil-works/pi-ai": "^1.5.2",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDbClient2,
|
|
3
3
|
init_db4
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-zzq96q57.js";
|
|
5
5
|
import {
|
|
6
6
|
agentFsClientFor,
|
|
7
7
|
init_agent_fs_identity
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-zxa1vmx7.js";
|
|
9
9
|
import {
|
|
10
10
|
FilesError,
|
|
11
11
|
normalizeStoredKey,
|
|
@@ -26,9 +26,9 @@ import {
|
|
|
26
26
|
literal2
|
|
27
27
|
} from "./cli-qrzq3hvg.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
buildAgentFsFileLink,
|
|
30
30
|
init_constants3
|
|
31
|
-
} from "./cli-
|
|
31
|
+
} from "./cli-grbngev5.js";
|
|
32
32
|
import {
|
|
33
33
|
scrubSecrets,
|
|
34
34
|
init_secret_scrubber
|
|
@@ -307,7 +307,7 @@ async function createObject(input) {
|
|
|
307
307
|
return withLink(row);
|
|
308
308
|
}
|
|
309
309
|
function watchDrive(orgId, driveId) {
|
|
310
|
-
import("./object-webhooks-
|
|
310
|
+
import("./object-webhooks-331hay92.js").then(({ ensureObjectWebhook }) => ensureObjectWebhook(orgId, driveId)).catch(() => {
|
|
311
311
|
return;
|
|
312
312
|
});
|
|
313
313
|
}
|
|
@@ -626,7 +626,7 @@ async function applyFileChange(change, reader) {
|
|
|
626
626
|
return { action, path, id };
|
|
627
627
|
return { action: "tombstoned", path, id, reason: "the file was deleted while it was saved" };
|
|
628
628
|
}
|
|
629
|
-
var swarmBlock = (json) => json.swarm && typeof json.swarm === "object" ? json.swarm : {}, PRIMITIVE_KINDS, PRIMITIVE_KIND_NAMES, ObjectsError, NO_AGENT_FS_IDENTITY = "agent-fs is not configured for this agent: objects need the agent's own AGENT_FS_API_KEY (agent-scoped config) plus AGENT_FS_API_URL, AGENT_FS_DEFAULT_ORG_ID and AGENT_FS_DEFAULT_DRIVE_ID", MAX_LIST_LIMIT = 200, MAX_REINDEX_FILES = 500, MAX_REINDEX_READS = 50, MAX_REINDEX_MS = 20000, MAX_REINDEX_BYTES, REINDEX_LIMITS, reindexing, withLink = (row) => ({ ...row, link:
|
|
629
|
+
var swarmBlock = (json) => json.swarm && typeof json.swarm === "object" ? json.swarm : {}, PRIMITIVE_KINDS, PRIMITIVE_KIND_NAMES, ObjectsError, NO_AGENT_FS_IDENTITY = "agent-fs is not configured for this agent: objects need the agent's own AGENT_FS_API_KEY (agent-scoped config) plus AGENT_FS_API_URL, AGENT_FS_DEFAULT_ORG_ID and AGENT_FS_DEFAULT_DRIVE_ID", MAX_LIST_LIMIT = 200, MAX_REINDEX_FILES = 500, MAX_REINDEX_READS = 50, MAX_REINDEX_MS = 20000, MAX_REINDEX_BYTES, REINDEX_LIMITS, reindexing, withLink = (row) => ({ ...row, link: buildAgentFsFileLink(row) }), versionOf = (value) => value && Number.isFinite(Number(value)) ? Number(value) : null;
|
|
630
630
|
var init_objects = __esm(() => {
|
|
631
631
|
init_provider();
|
|
632
632
|
init_constants3();
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
publicEndpointSsrfOptions,
|
|
7
7
|
init_mcp_wrapper
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-b9ygp1kz.js";
|
|
9
9
|
import {
|
|
10
10
|
assertUrlSafe
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-zzq96q57.js";
|
|
12
12
|
import {
|
|
13
13
|
getRouteProvider,
|
|
14
14
|
createScopedFetch,
|
|
15
15
|
deriveDefaultRoute,
|
|
16
16
|
init_src
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-x2adbg4j.js";
|
|
18
18
|
import {
|
|
19
19
|
getOpenRouterBaseUrl,
|
|
20
20
|
getOpenRouterAttributionHeaders,
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
getKv2,
|
|
3
3
|
upsertKv2,
|
|
4
4
|
init_db4
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-zzq96q57.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveIdentity,
|
|
8
8
|
init_identity,
|
|
9
9
|
recordUnmappedIdentity,
|
|
10
10
|
init_unmapped_identities
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-wzecestt.js";
|
|
12
12
|
import {
|
|
13
13
|
findUserByExternalId,
|
|
14
14
|
findUserByEmail,
|
|
15
15
|
findOrCreateUserByEmail,
|
|
16
16
|
linkIdentity,
|
|
17
17
|
init_users
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-avax5mp9.js";
|
|
19
19
|
import {
|
|
20
20
|
__esm
|
|
21
21
|
} from "./cli-242037k3.js";
|
|
@@ -17,11 +17,11 @@ async function createRuntimeProvider(kind, target = {}) {
|
|
|
17
17
|
return new DockerRuntimeProvider;
|
|
18
18
|
}
|
|
19
19
|
case "e2b": {
|
|
20
|
-
const { E2BRuntimeProvider } = await import("./e2b-
|
|
20
|
+
const { E2BRuntimeProvider } = await import("./e2b-qnxyfea6.js");
|
|
21
21
|
return new E2BRuntimeProvider(target);
|
|
22
22
|
}
|
|
23
23
|
case "boxd": {
|
|
24
|
-
const { BoxdRuntimeProvider } = await import("./boxd-
|
|
24
|
+
const { BoxdRuntimeProvider } = await import("./boxd-y0szhp0g.js");
|
|
25
25
|
return new BoxdRuntimeProvider;
|
|
26
26
|
}
|
|
27
27
|
case "k8s": {
|
|
@@ -436,6 +436,7 @@ agent-fs is the shared drive between agents and people. Deliver results as files
|
|
|
436
436
|
Use-case results go under the task's asset key (\`key\` in \`get-task-details\`) in the shared drive. The drive path equals the key string, for example \`shared/<slug>/report-<YYYY-MM-DD>.md\`. Later runs read the earlier reports in that folder and compare.
|
|
437
437
|
Pages: make a Page only when the requester asks for one; see \`pages\` skill.
|
|
438
438
|
A tool a person will use, with data and actions: build an app. See the \`apps\` skill.
|
|
439
|
+
A tracker or grid people keep editing: a sheet. A plan, diagram or map to think through: a board. See the \`boards-and-sheets\` skill.
|
|
439
440
|
Link env: \`APP_URL\` for pages, \`MCP_BASE_URL\` for the API. Report missing variables.
|
|
440
441
|
Link files as \`{{fileLinkBase}}/file/~/<org>/<drive>/<path>{{fileLinkQuery}}\`. Make an \`agent-fs share-create\` link only when the requester asks for one or the reader has no agent-fs login.
|
|
441
442
|
`,
|
|
@@ -8,7 +8,7 @@ import * as crypto3 from "node:crypto";
|
|
|
8
8
|
import * as fs3 from "node:fs";
|
|
9
9
|
import * as path3 from "node:path";
|
|
10
10
|
import * as stream4 from "node:stream";
|
|
11
|
-
import * as
|
|
11
|
+
import * as util2 from "node:util";
|
|
12
12
|
var init_node2 = () => {};
|
|
13
13
|
|
|
14
|
-
export { child_process3, crypto3, fs3, path3, stream4,
|
|
14
|
+
export { child_process3, crypto3, fs3, path3, stream4, util2, init_node2 };
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./cli-0726awxw.js";
|
|
12
12
|
import {
|
|
13
13
|
summarizeSession
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-srre41gb.js";
|
|
15
15
|
import {
|
|
16
16
|
getMemoryRaterNames,
|
|
17
17
|
init_memory_raters,
|
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
readIdentityBaselines,
|
|
27
27
|
advanceIdentityBaselines,
|
|
28
28
|
init_profile_sync
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-19d6v8er.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveTemplateFromCode,
|
|
32
32
|
resolveTemplateAsync,
|
|
33
33
|
init_resolver,
|
|
34
34
|
init_session_templates
|
|
35
|
-
} from "./cli-
|
|
35
|
+
} from "./cli-nrt048ys.js";
|
|
36
36
|
import {
|
|
37
37
|
getOpenRouterAttributionHeaders,
|
|
38
38
|
init_openrouter_base_url
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
contextBoundNoteThreshold,
|
|
3
3
|
createContextBoundNote
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-zntvmqmm.js";
|
|
5
5
|
import {
|
|
6
6
|
applyReasoningEffort
|
|
7
7
|
} from "./cli-ywy8yz6t.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
ampBillsCacheWrites,
|
|
32
32
|
resolveAmpModel,
|
|
33
33
|
init_amp_models
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-htb5bpz2.js";
|
|
35
35
|
import {
|
|
36
36
|
scrubSecrets,
|
|
37
37
|
registerVolatileSecret,
|
|
@@ -48,7 +48,7 @@ init_context_window();
|
|
|
48
48
|
init_multi_runtime2();
|
|
49
49
|
init_process_group();
|
|
50
50
|
init_secret_scrubber();
|
|
51
|
-
var AMP_PACKAGE = "@ampcode/cli@0.0.
|
|
51
|
+
var AMP_PACKAGE = "@ampcode/cli@0.0.1794916837-g564d50";
|
|
52
52
|
var AMP_MCP_SERVER_NAME = "agent-swarm";
|
|
53
53
|
var AMP_PLUGIN_MODE_KEY = "agent-swarm";
|
|
54
54
|
var AMP_LIVE_TEST_TIMEOUT_MS = 5000;
|