@desplega.ai/agent-swarm 2.13.0 → 2.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/dist/acp-adapter-xtj40wd8.js +17 -0
  2. package/dist/{acp-targets-86f0sh6g.js → acp-targets-n7vm5atw.js} +10 -10
  3. package/dist/{actions-zv8vcxvr.js → actions-hq6wp9xv.js} +27 -27
  4. package/dist/{agent-fs-provision-jqshb33y.js → agent-fs-provision-y0qc1rdd.js} +4 -4
  5. package/dist/{amp-adapter-gt503ywc.js → amp-adapter-1qqs6h91.js} +3 -3
  6. package/dist/{app-6t4k5rh1.js → app-7m4z44rv.js} +10 -10
  7. package/dist/{approval-notifications-fcfw063h.js → approval-notifications-8sr41gjx.js} +11 -11
  8. package/dist/{assistant-9dzybh12.js → assistant-hkczwfv6.js} +28 -28
  9. package/dist/{boot-args-schema-xzfp2feg.js → boot-args-schema-8025snev.js} +1 -1
  10. package/dist/{boot-reembed-r88wngfg.js → boot-reembed-15m87nr1.js} +1 -1
  11. package/dist/{boot-reembed-3jz0p2jk.js → boot-reembed-4bbpxjh1.js} +1 -1
  12. package/dist/{boot-scrub-sweep-scrqhw48.js → boot-scrub-sweep-eajr97e9.js} +2 -2
  13. package/dist/{boot-seeds-vb2dcrrb.js → boot-seeds-9cwy39jx.js} +4 -4
  14. package/dist/{boxd-68n75y1s.js → boxd-hr8rsxzq.js} +1 -1
  15. package/dist/{claude-adapter-h3mp9hgs.js → claude-adapter-g61wa4rt.js} +9 -9
  16. package/dist/{claude-managed-adapter-kpbyj2vb.js → claude-managed-adapter-znkk0prm.js} +3 -3
  17. package/dist/{claude-managed-setup-0efr3wkg.js → claude-managed-setup-f1wndkr2.js} +2 -2
  18. package/dist/{claude-sdk-session-03dw669q.js → claude-sdk-session-687xzf21.js} +20763 -19381
  19. package/dist/{cli-gfcv679k.js → cli-04103ryh.js} +1 -1
  20. package/dist/{cli-hbq0kwxz.js → cli-0a336ze7.js} +4 -4
  21. package/dist/{cli-1v82d2w6.js → cli-0fx95c06.js} +4 -4
  22. package/dist/{cli-wxwv3t11.js → cli-0m77n7ej.js} +3 -3
  23. package/dist/{cli-j53hpbsm.js → cli-0xwb7zpt.js} +2 -2
  24. package/dist/{cli-0dg7ytxm.js → cli-13t0smbk.js} +917 -23
  25. package/dist/{cli-0pazkmd4.js → cli-1b5axkt1.js} +4 -4
  26. package/dist/{cli-6h88mn9q.js → cli-1carhg8g.js} +4 -4
  27. package/dist/{cli-hgsxnjyg.js → cli-1dr5at77.js} +10 -10
  28. package/dist/{cli-0jkenasr.js → cli-2v4xxnx2.js} +1 -1
  29. package/dist/{cli-dnh64e8e.js → cli-32xndx6b.js} +6 -6
  30. package/dist/{cli-hpb9x72z.js → cli-3m8vqehw.js} +9 -9
  31. package/dist/{cli-ercwc8xn.js → cli-3mf04tkh.js} +1 -1
  32. package/dist/{cli-7dbhnsj9.js → cli-3zyme1wt.js} +4 -4
  33. package/dist/{cli-s6zk31gr.js → cli-43dsqhcp.js} +4 -4
  34. package/dist/{cli-t35hx078.js → cli-4h90xaet.js} +2 -2
  35. package/dist/{cli-117g15t4.js → cli-4mj5g29m.js} +8 -8
  36. package/dist/{cli-47hz21se.js → cli-4tbvndmm.js} +4 -5
  37. package/dist/{cli-tn91wc6e.js → cli-50whymxq.js} +1 -1
  38. package/dist/{cli-js10kdk7.js → cli-5basv0e7.js} +19 -5
  39. package/dist/{cli-xfjn2kyq.js → cli-5v6b2am8.js} +5 -5
  40. package/dist/{cli-49f5jyhh.js → cli-6r1dwegd.js} +3 -3
  41. package/dist/{cli-kspxjftk.js → cli-7ewre3dm.js} +15 -6
  42. package/dist/{cli-n3qe7tyr.js → cli-84xtgbn6.js} +35 -2
  43. package/dist/{cli-w14j2z4k.js → cli-8cmjkbvj.js} +2 -2
  44. package/dist/{cli-2m6yaq6b.js → cli-8fj8yfmk.js} +1 -1
  45. package/dist/{cli-9m9kyw77.js → cli-8rbkw18r.js} +2 -2
  46. package/dist/{cli-x05p2d05.js → cli-9tevdxyf.js} +1 -1
  47. package/dist/{cli-f1952kjy.js → cli-9xx36trj.js} +4 -4
  48. package/dist/{cli-hc6e4tac.js → cli-a8ts6x1n.js} +6 -6
  49. package/dist/{cli-mh7pdxe0.js → cli-aebswqmz.js} +12 -12
  50. package/dist/{cli-ex1y88j3.js → cli-at67kvnp.js} +1 -1
  51. package/dist/{cli-b2jh3dyb.js → cli-bjmq14k9.js} +4 -4
  52. package/dist/{cli-mz34pxbk.js → cli-byxsctca.js} +11 -11
  53. package/dist/{cli-dka73bak.js → cli-c0tyzt73.js} +152 -12
  54. package/dist/{cli-wv20kbr3.js → cli-c8kqmzzf.js} +5 -5
  55. package/dist/{cli-qhhb30e8.js → cli-cd9acnvd.js} +9 -9
  56. package/dist/{cli-wndegmns.js → cli-cmgdptmx.js} +3 -3
  57. package/dist/{cli-1dbv9mj9.js → cli-cn6fpa1p.js} +1 -1
  58. package/dist/{cli-wrhbym01.js → cli-cp0m07wb.js} +6 -6
  59. package/dist/{cli-3p288654.js → cli-cpkxh68d.js} +2 -2
  60. package/dist/{cli-g6j6ac3h.js → cli-cqxwjb93.js} +2 -2
  61. package/dist/{cli-8hp56wat.js → cli-d2epqm0y.js} +1 -1
  62. package/dist/{cli-qm3ntjqs.js → cli-dd57p1gd.js} +13 -13
  63. package/dist/{cli-tstj6e8e.js → cli-fn8aj7gb.js} +250 -55
  64. package/dist/{cli-bpje8n65.js → cli-fp65jdp2.js} +31 -6
  65. package/dist/{cli-2skf1mdf.js → cli-gedf48yw.js} +4 -4
  66. package/dist/{cli-c8v2yvej.js → cli-gq6qhmrr.js} +2 -2
  67. package/dist/{cli-sq913bh1.js → cli-grcc2h2g.js} +8 -8
  68. package/dist/{cli-qec9bynj.js → cli-h03j6je3.js} +3 -3
  69. package/dist/{cli-mbwmqb5w.js → cli-h0ewec3d.js} +1 -1
  70. package/dist/{cli-jj3c5nyb.js → cli-h9bejmkf.js} +76 -39
  71. package/dist/{cli-ct8sz3np.js → cli-hs3mqswp.js} +6 -6
  72. package/dist/{cli-tdk7jtka.js → cli-hv3820ez.js} +1 -1
  73. package/dist/{cli-pqfecppn.js → cli-je587f74.js} +1 -1
  74. package/dist/{cli-y4a4458j.js → cli-jhtvt7gn.js} +3 -3
  75. package/dist/{cli-dkejt425.js → cli-mmw2sjaf.js} +7 -7
  76. package/dist/{cli-50w82h6m.js → cli-mwxez0pz.js} +1 -0
  77. package/dist/{cli-avxh26pd.js → cli-nk8swfpx.js} +4 -4
  78. package/dist/{cli-fhvk2nvp.js → cli-p7g7wd9n.js} +9 -9
  79. package/dist/{cli-bhgrhedp.js → cli-q8aq48v1.js} +1 -1
  80. package/dist/{cli-6a40p4kv.js → cli-qn79645p.js} +1 -1
  81. package/dist/{cli-nc6a8b5b.js → cli-qx1dwrr5.js} +2 -2
  82. package/dist/{cli-sdh61g52.js → cli-s6fhqbz1.js} +2 -2
  83. package/dist/{cli-eb279wn3.js → cli-sfajkbd7.js} +2 -2
  84. package/dist/{cli-z64t9pe6.js → cli-snypfjgj.js} +1 -1
  85. package/dist/{cli-ytc7fpza.js → cli-t25rq8mg.js} +4 -4
  86. package/dist/{cli-zqmmy073.js → cli-t90k0phh.js} +18 -18
  87. package/dist/{cli-fz9pcjsw.js → cli-tzzas8rb.js} +4 -4
  88. package/dist/{cli-rtmqzat7.js → cli-vdfngx2g.js} +2 -2
  89. package/dist/{cli-9w8712tq.js → cli-vr4eyq6p.js} +43 -14
  90. package/dist/{cli-z4f346g5.js → cli-vx9acp12.js} +1 -1
  91. package/dist/{cli-y518qkjg.js → cli-w24f3j49.js} +10 -10
  92. package/dist/{cli-yn4kt85g.js → cli-w41bvvms.js} +1 -1
  93. package/dist/{cli-9fsagra4.js → cli-w6c6dj91.js} +1 -1
  94. package/dist/{cli-kde4ky90.js → cli-x5yb8zc8.js} +2 -2
  95. package/dist/{cli-48nvk6sb.js → cli-xhkek467.js} +2 -2
  96. package/dist/{cli-avqkr20b.js → cli-y6qqbpwc.js} +2 -2
  97. package/dist/{cli-7wy8gbwb.js → cli-ya1cj689.js} +1 -1
  98. package/dist/{cli-prf7kz78.js → cli-yeh3g1q6.js} +603 -78
  99. package/dist/{cli-ajjvqhf3.js → cli-z6m6xzxt.js} +2 -2
  100. package/dist/{cli-2jk4s7z1.js → cli-zaate0rd.js} +3 -3
  101. package/dist/{cli-n85m2wkq.js → cli-zkbz8m2q.js} +3 -2
  102. package/dist/{cli-0b655smz.js → cli-zvpkrgsc.js} +5 -5
  103. package/dist/cli.js +27 -27
  104. package/dist/{codex-adapter-f3yp0kaj.js → codex-adapter-ysfg6ty3.js} +8 -8
  105. package/dist/{codex-hook-262cekfp.js → codex-hook-c0nvm30r.js} +2 -2
  106. package/dist/{codex-login-1ven7yje.js → codex-login-ven5cz5j.js} +1 -1
  107. package/dist/{codex-session-runner-ns4mv70p.js → codex-session-runner-823scr6g.js} +9 -9
  108. package/dist/{commands-5bzf2tfw.js → commands-5rbm07fz.js} +3 -3
  109. package/dist/{controller-5xt7kvfm.js → controller-wn3vd217.js} +3 -3
  110. package/dist/{controllers-connect-0gg13mzp.js → controllers-connect-34jzhfft.js} +28 -28
  111. package/dist/core-kdehq26g.js +42 -0
  112. package/dist/{cursor-adapter-p0c5zv6r.js → cursor-adapter-w1681kp1.js} +2 -2
  113. package/dist/{db-2s68ycq7.js → db-6bkgbfwk.js} +3 -3
  114. package/dist/{db-q7q639k5.js → db-hcj16x7z.js} +2 -2
  115. package/dist/{devin-adapter-t8d86q9x.js → devin-adapter-fs90ab4v.js} +1 -1
  116. package/dist/{dispatcher-j2y1q7ae.js → dispatcher-jgjqrfzv.js} +25 -25
  117. package/dist/{docker-1b41eysj.js → docker-1h33jvh9.js} +2 -2
  118. package/dist/{dsh-adapter-pgnkf4st.js → dsh-adapter-g9yqv09y.js} +2 -2
  119. package/dist/{e2b-xm60c8ad.js → e2b-jnk0yeva.js} +2 -2
  120. package/dist/{e2b-ew8c5j5v.js → e2b-y7e5kmzf.js} +2 -2
  121. package/dist/{easter-egg-3d-0kea97jf.js → easter-egg-3d-w17nsny6.js} +1 -1
  122. package/dist/{embedding-space-3n6mhhmy.js → embedding-space-v06fwy7b.js} +6 -6
  123. package/dist/{embeddings-jfmj6yme.js → embeddings-g50dxea4.js} +1 -1
  124. package/dist/{event-bus-v4ywhc2p.js → event-bus-08t2b4y2.js} +1 -1
  125. package/dist/{execute-tjrej979.js → execute-1n36haw1.js} +1 -1
  126. package/dist/{external-channel-jy8w2gg3.js → external-channel-43tv8pg6.js} +2 -2
  127. package/dist/fx-adapter-bvh05t4a.js +20 -0
  128. package/dist/grok-adapter-my5j8mdf.js +20 -0
  129. package/dist/handlers-wyymeeqh.js +41 -0
  130. package/dist/heartbeat-sf3nk937.js +50 -0
  131. package/dist/{hook-bpnncsec.js → hook-dqph1e05.js} +8 -8
  132. package/dist/{hook-fv1jwrv7.js → hook-m1m9dm6w.js} +6 -6
  133. package/dist/{http-bpa26czn.js → http-w0th1cz9.js} +160 -102
  134. package/dist/index-22khdtby.js +44 -0
  135. package/dist/{index-mpj0z9e0.js → index-c0e8en64.js} +1 -1
  136. package/dist/{index-620y7jzq.js → index-e8pz8qdg.js} +3 -3
  137. package/dist/{index-8p0j4h4j.js → index-ez823q84.js} +94 -89
  138. package/dist/{index-w216g9y9.js → index-ffba0z8q.js} +35 -21
  139. package/dist/{index-s8re7mvq.js → index-gkpfgpg7.js} +1 -1
  140. package/dist/{index-4k7m5dgj.js → index-k8ajc0g0.js} +143 -103
  141. package/dist/index-np0582ac.js +40 -0
  142. package/dist/{index-52tgbhrw.js → index-pb03vans.js} +28 -28
  143. package/dist/index-vgkrj1jt.js +39 -0
  144. package/dist/{index-pe3d8jfy.js → index-whysn1wf.js} +1 -1
  145. package/dist/{index-0h6qd4p1.js → index-y4vd4mhn.js} +3 -4
  146. package/dist/{k8s-fy8hbhkg.js → k8s-8326q0rq.js} +2 -2
  147. package/dist/{keepalive-d6z12s04.js → keepalive-2v06q2e8.js} +5 -4
  148. package/dist/lead-55z813ng.js +79 -0
  149. package/dist/{maintenance-7kac6g2g.js → maintenance-vx7vjhhy.js} +1 -1
  150. package/dist/{oauth-refresh-sweep-t1xjetbh.js → oauth-refresh-sweep-g06k4bza.js} +4 -3
  151. package/dist/{object-webhooks-6rdagg0r.js → object-webhooks-3dzdq4fm.js} +7 -7
  152. package/dist/{onboard-32y1cfxy.js → onboard-232pazny.js} +4 -4
  153. package/dist/{opencode-adapter-enp3v31n.js → opencode-adapter-t0paqbh8.js} +8 -8
  154. package/dist/{otel-impl-k0tm5ptj.js → otel-impl-kmpkyp4y.js} +2 -2
  155. package/dist/{pending-24zebgvs.js → pending-x0z3vx1x.js} +26 -26
  156. package/dist/{pi-mono-adapter-yj72xxxe.js → pi-mono-adapter-7pmypn6d.js} +17 -15
  157. package/dist/{pricing-refresh-cf25x38j.js → pricing-refresh-ytjmtyd7.js} +2 -2
  158. package/dist/{rbac-roles-0wydd22m.js → rbac-roles-fgm5mxr2.js} +3 -3
  159. package/dist/{rbac-roles-at6crb3r.js → rbac-roles-xyaxekh3.js} +2 -2
  160. package/dist/{render-v2-nvcw0jd7.js → render-v2-ws972g4r.js} +10 -10
  161. package/dist/{resume-y4w0k5v3.js → resume-m6mjzhkp.js} +13 -13
  162. package/dist/{runtime-vpe43hx0.js → runtime-zzpc0c8a.js} +1 -1
  163. package/dist/{session-access-gkyvnfye.js → session-access-vp35xs91.js} +5 -5
  164. package/dist/{session-source-backfill-3w2st4m2.js → session-source-backfill-p73e8zbe.js} +2 -2
  165. package/dist/{setup-axxvqtys.js → setup-r4kd7rxg.js} +1 -1
  166. package/dist/thread-buffer-cm2nzq6t.js +42 -0
  167. package/dist/{tree-visibility-y4fqvab5.js → tree-visibility-07h2tbs2.js} +2 -2
  168. package/dist/{user-merge-jobs-kcmwvrc6.js → user-merge-jobs-96vg9rpe.js} +3 -3
  169. package/dist/{virtual-modules-7d92dct1.js → virtual-modules-vgn3f2x4.js} +3 -3
  170. package/dist/{work-objects-f708e069.js → work-objects-74hbcx3e.js} +28 -28
  171. package/dist/worker-5pn2vzx6.js +79 -0
  172. package/dist/{worker-follow-up-0by8wztc.js → worker-follow-up-ezavwn5d.js} +25 -25
  173. package/dist/{x-3dtaf2r9.js → x-asbrnafg.js} +2 -2
  174. package/openapi.json +1793 -1622
  175. package/package.json +10 -10
  176. package/src/apps/catalog.generated.json +726 -0
  177. package/src/apps/definition.ts +24 -7
  178. package/src/apps/page-validator.ts +225 -3
  179. package/src/be/db.ts +38 -10
  180. package/src/be/mcp-proxy.ts +5 -4
  181. package/src/be/migrations/340_api_key_spend_cap.sql +5 -0
  182. package/src/be/schedules/validate.ts +26 -0
  183. package/src/be/swarm-config-guard.ts +4 -0
  184. package/src/commands/credential-outcome-report.ts +5 -2
  185. package/src/commands/onboard/agent-fs-version.ts +1 -1
  186. package/src/commands/provider-credentials.ts +19 -0
  187. package/src/commands/provider-error-class.ts +4 -1
  188. package/src/commands/rate-limit-outcome.ts +48 -3
  189. package/src/commands/runner.ts +113 -55
  190. package/src/commands/worktree-reaper.ts +600 -0
  191. package/src/extensions/contract-types.generated.ts +1 -1
  192. package/src/http/agents.ts +4 -0
  193. package/src/http/api-keys.ts +27 -3
  194. package/src/http/pages-public.ts +40 -4
  195. package/src/http/pool-keys.ts +21 -2
  196. package/src/http/schedules.ts +28 -3
  197. package/src/http/script-connections.ts +12 -4
  198. package/src/http/script-runs.ts +12 -3
  199. package/src/http/tasks.ts +6 -10
  200. package/src/mcp-client/http-client.ts +3 -1
  201. package/src/oauth/identity-capture.ts +6 -1
  202. package/src/oauth/mcp-wrapper.ts +10 -3
  203. package/src/oauth/wrapper.ts +15 -3
  204. package/src/prompts/session-templates.ts +1 -0
  205. package/src/providers/acp-targets.ts +2 -2
  206. package/src/providers/amp-adapter.ts +1 -1
  207. package/src/providers/dsh-adapter.ts +1 -1
  208. package/src/providers/pi-mono-adapter.ts +4 -2
  209. package/src/providers/runtime-dependencies.ts +1 -1
  210. package/src/rbac/legacy-policy.ts +2 -0
  211. package/src/rbac/permissions.ts +5 -0
  212. package/src/scripts-runtime/types/swarm-extension.d.ts +7 -7
  213. package/src/slack/enrich.ts +14 -11
  214. package/src/tests/agents-list-model-display.test.ts +23 -0
  215. package/src/tests/apps-spike2.test.ts +35 -0
  216. package/src/tests/base-prompt.test.ts +1 -0
  217. package/src/tests/deploy-guard.test.ts +24 -0
  218. package/src/tests/dsh-adapter.test.ts +1 -1
  219. package/src/tests/ensure-token.test.ts +2 -2
  220. package/src/tests/entrypoint-repo-autoclone-args.test.ts +202 -0
  221. package/src/tests/fake-dns.ts +47 -0
  222. package/src/tests/fixtures/base-prompt-baseline.json +12 -12
  223. package/src/tests/latest-model-report.test.ts +138 -0
  224. package/src/tests/mcp-oauth-dcr-reuse.test.ts +5 -2
  225. package/src/tests/mcp-oauth-ensure-token.test.ts +3 -2
  226. package/src/tests/mcp-oauth-manual-client.test.ts +6 -1
  227. package/src/tests/mcp-oauth-wrapper.test.ts +20 -4
  228. package/src/tests/mcp-outbound-fetch-guard.test.ts +169 -0
  229. package/src/tests/mcp-server-ssrf.test.ts +2 -0
  230. package/src/tests/memory-search-stall.test.ts +5 -0
  231. package/src/tests/oauth-connection-fetch-guard.test.ts +162 -0
  232. package/src/tests/oauth-token-endpoint-fetch-guard.test.ts +121 -0
  233. package/src/tests/oauth-wrapper.test.ts +1 -2
  234. package/src/tests/pages-head-v2.test.ts +2 -1
  235. package/src/tests/script-connections-http.test.ts +8 -3
  236. package/src/tests/script-connections.test.ts +2 -0
  237. package/src/tests/slack-thread-participants.test.ts +14 -3
  238. package/src/tests/spend-cap-credentials.test.ts +34 -0
  239. package/src/tests/spend-cap-outcome.test.ts +67 -0
  240. package/src/tests/subscription-first.test.ts +119 -0
  241. package/src/tests/worktree-reaper.test.ts +424 -0
  242. package/src/tools/get-task-details.ts +247 -5
  243. package/src/tools/schedules/patch-schedule.ts +26 -1
  244. package/src/tools/schedules/update-schedule.ts +28 -2
  245. package/src/utils/credentials.ts +36 -1
  246. package/src/utils/egress-guard.ts +40 -10
  247. package/src/utils/error-tracker.ts +17 -0
  248. package/templates/skills/apps/SKILL.md +191 -2
  249. package/templates/skills/apps/content.md +191 -2
  250. package/templates/skills/boards-and-sheets/content.md +11 -0
  251. package/templates/skills/pages/content.md +11 -0
  252. package/templates/skills/swarm-docs/content.md +2 -0
  253. package/templates/skills/swarm-scripts/SKILL.md +1 -0
  254. package/templates/skills/swarm-scripts/content.md +1 -0
  255. package/templates/workflows/ralph-loop/content.md +6 -6
  256. package/dist/acp-adapter-cn53011z.js +0 -17
  257. package/dist/cli-pr0eze3x.js +0 -149
  258. package/dist/core-0fqtbrxa.js +0 -42
  259. package/dist/fx-adapter-k6w3jvz9.js +0 -20
  260. package/dist/grok-adapter-4q5tssw0.js +0 -20
  261. package/dist/handlers-qxgfvvsf.js +0 -41
  262. package/dist/heartbeat-6tr2w2da.js +0 -50
  263. package/dist/index-0mcxjdsa.js +0 -44
  264. package/dist/index-dz4q23ag.js +0 -40
  265. package/dist/index-s175jckx.js +0 -39
  266. package/dist/lead-p3hx7h35.js +0 -79
  267. package/dist/thread-buffer-rwa7d4dx.js +0 -42
  268. package/dist/worker-8rg9gz74.js +0 -79
