@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
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service56
3
- } from "./file-mutation-xs3xca8c.js";
2
+ Service64
3
+ } from "./file-mutation-fbnpe429.js";
4
4
  import {
5
- Service78
6
- } from "./file-mutation-57k3rf66.js";
5
+ Service82
6
+ } from "./file-mutation-m6btfgkq.js";
7
7
  import {
8
- Service55
9
- } from "./file-mutation-jd41cg63.js";
8
+ Service63
9
+ } from "./file-mutation-abn7vnge.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./file-mutation-jneg3k74.js";
12
+ } from "./file-mutation-e5dqjz6v.js";
13
13
  import {
14
14
  File2,
15
- Service36
16
- } from "./file-mutation-s7112yyh.js";
15
+ Service44
16
+ } from "./file-mutation-01k3925y.js";
17
17
  import {
18
18
  __export
19
19
  } from "./file-mutation-9rqn6x4v.js";
@@ -22,7 +22,7 @@ import {
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin10
25
+ Plugin: () => Plugin24
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin10 = define({
34
+ var Plugin24 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service36;
37
+ const discovery = yield* Service44;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service55;
39
+ const config = yield* Service63;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service78;
44
- const watcher = yield* Service56;
43
+ const location = yield* Service82;
44
+ const watcher = yield* Service64;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -174,4 +174,4 @@ function isUrl(source) {
174
174
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
175
175
  }
176
176
 
177
- export { Plugin10, exports_instruction };
177
+ export { Plugin24, exports_instruction };
@@ -2,9 +2,9 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./file-mutation-z5v4ffb3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./file-mutation-t9e9esc1.js";
5
+ Service84,
6
+ node88
7
+ } from "./file-mutation-32d3hzha.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
@@ -12,9 +12,9 @@ import {
12
12
  same2
13
13
  } from "./file-mutation-bstexjd6.js";
14
14
  import {
15
- Service58,
16
- node61
17
- } from "./file-mutation-p7bm53gt.js";
15
+ Service67,
16
+ node70
17
+ } from "./file-mutation-fm0kc2vz.js";
18
18
  import {
19
19
  __export
20
20
  } from "./file-mutation-9rqn6x4v.js";
@@ -30,7 +30,7 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service47,
33
+ Service: () => Service46,
34
34
  isError: () => isError2,
35
35
  node: () => node49,
36
36
  validateBranch: () => validateBranch2
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service47 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service46 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service47, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service80;
106
+ const git = yield* Service84;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service58;
110
- return Service47.of({
109
+ const kv = yield* Service67;
110
+ return Service46.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
168
168
  });
169
169
  }));
170
170
  var node49 = makeGlobalNode({
171
- service: Service47,
171
+ service: Service46,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node61]
173
+ deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node70]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service47, isError2, validateBranch2, node49, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service46, isError2, validateBranch2, node49, exports_repository_cache };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-mutation-q1xw7kgx.js";
4
+ } from "./file-mutation-q7717vr4.js";
5
5
  import {
6
- Service58,
7
- node61
8
- } from "./file-mutation-p7bm53gt.js";
6
+ Service67,
7
+ node70
8
+ } from "./file-mutation-fm0kc2vz.js";
9
9
  import {
10
10
  create3
11
11
  } from "./file-mutation-vd3b3yk9.js";
