@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,24 +2,24 @@ import {
2
2
  ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./filesystem-dw1hb3qg.js";
5
+ } from "./model-r014f9z3.js";
6
6
  import {
7
- ID10,
7
+ ID12,
8
8
  VariantID2,
9
9
  Family2,
10
- Info23
11
- } from "./filesystem-m4wqnv6z.js";
10
+ Info25
11
+ } from "./model-y94sa969.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./model-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load2
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load3(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load2(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load2(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID10.make(id);
97
+ const key = ID12.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,10 +118,10 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info23.make({
122
- ...Info23.default(ID13.githubCopilot, id),
121
+ return Info25.make({
122
+ ...Info25.default(ID13.githubCopilot, id),
123
123
  id,
124
- modelID: ID10.make(remote.id),
124
+ modelID: ID12.make(remote.id),
125
125
  providerID: ID13.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load3, derive3, exports_models2 };
200
+ export { get2, load2, derive2, exports_models };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID10,
2
+ ID12,
3
3
  Family2
4
- } from "./filesystem-m4wqnv6z.js";
4
+ } from "./model-y94sa969.js";
5
5
  import {
6
- Service67
7
- } from "./filesystem-f8vvpw96.js";
6
+ Service64
7
+ } from "./model-qvm8zske.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./filesystem-jyvd2mgh.js";
10
+ } from "./model-ynv8jnc3.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
31
31
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
32
32
  var discovery = new Map;
33
33
  var discoveryLock = Semaphore.makeUnsafe(1);
34
- function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
34
+ function make3(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
35
35
  return define({
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service67;
39
+ const config = yield* Service64;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  providers.models.update(providerID, item.key, (model) => {
66
- model.modelID = ID10.make(item.key);
66
+ model.modelID = ID12.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -125,7 +125,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
125
125
  })
126
126
  });
127
127
  }
128
- var LMStudioPlugin2 = make7();
128
+ var LMStudioPlugin2 = make3();
129
129
  function configured(entries, origin) {
130
130
  const settings = foldSettings2(entries, providerID, undefined);
131
131
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -142,4 +142,4 @@ function configured(entries, origin) {
142
142
  return { baseURL, apiKey, endpoint: url.toString() };
143
143
  }
144
144
 
145
- export { make7, LMStudioPlugin2 };
145
+ export { make3, LMStudioPlugin2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
9
+ make: () => make14,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
32
+ function make14(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make14, render3, exports_system_prompt };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./filesystem-mt9bxwhn.js";
4
+ } from "./model-jxd6phk9.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./filesystem-hjxgxr48.js";
8
+ } from "./model-fawkavha.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./filesystem-pknna89w.js";
11
+ } from "./model-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./filesystem-0q0f95c6.js";
14
+ } from "./model-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./model-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
23
  Event: () => Event19,
24
- ID: () => ID15,
25
- Info: () => Info29,
24
+ ID: () => ID16,
25
+ Info: () => Info30,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service77,
28
+ Service: () => Service76,
29
29
  Value: () => Value2,
30
- node: () => node81
30
+ node: () => node80
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID15 = Credential.ID;
37
+ var ID16 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
41
  var Event19 = Credential.Event;
42
42
 
