@desplega.ai/agent-swarm 2.13.3 → 2.13.4

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 (289) hide show
  1. package/dist/acp-adapter-mr4temec.js +17 -0
  2. package/dist/{acp-targets-k8xs4tj8.js → acp-targets-zrk9k0n7.js} +10 -10
  3. package/dist/{actions-pg5fxjer.js → actions-acqqj9jn.js} +236 -26
  4. package/dist/{agent-fs-provision-vbk3fppw.js → agent-fs-provision-zmaykqnd.js} +4 -4
  5. package/dist/{amp-adapter-adbhxsz9.js → amp-adapter-a7ts8tmw.js} +3 -3
  6. package/dist/{app-b267ggx1.js → app-tmwa442h.js} +7 -7
  7. package/dist/{approval-notifications-evc1a9z5.js → approval-notifications-6psaaaye.js} +8 -8
  8. package/dist/{assistant-wgz2ab84.js → assistant-564v6emv.js} +24 -24
  9. package/dist/{boot-args-schema-6tpk28j4.js → boot-args-schema-n099e0f2.js} +1 -1
  10. package/dist/{boot-reembed-ankp369c.js → boot-reembed-chx66qfk.js} +1 -1
  11. package/dist/{boot-reembed-r1zyvefv.js → boot-reembed-epvg4fp9.js} +1 -1
  12. package/dist/{boot-scrub-sweep-cgb6r5bd.js → boot-scrub-sweep-dhkfp0a7.js} +2 -2
  13. package/dist/{boot-seeds-bjceqg7b.js → boot-seeds-m74fc07r.js} +4 -4
  14. package/dist/{boxd-hr8rsxzq.js → boxd-451q55ys.js} +1 -1
  15. package/dist/{claude-adapter-knztdnff.js → claude-adapter-hw63yj3j.js} +9 -9
  16. package/dist/{claude-managed-adapter-qwejzqkk.js → claude-managed-adapter-z5s7fx6p.js} +3 -3
  17. package/dist/{claude-managed-setup-0vgz4d1j.js → claude-managed-setup-wee1762m.js} +3 -3
  18. package/dist/{claude-sdk-session-c3g6dv0g.js → claude-sdk-session-cktyqkpk.js} +11 -11
  19. package/dist/{cli-7fa6yv98.js → cli-0fgvnb0x.js} +6 -6
  20. package/dist/{cli-2v4xxnx2.js → cli-0h8skzss.js} +1 -1
  21. package/dist/{cli-hhb8kbwd.js → cli-0p76my9q.js} +29 -14
  22. package/dist/{cli-fp65jdp2.js → cli-1kvcsd2f.js} +219 -155
  23. package/dist/{cli-wtffytm8.js → cli-1vmhnncj.js} +3 -3
  24. package/dist/{cli-268b3dgn.js → cli-29h5239w.js} +5 -5
  25. package/dist/{cli-8fj8yfmk.js → cli-2vp0z049.js} +1 -1
  26. package/dist/{cli-bh53ppqm.js → cli-3bxrrh53.js} +4 -4
  27. package/dist/{cli-61fzwtjk.js → cli-3tzmh38q.js} +9 -9
  28. package/dist/{cli-88np9va3.js → cli-3xqad83h.js} +1 -1
  29. package/dist/{cli-gc715jrc.js → cli-3zrwrnz7.js} +1 -1
  30. package/dist/{cli-dw43pnzp.js → cli-404am6f3.js} +7 -7
  31. package/dist/{cli-8pnawt98.js → cli-49aq3cyn.js} +4 -4
  32. package/dist/{cli-fbmgpt72.js → cli-4fpa0zns.js} +3 -3
  33. package/dist/{cli-kwm1bek7.js → cli-4pbwg7sn.js} +2 -2
  34. package/dist/{cli-djwt4mtn.js → cli-4q2c8rxw.js} +9 -9
  35. package/dist/{cli-3mf04tkh.js → cli-4vynxtrb.js} +1 -1
  36. package/dist/{cli-80d5g0fa.js → cli-5ashycw3.js} +3 -3
  37. package/dist/{cli-61p7ty8d.js → cli-5rgm8p39.js} +3 -3
  38. package/dist/{cli-r6xnchva.js → cli-5rxsb3wq.js} +6 -6
  39. package/dist/{cli-a21cwm89.js → cli-60dwk8tx.js} +3 -3
  40. package/dist/{cli-v1v49t36.js → cli-7by7vp6m.js} +2 -2
  41. package/dist/{cli-vgh5adn9.js → cli-7g3fg4gf.js} +7 -7
  42. package/dist/{cli-hxj888w3.js → cli-7gbff32z.js} +2 -2
  43. package/dist/{cli-q8aq48v1.js → cli-8b4rpnwj.js} +1 -1
  44. package/dist/{cli-xc8m5cjn.js → cli-8cas2xvp.js} +3 -3
  45. package/dist/{cli-1606qw3n.js → cli-904wk98s.js} +797 -369
  46. package/dist/{cli-h3drhntp.js → cli-93n305hm.js} +2 -2
  47. package/dist/{cli-1wew39p0.js → cli-944w9wb4.js} +20 -16
  48. package/dist/{cli-je587f74.js → cli-94gx6ze9.js} +1 -1
  49. package/dist/{cli-hpxcfvdm.js → cli-9ah37a8a.js} +6 -6
  50. package/dist/{cli-rfejbpe1.js → cli-akm6y2a8.js} +1 -1
  51. package/dist/{cli-f8rcvf2x.js → cli-azj9t1f9.js} +37 -2
  52. package/dist/{cli-ef590376.js → cli-bv4vvnmg.js} +3 -3
  53. package/dist/{cli-ppf9ap9n.js → cli-bzcwwebm.js} +1 -1
  54. package/dist/{cli-sy2ge2ye.js → cli-cq4am6vg.js} +2 -2
  55. package/dist/{cli-gxqwm3k3.js → cli-d5pc8ep0.js} +102 -8
  56. package/dist/{cli-hd2a204w.js → cli-ea7nz50q.js} +12 -12
  57. package/dist/{cli-zkbz8m2q.js → cli-fkpnx3vf.js} +1 -1
  58. package/dist/{cli-ya1cj689.js → cli-fw67mnyc.js} +1 -1
  59. package/dist/{cli-5basv0e7.js → cli-gkv0r2hq.js} +1 -1
  60. package/dist/{cli-ka4tqjzd.js → cli-gse7bp3z.js} +12 -10
  61. package/dist/{cli-v8rpjrnx.js → cli-gtj12v95.js} +1 -1
  62. package/dist/{cli-g4dhd3pr.js → cli-hdhpdrka.js} +6 -23
  63. package/dist/{cli-dq30fq3q.js → cli-hhtbandk.js} +2 -2
  64. package/dist/cli-hyqksecw.js +1907 -0
  65. package/dist/{cli-t25rq8mg.js → cli-ja450998.js} +40 -11
  66. package/dist/{cli-43dsqhcp.js → cli-jbrc98qb.js} +4 -4
  67. package/dist/{cli-8sayvj48.js → cli-jyhbvdga.js} +3 -3
  68. package/dist/{cli-55fqpd9q.js → cli-jzerrzgc.js} +8 -8
  69. package/dist/{cli-hv3820ez.js → cli-k0nebh10.js} +1 -1
  70. package/dist/{cli-aytna2fm.js → cli-ka48vpev.js} +5 -5
  71. package/dist/{cli-d2epqm0y.js → cli-kezzteka.js} +1 -1
  72. package/dist/{cli-grk77aen.js → cli-kj84fqxz.js} +2 -2
  73. package/dist/{cli-h0ewec3d.js → cli-kr0jpw9c.js} +1 -1
  74. package/dist/{cli-wsnradtk.js → cli-m1sns1da.js} +2 -2
  75. package/dist/{cli-7kv5d674.js → cli-n1kjs58m.js} +4 -4
  76. package/dist/{cli-syqcny89.js → cli-nc4pbwmp.js} +9 -9
  77. package/dist/{cli-9gmkw6xn.js → cli-p3knvk62.js} +48 -42
  78. package/dist/{cli-50whymxq.js → cli-p436yrzp.js} +2 -2
  79. package/dist/{cli-0j4qmc80.js → cli-phdzn699.js} +7 -7
  80. package/dist/{cli-1gnf5c7x.js → cli-pz1dp12c.js} +1 -1
  81. package/dist/{cli-nbawx3s0.js → cli-pz1nq5xm.js} +6 -6
  82. package/dist/{cli-4dyhzhpx.js → cli-qzz6tz8s.js} +1 -1
  83. package/dist/{cli-ea367bdn.js → cli-rmgvwcmy.js} +22 -22
  84. package/dist/{cli-mgr3gatr.js → cli-rv3y60bt.js} +4 -4
  85. package/dist/cli-s33bzmk0.js +27 -0
  86. package/dist/{cli-at67kvnp.js → cli-srktrbby.js} +1 -1
  87. package/dist/{cli-pzsedyb0.js → cli-t0jmkcah.js} +14 -14
  88. package/dist/{cli-eetzmsy5.js → cli-t9pzz2eq.js} +2 -2
  89. package/dist/{cli-w24741sm.js → cli-tr19nyn9.js} +4 -4
  90. package/dist/{cli-e4gx499y.js → cli-ts5yv7dn.js} +163 -86
  91. package/dist/{cli-czeh7x13.js → cli-tsc3pdfd.js} +4 -4
  92. package/dist/{cli-y0q92v4r.js → cli-tzw1jr2t.js} +2 -2
  93. package/dist/{cli-tjf1bh1v.js → cli-x2cem5vy.js} +6 -4
  94. package/dist/{cli-vx9acp12.js → cli-ybte1fqc.js} +1 -1
  95. package/dist/{cli-gkjw33x5.js → cli-ysv0k1we.js} +2 -2
  96. package/dist/{cli-vdfngx2g.js → cli-ywy8yz6t.js} +2 -2
  97. package/dist/{cli-cpkxh68d.js → cli-z1vam71h.js} +2 -2
  98. package/dist/{cli-8m6gqnf1.js → cli-zexwhj3f.js} +3 -3
  99. package/dist/{cli-snwz16eg.js → cli-zhwjdhjr.js} +2 -2
  100. package/dist/{cli-y754psdt.js → cli-zjdhrzm0.js} +4 -4
  101. package/dist/cli.js +19 -19
  102. package/dist/{codex-adapter-493vb8cv.js → codex-adapter-2fs2c0n6.js} +8 -8
  103. package/dist/{codex-hook-ej8hn6z5.js → codex-hook-jxjv6dy5.js} +1 -1
  104. package/dist/{codex-login-ven5cz5j.js → codex-login-ktfg1cxk.js} +1 -1
  105. package/dist/{codex-session-runner-ps5m4z1g.js → codex-session-runner-r55tmx4c.js} +9 -9
  106. package/dist/{commands-shktk0b8.js → commands-0mxdy9x8.js} +3 -3
  107. package/dist/{controller-wn3vd217.js → controller-g3vkfhr4.js} +4 -4
  108. package/dist/{controllers-connect-yft057ws.js → controllers-connect-4wdmncqt.js} +25 -25
  109. package/dist/core-gsvj5f3z.js +42 -0
  110. package/dist/{cursor-adapter-8fpm4dng.js → cursor-adapter-t9qb96q2.js} +2 -2
  111. package/dist/{db-0ezhdhz5.js → db-487vvyv9.js} +3 -3
  112. package/dist/{db-84pz2w5c.js → db-76p7w3gr.js} +2 -2
  113. package/dist/{devin-adapter-fs90ab4v.js → devin-adapter-3bp6rape.js} +1 -1
  114. package/dist/{dispatcher-h2rz69f6.js → dispatcher-64rp6w67.js} +22 -22
  115. package/dist/{docker-1h33jvh9.js → docker-a59g3ebm.js} +2 -2
  116. package/dist/{dsh-adapter-g9yqv09y.js → dsh-adapter-8abzqk5c.js} +2 -2
  117. package/dist/{e2b-y7e5kmzf.js → e2b-3ykbe805.js} +2 -2
  118. package/dist/{e2b-jnk0yeva.js → e2b-dc8f6ctq.js} +2 -2
  119. package/dist/{easter-egg-3d-m41ad78v.js → easter-egg-3d-jrrwyf55.js} +1 -1
  120. package/dist/{embedding-space-yam9zwzj.js → embedding-space-001hhhpk.js} +6 -6
  121. package/dist/{embeddings-g2be0y8q.js → embeddings-esj19cnw.js} +1 -1
  122. package/dist/{event-bus-08t2b4y2.js → event-bus-7gbsr0g4.js} +1 -1
  123. package/dist/{execute-hhdejgzf.js → execute-301hkxqg.js} +1 -1
  124. package/dist/{external-channel-kjt2yzfj.js → external-channel-w10e2j05.js} +2 -2
  125. package/dist/fx-adapter-4sjrbdne.js +20 -0
  126. package/dist/grok-adapter-3a0ezfee.js +20 -0
  127. package/dist/handlers-ef3k11hb.js +41 -0
  128. package/dist/{heartbeat-2e5jdexj.js → heartbeat-tbrj7vhq.js} +25 -25
  129. package/dist/{hook-acg9saz7.js → hook-3am1sq68.js} +6 -6
  130. package/dist/{hook-34s8cmgn.js → hook-tx917rqw.js} +8 -8
  131. package/dist/{http-ra2zr2f8.js → http-3rmemtqy.js} +335 -1829
  132. package/dist/{index-mbpxhc4w.js → index-126v2d0t.js} +1 -4
  133. package/dist/{index-2z1z7qx6.js → index-2jw11t8s.js} +26 -26
  134. package/dist/{index-9q42cr54.js → index-aetfyx6p.js} +1 -1
  135. package/dist/index-e6bq0exk.js +42 -0
  136. package/dist/{index-9r4j0a60.js → index-gfnq66t1.js} +223 -25
  137. package/dist/index-hf2k1vge.js +39 -0
  138. package/dist/{index-93bw5wds.js → index-s7xtvc0f.js} +1 -1
  139. package/dist/index-taxmejj3.js +44 -0
  140. package/dist/{k8s-8326q0rq.js → k8s-36gfn847.js} +2 -2
  141. package/dist/{keepalive-vjnnqbkm.js → keepalive-9px3t7qj.js} +5 -5
  142. package/dist/lead-5vt6f174.js +83 -0
  143. package/dist/{maintenance-px2g599e.js → maintenance-vwqjwst6.js} +1 -1
  144. package/dist/{oauth-refresh-sweep-nkykf09m.js → oauth-refresh-sweep-yqry3wn4.js} +4 -4
  145. package/dist/{object-webhooks-gt9xnq21.js → object-webhooks-8s1wtths.js} +7 -7
  146. package/dist/{onboard-1f134p65.js → onboard-hb8czx0p.js} +7 -7
  147. package/dist/{opencode-adapter-94976yab.js → opencode-adapter-djd6m6dk.js} +8 -8
  148. package/dist/{otel-impl-5d4p2fqs.js → otel-impl-2ymwyczz.js} +2 -2
  149. package/dist/{pending-vkk0vx6n.js → pending-nxavtvx7.js} +23 -23
  150. package/dist/{pi-mono-adapter-cyzdv5er.js → pi-mono-adapter-d2cpmcy4.js} +12 -12
  151. package/dist/{pricing-refresh-jtmjwss9.js → pricing-refresh-1yz8jkqv.js} +2 -2
  152. package/dist/{rbac-roles-1fvmdyeb.js → rbac-roles-7s6m31xw.js} +6 -4
  153. package/dist/{rbac-roles-yd1fgpsn.js → rbac-roles-dbpx0x9v.js} +3 -3
  154. package/dist/{render-v2-kb5s3vx4.js → render-v2-7y20rjrn.js} +7 -7
  155. package/dist/{resume-z1vs44n5.js → resume-wz546x47.js} +10 -10
  156. package/dist/{runtime-gk6ct7r7.js → runtime-cb5bd9tz.js} +1 -1
  157. package/dist/{session-access-nz6nre4d.js → session-access-4vcft8kq.js} +5 -5
  158. package/dist/{session-source-backfill-wb60zjkd.js → session-source-backfill-57b50tpw.js} +3 -3
  159. package/dist/{setup-2x8g8j4s.js → setup-e1tevjyj.js} +1 -1
  160. package/dist/thread-buffer-686pa1p1.js +42 -0
  161. package/dist/{tree-visibility-ts3z30kw.js → tree-visibility-07wf1nct.js} +2 -2
  162. package/dist/{user-merge-jobs-zetg26e0.js → user-merge-jobs-n20qpv6s.js} +3 -3
  163. package/dist/{virtual-modules-674fka8x.js → virtual-modules-6fxmn1yv.js} +3 -3
  164. package/dist/{work-objects-w52yyjxm.js → work-objects-eg7y48pe.js} +25 -25
  165. package/dist/worker-4vp616ms.js +83 -0
  166. package/dist/{worker-follow-up-dyfxyjbj.js → worker-follow-up-jnvnnf2b.js} +22 -22
  167. package/dist/{x-asbrnafg.js → x-d27jj7z7.js} +2 -2
  168. package/openapi.json +475 -28
  169. package/package.json +2 -2
  170. package/src/be/db/approvals.ts +2 -0
  171. package/src/be/db/runtime.ts +5 -0
  172. package/src/be/db/script-run-sources.ts +17 -0
  173. package/src/be/db-retention.ts +1 -1
  174. package/src/be/db.ts +71 -62
  175. package/src/be/design-system.ts +63 -0
  176. package/src/be/migrations/342_script_run_sources.sql +20 -0
  177. package/src/be/migrations/runner.ts +8 -0
  178. package/src/be/migrations/script-run-sources.ts +51 -0
  179. package/src/be/rbac-roles.ts +2 -0
  180. package/src/be/scripts/typecheck.ts +4 -2
  181. package/src/be/seed-scripts/catalog/design-system-seed.ts +158 -0
  182. package/src/be/seed-scripts/index.ts +9 -0
  183. package/src/be/swarm-config-guard.ts +21 -1
  184. package/src/commands/onboard/agent-fs-version.ts +1 -1
  185. package/src/heartbeat/heartbeat.ts +18 -4
  186. package/src/http/all-routes.ts +1 -0
  187. package/src/http/approval-chat-answer.ts +99 -0
  188. package/src/http/approval-requests.ts +280 -225
  189. package/src/http/design-system.ts +103 -0
  190. package/src/http/index.ts +10 -6
  191. package/src/http/pages-public.ts +25 -10
  192. package/src/http/pages.ts +17 -0
  193. package/src/http/person-responder.ts +28 -0
  194. package/src/integrations/chat-sdk/adapters.ts +33 -3
  195. package/src/integrations/chat-sdk/inbound.ts +6 -18
  196. package/src/integrations/chat-sdk/mentions.ts +188 -0
  197. package/src/integrations/chat-sdk/outbound.ts +20 -3
  198. package/src/integrations/chat-sdk/router.ts +8 -0
  199. package/src/integrations/chat-sdk/telegram-thread.ts +12 -0
  200. package/src/jira/adf.ts +35 -9
  201. package/src/kv-reserved-namespaces.ts +5 -0
  202. package/src/pages/page-head.ts +11 -1
  203. package/src/providers/amp-adapter.ts +1 -1
  204. package/src/providers/dsh-adapter.ts +48 -13
  205. package/src/rbac/legacy-policy.ts +4 -0
  206. package/src/rbac/permissions.ts +8 -0
  207. package/src/scheduler/index.ts +1 -0
  208. package/src/scheduler/scheduler.test.ts +32 -1
  209. package/src/scheduler/scheduler.ts +24 -1
  210. package/src/script-workflows/executor.ts +6 -0
  211. package/src/script-workflows/supervisor.ts +2 -1
  212. package/src/scripts-runtime/sdk-allowlist.ts +2 -0
  213. package/src/scripts-runtime/swarm-sdk.ts +12 -23
  214. package/src/scripts-runtime/types/stdlib.d.ts +4 -1
  215. package/src/scripts-runtime/types/swarm-sdk.d.ts +4 -1
  216. package/src/server.ts +2 -0
  217. package/src/slack/actions.ts +3 -0
  218. package/src/slack/approval-actions.ts +148 -0
  219. package/src/slack/approval-buttons.ts +28 -0
  220. package/src/tests/chat-sdk-mentions.test.ts +183 -0
  221. package/src/tests/create-page-tool.test.ts +5 -0
  222. package/src/tests/dsh-adapter.test.ts +53 -1
  223. package/src/tests/fixtures/compiled-source-schema-boot.ts +24 -0
  224. package/src/tests/fixtures/secret-corpus.ts +43 -1
  225. package/src/tests/heartbeat-stall-thresholds.test.ts +174 -0
  226. package/src/tests/jira-adf.test.ts +42 -2
  227. package/src/tests/merge-gate-detect-changes.test.ts +208 -16
  228. package/src/tests/migration-342-script-run-sources.test.ts +196 -0
  229. package/src/tests/migration-bunfs-compat.test.ts +129 -9
  230. package/src/tests/rbac-e2e-helpers.test.ts +10 -4
  231. package/src/tests/rbac-e2e-helpers.ts +13 -4
  232. package/src/tests/rbac-roles.test.ts +2 -0
  233. package/src/tests/runtime-e2b-pools.test.ts +7 -1
  234. package/src/tests/schedule-target-type.test.ts +4 -1
  235. package/src/tests/script-connections.test.ts +2 -0
  236. package/src/tests/script-runs-retention.test.ts +43 -16
  237. package/src/tests/script-workflows-runtime-e2e.test.ts +56 -22
  238. package/src/tests/scripts-http.test.ts +9 -3
  239. package/src/tests/sdk-allowlist.test.ts +26 -13
  240. package/src/tests/sdk-store-progress-skipped.test.ts +12 -5
  241. package/src/tests/secret-rules.test.ts +34 -0
  242. package/src/tests/secret-scrub-gate.test.ts +7 -0
  243. package/src/tests/secret-scrubber.test.ts +62 -2
  244. package/src/tests/seed-scripts.test.ts +2 -2
  245. package/src/tests/system-one-hosts-ui-mirror.test.ts +1 -0
  246. package/src/tests/vcs-azure-devops.test.ts +10 -0
  247. package/src/tests/vcs-provider.test.ts +8 -0
  248. package/src/themes/design-system.ts +163 -0
  249. package/src/themes/page-theme.ts +28 -19
  250. package/src/tools/chat-post.ts +7 -3
  251. package/src/tools/create-page.ts +3 -0
  252. package/src/tools/design-system.ts +102 -0
  253. package/src/tools/mcp-servers/mcp-server-get.ts +1 -1
  254. package/src/tools/mcp-servers/mcp-server-list.ts +1 -1
  255. package/src/tools/register-chat-channel.ts +11 -2
  256. package/src/tools/skills/skill-get-file.ts +1 -1
  257. package/src/tools/skills/skill-get.ts +1 -1
  258. package/src/tools/skills/skill-list.ts +1 -1
  259. package/src/tools/skills/skill-search.ts +1 -1
  260. package/src/tools/utils.ts +49 -4
  261. package/src/tools/workflows/get-workflow-run.ts +1 -1
  262. package/src/tools/workflows/get-workflow.ts +1 -1
  263. package/src/tools/workflows/list-workflow-runs.ts +1 -1
  264. package/src/tools/workflows/list-workflows.ts +1 -1
  265. package/src/types.ts +65 -0
  266. package/src/utils/secret-rules.generated.ts +149 -149
  267. package/src/utils/secret-scrubber.ts +111 -5
  268. package/src/vcs/azure-devops.ts +22 -1
  269. package/src/vcs/index.ts +3 -1
  270. package/src/workflows/approval-inline.ts +122 -0
  271. package/src/workflows/approval-notifications.ts +7 -2
  272. package/src/workflows/engine.ts +6 -5
  273. package/src/workflows/executors/agent-task.ts +14 -0
  274. package/src/workflows/executors/system-one-providers.ts +23 -0
  275. package/templates/skills/pages/content.md +34 -8
  276. package/templates/skills/swarm-docs/content.md +5 -0
  277. package/templates/skills/workflow-iterate/content.md +1 -1
  278. package/dist/acp-adapter-t2q6nsqv.js +0 -17
  279. package/dist/cli-kh973792.js +0 -98
  280. package/dist/core-nheayfgm.js +0 -42
  281. package/dist/fx-adapter-8g7xsp8q.js +0 -20
  282. package/dist/grok-adapter-ztk2zkz1.js +0 -20
  283. package/dist/handlers-9ywssz71.js +0 -41
  284. package/dist/index-6mgbdtv1.js +0 -44
  285. package/dist/index-hqdsn2t2.js +0 -39
  286. package/dist/index-st231bqv.js +0 -40
  287. package/dist/lead-mk0xkth2.js +0 -82
  288. package/dist/thread-buffer-d50rqpev.js +0 -42
  289. package/dist/worker-662x1vse.js +0 -82
