@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.
Files changed (296) hide show
  1. package/dist/acp-adapter-pdy3qsvg.js +15 -0
  2. package/dist/{actions-b8aqhrsg.js → actions-pwjpn0j6.js} +19 -20
  3. package/dist/{amp-adapter-4c165vgn.js → amp-adapter-cq9jgj6x.js} +2 -3
  4. package/dist/{app-m9khefrh.js → app-cnfffgwg.js} +3 -3
  5. package/dist/{assistant-rh4v3ntz.js → assistant-kpn317y1.js} +21 -22
  6. package/dist/{boot-args-schema-hwkc8bzv.js → boot-args-schema-pbbnhmc3.js} +1 -1
  7. package/dist/{boot-reembed-fdyk55h4.js → boot-reembed-9m0ysxma.js} +1 -1
  8. package/dist/{boot-reembed-5y6yw9sj.js → boot-reembed-majbn53m.js} +1 -1
  9. package/dist/{boot-scrub-sweep-r5r8kqsn.js → boot-scrub-sweep-app8g8ym.js} +3 -3
  10. package/dist/{boot-seeds-8f9zt5cm.js → boot-seeds-pbtmvcjm.js} +4 -5
  11. package/dist/{claude-adapter-s5df247c.js → claude-adapter-wn1g3qp5.js} +7 -8
  12. package/dist/{claude-managed-adapter-h74d06yz.js → claude-managed-adapter-jh6c523j.js} +3 -3
  13. package/dist/{claude-managed-setup-9gsmwzyx.js → claude-managed-setup-pd47nzch.js} +6 -6
  14. package/dist/{claude-sdk-session-dq1j4nz9.js → claude-sdk-session-3a2a6589.js} +9066 -8818
  15. package/dist/{cli-n5yexkdg.js → cli-0b4zam62.js} +1 -0
  16. package/dist/{cli-5wfz00be.js → cli-0jzra9ad.js} +2 -2
  17. package/dist/{cli-zjphdj1a.js → cli-0ntbxyaa.js} +40 -18
  18. package/dist/{cli-yz7v0sh4.js → cli-1xh9a7hn.js} +4 -6
  19. package/dist/{cli-eqtfgfr6.js → cli-2gxeg5gr.js} +1 -1
  20. package/dist/{cli-hfkwwy1h.js → cli-2zp0et3v.js} +21 -2
  21. package/dist/{cli-6m6b4bep.js → cli-3rkdne1h.js} +2 -2
  22. package/dist/{cli-mr97t7cc.js → cli-4r05hnqa.js} +263 -14
  23. package/dist/{cli-jc1g9ndz.js → cli-5j88qqa8.js} +10 -5
  24. package/dist/{cli-xfjrc279.js → cli-5mrq3ake.js} +48 -14
  25. package/dist/{cli-an1knn2k.js → cli-6mma83xa.js} +5 -5
  26. package/dist/{cli-tph5wt3y.js → cli-6wj7p986.js} +1 -1
  27. package/dist/{cli-t73cas91.js → cli-7349va39.js} +8100 -7620
  28. package/dist/{cli-5xcb8gxq.js → cli-7b8sbmag.js} +8 -8
  29. package/dist/{cli-3xj33nrx.js → cli-7cp6aa1q.js} +10 -3
  30. package/dist/{cli-mp9aa8g5.js → cli-7p1kvkck.js} +6 -6
  31. package/dist/{cli-j7d73g1y.js → cli-7w69ne2f.js} +3035 -354
  32. package/dist/{cli-cr14kftt.js → cli-89cqnasv.js} +3 -3
  33. package/dist/{cli-w3bk0dgv.js → cli-8aes17e4.js} +2 -2
  34. package/dist/{cli-7wz05bx3.js → cli-93k32c37.js} +468 -745
  35. package/dist/{cli-eqk5p56g.js → cli-9vhebtjz.js} +9 -9
  36. package/dist/{cli-td33w98c.js → cli-9wngrawf.js} +10 -10
  37. package/dist/cli-a3b239vq.js +242 -0
  38. package/dist/{cli-kx4c8j05.js → cli-b085njxz.js} +63 -19
  39. package/dist/{cli-8ewkreqd.js → cli-b5rs97a6.js} +7 -9
  40. package/dist/{cli-bxz823sz.js → cli-b8e9nb04.js} +1 -1
  41. package/dist/{cli-nj3x45rw.js → cli-bb431xey.js} +52 -43
  42. package/dist/{cli-36wdfzgn.js → cli-bsywb58a.js} +8 -8
  43. package/dist/{cli-18qt3few.js → cli-cyhbbd1z.js} +1 -1
  44. package/dist/{cli-eb2azq8n.js → cli-d3p5vwbk.js} +9 -9
  45. package/dist/{cli-2tsfpc70.js → cli-dy32zecz.js} +1 -1
  46. package/dist/{cli-rjyghzg4.js → cli-g70vxtjh.js} +2 -2
  47. package/dist/{cli-55bkx8hh.js → cli-gax7fk3t.js} +1 -1
  48. package/dist/{cli-jg24scat.js → cli-jcpr5smb.js} +3 -3
  49. package/dist/{cli-n07eecjs.js → cli-jywyhqws.js} +3 -3
  50. package/dist/{cli-38yww4e9.js → cli-k0615eh8.js} +8 -8
  51. package/dist/{cli-3xddv0rk.js → cli-k26bkr9t.js} +5 -7
  52. package/dist/{cli-xd5ebp64.js → cli-k93bq1wq.js} +3 -3
  53. package/dist/{cli-f2zenhja.js → cli-kc7v1nfv.js} +1 -1
  54. package/dist/{cli-x9exydey.js → cli-m4dqmnbp.js} +1 -1
  55. package/dist/{cli-gpwhbgx0.js → cli-m9s2qff2.js} +57 -25
  56. package/dist/{cli-ybjdc978.js → cli-mrt48bx7.js} +7 -4
  57. package/dist/{cli-ttbqe3q4.js → cli-p1w18yhx.js} +1 -1
  58. package/dist/{cli-h49ejvmc.js → cli-pcad4cb1.js} +1 -1
  59. package/dist/{cli-tmft5dz2.js → cli-qmqk2yc2.js} +1 -1
  60. package/dist/{cli-g1px1g2e.js → cli-re4raaj0.js} +1 -1
  61. package/dist/{cli-xbtq4d6s.js → cli-sn7rtnj4.js} +12 -8
  62. package/dist/{cli-n9abj89w.js → cli-syybb0p1.js} +8 -8
  63. package/dist/{cli-v2fwbnsk.js → cli-tacge1w0.js} +6 -6
  64. package/dist/{cli-pyrxt9gw.js → cli-tk7cjj8h.js} +1 -1
  65. package/dist/{cli-xvymtmv4.js → cli-tqegb8eq.js} +3 -3
  66. package/dist/{cli-kf3pxxdg.js → cli-v1dv1r37.js} +1 -1
  67. package/dist/{cli-z9cs5m0w.js → cli-vbh10fqa.js} +12 -12
  68. package/dist/{cli-3xcwp3z8.js → cli-vj75tyaw.js} +3 -3
  69. package/dist/{cli-xncjscpm.js → cli-vqptjbr7.js} +50 -24
  70. package/dist/{cli-q581b386.js → cli-wk18cm92.js} +5 -5
  71. package/dist/{cli-4vwxp550.js → cli-x1wa213s.js} +1 -1
  72. package/dist/{cli-n9ftpys4.js → cli-x6t50dmw.js} +7 -7
  73. package/dist/{cli-jrp1dt73.js → cli-xzm9vcfg.js} +1 -1
  74. package/dist/{cli-16phend6.js → cli-yn2bbre9.js} +1 -1
  75. package/dist/{cli-rt0ag4x1.js → cli-yncmerje.js} +5 -5
  76. package/dist/{cli-0m7rtm11.js → cli-zcsw143p.js} +1 -1
  77. package/dist/cli.js +18 -18
  78. package/dist/{codex-adapter-yr60sme6.js → codex-adapter-nha71q3n.js} +5 -6
  79. package/dist/{codex-hook-fac6175r.js → codex-hook-h3vk6xzr.js} +1 -1
  80. package/dist/{codex-session-runner-pch8x584.js → codex-session-runner-ak9x1k1h.js} +5 -6
  81. package/dist/{commands-phjfbkv0.js → commands-f587qpq8.js} +3 -3
  82. package/dist/{controller-jkx994pz.js → controller-hxx8wwy1.js} +2 -2
  83. package/dist/{controllers-connect-c4448kwa.js → controllers-connect-k5sg9m9h.js} +20 -21
  84. package/dist/{cursor-adapter-ndebqnm8.js → cursor-adapter-n5nc3mfe.js} +1 -2
  85. package/dist/{db-ef32tbfc.js → db-amm8w15a.js} +10 -2
  86. package/dist/{db-ez6egt6v.js → db-nzf8zb5z.js} +3 -3
  87. package/dist/{devin-adapter-z46ep5ph.js → devin-adapter-xedz98zv.js} +1 -1
  88. package/dist/{dispatcher-g3tt9hs9.js → dispatcher-89zrts8f.js} +18 -19
  89. package/dist/{dsh-adapter-tcyn3099.js → dsh-adapter-nrhbrjz8.js} +1 -2
  90. package/dist/{easter-egg-3d-e36hk5td.js → easter-egg-3d-533knw22.js} +1 -1
  91. package/dist/{embedding-space-4kyh5qqj.js → embedding-space-ezwenjmj.js} +6 -6
  92. package/dist/{embeddings-6a8v4a6t.js → embeddings-np74ht6g.js} +1 -1
  93. package/dist/{execute-3cbg0twf.js → execute-b3mrb1mv.js} +1 -1
  94. package/dist/{external-channel-se646snz.js → external-channel-z46yx9d7.js} +2 -2
  95. package/dist/{fx-adapter-yw795hqq.js → fx-adapter-3q12snn6.js} +7 -8
  96. package/dist/{grok-adapter-ttmcss2j.js → grok-adapter-ahb1w033.js} +7 -8
  97. package/dist/handlers-vbww69re.js +32 -0
  98. package/dist/heartbeat-dt9qw9c8.js +43 -0
  99. package/dist/{hook-hq93y5ej.js → hook-8k6fbz9b.js} +5 -5
  100. package/dist/{hook-g3nhexsy.js → hook-jgcgygex.js} +6 -6
  101. package/dist/{http-5a9p4h6y.js → http-haw4r8ne.js} +284 -142
  102. package/dist/{index-0eny15vj.js → index-2skqtd76.js} +2 -2
  103. package/dist/{index-6haqt3v5.js → index-4a0670yh.js} +8917 -8476
  104. package/dist/index-4xwaf5th.js +32 -0
  105. package/dist/{index-3c5pxbge.js → index-5gk12my8.js} +1 -1
  106. package/dist/{index-w7em4ktq.js → index-d6wkh8ar.js} +2 -2
  107. package/dist/index-f0hcrs8e.js +33 -0
  108. package/dist/{index-rvccek1w.js → index-gjwaqaq8.js} +5 -5
  109. package/dist/{index-e5pfbsys.js → index-hjhfk3ra.js} +3 -3
  110. package/dist/{index-1qw6f2dc.js → index-khe3gp0k.js} +4 -4
  111. package/dist/index-s4ewdma4.js +37 -0
  112. package/dist/{index-hgn3c961.js → index-tez78qj3.js} +979 -36
  113. package/dist/{index-s72rqgsx.js → index-tvfafeyy.js} +1 -1
  114. package/dist/{keepalive-1j4n4dmk.js → keepalive-xn6s7rmg.js} +3 -3
  115. package/dist/lead-6ygbfhbh.js +70 -0
  116. package/dist/{maintenance-dmghacy5.js → maintenance-vdts800b.js} +1 -1
  117. package/dist/{node-je82wjet.js → node-4c5jqxr3.js} +1 -1
  118. package/dist/{oauth-refresh-sweep-yy06c03c.js → oauth-refresh-sweep-094c8wfk.js} +2 -2
  119. package/dist/{onboard-52f9t5dm.js → onboard-v99eh56m.js} +3 -3
  120. package/dist/{opencode-adapter-krnh9jkn.js → opencode-adapter-dsagkhtw.js} +5 -6
  121. package/dist/{otel-impl-xjqz6wjj.js → otel-impl-q7yr9yp0.js} +1 -1
  122. package/dist/{pi-mono-adapter-dbxyp0qv.js → pi-mono-adapter-546cd1cc.js} +9 -9
  123. package/dist/{pricing-refresh-ctdr74pd.js → pricing-refresh-7dh2yase.js} +2 -3
  124. package/dist/{rbac-roles-ehv8s10n.js → rbac-roles-mdmc96p4.js} +3 -3
  125. package/dist/{rbac-roles-q0gr8eyj.js → rbac-roles-npbmdh77.js} +4 -6
  126. package/dist/{registry-hpjfmcfz.js → registry-32b1mft6.js} +1 -1
  127. package/dist/{render-v2-5b6chvcq.js → render-v2-twhhwmms.js} +3 -3
  128. package/dist/{resume-5a5d2845.js → resume-5gsrjd5e.js} +6 -6
  129. package/dist/{runtime-khxszyfp.js → runtime-1hv06jsn.js} +1 -1
  130. package/dist/{session-access-gj0bjhqg.js → session-access-m191x30x.js} +4 -4
  131. package/dist/{session-source-backfill-2sy0krfk.js → session-source-backfill-nt923ask.js} +2 -2
  132. package/dist/{setup-7ssfakk1.js → setup-wv467afy.js} +1 -1
  133. package/dist/{virtual-modules-pjj0knwf.js → virtual-modules-gazyapte.js} +3 -3
  134. package/dist/{work-objects-bf3syvhq.js → work-objects-8zkrpy13.js} +21 -22
  135. package/dist/{worker-follow-up-38xevga6.js → worker-follow-up-cecqszem.js} +18 -19
  136. package/dist/worker-mz5z7kj0.js +70 -0
  137. package/openapi.json +334 -7
  138. package/package.json +5 -5
  139. package/src/apps/definition.ts +11 -0
  140. package/src/apps/store.ts +28 -8
  141. package/src/be/db/model-profiles.ts +147 -38
  142. package/src/be/db/tasks/read.ts +5 -1
  143. package/src/be/db/workflow-run-definitions.ts +117 -0
  144. package/src/be/db.ts +24 -3
  145. package/src/be/memory/constants.ts +14 -1
  146. package/src/be/memory/key-paths.ts +8 -0
  147. package/src/be/memory/providers/sqlite-store.ts +160 -10
  148. package/src/be/memory/task-learning.ts +79 -14
  149. package/src/be/memory/types.ts +24 -1
  150. package/src/be/migrations/279_backfill_learning_expiry.sql +15 -0
  151. package/src/be/migrations/281_model_profiles_pr2.sql +28 -0
  152. package/src/be/migrations/283_workflow_run_definitions.sql +14 -0
  153. package/src/be/model-profile-check.ts +284 -0
  154. package/src/be/model-tier-resolution.ts +112 -12
  155. package/src/be/multi-runtime.ts +27 -0
  156. package/src/be/runtime-pools/routing.ts +52 -4
  157. package/src/be/scripts/typecheck.ts +1 -0
  158. package/src/be/seed-scripts/catalog/dreaming-learnings.ts +552 -0
  159. package/src/be/seed-scripts/catalog/dreaming-memtax-create.ts +389 -14
  160. package/src/be/seed-scripts/catalog/dreaming-memtax.ts +6 -3
  161. package/src/be/seed-scripts/index.ts +9 -0
  162. package/src/be/steering.ts +8 -2
  163. package/src/commands/onboard/agent-fs-version.ts +1 -1
  164. package/src/commands/runner.ts +32 -1
  165. package/src/fs/provider.ts +17 -3
  166. package/src/heartbeat/heartbeat.ts +12 -1
  167. package/src/heartbeat/index.ts +1 -0
  168. package/src/http/agents.ts +56 -4
  169. package/src/http/apps.ts +3 -1
  170. package/src/http/config.ts +2 -6
  171. package/src/http/index.ts +2 -3
  172. package/src/http/model-profiles.ts +58 -10
  173. package/src/http/poll.ts +36 -3
  174. package/src/http/schedules.ts +42 -3
  175. package/src/http/tasks.ts +37 -12
  176. package/src/http/workflows.ts +15 -2
  177. package/src/prompts/session-templates.ts +1 -1
  178. package/src/providers/acp-targets.ts +11 -6
  179. package/src/providers/amp-adapter.ts +1 -1
  180. package/src/providers/claude-sdk-session.ts +132 -23
  181. package/src/providers/codex-skill-resolver.ts +10 -4
  182. package/src/providers/cursor-adapter.ts +1 -1
  183. package/src/providers/devin-skill-resolver.ts +5 -5
  184. package/src/providers/dsh-adapter.ts +1 -1
  185. package/src/scheduler/schedule-task.ts +1 -0
  186. package/src/scripts-runtime/eval-harness.ts +14 -1
  187. package/src/scripts-runtime/executors/types.ts +3 -0
  188. package/src/scripts-runtime/sdk-allowlist.ts +1 -0
  189. package/src/scripts-runtime/swarm-sdk.ts +18 -1
  190. package/src/scripts-runtime/types/stdlib.d.ts +1 -0
  191. package/src/scripts-runtime/types/swarm-sdk.d.ts +1 -0
  192. package/src/server.ts +2 -0
  193. package/src/slack/app.ts +93 -0
  194. package/src/slack/inbound-dispatch.ts +18 -1
  195. package/src/slack/workspace-guard.ts +345 -0
  196. package/src/tasks/task-terminal-effects.ts +4 -0
  197. package/src/tasks/worker-follow-up.ts +102 -2
  198. package/src/tests/acp-adapter.test.ts +82 -0
  199. package/src/tests/apps-icon.test.ts +120 -0
  200. package/src/tests/chained-task-follow-up.test.ts +248 -0
  201. package/src/tests/check-pr-body.test.ts +40 -0
  202. package/src/tests/claude-sdk-lifecycle.test.ts +216 -1
  203. package/src/tests/claude-sdk-process.fixture.ts +57 -0
  204. package/src/tests/codex-skill-resolver.test.ts +31 -0
  205. package/src/tests/credentials-allowlist.test.ts +470 -0
  206. package/src/tests/db-task-read-contract.test.ts +5 -0
  207. package/src/tests/db-task-write-contract.test.ts +5 -0
  208. package/src/tests/deferred-wake-follow-up.test.ts +47 -0
  209. package/src/tests/docs-index-footprint.test.js +3 -3
  210. package/src/tests/dreaming-learnings.test.ts +1395 -0
  211. package/src/tests/dsh-adapter.test.ts +1 -1
  212. package/src/tests/explicit-model-validation.test.ts +2 -0
  213. package/src/tests/fs-provider.test.ts +42 -0
  214. package/src/tests/heartbeat.test.ts +28 -1
  215. package/src/tests/human-free-reclassify.test.ts +5 -1
  216. package/src/tests/list-endpoint-slimming.test.ts +17 -0
  217. package/src/tests/mcp-tools.test.ts +1 -1
  218. package/src/tests/migration-283-workflow-run-definitions.test.ts +69 -0
  219. package/src/tests/model-profile-check.test.ts +387 -0
  220. package/src/tests/model-profiles-api.test.ts +528 -1
  221. package/src/tests/profile-claim.test.ts +415 -3
  222. package/src/tests/profile-tier-alias.test.ts +382 -0
  223. package/src/tests/schedule-profile.test.ts +359 -0
  224. package/src/tests/script-connections.test.ts +6 -0
  225. package/src/tests/script-native-unawaited-drain.test.ts +167 -0
  226. package/src/tests/script-per-script-executor.test.ts +1 -0
  227. package/src/tests/scripts-sdk-bridge-tool-failure.test.ts +141 -0
  228. package/src/tests/seed-scripts.test.ts +2 -2
  229. package/src/tests/slack-inbound-receipts.test.ts +22 -2
  230. package/src/tests/slack-socket-ack.test.ts +16 -1
  231. package/src/tests/slack-workspace-guard.test.ts +905 -0
  232. package/src/tests/steering-core.test.ts +40 -0
  233. package/src/tests/store-progress-learning.test.ts +605 -20
  234. package/src/tests/tool-annotations.test.ts +1 -1
  235. package/src/tests/workflow-convergence.test.ts +46 -40
  236. package/src/tests/workflow-definition-pinning-recovery.test.ts +552 -0
  237. package/src/tests/workflow-definition-pinning.test.ts +645 -0
  238. package/src/tests/workflow-executors.test.ts +16 -7
  239. package/src/tests/workflow-foreach.test.ts +43 -20
  240. package/src/tests/workflow-notify-slack-ready.test.ts +161 -0
  241. package/src/tests/workflow-profile.test.ts +328 -0
  242. package/src/tools/app-upsert.ts +1 -1
  243. package/src/tools/memory-edit.ts +2 -1
  244. package/src/tools/model-profiles/check-model-profile.ts +63 -0
  245. package/src/tools/schedules/create-schedule.ts +45 -4
  246. package/src/tools/schedules/patch-schedule.ts +50 -4
  247. package/src/tools/schedules/update-schedule.ts +50 -4
  248. package/src/tools/script-run.ts +1 -1
  249. package/src/tools/send-task.ts +17 -2
  250. package/src/tools/store-progress.ts +15 -3
  251. package/src/tools/task-action.ts +9 -1
  252. package/src/tools/templates.ts +13 -0
  253. package/src/tools/tool-config.ts +2 -1
  254. package/src/tools/utils.ts +61 -4
  255. package/src/tools/workflows/create-workflow.ts +1 -1
  256. package/src/tools/workflows/retry-workflow-run.ts +1 -1
  257. package/src/tools/workflows/update-workflow.ts +10 -1
  258. package/src/types.ts +56 -1
  259. package/src/utils/credentials.ts +89 -12
  260. package/src/workflows/engine.ts +10 -1
  261. package/src/workflows/executors/agent-task.ts +21 -2
  262. package/src/workflows/executors/foreach.ts +4 -1
  263. package/src/workflows/executors/notify.ts +62 -6
  264. package/src/workflows/executors/sub-workflow.ts +1 -1
  265. package/src/workflows/executors/swarm-script.ts +4 -1
  266. package/src/workflows/foreach-driver.ts +8 -5
  267. package/src/workflows/limits.ts +2 -1
  268. package/src/workflows/model-validation.ts +27 -2
  269. package/src/workflows/patch-definition.ts +3 -1
  270. package/src/workflows/recovery.ts +6 -6
  271. package/src/workflows/resume.ts +9 -9
  272. package/src/workflows/retry-poller.ts +2 -2
  273. package/templates/skills/apps/SKILL.md +2 -0
  274. package/templates/skills/apps/content.md +2 -0
  275. package/templates/skills/code-quality/content.md +12 -0
  276. package/templates/skills/memory/content.md +8 -0
  277. package/templates/skills/scheduling/config.json +1 -1
  278. package/templates/skills/scheduling/content.md +2 -2
  279. package/templates/skills/swarm-docs/content.md +4 -0
  280. package/templates/skills/swarm-extensions/content.md +1 -1
  281. package/templates/skills/swarm-scripts/SKILL.md +2 -2
  282. package/templates/skills/swarm-scripts/content.md +2 -2
  283. package/templates/skills/work-on-task/SKILL.md +2 -0
  284. package/templates/skills/work-on-task/content.md +2 -0
  285. package/templates/workflows/dreaming/content.md +174 -7
  286. package/dist/acp-adapter-srfhs1s9.js +0 -16
  287. package/dist/cli-bzvs88tv.js +0 -339
  288. package/dist/cli-cyn9v8zr.js +0 -748
  289. package/dist/cli-ed6yqpf1.js +0 -779
  290. package/dist/handlers-17wha3ze.js +0 -33
  291. package/dist/heartbeat-gwewgdms.js +0 -42
  292. package/dist/index-8arwq8mw.js +0 -34
  293. package/dist/index-tpw054az.js +0 -38
  294. package/dist/index-waq75j2j.js +0 -31
  295. package/dist/lead-re73kdgc.js +0 -72
  296. package/dist/worker-r8mz7a65.js +0 -72
