@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.
Files changed (315) hide show
  1. package/dist/acp-adapter-bht22g3k.js +16 -0
  2. package/dist/{acp-targets-ny75x1qy.js → acp-targets-arrwv4f0.js} +6 -6
  3. package/dist/{actions-b9qgrmeq.js → actions-y0d2n1c2.js} +49 -28
  4. package/dist/{agent-fs-provision-b5dhdsbd.js → agent-fs-provision-tpj7sktd.js} +4 -4
  5. package/dist/{amp-adapter-vtax2c9s.js → amp-adapter-vmmnmw8d.js} +1 -1
  6. package/dist/{anthropic-messages-r5xf5hqw.js → anthropic-messages-zdca3gv1.js} +13 -13
  7. package/dist/{app-g2z15hax.js → app-wb7w45dq.js} +3 -3
  8. package/dist/{approval-notifications-yt13wp8r.js → approval-notifications-7mqr6vbd.js} +5 -5
  9. package/dist/{assistant-2cgfxsgk.js → assistant-gf60454p.js} +19 -19
  10. package/dist/{boot-args-schema-3gwy0f60.js → boot-args-schema-qxmd59sr.js} +1 -1
  11. package/dist/{boot-reembed-mywmyp4s.js → boot-reembed-5tmeskj2.js} +1 -1
  12. package/dist/{boot-reembed-92g7s5zp.js → boot-reembed-wb44vc3s.js} +1 -1
  13. package/dist/boot-scrub-sweep-25bxhnw4.js +9 -0
  14. package/dist/{boot-seeds-ce7rvgq1.js → boot-seeds-nj9za0vk.js} +4 -4
  15. package/dist/{claude-adapter-3m4q7735.js → claude-adapter-d3krpdyb.js} +5 -5
  16. package/dist/{claude-managed-setup-c217draw.js → claude-managed-setup-7y4pwd81.js} +1 -1
  17. package/dist/{claude-sdk-session-7fbqm51z.js → claude-sdk-session-d138zy0e.js} +5 -5
  18. package/dist/{cli-tvc4jag9.js → cli-01k6wpr9.js} +3 -3
  19. package/dist/{cli-2xs8tsf7.js → cli-124ntmf0.js} +42 -36
  20. package/dist/{cli-jm0hvmz2.js → cli-2rnd5j3t.js} +1 -1
  21. package/dist/{cli-32djehja.js → cli-2spnz7ye.js} +8 -8
  22. package/dist/{cli-2dq9yv8p.js → cli-2v2zdm0a.js} +1 -1
  23. package/dist/{cli-fkef327x.js → cli-3caf7pmg.js} +2 -2
  24. package/dist/{cli-mw620q3n.js → cli-3et6fmfe.js} +1 -1
  25. package/dist/{cli-h9yqfzx9.js → cli-3f8zbtqa.js} +3 -3
  26. package/dist/{cli-mhapr559.js → cli-43evxwj4.js} +1 -1
  27. package/dist/{cli-pyjn0qhk.js → cli-539h29es.js} +138 -21
  28. package/dist/{cli-bnqncekd.js → cli-5qhfv9rw.js} +2 -2
  29. package/dist/{cli-p4kckx1z.js → cli-6037prsx.js} +6 -6
  30. package/dist/{cli-zr6qy15y.js → cli-6cwr32fe.js} +17 -17
  31. package/dist/{cli-1jykg0py.js → cli-7r162fxe.js} +22 -15
  32. package/dist/{cli-sn650d7x.js → cli-8st34zhr.js} +20 -10
  33. package/dist/{cli-rq5rpv6k.js → cli-91pkxres.js} +1 -1
  34. package/dist/{cli-m7zvgt57.js → cli-9fjr27ez.js} +10 -10
  35. package/dist/{cli-f8x9drqr.js → cli-aw83sr40.js} +19 -5
  36. package/dist/{cli-jkw6ptfw.js → cli-cc93xzes.js} +5 -5
  37. package/dist/{cli-gfy38pvt.js → cli-fcfbct2j.js} +5 -5
  38. package/dist/{cli-nafvvsp8.js → cli-fq2rr3jb.js} +5 -5
  39. package/dist/{boot-scrub-sweep-7dkdzqxx.js → cli-had1p04a.js} +8 -9
  40. package/dist/{cli-bg63qmsx.js → cli-j6te8keb.js} +4 -4
  41. package/dist/{cli-br0924pw.js → cli-jrbq4djp.js} +1 -1
  42. package/dist/{cli-kxx4k2jw.js → cli-k3q2va86.js} +2 -2
  43. package/dist/{cli-jaw5v1sy.js → cli-k5yewqgd.js} +3 -3
  44. package/dist/cli-kbtzfrxj.js +404 -0
  45. package/dist/{cli-td9tb872.js → cli-m9cvf7vs.js} +7 -7
  46. package/dist/{cli-f3jyzq4g.js → cli-md50mj0r.js} +2 -2
  47. package/dist/{cli-xag7btpe.js → cli-mk7c5ac4.js} +1 -1
  48. package/dist/cli-mys27d03.js +321 -0
  49. package/dist/{cli-nbt14he0.js → cli-nstkanmx.js} +5 -5
  50. package/dist/{cli-wn13hhdt.js → cli-nv4xsvmk.js} +4 -4
  51. package/dist/{cli-vyff45ve.js → cli-p0c3vtch.js} +2 -2
  52. package/dist/{cli-2czxfnvj.js → cli-p0n7b5rz.js} +662 -93
  53. package/dist/{cli-j7svy295.js → cli-q5srsxq2.js} +12 -12
  54. package/dist/{cli-vt89089n.js → cli-qrta34nb.js} +4 -4
  55. package/dist/{cli-ysvspf5e.js → cli-qx4f057j.js} +2 -2
  56. package/dist/{cli-zh0e5x7p.js → cli-s1khw52h.js} +11 -11
  57. package/dist/{cli-mkwkwq81.js → cli-s1zqk1aj.js} +18 -11
  58. package/dist/{cli-f9gz2vyj.js → cli-sb4426be.js} +7 -7
  59. package/dist/{cli-dgs10ttj.js → cli-th1dkc2v.js} +1 -1
  60. package/dist/{cli-3j873zxq.js → cli-tr27kwyg.js} +2 -2
  61. package/dist/{cli-6945ywhr.js → cli-tvgqesec.js} +6 -4
  62. package/dist/{cli-fjggej24.js → cli-v46zsvqk.js} +1 -1
  63. package/dist/{cli-67mwzr35.js → cli-v8z0yga9.js} +4 -4
  64. package/dist/{cli-pb2ay3sh.js → cli-vfqvrd82.js} +5 -5
  65. package/dist/{cli-fh97xn30.js → cli-vq2eg24x.js} +2 -2
  66. package/dist/{cli-v57d7fmm.js → cli-vsw91x06.js} +23 -22
  67. package/dist/{cli-2yjj3e31.js → cli-w1q68d8x.js} +9 -7
  68. package/dist/{cli-y2ewxhth.js → cli-wafmk3fn.js} +10 -10
  69. package/dist/{cli-ctx0b85j.js → cli-wwp1bd3n.js} +257 -101
  70. package/dist/{cli-bkjdknnp.js → cli-y4ccxtz5.js} +37 -5
  71. package/dist/{cli-w4n323t3.js → cli-y8p78ekx.js} +7 -7
  72. package/dist/{cli-8zh9nrew.js → cli-z0m452jr.js} +1 -1
  73. package/dist/{cli-mjw0yf82.js → cli-zeh2mhkg.js} +1 -1
  74. package/dist/{cli-jwampxxq.js → cli-zk7v5s89.js} +2 -2
  75. package/dist/cli.js +16 -16
  76. package/dist/{cloudflare-workers-ai-system-one-9y1zx3pt.js → cloudflare-workers-ai-system-one-4aysy6rh.js} +2 -2
  77. package/dist/{codex-adapter-n656pvb8.js → codex-adapter-exfdbj73.js} +4 -4
  78. package/dist/{codex-session-runner-p0fbv5y9.js → codex-session-runner-xhznc4g3.js} +4 -4
  79. package/dist/{commands-gwea8z5p.js → commands-d8g349v4.js} +3 -3
  80. package/dist/{controller-t67c3grh.js → controller-mwgdmb8y.js} +3 -3
  81. package/dist/{controllers-connect-ks155r0h.js → controllers-connect-5v7qx04j.js} +19 -19
  82. package/dist/core-sxy4epp2.js +38 -0
  83. package/dist/{cursor-adapter-ygwrtmkv.js → cursor-adapter-p2q5h35d.js} +1 -1
  84. package/dist/{db-rb2xqdb1.js → db-qpganbeb.js} +3 -3
  85. package/dist/{db-kpmx06s9.js → db-wcw0b2j8.js} +2 -2
  86. package/dist/{dispatcher-31sm0ej2.js → dispatcher-8d8s49yz.js} +17 -17
  87. package/dist/{dsh-adapter-qyxh0w31.js → dsh-adapter-me0twn13.js} +1 -1
  88. package/dist/{easter-egg-3d-00wjscn6.js → easter-egg-3d-wv7w5ty6.js} +1 -1
  89. package/dist/{embedding-space-qhw4g68n.js → embedding-space-e48xchqa.js} +6 -6
  90. package/dist/{embeddings-zdv9ke6x.js → embeddings-tgq2afbq.js} +1 -1
  91. package/dist/{execute-zna8wwr7.js → execute-8rhwrk7f.js} +1 -1
  92. package/dist/{external-channel-1ac6t56s.js → external-channel-8bt3j2pm.js} +2 -2
  93. package/dist/{fx-adapter-sk7n0fzc.js → fx-adapter-adtdb3jb.js} +8 -8
  94. package/dist/{grok-adapter-sjbcm5ew.js → grok-adapter-accnn9km.js} +8 -8
  95. package/dist/handlers-1x77561e.js +35 -0
  96. package/dist/{heartbeat-2f6z4kdx.js → heartbeat-x0056ra5.js} +20 -20
  97. package/dist/{hook-w1skzaqc.js → hook-a7vmn2st.js} +4 -4
  98. package/dist/{hook-8y0gvtp1.js → hook-mrd2ayxv.js} +5 -5
  99. package/dist/{http-wghxvpef.js → http-ym9c5svp.js} +676 -273
  100. package/dist/{index-s71ez27v.js → index-01ns1pkw.js} +1 -1
  101. package/dist/index-48qzcqzj.js +35 -0
  102. package/dist/{index-9zkchs9t.js → index-ny60jcat.js} +186 -14
  103. package/dist/{index-rv89fvzf.js → index-p46tvwtx.js} +21 -21
  104. package/dist/index-rkvaambe.js +36 -0
  105. package/dist/{index-8zn8nxn5.js → index-x6azjwm8.js} +1 -1
  106. package/dist/{index-25pvya7q.js → index-xj1mq27m.js} +17 -17
  107. package/dist/k8s-m56sw868.js +217 -0
  108. package/dist/{keepalive-sh02349h.js → keepalive-7yxg8z4c.js} +3 -3
  109. package/dist/lead-enzn86bz.js +74 -0
  110. package/dist/{maintenance-yj0dcjja.js → maintenance-6tefxmk1.js} +1 -1
  111. package/dist/{oauth-refresh-sweep-d9xedk66.js → oauth-refresh-sweep-70cavc3a.js} +2 -2
  112. package/dist/{onboard-dpgjn03r.js → onboard-fja65z08.js} +5 -5
  113. package/dist/{openai-decisions-q3hh60wr.js → openai-decisions-ytp6w6xh.js} +1 -1
  114. package/dist/{opencode-adapter-2d31cpjc.js → opencode-adapter-hakkm7yh.js} +5 -5
  115. package/dist/{otel-impl-1skarpfq.js → otel-impl-7zhnt6gj.js} +1 -1
  116. package/dist/{pending-bfmxtx0g.js → pending-h01yzpx4.js} +18 -18
  117. package/dist/{pi-mono-adapter-gvppnasy.js → pi-mono-adapter-f52hz743.js} +6 -6
  118. package/dist/{pricing-refresh-c6b325mk.js → pricing-refresh-fzxvk2zf.js} +2 -2
  119. package/dist/{rbac-roles-h80qbdbs.js → rbac-roles-9v6vhgbs.js} +3 -3
  120. package/dist/{rbac-roles-zfcx68tx.js → rbac-roles-hfgh8sba.js} +2 -2
  121. package/dist/{render-v2-nx20t3rb.js → render-v2-1rgspxzf.js} +3 -3
  122. package/dist/{resume-5ep8agan.js → resume-tqy61x24.js} +7 -7
  123. package/dist/{runtime-r3pj4mce.js → runtime-exkxyx5f.js} +1 -1
  124. package/dist/{session-access-n7p3m15b.js → session-access-3act7vt4.js} +4 -4
  125. package/dist/{session-source-backfill-v8mt0zwn.js → session-source-backfill-82qe7fqq.js} +2 -2
  126. package/dist/{setup-z1psaqhe.js → setup-ry1vfdef.js} +1 -1
  127. package/dist/thread-buffer-3x93yexa.js +38 -0
  128. package/dist/{typesafe-system-one-f2en2knd.js → typesafe-system-one-vcfj2ak8.js} +2 -2
  129. package/dist/user-merge-jobs-bx6bf7db.js +22 -0
  130. package/dist/{virtual-modules-rrbjdpxn.js → virtual-modules-s0rjzcqq.js} +3 -3
  131. package/dist/{work-objects-4aghh73z.js → work-objects-z2e5tv03.js} +20 -20
  132. package/dist/{worker-follow-up-166zmex1.js → worker-follow-up-y3xeg89w.js} +17 -17
  133. package/dist/worker-zfcv2wbf.js +74 -0
  134. package/openapi.json +1630 -388
  135. package/package.json +3 -3
  136. package/src/be/boot-seeds.ts +7 -1
  137. package/src/be/db/model-groups.ts +238 -0
  138. package/src/be/db/model-profiles.ts +26 -8
  139. package/src/be/db/session-costs.ts +8 -2
  140. package/src/be/db/tasks/read.ts +3 -2
  141. package/src/be/db/tasks/write.ts +2 -1
  142. package/src/be/db/user-references.ts +75 -0
  143. package/src/be/db/users/references.ts +185 -0
  144. package/src/be/db-client.ts +70 -19
  145. package/src/be/db.ts +32 -57
  146. package/src/be/key-window-usage.ts +1 -0
  147. package/src/be/memory/demotion-evidence.ts +34 -0
  148. package/src/be/memory/reranker.ts +34 -12
  149. package/src/be/memory/review-recall-filter.ts +83 -0
  150. package/src/be/memory/search-candidates.ts +19 -6
  151. package/src/be/memory/types.ts +11 -0
  152. package/src/be/migrations/312_task_ui_action_runs_repeatable.sql +6 -0
  153. package/src/be/migrations/314_model_groups.sql +85 -0
  154. package/src/be/migrations/318_superseded_workflow_cut_backfill.sql +22 -0
  155. package/src/be/migrations/319_user_fk_indexes.sql +153 -0
  156. package/src/be/migrations/320_session_costs_kind.sql +4 -0
  157. package/src/be/migrations/321_user_merge_jobs.sql +52 -0
  158. package/src/be/pricing-normalize.ts +2 -0
  159. package/src/be/rbac-roles.ts +6 -4
  160. package/src/be/runtime-pools/db.ts +20 -5
  161. package/src/be/runtime-pools/supervisor.ts +15 -1
  162. package/src/be/scripts/db.ts +11 -0
  163. package/src/be/scripts/typecheck.ts +2 -0
  164. package/src/be/seed-model-groups.ts +86 -0
  165. package/src/be/seed-model-profiles.ts +20 -13
  166. package/src/be/seed-scripts/catalog/dreaming-gather.ts +165 -1
  167. package/src/be/swarm-config-guard.ts +34 -0
  168. package/src/be/task-ui-spec.ts +102 -1
  169. package/src/be/user-merge-jobs.ts +564 -0
  170. package/src/be/users.ts +41 -23
  171. package/src/commands/onboard/agent-fs-version.ts +1 -1
  172. package/src/commands/onboard/compose-generator.ts +1 -1
  173. package/src/commands/onboard/env-generator.ts +1 -1
  174. package/src/commands/provider-credentials.ts +1 -1
  175. package/src/extensions/contract-types.generated.ts +1 -1
  176. package/src/extensions/contract.ts +15 -0
  177. package/src/extensions/dispatcher.ts +14 -4
  178. package/src/github/handlers.ts +57 -0
  179. package/src/github/types.ts +4 -0
  180. package/src/http/all-routes.ts +2 -0
  181. package/src/http/approval-requests.ts +5 -1
  182. package/src/http/auth.ts +3 -1
  183. package/src/http/config.ts +34 -1
  184. package/src/http/index.ts +13 -0
  185. package/src/http/memory.ts +19 -6
  186. package/src/http/model-groups.ts +277 -0
  187. package/src/http/model-profiles.ts +30 -13
  188. package/src/http/tasks.ts +41 -6
  189. package/src/http/tool-hooks.ts +140 -0
  190. package/src/http/users.ts +142 -19
  191. package/src/http/workflows.ts +19 -1
  192. package/src/integrations/chat-sdk/inbound.ts +8 -2
  193. package/src/integrations/chat-sdk/limits.ts +8 -3
  194. package/src/providers/acp-targets.ts +2 -2
  195. package/src/providers/amp-adapter.ts +1 -1
  196. package/src/providers/pricing-sources.md +9 -0
  197. package/src/rbac/legacy-policy.ts +1 -0
  198. package/src/rbac/permissions.ts +5 -0
  199. package/src/runtime-providers/index.ts +7 -5
  200. package/src/runtime-providers/k8s.ts +250 -0
  201. package/src/scripts-runtime/types/stdlib.d.ts +2 -0
  202. package/src/scripts-runtime/types/swarm-extension.d.ts +16 -1
  203. package/src/scripts-runtime/types/swarm-sdk.d.ts +2 -0
  204. package/src/slack/actions.ts +33 -10
  205. package/src/slack/blocks.ts +23 -2
  206. package/src/slack/render-v2.ts +47 -0
  207. package/src/tests/acp-adapter.test.ts +26 -0
  208. package/src/tests/chat-sdk-relay.test.ts +21 -1
  209. package/src/tests/check-pr-body.test.ts +43 -0
  210. package/src/tests/credential-check.test.ts +14 -6
  211. package/src/tests/db-client.test.ts +146 -0
  212. package/src/tests/deploy-guard.test.ts +7 -7
  213. package/src/tests/deploy-select.test.ts +83 -0
  214. package/src/tests/dreaming-gather-corrections.test.ts +467 -0
  215. package/src/tests/event-loop-lag.test.ts +9 -7
  216. package/src/tests/fixtures/extensions/native-tool-recorder/hooks.ts +26 -0
  217. package/src/tests/fixtures/extensions/native-tool-recorder/manifest.json +10 -0
  218. package/src/tests/fixtures/onboard/content.compose.yml.txt +1 -1
  219. package/src/tests/fixtures/onboard/content.env.txt +1 -1
  220. package/src/tests/fixtures/onboard/dev.compose.yml.txt +1 -1
  221. package/src/tests/fixtures/onboard/dev.env.txt +1 -1
  222. package/src/tests/fixtures/onboard/full-all.compose.yml.txt +1 -1
  223. package/src/tests/fixtures/onboard/full-all.env.txt +1 -1
  224. package/src/tests/fixtures/onboard/full.compose.yml.txt +1 -1
  225. package/src/tests/fixtures/onboard/full.env.txt +1 -1
  226. package/src/tests/fixtures/onboard/research.compose.yml.txt +1 -1
  227. package/src/tests/fixtures/onboard/research.env.txt +1 -1
  228. package/src/tests/fixtures/onboard/solo.compose.yml.txt +1 -1
  229. package/src/tests/fixtures/onboard/solo.env.txt +1 -1
  230. package/src/tests/github-event-filter.test.ts +8 -0
  231. package/src/tests/github-handlers-inline-comments.test.ts +2 -0
  232. package/src/tests/github-handlers-reactions.test.ts +4 -0
  233. package/src/tests/github-handlers.test.ts +3 -0
  234. package/src/tests/github-sender-trust.test.ts +223 -0
  235. package/src/tests/http-users.test.ts +142 -41
  236. package/src/tests/k8s-pool-smoke.test.ts +190 -0
  237. package/src/tests/key-window-usage.test.ts +15 -0
  238. package/src/tests/memory-rater-store.test.ts +35 -1
  239. package/src/tests/memory-reranker.test.ts +39 -4
  240. package/src/tests/memory-review-recall-filter.test.ts +205 -0
  241. package/src/tests/migration-318-superseded-workflow-cut-backfill.test.ts +74 -0
  242. package/src/tests/model-groups-api.test.ts +415 -0
  243. package/src/tests/model-profiles-api.test.ts +1 -0
  244. package/src/tests/operator-granted-credentials.test.ts +7 -2
  245. package/src/tests/operator-granted-role-wire.test.ts +2 -1
  246. package/src/tests/rbac-engine.test.ts +1 -0
  247. package/src/tests/runtime-k8s-pools.test.ts +142 -0
  248. package/src/tests/runtime-pools-db.test.ts +42 -2
  249. package/src/tests/runtime-pools-http.test.ts +47 -2
  250. package/src/tests/runtime-provider-registration.test.ts +5 -14
  251. package/src/tests/runtime-providers-k8s.test.ts +303 -0
  252. package/src/tests/script-connections.test.ts +13 -1
  253. package/src/tests/short-id.test.ts +23 -0
  254. package/src/tests/slack-blocks.test.ts +69 -0
  255. package/src/tests/slack-render-v2.test.ts +54 -0
  256. package/src/tests/spec-base-url.test.ts +13 -1
  257. package/src/tests/system-one-decide-session-cost.test.ts +196 -0
  258. package/src/tests/task-ui-action-route.test.ts +59 -1
  259. package/src/tests/task-ui-script-actions.test.ts +517 -0
  260. package/src/tests/tool-hooks-http.test.ts +187 -0
  261. package/src/tests/ui-spec-script-actions-config.test.ts +196 -0
  262. package/src/tests/user-delete-perf.test.ts +321 -0
  263. package/src/tests/user-merge-jobs.test.ts +680 -0
  264. package/src/tests/vcs-provider.test.ts +25 -5
  265. package/src/tests/vendored-openapi.test.ts +13 -1
  266. package/src/tests/workflow-agent-task-retry.test.ts +62 -0
  267. package/src/tests/workflow-foreach-supersede-retry.test.ts +10 -0
  268. package/src/tests/workflow-http-v2.test.ts +27 -0
  269. package/src/tests/workflow-replay.test.ts +10 -1
  270. package/src/tests/workflow-triggers-v2.test.ts +128 -0
  271. package/src/tests/workflow-wait-event.test.ts +109 -1
  272. package/src/tools/memory-search.ts +14 -3
  273. package/src/tools/store-progress.ts +26 -26
  274. package/src/tools/swarm-config/delete-config.ts +12 -1
  275. package/src/tools/swarm-config/set-config.ts +8 -0
  276. package/src/tools/system-one-decide.ts +113 -3
  277. package/src/tools/utils.ts +4 -1
  278. package/src/tools/workflows/create-workflow.ts +2 -0
  279. package/src/tools/workflows/update-workflow.ts +3 -1
  280. package/src/types.ts +86 -2
  281. package/src/ui-spec/actions.ts +30 -4
  282. package/src/ui-spec/schema.ts +38 -0
  283. package/src/ui-spec/script-actions.ts +340 -0
  284. package/src/ui-spec/script-allowlist.ts +48 -0
  285. package/src/utils/short-id.ts +20 -14
  286. package/src/utils/task-ui-spec.ts +16 -4
  287. package/src/vcs/index.ts +12 -2
  288. package/src/workflows/executors/system-one-decision.ts +2 -2
  289. package/src/workflows/resume.ts +3 -2
  290. package/src/workflows/task-step-routing.ts +30 -10
  291. package/src/workflows/triggers.ts +35 -3
  292. package/templates/extensions/manifest.schema.json +13 -0
  293. package/templates/skills/swarm-docs/content.md +2 -0
  294. package/templates/skills/ui-spec/content.md +7 -1
  295. package/templates/workflows/dreaming/content.md +1 -1
  296. package/dist/acp-adapter-g909b5hw.js +0 -16
  297. package/dist/cli-b91nz213.js +0 -93
  298. package/dist/handlers-yzy0c87x.js +0 -35
  299. package/dist/index-2t4859r5.js +0 -35
  300. package/dist/index-cxca2t8y.js +0 -36
  301. package/dist/lead-gk4h5eg7.js +0 -74
  302. package/dist/thread-buffer-a1re2r9r.js +0 -38
  303. package/dist/worker-3dyyb8ev.js +0 -74
  304. package/dist/{azure-openai-responses-590s1eea.js → azure-openai-responses-b3y7fz36.js} +8 -8
  305. package/dist/{cli-m7c2380k.js → cli-3aaeb78m.js} +4 -4
  306. package/dist/{cli-g0vv9dg4.js → cli-8y43jx2r.js} +8 -8
  307. package/dist/{cli-m0cy2vyf.js → cli-k6nejceb.js} +4 -4
  308. package/dist/{google-generative-ai-maq6c9bf.js → google-generative-ai-bh0djqjp.js} +4 -4
  309. package/dist/{google-vertex-2jgsw2nb.js → google-vertex-prjbw8dj.js} +8 -8
  310. package/dist/{mistral-conversations-0c30em7t.js → mistral-conversations-tm2vd4gc.js} +8 -8
  311. package/dist/{node-dqm4xgxw.js → node-2wfcey7d.js} +0 -0
  312. package/dist/{openai-codex-responses-bkcd8pjj.js → openai-codex-responses-sxjv60xx.js} +4 -4
  313. package/dist/{openai-completions-f3n69rep.js → openai-completions-0c7qnhsx.js} +20 -20
  314. package/dist/{openai-responses-gbh0wfqe.js → openai-responses-a7h29chp.js} +15 -15
  315. package/dist/{pi-messages-zebyt7gb.js → pi-messages-2j0fpqwq.js} +5 -5