@@ -2,20 +2,20 @@ import {
2
2
  getKv2,
3
3
  upsertKv2,
4
4
  init_db4
5
- } from "./cli-e4gx499y.js";
5
+ } from "./cli-ts5yv7dn.js";
6
6
  import {
7
7
  resolveIdentity,
8
8
  init_identity,
9
9
  recordUnmappedIdentity,
10
10
  init_unmapped_identities
11
- } from "./cli-1606qw3n.js";
11
+ } from "./cli-904wk98s.js";
12
12
  import {
13
13
  findUserByExternalId,
14
14
  findUserByEmail,
15
15
  findOrCreateUserByEmail,
16
16
  linkIdentity,
17
17
  init_users
18
- } from "./cli-grk77aen.js";
18
+ } from "./cli-kj84fqxz.js";
19
19
  import {
20
20
  __esm
21
21
  } from "./cli-242037k3.js";
@@ -16,11 +16,11 @@ import {
16
16
  getSwarmConfigs2,
17
17
  upsertSwarmConfig2,
18
18
  init_db4
19
- } from "./cli-e4gx499y.js";
19
+ } from "./cli-ts5yv7dn.js";
20
20
  import {
21
21
  createRuntimeProvider,
22
22
  init_runtime_providers
23
- } from "./cli-43dsqhcp.js";
23
+ } from "./cli-jbrc98qb.js";
24
24
  import {
25
25
  poolCacheKey,
26
26
  init_types4
@@ -30,7 +30,7 @@ import {
30
30
  init_session_token_connections,
31
31
  insertSessionToken,
32
32
  init_users
33
- } from "./cli-grk77aen.js";
33
+ } from "./cli-kj84fqxz.js";
34
34
  import {
35
35
  RuntimeControllerCreateSchema,
36
36
  RuntimeControllerUpdateSchema,
@@ -38,13 +38,13 @@ import {
38
38
  RuntimePoolUpdateSchema,
39
39
  RuntimePoolCreateAgentSchema,
40
40
  init_types5
41
- } from "./cli-f8rcvf2x.js";
41
+ } from "./cli-azj9t1f9.js";
42
42
  import {
43
43
  scrubSecrets,
44
44
  registerVolatileSecret,
45
45
  unregisterVolatileSecret,
46
46
  init_secret_scrubber
47
- } from "./cli-fp65jdp2.js";
47
+ } from "./cli-1kvcsd2f.js";
48
48
  import {
49
49
  __esm
50
50
  } from "./cli-242037k3.js";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  scrubSecrets,