43
- class Info29 extends Schema.Class("Credential.Info")({
44
- id: ID15,
43
+ class Info30 extends Schema.Class("Credential.Info")({
44
+ id: ID16,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service77 extends Context.Service()("@opencode/Credential") {
51
+ class Service76 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service77, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
55
  const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info29({
60
+ return new Info30({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service77.of({
71
+ return Service76.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info29({
80
- id: ID15.create(),
79
+ const credential = new Info30({
80
+ id: ID16.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
193
193
  })
194
194
  });
195
195
  }));
196
- var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88, node87] });
196
+ var node80 = makeGlobalNode({ service: Service76, layer, deps: [node88, node87] });
197
197
 
198
- export { ID15, OAuth3, Key4, Value2, Event19, Info29, Service77, node81, exports_credential };
198
+ export { ID16, OAuth3, Key4, Value2, Event19, Info30, Service76, node80, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./filesystem-qaymkmh1.js";
3
+ } from "./model-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service83
3
- } from "./filesystem-hjxgxr48.js";
3
+ } from "./model-fawkavha.js";
4
4
  import {
5
- Service39
6
- } from "./filesystem-gex21hkg.js";
5
+ Service44
6
+ } from "./model-8rps6qd7.js";
7
7
  import {
8
- Error2
9
- } from "./filesystem-7sykw5ek.js";
8
+ Error4
9
+ } from "./model-gdnmvhtd.js";
10
10
  import {
11
11
  Service66
12
- } from "./filesystem-s5kb3k8e.js";
12
+ } from "./model-s5kb3k8e.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./filesystem-ja4wy4ee.js";
15
+ } from "./model-wb2crypr.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./filesystem-ec1grn59.js";
18
+ } from "./model-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./filesystem-gmrppb9j.js";
21
+ } from "./model-acyp9nmy.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./filesystem-tdstcens.js";
24
+ } from "./model-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./filesystem-erw5rpbs.js";
27
+ } from "./model-erw5rpbs.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./filesystem-w82fgawr.js";
30
+ } from "./model-22dh126j.js";
31
31
  import {
32
32
  __export
33
- } from "./filesystem-9rqn6x4v.js";
33
+ } from "./model-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make3
40
+ make: () => make8
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,10 +51,10 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make3 = Effect.gen(function* () {
54
+ var make8 = Effect.gen(function* () {
55
55
  const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service39;
57
+ const snapshots = yield* Service44;
58
58
  const toolOutput = yield* Service66;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error2({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error4({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -209,4 +209,4 @@ var classifyToolExits = (settled, runs) => {
209
209
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
210
210
  };
211
211
 
212
- export { Outcome2, make3, exports_step };
212
+ export { Outcome2, make8, exports_step };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./filesystem-ec1grn59.js";
3
+ } from "./model-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./filesystem-tdstcens.js";
6
+ } from "./model-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -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/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service78
3
- } from "./filesystem-hc1m44b4.js";
2
+ Service75
3
+ } from "./model-4ywpd5fw.js";
4
4
  import {
5
5
  Service57
6
- } from "./filesystem-0dy0awfd.js";
6
+ } from "./model-0vqy8ggk.js";
7
7
  import {
8
- ID6,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service51
14
- } from "./filesystem-jfxzdpts.js";
13
+ Service21
14
+ } from "./model-yhhb1kw1.js";
15
15
  import {
16
16
  __export
17
- } from "./filesystem-9rqn6x4v.js";
17
+ } from "./model-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input10,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input8,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin10,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description4,
27
- name: () => name10
24
+ Plugin: () => Plugin44,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description5,
27
+ name: () => name8
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name10 = "websearch";
32
+ var name8 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input10 = Schema.Struct({
42
+ var Input8 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID6,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin10 = {
49
+ var Plugin44 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
52
  const permission = yield* Service57;
53
- const forms = yield* Service78;
54
- const websearch = yield* Service51;
53
+ const forms = yield* Service75;
54
+ const websearch = yield* Service21;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name10,
56
+ name: name8,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input10,
58
+ description: description5,
59
+ input: Input8,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name10,
63
+ action: name8,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name10];
179
+ delete event.tools[name8];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name10, NO_RESULTS2, description4, Input10, Plugin10, exports_websearch };
187
+ export { name8, NO_RESULTS2, description5, Input8, Plugin44, exports_websearch2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./filesystem-922hggd3.js";
3
+ } from "./model-922hggd3.js";
4
4
  import {
5
- Info20
6
- } from "./filesystem-vsp1fds9.js";
5
+ Info22
6
+ } from "./model-axmvebxj.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./model-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent4 = {};
13
13
  __export(exports_agent4, {
14
14
  ConfigAgentV1: () => exports_agent4,
15
- Info: () => Info19
15
+ Info: () => Info21
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info20)
47
+ permission: Schema.optional(Info22)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info19 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info21 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info19, exports_agent4 };
74
+ export { Info21, exports_agent4 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service47,
3
- node49,
2
+ Service61,
3
+ node64,
4
4
  canonical3
5
- } from "./filesystem-gmtyk6kh.js";
5
+ } from "./model-cdpzgvn4.js";
6
6
  import {
7
- Service45,
8
- node47
9
- } from "./filesystem-mx9vqzsb.js";
7
+ Service53,
8
+ node56
9
+ } from "./model-0hf9g8pg.js";
10
10
  import {
11
- Service14
12
- } from "./filesystem-2xr15r6z.js";
11
+ Service16
12
+ } from "./model-1dvkw6kv.js";
13
13
  import {
14
14
  layer2
15
- } from "./filesystem-tr8yqx4d.js";
15
+ } from "./model-h2z4ejvh.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service47, Effect.gen(function* () {
20
+ return Layer.effect(Service61, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service14);
30
+ const lifecycle = Context.get(exit.value, Service16);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node47.replace(Layer.succeed(Service45, {
57
+ node56.replace(Layer.succeed(Service53, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node49.replace(Layer.succeed(Service47, map))
61
+ node64.replace(Layer.succeed(Service61, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service15,
10
- node: () => node17
9
+ Service: () => Service14,
10
+ node: () => node16
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service15 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service14 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service15, () => {
17
+ var layer = Layer.sync(Service14, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service15.of({
19
+ return Service14.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node17 = makeGlobalNode({ service: Service15, layer, deps: [] });
26
+ var node16 = makeGlobalNode({ service: Service14, layer, deps: [] });
27
27
 
28
- export { Service15, node17, exports_managed_policy };
28
+ export { Service14, node16, exports_managed_policy };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./filesystem-rhjbct0v.js";
8
+ } from "./model-rhjbct0v.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./filesystem-ec1grn59.js";
11
+ } from "./model-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./filesystem-a1bz86dw.js";
15
+ } from "./model-5c4hm403.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./model-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};