@@ -2,20 +2,20 @@ import {
2
2
  getKv2,
3
3
  upsertKv2,
4
4
  init_db4
5
- } from "./cli-jj3c5nyb.js";
5
+ } from "./cli-h9bejmkf.js";
6
6
  import {
7
7
  resolveIdentity,
8
8
  init_identity,
9
9
  recordUnmappedIdentity,
10
10
  init_unmapped_identities
11
- } from "./cli-tstj6e8e.js";
11
+ } from "./cli-fn8aj7gb.js";
12
12
  import {
13
13
  findUserByExternalId,
14
14
  findUserByEmail,
15
15
  findOrCreateUserByEmail,
16
16
  linkIdentity,
17
17
  init_users
18
- } from "./cli-ajjvqhf3.js";
18
+ } from "./cli-z6m6xzxt.js";
19
19
  import {
20
20
  __esm
21
21
  } from "./cli-242037k3.js";
@@ -91,7 +91,7 @@ async function resolveSlackParticipant(client, slackUserId, eventContext) {
91
91
  await recordUnmappedIdentity("slack", slackUserId, eventContext);
92
92
  }
93
93
  const audience = user?.metadata?.audience;
94
- const trust = audience === "internal" || audience === "external" ? audience : foreignTeam ? "external" : domains.length === 0 ? user ? "internal" : email ? "external" : "unknown" : !email ? "unknown" : isCompanyEmail(email, domains) ? "internal" : "external";
94
+ const trust = audience === "internal" || audience === "external" ? audience : foreignTeam ? "external" : eventContext.userTeam && sameTeam === undefined ? "unknown" : domains.length === 0 ? user ? "internal" : email ? "external" : "unknown" : !email ? "unknown" : isCompanyEmail(email, domains) ? "internal" : "external";
95
95
  return { userId: user?.id, trust };
