@opencode/core 0.0.0-dev-21709 → 0.0.0-dev-21733

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 (482) hide show
  1. package/dist/agent.js +67 -67
  2. package/dist/aisdk-native.js +69 -69
  3. package/dist/aisdk.js +74 -74
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +53 -53
  6. package/dist/chunks/{file-mutation-0j1f7v6y.js → file-mutation-00rzab14.js} +7 -7
  7. package/dist/chunks/{file-mutation-s7112yyh.js → file-mutation-01k3925y.js} +16 -16
  8. package/dist/chunks/{file-mutation-m14375f6.js → file-mutation-036w2vvs.js} +25 -25
  9. package/dist/chunks/{file-mutation-k4x8dxyy.js → file-mutation-0ns4m9xc.js} +6 -6
  10. package/dist/chunks/{file-mutation-jcapkbe6.js → file-mutation-10rcdg98.js} +2 -2
  11. package/dist/chunks/{file-mutation-vbmz9jev.js → file-mutation-12p8ee72.js} +23 -23
  12. package/dist/chunks/{file-mutation-713f9fkw.js → file-mutation-1k1fqc4x.js} +169 -169
  13. package/dist/chunks/{file-mutation-ay6kp039.js → file-mutation-1r91ydea.js} +3 -3
  14. package/dist/chunks/{file-mutation-v6x8rhc3.js → file-mutation-21et416z.js} +5 -5
  15. package/dist/chunks/{file-mutation-rmv7btfw.js → file-mutation-26dky2bj.js} +10 -10
  16. package/dist/chunks/{file-mutation-g113tq3g.js → file-mutation-27tam8fm.js} +1 -1
  17. package/dist/chunks/{file-mutation-1ep2p91f.js → file-mutation-27w5k9zf.js} +1 -1
  18. package/dist/chunks/{file-mutation-kd4chd64.js → file-mutation-2azy8kv6.js} +4 -4
  19. package/dist/chunks/{file-mutation-3jt9gp25.js → file-mutation-2hbghhry.js} +20 -20
  20. package/dist/chunks/{file-mutation-r0zz2cdc.js → file-mutation-2kxb353b.js} +1 -1
  21. package/dist/chunks/{file-mutation-m6yg81he.js → file-mutation-2rjbzknj.js} +14 -14
  22. package/dist/chunks/{file-mutation-e5yz98j3.js → file-mutation-30e15dtz.js} +3 -3
  23. package/dist/chunks/{file-mutation-t9e9esc1.js → file-mutation-32d3hzha.js} +8 -8
  24. package/dist/chunks/{file-mutation-ctagr9g7.js → file-mutation-368ze413.js} +9 -9
  25. package/dist/chunks/{file-mutation-5ahehfm9.js → file-mutation-3c164b2z.js} +11 -11
  26. package/dist/chunks/{file-mutation-ayjs7tqn.js → file-mutation-3cbjf1nt.js} +1 -1
  27. package/dist/chunks/{file-mutation-3a12p9c1.js → file-mutation-3de1akn6.js} +10 -10
  28. package/dist/chunks/{file-mutation-tn2pqadg.js → file-mutation-3ek3wb4s.js} +12 -12
  29. package/dist/chunks/{file-mutation-nad4mkqt.js → file-mutation-45t4pvv9.js} +7 -7
  30. package/dist/chunks/{file-mutation-rz0hcvs1.js → file-mutation-471rdaac.js} +328 -328
  31. package/dist/chunks/{file-mutation-gkq9xxxw.js → file-mutation-48ns11pq.js} +31 -31
  32. package/dist/chunks/{file-mutation-cw4h5047.js → file-mutation-4dnfsash.js} +29 -29
  33. package/dist/chunks/{file-mutation-m6r2ag02.js → file-mutation-4gceq66t.js} +4 -4
  34. package/dist/chunks/{file-mutation-zgmrepvs.js → file-mutation-4pw98qd4.js} +3 -3
  35. package/dist/chunks/{file-mutation-mz1zez7g.js → file-mutation-4rnk6nkc.js} +43 -43
  36. package/dist/chunks/{file-mutation-ad8q6rp3.js → file-mutation-4yx08eh2.js} +9 -9
  37. package/dist/chunks/{file-mutation-jfqpy2va.js → file-mutation-535rzh00.js} +19 -19
  38. package/dist/chunks/{file-mutation-3g9qcz5y.js → file-mutation-550hghqf.js} +10 -10
  39. package/dist/chunks/{file-mutation-7w4z2a19.js → file-mutation-55gnfc1d.js} +52 -52
  40. package/dist/chunks/{file-mutation-k9kmnnb3.js → file-mutation-59syh3a3.js} +8 -8
  41. package/dist/chunks/{file-mutation-rt3jy22f.js → file-mutation-5fvmg1r1.js} +20 -20
  42. package/dist/chunks/{file-mutation-b6vsg801.js → file-mutation-5nnwax6m.js} +3 -3
  43. package/dist/chunks/{file-mutation-pafr3hmb.js → file-mutation-5pex491w.js} +21 -21
  44. package/dist/chunks/{file-mutation-gx0r2313.js → file-mutation-5rxgzxpx.js} +4 -4
  45. package/dist/chunks/{file-mutation-3y39jmrc.js → file-mutation-5x4h0w91.js} +14 -14
  46. package/dist/chunks/{file-mutation-f10m4awg.js → file-mutation-5xn9952g.js} +2 -2
  47. package/dist/chunks/{file-mutation-abr51mnh.js → file-mutation-67avc1k8.js} +6 -6
  48. package/dist/chunks/{file-mutation-rgv2frq9.js → file-mutation-6bexxghh.js} +9 -9
  49. package/dist/chunks/{file-mutation-4bm89b1z.js → file-mutation-6j3c7a8w.js} +9 -9
  50. package/dist/chunks/{file-mutation-sbegqkxp.js → file-mutation-6nc585nh.js} +5 -5
  51. package/dist/chunks/{file-mutation-r2m1wrpm.js → file-mutation-743x2srx.js} +12 -12
  52. package/dist/chunks/{file-mutation-cfbwa52m.js → file-mutation-747awqjk.js} +7 -7
  53. package/dist/chunks/{file-mutation-hwg1rf37.js → file-mutation-74vrwnwk.js} +14 -14
  54. package/dist/chunks/{file-mutation-537zfnwd.js → file-mutation-782p0d6m.js} +14 -14
  55. package/dist/chunks/{file-mutation-eqzqqxkz.js → file-mutation-79gmc5z2.js} +10 -10
  56. package/dist/chunks/{file-mutation-6pe7vn7p.js → file-mutation-7qacj1zk.js} +16 -16
  57. package/dist/chunks/{file-mutation-f535s2sq.js → file-mutation-7v4gnnpt.js} +19 -19
  58. package/dist/chunks/{file-mutation-0t3ga4zv.js → file-mutation-7v95c66a.js} +10 -10
  59. package/dist/chunks/{file-mutation-nz1awqkw.js → file-mutation-81axfqtx.js} +32 -32
  60. package/dist/chunks/{file-mutation-dg69zav8.js → file-mutation-82ae05qv.js} +12 -12
  61. package/dist/chunks/{file-mutation-n5h7v18c.js → file-mutation-85p7gfn7.js} +5 -5
  62. package/dist/chunks/{file-mutation-kz13mb51.js → file-mutation-86ak512e.js} +32 -32
  63. package/dist/chunks/{file-mutation-0z1e74sk.js → file-mutation-8c7d9mqr.js} +10 -10
  64. package/dist/chunks/{file-mutation-n0n6a7ps.js → file-mutation-94f0gtd2.js} +6 -6
  65. package/dist/chunks/{file-mutation-dkkf5xq4.js → file-mutation-9b9c9169.js} +22 -22
  66. package/dist/chunks/{file-mutation-h931zhe2.js → file-mutation-9b9nrhta.js} +44 -44
  67. package/dist/chunks/{file-mutation-2jmbxqq8.js → file-mutation-9fs0fy5y.js} +16 -16
  68. package/dist/chunks/{file-mutation-s4rs4ktr.js → file-mutation-9q4552st.js} +25 -25
  69. package/dist/chunks/{file-mutation-d8qd4w10.js → file-mutation-9t2khtsw.js} +9 -9
  70. package/dist/chunks/{file-mutation-ts7thg7k.js → file-mutation-9tjddhah.js} +36 -36
  71. package/dist/chunks/{file-mutation-j110d6ac.js → file-mutation-a3ve0kqa.js} +9 -9
  72. package/dist/chunks/{file-mutation-ejx5chcx.js → file-mutation-a4hxdnm9.js} +25 -25
  73. package/dist/chunks/{file-mutation-3w6s660c.js → file-mutation-a7dmfdvk.js} +13 -13
  74. package/dist/chunks/{file-mutation-jd41cg63.js → file-mutation-abn7vnge.js} +44 -44
  75. package/dist/chunks/{file-mutation-dz55c0zm.js → file-mutation-abrtv49q.js} +5 -5
  76. package/dist/chunks/{file-mutation-416sv9a0.js → file-mutation-asrwnq9b.js} +13 -13
  77. package/dist/chunks/{file-mutation-40jy4byv.js → file-mutation-av5z0m6e.js} +21 -21
  78. package/dist/chunks/{file-mutation-dm5qwjy7.js → file-mutation-aw7qnxd4.js} +9 -9
  79. package/dist/chunks/{file-mutation-1eaqqsxz.js → file-mutation-b0zdea0q.js} +29 -29
  80. package/dist/chunks/{file-mutation-3f3erb08.js → file-mutation-b7zzhf47.js} +7 -7
  81. package/dist/chunks/{file-mutation-zhv6stc2.js → file-mutation-b9d9dj3z.js} +1 -1
  82. package/dist/chunks/{file-mutation-kp4a0nkj.js → file-mutation-bgmahzg8.js} +48 -48
  83. package/dist/chunks/{file-mutation-hsb38h3t.js → file-mutation-bjeh6j1p.js} +23 -23
  84. package/dist/chunks/{file-mutation-xmjq5dsw.js → file-mutation-bjh3krjv.js} +19 -19
  85. package/dist/chunks/{file-mutation-rrad2nt9.js → file-mutation-bjhzkqyk.js} +3 -3
  86. package/dist/chunks/{file-mutation-psvnc0zj.js → file-mutation-bwe8ad2d.js} +20 -20
  87. package/dist/chunks/{file-mutation-mmkbt6v3.js → file-mutation-c3cfh5w6.js} +7 -7
  88. package/dist/chunks/{file-mutation-jwswcnbf.js → file-mutation-c7c27t1m.js} +14 -14
  89. package/dist/chunks/{file-mutation-j144xwzw.js → file-mutation-cc7rcpec.js} +5 -5
  90. package/dist/chunks/{file-mutation-zkgq49d1.js → file-mutation-cfkc8wvf.js} +2 -2
  91. package/dist/chunks/{file-mutation-kvd7rme4.js → file-mutation-cjbqfpza.js} +1 -1
  92. package/dist/chunks/{file-mutation-bjhhq9t1.js → file-mutation-cn264291.js} +10 -10
  93. package/dist/chunks/{file-mutation-kd8e7gdr.js → file-mutation-cp34p7ag.js} +1 -1
  94. package/dist/chunks/{file-mutation-b2fa49hh.js → file-mutation-cvmvznrx.js} +1 -1
  95. package/dist/chunks/{file-mutation-ys14c7h6.js → file-mutation-cwq0sf4z.js} +13 -13
  96. package/dist/chunks/{file-mutation-2y6rfkwc.js → file-mutation-cxa2kxks.js} +5 -5
  97. package/dist/chunks/{file-mutation-293dk3rs.js → file-mutation-d979ez4r.js} +13 -13
  98. package/dist/chunks/{file-mutation-0jy8s6kx.js → file-mutation-da9t4t99.js} +16 -16
  99. package/dist/chunks/{file-mutation-rvw14dk0.js → file-mutation-deg8k6mg.js} +19 -19
  100. package/dist/chunks/{file-mutation-6tkfv6vy.js → file-mutation-dqfc4a56.js} +17 -17
  101. package/dist/chunks/{file-mutation-998yhzzq.js → file-mutation-dvj9ct8m.js} +1 -1
  102. package/dist/chunks/{file-mutation-gzr767ae.js → file-mutation-dwarwzmx.js} +20 -20
  103. package/dist/chunks/{file-mutation-vxnb1daw.js → file-mutation-dzgdh8q8.js} +26 -26
  104. package/dist/chunks/{file-mutation-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
  105. package/dist/chunks/{file-mutation-hr21agsb.js → file-mutation-e4n8ygfy.js} +78 -78
  106. package/dist/chunks/{file-mutation-jneg3k74.js → file-mutation-e5dqjz6v.js} +3 -3
  107. package/dist/chunks/{file-mutation-4qeetvzp.js → file-mutation-e86res7a.js} +15 -15
  108. package/dist/chunks/{file-mutation-8zf098kr.js → file-mutation-eahrer4y.js} +16 -16
  109. package/dist/chunks/{file-mutation-z11v4z0j.js → file-mutation-edcmpgtq.js} +15 -15
  110. package/dist/chunks/{file-mutation-1qgwrgfd.js → file-mutation-egsctaqy.js} +21 -21
  111. package/dist/chunks/{file-mutation-4kxjpvmm.js → file-mutation-ems2smmp.js} +24 -24
  112. package/dist/chunks/{file-mutation-bfp67d1e.js → file-mutation-enfrdb2x.js} +8 -8
  113. package/dist/chunks/{file-mutation-b8wpdthk.js → file-mutation-epgj3jkd.js} +22 -22
  114. package/dist/chunks/{file-mutation-0421tmwc.js → file-mutation-eqh43b5v.js} +7 -7
  115. package/dist/chunks/{file-mutation-q8ks7c1m.js → file-mutation-esd6nksf.js} +21 -21
  116. package/dist/chunks/{file-mutation-vm0wcjea.js → file-mutation-eskv2f81.js} +8 -8
  117. package/dist/chunks/{file-mutation-a610t88q.js → file-mutation-ezna1kdx.js} +4 -4
  118. package/dist/chunks/{file-mutation-rz9csvhz.js → file-mutation-f3mkqzy7.js} +12 -12
  119. package/dist/chunks/{file-mutation-mfd21a06.js → file-mutation-f4275qbf.js} +3 -3
  120. package/dist/chunks/{file-mutation-fvc4bqe2.js → file-mutation-faewc6h3.js} +3 -3
  121. package/dist/chunks/{file-mutation-xs3xca8c.js → file-mutation-fbnpe429.js} +18 -18
  122. package/dist/chunks/{file-mutation-p7bm53gt.js → file-mutation-fm0kc2vz.js} +8 -8
  123. package/dist/chunks/{file-mutation-vaqsjg05.js → file-mutation-fnbj75xz.js} +5 -5
  124. package/dist/chunks/{file-mutation-0zc3gznn.js → file-mutation-fqje64y2.js} +21 -21
  125. package/dist/chunks/{file-mutation-wqvpyqgm.js → file-mutation-fqktgm0k.js} +12 -12
  126. package/dist/chunks/{file-mutation-3p1jq0np.js → file-mutation-frvfbmdp.js} +8 -8
  127. package/dist/chunks/{file-mutation-atxt4sm9.js → file-mutation-ft13nsd4.js} +6 -6
  128. package/dist/chunks/{file-mutation-fr0fh1nj.js → file-mutation-fymw8q55.js} +18 -18
  129. package/dist/chunks/{file-mutation-mr7gd4pm.js → file-mutation-g5j9106q.js} +9 -9
  130. package/dist/chunks/{file-mutation-w7ceskr2.js → file-mutation-gctveymt.js} +12 -12
  131. package/dist/chunks/{file-mutation-f2rre9xz.js → file-mutation-gqmebmt6.js} +7 -7
  132. package/dist/chunks/{file-mutation-5q3wnkda.js → file-mutation-h245t4yc.js} +7 -7
  133. package/dist/chunks/{file-mutation-3dcnb5me.js → file-mutation-h2vj4qcs.js} +12 -12
  134. package/dist/chunks/{file-mutation-qpxdw9gm.js → file-mutation-h8gqg4ne.js} +7 -7
  135. package/dist/chunks/{file-mutation-5rv30s6t.js → file-mutation-h99q40g3.js} +82 -82
  136. package/dist/chunks/{file-mutation-acjz1v7j.js → file-mutation-hbcfg93c.js} +6 -6
  137. package/dist/chunks/{file-mutation-r5zmcn5f.js → file-mutation-hgcdtq4e.js} +12 -12
  138. package/dist/chunks/{file-mutation-p47da6wh.js → file-mutation-hhe7s84q.js} +2 -2
  139. package/dist/chunks/{file-mutation-e28v8y2t.js → file-mutation-hkzhzv1f.js} +29 -29
  140. package/dist/chunks/{file-mutation-bpzpc9vw.js → file-mutation-htq3pgp8.js} +1 -1
  141. package/dist/chunks/{file-mutation-kf6qbgb5.js → file-mutation-j12nxzwd.js} +1 -1
  142. package/dist/chunks/{file-mutation-we6venq8.js → file-mutation-j3zafv13.js} +9 -9
  143. package/dist/chunks/{file-mutation-kkh6p5hg.js → file-mutation-jbscr9h1.js} +4 -4
  144. package/dist/chunks/{file-mutation-bd3818sh.js → file-mutation-jp8p8349.js} +4 -4
  145. package/dist/chunks/{file-mutation-z2a3rv7v.js → file-mutation-jw9wy7z2.js} +9 -9
  146. package/dist/chunks/{file-mutation-7rp33d8t.js → file-mutation-jyragf21.js} +14 -14
  147. package/dist/chunks/{file-mutation-906g5kdk.js → file-mutation-kmnk1vdb.js} +7 -7
  148. package/dist/chunks/{file-mutation-9y9qs21w.js → file-mutation-krdcrhxc.js} +10 -10
  149. package/dist/chunks/{file-mutation-ganf5qds.js → file-mutation-m4qx0dyh.js} +22 -22
  150. package/dist/chunks/{file-mutation-zhbs0pmw.js → file-mutation-m4t4ftb9.js} +32 -32
  151. package/dist/chunks/{file-mutation-57k3rf66.js → file-mutation-m6btfgkq.js} +16 -16
  152. package/dist/chunks/{file-mutation-6b8h7563.js → file-mutation-mcc21mqv.js} +5 -5
  153. package/dist/chunks/{file-mutation-vx3jgdek.js → file-mutation-my4zabxr.js} +3 -3
  154. package/dist/chunks/{file-mutation-pr21x5ks.js → file-mutation-nffa1r89.js} +28 -28
  155. package/dist/chunks/{file-mutation-kaen2cat.js → file-mutation-ng91319j.js} +18 -18
  156. package/dist/chunks/{file-mutation-nmmvaykg.js → file-mutation-nwhk50md.js} +14 -14
  157. package/dist/chunks/{file-mutation-1yq9hg58.js → file-mutation-p7vhpwh8.js} +4 -4
  158. package/dist/chunks/{file-mutation-7cbjmmn9.js → file-mutation-pef0bd6s.js} +10 -10
  159. package/dist/chunks/{file-mutation-e1nbxf8q.js → file-mutation-q2dhmgm2.js} +12 -12
  160. package/dist/chunks/{file-mutation-q1xw7kgx.js → file-mutation-q7717vr4.js} +2 -2
  161. package/dist/chunks/{file-mutation-h65mpfhc.js → file-mutation-qgrk9qt1.js} +44 -44
  162. package/dist/chunks/{file-mutation-8jztxfpf.js → file-mutation-qjgzc4b4.js} +3 -3
  163. package/dist/chunks/{file-mutation-3n1ze0gv.js → file-mutation-qx7wy1t5.js} +22 -22
  164. package/dist/chunks/{file-mutation-ajmrn4wa.js → file-mutation-r64mr812.js} +26 -26
  165. package/dist/chunks/{file-mutation-yt06m8xx.js → file-mutation-r6b9cme8.js} +5 -5
  166. package/dist/chunks/{file-mutation-997dsrmm.js → file-mutation-r6wgv8c9.js} +7 -7
  167. package/dist/chunks/{file-mutation-d5w8jy03.js → file-mutation-r9t475hy.js} +12 -12
  168. package/dist/chunks/{file-mutation-y9xrhqjb.js → file-mutation-raw26vjr.js} +5 -5
  169. package/dist/chunks/{file-mutation-ew73g2zp.js → file-mutation-rbcej9n7.js} +4 -4
  170. package/dist/chunks/{file-mutation-e8zbksk4.js → file-mutation-rds2jhhw.js} +2 -2
  171. package/dist/chunks/{file-mutation-rehp1ca5.js → file-mutation-rjew0wjs.js} +18 -18
  172. package/dist/chunks/{file-mutation-rt0txz63.js → file-mutation-rjnacbrz.js} +7 -7
  173. package/dist/chunks/{file-mutation-zh89wwz7.js → file-mutation-rmvh37n9.js} +7 -7
  174. package/dist/chunks/{file-mutation-2v6yzfrh.js → file-mutation-rskep9rf.js} +26 -26
  175. package/dist/chunks/{file-mutation-2cvbz1q2.js → file-mutation-ry869zts.js} +14 -14
  176. package/dist/chunks/{file-mutation-7r2864x8.js → file-mutation-s0cvatyn.js} +9 -9
  177. package/dist/chunks/{file-mutation-gh9nzn29.js → file-mutation-s4yz0bzs.js} +2 -2
  178. package/dist/chunks/{file-mutation-hrwtt92m.js → file-mutation-s5ypg3ex.js} +10 -10
  179. package/dist/chunks/{file-mutation-00zh2tpm.js → file-mutation-s6p20e1k.js} +7 -7
  180. package/dist/chunks/{file-mutation-h406p1d4.js → file-mutation-s6xj0n9e.js} +11 -11
  181. package/dist/chunks/{file-mutation-9vyfkg2v.js → file-mutation-s9ty2h8k.js} +8 -8
  182. package/dist/chunks/{file-mutation-mgvc1gk7.js → file-mutation-sm6n1kzz.js} +12 -12
  183. package/dist/chunks/{file-mutation-1k8pspw3.js → file-mutation-sn3yw1vh.js} +23 -23
  184. package/dist/chunks/{file-mutation-4xg6svek.js → file-mutation-svewv0nk.js} +32 -32
  185. package/dist/chunks/{file-mutation-gy8yxpp1.js → file-mutation-t72fmagr.js} +8 -8
  186. package/dist/chunks/{file-mutation-c3kxzd3k.js → file-mutation-td9q6ghh.js} +14 -14
  187. package/dist/chunks/{file-mutation-hbkf0bb7.js → file-mutation-tfvs93xs.js} +4 -4
  188. package/dist/chunks/{file-mutation-myc1cmw5.js → file-mutation-tq3mzssj.js} +11 -11
  189. package/dist/chunks/{file-mutation-5vmh6pxt.js → file-mutation-v35yay96.js} +14 -14
  190. package/dist/chunks/{file-mutation-d8c7zwkj.js → file-mutation-v8kyx9fe.js} +19 -19
  191. package/dist/chunks/{file-mutation-03cjnd07.js → file-mutation-v9pksffj.js} +28 -28
  192. package/dist/chunks/{file-mutation-2qv8esx8.js → file-mutation-vamt18wv.js} +22 -22
  193. package/dist/chunks/{file-mutation-04ppth10.js → file-mutation-vd9bj70h.js} +25 -25
  194. package/dist/chunks/file-mutation-venck2hm.js +26 -0
  195. package/dist/chunks/{file-mutation-3405mbpt.js → file-mutation-vf8a67bd.js} +19 -19
  196. package/dist/chunks/{file-mutation-g7esga4v.js → file-mutation-vmfhgzt5.js} +4 -4
  197. package/dist/chunks/{file-mutation-qgk279fs.js → file-mutation-vtjgj3jr.js} +38 -38
  198. package/dist/chunks/{file-mutation-yy2s616e.js → file-mutation-vyaq3xbs.js} +8 -8
  199. package/dist/chunks/{file-mutation-egmw08v6.js → file-mutation-w059c7vr.js} +3 -3
  200. package/dist/chunks/{file-mutation-d2dx6a7h.js → file-mutation-w35wzz9x.js} +8 -8
  201. package/dist/chunks/{file-mutation-ph89xtmw.js → file-mutation-w3w76j4m.js} +32 -32
  202. package/dist/chunks/{file-mutation-76cb1hcw.js → file-mutation-w8qtt4th.js} +3 -3
  203. package/dist/chunks/{file-mutation-3vf4gpqx.js → file-mutation-w9vn8wsz.js} +9 -9
  204. package/dist/chunks/{file-mutation-zmk1cqnw.js → file-mutation-wb23mhq7.js} +37 -37
  205. package/dist/chunks/{file-mutation-fv8tw6aa.js → file-mutation-wbbnhv6v.js} +2 -2
  206. package/dist/chunks/{file-mutation-2c4qk5dm.js → file-mutation-wbz42q9f.js} +18 -18
  207. package/dist/chunks/{file-mutation-cg703a76.js → file-mutation-wdh6vgg0.js} +13 -13
  208. package/dist/chunks/{file-mutation-0h8y3ex8.js → file-mutation-wr3re1en.js} +3 -3
  209. package/dist/chunks/{file-mutation-1bb7jn70.js → file-mutation-wwzjdjk2.js} +1 -1
  210. package/dist/chunks/{file-mutation-kb3vw7p8.js → file-mutation-x240r3kw.js} +25 -25
  211. package/dist/chunks/{file-mutation-3bnc55rz.js → file-mutation-xb154nqk.js} +1 -1
  212. package/dist/chunks/{file-mutation-0fn7fmmf.js → file-mutation-xcfcjf9d.js} +10 -10
  213. package/dist/chunks/{file-mutation-c2b1zq20.js → file-mutation-xh4stpws.js} +32 -32
  214. package/dist/chunks/{file-mutation-hvh7vr4z.js → file-mutation-xk2ssr6t.js} +8 -8
  215. package/dist/chunks/{file-mutation-c5kjsz6q.js → file-mutation-xpve62cf.js} +3 -3
  216. package/dist/chunks/{file-mutation-yz63e4xv.js → file-mutation-xq4hz08w.js} +1 -1
  217. package/dist/chunks/{file-mutation-m6yx9010.js → file-mutation-y0dnfxbe.js} +9 -9
  218. package/dist/chunks/{file-mutation-y456hjcf.js → file-mutation-y78pw8hh.js} +17 -17
  219. package/dist/chunks/{file-mutation-5jn2rvwm.js → file-mutation-y9nmyqm6.js} +16 -16
  220. package/dist/chunks/{file-mutation-czxr0pk5.js → file-mutation-yf8h703t.js} +25 -25
  221. package/dist/chunks/{file-mutation-ejryywa8.js → file-mutation-yhtr6e88.js} +42 -42
  222. package/dist/chunks/{file-mutation-n0cek02z.js → file-mutation-yprj29vk.js} +4 -4
  223. package/dist/chunks/{file-mutation-1daas5y7.js → file-mutation-ys5ve7gf.js} +59 -59
  224. package/dist/chunks/{file-mutation-bn1zwxk7.js → file-mutation-yvyt4vgc.js} +10 -10
  225. package/dist/chunks/file-mutation-z053f2bw.js +257 -0
  226. package/dist/chunks/{file-mutation-yk7z3cd9.js → file-mutation-z3789qry.js} +17 -17
  227. package/dist/chunks/{file-mutation-9z3zqrcq.js → file-mutation-zg057h9g.js} +16 -16
  228. package/dist/chunks/{file-mutation-dr3mewcq.js → file-mutation-zk52q0tv.js} +13 -13
  229. package/dist/chunks/{file-mutation-27bs79w9.js → file-mutation-zmwx25fz.js} +1 -1
  230. package/dist/chunks/{file-mutation-06ddj0xt.js → file-mutation-zz54hcfv.js} +13 -13
  231. package/dist/codemode/instructions.js +10 -10
  232. package/dist/command.js +69 -69
  233. package/dist/config/discovery.js +64 -64
  234. package/dist/config/normalize.js +77 -77
  235. package/dist/config/plugin/agent.js +89 -89
  236. package/dist/config/plugin/command.js +176 -176
  237. package/dist/config/plugin/compaction.js +124 -124
  238. package/dist/config/plugin/compatibility.js +107 -107
  239. package/dist/config/plugin/formatter.js +90 -90
  240. package/dist/config/plugin/image.js +89 -89
  241. package/dist/config/plugin/instruction.js +90 -90
  242. package/dist/config/plugin/location-watcher.js +91 -91
  243. package/dist/config/plugin/mcp.js +93 -93
  244. package/dist/config/plugin/policy.js +90 -90
  245. package/dist/config/plugin/provider.js +89 -89
  246. package/dist/config/plugin/reference.js +91 -91
  247. package/dist/config/plugin/shell.js +91 -91
  248. package/dist/config/plugin/skill-file.js +79 -79
  249. package/dist/config/plugin/skill.js +110 -110
  250. package/dist/config/plugin/snapshot.js +89 -89
  251. package/dist/config/plugin/source.js +90 -90
  252. package/dist/config/plugin/tool-output.js +90 -90
  253. package/dist/config/plugin/websearch.js +90 -90
  254. package/dist/config/plugin/worktree.js +90 -90
  255. package/dist/config.js +95 -95
  256. package/dist/credential.js +64 -64
  257. package/dist/database/database.js +51 -51
  258. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  259. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  260. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  261. package/dist/database/drizzle/index.js +11 -11
  262. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  263. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  264. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  265. package/dist/database/drizzle.js +11 -11
  266. package/dist/database/migration.gen.js +39 -39
  267. package/dist/database/migration.js +41 -41
  268. package/dist/database/v1-migration.bun.js +24 -24
  269. package/dist/effect/app-node-builder.js +238 -238
  270. package/dist/effect/keyed-mutex.js +3 -3
  271. package/dist/environment/environment.js +69 -69
  272. package/dist/environment/index.js +69 -69
  273. package/dist/environment/unavailable.js +3 -3
  274. package/dist/event-logger.js +10 -10
  275. package/dist/file-access.js +82 -82
  276. package/dist/file-mutation.js +70 -70
  277. package/dist/filesystem/location-watcher-policy.js +5 -5
  278. package/dist/filesystem/location-watcher.js +191 -191
  279. package/dist/filesystem/protected.js +3 -3
  280. package/dist/filesystem/search.js +74 -74
  281. package/dist/filesystem/watcher-binding.js +3 -3
  282. package/dist/filesystem/watcher.js +10 -10
  283. package/dist/filesystem.js +77 -77
  284. package/dist/form.js +66 -66
  285. package/dist/formatter.js +63 -63
  286. package/dist/generate.js +83 -83
  287. package/dist/git.js +7 -7
  288. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  289. package/dist/github-copilot/copilot-provider.js +3 -3
  290. package/dist/github-copilot/models.js +71 -71
  291. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  292. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  293. package/dist/image/photon.js +1 -1
  294. package/dist/image.js +5 -5
  295. package/dist/instance/service.js +5 -5
  296. package/dist/instance.js +315 -315
  297. package/dist/instruction-discovery.js +64 -64
  298. package/dist/instructions/builtins.js +67 -67
  299. package/dist/instructions/index.js +3 -3
  300. package/dist/integration/connection.js +3 -3
  301. package/dist/integration.js +70 -70
  302. package/dist/job.js +59 -59
  303. package/dist/kv.js +56 -56
  304. package/dist/location-activity.js +73 -73
  305. package/dist/location-lifecycle.js +85 -85
  306. package/dist/location-service-map.js +66 -66
  307. package/dist/location-services.js +313 -313
  308. package/dist/location.js +69 -69
  309. package/dist/managed-policy.js +7 -7
  310. package/dist/mcp/client.js +20 -20
  311. package/dist/mcp/index.js +79 -79
  312. package/dist/mcp/instructions.js +111 -111
  313. package/dist/mcp/oauth.js +14 -14
  314. package/dist/mcp/stdio.js +66 -66
  315. package/dist/modal/models.js +71 -71
  316. package/dist/model-resolver.js +78 -78
  317. package/dist/model.js +70 -70
  318. package/dist/models-dev.js +80 -80
  319. package/dist/permission/saved.js +65 -65
  320. package/dist/permission/sql.js +3 -3
  321. package/dist/permission.js +91 -91
  322. package/dist/persistent-pty/index.js +66 -66
  323. package/dist/persistent-pty.js +56 -56
  324. package/dist/plugin/agent.js +58 -58
  325. package/dist/plugin/command.js +76 -76
  326. package/dist/plugin/hooks.js +5 -5
  327. package/dist/plugin/host.js +182 -182
  328. package/dist/plugin/identity.js +3 -3
  329. package/dist/plugin/internal.js +289 -289
  330. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  331. package/dist/plugin/models-dev.js +75 -75
  332. package/dist/plugin/module.js +90 -90
  333. package/dist/plugin/optimize.js +4 -4
  334. package/dist/plugin/plan.js +80 -80
  335. package/dist/plugin/provider/amazon-bedrock.js +70 -70
  336. package/dist/plugin/provider/azure.js +90 -90
  337. package/dist/plugin/provider/chatgpt.js +88 -88
  338. package/dist/plugin/provider/cloudflare-ai-gateway.js +87 -87
  339. package/dist/plugin/provider/cloudflare-workers-ai.js +87 -87
  340. package/dist/plugin/provider/configured.js +86 -86
  341. package/dist/plugin/provider/digitalocean.js +72 -72
  342. package/dist/plugin/provider/github-copilot.js +74 -74
  343. package/dist/plugin/provider/gitlab.js +72 -72
  344. package/dist/plugin/provider/google-vertex.js +87 -87
  345. package/dist/plugin/provider/llmgateway.js +59 -59
  346. package/dist/plugin/provider/lmstudio.js +95 -95
  347. package/dist/plugin/provider/local.js +92 -92
  348. package/dist/plugin/provider/modal.js +72 -72
  349. package/dist/plugin/provider/ollama.js +95 -95
  350. package/dist/plugin/provider/openai-context-caps.js +70 -70
  351. package/dist/plugin/provider/openai.js +90 -90
  352. package/dist/plugin/provider/opencode.js +80 -80
  353. package/dist/plugin/provider/openrouter.js +71 -71
  354. package/dist/plugin/provider/poe.js +59 -59
  355. package/dist/plugin/provider/sap-ai-core.js +70 -70
  356. package/dist/plugin/provider/snowflake-cortex.js +88 -88
  357. package/dist/plugin/provider/vercel.js +70 -70
  358. package/dist/plugin/provider/vllm.js +95 -95
  359. package/dist/plugin/provider/xai.js +71 -71
  360. package/dist/plugin/provider.js +135 -135
  361. package/dist/plugin/sdk.js +60 -60
  362. package/dist/plugin/service.js +3 -3
  363. package/dist/plugin/skill.js +106 -106
  364. package/dist/plugin/supervisor.js +304 -304
  365. package/dist/plugin/tool-input-repair.js +3 -3
  366. package/dist/plugin/update.js +6 -6
  367. package/dist/plugin/vcs/git.js +66 -66
  368. package/dist/plugin/vcs/hg.js +66 -66
  369. package/dist/plugin/verbosity.js +73 -73
  370. package/dist/plugin/warming.js +88 -88
  371. package/dist/plugin/websearch/exa.js +5 -5
  372. package/dist/plugin/websearch/firecrawl.js +4 -4
  373. package/dist/plugin/websearch/index.js +7 -7
  374. package/dist/plugin/websearch/parallel.js +4 -4
  375. package/dist/plugin/websearch/tavily.js +6 -6
  376. package/dist/plugin/websearch/tinyfish.js +6 -6
  377. package/dist/plugin.js +194 -194
  378. package/dist/project/schema.js +7 -7
  379. package/dist/project/sql.js +2 -2
  380. package/dist/project.js +70 -70
  381. package/dist/provider.js +73 -73
  382. package/dist/pty.js +78 -78
  383. package/dist/reference/instructions.js +66 -66
  384. package/dist/reference.js +64 -64
  385. package/dist/repository-cache.js +59 -59
  386. package/dist/ripgrep.js +70 -70
  387. package/dist/rpc.js +66 -66
  388. package/dist/session/command.js +58 -58
  389. package/dist/session/compaction.js +106 -106
  390. package/dist/session/context.js +133 -133
  391. package/dist/session/diff.js +67 -67
  392. package/dist/session/environment.js +5 -5
  393. package/dist/session/error.js +4 -4
  394. package/dist/session/execution/restart.js +119 -119
  395. package/dist/session/execution.js +102 -102
  396. package/dist/session/generate.js +135 -135
  397. package/dist/session/history.js +11 -11
  398. package/dist/session/inbox.js +69 -69
  399. package/dist/session/info.js +2 -2
  400. package/dist/session/instruction-entry.js +62 -62
  401. package/dist/session/instruction-state.js +5 -5
  402. package/dist/session/instructions.js +75 -75
  403. package/dist/session/message-updater.js +3 -3
  404. package/dist/session/model-request.js +92 -92
  405. package/dist/session/model-transport.js +5 -5
  406. package/dist/session/move.js +105 -105
  407. package/dist/session/projector.js +68 -68
  408. package/dist/session/prompt.js +82 -82
  409. package/dist/session/revert.js +72 -72
  410. package/dist/session/runner/index.js +3 -3
  411. package/dist/session/runner/llm.js +192 -192
  412. package/dist/session/runner/model.js +77 -77
  413. package/dist/session/runner/publish-llm-event.js +90 -90
  414. package/dist/session/runner/retry.js +2 -2
  415. package/dist/session/runner/step.js +98 -98
  416. package/dist/session/runner/to-llm-message.js +10 -10
  417. package/dist/session/schema.js +5 -5
  418. package/dist/session/session.js +133 -133
  419. package/dist/session/shell.js +99 -99
  420. package/dist/session/skill.js +81 -81
  421. package/dist/session/sql.js +3 -3
  422. package/dist/session/stats.js +10 -10
  423. package/dist/session/store.js +66 -66
  424. package/dist/session/subagent-job.js +177 -177
  425. package/dist/session/system-prompt.js +3 -3
  426. package/dist/session/title.js +134 -134
  427. package/dist/session/to-session-error.js +89 -89
  428. package/dist/session/transfer.js +116 -116
  429. package/dist/session.js +188 -188
  430. package/dist/shell/parse.js +4 -4
  431. package/dist/shell/select.js +12 -12
  432. package/dist/shell.js +102 -102
  433. package/dist/skill/discovery.js +5 -5
  434. package/dist/skill/instructions.js +85 -85
  435. package/dist/skill.js +90 -90
  436. package/dist/snapshot.js +69 -69
  437. package/dist/tool/mcp.js +110 -110
  438. package/dist/tool/plugin/edit.js +95 -95
  439. package/dist/tool/plugin/glob.js +99 -99
  440. package/dist/tool/plugin/grep.js +99 -99
  441. package/dist/tool/plugin/mcp-resource.js +98 -98
  442. package/dist/tool/plugin/opencode.js +85 -85
  443. package/dist/tool/plugin/patch.js +91 -91
  444. package/dist/tool/plugin/question.js +81 -81
  445. package/dist/tool/plugin/read.js +99 -99
  446. package/dist/tool/plugin/shell.js +183 -183
  447. package/dist/tool/plugin/skill.js +83 -83
  448. package/dist/tool/plugin/subagent.js +182 -182
  449. package/dist/tool/plugin/todo.js +111 -111
  450. package/dist/tool/plugin/webfetch.js +84 -84
  451. package/dist/tool/plugin/websearch.js +90 -90
  452. package/dist/tool/plugin/write.js +91 -91
  453. package/dist/tool/read-filesystem.js +76 -76
  454. package/dist/tool-output.js +5 -5
  455. package/dist/tool.js +9 -9
  456. package/dist/v1/config/agent.js +6 -6
  457. package/dist/v1/config/command.js +3 -3
  458. package/dist/v1/config/mcp.js +3 -3
  459. package/dist/v1/config/migrate.js +71 -71
  460. package/dist/v1/config/permission.js +7 -7
  461. package/dist/v1/config/plugin.js +3 -3
  462. package/dist/variant.js +73 -73
  463. package/dist/vcs.js +69 -69
  464. package/dist/voice.js +67 -67
  465. package/dist/websearch.js +64 -64
  466. package/dist/wellknown/plugin.js +58 -58
  467. package/dist/wellknown.js +63 -63
  468. package/dist/workspace/driver.js +5 -5
  469. package/dist/workspace.js +63 -63
  470. package/dist/worktree/git.js +6 -6
  471. package/dist/worktree/sql.js +3 -3
  472. package/dist/worktree/strategies.js +68 -68
  473. package/dist/worktree.js +78 -78
  474. package/package.json +8 -8
  475. package/dist/chunks/file-mutation-k1mgqf2s.js +0 -26
  476. package/dist/chunks/file-mutation-vz42csha.js +0 -257
  477. /package/dist/chunks/{file-mutation-8sxdqgb0.js → file-mutation-0ks2n9jf.js} +0 -0
  478. /package/dist/chunks/{file-mutation-9s6n3p5d.js → file-mutation-245k30ek.js} +0 -0
  479. /package/dist/chunks/{file-mutation-rf80fxgj.js → file-mutation-2cmv458r.js} +0 -0
  480. /package/dist/chunks/{file-mutation-034tev2y.js → file-mutation-aj7mw0zk.js} +0 -0
  481. /package/dist/chunks/{file-mutation-29kdrth0.js → file-mutation-rmyqj6m3.js} +0 -0
  482. /package/dist/chunks/{file-mutation-51wwr1cb.js → file-mutation-yj6jvem3.js} +0 -0
@@ -2,9 +2,9 @@ import {
2
2
  llmClient2
3
3
  } from "./file-mutation-p015t6z3.js";
4
4
  import {
5
- Service74,
6
- node78
7
- } from "./file-mutation-czxr0pk5.js";
5
+ Service58,
6
+ node61
7
+ } from "./file-mutation-yf8h703t.js";
8
8
  import {
9
9
  retry2
10
10
  } from "./file-mutation-n0p0277s.js";