@@ -0,0 +1,217 @@
1
+ import {
2
+ redactWithEnv,
3
+ init_env2
4
+ } from "./cli-gabsjg8x.js";
5
+ import {
6
+ RUNTIME_LABELS,
7
+ init_types4
8
+ } from "./cli-rqx70rcz.js";
9
+ import {
10
+ scrubSecrets,
11
+ init_secret_scrubber
12
+ } from "./cli-5a6pqy45.js";
13
+ import {
14
+ __esm
15
+ } from "./cli-242037k3.js";
16
+
17
+ // src/runtime-providers/k8s.ts
18
+ function configuration(target) {
19
+ if ("K8S_TOKEN_FILE" in target || "K8S_CA_FILE" in target)
20
+ throw new Error("Kubernetes controller file paths are not supported.");
21
+ const inCluster = !target.K8S_API_URL && !!target.KUBERNETES_SERVICE_HOST;
22
+ let url;
23
+ try {
24
+ url = new URL(target.K8S_API_URL || "https://kubernetes.default.svc");
25
+ } catch {
26
+ throw new Error("K8S_API_URL must be a valid HTTPS origin.");
27
+ }
28
+ if (url.protocol !== "https:" && !(url.protocol === "http:" && ["localhost", "127.0.0.1", "[::1]"].includes(url.hostname)) || url.username || url.password || url.search || url.hash || url.pathname !== "/")
29
+ throw new Error("K8S_API_URL must be an HTTPS origin. HTTP is allowed only on loopback.");
30
+ if (!target.K8S_API_URL && !inCluster)
31
+ throw new Error("Set K8S_API_URL or run the API inside Kubernetes.");
32
+ const namespace = target.K8S_NAMESPACE || "default";
33
+ if (namespace.length > 63 || !DNS_LABEL.test(namespace))
34
+ throw new Error("K8S_NAMESPACE must be a valid Kubernetes namespace.");
35
+ if (!target.K8S_TOKEN?.trim() && !inCluster)
36
+ throw new Error("Set K8S_TOKEN in secretConfig or use in-cluster authentication.");
37
+ return {
38
+ url,
39
+ namespace,
40
+ tokenFile: inCluster ? `${SERVICE_ACCOUNT_DIR}/token` : undefined,
41
+ caFile: inCluster ? `${SERVICE_ACCOUNT_DIR}/ca.crt` : undefined
42
+ };
43
+ }
44
+ async function kubernetesApi(target, method, suffix = "", body) {
45
+ const config = configuration(target);
46
+ const token = target.K8S_TOKEN?.trim() || (await Bun.file(config.tokenFile).text()).trim();
47
+ if (!token)
48
+ throw new Error("Kubernetes token is empty.");
49
+ const ca = target.K8S_CA_CERT || (config.caFile ? await Bun.file(config.caFile).text() : undefined);
50
+ try {
51
+ const response = await fetch(new URL(`/api/v1/namespaces/${config.namespace}/pods${suffix}`, config.url), {
52
+ method,
53
+ headers: { Authorization: `Bearer ${token}`, "Content-Type": "application/json" },
54
+ body: body === undefined ? undefined : JSON.stringify(body),
55
+ redirect: "error",
56
+ signal: AbortSignal.timeout(30000),
57
+ ...ca ? { tls: { ca } } : {}
58
+ });
59
+ if (!response.ok) {
60
+ await response.body?.cancel();
61
+ throw new KubernetesApiError(response.status, method);
62
+ }
63
+ return await response.json();
64
+ } catch (error) {
65
+ if (error instanceof KubernetesApiError)
66
+ throw error;
67
+ throw new Error(redactWithEnv(scrubSecrets(String(error)), { K8S_TOKEN: token }));
68
+ }
69
+ }
70
+ function podHandle(pod) {
71
+ return {
72
+ kind: "k8s",
73
+ externalId: pod.metadata.name,
74
+ createdAt: pod.metadata.creationTimestamp,
75
+ meta: {
76
+ ...pod.metadata.labels,
77
+ "k8s.namespace": pod.metadata.namespace,
78
+ "k8s.uid": pod.metadata.uid
79
+ }
80
+ };
81
+ }
82
+ function handlePath(target, handle) {
83
+ if (handle.kind !== "k8s" || !handle.meta?.["k8s.uid"] || handle.meta["k8s.namespace"] !== configuration(target).namespace)
84
+ throw new Error("Kubernetes handle must include a pod UID and the configured namespace.");
85
+ return `/${encodeURIComponent(handle.externalId)}`;
86
+ }
87
+
88
+ class KubernetesRuntimeProvider {
89
+ kind = "k8s";
90
+ traits = { canProvision: true, ephemeralDisk: true, supportsPause: false };
91
+ checkConfig(target) {
92
+ try {
93
+ configuration(target);
94
+ return { ready: true, missing: [] };
95
+ } catch (error) {
96
+ return { ready: false, missing: [], hint: scrubSecrets(String(error)) };
97
+ }
98
+ }
99
+ async provision(target, req) {
100
+ try {
101
+ if (req.cache)
102
+ throw new Error("Kubernetes pools do not support persistent caches.");
103
+ const labels = {
104
+ ...req.labels,
105
+ [RUNTIME_LABELS.owner]: req.ownerId,
106
+ [RUNTIME_LABELS.runtimeId]: req.runtimeId,
107
+ [RUNTIME_LABELS.poolId]: req.poolId,
108
+ [RUNTIME_LABELS.agentId]: req.agentId
109
+ };
110
+ const limits = {
111
+ ...req.resources?.cpu ? { cpu: String(req.resources.cpu) } : {},
112
+ ...req.resources?.memoryMb ? { memory: `${req.resources.memoryMb}Mi` } : {}
113
+ };
114
+ const name = `swarm-rt-${req.runtimeId}`;
115
+ const pod = await kubernetesApi(target, "POST", "", {
116
+ apiVersion: "v1",
117
+ kind: "Pod",
118
+ metadata: { name, namespace: configuration(target).namespace, labels },
119
+ spec: {
120
+ restartPolicy: "Never",
121
+ automountServiceAccountToken: false,
122
+ ...target.K8S_SERVICE_ACCOUNT ? { serviceAccountName: target.K8S_SERVICE_ACCOUNT } : {},
123
+ ...target.K8S_IMAGE_PULL_SECRETS ? {
124
+ imagePullSecrets: target.K8S_IMAGE_PULL_SECRETS.split(",").map((name) => ({ name: name.trim() })).filter((secret) => secret.name)
125
+ } : {},
126
+ ...req.ttlSec ? { activeDeadlineSeconds: req.ttlSec } : {},
127
+ containers: [
128
+ {
129
+ name: "worker",
130
+ image: req.image,
131
+ env: Object.entries(req.env).map(([name, value]) => ({ name, value })),
132
+ ...Object.keys(limits).length ? { resources: { requests: limits, limits } } : {}
133
+ }
134
+ ]
135
+ }
136
+ });
137
+ return podHandle(pod);
138
+ } catch (error) {
139
+ throw new Error(redactWithEnv(scrubSecrets(String(error)), req.env));
140
+ }
141
+ }
142
+ async terminate(target, handle) {
143
+ const path = handlePath(target, handle);
144
+ try {
145
+ await kubernetesApi(target, "DELETE", path, {
146
+ apiVersion: "v1",
147
+ kind: "DeleteOptions",
148
+ preconditions: { uid: handle.meta["k8s.uid"] }
149
+ });
150
+ } catch (error) {
151
+ if (!(error instanceof KubernetesApiError && [404, 409].includes(error.statusCode)))
152
+ throw error;
153
+ }
154
+ }
155
+ async status(target, handle) {
156
+ try {
157
+ const pod = await kubernetesApi(target, "GET", handlePath(target, handle));
158
+ if (pod.metadata.uid !== handle.meta["k8s.uid"])
159
+ return "exited";
160
+ if (pod.metadata.deletionTimestamp)
161
+ return "exited";
162
+ switch (pod.status?.phase) {
163
+ case "Pending":
164
+ return "starting";
165
+ case "Running":
166
+ return "running";
167
+ case "Succeeded":
168
+ return "exited";
169
+ case "Failed":
170
+ return "failed";
171
+ default:
172
+ return "unknown";
173
+ }
174
+ } catch (error) {
175
+ return error instanceof KubernetesApiError && error.statusCode === 404 ? "exited" : "unknown";
176
+ }
177
+ }
178
+ async list(target, ownerId) {
179
+ const query = new URLSearchParams({
180
+ labelSelector: `${RUNTIME_LABELS.owner}=${ownerId},${RUNTIME_LABELS.runtimeId}`,
181
+ limit: "500"
182
+ });
183
+ const handles = [];
184
+ let continuation;
185
+ do {
186
+ if (continuation)
187
+ query.set("continue", continuation);
188
+ const page = await kubernetesApi(target, "GET", `?${query}`);
189
+ for (const pod of page.items) {
190
+ const labels = pod.metadata.labels;
191
+ if (labels?.[RUNTIME_LABELS.owner] === ownerId && labels[RUNTIME_LABELS.runtimeId])
192
+ handles.push(podHandle(pod));
193
+ }
194
+ continuation = page.metadata?.continue;
195
+ } while (continuation);
196
+ return handles;
197
+ }
198
+ }
199
+ var SERVICE_ACCOUNT_DIR = "/var/run/secrets/kubernetes.io/serviceaccount", DNS_LABEL, KubernetesApiError;
200
+ var init_k8s = __esm(() => {
201
+ init_env2();
202
+ init_secret_scrubber();
203
+ init_types4();
204
+ DNS_LABEL = /^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$/;
205
+ KubernetesApiError = class KubernetesApiError extends Error {
206
+ statusCode;
207
+ constructor(statusCode, method) {
208
+ super(`Kubernetes ${method} pods failed (${statusCode})`);
209
+ this.statusCode = statusCode;
210
+ }
211
+ };
212
+ });
213
+ init_k8s();
214
+
215
+ export {
216
+ KubernetesRuntimeProvider
217
+ };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  listKeepAliveAuthorizations,
3
3
  init_oauth
