@desplega.ai/agent-swarm 2.9.1 → 2.10.0
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-bht22g3k.js +16 -0
- package/dist/{acp-targets-ny75x1qy.js → acp-targets-arrwv4f0.js} +6 -6
- package/dist/{actions-b9qgrmeq.js → actions-y0d2n1c2.js} +49 -28
- package/dist/{agent-fs-provision-b5dhdsbd.js → agent-fs-provision-tpj7sktd.js} +4 -4
- package/dist/{amp-adapter-vtax2c9s.js → amp-adapter-vmmnmw8d.js} +1 -1
- package/dist/{anthropic-messages-r5xf5hqw.js → anthropic-messages-zdca3gv1.js} +13 -13
- package/dist/{app-g2z15hax.js → app-wb7w45dq.js} +3 -3
- package/dist/{approval-notifications-yt13wp8r.js → approval-notifications-7mqr6vbd.js} +5 -5
- package/dist/{assistant-2cgfxsgk.js → assistant-gf60454p.js} +19 -19
- package/dist/{boot-args-schema-3gwy0f60.js → boot-args-schema-qxmd59sr.js} +1 -1
- package/dist/{boot-reembed-mywmyp4s.js → boot-reembed-5tmeskj2.js} +1 -1
- package/dist/{boot-reembed-92g7s5zp.js → boot-reembed-wb44vc3s.js} +1 -1
- package/dist/boot-scrub-sweep-25bxhnw4.js +9 -0
- package/dist/{boot-seeds-ce7rvgq1.js → boot-seeds-nj9za0vk.js} +4 -4
- package/dist/{claude-adapter-3m4q7735.js → claude-adapter-d3krpdyb.js} +5 -5
- package/dist/{claude-managed-setup-c217draw.js → claude-managed-setup-7y4pwd81.js} +1 -1
- package/dist/{claude-sdk-session-7fbqm51z.js → claude-sdk-session-d138zy0e.js} +5 -5
- package/dist/{cli-tvc4jag9.js → cli-01k6wpr9.js} +3 -3
- package/dist/{cli-2xs8tsf7.js → cli-124ntmf0.js} +42 -36
- package/dist/{cli-jm0hvmz2.js → cli-2rnd5j3t.js} +1 -1
- package/dist/{cli-32djehja.js → cli-2spnz7ye.js} +8 -8
- package/dist/{cli-2dq9yv8p.js → cli-2v2zdm0a.js} +1 -1
- package/dist/{cli-fkef327x.js → cli-3caf7pmg.js} +2 -2
- package/dist/{cli-mw620q3n.js → cli-3et6fmfe.js} +1 -1
- package/dist/{cli-h9yqfzx9.js → cli-3f8zbtqa.js} +3 -3
- package/dist/{cli-mhapr559.js → cli-43evxwj4.js} +1 -1
- package/dist/{cli-pyjn0qhk.js → cli-539h29es.js} +138 -21
- package/dist/{cli-bnqncekd.js → cli-5qhfv9rw.js} +2 -2
- package/dist/{cli-p4kckx1z.js → cli-6037prsx.js} +6 -6
- package/dist/{cli-zr6qy15y.js → cli-6cwr32fe.js} +17 -17
- package/dist/{cli-1jykg0py.js → cli-7r162fxe.js} +22 -15
- package/dist/{cli-sn650d7x.js → cli-8st34zhr.js} +20 -10
- package/dist/{cli-rq5rpv6k.js → cli-91pkxres.js} +1 -1
- package/dist/{cli-m7zvgt57.js → cli-9fjr27ez.js} +10 -10
- package/dist/{cli-f8x9drqr.js → cli-aw83sr40.js} +19 -5
- package/dist/{cli-jkw6ptfw.js → cli-cc93xzes.js} +5 -5
- package/dist/{cli-gfy38pvt.js → cli-fcfbct2j.js} +5 -5
- package/dist/{cli-nafvvsp8.js → cli-fq2rr3jb.js} +5 -5
- package/dist/{boot-scrub-sweep-7dkdzqxx.js → cli-had1p04a.js} +8 -9
- package/dist/{cli-bg63qmsx.js → cli-j6te8keb.js} +4 -4
- package/dist/{cli-br0924pw.js → cli-jrbq4djp.js} +1 -1
- package/dist/{cli-kxx4k2jw.js → cli-k3q2va86.js} +2 -2
- package/dist/{cli-jaw5v1sy.js → cli-k5yewqgd.js} +3 -3
- package/dist/cli-kbtzfrxj.js +404 -0
- package/dist/{cli-td9tb872.js → cli-m9cvf7vs.js} +7 -7
- package/dist/{cli-f3jyzq4g.js → cli-md50mj0r.js} +2 -2
- package/dist/{cli-xag7btpe.js → cli-mk7c5ac4.js} +1 -1
- package/dist/cli-mys27d03.js +321 -0
- package/dist/{cli-nbt14he0.js → cli-nstkanmx.js} +5 -5
- package/dist/{cli-wn13hhdt.js → cli-nv4xsvmk.js} +4 -4
- package/dist/{cli-vyff45ve.js → cli-p0c3vtch.js} +2 -2
- package/dist/{cli-2czxfnvj.js → cli-p0n7b5rz.js} +662 -93
- package/dist/{cli-j7svy295.js → cli-q5srsxq2.js} +12 -12
- package/dist/{cli-vt89089n.js → cli-qrta34nb.js} +4 -4
- package/dist/{cli-ysvspf5e.js → cli-qx4f057j.js} +2 -2
- package/dist/{cli-zh0e5x7p.js → cli-s1khw52h.js} +11 -11
- package/dist/{cli-mkwkwq81.js → cli-s1zqk1aj.js} +18 -11
- package/dist/{cli-f9gz2vyj.js → cli-sb4426be.js} +7 -7
- package/dist/{cli-dgs10ttj.js → cli-th1dkc2v.js} +1 -1
- package/dist/{cli-3j873zxq.js → cli-tr27kwyg.js} +2 -2
- package/dist/{cli-6945ywhr.js → cli-tvgqesec.js} +6 -4
- package/dist/{cli-fjggej24.js → cli-v46zsvqk.js} +1 -1
- package/dist/{cli-67mwzr35.js → cli-v8z0yga9.js} +4 -4
- package/dist/{cli-pb2ay3sh.js → cli-vfqvrd82.js} +5 -5
- package/dist/{cli-fh97xn30.js → cli-vq2eg24x.js} +2 -2
- package/dist/{cli-v57d7fmm.js → cli-vsw91x06.js} +23 -22
- package/dist/{cli-2yjj3e31.js → cli-w1q68d8x.js} +9 -7
- package/dist/{cli-y2ewxhth.js → cli-wafmk3fn.js} +10 -10
- package/dist/{cli-ctx0b85j.js → cli-wwp1bd3n.js} +257 -101
- package/dist/{cli-bkjdknnp.js → cli-y4ccxtz5.js} +37 -5
- package/dist/{cli-w4n323t3.js → cli-y8p78ekx.js} +7 -7
- package/dist/{cli-8zh9nrew.js → cli-z0m452jr.js} +1 -1
- package/dist/{cli-mjw0yf82.js → cli-zeh2mhkg.js} +1 -1
- package/dist/{cli-jwampxxq.js → cli-zk7v5s89.js} +2 -2
- package/dist/cli.js +16 -16
- package/dist/{cloudflare-workers-ai-system-one-9y1zx3pt.js → cloudflare-workers-ai-system-one-4aysy6rh.js} +2 -2
- package/dist/{codex-adapter-n656pvb8.js → codex-adapter-exfdbj73.js} +4 -4
- package/dist/{codex-session-runner-p0fbv5y9.js → codex-session-runner-xhznc4g3.js} +4 -4
- package/dist/{commands-gwea8z5p.js → commands-d8g349v4.js} +3 -3
- package/dist/{controller-t67c3grh.js → controller-mwgdmb8y.js} +3 -3
- package/dist/{controllers-connect-ks155r0h.js → controllers-connect-5v7qx04j.js} +19 -19
- package/dist/core-sxy4epp2.js +38 -0
- package/dist/{cursor-adapter-ygwrtmkv.js → cursor-adapter-p2q5h35d.js} +1 -1
- package/dist/{db-rb2xqdb1.js → db-qpganbeb.js} +3 -3
- package/dist/{db-kpmx06s9.js → db-wcw0b2j8.js} +2 -2
- package/dist/{dispatcher-31sm0ej2.js → dispatcher-8d8s49yz.js} +17 -17
- package/dist/{dsh-adapter-qyxh0w31.js → dsh-adapter-me0twn13.js} +1 -1
- package/dist/{easter-egg-3d-00wjscn6.js → easter-egg-3d-wv7w5ty6.js} +1 -1
- package/dist/{embedding-space-qhw4g68n.js → embedding-space-e48xchqa.js} +6 -6
- package/dist/{embeddings-zdv9ke6x.js → embeddings-tgq2afbq.js} +1 -1
- package/dist/{execute-zna8wwr7.js → execute-8rhwrk7f.js} +1 -1
- package/dist/{external-channel-1ac6t56s.js → external-channel-8bt3j2pm.js} +2 -2
- package/dist/{fx-adapter-sk7n0fzc.js → fx-adapter-adtdb3jb.js} +8 -8
- package/dist/{grok-adapter-sjbcm5ew.js → grok-adapter-accnn9km.js} +8 -8
- package/dist/handlers-1x77561e.js +35 -0
- package/dist/{heartbeat-2f6z4kdx.js → heartbeat-x0056ra5.js} +20 -20
- package/dist/{hook-w1skzaqc.js → hook-a7vmn2st.js} +4 -4
- package/dist/{hook-8y0gvtp1.js → hook-mrd2ayxv.js} +5 -5
- package/dist/{http-wghxvpef.js → http-ym9c5svp.js} +676 -273
- package/dist/{index-s71ez27v.js → index-01ns1pkw.js} +1 -1
- package/dist/index-48qzcqzj.js +35 -0
- package/dist/{index-9zkchs9t.js → index-ny60jcat.js} +186 -14
- package/dist/{index-rv89fvzf.js → index-p46tvwtx.js} +21 -21
- package/dist/index-rkvaambe.js +36 -0
- package/dist/{index-8zn8nxn5.js → index-x6azjwm8.js} +1 -1
- package/dist/{index-25pvya7q.js → index-xj1mq27m.js} +17 -17
- package/dist/k8s-m56sw868.js +217 -0
- package/dist/{keepalive-sh02349h.js → keepalive-7yxg8z4c.js} +3 -3
- package/dist/lead-enzn86bz.js +74 -0
- package/dist/{maintenance-yj0dcjja.js → maintenance-6tefxmk1.js} +1 -1
- package/dist/{oauth-refresh-sweep-d9xedk66.js → oauth-refresh-sweep-70cavc3a.js} +2 -2
- package/dist/{onboard-dpgjn03r.js → onboard-fja65z08.js} +5 -5
- package/dist/{openai-decisions-q3hh60wr.js → openai-decisions-ytp6w6xh.js} +1 -1
- package/dist/{opencode-adapter-2d31cpjc.js → opencode-adapter-hakkm7yh.js} +5 -5
- package/dist/{otel-impl-1skarpfq.js → otel-impl-7zhnt6gj.js} +1 -1
- package/dist/{pending-bfmxtx0g.js → pending-h01yzpx4.js} +18 -18
- package/dist/{pi-mono-adapter-gvppnasy.js → pi-mono-adapter-f52hz743.js} +6 -6
- package/dist/{pricing-refresh-c6b325mk.js → pricing-refresh-fzxvk2zf.js} +2 -2
- package/dist/{rbac-roles-h80qbdbs.js → rbac-roles-9v6vhgbs.js} +3 -3
- package/dist/{rbac-roles-zfcx68tx.js → rbac-roles-hfgh8sba.js} +2 -2
- package/dist/{render-v2-nx20t3rb.js → render-v2-1rgspxzf.js} +3 -3
- package/dist/{resume-5ep8agan.js → resume-tqy61x24.js} +7 -7
- package/dist/{runtime-r3pj4mce.js → runtime-exkxyx5f.js} +1 -1
- package/dist/{session-access-n7p3m15b.js → session-access-3act7vt4.js} +4 -4
- package/dist/{session-source-backfill-v8mt0zwn.js → session-source-backfill-82qe7fqq.js} +2 -2
- package/dist/{setup-z1psaqhe.js → setup-ry1vfdef.js} +1 -1
- package/dist/thread-buffer-3x93yexa.js +38 -0
- package/dist/{typesafe-system-one-f2en2knd.js → typesafe-system-one-vcfj2ak8.js} +2 -2
- package/dist/user-merge-jobs-bx6bf7db.js +22 -0
- package/dist/{virtual-modules-rrbjdpxn.js → virtual-modules-s0rjzcqq.js} +3 -3
- package/dist/{work-objects-4aghh73z.js → work-objects-z2e5tv03.js} +20 -20
- package/dist/{worker-follow-up-166zmex1.js → worker-follow-up-y3xeg89w.js} +17 -17
- package/dist/worker-zfcv2wbf.js +74 -0
- package/openapi.json +1630 -388
- package/package.json +3 -3
- package/src/be/boot-seeds.ts +7 -1
- package/src/be/db/model-groups.ts +238 -0
- package/src/be/db/model-profiles.ts +26 -8
- package/src/be/db/session-costs.ts +8 -2
- package/src/be/db/tasks/read.ts +3 -2
- package/src/be/db/tasks/write.ts +2 -1
- package/src/be/db/user-references.ts +75 -0
- package/src/be/db/users/references.ts +185 -0
- package/src/be/db-client.ts +70 -19
- package/src/be/db.ts +32 -57
- package/src/be/key-window-usage.ts +1 -0
- package/src/be/memory/demotion-evidence.ts +34 -0
- package/src/be/memory/reranker.ts +34 -12
- package/src/be/memory/review-recall-filter.ts +83 -0
- package/src/be/memory/search-candidates.ts +19 -6
- package/src/be/memory/types.ts +11 -0
- package/src/be/migrations/312_task_ui_action_runs_repeatable.sql +6 -0
- package/src/be/migrations/314_model_groups.sql +85 -0
- package/src/be/migrations/318_superseded_workflow_cut_backfill.sql +22 -0
- package/src/be/migrations/319_user_fk_indexes.sql +153 -0
- package/src/be/migrations/320_session_costs_kind.sql +4 -0
- package/src/be/migrations/321_user_merge_jobs.sql +52 -0
- package/src/be/pricing-normalize.ts +2 -0
- package/src/be/rbac-roles.ts +6 -4
- package/src/be/runtime-pools/db.ts +20 -5
- package/src/be/runtime-pools/supervisor.ts +15 -1
- package/src/be/scripts/db.ts +11 -0
- package/src/be/scripts/typecheck.ts +2 -0
- package/src/be/seed-model-groups.ts +86 -0
- package/src/be/seed-model-profiles.ts +20 -13
- package/src/be/seed-scripts/catalog/dreaming-gather.ts +165 -1
- package/src/be/swarm-config-guard.ts +34 -0
- package/src/be/task-ui-spec.ts +102 -1
- package/src/be/user-merge-jobs.ts +564 -0
- package/src/be/users.ts +41 -23
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/commands/onboard/compose-generator.ts +1 -1
- package/src/commands/onboard/env-generator.ts +1 -1
- package/src/commands/provider-credentials.ts +1 -1
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/extensions/contract.ts +15 -0
- package/src/extensions/dispatcher.ts +14 -4
- package/src/github/handlers.ts +57 -0
- package/src/github/types.ts +4 -0
- package/src/http/all-routes.ts +2 -0
- package/src/http/approval-requests.ts +5 -1
- package/src/http/auth.ts +3 -1
- package/src/http/config.ts +34 -1
- package/src/http/index.ts +13 -0
- package/src/http/memory.ts +19 -6
- package/src/http/model-groups.ts +277 -0
- package/src/http/model-profiles.ts +30 -13
- package/src/http/tasks.ts +41 -6
- package/src/http/tool-hooks.ts +140 -0
- package/src/http/users.ts +142 -19
- package/src/http/workflows.ts +19 -1
- package/src/integrations/chat-sdk/inbound.ts +8 -2
- package/src/integrations/chat-sdk/limits.ts +8 -3
- package/src/providers/acp-targets.ts +2 -2
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/pricing-sources.md +9 -0
- package/src/rbac/legacy-policy.ts +1 -0
- package/src/rbac/permissions.ts +5 -0
- package/src/runtime-providers/index.ts +7 -5
- package/src/runtime-providers/k8s.ts +250 -0
- package/src/scripts-runtime/types/stdlib.d.ts +2 -0
- package/src/scripts-runtime/types/swarm-extension.d.ts +16 -1
- package/src/scripts-runtime/types/swarm-sdk.d.ts +2 -0
- package/src/slack/actions.ts +33 -10
- package/src/slack/blocks.ts +23 -2
- package/src/slack/render-v2.ts +47 -0
- package/src/tests/acp-adapter.test.ts +26 -0
- package/src/tests/chat-sdk-relay.test.ts +21 -1
- package/src/tests/check-pr-body.test.ts +43 -0
- package/src/tests/credential-check.test.ts +14 -6
- package/src/tests/db-client.test.ts +146 -0
- package/src/tests/deploy-guard.test.ts +7 -7
- package/src/tests/deploy-select.test.ts +83 -0
- package/src/tests/dreaming-gather-corrections.test.ts +467 -0
- package/src/tests/event-loop-lag.test.ts +9 -7
- package/src/tests/fixtures/extensions/native-tool-recorder/hooks.ts +26 -0
- package/src/tests/fixtures/extensions/native-tool-recorder/manifest.json +10 -0
- package/src/tests/fixtures/onboard/content.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/content.env.txt +1 -1
- package/src/tests/fixtures/onboard/dev.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/dev.env.txt +1 -1
- package/src/tests/fixtures/onboard/full-all.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/full-all.env.txt +1 -1
- package/src/tests/fixtures/onboard/full.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/full.env.txt +1 -1
- package/src/tests/fixtures/onboard/research.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/research.env.txt +1 -1
- package/src/tests/fixtures/onboard/solo.compose.yml.txt +1 -1
- package/src/tests/fixtures/onboard/solo.env.txt +1 -1
- package/src/tests/github-event-filter.test.ts +8 -0
- package/src/tests/github-handlers-inline-comments.test.ts +2 -0
- package/src/tests/github-handlers-reactions.test.ts +4 -0
- package/src/tests/github-handlers.test.ts +3 -0
- package/src/tests/github-sender-trust.test.ts +223 -0
- package/src/tests/http-users.test.ts +142 -41
- package/src/tests/k8s-pool-smoke.test.ts +190 -0
- package/src/tests/key-window-usage.test.ts +15 -0
- package/src/tests/memory-rater-store.test.ts +35 -1
- package/src/tests/memory-reranker.test.ts +39 -4
- package/src/tests/memory-review-recall-filter.test.ts +205 -0
- package/src/tests/migration-318-superseded-workflow-cut-backfill.test.ts +74 -0
- package/src/tests/model-groups-api.test.ts +415 -0
- package/src/tests/model-profiles-api.test.ts +1 -0
- package/src/tests/operator-granted-credentials.test.ts +7 -2
- package/src/tests/operator-granted-role-wire.test.ts +2 -1
- package/src/tests/rbac-engine.test.ts +1 -0
- package/src/tests/runtime-k8s-pools.test.ts +142 -0
- package/src/tests/runtime-pools-db.test.ts +42 -2
- package/src/tests/runtime-pools-http.test.ts +47 -2
- package/src/tests/runtime-provider-registration.test.ts +5 -14
- package/src/tests/runtime-providers-k8s.test.ts +303 -0
- package/src/tests/script-connections.test.ts +13 -1
- package/src/tests/short-id.test.ts +23 -0
- package/src/tests/slack-blocks.test.ts +69 -0
- package/src/tests/slack-render-v2.test.ts +54 -0
- package/src/tests/spec-base-url.test.ts +13 -1
- package/src/tests/system-one-decide-session-cost.test.ts +196 -0
- package/src/tests/task-ui-action-route.test.ts +59 -1
- package/src/tests/task-ui-script-actions.test.ts +517 -0
- package/src/tests/tool-hooks-http.test.ts +187 -0
- package/src/tests/ui-spec-script-actions-config.test.ts +196 -0
- package/src/tests/user-delete-perf.test.ts +321 -0
- package/src/tests/user-merge-jobs.test.ts +680 -0
- package/src/tests/vcs-provider.test.ts +25 -5
- package/src/tests/vendored-openapi.test.ts +13 -1
- package/src/tests/workflow-agent-task-retry.test.ts +62 -0
- package/src/tests/workflow-foreach-supersede-retry.test.ts +10 -0
- package/src/tests/workflow-http-v2.test.ts +27 -0
- package/src/tests/workflow-replay.test.ts +10 -1
- package/src/tests/workflow-triggers-v2.test.ts +128 -0
- package/src/tests/workflow-wait-event.test.ts +109 -1
- package/src/tools/memory-search.ts +14 -3
- package/src/tools/store-progress.ts +26 -26
- package/src/tools/swarm-config/delete-config.ts +12 -1
- package/src/tools/swarm-config/set-config.ts +8 -0
- package/src/tools/system-one-decide.ts +113 -3
- package/src/tools/utils.ts +4 -1
- package/src/tools/workflows/create-workflow.ts +2 -0
- package/src/tools/workflows/update-workflow.ts +3 -1
- package/src/types.ts +86 -2
- package/src/ui-spec/actions.ts +30 -4
- package/src/ui-spec/schema.ts +38 -0
- package/src/ui-spec/script-actions.ts +340 -0
- package/src/ui-spec/script-allowlist.ts +48 -0
- package/src/utils/short-id.ts +20 -14
- package/src/utils/task-ui-spec.ts +16 -4
- package/src/vcs/index.ts +12 -2
- package/src/workflows/executors/system-one-decision.ts +2 -2
- package/src/workflows/resume.ts +3 -2
- package/src/workflows/task-step-routing.ts +30 -10
- package/src/workflows/triggers.ts +35 -3
- package/templates/extensions/manifest.schema.json +13 -0
- package/templates/skills/swarm-docs/content.md +2 -0
- package/templates/skills/ui-spec/content.md +7 -1
- package/templates/workflows/dreaming/content.md +1 -1
- package/dist/acp-adapter-g909b5hw.js +0 -16
- package/dist/cli-b91nz213.js +0 -93
- package/dist/handlers-yzy0c87x.js +0 -35
- package/dist/index-2t4859r5.js +0 -35
- package/dist/index-cxca2t8y.js +0 -36
- package/dist/lead-gk4h5eg7.js +0 -74
- package/dist/thread-buffer-a1re2r9r.js +0 -38
- package/dist/worker-3dyyb8ev.js +0 -74
- package/dist/{azure-openai-responses-590s1eea.js → azure-openai-responses-b3y7fz36.js} +8 -8
- package/dist/{cli-m7c2380k.js → cli-3aaeb78m.js} +4 -4
- package/dist/{cli-g0vv9dg4.js → cli-8y43jx2r.js} +8 -8
- package/dist/{cli-m0cy2vyf.js → cli-k6nejceb.js} +4 -4
- package/dist/{google-generative-ai-maq6c9bf.js → google-generative-ai-bh0djqjp.js} +4 -4
- package/dist/{google-vertex-2jgsw2nb.js → google-vertex-prjbw8dj.js} +8 -8
- package/dist/{mistral-conversations-0c30em7t.js → mistral-conversations-tm2vd4gc.js} +8 -8
- package/dist/{node-dqm4xgxw.js → node-2wfcey7d.js} +0 -0
- package/dist/{openai-codex-responses-bkcd8pjj.js → openai-codex-responses-sxjv60xx.js} +4 -4
- package/dist/{openai-completions-f3n69rep.js → openai-completions-0c7qnhsx.js} +20 -20
- package/dist/{openai-responses-gbh0wfqe.js → openai-responses-a7h29chp.js} +15 -15
- package/dist/{pi-messages-zebyt7gb.js → pi-messages-2j0fpqwq.js} +5 -5
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
retryGoogleRequest,
|
|
18
18
|
init_google_shared
|
|
19
19
|
} from "./cli-7evph51z.js";
|
|
20
|
+
import {
|
|
21
|
+
getProviderEnvValue,
|
|
22
|
+
init_provider_env
|
|
23
|
+
} from "./cli-dc4m8cpv.js";
|
|
20
24
|
import {
|
|
21
25
|
normalizeProviderError,
|
|
22
26
|
formatProviderError,
|
|
23
27
|
init_error_body
|
|
24
28
|
} from "./cli-yab6sh8p.js";
|
|
25
|
-
import {
|
|
26
|
-
getProviderEnvValue,
|
|
27
|
-
init_provider_env
|
|
28
|
-
} from "./cli-dc4m8cpv.js";
|
|
29
29
|
import {
|
|
30
30
|
buildBaseOptions,
|
|
31
31
|
init_simple_options
|
|
@@ -34,10 +34,6 @@ import {
|
|
|
34
34
|
sanitizeSurrogates,
|
|
35
35
|
init_sanitize_unicode
|
|
36
36
|
} from "./cli-xy45xrsj.js";
|
|
37
|
-
import {
|
|
38
|
-
providerHeadersToRecord,
|
|
39
|
-
init_headers
|
|
40
|
-
} from "./cli-6ecv5wm5.js";
|
|
41
37
|
import {
|
|
42
38
|
getInitialSystemMessage,
|
|
43
39
|
getCurrentTools,
|
|
@@ -51,6 +47,10 @@ import {
|
|
|
51
47
|
AssistantMessageEventStream,
|
|
52
48
|
init_event_stream
|
|
53
49
|
} from "./cli-qzm2fm67.js";
|
|
50
|
+
import {
|
|
51
|
+
providerHeadersToRecord,
|
|
52
|
+
init_headers
|
|
53
|
+
} from "./cli-6ecv5wm5.js";
|
|
54
54
|
import {
|
|
55
55
|
getSystemMessageText,
|
|
56
56
|
init_text,
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
shortHash,
|
|
7
7
|
init_hash
|
|
8
8
|
} from "./cli-nmv4e6h3.js";
|
|
9
|
-
import {
|
|
10
|
-
truncateErrorText,
|
|
11
|
-
init_error_body
|
|
12
|
-
} from "./cli-yab6sh8p.js";
|
|
13
9
|
import {
|
|
14
10
|
ToolCallArgumentsStream,
|
|
15
11
|
init_streaming_json
|
|
16
12
|
} from "./cli-6pzk82fd.js";
|
|
13
|
+
import {
|
|
14
|
+
truncateErrorText,
|
|
15
|
+
init_error_body
|
|
16
|
+
} from "./cli-yab6sh8p.js";
|
|
17
17
|
import {
|
|
18
18
|
getJsonSchemaToolParameters,
|
|
19
19
|
resolveJsonSchemaStrictSampling,
|
|
@@ -27,10 +27,6 @@ import {
|
|
|
27
27
|
sanitizeSurrogates,
|
|
28
28
|
init_sanitize_unicode
|
|
29
29
|
} from "./cli-xy45xrsj.js";
|
|
30
|
-
import {
|
|
31
|
-
headersToRecord,
|
|
32
|
-
init_headers
|
|
33
|
-
} from "./cli-6ecv5wm5.js";
|
|
34
30
|
import {
|
|
35
31
|
getCurrentTools,
|
|
36
32
|
resolveTranscript,
|
|
@@ -43,6 +39,10 @@ import {
|
|
|
43
39
|
AssistantMessageEventStream,
|
|
44
40
|
init_event_stream
|
|
45
41
|
} from "./cli-qzm2fm67.js";
|
|
42
|
+
import {
|
|
43
|
+
headersToRecord,
|
|
44
|
+
init_headers
|
|
45
|
+
} from "./cli-6ecv5wm5.js";
|
|
46
46
|
import {
|
|
47
47
|
getSystemMessageText,
|
|
48
48
|
renderSystemMessageUpdate,
|
|
File without changes
|
|
@@ -34,10 +34,6 @@ import {
|
|
|
34
34
|
buildBaseOptions,
|
|
35
35
|
init_simple_options
|
|
36
36
|
} from "./cli-p74md7t8.js";
|
|
37
|
-
import {
|
|
38
|
-
headersToRecord,
|
|
39
|
-
init_headers
|
|
40
|
-
} from "./cli-6ecv5wm5.js";
|
|
41
37
|
import {
|
|
42
38
|
normalizeContext,
|
|
43
39
|
getInitialSystemMessage,
|
|
@@ -56,6 +52,10 @@ import {
|
|
|
56
52
|
appendAssistantMessageDiagnostic,
|
|
57
53
|
init_diagnostics
|
|
58
54
|
} from "./cli-qzm2fm67.js";
|
|
55
|
+
import {
|
|
56
|
+
headersToRecord,
|
|
57
|
+
init_headers
|
|
58
|
+
} from "./cli-6ecv5wm5.js";
|
|
59
59
|
import {
|
|
60
60
|
getSystemMessageText,
|
|
61
61
|
init_text,
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
OpenAI,
|
|
3
|
-
init_openai
|
|
4
|
-
} from "./cli-6c61yjwy.js";
|
|
5
|
-
import {
|
|
6
|
-
clampOpenAIPromptCacheKey,
|
|
7
|
-
init_openai_prompt_cache
|
|
8
|
-
} from "./cli-mn79q3k1.js";
|
|
9
|
-
import {
|
|
10
|
-
shortHash,
|
|
11
|
-
init_hash
|
|
12
|
-
} from "./cli-nmv4e6h3.js";
|
|
13
1
|
import {
|
|
14
2
|
isOpenRouterModel,
|
|
15
3
|
applyOpenRouterReportedCost,
|
|
@@ -20,15 +8,22 @@ import {
|
|
|
20
8
|
buildCopilotDynamicHeaders,
|
|
21
9
|
init_github_copilot_headers
|
|
22
10
|
} from "./cli-h3m3652m.js";
|
|
11
|
+
import {
|
|
12
|
+
clampOpenAIPromptCacheKey,
|
|
13
|
+
init_openai_prompt_cache
|
|
14
|
+
} from "./cli-mn79q3k1.js";
|
|
15
|
+
import {
|
|
16
|
+
OpenAI,
|
|
17
|
+
init_openai
|
|
18
|
+
} from "./cli-6c61yjwy.js";
|
|
23
19
|
import {
|
|
24
20
|
retryProviderRequest,
|
|
25
21
|
init_provider_retry
|
|
26
22
|
} from "./cli-8z09zh6s.js";
|
|
27
23
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./cli-yab6sh8p.js";
|
|
24
|
+
shortHash,
|
|
25
|
+
init_hash
|
|
26
|
+
} from "./cli-nmv4e6h3.js";
|
|
32
27
|
import {
|
|
33
28
|
getProviderEnvValue,
|
|
34
29
|
init_provider_env
|
|
@@ -37,6 +32,11 @@ import {
|
|
|
37
32
|
ToolCallArgumentsStream,
|
|
38
33
|
init_streaming_json
|
|
39
34
|
} from "./cli-6pzk82fd.js";
|
|
35
|
+
import {
|
|
36
|
+
normalizeProviderError,
|
|
37
|
+
formatProviderError,
|
|
38
|
+
init_error_body
|
|
39
|
+
} from "./cli-yab6sh8p.js";
|
|
40
40
|
import {
|
|
41
41
|
getJsonSchemaToolParameters,
|
|
42
42
|
getGrammarToolInput,
|
|
@@ -58,10 +58,6 @@ import {
|
|
|
58
58
|
sanitizeSurrogates,
|
|
59
59
|
init_sanitize_unicode
|
|
60
60
|
} from "./cli-xy45xrsj.js";
|
|
61
|
-
import {
|
|
62
|
-
headersToRecord,
|
|
63
|
-
init_headers
|
|
64
|
-
} from "./cli-6ecv5wm5.js";
|
|
65
61
|
import {
|
|
66
62
|
resolveTranscript,
|
|
67
63
|
getDeclaredTools,
|
|
@@ -75,6 +71,10 @@ import {
|
|
|
75
71
|
AssistantMessageEventStream,
|
|
76
72
|
init_event_stream
|
|
77
73
|
} from "./cli-qzm2fm67.js";
|
|
74
|
+
import {
|
|
75
|
+
headersToRecord,
|
|
76
|
+
init_headers
|
|
77
|
+
} from "./cli-6ecv5wm5.js";
|
|
78
78
|
import {
|
|
79
79
|
getSystemMessageText,
|
|
80
80
|
renderSystemMessageUpdate,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
hasCopilotVisionInput,
|
|
3
|
+
buildCopilotDynamicHeaders,
|
|
4
|
+
init_github_copilot_headers
|
|
5
|
+
} from "./cli-h3m3652m.js";
|
|
5
6
|
import {
|
|
6
7
|
getResponsesToolSupport,
|
|
7
8
|
convertResponsesMessages,
|
|
@@ -14,23 +15,22 @@ import {
|
|
|
14
15
|
init_openai_prompt_cache
|
|
15
16
|
} from "./cli-mn79q3k1.js";
|
|
16
17
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./cli-h3m3652m.js";
|
|
18
|
+
OpenAI,
|
|
19
|
+
init_openai
|
|
20
|
+
} from "./cli-6c61yjwy.js";
|
|
21
21
|
import {
|
|
22
22
|
retryProviderRequest,
|
|
23
23
|
init_provider_retry
|
|
24
24
|
} from "./cli-8z09zh6s.js";
|
|
25
|
+
import {
|
|
26
|
+
getProviderEnvValue,
|
|
27
|
+
init_provider_env
|
|
28
|
+
} from "./cli-dc4m8cpv.js";
|
|
25
29
|
import {
|
|
26
30
|
normalizeProviderError,
|
|
27
31
|
formatProviderError,
|
|
28
32
|
init_error_body
|
|
29
33
|
} from "./cli-yab6sh8p.js";
|
|
30
|
-
import {
|
|
31
|
-
getProviderEnvValue,
|
|
32
|
-
init_provider_env
|
|
33
|
-
} from "./cli-dc4m8cpv.js";
|
|
34
34
|
import {
|
|
35
35
|
createGrammarToolInputProperties,
|
|
36
36
|
init_constrained_sampling,
|
|
@@ -38,10 +38,6 @@ import {
|
|
|
38
38
|
buildBaseOptions,
|
|
39
39
|
init_simple_options
|
|
40
40
|
} from "./cli-p74md7t8.js";
|
|
41
|
-
import {
|
|
42
|
-
headersToRecord,
|
|
43
|
-
init_headers
|
|
44
|
-
} from "./cli-6ecv5wm5.js";
|
|
45
41
|
import {
|
|
46
42
|
resolveTranscript,
|
|
47
43
|
getDeclaredTools,
|
|
@@ -54,6 +50,10 @@ import {
|
|
|
54
50
|
AssistantMessageEventStream,
|
|
55
51
|
init_event_stream
|
|
56
52
|
} from "./cli-qzm2fm67.js";
|
|
53
|
+
import {
|
|
54
|
+
headersToRecord,
|
|
55
|
+
init_headers
|
|
56
|
+
} from "./cli-6ecv5wm5.js";
|
|
57
57
|
import {
|
|
58
58
|
getIdentityHeaders,
|
|
59
59
|
init_identity2
|
|
@@ -6,11 +6,6 @@ import {
|
|
|
6
6
|
ToolCallArgumentsStream,
|
|
7
7
|
init_streaming_json
|
|
8
8
|
} from "./cli-6pzk82fd.js";
|
|
9
|
-
import {
|
|
10
|
-
headersToRecord,
|
|
11
|
-
providerHeadersToRecord,
|
|
12
|
-
init_headers
|
|
13
|
-
} from "./cli-6ecv5wm5.js";
|
|
14
9
|
import {
|
|
15
10
|
AssistantMessageEventStream,
|
|
16
11
|
init_event_stream,
|
|
@@ -18,6 +13,11 @@ import {
|
|
|
18
13
|
appendAssistantMessageDiagnostic,
|
|
19
14
|
init_diagnostics
|
|
20
15
|
} from "./cli-qzm2fm67.js";
|
|
16
|
+
import {
|
|
17
|
+
headersToRecord,
|
|
18
|
+
providerHeadersToRecord,
|
|
19
|
+
init_headers
|
|
20
|
+
} from "./cli-6ecv5wm5.js";
|
|
21
21
|
import {
|
|
22
22
|
ownedSlice,
|
|
23
23
|
init_text,
|