@@ -13,14 +13,14 @@ import {
13
13
  } from "./file-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/generate.ts
16
- var exports_generate2 = {};
17
- __export(exports_generate2, {
18
- Generate: () => exports_generate2,
16
+ var exports_generate = {};
17
+ __export(exports_generate, {
18
+ Generate: () => exports_generate,
19
19
  ModelSelectionError: () => ModelSelectionError2,
20
- Service: () => Service73,
20
+ Service: () => Service18,
21
21
  UnavailableError: () => UnavailableError3,
22
- layer: () => layer24,
23
- node: () => node77
22
+ layer: () => layer11,
23
+ node: () => node21
24
24
  });
25
25
  import { LLM, LLMClient } from "@opencode/ai";
26
26
  import { SessionID } from "@opencode/schema/session-id";
@@ -37,11 +37,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
37
37
  }) {
38
38
  }
39
39
 
40
- class Service73 extends Context.Service()("@opencode/Generate") {
40
+ class Service18 extends Context.Service()("@opencode/Generate") {
41
41
  }
42
- var layer24 = Layer.effect(Service73, Effect.gen(function* () {
42
+ var layer11 = Layer.effect(Service18, Effect.gen(function* () {
43
43
  const llm = yield* LLMClient.Service;
44
- const resolver = yield* Service74;
44
+ const resolver = yield* Service58;
45
45
  const runText = Effect.fn("Generate.text")(function* (input) {
46
46
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
47
47
  "SessionRunnerModel.VariantUnavailableError",
@@ -71,12 +71,12 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
71
71
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
72
72
  message: "Generation credentials are unavailable"
73
73
  })));
74
- return Service73.of({ text });
74
+ return Service18.of({ text });
75
75
  }));
76
- var node77 = makeLocationNode({
77
- service: Service73,
78
- layer: layer24,
79
- deps: [node78, llmClient2]
76
+ var node21 = makeLocationNode({
77
+ service: Service18,
78
+ layer: layer11,
79
+ deps: [node61, llmClient2]
80
80
  });
81
81
 
82
- export { ModelSelectionError2, UnavailableError3, Service73, layer24, node77, exports_generate2 };
82
+ export { ModelSelectionError2, UnavailableError3, Service18, layer11, node21, exports_generate };
@@ -2,8 +2,8 @@ import {
2
2
  isTextual2
3
3
  } from "./file-mutation-2z1j29yd.js";
4
4
  import {
5
- Service68
6
- } from "./file-mutation-kp4a0nkj.js";
5
+ Service54
6
+ } from "./file-mutation-bgmahzg8.js";
7
7
  import {
8
8
  MAX_MARKDOWN_BYTES2,
9
9
  convertHTMLToMarkdown2
@@ -19,21 +19,21 @@ import {
19
19
  var exports_webfetch = {};
20
20
  __export(exports_webfetch, {
21
21
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
22
- Input: () => Input12,
22
+ Input: () => Input11,
23
23
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
24
24
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
25
- Plugin: () => Plugin32,
25
+ Plugin: () => Plugin13,
26
26
  WebFetchTool: () => exports_webfetch,
27
27
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
28
28
  description: () => description5,
29
29
  extractTextFromHTML: () => extractTextFromHTML2,
30
- name: () => name12
30
+ name: () => name11
31
31
  });
32
32
  import { ToolFailure } from "@opencode/ai";
33
33
  import { Duration, Effect, Schema } from "effect";
34
34
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
35
35
  import { Parser } from "htmlparser2";
36
- var name12 = "webfetch";
36
+ var name11 = "webfetch";
37
37
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
38
38
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
39
39
  var MAX_TIMEOUT_SECONDS2 = 120;
@@ -41,7 +41,7 @@ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as tex
41
41
 
42
42
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
43
43
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
44
- var Input12 = Schema.Struct({
44
+ var Input11 = Schema.Struct({
45
45
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
46
46
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
47
47
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -51,7 +51,7 @@ var Input12 = Schema.Struct({
51
51
  var Output = Schema.Struct({
52
52
  url: Schema.String,
53
53
  contentType: Schema.String,
54
- format: Input12.fields.format,
54
+ format: Input11.fields.format,
55
55
  output: Schema.String
56
56
  });
57
57
  var acceptHeader = (format) => {
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
94
94
  return extractTextFromHTML2(content);
95
95
  return content;
96
96
  };
97
- var Plugin32 = {
97
+ var Plugin13 = {
98
98
  id: "opencode.tool.webfetch",
99
99
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
100
100
  const http = yield* HttpClient.HttpClient;
101
- const permission = yield* Service68;
101
+ const permission = yield* Service54;
102
102
  yield* ctx.tool.transform((editor) => editor.add({
103
- name: name12,
103
+ name: name11,
104
104
  options: { codemode: false },
105
105
  description: description5,
106
- input: Input12,
106
+ input: Input11,
107
107
  output: Output,
108
108
  execute: (input, context) => Effect.gen(function* () {
109
109
  yield* Effect.try({
@@ -111,7 +111,7 @@ var Plugin32 = {
111
111
  catch: (error) => error
112
112
  });
113
113
  yield* permission.assert({
114
- action: name12,
114
+ action: name11,
115
115
  resources: [input.url],
116
116
  save: ["*"],
117
117
  metadata: input,
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
169
169
  parser.end();
170
170
  return text.trim();
171
171
  }
172
- export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin32, extractTextFromHTML2, exports_webfetch };
172
+ export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin13, extractTextFromHTML2, exports_webfetch };
@@ -6,11 +6,11 @@ import {
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options8,
9
+ Options: () => Options7,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
13
+ var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
15
15
 
16
- export { Options8, Spec2, exports_plugin3 };
16
+ export { Options7, Spec2, exports_plugin3 };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service56
3
- } from "./file-mutation-xs3xca8c.js";
2
+ Service64
3
+ } from "./file-mutation-fbnpe429.js";
4
4
  import {
5
- Service55
6
- } from "./file-mutation-jd41cg63.js";
5
+ Service63
6
+ } from "./file-mutation-abn7vnge.js";
7
7
  import {
8
8
  parse2
9
- } from "./file-mutation-e5yz98j3.js";
9
+ } from "./file-mutation-30e15dtz.js";
10
10
  import {
11
11
  ignore2,
12
12
  scan2
@@ -19,18 +19,18 @@ import {
19
19
  var exports_compatibility = {};
20
20
  __export(exports_compatibility, {
21
21
  ConfigCompatibilityPlugin: () => exports_compatibility,
22
- Plugin: () => Plugin15
22
+ Plugin: () => Plugin29
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { FSUtil } from "@opencode/util/fs-util";
26
26
  import path from "path";
27
27
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
28
- var Plugin15 = define({
28
+ var Plugin29 = define({
29
29
  id: "opencode.config.compatibility",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service55;
31
+ const config = yield* Service63;
32
32
  const fs = yield* FSUtil.Service;
33
- const watcher = yield* Service56;
33
+ const watcher = yield* Service64;
34
34
  const watches = yield* FiberMap.make();
35
35
  const changes = yield* PubSub.sliding(1);
36
36
  const lock = Semaphore.makeUnsafe(1);
@@ -76,4 +76,4 @@ var Plugin15 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin15, exports_compatibility };
79
+ export { Plugin29, exports_compatibility };
@@ -2,16 +2,16 @@ import {
2
2
  fromPromise2
3
3
  } from "./file-mutation-4v008n1t.js";
4
4
  import {
5
- Service56
6
- } from "./file-mutation-xs3xca8c.js";
5
+ Service64
6
+ } from "./file-mutation-fbnpe429.js";
7
7
  import {
8
- Service55
9
- } from "./file-mutation-jd41cg63.js";
8
+ Service63
9
+ } from "./file-mutation-abn7vnge.js";
10
10
  import {
11
- Service15,
11
+ Service47,
12
12
  statements2,
13
13
  decision2
14
- } from "./file-mutation-vm0wcjea.js";
14
+ } from "./file-mutation-eskv2f81.js";
15
15
  import {
16
16
  __export
17
17
  } from "./file-mutation-9rqn6x4v.js";
@@ -21,7 +21,7 @@ var exports_module = {};
21
21
  __export(exports_module, {
22
22
  LoadError: () => LoadError2,
23
23
  PluginModule: () => exports_module,
24
- make: () => make10
24
+ make: () => make6
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
27
27
  import { createPluginSources } from "@opencode/plugin/source";
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
30
30
  import path from "path";
31
31
  import { stat } from "node:fs/promises";
32
32
  import { fileURLToPath, pathToFileURL } from "url";
33
- var make10 = Effect.fn("PluginModule.make")(function* () {
34
- const config = yield* Service55;
35
- const managed = yield* Service15;
36
- const watcher = yield* Service56;
33
+ var make6 = Effect.fn("PluginModule.make")(function* () {
34
+ const config = yield* Service63;
35
+ const managed = yield* Service47;
36
+ const watcher = yield* Service64;
37
37
  const scope = yield* Effect.scope;
38
38
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
39
  const changes = yield* PubSub.unbounded();
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
118
118
  };
119
119
  });
120
120
 
121
- export { make10, LoadError2, exports_module };
121
+ export { make6, LoadError2, exports_module };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./file-mutation-f10m4awg.js";
4
+ } from "./file-mutation-5xn9952g.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
8
  } from "./file-mutation-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./file-mutation-8jztxfpf.js";
11
+ } from "./file-mutation-qjgzc4b4.js";
12
12
  import {
13
13
  __export
14
14
  } from "./file-mutation-9rqn6x4v.js";
@@ -4,30 +4,30 @@ import {
4
4
  import {
5
5
  Service86,
6
6
  node90
7
- } from "./file-mutation-f10m4awg.js";
7
+ } from "./file-mutation-5xn9952g.js";
8
8
  import {
9
9
  Service85,
10
10
  node89
11
- } from "./file-mutation-q1xw7kgx.js";
11
+ } from "./file-mutation-q7717vr4.js";
12
12
  import {
13
- Service80,
14
- node84
15
- } from "./file-mutation-t9e9esc1.js";
13
+ Service84,
14
+ node88
15
+ } from "./file-mutation-32d3hzha.js";
16
16
  import {
17
- ID15,
17
+ ID18,
18
18
  Current3,
19
- Info25,
19
+ Info29,
20
20
  UpdateInput4,
21
- Event17,
21
+ Event20,
22
22
  Vcs3
23
- } from "./file-mutation-mmkbt6v3.js";
23
+ } from "./file-mutation-c3cfh5w6.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./file-mutation-034tev2y.js";
27
+ } from "./file-mutation-aj7mw0zk.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./file-mutation-ayjs7tqn.js";
30
+ } from "./file-mutation-3cbjf1nt.js";
31
31
  import {
32
32
  __export
33
33
  } from "./file-mutation-9rqn6x4v.js";
@@ -36,14 +36,14 @@ import {
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID14,
40
- Info: () => Info24,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID17,
40
+ Info: () => Info28,
41
+ NotFoundError: () => NotFoundError12,
42
42
  Project: () => exports_project,
43
- Service: () => Service79,
43
+ Service: () => Service83,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node83,
46
+ node: () => node87,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID14 = ID15;
59
+ var ID17 = ID18;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info24 = Info25;
62
+ var Info28 = Info29;
63
63
  var UpdateInput3 = UpdateInput4;
64
64
 
65
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID14
65
+ class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
66
+ projectID: ID17
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service79 extends Context.Service()("@opencode/Project") {
77
+ class Service83 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,9 +98,9 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service79, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service80;
103
+ const git = yield* Service84;
104
104
  const proc = yield* AppProcess.Service;
105
105
  const bus = yield* Service85;
106
106
  const db = (yield* Service86).db;
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
112
112
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
113
113
  const changed = replaced ?? unarchived;
114
114
  if (changed)
115
- yield* bus.publish(Event17.Updated, fromRow(changed));
115
+ yield* bus.publish(Event20.Updated, fromRow(changed));
116
116
  if (!project.vcs)
117
117
  return project;
118
118
  const directories = [
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID14.global,
151
+ previous: project.previous ?? ID17.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
171
171
  time_updated: Date.now()
172
172
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
173
173
  if (!row)
174
- return yield* new NotFoundError11({ projectID: input.projectID });
174
+ return yield* new NotFoundError12({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
- yield* bus.publish(Event17.Updated, project);
176
+ yield* bus.publish(Event20.Updated, project);
177
177
  return project;
178
178
  });
179
179
  const activated = new Map;
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
184
184
  activated.set(projectID, now);
185
185
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
186
186
  if (row)
187
- yield* bus.publish(Event17.Updated, fromRow(row));
187
+ yield* bus.publish(Event20.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID14.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID14.make(root) : undefined;
226
+ return root ? ID17.make(root) : undefined;
227
227
  });
228
228
  const hgRoot = Effect.fnUntraced(function* (worktree) {
229
229
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
239
239
  return;
240
240
  const node = result.stdout.toString("utf8").split(`
241
241
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
242
- return node ? ID14.make(node) : undefined;
242
+ return node ? ID17.make(node) : undefined;
243
243
  });
244
244
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
245
245
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
247
247
  const id = previous ?? (yield* hgRoot(worktree));
248
248
  return {
249
249
  previous,
250
- id: id ?? ID14.global,
250
+ id: id ?? ID17.global,
251
251
  directory: worktree,
252
252
  vcs: { type: "hg", store: dotHg }
253
253
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
265
265
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
266
266
  return yield* save({
267
267
  previous,
268
- id: id ?? ID14.global,
268
+ id: id ?? ID17.global,
269
269
  directory: repo.worktree,
270
270
  canonical,
271
271
  vcs: { type: "git", store: repo.commonDirectory }
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* save({
282
- id: ID14.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
288
288
  const sweep = Effect.fn("Project.sweep")(function* () {
289
289
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
290
290
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
291
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID14.global))).all().pipe(Effect.orDie);
291
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
292
292
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
293
293
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
294
294
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
301
301
  return;
302
302
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
303
303
  if (row)
304
- yield* bus.publish(Event17.Updated, fromRow(row));
304
+ yield* bus.publish(Event20.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service79.of({ list, update, activate, resolve, sweep });
307
+ return Service83.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node83 = makeGlobalNode({
310
- service: Service79,
309
+ var node87 = makeGlobalNode({
310
+ service: Service83,
311
311
  layer,
312
- deps: [node89, node90, FSUtil.node, node84, AppProcess.node]
312
+ deps: [node89, node90, FSUtil.node, node88, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service79;
317
+ const project = yield* Service83;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node83]
320
+ deps: [node87]
321
321
  });
322
322
 
323
- export { ID14, Vcs2, Current2, Info24, UpdateInput3, NotFoundError11, root2, Service79, node83, sweepNode2, exports_project };
323
+ export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError12, root2, Service83, node87, sweepNode2, exports_project };
@@ -6,7 +6,7 @@ import {
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make23,
9
+ make: () => make22,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make23 = () => Effect.sync(makeUnsafe2);
29
+ var make22 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make23, exports_keyed_mutex };
31
+ export { makeUnsafe2, make22, exports_keyed_mutex };
@@ -4,26 +4,26 @@ import {
4
4
  Failed2
5
5
  } from "./file-mutation-zkg84ctx.js";
6
6
  import {
7
- Service78
8
- } from "./file-mutation-57k3rf66.js";
7
+ Service82
8
+ } from "./file-mutation-m6btfgkq.js";
9
9
  import {
10
- Service63
11
- } from "./file-mutation-jfqpy2va.js";
10
+ Service73
11
+ } from "./file-mutation-535rzh00.js";
12
12
  import {
13
13
  Service14
14
- } from "./file-mutation-yt06m8xx.js";
14
+ } from "./file-mutation-r6b9cme8.js";
15
15
  import {
16
- Service62,
16
+ Service72,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./file-mutation-w7ceskr2.js";
19
+ } from "./file-mutation-gctveymt.js";
20
20
  import {
21
- Service68
22
- } from "./file-mutation-kp4a0nkj.js";
21
+ Service54
22
+ } from "./file-mutation-bgmahzg8.js";
23
23
  import {
24
- Service67,
24
+ Service53,
25
25
  resolvePath2
26
- } from "./file-mutation-0jy8s6kx.js";
26
+ } from "./file-mutation-da9t4t99.js";
27
27
  import {
28
28
  fileDiff2
29
29
  } from "./file-mutation-6prwharc.js";
@@ -38,9 +38,9 @@ __export(exports_patch, {
38
38
  Input: () => Input7,
39
39
  Output: () => Output5,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin26,
41
+ Plugin: () => Plugin9,
42
42
  name: () => name7,
43
- toModelContent: () => toModelContent2
43
+ toModelContent: () => toModelContent3
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -100,20 +100,20 @@ var Output5 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent2 = (output) => [
103
+ var toModelContent3 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin26 = {
108
+ var Plugin9 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service63;
112
- const access = yield* Service67;
113
- const fileMutation = yield* Service62;
111
+ const environment = yield* Service73;
112
+ const access = yield* Service53;
113
+ const fileMutation = yield* Service72;
114
114
  const formatter = yield* Service14;
115
- const location = yield* Service78;
116
- const permission = yield* Service68;
115
+ const location = yield* Service82;
116
+ const permission = yield* Service54;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
118
  name: name7,
119
119
  options: { codemode: false, permission: "edit" },
@@ -266,7 +266,7 @@ var Plugin26 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent2(output),
269
+ content: toModelContent3(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name7, Input7, Applied2, Output5, toModelContent2, Plugin26, exports_patch };
329
+ export { name7, Input7, Applied2, Output5, toModelContent3, Plugin9, exports_patch };