4
- } from "./cli-ctx0b85j.js";
4
+ } from "./cli-wwp1bd3n.js";
5
5
  import {
6
6
  ensureAuthorizationTokenOrThrow,
7
7
  init_ensure_token
8
- } from "./cli-jm0hvmz2.js";
8
+ } from "./cli-2rnd5j3t.js";
9
9
  import {
10
10
  scrubSecrets,
11
11
  init_secret_scrubber
@@ -59,7 +59,7 @@ async function notifySlack(text) {
59
59
  return;
60
60
  }
61
61
  try {
62
- const { getSlackApp } = await import("./app-g2z15hax.js");
62
+ const { getSlackApp } = await import("./app-wb7w45dq.js");
63
63
  const app = getSlackApp();
64
64
  if (!app) {
65
65
  console.warn("[OAuth Keepalive] Slack not available, cannot send notification");
@@ -0,0 +1,74 @@
1
+ import"./cli-wwp1bd3n.js";
2
+ import"./cli-vfqvrd82.js";
3
+ import"./cli-mys27d03.js";
4
+ import"./cli-th1dkc2v.js";
5
+ import"./cli-q2d3e1k1.js";
6
+ import"./cli-mk7c5ac4.js";
7
+ import"./cli-9w8712tq.js";
8
+ import"./cli-47hz21se.js";
9
+ import"./cli-539h29es.js";
10
+ import"./cli-cc93xzes.js";
11
+ import"./cli-7r162fxe.js";
12
+ import {
13
+ getEnabledCapabilities,
14
+ init_server
15
+ } from "./cli-p0n7b5rz.js";
16
+ import"./cli-7cp6aa1q.js";
17
+ import"./cli-s1zqk1aj.js";
18
+ import"./cli-nstkanmx.js";
19
+ import"./cli-sb4426be.js";
20
+ import"./cli-b6px1k1q.js";
21
+ import {
22
+ runAgent
23
+ } from "./cli-124ntmf0.js";
24
+ import"./cli-5gpqgs8b.js";
25
+ import"./cli-3caf7pmg.js";
26
+ import"./cli-77cd6gy8.js";
27
+ import"./cli-kpgcm7xy.js";
28
+ import"./cli-x40a0w9j.js";
29
+ import"./cli-7mv4h3sn.js";
30
+ import"./cli-fq2rr3jb.js";
31
+ import"./cli-91pkxres.js";
32
+ import"./cli-fcfbct2j.js";
33
+ import"./cli-md50mj0r.js";
34
+ import"./cli-d82btycs.js";
35
+ import"./cli-0726awxw.js";
36
+ import"./cli-nv4xsvmk.js";
37
+ import"./cli-wafmk3fn.js";
38
+ import"./cli-snxhtehz.js";
39
+ import"./cli-t9ga4qmb.js";
40
+ import"./cli-6ym4jhzp.js";
41
+ import"./cli-vs9vdpy0.js";
42
+ import"./cli-kr5tjjtz.js";
43
+ import"./cli-y8p78ekx.js";
44
+ import"./cli-j6te8keb.js";
45
+ import"./cli-6237rnyr.js";
46
+ import"./cli-v8z0yga9.js";
47
+ import"./cli-01k6wpr9.js";
48
+ import"./cli-k3q2va86.js";
49
+ import"./cli-tr27kwyg.js";
50
+ import"./cli-s1khw52h.js";
51
+ import"./cli-qx4f057j.js";
52
+ import"./cli-zk7v5s89.js";
53
+ import"./cli-w1q68d8x.js";
54
+ import"./cli-2rnd5j3t.js";
55
+ import"./cli-jrbq4djp.js";
56
+ import"./cli-q5srsxq2.js";
57
+ import"./cli-n3qe7tyr.js";
58
+ import"./cli-2v2zdm0a.js";
59
+ import"./cli-vsw91x06.js";
60
+
61
+ // src/commands/lead.ts
62
+ init_server();
63
+ var leadConfig = {
64
+ role: "lead",
65
+ defaultPrompt: "/start-leader",
66
+ metadataType: "lead_metadata",
67
+ capabilities: getEnabledCapabilities()
68
+ };
69
+ async function runLead(opts) {
70
+ return runAgent(leadConfig, opts);
71
+ }
72
+ export {
73
+ runLead
74
+ };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  reembedAllScripts2,
3
3
  init_embeddings
4
- } from "./cli-ctx0b85j.js";
4
+ } from "./cli-wwp1bd3n.js";
5
5
 
6
6
  // src/be/scripts/maintenance.ts
7
7
  init_embeddings();
@@ -2,11 +2,11 @@ import {
2
2
  getAuthorizationById,
3
3
  listAuthorizationSweepRows,
4
4
  init_oauth
5
- } from "./cli-ctx0b85j.js";
5
+ } from "./cli-wwp1bd3n.js";
6
6
  import {
7
7
  forceRefreshAuthorizationOrThrow,
8
8
  init_ensure_token
9
- } from "./cli-jm0hvmz2.js";
9
+ } from "./cli-2rnd5j3t.js";
10
10
  import {
11
11
  isEnvFlagEnabled,
12
12
  init_env_flag
@@ -16,7 +16,7 @@ import {
16
16
  createDefaultSettingsLocal,
17
17
  createDefaultMcpJson,
18
18
  createHooksConfig
19
- } from "./cli-mw620q3n.js";
19
+ } from "./cli-3et6fmfe.js";
20
20
  import {
21
21
  getApiKey,
22
22
  init_api_key
@@ -29,7 +29,7 @@ import {
29
29
  import {
30
30
  init_package,
31
31
  package_default
32
- } from "./cli-h9yqfzx9.js";
32
+ } from "./cli-3f8zbtqa.js";
33
33
  import {
34
34
  openAICompatibleProviders,
35
35
  providerKeyVars,
@@ -1018,7 +1018,7 @@ init_secret_scrubber();
1018
1018
  var import_react3 = __toESM(require_react(), 1);
1019
1019
 
1020
1020
  // src/commands/onboard/agent-fs-version.ts
1021
- var AGENT_FS_VERSION = "0.18.23";
1021
+ var AGENT_FS_VERSION = "0.18.24";
1022
1022
 
1023
1023
  // src/commands/onboard/service-names.ts
1024
1024
  function expandServices(services, agentIds) {
@@ -1212,7 +1212,7 @@ function generateCompose(state) {
1212
1212
  lines.push(" - MEMORY_HYBRID_SEARCH=${MEMORY_HYBRID_SEARCH-1}");
1213
1213
  lines.push(" - MEMORY_GRAPH_EXPANSION=${MEMORY_GRAPH_EXPANSION-1}");
1214
1214
  lines.push(" - MEMORY_RATERS=${MEMORY_RATERS-implicit-citation,explicit-self}");
1215
- lines.push(" - MEMORY_DEMOTION_FLOOR=${MEMORY_DEMOTION_FLOOR-1.0}");
1215
+ lines.push(" - MEMORY_DEMOTION_FLOOR=${MEMORY_DEMOTION_FLOOR-0.5}");
1216
1216
  appendProviderEnvironment(lines, state, false);
1217
1217
  lines.push(` - MCP_BASE_URL=http://localhost:${port}`);
1218
1218
  lines.push(` - APP_URL=${APP_URL}`);
@@ -1360,7 +1360,7 @@ function generateEnv(state, env = process.env) {
1360
1360
  lines.push("MEMORY_HYBRID_SEARCH=1");
1361
1361
  lines.push("MEMORY_GRAPH_EXPANSION=1");
1362
1362
  lines.push("MEMORY_RATERS=implicit-citation,explicit-self");
1363
- lines.push("MEMORY_DEMOTION_FLOOR=1.0");
1363
+ lines.push("MEMORY_DEMOTION_FLOOR=0.5");
1364
1364
  if (state.bundleAgentFs) {
1365
1365
  lines.push("");
1366
1366
  lines.push("# Bundled agent-fs (local disk) and TEI (memory embeddings); settings are in");
@@ -4,7 +4,7 @@ import {
4
4
  postClassifierRequest,
5
5
  parseClassifierUsage,
6
6
  init_classifier_shared
7
- } from "./cli-m0cy2vyf.js";
7
+ } from "./cli-k6nejceb.js";
8
8
  import {
9
9
  normalizeProviderError,
10
10
  formatProviderError,
@@ -3,13 +3,13 @@ import {
3
3
  applyOpenRouterBaseUrlOverride2,
4
4
  buildOpenAICompatibleProviderBlock2,
5
5
  OpencodeAdapter2
6
- } from "./cli-zh0e5x7p.js";
7
- import"./cli-3j873zxq.js";
8
- import"./cli-fkef327x.js";
9
- import"./cli-f3jyzq4g.js";
6
+ } from "./cli-s1khw52h.js";
7
+ import"./cli-tr27kwyg.js";
8
+ import"./cli-3caf7pmg.js";
9
+ import"./cli-md50mj0r.js";
10
10
  import"./cli-0726awxw.js";
11
11
  import"./cli-7mv4h3sn.js";
12
- import"./cli-gfy38pvt.js";
12
+ import"./cli-fcfbct2j.js";
13
13
  import"./cli-5gpqgs8b.js";
14
14
  export {
15
15
  OpencodeAdapter2 as OpencodeAdapter,
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  init_package,
12
12
  package_default
13
- } from "./cli-h9yqfzx9.js";
13
+ } from "./cli-3f8zbtqa.js";
14
14
  import {
15
15
  getNodeEnv,
16
16
  init_node_env
@@ -2,21 +2,21 @@ import {
2
2
  getDbClient2,
3
3
  getAgentById2,
4
4
  init_db4
5
- } from "./cli-ctx0b85j.js";
6
- import"./cli-xag7btpe.js";
5
+ } from "./cli-wwp1bd3n.js";
6
+ import"./cli-mk7c5ac4.js";
7
7
  import"./cli-9w8712tq.js";
8
8
  import"./cli-47hz21se.js";
9
9
  import"./cli-q2d3e1k1.js";
10
- import"./cli-pyjn0qhk.js";
11
- import"./cli-jkw6ptfw.js";
12
- import"./cli-1jykg0py.js";
13
- import"./cli-pb2ay3sh.js";
14
- import"./cli-b91nz213.js";
15
- import"./cli-dgs10ttj.js";
10
+ import"./cli-539h29es.js";
11
+ import"./cli-cc93xzes.js";
12
+ import"./cli-7r162fxe.js";
13
+ import"./cli-vfqvrd82.js";
14
+ import"./cli-mys27d03.js";
15
+ import"./cli-th1dkc2v.js";
16
16
  import"./cli-7cp6aa1q.js";
17
- import"./cli-mkwkwq81.js";
18
- import"./cli-nbt14he0.js";
19
- import"./cli-2czxfnvj.js";
17
+ import"./cli-s1zqk1aj.js";
18
+ import"./cli-nstkanmx.js";
19
+ import"./cli-p0n7b5rz.js";
20
20
  import {
21
21
  seedKind,
22
22
  getOwnedId,
@@ -24,17 +24,17 @@ import {
24
24
  writeInstructions,
25
25
  installImportedSkills,
26
26
  init_seeders
27
- } from "./cli-vt89089n.js";
27
+ } from "./cli-qrta34nb.js";
28
28
  import {
29
29
  recordSeedState,
30
30
  init_state_db
31
- } from "./cli-2yjj3e31.js";
32
- import"./cli-jm0hvmz2.js";
33
- import"./cli-br0924pw.js";
34
- import"./cli-j7svy295.js";
31
+ } from "./cli-w1q68d8x.js";
32
+ import"./cli-2rnd5j3t.js";
33
+ import"./cli-jrbq4djp.js";
34
+ import"./cli-q5srsxq2.js";
35
35
  import"./cli-n3qe7tyr.js";
36
- import"./cli-2dq9yv8p.js";
37
- import"./cli-v57d7fmm.js";
36
+ import"./cli-2v2zdm0a.js";
37
+ import"./cli-vsw91x06.js";
38
38
  import {
39
39
  __esm
40
40
  } from "./cli-242037k3.js";
@@ -11,10 +11,10 @@ import {
11
11
  createCodemodeExtension,
12
12
  createMcpExtension,
13
13
  createToolSearchExtension
14
- } from "./cli-32djehja.js";
14
+ } from "./cli-2spnz7ye.js";
15
15
  import {
16
16
  Unsafe
17
- } from "./cli-gfy38pvt.js";
17
+ } from "./cli-fcfbct2j.js";
18
18
  import {
19
19
  contextBoundNoteThreshold,
20
20
  createContextBoundNote
@@ -25,8 +25,8 @@ import {
25
25
  import"./cli-0726awxw.js";
26
26
  import {
27
27
  createSwarmHooksExtension
28
- } from "./cli-3j873zxq.js";
29
- import"./cli-f3jyzq4g.js";
28
+ } from "./cli-tr27kwyg.js";
29
+ import"./cli-md50mj0r.js";
30
30
  import {
31
31
  applyReasoningEffort
32
32
  } from "./cli-5gpqgs8b.js";
@@ -48,7 +48,7 @@ import {
48
48
  getBuiltinModel,
49
49
  getBuiltinModels,
50
50
  init_all
51
- } from "./cli-zr6qy15y.js";
51
+ } from "./cli-6cwr32fe.js";
52
52
  import {
53
53
  buildPoolRevalidationFailureReason,
54
54
  getValidCodexOAuth,
@@ -71,7 +71,7 @@ import {
71
71
  } from "./cli-fw2w0kva.js";
72
72
  import {
73
73
  init_templates4
74
- } from "./cli-m7c2380k.js";
74
+ } from "./cli-3aaeb78m.js";
75
75
  import {
76
76
  DEFAULT_OPENROUTER_BASE_URL,
77
77
  getOpenRouterBaseUrl,
@@ -2,8 +2,8 @@ import {
2
2
  requestModelCatalogRefresh2,
3
3
  startPricingRefreshLoop2,
4
4
  init_pricing_refresh
5
- } from "./cli-dgs10ttj.js";
6
- import"./cli-ctx0b85j.js";
5
+ } from "./cli-th1dkc2v.js";
6
+ import"./cli-wwp1bd3n.js";
7
7
  init_pricing_refresh();
8
8
 
9
9
  export {
@@ -14,9 +14,9 @@ import {
14
14
  setUserRoles2,
15
15
  ensureRbacSeedsSynced2,
16
16
  init_rbac_roles
17
- } from "./cli-pb2ay3sh.js";
18
- import"./cli-v57d7fmm.js";
19
- import"./cli-ctx0b85j.js";
17
+ } from "./cli-vfqvrd82.js";
18
+ import"./cli-vsw91x06.js";
19
+ import"./cli-wwp1bd3n.js";
20
20
  init_rbac_roles();
21
21
 
22
22
  export {
@@ -6,10 +6,10 @@ import {
6
6
  init_rbac,
7
7
  init_telemetry_identity,
8
8
  init_db4
9
- } from "./cli-ctx0b85j.js";
9
+ } from "./cli-wwp1bd3n.js";
10
10
  import {
11
11
  init_users
12
- } from "./cli-v57d7fmm.js";
12
+ } from "./cli-vsw91x06.js";
13
13
  import {
14
14
  isEnvFlagEnabled,
15
15
  init_env_flag
@@ -7,13 +7,13 @@ import {
7
7
  stopSlackRenderV2Events2,
8
8
  processSlackRenderV22,
9
9
  init_render_v2
10
- } from "./cli-pyjn0qhk.js";
10
+ } from "./cli-539h29es.js";
11
+ import"./cli-mk7c5ac4.js";
11
12
  import"./cli-47hz21se.js";
