@desplega.ai/agent-swarm 1.165.0 → 1.167.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 (296) hide show
  1. package/dist/acp-adapter-zpvy6321.js +34 -0
  2. package/dist/{actions-jna0b3wm.js → actions-fq2zrwtf.js} +30 -34
  3. package/dist/{amp-adapter-0eve81pz.js → amp-adapter-5gbk7501.js} +7 -7
  4. package/dist/{anthropic-messages-hst62ws9.js → anthropic-messages-13yn502s.js} +4 -4
  5. package/dist/{app-75hm5cfa.js → app-nctetn1e.js} +11 -11
  6. package/dist/{assistant-yzd51j33.js → assistant-0aq8gjvj.js} +31 -35
  7. package/dist/{azure-openai-responses-mh8tvf78.js → azure-openai-responses-9st34pfz.js} +5 -5
  8. package/dist/{boot-reembed-z158xq32.js → boot-reembed-1ze5853n.js} +14 -16
  9. package/dist/{boot-reembed-2ex2mcsh.js → boot-reembed-fmp5ww69.js} +15 -16
  10. package/dist/boot-scrub-sweep-cbp8xd4e.js +212 -0
  11. package/dist/{boot-seeds-2bmnh18p.js → boot-seeds-22tx8a53.js} +13 -12
  12. package/dist/{claude-adapter-jbj1mycz.js → claude-adapter-0jhgeh1d.js} +25 -25
  13. package/dist/{claude-managed-adapter-17ggz09t.js → claude-managed-adapter-tzwxy803.js} +5 -5
  14. package/dist/{claude-managed-setup-ptm1nzm2.js → claude-managed-setup-nrhfx5b0.js} +5 -5
  15. package/dist/{claude-sdk-session-9re1g7r2.js → claude-sdk-session-wh77rh83.js} +2632 -2614
  16. package/dist/{cli-zsh093hk.js → cli-014vns2y.js} +63 -1
  17. package/dist/{cli-qvfk83fy.js → cli-13xwcqvj.js} +2 -2
  18. package/dist/{cli-8gpbwy09.js → cli-1yrcfa5s.js} +5 -5
  19. package/dist/{cli-xtgtyafv.js → cli-577bxkf6.js} +212 -451
  20. package/dist/{cli-ma3zvh39.js → cli-5qkcdv8c.js} +6118 -5874
  21. package/dist/{cli-cwxhbf43.js → cli-5t5my0h8.js} +85 -2
  22. package/dist/{cli-zvckv750.js → cli-69egj654.js} +2 -2
  23. package/dist/{cli-9xb89xca.js → cli-6bpvv8h4.js} +9 -9
  24. package/dist/{cli-90v942q1.js → cli-6qxmjpem.js} +8 -8
  25. package/dist/{cli-9866bd07.js → cli-6vfz44sr.js} +1 -1
  26. package/dist/{cli-32bca7nr.js → cli-7avy4v8w.js} +1 -1
  27. package/dist/{cli-xb3c6aat.js → cli-7mhy3ths.js} +21 -18
  28. package/dist/{cli-q38n4bq0.js → cli-95zs84qw.js} +3 -3
  29. package/dist/cli-a35hzdve.js +33 -0
  30. package/dist/{cli-x3x0qwky.js → cli-bxqez1p0.js} +51 -23
  31. package/dist/{cli-prt9emct.js → cli-c2tpw9ck.js} +3 -3
  32. package/dist/{cli-0n4fasz0.js → cli-c8r99akr.js} +16 -16
  33. package/dist/{cli-5anb0ev3.js → cli-cexctgn5.js} +89 -26
  34. package/dist/{cli-bns5c8k9.js → cli-cf2vgn9d.js} +105 -91
  35. package/dist/{cli-ng97fjq7.js → cli-cmxkbzzs.js} +33 -7
  36. package/dist/{cli-nexwh8zg.js → cli-g7k7zbcz.js} +12 -5
  37. package/dist/{cli-mmzwwptd.js → cli-hf5s9pgf.js} +1 -1
  38. package/dist/{cli-nvvfd8bq.js → cli-jbzbr36n.js} +4091 -3793
  39. package/dist/{cli-zn2v3t8v.js → cli-jvmtxqtc.js} +27 -15
  40. package/dist/{cli-pkke6geq.js → cli-km4x66j0.js} +83 -65
  41. package/dist/cli-kw0jcfje.js +516 -0
  42. package/dist/{cli-28smfvbn.js → cli-m7vmeepg.js} +32 -19
  43. package/dist/{cli-hpryr6em.js → cli-mb75wpxf.js} +1 -1
  44. package/dist/{cli-qdv8kgz7.js → cli-mkdsy1nq.js} +14018 -3333
  45. package/dist/{cli-b0f70z24.js → cli-mn8qkd8v.js} +1 -1
  46. package/dist/{cli-420bdgw0.js → cli-mv2520nm.js} +1 -1
  47. package/dist/{cli-n9ehc28t.js → cli-mxry91sa.js} +31 -10
  48. package/dist/{cli-wfajtmf7.js → cli-mxvnnv5q.js} +596 -13
  49. package/dist/cli-nkqjj42q.js +104 -0
  50. package/dist/{cli-e7t4snpa.js → cli-p8rt8spp.js} +5 -5
  51. package/dist/{cli-gh5yqzpe.js → cli-pkj1w46r.js} +12 -7
  52. package/dist/cli-q1vnz8wv.js +96 -0
  53. package/dist/{cli-fj86xr3c.js → cli-qd97v6z2.js} +2 -2
  54. package/dist/{cli-ba66wyhy.js → cli-qzmzwegq.js} +60 -20
  55. package/dist/{cli-5b2fjjzh.js → cli-r7eeddkq.js} +14 -9
  56. package/dist/{cli-8ssjez7e.js → cli-rhy7z1rp.js} +22 -11
  57. package/dist/{cli-4mevd1hf.js → cli-s9y81s7j.js} +5 -5
  58. package/dist/{cli-59jn5twa.js → cli-tc5zec7v.js} +7 -7
  59. package/dist/{cli-ttbsse3f.js → cli-tmhsxhb8.js} +1 -1
  60. package/dist/{cli-k6xx3pve.js → cli-tx2zvn23.js} +4 -4
  61. package/dist/{cli-pjxnr1jn.js → cli-ty4bzkqr.js} +5 -5
  62. package/dist/{cli-nfygw434.js → cli-v1pwxreq.js} +55 -52
  63. package/dist/{cli-ftry7975.js → cli-v1w7pbd8.js} +3 -2
  64. package/dist/{cli-10zmp1p7.js → cli-vr5avem2.js} +27 -32
  65. package/dist/{cli-bzr0ftht.js → cli-wnb9b2g3.js} +19 -0
  66. package/dist/cli-wt7ccy4r.js +2654 -0
  67. package/dist/{cli-50eg13rj.js → cli-wydz3feg.js} +549 -321
  68. package/dist/{cli-krqm5f11.js → cli-xezn9nkh.js} +16 -13
  69. package/dist/{cli-8kt0bmgx.js → cli-xf713zz0.js} +2 -2
  70. package/dist/{cli-x7afk5wm.js → cli-xvc3q9br.js} +1 -1
  71. package/dist/{cli-9s3h836g.js → cli-xvdgasgy.js} +1 -1
  72. package/dist/{cli-j0pdrmwg.js → cli-y0kjpfm9.js} +3 -3
  73. package/dist/{cli-6zcfw0x7.js → cli-y195hv1a.js} +1 -1
  74. package/dist/{cli-amwhs8h2.js → cli-ykt8f7va.js} +22 -9
  75. package/dist/{cli-1kzfvd1z.js → cli-ymmc1zxg.js} +15 -11
  76. package/dist/{cli-xnzrzets.js → cli-ypgba1a8.js} +2 -2
  77. package/dist/{cli-bdv39kgj.js → cli-z1dqhc9y.js} +31 -20
  78. package/dist/{cli-fw6vdcq5.js → cli-zp67qg5x.js} +34 -1
  79. package/dist/{cli-qbksc292.js → cli-zy39d433.js} +2 -0
  80. package/dist/cli.js +36 -32
  81. package/dist/{cloudflare-workers-ai-system-one-tt484t61.js → cloudflare-workers-ai-system-one-sta45jf9.js} +7 -5
  82. package/dist/{codex-adapter-3qnxshje.js → codex-adapter-cgesnjkr.js} +20 -20
  83. package/dist/{codex-login-brkxhhdg.js → codex-login-g1cyt5zm.js} +2 -2
  84. package/dist/{codex-session-runner-612wnapp.js → codex-session-runner-8kd7ddhr.js} +20 -20
  85. package/dist/{commands-2ybfcxkj.js → commands-h6zaaxym.js} +11 -10
  86. package/dist/{cursor-adapter-p3jgdehv.js → cursor-adapter-v8mm6bp5.js} +7 -7
  87. package/dist/{db-f4ans0jj.js → db-qg3myn53.js} +13 -10
  88. package/dist/{devin-adapter-dhzt01ff.js → devin-adapter-bffjj5n4.js} +2 -2
  89. package/dist/{dispatcher-pk182apd.js → dispatcher-7vnwj9qw.js} +28 -32
  90. package/dist/{dsh-adapter-7twaeps1.js → dsh-adapter-tz6hfp5r.js} +7 -7
  91. package/dist/{e2b-y8t3jzyz.js → e2b-nd50eccg.js} +1 -1
  92. package/dist/{easter-egg-3d-mtpnw06s.js → easter-egg-3d-66zxervv.js} +2 -2
  93. package/dist/{event-bus-w7ac4n3c.js → event-bus-vnfthafg.js} +2 -2
  94. package/dist/{execute-s4ccjq3n.js → execute-h4jgevyw.js} +61 -11
  95. package/dist/{google-generative-ai-d6nphg3q.js → google-generative-ai-b8zxrpax.js} +5 -5
  96. package/dist/{google-vertex-cpshkref.js → google-vertex-nrdd697t.js} +5 -5
  97. package/dist/grok-adapter-jdt2dz2s.js +39 -0
  98. package/dist/{handlers-g2wnr4t9.js → handlers-2qtkpncr.js} +31 -35
  99. package/dist/{hook-f7jt9vnm.js → hook-51yfcgsv.js} +48 -39
  100. package/dist/{hook-bbdpnkb4.js → hook-qnbdgwvd.js} +15 -17
  101. package/dist/{http-w40q4w94.js → http-jsmtag08.js} +536 -231
  102. package/dist/{index-056j5kzn.js → index-2t9kesn1.js} +13 -12
  103. package/dist/{index-cj1r9q83.js → index-bt8wkv1w.js} +29 -33
  104. package/dist/{index-7n70jwbb.js → index-cx1sb9bq.js} +42 -35
  105. package/dist/{index-9bfssf54.js → index-ekywyv2v.js} +28 -32
  106. package/dist/{index-fdk1t4d6.js → index-n0rxa4ca.js} +11962 -9900
  107. package/dist/{index-k8xc083e.js → index-t4g06w93.js} +28 -32
  108. package/dist/{keepalive-1tj10tf4.js → keepalive-4aezx4bj.js} +16 -12
  109. package/dist/{lead-st0bg7v4.js → lead-r44bkpm5.js} +52 -56
  110. package/dist/{llama-cpp-classify-tgj35k8d.js → llama-cpp-classify-6erb7wwv.js} +3 -1
  111. package/dist/{maintenance-nz71zats.js → maintenance-grz5jrzh.js} +12 -13
  112. package/dist/{mistral-conversations-8445ddjn.js → mistral-conversations-059y51zt.js} +4 -4
  113. package/dist/{node-f0ykebbv.js → node-qm9eb6z0.js} +25 -7
  114. package/dist/{oauth-refresh-sweep-aefzwvvq.js → oauth-refresh-sweep-wm4ctjfj.js} +15 -11
  115. package/dist/{onboard-kgpr9mbn.js → onboard-v60zgqf0.js} +2 -2
  116. package/dist/{openai-codex-responses-9ynm88zy.js → openai-codex-responses-jzxkta9b.js} +8 -7
  117. package/dist/{openai-completions-nhqwjmaw.js → openai-completions-663yncfq.js} +4 -4
  118. package/dist/openai-decisions-vj9nkpf8.js +162 -0
  119. package/dist/{openai-responses-xx1c4kgm.js → openai-responses-m3g43rrt.js} +5 -5
  120. package/dist/{opencode-adapter-0c8e70dk.js → opencode-adapter-yjyqynzf.js} +8 -8
  121. package/dist/{openrouter-images-8yx3487g.js → openrouter-images-kr60n6b9.js} +1 -1
  122. package/dist/{otel-impl-x8zp4y5a.js → otel-impl-ghh4dyf8.js} +2 -2
  123. package/dist/{pi-messages-vxdt8v7j.js → pi-messages-xszk613n.js} +1 -1
  124. package/dist/{pi-mono-adapter-t280ah5c.js → pi-mono-adapter-0eg8kw2c.js} +69 -52
  125. package/dist/{pricing-refresh-9e0q7cwk.js → pricing-refresh-mjrqvnvw.js} +12 -11
  126. package/dist/{rbac-roles-790j3ga8.js → rbac-roles-axv4d74x.js} +11 -10
  127. package/dist/{rbac-roles-kcp6zge2.js → rbac-roles-fd5tskj9.js} +11 -10
  128. package/dist/{render-v2-tch4nefj.js → render-v2-k50j33qd.js} +11 -11
  129. package/dist/{runtime-v2t1r79e.js → runtime-h9ha1mq6.js} +4 -4
  130. package/dist/{setup-rcm303ns.js → setup-4syh0pd2.js} +2 -2
  131. package/dist/{typesafe-system-one-datfr82p.js → typesafe-system-one-e988vty7.js} +7 -5
  132. package/dist/{virtual-modules-wm8mxdxx.js → virtual-modules-ftr9kwe8.js} +11 -11
  133. package/dist/{work-objects-ctg7t70w.js → work-objects-jcdbg8rr.js} +32 -36
  134. package/dist/{worker-5dp0xm55.js → worker-x8j8c9sx.js} +52 -56
  135. package/dist/{x-v3yw66zs.js → x-ma4gnfgy.js} +2 -2
  136. package/openapi.json +5 -2
  137. package/package.json +15 -11
  138. package/src/be/automation-preflight.ts +9 -4
  139. package/src/be/boot-scrub-sweep.ts +302 -0
  140. package/src/be/crypto/key-bootstrap.ts +1 -1
  141. package/src/be/db/approvals.ts +15 -1
  142. package/src/be/db/codex-oauth-device-flows.ts +40 -0
  143. package/src/be/db/config-secrets.ts +31 -0
  144. package/src/be/db/runtime.ts +4 -0
  145. package/src/be/db/script-runs.ts +15 -0
  146. package/src/be/db/tasks/write.ts +1 -1
  147. package/src/be/db-queries/mcp-oauth.ts +5 -0
  148. package/src/be/db-queries/oauth.ts +77 -0
  149. package/src/be/db.ts +162 -59
  150. package/src/be/events.ts +17 -1
  151. package/src/be/memory/index-content.ts +2 -2
  152. package/src/be/memory/providers/openai-embedding.ts +7 -2
  153. package/src/be/memory/providers/sqlite-store.ts +63 -11
  154. package/src/be/memory/raters/llm-summarizer.ts +7 -2
  155. package/src/be/memory/types.ts +14 -0
  156. package/src/be/migrations/201_workflow_replay_columns.sql +10 -0
  157. package/src/be/migrations/202_codex_oauth_device_flows.sql +24 -0
  158. package/src/be/modelsdev-cache.json +61 -0
  159. package/src/be/scripts/db.ts +28 -4
  160. package/src/be/scripts/source-secrets.ts +37 -0
  161. package/src/be/scrub-json.ts +32 -0
  162. package/src/be/sealed-json.ts +59 -0
  163. package/src/be/secret-registry.ts +131 -0
  164. package/src/be/seed-pricing.ts +84 -53
  165. package/src/be/swarm-config-guard.ts +13 -0
  166. package/src/be/workflow-replay.ts +77 -0
  167. package/src/commands/provider-credentials.ts +28 -5
  168. package/src/commands/runner.ts +7 -12
  169. package/src/heartbeat/heartbeat.ts +91 -19
  170. package/src/hooks/hook.ts +72 -27
  171. package/src/http/codex-oauth-device.ts +8 -10
  172. package/src/http/db-query-bounded.ts +3 -0
  173. package/src/http/db-query-shared.ts +107 -15
  174. package/src/http/db-query.ts +10 -2
  175. package/src/http/index.ts +23 -6
  176. package/src/http/mcp.ts +5 -0
  177. package/src/http/onboarding.ts +2 -0
  178. package/src/http/script-runs.ts +9 -1
  179. package/src/http/scripts.ts +15 -0
  180. package/src/http/workflows.ts +3 -2
  181. package/src/oauth/mcp-wrapper.ts +1 -1
  182. package/src/providers/acp-adapter.ts +25 -11
  183. package/src/providers/acp-target-catalog.ts +35 -1
  184. package/src/providers/acp-targets.ts +78 -7
  185. package/src/providers/amp-adapter.ts +1 -1
  186. package/src/providers/claude-adapter.ts +26 -0
  187. package/src/providers/codex-adapter.ts +30 -3
  188. package/src/providers/codex-oauth/auth-json.ts +21 -4
  189. package/src/providers/codex-oauth/types.ts +2 -0
  190. package/src/providers/cursor-adapter.ts +1 -1
  191. package/src/providers/dsh-adapter.ts +10 -1
  192. package/src/providers/grok-adapter.ts +18 -2
  193. package/src/providers/opencode-adapter.ts +21 -5
  194. package/src/providers/pi-mono-extension.ts +56 -25
  195. package/src/providers/pricing-sources.md +2 -0
  196. package/src/script-workflows/supervisor.ts +11 -2
  197. package/src/scripts-runtime/eval-harness.ts +2 -12
  198. package/src/scripts-runtime/executors/quickjs-bundle.ts +152 -0
  199. package/src/scripts-runtime/executors/quickjs-prelude.ts +285 -0
  200. package/src/scripts-runtime/executors/quickjs-runner.ts +580 -0
  201. package/src/scripts-runtime/executors/quickjs-worker.ts +81 -0
  202. package/src/scripts-runtime/executors/quickjs.ts +196 -0
  203. package/src/scripts-runtime/executors/registry.ts +2 -0
  204. package/src/scripts-runtime/executors/sourcemap.ts +79 -0
  205. package/src/scripts-runtime/script-error-hints.ts +14 -0
  206. package/src/server.ts +66 -4
  207. package/src/tests/acp-adapter.test.ts +277 -12
  208. package/src/tests/boot-scrub-sweep.test.ts +390 -0
  209. package/src/tests/check-text-columns.test.ts +145 -0
  210. package/src/tests/ci-unit-test-report.test.ts +73 -0
  211. package/src/tests/claude-default-route.test.ts +75 -0
  212. package/src/tests/claude-hook-output.test.ts +233 -0
  213. package/src/tests/claude-sdk-process.fixture.ts +13 -2
  214. package/src/tests/codex-adapter-pool-auth-revalidate.test.ts +4 -2
  215. package/src/tests/codex-adapter.test.ts +166 -26
  216. package/src/tests/codex-oauth-auth-timestamps.test.ts +76 -0
  217. package/src/tests/codex-oauth-device.test.ts +23 -37
  218. package/src/tests/codex-oauth.test.ts +4 -1
  219. package/src/tests/context-window.test.ts +2 -2
  220. package/src/tests/credential-check.test.ts +51 -1
  221. package/src/tests/db-query-denylist.test.ts +202 -0
  222. package/src/tests/db-task-read-contract.test.ts +1 -0
  223. package/src/tests/db-task-write-contract.test.ts +1 -0
  224. package/src/tests/dsh-adapter.test.ts +23 -1
  225. package/src/tests/enabled-tools.test.ts +269 -0
  226. package/src/tests/entrypoint-acp-target-binary.test.ts +31 -1
  227. package/src/tests/entrypoint-codex-oauth-seed.test.ts +12 -0
  228. package/src/tests/events-scrub.test.ts +88 -0
  229. package/src/tests/fixtures/secret-corpus.ts +320 -0
  230. package/src/tests/grok-adapter.test.ts +13 -0
  231. package/src/tests/haiku-5-5-pricing.test.ts +38 -0
  232. package/src/tests/heartbeat-checklist.test.ts +158 -1
  233. package/src/tests/onboarding.test.ts +44 -0
  234. package/src/tests/opencode-adapter.test.ts +66 -3
  235. package/src/tests/opencode-plugin.test.ts +37 -0
  236. package/src/tests/openrouter-attribution-call-sites.test.ts +204 -0
  237. package/src/tests/openrouter-base-url.test.ts +30 -39
  238. package/src/tests/pi-mono-extension.test.ts +161 -2
  239. package/src/tests/pricing-refresh.test.ts +70 -1
  240. package/src/tests/reasoning-effort.test.ts +3 -1
  241. package/src/tests/script-connections.test.ts +5 -0
  242. package/src/tests/script-executor-conformance.test.ts +3 -0
  243. package/src/tests/script-executor-quickjs.test.ts +442 -0
  244. package/src/tests/script-executor-registry.test.ts +6 -1
  245. package/src/tests/script-runs-http.test.ts +88 -1
  246. package/src/tests/script-runs-scrub.test.ts +275 -0
  247. package/src/tests/scripts-http.test.ts +82 -1
  248. package/src/tests/scrubbed-text-12e.test.ts +289 -0
  249. package/src/tests/sealed-key-guard.test.ts +166 -0
  250. package/src/tests/secret-canary-sweep.test.ts +958 -0
  251. package/src/tests/secret-registry.test.ts +355 -0
  252. package/src/tests/secret-rules.test.ts +230 -0
  253. package/src/tests/secret-scrubber.test.ts +3 -2
  254. package/src/tests/telemetry-trigger.test.ts +12 -1
  255. package/src/tests/workflow-llm.test.ts +14 -0
  256. package/src/tests/workflow-replay.test.ts +518 -0
  257. package/src/tests/workflow-scrub.test.ts +242 -0
  258. package/src/tests/workflow-system-one-decision-providers.test.ts +33 -0
  259. package/src/tools/db-query.ts +1 -1
  260. package/src/tools/inject-learning.ts +1 -1
  261. package/src/tools/request-human-input.ts +7 -2
  262. package/src/tools/workflows/get-workflow-run.ts +3 -2
  263. package/src/types.ts +1 -1
  264. package/src/utils/enabled-tools.ts +27 -0
  265. package/src/utils/internal-ai/complete-structured.ts +11 -3
  266. package/src/utils/openrouter-base-url.ts +23 -0
  267. package/src/utils/secret-rules.generated.ts +2055 -0
  268. package/src/utils/secret-scrubber.ts +363 -29
  269. package/src/workflows/engine.ts +39 -4
  270. package/src/workflows/executors/raw-llm.ts +1 -0
  271. package/src/workflows/executors/system-one-decision.ts +2 -0
  272. package/src/workflows/executors/validate.ts +1 -0
  273. package/src/workflows/executors/workflow-llm.ts +9 -2
  274. package/src/workflows/recovery.ts +10 -1
  275. package/src/workflows/resume.ts +62 -3
  276. package/src/workflows/retry-poller.ts +3 -0
  277. package/templates/skills/agent-browser/SKILL.md +2 -0
  278. package/templates/skills/agent-browser/content.md +2 -0
  279. package/templates/skills/code-quality/content.md +1 -0
  280. package/templates/skills/heartbeat-runbook/content.md +1 -1
  281. package/templates/skills/work-on-task/SKILL.md +4 -0
  282. package/templates/skills/work-on-task/content.md +4 -0
  283. package/templates/skills/workflow-iterate/content.md +9 -0
  284. package/dist/acp-adapter-w6zws6me.js +0 -23
  285. package/dist/boot-scrub-logs-246yn076.js +0 -99
  286. package/dist/cli-3a4m1aws.js +0 -572
  287. package/dist/cli-3dpj7atn.js +0 -11
  288. package/dist/cli-a87b04k8.js +0 -951
  289. package/dist/cli-cvk6yzw5.js +0 -40
  290. package/dist/cli-gvcgmx69.js +0 -183
  291. package/dist/cli-h1spv8v4.js +0 -427
  292. package/dist/cli-jqt9hrnz.js +0 -168
  293. package/dist/cli-yhmwmv0g.js +0 -9281
  294. package/dist/grok-adapter-yt9pab3k.js +0 -29
  295. package/src/be/boot-scrub-logs.ts +0 -132
  296. package/dist/{codex-hook-d2rkvf39.js → codex-hook-15dgc4cb.js} +1 -1
