@desplega.ai/agent-swarm 2.5.4 → 2.6.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 (271) hide show
  1. package/README.md +2 -2
  2. package/dist/{acp-adapter-ek38cwsv.js → acp-adapter-dgfakfpw.js} +9 -9
  3. package/dist/{actions-92mepq03.js → actions-fbqma8aa.js} +21 -21
  4. package/dist/{amp-adapter-9gaxg015.js → amp-adapter-en0jy6hs.js} +4 -4
  5. package/dist/{app-ctn8gsgx.js → app-k8a5cgpp.js} +3 -3
  6. package/dist/{assistant-zyr5kz47.js → assistant-a16433gr.js} +29 -25
  7. package/dist/{boot-reembed-dwzfttdr.js → boot-reembed-6c1sjfnr.js} +1 -1
  8. package/dist/{boot-reembed-w75maga2.js → boot-reembed-f4nn561n.js} +1 -1
  9. package/dist/{boot-scrub-sweep-e9kq43kf.js → boot-scrub-sweep-d4w9gajf.js} +4 -4
  10. package/dist/{boot-seeds-x28v3fhb.js → boot-seeds-9bmkspyw.js} +4 -4
  11. package/dist/{claude-adapter-f0afqnne.js → claude-adapter-nys1kjxa.js} +9 -9
  12. package/dist/{claude-managed-adapter-x81a7r65.js → claude-managed-adapter-55207973.js} +2 -2
  13. package/dist/{claude-managed-setup-bqzwjd9x.js → claude-managed-setup-3cm35gey.js} +10 -3
  14. package/dist/{claude-sdk-session-7b7whkaq.js → claude-sdk-session-nw5yd8cp.js} +11 -11
  15. package/dist/{cli-c61mbdds.js → cli-03gg9pd1.js} +4 -4
  16. package/dist/{cli-kxpfx2xr.js → cli-0z1xjzwa.js} +2 -2
  17. package/dist/cli-1tem6ns9.js +894 -0
  18. package/dist/{cli-jbnn4vxb.js → cli-24j1jeeb.js} +3 -3
  19. package/dist/{cli-pzatvw94.js → cli-2sjhpsns.js} +2 -2
  20. package/dist/{cli-dew6x255.js → cli-39aet655.js} +2 -2
  21. package/dist/{cli-g1cw7xtt.js → cli-39rrw8yp.js} +1 -1
  22. package/dist/{cli-x0f2v69c.js → cli-3aqd4jaa.js} +12 -7
  23. package/dist/{cli-gbfxp48k.js → cli-3fwqy71j.js} +15 -15
  24. package/dist/{cli-7p4jxgtt.js → cli-3gfvmzht.js} +6 -6
  25. package/dist/{cli-03vpq45j.js → cli-3ndmpxxv.js} +2 -2
  26. package/dist/{cli-asq5ydm4.js → cli-4hxrf0p4.js} +131 -50
  27. package/dist/{cli-mz9afxxf.js → cli-4rf0f5vg.js} +15 -3
  28. package/dist/{cli-k4tjsdx9.js → cli-5rj83bam.js} +272 -195
  29. package/dist/{cli-sbwsxvtd.js → cli-5sckpqcx.js} +2 -2
  30. package/dist/{cli-cz5nmdxt.js → cli-683y0b3a.js} +2 -2
  31. package/dist/{cli-ethgy7ha.js → cli-6y51ryva.js} +2 -2
  32. package/dist/{cli-n4c8e3s5.js → cli-708wdy32.js} +1 -1
  33. package/dist/{cli-pasyvjmm.js → cli-737pyqxr.js} +1 -1
  34. package/dist/{cli-gx4rm0qx.js → cli-7enjwya9.js} +1 -1
  35. package/dist/{cli-6x9ma5w5.js → cli-803188pb.js} +1 -1
  36. package/dist/{cli-hh5we352.js → cli-9abdgn5t.js} +7 -7
  37. package/dist/{cli-ff1tm9n9.js → cli-a2rr0fmg.js} +1 -1
  38. package/dist/{cli-c952c7ac.js → cli-a34pr3w1.js} +2 -2
  39. package/dist/{cli-s682zgqz.js → cli-abkm71vr.js} +1 -1
  40. package/dist/{cli-mmhj8vd7.js → cli-ag2yrnt5.js} +11 -2
  41. package/dist/{cli-bvpgr9ny.js → cli-aj8djyqt.js} +5 -5
  42. package/dist/{cli-gwhjmh8g.js → cli-art7c1zh.js} +5 -5
  43. package/dist/{cli-5bnsc0e1.js → cli-az25fn5f.js} +4 -4
  44. package/dist/{cli-9s05422w.js → cli-bqztfyve.js} +1 -1
  45. package/dist/{cli-bn0rewsy.js → cli-c081bj3b.js} +2 -2
  46. package/dist/{cli-1r5ad7j5.js → cli-c2habvsf.js} +12 -12
  47. package/dist/{cli-64mh9mf3.js → cli-ca6banwz.js} +69 -17
  48. package/dist/{cli-25n3mv5d.js → cli-cz37jqss.js} +5 -5
  49. package/dist/{cli-6n8axjv1.js → cli-d2dpf95n.js} +2 -2
  50. package/dist/{cli-gn5af0x5.js → cli-emhjcj2y.js} +11 -11
  51. package/dist/{cli-6a1xg1p7.js → cli-esakngh8.js} +2 -2
  52. package/dist/{cli-ha9rmwgq.js → cli-fb8m699c.js} +2 -2
  53. package/dist/{cli-4b2z6n0m.js → cli-ffvsj2qw.js} +17 -8
  54. package/dist/{cli-abs8ndtr.js → cli-g20jjwt4.js} +26 -26
  55. package/dist/{cli-jb30dzvk.js → cli-g8ka5j4j.js} +446 -164
  56. package/dist/{cli-19202kew.js → cli-gf95q3bm.js} +5 -5
  57. package/dist/{cli-eftzyh9y.js → cli-gnsb1zxa.js} +2 -2
  58. package/dist/{cli-nwyw3zhg.js → cli-gxee0bqa.js} +1 -1
  59. package/dist/{cli-e42vss7b.js → cli-hfeb68z4.js} +5 -5
  60. package/dist/{cli-g9vd9ece.js → cli-k21gx5ht.js} +14 -16
  61. package/dist/{cli-tsma7p8v.js → cli-kf4jree9.js} +2 -2
  62. package/dist/{cli-dabehxhp.js → cli-kt907da6.js} +1 -1
  63. package/dist/{cli-wx2nj19m.js → cli-m5a9m0ak.js} +6 -6
  64. package/dist/{cli-621ce7kw.js → cli-m70bajzr.js} +3 -3
  65. package/dist/{cli-9j129brq.js → cli-mtnj4fwa.js} +6 -6
  66. package/dist/{cli-xzfq4at3.js → cli-mvjz5an3.js} +15 -11
  67. package/dist/{cli-277c31dw.js → cli-n7asmce6.js} +225 -3
  68. package/dist/{cli-xtrz6bzs.js → cli-nn6vx2mq.js} +1 -1
  69. package/dist/{cli-2655k16q.js → cli-nq677csy.js} +1 -1
  70. package/dist/{cli-0shx9j93.js → cli-pfk92eqz.js} +2 -2
  71. package/dist/{cli-wghjkr0e.js → cli-sqma6vw1.js} +10 -7
  72. package/dist/{cli-nzfnt2gs.js → cli-tf1n0r0b.js} +1 -1
  73. package/dist/{cli-qqzmjxkf.js → cli-v49fkghp.js} +11 -6
  74. package/dist/{cli-x77gen2p.js → cli-w2656ka1.js} +7 -7
  75. package/dist/{cli-5kqnemen.js → cli-yvy48785.js} +1 -1
  76. package/dist/{cli-m4ecdxvz.js → cli-zqne1qcj.js} +7 -7
  77. package/dist/cli.js +17 -17
  78. package/dist/{codex-adapter-wch12q99.js → codex-adapter-d95q4qsn.js} +7 -7
  79. package/dist/{codex-login-rn7c5gxt.js → codex-login-8cg0vhf2.js} +1 -1
  80. package/dist/{codex-session-runner-41pfcr95.js → codex-session-runner-gdwd8h0c.js} +8 -8
  81. package/dist/{commands-9849dkj6.js → commands-jqmgk54b.js} +2 -2
  82. package/dist/{controller-ja0sd95p.js → controller-z3jq589f.js} +4 -4
  83. package/dist/{controllers-connect-xp05dj6x.js → controllers-connect-r2za39ef.js} +23 -23
  84. package/dist/{cursor-adapter-623qxqew.js → cursor-adapter-4mr4jgkw.js} +2 -2
  85. package/dist/{db-47vj40dy.js → db-ppv2tze7.js} +3 -3
  86. package/dist/{db-w759qmx0.js → db-w36wwb5g.js} +4 -2
  87. package/dist/{devin-adapter-4ycy4vrf.js → devin-adapter-byen2cxt.js} +1 -1
  88. package/dist/{dispatcher-7b8e4z2j.js → dispatcher-pv5h77vf.js} +20 -20
  89. package/dist/{docker-s84hjs91.js → docker-fdzyewpz.js} +2 -2
  90. package/dist/{dsh-adapter-2ezw3xea.js → dsh-adapter-d4pdpb3r.js} +2 -2
  91. package/dist/{e2b-9gkdhm3c.js → e2b-222hsajc.js} +2 -2
  92. package/dist/{e2b-cjtf8k1z.js → e2b-fn3zacvt.js} +2 -2
  93. package/dist/{easter-egg-3d-e4qv8dxj.js → easter-egg-3d-4sp4dvmc.js} +1 -1
  94. package/dist/{event-bus-3z78ep5n.js → event-bus-pghg8hqy.js} +1 -1
  95. package/dist/{execute-0xpz8950.js → execute-jev839y1.js} +1 -1
  96. package/dist/{external-channel-e2s028da.js → external-channel-y6nkzhnn.js} +2 -2
  97. package/dist/{grok-adapter-ys7gaqee.js → grok-adapter-t08b9ntm.js} +10 -10
  98. package/dist/handlers-eqsnmv95.js +41 -0
  99. package/dist/{heartbeat-w3mntghj.js → heartbeat-vn31xwdk.js} +23 -23
  100. package/dist/{hook-g7kvv6x9.js → hook-6d0zbvvt.js} +6 -6
  101. package/dist/{hook-3jjywnpb.js → hook-cpjs8q51.js} +8 -8
  102. package/dist/{http-tkp7d4kb.js → http-9c6medda.js} +856 -99
  103. package/dist/{index-xdaahthb.js → index-38t35h0n.js} +20 -20
  104. package/dist/{index-3n8m9ea2.js → index-g6k9tctj.js} +1 -1
  105. package/dist/{index-1ef1myq2.js → index-k0yt1tvq.js} +20 -20
  106. package/dist/{index-31ceyf42.js → index-pkma1yf8.js} +1 -1
  107. package/dist/{index-q7m26kvs.js → index-qhjf2htm.js} +13 -10
  108. package/dist/index-yqgbfgaj.js +43 -0
  109. package/dist/{keepalive-v4ta8wgg.js → keepalive-em0117bp.js} +4 -4
  110. package/dist/lead-23e7z59t.js +79 -0
  111. package/dist/{maintenance-84n1ex21.js → maintenance-kbme3qy9.js} +1 -1
  112. package/dist/{oauth-refresh-sweep-vjnnandw.js → oauth-refresh-sweep-xysj4yse.js} +3 -3
  113. package/dist/{onboard-sfmpe4np.js → onboard-p6q0vz97.js} +3 -3
  114. package/dist/{opencode-adapter-jmpst4q4.js → opencode-adapter-esv3k9yn.js} +7 -7
  115. package/dist/{otel-impl-v6cc0zve.js → otel-impl-54qhqh1z.js} +2 -2
  116. package/dist/{pi-mono-adapter-fk8fkcf6.js → pi-mono-adapter-mymbwhj0.js} +10 -10
  117. package/dist/{pricing-refresh-fsk1e1zc.js → pricing-refresh-yb75wv33.js} +3 -3
  118. package/dist/{rbac-roles-prmkdnkw.js → rbac-roles-1vp2mw4p.js} +2 -2
  119. package/dist/{rbac-roles-zxmxqa39.js → rbac-roles-dexhc9x8.js} +1 -1
  120. package/dist/render-v2-tjay5hhf.js +16 -0
  121. package/dist/{resume-frdtgfa0.js → resume-8ayf37g5.js} +9 -9
  122. package/dist/{runtime-bt5pkpm1.js → runtime-hqe5cqcd.js} +1 -1
  123. package/dist/{session-access-fpez4y5q.js → session-access-fdhp987s.js} +4 -4
  124. package/dist/session-source-backfill-qgtc86z1.js +110 -0
  125. package/dist/{setup-mq6m3m8q.js → setup-4rrmqcq3.js} +1 -1
  126. package/dist/{virtual-modules-mnfbh5mr.js → virtual-modules-52km00d6.js} +2 -2
  127. package/dist/{work-objects-kfahhjsq.js → work-objects-p28fgd70.js} +23 -23
  128. package/dist/worker-e3w7vye1.js +79 -0
  129. package/dist/{x-pbpezr0s.js → x-wxrzvzx8.js} +2 -2
  130. package/openapi.json +1274 -32
  131. package/package.json +1 -1
  132. package/src/assets/source-key.ts +95 -0
  133. package/src/be/db/api-keys.ts +80 -0
  134. package/src/be/db/session-labels.ts +28 -0
  135. package/src/be/db/session-moves.ts +5 -6
  136. package/src/be/db/session-tree.ts +153 -14
  137. package/src/be/db/tasks/read.ts +11 -0
  138. package/src/be/db/tasks/write.ts +6 -1
  139. package/src/be/db/workflow-runs.ts +183 -1
  140. package/src/be/db-retention.ts +61 -6
  141. package/src/be/db.ts +59 -114
  142. package/src/be/memory/providers/openai-embedding.ts +5 -1
  143. package/src/be/migrations/244_api_key_validation.sql +4 -0
  144. package/src/be/onboarding.ts +4 -0
  145. package/src/be/scripts/typecheck.ts +1 -1
  146. package/src/be/session-source-backfill.ts +163 -0
  147. package/src/be/swarm-config-guard.ts +1 -0
  148. package/src/comb/review-batch.ts +28 -1
  149. package/src/comb/templates.ts +7 -2
  150. package/src/commands/claude-managed-setup.ts +7 -1
  151. package/src/commands/credential-refresh.ts +76 -1
  152. package/src/commands/credential-wait.ts +2 -2
  153. package/src/commands/provider-credentials.ts +210 -170
  154. package/src/commands/runner.ts +25 -4
  155. package/src/extensions/apply-task-create.ts +8 -1
  156. package/src/extensions/contract-types.generated.ts +1 -1
  157. package/src/extensions/contract.ts +5 -0
  158. package/src/http/all-routes.ts +2 -0
  159. package/src/http/api-keys.ts +53 -0
  160. package/src/http/assets.ts +15 -0
  161. package/src/http/codex-oauth-accounts.ts +191 -0
  162. package/src/http/comb.ts +15 -2
  163. package/src/http/config.ts +1 -1
  164. package/src/http/core.ts +6 -0
  165. package/src/http/fleet-benchmark.ts +5 -2
  166. package/src/http/index.ts +11 -0
  167. package/src/http/integrations.ts +5 -1
  168. package/src/http/kv.ts +8 -3
  169. package/src/http/onboarding.ts +6 -1
  170. package/src/http/pool-keys.ts +354 -0
  171. package/src/http/sessions.ts +37 -12
  172. package/src/http/stats.ts +1 -0
  173. package/src/http/status.ts +26 -12
  174. package/src/http/tasks.ts +3 -0
  175. package/src/http/used-by.ts +7 -2
  176. package/src/http/workflows.ts +78 -9
  177. package/src/integrations/chat-sdk/inbound.ts +27 -0
  178. package/src/kv-reserved-namespaces.ts +19 -0
  179. package/src/providers/acp-targets.ts +1 -1
  180. package/src/providers/amp-adapter.ts +1 -1
  181. package/src/providers/claude-adapter.ts +5 -1
  182. package/src/providers/claude-managed-adapter.ts +16 -9
  183. package/src/providers/codex-adapter.ts +71 -11
  184. package/src/scheduler/scheduler.ts +3 -2
  185. package/src/scripts-runtime/swarm-sdk.ts +7 -1
  186. package/src/scripts-runtime/types/stdlib.d.ts +1 -1
  187. package/src/scripts-runtime/types/swarm-extension.d.ts +17 -8
  188. package/src/scripts-runtime/types/swarm-sdk.d.ts +1 -1
  189. package/src/slack/assistant.ts +7 -0
  190. package/src/slack/channel-labels.ts +74 -0
  191. package/src/slack/handlers.ts +8 -0
  192. package/src/slack/inbound-files.ts +5 -2
  193. package/src/slack/thread-buffer.ts +4 -0
  194. package/src/tasks/sibling-awareness.ts +12 -3
  195. package/src/telemetry-context.ts +5 -6
  196. package/src/telemetry-identity.ts +3 -3
  197. package/src/tests/api-keys-validation.test.ts +170 -0
  198. package/src/tests/claude-managed-adapter.test.ts +46 -0
  199. package/src/tests/claude-routes-e2e.test.ts +7 -2
  200. package/src/tests/codex-credential-pools.test.ts +120 -0
  201. package/src/tests/codex-gateway-route.test.ts +165 -0
  202. package/src/tests/codex-oauth-accounts.test.ts +357 -0
  203. package/src/tests/comb-review-batch.test.ts +63 -2
  204. package/src/tests/config-pool-keys.test.ts +533 -0
  205. package/src/tests/credential-check.test.ts +290 -2
  206. package/src/tests/credential-refresh.test.ts +172 -1
  207. package/src/tests/db-retention.test.ts +9 -3
  208. package/src/tests/db-task-read-contract.test.ts +1 -0
  209. package/src/tests/db-task-write-contract.test.ts +1 -3
  210. package/src/tests/docs-index-footprint.test.js +3 -3
  211. package/src/tests/extensions-pre-task.test.ts +53 -1
  212. package/src/tests/fixtures/extensions/record-task-create/hooks.ts +9 -0
  213. package/src/tests/fixtures/extensions/record-task-create/manifest.json +7 -0
  214. package/src/tests/fleet-benchmark.test.ts +8 -0
  215. package/src/tests/get-workflow-run-tool.test.ts +98 -0
  216. package/src/tests/integrations-http.test.ts +32 -2
  217. package/src/tests/internal-ai/complete-structured.test.ts +37 -1
  218. package/src/tests/internal-ai/credentials.test.ts +23 -0
  219. package/src/tests/kv-http.test.ts +32 -0
  220. package/src/tests/kv-tool.test.ts +25 -0
  221. package/src/tests/multi-runtime-registration.test.ts +12 -12
  222. package/src/tests/onboarding.test.ts +108 -1
  223. package/src/tests/openai-embedding-credentials.test.ts +35 -0
  224. package/src/tests/openrouter-attribution-call-sites.test.ts +2 -2
  225. package/src/tests/org-website.test.ts +36 -0
  226. package/src/tests/provider-key-probes.test.ts +181 -0
  227. package/src/tests/rbac-e2e-helpers.test.ts +88 -1
  228. package/src/tests/rbac-e2e-helpers.ts +36 -11
  229. package/src/tests/script-connections.test.ts +2 -0
  230. package/src/tests/script-runs-retention.test.ts +212 -0
  231. package/src/tests/sdk-allowlist.test.ts +39 -0
  232. package/src/tests/session-source-backfill.test.ts +429 -0
  233. package/src/tests/session-source-keys.test.ts +236 -0
  234. package/src/tests/session-source-labels.test.ts +419 -0
  235. package/src/tests/sessions-detail-batch.test.ts +2 -0
  236. package/src/tests/sessions-move.test.ts +131 -0
  237. package/src/tests/sessions-tree.test.ts +299 -2
  238. package/src/tests/slack-inbound-files.test.ts +103 -23
  239. package/src/tests/status.test.ts +101 -18
  240. package/src/tests/tasks-workflow-run-filter.test.ts +146 -0
  241. package/src/tests/test-net.ts +31 -0
  242. package/src/tests/transcription.test.ts +8 -0
  243. package/src/tests/used-by-route.test.ts +11 -0
  244. package/src/tests/workflow-cascade-cancel.test.ts +172 -0
  245. package/src/tests/workflow-http-v2.test.ts +131 -0
  246. package/src/tests/workflow-step-order.test.ts +92 -0
  247. package/src/tests/workflow-sub-workflow.test.ts +30 -0
  248. package/src/tools/get-tasks.ts +8 -0
  249. package/src/tools/kv/kv-read-auth.ts +4 -2
  250. package/src/tools/task-action.ts +1 -1
  251. package/src/tools/workflows/get-workflow-run.ts +14 -4
  252. package/src/types.ts +24 -0
  253. package/src/utils/company-profile.ts +51 -1
  254. package/src/utils/credentials.ts +5 -2
  255. package/src/utils/internal-ai/complete-structured.ts +5 -0
  256. package/src/utils/internal-ai/credentials.ts +4 -3
  257. package/src/utils/provider-key-probes.ts +328 -0
  258. package/src/utils/transcription.ts +4 -1
  259. package/src/workflows/executors/sub-workflow.ts +8 -1
  260. package/templates/ai-toolbox.manifest.json +2 -2
  261. package/templates/skills/researching/content.md +2 -0
  262. package/templates/skills/swarm-scripts/SKILL.md +1 -0
  263. package/templates/skills/swarm-scripts/content.md +1 -0
  264. package/dist/cli-7421jzsw.js +0 -84
  265. package/dist/cli-e45e4m6b.js +0 -413
  266. package/dist/cli-zw88zjba.js +0 -307
  267. package/dist/handlers-wy1dr6ja.js +0 -41
  268. package/dist/index-nmm79qgr.js +0 -43
  269. package/dist/lead-sawnyqxk.js +0 -79
  270. package/dist/render-v2-pjwxvnkw.js +0 -12
  271. package/dist/worker-v5e5rxj3.js +0 -79
