@desplega.ai/agent-swarm 2.14.1 → 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-7jv7w8jh.js → acp-adapter-q1vz4hh2.js} +8 -8
- package/dist/{acp-targets-0ebmg3et.js → acp-targets-d44eerh4.js} +7 -7
- package/dist/{actions-0ds9dx6c.js → actions-z4k4bvss.js} +27 -27
- package/dist/{agent-fs-provision-zpbxa9jc.js → agent-fs-provision-aan1cgpx.js} +4 -4
- package/dist/{amp-adapter-awh5nn7a.js → amp-adapter-wac3py0p.js} +1 -1
- package/dist/{anthropic-messages-gtgp9r85.js → anthropic-messages-njt2r5m4.js} +16 -15
- package/dist/{app-nzejkvpp.js → app-wax6qz5e.js} +9 -9
- package/dist/{approval-notifications-hbqtb2w3.js → approval-notifications-6fvkhnma.js} +10 -10
- package/dist/{assistant-1paft129.js → assistant-e8fe08zx.js} +25 -25
- package/dist/{azure-openai-responses-e76k86gf.js → azure-openai-responses-6ewf9rwp.js} +9 -9
- package/dist/{boot-args-schema-zs435mfx.js → boot-args-schema-rv97cmnt.js} +1 -1
- package/dist/{boot-reembed-91qrd4mz.js → boot-reembed-bcn7frk9.js} +1 -1
- package/dist/{boot-reembed-7xq2qgg4.js → boot-reembed-xakrdy6y.js} +1 -1
- package/dist/{boot-scrub-sweep-3h5xscw6.js → boot-scrub-sweep-20t8akhf.js} +2 -2
- package/dist/{boot-seeds-xkxqa8zc.js → boot-seeds-48rr6r29.js} +4 -4
- package/dist/{boxd-464x3w4m.js → boxd-tjpxwecx.js} +2 -2
- package/dist/{claude-adapter-6d8eyf2f.js → claude-adapter-0wzwntrj.js} +8 -8
- package/dist/{claude-managed-adapter-jzxcaf9m.js → claude-managed-adapter-4xcgt46w.js} +2 -2
- package/dist/{claude-managed-setup-5fcx0qh3.js → claude-managed-setup-91cyktw7.js} +5 -5
- package/dist/{claude-sdk-session-11vhz1hc.js → claude-sdk-session-ngj4dce5.js} +9658 -9634
- package/dist/{cli-hamdfjtx.js → cli-021hrewp.js} +1 -1
- package/dist/{cli-pgdqhdkw.js → cli-0kyjrbaa.js} +2 -2
- package/dist/{cli-132h67ps.js → cli-0nz04gqv.js} +48 -48
- package/dist/{cli-6a77m17n.js → cli-0rrft7s3.js} +2 -2
- package/dist/{cli-z0effej1.js → cli-1d9q7qrn.js} +5 -5
- package/dist/{cli-tdd9dvw6.js → cli-1t5vhrpv.js} +1 -1
- package/dist/{cli-zyf288rw.js → cli-2ja7eadd.js} +1 -1
- package/dist/{cli-k9m8fckz.js → cli-3ffzr65w.js} +4 -4
- package/dist/{cli-02ba8qx5.js → cli-3kdgm393.js} +4 -4
- package/dist/{cli-hh5m39pt.js → cli-3vc518cw.js} +1 -1
- package/dist/{cli-5pyes68e.js → cli-5188hq0a.js} +8 -8
- package/dist/{cli-zcghfsdg.js → cli-53gt8wfv.js} +1 -1
- package/dist/{cli-5t00r6c9.js → cli-5njmmmer.js} +2 -2
- package/dist/{cli-etykr11s.js → cli-5rw7nt99.js} +1 -1
- package/dist/{cli-6c61yjwy.js → cli-5xx353cy.js} +7554 -1534
- package/dist/{cli-by7s3n4p.js → cli-65k149j5.js} +2 -2
- package/dist/{cli-1e13gvfn.js → cli-6zpn5hmp.js} +11 -11
- package/dist/{cli-rb1z91g8.js → cli-7dpdq7yh.js} +1230 -540
- package/dist/{cli-3bagv8rt.js → cli-7wwewkf4.js} +1 -1
- package/dist/{cli-288k5ep1.js → cli-83hynhes.js} +15 -11
- package/dist/{cli-v84kb7af.js → cli-8ee7xt75.js} +11 -11
- package/dist/{cli-v3jxx8dv.js → cli-8ef94zm2.js} +2 -2
- package/dist/{cli-9fvk9mv8.js → cli-8gr1bg9t.js} +1 -1
- package/dist/{cli-vrb8pvrf.js → cli-9j1qcs0b.js} +6 -6
- package/dist/{cli-0dkpdvnn.js → cli-9mvfvggt.js} +5 -5
- package/dist/{cli-3bcsc3m7.js → cli-an8bpy60.js} +1 -1
- package/dist/{cli-6yhjqd6k.js → cli-azptj8xe.js} +810 -184
- package/dist/{cli-3a3hm1z8.js → cli-c0rt16vk.js} +2 -2
- package/dist/{cli-byzq8xht.js → cli-c6vhcknq.js} +6 -6
- package/dist/{cli-eaqxkeq0.js → cli-cczffwak.js} +8 -8
- package/dist/{cli-83kf2y60.js → cli-cgmka83w.js} +6 -6
- package/dist/{cli-5xjdft4s.js → cli-d13qgcct.js} +207 -142
- package/dist/{cli-k3facve0.js → cli-d5nvy1jy.js} +1 -1
- package/dist/{cli-zvsy4abb.js → cli-dev6f0px.js} +3 -3
- package/dist/{cli-e1wprqnd.js → cli-dzhht0vq.js} +2 -2
- package/dist/{cli-zdkcp8p0.js → cli-e13kbyq0.js} +1 -1
- package/dist/{cli-f07sgaax.js → cli-e2k0ej0d.js} +2 -2
- package/dist/{cli-dt931hb8.js → cli-ek8b88kv.js} +21 -21
- package/dist/{cli-20mkgwev.js → cli-ertcjw6z.js} +249 -19
- package/dist/{cli-0qyfna7a.js → cli-f3ta4e67.js} +4 -4
- package/dist/{cli-6xrbpj5j.js → cli-f4xv7s0t.js} +4 -4
- package/dist/{cli-d1zkys4j.js → cli-fdam1t9b.js} +29 -13
- package/dist/{cli-spfz393q.js → cli-feh37wgs.js} +598 -219
- package/dist/{cli-ebqx630g.js → cli-fjzjtqna.js} +35 -18
- package/dist/{cli-zgsd2w2k.js → cli-fs9t2m2k.js} +16 -16
- package/dist/{cli-trvtxwzt.js → cli-g03x26q6.js} +2 -2
- package/dist/{cli-0mq8kxfx.js → cli-gnkzh8ed.js} +3 -3
- package/dist/{cli-phantfg3.js → cli-gy0r7gb8.js} +40 -15
- package/dist/{cli-wsh5vfa7.js → cli-h364asjc.js} +2 -2
- package/dist/{cli-3ktfe5jx.js → cli-h3xcfp4c.js} +22 -7
- package/dist/{cli-976m0zcw.js → cli-h8k5801a.js} +49 -13
- package/dist/{cli-727sq1f9.js → cli-h96yp7xv.js} +2 -2
- package/dist/{cli-ytgtqsy9.js → cli-hab0bvrh.js} +1 -1
- package/dist/{cli-7dwsn9y5.js → cli-j3wqt73b.js} +4 -4
- package/dist/{cli-8kemtj1r.js → cli-jfgaz10x.js} +7 -7
- package/dist/{cli-wtwe8vng.js → cli-jrhvywah.js} +25 -24
- package/dist/{cli-tjrrabez.js → cli-jrxt5j0n.js} +3 -3
- package/dist/{cli-7b7rxz22.js → cli-jw7n9pct.js} +5 -2
- package/dist/{cli-k791mabe.js → cli-k9kfck3s.js} +5 -5
- package/dist/{cli-44r66df2.js → cli-kkwq5b12.js} +1 -1
- package/dist/{cli-e9p9h14n.js → cli-nc842kc9.js} +4 -4
- package/dist/{cli-3179w2rz.js → cli-nmj4phcg.js} +1 -1
- package/dist/{cli-ny8f5g7t.js → cli-praaw1wh.js} +1 -1
- package/dist/{cli-j8fmn3wv.js → cli-q44p4869.js} +7 -7
- package/dist/{cli-sq32dgfe.js → cli-q58qt9dw.js} +237 -57
- package/dist/{cli-2n7qdqfv.js → cli-qqz5z36e.js} +2 -2
- package/dist/{cli-b70cpf8f.js → cli-r7rpy2xz.js} +1 -1
- package/dist/{cli-1hj68b3h.js → cli-rcqgr0hs.js} +1 -1
- package/dist/{cli-ph95yejc.js → cli-rjc464jg.js} +2 -2
- package/dist/{cli-967jrz7j.js → cli-rw3m83j4.js} +15 -15
- package/dist/{cli-0vxbrxr3.js → cli-rwcj6wt3.js} +304 -19
- package/dist/{cli-yvnnyjxm.js → cli-ryn4y478.js} +1 -1
- package/dist/{cli-3g0vbq46.js → cli-s48k2rzx.js} +3 -3
- package/dist/{cli-98sea4d9.js → cli-s90wcbk9.js} +2 -2
- package/dist/{cli-e2wzzw17.js → cli-svcy72s5.js} +1 -1
- package/dist/{cli-643skca1.js → cli-swtwbg85.js} +17 -17
- package/dist/{cli-4y2bekkn.js → cli-t1bqpzgz.js} +2 -2
- package/dist/{cli-zmfs06hg.js → cli-t5jbjq61.js} +3 -3
- package/dist/{cli-mz7ycqn8.js → cli-td2h8zej.js} +6 -6
- package/dist/{cli-9t7syepg.js → cli-ttatvwn6.js} +1 -1
- package/dist/{cli-v1rhq77v.js → cli-txxcf9s1.js} +6 -6
- package/dist/{cli-q4z9s6zs.js → cli-v7az4d1g.js} +2 -2
- package/dist/cli-vqt44168.js +14 -0
- package/dist/{cli-tkrp183j.js → cli-vs9h3vw2.js} +5 -5
- package/dist/{cli-7abeph0b.js → cli-w2fg8kjc.js} +3 -3
- package/dist/{cli-sf5kp73f.js → cli-wz7qj1jy.js} +12 -12
- package/dist/{cli-ww8wxfzx.js → cli-x5t54ytt.js} +2 -2
- package/dist/{cli-nmdy8bzf.js → cli-xphbv66z.js} +1 -1
- package/dist/{cli-redtbppc.js → cli-xxgqn93n.js} +3753 -1186
- package/dist/{cli-s7bfz1ye.js → cli-z209g721.js} +109 -85
- package/dist/{cli-vp2ksaq9.js → cli-z5andw8k.js} +1 -1
- package/dist/{cli-xmc2nrtv.js → cli-zr2sc5tr.js} +1 -1
- package/dist/{cli-z0c98h7h.js → cli-zrm0610v.js} +61 -54
- package/dist/cli.js +41 -40
- package/dist/{cloudflare-workers-ai-system-one-w3m0fbf8.js → cloudflare-workers-ai-system-one-kb0tq22h.js} +2 -2
- package/dist/{codex-adapter-seht4h9t.js → codex-adapter-0c1ynrmt.js} +5 -5
- package/dist/{codex-session-runner-tq95x3gq.js → codex-session-runner-z4t9z7yy.js} +5 -5
- package/dist/{commands-0awwqxq5.js → commands-h0jxqdhk.js} +3 -3
- package/dist/{controller-hgjx521c.js → controller-4ygy66hv.js} +3 -3
- package/dist/{controllers-connect-j4kdmhfj.js → controllers-connect-ynbvv8pv.js} +26 -26
- package/dist/core-mj9fzrcm.js +41 -0
- package/dist/{cursor-adapter-0rg8wk6j.js → cursor-adapter-9e4d6658.js} +1 -1
- package/dist/{db-8xs2js3s.js → db-bg0hxjq1.js} +3 -3
- package/dist/{db-dd6hj211.js → db-q12gmpns.js} +2 -2
- package/dist/{devtools-b8qts77k.js → devtools-t8my9az6.js} +1 -1
- package/dist/{dispatcher-v7drd034.js → dispatcher-v5dbfscq.js} +23 -23
- package/dist/{dsh-adapter-ah8npj2x.js → dsh-adapter-z3fneea1.js} +1 -1
- package/dist/{e2b-z1g7vpz6.js → e2b-k3kb8b52.js} +3 -3
- package/dist/{e2b-hg80w0qr.js → e2b-p269awh6.js} +4 -4
- package/dist/{easter-egg-3d-8n4w3s9k.js → easter-egg-3d-y49v5z90.js} +1 -1
- package/dist/{embedding-space-0p921zt3.js → embedding-space-mjt5ksq0.js} +5 -5
- package/dist/{embeddings-9s7kbrc6.js → embeddings-td9hgnc5.js} +1 -1
- package/dist/{execute-x0fy9j0m.js → execute-z8nc8bba.js} +1 -1
- package/dist/{external-channel-ktfvn29c.js → external-channel-pjenc2ag.js} +2 -2
- package/dist/{fx-adapter-15vjxvgm.js → fx-adapter-pjeztp0n.js} +9 -9
- 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-nzndg246.js → google-generative-ai-tf3w7557.js} +11 -16
- package/dist/{google-vertex-ragh3nnw.js → google-vertex-9pj87bd8.js} +15 -17
- package/dist/{grok-adapter-77httan0.js → grok-adapter-davbhx8t.js} +9 -9
- package/dist/handlers-rf130hnp.js +39 -0
- package/dist/{heartbeat-5yaj6dym.js → heartbeat-9hmvqxk0.js} +26 -26
- package/dist/{hook-c99nycyh.js → hook-0b1jqs2t.js} +6 -6
- package/dist/{hook-2jttae8s.js → hook-1n0sjv8p.js} +7 -7
- package/dist/{http-7y9dbfrr.js → http-vykejyjx.js} +412 -183
- package/dist/{index-tcegcysh.js → index-07d66kdm.js} +5 -5
- package/dist/{index-fqf82sbk.js → index-0hgjxqz8.js} +1 -1
- package/dist/{index-t274qhhs.js → index-0nt39qwy.js} +6 -6
- package/dist/{index-8p03vx1h.js → index-2xbxq71g.js} +8 -8
- package/dist/{index-jvfp0j47.js → index-3j8hffkb.js} +12038 -7667
- package/dist/index-8w09aggw.js +43 -0
- package/dist/{index-xhp7yp3t.js → index-b3wy4jzs.js} +1 -1
- package/dist/{index-6g9rdcrj.js → index-dt9vr7tb.js} +162 -57
- package/dist/{index-cw8nxnba.js → index-ezfas4jj.js} +1912 -346
- package/dist/index-g2jntx15.js +38 -0
- package/dist/{index-h9xnzfhx.js → index-j6sqtb83.js} +101 -72
- package/dist/{index-m6g8q65g.js → index-na0tczq0.js} +9268 -10220
- package/dist/{index-tn1m3q9b.js → index-p9dkwhwe.js} +3 -3
- package/dist/{index-g7rthzrv.js → index-pe2etczf.js} +8 -8
- package/dist/index-qffex5k4.js +41 -0
- package/dist/index-qrp11tp9.js +4 -0
- package/dist/{index-t4n9z755.js → index-ryyrg0d8.js} +406 -317
- package/dist/{index-t17p395x.js → index-sf06w57a.js} +13 -13
- package/dist/{index-qxcfv8vq.js → index-vybnwd5v.js} +1 -1
- package/dist/{index-dm7c6hw5.js → index-wsf1f5pe.js} +27 -27
- package/dist/{keepalive-7eyb8y4t.js → keepalive-86z0tzzf.js} +3 -3
- package/dist/lead-edmwagkn.js +81 -0
- package/dist/{llama-cpp-classify-yvb8vh7w.js → llama-cpp-classify-wd7htn1x.js} +2 -2
- package/dist/{maintenance-tdrd8nwv.js → maintenance-19h6tfwz.js} +1 -1
- package/dist/{mistral-conversations-w4bncwbt.js → mistral-conversations-txjmc64f.js} +7 -7
- package/dist/{module-ES6BEMUI-6htewwha.js → module-ES6BEMUI-44w9s1dx.js} +4 -4
- package/dist/{multipart-parser-xevcstye.js → multipart-parser-xqbgwrav.js} +1 -1
- package/dist/{oauth-refresh-sweep-f4c7g37h.js → oauth-refresh-sweep-6nmyrv32.js} +2 -2
- package/dist/{object-webhooks-p190rdxp.js → object-webhooks-2kynmdf8.js} +7 -7
- package/dist/{onboard-56h4sks6.js → onboard-zbpm96mn.js} +5 -5
- package/dist/{openai-codex-responses-z2h941b8.js → openai-codex-responses-6ckhys6r.js} +31 -25
- package/dist/{openai-completions-5bxdkeg9.js → openai-completions-c9dsq9jh.js} +17 -17
- package/dist/{openai-decisions-fyq1p9f9.js → openai-decisions-9vzvv10c.js} +2 -2
- package/dist/{openai-responses-dzf3e8r5.js → openai-responses-bhfmt9sa.js} +9 -9
- package/dist/{opencode-adapter-xg3yxfr0.js → opencode-adapter-fyqcbdra.js} +5 -5
- package/dist/{openrouter-images-0jj12a2q.js → openrouter-images-hkk5p580.js} +3 -3
- package/dist/otel-impl-txa20w1h.js +11178 -0
- package/dist/{pending-xgv316w0.js → pending-4rxawq8y.js} +24 -24
- package/dist/{pi-messages-zk3g4esn.js → pi-messages-py3f96p7.js} +5 -5
- package/dist/{pi-mono-adapter-txe0syzb.js → pi-mono-adapter-rnsed1xa.js} +14 -14
- package/dist/{pricing-refresh-041zpyhf.js → pricing-refresh-4314hwtw.js} +2 -2
- package/dist/{rbac-roles-8f3jbcaf.js → rbac-roles-fztcm8ky.js} +2 -2
- package/dist/{rbac-roles-cw7rrw5b.js → rbac-roles-msqt7a3k.js} +3 -3
- package/dist/{render-v2-2ezw4mzt.js → render-v2-w49wtecg.js} +9 -9
- package/dist/{resume-p14wdx8m.js → resume-gwgtp4m3.js} +12 -12
- package/dist/{runtime-he7c9g1r.js → runtime-kkebz8yq.js} +1 -1
- package/dist/{session-access-8jvq86fj.js → session-access-kjb19m2w.js} +5 -5
- package/dist/{session-source-backfill-6fe3hcgb.js → session-source-backfill-805p4wqr.js} +2 -2
- package/dist/{setup-6v0bn4r1.js → setup-q8y168c8.js} +3 -3
- package/dist/thread-buffer-yqbffd0t.js +40 -0
- package/dist/{tree-visibility-g1a8ff4r.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-vjsps179.js → user-merge-jobs-qfp40f2s.js} +3 -3
- package/dist/{virtual-modules-mreda4fp.js → virtual-modules-nzxegw0a.js} +7 -7
- package/dist/{work-objects-hfw15e35.js → work-objects-hs089w60.js} +25 -25
- package/dist/{worker-follow-up-gbaz2ydz.js → worker-follow-up-zwgg20sr.js} +23 -23
- package/dist/worker-kg4g7rnx.js +81 -0
- package/openapi.json +3 -3
- package/package.json +25 -24
- 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/workflow-runs.ts +12 -8
- package/src/be/db.ts +4 -1
- package/src/be/migrations/367_workflow_run_principal.sql +5 -0
- package/src/be/swarm-config-guard.ts +3 -0
- package/src/be/task-auto-title-listener.ts +2 -2
- package/src/commands/onboard/agent-fs-version.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 +3 -0
- 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/page-proxy.ts +16 -0
- package/src/http/pages.ts +9 -0
- package/src/http/poll.ts +1 -0
- package/src/http/pricing.ts +2 -0
- package/src/http/prompt-templates.ts +34 -0
- package/src/http/schedules.ts +10 -0
- 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 +17 -0
- 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/providers/amp-adapter.ts +1 -1
- package/src/rbac/legacy-policy.ts +2 -0
- package/src/rbac/permissions.ts +5 -0
- package/src/scripts-runtime/quickjs-compat.ts +44 -10
- package/src/slack/render-v2.ts +50 -23
- package/src/slack/reviewed-deliverables.ts +251 -0
- 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/e2b-dispatch.test.ts +7 -1
- package/src/tests/otel-event-loop-and-logs.test.ts +1 -1
- package/src/tests/quickjs-compat.test.ts +40 -4
- package/src/tests/rbac-route-verbs-e2e.test.ts +142 -0
- 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/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/utils/constants.ts +5 -4
- package/src/utils/task-citations.ts +11 -0
- package/src/workflows/engine.ts +5 -0
- package/src/workflows/executors/sub-workflow.ts +5 -7
- package/src/workflows/executors/swarm-script.ts +4 -5
- package/src/workflows/resume.ts +21 -4
- package/src/workflows/run-principal.ts +51 -0
- package/src/x402/client.ts +38 -17
- package/templates/skills/code-quality/content.md +1 -1
- package/templates/skills/pages/content.md +36 -12
- package/templates/skills/swarm-docs/content.md +46 -41
- package/templates/skills/swarm-scripts/SKILL.md +1 -1
- package/templates/skills/swarm-scripts/content.md +1 -1
- package/dist/cli-547fsc36.js +0 -15
- package/dist/cli-dr6x9qdk.js +0 -15
- package/dist/cli-h5cveb69.js +0 -15
- package/dist/cli-jngvszex.js +0 -1514
- package/dist/cli-p0g0erm9.js +0 -15
- package/dist/cli-ph1jce1b.js +0 -16
- package/dist/cli-vxxdf2ma.js +0 -15
- package/dist/cli-x80zagf5.js +0 -15
- package/dist/core-8fw1gwg7.js +0 -41
- package/dist/getMachineId-bsd-2rd3pnz7.js +0 -36
- package/dist/getMachineId-bsd-3p48mkt1.js +0 -36
- package/dist/getMachineId-bsd-bk6tmeen.js +0 -36
- package/dist/getMachineId-bsd-pssqgwmm.js +0 -37
- package/dist/getMachineId-bsd-v218x3xd.js +0 -36
- package/dist/getMachineId-bsd-wbxcazef.js +0 -36
- package/dist/getMachineId-bsd-x0942pbz.js +0 -36
- package/dist/getMachineId-darwin-5qsy4qcg.js +0 -36
- package/dist/getMachineId-darwin-6v7zsshx.js +0 -37
- package/dist/getMachineId-darwin-fcc3fjag.js +0 -36
- package/dist/getMachineId-darwin-pg84hftj.js +0 -36
- package/dist/getMachineId-darwin-tyyevt26.js +0 -36
- package/dist/getMachineId-darwin-wagmbf0d.js +0 -36
- package/dist/getMachineId-darwin-zvkmwr3y.js +0 -36
- package/dist/getMachineId-linux-2ncg1epd.js +0 -29
- package/dist/getMachineId-linux-2tmt2ptc.js +0 -29
- package/dist/getMachineId-linux-empwyp2y.js +0 -29
- package/dist/getMachineId-linux-fanqd45b.js +0 -29
- package/dist/getMachineId-linux-h6fyga0x.js +0 -29
- package/dist/getMachineId-linux-tbhgz1k9.js +0 -29
- package/dist/getMachineId-linux-zrbyw7dt.js +0 -29
- package/dist/getMachineId-unsupported-29g9dkgv.js +0 -19
- package/dist/getMachineId-unsupported-8xfq8djv.js +0 -19
- package/dist/getMachineId-unsupported-8y9cag1p.js +0 -19
- package/dist/getMachineId-unsupported-a6sjrm02.js +0 -19
- package/dist/getMachineId-unsupported-bp3w7ds0.js +0 -19
- package/dist/getMachineId-unsupported-sj6fk8sw.js +0 -19
- package/dist/getMachineId-unsupported-v0p5gdxp.js +0 -19
- package/dist/getMachineId-win-hc996p0x.js +0 -38
- package/dist/getMachineId-win-msq9ad87.js +0 -38
- package/dist/getMachineId-win-tajyqwd6.js +0 -38
- package/dist/getMachineId-win-tzc163da.js +0 -38
- package/dist/getMachineId-win-xdaa0mgq.js +0 -38
- package/dist/getMachineId-win-xk6p98m5.js +0 -38
- package/dist/getMachineId-win-xtk658fm.js +0 -38
- package/dist/handlers-c1jp5b6h.js +0 -39
- package/dist/index-7dwh9kxh.js +0 -41
- package/dist/index-wp9tarbt.js +0 -43
- package/dist/index-z6np2405.js +0 -38
- package/dist/lead-50cgn8s1.js +0 -81
- package/dist/otel-impl-kepzgm4n.js +0 -55386
- package/dist/thread-buffer-8860v1ta.js +0 -40
- package/dist/worker-hkm8ftqp.js +0 -81
- /package/dist/{node-gbx1t3pa.js → node-q4628t0b.js} +0 -0
|
@@ -116,7 +116,6 @@ import {
|
|
|
116
116
|
updateAgentStatusFromCapacity2,
|
|
117
117
|
buildRoutingAffinityFromAgent2,
|
|
118
118
|
isAgentEligibleForTask2,
|
|
119
|
-
getWorkflowRunTriggeredByAgentId,
|
|
120
119
|
getWorkflowRunSummary,
|
|
121
120
|
getWorkflowRunStepsSlimByRunId,
|
|
122
121
|
getRunLineageBlock,
|
|
@@ -420,23 +419,23 @@ import {
|
|
|
420
419
|
recordInlineScriptRun2,
|
|
421
420
|
exports_db,
|
|
422
421
|
init_db4
|
|
423
|
-
} from "./cli-
|
|
422
|
+
} from "./cli-zrm0610v.js";
|
|
424
423
|
import {
|
|
425
424
|
assertMayActOnOperatorGrantedTarget2,
|
|
426
425
|
getUserGrant2,
|
|
427
426
|
init_rbac_roles
|
|
428
|
-
} from "./cli-
|
|
427
|
+
} from "./cli-x5t54ytt.js";
|
|
429
428
|
import {
|
|
430
429
|
ensurePricingSeeded2,
|
|
431
430
|
ensureRbacSeeded2,
|
|
432
431
|
ensureModelProfilesSeeded2,
|
|
433
432
|
init_boot_seeds
|
|
434
|
-
} from "./cli-
|
|
433
|
+
} from "./cli-jrxt5j0n.js";
|
|
435
434
|
import {
|
|
436
435
|
requestModelCatalogRefresh2,
|
|
437
436
|
startPricingRefreshLoop2,
|
|
438
437
|
init_pricing_refresh
|
|
439
|
-
} from "./cli-
|
|
438
|
+
} from "./cli-svcy72s5.js";
|
|
440
439
|
import {
|
|
441
440
|
workflowEventBus2,
|
|
442
441
|
init_event_bus
|
|
@@ -449,11 +448,11 @@ import {
|
|
|
449
448
|
externalChannelToolError2,
|
|
450
449
|
getChannelBlockReason2,
|
|
451
450
|
init_external_channel
|
|
452
|
-
} from "./cli-
|
|
451
|
+
} from "./cli-2ja7eadd.js";
|
|
453
452
|
import {
|
|
454
453
|
tableToAscii2,
|
|
455
|
-
|
|
456
|
-
} from "./cli-
|
|
454
|
+
init_dist8
|
|
455
|
+
} from "./cli-0rrft7s3.js";
|
|
457
456
|
import {
|
|
458
457
|
noteSlackInboundSideEffect,
|
|
459
458
|
init_inbound_dispatch,
|
|
@@ -501,7 +500,7 @@ import {
|
|
|
501
500
|
standardComponentDefinitions,
|
|
502
501
|
CardSpecError,
|
|
503
502
|
toCard,
|
|
504
|
-
|
|
503
|
+
init_dist5,
|
|
505
504
|
validateTaskUiSpec,
|
|
506
505
|
init_validate2,
|
|
507
506
|
ensure,
|
|
@@ -515,7 +514,7 @@ import {
|
|
|
515
514
|
startSlackApp2,
|
|
516
515
|
stopSlackAppUnderLifecycleLock2,
|
|
517
516
|
init_app4
|
|
518
|
-
} from "./cli-
|
|
517
|
+
} from "./cli-q58qt9dw.js";
|
|
519
518
|
import {
|
|
520
519
|
AGENT_MAX_TASKS_CONFIG_KEY,
|
|
521
520
|
resetAgentMaxTasksMirror,
|
|
@@ -536,7 +535,7 @@ import {
|
|
|
536
535
|
postApprovalCancellationUpdates2,
|
|
537
536
|
createApprovalFollowUpTask2,
|
|
538
537
|
init_approval_notifications
|
|
539
|
-
} from "./cli-
|
|
538
|
+
} from "./cli-cczffwak.js";
|
|
540
539
|
import {
|
|
541
540
|
shapeApprovalResolution,
|
|
542
541
|
init_approval_resolution,
|
|
@@ -562,7 +561,7 @@ import {
|
|
|
562
561
|
resumeFromChildRun2,
|
|
563
562
|
initWaitBusSubscriptions2,
|
|
564
563
|
init_resume
|
|
565
|
-
} from "./cli-
|
|
564
|
+
} from "./cli-fdam1t9b.js";
|
|
566
565
|
import {
|
|
567
566
|
getFileStorageProvider2,
|
|
568
567
|
init_registry2
|
|
@@ -570,7 +569,7 @@ import {
|
|
|
570
569
|
import {
|
|
571
570
|
getRuntimePool2,
|
|
572
571
|
init_db2
|
|
573
|
-
} from "./cli-
|
|
572
|
+
} from "./cli-f3ta4e67.js";
|
|
574
573
|
import {
|
|
575
574
|
duplicateGuardedQueryKey,
|
|
576
575
|
parseQueryParams,
|
|
@@ -603,7 +602,7 @@ import {
|
|
|
603
602
|
findRoute,
|
|
604
603
|
route,
|
|
605
604
|
init_route_def
|
|
606
|
-
} from "./cli-
|
|
605
|
+
} from "./cli-c6vhcknq.js";
|
|
607
606
|
import {
|
|
608
607
|
COMPOSIO_HTTP_METHODS,
|
|
609
608
|
executeComposioRequest,
|
|
@@ -614,10 +613,6 @@ import {
|
|
|
614
613
|
object,
|
|
615
614
|
init_v4_mini
|
|
616
615
|
} from "./cli-vbppqvte.js";
|
|
617
|
-
import {
|
|
618
|
-
addMinutes,
|
|
619
|
-
init_date_fns
|
|
620
|
-
} from "./cli-wqb4sdt1.js";
|
|
621
616
|
import {
|
|
622
617
|
getMemoryRaterNames,
|
|
623
618
|
init_memory_raters,
|
|
@@ -627,6 +622,10 @@ import {
|
|
|
627
622
|
LlmRater,
|
|
628
623
|
init_llm
|
|
629
624
|
} from "./cli-bmqp0ser.js";
|
|
625
|
+
import {
|
|
626
|
+
addMinutes,
|
|
627
|
+
init_date_fns
|
|
628
|
+
} from "./cli-wqb4sdt1.js";
|
|
630
629
|
import {
|
|
631
630
|
require_dist,
|
|
632
631
|
ConnectionAuthInputSchema,
|
|
@@ -711,7 +710,7 @@ import {
|
|
|
711
710
|
init_typecheck,
|
|
712
711
|
parseSkillContent,
|
|
713
712
|
init_skill_parser
|
|
714
|
-
} from "./cli-
|
|
713
|
+
} from "./cli-gy0r7gb8.js";
|
|
715
714
|
import {
|
|
716
715
|
detachedProcessGroup,
|
|
717
716
|
registerProcessGroup,
|
|
@@ -726,7 +725,7 @@ import {
|
|
|
726
725
|
ensureToken,
|
|
727
726
|
ensureTokenOrThrow,
|
|
728
727
|
init_ensure_token
|
|
729
|
-
} from "./cli-
|
|
728
|
+
} from "./cli-e13kbyq0.js";
|
|
730
729
|
import {
|
|
731
730
|
A1Error,
|
|
732
731
|
colName,
|
|
@@ -761,11 +760,14 @@ import {
|
|
|
761
760
|
listObjects,
|
|
762
761
|
reindexObjects,
|
|
763
762
|
init_objects
|
|
764
|
-
} from "./cli-
|
|
763
|
+
} from "./cli-s48k2rzx.js";
|
|
765
764
|
import {
|
|
766
765
|
agentFsClientFor,
|
|
767
766
|
init_agent_fs_identity
|
|
768
|
-
} from "./cli-
|
|
767
|
+
} from "./cli-an8bpy60.js";
|
|
768
|
+
import {
|
|
769
|
+
require_fast_deep_equal
|
|
770
|
+
} from "./cli-bhp11egn.js";
|
|
769
771
|
import {
|
|
770
772
|
FilesError,
|
|
771
773
|
providerPath,
|
|
@@ -779,10 +781,7 @@ import {
|
|
|
779
781
|
isSlackLeaveThreadDisabled,
|
|
780
782
|
leaveSlackThread,
|
|
781
783
|
init_left_threads
|
|
782
|
-
} from "./cli-
|
|
783
|
-
import {
|
|
784
|
-
require_fast_deep_equal
|
|
785
|
-
} from "./cli-bhp11egn.js";
|
|
784
|
+
} from "./cli-ryn4y478.js";
|
|
786
785
|
import {
|
|
787
786
|
notifyAutomationPreflightFailure,
|
|
788
787
|
init_automation_preflight_alert,
|
|
@@ -831,6 +830,8 @@ import {
|
|
|
831
830
|
workflowSaveWarnings,
|
|
832
831
|
withSaveWarnings,
|
|
833
832
|
init_readiness,
|
|
833
|
+
resolveWorkflowRunPrincipal,
|
|
834
|
+
init_run_principal,
|
|
834
835
|
hasOwedSuccessors,
|
|
835
836
|
init_successor_routing,
|
|
836
837
|
init_template,
|
|
@@ -866,7 +867,7 @@ import {
|
|
|
866
867
|
validateDefinition,
|
|
867
868
|
applyDefinitionPatch,
|
|
868
869
|
init_definition2
|
|
869
|
-
} from "./cli-
|
|
870
|
+
} from "./cli-h8k5801a.js";
|
|
870
871
|
import {
|
|
871
872
|
isMultiRuntimeEnabled,
|
|
872
873
|
init_multi_runtime2
|
|
@@ -882,19 +883,19 @@ import {
|
|
|
882
883
|
import {
|
|
883
884
|
require_dist2
|
|
884
885
|
} from "./cli-xf1wn5ns.js";
|
|
885
|
-
import {
|
|
886
|
-
canProvisionKind,
|
|
887
|
-
init_runtime_providers
|
|
888
|
-
} from "./cli-pgdqhdkw.js";
|
|
889
886
|
import {
|
|
890
887
|
getApiKey,
|
|
891
888
|
init_api_key
|
|
892
889
|
} from "./cli-pax9q4ff.js";
|
|
890
|
+
import {
|
|
891
|
+
canProvisionKind,
|
|
892
|
+
init_runtime_providers
|
|
893
|
+
} from "./cli-0kyjrbaa.js";
|
|
893
894
|
import {
|
|
894
895
|
getSessionRoot,
|
|
895
896
|
sessionAccessForRoot,
|
|
896
897
|
init_session_shares
|
|
897
|
-
} from "./cli-
|
|
898
|
+
} from "./cli-3vc518cw.js";
|
|
898
899
|
import {
|
|
899
900
|
findUserById,
|
|
900
901
|
findUserByExternalId,
|
|
@@ -909,13 +910,7 @@ import {
|
|
|
909
910
|
resolveSessionToken,
|
|
910
911
|
fingerprintApiKey,
|
|
911
912
|
init_users
|
|
912
|
-
} from "./cli-
|
|
913
|
-
import {
|
|
914
|
-
AMP_ESTIMATE_MODELS,
|
|
915
|
-
ampBillsCacheWrites,
|
|
916
|
-
resolveAmpModel,
|
|
917
|
-
init_amp_models
|
|
918
|
-
} from "./cli-nmdy8bzf.js";
|
|
913
|
+
} from "./cli-praaw1wh.js";
|
|
919
914
|
import {
|
|
920
915
|
resolveGitHubHost,
|
|
921
916
|
getGitHubLinkConfig,
|
|
@@ -923,6 +918,12 @@ import {
|
|
|
923
918
|
githubApiUrl,
|
|
924
919
|
init_github_host
|
|
925
920
|
} from "./cli-9ttx00s3.js";
|
|
921
|
+
import {
|
|
922
|
+
AMP_ESTIMATE_MODELS,
|
|
923
|
+
ampBillsCacheWrites,
|
|
924
|
+
resolveAmpModel,
|
|
925
|
+
init_amp_models
|
|
926
|
+
} from "./cli-xphbv66z.js";
|
|
926
927
|
import {
|
|
927
928
|
generateDefaultClaudeMd2,
|
|
928
929
|
generateDefaultSoulMd2,
|
|
@@ -933,7 +934,11 @@ import {
|
|
|
933
934
|
init_task_attachment_links,
|
|
934
935
|
contentSha256,
|
|
935
936
|
init_profile_sync
|
|
936
|
-
} from "./cli-
|
|
937
|
+
} from "./cli-jfgaz10x.js";
|
|
938
|
+
import {
|
|
939
|
+
isSteeringEnabled2,
|
|
940
|
+
init_steering_enabled
|
|
941
|
+
} from "./cli-4sydckyj.js";
|
|
937
942
|
import {
|
|
938
943
|
getSlackConfiguration,
|
|
939
944
|
isSlackConfigured,
|
|
@@ -941,9 +946,24 @@ import {
|
|
|
941
946
|
init_config5
|
|
942
947
|
} from "./cli-ntmjzyte.js";
|
|
943
948
|
import {
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
949
|
+
modelFamilyOf,
|
|
950
|
+
windowForModelFamily,
|
|
951
|
+
init_model_rate_limit_windows,
|
|
952
|
+
keySuffix,
|
|
953
|
+
splitCredentialPool,
|
|
954
|
+
selectCredential,
|
|
955
|
+
init_credentials2
|
|
956
|
+
} from "./cli-w81s97bn.js";
|
|
957
|
+
import {
|
|
958
|
+
findInterpolationTokens,
|
|
959
|
+
interpolate,
|
|
960
|
+
init_template2,
|
|
961
|
+
registerTemplate,
|
|
962
|
+
getTemplateDefinition,
|
|
963
|
+
init_registry3,
|
|
964
|
+
resolveTemplate,
|
|
965
|
+
init_resolver
|
|
966
|
+
} from "./cli-aktk3qt6.js";
|
|
947
967
|
import {
|
|
948
968
|
normalizeAssetKey,
|
|
949
969
|
defaultAssetKey,
|
|
@@ -963,7 +983,7 @@ import {
|
|
|
963
983
|
init_import,
|
|
964
984
|
$OpenAPIRegistry,
|
|
965
985
|
$OpenApiGeneratorV31,
|
|
966
|
-
|
|
986
|
+
init_dist9,
|
|
967
987
|
init_zod_openapi,
|
|
968
988
|
AssetKeySchema,
|
|
969
989
|
ModelTierSchema,
|
|
@@ -1023,26 +1043,7 @@ import {
|
|
|
1023
1043
|
KvNamespaceSchema,
|
|
1024
1044
|
KvKeySchema,
|
|
1025
1045
|
init_types5
|
|
1026
|
-
} from "./cli-
|
|
1027
|
-
import {
|
|
1028
|
-
modelFamilyOf,
|
|
1029
|
-
windowForModelFamily,
|
|
1030
|
-
init_model_rate_limit_windows,
|
|
1031
|
-
keySuffix,
|
|
1032
|
-
splitCredentialPool,
|
|
1033
|
-
selectCredential,
|
|
1034
|
-
init_credentials2
|
|
1035
|
-
} from "./cli-w81s97bn.js";
|
|
1036
|
-
import {
|
|
1037
|
-
findInterpolationTokens,
|
|
1038
|
-
interpolate,
|
|
1039
|
-
init_template2,
|
|
1040
|
-
registerTemplate,
|
|
1041
|
-
getTemplateDefinition,
|
|
1042
|
-
init_registry3,
|
|
1043
|
-
resolveTemplate,
|
|
1044
|
-
init_resolver
|
|
1045
|
-
} from "./cli-aktk3qt6.js";
|
|
1046
|
+
} from "./cli-t5jbjq61.js";
|
|
1046
1047
|
import {
|
|
1047
1048
|
init_zod
|
|
1048
1049
|
} from "./cli-96234j5w.js";
|
|
@@ -1078,7 +1079,6 @@ import {
|
|
|
1078
1079
|
MAX_PROFILE_FILE_LENGTH,
|
|
1079
1080
|
getConfiguredAppUrls,
|
|
1080
1081
|
getAppUrl,
|
|
1081
|
-
getMcpBaseUrl,
|
|
1082
1082
|
getScriptApiBaseUrl,
|
|
1083
1083
|
getPublicMcpBaseUrl,
|
|
1084
1084
|
getAgentFsLiveUrl,
|
|
@@ -1089,10 +1089,6 @@ import {
|
|
|
1089
1089
|
isAgentFsProxyEnabled,
|
|
1090
1090
|
init_constants3
|
|
1091
1091
|
} from "./cli-466jjrwe.js";
|
|
1092
|
-
import {
|
|
1093
|
-
realtimeBus,
|
|
1094
|
-
init_bus
|
|
1095
|
-
} from "./cli-syfdvhkc.js";
|
|
1096
1092
|
import {
|
|
1097
1093
|
parseEnvFlag,
|
|
1098
1094
|
isEnvFlagEnabled,
|
|
@@ -1101,12 +1097,16 @@ import {
|
|
|
1101
1097
|
import {
|
|
1102
1098
|
init_package,
|
|
1103
1099
|
package_default
|
|
1104
|
-
} from "./cli-
|
|
1100
|
+
} from "./cli-jrhvywah.js";
|
|
1105
1101
|
import {
|
|
1106
1102
|
getNodeEnv,
|
|
1107
1103
|
isDevOrTestNodeEnv,
|
|
1108
1104
|
init_node_env
|
|
1109
1105
|
} from "./cli-rgeadyvq.js";
|
|
1106
|
+
import {
|
|
1107
|
+
realtimeBus,
|
|
1108
|
+
init_bus
|
|
1109
|
+
} from "./cli-syfdvhkc.js";
|
|
1110
1110
|
import {
|
|
1111
1111
|
openAICompatibleProviderIds,
|
|
1112
1112
|
init_src2,
|
|
@@ -22345,7 +22345,7 @@ function startRetryPoller(registry, intervalMs = 5000) {
|
|
|
22345
22345
|
if (!waiting)
|
|
22346
22346
|
continue;
|
|
22347
22347
|
if (result.waitFor === "workflow.child.finished") {
|
|
22348
|
-
const { resumeFromChildRun } = await import("./resume-
|
|
22348
|
+
const { resumeFromChildRun } = await import("./resume-gwgtp4m3.js");
|
|
22349
22349
|
await resumeFromChildRun(step.id, registry);
|
|
22350
22350
|
}
|
|
22351
22351
|
} else {
|
|
@@ -23231,7 +23231,7 @@ var init_notify = __esm(() => {
|
|
|
23231
23231
|
}
|
|
23232
23232
|
}
|
|
23233
23233
|
case "slack": {
|
|
23234
|
-
const { getSlackApp } = await import("./app-
|
|
23234
|
+
const { getSlackApp } = await import("./app-wax6qz5e.js");
|
|
23235
23235
|
let app = getSlackApp();
|
|
23236
23236
|
if (!app) {
|
|
23237
23237
|
if (!isSlackConfigured()) {
|
|
@@ -23364,7 +23364,7 @@ var init_property_match = __esm(() => {
|
|
|
23364
23364
|
async function executeRawLlm(config) {
|
|
23365
23365
|
let modelName = config.model ?? "google/gemini-3-flash-preview";
|
|
23366
23366
|
try {
|
|
23367
|
-
const { createOpenAI } = await import("./index-
|
|
23367
|
+
const { createOpenAI } = await import("./index-dt9vr7tb.js");
|
|
23368
23368
|
const llmConfig = await resolveWorkflowLlmConfig(config.model);
|
|
23369
23369
|
modelName = llmConfig.model;
|
|
23370
23370
|
const provider = createOpenAI({
|
|
@@ -23374,7 +23374,7 @@ async function executeRawLlm(config) {
|
|
|
23374
23374
|
});
|
|
23375
23375
|
const model = provider(llmConfig.model);
|
|
23376
23376
|
if (config.schema) {
|
|
23377
|
-
const { generateObject, jsonSchema } = await import("./index-
|
|
23377
|
+
const { generateObject, jsonSchema } = await import("./index-ryyrg0d8.js");
|
|
23378
23378
|
const { object } = await generateObject({
|
|
23379
23379
|
model,
|
|
23380
23380
|
schema: jsonSchema(config.schema),
|
|
@@ -23388,7 +23388,7 @@ async function executeRawLlm(config) {
|
|
|
23388
23388
|
output: { result: object, model: modelName }
|
|
23389
23389
|
};
|
|
23390
23390
|
}
|
|
23391
|
-
const { generateText } = await import("./index-
|
|
23391
|
+
const { generateText } = await import("./index-ryyrg0d8.js");
|
|
23392
23392
|
const { text } = await generateText({
|
|
23393
23393
|
model,
|
|
23394
23394
|
prompt: config.prompt
|
|
@@ -23719,13 +23719,13 @@ async function resolveScriptSource(config, agentId) {
|
|
|
23719
23719
|
var SWARM_SCRIPT_DEFAULT_TIMEOUT_MS, SWARM_SCRIPT_MIN_TIMEOUT_MS, SWARM_SCRIPT_MAX_TIMEOUT_MS, SwarmScriptConfigSchema, SwarmScriptOutputSchema, WORKFLOW_INTERPOLATION_ROOTS, SwarmScriptExecutor;
|
|
23720
23720
|
var init_swarm_script = __esm(() => {
|
|
23721
23721
|
init_zod();
|
|
23722
|
-
init_workflow_runs();
|
|
23723
23722
|
init_script_connections();
|
|
23724
23723
|
init_script_credential_broker();
|
|
23725
23724
|
init_db3();
|
|
23726
23725
|
init_run_credential();
|
|
23727
23726
|
init_types3();
|
|
23728
23727
|
init_template2();
|
|
23728
|
+
init_run_principal();
|
|
23729
23729
|
init_base();
|
|
23730
23730
|
SWARM_SCRIPT_DEFAULT_TIMEOUT_MS = DEFAULT_SCRIPT_RESOURCES.wallClockMs;
|
|
23731
23731
|
SWARM_SCRIPT_MIN_TIMEOUT_MS = MIN_SCRIPT_WALL_CLOCK_MS;
|
|
@@ -23766,7 +23766,10 @@ var init_swarm_script = __esm(() => {
|
|
|
23766
23766
|
id: meta.runId,
|
|
23767
23767
|
workflowId: meta.workflowId
|
|
23768
23768
|
});
|
|
23769
|
-
const
|
|
23769
|
+
const principal = await resolveWorkflowRunPrincipal(workflow, meta.runId);
|
|
23770
|
+
if (!principal.ok)
|
|
23771
|
+
return { status: "failed", error: `swarm-script: ${principal.error}` };
|
|
23772
|
+
const agentId = principal.agentId;
|
|
23770
23773
|
const resolved = await resolveScriptSource(config, agentId);
|
|
23771
23774
|
if (!resolved.ok) {
|
|
23772
23775
|
return { status: "failed", error: resolved.error };
|
|
@@ -23954,8 +23957,8 @@ var init_validate3 = __esm(() => {
|
|
|
23954
23957
|
const interpolatedPrompt = this.deps.interpolate(prompt, context);
|
|
23955
23958
|
const outputStr = typeof targetOutput === "string" ? targetOutput : JSON.stringify(targetOutput);
|
|
23956
23959
|
try {
|
|
23957
|
-
const { createOpenAI } = await import("./index-
|
|
23958
|
-
const { generateObject, jsonSchema } = await import("./index-
|
|
23960
|
+
const { createOpenAI } = await import("./index-dt9vr7tb.js");
|
|
23961
|
+
const { generateObject, jsonSchema } = await import("./index-ryyrg0d8.js");
|
|
23959
23962
|
const llmConfig = await resolveWorkflowLlmConfig();
|
|
23960
23963
|
const provider = createOpenAI({
|
|
23961
23964
|
baseURL: llmConfig.baseURL,
|
|
@@ -26988,7 +26991,7 @@ function setPreloadedTools(server, names) {
|
|
|
26988
26991
|
async function applyPreToolCall(name, args, requestInfo, inputSchema) {
|
|
26989
26992
|
if (requestInfo.callOrigin !== "mcp")
|
|
26990
26993
|
return { args };
|
|
26991
|
-
const dispatcher = await import("./dispatcher-
|
|
26994
|
+
const dispatcher = await import("./dispatcher-v5dbfscq.js");
|
|
26992
26995
|
const result = await dispatcher.dispatchPre("pre.tool.call", { tool: name, args, requestInfo }, inputSchema ? {
|
|
26993
26996
|
validateModify: async (data) => {
|
|
26994
26997
|
const schema = normalizeObjectSchema(inputSchema) ?? inputSchema;
|
|
@@ -27478,7 +27481,8 @@ var init_mcp_bridge = __esm(() => {
|
|
|
27478
27481
|
400: { description: "Invalid tool name or args" },
|
|
27479
27482
|
403: { description: "Tool not in SDK allowlist" },
|
|
27480
27483
|
404: { description: "Tool not found" }
|
|
27481
|
-
}
|
|
27484
|
+
},
|
|
27485
|
+
rbac: { ungated: "scripts SDK bridge: each proxied MCP tool runs its own gates" }
|
|
27482
27486
|
});
|
|
27483
27487
|
});
|
|
27484
27488
|
|
|
@@ -28610,24 +28614,15 @@ async function bridgeVcsEvent(name, data) {
|
|
|
28610
28614
|
reviewState: text(source.state)
|
|
28611
28615
|
}));
|
|
28612
28616
|
}
|
|
28617
|
+
function isExtensionBridgedEvent(name) {
|
|
28618
|
+
return BRIDGED_EVENT_NAMES.has(name) || VCS_PREFIXES.some((prefix) => name.startsWith(prefix));
|
|
28619
|
+
}
|
|
28613
28620
|
function initExtensionPostBridge() {
|
|
28614
28621
|
if (subscribed)
|
|
28615
28622
|
return;
|
|
28616
28623
|
subscribed = true;
|
|
28617
|
-
|
|
28618
|
-
|
|
28619
|
-
workflowEventBus2.on("task.completed", onTaskCompleted);
|
|
28620
|
-
workflowEventBus2.on("task.failed", onTaskFailed);
|
|
28621
|
-
workflowEventBus2.on("task.cancelled", onTaskCancelled);
|
|
28622
|
-
workflowEventBus2.on("task.superseded", onTaskSuperseded);
|
|
28623
|
-
workflowEventBus2.on("task.progress", onTaskProgress);
|
|
28624
|
-
workflowEventBus2.on("slack.message", onSlackMessage);
|
|
28625
|
-
workflowEventBus2.on("approval.resolved", onApprovalResolved);
|
|
28626
|
-
workflowEventBus2.on("task.budget_refused", onTaskBudgetRefused);
|
|
28627
|
-
workflowEventBus2.on("agentmail.message.received", onEmailReceived);
|
|
28628
|
-
workflowEventBus2.on("kapso.message.received", onKapsoMessage);
|
|
28629
|
-
workflowEventBus2.on("chat.message.received", onChatMessageReceived);
|
|
28630
|
-
workflowEventBus2.on("chat.message.sent", onChatMessageSent);
|
|
28624
|
+
for (const [name, handler] of BRIDGED_EVENTS)
|
|
28625
|
+
workflowEventBus2.on(name, handler);
|
|
28631
28626
|
for (const prefix of VCS_PREFIXES)
|
|
28632
28627
|
workflowEventBus2.onPrefix(prefix, onVcsEvent);
|
|
28633
28628
|
}
|
|
@@ -28635,20 +28630,8 @@ function teardownExtensionPostBridge() {
|
|
|
28635
28630
|
if (!subscribed)
|
|
28636
28631
|
return;
|
|
28637
28632
|
subscribed = false;
|
|
28638
|
-
|
|
28639
|
-
|
|
28640
|
-
workflowEventBus2.off("task.completed", onTaskCompleted);
|
|
28641
|
-
workflowEventBus2.off("task.failed", onTaskFailed);
|
|
28642
|
-
workflowEventBus2.off("task.cancelled", onTaskCancelled);
|
|
28643
|
-
workflowEventBus2.off("task.superseded", onTaskSuperseded);
|
|
28644
|
-
workflowEventBus2.off("task.progress", onTaskProgress);
|
|
28645
|
-
workflowEventBus2.off("slack.message", onSlackMessage);
|
|
28646
|
-
workflowEventBus2.off("approval.resolved", onApprovalResolved);
|
|
28647
|
-
workflowEventBus2.off("task.budget_refused", onTaskBudgetRefused);
|
|
28648
|
-
workflowEventBus2.off("agentmail.message.received", onEmailReceived);
|
|
28649
|
-
workflowEventBus2.off("kapso.message.received", onKapsoMessage);
|
|
28650
|
-
workflowEventBus2.off("chat.message.received", onChatMessageReceived);
|
|
28651
|
-
workflowEventBus2.off("chat.message.sent", onChatMessageSent);
|
|
28633
|
+
for (const [name, handler] of BRIDGED_EVENTS)
|
|
28634
|
+
workflowEventBus2.off(name, handler);
|
|
28652
28635
|
for (const prefix of VCS_PREFIXES)
|
|
28653
28636
|
workflowEventBus2.offPrefix(prefix, onVcsEvent);
|
|
28654
28637
|
}
|
|
@@ -28656,7 +28639,7 @@ var subscribed = false, onTaskCreated, onTaskBlocked, onTaskCompleted, onTaskFai
|
|
|
28656
28639
|
bridgeVcsEvent(name, data).catch((error) => {
|
|
28657
28640
|
console.error(`[extensions] ${name} bridge failed:`, scrubSecrets(error instanceof Error ? error.message : String(error)));
|
|
28658
28641
|
});
|
|
28659
|
-
};
|
|
28642
|
+
}, BRIDGED_EVENTS, BRIDGED_EVENT_NAMES;
|
|
28660
28643
|
var init_post_bridge = __esm(() => {
|
|
28661
28644
|
init_db4();
|
|
28662
28645
|
init_secret_scrubber();
|
|
@@ -28828,6 +28811,23 @@ var init_post_bridge = __esm(() => {
|
|
|
28828
28811
|
"pipeline"
|
|
28829
28812
|
]);
|
|
28830
28813
|
VCS_PREFIXES = [...VCS_PROVIDERS].map((provider) => `${provider}.`);
|
|
28814
|
+
BRIDGED_EVENTS = [
|
|
28815
|
+
["task.created", onTaskCreated],
|
|
28816
|
+
["task.create_blocked", onTaskBlocked],
|
|
28817
|
+
["task.completed", onTaskCompleted],
|
|
28818
|
+
["task.failed", onTaskFailed],
|
|
28819
|
+
["task.cancelled", onTaskCancelled],
|
|
28820
|
+
["task.superseded", onTaskSuperseded],
|
|
28821
|
+
["task.progress", onTaskProgress],
|
|
28822
|
+
["slack.message", onSlackMessage],
|
|
28823
|
+
["approval.resolved", onApprovalResolved],
|
|
28824
|
+
["task.budget_refused", onTaskBudgetRefused],
|
|
28825
|
+
["agentmail.message.received", onEmailReceived],
|
|
28826
|
+
["kapso.message.received", onKapsoMessage],
|
|
28827
|
+
["chat.message.received", onChatMessageReceived],
|
|
28828
|
+
["chat.message.sent", onChatMessageSent]
|
|
28829
|
+
];
|
|
28830
|
+
BRIDGED_EVENT_NAMES = new Set(BRIDGED_EVENTS.map(([name]) => name));
|
|
28831
28831
|
});
|
|
28832
28832
|
|
|
28833
28833
|
// src/extensions/lifecycle.ts
|
|
@@ -35020,7 +35020,7 @@ async function loadAdapter(name, config, logger) {
|
|
|
35020
35020
|
const base = { ...config, apiUrl, logger };
|
|
35021
35021
|
switch (name) {
|
|
35022
35022
|
case "telegram": {
|
|
35023
|
-
const { TelegramAdapter } = await import("./index-
|
|
35023
|
+
const { TelegramAdapter } = await import("./index-2xbxq71g.js");
|
|
35024
35024
|
|
|
35025
35025
|
class SwarmTelegramAdapter extends TelegramAdapter {
|
|
35026
35026
|
isBotMentioned(message, text) {
|
|
@@ -35034,7 +35034,7 @@ async function loadAdapter(name, config, logger) {
|
|
|
35034
35034
|
});
|
|
35035
35035
|
}
|
|
35036
35036
|
case "slack": {
|
|
35037
|
-
const { createSlackAdapter } = await import("./index-
|
|
35037
|
+
const { createSlackAdapter } = await import("./index-07d66kdm.js");
|
|
35038
35038
|
return createSlackAdapter({
|
|
35039
35039
|
...base,
|
|
35040
35040
|
signingSecret: config.signingSecret ?? "",
|
|
@@ -35044,7 +35044,7 @@ async function loadAdapter(name, config, logger) {
|
|
|
35044
35044
|
});
|
|
35045
35045
|
}
|
|
35046
35046
|
case "discord": {
|
|
35047
|
-
const { DiscordAdapter } = await import("./index-
|
|
35047
|
+
const { DiscordAdapter } = await import("./index-pe2etczf.js");
|
|
35048
35048
|
|
|
35049
35049
|
class SwarmDiscordAdapter extends DiscordAdapter {
|
|
35050
35050
|
handleGatewayMessage(message, isMentioned) {
|
|
@@ -35066,7 +35066,7 @@ async function loadAdapter(name, config, logger) {
|
|
|
35066
35066
|
});
|
|
35067
35067
|
}
|
|
35068
35068
|
case "teams": {
|
|
35069
|
-
const { createTeamsAdapter } = await import("./index-
|
|
35069
|
+
const { createTeamsAdapter } = await import("./index-ezfas4jj.js");
|
|
35070
35070
|
const { teamsWebhookVerifier, teamsToken } = getChatSdkTestHooks();
|
|
35071
35071
|
return createTeamsAdapter({
|
|
35072
35072
|
...base,
|
|
@@ -35075,7 +35075,7 @@ async function loadAdapter(name, config, logger) {
|
|
|
35075
35075
|
});
|
|
35076
35076
|
}
|
|
35077
35077
|
case "rocketchat": {
|
|
35078
|
-
const { createRocketChatAdapter } = await import("./index-
|
|
35078
|
+
const { createRocketChatAdapter } = await import("./index-0nt39qwy.js");
|
|
35079
35079
|
const { apiUrl: _apiUrl, ...rest } = base;
|
|
35080
35080
|
return createRocketChatAdapter({
|
|
35081
35081
|
...rest,
|
|
@@ -35289,7 +35289,7 @@ async function readPersistedThreadHistory(threadId) {
|
|
|
35289
35289
|
const rows = await new SqliteChatState().getList(`${SDK_THREAD_HISTORY_PREFIX}${threadId}`);
|
|
35290
35290
|
if (rows.length === 0)
|
|
35291
35291
|
return [];
|
|
35292
|
-
const { Message: MessageClass } = await import("./index-
|
|
35292
|
+
const { Message: MessageClass } = await import("./index-p9dkwhwe.js");
|
|
35293
35293
|
return rows.map((row) => MessageClass.fromJSON(row));
|
|
35294
35294
|
}
|
|
35295
35295
|
var SDK_THREAD_HISTORY_PREFIX = "msg-history:";
|
|
@@ -36333,7 +36333,7 @@ function render(node) {
|
|
|
36333
36333
|
}
|
|
36334
36334
|
}
|
|
36335
36335
|
var init_message_text2 = __esm(() => {
|
|
36336
|
-
|
|
36336
|
+
init_dist8();
|
|
36337
36337
|
});
|
|
36338
36338
|
|
|
36339
36339
|
// src/integrations/chat-sdk/limits.ts
|
|
@@ -37862,7 +37862,7 @@ async function stopChatRelayWatcher() {
|
|
|
37862
37862
|
}
|
|
37863
37863
|
var RELAY_GIVE_UP_AFTER_MS, SWEEP_EVERY_N_TICKS = 20, EARLY_TICK_DEBOUNCE_MS = 250, TELEGRAM_FOLD_CHARS = 1000, FOLD_LEAD_MAX_CHARS = 280, FOLD_MARKUP_CHARS = 80, interval, earlyTick, processing, stopController, tickCount = 0, TERMINAL_EVENTS;
|
|
37864
37864
|
var init_relay = __esm(() => {
|
|
37865
|
-
|
|
37865
|
+
init_dist5();
|
|
37866
37866
|
init_db4();
|
|
37867
37867
|
init_task_ui_spec2();
|
|
37868
37868
|
init_reaction_events();
|
|
@@ -37968,7 +37968,7 @@ async function startChatSdk() {
|
|
|
37968
37968
|
for (const [name, reason] of Object.entries(config.incomplete ?? {})) {
|
|
37969
37969
|
console.warn(`[chat-sdk] ${name} not started, incomplete: ${scrubSecrets(reason)}`);
|
|
37970
37970
|
}
|
|
37971
|
-
const { Chat: ChatClass } = await import("./index-
|
|
37971
|
+
const { Chat: ChatClass } = await import("./index-p9dkwhwe.js");
|
|
37972
37972
|
const state = new SqliteChatState;
|
|
37973
37973
|
startChatRelayWatcher();
|
|
37974
37974
|
await Promise.all(CHAT_SDK_ADAPTER_NAMES.map(async (name) => {
|
|
@@ -38903,7 +38903,7 @@ async function notifySlack(text) {
|
|
|
38903
38903
|
return;
|
|
38904
38904
|
}
|
|
38905
38905
|
try {
|
|
38906
|
-
const { getSlackApp } = await import("./app-
|
|
38906
|
+
const { getSlackApp } = await import("./app-wax6qz5e.js");
|
|
38907
38907
|
const app = getSlackApp();
|
|
38908
38908
|
if (!app) {
|
|
38909
38909
|
console.warn("[Jira webhook keepalive] Slack not available, cannot send notification");
|
|
@@ -38974,7 +38974,7 @@ async function deleteJiraWebhook(webhookId) {
|
|
|
38974
38974
|
console.log(`[Jira webhook keepalive] Deleted webhook id=${webhookId}`);
|
|
38975
38975
|
}
|
|
38976
38976
|
async function overwriteWebhookIds(next) {
|
|
38977
|
-
const { getDbClient } = await import("./db-
|
|
38977
|
+
const { getDbClient } = await import("./db-q12gmpns.js");
|
|
38978
38978
|
await getDbClient().transaction(async (tx) => {
|
|
38979
38979
|
const row = await tx.get("SELECT metadata FROM oauth_apps WHERE provider = 'jira'");
|
|
38980
38980
|
if (!row) {
|
|
@@ -110731,13 +110731,39 @@ fragment ViewPreferencesValues on ViewPreferencesValues {
|
|
|
110731
110731
|
};
|
|
110732
110732
|
});
|
|
110733
110733
|
|
|
110734
|
+
// src/linear/host.ts
|
|
110735
|
+
function base(name, fallback) {
|
|
110736
|
+
const raw = process.env[name]?.trim();
|
|
110737
|
+
if (!raw)
|
|
110738
|
+
return fallback;
|
|
110739
|
+
try {
|
|
110740
|
+
const url = new URL(raw);
|
|
110741
|
+
if ((url.protocol === "https:" || url.protocol === "http:") && !url.username && !url.password) {
|
|
110742
|
+
return raw.replace(/\/+$/, "");
|
|
110743
|
+
}
|
|
110744
|
+
} catch {}
|
|
110745
|
+
console.warn(`[Linear] ${name} is not a valid http(s) URL without credentials; using ${fallback}`);
|
|
110746
|
+
return fallback;
|
|
110747
|
+
}
|
|
110748
|
+
function linearApiUrl(path) {
|
|
110749
|
+
return `${base("LINEAR_API_URL", DEFAULT_API_URL)}${path}`;
|
|
110750
|
+
}
|
|
110751
|
+
function linearWebUrl(path) {
|
|
110752
|
+
return `${base("LINEAR_URL", DEFAULT_WEB_URL)}${path}`;
|
|
110753
|
+
}
|
|
110754
|
+
var DEFAULT_WEB_URL = "https://linear.app", DEFAULT_API_URL = "https://api.linear.app";
|
|
110755
|
+
var init_host = () => {};
|
|
110756
|
+
|
|
110734
110757
|
// src/linear/client.ts
|
|
110735
110758
|
async function getLinearClient() {
|
|
110736
110759
|
const tokens = await getOAuthTokens("linear");
|
|
110737
110760
|
if (!tokens)
|
|
110738
110761
|
return null;
|
|
110739
110762
|
if (!linearClient) {
|
|
110740
|
-
linearClient = new LinearClient({
|
|
110763
|
+
linearClient = new LinearClient({
|
|
110764
|
+
accessToken: tokens.accessToken,
|
|
110765
|
+
apiUrl: linearApiUrl("/graphql")
|
|
110766
|
+
});
|
|
110741
110767
|
}
|
|
110742
110768
|
return linearClient;
|
|
110743
110769
|
}
|
|
@@ -110748,6 +110774,7 @@ var linearClient = null;
|
|
|
110748
110774
|
var init_client3 = __esm(() => {
|
|
110749
110775
|
init_dist();
|
|
110750
110776
|
init_oauth();
|
|
110777
|
+
init_host();
|
|
110751
110778
|
});
|
|
110752
110779
|
|
|
110753
110780
|
// src/linear/gate.ts
|
|
@@ -110877,7 +110904,7 @@ async function postAgentActivity(sessionId, content) {
|
|
|
110877
110904
|
agentSessionId: sessionId,
|
|
110878
110905
|
content
|
|
110879
110906
|
};
|
|
110880
|
-
const res = await fetch("
|
|
110907
|
+
const res = await fetch(linearApiUrl("/graphql"), {
|
|
110881
110908
|
method: "POST",
|
|
110882
110909
|
headers: {
|
|
110883
110910
|
"Content-Type": "application/json",
|
|
@@ -110906,7 +110933,7 @@ async function updateAgentSession(sessionId, input) {
|
|
|
110906
110933
|
console.log("[Linear Sync] No OAuth tokens, cannot update AgentSession");
|
|
110907
110934
|
return false;
|
|
110908
110935
|
}
|
|
110909
|
-
const res = await fetch("
|
|
110936
|
+
const res = await fetch(linearApiUrl("/graphql"), {
|
|
110910
110937
|
method: "POST",
|
|
110911
110938
|
headers: {
|
|
110912
110939
|
"Content-Type": "application/json",
|
|
@@ -110984,7 +111011,7 @@ async function _fetchIssueGatingInfo(issueId) {
|
|
|
110984
111011
|
console.log(`[Linear Sync] No OAuth tokens; cannot fetch issue ${issueId} gating info — defaulting to allow.`);
|
|
110985
111012
|
return { stateType: null, labelNames: [] };
|
|
110986
111013
|
}
|
|
110987
|
-
const res = await fetch("
|
|
111014
|
+
const res = await fetch(linearApiUrl("/graphql"), {
|
|
110988
111015
|
method: "POST",
|
|
110989
111016
|
headers: {
|
|
110990
111017
|
"Content-Type": "application/json",
|
|
@@ -111477,6 +111504,7 @@ var init_sync = __esm(() => {
|
|
|
111477
111504
|
init_sibling_awareness();
|
|
111478
111505
|
init_types5();
|
|
111479
111506
|
init_gate();
|
|
111507
|
+
init_host();
|
|
111480
111508
|
init_templates11();
|
|
111481
111509
|
taskSessionMap = new Map;
|
|
111482
111510
|
LINEAR_STATUS_MAP = {
|
|
@@ -111736,8 +111764,8 @@ async function initLinear() {
|
|
|
111736
111764
|
await upsertOAuthApp("linear", {
|
|
111737
111765
|
clientId,
|
|
111738
111766
|
clientSecret,
|
|
111739
|
-
authorizeUrl: "
|
|
111740
|
-
tokenUrl: "
|
|
111767
|
+
authorizeUrl: linearWebUrl("/oauth/authorize"),
|
|
111768
|
+
tokenUrl: linearApiUrl("/oauth/token"),
|
|
111741
111769
|
redirectUri,
|
|
111742
111770
|
scopes: "read,write,issues:create,comments:create,app:assignable,app:mentionable",
|
|
111743
111771
|
scopeSeparator: ",",
|
|
@@ -111768,6 +111796,7 @@ var init_app3 = __esm(() => {
|
|
|
111768
111796
|
init_constants3();
|
|
111769
111797
|
init_env_flag();
|
|
111770
111798
|
init_client3();
|
|
111799
|
+
init_host();
|
|
111771
111800
|
init_outbound4();
|
|
111772
111801
|
});
|
|
111773
111802
|
|
|
@@ -112527,7 +112556,7 @@ var ErrorResponseSchema, cachedSpec = null, SCALAR_HTML = `<!DOCTYPE html>
|
|
|
112527
112556
|
</body>
|
|
112528
112557
|
</html>`;
|
|
112529
112558
|
var init_openapi = __esm(() => {
|
|
112530
|
-
|
|
112559
|
+
init_dist9();
|
|
112531
112560
|
init_constants3();
|
|
112532
112561
|
init_zod_openapi();
|
|
112533
112562
|
init_route_def();
|
|
@@ -112575,7 +112604,7 @@ async function loadGlobalConfigsIntoEnv2(override = false) {
|
|
|
112575
112604
|
if (updated.length > 0) {
|
|
112576
112605
|
refreshSecretScrubberCache();
|
|
112577
112606
|
}
|
|
112578
|
-
const { syncSlackTreeVisibility } = await import("./tree-visibility-
|
|
112607
|
+
const { syncSlackTreeVisibility } = await import("./tree-visibility-qj323994.js");
|
|
112579
112608
|
await syncSlackTreeVisibility();
|
|
112580
112609
|
return updated;
|
|
112581
112610
|
}
|
|
@@ -112583,7 +112612,7 @@ async function reloadGlobalConfigsAndIntegrations2() {
|
|
|
112583
112612
|
return runWithoutRequestAuth(() => runSlackLifecycleExclusive(() => reloadGlobalConfigsAndIntegrationsInner()));
|
|
112584
112613
|
}
|
|
112585
112614
|
async function reloadGlobalConfigsAndIntegrationsInner() {
|
|
112586
|
-
const { getEmbeddingProvider, resetEmbeddingProvider } = await import("./index-
|
|
112615
|
+
const { getEmbeddingProvider, resetEmbeddingProvider } = await import("./index-vybnwd5v.js");
|
|
112587
112616
|
const wasEmbeddingsConfigured = getEmbeddingProvider().isConfigured();
|
|
112588
112617
|
const updated = await loadGlobalConfigsIntoEnv2(true);
|
|
112589
112618
|
await syncTelemetryEnabled("settings").catch((err) => {
|
|
@@ -112599,7 +112628,7 @@ async function reloadGlobalConfigsAndIntegrationsInner() {
|
|
|
112599
112628
|
integrations.push("embeddings");
|
|
112600
112629
|
}
|
|
112601
112630
|
if (isEmbeddingsConfigured) {
|
|
112602
|
-
import("./embedding-space-
|
|
112631
|
+
import("./embedding-space-mjt5ksq0.js").then(({ runEmbeddingMaintenance }) => runEmbeddingMaintenance({ backfill: !wasEmbeddingsConfigured })).catch((err) => {
|
|
112603
112632
|
console.error("[config-reload] embedding maintenance failed (non-fatal):", err);
|
|
112604
112633
|
});
|
|
112605
112634
|
}
|
|
@@ -114090,7 +114119,7 @@ async function executePass(args) {
|
|
|
114090
114119
|
model: args.model,
|
|
114091
114120
|
sourceName: args.sourceName,
|
|
114092
114121
|
source
|
|
114093
|
-
}) : await pullFromSwarmTasks(source, args.invokedBy));
|
|
114122
|
+
}) : await pullFromSwarmTasks(source, args.invokedBy), undefined, undefined, createSweepScrubber());
|
|
114094
114123
|
pulled = pull.records.length;
|
|
114095
114124
|
for (const warning of pull.warnings)
|
|
114096
114125
|
warn(warnings, warning);
|
|
@@ -117597,12 +117626,12 @@ function registerAppRowTools(server) {
|
|
|
117597
117626
|
description,
|
|
117598
117627
|
annotations: { readOnlyHint: readOnly },
|
|
117599
117628
|
rbac: { permission: "app.use" },
|
|
117600
|
-
inputSchema: object2({ ...
|
|
117629
|
+
inputSchema: object2({ ...base2, ...shape }),
|
|
117601
117630
|
outputSchema: swarmToolOutputSchema(output)
|
|
117602
117631
|
}, async (args, info) => {
|
|
117603
117632
|
if (!info.agentId)
|
|
117604
117633
|
return toolErr('Agent ID not found. Set the "X-Agent-ID" header.');
|
|
117605
|
-
const { appId, model: modelName } = object2(
|
|
117634
|
+
const { appId, model: modelName } = object2(base2).parse(args);
|
|
117606
117635
|
const agent = await getAgentById2(info.agentId);
|
|
117607
117636
|
const decision = can({
|
|
117608
117637
|
principal: { kind: "agent", agentId: info.agentId, isLead: agent?.isLead ?? false },
|
|
@@ -117681,7 +117710,7 @@ function registerAppRowTools(server) {
|
|
|
117681
117710
|
return toolOk(`Deleted ${deleted} row(s).`, { data: { deleted } });
|
|
117682
117711
|
});
|
|
117683
117712
|
}
|
|
117684
|
-
var
|
|
117713
|
+
var base2, rowId, values, equals, limit, rowOutput, rowsOutput;
|
|
117685
117714
|
var init_app_rows = __esm(() => {
|
|
117686
117715
|
init_zod();
|
|
117687
117716
|
init_definition();
|
|
@@ -117691,7 +117720,7 @@ var init_app_rows = __esm(() => {
|
|
|
117691
117720
|
init_apps();
|
|
117692
117721
|
init_rbac();
|
|
117693
117722
|
init_utils();
|
|
117694
|
-
|
|
117723
|
+
base2 = { appId: string2().min(1), model: AppNameSchema };
|
|
117695
117724
|
rowId = string2().min(1);
|
|
117696
117725
|
values = record2(string2(), unknown());
|
|
117697
117726
|
equals = record2(string2(), union3([string2(), number2(), boolean()]));
|
|
@@ -120469,7 +120498,7 @@ ${issues.map((issue) => `- ${issue}`).join(`
|
|
|
120469
120498
|
`)}`;
|
|
120470
120499
|
}
|
|
120471
120500
|
async function cardToSlack(card) {
|
|
120472
|
-
const { cardToBlockKit, cardToFallbackText } = await import("./index-
|
|
120501
|
+
const { cardToBlockKit, cardToFallbackText } = await import("./index-07d66kdm.js");
|
|
120473
120502
|
const issues = cardChildren(card).flatMap((child) => {
|
|
120474
120503
|
const native = NATIVE_SLACK_BLOCKS[child.type];
|
|
120475
120504
|
if (!native)
|
|
@@ -120498,7 +120527,7 @@ function slackFallbackText(message, cardText) {
|
|
|
120498
120527
|
}
|
|
120499
120528
|
var _button, standard, chatCardComponents, CARD_LIMITS, TABLE_MAX_CELL_CHARS = 1e4, catalogLines, CARD_RULES = 'Every element has "children" (leaves use []). Field goes inside Fields, LinkButton inside Actions. A bar, line or area Chart has one value per category per series; a pie Chart uses {"type":"pie","segments":[{"label","value"}]}.', cardSpecInputSchema, NATIVE_SLACK_BLOCKS;
|
|
120500
120529
|
var init_cards = __esm(() => {
|
|
120501
|
-
|
|
120530
|
+
init_dist5();
|
|
120502
120531
|
init_zod();
|
|
120503
120532
|
({ Button: _button, ...standard } = standardComponentDefinitions);
|
|
120504
120533
|
chatCardComponents = {
|
|
@@ -121503,7 +121532,10 @@ var init_db_query = __esm(() => {
|
|
|
121503
121532
|
408: { description: "Query exceeded its wall-clock budget and was terminated" },
|
|
121504
121533
|
429: { description: "Too many concurrent bounded db-query executions; retry shortly" }
|
|
121505
121534
|
},
|
|
121506
|
-
auth: { apiKey: true }
|
|
121535
|
+
auth: { apiKey: true },
|
|
121536
|
+
rbac: {
|
|
121537
|
+
ungated: "read-only SQL for agents, same posture as the db-query tool; user roles need admin"
|
|
121538
|
+
}
|
|
121507
121539
|
});
|
|
121508
121540
|
});
|
|
121509
121541
|
|
|
@@ -129342,7 +129374,7 @@ var DUPLICATE_MESSAGE = "Memory already rated for this task. Use a follow-up mem
|
|
|
129342
129374
|
}
|
|
129343
129375
|
cleanedReferencesSource = cleaned;
|
|
129344
129376
|
}
|
|
129345
|
-
const apiUrl =
|
|
129377
|
+
const apiUrl = getScriptApiBaseUrl();
|
|
129346
129378
|
const apiKey = getApiKey();
|
|
129347
129379
|
const event = {
|
|
129348
129380
|
memoryId: resolvedMemoryId,
|
|
@@ -130468,6 +130500,25 @@ var registerDeletePromptTemplateTool = (server) => {
|
|
|
130468
130500
|
data: { yourAgentId: requestInfo.agentId }
|
|
130469
130501
|
});
|
|
130470
130502
|
}
|
|
130503
|
+
const agent = await getAgentById2(requestInfo.agentId);
|
|
130504
|
+
const decision = can({
|
|
130505
|
+
principal: {
|
|
130506
|
+
kind: "agent",
|
|
130507
|
+
agentId: requestInfo.agentId,
|
|
130508
|
+
isLead: agent?.isLead ?? false
|
|
130509
|
+
},
|
|
130510
|
+
verb: "prompt-template.write",
|
|
130511
|
+
resource: {
|
|
130512
|
+
kind: "owned",
|
|
130513
|
+
ownerAgentId: existing.scope === "agent" ? existing.scopeId : null
|
|
130514
|
+
},
|
|
130515
|
+
source: "mcp"
|
|
130516
|
+
});
|
|
130517
|
+
if (!decision.allow) {
|
|
130518
|
+
return toolErr("Only a lead can delete global or repo templates, or another agent's.", {
|
|
130519
|
+
data: { yourAgentId: requestInfo.agentId }
|
|
130520
|
+
});
|
|
130521
|
+
}
|
|
130471
130522
|
const deleted = await deletePromptTemplate2(id);
|
|
130472
130523
|
if (!deleted) {
|
|
130473
130524
|
return toolErr(`Failed to delete prompt template "${id}".`, {
|
|
@@ -130489,6 +130540,7 @@ var registerDeletePromptTemplateTool = (server) => {
|
|
|
130489
130540
|
var init_delete = __esm(() => {
|
|
130490
130541
|
init_zod();
|
|
130491
130542
|
init_db4();
|
|
130543
|
+
init_rbac();
|
|
130492
130544
|
init_utils();
|
|
130493
130545
|
});
|
|
130494
130546
|
|
|
@@ -130718,6 +130770,18 @@ var promptTemplateOutputShape3, registerSetPromptTemplateTool = (server) => {
|
|
|
130718
130770
|
data: { yourAgentId: requestInfo.agentId }
|
|
130719
130771
|
});
|
|
130720
130772
|
}
|
|
130773
|
+
const agent = await getAgentById2(requestInfo.agentId);
|
|
130774
|
+
const decision = can({
|
|
130775
|
+
principal: { kind: "agent", agentId: requestInfo.agentId, isLead: agent?.isLead ?? false },
|
|
130776
|
+
verb: "prompt-template.write",
|
|
130777
|
+
resource: { kind: "owned", ownerAgentId: scope === "agent" ? scopeId : null },
|
|
130778
|
+
source: "mcp"
|
|
130779
|
+
});
|
|
130780
|
+
if (!decision.allow) {
|
|
130781
|
+
return toolErr("Only a lead can set global or repo templates, or another agent's.", {
|
|
130782
|
+
data: { yourAgentId: requestInfo.agentId }
|
|
130783
|
+
});
|
|
130784
|
+
}
|
|
130721
130785
|
try {
|
|
130722
130786
|
const template = await getDbClient2().transaction(async () => upsertPromptTemplate2({
|
|
130723
130787
|
eventType,
|
|
@@ -130743,6 +130807,7 @@ var promptTemplateOutputShape3, registerSetPromptTemplateTool = (server) => {
|
|
|
130743
130807
|
var init_set2 = __esm(() => {
|
|
130744
130808
|
init_zod();
|
|
130745
130809
|
init_db4();
|
|
130810
|
+
init_rbac();
|
|
130746
130811
|
init_utils();
|
|
130747
130812
|
init_types5();
|
|
130748
130813
|
promptTemplateOutputShape3 = looseObject({
|
|
@@ -145977,7 +146042,7 @@ async function readScriptActionAllowlist() {
|
|
|
145977
146042
|
const [row] = await getSwarmConfigs2({ scope: "global", key: UI_SPEC_SCRIPT_ACTIONS_KEY });
|
|
145978
146043
|
if (row)
|
|
145979
146044
|
return row.value;
|
|
145980
|
-
const { getDeploymentEnvValue } = await import("./core-
|
|
146045
|
+
const { getDeploymentEnvValue } = await import("./core-mj9fzrcm.js");
|
|
145981
146046
|
return getDeploymentEnvValue(UI_SPEC_SCRIPT_ACTIONS_KEY);
|
|
145982
146047
|
}
|
|
145983
146048
|
async function loadScriptActionLookups() {
|
|
@@ -150502,4 +150567,4 @@ var init_server = __esm(() => {
|
|
|
150502
150567
|
loggedToolAllowlistWarnings = new Set;
|
|
150503
150568
|
});
|
|
150504
150569
|
|
|
150505
|
-
export { safeParse, getObjectShape, getLiteralValue, init_zod_compat, LATEST_PROTOCOL_VERSION, DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, isJSONRPCRequest, isJSONRPCResultResponse, ErrorCode, isJSONRPCErrorResponse, JSONRPCMessageSchema, EmptyResultSchema, isInitializeRequest, InitializeResultSchema, CreateTaskResultSchema, ListResourcesResultSchema, ListResourceTemplatesResultSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, ListPromptsResultSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ListToolsResultSchema, CallToolResultSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, ElicitRequestSchema, ElicitResultSchema, CompleteResultSchema, McpError, init_types, Protocol, mergeCapabilities, init_protocol, AjvJsonSchemaValidator, init_ajv_provider, assertToolsCallTaskCapability, assertClientRequestTaskCapability, init_helpers, McpServer, init_mcp, referencedBundlePaths, skillDirs, init_manifest_format, recoverIncompleteRuns, init_recovery, handleWebhookTrigger, verifyHmacSignature, decodeStandardWebhookSecret, verifyStandardWebhookSignature, verifyTokenEquality, WebhookError, init_triggers, snapshotAndUpdateWorkflow, init_version, applyPreTaskCreate, init_apply_task_create, RawLlmConfigSchema, RawLlmOutputSchema, executeRawLlm, init_raw_llm, getExecutorRegistry2, initWorkflows2, init_workflows, isGitHubEnabled, initGitHub, verifyWebhookSignature, getWorkerInstallationToken, init_app, isReservedProviderEvent, init_event_waits, stripSiblingBlock, init_sibling_block, prepareTaskWithSiblingAwareness, createTaskWithSiblingAwareness, init_sibling_awareness, hasPendingEventWait, init_deferred_task_waits, dispatchScheduleTarget, calculateNextRun2, parseSchedulerIntervalMs2, startScheduler2, stopScheduler2, runScheduleNow2, init_scheduler, ExtensionAssetConflictError, hashOf, scriptHash, liveScriptSpec, liveWorkflowSpec, skillSpecOf, liveSkillSpec, skillHash, init_assets, ExtensionOwnershipError, getExtensionFiles, getExtensionById, getExtensionByName, listExtensions, listExtensionVersions, updateExtensionMeta, listExtensionRuns, init_db, SDK_ALLOWLIST, mcpToolNameForSdkMethod, init_sdk_allowlist, MCP_OVERFLOW_NAMESPACE, mcpOverflowAuthError, init_kv_overflow, hasKvViewArgs, resolveKvView, init_kv_view, COLOR_LITERAL_THRESHOLD, countColorLiterals, init_color_literals, toolErr, createToolRegistrar, init_utils, handleMcpBridge, init_mcp_bridge, Redacted, init_redacted, SCRIPT_SDK_RESPONSE_LIMIT_BYTES, readScriptSdkJsonResponse, init_response_limit, retry, init_retry, ExtensionConfigError, init_loader, ExtensionLifecycleError, setExtensionLoopbackBaseUrl, enableExtension, disableExtension, activateVersion, ExtensionAssetsInvalidError, installExtensionWithAssets, uninstallExtension, reloadExtension, loadEnabledExtensions, stopExtensionRuntime, init_lifecycle, ExtensionAbortedError2, isRegistered2, isExtensionAgentId2, getExtensionBridgeToken2, resolveBridgeCallOrigin2, extensionIdForAgent2, runContext2, registerLoaded2, unregister2, hasNativeToolHandlers2, listRegistered2, dispatchPre2, dispatchPost2, init_dispatcher, resolveIdentity, renderIdentity, init_identity, dismissedNamespace, dismissUnmappedIdentity, restoreUnmappedIdentity, recordUnmappedIdentity, init_unmapped_identities, getDeliveredSlackMessageTs, foldIntoPendingSlackTask, init_slack_fold, MAX_TASK_ATTACHMENT_BYTES, recordTaskAttachmentUpload, scopeFromAttachment, backingProviderId, init_task_attachment_store, transcribeAudioNotes, init_transcription, init_templates, buildEffectiveText, bufferedFileFailures, fetchSlackFiles, createSlackTaskWithFiles, attachSlackFilesToDraft, notifySlackFileFailures, init_inbound_files, pendingWorkForAgent, countPoolRuntimes, computeDesired, init_demand, isRuntimePoolWakeable, isAgentReachable, isAgentOnDemand, init_reachability, isAddressedToOtherUser, broadcastMatches, routeMessage, extractTaskFromMessage, init_router, extractSlackMessageText, slackInboundMessageText, collectSlackMessageFiles, init_message_text, createAdditiveBuffer, init_additive_buffer, isAgentMailEnabled, initAgentMail, verifyAgentMailWebhook, isInboxAllowed, isSenderAllowed, handleMessageReceived, init_agentmail, isAzureDevOpsEnabled, initAzureDevOps, verifyAzureDevOpsWebhook, repointTrackerSyncBySwarmId, init_tracker, isAzureDevOpsUrl, canonicalAzureDevOpsRepoUrl, parseAzureDevOpsRepoUrl, init_azure_devops, createdPullRequestOf, commentedPayloadOf, handlePullRequestCreated, handlePullRequestCommented, handleWorkItemCreated, handleWorkItemUpdated, handleWorkItemCommented, handleWorkItemDeleted, handleWorkItemRestored, initAzureDevOpsOutbound, init_azure_devops2, enqueueAuditRow, enqueueAdmissionRow, flushAuditBuffer, startAuditWriter, stopAuditWriter, startAuditGc, stopAuditGc, init_rbac_audit, getTelemetryIngestAnchor, init_telemetry_ingest_anchor, initApiTelemetry, syncTelemetryEnabled, init_telemetry_enable, isBitbucketEnabled, initBitbucket, verifyBitbucketWebhook, isDuplicateDelivery, markDeliveryProcessed, pullRequestEventOf, pullRequestCommentEventOf, handlePullRequestCreated2, handlePullRequestCommentCreated, handlePullRequestClosed, init_bitbucket, handlePullRequest, handleIssue, handleComment, handlePullRequestReview, handleCheckRun, handleCheckSuite, handleWorkflowRun, init_github, isGitLabEnabled, initGitLab, verifyGitLabWebhook, handleMergeRequest, handleIssue2, handleNote, handlePipeline, init_gitlab, isChatSdkEnabled, getChatSdkConfig, init_config2, errorMessage, init_logger, resolveAdapterApiUrl, init_adapters, trackBackground, init_background, TelegramBotApiError, callTelegramBotApi, init_telegram_api, isTrustedTeamsServiceUrl, init_teams_origin, getSessionLabels, rememberSessionLabel, getResourceSessionLabels, init_session_labels, isChatSdkStopping, startChatSdk, getChatInstance, isChatAdapterConfigured, getChatSdkHealth, stopChatSdk, init_runtime, getJiraMetadata, updateJiraMetadata, clearJiraMetadata, init_metadata, registerJiraWebhook, deleteJiraWebhook, init_webhook_lifecycle, isJiraEnabled, initJira, init_app2, handleJiraWebhook, init_webhook, init_jira, handleAgentSessionEvent, handleIssueUpdate, handleIssueDelete, handleAgentSessionPrompted, init_sync, isLinearEnabled, initLinear, init_app3, init_linear, init_slack, verifyPageSession, LEGACY_PAGE_SESSION_COOKIE, isCookieSafePageId, extractPageSession, extractLegacyPageSession, extractAndVerifyCookie, isLocalDevPageRequest, pageSessionSetCookies, init_page_session, resolveHttpRequestAuth, init_auth, getDeploymentEnvValue2, loadGlobalConfigsIntoEnv2, reloadGlobalConfigsAndIntegrations2, scheduleIntegrationsReload2, handleCore2, init_core, runTaskUiScriptAction, init_script_actions, cancelApprovalRequest, cancelApprovalRequestAndRun, init_approval_cancel, resolveRequestPrincipal, requestPrincipal, agentFirstPrincipal, requireAuthKind, rejectGuest, refuseAgentTokenWithout, init_request_principal, REBOOT_RETRY_PIN_TAG2, getPinCandidateAgent2, resolveLeadOnlyRecoveryAssignment2, getResumeGeneration2, getNextResumeGeneration2, inheritedModelSelection2, nextFallback2, createWorkerTaskFollowUp2, createResumeFollowUp2, createRerouteDecisionTask2, createPoolStarvationDecisionTask2, init_worker_follow_up, MCP_MAX_TOOL_INPUT_ELEMENTS, MCP_MAX_REQUEST_BODY_BYTES, init_mcp_limits, userCtx, init_task_tool_ctx, resolveTaskRequester, init_task_requester, handleApps, init_apps, parseScene, init_elements, MAX_OBJECT_BYTES, init_write_object, getUserCommsPrefs, init_requester_comms, getTaskDetailsInputSchema, getTaskDetailsOutputSchema, getTaskDetailsHandler, init_get_task_details, cancelTaskInputSchema, cancelTaskOutputSchema, cancelTaskHandler, init_cancel_task, DbQueryTimeoutError, DbQueryConcurrencyCapError, executeReadOnlyQuery, getDbQueryHttpBudgetMs, init_db_query_shared, assertSelectOnlyQuery, executeReadOnlyQueryGated, handleDbQuery, init_db_query, snapshotMetric, init_version2, AssetKeyAuthorizationError, authorizeAssetKeyWrite, init_asset_key_auth, getPageEditCounter, init_page_versions, DEFAULT_THEME_ID, THEME_PRESET_IDS, getThemePreset, init_presets, DesignSystemError, buildDesignSystem, init_design_system, getDesignSystem, getActiveDesignSystem, saveDesignSystem, init_design_system2, snapshotPage, init_version3, readThemeFields, init_page_fields, assertOAuthAppUrlsSafe, assertOAuthEgressUrlSafe, init_app_validation, listOAuthPresets, listOAuthPresetIds, getOAuthPreset, hydrateOAuthAppFromPreset, init_presets2, scopedResourceScopeIdSchema, resolveScopedResourceId, init_scoped_resource, MemoryKeyError, init_key_guard, refreshLinks, init_link_resolver, indexMemoryContent, init_index_content, dedupeMemoryDocumentIds, recordMemoryAccesses, recordRetrievals, init_retrieval, ExplicitSelfDuplicateError, applyRating, init_store, shouldPersistAutomaticTaskMemory, init_automatic_task_gate, guardTerminalTaskResultWrite, init_terminal_result_guard, scriptNameSchema, scriptToolOutputSchema, scriptsApiToolResult, init_script_common, getTasksInputSchema, getTasksOutputSchema, getTasksHandler, init_get_tasks, requiresLeadToWrite, reservedNamespaceError, privateNamespaceError, reservedRoomKeyError, scrubReservedRead, init_kv_reserved_namespaces, MAX_KV_BODY_BYTES, init_kv_limits, updateMcpServerChecked, init_mcp_server_checked_update, updateTouchesStdioExecution, init_mcp_server_stdio_gate, canReadMemory, init_access, getLinksForMemory, init_links_store, attachDemotionEvidence, init_demotion_evidence, expandCandidatesWithGraph, init_graph_expansion, isApiDraining, drainApi, init_api_drain, markKapsoMessageRead, sendKapsoReaction, init_client, getKapsoConfig, getKapsoNumberMapping, markKapsoMessageSeen, init_config3, changesMergePolicy, init_repo_merge_policy, execConfigRefusal, updateSwarmRepoChecked, init_repo_checked_update, getCombConfig, init_config4, resolveRoomNamespace, roomRequestInfo, authorizeRoomNamespace, sessionAccessTopic, sessionPresenceRoot, init_auth2, RoomOperationSchema, init_document, removeAwarenessStates, init_awareness, roomTopic, decodeRoomSnapshot, roomView, getRoom, changeRoom, applyRoomUpdate, resetRoom, sweepRooms, closeRooms, removeNamespaceRooms, init_rooms, init_scheduler2, MEMORY_KEYS_DEFAULT_PREFIX, MEMORY_KEYS_MAX_LIMIT, estimateTokens, posteriorMean, listMemoryKeys, checkChunkIntegrity, getMemoryChunks, getPosteriorsByIds, init_key_browser, createEvent, createEventsBatch, getEventCountsFiltered, getEventsFiltered, init_events, mergeScheduleTiming, validateRecurringTiming, changesScheduleTarget, init_validate, renderTypeBlobs, init_script_query_types, renderRunOutput, init_script_run, renderSearchResults, searchSuccessMessage, init_script_search, followUpThreadForSourceTask, evaluateFollowUpRedelegation, init_follow_up_redelegation_guard, checkOutputSchemaShape, sendTaskOutputSchema, sendTaskHandler, init_send_task, setSheetRange, appendSheetRows, clearSheetRange, init_service, steerTaskUserInputSchema, steerTaskOutputSchema, steerTaskHandler, init_steer_task, skipReasonFrom, finalizeSkippedTaskReaction, init_task_skip, IMPROVEMENT_TEXT_MAX, IMPROVEMENT_STATUSES, IMPROVEMENT_SOURCES, ImprovementError, isImprovementsEnabled, getImprovement, listImprovements, createImprovement, approveAndSend, discardImprovement, improvementLeakHints, init_improvements, recomputeSessionCost, init_session_cost_recompute, canClaim, init_budget_admission, emitBudgetRefusalSideEffects, init_budget_refusal_notify, workflowModelErrors, init_model_validation, patchWorkflowDefinition, init_patch_definition, IDEMPOTENT_REPLAYED_HEADER, idempotencyKeyHeader, readIdempotencyKey, replayAcceptedOperation, init_idempotency_key, resolveScriptsOnlyMode, init_scripts_only_mode, ALL_CAPABILITIES, hasCapability, getEnabledCapabilities, createServer, init_server };
|
|
150570
|
+
export { safeParse, getObjectShape, getLiteralValue, init_zod_compat, LATEST_PROTOCOL_VERSION, DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, isJSONRPCRequest, isJSONRPCResultResponse, ErrorCode, isJSONRPCErrorResponse, JSONRPCMessageSchema, EmptyResultSchema, isInitializeRequest, InitializeResultSchema, CreateTaskResultSchema, ListResourcesResultSchema, ListResourceTemplatesResultSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, ListPromptsResultSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ListToolsResultSchema, CallToolResultSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, ElicitRequestSchema, ElicitResultSchema, CompleteResultSchema, McpError, init_types, Protocol, mergeCapabilities, init_protocol, AjvJsonSchemaValidator, init_ajv_provider, assertToolsCallTaskCapability, assertClientRequestTaskCapability, init_helpers, McpServer, init_mcp, referencedBundlePaths, skillDirs, init_manifest_format, recoverIncompleteRuns, init_recovery, handleWebhookTrigger, verifyHmacSignature, decodeStandardWebhookSecret, verifyStandardWebhookSignature, verifyTokenEquality, WebhookError, init_triggers, snapshotAndUpdateWorkflow, init_version, applyPreTaskCreate, init_apply_task_create, RawLlmConfigSchema, RawLlmOutputSchema, executeRawLlm, init_raw_llm, getExecutorRegistry2, initWorkflows2, init_workflows, isGitHubEnabled, initGitHub, verifyWebhookSignature, getWorkerInstallationToken, init_app, isReservedProviderEvent, init_event_waits, stripSiblingBlock, init_sibling_block, prepareTaskWithSiblingAwareness, createTaskWithSiblingAwareness, init_sibling_awareness, hasPendingEventWait, init_deferred_task_waits, dispatchScheduleTarget, calculateNextRun2, parseSchedulerIntervalMs2, startScheduler2, stopScheduler2, runScheduleNow2, init_scheduler, ExtensionAssetConflictError, hashOf, scriptHash, liveScriptSpec, liveWorkflowSpec, skillSpecOf, liveSkillSpec, skillHash, init_assets, ExtensionOwnershipError, getExtensionFiles, getExtensionById, getExtensionByName, listExtensions, listExtensionVersions, updateExtensionMeta, listExtensionRuns, init_db, SDK_ALLOWLIST, mcpToolNameForSdkMethod, init_sdk_allowlist, MCP_OVERFLOW_NAMESPACE, mcpOverflowAuthError, init_kv_overflow, hasKvViewArgs, resolveKvView, init_kv_view, COLOR_LITERAL_THRESHOLD, countColorLiterals, init_color_literals, toolErr, createToolRegistrar, init_utils, handleMcpBridge, init_mcp_bridge, Redacted, init_redacted, SCRIPT_SDK_RESPONSE_LIMIT_BYTES, readScriptSdkJsonResponse, init_response_limit, retry, init_retry, ExtensionConfigError, init_loader, isExtensionBridgedEvent, init_post_bridge, ExtensionLifecycleError, setExtensionLoopbackBaseUrl, enableExtension, disableExtension, activateVersion, ExtensionAssetsInvalidError, installExtensionWithAssets, uninstallExtension, reloadExtension, loadEnabledExtensions, stopExtensionRuntime, init_lifecycle, ExtensionAbortedError2, isRegistered2, isExtensionAgentId2, getExtensionBridgeToken2, resolveBridgeCallOrigin2, extensionIdForAgent2, runContext2, registerLoaded2, unregister2, hasNativeToolHandlers2, listRegistered2, dispatchPre2, dispatchPost2, init_dispatcher, resolveIdentity, renderIdentity, init_identity, dismissedNamespace, dismissUnmappedIdentity, restoreUnmappedIdentity, recordUnmappedIdentity, init_unmapped_identities, getDeliveredSlackMessageTs, foldIntoPendingSlackTask, init_slack_fold, MAX_TASK_ATTACHMENT_BYTES, recordTaskAttachmentUpload, scopeFromAttachment, backingProviderId, init_task_attachment_store, transcribeAudioNotes, init_transcription, init_templates, buildEffectiveText, bufferedFileFailures, fetchSlackFiles, createSlackTaskWithFiles, attachSlackFilesToDraft, notifySlackFileFailures, init_inbound_files, pendingWorkForAgent, countPoolRuntimes, computeDesired, init_demand, isRuntimePoolWakeable, isAgentReachable, isAgentOnDemand, init_reachability, isAddressedToOtherUser, broadcastMatches, routeMessage, extractTaskFromMessage, init_router, extractSlackMessageText, slackInboundMessageText, collectSlackMessageFiles, init_message_text, createAdditiveBuffer, init_additive_buffer, isAgentMailEnabled, initAgentMail, verifyAgentMailWebhook, isInboxAllowed, isSenderAllowed, handleMessageReceived, init_agentmail, isAzureDevOpsEnabled, initAzureDevOps, verifyAzureDevOpsWebhook, repointTrackerSyncBySwarmId, init_tracker, isAzureDevOpsUrl, canonicalAzureDevOpsRepoUrl, parseAzureDevOpsRepoUrl, init_azure_devops, createdPullRequestOf, commentedPayloadOf, handlePullRequestCreated, handlePullRequestCommented, handleWorkItemCreated, handleWorkItemUpdated, handleWorkItemCommented, handleWorkItemDeleted, handleWorkItemRestored, initAzureDevOpsOutbound, init_azure_devops2, enqueueAuditRow, enqueueAdmissionRow, flushAuditBuffer, startAuditWriter, stopAuditWriter, startAuditGc, stopAuditGc, init_rbac_audit, getTelemetryIngestAnchor, init_telemetry_ingest_anchor, initApiTelemetry, syncTelemetryEnabled, init_telemetry_enable, isBitbucketEnabled, initBitbucket, verifyBitbucketWebhook, isDuplicateDelivery, markDeliveryProcessed, pullRequestEventOf, pullRequestCommentEventOf, handlePullRequestCreated2, handlePullRequestCommentCreated, handlePullRequestClosed, init_bitbucket, handlePullRequest, handleIssue, handleComment, handlePullRequestReview, handleCheckRun, handleCheckSuite, handleWorkflowRun, init_github, isGitLabEnabled, initGitLab, verifyGitLabWebhook, handleMergeRequest, handleIssue2, handleNote, handlePipeline, init_gitlab, isChatSdkEnabled, getChatSdkConfig, init_config2, errorMessage, init_logger, resolveAdapterApiUrl, init_adapters, trackBackground, init_background, TelegramBotApiError, callTelegramBotApi, init_telegram_api, isTrustedTeamsServiceUrl, init_teams_origin, getSessionLabels, rememberSessionLabel, getResourceSessionLabels, init_session_labels, isChatSdkStopping, startChatSdk, getChatInstance, isChatAdapterConfigured, getChatSdkHealth, stopChatSdk, init_runtime, getJiraMetadata, updateJiraMetadata, clearJiraMetadata, init_metadata, registerJiraWebhook, deleteJiraWebhook, init_webhook_lifecycle, isJiraEnabled, initJira, init_app2, handleJiraWebhook, init_webhook, init_jira, linearApiUrl, init_host, handleAgentSessionEvent, handleIssueUpdate, handleIssueDelete, handleAgentSessionPrompted, init_sync, isLinearEnabled, initLinear, init_app3, init_linear, init_slack, verifyPageSession, LEGACY_PAGE_SESSION_COOKIE, isCookieSafePageId, extractPageSession, extractLegacyPageSession, extractAndVerifyCookie, isLocalDevPageRequest, pageSessionSetCookies, init_page_session, resolveHttpRequestAuth, init_auth, getDeploymentEnvValue2, loadGlobalConfigsIntoEnv2, reloadGlobalConfigsAndIntegrations2, scheduleIntegrationsReload2, handleCore2, init_core, runTaskUiScriptAction, init_script_actions, cancelApprovalRequest, cancelApprovalRequestAndRun, init_approval_cancel, resolveRequestPrincipal, requestPrincipal, agentFirstPrincipal, requireAuthKind, rejectGuest, refuseAgentTokenWithout, init_request_principal, REBOOT_RETRY_PIN_TAG2, getPinCandidateAgent2, resolveLeadOnlyRecoveryAssignment2, getResumeGeneration2, getNextResumeGeneration2, inheritedModelSelection2, nextFallback2, createWorkerTaskFollowUp2, createResumeFollowUp2, createRerouteDecisionTask2, createPoolStarvationDecisionTask2, init_worker_follow_up, MCP_MAX_TOOL_INPUT_ELEMENTS, MCP_MAX_REQUEST_BODY_BYTES, init_mcp_limits, userCtx, init_task_tool_ctx, resolveTaskRequester, init_task_requester, handleApps, init_apps, parseScene, init_elements, MAX_OBJECT_BYTES, init_write_object, getUserCommsPrefs, init_requester_comms, getTaskDetailsInputSchema, getTaskDetailsOutputSchema, getTaskDetailsHandler, init_get_task_details, cancelTaskInputSchema, cancelTaskOutputSchema, cancelTaskHandler, init_cancel_task, DbQueryTimeoutError, DbQueryConcurrencyCapError, executeReadOnlyQuery, getDbQueryHttpBudgetMs, init_db_query_shared, assertSelectOnlyQuery, executeReadOnlyQueryGated, handleDbQuery, init_db_query, snapshotMetric, init_version2, AssetKeyAuthorizationError, authorizeAssetKeyWrite, init_asset_key_auth, getPageEditCounter, init_page_versions, DEFAULT_THEME_ID, THEME_PRESET_IDS, getThemePreset, init_presets, DesignSystemError, buildDesignSystem, init_design_system, getDesignSystem, getActiveDesignSystem, saveDesignSystem, init_design_system2, snapshotPage, init_version3, readThemeFields, init_page_fields, assertOAuthAppUrlsSafe, assertOAuthEgressUrlSafe, init_app_validation, listOAuthPresets, listOAuthPresetIds, getOAuthPreset, hydrateOAuthAppFromPreset, init_presets2, scopedResourceScopeIdSchema, resolveScopedResourceId, init_scoped_resource, MemoryKeyError, init_key_guard, refreshLinks, init_link_resolver, indexMemoryContent, init_index_content, dedupeMemoryDocumentIds, recordMemoryAccesses, recordRetrievals, init_retrieval, ExplicitSelfDuplicateError, applyRating, init_store, shouldPersistAutomaticTaskMemory, init_automatic_task_gate, guardTerminalTaskResultWrite, init_terminal_result_guard, scriptNameSchema, scriptToolOutputSchema, scriptsApiToolResult, init_script_common, getTasksInputSchema, getTasksOutputSchema, getTasksHandler, init_get_tasks, requiresLeadToWrite, reservedNamespaceError, privateNamespaceError, reservedRoomKeyError, scrubReservedRead, init_kv_reserved_namespaces, MAX_KV_BODY_BYTES, init_kv_limits, updateMcpServerChecked, init_mcp_server_checked_update, updateTouchesStdioExecution, init_mcp_server_stdio_gate, canReadMemory, init_access, getLinksForMemory, init_links_store, attachDemotionEvidence, init_demotion_evidence, expandCandidatesWithGraph, init_graph_expansion, isApiDraining, drainApi, init_api_drain, markKapsoMessageRead, sendKapsoReaction, init_client, getKapsoConfig, getKapsoNumberMapping, markKapsoMessageSeen, init_config3, changesMergePolicy, init_repo_merge_policy, execConfigRefusal, updateSwarmRepoChecked, init_repo_checked_update, getCombConfig, init_config4, resolveRoomNamespace, roomRequestInfo, authorizeRoomNamespace, sessionAccessTopic, sessionPresenceRoot, init_auth2, RoomOperationSchema, init_document, removeAwarenessStates, init_awareness, roomTopic, decodeRoomSnapshot, roomView, getRoom, changeRoom, applyRoomUpdate, resetRoom, sweepRooms, closeRooms, removeNamespaceRooms, init_rooms, init_scheduler2, MEMORY_KEYS_DEFAULT_PREFIX, MEMORY_KEYS_MAX_LIMIT, estimateTokens, posteriorMean, listMemoryKeys, checkChunkIntegrity, getMemoryChunks, getPosteriorsByIds, init_key_browser, createEvent, createEventsBatch, getEventCountsFiltered, getEventsFiltered, init_events, mergeScheduleTiming, validateRecurringTiming, changesScheduleTarget, init_validate, renderTypeBlobs, init_script_query_types, renderRunOutput, init_script_run, renderSearchResults, searchSuccessMessage, init_script_search, followUpThreadForSourceTask, evaluateFollowUpRedelegation, init_follow_up_redelegation_guard, checkOutputSchemaShape, sendTaskOutputSchema, sendTaskHandler, init_send_task, setSheetRange, appendSheetRows, clearSheetRange, init_service, steerTaskUserInputSchema, steerTaskOutputSchema, steerTaskHandler, init_steer_task, skipReasonFrom, finalizeSkippedTaskReaction, init_task_skip, IMPROVEMENT_TEXT_MAX, IMPROVEMENT_STATUSES, IMPROVEMENT_SOURCES, ImprovementError, isImprovementsEnabled, getImprovement, listImprovements, createImprovement, approveAndSend, discardImprovement, improvementLeakHints, init_improvements, recomputeSessionCost, init_session_cost_recompute, canClaim, init_budget_admission, emitBudgetRefusalSideEffects, init_budget_refusal_notify, workflowModelErrors, init_model_validation, patchWorkflowDefinition, init_patch_definition, IDEMPOTENT_REPLAYED_HEADER, idempotencyKeyHeader, readIdempotencyKey, replayAcceptedOperation, init_idempotency_key, resolveScriptsOnlyMode, init_scripts_only_mode, ALL_CAPABILITIES, hasCapability, getEnabledCapabilities, createServer, init_server };
|