@opencode/core 0.0.0-dev-19985 → 0.0.0-dev-19986

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +72 -72
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{filesystem-e6zry6hq.js → model-02x3fxhb.js} +16 -16
  8. package/dist/chunks/{filesystem-2cwnbxh6.js → model-09bq7etx.js} +15 -15
  9. package/dist/chunks/{filesystem-e6mn5jv8.js → model-09ez71p6.js} +8 -8
  10. package/dist/chunks/{filesystem-vh4qwyhx.js → model-0arxtjdz.js} +5 -5
  11. package/dist/chunks/{filesystem-d5nq0r8d.js → model-0asf0tv2.js} +29 -29
  12. package/dist/chunks/{filesystem-9kyyj4mw.js → model-0h34xgtp.js} +23 -23
  13. package/dist/chunks/{filesystem-mx9vqzsb.js → model-0hf9g8pg.js} +6 -6
  14. package/dist/chunks/{filesystem-bb2n5bqw.js → model-0hna2yy5.js} +42 -42
  15. package/dist/chunks/{filesystem-2178wyr2.js → model-0kxajatb.js} +11 -11
  16. package/dist/chunks/{filesystem-0paq2nw3.js → model-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{filesystem-0q0f95c6.js → model-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{filesystem-efpdwb6x.js → model-0qxdwqj8.js} +18 -18
  19. package/dist/chunks/{filesystem-0dy0awfd.js → model-0vqy8ggk.js} +16 -16
  20. package/dist/chunks/{filesystem-8p6xzk0z.js → model-0w0pfv64.js} +6 -6
  21. package/dist/chunks/{filesystem-wxr37xc2.js → model-0y5n2msm.js} +5 -5
  22. package/dist/chunks/{filesystem-6fatt4mk.js → model-11dqjexa.js} +9 -9
  23. package/dist/chunks/{filesystem-7t5b4y9r.js → model-1984k6t2.js} +15 -15
  24. package/dist/chunks/{filesystem-73tb2d7t.js → model-1bbkgx8g.js} +3 -3
  25. package/dist/chunks/{filesystem-1dazxqgg.js → model-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{filesystem-2xr15r6z.js → model-1dvkw6kv.js} +24 -24
  27. package/dist/chunks/{filesystem-hd4ggg0f.js → model-1kf1zw0p.js} +7 -7
  28. package/dist/chunks/{filesystem-xxnqz17r.js → model-1kpjy7fz.js} +27 -27
  29. package/dist/chunks/{filesystem-2dayh34n.js → model-1vnz04j6.js} +84 -84
  30. package/dist/chunks/{filesystem-33w4ejhs.js → model-1ygqh575.js} +6 -6
  31. package/dist/chunks/{filesystem-21r38tys.js → model-21r38tys.js} +1 -1
  32. package/dist/chunks/{filesystem-w82fgawr.js → model-22dh126j.js} +6 -6
  33. package/dist/chunks/{filesystem-4wgmm2fj.js → model-233tjdzm.js} +4 -4
  34. package/dist/chunks/{filesystem-29x78va6.js → model-29x78va6.js} +2 -2
  35. package/dist/chunks/{filesystem-2a5m3afh.js → model-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{filesystem-6nkz7cqz.js → model-2hj9r0q6.js} +40 -40
  37. package/dist/chunks/{filesystem-wh4ahp02.js → model-2jxgcw4v.js} +10 -10
  38. package/dist/chunks/{filesystem-7dqw4kz8.js → model-2k8khapm.js} +5 -5
  39. package/dist/chunks/{filesystem-frxaaayt.js → model-2kkjm1by.js} +32 -32
  40. package/dist/chunks/{filesystem-k5gd0tq9.js → model-2kpwbvjk.js} +26 -26
  41. package/dist/chunks/{filesystem-ag9w8cw1.js → model-2qp6y8xf.js} +5 -5
  42. package/dist/chunks/{filesystem-56yns3xt.js → model-36tt9758.js} +15 -15
  43. package/dist/chunks/{filesystem-v7zj3nz5.js → model-376qmtdk.js} +16 -16
  44. package/dist/chunks/{filesystem-vds9m2vb.js → model-38zbz3tv.js} +9 -9
  45. package/dist/chunks/{filesystem-08n7z093.js → model-3aq06pgr.js} +19 -19
  46. package/dist/chunks/{filesystem-z5614h9q.js → model-3c2za3af.js} +20 -20
  47. package/dist/chunks/{filesystem-3fc6dm20.js → model-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{filesystem-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{filesystem-dwy07qr3.js → model-3n7m2hk2.js} +22 -22
  50. package/dist/chunks/{filesystem-w446yvqy.js → model-3nyzas2y.js} +2 -2
  51. package/dist/chunks/{filesystem-q7rwn2x2.js → model-3r1htj1f.js} +21 -21
  52. package/dist/chunks/{filesystem-3smtnn6g.js → model-3smtnn6g.js} +1 -1
  53. package/dist/chunks/{filesystem-dqnhf5ps.js → model-3trq1tgd.js} +13 -13
  54. package/dist/chunks/{filesystem-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  55. package/dist/chunks/{filesystem-keat3kjn.js → model-3ythc6yv.js} +4 -4
  56. package/dist/chunks/{filesystem-vvk3ve44.js → model-40k8kmwx.js} +7 -7
  57. package/dist/chunks/{filesystem-v35f087t.js → model-43y4pgnj.js} +1 -1
  58. package/dist/chunks/{filesystem-sfpgy6fa.js → model-4817rykz.js} +10 -10
  59. package/dist/chunks/{filesystem-4dgbcxzg.js → model-4dgbcxzg.js} +1 -1
  60. package/dist/chunks/{filesystem-2v3pyxh6.js → model-4rdqryht.js} +8 -8
  61. package/dist/chunks/{filesystem-kcvtahyt.js → model-4x08tbr8.js} +17 -17
  62. package/dist/chunks/{filesystem-hc1m44b4.js → model-4ywpd5fw.js} +20 -20
  63. package/dist/chunks/{filesystem-vmq7ehpy.js → model-510m7gjw.js} +5 -5
  64. package/dist/chunks/{filesystem-cwfj27x7.js → model-5bqdc31q.js} +3 -3
  65. package/dist/chunks/{filesystem-a1bz86dw.js → model-5c4hm403.js} +3 -3
  66. package/dist/chunks/{filesystem-5daktx2q.js → model-5daktx2q.js} +1 -1
  67. package/dist/chunks/{filesystem-sds3e13g.js → model-5k87bj0k.js} +25 -25
  68. package/dist/chunks/{filesystem-5t3nmthw.js → model-5t3nmthw.js} +2 -2
  69. package/dist/chunks/{filesystem-e0sna5fv.js → model-5tpwjqwz.js} +35 -35
  70. package/dist/chunks/{filesystem-xst10gja.js → model-5z7mvqc9.js} +7 -7
  71. package/dist/chunks/{filesystem-669tq793.js → model-669tq793.js} +1 -1
  72. package/dist/chunks/{filesystem-afed7ext.js → model-68y7phbn.js} +5 -5
  73. package/dist/chunks/{filesystem-ggq5dcm3.js → model-6drgx612.js} +11 -11
  74. package/dist/chunks/{filesystem-2402vzrj.js → model-6h73sxmp.js} +5 -5
  75. package/dist/chunks/{filesystem-6msgmcgs.js → model-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{filesystem-tz5abwqk.js → model-6xvp8w0a.js} +18 -18
  77. package/dist/chunks/{filesystem-50mvj34d.js → model-744mfh37.js} +31 -31
  78. package/dist/chunks/{filesystem-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{filesystem-kgwkn692.js → model-7e8yzj3r.js} +9 -9
  80. package/dist/chunks/{filesystem-4b3pvx7e.js → model-7fafv5n6.js} +24 -24
  81. package/dist/chunks/{filesystem-kx9spr8q.js → model-7n4gz87d.js} +6 -6
  82. package/dist/chunks/{filesystem-tamkpa3n.js → model-7rqh2ctm.js} +11 -11
  83. package/dist/chunks/{filesystem-4gabqsjb.js → model-7v1f06d3.js} +15 -15
  84. package/dist/chunks/{filesystem-23sxaqwc.js → model-7w3s9kd0.js} +6 -6
  85. package/dist/chunks/model-7z8m4jdr.js +26 -0
  86. package/dist/chunks/{filesystem-vgrtq7ff.js → model-7zc7y866.js} +25 -25
  87. package/dist/chunks/{filesystem-bddt2pqj.js → model-80vk4pbp.js} +7 -7
  88. package/dist/chunks/{filesystem-57ez7d0k.js → model-81swgkk7.js} +7 -7
  89. package/dist/chunks/{filesystem-e85wkba2.js → model-821c2grm.js} +12 -12
  90. package/dist/chunks/{filesystem-793adb1z.js → model-85qenhzt.js} +28 -28
  91. package/dist/chunks/{filesystem-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{filesystem-7m1b5r48.js → model-8dn5gfvq.js} +10 -10
  93. package/dist/chunks/{filesystem-gex21hkg.js → model-8rps6qd7.js} +21 -21
  94. package/dist/chunks/{filesystem-a5w0czkv.js → model-8xb42w3d.js} +60 -60
  95. package/dist/chunks/{filesystem-zfyhmt8d.js → model-911xaqx0.js} +20 -20
  96. package/dist/chunks/{filesystem-464d904a.js → model-99ggta0x.js} +135 -135
  97. package/dist/chunks/{filesystem-70c5k9gj.js → model-9dnmtttn.js} +13 -13
  98. package/dist/chunks/{filesystem-8cy2627w.js → model-9ga41e26.js} +14 -14
  99. package/dist/chunks/{filesystem-5xtgfte3.js → model-9hn6k4tm.js} +8 -8
  100. package/dist/chunks/{filesystem-961777zn.js → model-9r166ngg.js} +3 -3
  101. package/dist/chunks/{filesystem-rdnhh455.js → model-9xwr79ss.js} +12 -12
  102. package/dist/chunks/{filesystem-a2ew8a62.js → model-a2ew8a62.js} +1 -1
  103. package/dist/chunks/{filesystem-0x2h520v.js → model-a6zskm12.js} +26 -26
  104. package/dist/chunks/{filesystem-aaet6srn.js → model-aaet6srn.js} +2 -2
  105. package/dist/chunks/{filesystem-0tvmtyg9.js → model-ac4jjyh9.js} +18 -18
  106. package/dist/chunks/{filesystem-gmrppb9j.js → model-acyp9nmy.js} +4 -4
  107. package/dist/chunks/{filesystem-tb6t8ms4.js → model-agxh3jj7.js} +6 -6
  108. package/dist/chunks/{filesystem-jm1e84c6.js → model-ajmr5gq8.js} +48 -48
  109. package/dist/chunks/{filesystem-m8btp16q.js → model-as3fcxs1.js} +75 -75
  110. package/dist/chunks/{filesystem-vsp1fds9.js → model-axmvebxj.js} +4 -4
  111. package/dist/chunks/{filesystem-3wss6xvz.js → model-b00xhfda.js} +7 -7
  112. package/dist/chunks/{filesystem-zhm4m9p9.js → model-b05n7962.js} +30 -30
  113. package/dist/chunks/{filesystem-mx3p2n25.js → model-b0g5qfh4.js} +7 -7
  114. package/dist/chunks/{filesystem-ws621yd9.js → model-b1rwpjt2.js} +38 -38
  115. package/dist/chunks/{filesystem-c9vj76y8.js → model-b5yj1c48.js} +17 -17
  116. package/dist/chunks/{filesystem-b6gygkdw.js → model-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{filesystem-kne8f3cn.js → model-baaqp4zd.js} +4 -4
  118. package/dist/chunks/{filesystem-yad5pthg.js → model-bba39dcq.js} +24 -24
  119. package/dist/chunks/{filesystem-636h0e3e.js → model-bn88dpwe.js} +2 -2
  120. package/dist/chunks/{filesystem-f9hy97hv.js → model-bt0xyq03.js} +11 -11
  121. package/dist/chunks/{filesystem-abm0rsa5.js → model-c4szcb1p.js} +8 -8
  122. package/dist/chunks/{filesystem-6n2xac0h.js → model-cbyzv88m.js} +11 -11
  123. package/dist/chunks/{filesystem-gmtyk6kh.js → model-cdpzgvn4.js} +9 -9
  124. package/dist/chunks/{filesystem-d1r5081s.js → model-ce5fknq2.js} +5 -5
  125. package/dist/chunks/{filesystem-07770t2t.js → model-cjwramev.js} +4 -4
  126. package/dist/chunks/{filesystem-djszqvmq.js → model-cpneeje0.js} +9 -9
  127. package/dist/chunks/{filesystem-23pqda6t.js → model-cpy6gm2a.js} +6 -6
  128. package/dist/chunks/{filesystem-88sz8qcd.js → model-csf2jhsg.js} +4 -4
  129. package/dist/chunks/{filesystem-dn3c2qc4.js → model-ctmp0cgk.js} +24 -24
  130. package/dist/chunks/{filesystem-8p4f9s12.js → model-dj2t23y0.js} +2 -2
  131. package/dist/chunks/{filesystem-y71avatq.js → model-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{filesystem-ew7hwn7j.js → model-dpwc31n5.js} +20 -20
  133. package/dist/chunks/{filesystem-1xgad0ca.js → model-dr7gxcgm.js} +10 -10
  134. package/dist/chunks/{filesystem-xfkkasph.js → model-drwq78ky.js} +4 -4
  135. package/dist/chunks/{filesystem-za9m4y5n.js → model-ebdyxsk8.js} +20 -20
  136. package/dist/chunks/{filesystem-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{filesystem-s7ctwtcq.js → model-efdt01wf.js} +18 -18
  138. package/dist/chunks/{filesystem-erw5rpbs.js → model-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{filesystem-etq0c3wd.js → model-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{filesystem-rzfg7075.js → model-ey7qv34p.js} +27 -27
  141. package/dist/chunks/{filesystem-dhwr7h25.js → model-f32czd11.js} +8 -8
  142. package/dist/chunks/{filesystem-m4q3p37a.js → model-f50x3b3s.js} +13 -13
  143. package/dist/chunks/{filesystem-6ysrkrkr.js → model-f5gy8qwh.js} +8 -8
  144. package/dist/chunks/{filesystem-cq37gk0t.js → model-fab8hzt3.js} +4 -4
  145. package/dist/chunks/{filesystem-hjxgxr48.js → model-fawkavha.js} +4 -4
  146. package/dist/chunks/{filesystem-w533tarm.js → model-fh25xc84.js} +20 -20
  147. package/dist/chunks/{filesystem-k9kj6xed.js → model-fkjmw100.js} +2 -2
  148. package/dist/chunks/{filesystem-vvax6fjg.js → model-fm317nwr.js} +14 -14
  149. package/dist/chunks/{filesystem-fxbjtjnd.js → model-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{filesystem-b03343t8.js → model-g7q8d3rw.js} +13 -13
  151. package/dist/chunks/{filesystem-b8wc72va.js → model-gcd43y7x.js} +17 -17
  152. package/dist/chunks/{filesystem-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{filesystem-7sykw5ek.js → model-gdnmvhtd.js} +25 -25
  154. package/dist/chunks/{filesystem-4r6ztwym.js → model-gfvsdv7e.js} +6 -6
  155. package/dist/chunks/{filesystem-a3zv9t7g.js → model-gjrpp66z.js} +11 -11
  156. package/dist/chunks/{filesystem-2jbnthh3.js → model-gr7kh44d.js} +14 -14
  157. package/dist/chunks/{filesystem-gv6a8nnw.js → model-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{filesystem-19a9vrq3.js → model-gwc5p263.js} +3 -3
  159. package/dist/chunks/model-h2z4ejvh.js +252 -0
  160. package/dist/chunks/{filesystem-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{filesystem-76nv9rak.js → model-h9dz8fj7.js} +32 -32
  162. package/dist/chunks/{filesystem-an5w92pz.js → model-h9x5fspw.js} +16 -16
  163. package/dist/chunks/{filesystem-czx28beh.js → model-hckbve9z.js} +31 -31
  164. package/dist/chunks/{filesystem-f828m53h.js → model-hdnk95c8.js} +2 -2
  165. package/dist/chunks/{filesystem-d9rbnbyj.js → model-hk86mw2f.js} +302 -302
  166. package/dist/chunks/{filesystem-qx5d9ajw.js → model-hmw3pr0d.js} +3 -3
  167. package/dist/chunks/{filesystem-76j10fxw.js → model-hzvbkkwq.js} +5 -5
  168. package/dist/chunks/{filesystem-pnv527nz.js → model-j3s2z371.js} +9 -9
  169. package/dist/chunks/{filesystem-j56e64zr.js → model-j56e64zr.js} +1 -1
  170. package/dist/chunks/{filesystem-mgmaefw5.js → model-j7ym9e45.js} +3 -3
  171. package/dist/chunks/{filesystem-3casrxqv.js → model-jck6t8kb.js} +47 -47
  172. package/dist/chunks/{filesystem-983we7ba.js → model-jea9yeya.js} +33 -33
  173. package/dist/chunks/{filesystem-q3bxgjqn.js → model-jpeemenq.js} +4 -4
  174. package/dist/chunks/{filesystem-mt9bxwhn.js → model-jxd6phk9.js} +3 -3
  175. package/dist/chunks/{filesystem-z5dr2f93.js → model-jxdt7bj1.js} +2 -2
  176. package/dist/chunks/{filesystem-arm41a3t.js → model-k1eqknct.js} +12 -12
  177. package/dist/chunks/{filesystem-zptm4m77.js → model-k7kjyac2.js} +1 -1
  178. package/dist/chunks/{filesystem-04k65yr5.js → model-k9a0313z.js} +11 -11
  179. package/dist/chunks/{filesystem-5d7brjha.js → model-kbsrxwde.js} +20 -20
  180. package/dist/chunks/{filesystem-stsqwfg0.js → model-kqsk5bay.js} +15 -15
  181. package/dist/chunks/{filesystem-ga28zqw9.js → model-kst9mf61.js} +19 -19
  182. package/dist/chunks/{filesystem-0xr2qn80.js → model-kt6y54za.js} +9 -9
  183. package/dist/chunks/{filesystem-f09mvmr0.js → model-kwrjnxj7.js} +9 -9
  184. package/dist/chunks/{filesystem-x0600czv.js → model-ky3seynh.js} +2 -2
  185. package/dist/chunks/{filesystem-9afpsfvx.js → model-m0ecvezt.js} +15 -15
  186. package/dist/chunks/{filesystem-cfpkc3c9.js → model-m0jqrx5p.js} +2 -2
  187. package/dist/chunks/{filesystem-m3fdjcah.js → model-m3fdjcah.js} +1 -1
  188. package/dist/chunks/{filesystem-prryh28n.js → model-m5hyj67z.js} +5 -5
  189. package/dist/chunks/{filesystem-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{filesystem-rddmyqfq.js → model-mg0wqdec.js} +24 -24
  191. package/dist/chunks/{filesystem-msvsfnt3.js → model-mgtgxz5r.js} +9 -9
  192. package/dist/chunks/{filesystem-35m7c38y.js → model-mh1qkymb.js} +4 -4
  193. package/dist/chunks/{filesystem-3bjt0azc.js → model-mjqa7j4g.js} +19 -19
  194. package/dist/chunks/{filesystem-k7myrtme.js → model-mphgtbj1.js} +9 -9
  195. package/dist/chunks/{filesystem-2449akcn.js → model-mrkn01vt.js} +16 -16
  196. package/dist/chunks/{filesystem-wgw4srnb.js → model-mxx22ze4.js} +21 -21
  197. package/dist/chunks/{filesystem-enxmvdqw.js → model-n3khnxxm.js} +20 -20
  198. package/dist/chunks/{filesystem-1a3s12px.js → model-nqkhhm1a.js} +8 -8
  199. package/dist/chunks/{filesystem-af04s6ss.js → model-nxhqveyz.js} +5 -5
  200. package/dist/chunks/{filesystem-k3c624dm.js → model-nzks3jc8.js} +3 -3
  201. package/dist/chunks/{filesystem-36ckcbr5.js → model-pdbha7qx.js} +46 -46
  202. package/dist/chunks/{filesystem-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{filesystem-pknna89w.js → model-pknna89w.js} +1 -1
  204. package/dist/chunks/{filesystem-gvn55taw.js → model-pm021q3e.js} +9 -9
  205. package/dist/chunks/{filesystem-6evbdv63.js → model-prkj3g34.js} +9 -9
  206. package/dist/chunks/{filesystem-asp0ht71.js → model-q91y1k20.js} +6 -6
  207. package/dist/chunks/{filesystem-k8hpw67k.js → model-qdbakdjh.js} +5 -5
  208. package/dist/chunks/{filesystem-fpz3mx6x.js → model-qdkgm6eb.js} +14 -14
  209. package/dist/chunks/{filesystem-rk88yvf9.js → model-qeaksvd1.js} +10 -10
  210. package/dist/chunks/{filesystem-2dp8p6n2.js → model-qnttz4bc.js} +13 -13
  211. package/dist/chunks/{filesystem-qsdy395h.js → model-qsdy395h.js} +1 -1
  212. package/dist/chunks/{filesystem-f8vvpw96.js → model-qvm8zske.js} +39 -39
  213. package/dist/chunks/{filesystem-afgm61tm.js → model-qwh6hz7y.js} +5 -5
  214. package/dist/chunks/{filesystem-4e8vs6eh.js → model-qwjmgwmn.js} +8 -8
  215. package/dist/chunks/{filesystem-dw1hb3qg.js → model-r014f9z3.js} +23 -23
  216. package/dist/chunks/{filesystem-frcr067y.js → model-r097esf4.js} +21 -21
  217. package/dist/chunks/{filesystem-2d0h499m.js → model-r76rkyqz.js} +4 -4
  218. package/dist/chunks/{filesystem-yp2x3t23.js → model-r8xr0va3.js} +4 -4
  219. package/dist/chunks/{filesystem-0v53mg2y.js → model-r98e92ep.js} +4 -4
  220. package/dist/chunks/{filesystem-wxnh3zbj.js → model-rdm5x9bh.js} +3 -3
  221. package/dist/chunks/{filesystem-rdw6cm16.js → model-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{filesystem-gkxywbd8.js → model-rf8gwv68.js} +9 -9
  223. package/dist/chunks/{filesystem-rhjbct0v.js → model-rhjbct0v.js} +1 -1
  224. package/dist/chunks/{filesystem-q3hac6h7.js → model-rq7amxn9.js} +18 -18
  225. package/dist/chunks/{filesystem-4da2pd5b.js → model-rw2zfnw1.js} +38 -38
  226. package/dist/chunks/{filesystem-vmz6a58x.js → model-rwy8m34b.js} +3 -3
  227. package/dist/chunks/{filesystem-q0sfhvah.js → model-ry0fdc19.js} +1 -1
  228. package/dist/chunks/{filesystem-cx1qg717.js → model-s05x4jm2.js} +20 -20
  229. package/dist/chunks/{filesystem-s4enseaf.js → model-s4enseaf.js} +2 -2
  230. package/dist/chunks/{filesystem-s5kb3k8e.js → model-s5kb3k8e.js} +4 -4
  231. package/dist/chunks/{filesystem-hg14h15t.js → model-sjb5616m.js} +22 -22
  232. package/dist/chunks/{filesystem-8xwhmszd.js → model-sv1t6xhr.js} +9 -9
  233. package/dist/chunks/{filesystem-w94kskkz.js → model-szck2fw2.js} +8 -8
  234. package/dist/chunks/{filesystem-sexgt17t.js → model-szsw9c27.js} +1 -1
  235. package/dist/chunks/{filesystem-738dabjt.js → model-t1fsmxc3.js} +30 -30
  236. package/dist/chunks/{filesystem-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{filesystem-tbz0fdvh.js → model-tbz0fdvh.js} +2 -2
  238. package/dist/chunks/{filesystem-tcezcvh9.js → model-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{filesystem-tdstcens.js → model-tdstcens.js} +1 -1
  240. package/dist/chunks/{filesystem-8we60ned.js → model-te4j4s1y.js} +33 -33
  241. package/dist/chunks/{filesystem-zx5z6yb5.js → model-tj1f8e25.js} +11 -11
  242. package/dist/chunks/{filesystem-eyvfapca.js → model-tnvaxyve.js} +17 -17
  243. package/dist/chunks/{filesystem-scq4khx8.js → model-ts2x07a1.js} +1 -1
  244. package/dist/chunks/{filesystem-tvtrv512.js → model-tvtrv512.js} +1 -1
  245. package/dist/chunks/{filesystem-mbac1kct.js → model-tygxfmr3.js} +10 -10
  246. package/dist/chunks/{filesystem-j5rxtxht.js → model-vbfgae2j.js} +4 -4
  247. package/dist/chunks/{filesystem-veqvce7d.js → model-veqvce7d.js} +1 -1
  248. package/dist/chunks/{filesystem-dzc2vx4y.js → model-vkvppane.js} +6 -6
  249. package/dist/chunks/{filesystem-v8g5y6jd.js → model-vnrw16qp.js} +12 -12
  250. package/dist/chunks/{filesystem-rc50wbp4.js → model-vp67155v.js} +10 -10
  251. package/dist/chunks/model-vsdyktar.js +18 -0
  252. package/dist/chunks/{filesystem-vzcthcp8.js → model-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{filesystem-jkayeeaj.js → model-w1gdqckm.js} +6 -6
  254. package/dist/chunks/{filesystem-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{filesystem-ja4wy4ee.js → model-wb2crypr.js} +3 -3
  256. package/dist/chunks/{filesystem-wd87259q.js → model-wd87259q.js} +1 -1
  257. package/dist/chunks/{filesystem-yfrapfkp.js → model-wgczap0h.js} +4 -4
  258. package/dist/chunks/{filesystem-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{filesystem-5yj9qr1n.js → model-x3eddfcp.js} +11 -11
  260. package/dist/chunks/{filesystem-hw0j4jfr.js → model-x6348xh2.js} +9 -9
  261. package/dist/chunks/{filesystem-yq3qxe3q.js → model-x816vrn9.js} +39 -39
  262. package/dist/chunks/{filesystem-1r0xw8d8.js → model-x9hs8p79.js} +16 -16
  263. package/dist/chunks/{filesystem-kc6s93qx.js → model-xfjax5kj.js} +6 -6
  264. package/dist/chunks/{filesystem-arssbyta.js → model-xngczjm7.js} +21 -21
  265. package/dist/chunks/{filesystem-5hp81q23.js → model-xnr76jvj.js} +18 -18
  266. package/dist/chunks/{filesystem-8jmaqybk.js → model-xxynqx5z.js} +3 -3
  267. package/dist/chunks/{filesystem-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{filesystem-91p1v22t.js → model-y1qqcj8h.js} +8 -8
  269. package/dist/chunks/{filesystem-px2be73x.js → model-y3ss1vq6.js} +10 -10
  270. package/dist/chunks/{filesystem-m4wqnv6z.js → model-y94sa969.js} +30 -30
  271. package/dist/chunks/{filesystem-yzs7269r.js → model-yh63eb9v.js} +22 -22
  272. package/dist/chunks/{filesystem-jfxzdpts.js → model-yhhb1kw1.js} +25 -25
  273. package/dist/chunks/{filesystem-jyvd2mgh.js → model-ynv8jnc3.js} +6 -6
  274. package/dist/chunks/{filesystem-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{filesystem-jgqqmzrc.js → model-yv2nec7k.js} +13 -13
  276. package/dist/chunks/{filesystem-cqh9r0f6.js → model-yw7r4j3y.js} +3 -3
  277. package/dist/chunks/{filesystem-896e5whc.js → model-yynber98.js} +11 -11
  278. package/dist/chunks/{filesystem-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{filesystem-m5nhsqcp.js → model-z1eznz97.js} +30 -30
  280. package/dist/chunks/{filesystem-awe63se0.js → model-z1hxv11z.js} +21 -21
  281. package/dist/chunks/{filesystem-71k5223z.js → model-zbpatq1k.js} +22 -22
  282. package/dist/chunks/{filesystem-dpahde6h.js → model-ze5v0a14.js} +8 -8
  283. package/dist/chunks/{filesystem-zeh9ct20.js → model-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{filesystem-97t23ph8.js → model-zkj5scrh.js} +1 -1
  285. package/dist/chunks/{filesystem-nw7zy85b.js → model-zmekhh4v.js} +9 -9
  286. package/dist/chunks/{filesystem-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{filesystem-6f2z4ez9.js → model-zrsgf04b.js} +10 -10
  288. package/dist/chunks/{filesystem-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{filesystem-wkjja0pr.js → model-zy42tfqg.js} +9 -9
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -124
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +123 -123
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +122 -122
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +125 -125
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +80 -80
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +99 -99
  414. package/dist/file-mutation.js +89 -89
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +105 -105
  429. package/dist/form.js +79 -79
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +82 -82
  432. package/dist/generate.js +100 -100
  433. package/dist/git.js +6 -6
  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 +98 -98
  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/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +360 -360
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +1 -1
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +81 -81
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +128 -128
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +99 -99
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +357 -357
  471. package/dist/location.js +86 -86
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +101 -101
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +73 -73
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +98 -98
  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 +83 -83
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +101 -101
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +331 -331
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +91 -91
  527. package/dist/plugin/provider/opencode.js +93 -93
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +159 -159
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +350 -350
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +224 -224
  559. package/dist/project/schema.js +6 -6
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +85 -85
  562. package/dist/provider.js +94 -94
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +89 -89
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +88 -88
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +127 -127
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +217 -217
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +85 -85
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +80 -80
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +216 -216
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +217 -217
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +137 -137
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +104 -104
  631. package/dist/skill.js +107 -107
  632. package/dist/snapshot.js +88 -88
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +121 -121
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +119 -119
  643. package/dist/tool/plugin/question.js +102 -102
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +216 -216
  646. package/dist/tool/plugin/skill.js +112 -112
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +111 -111
  649. package/dist/tool/plugin/websearch.js +113 -113
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +4 -4
  654. package/dist/tool.js +16 -16
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +1 -1
  667. package/dist/v1/config/config.js +14 -14
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +83 -83
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +3 -3
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +77 -77
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +8 -8
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +95 -95
  695. package/package.json +8 -8
  696. package/dist/chunks/filesystem-by5v678g.js +0 -18
  697. package/dist/chunks/filesystem-tr8yqx4d.js +0 -252
  698. package/dist/chunks/filesystem-w3te818p.js +0 -26
  699. /package/dist/chunks/{filesystem-0mesazry.js → model-0mesazry.js} +0 -0
  700. /package/dist/chunks/{filesystem-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{filesystem-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{filesystem-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{filesystem-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{filesystem-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{filesystem-24dcb14g.js → model-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{filesystem-2710q6r3.js → model-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{filesystem-2axfhc9x.js → model-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{filesystem-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{filesystem-359p4xyc.js → model-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{filesystem-3asan66x.js → model-3asan66x.js} +0 -0
  711. /package/dist/chunks/{filesystem-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{filesystem-3w5fmr99.js → model-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{filesystem-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{filesystem-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{filesystem-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{filesystem-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{filesystem-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{filesystem-53557ph1.js → model-53557ph1.js} +0 -0
  719. /package/dist/chunks/{filesystem-550bvhaj.js → model-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{filesystem-6prwharc.js → model-6prwharc.js} +0 -0
  721. /package/dist/chunks/{filesystem-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{filesystem-7m9af43g.js → model-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{filesystem-822emrt2.js → model-822emrt2.js} +0 -0
  724. /package/dist/chunks/{filesystem-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{filesystem-8n3pysct.js → model-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{filesystem-922hggd3.js → model-922hggd3.js} +0 -0
  727. /package/dist/chunks/{filesystem-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{filesystem-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{filesystem-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{filesystem-af5trqkr.js → model-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{filesystem-afrmfg78.js → model-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{filesystem-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{filesystem-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{filesystem-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{filesystem-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{filesystem-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{filesystem-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{filesystem-d9fn303g.js → model-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{filesystem-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{filesystem-dajrwvna.js → model-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{filesystem-dap0rakb.js → model-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{filesystem-df08tz66.js → model-df08tz66.js} +0 -0
  743. /package/dist/chunks/{filesystem-dy18nga0.js → model-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{filesystem-e3qxr5gk.js → model-e3qxr5gk.js} +0 -0
  745. /package/dist/chunks/{filesystem-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{filesystem-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{filesystem-ec1grn59.js → model-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{filesystem-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{filesystem-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{filesystem-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{filesystem-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{filesystem-faypxj3z.js → model-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{filesystem-fd410y7t.js → model-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{filesystem-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{filesystem-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{filesystem-g86h250q.js → model-g86h250q.js} +0 -0
  757. /package/dist/chunks/{filesystem-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{filesystem-gftt206x.js → model-gftt206x.js} +0 -0
  759. /package/dist/chunks/{filesystem-hjbc5kem.js → model-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{filesystem-hk9envan.js → model-hk9envan.js} +0 -0
  761. /package/dist/chunks/{filesystem-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{filesystem-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{filesystem-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{filesystem-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{filesystem-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{filesystem-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{filesystem-mp448xyj.js → model-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{filesystem-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{filesystem-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{filesystem-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{filesystem-njntx4h6.js → model-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{filesystem-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{filesystem-q74kybfr.js → model-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{filesystem-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{filesystem-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{filesystem-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{filesystem-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{filesystem-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{filesystem-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{filesystem-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{filesystem-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{filesystem-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{filesystem-twg0f83k.js → model-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{filesystem-w803qqfp.js → model-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{filesystem-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{filesystem-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{filesystem-wtztk69x.js → model-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{filesystem-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{filesystem-x61499pn.js → model-x61499pn.js} +0 -0
  790. /package/dist/chunks/{filesystem-y44na4kk.js → model-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{filesystem-y8cydn3q.js → model-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{filesystem-y8f7s663.js → model-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{filesystem-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{filesystem-ym463w8f.js → model-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{filesystem-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./filesystem-2a5m3afh.js";
5
+ } from "./model-2a5m3afh.js";
6
6
  import {
7
- Service80
8
- } from "./filesystem-e6zry6hq.js";
7
+ Service77
8
+ } from "./model-02x3fxhb.js";
9
9
  import {
10
- Service71
11
- } from "./filesystem-yad5pthg.js";
10
+ Service69
11
+ } from "./model-bba39dcq.js";
12
12
  import {
13
13
  Service13
14
- } from "./filesystem-xst10gja.js";
14
+ } from "./model-5z7mvqc9.js";
15
15
  import {
16
16
  Service17,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./filesystem-mx3p2n25.js";
19
+ } from "./model-b0g5qfh4.js";
20
20
  import {
21
21
  Service57
22
- } from "./filesystem-0dy0awfd.js";
22
+ } from "./model-0vqy8ggk.js";
23
23
  import {
24
24
  Service23,
25
25
  resolvePath2
26
- } from "./filesystem-6evbdv63.js";
26
+ } from "./model-prkj3g34.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./filesystem-6prwharc.js";
29
+ } from "./model-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./filesystem-9rqn6x4v.js";
32
+ } from "./model-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input7,
38
+ Input: () => Input10,
39
39
  Output: () => Output6,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin7,
42
- name: () => name7,
43
- toModelContent: () => toModelContent4
41
+ Plugin: () => Plugin46,
42
+ name: () => name10,
43
+ toModelContent: () => toModelContent5
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name7 = "patch";
89
- var Input7 = Schema.Struct({
88
+ var name10 = "patch";
89
+ var Input10 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -100,25 +100,25 @@ var Output6 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent4 = (output) => [
103
+ var toModelContent5 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin7 = {
108
+ var Plugin46 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service71;
111
+ const environment = yield* Service69;
112
112
  const access = yield* Service23;
113
113
  const fileMutation = yield* Service17;
114
114
  const formatter = yield* Service13;
115
- const location = yield* Service80;
115
+ const location = yield* Service77;
116
116
  const permission = yield* Service57;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name7,
118
+ name: name10,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input7,
121
+ input: Input10,
122
122
  output: Output6,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
@@ -266,7 +266,7 @@ var Plugin7 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent4(output),
269
+ content: toModelContent5(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name7, Input7, Applied2, Output6, toModelContent4, Plugin7, exports_patch };
329
+ export { name10, Input10, Applied2, Output6, toModelContent5, Plugin46, exports_patch };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./filesystem-y8cydn3q.js";
3
+ } from "./model-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ID14,
3
- Service76,
4
- node80
5
- } from "./filesystem-08n7z093.js";
3
+ Service74,
4
+ node78
5
+ } from "./model-3aq06pgr.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service75,
16
- node79
17
- } from "./filesystem-dw1hb3qg.js";
15
+ Service73,
16
+ node77
17
+ } from "./model-r014f9z3.js";
18
18
  import {
19
- Service52,
20
- node55
21
- } from "./filesystem-hw0j4jfr.js";
19
+ Service55,
20
+ node58
21
+ } from "./model-x6348xh2.js";
22
22
  import {
23
- ID10,
23
+ ID12,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service70,
27
- node73
28
- } from "./filesystem-m4wqnv6z.js";
26
+ Service72,
27
+ node76
28
+ } from "./model-y94sa969.js";
29
29
  import {
30
30
  __export
31
- } from "./filesystem-9rqn6x4v.js";
31
+ } from "./model-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError3,
38
38
  ModelInitializationError: () => ModelInitializationError3,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service50,
40
+ Service: () => Service54,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError3,
44
44
  VariantUnavailableError: () => VariantUnavailableError3,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer20,
48
- node: () => node52,
47
+ layer: () => layer22,
48
+ node: () => node57,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -56,7 +56,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
58
  providerID: ID13,
59
- modelID: ID10,
59
+ modelID: ID12,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -66,7 +66,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
66
66
 
67
67
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
68
  providerID: ID13,
69
- modelID: ID10,
69
+ modelID: ID12,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -77,7 +77,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
79
  providerID: ID13,
80
- modelID: ID10,
80
+ modelID: ID12,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -88,7 +88,7 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
88
88
 
89
89
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
90
  providerID: ID13,
91
- modelID: ID10,
91
+ modelID: ID12,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -100,7 +100,7 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
100
100
 
101
101
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
102
  providerID: ID13,
103
- modelID: ID10,
103
+ modelID: ID12,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -110,7 +110,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
110
110
 
111
111
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
112
  providerID: ID13,
113
- modelID: ID10,
113
+ modelID: ID12,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service50 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service54 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer20 = Layer.effect(Service50, Effect.gen(function* () {
262
- const providers = yield* Service75;
263
- const models = yield* Service70;
264
- const integrations = yield* Service76;
261
+ var layer22 = Layer.effect(Service54, Effect.gen(function* () {
262
+ const providers = yield* Service73;
263
+ const models = yield* Service72;
264
+ const integrations = yield* Service74;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service52;
266
+ const aisdk = yield* Service55;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
269
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
@@ -292,7 +292,7 @@ var layer20 = Layer.effect(Service50, Effect.gen(function* () {
292
292
  transport: provider?.settings?.transport
293
293
  };
294
294
  });
295
- return Service50.of({
295
+ return Service54.of({
296
296
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
297
297
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
298
298
  if (!selected)
@@ -309,10 +309,10 @@ function usesAPIKeyAuth(packageName) {
309
309
  const name = packageName2(packageName);
310
310
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
311
311
  }
312
- var node52 = makeLocationNode({
313
- service: Service50,
314
- layer: layer20,
315
- deps: [node79, node73, node80, Npm.node, node55]
312
+ var node57 = makeLocationNode({
313
+ service: Service54,
314
+ layer: layer22,
315
+ deps: [node77, node76, node78, Npm.node, node58]
316
316
  });
317
317
 
318
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service50, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node52, exports_model_resolver };
318
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node57, exports_model_resolver };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./filesystem-e6zry6hq.js";
2
+ Service77,
3
+ node81
4
+ } from "./model-02x3fxhb.js";
5
5
  import {
6
6
  create3
7
- } from "./filesystem-rdw6cm16.js";
7
+ } from "./model-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./filesystem-9rqn6x4v.js";
10
+ } from "./model-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
@@ -24,7 +24,7 @@ import { AppProcess } from "@opencode/util/process";
24
24
  class Service13 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
26
  var layer = Layer.effect(Service13, Effect.gen(function* () {
27
- const location = yield* Service80;
27
+ const location = yield* Service77;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -90,7 +90,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
90
90
  var node15 = makeLocationNode({
91
91
  service: Service13,
92
92
  layer,
93
- deps: [node84, AppProcess.node]
93
+ deps: [node81, AppProcess.node]
94
94
  });
95
95
 
96
96
  export { Service13, node15, exports_formatter2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./filesystem-ym463w8f.js";
3
+ } from "./model-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./filesystem-922hggd3.js";
4
+ } from "./model-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./filesystem-y71avatq.js";
7
+ } from "./model-dpkg50ah.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./filesystem-tazgh4e4.js";
12
+ } from "./model-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./filesystem-ef5x83kb.js";
15
+ } from "./model-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./model-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured6,
11
- layer: () => layer21,
12
- make: () => make18,
13
- node: () => node53,
10
+ configured: () => configured7,
11
+ layer: () => layer19,
12
+ make: () => make16,
13
+ node: () => node52,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make18()
19
+ defaultValue: () => make16()
20
20
  });
21
- function make18(input = {}) {
21
+ function make16(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make18(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer21 = (input) => Layer.succeed(Metadata2, make18(input));
32
- var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
- var node53 = configured6();
31
+ var layer19 = (input) => Layer.succeed(Metadata2, make16(input));
32
+ var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
33
+ var node52 = configured7();
34
34
 
35
- export { Metadata2, make18, useragent2, layer21, configured6, node53, exports_app };
35
+ export { Metadata2, make16, useragent2, layer19, configured7, node52, exports_app };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse4,
16
+ parse: () => parse5,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse4(input) {
42
+ function parse5(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse4(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse4(input);
75
+ const reference = parse5(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-922hggd3.js";
3
+ } from "./model-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./filesystem-922hggd3.js";
5
+ } from "./model-922hggd3.js";
6
6
  import {
7
- Service71,
8
- node74
9
- } from "./filesystem-yad5pthg.js";
7
+ Service69,
8
+ node72
9
+ } from "./model-bba39dcq.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./filesystem-8d7r5vzw.js";
12
+ } from "./model-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./filesystem-9rqn6x4v.js";
15
+ } from "./model-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: () => Service56,
24
- node: () => node59
23
+ Service: () => Service29,
24
+ node: () => node32
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/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 Service56 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service29 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(Service56, Effect.gen(function* () {
67
- const environment = yield* Service71;
66
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
67
+ const environment = yield* Service69;
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(Service56, 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 Service56.of({
95
+ return Service29.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node59 = makeLocationNode({ service: Service56, layer, deps: [node74, RipgrepBinary2.node] });
178
+ var node32 = makeLocationNode({ service: Service29, layer, deps: [node72, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service56, node59, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service29, node32, exports_ripgrep };