12
13
  import"./cli-n3qe7tyr.js";
13
14
  import"./cli-9w8712tq.js";
14
- import"./cli-xag7btpe.js";
15
15
  import"./cli-q2d3e1k1.js";
16
- import"./cli-ctx0b85j.js";
16
+ import"./cli-wwp1bd3n.js";
17
17
  init_render_v2();
18
18
 
19
19
  export {
@@ -11,17 +11,17 @@ import {
11
11
  initWaitBusSubscriptions2,
12
12
  subscribeWaitToBus2,
13
13
  init_resume
14
- } from "./cli-1jykg0py.js";
15
- import"./cli-j7svy295.js";
16
- import"./cli-jkw6ptfw.js";
17
- import"./cli-pyjn0qhk.js";
14
+ } from "./cli-7r162fxe.js";
15
+ import"./cli-q5srsxq2.js";
16
+ import"./cli-cc93xzes.js";
17
+ import"./cli-539h29es.js";
18
+ import"./cli-mk7c5ac4.js";
18
19
  import"./cli-47hz21se.js";
19
20
  import"./cli-n3qe7tyr.js";
20
21
  import"./cli-9w8712tq.js";
21
- import"./cli-xag7btpe.js";
22
22
  import"./cli-q2d3e1k1.js";
23
- import"./cli-v57d7fmm.js";
24
- import"./cli-ctx0b85j.js";
23
+ import"./cli-vsw91x06.js";
24
+ import"./cli-wwp1bd3n.js";
25
25
  init_resume();