7
7
  init_secret_scrubber
8
- } from "./cli-fp65jdp2.js";
8
+ } from "./cli-1kvcsd2f.js";
9
9
  import {
10
10
  __esm
11
11
  } from "./cli-242037k3.js";
@@ -3,14 +3,14 @@ import {
3
3
  requireFxRoute,
4
4
  fxSessionExists2,
5
5
  fxTargetProfile2
6
- } from "./cli-7fa6yv98.js";
6
+ } from "./cli-0fgvnb0x.js";
7
7
  import {
8
8
  ACPAdapter2
9
- } from "./cli-xc8m5cjn.js";
9
+ } from "./cli-8cas2xvp.js";
10
10
  import {
11
11
  getKnownContextWindowSize,
12
12
  init_context_window
13
- } from "./cli-cpkxh68d.js";
13
+ } from "./cli-z1vam71h.js";
14
14
  import {
15
15
  getOpenRouterBaseUrl,
16
16
  init_openrouter_base_url
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  registerVolatileSecret,
20
20
  init_secret_scrubber
21
- } from "./cli-fp65jdp2.js";
21
+ } from "./cli-1kvcsd2f.js";
22
22
 
23
23
  // src/providers/fx-adapter.ts
24
24
  init_context_window();
@@ -14,7 +14,7 @@ import {
14
14
  SteeringBlockedError,
15
15
  init_steering2,
16
16
  init_db4
17
- } from "./cli-e4gx499y.js";
17
+ } from "./cli-ts5yv7dn.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-hxj888w3.js";
25
+ } from "./cli-7gbff32z.js";
26
26
  import {
27
27
  workflowEventBus2,
28
28
  init_event_bus
29
- } from "./cli-vx9acp12.js";
29
+ } from "./cli-ybte1fqc.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-ea367bdn.js";
45
+ } from "./cli-rmgvwcmy.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-1606qw3n.js";
63
+ } from "./cli-904wk98s.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-0j4qmc80.js";
74
+ } from "./cli-phdzn699.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-wtffytm8.js";
85
+ } from "./cli-1vmhnncj.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-v8rpjrnx.js";
93
+ } from "./cli-gtj12v95.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-fp65jdp2.js";
110
+ } from "./cli-1kvcsd2f.js";
111
111
  import {
112
112
  __esm,
113
113
  __using,
@@ -2,7 +2,7 @@ import {
2
2
  getKnownContextWindowSize,
3
3
  clampContextPercent,
4
4
  init_context_window
5
- } from "./cli-cpkxh68d.js";
5
+ } from "./cli-z1vam71h.js";
6
6
  import {
7
7
  resolveTemplateFromCode,
8
8
  resolveTemplateAsync,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  init_package,
3
3
  package_default
4
- } from "./cli-sy2ge2ye.js";
4
+ } from "./cli-cq4am6vg.js";
5
5
 