@@ -16,7 +16,7 @@ import {
16
16
  } from "./cli-et1bbwqf.js";
17
17
  import {
18
18
  retryProviderRequest
19
- } from "./cli-qbksc292.js";
19
+ } from "./cli-zy39d433.js";
20
20
  import {
21
21
  formatProviderError,
22
22
  normalizeProviderError
@@ -33,7 +33,7 @@ import {
33
33
  resolveSamplingParams,
34
34
  thinkingBudgetForLevel,
35
35
  transformMessages
36
- } from "./cli-8kt0bmgx.js";
36
+ } from "./cli-xf713zz0.js";
37
37
  import {
38
38
  sanitizeSurrogates
39
39
  } from "./cli-y2apkfe2.js";
@@ -48,7 +48,7 @@ import {
48
48
  renderSystemMessageUpdate,
49
49
  resolveTranscript,
50
50
  resolveTranscriptTools
51
- } from "./cli-nexwh8zg.js";
51
+ } from "./cli-g7k7zbcz.js";
52
52
  import {
53
53
  getProviderEnvValue
54
54
  } from "./cli-btbzvq95.js";
@@ -57,7 +57,7 @@ import {
57
57
  } from "./cli-1m2e086m.js";
58
58
  import {
59
59
  AssistantMessageEventStream
60
- } from "./cli-bzr0ftht.js";
60
+ } from "./cli-wnb9b2g3.js";
61
61
  import"./cli-bc05qbss.js";