26
26
 
27
27
  export {
@@ -5,7 +5,7 @@ import {
5
5
  McpServerLog2,
6
6
  createDefaultTransport2,
7
7
  McpServerConnection2
8
- } from "./cli-vyff45ve.js";
8
+ } from "./cli-p0c3vtch.js";
9
9
  export {
10
10
  McpOAuthCredentialStore2 as McpOAuthCredentialStore,
11
11
  McpServerConnection2 as McpServerConnection,
@@ -14,10 +14,10 @@ import {
14
14
  bodySessionDenial2,
15
15
  userAgentIdentityDenial2,
16
16
  init_session_access
17
- } from "./cli-nbt14he0.js";
18
- import"./cli-pb2ay3sh.js";
19
- import"./cli-v57d7fmm.js";
20
- import"./cli-ctx0b85j.js";
17
+ } from "./cli-nstkanmx.js";
18
+ import"./cli-vfqvrd82.js";
19
+ import"./cli-vsw91x06.js";
20
+ import"./cli-wwp1bd3n.js";
21
21
  init_session_access();
22
22
 
23
23
  export {
@@ -7,12 +7,12 @@ import {
7
7
  moveTaskChainKeyInTx2,
8
8
  init_session_moves,
9
9
  init_db4
10
- } from "./cli-ctx0b85j.js";
10
+ } from "./cli-wwp1bd3n.js";
11
11
  import {
12
12
  normalizeAssetKey,
13
13
  defaultAssetKey,
14
14
  init_key
15
- } from "./cli-bkjdknnp.js";
15
+ } from "./cli-y4ccxtz5.js";
16
16
  import {
17
17
  scrubSecrets,
18
18
  init_secret_scrubber
@@ -15,7 +15,7 @@ import {
15
15
  createDefaultSettingsLocal,
16
16
  createDefaultMcpJson,
17
17
  createHooksConfig
18
- } from "./cli-mw620q3n.js";
18
+ } from "./cli-3et6fmfe.js";
19
19
  import {
20
20
  getApiKey,
21
21
  init_api_key