@desplega.ai/agent-swarm 2.14.0 → 2.14.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 (344) hide show
  1. package/dist/acp-adapter-7jv7w8jh.js +17 -0
  2. package/dist/{acp-targets-23exz4z4.js → acp-targets-0ebmg3et.js} +10 -10
  3. package/dist/{actions-zcr25x27.js → actions-0ds9dx6c.js} +28 -28
  4. package/dist/{agent-fs-provision-7fa9e12e.js → agent-fs-provision-zpbxa9jc.js} +4 -4
  5. package/dist/{amp-adapter-s7ytmv6b.js → amp-adapter-awh5nn7a.js} +3 -3
  6. package/dist/{anthropic-messages-vdd1zmha.js → anthropic-messages-gtgp9r85.js} +17 -17
  7. package/dist/{app-5d3sz1hy.js → app-nzejkvpp.js} +10 -10
  8. package/dist/{approval-notifications-7qgkzkzx.js → approval-notifications-hbqtb2w3.js} +11 -11
  9. package/dist/{assistant-p2yvhc3j.js → assistant-1paft129.js} +29 -29
  10. package/dist/{boot-args-schema-ry6cb0p7.js → boot-args-schema-zs435mfx.js} +1 -1
  11. package/dist/{boot-reembed-2hkm3vz2.js → boot-reembed-7xq2qgg4.js} +1 -1
  12. package/dist/{boot-reembed-c9643ms3.js → boot-reembed-91qrd4mz.js} +1 -1
  13. package/dist/{boot-scrub-sweep-3ycxr51t.js → boot-scrub-sweep-3h5xscw6.js} +2 -2
  14. package/dist/{boot-seeds-2hzvvzg0.js → boot-seeds-xkxqa8zc.js} +4 -4
  15. package/dist/{boxd-9py3x0jb.js → boxd-464x3w4m.js} +3 -3
  16. package/dist/{claude-adapter-dnkww93e.js → claude-adapter-6d8eyf2f.js} +12 -13
  17. package/dist/{claude-managed-adapter-yk0cr5x6.js → claude-managed-adapter-jzxcaf9m.js} +4 -4
  18. package/dist/{claude-managed-setup-4byxpp47.js → claude-managed-setup-5fcx0qh3.js} +10 -10
  19. package/dist/{claude-sdk-session-4wf3dbvs.js → claude-sdk-session-11vhz1hc.js} +11442 -12786
  20. package/dist/{cli-2ckwgs7q.js → cli-02ba8qx5.js} +1 -1
  21. package/dist/{cli-wvgg7r4j.js → cli-08gfvs58.js} +2 -2
  22. package/dist/{cli-ad00h1st.js → cli-0dkpdvnn.js} +10 -10
  23. package/dist/{cli-879txsac.js → cli-0mq8kxfx.js} +4 -4
  24. package/dist/{cli-rp1n2xpd.js → cli-0nvqg1hb.js} +1 -1
  25. package/dist/{cli-qrwjk4xy.js → cli-0qyfna7a.js} +5 -5
  26. package/dist/cli-0vxbrxr3.js +1006 -0
  27. package/dist/{cli-vxmmttmt.js → cli-132h67ps.js} +52 -52
  28. package/dist/{cli-yd7e590v.js → cli-1e13gvfn.js} +14 -14
  29. package/dist/cli-1hj68b3h.js +30 -0
  30. package/dist/{cli-hzhv7yac.js → cli-1zbj28py.js} +1 -1
  31. package/dist/{cli-0k7ppk9k.js → cli-20mkgwev.js} +43 -38
  32. package/dist/{cli-ejnhs815.js → cli-288k5ep1.js} +11 -11
  33. package/dist/{cli-njvpngc6.js → cli-2n7qdqfv.js} +3 -3
  34. package/dist/{cli-r04ve9xw.js → cli-2r62jy9s.js} +1 -1
  35. package/dist/{cli-9j1t3kf6.js → cli-3179w2rz.js} +2 -2
  36. package/dist/cli-3a3hm1z8.js +15 -0
  37. package/dist/cli-3bagv8rt.js +37 -0
  38. package/dist/{cli-6ajyhxh7.js → cli-3bcsc3m7.js} +2 -2
  39. package/dist/{cli-jgq9xptq.js → cli-3g0vbq46.js} +4 -4
  40. package/dist/{cli-69szn7w7.js → cli-3ktfe5jx.js} +71 -47
  41. package/dist/{cli-yjb3cddd.js → cli-44r66df2.js} +1 -1
  42. package/dist/{cli-mv8ft7b0.js → cli-4y2bekkn.js} +3 -3
  43. package/dist/cli-547fsc36.js +15 -0
  44. package/dist/{cli-6p8p2e6r.js → cli-5pyes68e.js} +1278 -23
  45. package/dist/{cli-930zbczq.js → cli-5t00r6c9.js} +3 -3
  46. package/dist/{cli-kc7vd07m.js → cli-5xjdft4s.js} +3601 -1700
  47. package/dist/{cli-4dyzzkfb.js → cli-643skca1.js} +954 -180
  48. package/dist/{cli-vr4eyq6p.js → cli-6a77m17n.js} +540 -412
  49. package/dist/{cli-v41kn3cd.js → cli-6prwz0zn.js} +4427 -5566
  50. package/dist/{cli-1nfabrt4.js → cli-6xrbpj5j.js} +4 -4
  51. package/dist/{cli-meydjstb.js → cli-6yhjqd6k.js} +4965 -69
  52. package/dist/{cli-6yy4fepf.js → cli-727sq1f9.js} +4 -4
  53. package/dist/{cli-snxhtehz.js → cli-7abeph0b.js} +7 -8
  54. package/dist/{cli-ty3gha1p.js → cli-7b9bwrfg.js} +2 -2
  55. package/dist/{cli-g6a696c0.js → cli-7dwsn9y5.js} +4 -4
  56. package/dist/{cli-r9d2tya0.js → cli-7qkbab03.js} +5 -5
  57. package/dist/{cli-7ca8hczj.js → cli-7svwhw1a.js} +1 -1
  58. package/dist/{cli-ze1ndjs4.js → cli-83kf2y60.js} +8 -8
  59. package/dist/{cli-rs1rzwp4.js → cli-8crn0510.js} +1 -1
  60. package/dist/{cli-wym6rxgt.js → cli-8kemtj1r.js} +10 -15
  61. package/dist/{cli-md4tn21h.js → cli-967jrz7j.js} +40 -26
  62. package/dist/{cli-jcnc5ret.js → cli-976m0zcw.js} +38 -28
  63. package/dist/{cli-cbg0j1yt.js → cli-98sea4d9.js} +3 -3
  64. package/dist/{cli-xh5fpmg8.js → cli-9txap41q.js} +101 -18
  65. package/dist/{cli-24wervhz.js → cli-aktk3qt6.js} +3 -3
  66. package/dist/{cli-096aftq6.js → cli-b70cpf8f.js} +7 -7
  67. package/dist/{cli-2ap1the6.js → cli-by7s3n4p.js} +1 -1
  68. package/dist/{cli-w4bvtxet.js → cli-byzq8xht.js} +7 -7
  69. package/dist/{cli-phe2vcw5.js → cli-d1zkys4j.js} +150 -99
  70. package/dist/cli-dr6x9qdk.js +15 -0
  71. package/dist/cli-dt931hb8.js +9740 -0
  72. package/dist/{cli-0e914dp9.js → cli-e1wprqnd.js} +3 -3
  73. package/dist/{cli-2ayk9gn8.js → cli-e2wzzw17.js} +2 -2
  74. package/dist/{cli-1jx0srjt.js → cli-e9p9h14n.js} +1921 -80
  75. package/dist/{cli-2savn6mm.js → cli-eaqxkeq0.js} +10 -10
  76. package/dist/{cli-dw9rtjm3.js → cli-etykr11s.js} +3061 -727
  77. package/dist/{cli-73rmgm45.js → cli-f07sgaax.js} +2 -2
  78. package/dist/{cli-gc6b94tj.js → cli-fe8he9cy.js} +2 -2
  79. package/dist/{cli-s4pccby1.js → cli-h0edykd1.js} +1 -1
  80. package/dist/cli-h5cveb69.js +15 -0
  81. package/dist/{cli-gcyws2bp.js → cli-hamdfjtx.js} +2 -2
  82. package/dist/{cli-jwnac23b.js → cli-hh5m39pt.js} +1 -1
  83. package/dist/{cli-f9g96z28.js → cli-j8fmn3wv.js} +11 -11
  84. package/dist/cli-jngvszex.js +1514 -0
  85. package/dist/{cli-8vbxjzk0.js → cli-k791mabe.js} +6 -6
  86. package/dist/{cli-9fwznq4p.js → cli-k9m8fckz.js} +7 -7
  87. package/dist/{cli-39t9d248.js → cli-kz8rar0g.js} +1 -1
  88. package/dist/{cli-rzbsh6bw.js → cli-n15fhd43.js} +1 -1
  89. package/dist/{cli-wvbaq052.js → cli-nmdy8bzf.js} +10 -3
  90. package/dist/{cli-t9pzz2eq.js → cli-ntmjzyte.js} +4 -1
  91. package/dist/{cli-adzmmcvf.js → cli-ny8f5g7t.js} +2 -2
  92. package/dist/cli-p0g0erm9.js +15 -0
  93. package/dist/{cli-2zjxake1.js → cli-pgdqhdkw.js} +4 -4
  94. package/dist/cli-ph1jce1b.js +16 -0
  95. package/dist/{cli-v4z5v3jd.js → cli-phantfg3.js} +480 -328
  96. package/dist/{cli-2414h5r9.js → cli-rb1z91g8.js} +10221 -1397
  97. package/dist/{cli-a49frv85.js → cli-redtbppc.js} +1 -1
  98. package/dist/{cli-91amj3md.js → cli-s7bfz1ye.js} +15 -15
  99. package/dist/{cli-kg63yp1r.js → cli-sf5kp73f.js} +18 -18
  100. package/dist/{cli-fww016hh.js → cli-sq32dgfe.js} +1373 -7129
  101. package/dist/{cli-enavhq6r.js → cli-tbrjvrrg.js} +1 -1
  102. package/dist/{cli-84xn7bgz.js → cli-tdd9dvw6.js} +1 -1
  103. package/dist/{cli-qkbevqer.js → cli-tjrrabez.js} +3 -3
  104. package/dist/{cli-q457ga28.js → cli-tkrp183j.js} +11 -11
  105. package/dist/{cli-7w1fs01q.js → cli-trvtxwzt.js} +2 -2
  106. package/dist/{cli-ayxxkk3p.js → cli-v1rhq77v.js} +8 -8
  107. package/dist/{cli-9j47sgzy.js → cli-v3jxx8dv.js} +2 -2
  108. package/dist/{cli-f2rwt43y.js → cli-v84kb7af.js} +13 -13
  109. package/dist/{cli-3mhdmcd4.js → cli-vp2ksaq9.js} +1 -1
  110. package/dist/{cli-b0m3bg0f.js → cli-vrb8pvrf.js} +6 -6
  111. package/dist/cli-vxxdf2ma.js +15 -0
  112. package/dist/{cli-wd7b5hgc.js → cli-w81s97bn.js} +1 -1
  113. package/dist/{cli-bqfx72e6.js → cli-wkzrknpt.js} +1 -1
  114. package/dist/{cli-cg1q8ymp.js → cli-wqpvfq2m.js} +1 -1
  115. package/dist/{cli-pq0kv31y.js → cli-wsh5vfa7.js} +9 -9
  116. package/dist/{cli-shyhb4t5.js → cli-wtwe8vng.js} +39 -39
  117. package/dist/{cli-3wsabyt0.js → cli-ww8wxfzx.js} +2 -2
  118. package/dist/{cli-e8trbfx1.js → cli-x80zagf5.js} +1 -1
  119. package/dist/{cli-r495stwd.js → cli-xd6ntv7x.js} +2 -2
  120. package/dist/{cli-0h6m6z5g.js → cli-xmc2nrtv.js} +1 -1
  121. package/dist/{cli-q5n3deaf.js → cli-ytgtqsy9.js} +1 -1
  122. package/dist/{cli-srq69pn1.js → cli-yvnnyjxm.js} +1 -1
  123. package/dist/{cli-krk8y8c7.js → cli-z0c98h7h.js} +1747 -439
  124. package/dist/{cli-mw1tmn3x.js → cli-z0effej1.js} +7 -7
  125. package/dist/{cli-7g5qj2ca.js → cli-zcb64xzv.js} +1 -1
  126. package/dist/{cli-m0ea8ggd.js → cli-zdkcp8p0.js} +2 -2
  127. package/dist/{cli-37p61fcg.js → cli-zgsd2w2k.js} +20 -22
  128. package/dist/{cli-tc165vrb.js → cli-zmfs06hg.js} +7 -6
  129. package/dist/{cli-edxfzgah.js → cli-zvsy4abb.js} +4 -4
  130. package/dist/{cli-z8t4485r.js → cli-zyf288rw.js} +2 -2
  131. package/dist/cli.js +58 -59
  132. package/dist/{codex-adapter-eq61radw.js → codex-adapter-seht4h9t.js} +9 -9
  133. package/dist/{codex-hook-8nmepvz6.js → codex-hook-w5nmtrn2.js} +2 -2
  134. package/dist/{codex-login-vbd9707w.js → codex-login-67qarfcg.js} +1 -1
  135. package/dist/{codex-session-runner-rfx355h4.js → codex-session-runner-tq95x3gq.js} +10 -10
  136. package/dist/{commands-d1z0sx62.js → commands-0awwqxq5.js} +3 -3
  137. package/dist/{controller-9hz6d8x3.js → controller-hgjx521c.js} +4 -4
  138. package/dist/{controllers-connect-tz07d2xr.js → controllers-connect-j4kdmhfj.js} +28 -28
  139. package/dist/core-8fw1gwg7.js +41 -0
  140. package/dist/{cursor-adapter-ef22ze3j.js → cursor-adapter-0rg8wk6j.js} +2 -2
  141. package/dist/{db-gd81d68c.js → db-8xs2js3s.js} +3 -3
  142. package/dist/{db-vrckks6q.js → db-dd6hj211.js} +2 -2
  143. package/dist/{devin-adapter-kdt6a2bh.js → devin-adapter-tn1twrha.js} +1 -1
  144. package/dist/{devtools-qxfgbsqz.js → devtools-b8qts77k.js} +1 -1
  145. package/dist/{dispatcher-76as8w2t.js → dispatcher-v7drd034.js} +24 -24
  146. package/dist/{docker-51ta7jsh.js → docker-6007r2fj.js} +2 -2
  147. package/dist/{dsh-adapter-ypfvcdyz.js → dsh-adapter-ah8npj2x.js} +2 -2
  148. package/dist/{e2b-dm9r8hpy.js → e2b-hg80w0qr.js} +2 -2
  149. package/dist/{e2b-05kn3kpq.js → e2b-z1g7vpz6.js} +4 -4
  150. package/dist/{easter-egg-3d-sg21j15g.js → easter-egg-3d-8n4w3s9k.js} +1 -1
  151. package/dist/{embedding-space-zsdw37bb.js → embedding-space-0p921zt3.js} +5 -5
  152. package/dist/{embeddings-p4e3e1m6.js → embeddings-9s7kbrc6.js} +1 -1
  153. package/dist/emscripten-module-Q67P5WYC-3sde6cre.js +2458 -0
  154. package/dist/{event-bus-tvf2grf4.js → event-bus-pawddp92.js} +1 -1
  155. package/dist/{execute-nztd0af0.js → execute-x0fy9j0m.js} +1 -1
  156. package/dist/{external-channel-717yzn4d.js → external-channel-ktfvn29c.js} +2 -2
  157. package/dist/ffi-cbfmmtqk.js +85 -0
  158. package/dist/fx-adapter-15vjxvgm.js +20 -0
  159. package/dist/getMachineId-bsd-2rd3pnz7.js +36 -0
  160. package/dist/getMachineId-bsd-3p48mkt1.js +36 -0
  161. package/dist/{getMachineId-bsd-637a7rbk.js → getMachineId-bsd-bk6tmeen.js} +5 -5
  162. package/dist/getMachineId-bsd-pssqgwmm.js +37 -0
  163. package/dist/getMachineId-bsd-v218x3xd.js +36 -0
  164. package/dist/getMachineId-bsd-wbxcazef.js +36 -0
  165. package/dist/getMachineId-bsd-x0942pbz.js +36 -0
  166. package/dist/getMachineId-darwin-5qsy4qcg.js +36 -0
  167. package/dist/getMachineId-darwin-6v7zsshx.js +37 -0
  168. package/dist/getMachineId-darwin-fcc3fjag.js +36 -0
  169. package/dist/getMachineId-darwin-pg84hftj.js +36 -0
  170. package/dist/{getMachineId-darwin-9vytrcnn.js → getMachineId-darwin-tyyevt26.js} +5 -5
  171. package/dist/getMachineId-darwin-wagmbf0d.js +36 -0
  172. package/dist/getMachineId-darwin-zvkmwr3y.js +36 -0
  173. package/dist/{getMachineId-linux-mkzsvyyz.js → getMachineId-linux-2ncg1epd.js} +3 -3
  174. package/dist/getMachineId-linux-2tmt2ptc.js +29 -0
  175. package/dist/getMachineId-linux-empwyp2y.js +29 -0
  176. package/dist/getMachineId-linux-fanqd45b.js +29 -0
  177. package/dist/getMachineId-linux-h6fyga0x.js +29 -0
  178. package/dist/getMachineId-linux-tbhgz1k9.js +29 -0
  179. package/dist/getMachineId-linux-zrbyw7dt.js +29 -0
  180. package/dist/getMachineId-unsupported-29g9dkgv.js +19 -0
  181. package/dist/getMachineId-unsupported-8xfq8djv.js +19 -0
  182. package/dist/getMachineId-unsupported-8y9cag1p.js +19 -0
  183. package/dist/getMachineId-unsupported-a6sjrm02.js +19 -0
  184. package/dist/getMachineId-unsupported-bp3w7ds0.js +19 -0
  185. package/dist/{getMachineId-unsupported-4cfs2n11.js → getMachineId-unsupported-sj6fk8sw.js} +3 -3
  186. package/dist/getMachineId-unsupported-v0p5gdxp.js +19 -0
  187. package/dist/getMachineId-win-hc996p0x.js +38 -0
  188. package/dist/{getMachineId-win-154s3qma.js → getMachineId-win-msq9ad87.js} +6 -6
  189. package/dist/getMachineId-win-tajyqwd6.js +38 -0
  190. package/dist/getMachineId-win-tzc163da.js +38 -0
  191. package/dist/getMachineId-win-xdaa0mgq.js +38 -0
  192. package/dist/getMachineId-win-xk6p98m5.js +38 -0
  193. package/dist/getMachineId-win-xtk658fm.js +38 -0
  194. package/dist/{google-generative-ai-sw77egmr.js → google-generative-ai-nzndg246.js} +1 -1
  195. package/dist/{google-vertex-rrw93g8h.js → google-vertex-ragh3nnw.js} +1 -1
  196. package/dist/grok-adapter-77httan0.js +20 -0
  197. package/dist/handlers-c1jp5b6h.js +39 -0
  198. package/dist/heartbeat-5yaj6dym.js +49 -0
  199. package/dist/{hook-ctz0xmp3.js → hook-2jttae8s.js} +10 -11
  200. package/dist/hook-c99nycyh.js +21 -0
  201. package/dist/{http-zregegrx.js → http-7y9dbfrr.js} +155 -122
  202. package/dist/{index-kzdqn3dd.js → index-6g9rdcrj.js} +3036 -758
  203. package/dist/index-7dwh9kxh.js +41 -0
  204. package/dist/{index-ym9fgxad.js → index-8p03vx1h.js} +8 -8
  205. package/dist/{index-maddg9ys.js → index-cw8nxnba.js} +4330 -15375
  206. package/dist/{index-fdym6ryb.js → index-dm7c6hw5.js} +28 -28
  207. package/dist/index-fqf82sbk.js +10584 -0
  208. package/dist/{index-126v2d0t.js → index-g7rthzrv.js} +11 -2923
  209. package/dist/{index-x9qf8dg7.js → index-h9xnzfhx.js} +21 -20
  210. package/dist/{index-42jq9yy3.js → index-jvfp0j47.js} +516 -10
  211. package/dist/{index-mtnbhe12.js → index-q60mhcpd.js} +23631 -19921
  212. package/dist/{index-evay0xyk.js → index-qxcfv8vq.js} +1 -1
  213. package/dist/{index-rz8ve510.js → index-t274qhhs.js} +6 -6
  214. package/dist/{index-kdmkfjt7.js → index-t4n9z755.js} +3491 -2487
  215. package/dist/{index-7dgxveck.js → index-tcegcysh.js} +5 -5
  216. package/dist/{index-whysn1wf.js → index-tn1m3q9b.js} +3 -3
  217. package/dist/index-wp9tarbt.js +43 -0
  218. package/dist/{index-5kx15d19.js → index-xhp7yp3t.js} +1 -1
  219. package/dist/index-z6np2405.js +38 -0
  220. package/dist/{k8s-ejkk0aw7.js → k8s-mr1r12th.js} +2 -2
  221. package/dist/{keepalive-zdqay870.js → keepalive-7eyb8y4t.js} +4 -4
  222. package/dist/lead-50cgn8s1.js +81 -0
  223. package/dist/{maintenance-t5ndg11m.js → maintenance-tdrd8nwv.js} +1 -1
  224. package/dist/module-ES6BEMUI-6htewwha.js +1210 -0
  225. package/dist/{node-0as4n1ef.js → node-gbx1t3pa.js} +1 -1
  226. package/dist/{oauth-refresh-sweep-y9zyd7t6.js → oauth-refresh-sweep-f4c7g37h.js} +3 -3
  227. package/dist/{object-webhooks-mkca91s0.js → object-webhooks-p190rdxp.js} +7 -7
  228. package/dist/{onboard-ss995244.js → onboard-56h4sks6.js} +7 -7
  229. package/dist/{opencode-adapter-mwpz0278.js → opencode-adapter-xg3yxfr0.js} +8 -8
  230. package/dist/{otel-impl-6n6vva3x.js → otel-impl-kepzgm4n.js} +36360 -9179
  231. package/dist/{pending-2sxh1t6j.js → pending-xgv316w0.js} +25 -25
  232. package/dist/{pi-mono-adapter-sfb7zy43.js → pi-mono-adapter-txe0syzb.js} +19 -22
  233. package/dist/{pricing-refresh-h79bg4cf.js → pricing-refresh-041zpyhf.js} +2 -2
  234. package/dist/{rbac-roles-ckq0czp4.js → rbac-roles-8f3jbcaf.js} +2 -2
  235. package/dist/{rbac-roles-jg2e260w.js → rbac-roles-cw7rrw5b.js} +3 -3
  236. package/dist/{render-v2-ymbshmn0.js → render-v2-2ezw4mzt.js} +10 -10
  237. package/dist/{resume-jdhnt4jk.js → resume-p14wdx8m.js} +13 -13
  238. package/dist/{runtime-y28jhhnf.js → runtime-he7c9g1r.js} +1 -1
  239. package/dist/{session-access-k4ta5hvp.js → session-access-8jvq86fj.js} +5 -5
  240. package/dist/{session-source-backfill-528j4s8j.js → session-source-backfill-6fe3hcgb.js} +3 -3
  241. package/dist/{setup-d6pj82fr.js → setup-6v0bn4r1.js} +3 -3
  242. package/dist/thread-buffer-8860v1ta.js +40 -0
  243. package/dist/{token-util-pjgekqxr.js → token-util-hnzceyn9.js} +1 -1
  244. package/dist/{token-pgr2w4s3.js → token-xnc02n6w.js} +21 -14
  245. package/dist/{tree-visibility-kjxv3nxk.js → tree-visibility-g1a8ff4r.js} +2 -2
  246. package/dist/{user-merge-jobs-rabbncf6.js → user-merge-jobs-vjsps179.js} +3 -3
  247. package/dist/{virtual-modules-22k51txd.js → virtual-modules-mreda4fp.js} +3 -3
  248. package/dist/{work-objects-xtjbar3r.js → work-objects-hfw15e35.js} +26 -26
  249. package/dist/{worker-follow-up-fg48vk6d.js → worker-follow-up-gbaz2ydz.js} +24 -24
  250. package/dist/worker-hkm8ftqp.js +81 -0
  251. package/dist/{x-vfsqypht.js → x-k29vmskt.js} +2 -2
  252. package/openapi.json +57 -1
  253. package/package.json +39 -39
  254. package/src/be/db/model-profiles.ts +103 -12
  255. package/src/be/db/tasks/read.ts +5 -0
  256. package/src/be/db.ts +14 -4
  257. package/src/be/model-group-resolution.ts +134 -0
  258. package/src/be/model-tier-resolution.ts +120 -17
  259. package/src/be/model-validation.ts +9 -1
  260. package/src/be/runtime-pools/routing.ts +22 -8
  261. package/src/be/scripts/extract-schema.ts +7 -0
  262. package/src/be/swarm-config-guard.ts +17 -7
  263. package/src/commands/onboard/agent-fs-version.ts +1 -1
  264. package/src/extensions/contract-types.generated.ts +1 -1
  265. package/src/http/db-query.ts +8 -2
  266. package/src/http/operator-actor.ts +3 -8
  267. package/src/http/poll.ts +20 -1
  268. package/src/http/repos.ts +3 -1
  269. package/src/http/schedules.ts +23 -3
  270. package/src/http/tasks.ts +11 -1
  271. package/src/prompts/base-prompt.ts +10 -6
  272. package/src/prompts/session-templates.ts +3 -3
  273. package/src/providers/acp-targets.ts +1 -1
  274. package/src/providers/amp-adapter.ts +11 -9
  275. package/src/providers/cursor-adapter.ts +1 -1
  276. package/src/realtime/browser.generated.txt +1 -1
  277. package/src/scheduler/schedule-task.ts +1 -0
  278. package/src/scripts-runtime/types/swarm-extension.d.ts +2 -0
  279. package/src/slack/config.ts +4 -0
  280. package/src/slack/render-v2.ts +2 -1
  281. package/src/slack/responses.ts +2 -1
  282. package/src/tasks/follow-up-gate.ts +142 -38
  283. package/src/tasks/worker-follow-up.ts +126 -37
  284. package/src/tests/amp-adapter.test.ts +57 -9
  285. package/src/tests/base-prompt.test.ts +36 -2
  286. package/src/tests/db-retention-defaults.test.ts +28 -3
  287. package/src/tests/entrypoint-repo-autoclone-args.test.ts +10 -0
  288. package/src/tests/follow-up-gate-shadow.test.ts +268 -10
  289. package/src/tests/linear-outbound-sync.test.ts +59 -25
  290. package/src/tests/operator-actor-keyless.test.ts +103 -0
  291. package/src/tests/profile-tier-alias.test.ts +9 -3
  292. package/src/tests/runner-repo-clone-args.test.ts +15 -6
  293. package/src/tests/workflow-system-one-extraction.test.ts +21 -0
  294. package/src/tests/workflow-wait-filter.test.ts +7 -7
  295. package/src/tests/worktree-reaper.test.ts +15 -4
  296. package/src/tools/schedules/create-schedule.ts +20 -3
  297. package/src/tools/schedules/patch-schedule.ts +30 -4
  298. package/src/tools/schedules/update-schedule.ts +30 -4
  299. package/src/tools/send-task.ts +17 -3
  300. package/src/tools/slack-post.ts +7 -2
  301. package/src/tools/slack-reply.ts +6 -2
  302. package/src/tools/task-action.ts +16 -3
  303. package/src/tools/utils.ts +1 -1
  304. package/src/types.ts +10 -0
  305. package/src/utils/amp-models.ts +20 -4
  306. package/src/utils/secret-scrubber.ts +6 -4
  307. package/src/workflows/engine.ts +36 -8
  308. package/src/workflows/executors/agent-task.ts +13 -2
  309. package/src/workflows/executors/code-match.ts +11 -31
  310. package/src/workflows/executors/script.ts +13 -0
  311. package/src/workflows/executors/system-one-extraction.ts +9 -6
  312. package/src/workflows/executors/wait.ts +1 -1
  313. package/src/workflows/foreach-driver.ts +5 -1
  314. package/src/workflows/model-validation.ts +13 -1
  315. package/src/workflows/predicate-sandbox.ts +171 -0
  316. package/src/workflows/retry-poller.ts +1 -1
  317. package/src/workflows/wait-filter.ts +14 -192
  318. package/templates/skills/heartbeat-runbook/content.md +1 -0
  319. package/templates/skills/slack-interaction/content.md +4 -0
  320. package/templates/skills/swarm-docs/content.md +1 -0
  321. package/dist/acp-adapter-99n6z9ky.js +0 -17
  322. package/dist/cli-5ss6qqt9.js +0 -45
  323. package/dist/cli-dzzh58sy.js +0 -6996
  324. package/dist/cli-j9ccfveb.js +0 -1849
  325. package/dist/cli-mna6pmfx.js +0 -1485
  326. package/dist/cli-r8ddn0hf.js +0 -25583
  327. package/dist/core-dynsv289.js +0 -41
  328. package/dist/fx-adapter-9k0hptnz.js +0 -20
  329. package/dist/grok-adapter-skdj2pce.js +0 -20
  330. package/dist/handlers-5btjqkz6.js +0 -39
  331. package/dist/heartbeat-vfb1gy84.js +0 -49
  332. package/dist/hook-eh52p7yd.js +0 -22
  333. package/dist/index-7w8p6em0.js +0 -41
  334. package/dist/index-t56y945n.js +0 -4
  335. package/dist/index-vfemrwwk.js +0 -10002
  336. package/dist/index-vz4semsx.js +0 -38
  337. package/dist/index-y3s0xp2v.js +0 -43
  338. package/dist/lead-6cscw8a5.js +0 -82
  339. package/dist/thread-buffer-9w6x5zec.js +0 -40
  340. package/dist/worker-g4aj93dt.js +0 -82
  341. package/dist/{azure-openai-responses-jeaas6x0.js → azure-openai-responses-e76k86gf.js} +4 -4
  342. package/dist/{openai-codex-responses-70g39cgz.js → openai-codex-responses-z2h941b8.js} +4 -4
  343. package/dist/{openai-completions-cv3hp4h5.js → openai-completions-5bxdkeg9.js} +4 -4
  344. package/dist/{openai-responses-trsvnks6.js → openai-responses-dzf3e8r5.js} +4 -4