62
62
 
63
63
  // node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js
@@ -0,0 +1,162 @@
1
+ import {
2
+ isRecord,
3
+ parseClassifierUsage,
4
+ postClassifierRequest,
5
+ requiredNumber
6
+ } from "./cli-q1vnz8wv.js";
7
+ import"./cli-zy39d433.js";
8
+ import {
9
+ formatProviderError,
10
+ normalizeProviderError
11
+ } from "./cli-6map995v.js";
12
+ import"./cli-7kyk9jr3.js";
13
+ import"./cli-g7k7zbcz.js";
14
+ import"./cli-wnb9b2g3.js";
15
+ import"./cli-bc05qbss.js";
16
+
17
+ // node_modules/@earendil-works/pi-ai/dist/api/openai-decisions.js
18
+ var LABEL = "OpenAI Decisions";
19
+ var MAX_IMAGES = 128;
20
+ function predicateInstructions(question) {
21
+ const meanings = [
22
+ question.criteria.true ? `True means: ${question.criteria.true}` : "",
23
+ question.criteria.false ? `False means: ${question.criteria.false}` : ""
24
+ ].filter(Boolean);
25
+ return meanings.length > 0 ? `${question.instructions}
26
+
27
+ ${meanings.join(`
28
+ `)}` : question.instructions;
29
+ }
30
+ function wireQuestion(name, question) {
31
+ if (question.type === "choice") {
32
+ return {
33
+ type: "choice",
34
+ name,
35
+ instructions: question.instructions,
36
+ choices: Object.entries(question.criteria).map(([value, description]) => description ? { value, description } : { value })
37
+ };
38
+ }
39
+ if (question.type === "score") {
40
+ return {
41
+ type: "score",
42
+ name,
43
+ instructions: question.instructions,
44
+ levels: question.criteria.map((label) => ({ label }))
45
+ };
46
+ }
47
+ return { type: "predicate", name, instructions: predicateInstructions(question) };
48
+ }
49
+ function wireInput(context) {
50
+ const state = JSON.stringify(context.state);
51
+ const images = context.images ?? [];
52
+ if (images.length === 0)
53
+ return state;
54
+ if (images.length > MAX_IMAGES) {
55
+ throw new Error(`${LABEL} accepts at most ${MAX_IMAGES} images, got ${images.length}`);
56
+ }
57
+ return [
58
+ {
59
+ role: "user",
60
+ content: [
61
+ { type: "input_text", text: state },
62
+ ...images.map((image) => ({
63
+ type: "input_image",
64
+ image_url: `data:${image.mimeType};base64,${image.data}`
65
+ }))
66
+ ]
67
+ }
68
+ ];
69
+ }
70
+ function choiceProbabilities(value, id) {
71
+ if (!Array.isArray(value))
72
+ throw new Error(`${LABEL} returned invalid probabilities for ${id}`);
73
+ return Object.fromEntries(value.map((entry) => {
74
+ if (!isRecord(entry) || typeof entry.value !== "string") {
75
+ throw new Error(`${LABEL} returned invalid probabilities for ${id}`);
76
+ }
77
+ return [entry.value, requiredNumber(LABEL, entry.probability, `probability for ${id}.${entry.value}`)];
78
+ }));
79
+ }
80
+ function parseAnswer(id, question, answer) {
81
+ if (answer.type === "refusal")
82
+ throw new Error(`${LABEL} refused to answer ${id}`);
83
+ if (question.type === "choice") {
84
+ if (answer.type !== "choice" || typeof answer.choice !== "string") {
85
+ throw new Error(`${LABEL} did not return a choice answer for ${id}`);
86
+ }
87
+ return {
88
+ type: "choice",
89
+ choice: answer.choice,
90
+ probabilities: choiceProbabilities(answer.probabilities, id),
91
+ confidence: requiredNumber(LABEL, answer.confidence, `confidence for ${id}`)
92
+ };
93
+ }
94
+ if (question.type === "score") {
95
+ if (answer.type !== "score")
96
+ throw new Error(`${LABEL} did not return a score answer for ${id}`);
97
+ return {
98
+ type: "score",
99
+ score: requiredNumber(LABEL, answer.score, `score for ${id}`),
100
+ confidence: requiredNumber(LABEL, answer.confidence, `confidence for ${id}`)
101
+ };
102
+ }
103
+ if (answer.type !== "predicate")
104
+ throw new Error(`${LABEL} did not return a predicate answer for ${id}`);
105
+ return { type: "bool", probability: requiredNumber(LABEL, answer.probability, `probability for ${id}`) };
106
+ }
107
+ function parseAnswers(value, context) {
108
+ if (!Array.isArray(value))
109
+ throw new Error(`${LABEL} returned an unexpected response`);
110
+ const byName = new Map;
111
+ for (const answer of value) {
112
+ if (isRecord(answer) && typeof answer.name === "string")
113
+ byName.set(answer.name, answer);
114
+ }
115
+ return Object.fromEntries(Object.entries(context.questions).map(([id, question]) => {
116
+ const answer = byName.get(id);
117
+ if (!answer)
118
+ throw new Error(`${LABEL} did not return an answer for ${id}`);
119
+ return [id, parseAnswer(id, question, answer)];
120
+ }));
121
+ }
122
+ var NO_RETRY_STATUSES = [504];
123
+ function errorMessage(error) {
124
+ if (error.status === 504) {
125
+ return `${LABEL} error (504): the request timed out at the gateway. Very large inputs (above roughly 600K tokens) currently exceed its time limit.`;
126
+ }
127
+ return formatProviderError(normalizeProviderError(error), `${LABEL} error`);
128
+ }
129
+ var classify = async (model, context, options) => {
130
+ const output = {
131
+ api: model.api,
132
+ provider: model.provider,
133
+ model: model.id,
134
+ answers: {},
135
+ stopReason: "stop",
136
+ timestamp: Date.now()
137
+ };
138
+ try {
139
+ if (model.api !== "openai-decisions")
140
+ throw new Error(`Unsupported classifier API: ${model.api}`);
141
+ const body = await postClassifierRequest(LABEL, new URL("decisions", `${model.baseUrl.replace(/\/+$/u, "")}/`), model, {
142
+ model: model.id,
143
+ input: wireInput(context),
144
+ questions: Object.entries(context.questions).map(([id, question]) => wireQuestion(id, question))
145
+ }, options, NO_RETRY_STATUSES);
146
+ if (!isRecord(body))
147
+ throw new Error(`${LABEL} returned an unexpected response`);
148
+ const usage = parseClassifierUsage(body.usage, model);
149
+ if (usage)
150
+ output.usage = usage;
151
+ output.answers = parseAnswers(body.answers, context);
152
+ return output;
153
+ } catch (error) {
154
+ output.answers = {};
155
+ output.stopReason = options?.signal?.aborted ? "aborted" : "error";
156
+ output.errorMessage = errorMessage(error);
157
+ return output;
158
+ }
159
+ };
160
+ export {
161
+ classify
162
+ };
@@ -6,7 +6,7 @@ import {
6
6
  convertResponsesMessages,
7
7
  convertResponsesTools,
8
8
  processResponsesStream
9
- } from "./cli-fj86xr3c.js";
9
+ } from "./cli-qd97v6z2.js";
10
10
  import {
11
11
  clampOpenAIPromptCacheKey
12
12
  } from "./cli-mrptpp86.js";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./cli-et1bbwqf.js";
