@opencode/core 0.0.0-dev-197 → 0.0.0-dev-210

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 (835) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +86 -86
  3. package/dist/aisdk-native.js +98 -98
  4. package/dist/aisdk.js +104 -104
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +76 -76
  7. package/dist/chunks/{file-retention-034tev2y.js → filesystem-034tev2y.js} +2 -2
  8. package/dist/chunks/{file-retention-ks3c9cqr.js → filesystem-08w4mgsv.js} +32 -32
  9. package/dist/chunks/{file-retention-3j1m3tq4.js → filesystem-09bv4atg.js} +5 -5
  10. package/dist/chunks/{file-retention-ttqtdfz1.js → filesystem-0g3nw2rk.js} +5 -5
  11. package/dist/chunks/{file-retention-geg17xg0.js → filesystem-0nhbejy7.js} +6 -6
  12. package/dist/chunks/{file-retention-7d5ng1a2.js → filesystem-0vt12t1a.js} +14 -14
  13. package/dist/chunks/{file-retention-11hfp36g.js → filesystem-11hfp36g.js} +1 -1
  14. package/dist/chunks/{file-retention-tmpm4r5r.js → filesystem-14hxjxc8.js} +6 -6
  15. package/dist/chunks/{file-retention-32hbtqx1.js → filesystem-14k2p94z.js} +6 -6
  16. package/dist/chunks/{file-retention-2eskrrsw.js → filesystem-1596dtyg.js} +8 -8
  17. package/dist/chunks/{file-retention-vr9ywjng.js → filesystem-15rqtvc6.js} +21 -21
  18. package/dist/chunks/{file-retention-p2x3qxk9.js → filesystem-18crnhyq.js} +11 -11
  19. package/dist/chunks/{file-retention-6twykydk.js → filesystem-18g90bpv.js} +9 -9
  20. package/dist/chunks/{file-retention-d76g5cnb.js → filesystem-1a6vdzep.js} +6 -6
  21. package/dist/chunks/{file-retention-1ep2p91f.js → filesystem-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{file-retention-24xmfd7w.js → filesystem-1hmj4y1x.js} +26 -26
  23. package/dist/chunks/{file-retention-1r7af8ee.js → filesystem-1r7af8ee.js} +3 -3
  24. package/dist/chunks/{file-retention-xwmq2dcw.js → filesystem-1vz7yhpq.js} +18 -18
  25. package/dist/chunks/{file-retention-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
  26. package/dist/chunks/{file-retention-e8ywph5q.js → filesystem-1ym1r093.js} +43 -43
  27. package/dist/chunks/{file-retention-1yq9hg58.js → filesystem-1yq9hg58.js} +1 -1
  28. package/dist/chunks/{file-retention-3s7skkh9.js → filesystem-1z5aa1s9.js} +5 -5
  29. package/dist/chunks/{file-retention-204s3925.js → filesystem-204s3925.js} +1 -1
  30. package/dist/chunks/{file-retention-vmrgyahk.js → filesystem-24c2n9k1.js} +18 -18
  31. package/dist/chunks/{file-retention-0t1gh2k2.js → filesystem-2ede0ce3.js} +12 -12
  32. package/dist/chunks/{file-retention-c7m3737k.js → filesystem-2pb4csn2.js} +37 -37
  33. package/dist/chunks/{file-retention-vjbmgwyr.js → filesystem-2ps4vp47.js} +55 -55
  34. package/dist/chunks/{file-retention-dcj312nn.js → filesystem-2vzb41ed.js} +5 -5
  35. package/dist/chunks/{file-retention-1024y9y6.js → filesystem-2yqf0428.js} +10 -4
  36. package/dist/chunks/{file-retention-neary136.js → filesystem-31avdb49.js} +6 -6
  37. package/dist/chunks/{file-retention-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{file-retention-76z54svf.js → filesystem-3kwyfx5c.js} +13 -13
  39. package/dist/chunks/{file-retention-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
  40. package/dist/chunks/{file-retention-42x4te7c.js → filesystem-3rhjxprg.js} +10 -10
  41. package/dist/chunks/{file-retention-asxv01zn.js → filesystem-3ztadfm7.js} +41 -41
  42. package/dist/chunks/{file-retention-f7jjbss4.js → filesystem-434rvpkg.js} +9 -9
  43. package/dist/chunks/{file-retention-hs9c5tve.js → filesystem-444az151.js} +30 -30
  44. package/dist/chunks/filesystem-45wb8ppp.js +410 -0
  45. package/dist/chunks/{file-retention-rf0tecrn.js → filesystem-4dxkx4vc.js} +8 -8
  46. package/dist/chunks/{file-retention-vqe1mp4b.js → filesystem-4nyhany0.js} +20 -20
  47. package/dist/chunks/{file-retention-e8pm465n.js → filesystem-4pw98qd4.js} +4 -4
  48. package/dist/chunks/{file-retention-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
  49. package/dist/chunks/{file-retention-f4r5xwfc.js → filesystem-4se3fcjy.js} +22 -16
  50. package/dist/chunks/{file-retention-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
  51. package/dist/chunks/{file-retention-ztw3rrzx.js → filesystem-55y85j01.js} +11 -11
  52. package/dist/chunks/{file-retention-qsee9sfb.js → filesystem-5ect6tx9.js} +2 -2
  53. package/dist/chunks/{file-retention-1cv2vd66.js → filesystem-5jmrcfpw.js} +25 -17
  54. package/dist/chunks/{file-retention-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{file-retention-kez5w1ys.js → filesystem-5yght9ra.js} +33 -33
  56. package/dist/chunks/{file-retention-7m8d3k8h.js → filesystem-60wv84he.js} +10 -10
  57. package/dist/chunks/{file-retention-xt6yj4t6.js → filesystem-61ee6dgv.js} +18 -18
  58. package/dist/chunks/{file-retention-61ennm6n.js → filesystem-61ennm6n.js} +1 -1
  59. package/dist/chunks/{file-retention-n810xmn2.js → filesystem-6bafzmvy.js} +123 -123
  60. package/dist/chunks/{file-retention-d7ezq276.js → filesystem-6cems51h.js} +9 -9
  61. package/dist/chunks/{file-retention-wbje33cw.js → filesystem-6easw4m5.js} +1 -1
  62. package/dist/chunks/{file-retention-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
  63. package/dist/chunks/{file-retention-fc5at3zt.js → filesystem-6r5tx5vd.js} +15 -15
  64. package/dist/chunks/{file-retention-76cb1hcw.js → filesystem-76cb1hcw.js} +1 -1
  65. package/dist/chunks/{file-retention-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{file-retention-ae8yhtn6.js → filesystem-7m5yeeqj.js} +21 -21
  67. package/dist/chunks/{file-retention-8sw03j0e.js → filesystem-7rct0254.js} +12 -12
  68. package/dist/chunks/{file-retention-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
  69. package/dist/chunks/{file-retention-b0hsmqv0.js → filesystem-890cq6zw.js} +19 -19
  70. package/dist/chunks/{file-retention-pfayv7n8.js → filesystem-89jkg93w.js} +16 -16
  71. package/dist/chunks/{file-retention-w8xr7nv8.js → filesystem-89vjf07m.js} +5 -5
  72. package/dist/chunks/{file-retention-j1ptedcn.js → filesystem-8aem79f2.js} +16 -16
  73. package/dist/chunks/{file-retention-cvv281km.js → filesystem-8cykdwq1.js} +17 -17
  74. package/dist/chunks/{file-retention-x592j5n8.js → filesystem-8hwf4h4a.js} +25 -25
  75. package/dist/chunks/{file-retention-8p5baybq.js → filesystem-8wc2fpae.js} +5 -5
  76. package/dist/chunks/{file-retention-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
  77. package/dist/chunks/{file-retention-hz6fz10g.js → filesystem-8z7fx9da.js} +12 -12
  78. package/dist/chunks/{file-retention-q6tw3efa.js → filesystem-8zh671ad.js} +33 -33
  79. package/dist/chunks/{file-retention-90zstvax.js → filesystem-90zstvax.js} +1 -1
  80. package/dist/chunks/{file-retention-q98fvpa3.js → filesystem-91bvc4ty.js} +4 -4
  81. package/dist/chunks/{file-retention-02zav387.js → filesystem-94wxcshz.js} +9 -9
  82. package/dist/chunks/{file-retention-8b5hhaf2.js → filesystem-97ctmtmy.js} +7 -7
  83. package/dist/chunks/{file-retention-yg021pr4.js → filesystem-9d50e9x8.js} +10 -10
  84. package/dist/chunks/{file-retention-aqwa35rv.js → filesystem-9wm1sbvz.js} +22 -22
  85. package/dist/chunks/{file-retention-qqppq1tw.js → filesystem-annen545.js} +6 -6
  86. package/dist/chunks/{file-retention-ft8xs19g.js → filesystem-aq96vb51.js} +18 -18
  87. package/dist/chunks/{file-retention-z79z9k8j.js → filesystem-armxxs9m.js} +9 -9
  88. package/dist/chunks/{file-retention-4xqce2n5.js → filesystem-aw4xetmc.js} +9 -9
  89. package/dist/chunks/{file-retention-44bpj4c9.js → filesystem-aw8sakew.js} +24 -24
  90. package/dist/chunks/{file-retention-6dzgygyw.js → filesystem-ax7jxbq7.js} +39 -39
  91. package/dist/chunks/{file-retention-ayjs7tqn.js → filesystem-ayjs7tqn.js} +2 -2
  92. package/dist/chunks/{file-retention-9xnya6re.js → filesystem-b46dpqs0.js} +9 -9
  93. package/dist/chunks/{file-retention-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
  94. package/dist/chunks/{file-retention-zptqqsqr.js → filesystem-bdf3r1gz.js} +48 -48
  95. package/dist/chunks/{file-retention-zzjadyyc.js → filesystem-bdpbxs8g.js} +7 -7
  96. package/dist/chunks/{file-retention-drerwy6v.js → filesystem-bhvs01y7.js} +6 -6
  97. package/dist/chunks/{file-retention-3k3wyk17.js → filesystem-bmrbft0k.js} +25 -25
  98. package/dist/chunks/{file-retention-z3h17q8g.js → filesystem-bprm2g42.js} +25 -25
  99. package/dist/chunks/{file-retention-yxdzradw.js → filesystem-bsgt82ad.js} +134 -134
  100. package/dist/chunks/{file-retention-mjzzxa19.js → filesystem-bsjb0v70.js} +1 -1
  101. package/dist/chunks/{file-retention-xd9cc171.js → filesystem-bstexjd6.js} +5 -5
  102. package/dist/chunks/{file-retention-pntz5nv8.js → filesystem-bw7c9nwt.js} +11 -11
  103. package/dist/chunks/{file-retention-05r0g2r7.js → filesystem-bwqn28c5.js} +3 -3
  104. package/dist/chunks/{file-retention-vnjwe8gy.js → filesystem-c34yv8jr.js} +3 -3
  105. package/dist/chunks/{file-retention-m80e7yhz.js → filesystem-c7xcdgb3.js} +1 -1
  106. package/dist/chunks/{file-retention-1kfywa72.js → filesystem-c8fxmp84.js} +4 -4
  107. package/dist/chunks/{file-retention-481gxrfg.js → filesystem-cj5ykkxh.js} +8 -3
  108. package/dist/chunks/{file-retention-as3sm64x.js → filesystem-ck72d7f2.js} +6 -6
  109. package/dist/chunks/{file-retention-cm18kf9d.js → filesystem-cm18kf9d.js} +3 -3
  110. package/dist/chunks/{file-retention-m8210qzt.js → filesystem-cnaqb1tg.js} +8 -8
  111. package/dist/chunks/{file-retention-c6x7d2ts.js → filesystem-cpvd08na.js} +4 -4
  112. package/dist/chunks/{file-retention-aqgxz88q.js → filesystem-crxr35d9.js} +31 -31
  113. package/dist/chunks/{file-retention-9tsn38wb.js → filesystem-csvfcyj3.js} +21 -21
  114. package/dist/chunks/{file-retention-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
  115. package/dist/chunks/{file-retention-3vxknmvb.js → filesystem-czzevw5a.js} +13 -13
  116. package/dist/chunks/filesystem-d3bra3vm.js +34 -0
  117. package/dist/chunks/{file-retention-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
  118. package/dist/chunks/{file-retention-xcj09269.js → filesystem-df9zz4rf.js} +6 -6
  119. package/dist/chunks/{file-retention-h2wv7g1z.js → filesystem-dma5n97j.js} +30 -30
  120. package/dist/chunks/{file-retention-69sb8681.js → filesystem-dr326g96.js} +9 -9
  121. package/dist/chunks/{file-retention-agqd6nxz.js → filesystem-drvbhkez.js} +2 -2
  122. package/dist/chunks/{file-retention-dt77769w.js → filesystem-dt77769w.js} +1 -1
  123. package/dist/chunks/{file-retention-c9re5j8a.js → filesystem-dvaraee2.js} +20 -20
  124. package/dist/chunks/{file-retention-e07q2w5p.js → filesystem-e07q2w5p.js} +1 -1
  125. package/dist/chunks/{file-retention-zg0ggtad.js → filesystem-e3g479a6.js} +93 -62
  126. package/dist/chunks/{file-retention-4n32qr4v.js → filesystem-e618q6jv.js} +7 -7
  127. package/dist/chunks/{file-retention-e834z07m.js → filesystem-e834z07m.js} +1 -1
  128. package/dist/chunks/{file-retention-t0yv98de.js → filesystem-emz5z3x7.js} +2 -2
  129. package/dist/chunks/{file-retention-n6pb4r7m.js → filesystem-esbzcf2v.js} +3 -3
  130. package/dist/chunks/{file-retention-6kzgetar.js → filesystem-ex5adzvz.js} +6 -6
  131. package/dist/chunks/{file-retention-ckfzcqz5.js → filesystem-f1g9v2n6.js} +3 -3
  132. package/dist/chunks/{file-retention-6fkjv1xc.js → filesystem-fcrv3p1c.js} +7 -7
  133. package/dist/chunks/{file-retention-97z6p5c2.js → filesystem-fe5m0zbk.js} +19 -19
  134. package/dist/chunks/{file-retention-m5n42v94.js → filesystem-fej4fvmz.js} +11 -11
  135. package/dist/chunks/{file-retention-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
  136. package/dist/chunks/{file-retention-jd833z4n.js → filesystem-fg2aznv6.js} +10 -10
  137. package/dist/chunks/{file-retention-71ffcwx2.js → filesystem-fj2tjxmw.js} +29 -29
  138. package/dist/chunks/{file-retention-7mfyhxd7.js → filesystem-fn2p6yf2.js} +13 -13
  139. package/dist/chunks/{file-retention-1vt7zj53.js → filesystem-fncrvfr8.js} +7 -7
  140. package/dist/chunks/{file-retention-qz087kyw.js → filesystem-fny70jpy.js} +8 -8
  141. package/dist/chunks/{file-retention-k09ty2nz.js → filesystem-g4pcw3ts.js} +17 -17
  142. package/dist/chunks/{file-retention-zrj29v3f.js → filesystem-g82fkzhe.js} +11 -11
  143. package/dist/chunks/{file-retention-1nke647r.js → filesystem-g8763th5.js} +11 -11
  144. package/dist/chunks/{file-retention-gg8p9cgs.js → filesystem-gg8p9cgs.js} +3 -3
  145. package/dist/chunks/{file-retention-xq7py0nk.js → filesystem-gm2f0atq.js} +16 -16
  146. package/dist/chunks/{file-retention-3n9k8ktf.js → filesystem-gmqegw1e.js} +10 -10
  147. package/dist/chunks/{file-retention-em4evt6c.js → filesystem-gsnkxft0.js} +11 -11
  148. package/dist/chunks/{file-retention-r564vpxy.js → filesystem-gxwtb78g.js} +16 -16
  149. package/dist/chunks/{file-retention-b36ttk86.js → filesystem-h01md3m8.js} +2 -2
  150. package/dist/chunks/{file-retention-t5jqs5j7.js → filesystem-h7gvp0tv.js} +2 -2
  151. package/dist/chunks/{file-retention-gp067yzn.js → filesystem-hc4wny2n.js} +11 -11
  152. package/dist/chunks/{file-retention-hdfrs5mg.js → filesystem-hdfrs5mg.js} +2 -2
  153. package/dist/chunks/{file-retention-m37sd98t.js → filesystem-hfgk9wzg.js} +4 -4
  154. package/dist/chunks/{file-retention-7yb883t5.js → filesystem-hjaahymy.js} +36 -36
  155. package/dist/chunks/{file-retention-zf274ksp.js → filesystem-hjwwwxxw.js} +21 -21
  156. package/dist/chunks/{file-retention-hpg1pkwy.js → filesystem-hpg1pkwy.js} +1 -1
  157. package/dist/chunks/{file-retention-8p4fey4p.js → filesystem-hrp7h9k8.js} +9 -9
  158. package/dist/chunks/{file-retention-rpgqzgsw.js → filesystem-hry4p7je.js} +9 -9
  159. package/dist/chunks/{file-retention-hs9b4b47.js → filesystem-hs9b4b47.js} +2 -2
  160. package/dist/chunks/{file-retention-bm4gstpq.js → filesystem-hx3mz2q2.js} +8 -8
  161. package/dist/chunks/{file-retention-cebftnbm.js → filesystem-hyyve62m.js} +19 -19
  162. package/dist/chunks/filesystem-j5ge61vx.js +312 -0
  163. package/dist/chunks/{file-retention-h3nbc66p.js → filesystem-j6fmvzx1.js} +19 -19
  164. package/dist/chunks/{file-retention-njkvgpzw.js → filesystem-j8b46n9s.js} +25 -25
  165. package/dist/chunks/{file-retention-tvps0thf.js → filesystem-jc4yfsds.js} +5 -5
  166. package/dist/chunks/{file-retention-jfaecv01.js → filesystem-jfaecv01.js} +1 -1
  167. package/dist/chunks/{file-retention-6e5dkec4.js → filesystem-jg2yb00g.js} +32 -32
  168. package/dist/chunks/{file-retention-jtnps1zs.js → filesystem-jtnps1zs.js} +2 -2
  169. package/dist/chunks/{file-retention-7qqd2nx3.js → filesystem-k079z09p.js} +4 -4
  170. package/dist/chunks/{file-retention-s99cgj3z.js → filesystem-k1txdcnn.js} +19 -19
  171. package/dist/chunks/{file-retention-watjt3p8.js → filesystem-k3febq9m.js} +24 -27
  172. package/dist/chunks/{file-retention-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
  173. package/dist/chunks/{file-retention-rcdgzwjt.js → filesystem-kaaytn36.js} +20 -20
  174. package/dist/chunks/{file-retention-ycarv14j.js → filesystem-kj6bvb2j.js} +3 -3
  175. package/dist/chunks/{file-retention-mpppa3sy.js → filesystem-kjst82ar.js} +1 -1
  176. package/dist/chunks/{file-retention-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
  177. package/dist/chunks/{file-retention-z2d0yvk9.js → filesystem-m146rhxa.js} +18 -18
  178. package/dist/chunks/{file-retention-m1714858.js → filesystem-m1714858.js} +1 -1
  179. package/dist/chunks/{file-retention-c0ycfh2w.js → filesystem-m3bdadrj.js} +9 -9
  180. package/dist/chunks/{file-retention-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{file-retention-h6t0znmf.js → filesystem-majcfxdx.js} +9 -9
  182. package/dist/chunks/{file-retention-b6gbsyrt.js → filesystem-mgxqcbam.js} +10 -2
  183. package/dist/chunks/{file-retention-jvshpvt0.js → filesystem-n0raz6dg.js} +4 -4
  184. package/dist/chunks/{file-retention-bckyc6k9.js → filesystem-n1gr2kpt.js} +6 -6
  185. package/dist/chunks/{file-retention-fbh8zj85.js → filesystem-n2h4jtew.js} +2 -2
  186. package/dist/chunks/{file-retention-vfpbkdxj.js → filesystem-n61g9vyf.js} +28 -28
  187. package/dist/chunks/{file-retention-gw7rtptf.js → filesystem-n6v0k17x.js} +11 -11
  188. package/dist/chunks/{file-retention-nah043kf.js → filesystem-nah043kf.js} +1 -1
  189. package/dist/chunks/{file-retention-hr6qbbbj.js → filesystem-nbdtng8k.js} +25 -25
  190. package/dist/chunks/{file-retention-vtm22ma1.js → filesystem-nk58jtss.js} +12 -12
  191. package/dist/chunks/{file-retention-9zhqn0tq.js → filesystem-nkdehe09.js} +23 -23
  192. package/dist/chunks/{file-retention-cg3fcpn4.js → filesystem-nv9tsjma.js} +6 -6
  193. package/dist/chunks/{file-retention-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
  194. package/dist/chunks/{file-retention-7vher5vz.js → filesystem-p6aax6q6.js} +13 -13
  195. package/dist/chunks/{file-retention-2mbjfaxd.js → filesystem-p76me67c.js} +4 -4
  196. package/dist/chunks/{file-retention-pbbktnbz.js → filesystem-pbbktnbz.js} +4 -4
  197. package/dist/chunks/{file-retention-qgfsr1ak.js → filesystem-pcrfxpzv.js} +23 -18
  198. package/dist/chunks/{file-retention-e0w63sys.js → filesystem-pd94qqs3.js} +22 -22
  199. package/dist/chunks/{file-retention-527s141c.js → filesystem-pgzqbqf1.js} +5 -5
  200. package/dist/chunks/{file-retention-gexzakpg.js → filesystem-phmgxt2f.js} +3 -3
  201. package/dist/chunks/{file-retention-gc8gtep9.js → filesystem-pj65rgyr.js} +1 -1
  202. package/dist/chunks/{file-retention-pknna89w.js → filesystem-pknna89w.js} +1 -1
  203. package/dist/chunks/{file-retention-fg9p65nk.js → filesystem-prq7xxp2.js} +6 -6
  204. package/dist/chunks/{file-retention-zcd9d9xm.js → filesystem-psfkywbe.js} +14 -14
  205. package/dist/chunks/{file-retention-nmcr2840.js → filesystem-pvpa9p11.js} +36 -36
  206. package/dist/chunks/{file-retention-45nyv10h.js → filesystem-pw343ads.js} +31 -31
  207. package/dist/chunks/{file-retention-k9ry6nae.js → filesystem-qbhjbqdd.js} +16 -16
  208. package/dist/chunks/{file-retention-sg08nake.js → filesystem-qf8srjpf.js} +19 -10
  209. package/dist/chunks/{file-retention-ab1m5rfy.js → filesystem-qgjxsz2y.js} +13 -13
  210. package/dist/chunks/{file-retention-s52g94eq.js → filesystem-qmx7pqgw.js} +10 -10
  211. package/dist/chunks/{file-retention-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
  212. package/dist/chunks/{file-retention-qwpavc5r.js → filesystem-qpa23kw8.js} +28 -28
  213. package/dist/chunks/filesystem-qqvy8y24.js +45 -0
  214. package/dist/chunks/{file-retention-aqy09njx.js → filesystem-qv57zvvg.js} +298 -284
  215. package/dist/chunks/{file-retention-gqqeyx1x.js → filesystem-r0dsnsr8.js} +2 -2
  216. package/dist/chunks/{file-retention-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
  217. package/dist/chunks/{file-retention-52hfn8qm.js → filesystem-r2rzgj46.js} +14 -14
  218. package/dist/chunks/{file-retention-r542h3bh.js → filesystem-r542h3bh.js} +1 -1
  219. package/dist/chunks/{file-retention-zke8k14a.js → filesystem-r8m134k8.js} +9 -9
  220. package/dist/chunks/{file-retention-13efzyg2.js → filesystem-r98dxkx5.js} +21 -21
  221. package/dist/chunks/{file-retention-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
  222. package/dist/chunks/{file-retention-phacckca.js → filesystem-rcthcsey.js} +13 -13
  223. package/dist/chunks/{file-retention-ka9dq9bh.js → filesystem-rerxfbrr.js} +22 -22
  224. package/dist/chunks/{file-retention-5mm8f81r.js → filesystem-rfy1qsv0.js} +5 -5
  225. package/dist/chunks/{file-retention-rgzggw2r.js → filesystem-rgzggw2r.js} +2 -2
  226. package/dist/chunks/{file-retention-4pbrjawp.js → filesystem-rngmar94.js} +26 -26
  227. package/dist/chunks/{file-retention-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
  228. package/dist/chunks/{file-retention-vcyr9zvk.js → filesystem-rvp0ckfz.js} +28 -28
  229. package/dist/chunks/{file-retention-byk50ab2.js → filesystem-s43pka83.js} +9 -9
  230. package/dist/chunks/filesystem-s7ertgdh.js +26 -0
  231. package/dist/chunks/{file-retention-s7gmm2q3.js → filesystem-s7gmm2q3.js} +3 -3
  232. package/dist/chunks/{file-retention-sa3fpqfw.js → filesystem-sa3fpqfw.js} +2 -2
  233. package/dist/chunks/{file-retention-pq0g1j3r.js → filesystem-sjq3mznt.js} +11 -11
  234. package/dist/chunks/{file-retention-yjdt6y29.js → filesystem-snfsmn1e.js} +5 -5
  235. package/dist/chunks/{file-retention-sqjzf8x2.js → filesystem-sqjzf8x2.js} +1 -1
  236. package/dist/chunks/{file-retention-c9t2ty9q.js → filesystem-ssfehs1z.js} +4 -4
  237. package/dist/chunks/{file-retention-yk6ka46x.js → filesystem-stka8v7r.js} +3 -3
  238. package/dist/chunks/{file-retention-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
  239. package/dist/chunks/{file-retention-36g55jbn.js → filesystem-t1ncdzfb.js} +30 -30
  240. package/dist/chunks/{file-retention-bdzmqtb7.js → filesystem-t54qx1t0.js} +6 -6
  241. package/dist/chunks/{file-retention-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
  242. package/dist/chunks/{file-retention-pk1jk6nd.js → filesystem-tf83vx35.js} +8 -8
  243. package/dist/chunks/{file-retention-k3rsaqe1.js → filesystem-thq4q9my.js} +6 -6
  244. package/dist/chunks/{file-retention-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
  245. package/dist/chunks/{file-retention-v0t96s7a.js → filesystem-v0t96s7a.js} +1 -1
  246. package/dist/chunks/{file-retention-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
  247. package/dist/chunks/{file-retention-v5hpj9dd.js → filesystem-v5hpj9dd.js} +1 -1
  248. package/dist/chunks/{file-retention-d2rkekdg.js → filesystem-v7rdhf5e.js} +14 -14
  249. package/dist/chunks/{file-retention-hzs6scc7.js → filesystem-vdfc3vwf.js} +10 -10
  250. package/dist/chunks/{file-retention-vg0erq9k.js → filesystem-vg0erq9k.js} +1 -1
  251. package/dist/chunks/{file-retention-zzhx4wss.js → filesystem-vm40an3j.js} +9 -9
  252. package/dist/chunks/{file-retention-vsqvcqta.js → filesystem-vsqvcqta.js} +3 -3
  253. package/dist/chunks/{file-retention-81x0z535.js → filesystem-w1fms507.js} +19 -19
  254. package/dist/chunks/{file-retention-w2eysc6j.js → filesystem-w2eysc6j.js} +2 -2
  255. package/dist/chunks/{file-retention-0evwtgv8.js → filesystem-w3p04qes.js} +9 -9
  256. package/dist/chunks/{file-retention-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{file-retention-bt45xqy1.js → filesystem-w5qh0yp9.js} +11 -11
  258. package/dist/chunks/{file-retention-y49ten0s.js → filesystem-w6763yes.js} +30 -30
  259. package/dist/chunks/{file-retention-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
  260. package/dist/chunks/{file-retention-kbs230cz.js → filesystem-wappnbgt.js} +6 -6
  261. package/dist/chunks/{file-retention-wd87259q.js → filesystem-wd87259q.js} +1 -1
  262. package/dist/chunks/{file-retention-wnhgecwx.js → filesystem-wnhgecwx.js} +1 -1
  263. package/dist/chunks/{file-retention-z4efjq9s.js → filesystem-wq31c655.js} +14 -14
  264. package/dist/chunks/{file-retention-0h8y3ex8.js → filesystem-wr3re1en.js} +4 -4
  265. package/dist/chunks/{file-retention-g5swcsby.js → filesystem-ws6kh7b7.js} +5 -5
  266. package/dist/chunks/{file-retention-3jemhejf.js → filesystem-wxrneye3.js} +8 -8
  267. package/dist/chunks/{file-retention-hcjxzb33.js → filesystem-x2kwmbaj.js} +4 -4
  268. package/dist/chunks/{file-retention-tps1nyr3.js → filesystem-x4vrc5nf.js} +18 -18
  269. package/dist/chunks/{file-retention-6qazmz99.js → filesystem-x4z26120.js} +5 -5
  270. package/dist/chunks/{file-retention-g8wyr0p0.js → filesystem-xajgh51x.js} +7 -7
  271. package/dist/chunks/{file-retention-5cwy195j.js → filesystem-xarg0qdr.js} +6 -6
  272. package/dist/chunks/{file-retention-efer459w.js → filesystem-xbc6qp68.js} +6 -6
  273. package/dist/chunks/{file-retention-saw0xt7z.js → filesystem-xdkjcj8h.js} +18 -18
  274. package/dist/chunks/{file-retention-wczydp3b.js → filesystem-xgjn9k1a.js} +2 -2
  275. package/dist/chunks/{file-retention-ysjrjqrd.js → filesystem-xhesmbhs.js} +17 -17
  276. package/dist/chunks/{file-retention-se016j3a.js → filesystem-xptjxdz6.js} +4 -4
  277. package/dist/chunks/{file-retention-vfxqwymt.js → filesystem-xqx7k15x.js} +37 -37
  278. package/dist/chunks/{file-retention-xt0z8zst.js → filesystem-xt0z8zst.js} +1 -1
  279. package/dist/chunks/{file-retention-55yn0q28.js → filesystem-y20gse86.js} +9 -9
  280. package/dist/chunks/{file-retention-00ay3kdv.js → filesystem-y47dt2v0.js} +26 -26
  281. package/dist/chunks/{file-retention-g8zf12h5.js → filesystem-y5d65aff.js} +5 -5
  282. package/dist/chunks/{file-retention-yara3q77.js → filesystem-yara3q77.js} +2 -2
  283. package/dist/chunks/{file-retention-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
  284. package/dist/chunks/{file-retention-47r66zre.js → filesystem-ye085k5q.js} +80 -80
  285. package/dist/chunks/{file-retention-84hv32w5.js → filesystem-ykamt9jm.js} +20 -20
  286. package/dist/chunks/{file-retention-81rf7y7z.js → filesystem-ynaqhc8e.js} +6 -6
  287. package/dist/chunks/{file-retention-n7xzwjsb.js → filesystem-ytys4wt6.js} +21 -21
  288. package/dist/chunks/{file-retention-1apykrxj.js → filesystem-ywjp853w.js} +44 -42
  289. package/dist/chunks/{file-retention-m4bjc8bw.js → filesystem-yxy26kq2.js} +12 -12
  290. package/dist/chunks/filesystem-z355x5yr.js +18 -0
  291. package/dist/chunks/{file-retention-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
  292. package/dist/chunks/{file-retention-dpbhk201.js → filesystem-z6vvjhzx.js} +10 -10
  293. package/dist/chunks/{file-retention-gv60x5cq.js → filesystem-zes7n4m2.js} +74 -74
  294. package/dist/chunks/{file-retention-0anyt1n6.js → filesystem-zgd8t41s.js} +9 -9
  295. package/dist/chunks/{file-retention-pehfm7w7.js → filesystem-zgtpaate.js} +15 -15
  296. package/dist/chunks/{file-retention-1m8zk9rp.js → filesystem-zyfw5drr.js} +9 -9
  297. package/dist/codemode/catalog.js +1 -1
  298. package/dist/codemode/instructions.js +5 -5
  299. package/dist/codemode/tool.js +3 -3
  300. package/dist/codemode/web.js +1 -1
  301. package/dist/command.js +84 -84
  302. package/dist/config/discovery.js +91 -91
  303. package/dist/config/integration.js +1 -1
  304. package/dist/config/markdown.js +1 -1
  305. package/dist/config/normalize.js +108 -108
  306. package/dist/config/plugin/agent.js +122 -122
  307. package/dist/config/plugin/command.js +220 -220
  308. package/dist/config/plugin/compaction.js +161 -161
  309. package/dist/config/plugin/compatibility.js +143 -143
  310. package/dist/config/plugin/entry-observer.js +1 -1
  311. package/dist/config/plugin/formatter.js +123 -123
  312. package/dist/config/plugin/image.js +120 -120
  313. package/dist/config/plugin/instruction.js +122 -122
  314. package/dist/config/plugin/location-watcher.js +122 -122
  315. package/dist/config/plugin/mcp.js +129 -129
  316. package/dist/config/plugin/policy.js +124 -124
  317. package/dist/config/plugin/provider.js +123 -123
  318. package/dist/config/plugin/reference.js +124 -124
  319. package/dist/config/plugin/shell.js +122 -122
  320. package/dist/config/plugin/skill-file.js +139 -139
  321. package/dist/config/plugin/skill-scan.js +1 -1
  322. package/dist/config/plugin/skill.js +144 -144
  323. package/dist/config/plugin/snapshot.js +122 -122
  324. package/dist/config/plugin/source.js +119 -119
  325. package/dist/config/plugin/tool-output.js +123 -123
  326. package/dist/config/plugin/websearch.js +121 -121
  327. package/dist/config/plugin/worktree.js +124 -124
  328. package/dist/config/variable.js +1 -1
  329. package/dist/config/watch.js +1 -1
  330. package/dist/config.js +117 -117
  331. package/dist/console-access.js +1 -1
  332. package/dist/credential/sql.js +2 -2
  333. package/dist/credential.js +90 -90
  334. package/dist/database/database.js +73 -73
  335. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  336. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  337. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  338. package/dist/database/drizzle/index.js +13 -13
  339. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  342. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  345. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  347. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  348. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  349. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  350. package/dist/database/drizzle.js +14 -14
  351. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  352. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  353. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  354. package/dist/database/migration/20260225215848_workspace.js +1 -1
  355. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  356. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  357. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  358. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  359. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  360. package/dist/database/migration/20260323234822_events.js +1 -1
  361. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  362. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  363. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  364. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  365. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  366. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  367. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  368. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  369. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  370. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  371. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  372. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  373. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  374. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  375. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  376. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  377. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  378. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  379. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  380. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  381. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  382. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  383. package/dist/database/migration/20260611035744_credential.js +1 -1
  384. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  385. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  386. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  387. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  388. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  389. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  390. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  391. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  392. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  393. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  394. package/dist/database/migration/20260812213948_worktree.js +1 -1
  395. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  396. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  397. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  398. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  399. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  400. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  401. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  402. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  403. package/dist/database/migration/20261025123711_blob.js +1 -1
  404. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  405. package/dist/database/migration/20261026223005_schedule.js +1 -1
  406. package/dist/database/migration.gen.js +56 -56
  407. package/dist/database/migration.js +58 -58
  408. package/dist/database/path.js +2 -2
  409. package/dist/database/schema.gen.js +1 -1
  410. package/dist/database/schema.sql.js +1 -1
  411. package/dist/database/sqlite.bun.js +1 -1
  412. package/dist/database/sqlite.js +1 -1
  413. package/dist/database/sqlite.node.js +1 -1
  414. package/dist/database/sqlite.workerd.js +1 -1
  415. package/dist/database/v1-migration.bun.js +94 -94
  416. package/dist/database/v1-migration.js +1 -1
  417. package/dist/effect/app-node-builder.js +382 -378
  418. package/dist/effect/app-node-platform.js +2 -2
  419. package/dist/effect/keyed-mutex.js +1 -1
  420. package/dist/effect/websocket-constructor.js +1 -1
  421. package/dist/environment/driver.js +1 -1
  422. package/dist/environment/environment.js +102 -102
  423. package/dist/environment/exec-defaults.js +2 -2
  424. package/dist/environment/files.js +1 -1
  425. package/dist/environment/index.js +104 -104
  426. package/dist/environment/local.js +2 -2
  427. package/dist/environment/memory.js +2 -2
  428. package/dist/environment/unavailable.js +3 -3
  429. package/dist/event/sql.js +1 -1
  430. package/dist/event-logger.js +77 -77
  431. package/dist/file-access.js +149 -149
  432. package/dist/file-mutation.js +99 -99
  433. package/dist/file-retention.js +1 -1
  434. package/dist/filesystem/fff.bun.js +2 -2
  435. package/dist/filesystem/fff.js +1 -1
  436. package/dist/filesystem/fff.node.js +2 -2
  437. package/dist/filesystem/fff.workerd.js +2 -2
  438. package/dist/filesystem/file-watch.js +80 -80
  439. package/dist/filesystem/location-watcher-policy.js +6 -6
  440. package/dist/filesystem/location-watcher.js +229 -229
  441. package/dist/filesystem/protected.js +1 -1
  442. package/dist/filesystem/search.js +106 -106
  443. package/dist/filesystem/watcher-binding.js +1 -1
  444. package/dist/filesystem/watcher.js +3 -3
  445. package/dist/filesystem.js +113 -113
  446. package/dist/form.js +87 -87
  447. package/dist/formatter/builtins.js +2 -2
  448. package/dist/formatter.js +96 -96
  449. package/dist/generate.js +112 -112
  450. package/dist/git.js +7 -7
  451. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  452. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  453. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  455. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  456. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  457. package/dist/github-copilot/copilot-provider.js +17 -17
  458. package/dist/github-copilot/models.js +108 -108
  459. package/dist/github-copilot/openai-compatible-error.js +1 -1
  460. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  461. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  462. package/dist/github-copilot/responses/openai-error.js +1 -1
  463. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  464. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  465. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  466. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  467. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  468. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  469. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  470. package/dist/image/photon-normalize.js +1 -1
  471. package/dist/image/photon-worker.js +1 -1
  472. package/dist/image/photon.js +4 -4
  473. package/dist/image.js +6 -6
  474. package/dist/instance/service.js +5 -5
  475. package/dist/instance.js +373 -369
  476. package/dist/instruction-discovery.js +93 -93
  477. package/dist/instructions/builtins.js +96 -96
  478. package/dist/instructions/index.js +1 -1
  479. package/dist/integration/connection.js +1 -1
  480. package/dist/integration.js +84 -84
  481. package/dist/job.js +85 -85
  482. package/dist/kv/sql.js +2 -2
  483. package/dist/kv.js +80 -80
  484. package/dist/location-activity.js +161 -161
  485. package/dist/location-lifecycle.js +143 -143
  486. package/dist/location-service-map.js +95 -95
  487. package/dist/location-services.js +370 -366
  488. package/dist/location.js +90 -90
  489. package/dist/managed-policy.js +3 -3
  490. package/dist/mcp/client.js +100 -100
  491. package/dist/mcp/index.js +114 -114
  492. package/dist/mcp/instructions.js +169 -169
  493. package/dist/mcp/oauth.js +85 -85
  494. package/dist/mcp/socket-client.js +1 -1
  495. package/dist/mcp/stdio.js +99 -99
  496. package/dist/mime.js +1 -1
  497. package/dist/modal/models.js +108 -108
  498. package/dist/model-resolver.js +108 -108
  499. package/dist/model-retry.js +1 -1
  500. package/dist/model.js +105 -105
  501. package/dist/models-dev/v1.js +1 -1
  502. package/dist/models-dev.js +117 -117
  503. package/dist/oauth/page.js +1 -1
  504. package/dist/permission/saved.js +89 -89
  505. package/dist/permission/sql.js +5 -5
  506. package/dist/permission.js +144 -144
  507. package/dist/persistent-pty/binary.bun.js +1 -1
  508. package/dist/persistent-pty/daemon.js +1 -1
  509. package/dist/persistent-pty/index.js +91 -91
  510. package/dist/persistent-pty/pty-binding.js +1 -1
  511. package/dist/persistent-pty.js +82 -82
  512. package/dist/plugin/agent.js +81 -81
  513. package/dist/plugin/command.js +109 -109
  514. package/dist/plugin/goal.js +16 -0
  515. package/dist/plugin/hooks.js +5 -5
  516. package/dist/plugin/host.js +226 -226
  517. package/dist/plugin/identity.js +5 -5
  518. package/dist/plugin/instance.js +1 -1
  519. package/dist/plugin/internal.js +343 -339
  520. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  521. package/dist/plugin/models-dev.js +106 -106
  522. package/dist/plugin/module.js +122 -122
  523. package/dist/plugin/optimize.js +2 -2
  524. package/dist/plugin/plan.js +139 -139
  525. package/dist/plugin/promise.js +1 -1
  526. package/dist/plugin/provider/amazon-bedrock.js +100 -99
  527. package/dist/plugin/provider/azure.js +122 -122
  528. package/dist/plugin/provider/cerebras.js +1 -1
  529. package/dist/plugin/provider/chatgpt.js +122 -122
  530. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -119
  531. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -119
  532. package/dist/plugin/provider/configured.js +118 -118
  533. package/dist/plugin/provider/credential-settings.js +88 -0
  534. package/dist/plugin/provider/databricks.js +1 -1
  535. package/dist/plugin/provider/digitalocean.js +102 -102
  536. package/dist/plugin/provider/dynamic.js +2 -2
  537. package/dist/plugin/provider/github-copilot.js +104 -104
  538. package/dist/plugin/provider/gitlab.js +103 -102
  539. package/dist/plugin/provider/google-vertex.js +119 -119
  540. package/dist/plugin/provider/kilo.js +1 -1
  541. package/dist/plugin/provider/llmgateway.js +85 -85
  542. package/dist/plugin/provider/lmstudio.js +131 -131
  543. package/dist/plugin/provider/local.js +128 -128
  544. package/dist/plugin/provider/modal.js +101 -101
  545. package/dist/plugin/provider/neon.js +1 -1
  546. package/dist/plugin/provider/nvidia.js +1 -1
  547. package/dist/plugin/provider/ollama.js +129 -129
  548. package/dist/plugin/provider/openai-context-caps.js +99 -99
  549. package/dist/plugin/provider/openai.js +122 -122
  550. package/dist/plugin/provider/opencode.js +125 -125
  551. package/dist/plugin/provider/openrouter.js +100 -100
  552. package/dist/plugin/provider/poe.js +86 -86
  553. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  554. package/dist/plugin/provider/sap-ai-core.js +100 -100
  555. package/dist/plugin/provider/sdk-factory.js +1 -1
  556. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  557. package/dist/plugin/provider/vllm.js +129 -129
  558. package/dist/plugin/provider/xai.js +100 -100
  559. package/dist/plugin/provider/zenmux.js +1 -1
  560. package/dist/plugin/provider.js +173 -172
  561. package/dist/plugin/sdk.js +83 -83
  562. package/dist/plugin/service.js +3 -3
  563. package/dist/plugin/skill.js +140 -140
  564. package/dist/plugin/source-directory.js +1 -1
  565. package/dist/plugin/supervisor.js +357 -354
  566. package/dist/plugin/tool-input-repair.js +4 -4
  567. package/dist/plugin/update.js +2 -2
  568. package/dist/plugin/vcs/git.js +95 -95
  569. package/dist/plugin/vcs/hg.js +95 -95
  570. package/dist/plugin/verbosity.js +102 -102
  571. package/dist/plugin/warming.js +120 -120
  572. package/dist/plugin/websearch/exa.js +5 -5
  573. package/dist/plugin/websearch/firecrawl.js +8 -8
  574. package/dist/plugin/websearch/index.js +9 -9
  575. package/dist/plugin/websearch/mcp.js +2 -2
  576. package/dist/plugin/websearch/parallel.js +8 -8
  577. package/dist/plugin/websearch/tavily.js +4 -4
  578. package/dist/plugin/websearch/tinyfish.js +8 -8
  579. package/dist/plugin.js +237 -237
  580. package/dist/project/icon.js +5 -5
  581. package/dist/project/schema.js +2 -2
  582. package/dist/project/sql.js +4 -4
  583. package/dist/project.js +89 -89
  584. package/dist/provider.js +98 -98
  585. package/dist/pty/protocol.js +1 -1
  586. package/dist/pty/ticket.js +1 -1
  587. package/dist/pty.js +107 -107
  588. package/dist/reference/instructions.js +97 -97
  589. package/dist/reference.js +99 -99
  590. package/dist/repository-cache.js +89 -89
  591. package/dist/repository.js +3 -3
  592. package/dist/ripgrep/binary.js +2 -2
  593. package/dist/ripgrep.js +106 -106
  594. package/dist/rpc.js +95 -95
  595. package/dist/schedule/sql.js +6 -6
  596. package/dist/schedule.js +226 -226
  597. package/dist/schema.js +1 -1
  598. package/dist/session/affinity.js +1 -1
  599. package/dist/session/background.js +8 -0
  600. package/dist/session/blob.js +121 -121
  601. package/dist/session/command.js +81 -81
  602. package/dist/session/compaction.js +165 -165
  603. package/dist/session/context.js +189 -189
  604. package/dist/session/diff.js +97 -97
  605. package/dist/session/environment.js +5 -5
  606. package/dist/session/error.js +5 -5
  607. package/dist/session/event.js +1 -1
  608. package/dist/session/execution/restart.js +249 -228
  609. package/dist/session/execution.js +153 -153
  610. package/dist/session/generate.js +189 -189
  611. package/dist/session/history.js +128 -128
  612. package/dist/session/inbox.js +137 -137
  613. package/dist/session/info.js +3 -3
  614. package/dist/session/instruction-entry.js +86 -86
  615. package/dist/session/instruction-state.js +8 -8
  616. package/dist/session/instructions.js +133 -133
  617. package/dist/session/message-updater.js +2 -2
  618. package/dist/session/message.js +1 -1
  619. package/dist/session/model-request.js +156 -156
  620. package/dist/session/model-transport.js +9 -9
  621. package/dist/session/move.js +157 -157
  622. package/dist/session/projector.js +135 -135
  623. package/dist/session/prompt.js +141 -141
  624. package/dist/session/recent-text.js +1 -1
  625. package/dist/session/revert.js +131 -131
  626. package/dist/session/run-coordinator.js +3 -3
  627. package/dist/session/runner/index.js +3 -3
  628. package/dist/session/runner/llm.js +238 -237
  629. package/dist/session/runner/max-steps.js +1 -1
  630. package/dist/session/runner/model.js +109 -109
  631. package/dist/session/runner/publish-llm-event.js +142 -142
  632. package/dist/session/runner/retry.js +3 -3
  633. package/dist/session/runner/step.js +153 -153
  634. package/dist/session/runner/to-llm-message.js +129 -129
  635. package/dist/session/schema.js +3 -3
  636. package/dist/session/session.js +173 -173
  637. package/dist/session/shell.js +136 -136
  638. package/dist/session/skill.js +140 -140
  639. package/dist/session/sql.js +5 -5
  640. package/dist/session/stats.js +80 -80
  641. package/dist/session/store.js +132 -132
  642. package/dist/session/stored.js +4 -4
  643. package/dist/session/subagent-completion.js +1 -1
  644. package/dist/session/subagent-job.js +216 -216
  645. package/dist/session/system-prompt.js +3 -3
  646. package/dist/session/title.js +187 -187
  647. package/dist/session/to-session-error.js +141 -141
  648. package/dist/session/transfer.js +222 -222
  649. package/dist/session/usage.js +1 -1
  650. package/dist/session.js +222 -222
  651. package/dist/shell/parse.js +6 -6
  652. package/dist/shell/result.js +1 -1
  653. package/dist/shell/scan.js +1 -1
  654. package/dist/shell/select.js +15 -15
  655. package/dist/shell.js +138 -138
  656. package/dist/skill/discovery.js +6 -6
  657. package/dist/skill/instructions.js +144 -144
  658. package/dist/skill.js +145 -145
  659. package/dist/snapshot.js +100 -100
  660. package/dist/state.js +1 -1
  661. package/dist/tool/html-markdown.js +1 -1
  662. package/dist/tool/http-body.js +1 -1
  663. package/dist/tool/mcp.js +168 -168
  664. package/dist/tool/plugin/edit.js +157 -157
  665. package/dist/tool/plugin/file-diff.js +1 -1
  666. package/dist/tool/plugin/glob.js +161 -161
  667. package/dist/tool/plugin/grep.js +161 -161
  668. package/dist/tool/plugin/image-generate.js +237 -0
  669. package/dist/tool/plugin/mcp-resource.js +155 -155
  670. package/dist/tool/plugin/opencode.js +154 -154
  671. package/dist/tool/plugin/patch.js +159 -159
  672. package/dist/tool/plugin/question.js +147 -147
  673. package/dist/tool/plugin/read.js +162 -162
  674. package/dist/tool/plugin/shell.js +223 -223
  675. package/dist/tool/plugin/skill.js +148 -148
  676. package/dist/tool/plugin/subagent.js +227 -227
  677. package/dist/tool/plugin/todo.js +142 -142
  678. package/dist/tool/plugin/webfetch.js +148 -148
  679. package/dist/tool/plugin/websearch.js +146 -146
  680. package/dist/tool/plugin/write.js +159 -159
  681. package/dist/tool/read-filesystem.js +111 -111
  682. package/dist/tool/runtime.js +1 -1
  683. package/dist/tool-output.js +7 -7
  684. package/dist/tool.js +14 -14
  685. package/dist/types/job.d.ts +7 -0
  686. package/dist/types/plugin/goal.d.ts +8 -0
  687. package/dist/types/plugin/internal.d.ts +3 -2
  688. package/dist/types/plugin/provider/amazon-bedrock.d.ts +1 -1
  689. package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +1 -1
  690. package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +1 -1
  691. package/dist/types/plugin/provider/credential-settings.d.ts +33 -0
  692. package/dist/types/plugin/provider/gitlab.d.ts +2 -1
  693. package/dist/types/session/background.d.ts +40 -0
  694. package/dist/types/session/runner/index.d.ts +16 -0
  695. package/dist/types/tool/plugin/image-generate.d.ts +35 -0
  696. package/dist/types/tool/plugin/opencode.d.ts +1 -0
  697. package/dist/usage-limits.js +96 -96
  698. package/dist/util/error-summary.js +1 -1
  699. package/dist/util/git-executable.js +3 -3
  700. package/dist/util/lazy.js +1 -1
  701. package/dist/util/slug.js +1 -1
  702. package/dist/util/token.js +1 -1
  703. package/dist/util/which.js +1 -1
  704. package/dist/util/wildcard.js +1 -1
  705. package/dist/v1/config/agent.js +5 -5
  706. package/dist/v1/config/command.js +3 -3
  707. package/dist/v1/config/mcp.js +4 -4
  708. package/dist/v1/config/migrate.js +101 -101
  709. package/dist/v1/config/permission.js +1 -1
  710. package/dist/v1/config/plugin.js +1 -1
  711. package/dist/v1/config/provider-options.js +1 -1
  712. package/dist/v1/config/provider.js +4 -4
  713. package/dist/variant.js +102 -102
  714. package/dist/vcs/patch.js +1 -1
  715. package/dist/vcs.js +98 -98
  716. package/dist/voice.js +95 -95
  717. package/dist/websearch.js +91 -91
  718. package/dist/wellknown/plugin.js +83 -83
  719. package/dist/wellknown.js +80 -80
  720. package/dist/workspace/driver.js +5 -5
  721. package/dist/workspace/sql.js +1 -1
  722. package/dist/workspace.js +85 -85
  723. package/dist/worktree/directory.js +2 -2
  724. package/dist/worktree/git.js +11 -11
  725. package/dist/worktree/sql.js +5 -5
  726. package/dist/worktree/strategies.js +98 -98
  727. package/dist/worktree.js +109 -109
  728. package/package.json +10 -10
  729. package/dist/chunks/file-retention-8x060fmy.js +0 -18
  730. package/dist/chunks/file-retention-hccc1d27.js +0 -26
  731. /package/dist/chunks/{file-retention-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  732. /package/dist/chunks/{file-retention-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  733. /package/dist/chunks/{file-retention-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  734. /package/dist/chunks/{file-retention-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  735. /package/dist/chunks/{file-retention-1jakw16s.js → filesystem-1jakw16s.js} +0 -0
  736. /package/dist/chunks/{file-retention-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  737. /package/dist/chunks/{file-retention-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  738. /package/dist/chunks/{file-retention-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
  739. /package/dist/chunks/{file-retention-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  740. /package/dist/chunks/{file-retention-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  741. /package/dist/chunks/{file-retention-3asan66x.js → filesystem-3asan66x.js} +0 -0
  742. /package/dist/chunks/{file-retention-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  743. /package/dist/chunks/{file-retention-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  744. /package/dist/chunks/{file-retention-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  745. /package/dist/chunks/{file-retention-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  746. /package/dist/chunks/{file-retention-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  747. /package/dist/chunks/{file-retention-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  748. /package/dist/chunks/{file-retention-53557ph1.js → filesystem-53557ph1.js} +0 -0
  749. /package/dist/chunks/{file-retention-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  750. /package/dist/chunks/{file-retention-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
  751. /package/dist/chunks/{file-retention-6prwharc.js → filesystem-6prwharc.js} +0 -0
  752. /package/dist/chunks/{file-retention-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
  753. /package/dist/chunks/{file-retention-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  754. /package/dist/chunks/{file-retention-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  755. /package/dist/chunks/{file-retention-822emrt2.js → filesystem-822emrt2.js} +0 -0
  756. /package/dist/chunks/{file-retention-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
  757. /package/dist/chunks/{file-retention-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  758. /package/dist/chunks/{file-retention-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  759. /package/dist/chunks/{file-retention-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
  760. /package/dist/chunks/{file-retention-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  761. /package/dist/chunks/{file-retention-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  762. /package/dist/chunks/{file-retention-a058387c.js → filesystem-a058387c.js} +0 -0
  763. /package/dist/chunks/{file-retention-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  764. /package/dist/chunks/{file-retention-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  765. /package/dist/chunks/{file-retention-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  766. /package/dist/chunks/{file-retention-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  767. /package/dist/chunks/{file-retention-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  768. /package/dist/chunks/{file-retention-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
  769. /package/dist/chunks/{file-retention-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  770. /package/dist/chunks/{file-retention-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  771. /package/dist/chunks/{file-retention-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  772. /package/dist/chunks/{file-retention-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
  773. /package/dist/chunks/{file-retention-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  774. /package/dist/chunks/{file-retention-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  775. /package/dist/chunks/{file-retention-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  776. /package/dist/chunks/{file-retention-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  777. /package/dist/chunks/{file-retention-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  778. /package/dist/chunks/{file-retention-df08tz66.js → filesystem-df08tz66.js} +0 -0
  779. /package/dist/chunks/{file-retention-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  780. /package/dist/chunks/{file-retention-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  781. /package/dist/chunks/{file-retention-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  782. /package/dist/chunks/{file-retention-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  783. /package/dist/chunks/{file-retention-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  784. /package/dist/chunks/{file-retention-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  785. /package/dist/chunks/{file-retention-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  786. /package/dist/chunks/{file-retention-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  787. /package/dist/chunks/{file-retention-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  788. /package/dist/chunks/{file-retention-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  789. /package/dist/chunks/{file-retention-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
  790. /package/dist/chunks/{file-retention-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  791. /package/dist/chunks/{file-retention-g86h250q.js → filesystem-g86h250q.js} +0 -0
  792. /package/dist/chunks/{file-retention-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  793. /package/dist/chunks/{file-retention-gftt206x.js → filesystem-gftt206x.js} +0 -0
  794. /package/dist/chunks/{file-retention-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
  795. /package/dist/chunks/{file-retention-hk9envan.js → filesystem-hk9envan.js} +0 -0
  796. /package/dist/chunks/{file-retention-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  797. /package/dist/chunks/{file-retention-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  798. /package/dist/chunks/{file-retention-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  799. /package/dist/chunks/{file-retention-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  800. /package/dist/chunks/{file-retention-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  801. /package/dist/chunks/{file-retention-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
  802. /package/dist/chunks/{file-retention-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
  803. /package/dist/chunks/{file-retention-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  804. /package/dist/chunks/{file-retention-m18g726c.js → filesystem-m18g726c.js} +0 -0
  805. /package/dist/chunks/{file-retention-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  806. /package/dist/chunks/{file-retention-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  807. /package/dist/chunks/{file-retention-myztnk54.js → filesystem-myztnk54.js} +0 -0
  808. /package/dist/chunks/{file-retention-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  809. /package/dist/chunks/{file-retention-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  810. /package/dist/chunks/{file-retention-ncqqe42p.js → filesystem-ncqqe42p.js} +0 -0
  811. /package/dist/chunks/{file-retention-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
  812. /package/dist/chunks/{file-retention-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  813. /package/dist/chunks/{file-retention-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
  814. /package/dist/chunks/{file-retention-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  815. /package/dist/chunks/{file-retention-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  816. /package/dist/chunks/{file-retention-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  817. /package/dist/chunks/{file-retention-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  818. /package/dist/chunks/{file-retention-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  819. /package/dist/chunks/{file-retention-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  820. /package/dist/chunks/{file-retention-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  821. /package/dist/chunks/{file-retention-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  822. /package/dist/chunks/{file-retention-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  823. /package/dist/chunks/{file-retention-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  824. /package/dist/chunks/{file-retention-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
  825. /package/dist/chunks/{file-retention-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  826. /package/dist/chunks/{file-retention-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  827. /package/dist/chunks/{file-retention-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  828. /package/dist/chunks/{file-retention-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  829. /package/dist/chunks/{file-retention-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  830. /package/dist/chunks/{file-retention-x61499pn.js → filesystem-x61499pn.js} +0 -0
  831. /package/dist/chunks/{file-retention-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  832. /package/dist/chunks/{file-retention-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  833. /package/dist/chunks/{file-retention-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  834. /package/dist/chunks/{file-retention-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
  835. /package/dist/chunks/{file-retention-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-p2x3qxk9.js";
3
+ } from "./filesystem-18crnhyq.js";
4
4
  import {
5
5
  Service85
6
- } from "./file-retention-se016j3a.js";
6
+ } from "./filesystem-xptjxdz6.js";
7
7
  import {
8
- ID15,
9
- Event18,
10
- Service80
11
- } from "./file-retention-vfpbkdxj.js";
8
+ ID16,
9
+ Event19,
10
+ Service81
11
+ } from "./filesystem-n61g9vyf.js";
12
12
  import {
13
13
  key2
14
- } from "./file-retention-61ennm6n.js";
14
+ } from "./filesystem-61ennm6n.js";
15
15
  import {
16
16
  ID14,
17
17
  MethodID2
18
- } from "./file-retention-hzs6scc7.js";
18
+ } from "./filesystem-vdfc3vwf.js";
19
19
  import {
20
20
  which2
21
- } from "./file-retention-qaymkmh1.js";
21
+ } from "./filesystem-qaymkmh1.js";
22
22
  import {
23
23
  ID13,
24
24
  Service78
25
- } from "./file-retention-geg17xg0.js";
25
+ } from "./filesystem-0nhbejy7.js";
26
26
  import {
27
27
  ID12
28
- } from "./file-retention-z4efjq9s.js";
28
+ } from "./filesystem-wq31c655.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./file-retention-b36ttk86.js";
31
+ } from "./filesystem-h01md3m8.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,7 +63,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make6(endpoints = {
66
+ function make7(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
@@ -73,7 +73,7 @@ function make6(endpoints = {
73
73
  const configured = yield* configuredSettings2(ID13.azure);
74
74
  const processes = yield* AppProcess.Service;
75
75
  const bus = yield* Service85;
76
- const credentials = yield* Service80;
76
+ const credentials = yield* Service81;
77
77
  const providers = yield* Service78;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
@@ -143,7 +143,7 @@ function make6(endpoints = {
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
145
  const connection = yield* ctx.integration.connection.active(ID13.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -280,7 +280,7 @@ function make6(endpoints = {
280
280
  models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
281
281
  }
282
282
  });
283
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
283
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
284
284
  yield* refresh().pipe(Effect.forkScoped);
285
285
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
286
286
  const connection = yield* ctx.integration.connection.active(ID13.azure);
@@ -319,7 +319,7 @@ function make6(endpoints = {
319
319
  })
320
320
  });
321
321
  }
322
- var AzurePlugin2 = make6();
322
+ var AzurePlugin2 = make7();
323
323
  function resolveResourceName(settings, fallback) {
324
324
  const configured = settings?.resourceName;
325
325
  if (typeof configured === "string" && configured.trim() !== "")
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
375
375
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
376
376
  }
377
377
 
378
- export { make6, AzurePlugin2 };
378
+ export { make7, AzurePlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./filesystem-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
6
  Service73
7
- } from "./file-retention-cvv281km.js";
7
+ } from "./filesystem-8cykdwq1.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./file-retention-svcy3p9a.js";
10
+ } from "./filesystem-svcy3p9a.js";
11
11
  import {
12
- Service70
13
- } from "./file-retention-13efzyg2.js";
14
- import {
15
- Service48
16
- } from "./file-retention-f4r5xwfc.js";
12
+ Service69
13
+ } from "./filesystem-r98dxkx5.js";
17
14
  import {
18
15
  Service54
19
- } from "./file-retention-7yb883t5.js";
16
+ } from "./filesystem-4se3fcjy.js";
17
+ import {
18
+ Service55
19
+ } from "./filesystem-hjaahymy.js";
20
20
  import {
21
- Service16,
21
+ Service19,
22
22
  resolvePath2
23
- } from "./file-retention-ae8yhtn6.js";
23
+ } from "./filesystem-7m5yeeqj.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./file-retention-k814nvkf.js";
29
+ } from "./filesystem-k814nvkf.js";
30
30
  import {
31
- Service69,
32
- name16
33
- } from "./file-retention-24xmfd7w.js";
31
+ Service64,
32
+ name17
33
+ } from "./filesystem-1hmj4y1x.js";
34
34
  import {
35
- NotFoundError10,
36
- Service66
37
- } from "./file-retention-6dzgygyw.js";
35
+ NotFoundError6,
36
+ Service46
37
+ } from "./filesystem-ax7jxbq7.js";
38
38
  import {
39
- Service26
40
- } from "./file-retention-47r66zre.js";
39
+ Service27
40
+ } from "./filesystem-ye085k5q.js";
41
41
  import {
42
42
  scan3
43
- } from "./file-retention-6kzgetar.js";
43
+ } from "./filesystem-ex5adzvz.js";
44
44
  import {
45
45
  __export
46
- } from "./file-retention-9rqn6x4v.js";
46
+ } from "./filesystem-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input8,
53
- Plugin: () => Plugin27,
52
+ Input: () => Input7,
53
+ Plugin: () => Plugin24,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name8
55
+ name: () => name7
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai/effect";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name8 = "shell";
60
+ var name7 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input8 = Schema.Struct({
74
+ var Input7 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,18 +117,18 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin27 = {
120
+ var Plugin24 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service26;
124
- const jobs = yield* Service48;
123
+ const sessions = yield* Service27;
124
+ const jobs = yield* Service54;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service70;
127
- const access = yield* Service16;
128
- const shell = yield* Service66;
129
- const shellSelect = yield* Service69;
126
+ const environment = yield* Service69;
127
+ const access = yield* Service19;
128
+ const shell = yield* Service46;
129
+ const shellSelect = yield* Service64;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service54;
131
+ const permission = yield* Service55;
132
132
  const config = yield* Service73;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
@@ -148,7 +148,7 @@ var Plugin27 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name8,
151
+ action: name7,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin27 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name8,
188
+ name: name7,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input8,
191
+ input: Input7,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin27 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError10({ id: info.id });
214
+ return yield* new NotFoundError6({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name8,
228
+ type: name7,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,10 +255,10 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name8];
258
+ const tool = event.tools[name7];
259
259
  if (!tool)
260
260
  return;
261
- tool.description = description(name16(yield* compatibleShell));
261
+ tool.description = description(name17(yield* compatibleShell));
262
262
  });
263
263
  yield* ctx.session.hook("context", hook);
264
264
  yield* ctx.session.hook("compaction", hook);
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin27, exports_shell2 };
269
+ export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin24, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./file-retention-7yb883t5.js";
3
+ } from "./filesystem-hjaahymy.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./filesystem-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin46
12
+ Plugin: () => Plugin47
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai/effect";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin46 = define({
32
+ var Plugin47 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin46, exports_plan };
108
+ export { Plugin47, exports_plan };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./file-retention-61ennm6n.js";
3
+ } from "./filesystem-61ennm6n.js";
4
4
  import {
5
5
  Service85
6
- } from "./file-retention-se016j3a.js";
6
+ } from "./filesystem-xptjxdz6.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./file-retention-vfpbkdxj.js";
9
+ Event19
10
+ } from "./filesystem-n61g9vyf.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./file-retention-hzs6scc7.js";
14
+ } from "./filesystem-vdfc3vwf.js";
15
15
  import {
16
16
  ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
19
  Service78
20
- } from "./file-retention-geg17xg0.js";
20
+ } from "./filesystem-0nhbejy7.js";
21
21
  import {
22
22
  ID12
23
- } from "./file-retention-z4efjq9s.js";
23
+ } from "./filesystem-wq31c655.js";
24
24
  import {
25
- load4,
26
- derive3
27
- } from "./file-retention-d2rkekdg.js";
25
+ load3,
26
+ derive2
27
+ } from "./filesystem-v7rdhf5e.js";
28
28
  import {
29
29
  useragent2
30
- } from "./file-retention-p2x3qxk9.js";
30
+ } from "./filesystem-18crnhyq.js";
31
31
  import {
32
- ID9
33
- } from "./file-retention-xt6yj4t6.js";
32
+ ID8
33
+ } from "./filesystem-61ee6dgv.js";
34
34
  import {
35
35
  get5
36
- } from "./file-retention-3nnrz6f6.js";
36
+ } from "./filesystem-3nnrz6f6.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { isRecord } from "@opencode/util/record";
@@ -183,7 +183,7 @@ var GithubCopilotPlugin2 = define({
183
183
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
184
184
  const provider = yield* providers.get(ID13.githubCopilot);
185
185
  const remote = yield* Effect.tryPromise({
186
- try: () => load4(url, {
186
+ try: () => load3(url, {
187
187
  ...provider?.headers,
188
188
  Authorization: `Bearer ${credential.refresh}`,
189
189
  "User-Agent": useragent2(ctx.app),
@@ -209,7 +209,7 @@ var GithubCopilotPlugin2 = define({
209
209
  if (loaded.models) {
210
210
  evt.add({
211
211
  info: item.provider,
212
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
213
213
  sourceConnection: loaded.connection
214
214
  });
215
215
  return;
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
238
238
  }
239
239
  });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  yield* refresh().pipe(Effect.forkScoped);
243
243
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
244
244
  if (evt.model.providerID !== ID13.githubCopilot)
@@ -266,7 +266,7 @@ var GithubCopilotPlugin2 = define({
266
266
  return;
267
267
  if (!loaded.baseURL || !loaded.token || !loaded.models)
268
268
  return;
269
- const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
269
+ const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
270
270
  return;
271
271
  }));
272
272
  if (agent?.data.model)
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service86
3
- } from "./file-retention-vnjwe8gy.js";
3
+ } from "./filesystem-c34yv8jr.js";
4
4
  import {
5
- Service49
6
- } from "./file-retention-cg3fcpn4.js";
5
+ Service52
6
+ } from "./filesystem-nv9tsjma.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./file-retention-8x060fmy.js";
9
+ } from "./filesystem-z355x5yr.js";
10
10
  import {
11
11
  preview2
12
- } from "./file-retention-1m8zk9rp.js";
12
+ } from "./filesystem-zyfw5drr.js";
13
13
  import {
14
14
  baseTranscript2
15
- } from "./file-retention-36g55jbn.js";
15
+ } from "./filesystem-t1ncdzfb.js";
16
16
  import {
17
- Service28
18
- } from "./file-retention-gv60x5cq.js";
17
+ Service29
18
+ } from "./filesystem-zes7n4m2.js";
19
19
  import {
20
20
  retry2
21
- } from "./file-retention-wnhgecwx.js";
21
+ } from "./filesystem-wnhgecwx.js";
22
22
  import {
23
23
  __export
24
- } from "./file-retention-9rqn6x4v.js";
24
+ } from "./filesystem-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate2 = {};
@@ -32,12 +32,12 @@ __export(exports_generate2, {
32
32
  import { LLMClient, Message } from "@opencode/ai/effect";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service49;
35
+ const instances = yield* Service52;
36
36
  const database = yield* Service86;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service28;
40
+ const context = yield* Service29;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./file-retention-vnjwe8gy.js";
4
+ } from "./filesystem-c34yv8jr.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./file-retention-se016j3a.js";
8
+ } from "./filesystem-xptjxdz6.js";
9
9
  import {
10
- Service48,
11
- node50
12
- } from "./file-retention-f4r5xwfc.js";
10
+ Service54,
11
+ node56
12
+ } from "./filesystem-4se3fcjy.js";
13
13
  import {
14
- Service49,
15
- node51
16
- } from "./file-retention-cg3fcpn4.js";
14
+ Service52,
15
+ node54
16
+ } from "./filesystem-nv9tsjma.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-retention-ec1grn59.js";
19
+ } from "./filesystem-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./file-retention-c9t2ty9q.js";
21
+ make18
22
+ } from "./filesystem-ssfehs1z.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service45
26
- } from "./file-retention-2mbjfaxd.js";
25
+ Service50
26
+ } from "./filesystem-p76me67c.js";
27
27
  import {
28
28
  Service56,
29
- node59
30
- } from "./file-retention-rf0tecrn.js";
29
+ node58
30
+ } from "./filesystem-4dxkx4vc.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./file-retention-dcj312nn.js";
33
+ } from "./filesystem-2vzb41ed.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./file-retention-84hv32w5.js";
36
+ } from "./filesystem-ykamt9jm.js";
37
37
  import {
38
38
  __export
39
- } from "./file-retention-9rqn6x4v.js";
39
+ } from "./filesystem-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service44,
44
+ Service: () => Service49,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer21,
47
- node: () => node47,
46
+ layer: () => layer19,
47
+ node: () => node52,
48
48
  noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service44 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service49 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer21 = Layer.effect(Service44, Effect.gen(function* () {
62
+ var layer19 = Layer.effect(Service49, Effect.gen(function* () {
63
63
  const store = yield* Service56;
64
- const instances = yield* Service49;
64
+ const instances = yield* Service52;
65
65
  const bus = yield* Service85;
66
- const jobs = yield* Service48;
66
+ const jobs = yield* Service54;
67
67
  const db = (yield* Service86).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -72,18 +72,18 @@ var layer21 = Layer.effect(Service44, Effect.gen(function* () {
72
72
  const releaseOnCommit = (sessionID) => ({
73
73
  commit: () => store.release(sessionID)
74
74
  });
75
- const drain = Effect.fnUntraced(function* (sessionID, force, continuation, promotable = "input") {
75
+ const drain = Effect.fnUntraced(function* (sessionID, force, continuation, promotable = "input", stepped = false) {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service50.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
- Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
- Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
82
+ Moved: (result) => drain(sessionID, false, result.continuation, promotable, result.stepped),
83
+ Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable, result.stepped)
84
84
  });
85
85
  });
86
- const coordinator = yield* make16({
86
+ const coordinator = yield* make18({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service44, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service44.of({
107
+ return Service49.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer21 = Layer.effect(Service44, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node47 = makeGlobalNode({
127
- service: Service44,
128
- layer: layer21,
129
- deps: [node59, node51, node89, node90, node50]
126
+ var node52 = makeGlobalNode({
127
+ service: Service49,
128
+ layer: layer19,
129
+ deps: [node58, node54, node89, node90, node56]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
131
+ var noopLayer2 = Layer.succeed(Service49, Service49.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service44, terminal2, layer21, node47, noopLayer2, exports_execution };
140
+ export { Service49, terminal2, layer19, node52, noopLayer2, exports_execution };