6
6
  // src/commands/shared/client-config.ts
7
7
  init_package();
@@ -15,28 +15,28 @@ import {
15
15
  init_active_sessions,
16
16
  getSteeringMessageById2,
17
17
  init_db4
18
- } from "./cli-e4gx499y.js";
18
+ } from "./cli-ts5yv7dn.js";
19
19
  import {
20
20
  userHoldsExplicitVerb2,
21
21
  getUserGrant2,
22
22
  init_rbac_roles
23
- } from "./cli-tjf1bh1v.js";
23
+ } from "./cli-x2cem5vy.js";
24
24
  import {
25
25
  hasSessionAccess,
26
26
  getSessionRoot,
27
27
  sessionAccessForRoot,
28
28
  sessionAccess,
29
29
  init_session_shares
30
- } from "./cli-1gnf5c7x.js";
30
+ } from "./cli-pz1dp12c.js";
31
31
  import {
32
32
  findUserById,
33
33
  findUserByExternalId,
34
34
  init_users
35
- } from "./cli-grk77aen.js";
35
+ } from "./cli-kj84fqxz.js";
36
36
  import {
37
37
  isGroupKey,
38
38
  init_key
39
- } from "./cli-f8rcvf2x.js";
39
+ } from "./cli-azj9t1f9.js";
40
40
  import {
41
41
  init_zod
42
42
  } from "./cli-96234j5w.js";