20
20
  import {
21
21
  retryProviderRequest
22
- } from "./cli-qbksc292.js";
22
+ } from "./cli-zy39d433.js";
23
23
  import {
24
24
  formatProviderError,
25
25
  normalizeProviderError
@@ -28,7 +28,7 @@ import {
28
28
  buildBaseOptions,
29
29
  createGrammarToolInputProperties,
30
30
  resolveSamplingParams
31
- } from "./cli-8kt0bmgx.js";
31
+ } from "./cli-xf713zz0.js";
32
32
  import"./cli-y2apkfe2.js";
33
33
  import {
34
34
  headersToRecord
@@ -38,14 +38,14 @@ import {
38
38
  getDeclaredTools,
39
39
  resolveTranscript,
40
40
  resolveTranscriptTools
41
- } from "./cli-nexwh8zg.js";
41
+ } from "./cli-g7k7zbcz.js";
42
42
  import {
43
43
  getProviderEnvValue
44
44
  } from "./cli-btbzvq95.js";
45
45
  import"./cli-1m2e086m.js";
46
46
  import {
47
47
  AssistantMessageEventStream
48
- } from "./cli-bzr0ftht.js";
48
+ } from "./cli-wnb9b2g3.js";
49
49
  import"./cli-bc05qbss.js";
