@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
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
convertResponsesTools,
|
|
13
13
|
processResponsesStream,
|
|
14
14
|
init_openai_responses_shared
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-fjzjtqna.js";
|
|
16
16
|
import {
|
|
17
17
|
clampOpenAIPromptCacheKey,
|
|
18
18
|
init_openai_prompt_cache
|
|
@@ -30,17 +30,16 @@ import {
|
|
|
30
30
|
init_constrained_sampling,
|
|
31
31
|
buildBaseOptions,
|
|
32
32
|
init_simple_options
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-jw7n9pct.js";
|
|
34
34
|
import {
|
|
35
35
|
normalizeContext,
|
|
36
|
-
getInitialSystemMessage,
|
|
37
36
|
resolveTranscript,
|
|
38
37
|
getDeclaredTools,
|
|
39
38
|
resolveTranscriptTools,
|
|
40
39
|
init_transcript,
|
|
41
40
|
clampThinkingLevel,
|
|
42
41
|
init_models
|
|
43
|
-
} from "./cli-
|
|
42
|
+
} from "./cli-8gr1bg9t.js";
|
|
44
43
|
import {
|
|
45
44
|
AssistantMessageEventStream,
|
|
46
45
|
init_event_stream,
|
|
@@ -53,17 +52,15 @@ import {
|
|
|
53
52
|
normalizeProviderError,
|
|
54
53
|
formatProviderError,
|
|
55
54
|
init_error_body
|
|
56
|
-
} from "./cli-
|
|
55
|
+
} from "./cli-53gt8wfv.js";
|
|
57
56
|
import {
|
|
58
57
|
headersToRecord,
|
|
59
58
|
init_headers
|
|
60
59
|
} from "./cli-6ecv5wm5.js";
|
|
61
60
|
import {
|
|
62
|
-
getSystemMessageText,
|
|
63
|
-
init_text,
|
|
64
61
|
getIdentityHeaders,
|
|
65
62
|
init_identity2
|
|
66
|
-
} from "./cli-
|
|
63
|
+
} from "./cli-ttatvwn6.js";
|
|
67
64
|
import {
|
|
68
65
|
__esm
|
|
69
66
|
} from "./cli-242037k3.js";
|
|
@@ -163,7 +160,18 @@ function compressRequestBodyZstd(bodyJson) {
|
|
|
163
160
|
return null;
|
|
164
161
|
}
|
|
165
162
|
}
|
|
166
|
-
function
|
|
163
|
+
function getConfigurationUpdateEffort(model, options) {
|
|
164
|
+
if (!model.compat?.supportsMidConvoEffort || options?.reasoningEffort === undefined)
|
|
165
|
+
return;
|
|
166
|
+
return resolveReasoningEffort(model, options.reasoningEffort) ?? undefined;
|
|
167
|
+
}
|
|
168
|
+
function resolveReasoningEffort(model, reasoningEffort) {
|
|
169
|
+
if (reasoningEffort === "none") {
|
|
170
|
+
return model.thinkingLevelMap?.off === undefined ? "none" : model.thinkingLevelMap.off;
|
|
171
|
+
}
|
|
172
|
+
return model.thinkingLevelMap?.[reasoningEffort] ?? reasoningEffort;
|
|
173
|
+
}
|
|
174
|
+
function buildRequestBody(model, context, options, cacheSessionId, grammarToolInputProperties, configurationUpdateEffort) {
|
|
167
175
|
const supportsStrictMode = model.compat?.supportsStrictMode ?? true;
|
|
168
176
|
const supportsOpenAIGrammarTools = model.compat?.supportsOpenAIGrammarTools ?? false;
|
|
169
177
|
const supportsAdditionalTools = model.compat?.supportsAdditionalTools ?? false;
|
|
@@ -174,20 +182,17 @@ function buildRequestBody(model, context, options, cacheSessionId, grammarToolIn
|
|
|
174
182
|
supportsToolSearch
|
|
175
183
|
}));
|
|
176
184
|
const messages = convertResponsesMessages(model, context, CODEX_TOOL_CALL_PROVIDERS, {
|
|
177
|
-
includeSystemPrompt: false,
|
|
178
185
|
grammarToolInputProperties,
|
|
179
186
|
supportsMidConvoSystemMessages: model.compat?.supportsMidConvoSystemMessages ?? false,
|
|
180
187
|
supportsAdditionalTools,
|
|
181
188
|
supportsToolSearch,
|
|
182
|
-
toolOptions: { strict: null, supportsStrictMode, supportsOpenAIGrammarTools }
|
|
189
|
+
toolOptions: { strict: null, supportsStrictMode, supportsOpenAIGrammarTools },
|
|
190
|
+
configurationUpdateEffort
|
|
183
191
|
});
|
|
184
|
-
const initialSystemMessage = getInitialSystemMessage(context.messages);
|
|
185
|
-
const instructions = initialSystemMessage ? getSystemMessageText(initialSystemMessage) : "";
|
|
186
192
|
const body = {
|
|
187
193
|
model: model.id,
|
|
188
194
|
store: false,
|
|
189
195
|
stream: true,
|
|
190
|
-
instructions: instructions || "You are a helpful assistant.",
|
|
191
196
|
input: messages,
|
|
192
197
|
text: { verbosity: options?.textVerbosity || "low" },
|
|
193
198
|
include: ["reasoning.encrypted_content"],
|
|
@@ -195,6 +200,9 @@ function buildRequestBody(model, context, options, cacheSessionId, grammarToolIn
|
|
|
195
200
|
tool_choice: options?.toolChoice ?? "auto",
|
|
196
201
|
parallel_tool_calls: true
|
|
197
202
|
};
|
|
203
|
+
if (options?.maxTokens && (model.compat?.supportsMaxOutputTokens ?? true)) {
|
|
204
|
+
body.max_output_tokens = Math.max(options.maxTokens, MIN_OUTPUT_TOKENS);
|
|
205
|
+
}
|
|
198
206
|
if (options?.temperature !== undefined) {
|
|
199
207
|
body.temperature = options.temperature;
|
|
200
208
|
}
|
|
@@ -209,7 +217,7 @@ function buildRequestBody(model, context, options, cacheSessionId, grammarToolIn
|
|
|
209
217
|
});
|
|
210
218
|
}
|
|
211
219
|
if (options?.reasoningEffort !== undefined) {
|
|
212
|
-
const effort =
|
|
220
|
+
const effort = configurationUpdateEffort === undefined ? resolveReasoningEffort(model, options.reasoningEffort) : CONFIGURATION_UPDATE_REQUEST_EFFORT;
|
|
213
221
|
if (effort !== null) {
|
|
214
222
|
body.reasoning = {
|
|
215
223
|
effort,
|
|
@@ -925,10 +933,7 @@ async function processWebSocketStream(url, body, headers, output, stream, model,
|
|
|
925
933
|
if (options?.signal?.aborted) {
|
|
926
934
|
keepConnection = false;
|
|
927
935
|
} else if (useCachedContext && entry && output.responseId) {
|
|
928
|
-
const responseItems = convertResponsesMessages(model, normalizeContext({ messages: [output] }), CODEX_TOOL_CALL_PROVIDERS, {
|
|
929
|
-
includeSystemPrompt: false,
|
|
930
|
-
grammarToolInputProperties
|
|
931
|
-
}).filter((item) => item.type !== "function_call_output" && item.type !== "custom_tool_call_output");
|
|
936
|
+
const responseItems = convertResponsesMessages(model, normalizeContext({ messages: [output] }), CODEX_TOOL_CALL_PROVIDERS, { grammarToolInputProperties }).filter((item) => item.type !== "function_call_output" && item.type !== "custom_tool_call_output");
|
|
932
937
|
entry.continuation = {
|
|
933
938
|
lastRequestBody: fullBody,
|
|
934
939
|
lastResponseId: output.responseId,
|
|
@@ -1017,16 +1022,18 @@ function buildWebSocketHeaders(defaultHeaders, initHeaders, additionalHeaders, a
|
|
|
1017
1022
|
headers.set("session-id", requestId);
|
|
1018
1023
|
return headers;
|
|
1019
1024
|
}
|
|
1020
|
-
var DEFAULT_CODEX_BASE_URL = "https://chatgpt.com/backend-api", JWT_CLAIM_PATH = "https://api.openai.com/auth", DEFAULT_MAX_RETRIES = 0, BASE_DELAY_MS = 1000, DEFAULT_MAX_RETRY_DELAY_MS = 60000, DEFAULT_WEBSOCKET_CONNECT_TIMEOUT_MS = 15000, REQUEST_COMPRESSION_ZSTD_LEVEL = 3, CODEX_TOOL_CALL_PROVIDERS, WEBSOCKET_MESSAGE_TOO_BIG_CLOSE_CODE = 1009, WEBSOCKET_CONNECTION_LIMIT_REACHED_CODE = "websocket_connection_limit_reached", PREVIOUS_RESPONSE_NOT_FOUND_CODE = "previous_response_not_found", CODEX_RESPONSE_STATUSES, RetryDelayExceededError, stream = (model, context, options) => {
|
|
1025
|
+
var DEFAULT_CODEX_BASE_URL = "https://chatgpt.com/backend-api", JWT_CLAIM_PATH = "https://api.openai.com/auth", DEFAULT_MAX_RETRIES = 0, BASE_DELAY_MS = 1000, DEFAULT_MAX_RETRY_DELAY_MS = 60000, DEFAULT_WEBSOCKET_CONNECT_TIMEOUT_MS = 15000, REQUEST_COMPRESSION_ZSTD_LEVEL = 3, CODEX_TOOL_CALL_PROVIDERS, WEBSOCKET_MESSAGE_TOO_BIG_CLOSE_CODE = 1009, WEBSOCKET_CONNECTION_LIMIT_REACHED_CODE = "websocket_connection_limit_reached", PREVIOUS_RESPONSE_NOT_FOUND_CODE = "previous_response_not_found", MIN_OUTPUT_TOKENS = 16, CONFIGURATION_UPDATE_REQUEST_EFFORT = "medium", CODEX_RESPONSE_STATUSES, RetryDelayExceededError, stream = (model, context, options) => {
|
|
1021
1026
|
const stream = new AssistantMessageEventStream;
|
|
1022
1027
|
const normalizedContext = resolveTranscript(context, model.compat?.supportsMidConvoSystemMessages);
|
|
1023
1028
|
(async () => {
|
|
1029
|
+
const configurationUpdateEffort = getConfigurationUpdateEffort(model, options);
|
|
1024
1030
|
const output = {
|
|
1025
1031
|
role: "assistant",
|
|
1026
1032
|
content: [],
|
|
1027
1033
|
api: "openai-codex-responses",
|
|
1028
1034
|
provider: model.provider,
|
|
1029
1035
|
model: model.id,
|
|
1036
|
+
...configurationUpdateEffort === undefined ? {} : { providerThinkingLevel: configurationUpdateEffort },
|
|
1030
1037
|
usage: {
|
|
1031
1038
|
input: 0,
|
|
1032
1039
|
output: 0,
|
|
@@ -1047,7 +1054,7 @@ var DEFAULT_CODEX_BASE_URL = "https://chatgpt.com/backend-api", JWT_CLAIM_PATH =
|
|
|
1047
1054
|
const grammarToolInputProperties = createGrammarToolInputProperties(getDeclaredTools(normalizedContext.messages), model.compat?.supportsOpenAIGrammarTools ?? false);
|
|
1048
1055
|
const cacheSessionId = options?.cacheRetention === "none" ? undefined : options?.sessionId;
|
|
1049
1056
|
const codexSessionId = clampOpenAIPromptCacheKey(cacheSessionId);
|
|
1050
|
-
let body = buildRequestBody(model, normalizedContext, options, codexSessionId, grammarToolInputProperties);
|
|
1057
|
+
let body = buildRequestBody(model, normalizedContext, options, codexSessionId, grammarToolInputProperties, configurationUpdateEffort);
|
|
1051
1058
|
const nextBody = await options?.onPayload?.(body, model);
|
|
1052
1059
|
if (nextBody !== undefined) {
|
|
1053
1060
|
body = nextBody;
|
|
@@ -1217,8 +1224,8 @@ var DEFAULT_CODEX_BASE_URL = "https://chatgpt.com/backend-api", JWT_CLAIM_PATH =
|
|
|
1217
1224
|
...buildBaseOptions(model, context, options, apiKey),
|
|
1218
1225
|
toolChoice: options?.toolChoice
|
|
1219
1226
|
};
|
|
1220
|
-
const clampedReasoning = options?.reasoning ? clampThinkingLevel(model, options.reasoning) :
|
|
1221
|
-
const reasoningEffort = clampedReasoning
|
|
1227
|
+
const clampedReasoning = options?.reasoning ? clampThinkingLevel(model, options.reasoning) : "off";
|
|
1228
|
+
const reasoningEffort = clampedReasoning !== "off" ? clampedReasoning : model.reasoning ? "none" : undefined;
|
|
1222
1229
|
return stream(model, context, {
|
|
1223
1230
|
...base,
|
|
1224
1231
|
reasoningEffort
|
|
@@ -1234,7 +1241,6 @@ var init_openai_codex_responses = __esm(() => {
|
|
|
1234
1241
|
init_headers();
|
|
1235
1242
|
init_identity2();
|
|
1236
1243
|
init_node_http_proxy();
|
|
1237
|
-
init_text();
|
|
1238
1244
|
init_transcript();
|
|
1239
1245
|
init_uuid();
|
|
1240
1246
|
init_constrained_sampling();
|
|
@@ -1280,7 +1286,7 @@ var init_openai_codex_responses = __esm(() => {
|
|
|
1280
1286
|
}
|
|
1281
1287
|
};
|
|
1282
1288
|
SESSION_WEBSOCKET_CACHE_TTL_MS = 5 * 60 * 1000;
|
|
1283
|
-
SESSION_WEBSOCKET_MAX_AGE_MS =
|
|
1289
|
+
SESSION_WEBSOCKET_MAX_AGE_MS = 45 * 60 * 1000;
|
|
1284
1290
|
websocketSessionCache = new Map;
|
|
1285
1291
|
websocketDebugStats = new Map;
|
|
1286
1292
|
websocketSseFallbackSessions = new Set;
|
|
@@ -8,30 +8,30 @@ import {
|
|
|
8
8
|
buildCopilotDynamicHeaders,
|
|
9
9
|
init_github_copilot_headers
|
|
10
10
|
} from "./cli-h3m3652m.js";
|
|
11
|
-
import {
|
|
12
|
-
OpenAI,
|
|
13
|
-
init_openai
|
|
14
|
-
} from "./cli-6c61yjwy.js";
|
|
15
11
|
import {
|
|
16
12
|
clampOpenAIPromptCacheKey,
|
|
17
13
|
init_openai_prompt_cache
|
|
18
14
|
} from "./cli-mn79q3k1.js";
|
|
19
15
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./cli-
|
|
16
|
+
OpenAI,
|
|
17
|
+
init_openai
|
|
18
|
+
} from "./cli-5xx353cy.js";
|
|
23
19
|
import {
|
|
24
20
|
shortHash,
|
|
25
21
|
init_hash
|
|
26
22
|
} from "./cli-nmv4e6h3.js";
|
|
27
23
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./cli-
|
|
24
|
+
retryProviderRequest,
|
|
25
|
+
init_provider_retry
|
|
26
|
+
} from "./cli-8z09zh6s.js";
|
|
31
27
|
import {
|
|
32
28
|
ToolCallArgumentsStream,
|
|
33
29
|
init_streaming_json
|
|
34
30
|
} from "./cli-6pzk82fd.js";
|
|
31
|
+
import {
|
|
32
|
+
getProviderEnvValue,
|
|
33
|
+
init_provider_env
|
|
34
|
+
} from "./cli-dc4m8cpv.js";
|
|
35
35
|
import {
|
|
36
36
|
getJsonSchemaToolParameters,
|
|
37
37
|
getGrammarToolInput,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
init_simple_options,
|
|
49
49
|
transformMessages,
|
|
50
50
|
init_transform_messages
|
|
51
|
-
} from "./cli-
|
|
51
|
+
} from "./cli-jw7n9pct.js";
|
|
52
52
|
import {
|
|
53
53
|
sanitizeSurrogates,
|
|
54
54
|
init_sanitize_unicode
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
calculateCost,
|
|
62
62
|
clampThinkingLevel,
|
|
63
63
|
init_models
|
|
64
|
-
} from "./cli-
|
|
64
|
+
} from "./cli-8gr1bg9t.js";
|
|
65
65
|
import {
|
|
66
66
|
AssistantMessageEventStream,
|
|
67
67
|
init_event_stream
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
normalizeProviderError,
|
|
71
71
|
formatProviderError,
|
|
72
72
|
init_error_body
|
|
73
|
-
} from "./cli-
|
|
73
|
+
} from "./cli-53gt8wfv.js";
|
|
74
74
|
import {
|
|
75
75
|
headersToRecord,
|
|
76
76
|
init_headers
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
init_text,
|
|
82
82
|
getIdentityHeaders,
|
|
83
83
|
init_identity2
|
|
84
|
-
} from "./cli-
|
|
84
|
+
} from "./cli-ttatvwn6.js";
|
|
85
85
|
import {
|
|
86
86
|
__esm
|
|
87
87
|
} from "./cli-242037k3.js";
|
|
@@ -760,7 +760,7 @@ function parseChunkUsage(rawUsage, model) {
|
|
|
760
760
|
output: outputTokens,
|
|
761
761
|
cacheRead: cacheReadTokens,
|
|
762
762
|
cacheWrite: cacheWriteTokens,
|
|
763
|
-
reasoning: rawUsage.completion_tokens_details?.reasoning_tokens || 0,
|
|
763
|
+
reasoning: rawUsage.completion_tokens_details?.reasoning_tokens || rawUsage.reasoning_tokens || 0,
|
|
764
764
|
totalTokens: input + outputTokens + cacheReadTokens + cacheWriteTokens,
|
|
765
765
|
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0, total: 0 }
|
|
766
766
|
};
|
|
@@ -809,11 +809,11 @@ function detectCompat(model) {
|
|
|
809
809
|
const isNonStandard = isNvidia || isCerebras || provider === "xai" || baseUrl.includes("api.x.ai") || isTogether || baseUrl.includes("chutes.ai") || isDeepSeek || isZai || isMoonshot || provider === "opencode" || baseUrl.includes("opencode.ai") || isCloudflareWorkersAI || isCloudflareAiGateway || isAntLing;
|
|
810
810
|
const useMaxTokens = baseUrl.includes("chutes.ai") || isDeepSeek || isMoonshot || isCloudflareAiGateway || isTogether || isNvidia || isAntLing || isZai;
|
|
811
811
|
const isGrok = provider === "xai" || baseUrl.includes("api.x.ai");
|
|
812
|
-
const
|
|
812
|
+
const isOpenAI = provider === "openai" || baseUrl.includes("api.openai.com");
|
|
813
813
|
const cacheControlFormat = provider === "openrouter" && model.id.startsWith("anthropic/") ? "anthropic" : undefined;
|
|
814
814
|
return {
|
|
815
815
|
supportsStore: !isNonStandard,
|
|
816
|
-
supportsDeveloperRole:
|
|
816
|
+
supportsDeveloperRole: isOpenAI,
|
|
817
817
|
supportsReasoningEffort: !isGrok && !isZai && !isMoonshot && !isTogether && !isCloudflareAiGateway && !isNvidia && !isAntLing,
|
|
818
818
|
supportsUsageInStreaming: true,
|
|
819
819
|
supportsFinishReason: true,
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
postClassifierRequest,
|
|
5
5
|
parseClassifierUsage,
|
|
6
6
|
init_classifier_shared
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-v7az4d1g.js";
|
|
8
8
|
import {
|
|
9
9
|
normalizeProviderError,
|
|
10
10
|
formatProviderError,
|
|
11
11
|
init_error_body
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-53gt8wfv.js";
|
|
13
13
|
import {
|
|
14
14
|
__esm
|
|
15
15
|
} from "./cli-242037k3.js";
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
convertResponsesTools,
|
|
10
10
|
processResponsesStream,
|
|
11
11
|
init_openai_responses_shared
|
|
12
|
-
} from "./cli-
|
|
13
|
-
import {
|
|
14
|
-
OpenAI,
|
|
15
|
-
init_openai
|
|
16
|
-
} from "./cli-6c61yjwy.js";
|
|
12
|
+
} from "./cli-fjzjtqna.js";
|
|
17
13
|
import {
|
|
18
14
|
clampOpenAIPromptCacheKey,
|
|
19
15
|
init_openai_prompt_cache
|
|
20
16
|
} from "./cli-mn79q3k1.js";
|
|
17
|
+
import {
|
|
18
|
+
OpenAI,
|
|
19
|
+
init_openai
|
|
20
|
+
} from "./cli-5xx353cy.js";
|
|
21
21
|
import {
|
|
22
22
|
retryProviderRequest,
|
|
23
23
|
init_provider_retry
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
resolveSamplingParams,
|
|
33
33
|
buildBaseOptions,
|
|
34
34
|
init_simple_options
|
|
35
|
-
} from "./cli-
|
|
35
|
+
} from "./cli-jw7n9pct.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveTranscript,
|
|
38
38
|
getDeclaredTools,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
init_transcript,
|
|
41
41
|
clampThinkingLevel,
|
|
42
42
|
init_models
|
|
43
|
-
} from "./cli-
|
|
43
|
+
} from "./cli-8gr1bg9t.js";
|
|
44
44
|
import {
|
|
45
45
|
AssistantMessageEventStream,
|
|
46
46
|
init_event_stream
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
normalizeProviderError,
|
|
50
50
|
formatProviderError,
|
|
51
51
|
init_error_body
|
|
52
|
-
} from "./cli-
|
|
52
|
+
} from "./cli-53gt8wfv.js";
|
|
53
53
|
import {
|
|
54
54
|
headersToRecord,
|
|
55
55
|
init_headers
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
import {
|
|
58
58
|
getIdentityHeaders,
|
|
59
59
|
init_identity2
|
|
60
|
-
} from "./cli-
|
|
60
|
+
} from "./cli-ttatvwn6.js";
|
|
61
61
|
import {
|
|
62
62
|
__esm
|
|
63
63
|
} from "./cli-242037k3.js";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
applyOpenRouterBaseUrlOverride2,
|
|
4
4
|
buildOpenAICompatibleProviderBlock2,
|
|
5
5
|
OpencodeAdapter2
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
6
|
+
} from "./cli-6zpn5hmp.js";
|
|
7
|
+
import"./cli-h364asjc.js";
|
|
8
|
+
import"./cli-t1bqpzgz.js";
|
|
9
9
|
import"./cli-zcb64xzv.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-g03x26q6.js";
|
|
11
11
|
import"./cli-0726awxw.js";
|
|
12
12
|
import"./cli-xd6ntv7x.js";
|
|
13
|
-
import"./cli-
|
|
13
|
+
import"./cli-k9kfck3s.js";
|
|
14
14
|
import"./cli-08gfvs58.js";
|
|
15
15
|
export {
|
|
16
16
|
OpencodeAdapter2 as OpencodeAdapter,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OpenAI,
|
|
3
3
|
init_openai
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-5xx353cy.js";
|
|
5
5
|
import {
|
|
6
6
|
retryProviderRequest,
|
|
7
7
|
init_provider_retry
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
normalizeProviderError,
|
|
15
15
|
formatProviderError,
|
|
16
16
|
init_error_body
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-53gt8wfv.js";
|
|
18
18
|
import {
|
|
19
19
|
headersToRecord,
|
|
20
20
|
providerHeadersToRecord,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
getIdentityHeaders,
|
|
25
25
|
init_identity2
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-ttatvwn6.js";
|
|
27
27
|
import {
|
|
28
28
|
__esm
|
|
29
29
|
} from "./cli-242037k3.js";
|