@@ -56,7 +56,7 @@ import {
56
56
  import {
57
57
  scrubSecrets,
58
58
  init_secret_scrubber
59
- } from "./cli-fp65jdp2.js";
59
+ } from "./cli-1kvcsd2f.js";
60
60
  import {
61
61
  __esm
62
62
  } from "./cli-242037k3.js";
@@ -514,7 +514,7 @@ function route(def) {
514
514
  try {
515
515
  const rawBody = def.body ? await parseBody(req, def.maxBodyBytes) : undefined;
516
516
  if (def.session && "bodyTaskIds" in def.session) {
517
- const { bodySessionDenial } = await import("./session-access-nz6nre4d.js");
517
+ const { bodySessionDenial } = await import("./session-access-4vcft8kq.js");
518
518
  const denial = await bodySessionDenial(req, def.session.bodyTaskIds(rawBody));
519
519
  if (denial) {
520
520
  jsonError(res, denial, 403);
@@ -6,17 +6,17 @@ import {
6
6
  init_key_bootstrap,
7
7
  getDbClient2,
8
8
  init_db4
9
- } from "./cli-e4gx499y.js";
9
+ } from "./cli-ts5yv7dn.js";
10
10
  import {
11
11
  AgentFsRequestError2,
12
12
  agentFsRequest2,
13
13
  resolveAgentFsServiceCredentials2,
14
14
  init_agent_fs_provision
15
- } from "./cli-a21cwm89.js";
15
+ } from "./cli-60dwk8tx.js";
16
16
  import {
17
17
  applyFileChange,
18
18
  init_objects
19
- } from "./cli-w24741sm.js";
19
+ } from "./cli-tr19nyn9.js";
20
20
  import {
21
21
  FilesError,
22
22
  init_provider,
@@ -31,7 +31,7 @@ import {
31
31
  scrubSecrets,
32
32
  registerVolatileSecret,
33
33
  init_secret_scrubber
34
- } from "./cli-fp65jdp2.js";
34
+ } from "./cli-1kvcsd2f.js";
35
35
  import {
36
36
  __esm
37
37
  } from "./cli-242037k3.js";
@@ -12,17 +12,17 @@ import {
12
12
  isModelNameTakenError,
13
13
  init_model_profiles,
14
14
  init_db4
15
- } from "./cli-e4gx499y.js";
15
+ } from "./cli-ts5yv7dn.js";
16
16
  import {
17
17
  ensureRbacSeedsSynced2,
18
18
  init_rbac_roles
19
- } from "./cli-tjf1bh1v.js";
19
+ } from "./cli-x2cem5vy.js";
20
20
  import {
21
21
  MODEL_TIERS,
22
22
  DEFAULT_MODEL_TIER_MAP,
23
23
  ProviderNameSchema,
24
24
  init_types5
25
- } from "./cli-f8rcvf2x.js";
25
+ } from "./cli-azj9t1f9.js";
26
26
  import {
27
27
  __esm
28
28
  } from "./cli-242037k3.js";