50
50
 
51
51
  // node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js
@@ -6,22 +6,22 @@ import {
6
6
  applyOpenRouterBaseUrlOverride,
7
7
  checkOpencodeCredentials,
8
8
  resolveContextModePluginPath
9
- } from "./cli-zn2v3t8v.js";
9
+ } from "./cli-jvmtxqtc.js";
10
10
  import"./cli-gt4hxb8p.js";
11
+ import"./cli-5bfdm1ah.js";
12
+ import"./cli-tng3131n.js";
11
13
  import"./cli-zm7njwzd.js";
12
14
  import"./cli-ptcz1cqy.js";
13
- import"./cli-32bca7nr.js";
14
- import"./cli-tng3131n.js";
15
- import"./cli-5bfdm1ah.js";
16
- import"./cli-ttbsse3f.js";
15
+ import"./cli-7avy4v8w.js";
16
+ import"./cli-tmhsxhb8.js";
17
17
  import"./cli-re8z5p8p.js";
18
- import"./cli-3dpj7atn.js";
19
18
  import"./cli-tadfgd0t.js";
20
19
  import"./cli-ywybs5as.js";
21
20
  import"./cli-f9w1semm.js";
21
+ import"./cli-a35hzdve.js";
22
22
  import"./cli-ej6gbxfb.js";
