@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
@@ -5,28 +5,28 @@ import {
5
5
  RelativePath2
6
6
  } from "./file-mutation-z5v4ffb3.js";
7
7
  import {
8
- Service78
9
- } from "./file-mutation-57k3rf66.js";
8
+ Service82
9
+ } from "./file-mutation-m6btfgkq.js";
10
10
  import {
11
- Service63
12
- } from "./file-mutation-jfqpy2va.js";
11
+ Service73
12
+ } from "./file-mutation-535rzh00.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service52
16
- } from "./file-mutation-myc1cmw5.js";
15
+ Service71
16
+ } from "./file-mutation-tq3mzssj.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./file-mutation-pr21x5ks.js";
23
+ } from "./file-mutation-nffa1r89.js";
24
24
  import {
25
- Service68
26
- } from "./file-mutation-kp4a0nkj.js";
25
+ Service54
26
+ } from "./file-mutation-bgmahzg8.js";
27
27
  import {
28
- Service67
29
- } from "./file-mutation-0jy8s6kx.js";
28
+ Service53
29
+ } from "./file-mutation-da9t4t99.js";
30
30
  import {
31
31
  __export
32
32
  } from "./file-mutation-9rqn6x4v.js";
@@ -35,17 +35,17 @@ import {
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input9,
39
- Output: () => Output7,
40
- Plugin: () => Plugin28,
41
- name: () => name9,
42
- toModelContent: () => toModelContent4
38
+ Input: () => Input12,
39
+ Output: () => Output9,
40
+ Plugin: () => Plugin14,
41
+ name: () => name12,
42
+ toModelContent: () => toModelContent5
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name9 = "grep";
48
- var Input9 = Schema.Struct({
47
+ var name12 = "grep";
48
+ var Input12 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output7 = Schema.Array(Match2);
69
- var toModelContent4 = (matches, truncated = false) => {
68
+ var Output9 = Schema.Array(Match2);
69
+ var toModelContent5 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin28 = {
86
+ var Plugin14 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service63;
90
- const ripgrep = yield* Service52;
91
- const location = yield* Service78;
92
- const access = yield* Service67;
93
- const permission = yield* Service68;
89
+ const environment = yield* Service73;
90
+ const ripgrep = yield* Service71;
91
+ const location = yield* Service82;
92
+ const access = yield* Service53;
93
+ const permission = yield* Service54;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name9,
95
+ name: name12,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input9,
99
- output: Output7,
98
+ input: Input12,
99
+ output: Output9,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name9,
105
+ action: name12,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin28 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent4(result.matches.map((match) => ({
147
+ content: toModelContent5(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin28 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name9, Input9, Output7, toModelContent4, Plugin28, exports_grep };
157
+ export { name12, Input12, Output9, toModelContent5, Plugin14, exports_grep };
@@ -2,8 +2,8 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./file-mutation-z5v4ffb3.js";
4
4
  import {
5
- Service78
6
- } from "./file-mutation-57k3rf66.js";
5
+ Service82
6
+ } from "./file-mutation-m6btfgkq.js";
7
7
  import {
8
8
  __export
9
9
  } from "./file-mutation-9rqn6x4v.js";
@@ -13,7 +13,7 @@ var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names4,
16
+ names: () => names3,
17
17
  preferencePaths: () => preferencePaths2,
18
18
  stripPreferenceMetadata: () => stripPreferenceMetadata2,
19
19
  systemDirectory: () => systemDirectory2
@@ -23,7 +23,7 @@ import path from "path";
23
23
  import { Effect } from "effect";
24
24
  import { FSUtil } from "@opencode/util/fs-util";
25
25
  import { Global } from "@opencode/util/global";
26
- var names4 = ["opencode.json", "opencode.jsonc"];
26
+ var names3 = ["opencode.json", "opencode.jsonc"];
27
27
  function systemDirectory2(platform = process.platform, env = process.env) {
28
28
  if (platform === "darwin")
29
29
  return AbsolutePath2.make("/Library/Application Support/opencode");
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
54
54
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
55
55
  const fs = yield* FSUtil.Service;
56
56
  const global = yield* Global.Service;
57
- const location = yield* Service78;
57
+ const location = yield* Service82;
58
58
  const system = (() => {
59
59
  if (options?.system === false)
60
60
  return;
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
71
71
  const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
72
72
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
73
73
  const parent = yield* fs.resolve(directory);
74
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
74
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
75
75
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
76
76
  const globalEnabled = options?.global !== false;
77
- const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
77
+ const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names3.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
78
78
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
79
79
  const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
80
80
  return {
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
99
99
  };
100
100
  });
101
101
 
102
- export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
102
+ export { names3, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
@@ -6,13 +6,13 @@ import {
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service38,
9
+ Service: () => Service39,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service38 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service39 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service38, exports_runner };
18
+ export { DrainResult2, Service39, exports_runner };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./file-mutation-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./file-mutation-51wwr1cb.js";
7
+ } from "./file-mutation-yj6jvem3.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service55
4
- } from "./file-mutation-jd41cg63.js";
3
+ Service63
4
+ } from "./file-mutation-abn7vnge.js";
5
5
  import {
6
- Service4
7
- } from "./file-mutation-cw4h5047.js";
6
+ Service7
7
+ } from "./file-mutation-4dnfsash.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./file-mutation-6pjqjmy2.js";
@@ -16,15 +16,15 @@ import {
16
16
  var exports_compaction = {};
17
17
  __export(exports_compaction, {
18
18
  ConfigCompactionPlugin: () => exports_compaction,
19
- Plugin: () => Plugin11
19
+ Plugin: () => Plugin25
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin11 = define({
23
+ var Plugin25 = define({
24
24
  id: "opencode.config.compaction",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service55;
27
- const compaction = yield* Service4;
26
+ const config = yield* Service63;
27
+ const compaction = yield* Service7;
28
28
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
29
29
  yield* compaction.transform((editor) => {
30
30
  editor.configure({ precompute: latest2(loaded.entries, "experimental")?.background_compaction === true });
@@ -41,4 +41,4 @@ var Plugin11 = define({
41
41
  })
42
42
  });
43
43
 
44
- export { Plugin11, exports_compaction };
44
+ export { Plugin25, exports_compaction };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  key2
3
- } from "./file-mutation-rrad2nt9.js";
3
+ } from "./file-mutation-bjhzkqyk.js";
4
4
  import {
5
5
  Service85
6
- } from "./file-mutation-q1xw7kgx.js";
6
+ } from "./file-mutation-q7717vr4.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./file-mutation-s4rs4ktr.js";
9
+ Event18
10
+ } from "./file-mutation-9q4552st.js";
11
11
  import {
12
- ID16,
12
+ ID14,
13
13
  MethodID2
14
- } from "./file-mutation-vxnb1daw.js";
14
+ } from "./file-mutation-dzgdh8q8.js";
15
15
  import {
16
16
  ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service77
20
- } from "./file-mutation-pafr3hmb.js";
19
+ Service76
20
+ } from "./file-mutation-5pex491w.js";
21
21
  import {
22
22
  ID12
23
- } from "./file-mutation-hrwtt92m.js";
23
+ } from "./file-mutation-s5ypg3ex.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./file-mutation-gh9nzn29.js";
27
+ } from "./file-mutation-s4yz0bzs.js";
28
28
  import {
29
29
  useragent2
30
- } from "./file-mutation-0fn7fmmf.js";
30
+ } from "./file-mutation-xcfcjf9d.js";
31
31
  import {
32
- ID10
33
- } from "./file-mutation-3jt9gp25.js";
32
+ ID9
33
+ } from "./file-mutation-2hbghhry.js";
34
34
  import {
35
35
  get5
36
36
  } from "./file-mutation-3nnrz6f6.js";
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
66
66
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
67
67
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
68
68
  var oauth = (app) => ({
69
- integrationID: ID16.make("github-copilot"),
69
+ integrationID: ID14.make("github-copilot"),
70
70
  method: {
71
71
  id: methodID,
72
72
  type: "oauth",
@@ -164,7 +164,7 @@ var oauth = (app) => ({
164
164
  var GithubCopilotPlugin2 = define({
165
165
  id: "opencode.provider.github.copilot",
166
166
  effect: Effect.fn(function* (ctx) {
167
- const providers = yield* Service77;
167
+ const providers = yield* Service76;
168
168
  const bus = yield* Service85;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  const loaded = {};
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
238
238
  }
239
239
  });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  yield* refresh().pipe(Effect.forkScoped);
243
243
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
244
244
  if (evt.model.providerID !== ID13.githubCopilot)
@@ -266,7 +266,7 @@ var GithubCopilotPlugin2 = define({
266
266
  return;
267
267
  if (!loaded.baseURL || !loaded.token || !loaded.models)
268
268
  return;
269
- const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
269
+ const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
270
270
  return;
271
271
  }));
272
272
  if (agent?.data.model)
@@ -4,12 +4,12 @@ import {
4
4
  RelativePath2
5
5
  } from "./file-mutation-z5v4ffb3.js";
6
6
  import {
7
- Service63,
8
- node66
9
- } from "./file-mutation-jfqpy2va.js";
7
+ Service73,
8
+ node76
9
+ } from "./file-mutation-535rzh00.js";
10
10
  import {
11
11
  Content3
12
- } from "./file-mutation-pr21x5ks.js";
12
+ } from "./file-mutation-nffa1r89.js";
13
13
  import {
14
14
  detect2
15
15
  } from "./file-mutation-2z1j29yd.js";
@@ -22,7 +22,7 @@ var exports_read_filesystem = {};
22
22
  __export(exports_read_filesystem, {
23
23
  BinaryFileError: () => BinaryFileError2,
24
24
  FileContent: () => FileContent2,
25
- ListEntry: () => ListEntry3,
25
+ ListEntry: () => ListEntry2,
26
26
  ListPage: () => ListPage2,
27
27
  MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
28
28
  MAX_READ_BYTES: () => MAX_READ_BYTES2,
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service32,
36
+ Service: () => Service27,
37
37
  TextPage: () => TextPage2,
38
- node: () => node36,
38
+ node: () => node30,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -101,20 +101,20 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
101
101
  next: Schema.optionalKey(PositiveInt2)
102
102
  }) {
103
103
  }
104
- var ListEntry3 = Schema.Struct({
104
+ var ListEntry2 = Schema.Struct({
105
105
  path: RelativePath2,
106
106
  type: Schema.Literals(["file", "directory", "symlink"])
107
107
  }).annotate({ identifier: "ReadTool.ListEntry" });
108
108
 
109
109
  class ListPage2 extends Schema.Class("ReadTool.ListPage")({
110
110
  type: Schema.Literal("list-page"),
111
- entries: Schema.Array(ListEntry3),
111
+ entries: Schema.Array(ListEntry2),
112
112
  truncated: Schema.Boolean,
113
113
  next: Schema.optionalKey(PositiveInt2)
114
114
  }) {
115
115
  }
116
116
 
117
- class Service32 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service27 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -227,7 +227,7 @@ var list = (items, page) => {
227
227
  const offset = page.offset || 1;
228
228
  const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
229
229
  const visible = items.flatMap((item) => item.type === "other" ? [] : [
230
- ListEntry3.make({
230
+ ListEntry2.make({
231
231
  path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
232
232
  type: item.type
233
233
  })
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service32, Effect.gen(function* () {
334
- const environment = yield* Service63;
335
- return Service32.of({
333
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
334
+ const environment = yield* Service73;
335
+ return Service27.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node36 = makeLocationNode({ service: Service32, layer, deps: [node66] });
340
+ var node30 = makeLocationNode({ service: Service27, layer, deps: [node76] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service32, read2, node36, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service27, read2, node30, exports_read_filesystem };
@@ -1,8 +1,8 @@
1
1
  import {
2
- ID16,
3
- Service82,
4
- node86
5
- } from "./file-mutation-vxnb1daw.js";
2
+ ID14,
3
+ Service77,
4
+ node81
5
+ } from "./file-mutation-dzgdh8q8.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -15,13 +15,13 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service77,
19
- node81
20
- } from "./file-mutation-pafr3hmb.js";
21
- import {
22
18
  Service76,
23
19
  node80
24
- } from "./file-mutation-k9kmnnb3.js";
20
+ } from "./file-mutation-5pex491w.js";
21
+ import {
22
+ Service59,
23
+ node62
24
+ } from "./file-mutation-59syh3a3.js";
25
25
  import {
26
26
  ID12,
27
27
  VariantID2,
@@ -29,7 +29,7 @@ import {
29
29
  Service75,
30
30
  node79,
31
31
  supportsText2
32
- } from "./file-mutation-hrwtt92m.js";
32
+ } from "./file-mutation-s5ypg3ex.js";
33
33
  import {
34
34
  __export
35
35
  } from "./file-mutation-9rqn6x4v.js";
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service74,
44
+ Service: () => Service58,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer25,
52
- node: () => node78,
51
+ layer: () => layer24,
52
+ node: () => node61,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service74 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service58 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
269
269
  };
270
270
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
271
271
  var hasPackage2 = (model) => Boolean(model.package);
272
- var layer25 = Layer.effect(Service74, Effect.gen(function* () {
273
- const providers = yield* Service77;
272
+ var layer24 = Layer.effect(Service58, Effect.gen(function* () {
273
+ const providers = yield* Service76;
274
274
  const models = yield* Service75;
275
- const integrations = yield* Service82;
275
+ const integrations = yield* Service77;
276
276
  const npm = yield* Npm.Service;
277
- const aisdk = yield* Service76;
277
+ const aisdk = yield* Service59;
278
278
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
279
279
  const provider = yield* providers.get(selected.providerID);
280
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
280
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
281
281
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
282
282
  const selectedVariant = yield* withVariant2(selected, variant);
283
283
  const runtimeInfo = {
@@ -304,7 +304,7 @@ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
304
304
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
305
305
  };
306
306
  });
307
- return Service74.of({
307
+ return Service58.of({
308
308
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
309
309
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
310
310
  if (!selected)
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
321
321
  const name = packageName2(packageName);
322
322
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
323
323
  }
324
- var node78 = makeLocationNode({
325
- service: Service74,
326
- layer: layer25,
327
- deps: [node81, node79, node86, Npm.node, node80]
324
+ var node61 = makeLocationNode({
325
+ service: Service58,
326
+ layer: layer24,
327
+ deps: [node80, node79, node81, Npm.node, node62]
328
328
  });
329
329
 
330
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service74, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer25, node78, exports_model_resolver };
330
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node61, exports_model_resolver };