@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
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
rawArgsFromCanonical,
|
|
5
5
|
runNativePre,
|
|
6
6
|
runNativePost
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-zcb64xzv.js";
|
|
8
8
|
import {
|
|
9
9
|
checkToolLoop,
|
|
10
10
|
clearToolHistory
|
|
11
11
|
} from "./cli-0726awxw.js";
|
|
12
12
|
import {
|
|
13
13
|
summarizeSession
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-g03x26q6.js";
|
|
15
15
|
import {
|
|
16
16
|
getMemoryRaterNames,
|
|
17
17
|
init_memory_raters,
|
|
@@ -26,17 +26,17 @@ import {
|
|
|
26
26
|
readIdentityBaselines,
|
|
27
27
|
advanceIdentityBaselines,
|
|
28
28
|
init_profile_sync
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-jfgaz10x.js";
|
|
30
|
+
import {
|
|
31
|
+
getOpenRouterAttributionHeaders,
|
|
32
|
+
init_openrouter_base_url
|
|
33
|
+
} from "./cli-dfyv0jdy.js";
|
|
30
34
|
import {
|
|
31
35
|
resolveTemplateFromCode,
|
|
32
36
|
resolveTemplateAsync,
|
|
33
37
|
init_resolver,
|
|
34
38
|
init_session_templates
|
|
35
|
-
} from "./cli-
|
|
36
|
-
import {
|
|
37
|
-
getOpenRouterAttributionHeaders,
|
|
38
|
-
init_openrouter_base_url
|
|
39
|
-
} from "./cli-dfyv0jdy.js";
|
|
39
|
+
} from "./cli-aktk3qt6.js";
|
|
40
40
|
import {
|
|
41
41
|
isSessionSummarySkipped,
|
|
42
42
|
init_env_flag
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
scrubSecrets,
|
|
46
46
|
init_secret_scrubber
|
|
47
|
-
} from "./cli-
|
|
47
|
+
} from "./cli-7qkbab03.js";
|
|
48
48
|
|
|
49
49
|
// src/prompts/goal-reminder.ts
|
|
50
50
|
init_session_templates();
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
__toESM,
|
|
3
2
|
__commonJS,
|
|
4
|
-
__esm,
|
|
5
3
|
__require
|
|
6
4
|
} from "./cli-242037k3.js";
|
|
7
5
|
|
|
@@ -27,6 +25,7 @@ var require_constants = __commonJS(function(exports, module) {
|
|
|
27
25
|
|
|
28
26
|
// node_modules/ws/lib/buffer-util.js
|
|
29
27
|
var require_buffer_util = __commonJS(function(exports, module) {
|
|
28
|
+
var { websocketMask, websocketUnmask } = __require("http");
|
|
30
29
|
var { EMPTY_BUFFER } = require_constants();
|
|
31
30
|
var FastBuffer = Buffer[Symbol.species];
|
|
32
31
|
function concat(list, totalLength) {
|
|
@@ -84,7 +83,20 @@ var require_buffer_util = __commonJS(function(exports, module) {
|
|
|
84
83
|
toBuffer,
|
|
85
84
|
unmask: _unmask
|
|
86
85
|
};
|
|
87
|
-
if (
|
|
86
|
+
if (websocketMask) {
|
|
87
|
+
module.exports.mask = function(source, mask, output, offset, length) {
|
|
88
|
+
if (length < 24)
|
|
89
|
+
_mask(source, mask, output, offset, length);
|
|
90
|
+
else
|
|
91
|
+
websocketMask(source, mask, output, offset, length);
|
|
92
|
+
};
|
|
93
|
+
module.exports.unmask = function(buffer, mask) {
|
|
94
|
+
if (buffer.length < 24)
|
|
95
|
+
_unmask(buffer, mask);
|
|
96
|
+
else
|
|
97
|
+
websocketUnmask(buffer, mask);
|
|
98
|
+
};
|
|
99
|
+
} else if (!process.env.WS_NO_BUFFER_UTIL) {
|
|
88
100
|
try {
|
|
89
101
|
const bufferUtil = (()=>{throw new Error("Cannot require module "+"bufferutil");})();
|
|
90
102
|
module.exports.mask = function(source, mask2, output, offset, length) {
|
|
@@ -207,7 +219,7 @@ var require_permessage_deflate = __commonJS(function(exports, module) {
|
|
|
207
219
|
acceptAsServer(offers) {
|
|
208
220
|
const opts = this._options;
|
|
209
221
|
const accepted = offers.find((params) => {
|
|
210
|
-
if (opts.serverNoContextTakeover === false && params.server_no_context_takeover || params.server_max_window_bits && (opts.serverMaxWindowBits === false || typeof opts.serverMaxWindowBits === "number" && opts.serverMaxWindowBits > params.server_max_window_bits) || typeof opts.clientMaxWindowBits === "number" && !params.client_max_window_bits) {
|
|
222
|
+
if (opts.serverNoContextTakeover === false && params.server_no_context_takeover || params.server_max_window_bits && (opts.serverMaxWindowBits === false || typeof opts.serverMaxWindowBits === "number" && opts.serverMaxWindowBits > params.server_max_window_bits) || typeof opts.clientMaxWindowBits === "number" && (typeof params.client_max_window_bits === "number" ? opts.clientMaxWindowBits > params.client_max_window_bits : !params.client_max_window_bits)) {
|
|
211
223
|
return false;
|
|
212
224
|
}
|
|
213
225
|
return true;
|
|
@@ -630,6 +642,7 @@ var require_receiver = __commonJS(function(exports, module) {
|
|
|
630
642
|
this._opcode = 0;
|
|
631
643
|
this._totalPayloadLength = 0;
|
|
632
644
|
this._messageLength = 0;
|
|
645
|
+
this._numFragments = 0;
|
|
633
646
|
this._fragments = [];
|
|
634
647
|
this._errored = false;
|
|
635
648
|
this._loop = false;
|
|
@@ -835,21 +848,22 @@ var require_receiver = __commonJS(function(exports, module) {
|
|
|
835
848
|
unmask(data, this._mask);
|
|
836
849
|
}
|
|
837
850
|
}
|
|
851
|
+
this._mask = undefined;
|
|
838
852
|
if (this._opcode > 7) {
|
|
839
853
|
this.controlMessage(data, cb);
|
|
840
854
|
return;
|
|
841
855
|
}
|
|
856
|
+
if (this._maxFragments > 0 && ++this._numFragments > this._maxFragments) {
|
|
857
|
+
const error = this.createError(RangeError, "Too many message fragments", false, 1008, "WS_ERR_TOO_MANY_BUFFERED_PARTS");
|
|
858
|
+
cb(error);
|
|
859
|
+
return;
|
|
860
|
+
}
|
|
842
861
|
if (this._compressed) {
|
|
843
862
|
this._state = INFLATING;
|
|
844
863
|
this.decompress(data, cb);
|
|
845
864
|
return;
|
|
846
865
|
}
|
|
847
866
|
if (data.length) {
|
|
848
|
-
if (this._maxFragments > 0 && this._fragments.length >= this._maxFragments) {
|
|
849
|
-
const error = this.createError(RangeError, "Too many message fragments", false, 1008, "WS_ERR_TOO_MANY_BUFFERED_PARTS");
|
|
850
|
-
cb(error);
|
|
851
|
-
return;
|
|
852
|
-
}
|
|
853
867
|
this._messageLength = this._totalPayloadLength;
|
|
854
868
|
this._fragments.push(data);
|
|
855
869
|
}
|
|
@@ -867,11 +881,6 @@ var require_receiver = __commonJS(function(exports, module) {
|
|
|
867
881
|
cb(error);
|
|
868
882
|
return;
|
|
869
883
|
}
|
|
870
|
-
if (this._maxFragments > 0 && this._fragments.length >= this._maxFragments) {
|
|
871
|
-
const error = this.createError(RangeError, "Too many message fragments", false, 1008, "WS_ERR_TOO_MANY_BUFFERED_PARTS");
|
|
872
|
-
cb(error);
|
|
873
|
-
return;
|
|
874
|
-
}
|
|
875
884
|
this._fragments.push(buf);
|
|
876
885
|
}
|
|
877
886
|
this.dataMessage(cb);
|
|
@@ -889,6 +898,7 @@ var require_receiver = __commonJS(function(exports, module) {
|
|
|
889
898
|
this._totalPayloadLength = 0;
|
|
890
899
|
this._messageLength = 0;
|
|
891
900
|
this._fragmented = 0;
|
|
901
|
+
this._numFragments = 0;
|
|
892
902
|
this._fragments = [];
|
|
893
903
|
if (this._opcode === 2) {
|
|
894
904
|
let data;
|
|
@@ -1075,13 +1085,16 @@ var require_sender = __commonJS(function(exports, module) {
|
|
|
1075
1085
|
target[2] = target[3] = 0;
|
|
1076
1086
|
target.writeUIntBE(dataLength, 4, 6);
|
|
1077
1087
|
}
|
|
1078
|
-
if (!options.mask)
|
|
1079
|
-
return [target, data];
|
|
1088
|
+
if (!options.mask) {
|
|
1089
|
+
return dataLength ? [target, data] : [target];
|
|
1090
|
+
}
|
|
1080
1091
|
target[1] |= 128;
|
|
1081
1092
|
target[offset - 4] = mask[0];
|
|
1082
1093
|
target[offset - 3] = mask[1];
|
|
1083
1094
|
target[offset - 2] = mask[2];
|
|
1084
1095
|
target[offset - 1] = mask[3];
|
|
1096
|
+
if (!dataLength)
|
|
1097
|
+
return [target];
|
|
1085
1098
|
if (skipMasking)
|
|
1086
1099
|
return [target, data];
|
|
1087
1100
|
if (merge) {
|
|
@@ -1664,6 +1677,7 @@ var require_websocket = __commonJS(function(exports, module) {
|
|
|
1664
1677
|
var https = __require("https");
|
|
1665
1678
|
var http = __require("http");
|
|
1666
1679
|
var net = __require("net");
|
|
1680
|
+
var querystring = __require("querystring");
|
|
1667
1681
|
var tls = __require("tls");
|
|
1668
1682
|
var { randomBytes, createHash } = __require("crypto");
|
|
1669
1683
|
var { Duplex, Readable } = __require("stream");
|
|
@@ -1715,21 +1729,38 @@ var require_websocket = __commonJS(function(exports, module) {
|
|
|
1715
1729
|
this._isServer = false;
|
|
1716
1730
|
this._redirects = 0;
|
|
1717
1731
|
if (protocols === undefined) {
|
|
1718
|
-
protocols
|
|
1732
|
+
if (!options || options.protocols === undefined) {
|
|
1733
|
+
protocols = [];
|
|
1734
|
+
} else if (Array.isArray(options.protocols)) {
|
|
1735
|
+
protocols = options.protocols;
|
|
1736
|
+
} else {
|
|
1737
|
+
protocols = [options.protocols];
|
|
1738
|
+
}
|
|
1719
1739
|
} else if (!Array.isArray(protocols)) {
|
|
1720
1740
|
if (typeof protocols === "object" && protocols !== null) {
|
|
1721
1741
|
options = protocols;
|
|
1722
|
-
protocols
|
|
1742
|
+
if (options.protocols === undefined) {
|
|
1743
|
+
protocols = [];
|
|
1744
|
+
} else if (Array.isArray(options.protocols)) {
|
|
1745
|
+
protocols = options.protocols;
|
|
1746
|
+
} else {
|
|
1747
|
+
protocols = [options.protocols];
|
|
1748
|
+
}
|
|
1723
1749
|
} else {
|
|
1724
1750
|
protocols = [protocols];
|
|
1725
1751
|
}
|
|
1726
1752
|
}
|
|
1727
|
-
initAsClient(this, address, protocols, options);
|
|
1753
|
+
options = initAsClient(this, address, protocols, options);
|
|
1728
1754
|
} else {
|
|
1729
|
-
this._autoPong = options.autoPong;
|
|
1730
|
-
this._closeTimeout = options.closeTimeout;
|
|
1731
1755
|
this._isServer = true;
|
|
1732
1756
|
}
|
|
1757
|
+
if (options.autoPong) {
|
|
1758
|
+
this._autoPong = true;
|
|
1759
|
+
this._autoPongComplete = () => autoPongComplete(this);
|
|
1760
|
+
this._pendingAutoPongs = 0;
|
|
1761
|
+
this._maxPendingAutoPongs = options.maxPendingAutoPongs | 0;
|
|
1762
|
+
}
|
|
1763
|
+
this._closeTimeout = options.closeTimeout;
|
|
1733
1764
|
}
|
|
1734
1765
|
get binaryType() {
|
|
1735
1766
|
return this._binaryType;
|
|
@@ -1838,7 +1869,6 @@ var require_websocket = __commonJS(function(exports, module) {
|
|
|
1838
1869
|
}
|
|
1839
1870
|
return;
|
|
1840
1871
|
}
|
|
1841
|
-
this._readyState = WebSocket.CLOSING;
|
|
1842
1872
|
this._sender.close(code, data, !this._isServer, (err) => {
|
|
1843
1873
|
if (err)
|
|
1844
1874
|
return;
|
|
@@ -1847,6 +1877,7 @@ var require_websocket = __commonJS(function(exports, module) {
|
|
|
1847
1877
|
this._socket.end();
|
|
1848
1878
|
}
|
|
1849
1879
|
});
|
|
1880
|
+
this._readyState = WebSocket.CLOSING;
|
|
1850
1881
|
setCloseTimer(this);
|
|
1851
1882
|
}
|
|
1852
1883
|
pause() {
|
|
@@ -2023,9 +2054,10 @@ var require_websocket = __commonJS(function(exports, module) {
|
|
|
2023
2054
|
autoPong: true,
|
|
2024
2055
|
closeTimeout: CLOSE_TIMEOUT,
|
|
2025
2056
|
protocolVersion: protocolVersions[1],
|
|
2026
|
-
maxBufferedChunks:
|
|
2027
|
-
maxFragments:
|
|
2057
|
+
maxBufferedChunks: 256 * 1024,
|
|
2058
|
+
maxFragments: 16 * 1024,
|
|
2028
2059
|
maxPayload: 100 * 1024 * 1024,
|
|
2060
|
+
maxPendingAutoPongs: 60,
|
|
2029
2061
|
skipUTF8Validation: false,
|
|
2030
2062
|
perMessageDeflate: true,
|
|
2031
2063
|
followRedirects: false,
|
|
@@ -2034,14 +2066,13 @@ var require_websocket = __commonJS(function(exports, module) {
|
|
|
2034
2066
|
socketPath: undefined,
|
|
2035
2067
|
hostname: undefined,
|
|
2036
2068
|
protocol: undefined,
|
|
2069
|
+
protocols: undefined,
|
|
2037
2070
|
timeout: undefined,
|
|
2038
2071
|
method: "GET",
|
|
2039
2072
|
host: undefined,
|
|
2040
2073
|
path: undefined,
|
|
2041
2074
|
port: undefined
|
|
2042
2075
|
};
|
|
2043
|
-
websocket._autoPong = opts.autoPong;
|
|
2044
|
-
websocket._closeTimeout = opts.closeTimeout;
|
|
2045
2076
|
if (!protocolVersions.includes(opts.protocolVersion)) {
|
|
2046
2077
|
throw new RangeError(`Unsupported protocol version: ${opts.protocolVersion} ` + `(supported versions: ${protocolVersions.join(", ")})`);
|
|
2047
2078
|
}
|
|
@@ -2055,10 +2086,9 @@ var require_websocket = __commonJS(function(exports, module) {
|
|
|
2055
2086
|
throw new SyntaxError(`Invalid URL: ${address}`);
|
|
2056
2087
|
}
|
|
2057
2088
|
}
|
|
2058
|
-
if (parsedUrl.protocol === "http:") {
|
|
2059
|
-
parsedUrl
|
|
2060
|
-
|
|
2061
|
-
parsedUrl.protocol = "wss:";
|
|
2089
|
+
if (parsedUrl.protocol === "http:" || parsedUrl.protocol === "https:") {
|
|
2090
|
+
parsedUrl = new URL(parsedUrl);
|
|
2091
|
+
parsedUrl.protocol = parsedUrl.protocol === "http:" ? "ws:" : "wss:";
|
|
2062
2092
|
}
|
|
2063
2093
|
websocket._url = parsedUrl.href;
|
|
2064
2094
|
const isSecure = parsedUrl.protocol === "wss:";
|
|
@@ -2125,12 +2155,19 @@ var require_websocket = __commonJS(function(exports, module) {
|
|
|
2125
2155
|
}
|
|
2126
2156
|
}
|
|
2127
2157
|
if (parsedUrl.username || parsedUrl.password) {
|
|
2128
|
-
|
|
2158
|
+
const username = querystring.unescape(parsedUrl.username);
|
|
2159
|
+
const password = querystring.unescape(parsedUrl.password);
|
|
2160
|
+
opts.auth = `${username}:${password}`;
|
|
2129
2161
|
}
|
|
2130
2162
|
if (isIpcUrl) {
|
|
2131
|
-
const
|
|
2132
|
-
|
|
2133
|
-
|
|
2163
|
+
const i = opts.path.indexOf(":");
|
|
2164
|
+
if (i === -1) {
|
|
2165
|
+
opts.socketPath = opts.path;
|
|
2166
|
+
opts.path = "";
|
|
2167
|
+
} else {
|
|
2168
|
+
opts.socketPath = opts.path.slice(0, i);
|
|
2169
|
+
opts.path = opts.path.slice(i + 1);
|
|
2170
|
+
}
|
|
2134
2171
|
}
|
|
2135
2172
|
let req;
|
|
2136
2173
|
if (opts.followRedirects) {
|
|
@@ -2274,6 +2311,7 @@ var require_websocket = __commonJS(function(exports, module) {
|
|
|
2274
2311
|
} else {
|
|
2275
2312
|
req.end();
|
|
2276
2313
|
}
|
|
2314
|
+
return opts;
|
|
2277
2315
|
}
|
|
2278
2316
|
function emitErrorAndClose(websocket, err) {
|
|
2279
2317
|
websocket._readyState = WebSocket.CLOSING;
|
|
@@ -2325,8 +2363,13 @@ var require_websocket = __commonJS(function(exports, module) {
|
|
|
2325
2363
|
function receiverOnConclude(code, reason) {
|
|
2326
2364
|
const websocket = this[kWebSocket];
|
|
2327
2365
|
websocket._closeFrameReceived = true;
|
|
2328
|
-
websocket._closeMessage = reason;
|
|
2329
2366
|
websocket._closeCode = code;
|
|
2367
|
+
if (reason.length === 0) {
|
|
2368
|
+
websocket._closeMessage = EMPTY_BUFFER;
|
|
2369
|
+
} else {
|
|
2370
|
+
websocket._closeMessage = Buffer.allocUnsafeSlow(reason.length);
|
|
2371
|
+
websocket._closeMessage.set(reason);
|
|
2372
|
+
}
|
|
2330
2373
|
if (websocket._socket[kWebSocket] === undefined)
|
|
2331
2374
|
return;
|
|
2332
2375
|
websocket._socket.removeListener("data", socketOnData);
|
|
@@ -2361,10 +2404,19 @@ var require_websocket = __commonJS(function(exports, module) {
|
|
|
2361
2404
|
}
|
|
2362
2405
|
function receiverOnPing(data) {
|
|
2363
2406
|
const websocket = this[kWebSocket];
|
|
2364
|
-
if (websocket._autoPong)
|
|
2365
|
-
websocket.
|
|
2407
|
+
if (websocket._autoPong && websocket.readyState === WebSocket.OPEN) {
|
|
2408
|
+
if (websocket._maxPendingAutoPongs > 0 && websocket._pendingAutoPongs >= websocket._maxPendingAutoPongs) {
|
|
2409
|
+
websocket.terminate();
|
|
2410
|
+
} else {
|
|
2411
|
+
websocket._pendingAutoPongs++;
|
|
2412
|
+
websocket.pong(data, !this._isServer, websocket._autoPongComplete);
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2366
2415
|
websocket.emit("ping", data);
|
|
2367
2416
|
}
|
|
2417
|
+
function autoPongComplete(websocket) {
|
|
2418
|
+
websocket._pendingAutoPongs--;
|
|
2419
|
+
}
|
|
2368
2420
|
function receiverOnPong(data) {
|
|
2369
2421
|
this[kWebSocket].emit("pong", data);
|
|
2370
2422
|
}
|
|
@@ -2600,9 +2652,10 @@ var require_websocket_server = __commonJS(function(exports, module) {
|
|
|
2600
2652
|
options = {
|
|
2601
2653
|
allowSynchronousEvents: true,
|
|
2602
2654
|
autoPong: true,
|
|
2603
|
-
maxBufferedChunks:
|
|
2604
|
-
maxFragments:
|
|
2655
|
+
maxBufferedChunks: 256 * 1024,
|
|
2656
|
+
maxFragments: 16 * 1024,
|
|
2605
2657
|
maxPayload: 100 * 1024 * 1024,
|
|
2658
|
+
maxPendingAutoPongs: 60,
|
|
2606
2659
|
skipUTF8Validation: false,
|
|
2607
2660
|
perMessageDeflate: false,
|
|
2608
2661
|
handleProtocols: null,
|
|
@@ -2888,18 +2941,4 @@ var require_websocket_server = __commonJS(function(exports, module) {
|
|
|
2888
2941
|
}
|
|
2889
2942
|
});
|
|
2890
2943
|
|
|
2891
|
-
|
|
2892
|
-
var import_stream, import_extension, import_permessage_deflate, import_receiver, import_sender, import_subprotocol, import_websocket, import_websocket_server, wrapper_default;
|
|
2893
|
-
var init_wrapper2 = __esm(() => {
|
|
2894
|
-
import_stream = __toESM(require_stream(), 1);
|
|
2895
|
-
import_extension = __toESM(require_extension(), 1);
|
|
2896
|
-
import_permessage_deflate = __toESM(require_permessage_deflate(), 1);
|
|
2897
|
-
import_receiver = __toESM(require_receiver(), 1);
|
|
2898
|
-
import_sender = __toESM(require_sender(), 1);
|
|
2899
|
-
import_subprotocol = __toESM(require_subprotocol(), 1);
|
|
2900
|
-
import_websocket = __toESM(require_websocket(), 1);
|
|
2901
|
-
import_websocket_server = __toESM(require_websocket_server(), 1);
|
|
2902
|
-
wrapper_default = import_websocket.default;
|
|
2903
|
-
});
|
|
2904
|
-
|
|
2905
|
-
export { import_websocket, import_websocket_server, wrapper_default, init_wrapper2 };
|
|
2944
|
+
export { require_permessage_deflate, require_receiver, require_sender, require_extension, require_websocket, require_stream, require_subprotocol, require_websocket_server };
|
|
@@ -7,8 +7,10 @@ import {
|
|
|
7
7
|
can,
|
|
8
8
|
init_can,
|
|
9
9
|
getAgentById2,
|
|
10
|
+
init_agents,
|
|
10
11
|
WorkflowReplayStateError,
|
|
11
12
|
init_workflow_replay,
|
|
13
|
+
getWorkflowRunPrincipalRow,
|
|
12
14
|
getRunLineageBlock,
|
|
13
15
|
getWorkflowRunStatus,
|
|
14
16
|
getChildWorkflowRunId,
|
|
@@ -39,39 +41,39 @@ import {
|
|
|
39
41
|
getLatestStepForNode2,
|
|
40
42
|
getCurrentStepForNode2,
|
|
41
43
|
init_db4
|
|
42
|
-
} from "./cli-
|
|
44
|
+
} from "./cli-zrm0610v.js";
|
|
43
45
|
import {
|
|
44
46
|
ConfigQuestionSettingsSchema,
|
|
45
47
|
normalizeApprovalQuestions,
|
|
46
48
|
init_approval_config_question,
|
|
47
49
|
dispatchApprovalNotifications2,
|
|
48
50
|
init_approval_notifications
|
|
49
|
-
} from "./cli-
|
|
51
|
+
} from "./cli-cczffwak.js";
|
|
50
52
|
import {
|
|
51
53
|
resolveCredential,
|
|
52
54
|
init_credentials
|
|
53
|
-
} from "./cli-
|
|
55
|
+
} from "./cli-z209g721.js";
|
|
54
56
|
import {
|
|
55
57
|
isSlackConfigured,
|
|
56
58
|
init_config5
|
|
57
|
-
} from "./cli-
|
|
59
|
+
} from "./cli-ntmjzyte.js";
|
|
58
60
|
import {
|
|
59
61
|
DEFAULT_MODEL
|
|
60
62
|
} from "./cli-jjzxsk47.js";
|
|
61
63
|
import {
|
|
62
64
|
selectCredential,
|
|
63
65
|
init_credentials2
|
|
64
|
-
} from "./cli-
|
|
65
|
-
import {
|
|
66
|
-
deepInterpolate,
|
|
67
|
-
init_template2
|
|
68
|
-
} from "./cli-24wervhz.js";
|
|
66
|
+
} from "./cli-w81s97bn.js";
|
|
69
67
|
import {
|
|
70
68
|
DEFAULT_OPENROUTER_BASE_URL,
|
|
71
69
|
getOpenRouterBaseUrl,
|
|
72
70
|
getOpenRouterAttributionHeaders,
|
|
73
71
|
init_openrouter_base_url
|
|
74
72
|
} from "./cli-dfyv0jdy.js";
|
|
73
|
+
import {
|
|
74
|
+
deepInterpolate,
|
|
75
|
+
init_template2
|
|
76
|
+
} from "./cli-aktk3qt6.js";
|
|
75
77
|
import {
|
|
76
78
|
init_zod
|
|
77
79
|
} from "./cli-96234j5w.js";
|
|
@@ -107,7 +109,7 @@ import {
|
|
|
107
109
|
isSensitiveKey,
|
|
108
110
|
scrubSecrets,
|
|
109
111
|
init_secret_scrubber
|
|
110
|
-
} from "./cli-
|
|
112
|
+
} from "./cli-7qkbab03.js";
|
|
111
113
|
import {
|
|
112
114
|
__esm
|
|
113
115
|
} from "./cli-242037k3.js";
|
|
@@ -120,7 +122,7 @@ async function notifyAutomationPreflightFailure(preflight) {
|
|
|
120
122
|
return;
|
|
121
123
|
}
|
|
122
124
|
try {
|
|
123
|
-
const { getSlackApp } = await import("./app-
|
|
125
|
+
const { getSlackApp } = await import("./app-wax6qz5e.js");
|
|
124
126
|
const app = getSlackApp();
|
|
125
127
|
if (!app) {
|
|
126
128
|
console.warn("[Automation Preflight] Slack not available, cannot send notification");
|
|
@@ -1645,8 +1647,8 @@ function validateAnswer(id, field, raw) {
|
|
|
1645
1647
|
const ok = raw.value.every((item) => field.items === "number" ? isFiniteNumber(item) : typeof item === "string");
|
|
1646
1648
|
if (!ok)
|
|
1647
1649
|
fail(`${at}.value items must all be ${field.items === "number" ? "numbers" : "strings"}`);
|
|
1648
|
-
if (raw.spans !== undefined) {
|
|
1649
|
-
if (!Array.isArray(raw.spans) || !raw.spans.every(isSpan)) {
|
|
1650
|
+
if (raw.spans !== undefined && raw.spans !== null) {
|
|
1651
|
+
if (!Array.isArray(raw.spans) || !raw.spans.every((s) => s === null || isSpan(s))) {
|
|
1650
1652
|
fail(`${at}.spans must be a list of [start, end] offsets`);
|
|
1651
1653
|
}
|
|
1652
1654
|
answer.spans = raw.spans;
|
|
@@ -1685,7 +1687,7 @@ function validateAnswer(id, field, raw) {
|
|
|
1685
1687
|
}
|
|
1686
1688
|
default:
|
|
1687
1689
|
checkScalar(at, field, raw.value);
|
|
1688
|
-
if (raw.span !== undefined) {
|
|
1690
|
+
if (raw.span !== undefined && raw.span !== null) {
|
|
1689
1691
|
if (!isSpan(raw.span))
|
|
1690
1692
|
fail(`${at}.span must be [start, end] offsets`);
|
|
1691
1693
|
answer.span = raw.span;
|
|
@@ -1983,7 +1985,7 @@ var init_system_one_extraction = __esm(() => {
|
|
|
1983
1985
|
p_null: UnitInterval.optional(),
|
|
1984
1986
|
confidence: UnitInterval.optional(),
|
|
1985
1987
|
span: Span.optional(),
|
|
1986
|
-
spans: array2(Span).optional(),
|
|
1988
|
+
spans: array2(Span.nullable()).optional(),
|
|
1987
1989
|
unit: string2().optional(),
|
|
1988
1990
|
mean: union3([Point, array2(Point)]).optional(),
|
|
1989
1991
|
median: union3([Point, array2(Point)]).optional(),
|
|
@@ -3239,6 +3241,37 @@ function withSaveWarnings(text, warnings) {
|
|
|
3239
3241
|
}
|
|
3240
3242
|
var init_readiness = () => {};
|
|
3241
3243
|
|
|
3244
|
+
// src/workflows/run-principal.ts
|
|
3245
|
+
async function decideWorkflowRunPrincipal(workflow, triggeredByAgentId) {
|
|
3246
|
+
const creator = workflow?.createdByAgentId;
|
|
3247
|
+
if (!creator)
|
|
3248
|
+
return { ok: true, agentId: triggeredByAgentId ?? undefined };
|
|
3249
|
+
const editor = workflow.updatedByAgentId;
|
|
3250
|
+
if (!editor || editor === creator || (await getAgentById2(editor))?.isLead) {
|
|
3251
|
+
return { ok: true, agentId: creator };
|
|
3252
|
+
}
|
|
3253
|
+
return {
|
|
3254
|
+
ok: false,
|
|
3255
|
+
error: `workflow "${workflow.name}" was last edited by agent ${editor}, not by its creator ${creator}, when this run started. ` + "Its swarm-script and sub-workflow nodes run as the creator, so they stay blocked until the creator or a lead saves the workflow and a new run starts."
|
|
3256
|
+
};
|
|
3257
|
+
}
|
|
3258
|
+
async function resolveWorkflowRunPrincipal(liveWorkflow, runId) {
|
|
3259
|
+
const row = await getWorkflowRunPrincipalRow(runId);
|
|
3260
|
+
if (!row?.principal)
|
|
3261
|
+
return decideWorkflowRunPrincipal(liveWorkflow, row?.triggeredByAgentId);
|
|
3262
|
+
try {
|
|
3263
|
+
const stored = JSON.parse(row.principal);
|
|
3264
|
+
if (stored.ok === true || stored.ok === false && typeof stored.error === "string") {
|
|
3265
|
+
return stored;
|
|
3266
|
+
}
|
|
3267
|
+
} catch {}
|
|
3268
|
+
return { ok: false, error: "the run's stored principal is unreadable" };
|
|
3269
|
+
}
|
|
3270
|
+
var init_run_principal = __esm(() => {
|
|
3271
|
+
init_agents();
|
|
3272
|
+
init_workflow_runs();
|
|
3273
|
+
});
|
|
3274
|
+
|
|
3242
3275
|
// src/workflows/successor-routing.ts
|
|
3243
3276
|
function add(runId, delta) {
|
|
3244
3277
|
const next = (owed.get(runId) ?? 0) + delta;
|
|
@@ -3505,6 +3538,7 @@ async function createRunWithInitialState(workflow, triggerData, options, initial
|
|
|
3505
3538
|
}
|
|
3506
3539
|
const state = !initial.status && workflow.cooldown && await shouldSkipCooldown(workflow.id, workflow.cooldown) ? { status: "skipped", error: "cooldown", finishedAt: new Date().toISOString() } : initial;
|
|
3507
3540
|
const definitionHash = await pinWorkflowDefinition2(pinSource);
|
|
3541
|
+
const principal = await decideWorkflowRunPrincipal(pinSource, options.triggeredByAgentId);
|
|
3508
3542
|
await createWorkflowRun2({
|
|
3509
3543
|
id: runId,
|
|
3510
3544
|
workflowId: workflow.id,
|
|
@@ -3514,7 +3548,8 @@ async function createRunWithInitialState(workflow, triggerData, options, initial
|
|
|
3514
3548
|
parentStepId,
|
|
3515
3549
|
parentStepAttempt: parentStepId ? attempt : undefined,
|
|
3516
3550
|
triggeredByAgentId: options.triggeredByAgentId,
|
|
3517
|
-
definitionHash
|
|
3551
|
+
definitionHash,
|
|
3552
|
+
principal: JSON.stringify(principal)
|
|
3518
3553
|
});
|
|
3519
3554
|
await updateWorkflowRun2(runId, state.status ? { status: state.status, error: state.error, finishedAt: state.finishedAt } : { context: state.context });
|
|
3520
3555
|
const preflightAlert = state.status === "failed" && state.preflight ? await isFirstWorkflowPreflightFailureToday(workflow.id, runId) : undefined;
|
|
@@ -3903,7 +3938,7 @@ async function runClaimedStep(def, runId, ctx, node, registry, existingStep, ste
|
|
|
3903
3938
|
const interpolatedConfig = interpolatedValue;
|
|
3904
3939
|
const executionCtx = { ...ctx, ...interpolationCtx };
|
|
3905
3940
|
if (scriptBodyUnresolved && scriptBodyUnresolved.length > 0) {
|
|
3906
|
-
const errorMsg = scriptBodyInterpolationError(node.id, scriptBodyUnresolved);
|
|
3941
|
+
const errorMsg = scriptBodyInterpolationError(node.id, scriptBodyUnresolved, node.type);
|
|
3907
3942
|
await checkpointStepFailure(runId, stepId, errorMsg, 0, undefined, { fence });
|
|
3908
3943
|
return { outcome: "failed", successors: [] };
|
|
3909
3944
|
}
|
|
@@ -3972,7 +4007,7 @@ async function runClaimedStep(def, runId, ctx, node, registry, existingStep, ste
|
|
|
3972
4007
|
}
|
|
3973
4008
|
const waiting = await checkpointStepWaiting(runId, stepId, ctx);
|
|
3974
4009
|
if (waiting && result.waitFor === "workflow.child.finished") {
|
|
3975
|
-
const { resumeFromChildRun } = await import("./resume-
|
|
4010
|
+
const { resumeFromChildRun } = await import("./resume-gwgtp4m3.js");
|
|
3976
4011
|
await resumeFromChildRun(stepId, registry);
|
|
3977
4012
|
}
|
|
3978
4013
|
return { outcome: waiting ? "waiting" : "completed", successors: [] };
|
|
@@ -4141,14 +4176,15 @@ function interpolateNodeConfig(node, interpolationCtx) {
|
|
|
4141
4176
|
unresolved: [...configResult.unresolved, ...questionsResult.unresolved]
|
|
4142
4177
|
};
|
|
4143
4178
|
}
|
|
4144
|
-
|
|
4145
|
-
|
|
4179
|
+
const sourceField = EXECUTABLE_SOURCE_FIELDS.get(node.type);
|
|
4180
|
+
if (sourceField !== undefined && typeof node.config[sourceField] === "string") {
|
|
4181
|
+
const { [sourceField]: script, ...configWithoutScript } = node.config;
|
|
4146
4182
|
const restResult = deepInterpolate(configWithoutScript, interpolationCtx);
|
|
4147
4183
|
const scriptResult = deepInterpolate(script, buildScriptBodyCtx(node, interpolationCtx));
|
|
4148
4184
|
return {
|
|
4149
4185
|
value: {
|
|
4150
4186
|
...restResult.value,
|
|
4151
|
-
|
|
4187
|
+
[sourceField]: scriptResult.unresolved.length > 0 ? script : scriptResult.value
|
|
4152
4188
|
},
|
|
4153
4189
|
unresolved: [...restResult.unresolved, ...scriptResult.unresolved],
|
|
4154
4190
|
scriptBodyUnresolved: scriptResult.unresolved
|
|
@@ -4168,11 +4204,15 @@ function interpolateNodeConfig(node, interpolationCtx) {
|
|
|
4168
4204
|
unresolved: [...configResult.unresolved, ...argsResult.unresolved]
|
|
4169
4205
|
};
|
|
4170
4206
|
}
|
|
4171
|
-
function scriptBodyInterpolationError(nodeId, tokens) {
|
|
4207
|
+
function scriptBodyInterpolationError(nodeId, tokens, nodeType = "script") {
|
|
4172
4208
|
const renderedTokens = [...new Set(tokens)].map((token) => `{{${token}}}`).join(", ");
|
|
4209
|
+
const field = EXECUTABLE_SOURCE_FIELDS.get(nodeType);
|
|
4210
|
+
if (nodeType !== "script" && field !== undefined) {
|
|
4211
|
+
return `Executable source interpolation failed for node "${nodeId}" (config.${field}): unresolved or disallowed token(s): ${renderedTokens}. Executable source may interpolate only input, workflow, swarm, or run values. ` + (nodeType === "wait" ? "Match trigger or upstream values with the object form of config.filter, whose values interpolate as data." : "Read trigger, alias, item, or upstream values at runtime from the function's input argument.");
|
|
4212
|
+
}
|
|
4173
4213
|
return `Script body interpolation failed for node "${nodeId}": unresolved or disallowed token(s): ${renderedTokens}. Executable source may interpolate only input, workflow, swarm, or run values. Pass dynamic trigger or upstream values through config.args and read them from argv. Inline script nodes also support config.env for environment variables.`;
|
|
4174
4214
|
}
|
|
4175
|
-
var TriggerSchemaError, ParentStepNotCurrentError, activeWalks, executingSteps, SCRIPT_BODY_ALLOWED_SOURCES, SYSTEM_ONE_DATA_FIELDS;
|
|
4215
|
+
var TriggerSchemaError, ParentStepNotCurrentError, activeWalks, executingSteps, SCRIPT_BODY_ALLOWED_SOURCES, EXECUTABLE_SOURCE_FIELDS, SYSTEM_ONE_DATA_FIELDS;
|
|
4176
4216
|
var init_engine = __esm(() => {
|
|
4177
4217
|
init_automation_preflight_alert();
|
|
4178
4218
|
init_automation_preflight();
|
|
@@ -4193,6 +4233,7 @@ var init_engine = __esm(() => {
|
|
|
4193
4233
|
init_limits();
|
|
4194
4234
|
init_node_timeout();
|
|
4195
4235
|
init_readiness();
|
|
4236
|
+
init_run_principal();
|
|
4196
4237
|
init_successor_routing();
|
|
4197
4238
|
init_template();
|
|
4198
4239
|
init_validation();
|
|
@@ -4213,6 +4254,11 @@ var init_engine = __esm(() => {
|
|
|
4213
4254
|
activeWalks = new Map;
|
|
4214
4255
|
executingSteps = new Set;
|
|
4215
4256
|
SCRIPT_BODY_ALLOWED_SOURCES = new Set(["input", "workflow", "swarm", "run"]);
|
|
4257
|
+
EXECUTABLE_SOURCE_FIELDS = new Map([
|
|
4258
|
+
["script", "script"],
|
|
4259
|
+
["code-match", "code"],
|
|
4260
|
+
["wait", "filter"]
|
|
4261
|
+
]);
|
|
4216
4262
|
SYSTEM_ONE_DATA_FIELDS = new Set(["state", "questions", "fields", "images"]);
|
|
4217
4263
|
});
|
|
4218
4264
|
|
|
@@ -4493,7 +4539,7 @@ async function runForeachDrive(runId, parentNodeId, registry) {
|
|
|
4493
4539
|
if (drive.successors.length > 0) {
|
|
4494
4540
|
await walkGraph(workflow.definition, runId, ctx, drive.successors, registry, workflow.id, getSecretInputKeys(workflow.input), { successorDebt: debt });
|
|
4495
4541
|
} else {
|
|
4496
|
-
const { finalizeOrWait } = await import("./resume-
|
|
4542
|
+
const { finalizeOrWait } = await import("./resume-gwgtp4m3.js");
|
|
4497
4543
|
await finalizeOrWait(runId);
|
|
4498
4544
|
}
|
|
4499
4545
|
return drive;
|
|
@@ -4587,7 +4633,7 @@ async function startChild(input) {
|
|
|
4587
4633
|
if (interpolation.scriptBodyUnresolved && interpolation.scriptBodyUnresolved.length > 0) {
|
|
4588
4634
|
return {
|
|
4589
4635
|
status: "failed",
|
|
4590
|
-
error: scriptBodyInterpolationError(child.nodeId, interpolation.scriptBodyUnresolved)
|
|
4636
|
+
error: scriptBodyInterpolationError(child.nodeId, interpolation.scriptBodyUnresolved, bodyNode.type)
|
|
4591
4637
|
};
|
|
4592
4638
|
}
|
|
4593
4639
|
if (interpolation.strictUnresolved && interpolation.strictUnresolved.length > 0) {
|
|
@@ -4631,7 +4677,7 @@ async function startChild(input) {
|
|
|
4631
4677
|
const parked = await getDbClient2().get("UPDATE workflow_run_steps SET status = 'waiting' WHERE id = ? AND status = 'running' RETURNING id", [child.id]);
|
|
4632
4678
|
if (parked && result.waitFor === "workflow.child.finished") {
|
|
4633
4679
|
ownedChildren.delete(child.id);
|
|
4634
|
-
const { resumeFromChildRun } = await import("./resume-
|
|
4680
|
+
const { resumeFromChildRun } = await import("./resume-gwgtp4m3.js");
|
|
4635
4681
|
await resumeFromChildRun(child.id, registry);
|
|
4636
4682
|
}
|
|
4637
4683
|
return null;
|
|
@@ -5290,4 +5336,4 @@ var init_definition2 = __esm(() => {
|
|
|
5290
5336
|
init_foreach_body();
|
|
5291
5337
|
});
|
|
5292
5338
|
|
|
5293
|
-
export { notifyAutomationPreflightFailure, init_automation_preflight_alert, automationIntegrationFixUrl, isNeedsSetupFailure, preflightAutomation, renderAutomationTokens, getAutomationSetupStates, schedulePreflightInput, listEnabledAutomationPreflightInputs, recordSchedulePreflightFailure, setupIntegrationFlags, init_automation_preflight, BaseExecutor, init_base, HumanInTheLoopExecutor, init_human_in_the_loop, resolveWorkflowLlmConfig, init_workflow_llm, SYSTEM_ONE_PROVIDER_IDS, init_system_one_providers, SystemOneExtractionExecutor, init_system_one_extraction, SYSTEM_ONE_DECISION_NODE_TYPE, SystemOneDecisionConfigSchema, SystemOneDecisionExecutor, init_system_one_decision, adoptStoredContext, checkpointStep, checkpointStepFailure, checkpointStepWaiting, init_checkpoint, FAILED_TASK_OUTPUT_PREFIX, FOREACH_ITEMS_WAIT_FOR, init_constants, loadCompletedStepRouting, init_completed_step_routing, resolveInputValue, serverRefInputKeys, serverRefInputDeniedMessage, agentMaySetServerRefInput, getSecretInputKeys, init_input, validateJsonSchema, findJsonSchemaShapeErrors, init_json_schema_validator, getMaxWorkflowStepsPerRun, init_limits, runWithNodeDeadline, init_node_timeout, findWorkflowReadinessProblems, formatReadinessProblems, workflowSaveWarnings, withSaveWarnings, init_readiness, hasOwedSuccessors, claimAndOweWalk, init_successor_routing, init_template, validateOutputSchema, runStepValidation, init_validation, TriggerSchemaError, startWorkflowExecution2, ParentStepNotCurrentError, failRunOnUnreadableReplay, isWorkflowRunActive, isStepExecuting, holdWorkflowRun, walkGraph, hasRunningStep, findReadyNodes, scriptBodyInterpolationError, init_engine, ForeachExecutor, init_foreach, rebuildNodeExecutionInput, init_step_input, isForeachChildOwned, parkAndDriveForeach, startForeachDrive, runForeachDrive, init_foreach_driver, FOREACH_TERMINAL_STEP_STATUSES, isRetryPending, parseSyntheticNodeId, resolveForeachParent, settleForeachChild, init_foreach_join, resolveStepNode, stepFailureMode, init_foreach_body, getNextTargets, generateEdges, resolveValidationPort, getSuccessors, definitionNodeIds, validateDefinition, applyDefinitionPatch, init_definition2 };
|
|
5339
|
+
export { notifyAutomationPreflightFailure, init_automation_preflight_alert, automationIntegrationFixUrl, isNeedsSetupFailure, preflightAutomation, renderAutomationTokens, getAutomationSetupStates, schedulePreflightInput, listEnabledAutomationPreflightInputs, recordSchedulePreflightFailure, setupIntegrationFlags, init_automation_preflight, BaseExecutor, init_base, HumanInTheLoopExecutor, init_human_in_the_loop, resolveWorkflowLlmConfig, init_workflow_llm, SYSTEM_ONE_PROVIDER_IDS, init_system_one_providers, SystemOneExtractionExecutor, init_system_one_extraction, SYSTEM_ONE_DECISION_NODE_TYPE, SystemOneDecisionConfigSchema, SystemOneDecisionExecutor, init_system_one_decision, adoptStoredContext, checkpointStep, checkpointStepFailure, checkpointStepWaiting, init_checkpoint, FAILED_TASK_OUTPUT_PREFIX, FOREACH_ITEMS_WAIT_FOR, init_constants, loadCompletedStepRouting, init_completed_step_routing, resolveInputValue, serverRefInputKeys, serverRefInputDeniedMessage, agentMaySetServerRefInput, getSecretInputKeys, init_input, validateJsonSchema, findJsonSchemaShapeErrors, init_json_schema_validator, getMaxWorkflowStepsPerRun, init_limits, runWithNodeDeadline, init_node_timeout, findWorkflowReadinessProblems, formatReadinessProblems, workflowSaveWarnings, withSaveWarnings, init_readiness, resolveWorkflowRunPrincipal, init_run_principal, hasOwedSuccessors, claimAndOweWalk, init_successor_routing, init_template, validateOutputSchema, runStepValidation, init_validation, TriggerSchemaError, startWorkflowExecution2, ParentStepNotCurrentError, failRunOnUnreadableReplay, isWorkflowRunActive, isStepExecuting, holdWorkflowRun, walkGraph, hasRunningStep, findReadyNodes, scriptBodyInterpolationError, init_engine, ForeachExecutor, init_foreach, rebuildNodeExecutionInput, init_step_input, isForeachChildOwned, parkAndDriveForeach, startForeachDrive, runForeachDrive, init_foreach_driver, FOREACH_TERMINAL_STEP_STATUSES, isRetryPending, parseSyntheticNodeId, resolveForeachParent, settleForeachChild, init_foreach_join, resolveStepNode, stepFailureMode, init_foreach_body, getNextTargets, generateEdges, resolveValidationPort, getSuccessors, definitionNodeIds, validateDefinition, applyDefinitionPatch, init_definition2 };
|