@opencode/core 0.0.0-dev-19625 → 0.0.0-dev-19627

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +70 -70
  7. package/dist/chunks/{state-yzjv0n59.js → file-mutation-03nfxjzw.js} +32 -32
  8. package/dist/chunks/{state-06dxphr1.js → file-mutation-06dxphr1.js} +1 -1
  9. package/dist/chunks/{state-baaqp4zd.js → file-mutation-06x8he3q.js} +4 -4
  10. package/dist/chunks/{state-8zc3jqwb.js → file-mutation-06xhg51a.js} +26 -26
  11. package/dist/chunks/{state-20ft7gws.js → file-mutation-0c0n109p.js} +29 -29
  12. package/dist/chunks/{state-2z3d3p6x.js → file-mutation-0j4wr494.js} +15 -15
  13. package/dist/chunks/{state-y69ckfyh.js → file-mutation-0j569f3z.js} +3 -3
  14. package/dist/chunks/{state-v6vt01kk.js → file-mutation-0nes3kdx.js} +31 -31
  15. package/dist/chunks/{state-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{state-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{state-yayfkm3a.js → file-mutation-0tbwr05t.js} +10 -10
  18. package/dist/chunks/{state-2t25jzh1.js → file-mutation-0tncbqge.js} +30 -30
  19. package/dist/chunks/{state-yt84cctg.js → file-mutation-10s3487r.js} +15 -15
  20. package/dist/chunks/{state-wqntmxqd.js → file-mutation-11n3wfat.js} +21 -21
  21. package/dist/chunks/file-mutation-11z0rz4y.js +247 -0
  22. package/dist/chunks/{state-hwwcyrqp.js → file-mutation-1306karf.js} +40 -40
  23. package/dist/chunks/{state-bstmf25n.js → file-mutation-13c44461.js} +22 -22
  24. package/dist/chunks/{state-w4p6h1mp.js → file-mutation-18db4y5c.js} +18 -18
  25. package/dist/chunks/{state-r8xr0va3.js → file-mutation-1acjjqhc.js} +4 -4
  26. package/dist/chunks/{state-zbmtd5wr.js → file-mutation-1c76g24z.js} +6 -6
  27. package/dist/chunks/{state-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  28. package/dist/chunks/{state-thaea3t9.js → file-mutation-1x1ag7qp.js} +18 -18
  29. package/dist/chunks/{state-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  30. package/dist/chunks/{state-2402vzrj.js → file-mutation-2402vzrj.js} +1 -1
  31. package/dist/chunks/{state-0cnr96kf.js → file-mutation-24b9aadw.js} +11 -11
  32. package/dist/chunks/{state-z06fw8bd.js → file-mutation-25jpqk5v.js} +11 -11
  33. package/dist/chunks/{state-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{state-0zmtjazh.js → file-mutation-2fhwbkrm.js} +23 -23
  35. package/dist/chunks/{state-rg4jwqxj.js → file-mutation-2h5ctm2z.js} +87 -87
  36. package/dist/chunks/{state-wevxc10v.js → file-mutation-2n0epbhs.js} +3 -3
  37. package/dist/chunks/{state-87k0zb7t.js → file-mutation-2py7vkgw.js} +6 -6
  38. package/dist/chunks/{state-jtzy25zk.js → file-mutation-2qcp78kg.js} +17 -17
  39. package/dist/chunks/{state-1k33tf3r.js → file-mutation-2tvcbkwg.js} +10 -10
  40. package/dist/chunks/{state-m2wkxzph.js → file-mutation-2v6a2rnj.js} +7 -7
  41. package/dist/chunks/{state-c156ep7e.js → file-mutation-30n84348.js} +11 -11
  42. package/dist/chunks/{state-tzdgdhg5.js → file-mutation-3aaqwtv7.js} +40 -40
  43. package/dist/chunks/{state-w6q8xqpp.js → file-mutation-3ar42wrm.js} +9 -9
  44. package/dist/chunks/{state-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{state-9bw9tdmf.js → file-mutation-3fz3b278.js} +28 -28
  46. package/dist/chunks/{state-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{state-j107h3n9.js → file-mutation-3nmkgzqt.js} +3 -3
  48. package/dist/chunks/{state-q7j6jfz6.js → file-mutation-3qgtx68d.js} +17 -17
  49. package/dist/chunks/{state-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{state-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  51. package/dist/chunks/file-mutation-48r4agm7.js +66 -0
  52. package/dist/chunks/{state-dxwen4wn.js → file-mutation-4afm2zz7.js} +47 -47
  53. package/dist/chunks/{state-h6r3nrb9.js → file-mutation-4dgbcxzg.js} +4 -4
  54. package/dist/chunks/{state-z78rkc6e.js → file-mutation-4g2m7ccv.js} +20 -20
  55. package/dist/chunks/{state-fa9b5va3.js → file-mutation-4sy6x2w1.js} +9 -9
  56. package/dist/chunks/{state-56gdpj1q.js → file-mutation-56gdpj1q.js} +2 -2
  57. package/dist/chunks/{state-fc9ethwj.js → file-mutation-5bbsmdtr.js} +4 -4
  58. package/dist/chunks/{state-ftdzjz2b.js → file-mutation-5bdbc12f.js} +4 -4
  59. package/dist/chunks/{state-a1bz86dw.js → file-mutation-5c4hm403.js} +3 -3
  60. package/dist/chunks/{state-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  61. package/dist/chunks/{state-bqn1h69t.js → file-mutation-5fxvnth9.js} +8 -8
  62. package/dist/chunks/{state-n24en66b.js → file-mutation-5kh97ynp.js} +34 -34
  63. package/dist/chunks/{state-yt8tcjwm.js → file-mutation-5p8vcd02.js} +23 -23
  64. package/dist/chunks/{state-78v47nsk.js → file-mutation-5sj81wm5.js} +5 -5
  65. package/dist/chunks/{state-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{state-qaffs4jm.js → file-mutation-635mjk8g.js} +23 -23
  67. package/dist/chunks/{state-669tq793.js → file-mutation-669tq793.js} +1 -1
  68. package/dist/chunks/{state-xf8yr4rj.js → file-mutation-6804x6mf.js} +18 -18
  69. package/dist/chunks/{state-9hbm8v8j.js → file-mutation-698497kr.js} +12 -12
  70. package/dist/chunks/{state-eh458v3w.js → file-mutation-6fkjc3gv.js} +24 -24
  71. package/dist/chunks/{state-c8xqcx36.js → file-mutation-6h3wybc7.js} +6 -6
  72. package/dist/chunks/{state-hjscxttq.js → file-mutation-6k7rtajw.js} +29 -29
  73. package/dist/chunks/{state-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{state-7h0e1682.js → file-mutation-6zwemvqm.js} +19 -19
  75. package/dist/chunks/{state-cjnav3re.js → file-mutation-7avp506j.js} +53 -53
  76. package/dist/chunks/{state-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{state-607tc6va.js → file-mutation-7dqw4kz8.js} +5 -5
  78. package/dist/chunks/{state-tmrapw0j.js → file-mutation-7hg3t1ht.js} +19 -19
  79. package/dist/chunks/{state-t3s3wq0q.js → file-mutation-7k05wx0c.js} +6 -6
  80. package/dist/chunks/{state-89rgtdwh.js → file-mutation-7nam6z95.js} +6 -6
  81. package/dist/chunks/{state-1x2m2kns.js → file-mutation-7rtzrs6z.js} +23 -23
  82. package/dist/chunks/{state-hgy1dkmh.js → file-mutation-7v7yaejn.js} +7 -7
  83. package/dist/chunks/{state-wzg7zq6j.js → file-mutation-7w3s9kd0.js} +9 -9
  84. package/dist/chunks/{state-jexxy024.js → file-mutation-7w99qc9d.js} +3 -3
  85. package/dist/chunks/{state-zaj5a1yd.js → file-mutation-7ycsd0tm.js} +16 -16
  86. package/dist/chunks/{state-xn5a693m.js → file-mutation-82adjhvd.js} +8 -8
  87. package/dist/chunks/{state-cq37gk0t.js → file-mutation-89smrnyf.js} +4 -4
  88. package/dist/chunks/{state-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{state-937vk562.js → file-mutation-8fk85gr8.js} +4 -4
  90. package/dist/chunks/{state-34crcs6s.js → file-mutation-8rsrtv6x.js} +26 -26
  91. package/dist/chunks/{state-4bszj314.js → file-mutation-91sxxkcr.js} +5 -5
  92. package/dist/chunks/{state-sqdca7me.js → file-mutation-91t2kvk6.js} +13 -13
  93. package/dist/chunks/{state-xrrv4szm.js → file-mutation-9fsxynh3.js} +8 -8
  94. package/dist/chunks/{state-j6024k5x.js → file-mutation-9nygvg6d.js} +14 -14
  95. package/dist/chunks/{state-0ejqnpgq.js → file-mutation-9x4ccdjv.js} +182 -189
  96. package/dist/chunks/{state-a3hkj0gm.js → file-mutation-9y2fz4rr.js} +10 -10
  97. package/dist/chunks/{state-vjm8cxw2.js → file-mutation-a04y0etw.js} +27 -27
  98. package/dist/chunks/{state-1cr9pyzx.js → file-mutation-a3k5zcqz.js} +32 -32
  99. package/dist/chunks/{state-edrmdtr5.js → file-mutation-a46v4e4v.js} +7 -7
  100. package/dist/chunks/{state-r4spvhqj.js → file-mutation-a5de4bcy.js} +30 -30
  101. package/dist/chunks/{state-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  102. package/dist/chunks/{state-1t5zgxxm.js → file-mutation-ac5xk54v.js} +21 -21
  103. package/dist/chunks/{state-z66esb84.js → file-mutation-ajwqadgf.js} +17 -17
  104. package/dist/chunks/{state-0y8dyykb.js → file-mutation-aychzs8s.js} +16 -16
  105. package/dist/chunks/{state-h4f983qb.js → file-mutation-ayex3wth.js} +22 -22
  106. package/dist/chunks/{state-3hzsgabf.js → file-mutation-azma9pmk.js} +16 -16
  107. package/dist/chunks/{state-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{state-v676ynba.js → file-mutation-bqnv8r25.js} +9 -9
  109. package/dist/chunks/{state-40ar7v2a.js → file-mutation-bvdx5xp3.js} +11 -11
  110. package/dist/chunks/{state-bz85s9hh.js → file-mutation-bz85s9hh.js} +1 -1
  111. package/dist/chunks/{state-992j9qx1.js → file-mutation-c175xrn1.js} +30 -30
  112. package/dist/chunks/{state-5ptztvq7.js → file-mutation-c5rw5aek.js} +5 -5
  113. package/dist/chunks/{state-6dt5d3yy.js → file-mutation-c765mh8b.js} +9 -9
  114. package/dist/chunks/{state-cxv3b682.js → file-mutation-cmwkp3r5.js} +8 -8
  115. package/dist/chunks/{state-23pqda6t.js → file-mutation-cpy6gm2a.js} +6 -6
  116. package/dist/chunks/{state-d7s9ww47.js → file-mutation-cr1q0w15.js} +18 -18
  117. package/dist/chunks/{state-fj9wbyc8.js → file-mutation-cyx09s2a.js} +10 -10
  118. package/dist/chunks/{state-xp3zd2em.js → file-mutation-czzymjv3.js} +41 -41
  119. package/dist/chunks/file-mutation-d1y9ts6h.js +474 -0
  120. package/dist/chunks/{state-vy8efbby.js → file-mutation-d4fjsvxd.js} +36 -36
  121. package/dist/chunks/{state-rrm0bmxa.js → file-mutation-dcq050h0.js} +32 -32
  122. package/dist/chunks/{state-84hf00xv.js → file-mutation-ddg0keqc.js} +7 -7
  123. package/dist/chunks/{state-8p4f9s12.js → file-mutation-dj2t23y0.js} +2 -2
  124. package/dist/chunks/{state-a1k0n4t5.js → file-mutation-dmgsj5zc.js} +27 -27
  125. package/dist/chunks/{state-cnvgsmxe.js → file-mutation-dp45y3n1.js} +17 -17
  126. package/dist/chunks/{state-rex1qj25.js → file-mutation-dwvb776c.js} +22 -22
  127. package/dist/chunks/{state-ys0xwr4p.js → file-mutation-dzrq5311.js} +9 -9
  128. package/dist/chunks/{state-e5nv3ght.js → file-mutation-e5nv3ght.js} +2 -2
  129. package/dist/chunks/{state-a7txqt5m.js → file-mutation-eajyy5ey.js} +46 -46
  130. package/dist/chunks/{state-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{state-hvcdvhf8.js → file-mutation-eg6djbbr.js} +32 -32
  132. package/dist/chunks/{state-jp74hzaz.js → file-mutation-ekezzs5q.js} +5 -5
  133. package/dist/chunks/{state-kgfwvcqs.js → file-mutation-eqfn3g5k.js} +19 -19
  134. package/dist/chunks/{state-jey6arge.js → file-mutation-es3fm114.js} +1 -1
  135. package/dist/chunks/{state-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{state-m86bnw2c.js → file-mutation-f7j90zp2.js} +9 -9
  137. package/dist/chunks/{state-spx2bnh9.js → file-mutation-f9yn9122.js} +9 -9
  138. package/dist/chunks/{state-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{state-6qkc0t3x.js → file-mutation-g1sxm558.js} +4 -4
  140. package/dist/chunks/{state-q6djktq7.js → file-mutation-g87vc5p1.js} +12 -12
  141. package/dist/chunks/{state-7egh4y4y.js → file-mutation-g9nckgd1.js} +18 -18
  142. package/dist/chunks/{state-b29mbqx6.js → file-mutation-gcavn3wx.js} +5 -5
  143. package/dist/chunks/{state-59mgbvjy.js → file-mutation-gcwb3twc.js} +37 -37
  144. package/dist/chunks/{state-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{state-2jcx25a3.js → file-mutation-gh317mre.js} +18 -18
  146. package/dist/chunks/{state-vcy4fgke.js → file-mutation-gj014zr3.js} +16 -16
  147. package/dist/chunks/{state-jr96nny2.js → file-mutation-gmp12gr6.js} +14 -14
  148. package/dist/chunks/{state-dedpvjp1.js → file-mutation-gr1f03ws.js} +9 -9
  149. package/dist/chunks/{state-1brs0x88.js → file-mutation-gw4zmj2g.js} +27 -27
  150. package/dist/chunks/{state-h03wrkyp.js → file-mutation-h03wrkyp.js} +2 -2
  151. package/dist/chunks/{state-0v5c5440.js → file-mutation-h23j7wn7.js} +7 -7
  152. package/dist/chunks/{state-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{state-qa4rp7fn.js → file-mutation-h71w788e.js} +9 -9
  154. package/dist/chunks/{state-x3gyjycy.js → file-mutation-h85ccg7e.js} +4 -4
  155. package/dist/chunks/{state-fdtfhvf4.js → file-mutation-hdh38a9b.js} +9 -9
  156. package/dist/chunks/{state-f828m53h.js → file-mutation-hdnk95c8.js} +2 -2
  157. package/dist/chunks/{state-5avwrfg8.js → file-mutation-hfvv3mv3.js} +27 -27
  158. package/dist/chunks/{state-nhy5jxhy.js → file-mutation-hjt4xg1x.js} +4 -4
  159. package/dist/chunks/file-mutation-ht5y0zrb.js +18 -0
  160. package/dist/chunks/{state-zzmr1x04.js → file-mutation-j4p8w3kg.js} +24 -24
  161. package/dist/chunks/{state-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  162. package/dist/chunks/{state-bqmb9zzv.js → file-mutation-j7jqt5tj.js} +11 -11
  163. package/dist/chunks/{state-v3j36t2s.js → file-mutation-jdcpnvpf.js} +7 -7
  164. package/dist/chunks/{state-k31m950v.js → file-mutation-jfya27vc.js} +8 -8
  165. package/dist/chunks/{state-4phm5153.js → file-mutation-jwbqhvyy.js} +5 -5
  166. package/dist/chunks/{state-vjman6x4.js → file-mutation-jxwjknq3.js} +10 -10
  167. package/dist/chunks/{state-vky51n64.js → file-mutation-k6v14n43.js} +17 -17
  168. package/dist/chunks/{state-w3wfndk6.js → file-mutation-k86shhx4.js} +13 -13
  169. package/dist/chunks/{state-ybhbtxjg.js → file-mutation-k9avtbwf.js} +3 -3
  170. package/dist/chunks/{state-fkdvy3ye.js → file-mutation-k9vs72wj.js} +11 -11
  171. package/dist/chunks/{state-mps7w25w.js → file-mutation-kcm959y1.js} +30 -30
  172. package/dist/chunks/{state-zex37ywk.js → file-mutation-kjfdeayr.js} +8 -8
  173. package/dist/chunks/{state-t8pps5yz.js → file-mutation-ktak12d4.js} +16 -16
  174. package/dist/chunks/{state-28wkbh4b.js → file-mutation-ky2zf32z.js} +11 -11
  175. package/dist/chunks/{state-vd3vzfjc.js → file-mutation-kyvf95r7.js} +27 -27
  176. package/dist/chunks/{state-cfpkc3c9.js → file-mutation-m0jqrx5p.js} +2 -2
  177. package/dist/chunks/{state-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{state-r5x6zcsm.js → file-mutation-mvfsc1pv.js} +3 -3
  179. package/dist/chunks/{state-mweswy2n.js → file-mutation-my26e0c6.js} +26 -26
  180. package/dist/chunks/{state-3n6sdpxb.js → file-mutation-n8j5ecm5.js} +4 -4
  181. package/dist/chunks/{state-8vb6c4g2.js → file-mutation-nap3yrea.js} +47 -47
  182. package/dist/chunks/{state-a3r4dcrj.js → file-mutation-nng2ktcm.js} +2 -2
  183. package/dist/chunks/{state-t7e3d7s2.js → file-mutation-ns5krr68.js} +5 -5
  184. package/dist/chunks/{state-d8nc1xcx.js → file-mutation-nw2nz702.js} +4 -4
  185. package/dist/chunks/{state-eebppvc8.js → file-mutation-p2f53c8e.js} +38 -38
  186. package/dist/chunks/{state-bk8e4xf7.js → file-mutation-pcvnxmb4.js} +10 -10
  187. package/dist/chunks/{state-66mxargn.js → file-mutation-pcwvymat.js} +12 -12
  188. package/dist/chunks/{state-z25aqp2g.js → file-mutation-pes8w8r9.js} +28 -28
  189. package/dist/chunks/{state-898yeema.js → file-mutation-pf2ava87.js} +20 -20
  190. package/dist/chunks/{state-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{state-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  192. package/dist/chunks/{state-tvenyyex.js → file-mutation-pvp0xbtq.js} +5 -5
  193. package/dist/chunks/{state-49efg6hh.js → file-mutation-q5rhn9x0.js} +11 -11
  194. package/dist/chunks/{state-wf67cbqp.js → file-mutation-qb9x24v0.js} +15 -15
  195. package/dist/chunks/{state-57ez7d0k.js → file-mutation-qebawg89.js} +9 -9
  196. package/dist/chunks/{state-a8bn8zg0.js → file-mutation-qj8eh1ht.js} +4 -4
  197. package/dist/chunks/{state-xx4p9jw3.js → file-mutation-qkxympve.js} +47 -47
  198. package/dist/chunks/{state-86a9eks8.js → file-mutation-qr8mshgh.js} +32 -32
  199. package/dist/chunks/{state-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  200. package/dist/chunks/{state-xdw78xdg.js → file-mutation-qxmaq0sm.js} +8 -8
  201. package/dist/chunks/{state-aby1gkpe.js → file-mutation-qyqjfx9x.js} +16 -16
  202. package/dist/chunks/{state-ckvyy4ff.js → file-mutation-qz3sdwq7.js} +4 -4
  203. package/dist/chunks/{state-gayp7ypd.js → file-mutation-r1jcp9he.js} +31 -31
  204. package/dist/chunks/{state-9fgjxmjq.js → file-mutation-r8bq8m7e.js} +3 -3
  205. package/dist/chunks/{state-01c8jd1w.js → file-mutation-r8s4q6ph.js} +11 -11
  206. package/dist/chunks/{state-r9mregkx.js → file-mutation-r9mregkx.js} +2 -2
  207. package/dist/chunks/{state-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{state-fe1a2b94.js → file-mutation-rdwnzddt.js} +52 -52
  209. package/dist/chunks/{state-fjnw3amg.js → file-mutation-rf848q2s.js} +8 -8
  210. package/dist/chunks/file-mutation-rjhhx3kh.js +26 -0
  211. package/dist/chunks/{state-3m5b51q1.js → file-mutation-rmkqwdpg.js} +89 -89
  212. package/dist/chunks/{state-zeh9ct20.js → file-mutation-rq775frq.js} +2 -2
  213. package/dist/chunks/{state-k5kkqdex.js → file-mutation-rr1pnw44.js} +8 -8
  214. package/dist/chunks/{state-wecqvfcx.js → file-mutation-rw337v24.js} +11 -11
  215. package/dist/chunks/{state-ws4jrj3s.js → file-mutation-ryrj46hv.js} +15 -15
  216. package/dist/chunks/{state-spvae7dy.js → file-mutation-rz5kv9fq.js} +17 -17
  217. package/dist/chunks/{state-83s880gm.js → file-mutation-s5ech5g2.js} +36 -36
  218. package/dist/chunks/{state-rhjbct0v.js → file-mutation-s8d7rejh.js} +4 -4
  219. package/dist/chunks/{state-nmdzht59.js → file-mutation-s8yyarnz.js} +11 -11
  220. package/dist/chunks/{state-8gzdyzew.js → file-mutation-sqeh6kv1.js} +20 -20
  221. package/dist/chunks/{state-ahhsgd92.js → file-mutation-sr25wdwa.js} +17 -17
  222. package/dist/chunks/{state-5w4tm8f9.js → file-mutation-ssz2ek6x.js} +11 -11
  223. package/dist/chunks/{state-1bvekr7f.js → file-mutation-sxzvkvgj.js} +6 -6
  224. package/dist/chunks/{state-wk4mdq5k.js → file-mutation-synq1jy2.js} +13 -13
  225. package/dist/chunks/{state-36308byx.js → file-mutation-t1eg3y3w.js} +13 -13
  226. package/dist/chunks/{state-e6hmchc5.js → file-mutation-t3swkhbg.js} +2 -2
  227. package/dist/chunks/{state-e80f6ask.js → file-mutation-t5vtrxv1.js} +22 -22
  228. package/dist/chunks/{state-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{state-kg53bg6f.js → file-mutation-tbb58408.js} +102 -110
  230. package/dist/chunks/{state-m2z0yx10.js → file-mutation-tcdc8g31.js} +9 -9
  231. package/dist/chunks/{state-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
  232. package/dist/chunks/{state-sa4z093x.js → file-mutation-tds7k197.js} +2 -2
  233. package/dist/chunks/{state-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  234. package/dist/chunks/{state-dvzdqzst.js → file-mutation-tgft0wfk.js} +24 -24
  235. package/dist/chunks/{state-1jxz1f4t.js → file-mutation-the10gxd.js} +18 -18
  236. package/dist/chunks/{state-sfga0tvm.js → file-mutation-tv17mb0q.js} +7 -7
  237. package/dist/chunks/{state-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
  238. package/dist/chunks/{state-936zgkx3.js → file-mutation-tzz76ghp.js} +3 -3
  239. package/dist/chunks/{state-6fzqmn9v.js → file-mutation-v0x321vx.js} +30 -30
  240. package/dist/chunks/{state-d9b7h6cw.js → file-mutation-v3fdhb9p.js} +37 -37
  241. package/dist/chunks/{state-t9zs3egg.js → file-mutation-ve4pfa0n.js} +4 -4
  242. package/dist/chunks/{state-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  243. package/dist/chunks/{state-yjn491gs.js → file-mutation-vtfn81vb.js} +13 -13
  244. package/dist/chunks/{state-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{state-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{state-9vqz0pne.js → file-mutation-wa2k838w.js} +10 -10
  247. package/dist/chunks/{state-gjv4hb9a.js → file-mutation-wc8c3q07.js} +11 -11
  248. package/dist/chunks/{state-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  249. package/dist/chunks/{state-ak76n2aw.js → file-mutation-wdzhm1dy.js} +13 -13
  250. package/dist/chunks/{state-e0hkds3t.js → file-mutation-wejf0rdp.js} +63 -63
  251. package/dist/chunks/{state-1vxxmenm.js → file-mutation-x121vean.js} +6 -6
  252. package/dist/chunks/{state-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{state-nggt3w8z.js → file-mutation-x1r77kwh.js} +3 -3
  254. package/dist/chunks/{state-pwh0py47.js → file-mutation-x2c9waxa.js} +8 -8
  255. package/dist/chunks/{state-47dkewx0.js → file-mutation-x2fjf6jt.js} +1 -1
  256. package/dist/chunks/{state-e8dtjarm.js → file-mutation-x3ykbdq0.js} +22 -22
  257. package/dist/chunks/{state-7hc87grc.js → file-mutation-x5h3w8zq.js} +32 -32
  258. package/dist/chunks/{state-wmttgrd3.js → file-mutation-xb3f970q.js} +11 -11
  259. package/dist/chunks/{state-e8340df8.js → file-mutation-xe94yqgp.js} +6 -6
  260. package/dist/chunks/{state-tyad6bnf.js → file-mutation-xqhhrdfp.js} +22 -22
  261. package/dist/chunks/{state-kervakjy.js → file-mutation-xqk8sbne.js} +12 -12
  262. package/dist/chunks/{state-py2c23wa.js → file-mutation-xrv8p737.js} +25 -25
  263. package/dist/chunks/{state-cemwa943.js → file-mutation-xx8we5ps.js} +4 -4
  264. package/dist/chunks/{state-ddyhp86z.js → file-mutation-xyny64hx.js} +23 -23
  265. package/dist/chunks/{state-k3bsjs2v.js → file-mutation-xza6172n.js} +5 -5
  266. package/dist/chunks/{state-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{state-y71avatq.js → file-mutation-y71avatq.js} +1 -1
  268. package/dist/chunks/{state-s9tvycjm.js → file-mutation-yce1w55j.js} +9 -9
  269. package/dist/chunks/{state-9j69pfkk.js → file-mutation-yf98xpe6.js} +9 -9
  270. package/dist/chunks/{state-brt4p7q6.js → file-mutation-ynjpqawr.js} +6 -6
  271. package/dist/chunks/{state-k3va51sp.js → file-mutation-yphy50z6.js} +21 -21
  272. package/dist/chunks/{state-18zsx4wd.js → file-mutation-yqf3qraq.js} +8 -8
  273. package/dist/chunks/{state-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{state-yrznvahk.js → file-mutation-yrznvahk.js} +2 -2
  275. package/dist/chunks/{state-gv6a8nnw.js → file-mutation-yyb7tjpc.js} +2 -2
  276. package/dist/chunks/{state-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{state-xesac8hr.js → file-mutation-z1jek54d.js} +5 -5
  278. package/dist/chunks/{state-rwdj6r64.js → file-mutation-z2ab2b6j.js} +11 -11
  279. package/dist/chunks/{state-z63w68vq.js → file-mutation-z63w68vq.js} +2 -2
  280. package/dist/chunks/{state-8bcx3nez.js → file-mutation-z76rvear.js} +4 -4
  281. package/dist/chunks/{state-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{state-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +82 -82
  287. package/dist/config/discovery.js +83 -83
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +105 -105
  290. package/dist/config/plugin/agent.js +122 -122
  291. package/dist/config/plugin/command.js +210 -210
  292. package/dist/config/plugin/compaction.js +158 -158
  293. package/dist/config/plugin/compatibility.js +140 -140
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +123 -123
  296. package/dist/config/plugin/image.js +122 -122
  297. package/dist/config/plugin/instruction.js +89 -89
  298. package/dist/config/plugin/location-watcher.js +122 -122
  299. package/dist/config/plugin/mcp.js +129 -129
  300. package/dist/config/plugin/policy.js +122 -122
  301. package/dist/config/plugin/provider.js +122 -122
  302. package/dist/config/plugin/reference.js +124 -124
  303. package/dist/config/plugin/shell.js +124 -124
  304. package/dist/config/plugin/skill-file.js +101 -101
  305. package/dist/config/plugin/skill.js +143 -143
  306. package/dist/config/plugin/snapshot.js +122 -122
  307. package/dist/config/plugin/source.js +121 -121
  308. package/dist/config/plugin/tool-output.js +124 -124
  309. package/dist/config/plugin/websearch.js +123 -123
  310. package/dist/config/plugin/worktree.js +124 -125
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +127 -127
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +82 -82
  316. package/dist/database/database.js +67 -67
  317. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  318. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +13 -13
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +14 -14
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  380. package/dist/database/migration.gen.js +48 -48
  381. package/dist/database/migration.js +50 -50
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +75 -75
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +362 -362
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +92 -92
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +94 -94
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +71 -71
  405. package/dist/file-access.js +101 -101
  406. package/dist/file-mutation.js +93 -93
  407. package/dist/file-retention.js +1 -1
  408. package/dist/file.js +1 -1
  409. package/dist/filesystem/fff.bun.js +2 -2
  410. package/dist/filesystem/fff.js +1 -1
  411. package/dist/filesystem/fff.node.js +2 -2
  412. package/dist/filesystem/fff.workerd.js +2 -2
  413. package/dist/filesystem/ignore.js +1 -1
  414. package/dist/filesystem/location-watcher-policy.js +6 -6
  415. package/dist/filesystem/location-watcher.js +223 -222
  416. package/dist/filesystem/protected.js +3 -3
  417. package/dist/filesystem/search.js +102 -102
  418. package/dist/filesystem/watcher-binding.js +1 -1
  419. package/dist/filesystem/watcher.js +15 -15
  420. package/dist/filesystem.js +107 -107
  421. package/dist/form.js +79 -79
  422. package/dist/formatter/builtins.js +4 -4
  423. package/dist/formatter.js +88 -88
  424. package/dist/generate.js +102 -102
  425. package/dist/git.js +10 -10
  426. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  427. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  428. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  430. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  432. package/dist/github-copilot/copilot-provider.js +17 -17
  433. package/dist/github-copilot/models.js +98 -98
  434. package/dist/github-copilot/openai-compatible-error.js +1 -1
  435. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  436. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  437. package/dist/github-copilot/responses/openai-error.js +1 -1
  438. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  439. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  440. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  441. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  442. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  445. package/dist/id/id.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +353 -353
  450. package/dist/instruction-discovery.js +82 -82
  451. package/dist/instructions/builtins.js +86 -86
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +85 -85
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +72 -72
  458. package/dist/location-activity.js +131 -131
  459. package/dist/location-mutation.js +101 -101
  460. package/dist/location-service-map.js +85 -85
  461. package/dist/location-services.js +350 -350
  462. package/dist/location.js +86 -86
  463. package/dist/mcp/client.js +90 -90
  464. package/dist/mcp/index.js +107 -107
  465. package/dist/mcp/instructions.js +126 -126
  466. package/dist/mcp/oauth.js +77 -77
  467. package/dist/mcp/stdio.js +89 -89
  468. package/dist/mime.js +1 -1
  469. package/dist/modal/models.js +98 -98
  470. package/dist/model-resolver.js +95 -95
  471. package/dist/model.js +97 -97
  472. package/dist/models-dev.js +100 -100
  473. package/dist/oauth/page.js +1 -1
  474. package/dist/permission/saved.js +73 -73
  475. package/dist/permission/sql.js +5 -5
  476. package/dist/permission.js +100 -100
  477. package/dist/persistent-pty/binary.bun.js +1 -1
  478. package/dist/persistent-pty/daemon.js +1 -1
  479. package/dist/persistent-pty/index.js +87 -87
  480. package/dist/persistent-pty/pty-binding.js +1 -1
  481. package/dist/persistent-pty.js +74 -74
  482. package/dist/plugin/agent.js +101 -101
  483. package/dist/plugin/command.js +98 -98
  484. package/dist/plugin/hooks.js +3 -3
  485. package/dist/plugin/host.js +216 -215
  486. package/dist/plugin/instance.js +5 -5
  487. package/dist/plugin/internal.js +325 -324
  488. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  489. package/dist/plugin/models-dev.js +95 -95
  490. package/dist/plugin/module.js +7 -7
  491. package/dist/plugin/optimize.js +4 -4
  492. package/dist/plugin/plan.js +101 -101
  493. package/dist/plugin/promise.js +1 -1
  494. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  495. package/dist/plugin/provider/azure.js +121 -121
  496. package/dist/plugin/provider/cerebras.js +1 -1
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +118 -118
  501. package/dist/plugin/provider/digitalocean.js +92 -92
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +92 -92
  506. package/dist/plugin/provider/gitlab.js +90 -90
  507. package/dist/plugin/provider/google-vertex.js +89 -89
  508. package/dist/plugin/provider/kilo.js +1 -1
  509. package/dist/plugin/provider/llmgateway.js +76 -76
  510. package/dist/plugin/provider/lmstudio.js +119 -119
  511. package/dist/plugin/provider/modal.js +91 -91
  512. package/dist/plugin/provider/nvidia.js +1 -1
  513. package/dist/plugin/provider/ollama.js +121 -121
  514. package/dist/plugin/provider/openai.js +93 -93
  515. package/dist/plugin/provider/opencode.js +92 -92
  516. package/dist/plugin/provider/openrouter.js +90 -90
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/poe.js +77 -77
  519. package/dist/plugin/provider/sap-ai-core.js +90 -90
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +89 -89
  524. package/dist/plugin/provider/vllm.js +119 -119
  525. package/dist/plugin/provider/xai.js +90 -90
  526. package/dist/plugin/provider/zenmux.js +1 -1
  527. package/dist/plugin/provider.js +157 -157
  528. package/dist/plugin/sdk.js +71 -71
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +138 -138
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +342 -341
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/vcs/git.js +85 -85
  535. package/dist/plugin/vcs/hg.js +85 -85
  536. package/dist/plugin/warming.js +120 -120
  537. package/dist/plugin/websearch/exa.js +7 -7
  538. package/dist/plugin/websearch/firecrawl.js +8 -8
  539. package/dist/plugin/websearch/index.js +9 -9
  540. package/dist/plugin/websearch/mcp.js +2 -2
  541. package/dist/plugin/websearch/parallel.js +6 -6
  542. package/dist/plugin/websearch/tavily.js +6 -6
  543. package/dist/plugin/websearch/tinyfish.js +8 -8
  544. package/dist/plugin.js +223 -222
  545. package/dist/project/schema.js +8 -8
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +87 -87
  548. package/dist/provider.js +98 -98
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +1 -1
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +91 -91
  553. package/dist/reference/instructions.js +88 -88
  554. package/dist/reference.js +90 -90
  555. package/dist/repository-cache.js +80 -80
  556. package/dist/repository.js +1 -1
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +96 -96
  559. package/dist/rpc.js +85 -85
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +73 -73
  562. package/dist/session/compaction.js +128 -128
  563. package/dist/session/context.js +150 -150
  564. package/dist/session/diff.js +87 -87
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +3 -3
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +219 -219
  569. package/dist/session/execution.js +125 -125
  570. package/dist/session/generate.js +149 -149
  571. package/dist/session/history.js +13 -13
  572. package/dist/session/inbox.js +89 -89
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +78 -78
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +96 -96
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +117 -117
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +129 -129
  582. package/dist/session/projector.js +85 -85
  583. package/dist/session/prompt.js +104 -104
  584. package/dist/session/provider-context.js +1 -1
  585. package/dist/session/revert.js +89 -89
  586. package/dist/session/run-coordinator.js +3 -3
  587. package/dist/session/runner/index.js +3 -3
  588. package/dist/session/runner/llm.js +228 -227
  589. package/dist/session/runner/max-steps.js +1 -1
  590. package/dist/session/runner/model.js +97 -97
  591. package/dist/session/runner/publish-llm-event.js +3 -3
  592. package/dist/session/runner/retry.js +113 -113
  593. package/dist/session/runner/step.js +122 -122
  594. package/dist/session/runner/to-llm-message.js +2 -2
  595. package/dist/session/schema.js +5 -5
  596. package/dist/session/session.js +171 -171
  597. package/dist/session/shell.js +137 -137
  598. package/dist/session/skill.js +102 -102
  599. package/dist/session/sql.js +5 -5
  600. package/dist/session/stats.js +72 -72
  601. package/dist/session/store.js +82 -82
  602. package/dist/session/subagent-completion.js +1 -1
  603. package/dist/session/subagent-job.js +206 -206
  604. package/dist/session/system-prompt.js +3 -3
  605. package/dist/session/title.js +152 -152
  606. package/dist/session/to-session-error.js +110 -110
  607. package/dist/session/transfer.js +217 -217
  608. package/dist/session/usage.js +1 -1
  609. package/dist/session.js +214 -214
  610. package/dist/shell/parse.js +6 -6
  611. package/dist/shell/result.js +1 -1
  612. package/dist/shell/scan.js +1 -1
  613. package/dist/shell/select.js +11 -11
  614. package/dist/shell.js +139 -139
  615. package/dist/skill/discovery.js +6 -6
  616. package/dist/skill/instructions.js +106 -106
  617. package/dist/skill.js +111 -111
  618. package/dist/snapshot.js +90 -90
  619. package/dist/state.js +1 -1
  620. package/dist/tool/html-markdown.js +1 -1
  621. package/dist/tool/http-body.js +1 -1
  622. package/dist/tool/mcp.js +125 -125
  623. package/dist/tool/plugin/edit.js +119 -119
  624. package/dist/tool/plugin/file-diff.js +1 -1
  625. package/dist/tool/plugin/glob.js +123 -123
  626. package/dist/tool/plugin/grep.js +123 -123
  627. package/dist/tool/plugin/opencode.js +3 -3
  628. package/dist/tool/plugin/patch.js +121 -121
  629. package/dist/tool/plugin/question.js +102 -102
  630. package/dist/tool/plugin/read.js +124 -124
  631. package/dist/tool/plugin/shell.js +215 -215
  632. package/dist/tool/plugin/skill.js +112 -112
  633. package/dist/tool/plugin/subagent.js +215 -215
  634. package/dist/tool/plugin/webfetch.js +103 -103
  635. package/dist/tool/plugin/websearch.js +113 -113
  636. package/dist/tool/plugin/write.js +121 -121
  637. package/dist/tool/read-filesystem.js +99 -99
  638. package/dist/tool/runtime.js +1 -1
  639. package/dist/tool-output.js +6 -6
  640. package/dist/tool.js +13 -13
  641. package/dist/types/config/plugin/worktree.d.ts +2 -2
  642. package/dist/types/instance.d.ts +2 -2
  643. package/dist/types/plugin/host.d.ts +3 -2
  644. package/dist/types/plugin/internal.d.ts +3 -2
  645. package/dist/types/worktree/git.d.ts +2 -4
  646. package/dist/types/worktree/strategies.d.ts +36 -0
  647. package/dist/types/worktree.d.ts +23 -40
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +7 -7
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +91 -91
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +2 -2
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/variant.js +90 -90
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +88 -88
  677. package/dist/websearch.js +79 -79
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +78 -78
  680. package/dist/workspace/driver.js +3 -3
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +75 -75
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +93 -0
  687. package/dist/worktree.js +95 -97
  688. package/package.json +8 -8
  689. package/dist/chunks/state-1x11rq2a.js +0 -18
  690. package/dist/chunks/state-7eaj6nza.js +0 -468
  691. package/dist/chunks/state-7g1ww872.js +0 -26
  692. package/dist/chunks/state-d33cb7pa.js +0 -251
  693. package/dist/chunks/state-xbhtvydn.js +0 -44
  694. package/dist/types/worktree/refresh.d.ts +0 -2
  695. package/dist/worktree/refresh.js +0 -347
  696. /package/dist/chunks/{state-0mesazry.js → file-mutation-0mesazry.js} +0 -0
  697. /package/dist/chunks/{state-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{state-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{state-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{state-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{state-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{state-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  703. /package/dist/chunks/{state-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  704. /package/dist/chunks/{state-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  705. /package/dist/chunks/{state-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{state-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{state-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  708. /package/dist/chunks/{state-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{state-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  710. /package/dist/chunks/{state-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{state-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{state-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{state-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{state-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{state-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  716. /package/dist/chunks/{state-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{state-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
  718. /package/dist/chunks/{state-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  719. /package/dist/chunks/{state-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{state-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{state-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  722. /package/dist/chunks/{state-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{state-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{state-922hggd3.js → file-mutation-922hggd3.js} +0 -0
  725. /package/dist/chunks/{state-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{state-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{state-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{state-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{state-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{state-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{state-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{state-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{state-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{state-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{state-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{state-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{state-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{state-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{state-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{state-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  741. /package/dist/chunks/{state-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{state-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{state-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{state-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{state-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{state-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{state-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{state-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{state-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{state-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{state-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{state-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{state-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  754. /package/dist/chunks/{state-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{state-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  756. /package/dist/chunks/{state-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{state-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  758. /package/dist/chunks/{state-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{state-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{state-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{state-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{state-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{state-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{state-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{state-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{state-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{state-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{state-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{state-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{state-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{state-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{state-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{state-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{state-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{state-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{state-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{state-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{state-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  779. /package/dist/chunks/{state-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{state-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
  781. /package/dist/chunks/{state-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{state-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{state-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{state-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{state-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{state-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  787. /package/dist/chunks/{state-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{state-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  789. /package/dist/chunks/{state-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{state-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{state-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{state-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./state-ec1grn59.js";
3
+ } from "./file-mutation-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./state-ckvyy4ff.js";
6
+ } from "./file-mutation-qz3sdwq7.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./file-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make4,
16
+ make: () => make5,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
96
96
  return true;
97
97
  })
98
98
  });
99
- var make4 = (bus, sessionID) => Effect.gen(function* () {
99
+ var make5 = (bus, sessionID) => Effect.gen(function* () {
100
100
  const decide = yield* policy2(sessionID);
101
101
  const wait = (input) => Effect.gen(function* () {
102
102
  const scheduled = yield* Clock.currentTimeMillis;
@@ -113,4 +113,4 @@ var make4 = (bus, sessionID) => Effect.gen(function* () {
113
113
  return { decide, wait };
114
114
  });
115
115
 
116
- export { isRetryable2, policy2, transient2, make4, exports_retry };
116
+ export { isRetryable2, policy2, transient2, make5, exports_retry };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./state-47dkewx0.js";
5
+ } from "./file-mutation-x2fjf6jt.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./state-9fgjxmjq.js";
11
+ } from "./file-mutation-r8bq8m7e.js";
12
12
  import {
13
13
  __export
14
- } from "./state-9rqn6x4v.js";
14
+ } from "./file-mutation-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./state-wmttgrd3.js";
3
+ } from "./file-mutation-xb3f970q.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin36,
11
+ Plugin: () => Plugin40,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint5
13
+ endpoint: () => endpoint6
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint5 = "https://api.tavily.com/search";
18
+ var endpoint6 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin36 = define({
32
+ var Plugin40 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin36 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin36 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin36, exports_tavily };
80
+ export { endpoint6, Plugin40, exports_tavily };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./state-sa4z093x.js";
5
+ } from "./file-mutation-tds7k197.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service80,
3
- node85
4
- } from "./state-spx2bnh9.js";
3
+ node84
4
+ } from "./file-mutation-f9yn9122.js";
5
5
  import {
6
6
  create3
7
- } from "./state-rdw6cm16.js";
7
+ } from "./file-mutation-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./state-9rqn6x4v.js";
10
+ } from "./file-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event15,
18
- ID: () => ID10,
19
- Info: () => Info24,
17
+ Event: () => Event21,
18
+ ID: () => ID18,
19
+ Info: () => Info34,
20
20
  Name: () => Name3,
21
- Service: () => Service66,
21
+ Service: () => Service79,
22
22
  defaultID: () => defaultID2,
23
- node: () => node71
23
+ node: () => node83
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event15 } from "@opencode/schema/agent";
30
+ import { Event as Event21 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID10 = Agent.ID;
33
+ var ID18 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID10.make("build");
35
+ var defaultID2 = ID18.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info24 = Agent.Info;
37
+ var Info34 = Agent.Info;
38
38
 
39
- class Service66 extends Context.Service()("@opencode/Agent") {
39
+ class Service79 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service66, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
42
42
  const bus = yield* Service80;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info24.default(id);
60
+ const defaults = Info34.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID10.make("build")));
82
+ const build = selectable(data.agents.get(ID18.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service66.of({
91
+ return Service79.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID10.make(id));
99
+ return state.get().agents.get(ID18.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID10.make(id);
104
+ const selected = ID18.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node71 = makeLocationNode({ service: Service66, layer, deps: [node85, Global.node] });
119
+ var node83 = makeLocationNode({ service: Service79, layer, deps: [node84, Global.node] });
120
120
 
121
- export { ID10, Name3, defaultID2, Color2, Info24, Service66, node71, exports_agent4, Event15 };
121
+ export { ID18, Name3, defaultID2, Color2, Info34, Service79, node83, exports_agent4, Event21 };
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./state-922hggd3.js";
4
+ } from "./file-mutation-922hggd3.js";
5
5
  import {
6
- Service77,
7
- node82
8
- } from "./state-0y8dyykb.js";
6
+ Service76,
7
+ node80
8
+ } from "./file-mutation-aychzs8s.js";
9
9
  import {
10
- Service41,
11
- node46
12
- } from "./state-86a9eks8.js";
10
+ Service17,
11
+ node19
12
+ } from "./file-mutation-qr8mshgh.js";
13
13
  import {
14
14
  __export
15
- } from "./state-9rqn6x4v.js";
15
+ } from "./file-mutation-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
19
19
  __export(exports_filesystem, {
20
- Content: () => Content3,
20
+ Content: () => Content2,
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
- Entry: () => Entry4,
24
- Event: () => Event9,
23
+ Entry: () => Entry2,
24
+ Event: () => Event4,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput3,
29
+ ListInput: () => ListInput2,
30
30
  Match: () => Match2,
31
- NotFoundError: () => NotFoundError5,
31
+ NotFoundError: () => NotFoundError3,
32
32
  ReadInput: () => ReadInput2,
33
- Service: () => Service40,
33
+ Service: () => Service16,
34
34
  Submatch: () => Submatch2,
35
- node: () => node45
35
+ node: () => node18
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import path from "path";
39
39
  import { Context, Effect, Layer, Schema } from "effect";
40
40
  import { FSUtil } from "@opencode/util/fs-util";
41
41
  import { Entry, FileSystem, FindInput as FindInput2 } from "@opencode/schema/filesystem";
42
- import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
42
+ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
43
43
  var ReadInput2 = Schema.Struct({
44
44
  path: RelativePath2
45
45
  });
46
46
 
47
- class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
48
48
  path: RelativePath2
49
49
  }) {
50
50
  }
51
- var Content3 = Schema.Struct({
51
+ var Content2 = Schema.Struct({
52
52
  uri: Schema.String,
53
53
  name: Schema.String.pipe(Schema.optional),
54
54
  content: Schema.String,
55
55
  encoding: Schema.Literals(["utf8", "base64"]),
56
56
  mime: Schema.String
57
57
  }).annotate({ identifier: "FileSystem.Content" });
58
- var ListInput3 = Schema.Struct({
58
+ var ListInput2 = Schema.Struct({
59
59
  path: Schema.String.pipe(Schema.optional)
60
60
  });
61
61
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
78
78
  limit: Schema.optionalKey(PositiveInt2)
79
79
  }) {
80
80
  }
81
- var Event9 = FileSystem.Event;
81
+ var Event4 = FileSystem.Event;
82
82
 
83
- class Service40 extends Context.Service()("@opencode/FileSystem") {
83
+ class Service16 extends Context.Service()("@opencode/FileSystem") {
84
84
  }
85
- var baseLayer = Layer.effect(Service40, Effect.gen(function* () {
85
+ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
86
86
  const fs = yield* FSUtil.Service;
87
- const location = yield* Service77;
88
- const search = yield* Service41;
87
+ const location = yield* Service76;
88
+ const search = yield* Service17;
89
89
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
90
90
  const resolve = Effect.fnUntraced(function* (input) {
91
91
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service40, Effect.gen(function* () {
96
96
  return yield* Effect.die(new Error("Path escapes the location"));
97
97
  return { absolute, real, directory: location.directory };
98
98
  });
99
- return Service40.of({
99
+ return Service16.of({
100
100
  find: search.find,
101
101
  read: Effect.fn("FileSystem.read")(function* (input) {
102
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
103
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
102
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
103
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
104
104
  if (info.type !== "File")
105
105
  return yield* Effect.die(new Error("Path is not a file"));
106
106
  return {
107
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error))),
107
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
108
108
  mime: FSUtil.mimeType(target.real)
109
109
  };
110
110
  }),
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service40, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node45 = makeLocationNode({
132
- service: Service40,
131
+ var node18 = makeLocationNode({
132
+ service: Service16,
133
133
  layer: baseLayer,
134
- deps: [FSUtil.node, node82, node46]
134
+ deps: [FSUtil.node, node80, node19]
135
135
  });
136
136
 
137
- export { FindInput2, ReadInput2, NotFoundError5, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service40, node45, exports_filesystem, Entry4, Match2, Submatch2 };
137
+ export { FindInput2, ReadInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service16, node18, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured7,
11
- layer: () => layer18,
12
- make: () => make15,
13
- node: () => node44,
10
+ configured: () => configured11,
11
+ layer: () => layer22,
12
+ make: () => make20,
13
+ node: () => node66,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make15()
19
+ defaultValue: () => make20()
20
20
  });
21
- function make15(input = {}) {
21
+ function make20(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make15(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer18 = (input) => Layer.succeed(Metadata2, make15(input));
32
- var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
33
- var node44 = configured7();
31
+ var layer22 = (input) => Layer.succeed(Metadata2, make20(input));
32
+ var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
33
+ var node66 = configured11();
34
34
 
35
- export { Metadata2, make15, useragent2, layer18, configured7, node44, exports_app };
35
+ export { Metadata2, make20, useragent2, layer22, configured11, node66, exports_app };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./state-nhy5jxhy.js";
3
+ } from "./file-mutation-hjt4xg1x.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin2,
16
+ OpenAIPlugin: () => OpenAIPlugin3,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./state-88xbtdfr.js";
3
+ } from "./file-mutation-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./state-5qd3pb7m.js";
6
+ } from "./file-mutation-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./file-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event5,
14
+ Event: () => Event12,
15
15
  Native: () => Native3,
16
- Options: () => Options6,
17
- Service: () => Service32,
16
+ Options: () => Options8,
17
+ Service: () => Service55,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured5,
20
+ configured: () => configured8,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer15,
22
+ layer: () => layer21,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node36,
25
+ node: () => node57,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event5 = { Updated: FileSystem.Event.Changed };
36
+ var Event12 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options6 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service32 extends Context.Service()("@opencode/Watcher") {
60
+ class Service55 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
65
+ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service32.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service55.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service32.of({ subscribe });
108
+ return Service55.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer15().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service32).subscribe,
134
+ subscribe: Context.get(context, Service55).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service32, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service55, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured5(options) {
168
- return makeGlobalNode({ service: Service32, layer: layer15(options), deps: [nativeNode2] });
167
+ function configured8(options) {
168
+ return makeGlobalNode({ service: Service55, layer: layer21(options), deps: [nativeNode2] });
169
169
  }
170
- var node36 = configured5();
170
+ var node57 = configured8();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event5, hasNativeBinding2, Native3, Options6, Service32, Test3, layer15, testLayer3, nativeLayer2, nativeNode2, configured5, node36, exports_watcher };
190
+ export { Event12, hasNativeBinding2, Native3, Options8, Service55, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured8, node57, exports_watcher };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./state-922hggd3.js";
4
+ } from "./file-mutation-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./state-y71avatq.js";
7
+ } from "./file-mutation-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./state-tazgh4e4.js";
12
+ } from "./file-mutation-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./state-ef5x83kb.js";
15
+ } from "./file-mutation-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./state-9rqn6x4v.js";
18
+ } from "./file-mutation-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service79,
26
+ Service: () => Service78,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node84
30
+ node: () => node82
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service79 extends Context.Service()("@opencode/Git") {
96
+ class Service78 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service79, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service79.of({
422
+ return Service78.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node84 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node82 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node84, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node82, exports_git3 };