@@ -61,8 +61,13 @@ import {
61
61
  require_dist2
62
62
  } from "./cli-xf1wn5ns.js";
63
63
  import {
64
- require_src4
65
- } from "./cli-mna6pmfx.js";
64
+ SpanKind,
65
+ SpanStatusCode,
66
+ context,
67
+ propagation,
68
+ trace,
69
+ init_dist5
70
+ } from "./cli-0vxbrxr3.js";
66
71
  import {
67
72
  __toESM
68
73
  } from "./cli-242037k3.js";
@@ -331,7 +336,7 @@ var FallbackEncoder = ({ headers, body }) => {
331
336
  };
332
337
 
333
338
  // node_modules/@anthropic-ai/sdk/internal/tracing.mjs
334
- var import_api = __toESM(require_src4(), 1);
339
+ init_dist5();
335
340
 
336
341
  // node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs
337
342
  var _LineDecoder_buffer;
@@ -739,11 +744,11 @@ var ATTR_URL_SCHEME = "url.scheme";
739
744
  var ATTR_ANTHROPIC_SESSION_THREAD_ID = "anthropic.session.thread.id";
740
745
  var DEFAULT_MAX_CONTENT_BYTES = 750000;
741
746
  function resolveOpenTelemetryOptions(option) {
742
- const { tracerProvider, propagation, traces } = option === false ? { traces: false } : option ?? optionFromEnv();
747
+ const { tracerProvider, propagation: propagation2, traces } = option === false ? { traces: false } : option ?? optionFromEnv();
743
748
  const { enabled, contentMode, maxContentBytes } = typeof traces === "boolean" ? { enabled: traces } : traces ?? {};
744
749
  return Object.freeze({
745
750
  tracerProvider,
746
- propagation: propagation ?? true,
751
+ propagation: propagation2 ?? true,
747
752
  traces: Object.freeze({
748
753
  enabled: enabled ?? true,
749
754
  contentMode: contentMode === "content" ? "content" : "metadata_only",
@@ -766,7 +771,7 @@ function getTracer(option, version, platform) {
766
771
  return;
767
772
  }
768
773
  const scope = platform !== undefined ? `${INSTRUMENTATION_SCOPE}.${platform}` : INSTRUMENTATION_SCOPE;
769
- return (option.tracerProvider ?? import_api.trace.getTracerProvider()).getTracer(scope, version);
774
+ return (option.tracerProvider ?? trace.getTracerProvider()).getTracer(scope, version);
770
775
  }
771
776
  function guardTracing(client, step) {
772
777
  try {
@@ -791,7 +796,7 @@ function startApiCallSpan(client, name, options, settings) {
791
796
  const threadID = settings?.attributes?.[ATTR_ANTHROPIC_SESSION_THREAD_ID];
792
797
  const conversationId = options?.openTelemetry?.conversationId ?? (typeof threadID === "string" ? threadID : undefined);
793
798
  const span = tracer.startSpan(name, {
794
- kind: import_api.SpanKind.CLIENT,
799
+ kind: SpanKind.CLIENT,
795
800
  attributes: {
796
801
  [ATTR_GEN_AI_PROVIDER_NAME]: client._genAIProviderName,
797
802
  ...serverAttributes(client.baseURL),
@@ -801,7 +806,7 @@ function startApiCallSpan(client, name, options, settings) {
801
806
  ...settings?.attributes
802
807
  }
803
808
  });
804
- if (!span.isRecording() && !(client.openTelemetry.propagation ? Object.keys(injectContext(span)).length > 0 : import_api.trace.isSpanContextValid(span.spanContext()))) {
809
+ if (!span.isRecording() && !(client.openTelemetry.propagation ? Object.keys(injectContext(span)).length > 0 : trace.isSpanContextValid(span.spanContext()))) {
805
810
  return;
806
811
  }
807
812
  const { request: _, ...kept } = settings ?? {};
@@ -1012,7 +1017,7 @@ function endApiCallSpan(span, result) {
1012
1017
  if (result.options.__span) {
1013
1018
  setResponseAttributes(span, result.options.__span.name, result.data);
1014
1019
  }
1015
- span.setStatus({ code: import_api.SpanStatusCode.OK });
1020
+ span.setStatus({ code: SpanStatusCode.OK });
1016
1021
  break;
1017
1022
  case "error":
1018
1023
  setErrorStatus(span, result.error);
@@ -1089,7 +1094,7 @@ function endApiCallSpanWhenStreamEnds(span, stream, props) {
1089
1094
  if (end.reason === "failed")
1090
1095
  setErrorStatus(span, end.error);
1091
1096
  else if (end.reason === "completed" && !isSSE) {
1092
- span.setStatus({ code: import_api.SpanStatusCode.OK });
1097
+ span.setStatus({ code: SpanStatusCode.OK });
1093
1098
  }
1094
1099
  span.end();
1095
1100
  }
@@ -1126,12 +1131,12 @@ function setErrorStatus(span, error, type) {
1126
1131
  if (error instanceof APIUserAbortError || isAbortError(error)) {
1127
1132
  return;
1128
1133
  }
1129
- span.setStatus({ code: import_api.SpanStatusCode.ERROR });
1134
+ span.setStatus({ code: SpanStatusCode.ERROR });
1130
1135
  span.setAttribute(ATTR_ERROR_TYPE, type ?? errorType(error));
1131
1136
  }
1132
1137
  function injectContext(span) {
1133
1138
  const carrier = {};
1134
- import_api.propagation.inject(import_api.trace.setSpan(import_api.context.active(), span), carrier);
1139
+ propagation.inject(trace.setSpan(context.active(), span), carrier);
1135
1140
  return carrier;
1136
1141
  }
1137
1142
  function errorType(error) {
@@ -1467,7 +1472,7 @@ function stringifyQuery(query) {
1467
1472
  }
1468
1473
 
1469
1474
  // node_modules/@anthropic-ai/sdk/client.mjs
1470
- var import_api9 = __toESM(require_src4(), 1);
1475
+ init_dist5();
1471
1476
 
1472
1477
  // node_modules/@anthropic-ai/sdk/core/resource.mjs
1473
1478
  class APIResource {
@@ -1989,11 +1994,11 @@ function recordMessagesCreateResponse(client, call, body, data) {
1989
1994
  }
1990
1995
  }
1991
1996
  // node_modules/@anthropic-ai/sdk/internal/trace-headers.mjs
1992
- var import_api2 = __toESM(require_src4(), 1);
1997
+ init_dist5();
1993
1998
  function traceHeaderNames() {
1994
1999
  const names = new Set(["traceparent", "tracestate", "baggage"]);
1995
2000
  try {
1996
- for (const name of import_api2.propagation.fields()) {
2001
+ for (const name of propagation.fields()) {
1997
2002
  names.add(name.toLowerCase());
1998
2003
  }
1999
2004
  } catch (problem) {
@@ -2024,7 +2029,7 @@ function withoutTraceHeaders(middleware) {
2024
2029
  };
2025
2030
  }
2026
2031
  // node_modules/@anthropic-ai/sdk/lib/internal/tracing/streaming.mjs
2027
- var import_api3 = __toESM(require_src4(), 1);
2032
+ init_dist5();
2028
2033
  function recordStreamedMessageContent(client, call, body, message) {
2029
2034
  if (!call.span.isRecording() || client.openTelemetry.traces.contentMode !== "content") {
2030
2035
  return;
@@ -2136,7 +2141,7 @@ function endMessagesCreateSpanWhenStreamEnds(client, span, stream, props) {
2136
2141
  setErrorStatus(span, failure, "client_error");
2137
2142
  } else if (end.reason === "completed") {
2138
2143
  if (sawStop) {
2139
- span.setStatus({ code: import_api3.SpanStatusCode.OK });
2144
+ span.setStatus({ code: SpanStatusCode.OK });
2140
2145
  } else {
2141
2146
  setErrorStatus(span, new AnthropicError("The stream ended before message_stop."), "api_error");
2142
2147
  }
@@ -2170,10 +2175,10 @@ function without(data, path) {
2170
2175
  return isObj(value) ? { ...data, [name]: without(value, rest) } : data;
2171
2176
  }
2172
2177
  // node_modules/@anthropic-ai/sdk/lib/internal/tracing/environments.mjs
2173
- var import_api4 = __toESM(require_src4(), 1);
2178
+ init_dist5();
2174
2179
  function startEnvironmentWorkSpan(client, work, parentContext) {
2175
2180
  return client._tracer?.startSpan("anthropic.environment.work", {
2176
- kind: import_api4.SpanKind.INTERNAL,
2181
+ kind: SpanKind.INTERNAL,
2177
2182
  attributes: {
2178
2183
  [ATTR_GEN_AI_PROVIDER_NAME]: client._genAIProviderName,
2179
2184
  "anthropic.environment.id": work.environment_id,
@@ -2187,7 +2192,7 @@ function endEnvironmentWorkSpan(span, signal) {
2187
2192
  return;
2188
2193
  }
2189
2194
  if (!signal.aborted) {
2190
- span.setStatus({ code: import_api4.SpanStatusCode.OK });
2195
+ span.setStatus({ code: SpanStatusCode.OK });
2191
2196
  }
2192
2197
  span.end();
2193
2198
  }
@@ -2205,7 +2210,7 @@ async function withEnvironmentWorkSpan(client, span, signal, handle) {
2205
2210
  return handle();
2206
2211
  }
2207
2212
  try {
2208
- await import_api4.context.with(import_api4.trace.setSpan(import_api4.context.active(), span), handle);
2213
+ await context.with(trace.setSpan(context.active(), span), handle);
2209
2214
  } catch (error) {
2210
2215
  guardTracing(client, () => failEnvironmentWorkSpan(span, signal, error));
2211
2216
  throw error;
@@ -2213,7 +2218,7 @@ async function withEnvironmentWorkSpan(client, span, signal, handle) {
2213
2218
  guardTracing(client, () => endEnvironmentWorkSpan(span, signal));
2214
2219
  }
2215
2220
  // node_modules/@anthropic-ai/sdk/lib/internal/tracing/tools.mjs
2216
- var import_api5 = __toESM(require_src4(), 1);
2221
+ init_dist5();
2217
2222
 
2218
2223
  // node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.mjs
2219
2224
  var STAINLESS_HELPER_HEADER = "x-stainless-helper";
@@ -2274,7 +2279,7 @@ function startToolRunnerSpan(client, params, conversationId) {
2274
2279
  return;
2275
2280
  const hasJSONOutput = params.output_config?.format?.type === "json_schema" || params.output_format?.type === "json_schema";
2276
2281
  return client._tracer.startSpan("anthropic.messages.tool_runner", {
2277
- kind: import_api5.SpanKind.INTERNAL,
2282
+ kind: SpanKind.INTERNAL,
2278
2283
  attributes: {
2279
2284
  [ATTR_GEN_AI_OPERATION_NAME]: GEN_AI_OPERATION_NAME_VALUE_INVOKE_AGENT,
2280
2285
  [ATTR_GEN_AI_PROVIDER_NAME]: client._genAIProviderName,
@@ -2288,7 +2293,7 @@ async function withToolUseSpan(client, tool, toolUse, options, run) {
2288
2293
  const tracer = client._tracer;
2289
2294
  if (!tracer)
2290
2295
  return run();
2291
- const { signal, conversationId, sessionID, parentContext = import_api5.context.active() } = options;
2296
+ const { signal, conversationId, sessionID, parentContext = context.active() } = options;
2292
2297
  const description = "description" in tool ? tool.description : undefined;
2293
2298
  const attributes = {
2294
2299
  [ATTR_GEN_AI_OPERATION_NAME]: GEN_AI_OPERATION_NAME_VALUE_EXECUTE_TOOL,
@@ -2303,12 +2308,12 @@ async function withToolUseSpan(client, tool, toolUse, options, run) {
2303
2308
  ..."session_thread_id" in toolUse && toolUse.session_thread_id != null ? { "anthropic.session.thread.id": toolUse.session_thread_id } : undefined
2304
2309
  };
2305
2310
  const operation = toolUse.type === "agent.tool_use" ? "anthropic.tool_use" : wasCreatedByStainlessHelper(tool) && tool[SDK_HELPER_SYMBOL] === "mcpTool" ? "anthropic.mcp_tool_use" : "anthropic.custom_tool_use";
2306
- const span = guardTracing(client, () => tracer.startSpan(`${operation} ${toolUse.name}`, { kind: import_api5.SpanKind.INTERNAL, attributes }, parentContext));
2311
+ const span = guardTracing(client, () => tracer.startSpan(`${operation} ${toolUse.name}`, { kind: SpanKind.INTERNAL, attributes }, parentContext));
2307
2312
  if (!span)
2308
2313
  return run();
2309
2314
  let result;
2310
2315
  try {
2311
- result = await import_api5.context.with(import_api5.trace.setSpan(parentContext, span), run);
2316
+ result = await context.with(trace.setSpan(parentContext, span), run);
2312
2317
  return result;
2313
2318
  } finally {
2314
2319
  const succeeded = result !== undefined && !result.isError;
@@ -2326,7 +2331,7 @@ async function withToolUseSpan(client, tool, toolUse, options, run) {
2326
2331
  }
2327
2332
  guardTracing(client, () => {
2328
2333
  if (succeeded) {
2329
- span.setStatus({ code: import_api5.SpanStatusCode.OK });
2334
+ span.setStatus({ code: SpanStatusCode.OK });
2330
2335
  } else if (!canceled) {
2331
2336
  setErrorStatus(span, result, "tool_error");
2332
2337
  }
@@ -3511,7 +3516,7 @@ var Agents = /* @__PURE__ */ (() => {
3511
3516
  })();
3512
3517
 
3513
3518
  // node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs
3514
- var import_api6 = __toESM(require_src4(), 1);
3519
+ init_dist5();
3515
3520
 
3516
3521
  // node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs
3517
3522
  var uuid4 = function() {
@@ -3609,7 +3614,7 @@ var WorkPoller = /* @__PURE__ */ (() => {
3609
3614
  throw new AnthropicError("Cannot iterate over a consumed WorkPoller");
3610
3615
  }
3611
3616
  __classPrivateFieldSet(this, _WorkPoller_consumed, true, "f");
3612
- let callerOtelContext = import_api6.context.active();
3617
+ let callerOtelContext = context.active();
3613
3618
  const log = loggerFor(this.client);
3614
3619
  log.info("poller starting", {
3615
3620
  component: "work-poller",
@@ -3664,7 +3669,7 @@ var WorkPoller = /* @__PURE__ */ (() => {
3664
3669
  }
3665
3670
  try {
3666
3671
  yield work;
3667
- callerOtelContext = import_api6.context.active();
3672
+ callerOtelContext = context.active();
3668
3673
  } finally {
3669
3674
  if (__classPrivateFieldGet(this, _WorkPoller_autoStop, "f")) {
3670
3675
  try {
@@ -3742,7 +3747,7 @@ var fromBase64 = (str) => {
3742
3747
  };
3743
3748
 
3744
3749
  // node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs
3745
- var import_api7 = __toESM(require_src4(), 1);
3750
+ init_dist5();
3746
3751
 
3747
3752
  // node_modules/@anthropic-ai/sdk/lib/internal/toolsets/sanitize.mjs
3748
3753
  var LINE_UNSAFE = "\\x00-\\x1f\\x7f-\\x9f\\u061c\\u200e\\u200f\\u2028\\u2029\\u202a-\\u202e\\u2066-\\u2069";
@@ -3986,7 +3991,7 @@ var SessionToolRunner = /* @__PURE__ */ (() => {
3986
3991
  throw new AnthropicError("Cannot iterate over a consumed SessionToolRunner");
3987
3992
  }
3988
3993
  __classPrivateFieldSet(this, _SessionToolRunner_consumed, true, "f");
3989
- __classPrivateFieldSet(this, _SessionToolRunner_otelContext, this.client._tracer ? import_api7.context.active() : undefined, "f");
3994
+ __classPrivateFieldSet(this, _SessionToolRunner_otelContext, this.client._tracer ? context.active() : undefined, "f");
3990
3995
  __classPrivateFieldGet(this, _SessionToolRunner_logger, "f").info("session tool runner starting", {
3991
3996
  component: "session-tool-runner",
3992
3997
  session_id: this.sessionId
@@ -6602,7 +6607,7 @@ var BetaMessageStream = /* @__PURE__ */ (() => {
6602
6607
  })();
6603
6608
 
6604
6609
  // node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs
6605
- var import_api8 = __toESM(require_src4(), 1);
6610
+ init_dist5();
6606
6611
 
6607
6612
  // node_modules/@anthropic-ai/sdk/lib/internal/toolsets/family.mjs
6608
6613
  var TOOLSET_TYPE_TO_FAMILY = {
@@ -11298,7 +11303,7 @@ var BetaToolRunner2 = /* @__PURE__ */ (() => {
11298
11303
  if (!__classPrivateFieldGet(this, _BetaToolRunner_toolRunnerOtelContext, "f")) {
11299
11304
  return fn();
11300
11305
  }
11301
- return import_api8.context.with(__classPrivateFieldGet(this, _BetaToolRunner_toolRunnerOtelContext, "f"), fn);
11306
+ return context.with(__classPrivateFieldGet(this, _BetaToolRunner_toolRunnerOtelContext, "f"), fn);
11302
11307
  }, Symbol.asyncIterator)]() {
11303
11308
  var _a;
11304
11309
  if (__classPrivateFieldGet(this, _BetaToolRunner_consumed, "f")) {
@@ -11308,7 +11313,7 @@ var BetaToolRunner2 = /* @__PURE__ */ (() => {
11308
11313
  __classPrivateFieldSet(this, _BetaToolRunner_mutated, true, "f");
11309
11314
  __classPrivateFieldSet(this, _BetaToolRunner_toolResponse, undefined, "f");
11310
11315
  const toolRunnerSpan = guardTracing(__classPrivateFieldGet(this, _BetaToolRunner_thread, "f")._client, () => startToolRunnerSpan(__classPrivateFieldGet(this, _BetaToolRunner_thread, "f")._client, this.params, __classPrivateFieldGet(this, _BetaToolRunner_options, "f").openTelemetry?.conversationId));
11311
- __classPrivateFieldSet(this, _BetaToolRunner_toolRunnerOtelContext, toolRunnerSpan && import_api8.trace.setSpan(import_api8.context.active(), toolRunnerSpan), "f");
11316
+ __classPrivateFieldSet(this, _BetaToolRunner_toolRunnerOtelContext, toolRunnerSpan && trace.setSpan(context.active(), toolRunnerSpan), "f");
11312
11317
  try {
11313
11318
  while (true) {
11314
11319
  try {
@@ -11377,7 +11382,7 @@ var BetaToolRunner2 = /* @__PURE__ */ (() => {
11377
11382
  throw new AnthropicError("ToolRunner concluded without a message from the server");
11378
11383
  }
11379
11384
  __classPrivateFieldGet(this, _BetaToolRunner_completion, "f").resolve(await __classPrivateFieldGet(this, _BetaToolRunner_message, "f"));
11380
- guardTracing(__classPrivateFieldGet(this, _BetaToolRunner_thread, "f")._client, () => toolRunnerSpan?.setStatus({ code: import_api8.SpanStatusCode.OK }));
11385
+ guardTracing(__classPrivateFieldGet(this, _BetaToolRunner_thread, "f")._client, () => toolRunnerSpan?.setStatus({ code: SpanStatusCode.OK }));
11381
11386
  } catch (error) {
11382
11387
  if (toolRunnerSpan) {
11383
11388
  guardTracing(__classPrivateFieldGet(this, _BetaToolRunner_thread, "f")._client, () => setErrorStatus(toolRunnerSpan, error));
@@ -11422,7 +11427,7 @@ var BetaToolRunner2 = /* @__PURE__ */ (() => {
11422
11427
  }
11423
11428
  }
11424
11429
  async generateToolResponse(signal = __classPrivateFieldGet(this, _BetaToolRunner_options, "f").signal) {
11425
- const callerOtelContext = __classPrivateFieldGet(this, _BetaToolRunner_thread, "f")._client._tracer ? import_api8.context.active() : undefined;
11430
+ const callerOtelContext = __classPrivateFieldGet(this, _BetaToolRunner_thread, "f")._client._tracer ? context.active() : undefined;
11426
11431
  const message = await __classPrivateFieldGet(this, _BetaToolRunner_message, "f") ?? __classPrivateFieldGet(this, _BetaToolRunner_thread, "f").messages.at(-1);
11427
11432
  if (!message) {
11428
11433
  return null;
@@ -16200,7 +16205,7 @@ new Anthropic({ apiKey, dangerouslyAllowBrowser: true });
16200
16205
  return this.makeRequest(options, retriesRemaining, undefined);
16201
16206
  }
16202
16207
  try {
16203
- return await import_api9.context.with(import_api9.trace.setSpan(import_api9.context.active(), span), () => this.makeRequest(options, retriesRemaining, undefined, span));
16208
+ return await context.with(trace.setSpan(context.active(), span), () => this.makeRequest(options, retriesRemaining, undefined, span));
16204
16209
  } catch (error) {
16205
16210
  const result = { status: "error", options, error };
16206
16211
  guardTracing(this, () => endApiCallSpan(span, result));
@@ -61,22 +61,22 @@ import {
61
61
  resolveApprovalRequest2,
62
62
  listApprovalRequests2,
63
63
  init_db4
64
- } from "./cli-krk8y8c7.js";
64
+ } from "./cli-z0c98h7h.js";
65
65
  import {
66
66
  getUserGrant2,
67
67
  init_rbac_roles
68
- } from "./cli-3wsabyt0.js";
68
+ } from "./cli-ww8wxfzx.js";
69
69
  import {
70
70
  workflowEventBus2,
71
71
  init_event_bus
72
- } from "./cli-rp1n2xpd.js";
72
+ } from "./cli-0nvqg1hb.js";
73
73
  import {
74
74
  getTaskUiSpec,
75
75
  reserveTaskUiActionRun,
76
76
  releaseTaskUiActionRun,
77
77
  setTaskUiActionResult,
78
78
  init_task_ui_spec2
79
- } from "./cli-fww016hh.js";
79
+ } from "./cli-sq32dgfe.js";
80
80
  import {
81
81
  AGENT_MAX_TASKS_CONFIG_KEY,
82
82
  resetAgentMaxTasksMirror,
@@ -95,7 +95,7 @@ import {
95
95
  dispatchApprovalNotifications2,
96
96
  createApprovalFollowUpTask2,
97
97
  init_approval_notifications
98
- } from "./cli-2savn6mm.js";
98
+ } from "./cli-eaqxkeq0.js";
99
99
  import {
100
100
  createTaskWithSiblingAwareness,
101
101
  init_sibling_awareness,
@@ -109,7 +109,7 @@ import {
109
109
  requestPrincipal,
110
110
  agentFirstPrincipal,
111
111
  init_request_principal
112
- } from "./cli-kc7vd07m.js";
112
+ } from "./cli-5xjdft4s.js";
113
113
  import {
114
114
  duplicateGuardedQueryKey,
115
115
  jsonError,
@@ -121,21 +121,21 @@ import {
121
121
  bodyTask,
122
122
  route,
123
123
  init_route_def
124
- } from "./cli-w4bvtxet.js";
124
+ } from "./cli-byzq8xht.js";
125
125
  import {
126
126
  ORG_IDENTITY_KEYS,
127
127
  orgIdentityStatus,
128
128
  init_org_identity
129
- } from "./cli-q5n3deaf.js";
129
+ } from "./cli-ytgtqsy9.js";
130
130
  import {
131
131
  findUserById,
132
132
  isScriptRunToken,
133
133
  init_users
134
- } from "./cli-adzmmcvf.js";
134
+ } from "./cli-ny8f5g7t.js";
135
135
  import {
136
136
  SwarmConfigSchema,
137
137
  init_types5
138
- } from "./cli-tc165vrb.js";
138
+ } from "./cli-zmfs06hg.js";
139
139
  import {
140
140
  init_zod
141
141
  } from "./cli-96234j5w.js";
@@ -161,7 +161,7 @@ import {
161
161
  scrubSecrets,
162
162
  registerVolatileSecret,
163
163
  init_secret_scrubber
164
- } from "./cli-r9d2tya0.js";
164
+ } from "./cli-7qkbab03.js";
165
165
  import {
166
166
  __esm
167
167
  } 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-krk8y8c7.js";
16
+ } from "./cli-z0c98h7h.js";
17
17
  import {
18
18
  nextRestRatio2
19
- } from "./cli-edxfzgah.js";
19
+ } from "./cli-zvsy4abb.js";
20
20
  import {
21
21
  scrubSecrets,
22
22
  init_secret_scrubber
23
- } from "./cli-r9d2tya0.js";
23
+ } from "./cli-7qkbab03.js";
24
24
 
25
25
  // src/be/user-merge-jobs.ts
26
26
  init_telemetry_identity();
@@ -10,7 +10,7 @@ import {
10
10
  isSensitiveKey,
11
11
  scrubSecrets,
12
12
  init_secret_scrubber
13
- } from "./cli-r9d2tya0.js";
13
+ } from "./cli-7qkbab03.js";
14
14
  import {
15
15
  __esm
16
16
  } from "./cli-242037k3.js";
@@ -13,11 +13,11 @@ import {
13
13
  claudeMdLineageOf,
14
14
  planClaudeMdSync,
15
15
  init_profile_sync
16
- } from "./cli-wym6rxgt.js";
16
+ } from "./cli-8kemtj1r.js";
17
17
  import {
18
18
  scrubSecrets,
19
19
  init_secret_scrubber
20
- } from "./cli-r9d2tya0.js";
20
+ } from "./cli-7qkbab03.js";
21
21
 
22
22
  // src/commands/claude-md-session.ts
23
23
  init_file_lock();
@@ -0,0 +1,15 @@
1
+ import {
2
+ __esm
3
+ } from "./cli-242037k3.js";
4
+
5
+ // node_modules/@jitl/quickjs-ffi-types/dist/index.mjs
6
+ var EvalFlags, IntrinsicsFlags, JSPromiseStateEnum, GetOwnPropertyNamesFlags, IsEqualOp;
7
+ var init_dist4 = __esm(() => {
8
+ EvalFlags = { JS_EVAL_TYPE_GLOBAL: 0, JS_EVAL_TYPE_MODULE: 1, JS_EVAL_TYPE_DIRECT: 2, JS_EVAL_TYPE_INDIRECT: 3, JS_EVAL_TYPE_MASK: 3, JS_EVAL_FLAG_STRICT: 8, JS_EVAL_FLAG_STRIP: 16, JS_EVAL_FLAG_COMPILE_ONLY: 32, JS_EVAL_FLAG_BACKTRACE_BARRIER: 64 };
9
+ IntrinsicsFlags = { BaseObjects: 1, Date: 2, Eval: 4, StringNormalize: 8, RegExp: 16, RegExpCompiler: 32, JSON: 64, Proxy: 128, MapSet: 256, TypedArrays: 512, Promise: 1024, BigInt: 2048, BigFloat: 4096, BigDecimal: 8192, OperatorOverloading: 16384, BignumExt: 32768 };
10
+ JSPromiseStateEnum = { Pending: 0, Fulfilled: 1, Rejected: 2 };
11
+ GetOwnPropertyNamesFlags = { JS_GPN_STRING_MASK: 1, JS_GPN_SYMBOL_MASK: 2, JS_GPN_PRIVATE_MASK: 4, JS_GPN_ENUM_ONLY: 16, JS_GPN_SET_ENUM: 32, QTS_GPN_NUMBER_MASK: 64, QTS_STANDARD_COMPLIANT_NUMBER: 128 };
12
+ IsEqualOp = { IsStrictlyEqual: 0, IsSameValue: 1, IsSameValueZero: 2 };
13
+ });
14
+
15
+ export { EvalFlags, IntrinsicsFlags, JSPromiseStateEnum, GetOwnPropertyNamesFlags, IsEqualOp, init_dist4 };
@@ -0,0 +1,37 @@
1
+ import {
2
+ require_permessage_deflate,
3
+ require_receiver,
4
+ require_sender,
5
+ require_extension,
6
+ require_websocket,
7
+ require_stream,
8
+ require_subprotocol,
9
+ require_websocket_server
10
+ } from "./cli-3ktfe5jx.js";
11
+ import {
12
+ __commonJS
13
+ } from "./cli-242037k3.js";
14
+
15
+ // node_modules/ws/index.js
16
+ var require_ws = __commonJS(function(exports, module) {
17
+ var createWebSocketStream = require_stream();
18
+ var extension = require_extension();
19
+ var PerMessageDeflate = require_permessage_deflate();
20
+ var Receiver = require_receiver();
21
+ var Sender = require_sender();
22
+ var subprotocol = require_subprotocol();
23
+ var WebSocket = require_websocket();
24
+ var WebSocketServer = require_websocket_server();
25
+ WebSocket.createWebSocketStream = createWebSocketStream;
26
+ WebSocket.extension = extension;
27
+ WebSocket.PerMessageDeflate = PerMessageDeflate;
28
+ WebSocket.Receiver = Receiver;
29
+ WebSocket.Sender = Sender;
30
+ WebSocket.Server = WebSocketServer;
31
+ WebSocket.subprotocol = subprotocol;
32
+ WebSocket.WebSocket = WebSocket;
33
+ WebSocket.WebSocketServer = WebSocketServer;
34
+ module.exports = WebSocket;
35
+ });
36
+
37
+ export { require_ws };
@@ -3,7 +3,7 @@ import {
3
3
  getSwarmConfigs2,
4
4
  getResolvedConfig2,
5
5
  init_db4
6
- } from "./cli-krk8y8c7.js";
6
+ } from "./cli-z0c98h7h.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-r9d2tya0.js";
14
+ } from "./cli-7qkbab03.js";
15
15
  import {
16
16
  __esm
17
17
  } from "./cli-242037k3.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getDbClient2,
3
3
  init_db4
4
- } from "./cli-krk8y8c7.js";
4
+ } from "./cli-z0c98h7h.js";
5
5
  import {
6
6
  agentFsClientFor,
7
7
  init_agent_fs_identity
8
- } from "./cli-6ajyhxh7.js";
8
+ } from "./cli-3bcsc3m7.js";
9
9
  import {
10
10
  FilesError,
11
11
  normalizeStoredKey,
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  scrubSecrets,
34
34
  init_secret_scrubber
35
- } from "./cli-r9d2tya0.js";
35
+ } from "./cli-7qkbab03.js";
36
36
  import {
37
37
  __esm
38
38
  } from "./cli-242037k3.js";
@@ -307,7 +307,7 @@ async function createObject(input) {
307
307
  return withLink(row);
308
308
  }
309
309
  function watchDrive(orgId, driveId) {
310
- import("./object-webhooks-mkca91s0.js").then(({ ensureObjectWebhook }) => ensureObjectWebhook(orgId, driveId)).catch(() => {
310
+ import("./object-webhooks-p190rdxp.js").then(({ ensureObjectWebhook }) => ensureObjectWebhook(orgId, driveId)).catch(() => {
311
311
  return;
312
312
  });
313
313
  }