23
- import"./cli-zsh093hk.js";
24
- import"./cli-h1spv8v4.js";
23
+ import"./cli-014vns2y.js";
24
+ import"./cli-wt7ccy4r.js";
25
25
  import"./cli-bc05qbss.js";
26
26
  export {
27
27
  OPENCODE_SSE_MAX_RETRY_ATTEMPTS,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./cli-7cxw8b60.js";
4
4
  import {
5
5
  retryProviderRequest
6
- } from "./cli-qbksc292.js";
6
+ } from "./cli-zy39d433.js";
7
7
  import {
8
8
  formatProviderError,
9
9
  normalizeProviderError
@@ -8,11 +8,11 @@ import {
8
8
  import {
9
9
  init_package,
10
10
  package_default
11
- } from "./cli-1kzfvd1z.js";
11
+ } from "./cli-ymmc1zxg.js";
12
12
  import {
13
13
  init_secret_scrubber,
14
14
  scrubSecrets
15
- } from "./cli-h1spv8v4.js";
15
+ } from "./cli-wt7ccy4r.js";
16
16
  import {
17
17
  require_src
18
18
  } from "./cli-knd276ed.js";
@@ -12,7 +12,7 @@ import {
12
12
  AssistantMessageEventStream,
13
13
  appendAssistantMessageDiagnostic,
14
14
  createAssistantMessageDiagnostic
15
- } from "./cli-bzr0ftht.js";
15
+ } from "./cli-wnb9b2g3.js";
16
16
  import"./cli-bc05qbss.js";
17
17
 
18
18
  // node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js
@@ -4,16 +4,6 @@ import {
4
4
  import {
5
5
  readPkgVersion
6
6
  } from "./cli-gt4hxb8p.js";
7
- import {
8
- summarizeSession
9
- } from "./cli-5b2fjjzh.js";
10
- import {
11
- checkToolLoop,
12
- clearToolHistory
13
- } from "./cli-hp1n6zq3.js";
14
- import {
15
- fetchInstalledMcpServers
16
- } from "./cli-tng3131n.js";
17
7
  import {
18
8
  DefaultResourceLoader,
19
9
  ModelRuntime,
@@ -23,21 +13,31 @@ import {
23
13
  createCodemodeExtension,
24
14
  createMcpExtension,
25
15
  createToolSearchExtension
26
- } from "./cli-nvvfd8bq.js";
27
- import"./cli-4mevd1hf.js";
28
- import"./cli-qvfk83fy.js";
29
- import"./cli-krqm5f11.js";
30
- import"./cli-8ssjez7e.js";
31
- import"./cli-6zcfw0x7.js";
16
+ } from "./cli-jbzbr36n.js";
17
+ import"./cli-s9y81s7j.js";
18
+ import"./cli-13xwcqvj.js";
19
+ import"./cli-xezn9nkh.js";
20
+ import"./cli-rhy7z1rp.js";
21
+ import"./cli-y195hv1a.js";
32
22
  import {
33
23
  getAgentDir,
34
24
  setEmbeddedQuickJSWasmPath
35
- } from "./cli-cwxhbf43.js";
25
+ } from "./cli-5t5my0h8.js";
36
26
  import"./cli-5bfdm1ah.js";
37
- import"./cli-0m7wct0d.js";
27
+ import {
28
+ summarizeSession
29
+ } from "./cli-r7eeddkq.js";
30
+ import {
31
+ checkToolLoop,
32
+ clearToolHistory
33
+ } from "./cli-hp1n6zq3.js";
34
+ import {
35
+ fetchInstalledMcpServers
36
+ } from "./cli-tng3131n.js";
38
37
  import {
39
38
  applyReasoningEffort
40
- } from "./cli-ttbsse3f.js";
39
+ } from "./cli-tmhsxhb8.js";
40
+ import"./cli-0m7wct0d.js";
41
41
  import"./cli-7nxes1hs.js";