@@ -2,11 +2,11 @@ import {
2
2
  runtimeCatalogSection,
3
3
  runtimeCatalogModel,
4
4
  init_runtime_model_catalog
5
- } from "./cli-6x9ma5w5.js";
5
+ } from "./cli-803188pb.js";
6
6
  import {
7
7
  buildClaudeShortnameMap,
8
8
  init_src2
9
- } from "./cli-nwyw3zhg.js";
9
+ } from "./cli-gxee0bqa.js";
10
10
  import {
11
11
  __esm
12
12
  } from "./cli-242037k3.js";
@@ -10,7 +10,7 @@ import {
10
10
  init_steering,
11
11
  createLogEntry2,
12
12
  init_db3
13
- } from "./cli-jb30dzvk.js";
13
+ } from "./cli-g8ka5j4j.js";
14
14
  import {
15
15
  ackSlackMessage,
16
16
  buildBufferFlushBlocks,
@@ -20,7 +20,7 @@ import {
20
20
  ensureSlackThreadTree2,
21
21
  registerTreeMessage,
22
22
  getSlackApp2
23
- } from "./cli-abs8ndtr.js";
23
+ } from "./cli-g20jjwt4.js";
24
24
  import {
25
25
  createAdditiveBuffer,
26
26
  TaskCreationBlockedError,
@@ -30,15 +30,15 @@ import {
30
30
  createSlackTaskWithFiles,
31
31
  notifySlackFileFailures,
32
32
  extractSlackMessageText
33
- } from "./cli-asq5ydm4.js";
33
+ } from "./cli-4hxrf0p4.js";
34
34
  import {
35
35
  resolveSlackUserId,
36
36
  rewriteSlackMentions
37
- } from "./cli-jbnn4vxb.js";
37
+ } from "./cli-24j1jeeb.js";
38
38
  import {
39
39
  findUserByExternalId,
40
40
  init_users
41
- } from "./cli-6a1xg1p7.js";
41
+ } from "./cli-esakngh8.js";
42
42
  import {
43
43
  isSteeringEnabled2,
44
44
  init_steering_enabled
@@ -46,7 +46,7 @@ import {
46
46
  import {
47
47
  scrubSecrets,
48
48
  init_secret_scrubber
49
- } from "./cli-n4c8e3s5.js";
49
+ } from "./cli-708wdy32.js";
50
50
  import {
51
51
  __using,
52
52
  __callDispose
@@ -311,7 +311,10 @@ ${description}` : description;
311
311
  parentTaskId: mostRecentTask?.id,
312
312
  inheritParentOutputSchema: false,
313
313
  contextKey: slackContextKey({ channelId, threadTs })
314
- }, inbound);
314
+ }, inbound, {
315
+ trigger: "thread-buffer",
316
+ messages: items.map(({ ts, userId, text }) => ({ ts, userId, text }))
317
+ });
315
318
  } catch (error) {
316
319
  if (!(error instanceof TaskCreationBlockedError))
317
320
  throw error;
@@ -2,7 +2,7 @@ import {
2
2
  DEFAULT_E2B_API_BASE,
3
3
  redactWithEnv,
4
4
  init_env
5
- } from "./cli-ha9rmwgq.js";
5
+ } from "./cli-fb8m699c.js";
6
6
  import {
7
7
  __toESM,
8
8
  __esm
@@ -47,7 +47,7 @@ import {
47
47
  import {
48
48
  persistCodexOAuth,
49
49
  getValidCodexOAuth
50
- } from "./cli-kxpfx2xr.js";
50
+ } from "./cli-0z1xjzwa.js";
51
51
  import {
52
52
  registerSessionResourceCleanup,
53
53
  cleanupSessionResources,
@@ -95,8 +95,10 @@ import {
95
95
  } from "./cli-pkaqk57w.js";
96
96
  import {
97
97
  isFirstPartyAnthropicUrl,
98
- init_src
99
- } from "./cli-e45e4m6b.js";
98
+ init_src,
99
+ selectCredential,
100
+ init_credentials
101
+ } from "./cli-1tem6ns9.js";
100
102
  import {
101
103
  __export
102
104
  } from "./cli-242037k3.js";
@@ -15254,6 +15256,9 @@ async function completeSimple(model, context, options) {
15254
15256
  return s.result();
15255
15257
  }
15256
15258
 
15259
+ // src/utils/internal-ai/credentials.ts
15260
+ init_credentials();
15261
+
15257
15262
  // src/utils/internal-ai/models.ts
15258
15263
  var DEFAULT_MODEL = {
15259
15264
  openrouter: "openrouter/deepseek/deepseek-v4.1-flash",
@@ -15310,7 +15315,7 @@ async function resolveCredential(opts = {}) {
15310
15315
  if (openrouterKey) {
15311
15316
  return {
15312
15317
  kind: "openrouter",
15313
- apiKey: openrouterKey,
15318
+ apiKey: selectCredential(openrouterKey, undefined, "OPENROUTER_API_KEY").selected,
15314
15319
  modelDefault: resolveRaterModelString("openrouter")
15315
15320
  };
15316
15321
  }
@@ -15320,7 +15325,7 @@ async function resolveCredential(opts = {}) {
15320
15325
  if (anthropicKey) {
15321
15326
  return {
15322
15327
  kind: "anthropic",
15323
- apiKey: anthropicKey,
15328
+ apiKey: selectCredential(anthropicKey, undefined, "ANTHROPIC_API_KEY").selected,
15324
15329
  modelDefault: resolveRaterModelString("anthropic")
15325
15330
  };
15326
15331
  }
@@ -15328,7 +15333,7 @@ async function resolveCredential(opts = {}) {
15328
15333
  if (openaiKey) {
15329
15334
  return {
15330
15335
  kind: "openai",
15331
- apiKey: openaiKey,
15336
+ apiKey: selectCredential(openaiKey, undefined, "OPENAI_API_KEY").selected,
15332
15337
  modelDefault: resolveRaterModelString("openai")
15333
15338
  };
15334
15339
  }
@@ -34,7 +34,7 @@ import {
34
34
  stream4,
35
35
  streamSimple2,
36
36
  completeSimple
37
- } from "./cli-qqzmjxkf.js";
37
+ } from "./cli-v49fkghp.js";
38
38
  import {
39
39
  lazyStream,
40
40
  ModelsError,
@@ -54374,7 +54374,7 @@ function loadAllHighlightLanguages() {
54374
54374
  if (!allLanguagesPromise) {
54375
54375
  allLanguagesPromise = new Promise((resolve) => {
54376
54376
  setImmediate(() => {
54377
- import("./index-31ceyf42.js").then((m)=>__toESM(m.default,1)).then(() => resolve(), () => {
54377
+ import("./index-pkma1yf8.js").then((m)=>__toESM(m.default,1)).then(() => resolve(), () => {
54378
54378
  resolve();
54379
54379
  });
54380
54380
  });
@@ -60517,7 +60517,7 @@ function getCreateJiti() {
60517
60517
  }
60518
60518
  var virtualModulesPromise;
60519
60519
  function getVirtualModules() {
60520
- virtualModulesPromise ??= import("./virtual-modules-mnfbh5mr.js").then((module) => module.VIRTUAL_MODULES);
60520
+ virtualModulesPromise ??= import("./virtual-modules-52km00d6.js").then((module) => module.VIRTUAL_MODULES);
60521
60521
  return virtualModulesPromise;
60522
60522
  }
60523
60523
  var _aliases = null;
@@ -80221,7 +80221,7 @@ function parseCodemodeSource(input) {
80221
80221
  }
80222
80222
 
80223
80223
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/codemode/execute.lazy.js
80224
- var loadCodemodeExecutor = () => import("./execute-0xpz8950.js");
80224
+ var loadCodemodeExecutor = () => import("./execute-jev839y1.js");
80225
80225
 
80226
80226
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/codemode/renderer.js
80227
80227
  var CODE_PREVIEW_LINES = 10;
@@ -81377,7 +81377,7 @@ function createMcpResourceToolDefinitions(options) {
81377
81377
  }
81378
81378
 
81379
81379
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/runtime.lazy.js
81380
- var loadMcpRuntime = () => import("./runtime-bt5pkpm1.js");
81380
+ var loadMcpRuntime = () => import("./runtime-hqe5cqcd.js");
81381
81381
 
81382
81382
  // node_modules/@earendil-works/pi-coding-agent/dist/utils/clipboard.js
81383
81383
  import { randomUUID as randomUUID3 } from "node:crypto";
@@ -86498,7 +86498,7 @@ var builtInExtensions = [
86498
86498
  ];
86499
86499
 
86500
86500
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/cli.lazy.js
86501
- var loadMcpCommand = () => import("./cli-03vpq45j.js");
86501
+ var loadMcpCommand = () => import("./cli-3ndmpxxv.js");
86502
86502
 
86503
86503
  // node_modules/@earendil-works/pi-coding-agent/dist/migrations.js
86504
86504
  import { existsSync as existsSync22, mkdirSync as mkdirSync11, readdirSync as readdirSync10, readFileSync as readFileSync17, renameSync as renameSync2, rmSync as rmSync3, writeFileSync as writeFileSync11 } from "fs";
@@ -89025,7 +89025,7 @@ function playEasterEgg3d(tui, egg) {
89025
89025
  if (tui.hasOverlay())
89026
89026
  return true;
89027
89027
  const screen = tui.getScreenLines();
89028
- import("./easter-egg-3d-e4qv8dxj.js").then((module) => module.playEasterEgg3d(tui, screen, egg), () => {});
89028
+ import("./easter-egg-3d-4sp4dvmc.js").then((module) => module.playEasterEgg3d(tui, screen, egg), () => {});
89029
89029
  return true;
89030
89030
  }
89031
89031
  function playPiLogo3d(tui, column, row) {
@@ -2,7 +2,7 @@ import {
2
2
  openAICompatibleKeyVars,
3
3
  openAICompatibleBaseUrlVars,
4
4
  init_src2
5
- } from "./cli-nwyw3zhg.js";
5
+ } from "./cli-gxee0bqa.js";
6
6
 
7
7
  // src/providers/acp-target-catalog.ts
8
8
  init_src2();
@@ -7,14 +7,14 @@ import {
7
7
  ACP_TARGET_IDS,
8
8
  isAcpTarget,
9
9
  getAcpTargetCatalogEntry
10
- } from "./cli-5kqnemen.js";
10
+ } from "./cli-yvy48785.js";
11
11
  import {
12
12
  applyReasoningEffort
13
- } from "./cli-bn0rewsy.js";
13
+ } from "./cli-c081bj3b.js";
14
14
  import {
15
15
  applyOpenRouterBaseUrlOverride2,
16
16
  buildOpenAICompatibleProviderBlock2
17
- } from "./cli-hh5we352.js";
17
+ } from "./cli-9abdgn5t.js";
18
18
  import {
19
19
  fetchInstalledMcpServers
20
20
  } from "./cli-bst1vp7e.js";
@@ -22,7 +22,7 @@ import {
22
22
  getContextWindowSize,
23
23
  clampContextPercent,
24
24
  init_context_window
25
- } from "./cli-0shx9j93.js";
25
+ } from "./cli-pfk92eqz.js";
26
26
  import {
27
27
  NEVER,
28
28
  string2,
@@ -44,18 +44,18 @@ import {
44
44
  import {
45
45
  init_package,
46
46
  package_default
47
- } from "./cli-xtrz6bzs.js";
47
+ } from "./cli-nn6vx2mq.js";
48
48
  import {
49
49
  scrubSecrets,
50
50
  init_secret_scrubber
51
- } from "./cli-n4c8e3s5.js";
51
+ } from "./cli-708wdy32.js";
52
52
  import {
53
53
  normalizeGrokModel,
54
54
  baseUrlOverride,
55
55
  providerBaseUrl,
56
56
  providerForModel,
57
57
  init_src2
58
- } from "./cli-nwyw3zhg.js";
58
+ } from "./cli-gxee0bqa.js";
59
59
 
60
60
  // node_modules/@agentclientprotocol/sdk/dist/v1/unstable/schema/index.js
61
61
  var AGENT_METHODS = {
package/dist/cli.js CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  scrubSecrets,
26
26
  init_secret_scrubber
27
- } from "./cli-n4c8e3s5.js";
27
+ } from "./cli-708wdy32.js";
28
28
  import {
29
29
  __toESM,
30
30
  __commonJS
@@ -53,7 +53,7 @@ var import_react = __toESM(require_react(), 1);
53
53
  // package.json
54
54
  var package_default = {
55
55
  name: "@desplega.ai/agent-swarm",
56
- version: "2.5.4",
56
+ version: "2.6.0",
57
57
  description: "agent-swarm.dev — an open-source operating system for AI work: a lead agent breaks goals into tasks, routes them to specialized workers such as Claude Code or Codex, runs each worker in an isolated container, and preserves shared memory, tools, schedules, and review gates so delegated work compounds across sessions.",
58
58
  keywords: [
59
59
  "agent-swarm.dev",
@@ -836,7 +836,7 @@ function McpServer({ port, apiKey, dbPath }) {
836
836
  if (dbPath) {
837
837
  process.env.DATABASE_PATH = dbPath;
838
838
  }
839
- import("./http-tkp7d4kb.js").then(() => {
839
+ import("./http-9c6medda.js").then(() => {
840
840
  setStatus("running");
841
841
  }).catch((err) => {
842
842
  setStatus("error");
@@ -923,7 +923,7 @@ function WorkerRunner({
923
923
  const { exit } = use_app_default();
924
924
  import_react.useEffect(() => {
925
925
  installConsoleScrub();
926
- import("./worker-v5e5rxj3.js").then(({ runWorker }) => runWorker({
926
+ import("./worker-e3w7vye1.js").then(({ runWorker }) => runWorker({
927
927
  prompt: prompt || undefined,
928
928
  yolo,
929
929
  systemPrompt: systemPrompt || undefined,
@@ -941,7 +941,7 @@ function LeadRunner({ prompt, yolo, systemPrompt, systemPromptFile, additionalAr
941
941
  const { exit } = use_app_default();
942
942
  import_react.useEffect(() => {
943
943
  installConsoleScrub();
944
- import("./lead-sawnyqxk.js").then(({ runLead }) => runLead({
944
+ import("./lead-23e7z59t.js").then(({ runLead }) => runLead({
945
945
  prompt: prompt || undefined,
946
946
  yolo,
947
947
  systemPrompt: systemPrompt || undefined,
@@ -981,8 +981,8 @@ function LazyComponent({
981
981
  }
982
982
  return import_react.createElement(Component, props);
983
983
  }
984
- var loadOnboard = () => import("./onboard-sfmpe4np.js").then(({ Onboard }) => Onboard);
985
- var loadConnect = () => import("./setup-mq6m3m8q.js").then(({ Setup }) => Setup);
984
+ var loadOnboard = () => import("./onboard-p6q0vz97.js").then(({ Onboard }) => Onboard);
985
+ var loadConnect = () => import("./setup-4rrmqcq3.js").then(({ Setup }) => Setup);
986
986
  function UnknownCommand({ command }) {
987
987
  const { exit } = use_app_default();
988
988
  import_react.useEffect(() => {
@@ -1112,19 +1112,19 @@ ${binName} docs \u2014 v${package_default.version}
1112
1112
  }
1113
1113
  process.exit(0);
1114
1114
  } else if (args.command === "hook") {
1115
- const { runHook } = await import("./hook-g7kvv6x9.js");
1115
+ const { runHook } = await import("./hook-6d0zbvvt.js");
1116
1116
  await runHook();
1117
1117
  } else if (args.command === "codex-hook") {
1118
1118
  const { handleCodexHook } = await import("./codex-hook-brpnycn5.js");
1119
1119
  await handleCodexHook();
1120
1120
  process.exit(process.exitCode ?? 0);
1121
1121
  } else if (args.command === "session-summary-stdin") {
1122
- const { runSessionSummaryFromStdin } = await import("./hook-3jjywnpb.js");
1122
+ const { runSessionSummaryFromStdin } = await import("./hook-cpjs8q51.js");
1123
1123
  await runSessionSummaryFromStdin();
1124
1124
  process.exit(process.exitCode ?? 0);
1125
1125
  } else if (args.command === "x") {
1126
1126
  const xArgs = process.argv.slice(process.argv.indexOf("x") + 1);
1127
- const { runXCommand } = await import("./x-pbpezr0s.js");
1127
+ const { runXCommand } = await import("./x-wxrzvzx8.js");
1128
1128
  await runXCommand(xArgs);
1129
1129
  } else if (args.command === "scripts") {
1130
1130
  const scriptsArgs = process.argv.slice(process.argv.indexOf("scripts") + 1);
@@ -1132,7 +1132,7 @@ ${binName} docs \u2014 v${package_default.version}
1132
1132
  printHelp("scripts");
1133
1133
  process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
1134
1134
  }
1135
- const { runScriptsMaintenanceCommand } = await import("./maintenance-84n1ex21.js");
1135
+ const { runScriptsMaintenanceCommand } = await import("./maintenance-kbme3qy9.js");
1136
1136
  await runScriptsMaintenanceCommand(scriptsArgs);
1137
1137
  console.log("Scripts re-embedded.");
1138
1138
  } else if (args.command === "rbac") {
@@ -1142,17 +1142,17 @@ ${binName} docs \u2014 v${package_default.version}
1142
1142
  printHelp("rbac");
1143
1143
  process.exit(args.showHelp ? 0 : 1);
1144
1144
  }
1145
- const { runRbacCliCommand } = await import("./rbac-roles-zxmxqa39.js");
1145
+ const { runRbacCliCommand } = await import("./rbac-roles-dexhc9x8.js");
1146
1146
  await runRbacCliCommand(rbacArgs);
1147
1147
  } else if (args.command === "codex-login") {
1148
- const { runCodexLogin } = await import("./codex-login-rn7c5gxt.js");
1148
+ const { runCodexLogin } = await import("./codex-login-8cg0vhf2.js");
1149
1149
  const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
1150
1150
  await runCodexLogin(codexLoginArgs);
1151
1151
  } else if (args.command === "codex-session-runner") {
1152
- const { runCodexSessionRunner } = await import("./codex-session-runner-41pfcr95.js");
1152
+ const { runCodexSessionRunner } = await import("./codex-session-runner-gdwd8h0c.js");
1153
1153
  await runCodexSessionRunner();
1154
1154
  } else if (args.command === "claude-managed-setup") {
1155
- const { runClaudeManagedSetup } = await import("./claude-managed-setup-bqzwjd9x.js");
1155
+ const { runClaudeManagedSetup } = await import("./claude-managed-setup-3cm35gey.js");
1156
1156
  const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
1157
1157
  await runClaudeManagedSetup(setupArgs);
1158
1158
  } else if (args.command === "worker-token") {
@@ -1160,11 +1160,11 @@ ${binName} docs \u2014 v${package_default.version}
1160
1160
  const tokenArgs = process.argv.slice(process.argv.indexOf("worker-token") + 1);
1161
1161
  process.exit(await runWorkerToken(tokenArgs));
1162
1162
  } else if (args.command === "e2b") {
1163
- const { runE2BCommand } = await import("./e2b-9gkdhm3c.js");
1163
+ const { runE2BCommand } = await import("./e2b-222hsajc.js");
1164
1164
  const e2bArgs = process.argv.slice(process.argv.indexOf("e2b") + 1);
1165
1165
  await runE2BCommand(e2bArgs);
1166
1166
  } else if (args.command === "controller") {
1167
- const { runController } = await import("./controller-ja0sd95p.js");
1167
+ const { runController } = await import("./controller-z3jq589f.js");
1168
1168
  await runController(process.argv.slice(process.argv.indexOf("controller") + 1));
1169
1169
  } else {
1170
1170
  render_default(/* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
@@ -2,21 +2,21 @@ import {
2
2
  checkCodexCredentials2,
3
3
  createInProcessCodexSession2,
4
4
  CodexAdapter2
5
- } from "./cli-64mh9mf3.js";
5
+ } from "./cli-ca6banwz.js";
6
6
  import"./cli-4zsenjhy.js";
7
7
  import"./cli-kr5tjjtz.js";
8
8
  import"./cli-vbhgkw9h.js";
9
9
  import"./cli-4bd1rck6.js";
10
10
  import"./cli-jc1g9ndz.js";
11
- import"./cli-mmhj8vd7.js";
11
+ import"./cli-ag2yrnt5.js";
12
12
  import"./cli-0726awxw.js";
13
- import"./cli-2655k16q.js";
14
- import"./cli-gx4rm0qx.js";
15
- import"./cli-bn0rewsy.js";
13
+ import"./cli-nq677csy.js";
14
+ import"./cli-7enjwya9.js";
15
+ import"./cli-c081bj3b.js";
16
16
  import"./cli-3h26v7yj.js";
17
17
  import"./cli-3ggwdtb0.js";
18
- import"./cli-qqzmjxkf.js";
19
- import"./cli-kxpfx2xr.js";
18
+ import"./cli-v49fkghp.js";
19
+ import"./cli-0z1xjzwa.js";
20
20
  import"./cli-e8xyjvfc.js";
21
21
  import"./cli-13p25grh.js";
22
22
  import"./cli-0adyhvq2.js";
@@ -4,7 +4,7 @@ import {
4
4
  MAX_CODEX_OAUTH_SLOT,
5
5
  loadAllCodexOAuthSlots,
6
6
  storeCodexOAuth
7
- } from "./cli-kxpfx2xr.js";
7
+ } from "./cli-0z1xjzwa.js";
8
8
  import {
9
9
  getApiKey,
10
10
  init_api_key
@@ -1,23 +1,23 @@
1
1
  import"./cli-3h26v7yj.js";
2
- import"./cli-2655k16q.js";
3
- import"./cli-gx4rm0qx.js";
2
+ import"./cli-nq677csy.js";
3
+ import"./cli-7enjwya9.js";
4
4
  import"./cli-445c1vp7.js";
5
- import"./cli-qqzmjxkf.js";
5
+ import"./cli-v49fkghp.js";
6
6
  import"./cli-2nf3b08t.js";
7
7
  import"./cli-kvzgak7c.js";
8
- import"./cli-kxpfx2xr.js";
9
- import"./cli-mmhj8vd7.js";
8
+ import"./cli-0z1xjzwa.js";
9
+ import"./cli-ag2yrnt5.js";
10
10
  import"./cli-e8xyjvfc.js";
11
11
  import"./cli-3ggwdtb0.js";
12
12
  import {
13
13
  createInProcessCodexSession2
14
- } from "./cli-64mh9mf3.js";
14
+ } from "./cli-ca6banwz.js";
15
15
  import"./cli-jc1g9ndz.js";
16
16
  import"./cli-0726awxw.js";
17
17
  import"./cli-4bd1rck6.js";
18
18
  import"./cli-kr5tjjtz.js";
19
19
  import"./cli-vbhgkw9h.js";
20
- import"./cli-bn0rewsy.js";
20
+ import"./cli-c081bj3b.js";
21
21
  import"./cli-4zsenjhy.js";
22
22
  import"./cli-13p25grh.js";
23
23
  import"./cli-0adyhvq2.js";
@@ -25,7 +25,7 @@ import"./cli-rycdaj0a.js";
25
25
  import {
26
26
  scrubSecrets,
27
27
  init_secret_scrubber
28
- } from "./cli-n4c8e3s5.js";
28
+ } from "./cli-708wdy32.js";
29
29
 
30
30
  // src/commands/codex-session-runner.ts
31
31
  init_secret_scrubber();
@@ -2,11 +2,11 @@ import {
2
2
  getAllAgents2,
3
3
  getAllTasks2,
4
4
  init_db3
5
- } from "./cli-jb30dzvk.js";
5
+ } from "./cli-g8ka5j4j.js";
6
6
  import {
7
7
  EXTERNAL_CHANNEL_BLOCKED_REPLY2,
8
8
  shouldBlockChannel2
9
- } from "./cli-eftzyh9y.js";
9
+ } from "./cli-gnsb1zxa.js";
10
10
  import {
11
11
  isEnvFlagEnabled,
12
12
  init_env_flag
@@ -3,20 +3,20 @@ import {
3
3
  CONTROLLER_PROTOCOL_VERSION,
4
4
  CONTROLLER_PING_INTERVAL_MS,
5
5
  ControllerServerMessageSchema
6
- } from "./cli-6n8axjv1.js";
6
+ } from "./cli-d2dpf95n.js";
7
7
  import {
8
8
  createRuntimeProvider,
9
9
  init_runtime_providers
10
- } from "./cli-dew6x255.js";
10
+ } from "./cli-39aet655.js";
11
11
  import {
12
12
  RuntimeProviderKindSchema,
13
13
  init_types
14
- } from "./cli-mz9afxxf.js";
14
+ } from "./cli-4rf0f5vg.js";
15
15
  import {
16
16
  scrubSecrets,
17
17
  registerVolatileSecret,
18
18
  init_secret_scrubber
19
- } from "./cli-n4c8e3s5.js";
19
+ } from "./cli-708wdy32.js";
20
20
 
21
21
  // src/commands/controller.ts
22
22
  init_runtime_providers();
@@ -6,18 +6,18 @@ import {
6
6
  isRuntimePoolsEnabled,
7
7
  init_runtime_pools_flag,
8
8
  init_db3
9
- } from "./cli-jb30dzvk.js";
9
+ } from "./cli-g8ka5j4j.js";
10
10
  import {
11
11
  CONTROLLER_PROTOCOL_VERSION,
12
12
  CONTROLLER_PING_INTERVAL_MS,
13
13
  ControllerClientMessageSchema
14
- } from "./cli-6n8axjv1.js";
14
+ } from "./cli-d2dpf95n.js";
15
15
  import"./cli-e8xyjvfc.js";
16
- import"./cli-gbfxp48k.js";
16
+ import"./cli-3fwqy71j.js";
17
17
  import {
18
18
  getRuntimeController2,
19
19
  init_db
20
- } from "./cli-19202kew.js";
20
+ } from "./cli-gf95q3bm.js";
21
21
  import {
22
22
  remoteControllerSession,
23
23
  installRemoteController,
@@ -26,40 +26,40 @@ import {
26
26
  ensureRuntimeOwnerId,
27
27
  reconcileRemoteProvisions,
28
28
  reconcileControllerOrphans
29
- } from "./cli-1r5ad7j5.js";
29
+ } from "./cli-c2habvsf.js";
30
30
  import {
31
31
  resolveHttpRequestAuth
32
- } from "./cli-asq5ydm4.js";
33
- import"./cli-7p4jxgtt.js";
34
- import"./cli-tsma7p8v.js";
32
+ } from "./cli-4hxrf0p4.js";
33
+ import"./cli-3gfvmzht.js";
34
+ import"./cli-kf4jree9.js";
35
35
  import"./cli-3ggwdtb0.js";
36
- import"./cli-abs8ndtr.js";
37
- import"./cli-eftzyh9y.js";
38
- import"./cli-qqzmjxkf.js";
36
+ import"./cli-g20jjwt4.js";
37
+ import"./cli-gnsb1zxa.js";
38
+ import"./cli-v49fkghp.js";
39
39
  import"./cli-2nf3b08t.js";
40
40
  import"./cli-kvzgak7c.js";
41
41
  import"./cli-445c1vp7.js";
42
- import"./cli-kxpfx2xr.js";
43
- import"./cli-dabehxhp.js";
44
- import"./cli-x0f2v69c.js";
45
- import"./cli-9s05422w.js";
46
- import"./cli-sbwsxvtd.js";
47
- import"./cli-bvpgr9ny.js";
42
+ import"./cli-0z1xjzwa.js";
43
+ import"./cli-kt907da6.js";
44
+ import"./cli-3aqd4jaa.js";
45
+ import"./cli-bqztfyve.js";
46
+ import"./cli-5sckpqcx.js";
47
+ import"./cli-aj8djyqt.js";
48
48
  import"./cli-qz93y3x5.js";
49
- import"./cli-ff1tm9n9.js";
50
- import"./cli-c61mbdds.js";
49
+ import"./cli-a2rr0fmg.js";
50
+ import"./cli-03gg9pd1.js";
51
51
  import"./cli-g9ypd5en.js";
52
52
  import {
53
53
  route
54
- } from "./cli-gwhjmh8g.js";
54
+ } from "./cli-art7c1zh.js";
55
55
  import"./cli-3h26v7yj.js";
56
- import"./cli-pasyvjmm.js";
56
+ import"./cli-737pyqxr.js";
57
57
  import"./cli-13p25grh.js";
58
58
  import"./cli-0adyhvq2.js";
59
59
  import {
60
60
  registerSessionTokenConnection,
61
61
  init_session_token_connections
62
- } from "./cli-6a1xg1p7.js";
62
+ } from "./cli-esakngh8.js";
63
63
  import"./cli-rycdaj0a.js";
64
64
  import {
65
65
  getApiKey,
@@ -68,7 +68,7 @@ import {
68
68
  import {
69
69
  scrubSecrets,
70
70
  init_secret_scrubber
71
- } from "./cli-n4c8e3s5.js";
71
+ } from "./cli-708wdy32.js";
72
72
 
73
73
  // src/http/controllers-connect.ts
74
74
  init_db3();
@@ -2,9 +2,9 @@ import {
2
2
  checkCursorCredentials2,
3
3
  liveTestCursorKey2,
4
4
  CursorAdapter2
5
- } from "./cli-25n3mv5d.js";
5
+ } from "./cli-cz37jqss.js";
6
6
  import"./cli-jc1g9ndz.js";
7
- import"./cli-bn0rewsy.js";
7
+ import"./cli-c081bj3b.js";
8
8
  import"./cli-e8xyjvfc.js";
9
9
  export {
10
10
  CursorAdapter2 as CursorAdapter,
@@ -19,9 +19,9 @@ import {
19
19
  createPoolAgent2,
20
20
  loadRuntimeControllerSecrets2,
21
21
  init_db
22
- } from "./cli-19202kew.js";
23
- import"./cli-6a1xg1p7.js";
24
- import"./cli-jb30dzvk.js";
22
+ } from "./cli-gf95q3bm.js";
23
+ import"./cli-esakngh8.js";
24
+ import"./cli-g8ka5j4j.js";
25
25
  init_db();
26
26
 
27
27
  export {
@@ -126,6 +126,7 @@ import {
126
126
  SESSION_ACTIVITY_REFRESH_MIN_INTERVAL_MS2,
127
127
  refreshActiveSessionOnActivity2,
128
128
  recordKeySeatMismatch2,
129
+ recordKeyValidation2,
129
130
  getScriptRunExecutionArgs2,
130
131
  literalPrefixPattern2,
131
132
  getSlackRenderV2ActivatedAt2,
@@ -509,13 +510,13 @@ import {
509
510
  countScriptRunJournalSteps2,
510
511
  countScriptRunJournalAgentTaskSteps2,
511
512
  init_db3
512
- } from "./cli-jb30dzvk.js";
513
+ } from "./cli-g8ka5j4j.js";
513
514
  import {
514
515
  generateDefaultClaudeMd2,
515
516
  generateDefaultSoulMd2,
516
517
  generateDefaultIdentityMd2,
517
518
  generateDefaultToolsMd2
518
- } from "./cli-e42vss7b.js";
519
+ } from "./cli-hfeb68z4.js";
519
520
  init_db3();
520
521
 
521
522
  export {
@@ -946,6 +947,7 @@ export {
946
947
  recordKeyRateLimitWindows2 as recordKeyRateLimitWindows,
947
948
  recordKeySeatMismatch2 as recordKeySeatMismatch,
948
949
  recordKeyUsage2 as recordKeyUsage,
950
+ recordKeyValidation2 as recordKeyValidation,
949
951
  recordSlackMessage2 as recordSlackMessage,
950
952
  recordTaskProviderIfUnset2 as recordTaskProviderIfUnset,
951
953
  recordTaskPullRequestAttachments2 as recordTaskPullRequestAttachments,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  checkDevinCredentials2,
3
3
  DevinAdapter2
4
- } from "./cli-g1cw7xtt.js";
4
+ } from "./cli-39rrw8yp.js";
5
5
  export {
6
6
  DevinAdapter2 as DevinAdapter,
7
7
  checkDevinCredentials2 as checkDevinCredentials