@@ -17,8 +17,8 @@ import {
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event5,
21
- ID: () => ID4,
20
+ Event: () => Event4,
21
+ ID: () => ID3,
22
22
  Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service17,
31
+ Service: () => Service16,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node20
33
+ node: () => node19
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event5 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
40
+ import { Event as Event4 } from "@opencode/schema/websearch";
41
+ var ID3 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID3
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID3,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service17 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service16 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service17, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
69
69
  const bus = yield* Service85;
70
- const kv = yield* Service58;
70
+ const kv = yield* Service67;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service17.of({
127
+ return Service16.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node20 = makeLocationNode({
188
- service: Service17,
187
+ var node19 = makeLocationNode({
188
+ service: Service16,
189
189
  layer,
190
- deps: [node89, node61]
190
+ deps: [node89, node70]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service17, node20, exports_websearch3, Event5 };
193
+ export { ID3, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service16, node19, exports_websearch3, Event4 };
@@ -2,14 +2,14 @@ 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
- Service67
9
- } from "./file-mutation-0jy8s6kx.js";
8
+ Service53
9
+ } from "./file-mutation-da9t4t99.js";
10
10
  import {
11
- Service7
12
- } from "./file-mutation-6tkfv6vy.js";
11
+ Service6
12
+ } from "./file-mutation-dqfc4a56.js";
13
13
  import {
14
14
  NotFound3
15
15
  } from "./file-mutation-zkg84ctx.js";
@@ -22,8 +22,8 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service32
26
- } from "./file-mutation-5jn2rvwm.js";
25
+ Service27
26
+ } from "./file-mutation-y9nmyqm6.js";
27
27
  import {
28
28
  __export
29
29
  } from "./file-mutation-9rqn6x4v.js";
@@ -31,17 +31,17 @@ import {
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input10,
35
- Plugin: () => Plugin30,
34
+ Input: () => Input13,
35
+ Plugin: () => Plugin15,
36
36
  ReadTool: () => exports_read,
37
- name: () => name10,
38
- toModelContent: () => toModelContent5
37
+ name: () => name13,
38
+ toModelContent: () => toModelContent6
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name10 = "read";
44
+ var name13 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input10 = LocationInput;
55
+ var Input13 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin30 = {
57
+ var Plugin15 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service32;
61
- const access = yield* Service67;
62
- const sessionInstructions = yield* Service7;
60
+ const reader = yield* Service27;
61
+ const access = yield* Service53;
62
+ const sessionInstructions = yield* Service6;
63
63
  const fs = yield* FSUtil.Service;
64
- const location = yield* Service78;
64
+ const location = yield* Service82;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name10,
66
+ name: name13,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input10,
69
+ input: Input13,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin30 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent5(result.path, input.offset, result.output),
113
+ content: toModelContent6(result.path, input.offset, result.output),
114
114
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
115
115
  })), Effect.mapError((error) => {
116
116
  if (error instanceof ToolFailure)
@@ -143,7 +143,7 @@ ${suggestions.join(`
143
143
  });
144
144
  })
145
145
  };
146
- var toModelContent5 = (path, offset, output) => {
146
+ var toModelContent6 = (path, offset, output) => {
147
147
  if (output.type === "file" && output.encoding === "base64")
148
148
  return [
149
149
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent5 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name10, Input10, Plugin30, toModelContent5, exports_read };
182
+ export { name13, Input13, Plugin15, toModelContent6, exports_read };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service41
3
- } from "./file-mutation-sbegqkxp.js";
2
+ Service42
3
+ } from "./file-mutation-6nc585nh.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./file-mutation-a610t88q.js";
6
+ } from "./file-mutation-ezna1kdx.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./file-mutation-gx0r2313.js";
9
+ } from "./file-mutation-5rxgzxpx.js";
10
10
  import {
11
- Service53
12
- } from "./file-mutation-q8ks7c1m.js";
11
+ Service35
12
+ } from "./file-mutation-esd6nksf.js";
13
13
  import {
14
14
  __export
15
15
  } from "./file-mutation-9rqn6x4v.js";
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service41;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
25
+ const instances = yield* Service42;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service35), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-mutation-q1xw7kgx.js";
4
+ } from "./file-mutation-q7717vr4.js";
5
5
  import {
6
6
  create3
7
7
  } from "./file-mutation-vd3b3yk9.js";
@@ -10,24 +10,24 @@ import {
10
10
  } from "./file-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command5 = {};
14
- __export(exports_command5, {
15
- Command: () => exports_command5,
16
- Event: () => Event12,
13
+ var exports_command4 = {};
14
+ __export(exports_command4, {
15
+ Command: () => exports_command4,
16
+ Event: () => Event6,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info17,
19
- NotFoundError: () => NotFoundError7,
20
- Service: () => Service65,
21
- layer: () => layer23,
22
- node: () => node69
18
+ Info: () => Info7,
19
+ NotFoundError: () => NotFoundError4,
20
+ Service: () => Service37,
21
+ layer: () => layer18,
22
+ node: () => node40
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event12 } from "@opencode/schema/command";
28
- var Info17 = Command.Info;
27
+ import { Event as Event6 } from "@opencode/schema/command";
28
+ var Info7 = Command.Info;
29
29
 
30
- class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service65 extends Context.Service()("@opencode/Command") {
42
+ class Service37 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer23 = Layer.effect(Service65, Effect.gen(function* () {
44
+ var layer18 = Layer.effect(Service37, Effect.gen(function* () {
45
45
  const bus = yield* Service85;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer23 = Layer.effect(Service65, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info17.make({
54
+ const info = (definition) => Info7.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service65.of({
58
+ return Service37.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer23 = Layer.effect(Service65, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node69 = makeLocationNode({
75
- service: Service65,
76
- layer: layer23,
74
+ var node40 = makeLocationNode({
75
+ service: Service37,
76
+ layer: layer18,
77
77
  deps: [node89]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info17, NotFoundError7, ExecutionError2, Service65, layer23, node69, exports_command5, Event12 };
89
+ export { Info7, NotFoundError4, ExecutionError2, Service37, layer18, node40, exports_command4, Event6 };
@@ -9,14 +9,14 @@ import {
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service12,
13
- node: () => node14
12
+ Service: () => Service5,
13
+ node: () => node7
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service12, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service12.of({
44
+ return Service5.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
51
+ var node7 = makeLocationNode({ service: Service5, layer, deps: [] });
52
52
 
53
- export { Service12, node14, exports_location_watcher_policy };
53
+ export { Service5, node7, exports_location_watcher_policy };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-mutation-q1xw7kgx.js";
4
+ } from "./file-mutation-q7717vr4.js";
5
5
  import {
6
6
  create3
7
7
  } from "./file-mutation-vd3b3yk9.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./file-mutation-kp4a0nkj.js";
10
+ } from "./file-mutation-bgmahzg8.js";
11
11
  import {
12
12
  __export
13
13
  } from "./file-mutation-9rqn6x4v.js";
@@ -17,16 +17,16 @@ var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event10,
21
- ID: () => ID6,
22
- Info: () => Info10,
20
+ Event: () => Event5,
21
+ ID: () => ID4,
22
+ Info: () => Info6,
23
23
  Name: () => Name2,
24
- Service: () => Service53,
24
+ Service: () => Service35,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available3,
29
- node: () => node55,
29
+ node: () => node38,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -35,13 +35,13 @@ import { FSUtil } from "@opencode/util/fs-util";
35
35
  import path from "path";
36
36
  import { Context, Effect, Layer } from "effect";
37
37
  import { Skill } from "@opencode/schema/skill";
38
- import { Event as Event10 } from "@opencode/schema/skill";
38
+ import { Event as Event5 } from "@opencode/schema/skill";
39
39
  var DirectorySource2 = Skill.DirectorySource;
40
40
  var UrlSource2 = Skill.UrlSource;
41
41
  var EmbeddedSource2 = Skill.EmbeddedSource;
42
- var Source4 = Skill.Source;
43
- var Info10 = Skill.Info;
44
- var ID6 = Skill.ID;
42
+ var Source3 = Skill.Source;
43
+ var Info6 = Skill.Info;
44
+ var ID4 = Skill.ID;
45
45
  var Name2 = Skill.Name;
46
46
  var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
47
47
  var toModelOutput3 = (skill, files) => {
@@ -78,21 +78,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
78
78
  };
79
79
  });
80
80
 
81
- class Service53 extends Context.Service()("@opencode/Skill") {
81
+ class Service35 extends Context.Service()("@opencode/Skill") {
82
82
  }
83
- var layer = Layer.effect(Service53, Effect.gen(function* () {
83
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
84
84
  const bus = yield* Service85;
85
85
  const state = create3({
86
86
  name: "skill",
87
87
  initial: () => ({ skills: new Map }),
88
88
  editor: (editor) => ({
89
89
  list: () => Array.from(editor.skills.values()),
90
- get: (id) => editor.skills.get(ID6.make(id)),
90
+ get: (id) => editor.skills.get(ID4.make(id)),
91
91
  add: (skill) => {
92
92
  editor.skills.set(skill.id, { ...skill });
93
93
  },
94
94
  update: (id, update) => {
95
- const key = ID6.make(id);
95
+ const key = ID4.make(id);
96
96
  const current = editor.skills.get(key);
97
97
  if (!current)
98
98
  return;
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
100
100
  current.id = key;
101
101
  },
102
102
  remove: (id) => {
103
- editor.skills.delete(ID6.make(id));
103
+ editor.skills.delete(ID4.make(id));
104
104
  }
105
105
  }),
106
106
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
107
107
  });
108
- return Service53.of({
108
+ return Service35.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  get: Effect.fn("Skill.get")(function* (id) {
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node55 = makeLocationNode({
120
- service: Service53,
119
+ var node38 = makeLocationNode({
120
+ service: Service35,
121
121
  layer,
122
122
  deps: [node89]
123
123
  });
124
124
 
125
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID6, Name2, available3, toModelOutput3, prepare3, Service53, node55, exports_skill5, Event10 };
125
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID4, Name2, available3, toModelOutput3, prepare3, Service35, node38, exports_skill5, Event5 };