@@ -13,11 +13,11 @@ import {
13
13
  claudeMdLineageOf,
14
14
  planClaudeMdSync,
15
15
  init_profile_sync
16
- } from "./cli-aytna2fm.js";
16
+ } from "./cli-ka48vpev.js";
17
17
  import {
18
18
  scrubSecrets,
19
19
  init_secret_scrubber
20
- } from "./cli-fp65jdp2.js";
20
+ } from "./cli-1kvcsd2f.js";
21
21
 
22
22
  // src/commands/claude-md-session.ts
23
23
  init_file_lock();
@@ -2,23 +2,23 @@ import {
2
2
  contextStatePath,
3
3
  contextBoundNoteMarkerPath,
4
4
  recordContextState
5
- } from "./cli-88np9va3.js";
5
+ } from "./cli-3xqad83h.js";
6
6
  import {
7
7
  runStopHookSessionSummarySubprocess
8
- } from "./cli-vgh5adn9.js";
8
+ } from "./cli-7g3fg4gf.js";
9
9
  import {
10
10
  redactRateLimitEventLine,
11
11
  SessionErrorTracker,
12
12
  trackErrorFromJson,
13
13
  parseStderrForErrors
14
- } from "./cli-zkbz8m2q.js";
14
+ } from "./cli-fkpnx3vf.js";
15
15
  import {
16
16
  isHarnessOtelEnabled,
17
17
  buildOtelTraceparentEnv
18
18
  } from "./cli-snxhtehz.js";
