@desplega.ai/agent-swarm 2.14.0 → 2.14.2
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-q1vz4hh2.js +17 -0
- package/dist/{acp-targets-23exz4z4.js → acp-targets-d44eerh4.js} +10 -10
- package/dist/{actions-zcr25x27.js → actions-z4k4bvss.js} +28 -28
- package/dist/{agent-fs-provision-7fa9e12e.js → agent-fs-provision-aan1cgpx.js} +4 -4
- package/dist/{amp-adapter-s7ytmv6b.js → amp-adapter-wac3py0p.js} +3 -3
- package/dist/{anthropic-messages-vdd1zmha.js → anthropic-messages-njt2r5m4.js} +28 -27
- package/dist/{app-5d3sz1hy.js → app-wax6qz5e.js} +10 -10
- package/dist/{approval-notifications-7qgkzkzx.js → approval-notifications-6fvkhnma.js} +11 -11
- package/dist/{assistant-p2yvhc3j.js → assistant-e8fe08zx.js} +29 -29
- package/dist/{azure-openai-responses-jeaas6x0.js → azure-openai-responses-6ewf9rwp.js} +6 -6
- package/dist/{boot-args-schema-ry6cb0p7.js → boot-args-schema-rv97cmnt.js} +1 -1
- package/dist/{boot-reembed-c9643ms3.js → boot-reembed-bcn7frk9.js} +1 -1
- package/dist/{boot-reembed-2hkm3vz2.js → boot-reembed-xakrdy6y.js} +1 -1
- package/dist/{boot-scrub-sweep-3ycxr51t.js → boot-scrub-sweep-20t8akhf.js} +2 -2
- package/dist/{boot-seeds-2hzvvzg0.js → boot-seeds-48rr6r29.js} +4 -4
- package/dist/{boxd-9py3x0jb.js → boxd-tjpxwecx.js} +3 -3
- package/dist/{claude-adapter-dnkww93e.js → claude-adapter-0wzwntrj.js} +12 -13
- package/dist/{claude-managed-adapter-yk0cr5x6.js → claude-managed-adapter-4xcgt46w.js} +4 -4
- package/dist/{claude-managed-setup-4byxpp47.js → claude-managed-setup-91cyktw7.js} +7 -7
- package/dist/{claude-sdk-session-4wf3dbvs.js → claude-sdk-session-ngj4dce5.js} +11144 -12464
- package/dist/{cli-gcyws2bp.js → cli-021hrewp.js} +2 -2
- package/dist/{cli-wvgg7r4j.js → cli-08gfvs58.js} +2 -2
- package/dist/{cli-2zjxake1.js → cli-0kyjrbaa.js} +4 -4
- package/dist/{cli-rp1n2xpd.js → cli-0nvqg1hb.js} +1 -1
- package/dist/{cli-vxmmttmt.js → cli-0nz04gqv.js} +50 -50
- package/dist/{cli-vr4eyq6p.js → cli-0rrft7s3.js} +538 -410
- package/dist/{cli-mw1tmn3x.js → cli-1d9q7qrn.js} +7 -7
- package/dist/{cli-84xn7bgz.js → cli-1t5vhrpv.js} +1 -1
- package/dist/{cli-hzhv7yac.js → cli-1zbj28py.js} +1 -1
- package/dist/{cli-z8t4485r.js → cli-2ja7eadd.js} +2 -2
- package/dist/{cli-r04ve9xw.js → cli-2r62jy9s.js} +1 -1
- package/dist/{cli-9fwznq4p.js → cli-3ffzr65w.js} +7 -7
- package/dist/{cli-2ckwgs7q.js → cli-3kdgm393.js} +5 -5
- package/dist/{cli-jwnac23b.js → cli-3vc518cw.js} +1 -1
- package/dist/{cli-6p8p2e6r.js → cli-5188hq0a.js} +1286 -31
- package/dist/{cli-zcghfsdg.js → cli-53gt8wfv.js} +1 -1
- package/dist/{cli-930zbczq.js → cli-5njmmmer.js} +3 -3
- package/dist/{cli-dw9rtjm3.js → cli-5rw7nt99.js} +3061 -727
- package/dist/{cli-6c61yjwy.js → cli-5xx353cy.js} +7554 -1534
- package/dist/{cli-2ap1the6.js → cli-65k149j5.js} +2 -2
- package/dist/{cli-v41kn3cd.js → cli-6prwz0zn.js} +4427 -5566
- package/dist/{cli-yd7e590v.js → cli-6zpn5hmp.js} +12 -12
- package/dist/{cli-ty3gha1p.js → cli-7b9bwrfg.js} +2 -2
- package/dist/{cli-2414h5r9.js → cli-7dpdq7yh.js} +11428 -1914
- package/dist/{cli-r9d2tya0.js → cli-7qkbab03.js} +5 -5
- package/dist/{cli-7ca8hczj.js → cli-7svwhw1a.js} +1 -1
- package/dist/cli-7wwewkf4.js +37 -0
- package/dist/{cli-ejnhs815.js → cli-83hynhes.js} +17 -13
- package/dist/{cli-rs1rzwp4.js → cli-8crn0510.js} +1 -1
- package/dist/{cli-f2rwt43y.js → cli-8ee7xt75.js} +13 -13
- package/dist/{cli-9j47sgzy.js → cli-8ef94zm2.js} +2 -2
- package/dist/{cli-9fvk9mv8.js → cli-8gr1bg9t.js} +1 -1
- package/dist/{cli-b0m3bg0f.js → cli-9j1qcs0b.js} +1 -1
- package/dist/{cli-ad00h1st.js → cli-9mvfvggt.js} +7 -7
- package/dist/{cli-xh5fpmg8.js → cli-9txap41q.js} +101 -18
- package/dist/{cli-24wervhz.js → cli-aktk3qt6.js} +3 -3
- package/dist/{cli-6ajyhxh7.js → cli-an8bpy60.js} +2 -2
- package/dist/{cli-meydjstb.js → cli-azptj8xe.js} +5591 -69
- package/dist/cli-c0rt16vk.js +15 -0
- package/dist/{cli-w4bvtxet.js → cli-c6vhcknq.js} +7 -7
- package/dist/{cli-2savn6mm.js → cli-cczffwak.js} +7 -7
- package/dist/{cli-ze1ndjs4.js → cli-cgmka83w.js} +3 -3
- package/dist/{cli-kc7vd07m.js → cli-d13qgcct.js} +3699 -1733
- package/dist/{cli-k3facve0.js → cli-d5nvy1jy.js} +1 -1
- package/dist/{cli-edxfzgah.js → cli-dev6f0px.js} +4 -4
- package/dist/{cli-0e914dp9.js → cli-dzhht0vq.js} +3 -3
- package/dist/{cli-m0ea8ggd.js → cli-e13kbyq0.js} +2 -2
- package/dist/{cli-73rmgm45.js → cli-e2k0ej0d.js} +2 -2
- package/dist/cli-ek8b88kv.js +9740 -0
- package/dist/{cli-0k7ppk9k.js → cli-ertcjw6z.js} +281 -46
- package/dist/{cli-qrwjk4xy.js → cli-f3ta4e67.js} +5 -5
- package/dist/{cli-1nfabrt4.js → cli-f4xv7s0t.js} +7 -7
- package/dist/{cli-phe2vcw5.js → cli-fdam1t9b.js} +171 -104
- package/dist/{cli-gc6b94tj.js → cli-fe8he9cy.js} +2 -2
- package/dist/{cli-spfz393q.js → cli-feh37wgs.js} +598 -219
- package/dist/{cli-ebqx630g.js → cli-fjzjtqna.js} +35 -18
- package/dist/{cli-37p61fcg.js → cli-fs9t2m2k.js} +18 -20
- package/dist/{cli-7w1fs01q.js → cli-g03x26q6.js} +2 -2
- package/dist/{cli-879txsac.js → cli-gnkzh8ed.js} +4 -4
- package/dist/{cli-v4z5v3jd.js → cli-gy0r7gb8.js} +514 -337
- package/dist/{cli-s4pccby1.js → cli-h0edykd1.js} +1 -1
- package/dist/{cli-pq0kv31y.js → cli-h364asjc.js} +9 -9
- package/dist/{cli-69szn7w7.js → cli-h3xcfp4c.js} +93 -54
- package/dist/{cli-jcnc5ret.js → cli-h8k5801a.js} +73 -27
- package/dist/{cli-6yy4fepf.js → cli-h96yp7xv.js} +4 -4
- package/dist/{cli-q5n3deaf.js → cli-hab0bvrh.js} +1 -1
- package/dist/{cli-g6a696c0.js → cli-j3wqt73b.js} +4 -4
- package/dist/{cli-wym6rxgt.js → cli-jfgaz10x.js} +10 -15
- package/dist/{cli-shyhb4t5.js → cli-jrhvywah.js} +53 -52
- package/dist/{cli-qkbevqer.js → cli-jrxt5j0n.js} +3 -3
- package/dist/{cli-7b7rxz22.js → cli-jw7n9pct.js} +5 -2
- package/dist/{cli-8vbxjzk0.js → cli-k9kfck3s.js} +3 -3
- package/dist/{cli-yjb3cddd.js → cli-kkwq5b12.js} +1 -1
- package/dist/{cli-39t9d248.js → cli-kz8rar0g.js} +1 -1
- package/dist/{cli-rzbsh6bw.js → cli-n15fhd43.js} +1 -1
- package/dist/{cli-1jx0srjt.js → cli-nc842kc9.js} +1921 -80
- package/dist/{cli-9j1t3kf6.js → cli-nmj4phcg.js} +2 -2
- package/dist/{cli-t9pzz2eq.js → cli-ntmjzyte.js} +4 -1
- package/dist/{cli-adzmmcvf.js → cli-praaw1wh.js} +2 -2
- package/dist/{cli-f9g96z28.js → cli-q44p4869.js} +11 -11
- package/dist/{cli-fww016hh.js → cli-q58qt9dw.js} +1711 -7287
- package/dist/{cli-njvpngc6.js → cli-qqz5z36e.js} +3 -3
- package/dist/{cli-096aftq6.js → cli-r7rpy2xz.js} +7 -7
- package/dist/cli-rcqgr0hs.js +30 -0
- package/dist/{cli-ph95yejc.js → cli-rjc464jg.js} +2 -2
- package/dist/{cli-md4tn21h.js → cli-rw3m83j4.js} +40 -26
- package/dist/cli-rwcj6wt3.js +1291 -0
- package/dist/{cli-srq69pn1.js → cli-ryn4y478.js} +1 -1
- package/dist/{cli-jgq9xptq.js → cli-s48k2rzx.js} +4 -4
- package/dist/{cli-cbg0j1yt.js → cli-s90wcbk9.js} +3 -3
- package/dist/{cli-2ayk9gn8.js → cli-svcy72s5.js} +2 -2
- package/dist/{cli-4dyzzkfb.js → cli-swtwbg85.js} +944 -170
- package/dist/{cli-mv8ft7b0.js → cli-t1bqpzgz.js} +3 -3
- package/dist/{cli-tc165vrb.js → cli-t5jbjq61.js} +4 -3
- package/dist/{cli-enavhq6r.js → cli-tbrjvrrg.js} +1 -1
- package/dist/{cli-mz7ycqn8.js → cli-td2h8zej.js} +6 -6
- package/dist/{cli-9t7syepg.js → cli-ttatvwn6.js} +1 -1
- package/dist/{cli-ayxxkk3p.js → cli-txxcf9s1.js} +8 -8
- package/dist/{cli-q4z9s6zs.js → cli-v7az4d1g.js} +2 -2
- package/dist/cli-vqt44168.js +14 -0
- package/dist/{cli-q457ga28.js → cli-vs9h3vw2.js} +14 -14
- package/dist/{cli-snxhtehz.js → cli-w2fg8kjc.js} +7 -8
- package/dist/{cli-wd7b5hgc.js → cli-w81s97bn.js} +1 -1
- package/dist/{cli-bqfx72e6.js → cli-wkzrknpt.js} +1 -1
- package/dist/{cli-cg1q8ymp.js → cli-wqpvfq2m.js} +1 -1
- package/dist/{cli-kg63yp1r.js → cli-wz7qj1jy.js} +19 -19
- package/dist/{cli-3wsabyt0.js → cli-x5t54ytt.js} +2 -2
- package/dist/{cli-r495stwd.js → cli-xd6ntv7x.js} +2 -2
- package/dist/{cli-wvbaq052.js → cli-xphbv66z.js} +10 -3
- package/dist/{cli-a49frv85.js → cli-xxgqn93n.js} +3753 -1186
- package/dist/{cli-91amj3md.js → cli-z209g721.js} +111 -87
- package/dist/{cli-3mhdmcd4.js → cli-z5andw8k.js} +1 -1
- package/dist/{cli-7g5qj2ca.js → cli-zcb64xzv.js} +1 -1
- package/dist/{cli-0h6m6z5g.js → cli-zr2sc5tr.js} +1 -1
- package/dist/{cli-krk8y8c7.js → cli-zrm0610v.js} +1833 -518
- package/dist/cli.js +73 -73
- package/dist/{cloudflare-workers-ai-system-one-w3m0fbf8.js → cloudflare-workers-ai-system-one-kb0tq22h.js} +2 -2
- package/dist/{codex-adapter-eq61radw.js → codex-adapter-0c1ynrmt.js} +9 -9
- package/dist/{codex-hook-8nmepvz6.js → codex-hook-w5nmtrn2.js} +2 -2
- package/dist/{codex-login-vbd9707w.js → codex-login-67qarfcg.js} +1 -1
- package/dist/{codex-session-runner-rfx355h4.js → codex-session-runner-z4t9z7yy.js} +10 -10
- package/dist/{commands-d1z0sx62.js → commands-h0jxqdhk.js} +3 -3
- package/dist/{controller-9hz6d8x3.js → controller-4ygy66hv.js} +4 -4
- package/dist/{controllers-connect-tz07d2xr.js → controllers-connect-ynbvv8pv.js} +28 -28
- package/dist/core-mj9fzrcm.js +41 -0
- package/dist/{cursor-adapter-ef22ze3j.js → cursor-adapter-9e4d6658.js} +2 -2
- package/dist/{db-gd81d68c.js → db-bg0hxjq1.js} +3 -3
- package/dist/{db-vrckks6q.js → db-q12gmpns.js} +2 -2
- package/dist/{devin-adapter-kdt6a2bh.js → devin-adapter-tn1twrha.js} +1 -1
- package/dist/{devtools-qxfgbsqz.js → devtools-t8my9az6.js} +1 -1
- package/dist/{dispatcher-76as8w2t.js → dispatcher-v5dbfscq.js} +24 -24
- package/dist/{docker-51ta7jsh.js → docker-6007r2fj.js} +2 -2
- package/dist/{dsh-adapter-ypfvcdyz.js → dsh-adapter-z3fneea1.js} +2 -2
- package/dist/{e2b-05kn3kpq.js → e2b-k3kb8b52.js} +4 -4
- package/dist/{e2b-dm9r8hpy.js → e2b-p269awh6.js} +5 -5
- package/dist/{easter-egg-3d-sg21j15g.js → easter-egg-3d-y49v5z90.js} +1 -1
- package/dist/{embedding-space-zsdw37bb.js → embedding-space-mjt5ksq0.js} +5 -5
- package/dist/{embeddings-p4e3e1m6.js → embeddings-td9hgnc5.js} +1 -1
- package/dist/emscripten-module-Q67P5WYC-3sde6cre.js +2458 -0
- package/dist/{event-bus-tvf2grf4.js → event-bus-pawddp92.js} +1 -1
- package/dist/{execute-nztd0af0.js → execute-z8nc8bba.js} +1 -1
- package/dist/{external-channel-717yzn4d.js → external-channel-pjenc2ag.js} +2 -2
- package/dist/ffi-cbfmmtqk.js +85 -0
- package/dist/fx-adapter-pjeztp0n.js +20 -0
- package/dist/getMachineId-bsd-hjs2tbdp.js +36 -0
- package/dist/getMachineId-darwin-kzbvr8s3.js +40 -0
- package/dist/getMachineId-linux-embmcq2c.js +26 -0
- package/dist/getMachineId-unsupported-jvznc6d4.js +20 -0
- package/dist/getMachineId-win-qr8z0b13.js +36 -0
- package/dist/{google-generative-ai-sw77egmr.js → google-generative-ai-tf3w7557.js} +11 -16
- package/dist/{google-vertex-rrw93g8h.js → google-vertex-9pj87bd8.js} +15 -17
- package/dist/grok-adapter-davbhx8t.js +20 -0
- package/dist/handlers-rf130hnp.js +39 -0
- package/dist/heartbeat-9hmvqxk0.js +49 -0
- package/dist/hook-0b1jqs2t.js +21 -0
- package/dist/{hook-ctz0xmp3.js → hook-1n0sjv8p.js} +10 -11
- package/dist/{http-zregegrx.js → http-vykejyjx.js} +432 -170
- package/dist/{index-7dgxveck.js → index-07d66kdm.js} +3 -3
- package/dist/index-0hgjxqz8.js +10584 -0
- package/dist/{index-rz8ve510.js → index-0nt39qwy.js} +2 -2
- package/dist/{index-ym9fgxad.js → index-2xbxq71g.js} +2 -2
- package/dist/{index-42jq9yy3.js → index-3j8hffkb.js} +12327 -7450
- package/dist/index-8w09aggw.js +43 -0
- package/dist/{index-5kx15d19.js → index-b3wy4jzs.js} +1 -1
- package/dist/{index-kzdqn3dd.js → index-dt9vr7tb.js} +3143 -760
- package/dist/{index-maddg9ys.js → index-ezfas4jj.js} +5858 -15337
- package/dist/index-g2jntx15.js +38 -0
- package/dist/{index-x9qf8dg7.js → index-j6sqtb83.js} +105 -75
- package/dist/{index-m6g8q65g.js → index-na0tczq0.js} +9268 -10220
- package/dist/{index-whysn1wf.js → index-p9dkwhwe.js} +1 -1
- package/dist/{index-126v2d0t.js → index-pe2etczf.js} +6 -2918
- package/dist/{index-mtnbhe12.js → index-q60mhcpd.js} +23631 -19921
- package/dist/index-qffex5k4.js +41 -0
- package/dist/index-qrp11tp9.js +4 -0
- package/dist/{index-kdmkfjt7.js → index-ryyrg0d8.js} +3426 -2333
- package/dist/{index-t17p395x.js → index-sf06w57a.js} +13 -13
- package/dist/{index-evay0xyk.js → index-vybnwd5v.js} +1 -1
- package/dist/{index-fdym6ryb.js → index-wsf1f5pe.js} +28 -28
- package/dist/{k8s-ejkk0aw7.js → k8s-mr1r12th.js} +2 -2
- package/dist/{keepalive-zdqay870.js → keepalive-86z0tzzf.js} +4 -4
- package/dist/lead-edmwagkn.js +81 -0
- package/dist/{llama-cpp-classify-yvb8vh7w.js → llama-cpp-classify-wd7htn1x.js} +2 -2
- package/dist/{maintenance-t5ndg11m.js → maintenance-19h6tfwz.js} +1 -1
- package/dist/{mistral-conversations-w4bncwbt.js → mistral-conversations-txjmc64f.js} +7 -7
- package/dist/module-ES6BEMUI-44w9s1dx.js +1210 -0
- package/dist/{multipart-parser-xevcstye.js → multipart-parser-xqbgwrav.js} +1 -1
- package/dist/{node-0as4n1ef.js → node-q4628t0b.js} +1 -1
- package/dist/{oauth-refresh-sweep-y9zyd7t6.js → oauth-refresh-sweep-6nmyrv32.js} +3 -3
- package/dist/{object-webhooks-mkca91s0.js → object-webhooks-2kynmdf8.js} +7 -7
- package/dist/{onboard-ss995244.js → onboard-zbpm96mn.js} +7 -7
- package/dist/{openai-codex-responses-70g39cgz.js → openai-codex-responses-6ckhys6r.js} +35 -29
- package/dist/{openai-completions-cv3hp4h5.js → openai-completions-c9dsq9jh.js} +15 -15
- package/dist/{openai-decisions-fyq1p9f9.js → openai-decisions-9vzvv10c.js} +2 -2
- package/dist/{openai-responses-trsvnks6.js → openai-responses-bhfmt9sa.js} +6 -6
- package/dist/{opencode-adapter-mwpz0278.js → opencode-adapter-fyqcbdra.js} +8 -8
- package/dist/{openrouter-images-0jj12a2q.js → openrouter-images-hkk5p580.js} +3 -3
- package/dist/otel-impl-txa20w1h.js +11178 -0
- package/dist/{pending-2sxh1t6j.js → pending-4rxawq8y.js} +25 -25
- package/dist/{pi-messages-zk3g4esn.js → pi-messages-py3f96p7.js} +5 -5
- package/dist/{pi-mono-adapter-sfb7zy43.js → pi-mono-adapter-rnsed1xa.js} +24 -27
- package/dist/{pricing-refresh-h79bg4cf.js → pricing-refresh-4314hwtw.js} +2 -2
- package/dist/{rbac-roles-ckq0czp4.js → rbac-roles-fztcm8ky.js} +2 -2
- package/dist/{rbac-roles-jg2e260w.js → rbac-roles-msqt7a3k.js} +3 -3
- package/dist/{render-v2-ymbshmn0.js → render-v2-w49wtecg.js} +10 -10
- package/dist/{resume-jdhnt4jk.js → resume-gwgtp4m3.js} +13 -13
- package/dist/{runtime-y28jhhnf.js → runtime-kkebz8yq.js} +1 -1
- package/dist/{session-access-k4ta5hvp.js → session-access-kjb19m2w.js} +5 -5
- package/dist/{session-source-backfill-528j4s8j.js → session-source-backfill-805p4wqr.js} +3 -3
- package/dist/{setup-d6pj82fr.js → setup-q8y168c8.js} +3 -3
- package/dist/thread-buffer-yqbffd0t.js +40 -0
- package/dist/{token-util-pjgekqxr.js → token-util-hnzceyn9.js} +1 -1
- package/dist/{token-pgr2w4s3.js → token-xnc02n6w.js} +21 -14
- package/dist/{tree-visibility-kjxv3nxk.js → tree-visibility-qj323994.js} +2 -2
- package/dist/{typesafe-system-one-qkvkgrcz.js → typesafe-system-one-avrdb4zm.js} +2 -2
- package/dist/{user-merge-jobs-rabbncf6.js → user-merge-jobs-qfp40f2s.js} +3 -3
- package/dist/{virtual-modules-22k51txd.js → virtual-modules-nzxegw0a.js} +7 -7
- package/dist/{work-objects-xtjbar3r.js → work-objects-hs089w60.js} +26 -26
- package/dist/{worker-follow-up-fg48vk6d.js → worker-follow-up-zwgg20sr.js} +24 -24
- package/dist/worker-kg4g7rnx.js +81 -0
- package/dist/{x-vfsqypht.js → x-k29vmskt.js} +2 -2
- package/openapi.json +59 -3
- package/package.json +53 -52
- package/plugin/commands/create-pr.md +5 -2
- package/plugin/pi-skills/create-pr/SKILL.md +5 -2
- package/src/apps/sync.ts +7 -2
- package/src/be/db/model-profiles.ts +103 -12
- package/src/be/db/tasks/read.ts +5 -0
- package/src/be/db/workflow-runs.ts +12 -8
- package/src/be/db.ts +18 -5
- package/src/be/migrations/367_workflow_run_principal.sql +5 -0
- package/src/be/model-group-resolution.ts +134 -0
- package/src/be/model-tier-resolution.ts +120 -17
- package/src/be/model-validation.ts +9 -1
- package/src/be/runtime-pools/routing.ts +22 -8
- package/src/be/scripts/extract-schema.ts +7 -0
- package/src/be/swarm-config-guard.ts +20 -7
- package/src/be/task-auto-title-listener.ts +2 -2
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/extensions/post-bridge.ts +27 -28
- package/src/http/active-sessions.ts +7 -0
- package/src/http/agents.ts +7 -0
- package/src/http/api-keys.ts +7 -0
- package/src/http/approval-requests.ts +4 -0
- package/src/http/budgets.ts +2 -0
- package/src/http/codex-oauth-keep-warm.ts +6 -2
- package/src/http/config.ts +1 -0
- package/src/http/context.ts +4 -0
- package/src/http/db-query.ts +11 -2
- package/src/http/events.ts +2 -0
- package/src/http/fs.ts +1 -0
- package/src/http/integrations.ts +4 -0
- package/src/http/mcp-bridge.ts +1 -0
- package/src/http/memory.ts +3 -0
- package/src/http/metrics.ts +16 -0
- package/src/http/oauth-locks.ts +8 -0
- package/src/http/operator-actor.ts +3 -8
- package/src/http/page-proxy.ts +16 -0
- package/src/http/pages.ts +9 -0
- package/src/http/poll.ts +21 -1
- package/src/http/pricing.ts +2 -0
- package/src/http/prompt-templates.ts +34 -0
- package/src/http/repos.ts +3 -1
- package/src/http/schedules.ts +33 -3
- package/src/http/script-runs.ts +24 -0
- package/src/http/scripts.ts +1 -0
- package/src/http/session-data.ts +2 -0
- package/src/http/status.ts +1 -0
- package/src/http/tasks.ts +28 -1
- package/src/http/trackers/jira.ts +2 -0
- package/src/http/trackers/linear.ts +4 -0
- package/src/http/users.ts +18 -0
- package/src/http/webhooks.ts +12 -0
- package/src/http/workflow-events.ts +26 -6
- package/src/http/workflows.ts +40 -0
- package/src/http/x.ts +4 -0
- package/src/linear/app.ts +3 -2
- package/src/linear/client.ts +5 -1
- package/src/linear/host.ts +40 -0
- package/src/linear/oauth.ts +3 -2
- package/src/linear/sync.ts +4 -3
- package/src/otel-impl.ts +8 -5
- package/src/prompts/base-prompt.ts +10 -6
- package/src/prompts/session-templates.ts +3 -3
- package/src/providers/acp-targets.ts +1 -1
- package/src/providers/amp-adapter.ts +11 -9
- package/src/providers/cursor-adapter.ts +1 -1
- package/src/rbac/legacy-policy.ts +2 -0
- package/src/rbac/permissions.ts +5 -0
- package/src/realtime/browser.generated.txt +1 -1
- package/src/scheduler/schedule-task.ts +1 -0
- package/src/scripts-runtime/quickjs-compat.ts +44 -10
- package/src/scripts-runtime/types/swarm-extension.d.ts +2 -0
- package/src/slack/config.ts +4 -0
- package/src/slack/render-v2.ts +52 -24
- package/src/slack/responses.ts +2 -1
- package/src/slack/reviewed-deliverables.ts +251 -0
- package/src/tasks/follow-up-gate.ts +142 -38
- package/src/tasks/worker-follow-up.ts +126 -37
- package/src/tests/amp-adapter.test.ts +57 -9
- package/src/tests/base-prompt.test.ts +36 -2
- package/src/tests/check-pr-body.test.ts +408 -93
- package/src/tests/compose-dev-object-store.test.ts +13 -0
- package/src/tests/compose-example-object-store.test.ts +67 -0
- package/src/tests/db-query.test.ts +8 -4
- package/src/tests/db-retention-defaults.test.ts +28 -3
- package/src/tests/e2b-dispatch.test.ts +7 -1
- package/src/tests/entrypoint-repo-autoclone-args.test.ts +10 -0
- package/src/tests/follow-up-gate-shadow.test.ts +268 -10
- package/src/tests/linear-outbound-sync.test.ts +59 -25
- package/src/tests/operator-actor-keyless.test.ts +103 -0
- package/src/tests/otel-event-loop-and-logs.test.ts +1 -1
- package/src/tests/profile-tier-alias.test.ts +9 -3
- package/src/tests/quickjs-compat.test.ts +40 -4
- package/src/tests/rbac-route-verbs-e2e.test.ts +142 -0
- package/src/tests/runner-repo-clone-args.test.ts +15 -6
- package/src/tests/script-connections.test.ts +2 -0
- package/src/tests/slack-render-v2.test.ts +52 -8
- package/src/tests/workflow-definition-pinning.test.ts +2 -0
- package/src/tests/workflow-hitl-routing.test.ts +67 -5
- package/src/tests/workflow-replay.test.ts +13 -1
- package/src/tests/workflow-system-one-extraction.test.ts +21 -0
- package/src/tests/workflow-wait-filter.test.ts +7 -7
- package/src/tests/worktree-reaper.test.ts +15 -4
- package/src/tests/x402-client.test.ts +82 -0
- package/src/tools/memory-rate.ts +2 -2
- package/src/tools/prompt-templates/delete.ts +22 -1
- package/src/tools/prompt-templates/set.ts +15 -1
- package/src/tools/schedules/create-schedule.ts +20 -3
- package/src/tools/schedules/patch-schedule.ts +30 -4
- package/src/tools/schedules/update-schedule.ts +30 -4
- package/src/tools/send-task.ts +17 -3
- package/src/tools/slack-post.ts +7 -2
- package/src/tools/slack-reply.ts +6 -2
- package/src/tools/task-action.ts +16 -3
- package/src/tools/utils.ts +1 -1
- package/src/types.ts +10 -0
- package/src/utils/amp-models.ts +20 -4
- package/src/utils/constants.ts +5 -4
- package/src/utils/secret-scrubber.ts +6 -4
- package/src/utils/task-citations.ts +11 -0
- package/src/workflows/engine.ts +41 -8
- package/src/workflows/executors/agent-task.ts +13 -2
- package/src/workflows/executors/code-match.ts +11 -31
- package/src/workflows/executors/script.ts +13 -0
- package/src/workflows/executors/sub-workflow.ts +5 -7
- package/src/workflows/executors/swarm-script.ts +4 -5
- package/src/workflows/executors/system-one-extraction.ts +9 -6
- package/src/workflows/executors/wait.ts +1 -1
- package/src/workflows/foreach-driver.ts +5 -1
- package/src/workflows/model-validation.ts +13 -1
- package/src/workflows/predicate-sandbox.ts +171 -0
- package/src/workflows/resume.ts +21 -4
- package/src/workflows/retry-poller.ts +1 -1
- package/src/workflows/run-principal.ts +51 -0
- package/src/workflows/wait-filter.ts +14 -192
- package/src/x402/client.ts +38 -17
- package/templates/skills/code-quality/content.md +1 -1
- package/templates/skills/heartbeat-runbook/content.md +1 -0
- package/templates/skills/pages/content.md +36 -12
- package/templates/skills/slack-interaction/content.md +4 -0
- package/templates/skills/swarm-docs/content.md +47 -41
- package/templates/skills/swarm-scripts/SKILL.md +1 -1
- package/templates/skills/swarm-scripts/content.md +1 -1
- package/dist/acp-adapter-99n6z9ky.js +0 -17
- package/dist/cli-5ss6qqt9.js +0 -45
- package/dist/cli-dzzh58sy.js +0 -6996
- package/dist/cli-e8trbfx1.js +0 -15
- package/dist/cli-j9ccfveb.js +0 -1849
- package/dist/cli-mna6pmfx.js +0 -1485
- package/dist/cli-r8ddn0hf.js +0 -25583
- package/dist/core-dynsv289.js +0 -41
- package/dist/fx-adapter-9k0hptnz.js +0 -20
- package/dist/getMachineId-bsd-637a7rbk.js +0 -36
- package/dist/getMachineId-darwin-9vytrcnn.js +0 -36
- package/dist/getMachineId-linux-mkzsvyyz.js +0 -29
- package/dist/getMachineId-unsupported-4cfs2n11.js +0 -19
- package/dist/getMachineId-win-154s3qma.js +0 -38
- package/dist/grok-adapter-skdj2pce.js +0 -20
- package/dist/handlers-5btjqkz6.js +0 -39
- package/dist/heartbeat-vfb1gy84.js +0 -49
- package/dist/hook-eh52p7yd.js +0 -22
- package/dist/index-7w8p6em0.js +0 -41
- package/dist/index-t56y945n.js +0 -4
- package/dist/index-vfemrwwk.js +0 -10002
- package/dist/index-vz4semsx.js +0 -38
- package/dist/index-y3s0xp2v.js +0 -43
- package/dist/lead-6cscw8a5.js +0 -82
- package/dist/otel-impl-6n6vva3x.js +0 -28205
- package/dist/thread-buffer-9w6x5zec.js +0 -40
- package/dist/worker-g4aj93dt.js +0 -82
|
@@ -11,31 +11,31 @@ import {
|
|
|
11
11
|
createRerouteDecisionTask2,
|
|
12
12
|
createPoolStarvationDecisionTask2,
|
|
13
13
|
init_worker_follow_up
|
|
14
|
-
} from "./cli-
|
|
15
|
-
import"./cli-
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
14
|
+
} from "./cli-d13qgcct.js";
|
|
15
|
+
import"./cli-jrxt5j0n.js";
|
|
16
|
+
import"./cli-svcy72s5.js";
|
|
17
|
+
import"./cli-gy0r7gb8.js";
|
|
18
|
+
import"./cli-e13kbyq0.js";
|
|
19
|
+
import"./cli-s48k2rzx.js";
|
|
20
|
+
import"./cli-an8bpy60.js";
|
|
21
21
|
import"./cli-y260hgep.js";
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
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-
|
|
33
|
-
import"./cli-
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-
|
|
22
|
+
import"./cli-c6vhcknq.js";
|
|
23
|
+
import"./cli-ryn4y478.js";
|
|
24
|
+
import"./cli-fdam1t9b.js";
|
|
25
|
+
import"./cli-h8k5801a.js";
|
|
26
|
+
import"./cli-cczffwak.js";
|
|
27
|
+
import"./cli-f3ta4e67.js";
|
|
28
|
+
import"./cli-q58qt9dw.js";
|
|
29
|
+
import"./cli-1t5vhrpv.js";
|
|
30
|
+
import"./cli-3vc518cw.js";
|
|
31
|
+
import"./cli-2ja7eadd.js";
|
|
32
|
+
import"./cli-ek8b88kv.js";
|
|
33
|
+
import"./cli-9j1qcs0b.js";
|
|
34
|
+
import"./cli-0rrft7s3.js";
|
|
35
|
+
import"./cli-0nvqg1hb.js";
|
|
36
|
+
import"./cli-x5t54ytt.js";
|
|
37
|
+
import"./cli-praaw1wh.js";
|
|
38
|
+
import"./cli-zrm0610v.js";
|
|
39
39
|
init_worker_follow_up();
|
|
40
40
|
|
|
41
41
|
export {
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import"./cli-zrm0610v.js";
|
|
2
|
+
import"./cli-x5t54ytt.js";
|
|
3
|
+
import"./cli-jrxt5j0n.js";
|
|
4
|
+
import"./cli-svcy72s5.js";
|
|
5
|
+
import"./cli-0nvqg1hb.js";
|
|
6
|
+
import"./cli-2ja7eadd.js";
|
|
7
|
+
import"./cli-1t5vhrpv.js";
|
|
8
|
+
import"./cli-0rrft7s3.js";
|
|
9
|
+
import"./cli-ek8b88kv.js";
|
|
10
|
+
import"./cli-q58qt9dw.js";
|
|
11
|
+
import"./cli-cczffwak.js";
|
|
12
|
+
import"./cli-fdam1t9b.js";
|
|
13
|
+
import {
|
|
14
|
+
getEnabledCapabilities,
|
|
15
|
+
init_server
|
|
16
|
+
} from "./cli-d13qgcct.js";
|
|
17
|
+
import"./cli-y260hgep.js";
|
|
18
|
+
import"./cli-f3ta4e67.js";
|
|
19
|
+
import"./cli-c6vhcknq.js";
|
|
20
|
+
import"./cli-cgmka83w.js";
|
|
21
|
+
import"./cli-n15fhd43.js";
|
|
22
|
+
import {
|
|
23
|
+
runAgent
|
|
24
|
+
} from "./cli-0nz04gqv.js";
|
|
25
|
+
import"./cli-08gfvs58.js";
|
|
26
|
+
import"./cli-t1bqpzgz.js";
|
|
27
|
+
import"./cli-77cd6gy8.js";
|
|
28
|
+
import"./cli-8crn0510.js";
|
|
29
|
+
import"./cli-tbrjvrrg.js";
|
|
30
|
+
import"./cli-xd6ntv7x.js";
|
|
31
|
+
import"./cli-vs9h3vw2.js";
|
|
32
|
+
import"./cli-5188hq0a.js";
|
|
33
|
+
import"./cli-65k149j5.js";
|
|
34
|
+
import"./cli-nmj4phcg.js";
|
|
35
|
+
import"./cli-k9kfck3s.js";
|
|
36
|
+
import"./cli-g03x26q6.js";
|
|
37
|
+
import"./cli-zcb64xzv.js";
|
|
38
|
+
import"./cli-d82btycs.js";
|
|
39
|
+
import"./cli-0726awxw.js";
|
|
40
|
+
import"./cli-3ffzr65w.js";
|
|
41
|
+
import"./cli-fs9t2m2k.js";
|
|
42
|
+
import"./cli-w2fg8kjc.js";
|
|
43
|
+
import"./cli-ertcjw6z.js";
|
|
44
|
+
import"./cli-r7rpy2xz.js";
|
|
45
|
+
import"./cli-1zbj28py.js";
|
|
46
|
+
import"./cli-kr5tjjtz.js";
|
|
47
|
+
import"./cli-wz7qj1jy.js";
|
|
48
|
+
import"./cli-q44p4869.js";
|
|
49
|
+
import"./cli-h0edykd1.js";
|
|
50
|
+
import"./cli-f4xv7s0t.js";
|
|
51
|
+
import"./cli-9mvfvggt.js";
|
|
52
|
+
import"./cli-s90wcbk9.js";
|
|
53
|
+
import"./cli-h364asjc.js";
|
|
54
|
+
import"./cli-6zpn5hmp.js";
|
|
55
|
+
import"./cli-h96yp7xv.js";
|
|
56
|
+
import"./cli-dzhht0vq.js";
|
|
57
|
+
import"./cli-hab0bvrh.js";
|
|
58
|
+
import"./cli-gy0r7gb8.js";
|
|
59
|
+
import"./cli-e13kbyq0.js";
|
|
60
|
+
import"./cli-s48k2rzx.js";
|
|
61
|
+
import"./cli-an8bpy60.js";
|
|
62
|
+
import"./cli-ryn4y478.js";
|
|
63
|
+
import"./cli-h8k5801a.js";
|
|
64
|
+
import"./cli-3vc518cw.js";
|
|
65
|
+
import"./cli-9j1qcs0b.js";
|
|
66
|
+
import"./cli-praaw1wh.js";
|
|
67
|
+
|
|
68
|
+
// src/commands/worker.ts
|
|
69
|
+
init_server();
|
|
70
|
+
var workerConfig = {
|
|
71
|
+
role: "worker",
|
|
72
|
+
defaultPrompt: "/start-worker",
|
|
73
|
+
metadataType: "worker_metadata",
|
|
74
|
+
capabilities: getEnabledCapabilities()
|
|
75
|
+
};
|
|
76
|
+
async function runWorker(opts) {
|
|
77
|
+
return runAgent(workerConfig, opts);
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
runWorker
|
|
81
|
+
};
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
executeComposioRequest,
|
|
5
5
|
formatComposioResultForCli,
|
|
6
6
|
init_composio
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-wkzrknpt.js";
|
|
8
8
|
import {
|
|
9
9
|
scrubSecrets,
|
|
10
10
|
init_secret_scrubber
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-7qkbab03.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/x.ts
|
|
14
14
|
init_secret_scrubber();
|
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Agent Swarm API",
|
|
5
|
-
"version": "2.14.
|
|
5
|
+
"version": "2.14.2",
|
|
6
6
|
"description": "Multi-agent orchestration API for Claude Code, Codex, and Gemini CLI. Enables task distribution, agent communication, and service discovery.\n\nMCP tools are documented separately in [MCP.md](./MCP.md)."
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
@@ -468,6 +468,9 @@
|
|
|
468
468
|
"resolvedProfile": {
|
|
469
469
|
"type": "string"
|
|
470
470
|
},
|
|
471
|
+
"modelGroup": {
|
|
472
|
+
"type": "string"
|
|
473
|
+
},
|
|
471
474
|
"fallbackHops": {
|
|
472
475
|
"type": "array",
|
|
473
476
|
"items": {
|
|
@@ -3735,6 +3738,7 @@
|
|
|
3735
3738
|
"task_dispatch_rejected_affinity",
|
|
3736
3739
|
"task_authorization_rejected",
|
|
3737
3740
|
"task_recovery_authorization",
|
|
3741
|
+
"task_model_group_resolved",
|
|
3738
3742
|
"task_dependency_repointed",
|
|
3739
3743
|
"task_released",
|
|
3740
3744
|
"task_deferred_wait_woke",
|
|
@@ -39990,6 +39994,9 @@
|
|
|
39990
39994
|
"resolvedProfile": {
|
|
39991
39995
|
"type": "string"
|
|
39992
39996
|
},
|
|
39997
|
+
"modelGroup": {
|
|
39998
|
+
"type": "string"
|
|
39999
|
+
},
|
|
39993
40000
|
"provider": {
|
|
39994
40001
|
"type": "string",
|
|
39995
40002
|
"enum": [
|
|
@@ -40318,6 +40325,10 @@
|
|
|
40318
40325
|
"type": "string",
|
|
40319
40326
|
"minLength": 1
|
|
40320
40327
|
},
|
|
40328
|
+
"modelGroup": {
|
|
40329
|
+
"type": "string",
|
|
40330
|
+
"minLength": 1
|
|
40331
|
+
},
|
|
40321
40332
|
"draft": {
|
|
40322
40333
|
"type": "boolean"
|
|
40323
40334
|
}
|
|
@@ -41712,6 +41723,9 @@
|
|
|
41712
41723
|
"resolvedProfile": {
|
|
41713
41724
|
"type": "string"
|
|
41714
41725
|
},
|
|
41726
|
+
"modelGroup": {
|
|
41727
|
+
"type": "string"
|
|
41728
|
+
},
|
|
41715
41729
|
"provider": {
|
|
41716
41730
|
"type": "string",
|
|
41717
41731
|
"enum": [
|
|
@@ -47927,6 +47941,9 @@
|
|
|
47927
47941
|
"profile": {
|
|
47928
47942
|
"type": "string"
|
|
47929
47943
|
},
|
|
47944
|
+
"modelGroup": {
|
|
47945
|
+
"type": "string"
|
|
47946
|
+
},
|
|
47930
47947
|
"allowCustomModel": {
|
|
47931
47948
|
"type": "boolean"
|
|
47932
47949
|
},
|
|
@@ -48111,6 +48128,9 @@
|
|
|
48111
48128
|
"profile": {
|
|
48112
48129
|
"type": "string"
|
|
48113
48130
|
},
|
|
48131
|
+
"modelGroup": {
|
|
48132
|
+
"type": "string"
|
|
48133
|
+
},
|
|
48114
48134
|
"scheduleType": {
|
|
48115
48135
|
"type": "string",
|
|
48116
48136
|
"enum": [
|
|
@@ -48482,6 +48502,9 @@
|
|
|
48482
48502
|
"profile": {
|
|
48483
48503
|
"type": "string"
|
|
48484
48504
|
},
|
|
48505
|
+
"modelGroup": {
|
|
48506
|
+
"type": "string"
|
|
48507
|
+
},
|
|
48485
48508
|
"scheduleType": {
|
|
48486
48509
|
"type": "string",
|
|
48487
48510
|
"enum": [
|
|
@@ -48680,6 +48703,9 @@
|
|
|
48680
48703
|
"profile": {
|
|
48681
48704
|
"type": "string"
|
|
48682
48705
|
},
|
|
48706
|
+
"modelGroup": {
|
|
48707
|
+
"type": "string"
|
|
48708
|
+
},
|
|
48683
48709
|
"scheduleType": {
|
|
48684
48710
|
"type": "string",
|
|
48685
48711
|
"enum": [
|
|
@@ -48921,6 +48947,9 @@
|
|
|
48921
48947
|
"profile": {
|
|
48922
48948
|
"type": "string"
|
|
48923
48949
|
},
|
|
48950
|
+
"modelGroup": {
|
|
48951
|
+
"type": "string"
|
|
48952
|
+
},
|
|
48924
48953
|
"scheduleType": {
|
|
48925
48954
|
"type": "string",
|
|
48926
48955
|
"enum": [
|
|
@@ -49177,6 +49206,9 @@
|
|
|
49177
49206
|
"profile": {
|
|
49178
49207
|
"type": "string"
|
|
49179
49208
|
},
|
|
49209
|
+
"modelGroup": {
|
|
49210
|
+
"type": "string"
|
|
49211
|
+
},
|
|
49180
49212
|
"scheduleType": {
|
|
49181
49213
|
"type": "string",
|
|
49182
49214
|
"enum": [
|
|
@@ -49376,6 +49408,12 @@
|
|
|
49376
49408
|
"null"
|
|
49377
49409
|
]
|
|
49378
49410
|
},
|
|
49411
|
+
"modelGroup": {
|
|
49412
|
+
"type": [
|
|
49413
|
+
"string",
|
|
49414
|
+
"null"
|
|
49415
|
+
]
|
|
49416
|
+
},
|
|
49379
49417
|
"allowCustomModel": {
|
|
49380
49418
|
"type": "boolean"
|
|
49381
49419
|
},
|
|
@@ -49562,6 +49600,9 @@
|
|
|
49562
49600
|
"profile": {
|
|
49563
49601
|
"type": "string"
|
|
49564
49602
|
},
|
|
49603
|
+
"modelGroup": {
|
|
49604
|
+
"type": "string"
|
|
49605
|
+
},
|
|
49565
49606
|
"scheduleType": {
|
|
49566
49607
|
"type": "string",
|
|
49567
49608
|
"enum": [
|
|
@@ -49792,6 +49833,12 @@
|
|
|
49792
49833
|
"null"
|
|
49793
49834
|
]
|
|
49794
49835
|
},
|
|
49836
|
+
"modelGroup": {
|
|
49837
|
+
"type": [
|
|
49838
|
+
"string",
|
|
49839
|
+
"null"
|
|
49840
|
+
]
|
|
49841
|
+
},
|
|
49795
49842
|
"allowCustomModel": {
|
|
49796
49843
|
"type": "boolean"
|
|
49797
49844
|
},
|
|
@@ -49978,6 +50025,9 @@
|
|
|
49978
50025
|
"profile": {
|
|
49979
50026
|
"type": "string"
|
|
49980
50027
|
},
|
|
50028
|
+
"modelGroup": {
|
|
50029
|
+
"type": "string"
|
|
50030
|
+
},
|
|
49981
50031
|
"scheduleType": {
|
|
49982
50032
|
"type": "string",
|
|
49983
50033
|
"enum": [
|
|
@@ -67565,6 +67615,9 @@
|
|
|
67565
67615
|
"profile": {
|
|
67566
67616
|
"type": "string"
|
|
67567
67617
|
},
|
|
67618
|
+
"modelGroup": {
|
|
67619
|
+
"type": "string"
|
|
67620
|
+
},
|
|
67568
67621
|
"scheduleType": {
|
|
67569
67622
|
"type": "string",
|
|
67570
67623
|
"enum": [
|
|
@@ -67755,6 +67808,9 @@
|
|
|
67755
67808
|
"profile": {
|
|
67756
67809
|
"type": "string"
|
|
67757
67810
|
},
|
|
67811
|
+
"modelGroup": {
|
|
67812
|
+
"type": "string"
|
|
67813
|
+
},
|
|
67758
67814
|
"scheduleType": {
|
|
67759
67815
|
"type": "string",
|
|
67760
67816
|
"enum": [
|
|
@@ -74797,7 +74853,7 @@
|
|
|
74797
74853
|
}
|
|
74798
74854
|
},
|
|
74799
74855
|
"403": {
|
|
74800
|
-
"description": "Event name is reserved for provider webhooks",
|
|
74856
|
+
"description": "Event name is reserved for provider webhooks or server-emitted events",
|
|
74801
74857
|
"content": {
|
|
74802
74858
|
"application/json": {
|
|
74803
74859
|
"schema": {
|
|
@@ -74890,7 +74946,7 @@
|
|
|
74890
74946
|
}
|
|
74891
74947
|
},
|
|
74892
74948
|
"403": {
|
|
74893
|
-
"description": "Event name is reserved for provider webhooks",
|
|
74949
|
+
"description": "Event name is reserved for provider webhooks or server-emitted events",
|
|
74894
74950
|
"content": {
|
|
74895
74951
|
"application/json": {
|
|
74896
74952
|
"schema": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desplega.ai/agent-swarm",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.2",
|
|
4
4
|
"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.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-swarm.dev",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"overrides": {
|
|
65
65
|
"@slack/socket-mode": "^2.0.7",
|
|
66
66
|
"lodash-es": "4.18.1",
|
|
67
|
-
"react": "19.
|
|
68
|
-
"react-dom": "19.
|
|
67
|
+
"react": "19.3.1",
|
|
68
|
+
"react-dom": "19.3.1"
|
|
69
69
|
},
|
|
70
70
|
"trustedDependencies": [
|
|
71
71
|
"esbuild",
|
|
@@ -121,6 +121,7 @@
|
|
|
121
121
|
"tsc:check": "bun check",
|
|
122
122
|
"tsc:check:tsc": "bun tsc --noEmit",
|
|
123
123
|
"check:db-boundary": "bash scripts/check-db-boundary.sh",
|
|
124
|
+
"check:agents-md-size": "bash scripts/check-agents-md-size.sh",
|
|
124
125
|
"check:codex-default-model": "bash scripts/check-codex-default-model.sh",
|
|
125
126
|
"check:test-spawn-sync": "bash scripts/check-test-spawn-sync.sh",
|
|
126
127
|
"check:dep-graph": "depcruise src packages/model-routing --config .dependency-cruiser.cjs",
|
|
@@ -187,18 +188,19 @@
|
|
|
187
188
|
"@desplega.ai/slack-mock": "^0.6.1",
|
|
188
189
|
"@desplega/model-catalog": "workspace:*",
|
|
189
190
|
"@desplega/model-routing": "workspace:*",
|
|
190
|
-
"@faker-js/faker": "^10.
|
|
191
|
+
"@faker-js/faker": "^10.6.0",
|
|
191
192
|
"@opencode/plugin": "2.3.2",
|
|
192
193
|
"@opencode/sdk": "2.3.2",
|
|
193
|
-
"@oxlint/plugins": "1.
|
|
194
|
+
"@oxlint/plugins": "1.93.0",
|
|
194
195
|
"@types/bun": "latest",
|
|
195
|
-
"dependency-cruiser": "^18.
|
|
196
|
+
"dependency-cruiser": "^18.7.2",
|
|
197
|
+
"emulate": "0.14.0",
|
|
196
198
|
"happy-dom": "^21.0.4",
|
|
197
|
-
"konsistent": "1.0.0-beta.
|
|
199
|
+
"konsistent": "1.0.0-beta.13",
|
|
198
200
|
"openapi-typescript": "^7",
|
|
199
|
-
"oxlint": "1.
|
|
201
|
+
"oxlint": "1.93.0",
|
|
200
202
|
"ts-morph": "^28.0.0",
|
|
201
|
-
"turbo": "^2.
|
|
203
|
+
"turbo": "^2.11.11"
|
|
202
204
|
},
|
|
203
205
|
"peerDependencies": {
|
|
204
206
|
"typescript": "^5"
|
|
@@ -208,67 +210,66 @@
|
|
|
208
210
|
},
|
|
209
211
|
"dependencies": {
|
|
210
212
|
"@agentclientprotocol/sdk": "2.8.0",
|
|
211
|
-
"@ai-sdk/openai": "^3.0.
|
|
212
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
213
|
-
"@anthropic-ai/sdk": "^1.
|
|
214
|
-
"@asteasolutions/zod-to-openapi": "^8.
|
|
215
|
-
"@aws-sdk/client-bedrock": "3.
|
|
216
|
-
"@boxd-sh/sdk": "0.2
|
|
213
|
+
"@ai-sdk/openai": "^3.0.142",
|
|
214
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.329",
|
|
215
|
+
"@anthropic-ai/sdk": "^1.11.0",
|
|
216
|
+
"@asteasolutions/zod-to-openapi": "^8.5.0",
|
|
217
|
+
"@aws-sdk/client-bedrock": "3.1168.0",
|
|
218
|
+
"@boxd-sh/sdk": "0.3.2",
|
|
217
219
|
"@chat-adapter/discord": "4.45.0",
|
|
218
220
|
"@chat-adapter/shared": "4.45.0",
|
|
219
221
|
"@chat-adapter/slack": "4.45.0",
|
|
220
222
|
"@chat-adapter/teams": "4.45.0",
|
|
221
223
|
"@chat-adapter/telegram": "4.45.0",
|
|
222
|
-
"@cursor/sdk": "1.4.
|
|
223
|
-
"@desplega.ai/agent-fs-just-bash": "0.18.
|
|
224
|
-
"@desplega.ai/business-use": "^0.4.
|
|
225
|
-
"@earendil-works/pi-agent-core": "^1.
|
|
226
|
-
"@earendil-works/pi-ai": "^1.
|
|
227
|
-
"@earendil-works/pi-coding-agent": "^1.
|
|
224
|
+
"@cursor/sdk": "1.4.2",
|
|
225
|
+
"@desplega.ai/agent-fs-just-bash": "0.18.37",
|
|
226
|
+
"@desplega.ai/business-use": "^0.4.3",
|
|
227
|
+
"@earendil-works/pi-agent-core": "^1.6.0",
|
|
228
|
+
"@earendil-works/pi-ai": "^1.6.0",
|
|
229
|
+
"@earendil-works/pi-coding-agent": "^1.6.0",
|
|
228
230
|
"@inkjs/ui": "^2.0.0",
|
|
229
231
|
"@ironcalc/wasm": "0.9.1",
|
|
230
232
|
"@jitl/quickjs-singlefile-mjs-release-sync": "0.32.0",
|
|
231
233
|
"@json-render/chat": "0.22.0",
|
|
232
234
|
"@json-render/core": "0.22.0",
|
|
233
235
|
"@linear/sdk": "^77.0.0",
|
|
234
|
-
"@modelcontextprotocol/sdk": "1.32.
|
|
235
|
-
"@openai/codex": "0.
|
|
236
|
-
"@openfort/openfort-node": "^0.
|
|
237
|
-
"@opentelemetry/api": "^1.
|
|
238
|
-
"@opentelemetry/
|
|
239
|
-
"@opentelemetry/exporter-
|
|
240
|
-
"@opentelemetry/
|
|
241
|
-
"@opentelemetry/
|
|
242
|
-
"@opentelemetry/sdk-
|
|
243
|
-
"@opentelemetry/
|
|
244
|
-
"@
|
|
245
|
-
"@slack/
|
|
246
|
-
"@
|
|
247
|
-
"@
|
|
248
|
-
"@x402/
|
|
249
|
-
"@x402/
|
|
250
|
-
"
|
|
251
|
-
"ai": "^6.0.116",
|
|
236
|
+
"@modelcontextprotocol/sdk": "1.32.2",
|
|
237
|
+
"@openai/codex": "0.171.0",
|
|
238
|
+
"@openfort/openfort-node": "^0.14.0",
|
|
239
|
+
"@opentelemetry/api": "^1.10.0",
|
|
240
|
+
"@opentelemetry/exporter-metrics-otlp-http": "^0.301.2",
|
|
241
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.301.2",
|
|
242
|
+
"@opentelemetry/resources": "^3.1.1",
|
|
243
|
+
"@opentelemetry/sdk-metrics": "^3.1.1",
|
|
244
|
+
"@opentelemetry/sdk-node": "^0.301.2",
|
|
245
|
+
"@opentelemetry/semantic-conventions": "^1.45.0",
|
|
246
|
+
"@slack/bolt": "^4.7.3",
|
|
247
|
+
"@slack/web-api": "7.19.0",
|
|
248
|
+
"@types/react": "^19.3.0",
|
|
249
|
+
"@x402/core": "^2.31.0",
|
|
250
|
+
"@x402/evm": "^2.31.0",
|
|
251
|
+
"@x402/fetch": "^2.31.0",
|
|
252
|
+
"ai": "^6.0.331",
|
|
252
253
|
"chat": "4.45.0",
|
|
253
|
-
"cron-parser": "^5.
|
|
254
|
-
"date-fns": "^4.
|
|
255
|
-
"e2b": "2.
|
|
254
|
+
"cron-parser": "^5.10.5",
|
|
255
|
+
"date-fns": "^4.4.0",
|
|
256
|
+
"e2b": "2.63.0",
|
|
256
257
|
"fractional-indexing": "4.0.0",
|
|
257
|
-
"ink": "^6.
|
|
258
|
+
"ink": "^6.8.0",
|
|
258
259
|
"just-bash": "3.6.0",
|
|
259
|
-
"oauth4webapi": "^3.8.
|
|
260
|
-
"openai": "^6.
|
|
260
|
+
"oauth4webapi": "^3.8.8",
|
|
261
|
+
"openai": "^6.49.0",
|
|
261
262
|
"quickjs-emscripten-core": "0.32.0",
|
|
262
|
-
"react": "19.
|
|
263
|
+
"react": "19.3.1",
|
|
263
264
|
"react-devtools-core": "^7.0.1",
|
|
264
265
|
"sqlite-vec": "^0.1.9",
|
|
265
|
-
"svix": "^1.
|
|
266
|
-
"viem": "^2.
|
|
267
|
-
"ws": "8.
|
|
266
|
+
"svix": "^1.99.1",
|
|
267
|
+
"viem": "^2.57.19",
|
|
268
|
+
"ws": "8.23.0",
|
|
268
269
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
|
|
269
270
|
"y-protocols": "1.0.7",
|
|
270
|
-
"yjs": "13.6.
|
|
271
|
-
"zod": "^4.
|
|
272
|
-
"zod-to-json-schema": "^3.25.
|
|
271
|
+
"yjs": "13.6.33",
|
|
272
|
+
"zod": "^4.6.7",
|
|
273
|
+
"zod-to-json-schema": "^3.25.2"
|
|
273
274
|
}
|
|
274
275
|
}
|
|
@@ -28,10 +28,13 @@ You should be working in a repository cloned to `/workspace/personal/<repo-name>
|
|
|
28
28
|
5. **Generate title and description.** Follow the conventions of the repository you are working in, not a fixed format:
|
|
29
29
|
- **Title**: Concise summary (conventional commit style if the repo uses it)
|
|
30
30
|
- **Description**: If the repo has a PR/MR template, use its headings as the structure and fill every section. GitHub looks for `pull_request_template.md` in `.github/`, `docs/`, or the repo root (plus an optional `PULL_REQUEST_TEMPLATE/` directory), and falls back to the org's `.github` repo. GitLab uses `.gitlab/merge_request_templates/`. Also follow any PR rules in the repo's `CLAUDE.md`, `AGENTS.md`, or `CONTRIBUTING.md`. If the repo defines none, include: summary of changes, notable items, testing done, related issues.
|
|
31
|
-
- **Show the change, do not narrate it.** Aim for about
|
|
31
|
+
- **Show the change, do not narrate it.** Aim for about 150 prose words; code blocks, mermaid, tables and `<details>` do not count. No file-by-file changelog: that belongs in your task output.
|
|
32
|
+
- **Why**: one sentence, 25 words or fewer (the check fails above 40). Say who sees what after the merge, not how it works.
|
|
33
|
+
- **Before / after**: the smallest view of what a user, an agent or an operator sees change. A `diff` block with the old and new lines for an API result, CLI output, a log line or prompt text. A table for a default or a number. Slack mock frames. A screenshot pair for UI. For an internal change, write the line `No visible change: <reason>`.
|
|
34
|
+
- **Known risks and skipped work** go in the template's heads-up section. Do not add text after the last section, and do not add a `Skipped/risk:` paragraph.
|
|
32
35
|
- **Review map**: build it from `git diff --stat <base>...HEAD`. One row per area, biggest risk first, with `(+N/-M)`, a depth (🔍 deep, 👀 skim, ⏭ skip for tests and generated files) and what could break.
|
|
33
36
|
- **Change outline**: 1 or 2 views of the shape of the change. Pseudocode with `+`/`-` lines for logic, mermaid for flow, a tree with paths on the nodes for structure.
|
|
34
|
-
- **Swarm provenance** (when you run in the swarm): fill it from your task context. Link the task (
|
|
37
|
+
- **Swarm provenance** (when you run in the swarm): fill it from your task context, as a list of Markdown links and nothing else. Link the task (`[Task]($APP_URL/tasks/<taskId>)`) and its tree (`[tree]($APP_URL/sessions/<rootTaskId>)`), the Slack permalink of the ask if the task came from Slack (`[Ask](<permalink>)`), any workflow run, and the plan or research as its agent-fs live app link (`${AGENT_FS_LIVE_URL}/file/~/<org>/<drive>/<path>`). Always link the task: this section is the one place where these auth-gated links are allowed, so do not withhold them. A bare URL fails the PR Body check.
|
|
35
38
|
- **Media**: images and mp4s as GitHub user attachments (`github-attach` skill), docs as the agent-fs live app link under Swarm provenance (an `agent-fs share-create` link only when the requester asks for one or a reader has no agent-fs login). Never a presigned agent-fs URL for docs or videos.
|
|
36
39
|
6. **Create the PR/MR** using `gh pr create` or `glab mr create`. `gh pr create --body` does not apply the repo template, so write the filled description to a file and pass it with `--body-file <file>`.
|
|
37
40
|
7. **Check CI status** — After creating the PR, wait ~30 seconds, then check CI with `gh pr checks <pr-number>` (GitHub) or `glab mr view --json pipelines` (GitLab). If any check is failing, investigate the failure, fix it, push the fix, and re-check. Repeat until CI is green.
|
|
@@ -28,10 +28,13 @@ You should be working in a repository cloned to `/workspace/personal/<repo-name>
|
|
|
28
28
|
5. **Generate title and description.** Follow the conventions of the repository you are working in, not a fixed format:
|
|
29
29
|
- **Title**: Concise summary (conventional commit style if the repo uses it)
|
|
30
30
|
- **Description**: If the repo has a PR/MR template, use its headings as the structure and fill every section. GitHub looks for `pull_request_template.md` in `.github/`, `docs/`, or the repo root (plus an optional `PULL_REQUEST_TEMPLATE/` directory), and falls back to the org's `.github` repo. GitLab uses `.gitlab/merge_request_templates/`. Also follow any PR rules in the repo's `CLAUDE.md`, `AGENTS.md`, or `CONTRIBUTING.md`. If the repo defines none, include: summary of changes, notable items, testing done, related issues.
|
|
31
|
-
- **Show the change, do not narrate it.** Aim for about
|
|
31
|
+
- **Show the change, do not narrate it.** Aim for about 150 prose words; code blocks, mermaid, tables and `<details>` do not count. No file-by-file changelog: that belongs in your task output.
|
|
32
|
+
- **Why**: one sentence, 25 words or fewer (the check fails above 40). Say who sees what after the merge, not how it works.
|
|
33
|
+
- **Before / after**: the smallest view of what a user, an agent or an operator sees change. A `diff` block with the old and new lines for an API result, CLI output, a log line or prompt text. A table for a default or a number. Slack mock frames. A screenshot pair for UI. For an internal change, write the line `No visible change: <reason>`.
|
|
34
|
+
- **Known risks and skipped work** go in the template's heads-up section. Do not add text after the last section, and do not add a `Skipped/risk:` paragraph.
|
|
32
35
|
- **Review map**: build it from `git diff --stat <base>...HEAD`. One row per area, biggest risk first, with `(+N/-M)`, a depth (🔍 deep, 👀 skim, ⏭ skip for tests and generated files) and what could break.
|
|
33
36
|
- **Change outline**: 1 or 2 views of the shape of the change. Pseudocode with `+`/`-` lines for logic, mermaid for flow, a tree with paths on the nodes for structure.
|
|
34
|
-
- **Swarm provenance** (when you run in the swarm): fill it from your task context. Link the task (
|
|
37
|
+
- **Swarm provenance** (when you run in the swarm): fill it from your task context, as a list of Markdown links and nothing else. Link the task (`[Task]($APP_URL/tasks/<taskId>)`) and its tree (`[tree]($APP_URL/sessions/<rootTaskId>)`), the Slack permalink of the ask if the task came from Slack (`[Ask](<permalink>)`), any workflow run, and the plan or research as its agent-fs live app link (`${AGENT_FS_LIVE_URL}/file/~/<org>/<drive>/<path>`). Always link the task: this section is the one place where these auth-gated links are allowed, so do not withhold them. A bare URL fails the PR Body check.
|
|
35
38
|
- **Media**: images and mp4s as GitHub user attachments (`github-attach` skill), docs as the agent-fs live app link under Swarm provenance (an `agent-fs share-create` link only when the requester asks for one or a reader has no agent-fs login). Never a presigned agent-fs URL for docs or videos.
|
|
36
39
|
6. **Create the PR/MR** using `gh pr create` or `glab mr create`. `gh pr create --body` does not apply the repo template, so write the filled description to a file and pass it with `--body-file <file>`.
|
|
37
40
|
7. **Check CI status** — After creating the PR, wait ~30 seconds, then check CI with `gh pr checks <pr-number>` (GitHub) or `glab mr view --json pipelines` (GitLab). If any check is failing, investigate the failure, fix it, push the fix, and re-check. Repeat until CI is green.
|
package/src/apps/sync.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { listScriptConnections } from "../be/script-connections";
|
|
|
4
4
|
import { getScriptById } from "../be/scripts/db";
|
|
5
5
|
import { runSavedScriptAsAgent } from "../be/scripts/run-saved";
|
|
6
6
|
import { type AgentTask, AgentTaskStatusSchema } from "../types";
|
|
7
|
-
import { scrubObject, scrubSecrets } from "../utils/secret-scrubber";
|
|
7
|
+
import { createSweepScrubber, scrubObject, scrubSecrets } from "../utils/secret-scrubber";
|
|
8
8
|
import {
|
|
9
9
|
type AppDefinition,
|
|
10
10
|
type AppValidationIssue,
|
|
@@ -853,7 +853,9 @@ async function executePass(args: {
|
|
|
853
853
|
// Pull OUTSIDE the lock; reconcile inside it. Pulled values persist into
|
|
854
854
|
// rows any app.use principal can later read, so secrets are redacted here
|
|
855
855
|
// at the persistence boundary — the finish() scrub only covers the pass
|
|
856
|
-
// summary, never pull.records.
|
|
856
|
+
// summary, never pull.records. The sweep scrubber skips rules a clean text
|
|
857
|
+
// cannot trigger: the default one re-reads the env per string and blocks
|
|
858
|
+
// the event loop for tens of ms on a few hundred rows.
|
|
857
859
|
const pull = scrubObject(
|
|
858
860
|
source.connector === "script"
|
|
859
861
|
? await pullFromScript({
|
|
@@ -863,6 +865,9 @@ async function executePass(args: {
|
|
|
863
865
|
source,
|
|
864
866
|
})
|
|
865
867
|
: await pullFromSwarmTasks(source, args.invokedBy),
|
|
868
|
+
undefined,
|
|
869
|
+
undefined,
|
|
870
|
+
createSweepScrubber(),
|
|
866
871
|
);
|
|
867
872
|
pulled = pull.records.length;
|
|
868
873
|
for (const warning of pull.warnings) warn(warnings, warning);
|