42
42
  import {
43
43
  buildRatingsFromLlm,
@@ -51,31 +51,27 @@ import {
51
51
  import {
52
52
  McpHttpClient
53
53
  } from "./cli-epan13p1.js";
54
- import"./cli-xb3c6aat.js";
55
- import"./cli-ftry7975.js";
56
- import {
57
- DEFAULT_OPENROUTER_BASE_URL,
58
- getOpenRouterBaseUrl
59
- } from "./cli-3dpj7atn.js";
60
- import"./cli-2x0e561b.js";
54
+ import"./cli-7mhy3ths.js";
55
+ import"./cli-v1w7pbd8.js";
61
56
  import {
62
57
  getBuiltinModel,
63
58
  getBuiltinModels
64
- } from "./cli-pkke6geq.js";
59
+ } from "./cli-km4x66j0.js";
65
60
  import {
66
61
  exports_typebox
67
62
  } from "./cli-rb9m6rpe.js";
63
+ import"./cli-2x0e561b.js";
68
64
  import"./cli-bsakbbkm.js";
69
65
  import"./cli-zxg80zs9.js";
70
66
  import"./cli-ydt3zkwv.js";
71
67
  import"./cli-3er6gcsn.js";
72
68
  import"./cli-0xqde53b.js";
73
69
  import"./cli-pqetb83f.js";
74
- import"./cli-b0f70z24.js";
75
- import"./cli-nexwh8zg.js";
70
+ import"./cli-mn8qkd8v.js";
71
+ import"./cli-g7k7zbcz.js";
76
72
  import"./cli-btbzvq95.js";
77
73
  import"./cli-1m2e086m.js";
78
- import"./cli-bzr0ftht.js";
74
+ import"./cli-wnb9b2g3.js";
79
75
  import {
80
76
  CORE_TOOLS,
81
77
  init_tool_config
@@ -89,17 +85,23 @@ import {
89
85
  } from "./cli-5c2j5yvx.js";
90
86
  import"./cli-1a2j50m0.js";
91
87
  import"./cli-f9w1semm.js";
88
+ import {
89
+ DEFAULT_OPENROUTER_BASE_URL,
90
+ getOpenRouterAttributionHeaders,
91
+ getOpenRouterBaseUrl,
92
+ init_openrouter_base_url
93
+ } from "./cli-a35hzdve.js";
92
94
  import {
93
95
  init_env_flag,
94
96
  parseEnvFlag
95
97
  } from "./cli-ej6gbxfb.js";
96
- import"./cli-zsh093hk.js";
98
+ import"./cli-014vns2y.js";
97
99
  import"./cli-sd0mxa3c.js";
98
100
  import"./cli-w5e1d1vv.js";
99
101
  import {
100
102
  init_secret_scrubber,
101
103
  scrubSecrets
102
- } from "./cli-h1spv8v4.js";
104
+ } from "./cli-wt7ccy4r.js";
103
105
  import {
104
106
  __require,
105
107
  __toESM
@@ -174,9 +176,11 @@ function classifyAwsSdkError(text) {
174
176
 
175
177
  // src/providers/pi-mono-adapter.ts
176
178
  init_env_flag();
179
+ init_openrouter_base_url();
177
180
  init_secret_scrubber();
178
181
 
179
182
  // src/providers/pi-mono-extension.ts
183
+ init_openrouter_base_url();
180
184
  init_secret_scrubber();
181
185
  function apiHeaders(config) {
182
186
  return {
@@ -443,9 +447,20 @@ async function summarizeSessionForPi(config, sessionFile, deps = {}) {
443
447
  console.error("session_summary failed (pi):", err);
444
448
  }
445
449
  }
450
+ var SWARM_NUDGE_CUSTOM_TYPE = "swarm-nudge";
451
+ function sendNudge(pi, text) {
452
+ pi.sendMessage({
453
+ customType: SWARM_NUDGE_CUSTOM_TYPE,
454
+ content: [{ type: "text", text }],
455
+ display: false
456
+ });
457
+ }
446
458
  function createSwarmHooksExtension(config) {
447
459
  return (pi) => {
448
460
  let lastContextPostTime = 0;
461
+ pi.on("before_provider_headers", (event, ctx) => {
462
+ Object.assign(event.headers, getOpenRouterAttributionHeaders(ctx.model?.baseUrl ?? "", config.env));
463
+ });
449
464
  pi.on("session_start", async (_event, _ctx) => {
450
465
  for (const [name, server] of Object.entries(config.mcpServers ?? {})) {
451
466
  try {
@@ -464,7 +479,7 @@ function createSwarmHooksExtension(config) {
464
479
  if (config.isLead) {
465
480
  const ctx = await fetchConcurrentContext(config);
466
481
  if (ctx) {
467
- console.log(ctx);
482
+ sendNudge(pi, ctx);
468
483
  }
469
484
  }
470
485
  });
@@ -490,7 +505,7 @@ function createSwarmHooksExtension(config) {
490
505
  };
491
506
  }
492
507
  if (loopResult.severity === "warning" && loopResult.reason) {
493
- console.log(`Warning: ${loopResult.reason}`);
508
+ sendNudge(pi, `Warning: ${loopResult.reason}`);
494
509
  }
495
510
  }
496
511
  if (event.toolName?.endsWith("poll-task")) {
@@ -548,29 +563,31 @@ function createSwarmHooksExtension(config) {
548
563
  }
549
564
  }
550
565
  if (config.isLead && event.toolName?.endsWith("send-task")) {
551
- console.log("Task sent successfully. Monitor progress using the get-task-details tool periodically.");
566
+ sendNudge(pi, "Task sent successfully. Monitor progress using the get-task-details tool periodically.");
552
567
  }
553
568
  return;
554
569
  });
555
- pi.on("context", async (_event, ctx) => {
570
+ pi.on("session_compact", async () => {
556
571
  if (!config.taskId)
557
572
  return;
558
- try {
559
- const taskDetails = await fetchTaskDetails(config);
560
- if (taskDetails) {
561
- const reminder = [
562
- "=== GOAL REMINDER (injected before context compaction) ===",
563
- `Task ID: ${taskDetails.id}`,
564
- `Task: ${taskDetails.task}`
565
- ];
566
- if (taskDetails.progress) {
567
- reminder.push(`Current Progress: ${taskDetails.progress}`);
568
- }
569
- reminder.push("=== Continue working on this task after compaction ===");
570
- console.log(reminder.join(`
571
- `));
573
+ const taskDetails = await fetchTaskDetails(config);
574
+ if (taskDetails) {
575
+ const reminder = [
576
+ "=== GOAL REMINDER (injected before context compaction) ===",
577
+ `Task ID: ${taskDetails.id}`,
578
+ `Task: ${taskDetails.task}`
579
+ ];
580
+ if (taskDetails.progress) {
581
+ reminder.push(`Current Progress: ${taskDetails.progress}`);
572
582
  }
573
- } catch {}
583
+ reminder.push("=== Continue working on this task after compaction ===");
584
+ sendNudge(pi, reminder.join(`
585
+ `));
586
+ }
587
+ });
588
+ pi.on("context", async (_event, ctx) => {
589
+ if (!config.taskId)
590
+ return;
574
591
  const usage = ctx.getContextUsage?.();
575
592
  if (usage) {
576
593
  fireAndForget(`${config.apiUrl}/api/tasks/${config.taskId}/context`, {
@@ -592,7 +609,7 @@ function createSwarmHooksExtension(config) {
592
609
  const { cancelled, reason } = await isTaskCancelled(config);
593
610
  if (cancelled) {
594
611
  const cancelReason = reason || "Task cancelled by lead or creator";
595
- console.log(`\uD83D\uDED1 TASK CANCELLED: ${cancelReason}. Stop working and use store-progress to acknowledge.`);
612
+ sendNudge(pi, `\uD83D\uDED1 TASK CANCELLED: ${cancelReason}. Stop working and use store-progress to acknowledge.`);
596
613
  return { action: "handled" };
597
614
  }
598
615
  }
@@ -7,29 +7,30 @@ import {
7
7
  requestModelCatalogRefresh,
8
8
  resetModelCatalogRefreshGuardForTests,
9
9
  startPricingRefreshLoop
10
- } from "./cli-e7t4snpa.js";
11
- import"./cli-nfygw434.js";
12
- import"./cli-qdv8kgz7.js";
13
- import"./cli-9s3h836g.js";
10
+ } from "./cli-p8rt8spp.js";
11
+ import"./cli-v1pwxreq.js";
12
+ import"./cli-mkdsy1nq.js";
14
13
  import"./cli-3qhyh31j.js";
15
- import"./cli-3a4m1aws.js";
14
+ import"./cli-xvdgasgy.js";
15
+ import"./cli-mxvnnv5q.js";
16
16
  import"./cli-7mm2r1kp.js";
17
17
  import"./cli-g5erf0zt.js";
18
18
  import"./cli-dmtrxqhg.js";
19
- import"./cli-tadfgd0t.js";
20
- import"./cli-ywybs5as.js";
21
- import"./cli-gd4favx9.js";
22
19
  import"./cli-agamgm0p.js";
23
20
  import"./cli-5c2j5yvx.js";
24
21
  import"./cli-1a2j50m0.js";
22
+ import"./cli-tadfgd0t.js";
23
+ import"./cli-ywybs5as.js";
25
24
  import"./cli-f9w1semm.js";
25
+ import"./cli-a35hzdve.js";
26
+ import"./cli-gd4favx9.js";
26
27
  import"./cli-ej6gbxfb.js";
27
- import"./cli-zsh093hk.js";
28
+ import"./cli-014vns2y.js";
28
29
  import"./cli-sd0mxa3c.js";
29
30
  import"./cli-w5e1d1vv.js";
30
- import"./cli-1kzfvd1z.js";
31
+ import"./cli-ymmc1zxg.js";
31
32
  import"./cli-zf8jjwex.js";
32
- import"./cli-h1spv8v4.js";
33
+ import"./cli-wt7ccy4r.js";
33
34
  import"./cli-bc05qbss.js";
34
35
  export {
35
36
  MODEL_CATALOG_FORCE_COOLDOWN_MS,
@@ -8,29 +8,30 @@ import {
8
8
  init_rbac_roles,
9
9
  listUserRoles,
10
10
  runRbacCliCommand
11
- } from "./cli-xnzrzets.js";
11
+ } from "./cli-ypgba1a8.js";
12
12
  import"./cli-rfphkzh5.js";
13
- import"./cli-qdv8kgz7.js";
14
- import"./cli-9s3h836g.js";
13
+ import"./cli-mkdsy1nq.js";
15
14
  import"./cli-3qhyh31j.js";
16
- import"./cli-3a4m1aws.js";
15
+ import"./cli-xvdgasgy.js";
16
+ import"./cli-mxvnnv5q.js";
17
17
  import"./cli-7mm2r1kp.js";
18
18
  import"./cli-g5erf0zt.js";
19
19
  import"./cli-dmtrxqhg.js";
20
- import"./cli-tadfgd0t.js";
21
- import"./cli-ywybs5as.js";
22
- import"./cli-gd4favx9.js";
23
20
  import"./cli-agamgm0p.js";
24
21
  import"./cli-5c2j5yvx.js";
25
22
  import"./cli-1a2j50m0.js";
23
+ import"./cli-tadfgd0t.js";
24
+ import"./cli-ywybs5as.js";
26
25
  import"./cli-f9w1semm.js";
26
+ import"./cli-a35hzdve.js";
27
+ import"./cli-gd4favx9.js";
27
28
  import"./cli-ej6gbxfb.js";
28
- import"./cli-zsh093hk.js";
29
+ import"./cli-014vns2y.js";
29
30
  import"./cli-sd0mxa3c.js";
30
31
  import"./cli-w5e1d1vv.js";
31
- import"./cli-1kzfvd1z.js";
32
+ import"./cli-ymmc1zxg.js";
32
33
  import"./cli-zf8jjwex.js";
33
- import"./cli-h1spv8v4.js";
34
+ import"./cli-wt7ccy4r.js";
34
35
  import"./cli-bc05qbss.js";
35
36
  init_rbac_roles();
36
37
 
@@ -5,31 +5,32 @@ import {
5
5
  import {
6
6
  getDb,
7
7
  getDbClient,
8
- init_db
9
- } from "./cli-qdv8kgz7.js";
10
- import"./cli-9s3h836g.js";
8
+ init_db1 as init_db
9
+ } from "./cli-mkdsy1nq.js";
11
10
  import"./cli-3qhyh31j.js";
12
- import"./cli-3a4m1aws.js";
11
+ import"./cli-xvdgasgy.js";
12
+ import"./cli-mxvnnv5q.js";
13
13
  import"./cli-7mm2r1kp.js";
14
14
  import"./cli-g5erf0zt.js";
15
15
  import"./cli-dmtrxqhg.js";
16
- import"./cli-tadfgd0t.js";
17
- import"./cli-ywybs5as.js";
18
- import"./cli-gd4favx9.js";
19
16
  import"./cli-agamgm0p.js";
20
17
  import"./cli-5c2j5yvx.js";
21
18
  import"./cli-1a2j50m0.js";
19
+ import"./cli-tadfgd0t.js";
20
+ import"./cli-ywybs5as.js";
22
21
  import"./cli-f9w1semm.js";
22
+ import"./cli-a35hzdve.js";
23
+ import"./cli-gd4favx9.js";
23
24
  import {
24
25
  init_env_flag,
25
26
  isEnvFlagEnabled
26
27
  } from "./cli-ej6gbxfb.js";
27
- import"./cli-zsh093hk.js";
28
+ import"./cli-014vns2y.js";
28
29
  import"./cli-sd0mxa3c.js";
29
30
  import"./cli-w5e1d1vv.js";
30
- import"./cli-1kzfvd1z.js";
31
+ import"./cli-ymmc1zxg.js";
31
32
  import"./cli-zf8jjwex.js";
32
- import"./cli-h1spv8v4.js";
33
+ import"./cli-wt7ccy4r.js";
33
34
  import"./cli-bc05qbss.js";
34
35
 
35
36
  // src/be/rbac-roles.ts