96
96
  }
97
97
  async function resolveSlackUserId(client, slackUserId, eventContext) {
@@ -14,7 +14,7 @@ import {
14
14
  SteeringBlockedError,
15
15
  init_steering2,
16
16
  init_db4
17
- } from "./cli-jj3c5nyb.js";
17
+ } from "./cli-h9bejmkf.js";
18
18
  import {
19
19
  isBlockExternalEnabled2,
20
20
  invalidateChannelExternality2,
@@ -22,11 +22,11 @@ import {
22
22
  shouldBlockChannel2,
23
23
  leaveExternalChannel2,
24
24
  init_external_channel
25
- } from "./cli-g6j6ac3h.js";
25
+ } from "./cli-cqxwjb93.js";
26
26
  import {
27
27
  workflowEventBus2,
28
28
  init_event_bus
29
- } from "./cli-z4f346g5.js";
29
+ } from "./cli-vx9acp12.js";
30
30
  import {
31
31
  noteSlackInboundSideEffect,
32
32
  ignoreSlackInbound,
@@ -42,7 +42,7 @@ import {
42
42
  init_render_v2,
43
43
  registerTreeMessage,
44
44
  init_watcher
45
- } from "./cli-zqmmy073.js";
45
+ } from "./cli-t90k0phh.js";
46
46
  import {
47
47
  dispatchPre2,
48
48
  init_dispatcher,
@@ -60,7 +60,7 @@ import {
60
60
  slackInboundMessageText,
61
61
  collectSlackMessageFiles,
62
62
  init_message_text
63
- } from "./cli-tstj6e8e.js";
63
+ } from "./cli-fn8aj7gb.js";
64
64
  import {
65
65
  requestSlackThreadSteering,
66
66
  formatSlackSteeringAck,
@@ -71,7 +71,7 @@ import {
71
71
  getBufferMessageCount2,
72
72
  instantFlush2,
73
73
  init_thread_buffer
74
- } from "./cli-117g15t4.js";
74
+ } from "./cli-4mj5g29m.js";
75
75
  import {
76
76
  wasEventSeen,
77
77
  init_event_dedup
@@ -82,7 +82,7 @@ import {
82
82
  getSlackUserTeam,
83
83
  isOurSlackTeam,
84
84
  init_enrich
85
- } from "./cli-avxh26pd.js";
85
+ } from "./cli-nk8swfpx.js";
86
86
  import {
87
87
  isSlackLeaveThreadDisabled,
88
88
  SLACK_LEFT_THREAD_CONFIRMATION,
@@ -90,7 +90,7 @@ import {
90
90
  leaveSlackThread,
91
91
  shouldSkipLeftSlackThread,
92
92
  init_left_threads
93
- } from "./cli-1dbv9mj9.js";
93
+ } from "./cli-cn6fpa1p.js";
94
94
  import {
95
95
  init_zod
96
96
  } from "./cli-96234j5w.js";