19
19
  import {
20
20
  applyReasoningEffort
21
- } from "./cli-vdfngx2g.js";
21
+ } from "./cli-ywy8yz6t.js";
22
22
  import {
23
23
  fetchInstalledMcpServers
24
24
  } from "./cli-5y2fvw4z.js";
@@ -28,7 +28,7 @@ import {
28
28
  computeContextUsedUnified,
29
29
  clampContextPercent,
30
30
  init_context_window
31
- } from "./cli-cpkxh68d.js";
31
+ } from "./cli-z1vam71h.js";
32
32
  import {
33
33
  resolveSlashSkillPrompt
34
34
  } from "./cli-5j88qqa8.js";
@@ -49,7 +49,7 @@ import {
49
49
  import {
50
50
  withFileLock,
51
51
  init_file_lock
52
- } from "./cli-aytna2fm.js";
52
+ } from "./cli-ka48vpev.js";
53
53
  import {
54
54
  routeCredentialStatus,
55
55
  deriveDefaultRoute,
@@ -58,7 +58,7 @@ import {
58
58
  CLAUDE_CREDENTIALS_HINT,
59
59
  validateClaudeCredentials,
60
60
  init_credentials2
61
- } from "./cli-5basv0e7.js";
61
+ } from "./cli-gkv0r2hq.js";
62
62
  import {
63
63
  getOpenRouterAttributionHeaders,
64
64
  init_openrouter_base_url
@@ -70,7 +70,7 @@ import {
70
70
  import {
71
71
  scrubSecrets,
72
72
  init_secret_scrubber
73
- } from "./cli-fp65jdp2.js";
73
+ } from "./cli-1kvcsd2f.js";
74
74
  import {
75
75
  require_src4
76
76
  } from "./cli-mna6pmfx.js";
@@ -1340,7 +1340,7 @@ class ClaudeAdapter2 {
1340
1340
  if (transport === "sdk" && isClaudeBridgeEffective(sourceEnv)) {
1341
1341
  throw new Error("CLAUDE_TRANSPORT=sdk cannot run with an effective Claude Bridge configuration. Select CLI transport or disable the bridge.");
1342
1342
  }
1343
- const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-c3g6dv0g.js") : undefined;
1343
+ const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-cktyqkpk.js") : undefined;
1344
1344
  claudeSdk?.validateClaudeSdkAdditionalArgs([
1345
1345
  ...claudeBinaryArgv.slice(1),
1346
1346
  ...config.additionalArgs ?? []
@@ -3,7 +3,7 @@ import {
3
3
  scrubObject,
4
4
  registerVolatileSecret,
5
5
  init_secret_scrubber
6
- } from "./cli-fp65jdp2.js";
6
+ } from "./cli-1kvcsd2f.js";
7
7
  import {
8
8
  __esm
9
9
  } from "./cli-242037k3.js";
@@ -13,14 +13,14 @@ import {
13
13
  WORKFLOW_CONTEXT_REQUESTER_SQL,
14
14
  init_user_references,
15
15
  init_db4
16
- } from "./cli-e4gx499y.js";
16
+ } from "./cli-ts5yv7dn.js";
17
17
  import {
18
18
  nextRestRatio2
19
- } from "./cli-czeh7x13.js";
19
+ } from "./cli-tsc3pdfd.js";
20
20
  import {
21
21
  scrubSecrets,
22
22
  init_secret_scrubber
23
- } from "./cli-fp65jdp2.js";
23
+ } from "./cli-1kvcsd2f.js";
24
24
 
25
25
  // src/be/user-merge-jobs.ts
26
26
  init_telemetry_identity();
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ACPAdapter2
3
- } from "./cli-xc8m5cjn.js";
3
+ } from "./cli-8cas2xvp.js";
4
4
  import {
5
5
  isGrokOpenRouterModel2,
6
6
  grokTargetProfile2
7
- } from "./cli-7fa6yv98.js";
7
+ } from "./cli-0fgvnb0x.js";
8
8
  import {
9
9
  getOpenRouterBaseUrl,
10
10
  getOpenRouterAttributionHeaders,
@@ -15,7 +15,7 @@ import {
15
15
  init_src2,
16
16
  registerVolatileSecret,
17
17
  init_secret_scrubber
18
- } from "./cli-fp65jdp2.js";
18
+ } from "./cli-1kvcsd2f.js";
19
19
 
20
20
  // src/providers/grok-adapter.ts
21
21
  init_src2();
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  contextBoundNoteThreshold,
6
6
  createContextBoundNote
7
- } from "./cli-88np9va3.js";
7
+ } from "./cli-3xqad83h.js";
8
8
  import {
9
9
  checkToolLoop
10
10
  } from "./cli-0726awxw.js";
11
11
  import {
12
12
  createSwarmEventHandler
13
- } from "./cli-at67kvnp.js";
13
+ } from "./cli-srktrbby.js";
14
14
  import {
15
15
  readPkgVersion
16
16
  } from "./cli-kr5tjjtz.js";
