@opencode/core 0.0.0-dev-21823 → 0.0.0-dev-21824

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 (806) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{filesystem-pgrw573c.js → model-resolver-0ak2zsy7.js} +10 -10
  8. package/dist/chunks/{filesystem-286bwkth.js → model-resolver-0b24q0cx.js} +21 -21
  9. package/dist/chunks/{filesystem-ngzdt2ve.js → model-resolver-0jc0zze9.js} +9 -9
  10. package/dist/chunks/{filesystem-w84f94qk.js → model-resolver-0mpqe4g5.js} +14 -14
  11. package/dist/chunks/{filesystem-rh0vm7a3.js → model-resolver-0z2x41ky.js} +3 -3
  12. package/dist/chunks/{filesystem-w5d18jnt.js → model-resolver-10efznhb.js} +13 -13
  13. package/dist/chunks/{filesystem-mxem74k4.js → model-resolver-10pb4aek.js} +13 -13
  14. package/dist/chunks/{filesystem-gs4x0wfm.js → model-resolver-11y6r1g0.js} +20 -20
  15. package/dist/chunks/{filesystem-8a1tt6eq.js → model-resolver-12vp2fj6.js} +18 -18
  16. package/dist/chunks/{filesystem-9kg5w032.js → model-resolver-160yv0cs.js} +8 -8
  17. package/dist/chunks/{filesystem-qkrpwkqk.js → model-resolver-1bcx7d2f.js} +6 -6
  18. package/dist/chunks/{filesystem-0kzfsnkr.js → model-resolver-1s53h09z.js} +17 -17
  19. package/dist/chunks/{filesystem-abjs6xs3.js → model-resolver-1sbnnat1.js} +18 -18
  20. package/dist/chunks/{filesystem-k7takf4z.js → model-resolver-1t4kmtd0.js} +8 -8
  21. package/dist/chunks/{filesystem-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{filesystem-n11a5kh1.js → model-resolver-1y1rj8zc.js} +28 -28
  23. package/dist/chunks/{filesystem-0r6ymdag.js → model-resolver-228bjbav.js} +2 -2
  24. package/dist/chunks/{filesystem-1ep2p91f.js → model-resolver-27w5k9zf.js} +2 -2
  25. package/dist/chunks/{filesystem-vmw5emv6.js → model-resolver-29twwrpw.js} +25 -25
  26. package/dist/chunks/{filesystem-48wh137g.js → model-resolver-2nasskxr.js} +28 -28
  27. package/dist/chunks/{filesystem-e90h7m11.js → model-resolver-2t8c4xp2.js} +8 -8
  28. package/dist/chunks/{filesystem-2z1j29yd.js → model-resolver-2z1j29yd.js} +1 -1
  29. package/dist/chunks/{filesystem-q1bdnzan.js → model-resolver-33fvch51.js} +1 -1
  30. package/dist/chunks/{filesystem-efjhr83e.js → model-resolver-39teg3wn.js} +34 -34
  31. package/dist/chunks/{filesystem-ayjs7tqn.js → model-resolver-3cbjf1nt.js} +2 -2
  32. package/dist/chunks/{filesystem-gajzcr6m.js → model-resolver-3d1a3cpa.js} +19 -19
  33. package/dist/chunks/{filesystem-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{filesystem-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{filesystem-96te9d4b.js → model-resolver-3tt1qkhr.js} +5 -5
  36. package/dist/chunks/{filesystem-hx3mz2q2.js → model-resolver-3wyhrqfb.js} +8 -8
  37. package/dist/chunks/{filesystem-vcpv0cg0.js → model-resolver-3x2erv17.js} +6 -6
  38. package/dist/chunks/{filesystem-w2eysc6j.js → model-resolver-40za9wsf.js} +9 -9
  39. package/dist/chunks/{filesystem-90x1sh4x.js → model-resolver-418q3ycz.js} +56 -56
  40. package/dist/chunks/{filesystem-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
  41. package/dist/chunks/{filesystem-b6qckq3s.js → model-resolver-4wb8q865.js} +29 -29
  42. package/dist/chunks/{filesystem-4xvmh7wp.js → model-resolver-4xvmh7wp.js} +3 -3
  43. package/dist/chunks/{filesystem-ds6cc6fh.js → model-resolver-5cy8hwkn.js} +19 -19
  44. package/dist/chunks/{filesystem-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  45. package/dist/chunks/{filesystem-kzdpc3xr.js → model-resolver-5nb7nmf0.js} +15 -15
  46. package/dist/chunks/{filesystem-dm791vdb.js → model-resolver-5nbxbk6s.js} +12 -12
  47. package/dist/chunks/{filesystem-r8f6rk3c.js → model-resolver-5r72z9dp.js} +5 -5
  48. package/dist/chunks/{filesystem-3dffs2xc.js → model-resolver-5wcnt0wa.js} +11 -11
  49. package/dist/chunks/{filesystem-xxteqpwx.js → model-resolver-5znn373e.js} +3 -3
  50. package/dist/chunks/{filesystem-1yq9hg58.js → model-resolver-5zrxpy3q.js} +5 -5
  51. package/dist/chunks/{filesystem-rk5tncjm.js → model-resolver-5zwkbtbg.js} +13 -13
  52. package/dist/chunks/{filesystem-61ennm6n.js → model-resolver-61ennm6n.js} +1 -1
  53. package/dist/chunks/{filesystem-7yp67vww.js → model-resolver-61fq8ets.js} +20 -20
  54. package/dist/chunks/{filesystem-z3ayhk2f.js → model-resolver-630f2syh.js} +40 -40
  55. package/dist/chunks/{filesystem-bbzawyb8.js → model-resolver-63ye1ehg.js} +16 -16
  56. package/dist/chunks/{filesystem-tz3v2dvp.js → model-resolver-65q1a8c2.js} +2 -2
  57. package/dist/chunks/{filesystem-y2rgpw35.js → model-resolver-69z9tmq3.js} +11 -11
  58. package/dist/chunks/{filesystem-fngyzhnx.js → model-resolver-6ejkr8wa.js} +14 -14
  59. package/dist/chunks/{filesystem-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{filesystem-zz0567cx.js → model-resolver-6jm5dfm3.js} +9 -9
  61. package/dist/chunks/{filesystem-vvmd7csk.js → model-resolver-6k9kp4xt.js} +16 -16
  62. package/dist/chunks/{filesystem-6pjqjmy2.js → model-resolver-6pjqjmy2.js} +1 -1
  63. package/dist/chunks/{filesystem-76cb1hcw.js → model-resolver-76cb1hcw.js} +1 -1
  64. package/dist/chunks/{filesystem-9ab6dc0a.js → model-resolver-78dab631.js} +32 -32
  65. package/dist/chunks/{filesystem-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{filesystem-srha6svp.js → model-resolver-7eq1vvbj.js} +10 -10
  67. package/dist/chunks/{filesystem-yh9xwh37.js → model-resolver-7j9fhv60.js} +6 -6
  68. package/dist/chunks/{filesystem-600wwvjd.js → model-resolver-7jehd3qf.js} +15 -15
  69. package/dist/chunks/{filesystem-gkn4n67r.js → model-resolver-7jtzgymz.js} +2 -2
  70. package/dist/chunks/{filesystem-qswdam80.js → model-resolver-7m6e6bj4.js} +43 -43
  71. package/dist/chunks/{filesystem-nwvcypp6.js → model-resolver-7nbsn3c1.js} +11 -11
  72. package/dist/chunks/{filesystem-kw6b49qt.js → model-resolver-7qnz14k0.js} +44 -44
  73. package/dist/chunks/{filesystem-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
  74. package/dist/chunks/{filesystem-scbc8y9k.js → model-resolver-7whwbhx2.js} +2 -2
  75. package/dist/chunks/model-resolver-7ydrh6n0.js +517 -0
  76. package/dist/chunks/{filesystem-kncd35yj.js → model-resolver-803gsyg1.js} +24 -24
  77. package/dist/chunks/{filesystem-hndjxhwx.js → model-resolver-82ja67e9.js} +8 -8
  78. package/dist/chunks/{filesystem-2xs0rryy.js → model-resolver-83w2q382.js} +30 -30
  79. package/dist/chunks/{filesystem-1e41c092.js → model-resolver-86cab14v.js} +3 -3
  80. package/dist/chunks/{filesystem-vmpcefzm.js → model-resolver-8eyz045r.js} +47 -47
  81. package/dist/chunks/{filesystem-3rr06q29.js → model-resolver-8h7ezeqv.js} +8 -8
  82. package/dist/chunks/{filesystem-e889e6n9.js → model-resolver-8j00d0n5.js} +10 -10
  83. package/dist/chunks/{filesystem-pk31y8jx.js → model-resolver-8kqcsjtz.js} +10 -10
  84. package/dist/chunks/{filesystem-jpkt0sc6.js → model-resolver-8m56m6bs.js} +13 -13
  85. package/dist/chunks/{filesystem-8t7k9j69.js → model-resolver-8qhr1qgv.js} +13 -13
  86. package/dist/chunks/{filesystem-tvw5eq5w.js → model-resolver-8sktcs9h.js} +4 -4
  87. package/dist/chunks/{filesystem-4etepjnw.js → model-resolver-8t76f5pn.js} +6 -6
  88. package/dist/chunks/{filesystem-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
  89. package/dist/chunks/{filesystem-cy5ef8hm.js → model-resolver-8y5hzfxe.js} +11 -11
  90. package/dist/chunks/{filesystem-91rj84md.js → model-resolver-91rj84md.js} +1 -1
  91. package/dist/chunks/{filesystem-h7hbrg9k.js → model-resolver-9bp57grk.js} +52 -52
  92. package/dist/chunks/{filesystem-9cx9sm2q.js → model-resolver-9cx9sm2q.js} +1 -1
  93. package/dist/chunks/{filesystem-j5n4xn75.js → model-resolver-9hpb6mzf.js} +15 -15
  94. package/dist/chunks/{filesystem-rrv8kjjp.js → model-resolver-af84d9dx.js} +22 -22
  95. package/dist/chunks/{filesystem-n6v2b7cw.js → model-resolver-afmnpta1.js} +5 -5
  96. package/dist/chunks/{filesystem-8m0g8d5b.js → model-resolver-afwwx8by.js} +15 -15
  97. package/dist/chunks/{filesystem-9w5zpkrk.js → model-resolver-ah5t8643.js} +31 -31
  98. package/dist/chunks/{filesystem-034tev2y.js → model-resolver-aj7mw0zk.js} +2 -2
  99. package/dist/chunks/{filesystem-9w35abq4.js → model-resolver-akea24pr.js} +18 -18
  100. package/dist/chunks/{filesystem-j0sqg4d1.js → model-resolver-asn1derg.js} +12 -12
  101. package/dist/chunks/{filesystem-4yc3bycz.js → model-resolver-atw6zx0t.js} +30 -30
  102. package/dist/chunks/{filesystem-b0mv4wxm.js → model-resolver-b0mv4wxm.js} +2 -2
  103. package/dist/chunks/{filesystem-q13f8gqt.js → model-resolver-b45qxgvc.js} +11 -11
  104. package/dist/chunks/{filesystem-zr78jqjw.js → model-resolver-b53a2435.js} +16 -16
  105. package/dist/chunks/{filesystem-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
  106. package/dist/chunks/{filesystem-4q1b57yv.js → model-resolver-bf131yvm.js} +4 -4
  107. package/dist/chunks/model-resolver-bnarqm09.js +261 -0
  108. package/dist/chunks/{filesystem-qxe3n5xa.js → model-resolver-bqqm0g8t.js} +6 -6
  109. package/dist/chunks/{filesystem-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
  110. package/dist/chunks/{filesystem-pfy2m4ca.js → model-resolver-bt2mfhwt.js} +5 -5
  111. package/dist/chunks/{filesystem-wybcmnnj.js → model-resolver-bx5t9whz.js} +18 -18
  112. package/dist/chunks/model-resolver-bzdg4g04.js +26 -0
  113. package/dist/chunks/{filesystem-jnmjcr89.js → model-resolver-c4ryf7as.js} +33 -33
  114. package/dist/chunks/{filesystem-z4ndfdcq.js → model-resolver-c7sh4d0v.js} +11 -11
  115. package/dist/chunks/{filesystem-3y5jkgnv.js → model-resolver-c8j7dx8q.js} +11 -11
  116. package/dist/chunks/{filesystem-p07d65z0.js → model-resolver-c9k0snj5.js} +30 -30
  117. package/dist/chunks/{filesystem-kkqethq7.js → model-resolver-c9t2ty9q.js} +4 -4
  118. package/dist/chunks/{filesystem-kvgq4cgd.js → model-resolver-ccftg0qn.js} +24 -24
  119. package/dist/chunks/{filesystem-a54cs83f.js → model-resolver-chmj2sz0.js} +17 -17
  120. package/dist/chunks/{filesystem-9d5cfh3a.js → model-resolver-d3774dqa.js} +18 -18
  121. package/dist/chunks/{filesystem-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
  122. package/dist/chunks/{filesystem-dx106jag.js → model-resolver-d599j5f6.js} +5 -5
  123. package/dist/chunks/{filesystem-bnjexpda.js → model-resolver-daht94gm.js} +4 -4
  124. package/dist/chunks/{filesystem-c5tnkfyv.js → model-resolver-dat5z7dd.js} +25 -25
  125. package/dist/chunks/{filesystem-vgqmettk.js → model-resolver-db579ykn.js} +46 -46
  126. package/dist/chunks/{filesystem-dbgk2cxj.js → model-resolver-dczsttdk.js} +9 -9
  127. package/dist/chunks/{filesystem-q6kf4edm.js → model-resolver-deqbajdy.js} +1 -1
  128. package/dist/chunks/{filesystem-998yhzzq.js → model-resolver-dvj9ct8m.js} +3 -3
  129. package/dist/chunks/{filesystem-mj0wev1x.js → model-resolver-e2ne77ac.js} +2 -2
  130. package/dist/chunks/{filesystem-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{filesystem-e834z07m.js → model-resolver-e834z07m.js} +1 -1
  132. package/dist/chunks/{filesystem-zfk4rxgj.js → model-resolver-ec0dmxm2.js} +8 -8
  133. package/dist/chunks/{filesystem-3gv0spa2.js → model-resolver-emq6awqh.js} +4 -4
  134. package/dist/chunks/{filesystem-jyenpfw3.js → model-resolver-esjvkzj3.js} +4 -4
  135. package/dist/chunks/{filesystem-4mnradvb.js → model-resolver-ey1k9yry.js} +18 -18
  136. package/dist/chunks/{filesystem-d71bfcjn.js → model-resolver-f2sxmxc4.js} +37 -37
  137. package/dist/chunks/{filesystem-jfakxrjq.js → model-resolver-f6fgqg68.js} +25 -25
  138. package/dist/chunks/{filesystem-1gvqg047.js → model-resolver-f6tpkka6.js} +12 -12
  139. package/dist/chunks/{filesystem-5ae85xy6.js → model-resolver-f7g3fwn3.js} +26 -26
  140. package/dist/chunks/{filesystem-9g74tn6t.js → model-resolver-fa91c1bh.js} +29 -29
  141. package/dist/chunks/{filesystem-n3hzq8hq.js → model-resolver-fcj36fpe.js} +21 -21
  142. package/dist/chunks/{filesystem-dhs71wnc.js → model-resolver-fe77ttzw.js} +8 -8
  143. package/dist/chunks/{filesystem-x0vqv7fn.js → model-resolver-ffcdgexk.js} +9 -9
  144. package/dist/chunks/{filesystem-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
  145. package/dist/chunks/{filesystem-gek54jmm.js → model-resolver-fkj6e9em.js} +23 -23
  146. package/dist/chunks/{filesystem-82raarjb.js → model-resolver-frqrgtcd.js} +141 -141
  147. package/dist/chunks/{filesystem-048zrydy.js → model-resolver-fvqqv4et.js} +26 -26
  148. package/dist/chunks/{filesystem-3p35tcse.js → model-resolver-fxkq0y0b.js} +21 -21
  149. package/dist/chunks/{filesystem-fdhm0b4k.js → model-resolver-g1bhyb56.js} +8 -8
  150. package/dist/chunks/{filesystem-g5h9c0rr.js → model-resolver-g5h9c0rr.js} +2 -2
  151. package/dist/chunks/{filesystem-6gfsr0bt.js → model-resolver-g6jpb364.js} +30 -30
  152. package/dist/chunks/{filesystem-06w9ffrv.js → model-resolver-g7esga4v.js} +4 -4
  153. package/dist/chunks/{filesystem-r9zbyr4a.js → model-resolver-gds3y6dw.js} +14 -14
  154. package/dist/chunks/{filesystem-rrbn0j5d.js → model-resolver-gr17tpj8.js} +21 -21
  155. package/dist/chunks/{filesystem-5zvran9a.js → model-resolver-gzqxm82s.js} +10 -10
  156. package/dist/chunks/{filesystem-vh4zhzaj.js → model-resolver-h2dp6rby.js} +9 -9
  157. package/dist/chunks/{filesystem-hdfrs5mg.js → model-resolver-hdfrs5mg.js} +2 -2
  158. package/dist/chunks/{filesystem-vxjvm93v.js → model-resolver-hdjrjngx.js} +32 -32
  159. package/dist/chunks/{filesystem-xy470p1n.js → model-resolver-hjg8p6dt.js} +18 -18
  160. package/dist/chunks/{filesystem-mwp0yv48.js → model-resolver-hm3czf85.js} +1 -1
  161. package/dist/chunks/{filesystem-k7hxwx4t.js → model-resolver-hvan4r9d.js} +21 -21
  162. package/dist/chunks/{filesystem-32rqdfc7.js → model-resolver-hvvf9qw8.js} +6 -6
  163. package/dist/chunks/{filesystem-xkat47kc.js → model-resolver-hwcbxmjp.js} +13 -13
  164. package/dist/chunks/{filesystem-jnbf1chn.js → model-resolver-hy3y5vxb.js} +11 -11
  165. package/dist/chunks/{filesystem-zdt59aw1.js → model-resolver-hz3jmkcm.js} +6 -6
  166. package/dist/chunks/{filesystem-ts7mkfs9.js → model-resolver-hzrfc1p4.js} +3 -3
  167. package/dist/chunks/{filesystem-j113cymg.js → model-resolver-j113cymg.js} +1 -1
  168. package/dist/chunks/{filesystem-azx0qc1w.js → model-resolver-j2fby693.js} +13 -13
  169. package/dist/chunks/{filesystem-egnaf4wc.js → model-resolver-j2sak5a4.js} +11 -11
  170. package/dist/chunks/{filesystem-5j8szzxn.js → model-resolver-j6c6q1qg.js} +33 -33
  171. package/dist/chunks/{filesystem-xpyh10vg.js → model-resolver-j7ztxdyv.js} +16 -16
  172. package/dist/chunks/{filesystem-8shc1k29.js → model-resolver-jctb9d8a.js} +6 -6
  173. package/dist/chunks/model-resolver-jztn5z23.js +18 -0
  174. package/dist/chunks/{filesystem-e07q2w5p.js → model-resolver-k17y3afg.js} +6 -6
  175. package/dist/chunks/{filesystem-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
  176. package/dist/chunks/{filesystem-1kqxs66r.js → model-resolver-kf9wr7tw.js} +24 -24
  177. package/dist/chunks/{filesystem-0v2akbxk.js → model-resolver-kmam2x31.js} +15 -15
  178. package/dist/chunks/{filesystem-t4zj4gks.js → model-resolver-ksez1xmc.js} +21 -21
  179. package/dist/chunks/{filesystem-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
  180. package/dist/chunks/{filesystem-074yh523.js → model-resolver-kxkntq3g.js} +11 -11
  181. package/dist/chunks/{filesystem-m1714858.js → model-resolver-m1714858.js} +1 -1
  182. package/dist/chunks/{filesystem-6rh867e6.js → model-resolver-m3xvpryp.js} +52 -52
  183. package/dist/chunks/{filesystem-5bcft13g.js → model-resolver-m5regarp.js} +3 -3
  184. package/dist/chunks/{filesystem-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{filesystem-jefw9j3y.js → model-resolver-masd7ga8.js} +4 -4
  186. package/dist/chunks/{filesystem-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
  187. package/dist/chunks/{filesystem-fxjf9rj9.js → model-resolver-mb2fjdtf.js} +33 -33
  188. package/dist/chunks/{filesystem-j77g158z.js → model-resolver-me7kxg3j.js} +8 -8
  189. package/dist/chunks/{filesystem-2fawgvav.js → model-resolver-mn53dk4j.js} +6 -6
  190. package/dist/chunks/{filesystem-r5y2frqw.js → model-resolver-mna4ccr2.js} +6 -6
  191. package/dist/chunks/{filesystem-sb8x2mjg.js → model-resolver-mpz4w9bp.js} +18 -18
  192. package/dist/chunks/{filesystem-cwb88cey.js → model-resolver-mqawjeef.js} +12 -12
  193. package/dist/chunks/{filesystem-q4syar25.js → model-resolver-ms888k1z.js} +9 -9
  194. package/dist/chunks/{filesystem-2ggcr862.js → model-resolver-msntj4bj.js} +16 -16
  195. package/dist/chunks/{filesystem-5rqb1j6q.js → model-resolver-mzkm9t0w.js} +5 -5
  196. package/dist/chunks/{filesystem-nah043kf.js → model-resolver-nah043kf.js} +1 -1
  197. package/dist/chunks/{filesystem-rz958wdz.js → model-resolver-nkhqptws.js} +23 -23
  198. package/dist/chunks/{filesystem-1jewsfbp.js → model-resolver-nphq4awb.js} +7 -7
  199. package/dist/chunks/{filesystem-aekqvw83.js → model-resolver-nr4h8hhe.js} +3 -3
  200. package/dist/chunks/{filesystem-y5smbybx.js → model-resolver-nwf2p7qx.js} +21 -21
  201. package/dist/chunks/{filesystem-5pjpz24y.js → model-resolver-nxh2s6jf.js} +18 -18
  202. package/dist/chunks/{filesystem-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
  203. package/dist/chunks/{filesystem-7hpze2gp.js → model-resolver-p5hnaym9.js} +33 -33
  204. package/dist/chunks/{filesystem-59ebw7nb.js → model-resolver-pch3hz0d.js} +4 -4
  205. package/dist/chunks/{filesystem-4angxd36.js → model-resolver-pg8q45fa.js} +7 -7
  206. package/dist/chunks/{filesystem-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  207. package/dist/chunks/{filesystem-zqmnxa57.js → model-resolver-pp4ewjef.js} +15 -15
  208. package/dist/chunks/{filesystem-87s5319w.js → model-resolver-pqwj4rse.js} +9 -9
  209. package/dist/chunks/{filesystem-4npqj7c8.js → model-resolver-pzp2gaxy.js} +11 -11
  210. package/dist/chunks/{filesystem-zj038rf2.js → model-resolver-q25re44e.js} +6 -6
  211. package/dist/chunks/{filesystem-fakbbexg.js → model-resolver-q5bt1w9a.js} +11 -11
  212. package/dist/chunks/{filesystem-4x0avmzf.js → model-resolver-q8rfhkjm.js} +2 -2
  213. package/dist/chunks/{filesystem-nsq4yd7p.js → model-resolver-qckrz8jc.js} +1 -1
  214. package/dist/chunks/{filesystem-hk4y1qbf.js → model-resolver-qdr526kf.js} +3 -3
  215. package/dist/chunks/{filesystem-hj2cbhc2.js → model-resolver-qk22s80r.js} +16 -16
  216. package/dist/chunks/{filesystem-bm3x8n5f.js → model-resolver-qvakvk9r.js} +19 -19
  217. package/dist/chunks/{filesystem-egmw08v6.js → model-resolver-qvw98tg0.js} +5 -5
  218. package/dist/chunks/{filesystem-jx89vj1k.js → model-resolver-qyq8h28g.js} +3 -3
  219. package/dist/chunks/{filesystem-r0yr0wbs.js → model-resolver-r0yr0wbs.js} +1 -1
  220. package/dist/chunks/{filesystem-rk1c2d86.js → model-resolver-r31y8xxz.js} +25 -25
  221. package/dist/chunks/{filesystem-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
  222. package/dist/chunks/{filesystem-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{filesystem-1zp85v90.js → model-resolver-rckcvcrm.js} +19 -19
  224. package/dist/chunks/{filesystem-3bdnrd1q.js → model-resolver-rcpyc0ca.js} +5 -5
  225. package/dist/chunks/{filesystem-6jp186ct.js → model-resolver-rejxp4z0.js} +24 -24
  226. package/dist/chunks/{filesystem-40h6q7je.js → model-resolver-rgj5zy3t.js} +46 -46
  227. package/dist/chunks/{filesystem-neftya4w.js → model-resolver-rqs3weq5.js} +8 -8
  228. package/dist/chunks/{filesystem-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
  229. package/dist/chunks/{filesystem-3t73xeyv.js → model-resolver-rxrz6b15.js} +2 -2
  230. package/dist/chunks/{filesystem-wt7ydzte.js → model-resolver-rypfym0z.js} +14 -14
  231. package/dist/chunks/{filesystem-65d25esd.js → model-resolver-rzgd3z9h.js} +11 -11
  232. package/dist/chunks/{filesystem-yjvjgdfq.js → model-resolver-s6ttgfdk.js} +21 -21
  233. package/dist/chunks/{filesystem-58g0x2b7.js → model-resolver-s7hdmqvc.js} +7 -7
  234. package/dist/chunks/{filesystem-3wddgepz.js → model-resolver-s8m3mb5a.js} +13 -13
  235. package/dist/chunks/{filesystem-sa3fpqfw.js → model-resolver-sa3fpqfw.js} +2 -2
  236. package/dist/chunks/{filesystem-37f9eqtg.js → model-resolver-scz2dc1h.js} +13 -13
  237. package/dist/chunks/{filesystem-f4c57skx.js → model-resolver-smcjsr17.js} +11 -11
  238. package/dist/chunks/{filesystem-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
  239. package/dist/chunks/{filesystem-yzs5y582.js → model-resolver-t2tc5r6d.js} +6 -6
  240. package/dist/chunks/{filesystem-8x51n0mm.js → model-resolver-tb5m0pzj.js} +29 -29
  241. package/dist/chunks/{filesystem-4t70q674.js → model-resolver-tbtqmx60.js} +2 -2
  242. package/dist/chunks/{filesystem-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
  243. package/dist/chunks/{filesystem-kvtqra18.js → model-resolver-tsp66mz8.js} +34 -34
  244. package/dist/chunks/{filesystem-twv2r8f4.js → model-resolver-twv2r8f4.js} +2 -2
  245. package/dist/chunks/{filesystem-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
  246. package/dist/chunks/{filesystem-38my8t2w.js → model-resolver-v842z5bm.js} +4 -4
  247. package/dist/chunks/{filesystem-2552f9gw.js → model-resolver-vcx0q4qn.js} +24 -24
  248. package/dist/chunks/{filesystem-ftjyxsq7.js → model-resolver-vcx56sb0.js} +9 -9
  249. package/dist/chunks/{filesystem-vd3b3yk9.js → model-resolver-vd3b3yk9.js} +1 -1
  250. package/dist/chunks/{filesystem-aa6rfe83.js → model-resolver-vdasrjze.js} +30 -30
  251. package/dist/chunks/{filesystem-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  252. package/dist/chunks/{filesystem-eqh43b5v.js → model-resolver-vgk61ywp.js} +9 -9
  253. package/dist/chunks/{filesystem-7gagvex5.js → model-resolver-vjqpxba6.js} +87 -87
  254. package/dist/chunks/{filesystem-5byqedsg.js → model-resolver-vkkqkfme.js} +11 -11
  255. package/dist/chunks/{filesystem-smfcvx02.js → model-resolver-vrcsa8qx.js} +9 -9
  256. package/dist/chunks/{filesystem-14r675e2.js → model-resolver-w362tghn.js} +19 -19
  257. package/dist/chunks/{filesystem-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{filesystem-cgnt16pw.js → model-resolver-w72ah3vp.js} +1 -1
  259. package/dist/chunks/{filesystem-8vdykv35.js → model-resolver-w7c0w3yt.js} +21 -21
  260. package/dist/chunks/{filesystem-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
  261. package/dist/chunks/{filesystem-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  262. package/dist/chunks/{filesystem-5w9558x0.js → model-resolver-we45g5b8.js} +47 -47
  263. package/dist/chunks/{filesystem-cwm52xht.js → model-resolver-wp39e252.js} +21 -21
  264. package/dist/chunks/{filesystem-0h8y3ex8.js → model-resolver-wr3re1en.js} +4 -4
  265. package/dist/chunks/{filesystem-wmjzvx4b.js → model-resolver-wtgq8nqm.js} +5 -5
  266. package/dist/chunks/{filesystem-2zz4pbej.js → model-resolver-wz387nhs.js} +11 -11
  267. package/dist/chunks/{filesystem-2a5amaht.js → model-resolver-x1fxt013.js} +22 -22
  268. package/dist/chunks/{filesystem-4wqc8mqe.js → model-resolver-x3t9xer4.js} +7 -7
  269. package/dist/chunks/{filesystem-wachhca3.js → model-resolver-x5xqqq2t.js} +4 -4
  270. package/dist/chunks/{filesystem-11hfp36g.js → model-resolver-x8nvjgx0.js} +4 -4
  271. package/dist/chunks/{filesystem-t6gd5zzm.js → model-resolver-xaj9bxpr.js} +32 -32
  272. package/dist/chunks/{filesystem-pp4x3x88.js → model-resolver-xge113x8.js} +8 -8
  273. package/dist/chunks/{filesystem-0s7h5zzx.js → model-resolver-xgzatw4h.js} +17 -17
  274. package/dist/chunks/{filesystem-msrvq25q.js → model-resolver-xhrj57em.js} +33 -33
  275. package/dist/chunks/{filesystem-g0rar7vt.js → model-resolver-xk05dnhf.js} +17 -17
  276. package/dist/chunks/{filesystem-86m0qwc3.js → model-resolver-xp82r058.js} +9 -9
  277. package/dist/chunks/{filesystem-40g71j7h.js → model-resolver-xrqjfmtn.js} +29 -29
  278. package/dist/chunks/{filesystem-m4zwndh2.js → model-resolver-xw34nzzk.js} +3 -3
  279. package/dist/chunks/{filesystem-qkpn6d5r.js → model-resolver-xy47wren.js} +92 -92
  280. package/dist/chunks/{filesystem-4tqs0jzk.js → model-resolver-y00x4xpa.js} +4 -4
  281. package/dist/chunks/{filesystem-4fvyz6gm.js → model-resolver-y2rsaeas.js} +42 -42
  282. package/dist/chunks/{filesystem-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
  283. package/dist/chunks/{filesystem-sbanjb5j.js → model-resolver-ym4mb7j3.js} +11 -11
  284. package/dist/chunks/{filesystem-e5reh5tz.js → model-resolver-ywa96x82.js} +14 -14
  285. package/dist/chunks/{filesystem-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{filesystem-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
  287. package/dist/chunks/{filesystem-jfh72r8h.js → model-resolver-z799v63j.js} +29 -29
  288. package/dist/chunks/{filesystem-jd6wp082.js → model-resolver-z8gatmq1.js} +39 -39
  289. package/dist/chunks/{filesystem-4fhqgc15.js → model-resolver-z9cvf2rv.js} +16 -16
  290. package/dist/chunks/{filesystem-934a61m2.js → model-resolver-zbs8468w.js} +75 -75
  291. package/dist/chunks/{filesystem-zkg84ctx.js → model-resolver-zkg84ctx.js} +1 -1
  292. package/dist/chunks/{filesystem-03efvwc7.js → model-resolver-zskq6z57.js} +12 -12
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +87 -87
  299. package/dist/config/integration.js +5 -5
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +104 -104
  302. package/dist/config/plugin/agent.js +120 -120
  303. package/dist/config/plugin/command.js +216 -216
  304. package/dist/config/plugin/compaction.js +157 -157
  305. package/dist/config/plugin/compatibility.js +137 -137
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +119 -119
  308. package/dist/config/plugin/image.js +118 -118
  309. package/dist/config/plugin/instruction.js +118 -118
  310. package/dist/config/plugin/location-watcher.js +118 -118
  311. package/dist/config/plugin/mcp.js +129 -129
  312. package/dist/config/plugin/policy.js +120 -120
  313. package/dist/config/plugin/provider.js +119 -119
  314. package/dist/config/plugin/reference.js +120 -120
  315. package/dist/config/plugin/shell.js +118 -118
  316. package/dist/config/plugin/skill-file.js +107 -107
  317. package/dist/config/plugin/skill-scan.js +1 -1
  318. package/dist/config/plugin/skill.js +140 -140
  319. package/dist/config/plugin/snapshot.js +118 -118
  320. package/dist/config/plugin/source.js +121 -121
  321. package/dist/config/plugin/tool-output.js +119 -119
  322. package/dist/config/plugin/websearch.js +117 -117
  323. package/dist/config/plugin/worktree.js +120 -120
  324. package/dist/config/variable.js +1 -1
  325. package/dist/config/watch.js +1 -1
  326. package/dist/config.js +123 -123
  327. package/dist/console-access.js +1 -1
  328. package/dist/credential/sql.js +2 -2
  329. package/dist/credential.js +81 -81
  330. package/dist/database/database.js +74 -74
  331. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  332. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  333. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  334. package/dist/database/drizzle/index.js +15 -15
  335. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  338. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  345. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  346. package/dist/database/drizzle.js +16 -16
  347. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  348. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  349. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  350. package/dist/database/migration/20260225215848_workspace.js +1 -1
  351. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  352. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  353. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  354. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  355. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  356. package/dist/database/migration/20260323234822_events.js +1 -1
  357. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  358. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  359. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  360. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  361. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  362. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  363. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  364. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  365. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  366. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  367. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  368. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  369. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  370. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  371. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  372. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  373. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  374. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  375. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  376. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  377. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  378. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  379. package/dist/database/migration/20260611035744_credential.js +1 -1
  380. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  381. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  382. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  383. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  384. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  385. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  386. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  387. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  388. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  389. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  390. package/dist/database/migration/20260812213948_worktree.js +1 -1
  391. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  392. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  393. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  394. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  395. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  396. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  397. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  398. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  399. package/dist/database/migration.gen.js +53 -53
  400. package/dist/database/migration.js +55 -55
  401. package/dist/database/path.js +2 -2
  402. package/dist/database/schema.gen.js +1 -1
  403. package/dist/database/schema.sql.js +1 -1
  404. package/dist/database/sqlite.bun.js +1 -1
  405. package/dist/database/sqlite.js +1 -1
  406. package/dist/database/sqlite.node.js +1 -1
  407. package/dist/database/sqlite.workerd.js +1 -1
  408. package/dist/database/v1-migration.bun.js +93 -93
  409. package/dist/database/v1-migration.js +1 -1
  410. package/dist/effect/app-node-builder.js +376 -376
  411. package/dist/effect/app-node-platform.js +2 -2
  412. package/dist/effect/keyed-mutex.js +3 -3
  413. package/dist/effect/websocket-constructor.js +1 -1
  414. package/dist/environment/driver.js +1 -1
  415. package/dist/environment/environment.js +98 -98
  416. package/dist/environment/exec-defaults.js +2 -2
  417. package/dist/environment/files.js +1 -1
  418. package/dist/environment/index.js +98 -98
  419. package/dist/environment/local.js +2 -2
  420. package/dist/environment/memory.js +2 -2
  421. package/dist/environment/unavailable.js +3 -3
  422. package/dist/event/sql.js +1 -1
  423. package/dist/event-logger.js +78 -78
  424. package/dist/file-access.js +109 -109
  425. package/dist/file-mutation.js +99 -99
  426. package/dist/file-retention.js +1 -1
  427. package/dist/filesystem/fff.bun.js +2 -2
  428. package/dist/filesystem/fff.js +1 -1
  429. package/dist/filesystem/fff.node.js +2 -2
  430. package/dist/filesystem/fff.workerd.js +2 -2
  431. package/dist/filesystem/location-watcher-policy.js +6 -6
  432. package/dist/filesystem/location-watcher.js +227 -227
  433. package/dist/filesystem/protected.js +1 -1
  434. package/dist/filesystem/search.js +104 -104
  435. package/dist/filesystem/watcher-binding.js +3 -3
  436. package/dist/filesystem/watcher.js +11 -11
  437. package/dist/filesystem.js +109 -109
  438. package/dist/form.js +78 -78
  439. package/dist/formatter/builtins.js +4 -4
  440. package/dist/formatter.js +92 -92
  441. package/dist/generate.js +112 -112
  442. package/dist/git.js +11 -11
  443. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  444. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  445. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  446. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  447. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  449. package/dist/github-copilot/copilot-provider.js +17 -17
  450. package/dist/github-copilot/models.js +96 -96
  451. package/dist/github-copilot/openai-compatible-error.js +1 -1
  452. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  453. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  454. package/dist/github-copilot/responses/openai-error.js +1 -1
  455. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  456. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  457. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  458. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  459. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  460. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  461. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  462. package/dist/image/photon.js +2 -2
  463. package/dist/image.js +6 -6
  464. package/dist/instance/service.js +5 -5
  465. package/dist/instance.js +367 -367
  466. package/dist/instruction-discovery.js +86 -86
  467. package/dist/instructions/builtins.js +92 -92
  468. package/dist/instructions/index.js +3 -3
  469. package/dist/integration/connection.js +1 -1
  470. package/dist/integration.js +85 -85
  471. package/dist/job.js +82 -82
  472. package/dist/kv/sql.js +2 -2
  473. package/dist/kv.js +77 -77
  474. package/dist/location-activity.js +161 -161
  475. package/dist/location-lifecycle.js +112 -112
  476. package/dist/location-service-map.js +91 -91
  477. package/dist/location-services.js +364 -364
  478. package/dist/location.js +86 -86
  479. package/dist/managed-policy.js +9 -9
  480. package/dist/mcp/client.js +96 -96
  481. package/dist/mcp/index.js +114 -114
  482. package/dist/mcp/instructions.js +141 -141
  483. package/dist/mcp/oauth.js +82 -82
  484. package/dist/mcp/socket-client.js +1 -1
  485. package/dist/mcp/stdio.js +95 -95
  486. package/dist/mime.js +1 -1
  487. package/dist/modal/models.js +96 -96
  488. package/dist/model-resolver.js +104 -104
  489. package/dist/model-retry.js +1 -1
  490. package/dist/model.js +99 -99
  491. package/dist/models-dev.js +112 -112
  492. package/dist/oauth/page.js +1 -1
  493. package/dist/permission/saved.js +86 -86
  494. package/dist/permission/sql.js +5 -5
  495. package/dist/permission.js +120 -120
  496. package/dist/persistent-pty/binary.bun.js +1 -1
  497. package/dist/persistent-pty/daemon.js +1 -1
  498. package/dist/persistent-pty/index.js +94 -94
  499. package/dist/persistent-pty/pty-binding.js +1 -1
  500. package/dist/persistent-pty.js +79 -79
  501. package/dist/plugin/agent.js +80 -80
  502. package/dist/plugin/command.js +107 -107
  503. package/dist/plugin/hooks.js +5 -5
  504. package/dist/plugin/host.js +222 -222
  505. package/dist/plugin/identity.js +5 -5
  506. package/dist/plugin/instance.js +5 -5
  507. package/dist/plugin/internal.js +337 -337
  508. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  509. package/dist/plugin/models-dev.js +101 -101
  510. package/dist/plugin/module.js +120 -120
  511. package/dist/plugin/optimize.js +2 -2
  512. package/dist/plugin/plan.js +107 -107
  513. package/dist/plugin/promise.js +1 -1
  514. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  515. package/dist/plugin/provider/azure.js +118 -118
  516. package/dist/plugin/provider/cerebras.js +1 -1
  517. package/dist/plugin/provider/chatgpt.js +118 -118
  518. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  519. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  520. package/dist/plugin/provider/cohere.js +2 -2
  521. package/dist/plugin/provider/configured.js +114 -114
  522. package/dist/plugin/provider/databricks.js +1 -1
  523. package/dist/plugin/provider/digitalocean.js +98 -98
  524. package/dist/plugin/provider/dynamic.js +2 -2
  525. package/dist/plugin/provider/factory.js +1 -1
  526. package/dist/plugin/provider/github-copilot.js +100 -100
  527. package/dist/plugin/provider/gitlab.js +98 -98
  528. package/dist/plugin/provider/google-vertex.js +115 -115
  529. package/dist/plugin/provider/kilo.js +1 -1
  530. package/dist/plugin/provider/llmgateway.js +82 -82
  531. package/dist/plugin/provider/lmstudio.js +125 -125
  532. package/dist/plugin/provider/local.js +124 -124
  533. package/dist/plugin/provider/modal.js +97 -97
  534. package/dist/plugin/provider/neon.js +1 -1
  535. package/dist/plugin/provider/nvidia.js +1 -1
  536. package/dist/plugin/provider/ollama.js +127 -127
  537. package/dist/plugin/provider/openai-context-caps.js +95 -95
  538. package/dist/plugin/provider/openai.js +118 -118
  539. package/dist/plugin/provider/opencode-legacy.js +105 -105
  540. package/dist/plugin/provider/opencode.js +124 -124
  541. package/dist/plugin/provider/openrouter.js +96 -96
  542. package/dist/plugin/provider/perplexity.js +2 -2
  543. package/dist/plugin/provider/poe.js +83 -83
  544. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  545. package/dist/plugin/provider/sap-ai-core.js +96 -96
  546. package/dist/plugin/provider/sdk-factory.js +1 -1
  547. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  548. package/dist/plugin/provider/vercel.js +95 -95
  549. package/dist/plugin/provider/vllm.js +127 -127
  550. package/dist/plugin/provider/xai.js +96 -96
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +175 -175
  553. package/dist/plugin/sdk.js +80 -80
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +136 -136
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +354 -354
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +6 -6
  560. package/dist/plugin/vcs/git.js +91 -91
  561. package/dist/plugin/vcs/hg.js +91 -91
  562. package/dist/plugin/verbosity.js +98 -98
  563. package/dist/plugin/warming.js +116 -116
  564. package/dist/plugin/websearch/exa.js +5 -5
  565. package/dist/plugin/websearch/firecrawl.js +6 -6
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +6 -6
  568. package/dist/plugin/websearch/parallel.js +8 -8
  569. package/dist/plugin/websearch/tavily.js +6 -6
  570. package/dist/plugin/websearch/tinyfish.js +8 -8
  571. package/dist/plugin.js +231 -231
  572. package/dist/project/schema.js +2 -2
  573. package/dist/project/sql.js +4 -4
  574. package/dist/project.js +85 -85
  575. package/dist/provider.js +98 -98
  576. package/dist/pty/protocol.js +1 -1
  577. package/dist/pty/ticket.js +1 -1
  578. package/dist/pty.js +101 -101
  579. package/dist/reference/instructions.js +94 -94
  580. package/dist/reference.js +96 -96
  581. package/dist/repository-cache.js +86 -86
  582. package/dist/repository.js +1 -1
  583. package/dist/ripgrep/binary.js +2 -2
  584. package/dist/ripgrep.js +102 -102
  585. package/dist/rpc.js +91 -91
  586. package/dist/schema.js +1 -1
  587. package/dist/session/affinity.js +1 -1
  588. package/dist/session/command.js +78 -78
  589. package/dist/session/compaction.js +141 -141
  590. package/dist/session/context.js +167 -167
  591. package/dist/session/diff.js +93 -93
  592. package/dist/session/environment.js +5 -5
  593. package/dist/session/error.js +5 -5
  594. package/dist/session/event.js +1 -1
  595. package/dist/session/execution/restart.js +226 -226
  596. package/dist/session/execution.js +133 -133
  597. package/dist/session/generate.js +169 -169
  598. package/dist/session/history.js +15 -15
  599. package/dist/session/inbox.js +99 -99
  600. package/dist/session/info.js +3 -3
  601. package/dist/session/instruction-entry.js +83 -83
  602. package/dist/session/instruction-state.js +8 -8
  603. package/dist/session/instructions.js +102 -102
  604. package/dist/session/message-updater.js +2 -2
  605. package/dist/session/message.js +1 -1
  606. package/dist/session/model-request.js +125 -125
  607. package/dist/session/model-transport.js +9 -9
  608. package/dist/session/move.js +135 -135
  609. package/dist/session/projector.js +93 -93
  610. package/dist/session/prompt.js +110 -110
  611. package/dist/session/recent-text.js +1 -1
  612. package/dist/session/revert.js +99 -99
  613. package/dist/session/run-coordinator.js +3 -3
  614. package/dist/session/runner/index.js +3 -3
  615. package/dist/session/runner/llm.js +233 -233
  616. package/dist/session/runner/max-steps.js +1 -1
  617. package/dist/session/runner/model.js +105 -105
  618. package/dist/session/runner/publish-llm-event.js +118 -118
  619. package/dist/session/runner/retry.js +5 -5
  620. package/dist/session/runner/step.js +129 -129
  621. package/dist/session/runner/to-llm-message.js +14 -14
  622. package/dist/session/schema.js +5 -5
  623. package/dist/session/session.js +167 -167
  624. package/dist/session/shell.js +132 -132
  625. package/dist/session/skill.js +108 -108
  626. package/dist/session/sql.js +5 -5
  627. package/dist/session/stats.js +79 -79
  628. package/dist/session/store.js +89 -89
  629. package/dist/session/subagent-completion.js +1 -1
  630. package/dist/session/subagent-job.js +214 -214
  631. package/dist/session/system-prompt.js +3 -3
  632. package/dist/session/title.js +169 -169
  633. package/dist/session/to-session-error.js +117 -117
  634. package/dist/session/transfer.js +222 -222
  635. package/dist/session/usage.js +1 -1
  636. package/dist/session.js +220 -220
  637. package/dist/shell/parse.js +6 -6
  638. package/dist/shell/result.js +1 -1
  639. package/dist/shell/scan.js +1 -1
  640. package/dist/shell/select.js +15 -15
  641. package/dist/shell.js +134 -134
  642. package/dist/skill/discovery.js +6 -6
  643. package/dist/skill/instructions.js +110 -110
  644. package/dist/skill.js +119 -119
  645. package/dist/snapshot.js +98 -98
  646. package/dist/state.js +1 -1
  647. package/dist/tool/html-markdown.js +1 -1
  648. package/dist/tool/http-body.js +1 -1
  649. package/dist/tool/mcp.js +140 -140
  650. package/dist/tool/plugin/edit.js +125 -125
  651. package/dist/tool/plugin/file-diff.js +1 -1
  652. package/dist/tool/plugin/glob.js +129 -129
  653. package/dist/tool/plugin/grep.js +129 -129
  654. package/dist/tool/plugin/mcp-resource.js +129 -129
  655. package/dist/tool/plugin/opencode.js +114 -114
  656. package/dist/tool/plugin/patch.js +127 -127
  657. package/dist/tool/plugin/question.js +108 -108
  658. package/dist/tool/plugin/read.js +130 -130
  659. package/dist/tool/plugin/shell.js +217 -217
  660. package/dist/tool/plugin/skill.js +116 -116
  661. package/dist/tool/plugin/subagent.js +219 -219
  662. package/dist/tool/plugin/todo.js +140 -140
  663. package/dist/tool/plugin/webfetch.js +116 -116
  664. package/dist/tool/plugin/websearch.js +115 -115
  665. package/dist/tool/plugin/write.js +127 -127
  666. package/dist/tool/read-filesystem.js +107 -107
  667. package/dist/tool/runtime.js +1 -1
  668. package/dist/tool-output.js +7 -7
  669. package/dist/tool.js +16 -16
  670. package/dist/usage-limits.js +93 -93
  671. package/dist/util/error-summary.js +1 -1
  672. package/dist/util/git-executable.js +3 -3
  673. package/dist/util/lazy.js +1 -1
  674. package/dist/util/slug.js +1 -1
  675. package/dist/util/token.js +1 -1
  676. package/dist/util/which.js +1 -1
  677. package/dist/util/wildcard.js +1 -1
  678. package/dist/v1/config/agent.js +5 -5
  679. package/dist/v1/config/command.js +3 -3
  680. package/dist/v1/config/mcp.js +6 -6
  681. package/dist/v1/config/migrate.js +97 -97
  682. package/dist/v1/config/permission.js +7 -7
  683. package/dist/v1/config/plugin.js +3 -3
  684. package/dist/v1/config/provider-options.js +1 -1
  685. package/dist/v1/config/provider.js +4 -4
  686. package/dist/variant.js +98 -98
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +94 -94
  689. package/dist/voice.js +92 -92
  690. package/dist/websearch.js +88 -88
  691. package/dist/wellknown/plugin.js +80 -80
  692. package/dist/wellknown.js +83 -83
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +84 -84
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +11 -11
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +94 -94
  700. package/dist/worktree.js +103 -103
  701. package/package.json +8 -8
  702. package/dist/chunks/filesystem-0983wq4j.js +0 -26
  703. package/dist/chunks/filesystem-6cw60t4e.js +0 -261
  704. package/dist/chunks/filesystem-sx82062d.js +0 -517
  705. package/dist/chunks/filesystem-z355x5yr.js +0 -18
  706. /package/dist/chunks/{filesystem-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{filesystem-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{filesystem-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{filesystem-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{filesystem-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{filesystem-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{filesystem-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  713. /package/dist/chunks/{filesystem-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{filesystem-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{filesystem-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  716. /package/dist/chunks/{filesystem-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{filesystem-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{filesystem-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{filesystem-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{filesystem-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{filesystem-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{filesystem-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  723. /package/dist/chunks/{filesystem-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{filesystem-5fjb7ams.js → model-resolver-5fjb7ams.js} +0 -0
  725. /package/dist/chunks/{filesystem-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  726. /package/dist/chunks/{filesystem-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  727. /package/dist/chunks/{filesystem-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{filesystem-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{filesystem-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  730. /package/dist/chunks/{filesystem-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  731. /package/dist/chunks/{filesystem-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{filesystem-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{filesystem-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{filesystem-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{filesystem-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{filesystem-a058387c.js → model-resolver-a058387c.js} +0 -0
  737. /package/dist/chunks/{filesystem-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{filesystem-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{filesystem-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{filesystem-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{filesystem-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{filesystem-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{filesystem-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{filesystem-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{filesystem-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
  746. /package/dist/chunks/{filesystem-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{filesystem-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{filesystem-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{filesystem-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{filesystem-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{filesystem-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  752. /package/dist/chunks/{filesystem-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{filesystem-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{filesystem-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{filesystem-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{filesystem-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{filesystem-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{filesystem-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{filesystem-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{filesystem-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{filesystem-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{filesystem-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{filesystem-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  764. /package/dist/chunks/{filesystem-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{filesystem-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  766. /package/dist/chunks/{filesystem-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  767. /package/dist/chunks/{filesystem-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  768. /package/dist/chunks/{filesystem-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{filesystem-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{filesystem-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{filesystem-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{filesystem-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{filesystem-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
  774. /package/dist/chunks/{filesystem-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  775. /package/dist/chunks/{filesystem-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{filesystem-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  777. /package/dist/chunks/{filesystem-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  778. /package/dist/chunks/{filesystem-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  779. /package/dist/chunks/{filesystem-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  780. /package/dist/chunks/{filesystem-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  781. /package/dist/chunks/{filesystem-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  782. /package/dist/chunks/{filesystem-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
  783. /package/dist/chunks/{filesystem-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  784. /package/dist/chunks/{filesystem-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  785. /package/dist/chunks/{filesystem-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  786. /package/dist/chunks/{filesystem-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  787. /package/dist/chunks/{filesystem-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  788. /package/dist/chunks/{filesystem-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  789. /package/dist/chunks/{filesystem-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  790. /package/dist/chunks/{filesystem-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  791. /package/dist/chunks/{filesystem-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  792. /package/dist/chunks/{filesystem-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  793. /package/dist/chunks/{filesystem-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  794. /package/dist/chunks/{filesystem-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  795. /package/dist/chunks/{filesystem-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  796. /package/dist/chunks/{filesystem-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  797. /package/dist/chunks/{filesystem-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
  798. /package/dist/chunks/{filesystem-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  799. /package/dist/chunks/{filesystem-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  800. /package/dist/chunks/{filesystem-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  801. /package/dist/chunks/{filesystem-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  802. /package/dist/chunks/{filesystem-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  803. /package/dist/chunks/{filesystem-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  804. /package/dist/chunks/{filesystem-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  805. /package/dist/chunks/{filesystem-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  806. /package/dist/chunks/{filesystem-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./filesystem-tczq8hjw.js";
3
+ } from "./model-resolver-tczq8hjw.js";
4
4
  import {
5
5
  create3
6
- } from "./filesystem-vd3b3yk9.js";
6
+ } from "./model-resolver-vd3b3yk9.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./model-resolver-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service48,
18
+ Service: () => Service50,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node51
21
+ node: () => node52
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service48 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service50 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service48, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service48.of({
124
+ return Service50.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node51 = makeLocationNode({
143
- service: Service48,
142
+ var node52 = makeLocationNode({
143
+ service: Service50,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service48, node51, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service50, node52, exports_tool_output2 };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service83
3
- } from "./filesystem-0r6ymdag.js";
3
+ } from "./model-resolver-228bjbav.js";
4
4
  import {
5
- Service55
6
- } from "./filesystem-rrbn0j5d.js";
5
+ Service54
6
+ } from "./model-resolver-gr17tpj8.js";
7
7
  import {
8
- Service14,
8
+ Service46,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./filesystem-mxem74k4.js";
11
+ } from "./model-resolver-10pb4aek.js";
12
12
  import {
13
- Service17
14
- } from "./filesystem-fakbbexg.js";
13
+ Service82
14
+ } from "./model-resolver-q5bt1w9a.js";
15
15
  import {
16
- Service73
17
- } from "./filesystem-6rh867e6.js";
16
+ Service42
17
+ } from "./model-resolver-m3xvpryp.js";
18
18
  import {
19
- Service16,
19
+ Service41,
20
20
  resolvePath2
21
- } from "./filesystem-600wwvjd.js";
21
+ } from "./model-resolver-7jehd3qf.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./filesystem-6prwharc.js";
24
+ } from "./model-resolver-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./filesystem-9rqn6x4v.js";
27
+ } from "./model-resolver-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input5,
34
- Output: () => Output4,
35
- Plugin: () => Plugin5,
36
- name: () => name5
33
+ Input: () => Input11,
34
+ Output: () => Output7,
35
+ Plugin: () => Plugin30,
36
+ name: () => name11
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai/effect";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name5 = "edit";
43
- var Input5 = Schema.Struct({
42
+ var name11 = "edit";
43
+ var Input11 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input5 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output4 = Schema.Struct({
53
+ var Output7 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin5 = {
193
+ var Plugin30 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service16;
197
- const fileMutation = yield* Service14;
198
- const environment = yield* Service55;
199
- const formatter = yield* Service17;
196
+ const access = yield* Service41;
197
+ const fileMutation = yield* Service46;
198
+ const environment = yield* Service54;
199
+ const formatter = yield* Service82;
200
200
  const location = yield* Service83;
201
- const permission = yield* Service73;
201
+ const permission = yield* Service42;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name5,
203
+ name: name11,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input5,
207
- output: Output4,
206
+ input: Input11,
207
+ output: Output7,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin5 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name5, Input5, Output4, Plugin5, exports_edit };
279
+ export { name11, Input11, Output7, Plugin30, exports_edit };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make20
9
+ make: () => make16
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make20 = (options) => Effect.gen(function* () {
12
+ var make16 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -79,4 +79,4 @@ var make20 = (options) => Effect.gen(function* () {
79
79
  return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
80
80
  });
81
81
 
82
- export { make20, exports_run_coordinator };
82
+ export { make16, exports_run_coordinator };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service69,
3
- node73
4
- } from "./filesystem-7yp67vww.js";
2
+ Service52,
3
+ node54
4
+ } from "./model-resolver-61fq8ets.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./filesystem-0r6ymdag.js";
8
+ } from "./model-resolver-228bjbav.js";
9
9
  import {
10
- Service68,
11
- node72
12
- } from "./filesystem-kw6b49qt.js";
10
+ Service51,
11
+ node53
12
+ } from "./model-resolver-7qnz14k0.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./filesystem-6esdw8yj.js";
16
+ } from "./model-resolver-6esdw8yj.js";
17
17
  import {
18
18
  __export
19
- } from "./filesystem-9rqn6x4v.js";
19
+ } from "./model-resolver-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service4,
25
+ Service: () => Service11,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node6
27
+ layer: () => layer6,
28
+ node: () => node13
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service11 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service68;
40
- const watcher = yield* Service69;
38
+ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
39
+ const config = yield* Service51;
40
+ const watcher = yield* Service52;
41
41
  const fs = yield* FSUtil.Service;
42
42
  const location = yield* Service83;
43
43
  const configuredChanges = yield* PubSub.unbounded();
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service4.of({
61
+ return Service11.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service4,
75
- layer: layer5,
76
- deps: [node72, FSUtil.node, node73, node87]
73
+ var node13 = makeLocationNode({
74
+ service: Service11,
75
+ layer: layer6,
76
+ deps: [node53, FSUtil.node, node54, node87]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service4,
80
- layer: Layer.succeed(Service4, Service4.of({
79
+ service: Service11,
80
+ layer: Layer.succeed(Service11, Service11.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service4, layer5, node6, empty2, exports_source };
140
+ export { Service11, layer6, node13, empty2, exports_source };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service87,
3
- node91
4
- } from "./filesystem-f4c57skx.js";
2
+ Service86,
3
+ node90
4
+ } from "./model-resolver-smcjsr17.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./filesystem-998yhzzq.js";
8
+ } from "./model-resolver-dvj9ct8m.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load5
12
- } from "./filesystem-srha6svp.js";
11
+ load4
12
+ } from "./model-resolver-7eq1vvbj.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./filesystem-3t73xeyv.js";
15
+ } from "./model-resolver-rxrz6b15.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput3,
24
- Service: () => Service75,
24
+ Service: () => Service43,
25
25
  SessionStore: () => exports_store,
26
- node: () => node79
26
+ node: () => node45
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -53,11 +53,11 @@ var ListProjectInput = Schema.Struct({
53
53
  var ListAllInput = Schema.Struct(ListInputBase);
54
54
  var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
55
55
 
56
- class Service75 extends Context.Service()("@opencode/SessionStore") {
56
+ class Service43 extends Context.Service()("@opencode/SessionStore") {
57
57
  }
58
- var layer = Layer.effect(Service75, Effect.gen(function* () {
59
- const { db } = yield* Service87;
60
- return Service75.of({
58
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
59
+ const { db } = yield* Service86;
60
+ return Service43.of({
61
61
  get: Effect.fnUntraced(function* (sessionID) {
62
62
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
63
63
  return row ? fromRow2(row) : undefined;
@@ -101,7 +101,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
101
101
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
102
102
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
103
103
  }),
104
- context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
104
+ context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
105
105
  message: Effect.fn("SessionStore.message")(function* (messageID) {
106
106
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
107
107
  return row ? {
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node79 = makeGlobalNode({ service: Service75, layer, deps: [node91] });
131
+ var node45 = makeGlobalNode({ service: Service43, layer, deps: [node90] });
132
132
 
133
- export { ListInput3, Service75, node79, exports_store };
133
+ export { ListInput3, Service43, node45, exports_store };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./filesystem-z5v4ffb3.js";
5
+ } from "./model-resolver-z5v4ffb3.js";
6
6
  import {
7
- Service55,
8
- node58
9
- } from "./filesystem-rrbn0j5d.js";
7
+ Service54,
8
+ node56
9
+ } from "./model-resolver-gr17tpj8.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./filesystem-maspj1v3.js";
12
+ } from "./model-resolver-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./filesystem-9rqn6x4v.js";
15
+ } from "./model-resolver-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service54,
24
- node: () => node57
23
+ Service: () => Service34,
24
+ node: () => node37
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service54 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service34 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service54, Effect.gen(function* () {
67
- const environment = yield* Service55;
66
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
67
+ const environment = yield* Service54;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service54.of({
95
+ return Service34.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node57 = makeLocationNode({ service: Service54, layer, deps: [node58, RipgrepBinary2.node] });
178
+ var node37 = makeLocationNode({ service: Service34, layer, deps: [node56, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service54, node57, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service34, node37, exports_ripgrep };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./filesystem-8shc1k29.js";
4
+ } from "./model-resolver-jctb9d8a.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./filesystem-6rh867e6.js";
8
+ } from "./model-resolver-m3xvpryp.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./filesystem-y5smbybx.js";
11
+ } from "./model-resolver-nwf2p7qx.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./filesystem-48wh137g.js";
19
+ } from "./model-resolver-2nasskxr.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./filesystem-0s7h5zzx.js";
23
+ } from "./model-resolver-xgzatw4h.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai/effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./filesystem-e889e6n9.js";
3
+ } from "./model-resolver-8j00d0n5.js";
4
4
 
5
5
  // src/plugin/provider/vllm.ts
6
6
  import { Effect, Schema } from "effect";
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
11
11
  max_model_len: Schema.NullOr(Schema.Int)
12
12
  });
13
13
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
14
- var make10 = createLocalProviderPlugin2({
14
+ var make7 = createLocalProviderPlugin2({
15
15
  id: "opencode.provider.vllm",
16
16
  providerID,
17
17
  name: "vLLM",
@@ -26,6 +26,6 @@ var make10 = createLocalProviderPlugin2({
26
26
  context: item.max_model_len
27
27
  })
28
28
  });
29
- var VLLMPlugin2 = make10();
29
+ var VLLMPlugin2 = make7();
30
30
 
31
- export { make10, VLLMPlugin2 };
31
+ export { make7, VLLMPlugin2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
5
  Service83
6
- } from "./filesystem-0r6ymdag.js";
6
+ } from "./model-resolver-228bjbav.js";
7
7
  import {
8
- Service16
9
- } from "./filesystem-600wwvjd.js";
8
+ Service41
9
+ } from "./model-resolver-7jehd3qf.js";
10
10
  import {
11
- Service9
12
- } from "./filesystem-gajzcr6m.js";
11
+ Service6
12
+ } from "./model-resolver-3d1a3cpa.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./filesystem-zkg84ctx.js";
15
+ } from "./model-resolver-zkg84ctx.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -22,26 +22,26 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service34
26
- } from "./filesystem-cwm52xht.js";
25
+ Service25
26
+ } from "./model-resolver-wp39e252.js";
27
27
  import {
28
28
  __export
29
- } from "./filesystem-9rqn6x4v.js";
29
+ } from "./model-resolver-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input6,
35
- Plugin: () => Plugin6,
34
+ Input: () => Input8,
35
+ Plugin: () => Plugin27,
36
36
  ReadTool: () => exports_read,
37
- name: () => name6,
38
- toModelContent: () => toModelContent4
37
+ name: () => name8,
38
+ toModelContent: () => toModelContent3
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai/effect";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name6 = "read";
44
+ var name8 = "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 Input6 = LocationInput;
55
+ var Input8 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin6 = {
57
+ var Plugin27 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service34;
61
- const access = yield* Service16;
62
- const sessionInstructions = yield* Service9;
60
+ const reader = yield* Service25;
61
+ const access = yield* Service41;
62
+ const sessionInstructions = yield* Service6;
63
63
  const fs = yield* FSUtil.Service;
64
64
  const location = yield* Service83;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name6,
66
+ name: name8,
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: Input6,
69
+ input: Input8,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin6 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent4(result.path, input.offset, result.output),
113
+ content: toModelContent3(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 toModelContent4 = (path, offset, output) => {
146
+ var toModelContent3 = (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 toModelContent4 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name6, Input6, Plugin6, toModelContent4, exports_read };
182
+ export { name8, Input8, Plugin27, toModelContent3, exports_read };