@@ -107,7 +107,7 @@ import {
107
107
  import {
108
108
  scrubSecrets,
109
109
  init_secret_scrubber
110
- } from "./cli-bpje8n65.js";
110
+ } from "./cli-fp65jdp2.js";
111
111
  import {
112
112
  __esm,
113
113
  __using,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  withRegistryCatalogSections,
3
3
  init_src2
4
- } from "./cli-bpje8n65.js";
4
+ } from "./cli-fp65jdp2.js";
5
5
  import {
6
6
  __esm
7
7
  } from "./cli-242037k3.js";
@@ -2,7 +2,7 @@ import {
2
2
  resolveTemplateAsync,
3
3
  init_resolver,
4
4
  init_session_templates
5
- } from "./cli-50w82h6m.js";
5
+ } from "./cli-mwxez0pz.js";
6
6
 
7
7
  // src/prompts/steering-delivery.ts
8
8
  init_session_templates();
@@ -8,12 +8,12 @@ import {
8
8
  invalidateTelemetryUserRole,
9
9
  init_telemetry_identity,
10
10
  init_db4
11
- } from "./cli-jj3c5nyb.js";
11
+ } from "./cli-h9bejmkf.js";
12
12
  import {
13
13
  revokeAllUserCredentials,
14
14
  isLiveUserToken,
15
15
  init_users
16
- } from "./cli-ajjvqhf3.js";
16
+ } from "./cli-z6m6xzxt.js";
17
17
  import {
18
18
  init_env_flag
19
19
  } from "./cli-cebvbc9t.js";