@@ -20,7 +20,7 @@ import {
20
20
  computeContextUsedUnified,
21
21
  clampContextPercent,
22
22
  init_context_window
23
- } from "./cli-cpkxh68d.js";
23
+ } from "./cli-z1vam71h.js";
24
24
  import {
25
25
  isGitHubEnterprise,
26
26
  init_github_host
@@ -28,16 +28,16 @@ import {
28
28
  import {
29
29
  selectCredential,
30
30
  init_credentials2
31
- } from "./cli-5basv0e7.js";
31
+ } from "./cli-gkv0r2hq.js";
32
32
  import {
33
33
  runtimeCatalogModel,
34
34
  init_runtime_model_catalog
35
- } from "./cli-q8aq48v1.js";
35
+ } from "./cli-8b4rpnwj.js";
36
36
  import {
37
37
  init_src2,
38
38
  scrubSecrets,
39
39
  init_secret_scrubber
40
- } from "./cli-fp65jdp2.js";
40
+ } from "./cli-1kvcsd2f.js";
41
41
 
42
42
  // src/providers/claude-managed-adapter.ts
43
43
  init_context_window();
@@ -6,15 +6,15 @@ import {
6
6
  getResolvedConfig2,
7
7
  getAllUsers2,
8
8
  init_db4
9
- } from "./cli-e4gx499y.js";
9
+ } from "./cli-ts5yv7dn.js";
10
10
  import {
11
11
  getUserGrant2,
12
12
  init_rbac_roles
13
- } from "./cli-tjf1bh1v.js";
13
+ } from "./cli-x2cem5vy.js";
14
14
  import {
15
15
  scrubSecrets,
16
16
  init_secret_scrubber
17
- } from "./cli-fp65jdp2.js";
17
+ } from "./cli-1kvcsd2f.js";
18
18
  import {
19
19
  __esm
20
20
  } from "./cli-242037k3.js";
@@ -2,7 +2,7 @@ import {
2
2
  persistCodexOAuth,
3
3
  getValidCodexOAuth,
4
4
  init_storage
5
- } from "./cli-8fj8yfmk.js";
5
+ } from "./cli-2vp0z049.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-5basv0e7.js";
80
+ } from "./cli-gkv0r2hq.js";
81
81
  import {
82
82
  __export,
83
83
  __esm
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  materializeClaudeMd,
3
3
  stopClaudeMd
4
- } from "./cli-kwm1bek7.js";
4
+ } from "./cli-4pbwg7sn.js";
5
5
  import {
6
6
  summarizeSession
7
- } from "./cli-wsnradtk.js";
7
+ } from "./cli-m1sns1da.js";
8
8
  import {
9
9
  contextBoundNoteThreshold,
10
10
  injectClaimedContextBoundNote
11
- } from "./cli-88np9va3.js";
11
+ } from "./cli-3xqad83h.js";
12
12
  import {
13
13
  canonicalToolName,
14
14
  canonicalArgs,
15
15
  rawArgsFromCanonical,
16
16
  runNativePre,
17
17
  runNativePost
18
- } from "./cli-2v4xxnx2.js";
18
+ } from "./cli-0h8skzss.js";
19
19
  import {
20
20
  guardGhPrBody,
21
21
  guardGhPrRoom
@@ -44,7 +44,7 @@ import {
44
44
  warnProfileFileTooLarge,
45
45
  buildIndependentIdentityPayloads,
46
46
  init_profile_sync
47
- } from "./cli-aytna2fm.js";
47
+ } from "./cli-ka48vpev.js";
48
48
  import {
49
49
  MAX_PROFILE_FILE_LENGTH,
50
50
  getMcpBaseUrl,
@@ -57,11 +57,11 @@ import {
57
57
  import {
58
58
  init_package,
59
59
  package_default
60
- } from "./cli-sy2ge2ye.js";
60
+ } from "./cli-cq4am6vg.js";
61
61
  import {
62
62
  scrubSecrets,
63
63
  init_secret_scrubber
64
- } from "./cli-fp65jdp2.js";
64
+ } from "./cli-1kvcsd2f.js";
65
65
 
66
66
  // src/hooks/hook.ts
67
67
  init_package();
@@ -4,7 +4,7 @@ import {
4
4
  claimKv2,
5
5
  deleteKv2,
6
6
  init_db4
7
- } from "./cli-e4gx499y.js";
7
+ } from "./cli-ts5yv7dn.js";
8
8
  import {
9
9
  isEnvFlagEnabled,
10
10
  init_env_flag
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  scrubSecrets,
14
14
  init_secret_scrubber
15
- } from "./cli-fp65jdp2.js";
15
+ } from "./cli-1kvcsd2f.js";
16
16
  import {
17
17
  __esm
18
18
  } from "./cli-242037k3.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  withRegistryCatalogSections,
3
3
  init_src2
4
- } from "./cli-fp65jdp2.js";
4
+ } from "./cli-1kvcsd2f.js";
5
5
  import {
6
6
  __esm
7
7
  } from "./cli-242037k3.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveAcpTarget2
3
- } from "./cli-7fa6yv98.js";
3
+ } from "./cli-0fgvnb0x.js";
4
4
  import {
5
5
  fetchInstalledMcpServers
6
6
  } from "./cli-5y2fvw4z.js";
@@ -34,11 +34,11 @@ import {
34
34
  import {
35
35
  init_package,
36
36
  package_default
37
- } from "./cli-sy2ge2ye.js";
37
+ } from "./cli-cq4am6vg.js";
38
38
  import {
39
39
  scrubSecrets,
40
40
  init_secret_scrubber
41
- } from "./cli-fp65jdp2.js";
41
+ } from "./cli-1kvcsd2f.js";
42
42
 
43
43
  // node_modules/@agentclientprotocol/sdk/dist/v1/unstable/schema/index.js
44
44
  var AGENT_METHODS = {