@@ -11,10 +11,10 @@ import {
11
11
  checkDeepSeekApiKey,
12
12
  checkOpenAICompatibleProvider,
13
13
  writeSkillsToFilesystem
14
- } from "./cli-jg24scat.js";
14
+ } from "./cli-jcpr5smb.js";
15
15
  import {
16
16
  renderSteeringDelivery
17
- } from "./cli-eqtfgfr6.js";
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-f2zenhja.js";
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-td33w98c.js";
41
+ } from "./cli-9wngrawf.js";
42
42
  import {
43
43
  checkClaudeCredentials2
44
- } from "./cli-eb2azq8n.js";
44
+ } from "./cli-d3p5vwbk.js";
45
45
  import {
46
46
  checkClaudeManagedCredentials2
47
- } from "./cli-3xcwp3z8.js";
47
+ } from "./cli-vj75tyaw.js";
48
48
  import {
49
49
  codexUserHome,
50
50
  checkCodexCredentials2
51
- } from "./cli-eqk5p56g.js";
51
+ } from "./cli-9vhebtjz.js";
52
52
  import {
53
53
  checkCursorCredentials2
54
- } from "./cli-5xcb8gxq.js";
54
+ } from "./cli-7b8sbmag.js";
55
55
  import {
56
56
  checkDevinCredentials2
57
- } from "./cli-ybjdc978.js";
57
+ } from "./cli-mrt48bx7.js";
58
58
  import {
59
59
  checkDshCredentials2
60
- } from "./cli-q581b386.js";
60
+ } from "./cli-wk18cm92.js";
61
61
  import {
62
62
  checkOpencodeCredentials2
63
- } from "./cli-mp9aa8g5.js";
63
+ } from "./cli-7p1kvkck.js";
64
64
  import {
65
65
  checkFxCredentials2
66
- } from "./cli-55bkx8hh.js";
66
+ } from "./cli-gax7fk3t.js";
67
67
  import {
68
68
  checkGrokCredentials2
69
- } from "./cli-h49ejvmc.js";
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-7wz05bx3.js";
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-xncjscpm.js";
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-mr97t7cc.js";
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
- } from "./cli-j7d73g1y.js";
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-hfkwwy1h.js";
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-pyrxt9gw.js";
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-xfjrc279.js";
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-kf3pxxdg.js";
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-s5df247c.js");
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-dbxyp0qv.js");
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-yr60sme6.js");
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-h74d06yz.js");
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-z46ep5ph.js");
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-krnh9jkn.js");
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-tcyn3099.js");
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-4c165vgn.js");
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-ndebqnm8.js");
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-ttmcss2j.js");
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-yw795hqq.js");
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-srfhs1s9.js");
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-dbxyp0qv.js");
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-ndebqnm8.js");
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-w3bk0dgv.js";
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-4vwxp550.js";
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-s72rqgsx.js").then((m)=>__toESM(m.default,1)).then(() => resolve(), () => {
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-pjj0knwf.js").then((module) => module.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-3cbg0twf.js");
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-khxszyfp.js");
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-5wfz00be.js");
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-e36hk5td.js").then((module) => module.playEasterEgg3d(tui, screen, egg), () => {});
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) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  init_package,
3
3
  package_default