@@ -12,7 +12,7 @@ import {
12
12
  resolveTemplateAsync,
13
13
  init_resolver,
14
14
  init_session_templates
15
- } from "./cli-50w82h6m.js";
15
+ } from "./cli-mwxez0pz.js";
16
16
  import {
17
17
  agentsMayMerge,
18
18
  init_types5
@@ -33,7 +33,7 @@ import {
33
33
  import {
34
34
  scrubSecrets,
35
35
  init_secret_scrubber
36
- } from "./cli-bpje8n65.js";
36
+ } from "./cli-fp65jdp2.js";
37
37
  import {
38
38
  __esm
39
39
  } from "./cli-242037k3.js";
@@ -11,7 +11,7 @@ import {
11
11
  addMcpServerConfig,
12
12
  removeMcpServerConfig,
13
13
  questionTerminal
14
- } from "./cli-sq913bh1.js";
14
+ } from "./cli-grcc2h2g.js";
15
15
  import {
16
16
  McpSignInCancelledError2,
17
17
  McpOAuthCredentialStore2,
@@ -19,7 +19,7 @@ import {
19
19
  McpServerLog2,
20
20
  createDefaultTransport2,
21
21
  McpServerConnection2
22
- } from "./cli-w14j2z4k.js";
22
+ } from "./cli-8cmjkbvj.js";
23
23
 
24
24
  // node_modules/@earendil-works/pi-coding-agent/dist/extensions/mcp/cli.js
25
25
  import { existsSync } from "node:fs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  init_package,
3
3
  package_default
4
- } from "./cli-y518qkjg.js";
4
+ } from "./cli-w24f3j49.js";
5
5
 
6
6
  // src/commands/shared/client-config.ts
7
7
  init_package();
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  reasoningCapability,
3
3
  applyReasoningEffort
4
- } from "./cli-rtmqzat7.js";
4
+ } from "./cli-vdfngx2g.js";
5
5
  import {
6
6
  CONTEXT_FORMULA,
7
7
  getContextWindowSize,
8
8
  clampContextPercent,
9
9
  init_context_window
10
- } from "./cli-3p288654.js";
10
+ } from "./cli-cpkxh68d.js";
11
11
  import {
12
12
  resolveSlashSkillPrompt
13
13
  } from "./cli-5j88qqa8.js";
@@ -34,7 +34,7 @@ import {
34
34
  scrubSecrets,
35
35
  registerVolatileSecret,
36
36
  init_secret_scrubber
37
- } from "./cli-bpje8n65.js";
37
+ } from "./cli-fp65jdp2.js";
38
38
 
39
39
  // src/providers/dsh-adapter.ts
40
40
  init_types5();
@@ -72,7 +72,7 @@ init_multi_runtime2();
72
72
  init_openrouter_base_url();
73
73
  init_process_group();
74
74
  init_secret_scrubber();
