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

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{vcs-3wyhrqfb.js → file-mutation-00zh2tpm.js} +8 -8
  8. package/dist/chunks/{vcs-034tev2y.js → file-mutation-034tev2y.js} +2 -2
  9. package/dist/chunks/{vcs-rek8exz1.js → file-mutation-03cjnd07.js} +32 -32
  10. package/dist/chunks/{vcs-7cx8wp0a.js → file-mutation-0421tmwc.js} +9 -9
  11. package/dist/chunks/{vcs-8xw1gbxj.js → file-mutation-04ppth10.js} +25 -25
  12. package/dist/chunks/{vcs-e553kem5.js → file-mutation-06ddj0xt.js} +21 -21
  13. package/dist/chunks/{vcs-qz7bsaqe.js → file-mutation-0fn7fmmf.js} +10 -10
  14. package/dist/chunks/{vcs-fznmdakp.js → file-mutation-0h8y3ex8.js} +4 -4
  15. package/dist/chunks/{vcs-ggkz6eda.js → file-mutation-0j1f7v6y.js} +9 -9
  16. package/dist/chunks/{vcs-9wdb4fag.js → file-mutation-0jy8s6kx.js} +18 -18
  17. package/dist/chunks/{vcs-46qzr04y.js → file-mutation-0t3ga4zv.js} +14 -14
  18. package/dist/chunks/{vcs-pe8zxjjb.js → file-mutation-0z1e74sk.js} +11 -11
  19. package/dist/chunks/{vcs-8c677wsw.js → file-mutation-0zc3gznn.js} +31 -31
  20. package/dist/chunks/{vcs-1kt6mkhz.js → file-mutation-1bb7jn70.js} +7 -7
  21. package/dist/chunks/{vcs-dbya8kmy.js → file-mutation-1daas5y7.js} +78 -78
  22. package/dist/chunks/{vcs-p63vsd4p.js → file-mutation-1eaqqsxz.js} +35 -35
  23. package/dist/chunks/{vcs-1ep2p91f.js → file-mutation-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{vcs-m33a7njg.js → file-mutation-1k8pspw3.js} +34 -34
  25. package/dist/chunks/{vcs-vt7gs0sa.js → file-mutation-1qgwrgfd.js} +28 -28
  26. package/dist/chunks/{vcs-1x2knyw4.js → file-mutation-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{vcs-p7vhpwh8.js → file-mutation-1yq9hg58.js} +5 -5
  28. package/dist/chunks/{vcs-4ytg8f8f.js → file-mutation-27bs79w9.js} +2 -2
  29. package/dist/chunks/{vcs-kxcz00f7.js → file-mutation-293dk3rs.js} +23 -23
  30. package/dist/chunks/{vcs-90n99h22.js → file-mutation-29kdrth0.js} +6 -6
  31. package/dist/chunks/{vcs-vs6edpr4.js → file-mutation-2c4qk5dm.js} +24 -24
  32. package/dist/chunks/{vcs-5t6a11tz.js → file-mutation-2cvbz1q2.js} +20 -20
  33. package/dist/chunks/{vcs-5ahgw1dr.js → file-mutation-2jmbxqq8.js} +15 -15
  34. package/dist/chunks/{vcs-abk8akr1.js → file-mutation-2qv8esx8.js} +24 -24
  35. package/dist/chunks/{vcs-dgeqmw5w.js → file-mutation-2v6yzfrh.js} +28 -28
  36. package/dist/chunks/{vcs-hnacnv9c.js → file-mutation-2y6rfkwc.js} +9 -9
  37. package/dist/chunks/{vcs-2z1j29yd.js → file-mutation-2z1j29yd.js} +1 -1
  38. package/dist/chunks/{vcs-h4tb54mh.js → file-mutation-3405mbpt.js} +21 -21
  39. package/dist/chunks/{vcs-41sv4bbj.js → file-mutation-3a12p9c1.js} +16 -16
  40. package/dist/chunks/{vcs-m22273wf.js → file-mutation-3bnc55rz.js} +3 -3
  41. package/dist/chunks/{vcs-nqqb3qew.js → file-mutation-3dcnb5me.js} +11 -11
  42. package/dist/chunks/{vcs-7c486ac5.js → file-mutation-3f3erb08.js} +8 -8
  43. package/dist/chunks/{vcs-q15q0jep.js → file-mutation-3g9qcz5y.js} +11 -11
  44. package/dist/chunks/{vcs-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{vcs-3wffcd5s.js → file-mutation-3jt9gp25.js} +22 -22
  46. package/dist/chunks/{vcs-wnaab4d3.js → file-mutation-3n1ze0gv.js} +36 -36
  47. package/dist/chunks/{vcs-3nnrz6f6.js → file-mutation-3nnrz6f6.js} +1 -1
  48. package/dist/chunks/{vcs-vzmjdaw1.js → file-mutation-3p1jq0np.js} +9 -9
  49. package/dist/chunks/{vcs-jjs45sef.js → file-mutation-3vf4gpqx.js} +13 -13
  50. package/dist/chunks/{vcs-vw4tn0tb.js → file-mutation-3w6s660c.js} +18 -18
  51. package/dist/chunks/{vcs-szbkmyzk.js → file-mutation-3y39jmrc.js} +19 -19
  52. package/dist/chunks/{vcs-ayg1wwbx.js → file-mutation-40jy4byv.js} +23 -23
  53. package/dist/chunks/{vcs-dwspvcwq.js → file-mutation-416sv9a0.js} +13 -13
  54. package/dist/chunks/{vcs-pja5mqfm.js → file-mutation-4bm89b1z.js} +14 -14
  55. package/dist/chunks/{vcs-87rf06dy.js → file-mutation-4kxjpvmm.js} +27 -27
  56. package/dist/chunks/{vcs-d9msb9sj.js → file-mutation-4qeetvzp.js} +16 -16
  57. package/dist/chunks/{vcs-4v008n1t.js → file-mutation-4v008n1t.js} +1 -1
  58. package/dist/chunks/{vcs-99cj8zr2.js → file-mutation-4xg6svek.js} +32 -32
  59. package/dist/chunks/{vcs-4xvmh7wp.js → file-mutation-4xvmh7wp.js} +3 -3
  60. package/dist/chunks/{vcs-b1xsayxh.js → file-mutation-51wwr1cb.js} +7 -7
  61. package/dist/chunks/{vcs-2fmpy7yj.js → file-mutation-537zfnwd.js} +18 -18
  62. package/dist/chunks/{vcs-3xhcmk8x.js → file-mutation-57k3rf66.js} +17 -17
  63. package/dist/chunks/{vcs-bgwvksk6.js → file-mutation-5ahehfm9.js} +15 -15
  64. package/dist/chunks/{vcs-q11fyp6d.js → file-mutation-5jn2rvwm.js} +17 -17
  65. package/dist/chunks/{vcs-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
  66. package/dist/chunks/{vcs-kn7j2k6k.js → file-mutation-5q3wnkda.js} +9 -9
  67. package/dist/chunks/{vcs-tbynrmzc.js → file-mutation-5rv30s6t.js} +94 -94
  68. package/dist/chunks/{vcs-rdsms1bd.js → file-mutation-5vmh6pxt.js} +25 -25
  69. package/dist/chunks/{vcs-v0yw3gr0.js → file-mutation-6b8h7563.js} +5 -5
  70. package/dist/chunks/{vcs-6esdw8yj.js → file-mutation-6esdw8yj.js} +1 -1
  71. package/dist/chunks/{vcs-71v1yb5p.js → file-mutation-6pe7vn7p.js} +5 -5
  72. package/dist/chunks/{vcs-6pjqjmy2.js → file-mutation-6pjqjmy2.js} +1 -1
  73. package/dist/chunks/{vcs-3bhgvgs9.js → file-mutation-6tkfv6vy.js} +22 -22
  74. package/dist/chunks/{vcs-azfbc7ga.js → file-mutation-713f9fkw.js} +193 -193
  75. package/dist/chunks/{vcs-w8qtt4th.js → file-mutation-76cb1hcw.js} +4 -4
  76. package/dist/chunks/{vcs-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{vcs-ah756314.js → file-mutation-7cbjmmn9.js} +14 -14
  78. package/dist/chunks/{vcs-cw16pp1j.js → file-mutation-7r2864x8.js} +9 -9
  79. package/dist/chunks/{vcs-prajgvp7.js → file-mutation-7rp33d8t.js} +16 -16
  80. package/dist/chunks/{vcs-7w2ypzdf.js → file-mutation-7w2ypzdf.js} +1 -1
  81. package/dist/chunks/{vcs-b1zh1j4f.js → file-mutation-7w4z2a19.js} +63 -63
  82. package/dist/chunks/{vcs-qjgzc4b4.js → file-mutation-8jztxfpf.js} +4 -4
  83. package/dist/chunks/{vcs-tasvem1v.js → file-mutation-8sxdqgb0.js} +6 -6
  84. package/dist/chunks/{vcs-8wtp7s3z.js → file-mutation-8wtp7s3z.js} +1 -1
  85. package/dist/chunks/{vcs-m68y8hd5.js → file-mutation-8zf098kr.js} +17 -17
  86. package/dist/chunks/{vcs-10ygv7zj.js → file-mutation-906g5kdk.js} +9 -9
  87. package/dist/chunks/{vcs-91rj84md.js → file-mutation-91rj84md.js} +1 -1
  88. package/dist/chunks/{vcs-r1k9m3eb.js → file-mutation-997dsrmm.js} +6 -6
  89. package/dist/chunks/{vcs-998yhzzq.js → file-mutation-998yhzzq.js} +3 -3
  90. package/dist/chunks/{vcs-8vh6kwmg.js → file-mutation-9s6n3p5d.js} +50 -50
  91. package/dist/chunks/{vcs-kj1j79ct.js → file-mutation-9vyfkg2v.js} +11 -11
  92. package/dist/chunks/{vcs-v34k8dr0.js → file-mutation-9y9qs21w.js} +17 -17
  93. package/dist/chunks/{vcs-r47ja65p.js → file-mutation-9z3zqrcq.js} +21 -21
  94. package/dist/chunks/file-mutation-a610t88q.js +18 -0
  95. package/dist/chunks/{vcs-n3bkb5q1.js → file-mutation-abr51mnh.js} +8 -8
  96. package/dist/chunks/{vcs-536wrdac.js → file-mutation-acjz1v7j.js} +11 -11
  97. package/dist/chunks/{vcs-xxjtdm9r.js → file-mutation-ad8q6rp3.js} +11 -11
  98. package/dist/chunks/{vcs-m5fkg57x.js → file-mutation-ajmrn4wa.js} +32 -32
  99. package/dist/chunks/{vcs-yxdc7d4s.js → file-mutation-atxt4sm9.js} +5 -5
  100. package/dist/chunks/{vcs-hch4wa3n.js → file-mutation-ay6kp039.js} +4 -4
  101. package/dist/chunks/{vcs-ayjs7tqn.js → file-mutation-ayjs7tqn.js} +2 -2
  102. package/dist/chunks/{vcs-b0mv4wxm.js → file-mutation-b0mv4wxm.js} +2 -2
  103. package/dist/chunks/{vcs-nfggw9da.js → file-mutation-b2fa49hh.js} +5 -5
  104. package/dist/chunks/{vcs-b6vsg801.js → file-mutation-b6vsg801.js} +2 -2
  105. package/dist/chunks/{vcs-rcbk8nhg.js → file-mutation-b8wpdthk.js} +20 -20
  106. package/dist/chunks/{vcs-v9085ex6.js → file-mutation-bd3818sh.js} +4 -4
  107. package/dist/chunks/{vcs-ex08epxr.js → file-mutation-bfp67d1e.js} +9 -9
  108. package/dist/chunks/{vcs-m6qs7jjd.js → file-mutation-bjhhq9t1.js} +13 -13
  109. package/dist/chunks/{vcs-1zjbdtxw.js → file-mutation-bn1zwxk7.js} +14 -14
  110. package/dist/chunks/{vcs-1r2244sv.js → file-mutation-bpzpc9vw.js} +5 -5
  111. package/dist/chunks/{vcs-bstexjd6.js → file-mutation-bstexjd6.js} +1 -1
  112. package/dist/chunks/{vcs-jtp9x085.js → file-mutation-c2b1zq20.js} +35 -35
  113. package/dist/chunks/{vcs-hdmztdx8.js → file-mutation-c3kxzd3k.js} +23 -23
  114. package/dist/chunks/{vcs-prd8gnhb.js → file-mutation-c5kjsz6q.js} +4 -4
  115. package/dist/chunks/{vcs-c9t2ty9q.js → file-mutation-c9t2ty9q.js} +1 -1
  116. package/dist/chunks/{vcs-wsf6rpby.js → file-mutation-cfbwa52m.js} +9 -9
  117. package/dist/chunks/{vcs-68t33k5k.js → file-mutation-cg703a76.js} +15 -15
  118. package/dist/chunks/{vcs-6s6a40zb.js → file-mutation-ctagr9g7.js} +13 -13
  119. package/dist/chunks/{vcs-254hq818.js → file-mutation-cw4h5047.js} +48 -48
  120. package/dist/chunks/{vcs-3yws84f3.js → file-mutation-czxr0pk5.js} +45 -45
  121. package/dist/chunks/{vcs-1y0wdj51.js → file-mutation-d2dx6a7h.js} +4 -4
  122. package/dist/chunks/{vcs-d4v9tmah.js → file-mutation-d4v9tmah.js} +2 -2
  123. package/dist/chunks/{vcs-gkt35az7.js → file-mutation-d5w8jy03.js} +14 -14
  124. package/dist/chunks/{vcs-jrtmv02s.js → file-mutation-d8c7zwkj.js} +25 -25
  125. package/dist/chunks/{vcs-a7hcemwv.js → file-mutation-d8qd4w10.js} +8 -8
  126. package/dist/chunks/{vcs-1crk60dk.js → file-mutation-dg69zav8.js} +15 -15
  127. package/dist/chunks/{vcs-mvpchj3s.js → file-mutation-dkkf5xq4.js} +27 -27
  128. package/dist/chunks/{vcs-3gvxgqww.js → file-mutation-dm5qwjy7.js} +27 -27
  129. package/dist/chunks/{vcs-1wp5yz2q.js → file-mutation-dr3mewcq.js} +15 -15
  130. package/dist/chunks/{vcs-btxkkvbe.js → file-mutation-dz55c0zm.js} +8 -8
  131. package/dist/chunks/{vcs-qc5pkzrw.js → file-mutation-e1nbxf8q.js} +14 -14
  132. package/dist/chunks/{vcs-4qxmg69m.js → file-mutation-e28v8y2t.js} +34 -34
  133. package/dist/chunks/{vcs-247ftevp.js → file-mutation-e5yz98j3.js} +6 -6
  134. package/dist/chunks/{vcs-e834z07m.js → file-mutation-e834z07m.js} +1 -1
  135. package/dist/chunks/{vcs-xqvtd8tg.js → file-mutation-e8zbksk4.js} +4 -4
  136. package/dist/chunks/{vcs-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{vcs-0rq01gt9.js → file-mutation-egmw08v6.js} +5 -5
  138. package/dist/chunks/{vcs-tw1cfj00.js → file-mutation-ejryywa8.js} +46 -46
  139. package/dist/chunks/{vcs-dyg9d8gn.js → file-mutation-ejx5chcx.js} +35 -35
  140. package/dist/chunks/{vcs-mhmq597p.js → file-mutation-eqzqqxkz.js} +17 -17
  141. package/dist/chunks/{vcs-7fyt61ge.js → file-mutation-ew73g2zp.js} +4 -4
  142. package/dist/chunks/{vcs-9mere5t7.js → file-mutation-f10m4awg.js} +13 -13
  143. package/dist/chunks/{vcs-za6w1b0s.js → file-mutation-f2rre9xz.js} +7 -7
  144. package/dist/chunks/{vcs-x8a5m77f.js → file-mutation-f535s2sq.js} +20 -20
  145. package/dist/chunks/{vcs-fffv3p7h.js → file-mutation-fffv3p7h.js} +1 -1
  146. package/dist/chunks/{vcs-zpxa3g5c.js → file-mutation-fr0fh1nj.js} +22 -22
  147. package/dist/chunks/{vcs-d3r8edvw.js → file-mutation-fv8tw6aa.js} +4 -4
  148. package/dist/chunks/{vcs-eq3fc1qc.js → file-mutation-fvc4bqe2.js} +5 -5
  149. package/dist/chunks/{vcs-ff97cw60.js → file-mutation-g113tq3g.js} +4 -4
  150. package/dist/chunks/{vcs-g5h9c0rr.js → file-mutation-g5h9c0rr.js} +2 -2
  151. package/dist/chunks/{vcs-g7esga4v.js → file-mutation-g7esga4v.js} +1 -1
  152. package/dist/chunks/{vcs-6fg5chfs.js → file-mutation-ganf5qds.js} +25 -25
  153. package/dist/chunks/{vcs-skwe01yc.js → file-mutation-gh9nzn29.js} +11 -11
  154. package/dist/chunks/{vcs-njnvzz52.js → file-mutation-gkq9xxxw.js} +40 -40
  155. package/dist/chunks/{vcs-kj8zjydm.js → file-mutation-gx0r2313.js} +6 -6
  156. package/dist/chunks/{vcs-530a82th.js → file-mutation-gy8yxpp1.js} +11 -11
  157. package/dist/chunks/{vcs-z8nn4snw.js → file-mutation-gzr767ae.js} +47 -47
  158. package/dist/chunks/{vcs-skfx7z6k.js → file-mutation-h406p1d4.js} +18 -18
  159. package/dist/chunks/{vcs-vh9aq6dc.js → file-mutation-h65mpfhc.js} +52 -52
  160. package/dist/chunks/{vcs-yqpwreg0.js → file-mutation-h931zhe2.js} +47 -47
  161. package/dist/chunks/{vcs-jw20qntp.js → file-mutation-hbkf0bb7.js} +5 -5
  162. package/dist/chunks/{vcs-aypkeb6d.js → file-mutation-hr21agsb.js} +88 -88
  163. package/dist/chunks/{vcs-0rcrzzvr.js → file-mutation-hrwtt92m.js} +35 -35
  164. package/dist/chunks/{vcs-5x8br9fm.js → file-mutation-hsb38h3t.js} +28 -28
  165. package/dist/chunks/{vcs-vb9pfrew.js → file-mutation-hvh7vr4z.js} +10 -10
  166. package/dist/chunks/{vcs-t8v8tvff.js → file-mutation-hwg1rf37.js} +23 -23
  167. package/dist/chunks/{vcs-vdc7b2sf.js → file-mutation-j110d6ac.js} +11 -11
  168. package/dist/chunks/{vcs-j113cymg.js → file-mutation-j113cymg.js} +1 -1
  169. package/dist/chunks/{vcs-maar8wck.js → file-mutation-j144xwzw.js} +9 -9
  170. package/dist/chunks/{vcs-gzphd3qt.js → file-mutation-jcapkbe6.js} +4 -4
  171. package/dist/chunks/{vcs-07zevav5.js → file-mutation-jd41cg63.js} +52 -52
  172. package/dist/chunks/{vcs-2cyz7x39.js → file-mutation-jfqpy2va.js} +24 -24
  173. package/dist/chunks/{vcs-9p9xqj3m.js → file-mutation-jneg3k74.js} +6 -6
  174. package/dist/chunks/{vcs-k46f9xjt.js → file-mutation-jwswcnbf.js} +22 -22
  175. package/dist/chunks/{vcs-dh62xe4r.js → file-mutation-jx89vj1k.js} +3 -3
  176. package/dist/chunks/file-mutation-k1mgqf2s.js +26 -0
  177. package/dist/chunks/{vcs-pbtkdcp0.js → file-mutation-k4x8dxyy.js} +7 -7
  178. package/dist/chunks/{vcs-k814nvkf.js → file-mutation-k814nvkf.js} +1 -1
  179. package/dist/chunks/{vcs-n9tasrvf.js → file-mutation-k9kmnnb3.js} +12 -12
  180. package/dist/chunks/{vcs-42b1cham.js → file-mutation-kaen2cat.js} +21 -21
  181. package/dist/chunks/{vcs-2dzqnr5m.js → file-mutation-kb3vw7p8.js} +29 -29
  182. package/dist/chunks/{vcs-wwye013q.js → file-mutation-kd4chd64.js} +4 -4
  183. package/dist/chunks/{vcs-baw7bc8n.js → file-mutation-kd8e7gdr.js} +1 -1
  184. package/dist/chunks/{vcs-38h2fn7g.js → file-mutation-kf6qbgb5.js} +3 -3
  185. package/dist/chunks/{vcs-1t40x6tf.js → file-mutation-kkh6p5hg.js} +4 -4
  186. package/dist/chunks/{vcs-ep7q3v7p.js → file-mutation-kp4a0nkj.js} +47 -47
  187. package/dist/chunks/{vcs-pe678q2q.js → file-mutation-kvd7rme4.js} +2 -2
  188. package/dist/chunks/{vcs-f931xhwa.js → file-mutation-kz13mb51.js} +37 -37
  189. package/dist/chunks/{vcs-6f6h7c2t.js → file-mutation-m14375f6.js} +30 -30
  190. package/dist/chunks/{vcs-m1714858.js → file-mutation-m1714858.js} +1 -1
  191. package/dist/chunks/{vcs-yqtnzwzq.js → file-mutation-m6r2ag02.js} +5 -5
  192. package/dist/chunks/{vcs-vpnrak8v.js → file-mutation-m6yg81he.js} +18 -18
  193. package/dist/chunks/{vcs-3ze3q6mf.js → file-mutation-m6yx9010.js} +11 -11
  194. package/dist/chunks/{vcs-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{vcs-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
  196. package/dist/chunks/{vcs-pz16wjas.js → file-mutation-mfd21a06.js} +4 -4
  197. package/dist/chunks/{vcs-g8q9wv7c.js → file-mutation-mgvc1gk7.js} +14 -14
  198. package/dist/chunks/{vcs-c3cfh5w6.js → file-mutation-mmkbt6v3.js} +9 -9
  199. package/dist/chunks/{vcs-8ba3wsfr.js → file-mutation-mr7gd4pm.js} +11 -11
  200. package/dist/chunks/{vcs-kwc19jgx.js → file-mutation-myc1cmw5.js} +18 -18
  201. package/dist/chunks/{vcs-f1kyj18j.js → file-mutation-mz1zez7g.js} +53 -53
  202. package/dist/chunks/{vcs-ggbcva3z.js → file-mutation-n0cek02z.js} +5 -5
  203. package/dist/chunks/{vcs-hx7vxw9c.js → file-mutation-n0n6a7ps.js} +6 -6
  204. package/dist/chunks/{vcs-n0p0277s.js → file-mutation-n0p0277s.js} +1 -1
  205. package/dist/chunks/{vcs-bnjqvjjm.js → file-mutation-n5h7v18c.js} +5 -5
  206. package/dist/chunks/{vcs-b50rsrab.js → file-mutation-n6v2b7cw.js} +5 -5
  207. package/dist/chunks/{vcs-s12jh10e.js → file-mutation-nad4mkqt.js} +8 -8
  208. package/dist/chunks/{vcs-770pw0s1.js → file-mutation-nah043kf.js} +4 -4
  209. package/dist/chunks/{vcs-wtk09v7c.js → file-mutation-nmmvaykg.js} +24 -24
  210. package/dist/chunks/{vcs-cps5zgbh.js → file-mutation-nz1awqkw.js} +38 -38
  211. package/dist/chunks/{vcs-p015t6z3.js → file-mutation-p015t6z3.js} +2 -2
  212. package/dist/chunks/{vcs-j75hfe7b.js → file-mutation-p47da6wh.js} +12 -12
  213. package/dist/chunks/{vcs-p3yv1tbb.js → file-mutation-p7bm53gt.js} +13 -13
  214. package/dist/chunks/{vcs-s20e5wsv.js → file-mutation-pafr3hmb.js} +35 -35
  215. package/dist/chunks/{vcs-v60pntgq.js → file-mutation-ph89xtmw.js} +36 -36
  216. package/dist/chunks/{vcs-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  217. package/dist/chunks/{vcs-kdjksvwe.js → file-mutation-pr21x5ks.js} +32 -32
  218. package/dist/chunks/{vcs-7jxjvf9t.js → file-mutation-psvnc0zj.js} +32 -32
  219. package/dist/chunks/{vcs-wjy5h13p.js → file-mutation-q1xw7kgx.js} +16 -16
  220. package/dist/chunks/{vcs-en4cswrv.js → file-mutation-q8ks7c1m.js} +25 -25
  221. package/dist/chunks/{vcs-xkmedc5t.js → file-mutation-qgk279fs.js} +46 -46
  222. package/dist/chunks/{vcs-c3wzxa47.js → file-mutation-qpxdw9gm.js} +8 -8
  223. package/dist/chunks/{vcs-r0yr0wbs.js → file-mutation-r0yr0wbs.js} +1 -1
  224. package/dist/chunks/{vcs-bbkbvbs4.js → file-mutation-r0zz2cdc.js} +1 -1
  225. package/dist/chunks/{vcs-6b49fqw0.js → file-mutation-r2m1wrpm.js} +17 -17
  226. package/dist/chunks/{vcs-jqqpsq7t.js → file-mutation-r5zmcn5f.js} +18 -18
  227. package/dist/chunks/{vcs-rb9dy4dg.js → file-mutation-rb9dy4dg.js} +1 -1
  228. package/dist/chunks/{vcs-eeb2rd94.js → file-mutation-rehp1ca5.js} +19 -19
  229. package/dist/chunks/{vcs-c5c0bz0t.js → file-mutation-rf80fxgj.js} +5 -5
  230. package/dist/chunks/{vcs-v94mhwh5.js → file-mutation-rgv2frq9.js} +13 -13
  231. package/dist/chunks/{vcs-jcd0g2s4.js → file-mutation-rmv7btfw.js} +20 -20
  232. package/dist/chunks/{vcs-ar2j3j0f.js → file-mutation-rrad2nt9.js} +4 -4
  233. package/dist/chunks/{vcs-rmt6m6se.js → file-mutation-rt0txz63.js} +9 -9
  234. package/dist/chunks/{vcs-34zfme1g.js → file-mutation-rt3jy22f.js} +24 -24
  235. package/dist/chunks/{vcs-rt5dr6hb.js → file-mutation-rt5dr6hb.js} +1 -1
  236. package/dist/chunks/{vcs-jmdhtxe0.js → file-mutation-rvw14dk0.js} +32 -32
  237. package/dist/chunks/file-mutation-rz0hcvs1.js +523 -0
  238. package/dist/chunks/{vcs-pg0ng17h.js → file-mutation-rz9csvhz.js} +14 -14
  239. package/dist/chunks/{vcs-5q1dgqbh.js → file-mutation-s4rs4ktr.js} +36 -36
  240. package/dist/chunks/{vcs-xpmys0j9.js → file-mutation-s7112yyh.js} +27 -27
  241. package/dist/chunks/{vcs-9cbnrx2n.js → file-mutation-sbegqkxp.js} +6 -6
  242. package/dist/chunks/{vcs-sqjzf8x2.js → file-mutation-sqjzf8x2.js} +1 -1
  243. package/dist/chunks/{vcs-dzznqqbs.js → file-mutation-t9e9esc1.js} +12 -12
  244. package/dist/chunks/{vcs-tczq8hjw.js → file-mutation-tczq8hjw.js} +1 -1
  245. package/dist/chunks/{vcs-xg28gvg7.js → file-mutation-tn2pqadg.js} +14 -14
  246. package/dist/chunks/{vcs-kmzgegqq.js → file-mutation-tqx9c315.js} +8 -8
  247. package/dist/chunks/{vcs-nz2z8868.js → file-mutation-ts7thg7k.js} +30 -30
  248. package/dist/chunks/{vcs-tw8zr1ps.js → file-mutation-tw8zr1ps.js} +1 -1
  249. package/dist/chunks/{vcs-twv2r8f4.js → file-mutation-twv2r8f4.js} +2 -2
  250. package/dist/chunks/{vcs-v2r1d0zg.js → file-mutation-v2r1d0zg.js} +1 -1
  251. package/dist/chunks/{vcs-xa1dtvk7.js → file-mutation-v6x8rhc3.js} +3 -3
  252. package/dist/chunks/{vcs-dbqrmbed.js → file-mutation-vaqsjg05.js} +6 -6
  253. package/dist/chunks/{vcs-k6xzj90s.js → file-mutation-vbmz9jev.js} +27 -27
  254. package/dist/chunks/{vcs-vd3b3yk9.js → file-mutation-vd3b3yk9.js} +1 -1
  255. package/dist/chunks/{vcs-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  256. package/dist/chunks/{vcs-5hvygcnt.js → file-mutation-vm0wcjea.js} +10 -10
  257. package/dist/chunks/{vcs-48kw51zw.js → file-mutation-vx3jgdek.js} +3 -3
  258. package/dist/chunks/{vcs-ftn2x50x.js → file-mutation-vxnb1daw.js} +35 -35
  259. package/dist/chunks/file-mutation-vz42csha.js +257 -0
  260. package/dist/chunks/{vcs-40za9wsf.js → file-mutation-w2eysc6j.js} +9 -9
  261. package/dist/chunks/{vcs-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{vcs-gag6a473.js → file-mutation-w7ceskr2.js} +13 -13
  263. package/dist/chunks/{vcs-wakvkjy4.js → file-mutation-wakvkjy4.js} +1 -1
  264. package/dist/chunks/{vcs-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  265. package/dist/chunks/{vcs-2b76hbf1.js → file-mutation-we6venq8.js} +11 -11
  266. package/dist/chunks/{vcs-jpq8vy5m.js → file-mutation-wqvpyqgm.js} +24 -24
  267. package/dist/chunks/{vcs-b5g50cq8.js → file-mutation-xmjq5dsw.js} +21 -21
  268. package/dist/chunks/{vcs-0xfwnfde.js → file-mutation-xs3xca8c.js} +18 -18
  269. package/dist/chunks/{vcs-kw8s18nw.js → file-mutation-y456hjcf.js} +34 -34
  270. package/dist/chunks/{vcs-cneb3d70.js → file-mutation-y9xrhqjb.js} +8 -8
  271. package/dist/chunks/{vcs-yb20nhc3.js → file-mutation-yb20nhc3.js} +1 -1
  272. package/dist/chunks/{vcs-z61xbmm9.js → file-mutation-yk7z3cd9.js} +19 -19
  273. package/dist/chunks/{vcs-deqy3kpa.js → file-mutation-ys14c7h6.js} +22 -22
  274. package/dist/chunks/{vcs-dtqdhp9c.js → file-mutation-yt06m8xx.js} +15 -15
  275. package/dist/chunks/{vcs-gbv88pv7.js → file-mutation-yy2s616e.js} +12 -12
  276. package/dist/chunks/{vcs-jjec1xd0.js → file-mutation-yz63e4xv.js} +2 -2
  277. package/dist/chunks/{vcs-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{vcs-4239rm3w.js → file-mutation-z11v4z0j.js} +20 -20
  279. package/dist/chunks/{vcs-exm49mxx.js → file-mutation-z2a3rv7v.js} +11 -11
  280. package/dist/chunks/{vcs-z38nccrw.js → file-mutation-z38nccrw.js} +1 -1
  281. package/dist/chunks/{vcs-h3b857xk.js → file-mutation-zgmrepvs.js} +4 -4
  282. package/dist/chunks/{vcs-s8vdmeb0.js → file-mutation-zh89wwz7.js} +10 -10
  283. package/dist/chunks/{vcs-ndxwzmcc.js → file-mutation-zhbs0pmw.js} +37 -37
  284. package/dist/chunks/{vcs-k0nmcfh6.js → file-mutation-zhv6stc2.js} +4 -4
  285. package/dist/chunks/{vcs-zkg84ctx.js → file-mutation-zkg84ctx.js} +1 -1
  286. package/dist/chunks/{vcs-n39q19g8.js → file-mutation-zkgq49d1.js} +4 -4
  287. package/dist/chunks/{vcs-bmvcqawa.js → file-mutation-zmk1cqnw.js} +48 -48
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +3 -3
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +74 -74
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +97 -97
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +106 -106
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +159 -159
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +91 -91
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +105 -105
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +111 -111
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +90 -90
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +92 -92
  529. package/dist/plugin/provider/openai.js +118 -118
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -171
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +92 -92
  565. package/dist/provider.js +103 -103
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +101 -101
  569. package/dist/reference/instructions.js +91 -91
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +83 -83
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +99 -99
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +138 -138
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +166 -166
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +93 -93
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +102 -102
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +128 -128
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +163 -163
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +77 -77
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +168 -168
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +223 -223
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +8 -8
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +130 -130
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +109 -109
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +139 -139
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +126 -126
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +124 -124
  647. package/dist/tool/plugin/question.js +107 -107
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +213 -213
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +115 -115
  654. package/dist/tool/plugin/websearch.js +116 -116
  655. package/dist/tool/plugin/write.js +124 -124
  656. package/dist/tool/read-filesystem.js +102 -102
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +16 -16
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +76 -76
  681. package/dist/wellknown.js +81 -81
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +82 -82
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/vcs-89ps0kn4.js +0 -26
  692. package/dist/chunks/vcs-8zyq9cqv.js +0 -523
  693. package/dist/chunks/vcs-ezna1kdx.js +0 -18
  694. package/dist/chunks/vcs-zrej7bp7.js +0 -257
  695. /package/dist/chunks/{vcs-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{vcs-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{vcs-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{vcs-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{vcs-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{vcs-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{vcs-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{vcs-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{vcs-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{vcs-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  705. /package/dist/chunks/{vcs-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{vcs-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{vcs-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{vcs-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{vcs-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{vcs-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{vcs-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  712. /package/dist/chunks/{vcs-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{vcs-5fjb7ams.js → file-mutation-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{vcs-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{vcs-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  716. /package/dist/chunks/{vcs-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{vcs-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{vcs-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{vcs-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  720. /package/dist/chunks/{vcs-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{vcs-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{vcs-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{vcs-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{vcs-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{vcs-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{vcs-a058387c.js → file-mutation-a058387c.js} +0 -0
  727. /package/dist/chunks/{vcs-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{vcs-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{vcs-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{vcs-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{vcs-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{vcs-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{vcs-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{vcs-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{vcs-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{vcs-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{vcs-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{vcs-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{vcs-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{vcs-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  741. /package/dist/chunks/{vcs-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{vcs-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{vcs-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{vcs-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{vcs-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{vcs-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{vcs-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{vcs-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{vcs-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{vcs-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{vcs-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{vcs-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  753. /package/dist/chunks/{vcs-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{vcs-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  755. /package/dist/chunks/{vcs-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{vcs-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  757. /package/dist/chunks/{vcs-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{vcs-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{vcs-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{vcs-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{vcs-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{vcs-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{vcs-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{vcs-m18g726c.js → file-mutation-m18g726c.js} +0 -0
  765. /package/dist/chunks/{vcs-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{vcs-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{vcs-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{vcs-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{vcs-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{vcs-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{vcs-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{vcs-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{vcs-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{vcs-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{vcs-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{vcs-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{vcs-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{vcs-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{vcs-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{vcs-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{vcs-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{vcs-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{vcs-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{vcs-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{vcs-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{vcs-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{vcs-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{vcs-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  789. /package/dist/chunks/{vcs-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{vcs-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{vcs-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{vcs-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{vcs-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{vcs-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./vcs-2z1j29yd.js";
3
+ } from "./file-mutation-2z1j29yd.js";
4
4
  import {
5
- Service73
6
- } from "./vcs-ep7q3v7p.js";
5
+ Service68
6
+ } from "./file-mutation-kp4a0nkj.js";
7
7
  import {
8
8
  MAX_MARKDOWN_BYTES2,
9
9
  convertHTMLToMarkdown2
10
- } from "./vcs-4vcrnpx2.js";
10
+ } from "./file-mutation-4vcrnpx2.js";
11
11
  import {
12
12
  collectBoundedResponseBody2
13
- } from "./vcs-3v8g72cx.js";
13
+ } from "./file-mutation-3v8g72cx.js";
14
14
  import {
15
15
  __export
16
- } from "./vcs-9rqn6x4v.js";
16
+ } from "./file-mutation-9rqn6x4v.js";
17
17
 
18
18
  // src/tool/plugin/webfetch.ts
19
19
  var exports_webfetch = {};
20
20
  __export(exports_webfetch, {
21
21
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
22
- Input: () => Input4,
23
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
22
+ Input: () => Input12,
23
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
24
24
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
25
- Plugin: () => Plugin21,
25
+ Plugin: () => Plugin32,
26
26
  WebFetchTool: () => exports_webfetch,
27
27
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
28
- description: () => description2,
28
+ description: () => description5,
29
29
  extractTextFromHTML: () => extractTextFromHTML2,
30
- name: () => name4
30
+ name: () => name12
31
31
  });
32
32
  import { ToolFailure } from "@opencode/ai";
33
33
  import { Duration, Effect, Schema } from "effect";
34
34
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
35
35
  import { Parser } from "htmlparser2";
36
- var name4 = "webfetch";
37
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
36
+ var name12 = "webfetch";
37
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
38
38
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
39
39
  var MAX_TIMEOUT_SECONDS2 = 120;
40
- var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
40
+ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
41
41
 
42
42
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
43
43
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
44
- var Input4 = Schema.Struct({
44
+ var Input12 = Schema.Struct({
45
45
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
46
46
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
47
47
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -51,7 +51,7 @@ var Input4 = Schema.Struct({
51
51
  var Output = Schema.Struct({
52
52
  url: Schema.String,
53
53
  contentType: Schema.String,
54
- format: Input4.fields.format,
54
+ format: Input12.fields.format,
55
55
  output: Schema.String
56
56
  });
57
57
  var acceptHeader = (format) => {
@@ -82,7 +82,7 @@ var assertHttpUrl = (url) => {
82
82
  throw new Error("URL must use http:// or https://");
83
83
  };
84
84
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
85
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
85
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
86
86
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
87
87
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
88
88
  var convert = (content, contentType, format) => {
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
94
94
  return extractTextFromHTML2(content);
95
95
  return content;
96
96
  };
97
- var Plugin21 = {
97
+ var Plugin32 = {
98
98
  id: "opencode.tool.webfetch",
99
99
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
100
100
  const http = yield* HttpClient.HttpClient;
101
- const permission = yield* Service73;
101
+ const permission = yield* Service68;
102
102
  yield* ctx.tool.transform((editor) => editor.add({
103
- name: name4,
103
+ name: name12,
104
104
  options: { codemode: false },
105
- description: description2,
106
- input: Input4,
105
+ description: description5,
106
+ input: Input12,
107
107
  output: Output,
108
108
  execute: (input, context) => Effect.gen(function* () {
109
109
  yield* Effect.try({
@@ -111,7 +111,7 @@ var Plugin21 = {
111
111
  catch: (error) => error
112
112
  });
113
113
  yield* permission.assert({
114
- action: name4,
114
+ action: name12,
115
115
  resources: [input.url],
116
116
  save: ["*"],
117
117
  metadata: input,
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
169
169
  parser.end();
170
170
  return text.trim();
171
171
  }
172
- export { name4, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin21, extractTextFromHTML2, exports_webfetch };
172
+ export { name12, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin32, extractTextFromHTML2, exports_webfetch };
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./vcs-wjy5h13p.js";
2
+ Service85,
3
+ node89
4
+ } from "./file-mutation-q1xw7kgx.js";
5
5
  import {
6
- Service28,
7
- node31
8
- } from "./vcs-f1kyj18j.js";
6
+ Service34,
7
+ node37
8
+ } from "./file-mutation-mz1zez7g.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./vcs-2z1j29yd.js";
11
+ } from "./file-mutation-2z1j29yd.js";
12
12
  import {
13
- Service73,
14
- node77
15
- } from "./vcs-ep7q3v7p.js";
13
+ Service68,
14
+ node72
15
+ } from "./file-mutation-kp4a0nkj.js";
16
16
  import {
17
- Service69,
18
- node73
19
- } from "./vcs-jrtmv02s.js";
17
+ Service49,
18
+ node51
19
+ } from "./file-mutation-d8c7zwkj.js";
20
20
  import {
21
- Service65,
22
- node68
23
- } from "./vcs-kj1j79ct.js";
21
+ Service44,
22
+ node46
23
+ } from "./file-mutation-9vyfkg2v.js";
24
24
  import {
25
25
  MEDIA_MIMES2
26
- } from "./vcs-q11fyp6d.js";
26
+ } from "./file-mutation-5jn2rvwm.js";
27
27
  import {
28
28
  __export
29
- } from "./vcs-9rqn6x4v.js";
29
+ } from "./file-mutation-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/mcp.ts
32
32
  var exports_mcp3 = {};
33
33
  __export(exports_mcp3, {
34
34
  McpTool: () => exports_mcp3,
35
- Service: () => Service26,
36
- layer: () => layer13,
37
- name: () => name14,
35
+ Service: () => Service31,
36
+ layer: () => layer15,
37
+ name: () => name15,
38
38
  namespace: () => namespace2,
39
- node: () => node29
39
+ node: () => node35
40
40
  });
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { extension } from "mime-types";
46
46
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
47
47
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
48
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
48
+ var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
49
49
 
50
- class Service26 extends Context.Service()("@opencode/McpTool") {
50
+ class Service31 extends Context.Service()("@opencode/McpTool") {
51
51
  }
52
- var layer13 = Layer.effect(Service26, Effect.gen(function* () {
53
- const mcp = yield* Service28;
54
- const tools = yield* Service69;
55
- const bus = yield* Service83;
56
- const permission = yield* Service73;
57
- const toolOutput = yield* Service65;
52
+ var layer15 = Layer.effect(Service31, Effect.gen(function* () {
53
+ const mcp = yield* Service34;
54
+ const tools = yield* Service49;
55
+ const bus = yield* Service85;
56
+ const permission = yield* Service68;
57
+ const toolOutput = yield* Service44;
58
58
  const lock = Semaphore.makeUnsafe(1);
59
59
  let discovered = [];
60
60
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -69,7 +69,7 @@ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
69
69
  output: tool.outputSchema ?? {},
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  yield* permission.assert({
72
- action: name14(tool.server, tool.name),
72
+ action: name15(tool.server, tool.name),
73
73
  resources: ["*"],
74
74
  save: ["*"],
75
75
  metadata: { input: input ?? {} },
@@ -111,7 +111,7 @@ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
111
111
  output: output(),
112
112
  ...content.length === 0 ? {} : { content }
113
113
  };
114
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
114
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
115
115
  });
116
116
  }
117
117
  });
@@ -124,7 +124,7 @@ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
124
124
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
125
125
  const updates = yield* PubSub.subscribe(changes);
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
- return Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
129
  var toContent = Effect.fnUntraced(function* (part, toolOutput) {
130
130
  if (part.type === "text")
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
144
144
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
145
145
  };
146
146
  });
147
- var node29 = makeLocationNode({
148
- service: Service26,
149
- layer: layer13,
150
- deps: [node73, node31, node87, node77, node68]
147
+ var node35 = makeLocationNode({
148
+ service: Service31,
149
+ layer: layer15,
150
+ deps: [node51, node37, node89, node72, node46]
151
151
  });
152
152
 
153
- export { namespace2, name14, Service26, layer13, node29, exports_mcp3 };
153
+ export { namespace2, name15, Service31, layer15, node35, exports_mcp3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./vcs-jze0r7bz.js";
3
+ } from "./file-mutation-jze0r7bz.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID6,
2
+ ID13,
3
3
  mergeOverlay2
4
- } from "./vcs-s20e5wsv.js";
4
+ } from "./file-mutation-pafr3hmb.js";
5
5
  import {
6
- ID5,
6
+ ID12,
7
7
  VariantID2,
8
- Info15,
8
+ Info21,
9
9
  compatibility2
10
- } from "./vcs-0rcrzzvr.js";
10
+ } from "./file-mutation-hrwtt92m.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./file-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models2 = {};
@@ -22,7 +22,7 @@ __export(exports_models2, {
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID6.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID5.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID5.make(item.id);
78
+ const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID12.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info15.make({
98
- ...Info15.default(providerID, id),
97
+ return Info21.make({
98
+ ...Info21.default(providerID, id),
99
99
  id,
100
- modelID: ID5.make(remote.id),
100
+ modelID: ID12.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./vcs-9mere5t7.js";
2
+ Service86,
3
+ node90
4
+ } from "./file-mutation-f10m4awg.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./vcs-3hepkmqq.js";
7
+ } from "./file-mutation-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./vcs-9rqn6x4v.js";
10
+ } from "./file-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service68,
17
- node: () => node72
16
+ Service: () => Service58,
17
+ node: () => node61
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service68 extends Context.Service()("@opencode/KV") {
22
+ class Service58 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service68, Effect.gen(function* () {
25
- const db = (yield* Service84).db;
26
- return Service68.of({
24
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
25
+ const db = (yield* Service86).db;
26
+ return Service58.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node72 = makeGlobalNode({ service: Service68, layer, deps: [node88] });
54
+ var node61 = makeGlobalNode({ service: Service58, layer, deps: [node90] });
55
55
 
56
- export { Service68, node72, exports_kv };
56
+ export { Service58, node61, exports_kv };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./vcs-wjy5h13p.js";
2
+ Service85,
3
+ node89
4
+ } from "./file-mutation-q1xw7kgx.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./vcs-vd3b3yk9.js";
8
+ } from "./file-mutation-vd3b3yk9.js";
9
9
  import {
10
10
  key2
11
- } from "./vcs-ar2j3j0f.js";
11
+ } from "./file-mutation-rrad2nt9.js";
12
12
  import {
13
- ID8,
14
- Service62,
15
- node65,
16
- Event13
17
- } from "./vcs-ftn2x50x.js";
13
+ ID16,
14
+ Service82,
15
+ node86,
16
+ Event18
17
+ } from "./file-mutation-vxnb1daw.js";
18
18
  import {
19
- Service79,
20
- node83
21
- } from "./vcs-3xhcmk8x.js";
19
+ Service78,
20
+ node82
21
+ } from "./file-mutation-57k3rf66.js";
22
22
  import {
23
23
  __export
24
- } from "./vcs-9rqn6x4v.js";
24
+ } from "./file-mutation-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
@@ -30,13 +30,13 @@ __export(exports_provider3, {
30
30
  Compaction: () => Compaction3,
31
31
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
32
32
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
33
- Event: () => Event10,
34
- ID: () => ID6,
35
- Info: () => Info16,
33
+ Event: () => Event16,
34
+ ID: () => ID13,
35
+ Info: () => Info22,
36
36
  LoadError: () => LoadError3,
37
37
  Provider: () => exports_provider3,
38
- Request: () => Request2,
39
- Service: () => Service55,
38
+ Request: () => Request3,
39
+ Service: () => Service77,
40
40
  Settings: () => Settings2,
41
41
  Transport: () => Transport2,
42
42
  aisdk: () => aisdk2,
@@ -48,7 +48,7 @@ __export(exports_provider3, {
48
48
  mergeOverlay: () => mergeOverlay2,
49
49
  modelSettings: () => modelSettings2,
50
50
  nativeSettings: () => nativeSettings2,
51
- node: () => node57,
51
+ node: () => node81,
52
52
  packageName: () => packageName2,
53
53
  timeout: () => timeout2,
54
54
  timeouts: () => timeouts2
@@ -323,8 +323,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
323
323
  var decode = Schema.decodeUnknownSync(Legacy);
324
324
 
325
325
  // src/provider.ts
326
- import { Event as Event10 } from "@opencode/schema/provider";
327
- var ID6 = Provider.ID;
326
+ import { Event as Event16 } from "@opencode/schema/provider";
327
+ var ID13 = Provider.ID;
328
328
  var AISDK_PREFIX2 = "aisdk:";
329
329
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
330
330
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -534,13 +534,13 @@ function mergeHeaders2(base, overlay) {
534
534
  return result;
535
535
  }, new Map).values());
536
536
  }
537
- var Request2 = Provider.Request;
537
+ var Request3 = Provider.Request;
538
538
  var Compaction3 = Provider.Compaction;
539
539
  var Transport2 = Provider.Transport;
540
540
  var Settings2 = Provider.Settings;
541
- var Info16 = Provider.Info;
541
+ var Info22 = Provider.Info;
542
542
 
543
- class Service55 extends Context.Service()("@opencode/Provider") {
543
+ class Service77 extends Context.Service()("@opencode/Provider") {
544
544
  }
545
545
  var definitions = new WeakMap;
546
546
  function index(providerID, models) {
@@ -553,10 +553,10 @@ function index(providerID, models) {
553
553
  definitions.set(models, indexes);
554
554
  return result;
555
555
  }
556
- var layer = Layer.effect(Service55, Effect2.gen(function* () {
557
- const bus = yield* Service83;
558
- const integrations = yield* Service62;
559
- const location = yield* Service79;
556
+ var layer = Layer.effect(Service77, Effect2.gen(function* () {
557
+ const bus = yield* Service85;
558
+ const integrations = yield* Service82;
559
+ const location = yield* Service78;
560
560
  const state = create3({
561
561
  name: "provider",
562
562
  initial: () => new Map,
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service55, Effect2.gen(function* () {
567
567
  const current = records.get(id);
568
568
  if (current)
569
569
  return current;
570
- const added = { provider: Info16.empty(id), models: new Map };
570
+ const added = { provider: Info22.empty(id), models: new Map };
571
571
  records.set(id, added);
572
572
  maps.add(added.models);
573
573
  return added;
@@ -648,7 +648,7 @@ var layer = Layer.effect(Service55, Effect2.gen(function* () {
648
648
  const available = Array.from(records.values()).filter((record) => {
649
649
  if (record.provider.activation === "disabled")
650
650
  return false;
651
- const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
651
+ const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
652
652
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
653
653
  return false;
654
654
  if (record.provider.activation === "enabled")
@@ -674,8 +674,8 @@ var layer = Layer.effect(Service55, Effect2.gen(function* () {
674
674
  location: { directory: location.directory, workspaceID: location.workspaceID }
675
675
  });
676
676
  });
677
- yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
- return Service55.of({
677
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
+ return Service77.of({
679
679
  transform: state.transform,
680
680
  reload: state.reload,
681
681
  get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service55, Effect2.gen(function* () {
684
684
  snapshot
685
685
  });
686
686
  }));
687
- var node57 = makeLocationNode({ service: Service55, layer, deps: [node87, node65, node83] });
687
+ var node81 = makeLocationNode({ service: Service77, layer, deps: [node89, node86, node82] });
688
688
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
689
689
  const module = yield* Effect2.tryPromise({
690
690
  try: () => {
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
706
706
  return module;
707
707
  });
708
708
 
709
- export { rewrite2, native2, exports_aisdk_native, ID6, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info16, Service55, node57, exports_provider3, Event10 };
709
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service77, node81, exports_provider3, Event16 };
@@ -1,54 +1,54 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./vcs-wjy5h13p.js";
2
+ Service85,
3
+ node89
4
+ } from "./file-mutation-q1xw7kgx.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./vcs-dzznqqbs.js";
6
+ Service80,
7
+ node84
8
+ } from "./file-mutation-t9e9esc1.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./vcs-3xhcmk8x.js";
10
+ Service78,
11
+ node82
12
+ } from "./file-mutation-57k3rf66.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./vcs-ezna1kdx.js";
15
+ } from "./file-mutation-a610t88q.js";
16
16
  import {
17
- Service52,
18
- node54
19
- } from "./vcs-0xfwnfde.js";
17
+ Service56,
18
+ node58
19
+ } from "./file-mutation-xs3xca8c.js";
20
20
  import {
21
- node16
22
- } from "./vcs-zpxa3g5c.js";
21
+ node19
22
+ } from "./file-mutation-fr0fh1nj.js";
23
23
  import {
24
- Service7,
25
- node8
26
- } from "./vcs-7cx8wp0a.js";
24
+ Service12,
25
+ node14
26
+ } from "./file-mutation-0421tmwc.js";
27
27
  import {
28
28
  __export
29
- } from "./vcs-9rqn6x4v.js";
29
+ } from "./file-mutation-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher = {};
33
- __export(exports_location_watcher, {
34
- LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service5,
36
- node: () => node6
32
+ var exports_location_watcher2 = {};
33
+ __export(exports_location_watcher2, {
34
+ LocationWatcher: () => exports_location_watcher2,
35
+ Service: () => Service11,
36
+ node: () => node13
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service5 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service11 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service5, Effect.gen(function* () {
46
- const location = yield* Service79;
47
- const watcher = yield* Service52;
48
- const bus = yield* Service83;
45
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
46
+ const location = yield* Service78;
47
+ const watcher = yield* Service56;
48
+ const bus = yield* Service85;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
51
- const policy = yield* Service7;
50
+ const git = yield* Service80;
51
+ const policy = yield* Service12;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service5.of({});
103
+ return Service11.of({});
104
104
  }));
105
- var node6 = makeLocationNode({
106
- service: Service5,
105
+ var node13 = makeLocationNode({
106
+ service: Service11,
107
107
  layer,
108
- deps: [node54, FSUtil.node, node83, node85, node87, node16, node8]
108
+ deps: [node58, FSUtil.node, node82, node84, node89, node19, node14]
109
109
  });
110
110
 
111
- export { Service5, node6, exports_location_watcher };
111
+ export { Service11, node13, exports_location_watcher2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./vcs-qfa1cgps.js";
3
+ } from "./file-mutation-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";