4
- } from "./cli-rt0ag4x1.js";
4
+ } from "./cli-yncmerje.js";
5
5
 
6
6
  // src/commands/shared/client-config.ts
7
7
  init_package();
@@ -2,19 +2,16 @@ import {
2
2
  contextStatePath,
3
3
  contextBoundNoteMarkerPath,
4
4
  recordContextState
5
- } from "./cli-jrp1dt73.js";
5
+ } from "./cli-xzm9vcfg.js";
6
6
  import {
7
7
  runStopHookSessionSummarySubprocess
8
- } from "./cli-an1knn2k.js";
8
+ } from "./cli-6mma83xa.js";
9
9
  import {
10
10
  redactRateLimitEventLine,
11
11
  SessionErrorTracker,
12
12
  trackErrorFromJson,
13
13
  parseStderrForErrors
14
- } from "./cli-f2zenhja.js";
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-pyrxt9gw.js";
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-xfjrc279.js";
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-dq1j4nz9.js") : undefined;
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 ?? []
@@ -3,7 +3,7 @@ import {
3
3
  upsertKv2,
4
4
  deleteKv2,
5
5
  init_db4
6
- } from "./cli-j7d73g1y.js";
6
+ } from "./cli-7w69ne2f.js";
7
7
  import {
8
8
  isEnvFlagEnabled,
9
9
  init_env_flag
@@ -5,7 +5,7 @@ import {
5
5
  Number2,
6
6
  String2,
7
7
  completeStructuredWithModel
8
- } from "./cli-w3bk0dgv.js";
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-4vwxp550.js";
17
+ } from "./cli-x1wa213s.js";
18
18
  import {
19
19
  init_models2
20
20
  } from "./cli-82j36f2m.js";