75
- var DSH_PACKAGE = "@deepseek-ai/dsh@0.2.2-rc.2";
75
+ var DSH_PACKAGE = "@deepseek-ai/dsh@0.2.2-rc.3";
76
76
  function checkDshCredentials2(env) {
77
77
  return env.DEEPSEEK_API_KEY?.trim() || env.OPENROUTER_API_KEY?.trim() ? { ready: true, missing: [], satisfiedBy: "env" } : {
78
78
  ready: false,
@@ -64,12 +64,12 @@ import {
64
64
  claimKv2,
65
65
  deleteKv2,
66
66
  init_db4
67
- } from "./cli-jj3c5nyb.js";
67
+ } from "./cli-h9bejmkf.js";
68
68
  import {
69
69
  getChannelExternality2,
70
70
  getChannelBlockReason2,
71
71
  init_external_channel
72
- } from "./cli-g6j6ac3h.js";
72
+ } from "./cli-cqxwjb93.js";
73
73
  import {
74
74
  isSlackTaskTreeEnabled2,
75
75
  invalidateSlackTreeOperations2,
@@ -80,7 +80,7 @@ import {
80
80
  assertSlackTreeCurrent2,
81
81
  canPresentSlackTree2,
82
82
  init_tree_visibility
83
- } from "./cli-9fsagra4.js";
83
+ } from "./cli-w6c6dj91.js";
84
84
  import {
85
85
  require_dist6,
86
86
  require_is_electron,
@@ -92,11 +92,11 @@ import {
92
92
  cardToBlockKit2,
93
93
  cardToFallbackText2,
94
94
  init_dist6
95
- } from "./cli-47hz21se.js";
95
+ } from "./cli-4tbvndmm.js";
96
96
  import {
97
97
  workflowEventBus2,
98
98
  init_event_bus
99
- } from "./cli-z4f346g5.js";
99
+ } from "./cli-vx9acp12.js";
100
100
  import {
101
101
  require_jsonwebtoken,
102
102
  require_dist9,
@@ -110,7 +110,7 @@ import {
110
110
  import {
111
111
  getSessionRoot,
112
112
  init_session_shares
113
- } from "./cli-yn4kt85g.js";
113
+ } from "./cli-w41bvvms.js";
114
114
  import {
115
115
  require_p_retry
116
116
  } from "./cli-952zgdwp.js";
@@ -118,7 +118,7 @@ import {
118
118
  findUserById,
119
119
  getUserIdentities,
120
120
  init_users
121
- } from "./cli-ajjvqhf3.js";
121
+ } from "./cli-z6m6xzxt.js";
122
122
  import {
123
123
  getGitHubLinkConfig,
124
124
  init_github_host
@@ -126,7 +126,7 @@ import {
126
126
  import {
127
127
  taskAttachmentDisplayUrl,
128
128
  init_task_attachment_links
129
- } from "./cli-sdh61g52.js";
129
+ } from "./cli-s6fhqbz1.js";
130
130
  import {
131
131
  getSlackConfiguration,
132
132
  init_config4
@@ -171,7 +171,7 @@ import {
171
171
  scrubSecrets,
172
172
  scrubObject,
173
173
  init_secret_scrubber
174
- } from "./cli-bpje8n65.js";
174
+ } from "./cli-fp65jdp2.js";
175
175
  import {
176
176
  __toESM,
177
177
  __commonJS,
@@ -12411,7 +12411,7 @@ async function initOtel(serviceRole = process.env.AGENT_ROLE || "api") {
12411
12411
  return;
12412
12412
  initialized = true;
12413
12413
  try {
12414
- const impl = await import("./otel-impl-k0tm5ptj.js");
12414
+ const impl = await import("./otel-impl-kmpkyp4y.js");
12415
12415
  await impl.boot(serviceRole, {
12416
12416
  exportConsoleLogs: serviceRole === "api" && isApiLogExportEnabled()
12417
12417
  });
@@ -19102,17 +19102,17 @@ async function initSlackApp2() {
19102
19102
  created.use(slackInboundOutcomeMiddleware(config.mode === "http" ? "http" : "socket"));
19103
19103
  if (config.mode === "http")
19104
19104
  created.use(ignoreSelfAsIgnored);
19105
- const { registerMessageHandler } = await import("./handlers-qxgfvvsf.js");
19106
- const { registerCommandHandler } = await import("./commands-5bzf2tfw.js");
19107
- const { registerActionHandlers } = await import("./actions-zv8vcxvr.js");
19108
- const { registerWorkObjectHandlers } = await import("./work-objects-f708e069.js");
19105
+ const { registerMessageHandler } = await import("./handlers-wyymeeqh.js");
19106
+ const { registerCommandHandler } = await import("./commands-5rbm07fz.js");
19107
+ const { registerActionHandlers } = await import("./actions-hq6wp9xv.js");
19108
+ const { registerWorkObjectHandlers } = await import("./work-objects-74hbcx3e.js");
19109
19109
  registerMessageHandler(created);
19110
19110
  registerCommandHandler(created);
19111
19111
  registerActionHandlers(created);
19112
19112
  registerWorkObjectHandlers(created);
19113
- const { createAssistant } = await import("./assistant-9dzybh12.js");
19113
+ const { createAssistant } = await import("./assistant-hkczwfv6.js");
19114
19114
  created.assistant(createAssistant());
19115
- const { isBlockExternalEnabled, scanExternalChannelsOnBoot } = await import("./external-channel-jy8w2gg3.js");
19115
+ const { isBlockExternalEnabled, scanExternalChannelsOnBoot } = await import("./external-channel-43tv8pg6.js");
19116
19116
  if (isBlockExternalEnabled()) {
19117
19117
  scanExternalChannelsOnBoot(created.client).catch((error) => {
19118
19118
  console.error("[Slack] External channel boot scan failed:", error);
@@ -19140,7 +19140,7 @@ async function startSlackApp2() {
19140
19140
  startRetryAttempt = 0;
19141
19141
  if (!httpReceiver)
19142
19142
  startSocketWatchdog();
19143
- const { isSlackRenderV2Enabled } = await import("./render-v2-nvcw0jd7.js");
19143
+ const { isSlackRenderV2Enabled } = await import("./render-v2-ws972g4r.js");
19144
19144
  if (isSlackRenderV2Enabled())
19145
19145
  await ensureSlackRenderV2Activation2();
19146
19146
  await recoverSlackInboundAfterRestart();
@@ -19156,7 +19156,7 @@ async function startSlackApp2() {
19156
19156
  } else {
19157
19157
  console.log("[Slack] Bot connected via Socket Mode");
19158
19158
  }
19159
- const { restoreBufferedSlackMessages } = await import("./thread-buffer-rwa7d4dx.js");
19159
+ const { restoreBufferedSlackMessages } = await import("./thread-buffer-cm2nzq6t.js");
19160
19160
  await restoreBufferedSlackMessages().catch((error) => {
19161
19161
  console.error("[Slack] Failed to restore buffered thread messages:", error);
19162
19162
  });
@@ -5,18 +5,18 @@ import {
5
5
  import {
6
6
  publicEndpointSsrfOptions,
7
7
  init_mcp_wrapper
8
- } from "./cli-dka73bak.js";
8
+ } from "./cli-c0tyzt73.js";
9
9
  import {
10
10
  assertUrlSafe,
11
11
  normalizeOrgWebsite,
12
12
  init_org_website
13
- } from "./cli-jj3c5nyb.js";
13
+ } from "./cli-h9bejmkf.js";
14
14
  import {
15
15
  getRouteProvider,
16
16
  createScopedFetch,
17
17
  deriveDefaultRoute,
18
18
  init_src
19
- } from "./cli-js10kdk7.js";
19
+ } from "./cli-5basv0e7.js";
20
20
  import {
21
21
  getOpenRouterBaseUrl,
22
22
  getOpenRouterAttributionHeaders,
@@ -28,7 +28,7 @@ import {
28
28
  init_src2,
29
29
  scrubSecrets,
30
30
  init_secret_scrubber
31
- } from "./cli-bpje8n65.js";
31
+ } from "./cli-fp65jdp2.js";
32
32
 
33
33
  // src/utils/lead-monitor-channels.ts
34
34
  function isLeadChannelMonitoringEnabled(env = process.env) {
@@ -2,7 +2,7 @@ import {
2
2
  runtimeCatalogSection,
3
3
  runtimeCatalogModel,
4
4
  init_runtime_model_catalog
5
- } from "./cli-bhgrhedp.js";
5
+ } from "./cli-q8aq48v1.js";
6
6
  import {
7
7
  CHATGPT_SUBSCRIPTION_PROVIDER,
8
8
  dshCatalogRef,
@@ -12,7 +12,7 @@ import {
12
12
  reasoningLevelsFor,
13
13
  claudeCatalogModelId,
14
14
  init_src2
15
- } from "./cli-bpje8n65.js";
15
+ } from "./cli-fp65jdp2.js";
16
16
 
17
17
  // src/providers/reasoning-effort.ts
18
18
  init_src2();
@@ -12076,7 +12076,7 @@ var init_unified = __esm(() => {
12076
12076
  init_lib22();
12077
12077
  });
12078
12078
 
12079
- // node_modules/chat/dist/chunk-5S562BSE.js
12079
+ // node_modules/chat/dist/chunk-ISTRKGUL.js
12080
12080
  function isTextNode2(node) {
12081
12081
  return node.type === "text";
12082
12082
  }
@@ -12574,6 +12574,23 @@ var LINE_BREAK_REGEX, DEFAULT_MAX_INCOMING_PARSE_LENGTH = 16384, DEFAULT_MAX_INC
12574
12574
  }
12575
12575
  return lines;
12576
12576
  }
12577
+ renderBlockquote(node, nodeConverter, blankLine = ">") {
12578
+ const lines = [];
12579
+ for (const child of getNodeChildren2(node)) {
12580
+ const text2 = nodeConverter(child);
12581
+ if (!text2.trim()) {
12582
+ continue;
12583
+ }
12584
+ if (lines.length > 0) {
12585
+ lines.push(blankLine);
12586
+ }
12587
+ for (const line of text2.split(LINE_BREAK_REGEX)) {
12588
+ lines.push(line ? `> ${line}` : blankLine);
12589
+ }
12590
+ }
12591
+ return lines.join(`
12592
+ `);
12593
+ }
12577
12594
  defaultNodeToText(node, nodeConverter) {
12578
12595
  const children = getNodeChildren2(node);
12579
12596
  if (children.length > 0) {
@@ -12730,7 +12747,7 @@ var LINE_BREAK_REGEX, DEFAULT_MAX_INCOMING_PARSE_LENGTH = 16384, DEFAULT_MAX_INC
12730
12747
  }
12731
12748
  }
12732
12749
  };
12733
- var init_chunk_5S562BSE = __esm(() => {
12750
+ var init_chunk_ISTRKGUL = __esm(() => {
12734
12751
  init_mdast_util_to_string();
12735
12752
  init_remark_gfm();
12736
12753
  init_remark_parse();
@@ -12745,7 +12762,7 @@ var init_chunk_5S562BSE = __esm(() => {
12745
12762
  WHITESPACE_PATTERN = /\s+/;
12746
12763
  });
12747
12764
 
12748
- // node_modules/chat/dist/chunk-D5LKW5SX.js
12765
+ // node_modules/chat/dist/chunk-PHYCZBCD.js
12749
12766
  function isModalElement(value) {
12750
12767
  return typeof value === "object" && value !== null && "type" in value && value.type === "modal";
12751
12768
  }
@@ -13142,8 +13159,8 @@ function isJSX(value) {
13142
13159
  return false;
13143
13160
  }
13144
13161
  var VALID_MODAL_CHILD_TYPES, JSX_ELEMENT;
13145
- var init_chunk_D5LKW5SX = __esm(() => {
13146
- init_chunk_5S562BSE();
13162
+ var init_chunk_PHYCZBCD = __esm(() => {
13163
+ init_chunk_ISTRKGUL();
13147
13164
  VALID_MODAL_CHILD_TYPES = [
13148
13165
  "text_input",
13149
13166
  "date_input",
@@ -13815,7 +13832,7 @@ var init_dist3 = __esm(() => {
13815
13832
  $e = vn;
13816
13833
  });
13817
13834
 
13818
- // node_modules/chat/dist/chunk-MOZRUO2D.js
13835
+ // node_modules/chat/dist/chunk-CULOS6HN.js
13819
13836
  async function* fromFullStream(stream) {
13820
13837
  let needsSeparator = false;
13821
13838
  let hasEmittedText = false;
@@ -13828,6 +13845,9 @@ async function* fromFullStream(stream) {
13828
13845
  continue;
13829
13846
  }
13830
13847
  const typed = event;
13848
+ if (typed.type === "reasoning" && typeof typed.text !== "string") {
13849
+ continue;
13850
+ }
13831
13851
  if (STREAM_CHUNK_TYPES.has(typed.type)) {
13832
13852
  yield event;
13833
13853
  continue;
@@ -14092,6 +14112,13 @@ function getNeverAbortedSignal() {
14092
14112
  }
14093
14113
  return neverAbortedSignal;
14094
14114
  }
14115
+ async function* withoutReasoning(source) {
14116
+ for await (const chunk of source) {
14117
+ if (typeof chunk === "string" || chunk.type !== "reasoning") {
14118
+ yield chunk;
14119
+ }
14120
+ }
14121
+ }
14095
14122
  async function* takeUntilAborted(source, signal) {
14096
14123
  const iterator = source[Symbol.asyncIterator]();
14097
14124
  let onAbort;
@@ -14356,10 +14383,10 @@ var STREAM_CHUNK_TYPES, adapterMap, Message3, POSTABLE_OBJECT, ChatError, LockEr
14356
14383
  return wrapTablesForAppend(text2, closeFences);
14357
14384
  }
14358
14385
  }, INLINE_MARKER_CHARS, TABLE_ROW_RE, TABLE_SEPARATOR_RE, THREAD_STATE_KEY_PREFIX = "thread-state:", neverAbortedSignal, ThreadImpl;
14359
- var init_chunk_MOZRUO2D = __esm(() => {
14360
- init_chunk_D5LKW5SX();
14386
+ var init_chunk_CULOS6HN = __esm(() => {
14387
+ init_chunk_PHYCZBCD();
14361
14388
  init_chunk_Y5QSQ2Z3();
14362
- init_chunk_5S562BSE();
14389
+ init_chunk_ISTRKGUL();
14363
14390
  init_dist2();
14364
14391
  init_dist2();
14365
14392
  init_dist3();
@@ -14367,7 +14394,8 @@ var init_chunk_MOZRUO2D = __esm(() => {
14367
14394
  STREAM_CHUNK_TYPES = /* @__PURE__ */ new Set([
14368
14395
  "markdown_text",
14369
14396
  "task_update",
14370
- "plan_update"
14397
+ "plan_update",
14398
+ "reasoning"
14371
14399
  ]);
14372
14400
  adapterMap = /* @__PURE__ */ new WeakMap;
14373
14401
  Message3 = class _Message {
@@ -15192,8 +15220,9 @@ var init_chunk_MOZRUO2D = __esm(() => {
15192
15220
  return this.adapter.scheduleMessage(this.id, postable, options);
15193
15221
  }
15194
15222
  async handleStream(rawStream, callerOptions) {
15195
- const textStream = takeUntilAborted(fromFullStream(rawStream), this.signal);
15196
15223
  const adapter = this.adapter;
15224
+ const normalized = fromFullStream(rawStream);
15225
+ const textStream = takeUntilAborted(adapter.supportsReasoningChunks ? normalized : withoutReasoning(normalized), this.signal);
15197
15226
  const defaults = this._binding?.resolveOwner(adapter)?.getStreamingOptions();
15198
15227
  const placeholder = this._fallbackStreamingPlaceholderText !== undefined ? this._fallbackStreamingPlaceholderText : defaults?.fallbackStreamingPlaceholderText;
15199
15228
  const options = {
@@ -18036,11 +18065,11 @@ var DEFAULT_MAX_THREADS = 5, THREAD_FETCH_CONCURRENCY = 4, ChannelHistoryApiImpl
18036
18065
  }
18037
18066
  }, defaultEmojiResolver2, EMOJI_PLACEHOLDER_REGEX, emoji, cardChildToFallbackText2, isCardElement2, isJSX2, toModalElement2;
18038
18067
  var init_dist8 = __esm(() => {
18039
- init_chunk_MOZRUO2D();
18040
- init_chunk_D5LKW5SX();
18068
+ init_chunk_CULOS6HN();
18069
+ init_chunk_PHYCZBCD();
18041
18070
  init_chunk_ZNX7PRK5();
18042
18071
  init_chunk_Y5QSQ2Z3();
18043
- init_chunk_5S562BSE();
18072
+ init_chunk_ISTRKGUL();
18044
18073
  init_chunk_SJYUIZC4();
18045
18074
  init_chunk_BPCHXMC3();
18046
18075
  DURATION_RE = /^(\d+)([smhd])$/;
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  scrubSecrets,
8
8
  init_secret_scrubber
9
- } from "./cli-bpje8n65.js";
9
+ } from "./cli-fp65jdp2.js";
10
10
  import {
11
11
  __esm
12
12
  } from "./cli-242037k3.js";
@@ -7,7 +7,7 @@ var package_default;
7
7
  var init_package = __esm(() => {
8
8
  package_default = {
9
9
  name: "@desplega.ai/agent-swarm",
10
- version: "2.13.0",
10
+ version: "2.13.1",
11
11
  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.",
12
12
  keywords: [
13
13
  "agent-swarm.dev",
@@ -195,8 +195,8 @@ var init_package = __esm(() => {
195
195
  "@desplega/model-catalog": "workspace:*",
196
196
  "@desplega/model-routing": "workspace:*",
197
197
  "@faker-js/faker": "^10.4.0",
198
- "@opencode/plugin": "2.2.7",
199
- "@opencode/sdk": "2.2.7",
198
+ "@opencode/plugin": "2.3.0",
199
+ "@opencode/sdk": "2.3.0",
200
200
  "@oxlint/plugins": "1.78.0",
201
201
  "@types/bun": "latest",
202
202
  "dependency-cruiser": "^18.0.0",
@@ -216,17 +216,17 @@ var init_package = __esm(() => {
216
216
  dependencies: {
217
217
  "@agentclientprotocol/sdk": "2.6.0",
218
218
  "@ai-sdk/openai": "^3.0.41",
219
- "@anthropic-ai/claude-agent-sdk": "0.3.322",
219
+ "@anthropic-ai/claude-agent-sdk": "0.3.323",
220
220
  "@anthropic-ai/sdk": "^1.8.0",
221
221
  "@asteasolutions/zod-to-openapi": "^8.0.0",
222
222
  "@aws-sdk/client-bedrock": "3.1048.0",
223
223
  "@boxd-sh/sdk": "0.2.20",
224
- "@chat-adapter/discord": "4.44.0",
225
- "@chat-adapter/slack": "4.44.0",
226
- "@chat-adapter/teams": "4.44.0",
227
- "@chat-adapter/telegram": "4.44.0",
224
+ "@chat-adapter/discord": "4.45.0",
225
+ "@chat-adapter/slack": "4.45.0",
226
+ "@chat-adapter/teams": "4.45.0",
227
+ "@chat-adapter/telegram": "4.45.0",
228
228
  "@cursor/sdk": "1.3.1",
229
- "@desplega.ai/agent-fs-just-bash": "0.18.26",
229
+ "@desplega.ai/agent-fs-just-bash": "0.18.27",
230
230
  "@desplega.ai/business-use": "^0.4.2",
231
231
  "@earendil-works/pi-agent-core": "^1.5.2",
232
232
  "@earendil-works/pi-ai": "^1.5.2",
@@ -255,7 +255,7 @@ var init_package = __esm(() => {
255
255
  "@x402/evm": "^2.5.0",
256
256
  "@x402/fetch": "^2.5.0",
257
257
  ai: "^6.0.116",
258
- chat: "4.44.0",
258
+ chat: "4.45.0",
259
259
  "cron-parser": "^5.4.0",
260
260
  "date-fns": "^4.1.0",
261
261
  e2b: "2.26.0",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getDbClient2,
3
3
  init_db4
4
- } from "./cli-jj3c5nyb.js";
4
+ } from "./cli-h9bejmkf.js";
5
5
  import {
6
6
  __esm
7
7
  } from "./cli-242037k3.js";
@@ -4,7 +4,7 @@ import {
4
4
  getSlackRenderV2ActivatedAt2,
5
5
  ensureSlackRenderV2Activation2,
6
6
  init_db4
7
- } from "./cli-jj3c5nyb.js";
7
+ } from "./cli-h9bejmkf.js";
8
8
  import {
9
9
  isEnvFlagEnabled,
10
10
  init_env_flag
@@ -13,11 +13,11 @@ import {
13
13
  claudeMdLineageOf,
14
14
  planClaudeMdSync,
15
15
  init_profile_sync
16
- } from "./cli-sdh61g52.js";
16
+ } from "./cli-s6fhqbz1.js";
17
17
  import {
18
18
  scrubSecrets,
19
19
  init_secret_scrubber
20
- } from "./cli-bpje8n65.js";
20
+ } from "./cli-fp65jdp2.js";
21
21
 
22
22
  // src/commands/claude-md-session.ts
23
23
  init_file_lock();
@@ -2,7 +2,7 @@ import {
2
2
  persistCodexOAuth,
3
3
  getValidCodexOAuth,
4
4
  init_storage
5
- } from "./cli-2m6yaq6b.js";
5
+ } from "./cli-8fj8yfmk.js";
6
6
  import {
7
7
  init_uuid
8
8
  } from "./cli-4se3x6qm.js";
@@ -77,7 +77,7 @@ import {
77
77
  init_src,
78
78
  selectCredential,
79
79
  init_credentials2
80
- } from "./cli-js10kdk7.js";
80
+ } from "./cli-5basv0e7.js";
81
81
  import {
82
82
  __export,
83
83
  __esm
@@ -3,7 +3,7 @@ import {
3
3
  getSwarmConfigs2,
4
4
  getResolvedConfig2,
5
5
  init_db4
6
- } from "./cli-jj3c5nyb.js";
6
+ } from "./cli-h9bejmkf.js";
7
7
  import {
8
8
  AgentFsProvider,
9
9
  init_agent_fs_provider
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  registerVolatileSecret,
13
13
  init_secret_scrubber
14
- } from "./cli-bpje8n65.js";
14
+ } from "./cli-fp65jdp2.js";
15
15
  import {
16
16
  __esm
17
17
  } from "./cli-242037k3.js";