@desplega.ai/agent-swarm 2.7.10 → 2.8.1
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-pdy3qsvg.js +15 -0
- package/dist/{actions-b8aqhrsg.js → actions-pwjpn0j6.js} +19 -20
- package/dist/{amp-adapter-4c165vgn.js → amp-adapter-cq9jgj6x.js} +2 -3
- package/dist/{app-m9khefrh.js → app-cnfffgwg.js} +3 -3
- package/dist/{assistant-rh4v3ntz.js → assistant-kpn317y1.js} +21 -22
- package/dist/{boot-args-schema-hwkc8bzv.js → boot-args-schema-pbbnhmc3.js} +1 -1
- package/dist/{boot-reembed-fdyk55h4.js → boot-reembed-9m0ysxma.js} +1 -1
- package/dist/{boot-reembed-5y6yw9sj.js → boot-reembed-majbn53m.js} +1 -1
- package/dist/{boot-scrub-sweep-r5r8kqsn.js → boot-scrub-sweep-app8g8ym.js} +3 -3
- package/dist/{boot-seeds-8f9zt5cm.js → boot-seeds-pbtmvcjm.js} +4 -5
- package/dist/{claude-adapter-s5df247c.js → claude-adapter-wn1g3qp5.js} +7 -8
- package/dist/{claude-managed-adapter-h74d06yz.js → claude-managed-adapter-jh6c523j.js} +3 -3
- package/dist/{claude-managed-setup-9gsmwzyx.js → claude-managed-setup-pd47nzch.js} +6 -6
- package/dist/{claude-sdk-session-dq1j4nz9.js → claude-sdk-session-3a2a6589.js} +9066 -8818
- package/dist/{cli-n5yexkdg.js → cli-0b4zam62.js} +1 -0
- package/dist/{cli-5wfz00be.js → cli-0jzra9ad.js} +2 -2
- package/dist/{cli-zjphdj1a.js → cli-0ntbxyaa.js} +40 -18
- package/dist/{cli-yz7v0sh4.js → cli-1xh9a7hn.js} +4 -6
- package/dist/{cli-eqtfgfr6.js → cli-2gxeg5gr.js} +1 -1
- package/dist/{cli-hfkwwy1h.js → cli-2zp0et3v.js} +21 -2
- package/dist/{cli-6m6b4bep.js → cli-3rkdne1h.js} +2 -2
- package/dist/{cli-mr97t7cc.js → cli-4r05hnqa.js} +263 -14
- package/dist/{cli-jc1g9ndz.js → cli-5j88qqa8.js} +10 -5
- package/dist/{cli-xfjrc279.js → cli-5mrq3ake.js} +48 -14
- package/dist/{cli-an1knn2k.js → cli-6mma83xa.js} +5 -5
- package/dist/{cli-tph5wt3y.js → cli-6wj7p986.js} +1 -1
- package/dist/{cli-t73cas91.js → cli-7349va39.js} +8100 -7620
- package/dist/{cli-5xcb8gxq.js → cli-7b8sbmag.js} +8 -8
- package/dist/{cli-3xj33nrx.js → cli-7cp6aa1q.js} +10 -3
- package/dist/{cli-mp9aa8g5.js → cli-7p1kvkck.js} +6 -6
- package/dist/{cli-j7d73g1y.js → cli-7w69ne2f.js} +3035 -354
- package/dist/{cli-cr14kftt.js → cli-89cqnasv.js} +3 -3
- package/dist/{cli-w3bk0dgv.js → cli-8aes17e4.js} +2 -2
- package/dist/{cli-7wz05bx3.js → cli-93k32c37.js} +468 -745
- package/dist/{cli-eqk5p56g.js → cli-9vhebtjz.js} +9 -9
- package/dist/{cli-td33w98c.js → cli-9wngrawf.js} +10 -10
- package/dist/cli-a3b239vq.js +242 -0
- package/dist/{cli-kx4c8j05.js → cli-b085njxz.js} +63 -19
- package/dist/{cli-8ewkreqd.js → cli-b5rs97a6.js} +7 -9
- package/dist/{cli-bxz823sz.js → cli-b8e9nb04.js} +1 -1
- package/dist/{cli-nj3x45rw.js → cli-bb431xey.js} +52 -43
- package/dist/{cli-36wdfzgn.js → cli-bsywb58a.js} +8 -8
- package/dist/{cli-18qt3few.js → cli-cyhbbd1z.js} +1 -1
- package/dist/{cli-eb2azq8n.js → cli-d3p5vwbk.js} +9 -9
- package/dist/{cli-2tsfpc70.js → cli-dy32zecz.js} +1 -1
- package/dist/{cli-rjyghzg4.js → cli-g70vxtjh.js} +2 -2
- package/dist/{cli-55bkx8hh.js → cli-gax7fk3t.js} +1 -1
- package/dist/{cli-jg24scat.js → cli-jcpr5smb.js} +3 -3
- package/dist/{cli-n07eecjs.js → cli-jywyhqws.js} +3 -3
- package/dist/{cli-38yww4e9.js → cli-k0615eh8.js} +8 -8
- package/dist/{cli-3xddv0rk.js → cli-k26bkr9t.js} +5 -7
- package/dist/{cli-xd5ebp64.js → cli-k93bq1wq.js} +3 -3
- package/dist/{cli-f2zenhja.js → cli-kc7v1nfv.js} +1 -1
- package/dist/{cli-x9exydey.js → cli-m4dqmnbp.js} +1 -1
- package/dist/{cli-gpwhbgx0.js → cli-m9s2qff2.js} +57 -25
- package/dist/{cli-ybjdc978.js → cli-mrt48bx7.js} +7 -4
- package/dist/{cli-ttbqe3q4.js → cli-p1w18yhx.js} +1 -1
- package/dist/{cli-h49ejvmc.js → cli-pcad4cb1.js} +1 -1
- package/dist/{cli-tmft5dz2.js → cli-qmqk2yc2.js} +1 -1
- package/dist/{cli-g1px1g2e.js → cli-re4raaj0.js} +1 -1
- package/dist/{cli-xbtq4d6s.js → cli-sn7rtnj4.js} +12 -8
- package/dist/{cli-n9abj89w.js → cli-syybb0p1.js} +8 -8
- package/dist/{cli-v2fwbnsk.js → cli-tacge1w0.js} +6 -6
- package/dist/{cli-pyrxt9gw.js → cli-tk7cjj8h.js} +1 -1
- package/dist/{cli-xvymtmv4.js → cli-tqegb8eq.js} +3 -3
- package/dist/{cli-kf3pxxdg.js → cli-v1dv1r37.js} +1 -1
- package/dist/{cli-z9cs5m0w.js → cli-vbh10fqa.js} +12 -12
- package/dist/{cli-3xcwp3z8.js → cli-vj75tyaw.js} +3 -3
- package/dist/{cli-xncjscpm.js → cli-vqptjbr7.js} +50 -24
- package/dist/{cli-q581b386.js → cli-wk18cm92.js} +5 -5
- package/dist/{cli-4vwxp550.js → cli-x1wa213s.js} +1 -1
- package/dist/{cli-n9ftpys4.js → cli-x6t50dmw.js} +7 -7
- package/dist/{cli-jrp1dt73.js → cli-xzm9vcfg.js} +1 -1
- package/dist/{cli-16phend6.js → cli-yn2bbre9.js} +1 -1
- package/dist/{cli-rt0ag4x1.js → cli-yncmerje.js} +5 -5
- package/dist/{cli-0m7rtm11.js → cli-zcsw143p.js} +1 -1
- package/dist/cli.js +18 -18
- package/dist/{codex-adapter-yr60sme6.js → codex-adapter-nha71q3n.js} +5 -6
- package/dist/{codex-hook-fac6175r.js → codex-hook-h3vk6xzr.js} +1 -1
- package/dist/{codex-session-runner-pch8x584.js → codex-session-runner-ak9x1k1h.js} +5 -6
- package/dist/{commands-phjfbkv0.js → commands-f587qpq8.js} +3 -3
- package/dist/{controller-jkx994pz.js → controller-hxx8wwy1.js} +2 -2
- package/dist/{controllers-connect-c4448kwa.js → controllers-connect-k5sg9m9h.js} +20 -21
- package/dist/{cursor-adapter-ndebqnm8.js → cursor-adapter-n5nc3mfe.js} +1 -2
- package/dist/{db-ef32tbfc.js → db-amm8w15a.js} +10 -2
- package/dist/{db-ez6egt6v.js → db-nzf8zb5z.js} +3 -3
- package/dist/{devin-adapter-z46ep5ph.js → devin-adapter-xedz98zv.js} +1 -1
- package/dist/{dispatcher-g3tt9hs9.js → dispatcher-89zrts8f.js} +18 -19
- package/dist/{dsh-adapter-tcyn3099.js → dsh-adapter-nrhbrjz8.js} +1 -2
- package/dist/{easter-egg-3d-e36hk5td.js → easter-egg-3d-533knw22.js} +1 -1
- package/dist/{embedding-space-4kyh5qqj.js → embedding-space-ezwenjmj.js} +6 -6
- package/dist/{embeddings-6a8v4a6t.js → embeddings-np74ht6g.js} +1 -1
- package/dist/{execute-3cbg0twf.js → execute-b3mrb1mv.js} +1 -1
- package/dist/{external-channel-se646snz.js → external-channel-z46yx9d7.js} +2 -2
- package/dist/{fx-adapter-yw795hqq.js → fx-adapter-3q12snn6.js} +7 -8
- package/dist/{grok-adapter-ttmcss2j.js → grok-adapter-ahb1w033.js} +7 -8
- package/dist/handlers-vbww69re.js +32 -0
- package/dist/heartbeat-dt9qw9c8.js +43 -0
- package/dist/{hook-hq93y5ej.js → hook-8k6fbz9b.js} +5 -5
- package/dist/{hook-g3nhexsy.js → hook-jgcgygex.js} +6 -6
- package/dist/{http-5a9p4h6y.js → http-haw4r8ne.js} +284 -142
- package/dist/{index-0eny15vj.js → index-2skqtd76.js} +2 -2
- package/dist/{index-6haqt3v5.js → index-4a0670yh.js} +8917 -8476
- package/dist/index-4xwaf5th.js +32 -0
- package/dist/{index-3c5pxbge.js → index-5gk12my8.js} +1 -1
- package/dist/{index-w7em4ktq.js → index-d6wkh8ar.js} +2 -2
- package/dist/index-f0hcrs8e.js +33 -0
- package/dist/{index-rvccek1w.js → index-gjwaqaq8.js} +5 -5
- package/dist/{index-e5pfbsys.js → index-hjhfk3ra.js} +3 -3
- package/dist/{index-1qw6f2dc.js → index-khe3gp0k.js} +4 -4
- package/dist/index-s4ewdma4.js +37 -0
- package/dist/{index-hgn3c961.js → index-tez78qj3.js} +979 -36
- package/dist/{index-s72rqgsx.js → index-tvfafeyy.js} +1 -1
- package/dist/{keepalive-1j4n4dmk.js → keepalive-xn6s7rmg.js} +3 -3
- package/dist/lead-6ygbfhbh.js +70 -0
- package/dist/{maintenance-dmghacy5.js → maintenance-vdts800b.js} +1 -1
- package/dist/{node-je82wjet.js → node-4c5jqxr3.js} +1 -1
- package/dist/{oauth-refresh-sweep-yy06c03c.js → oauth-refresh-sweep-094c8wfk.js} +2 -2
- package/dist/{onboard-52f9t5dm.js → onboard-v99eh56m.js} +3 -3
- package/dist/{opencode-adapter-krnh9jkn.js → opencode-adapter-dsagkhtw.js} +5 -6
- package/dist/{otel-impl-xjqz6wjj.js → otel-impl-q7yr9yp0.js} +1 -1
- package/dist/{pi-mono-adapter-dbxyp0qv.js → pi-mono-adapter-546cd1cc.js} +9 -9
- package/dist/{pricing-refresh-ctdr74pd.js → pricing-refresh-7dh2yase.js} +2 -3
- package/dist/{rbac-roles-ehv8s10n.js → rbac-roles-mdmc96p4.js} +3 -3
- package/dist/{rbac-roles-q0gr8eyj.js → rbac-roles-npbmdh77.js} +4 -6
- package/dist/{registry-hpjfmcfz.js → registry-32b1mft6.js} +1 -1
- package/dist/{render-v2-5b6chvcq.js → render-v2-twhhwmms.js} +3 -3
- package/dist/{resume-5a5d2845.js → resume-5gsrjd5e.js} +6 -6
- package/dist/{runtime-khxszyfp.js → runtime-1hv06jsn.js} +1 -1
- package/dist/{session-access-gj0bjhqg.js → session-access-m191x30x.js} +4 -4
- package/dist/{session-source-backfill-2sy0krfk.js → session-source-backfill-nt923ask.js} +2 -2
- package/dist/{setup-7ssfakk1.js → setup-wv467afy.js} +1 -1
- package/dist/{virtual-modules-pjj0knwf.js → virtual-modules-gazyapte.js} +3 -3
- package/dist/{work-objects-bf3syvhq.js → work-objects-8zkrpy13.js} +21 -22
- package/dist/{worker-follow-up-38xevga6.js → worker-follow-up-cecqszem.js} +18 -19
- package/dist/worker-mz5z7kj0.js +70 -0
- package/openapi.json +334 -7
- package/package.json +5 -5
- package/src/apps/definition.ts +11 -0
- package/src/apps/store.ts +28 -8
- package/src/be/db/model-profiles.ts +147 -38
- package/src/be/db/tasks/read.ts +5 -1
- package/src/be/db/workflow-run-definitions.ts +117 -0
- package/src/be/db.ts +24 -3
- package/src/be/memory/constants.ts +14 -1
- package/src/be/memory/key-paths.ts +8 -0
- package/src/be/memory/providers/sqlite-store.ts +160 -10
- package/src/be/memory/task-learning.ts +79 -14
- package/src/be/memory/types.ts +24 -1
- package/src/be/migrations/279_backfill_learning_expiry.sql +15 -0
- package/src/be/migrations/281_model_profiles_pr2.sql +28 -0
- package/src/be/migrations/283_workflow_run_definitions.sql +14 -0
- package/src/be/model-profile-check.ts +284 -0
- package/src/be/model-tier-resolution.ts +112 -12
- package/src/be/multi-runtime.ts +27 -0
- package/src/be/runtime-pools/routing.ts +52 -4
- package/src/be/scripts/typecheck.ts +1 -0
- package/src/be/seed-scripts/catalog/dreaming-learnings.ts +552 -0
- package/src/be/seed-scripts/catalog/dreaming-memtax-create.ts +389 -14
- package/src/be/seed-scripts/catalog/dreaming-memtax.ts +6 -3
- package/src/be/seed-scripts/index.ts +9 -0
- package/src/be/steering.ts +8 -2
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/commands/runner.ts +32 -1
- package/src/fs/provider.ts +17 -3
- package/src/heartbeat/heartbeat.ts +12 -1
- package/src/heartbeat/index.ts +1 -0
- package/src/http/agents.ts +56 -4
- package/src/http/apps.ts +3 -1
- package/src/http/config.ts +2 -6
- package/src/http/index.ts +2 -3
- package/src/http/model-profiles.ts +58 -10
- package/src/http/poll.ts +36 -3
- package/src/http/schedules.ts +42 -3
- package/src/http/tasks.ts +37 -12
- package/src/http/workflows.ts +15 -2
- package/src/prompts/session-templates.ts +1 -1
- package/src/providers/acp-targets.ts +11 -6
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-sdk-session.ts +132 -23
- package/src/providers/codex-skill-resolver.ts +10 -4
- package/src/providers/cursor-adapter.ts +1 -1
- package/src/providers/devin-skill-resolver.ts +5 -5
- package/src/providers/dsh-adapter.ts +1 -1
- package/src/scheduler/schedule-task.ts +1 -0
- package/src/scripts-runtime/eval-harness.ts +14 -1
- package/src/scripts-runtime/executors/types.ts +3 -0
- package/src/scripts-runtime/sdk-allowlist.ts +1 -0
- package/src/scripts-runtime/swarm-sdk.ts +18 -1
- package/src/scripts-runtime/types/stdlib.d.ts +1 -0
- package/src/scripts-runtime/types/swarm-sdk.d.ts +1 -0
- package/src/server.ts +2 -0
- package/src/slack/app.ts +93 -0
- package/src/slack/inbound-dispatch.ts +18 -1
- package/src/slack/workspace-guard.ts +345 -0
- package/src/tasks/task-terminal-effects.ts +4 -0
- package/src/tasks/worker-follow-up.ts +102 -2
- package/src/tests/acp-adapter.test.ts +82 -0
- package/src/tests/apps-icon.test.ts +120 -0
- package/src/tests/chained-task-follow-up.test.ts +248 -0
- package/src/tests/check-pr-body.test.ts +40 -0
- package/src/tests/claude-sdk-lifecycle.test.ts +216 -1
- package/src/tests/claude-sdk-process.fixture.ts +57 -0
- package/src/tests/codex-skill-resolver.test.ts +31 -0
- package/src/tests/credentials-allowlist.test.ts +470 -0
- package/src/tests/db-task-read-contract.test.ts +5 -0
- package/src/tests/db-task-write-contract.test.ts +5 -0
- package/src/tests/deferred-wake-follow-up.test.ts +47 -0
- package/src/tests/docs-index-footprint.test.js +3 -3
- package/src/tests/dreaming-learnings.test.ts +1395 -0
- package/src/tests/dsh-adapter.test.ts +1 -1
- package/src/tests/explicit-model-validation.test.ts +2 -0
- package/src/tests/fs-provider.test.ts +42 -0
- package/src/tests/heartbeat.test.ts +28 -1
- package/src/tests/human-free-reclassify.test.ts +5 -1
- package/src/tests/list-endpoint-slimming.test.ts +17 -0
- package/src/tests/mcp-tools.test.ts +1 -1
- package/src/tests/migration-283-workflow-run-definitions.test.ts +69 -0
- package/src/tests/model-profile-check.test.ts +387 -0
- package/src/tests/model-profiles-api.test.ts +528 -1
- package/src/tests/profile-claim.test.ts +415 -3
- package/src/tests/profile-tier-alias.test.ts +382 -0
- package/src/tests/schedule-profile.test.ts +359 -0
- package/src/tests/script-connections.test.ts +6 -0
- package/src/tests/script-native-unawaited-drain.test.ts +167 -0
- package/src/tests/script-per-script-executor.test.ts +1 -0
- package/src/tests/scripts-sdk-bridge-tool-failure.test.ts +141 -0
- package/src/tests/seed-scripts.test.ts +2 -2
- package/src/tests/slack-inbound-receipts.test.ts +22 -2
- package/src/tests/slack-socket-ack.test.ts +16 -1
- package/src/tests/slack-workspace-guard.test.ts +905 -0
- package/src/tests/steering-core.test.ts +40 -0
- package/src/tests/store-progress-learning.test.ts +605 -20
- package/src/tests/tool-annotations.test.ts +1 -1
- package/src/tests/workflow-convergence.test.ts +46 -40
- package/src/tests/workflow-definition-pinning-recovery.test.ts +552 -0
- package/src/tests/workflow-definition-pinning.test.ts +645 -0
- package/src/tests/workflow-executors.test.ts +16 -7
- package/src/tests/workflow-foreach.test.ts +43 -20
- package/src/tests/workflow-notify-slack-ready.test.ts +161 -0
- package/src/tests/workflow-profile.test.ts +328 -0
- package/src/tools/app-upsert.ts +1 -1
- package/src/tools/memory-edit.ts +2 -1
- package/src/tools/model-profiles/check-model-profile.ts +63 -0
- package/src/tools/schedules/create-schedule.ts +45 -4
- package/src/tools/schedules/patch-schedule.ts +50 -4
- package/src/tools/schedules/update-schedule.ts +50 -4
- package/src/tools/script-run.ts +1 -1
- package/src/tools/send-task.ts +17 -2
- package/src/tools/store-progress.ts +15 -3
- package/src/tools/task-action.ts +9 -1
- package/src/tools/templates.ts +13 -0
- package/src/tools/tool-config.ts +2 -1
- package/src/tools/utils.ts +61 -4
- package/src/tools/workflows/create-workflow.ts +1 -1
- package/src/tools/workflows/retry-workflow-run.ts +1 -1
- package/src/tools/workflows/update-workflow.ts +10 -1
- package/src/types.ts +56 -1
- package/src/utils/credentials.ts +89 -12
- package/src/workflows/engine.ts +10 -1
- package/src/workflows/executors/agent-task.ts +21 -2
- package/src/workflows/executors/foreach.ts +4 -1
- package/src/workflows/executors/notify.ts +62 -6
- package/src/workflows/executors/sub-workflow.ts +1 -1
- package/src/workflows/executors/swarm-script.ts +4 -1
- package/src/workflows/foreach-driver.ts +8 -5
- package/src/workflows/limits.ts +2 -1
- package/src/workflows/model-validation.ts +27 -2
- package/src/workflows/patch-definition.ts +3 -1
- package/src/workflows/recovery.ts +6 -6
- package/src/workflows/resume.ts +9 -9
- package/src/workflows/retry-poller.ts +2 -2
- package/templates/skills/apps/SKILL.md +2 -0
- package/templates/skills/apps/content.md +2 -0
- package/templates/skills/code-quality/content.md +12 -0
- package/templates/skills/memory/content.md +8 -0
- package/templates/skills/scheduling/config.json +1 -1
- package/templates/skills/scheduling/content.md +2 -2
- package/templates/skills/swarm-docs/content.md +4 -0
- package/templates/skills/swarm-extensions/content.md +1 -1
- package/templates/skills/swarm-scripts/SKILL.md +2 -2
- package/templates/skills/swarm-scripts/content.md +2 -2
- package/templates/skills/work-on-task/SKILL.md +2 -0
- package/templates/skills/work-on-task/content.md +2 -0
- package/templates/workflows/dreaming/content.md +174 -7
- package/dist/acp-adapter-srfhs1s9.js +0 -16
- package/dist/cli-bzvs88tv.js +0 -339
- package/dist/cli-cyn9v8zr.js +0 -748
- package/dist/cli-ed6yqpf1.js +0 -779
- package/dist/handlers-17wha3ze.js +0 -33
- package/dist/heartbeat-gwewgdms.js +0 -42
- package/dist/index-8arwq8mw.js +0 -34
- package/dist/index-tpw054az.js +0 -38
- package/dist/index-waq75j2j.js +0 -31
- package/dist/lead-re73kdgc.js +0 -72
- package/dist/worker-r8mz7a65.js +0 -72
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
checkDeepSeekApiKey,
|
|
12
12
|
checkOpenAICompatibleProvider,
|
|
13
13
|
writeSkillsToFilesystem
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-jcpr5smb.js";
|
|
15
15
|
import {
|
|
16
16
|
renderSteeringDelivery
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-2gxeg5gr.js";
|
|
18
18
|
import {
|
|
19
19
|
effectiveReasoningEffort
|
|
20
20
|
} from "./cli-jrzkw01m.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
CODEX_CREDITS_EXHAUSTED_COOLDOWN_MS,
|
|
31
31
|
resolveCodexCreditsExhaustedCooldownMs,
|
|
32
32
|
parseRateLimitResetTime
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-kc7v1nfv.js";
|
|
34
34
|
import {
|
|
35
35
|
ACP_TARGET_IDS,
|
|
36
36
|
isAcpTarget
|
|
@@ -38,35 +38,35 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
checkAmpCredentials2,
|
|
40
40
|
liveTestAmpCredentials2
|
|
41
|
-
} from "./cli-
|
|
41
|
+
} from "./cli-9wngrawf.js";
|
|
42
42
|
import {
|
|
43
43
|
checkClaudeCredentials2
|
|
44
|
-
} from "./cli-
|
|
44
|
+
} from "./cli-d3p5vwbk.js";
|
|
45
45
|
import {
|
|
46
46
|
checkClaudeManagedCredentials2
|
|
47
|
-
} from "./cli-
|
|
47
|
+
} from "./cli-vj75tyaw.js";
|
|
48
48
|
import {
|
|
49
49
|
codexUserHome,
|
|
50
50
|
checkCodexCredentials2
|
|
51
|
-
} from "./cli-
|
|
51
|
+
} from "./cli-9vhebtjz.js";
|
|
52
52
|
import {
|
|
53
53
|
checkCursorCredentials2
|
|
54
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-7b8sbmag.js";
|
|
55
55
|
import {
|
|
56
56
|
checkDevinCredentials2
|
|
57
|
-
} from "./cli-
|
|
57
|
+
} from "./cli-mrt48bx7.js";
|
|
58
58
|
import {
|
|
59
59
|
checkDshCredentials2
|
|
60
|
-
} from "./cli-
|
|
60
|
+
} from "./cli-wk18cm92.js";
|
|
61
61
|
import {
|
|
62
62
|
checkOpencodeCredentials2
|
|
63
|
-
} from "./cli-
|
|
63
|
+
} from "./cli-7p1kvkck.js";
|
|
64
64
|
import {
|
|
65
65
|
checkFxCredentials2
|
|
66
|
-
} from "./cli-
|
|
66
|
+
} from "./cli-gax7fk3t.js";
|
|
67
67
|
import {
|
|
68
68
|
checkGrokCredentials2
|
|
69
|
-
} from "./cli-
|
|
69
|
+
} from "./cli-pcad4cb1.js";
|
|
70
70
|
import {
|
|
71
71
|
CODEX_OAUTH_POOL_SLOTS_ENV,
|
|
72
72
|
isCodexOAuthConfigKey,
|
|
@@ -78,15 +78,13 @@ import {
|
|
|
78
78
|
init_context_window
|
|
79
79
|
} from "./cli-m88rpzkh.js";
|
|
80
80
|
import {
|
|
81
|
-
resumedTaskModelSelection,
|
|
82
|
-
init_model_pin,
|
|
83
81
|
isAzureDevOpsUrl,
|
|
84
82
|
canonicalAzureDevOpsRepoUrl,
|
|
85
83
|
parseAzureDevOpsRepoUrl,
|
|
86
84
|
init_azure_devops,
|
|
87
85
|
resolveScriptsOnlyMode,
|
|
88
86
|
init_scripts_only_mode
|
|
89
|
-
} from "./cli-
|
|
87
|
+
} from "./cli-93k32c37.js";
|
|
90
88
|
import {
|
|
91
89
|
terminateRegisteredProcessGroups,
|
|
92
90
|
init_process_group
|
|
@@ -94,7 +92,7 @@ import {
|
|
|
94
92
|
import {
|
|
95
93
|
validateJsonSchema,
|
|
96
94
|
init_json_schema_validator
|
|
97
|
-
} from "./cli-
|
|
95
|
+
} from "./cli-vqptjbr7.js";
|
|
98
96
|
import {
|
|
99
97
|
authJsonToCredentialSelection,
|
|
100
98
|
credentialsToAuthJson,
|
|
@@ -113,7 +111,7 @@ import {
|
|
|
113
111
|
initialize,
|
|
114
112
|
ensure,
|
|
115
113
|
init_business_use
|
|
116
|
-
} from "./cli-
|
|
114
|
+
} from "./cli-4r05hnqa.js";
|
|
117
115
|
import {
|
|
118
116
|
mapTriggerSurface,
|
|
119
117
|
init_telemetry_context,
|
|
@@ -130,8 +128,10 @@ import {
|
|
|
130
128
|
init_output_schema,
|
|
131
129
|
vcsRepoName,
|
|
132
130
|
vcsRepoUrlMatches,
|
|
133
|
-
init_vcs_repo_match
|
|
134
|
-
|
|
131
|
+
init_vcs_repo_match,
|
|
132
|
+
resumedTaskModelSelection,
|
|
133
|
+
init_model_pin
|
|
134
|
+
} from "./cli-7w69ne2f.js";
|
|
135
135
|
import {
|
|
136
136
|
parseWorkerModelTierOverrides,
|
|
137
137
|
resolveTaskModelSelection,
|
|
@@ -139,7 +139,7 @@ import {
|
|
|
139
139
|
ProviderNameSchema,
|
|
140
140
|
WorkerNudgeSchema,
|
|
141
141
|
init_types4
|
|
142
|
-
} from "./cli-
|
|
142
|
+
} from "./cli-2zp0et3v.js";
|
|
143
143
|
import {
|
|
144
144
|
isCodexAuthFailureReason,
|
|
145
145
|
init_codex_auth_failure
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
resolveClaudeMdPath,
|
|
170
170
|
syncProfileFilesToServer,
|
|
171
171
|
init_profile_sync
|
|
172
|
-
} from "./cli-
|
|
172
|
+
} from "./cli-tk7cjj8h.js";
|
|
173
173
|
import {
|
|
174
174
|
isSteeringEnabled2,
|
|
175
175
|
init_steering_enabled
|
|
@@ -186,18 +186,19 @@ import {
|
|
|
186
186
|
CREDENTIAL_POOL_VARS,
|
|
187
187
|
normalizeProviderKeyAliases,
|
|
188
188
|
ModelWindowExhaustedError,
|
|
189
|
+
CredentialAllowlistError,
|
|
189
190
|
splitCredentialPool,
|
|
190
191
|
CLAUDE_CREDENTIALS_HINT,
|
|
191
192
|
resolveCredentialPools,
|
|
192
193
|
init_credentials2
|
|
193
|
-
} from "./cli-
|
|
194
|
+
} from "./cli-5mrq3ake.js";
|
|
194
195
|
import {
|
|
195
196
|
interpolate,
|
|
196
197
|
init_template2,
|
|
197
198
|
configureHttpResolver,
|
|
198
199
|
resolveTemplateAsync,
|
|
199
200
|
init_resolver
|
|
200
|
-
} from "./cli-
|
|
201
|
+
} from "./cli-v1dv1r37.js";
|
|
201
202
|
import {
|
|
202
203
|
runtimeHarnessSections,
|
|
203
204
|
refreshRuntimeModelCatalog,
|
|
@@ -270,51 +271,51 @@ init_storage();
|
|
|
270
271
|
async function createProviderAdapter(provider) {
|
|
271
272
|
switch (provider) {
|
|
272
273
|
case "claude": {
|
|
273
|
-
const { ClaudeAdapter } = await import("./claude-adapter-
|
|
274
|
+
const { ClaudeAdapter } = await import("./claude-adapter-wn1g3qp5.js");
|
|
274
275
|
return new ClaudeAdapter;
|
|
275
276
|
}
|
|
276
277
|
case "pi": {
|
|
277
|
-
const { PiMonoAdapter } = await import("./pi-mono-adapter-
|
|
278
|
+
const { PiMonoAdapter } = await import("./pi-mono-adapter-546cd1cc.js");
|
|
278
279
|
return new PiMonoAdapter;
|
|
279
280
|
}
|
|
280
281
|
case "codex": {
|
|
281
|
-
const { CodexAdapter } = await import("./codex-adapter-
|
|
282
|
+
const { CodexAdapter } = await import("./codex-adapter-nha71q3n.js");
|
|
282
283
|
return new CodexAdapter;
|
|
283
284
|
}
|
|
284
285
|
case "claude-managed": {
|
|
285
|
-
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-
|
|
286
|
+
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-jh6c523j.js");
|
|
286
287
|
return new ClaudeManagedAdapter;
|
|
287
288
|
}
|
|
288
289
|
case "devin": {
|
|
289
|
-
const { DevinAdapter } = await import("./devin-adapter-
|
|
290
|
+
const { DevinAdapter } = await import("./devin-adapter-xedz98zv.js");
|
|
290
291
|
return new DevinAdapter;
|
|
291
292
|
}
|
|
292
293
|
case "opencode": {
|
|
293
|
-
const { OpencodeAdapter } = await import("./opencode-adapter-
|
|
294
|
+
const { OpencodeAdapter } = await import("./opencode-adapter-dsagkhtw.js");
|
|
294
295
|
return new OpencodeAdapter;
|
|
295
296
|
}
|
|
296
297
|
case "dsh": {
|
|
297
|
-
const { DshAdapter } = await import("./dsh-adapter-
|
|
298
|
+
const { DshAdapter } = await import("./dsh-adapter-nrhbrjz8.js");
|
|
298
299
|
return new DshAdapter;
|
|
299
300
|
}
|
|
300
301
|
case "amp": {
|
|
301
|
-
const { AmpAdapter } = await import("./amp-adapter-
|
|
302
|
+
const { AmpAdapter } = await import("./amp-adapter-cq9jgj6x.js");
|
|
302
303
|
return new AmpAdapter;
|
|
303
304
|
}
|
|
304
305
|
case "cursor": {
|
|
305
|
-
const { CursorAdapter } = await import("./cursor-adapter-
|
|
306
|
+
const { CursorAdapter } = await import("./cursor-adapter-n5nc3mfe.js");
|
|
306
307
|
return new CursorAdapter;
|
|
307
308
|
}
|
|
308
309
|
case "grok": {
|
|
309
|
-
const { GrokAdapter } = await import("./grok-adapter-
|
|
310
|
+
const { GrokAdapter } = await import("./grok-adapter-ahb1w033.js");
|
|
310
311
|
return new GrokAdapter;
|
|
311
312
|
}
|
|
312
313
|
case "fx": {
|
|
313
|
-
const { FxAdapter } = await import("./fx-adapter-
|
|
314
|
+
const { FxAdapter } = await import("./fx-adapter-3q12snn6.js");
|
|
314
315
|
return new FxAdapter;
|
|
315
316
|
}
|
|
316
317
|
case "acp": {
|
|
317
|
-
const { ACPAdapter } = await import("./acp-adapter-
|
|
318
|
+
const { ACPAdapter } = await import("./acp-adapter-pdy3qsvg.js");
|
|
318
319
|
return new ACPAdapter;
|
|
319
320
|
}
|
|
320
321
|
default:
|
|
@@ -1314,7 +1315,7 @@ var CREDENTIAL_PROVIDER_CHECKERS = {
|
|
|
1314
1315
|
devin: (env) => checkDevinCredentials2(env),
|
|
1315
1316
|
opencode: (env, opts) => checkOpencodeCredentials2(env, opts),
|
|
1316
1317
|
pi: async (env, opts) => {
|
|
1317
|
-
const { checkPiMonoCredentials, listPiOpencodeGoModelIds } = await import("./pi-mono-adapter-
|
|
1318
|
+
const { checkPiMonoCredentials, listPiOpencodeGoModelIds } = await import("./pi-mono-adapter-546cd1cc.js");
|
|
1318
1319
|
return {
|
|
1319
1320
|
...await checkPiMonoCredentials(env, opts),
|
|
1320
1321
|
opencodeGoModels: listPiOpencodeGoModelIds()
|
|
@@ -1593,7 +1594,7 @@ async function validateProviderCredentials(provider, env = process.env, presence
|
|
|
1593
1594
|
latency_ms: Date.now() - startedAt
|
|
1594
1595
|
};
|
|
1595
1596
|
}
|
|
1596
|
-
const { liveTestCursorKey } = await import("./cursor-adapter-
|
|
1597
|
+
const { liveTestCursorKey } = await import("./cursor-adapter-n5nc3mfe.js");
|
|
1597
1598
|
return checkEachKey("CURSOR_API_KEY", apiKey, async (member) => {
|
|
1598
1599
|
const start = Date.now();
|
|
1599
1600
|
const result = await liveTestCursorKey(member);
|
|
@@ -2634,7 +2635,9 @@ async function fetchResolvedEnv(apiUrl, apiKey, agentId, baseEnv = process.env,
|
|
|
2634
2635
|
provider: resolvedProvider,
|
|
2635
2636
|
model: effectiveModel,
|
|
2636
2637
|
localBlocks: sessionContext?.localBlocks,
|
|
2637
|
-
enforceModelCapacity: sessionContext?.enforceModelCapacity
|
|
2638
|
+
enforceModelCapacity: sessionContext?.enforceModelCapacity,
|
|
2639
|
+
allowedKeySuffixes: sessionContext?.credentialAllowlist,
|
|
2640
|
+
allowlistProfile: sessionContext?.resolvedProfile
|
|
2638
2641
|
});
|
|
2639
2642
|
return { env, credentialEnv, credentialSelections, resolvedProvider, scriptsOnlyConfigValue };
|
|
2640
2643
|
}
|
|
@@ -4426,10 +4429,12 @@ async function spawnProviderProcess(adapter, opts, logDir) {
|
|
|
4426
4429
|
provider: adapter.name,
|
|
4427
4430
|
modelTier: opts.modelTier,
|
|
4428
4431
|
localBlocks: opts.localBlocks,
|
|
4429
|
-
enforceModelCapacity: true
|
|
4432
|
+
enforceModelCapacity: true,
|
|
4433
|
+
credentialAllowlist: opts.credentialAllowlist,
|
|
4434
|
+
resolvedProfile: opts.resolvedProfile
|
|
4430
4435
|
}));
|
|
4431
4436
|
} catch (err) {
|
|
4432
|
-
if (err instanceof ModelWindowExhaustedError && realTaskId) {
|
|
4437
|
+
if ((err instanceof ModelWindowExhaustedError || err instanceof CredentialAllowlistError) && realTaskId) {
|
|
4433
4438
|
const reason = err.message;
|
|
4434
4439
|
console.warn(`[${opts.role}] ${reason}`);
|
|
4435
4440
|
await ensureTaskFinished({ apiUrl: opts.apiUrl, apiKey: opts.apiKey, agentId: opts.agentId }, opts.role, realTaskId, 1, reason, undefined, opts.harnessProvider);
|
|
@@ -6220,7 +6225,9 @@ ${additionalSystemPrompt}` : basePrompt;
|
|
|
6220
6225
|
cwd: resumeCwd,
|
|
6221
6226
|
vcsRepo: task.vcsRepo,
|
|
6222
6227
|
contextKey: task.contextKey,
|
|
6223
|
-
localBlocks: state.modelWindowBlocks
|
|
6228
|
+
localBlocks: state.modelWindowBlocks,
|
|
6229
|
+
resolvedProfile: task.resolvedProfile,
|
|
6230
|
+
credentialAllowlist: task.credentialAllowlist
|
|
6224
6231
|
}, logDir);
|
|
6225
6232
|
} catch (spawnErr) {
|
|
6226
6233
|
const errMsg = spawnErr instanceof Error ? spawnErr.message : String(spawnErr);
|
|
@@ -6598,7 +6605,9 @@ ${additionalSystemPrompt}` : basePrompt;
|
|
|
6598
6605
|
cwd: effectiveCwd,
|
|
6599
6606
|
vcsRepo: taskVcsRepo,
|
|
6600
6607
|
contextKey: taskContextKey,
|
|
6601
|
-
localBlocks: state.modelWindowBlocks
|
|
6608
|
+
localBlocks: state.modelWindowBlocks,
|
|
6609
|
+
resolvedProfile: trigger.task?.resolvedProfile,
|
|
6610
|
+
credentialAllowlist: trigger.task?.credentialAllowlist
|
|
6602
6611
|
}, logDir);
|
|
6603
6612
|
} catch (spawnErr) {
|
|
6604
6613
|
const errMsg = spawnErr instanceof Error ? spawnErr.message : String(spawnErr);
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
Instantiate,
|
|
149
149
|
Evaluate2,
|
|
150
150
|
Priority
|
|
151
|
-
} from "./cli-
|
|
151
|
+
} from "./cli-8aes17e4.js";
|
|
152
152
|
import {
|
|
153
153
|
require_index_min
|
|
154
154
|
} from "./cli-t9wbrgm4.js";
|
|
@@ -193,7 +193,7 @@ import {
|
|
|
193
193
|
streamSimple2,
|
|
194
194
|
completeSimple,
|
|
195
195
|
init_compat
|
|
196
|
-
} from "./cli-
|
|
196
|
+
} from "./cli-x1wa213s.js";
|
|
197
197
|
import {
|
|
198
198
|
cleanupSessionResources,
|
|
199
199
|
uuidv7
|
|
@@ -59445,7 +59445,7 @@ function loadAllHighlightLanguages() {
|
|
|
59445
59445
|
if (!allLanguagesPromise) {
|
|
59446
59446
|
allLanguagesPromise = new Promise((resolve) => {
|
|
59447
59447
|
setImmediate(() => {
|
|
59448
|
-
import("./index-
|
|
59448
|
+
import("./index-tvfafeyy.js").then((m)=>__toESM(m.default,1)).then(() => resolve(), () => {
|
|
59449
59449
|
resolve();
|
|
59450
59450
|
});
|
|
59451
59451
|
});
|
|
@@ -65717,7 +65717,7 @@ function getCreateJiti() {
|
|
|
65717
65717
|
}
|
|
65718
65718
|
var virtualModulesPromise;
|
|
65719
65719
|
function getVirtualModules() {
|
|
65720
|
-
virtualModulesPromise ??= import("./virtual-modules-
|
|
65720
|
+
virtualModulesPromise ??= import("./virtual-modules-gazyapte.js").then((module) => module.VIRTUAL_MODULES);
|
|
65721
65721
|
return virtualModulesPromise;
|
|
65722
65722
|
}
|
|
65723
65723
|
var _aliases = null;
|
|
@@ -89500,7 +89500,7 @@ function parseCodemodeSource(input) {
|
|
|
89500
89500
|
}
|
|
89501
89501
|
|
|
89502
89502
|
// node_modules/@earendil-works/pi-coding-agent/dist/extensions/codemode/execute.lazy.js
|
|
89503
|
-
var loadCodemodeExecutor = () => import("./execute-
|
|
89503
|
+
var loadCodemodeExecutor = () => import("./execute-b3mrb1mv.js");
|
|
89504
89504
|
|
|
89505
89505
|
// node_modules/@earendil-works/pi-coding-agent/dist/extensions/codemode/renderer.js
|
|
89506
89506
|
var CODE_PREVIEW_LINES = 10;
|
|
@@ -90701,7 +90701,7 @@ function createMcpResourceToolDefinitions(options) {
|
|
|
90701
90701
|
}
|
|
90702
90702
|
|
|
90703
90703
|
// node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/runtime.lazy.js
|
|
90704
|
-
var loadMcpRuntime = () => import("./runtime-
|
|
90704
|
+
var loadMcpRuntime = () => import("./runtime-1hv06jsn.js");
|
|
90705
90705
|
|
|
90706
90706
|
// node_modules/@earendil-works/pi-coding-agent/dist/utils/clipboard.js
|
|
90707
90707
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
@@ -95891,7 +95891,7 @@ var builtInExtensions = [
|
|
|
95891
95891
|
];
|
|
95892
95892
|
|
|
95893
95893
|
// node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/cli.lazy.js
|
|
95894
|
-
var loadMcpCommand = () => import("./cli-
|
|
95894
|
+
var loadMcpCommand = () => import("./cli-0jzra9ad.js");
|
|
95895
95895
|
|
|
95896
95896
|
// node_modules/@earendil-works/pi-coding-agent/dist/migrations.js
|
|
95897
95897
|
import { existsSync as existsSync22, mkdirSync as mkdirSync11, readdirSync as readdirSync10, readFileSync as readFileSync17, renameSync as renameSync2, rmSync as rmSync3, writeFileSync as writeFileSync11 } from "fs";
|
|
@@ -98455,7 +98455,7 @@ function playEasterEgg3d(tui, egg) {
|
|
|
98455
98455
|
if (tui.hasOverlay())
|
|
98456
98456
|
return true;
|
|
98457
98457
|
const screen = tui.getScreenLines();
|
|
98458
|
-
import("./easter-egg-3d-
|
|
98458
|
+
import("./easter-egg-3d-533knw22.js").then((module) => module.playEasterEgg3d(tui, screen, egg), () => {});
|
|
98459
98459
|
return true;
|
|
98460
98460
|
}
|
|
98461
98461
|
function playPiLogo3d(tui, column, row) {
|
|
@@ -2,19 +2,16 @@ import {
|
|
|
2
2
|
contextStatePath,
|
|
3
3
|
contextBoundNoteMarkerPath,
|
|
4
4
|
recordContextState
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-xzm9vcfg.js";
|
|
6
6
|
import {
|
|
7
7
|
runStopHookSessionSummarySubprocess
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-6mma83xa.js";
|
|
9
9
|
import {
|
|
10
10
|
redactRateLimitEventLine,
|
|
11
11
|
SessionErrorTracker,
|
|
12
12
|
trackErrorFromJson,
|
|
13
13
|
parseStderrForErrors
|
|
14
|
-
} from "./cli-
|
|
15
|
-
import {
|
|
16
|
-
resolveSlashSkillPrompt
|
|
17
|
-
} from "./cli-jc1g9ndz.js";
|
|
14
|
+
} from "./cli-kc7v1nfv.js";
|
|
18
15
|
import {
|
|
19
16
|
CTX_MODE_NUDGE_EVERY
|
|
20
17
|
} from "./cli-4bd1rck6.js";
|
|
@@ -28,6 +25,9 @@ import {
|
|
|
28
25
|
import {
|
|
29
26
|
fetchInstalledMcpServers
|
|
30
27
|
} from "./cli-bst1vp7e.js";
|
|
28
|
+
import {
|
|
29
|
+
resolveSlashSkillPrompt
|
|
30
|
+
} from "./cli-5j88qqa8.js";
|
|
31
31
|
import {
|
|
32
32
|
CONTEXT_FORMULA,
|
|
33
33
|
getContextWindowSize,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
withFileLock,
|
|
57
57
|
init_file_lock
|
|
58
|
-
} from "./cli-
|
|
58
|
+
} from "./cli-tk7cjj8h.js";
|
|
59
59
|
import {
|
|
60
60
|
getOpenRouterAttributionHeaders,
|
|
61
61
|
init_openrouter_base_url
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
CLAUDE_CREDENTIALS_HINT,
|
|
69
69
|
validateClaudeCredentials,
|
|
70
70
|
init_credentials2
|
|
71
|
-
} from "./cli-
|
|
71
|
+
} from "./cli-5mrq3ake.js";
|
|
72
72
|
import {
|
|
73
73
|
isEnvFlagEnabled,
|
|
74
74
|
init_env_flag
|
|
@@ -1263,7 +1263,7 @@ class ClaudeAdapter2 {
|
|
|
1263
1263
|
if (transport === "sdk" && isClaudeBridgeEffective(sourceEnv)) {
|
|
1264
1264
|
throw new Error("CLAUDE_TRANSPORT=sdk cannot run with an effective Claude Bridge configuration. Select CLI transport or disable the bridge.");
|
|
1265
1265
|
}
|
|
1266
|
-
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-
|
|
1266
|
+
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-3a2a6589.js") : undefined;
|
|
1267
1267
|
claudeSdk?.validateClaudeSdkAdditionalArgs([
|
|
1268
1268
|
...claudeBinaryArgv.slice(1),
|
|
1269
1269
|
...config.additionalArgs ?? []
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
Number2,
|
|
6
6
|
String2,
|
|
7
7
|
completeStructuredWithModel
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-8aes17e4.js";
|
|
9
9
|
import {
|
|
10
10
|
SummaryWithRatingsSchema,
|
|
11
11
|
BASE_SUMMARIZE_PROMPT,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./cli-2xv18ywz.js";
|
|
15
15
|
import {
|
|
16
16
|
init_credentials
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-x1wa213s.js";
|
|
18
18
|
import {
|
|
19
19
|
init_models2
|
|
20
20
|
} from "./cli-82j36f2m.js";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
publicEndpointSsrfOptions,
|
|
7
7
|
init_mcp_wrapper
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-zcsw143p.js";
|
|
9
9
|
import {
|
|
10
10
|
normalizeOrgWebsite,
|
|
11
11
|
init_org_website,
|
|
12
12
|
assertUrlSafe
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-7w69ne2f.js";
|
|
14
14
|
import {
|
|
15
15
|
getOpenRouterBaseUrl,
|
|
16
16
|
getOpenRouterAttributionHeaders,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
createScopedFetch,
|
|
22
22
|
deriveDefaultRoute,
|
|
23
23
|
init_src
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-5mrq3ake.js";
|
|
25
25
|
import {
|
|
26
26
|
providerBaseUrl,
|
|
27
27
|
providerForKeyVar,
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
getKv2,
|
|
3
3
|
upsertKv2,
|
|
4
4
|
init_db4
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-7w69ne2f.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveIdentity,
|
|
8
8
|
init_identity,
|
|
9
9
|
recordUnmappedIdentity,
|
|
10
10
|
init_unmapped_identities
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-93k32c37.js";
|
|
12
12
|
import {
|
|
13
13
|
findUserByExternalId,
|
|
14
14
|
findOrCreateUserByEmail,
|
|
15
15
|
linkIdentity,
|
|
16
16
|
init_users
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-re4raaj0.js";
|
|
18
18
|
import {
|
|
19
19
|
__esm
|
|
20
20
|
} from "./cli-242037k3.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CONTROLLER_COMMAND_TIMEOUT_MS,
|
|
5
5
|
RuntimeHandleSchema,
|
|
6
6
|
ControllerStatusResultSchema
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-m4dqmnbp.js";
|
|
8
8
|
import {
|
|
9
9
|
getDbClient2,
|
|
10
10
|
validateControllerGraceSec,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
upsertSwarmConfig2,
|
|
22
22
|
getResolvedConfig2,
|
|
23
23
|
init_db4
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-7w69ne2f.js";
|
|
25
25
|
import {
|
|
26
26
|
getPoolCache,
|
|
27
27
|
reconcileCacheReleases,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
getPoolForAgent2,
|
|
36
36
|
resolvePoolDelivery2,
|
|
37
37
|
init_db2
|
|
38
|
-
} from "./cli-
|
|
38
|
+
} from "./cli-k93bq1wq.js";
|
|
39
39
|
import {
|
|
40
40
|
workflowEventBus2,
|
|
41
41
|
init_event_bus
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
init_worker_follow_up,
|
|
46
46
|
canClaim,
|
|
47
47
|
init_budget_admission
|
|
48
|
-
} from "./cli-
|
|
48
|
+
} from "./cli-93k32c37.js";
|
|
49
49
|
import {
|
|
50
50
|
runtimeStaleThresholdMinutes,
|
|
51
51
|
getRuntimeInstanceById,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
listRuntimeInstancesForAgent,
|
|
55
55
|
listRuntimeInstancesForPool,
|
|
56
56
|
init_multi_runtime
|
|
57
|
-
} from "./cli-
|
|
57
|
+
} from "./cli-vqptjbr7.js";
|
|
58
58
|
import {
|
|
59
59
|
isMultiRuntimeEnabled,
|
|
60
60
|
init_multi_runtime2
|
|
@@ -71,12 +71,12 @@ import {
|
|
|
71
71
|
import {
|
|
72
72
|
mintRuntimeToken,
|
|
73
73
|
init_users
|
|
74
|
-
} from "./cli-
|
|
74
|
+
} from "./cli-re4raaj0.js";
|
|
75
75
|
import {
|
|
76
76
|
TERMINAL_TASK_STATUSES,
|
|
77
77
|
isTerminalTaskStatus,
|
|
78
78
|
init_types4
|
|
79
|
-
} from "./cli-
|
|
79
|
+
} from "./cli-2zp0et3v.js";
|
|
80
80
|
import {
|
|
81
81
|
init_zod
|
|
82
82
|
} from "./cli-zcfpsfzf.js";
|
|
@@ -546,7 +546,7 @@ async function recoverSessions(runtimeId, reason) {
|
|
|
546
546
|
}
|
|
547
547
|
if (!sessions.length)
|
|
548
548
|
return;
|
|
549
|
-
const { remediateTaskForDeadRuntime } = await import("./heartbeat-
|
|
549
|
+
const { remediateTaskForDeadRuntime } = await import("./heartbeat-dt9qw9c8.js");
|
|
550
550
|
for (const session of sessions) {
|
|
551
551
|
try {
|
|
552
552
|
const task = await getTaskById2(session.taskId);
|
|
@@ -4,24 +4,22 @@ import {
|
|
|
4
4
|
init_runtime2,
|
|
5
5
|
tierConfigKey,
|
|
6
6
|
init_model_tier_keys,
|
|
7
|
+
seedPricingFromModelsDev,
|
|
8
|
+
init_seed_pricing,
|
|
7
9
|
createModelProfile,
|
|
8
10
|
init_model_profiles,
|
|
9
11
|
init_db4
|
|
10
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-7w69ne2f.js";
|
|
11
13
|
import {
|
|
12
14
|
ensureRbacSeedsSynced2,
|
|
13
15
|
init_rbac_roles
|
|
14
|
-
} from "./cli-
|
|
15
|
-
import {
|
|
16
|
-
seedPricingFromModelsDev,
|
|
17
|
-
init_seed_pricing
|
|
18
|
-
} from "./cli-bzvs88tv.js";
|
|
16
|
+
} from "./cli-1xh9a7hn.js";
|
|
19
17
|
import {
|
|
20
18
|
MODEL_TIERS,
|
|
21
19
|
DEFAULT_MODEL_TIER_MAP,
|
|
22
20
|
ProviderNameSchema,
|
|
23
21
|
init_types4
|
|
24
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-2zp0et3v.js";
|
|
25
23
|
import {
|
|
26
24
|
__esm
|
|
27
25
|
} from "./cli-242037k3.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getSwarmConfigs2,
|
|
17
17
|
upsertSwarmConfig2,
|
|
18
18
|
init_db4
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-7w69ne2f.js";
|
|
20
20
|
import {
|
|
21
21
|
createRuntimeProvider,
|
|
22
22
|
init_runtime_providers
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
init_session_token_connections,
|
|
27
27
|
insertSessionToken,
|
|
28
28
|
init_users
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-re4raaj0.js";
|
|
30
30
|
import {
|
|
31
31
|
RuntimeControllerCreateSchema,
|
|
32
32
|
RuntimeControllerUpdateSchema,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
RuntimePoolUpdateSchema,
|
|
35
35
|
RuntimePoolCreateAgentSchema,
|
|
36
36
|
init_types4
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-2zp0et3v.js";
|
|
38
38
|
import {
|
|
39
39
|
poolCacheKey,
|
|
40
40
|
init_types5
|