@@ -4,7 +4,7 @@ import {
4
4
  fxSessionExists,
5
5
  fxTargetProfile,
6
6
  ACPAdapter2
7
- } from "./cli-xbtq4d6s.js";
7
+ } from "./cli-sn7rtnj4.js";
8
8
  import {
9
9
  getKnownContextWindowSize,
10
10
  init_context_window
@@ -5,12 +5,12 @@ import {
5
5
  import {
6
6
  publicEndpointSsrfOptions,
7
7
  init_mcp_wrapper
8
- } from "./cli-0m7rtm11.js";
8
+ } from "./cli-zcsw143p.js";
9
9
  import {
10
10
  normalizeOrgWebsite,
11
11
  init_org_website,
12
12
  assertUrlSafe
13
- } from "./cli-j7d73g1y.js";
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-xfjrc279.js";
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-j7d73g1y.js";
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-7wz05bx3.js";
11
+ } from "./cli-93k32c37.js";
12
12
  import {
13
13
  findUserByExternalId,
14
14
  findOrCreateUserByEmail,
15
15
  linkIdentity,
16
16
  init_users
17
- } from "./cli-g1px1g2e.js";
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-x9exydey.js";
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-j7d73g1y.js";
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-xd5ebp64.js";
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-7wz05bx3.js";
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-xncjscpm.js";
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-g1px1g2e.js";
74
+ } from "./cli-re4raaj0.js";
75
75
  import {
76
76
  TERMINAL_TASK_STATUSES,
77
77
  isTerminalTaskStatus,
78
78
  init_types4
79
- } from "./cli-hfkwwy1h.js";
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-gwewgdms.js");
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-j7d73g1y.js";
12
+ } from "./cli-7w69ne2f.js";
11
13
  import {
12
14
  ensureRbacSeedsSynced2,
13
15
  init_rbac_roles
14
- } from "./cli-yz7v0sh4.js";
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-hfkwwy1h.js";
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-j7d73g1y.js";
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-g1px1g2e.js";
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-hfkwwy1h.js";
37
+ } from "./cli-2zp0et3v.js";
38
38
  import {
39
39
  poolCacheKey,
40
40
  init_types5
@@ -3,7 +3,7 @@ import {
3
3
  isModelScopedWindow,
4
4
  parseModelLimitMessage,
5
5
  init_model_rate_limit_windows
6
- } from "./cli-xfjrc279.js";
6
+ } from "./cli-5mrq3ake.js";
7
7
 
8
8
  // src/utils/error-tracker.ts
9
9
  init_model_rate_limit_windows();
@@ -2,7 +2,7 @@ import {
2
2
  RuntimeProviderKindSchema,
3
3
  RuntimePoolCacheSchema,
4
4
  init_types4
5
- } from "./cli-hfkwwy1h.js";
5
+ } from "./cli-2zp0et3v.js";
6
6
  import {
7
7
  init_zod
8
8
  } from "./cli-zcfpsfzf.js";