@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
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./filesystem-88xbtdfr.js";
3
+ } from "./model-88xbtdfr.js";
4
4
  import {
5
5
  load5
6
- } from "./filesystem-e3qxr5gk.js";
6
+ } from "./model-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./model-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event14,
14
+ Event: () => Event13,
15
15
  Native: () => Native3,
16
- Options: () => Options10,
17
- Service: () => Service68,
16
+ Options: () => Options9,
17
+ Service: () => Service65,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured10,
20
+ configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
22
  layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node71,
25
+ node: () => node68,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event14 = { Updated: FileSystem.Event.Changed };
36
+ var Event13 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load5());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options10 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service68 extends Context.Service()("@opencode/Watcher") {
60
+ class Service65 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service65.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service68.of({ subscribe });
108
+ return Service65.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
131
131
  });
132
132
  const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service68).subscribe,
134
+ subscribe: Context.get(context, Service65).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service65, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured10(options) {
168
- return makeGlobalNode({ service: Service68, layer: layer24(options), deps: [nativeNode2] });
167
+ function configured9(options) {
168
+ return makeGlobalNode({ service: Service65, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node71 = configured10();
170
+ var node68 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event14, hasNativeBinding2, Native3, Options10, Service68, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured10, node71, exports_watcher };
190
+ export { Event13, hasNativeBinding2, Native3, Options9, Service65, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node68, exports_watcher };
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node53
4
- } from "./filesystem-ggq5dcm3.js";
3
+ node52
4
+ } from "./model-6drgx612.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
  ID9,
11
11
  Service60,
12
12
  node63
13
- } from "./filesystem-hd4ggg0f.js";
13
+ } from "./model-1kf1zw0p.js";
14
14
  import {
15
- ID15,
15
+ ID16,
16
16
  OAuth3
17
- } from "./filesystem-za9m4y5n.js";
17
+ } from "./model-ebdyxsk8.js";
18
18
  import {
19
19
  ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service76,
24
- node80
25
- } from "./filesystem-08n7z093.js";
23
+ Service74,
24
+ node78
25
+ } from "./model-3aq06pgr.js";
26
26
  import {
27
27
  AbsolutePath2
28
- } from "./filesystem-922hggd3.js";
28
+ } from "./model-922hggd3.js";
29
29
  import {
30
- Info32,
30
+ Info31,
31
31
  Ref4,
32
- Service80,
33
- node84
34
- } from "./filesystem-e6zry6hq.js";
32
+ Service77,
33
+ node81
34
+ } from "./model-02x3fxhb.js";
35
35
  import {
36
36
  ID13,
37
- Service75,
38
- node79
39
- } from "./filesystem-dw1hb3qg.js";
37
+ Service73,
38
+ node77
39
+ } from "./model-r014f9z3.js";
40
40
  import {
41
- Service52,
42
- node55
43
- } from "./filesystem-hw0j4jfr.js";
41
+ Service55,
42
+ node58
43
+ } from "./model-x6348xh2.js";
44
44
  import {
45
- Service40,
46
- node43
47
- } from "./filesystem-q7rwn2x2.js";
45
+ Service43,
46
+ node46
47
+ } from "./model-3r1htj1f.js";
48
48
  import {
49
- Service74,
50
- node78
51
- } from "./filesystem-rk88yvf9.js";
49
+ Service81,
50
+ node85
51
+ } from "./model-qeaksvd1.js";
52
52
  import {
53
- Service47,
54
- node49
55
- } from "./filesystem-gmtyk6kh.js";
53
+ Service61,
54
+ node64
55
+ } from "./model-cdpzgvn4.js";
56
56
  import {
57
- ID10,
58
- Service70,
59
- node73
60
- } from "./filesystem-m4wqnv6z.js";
57
+ ID12,
58
+ Service72,
59
+ node76
60
+ } from "./model-y94sa969.js";
61
61
  import {
62
- ID11
63
- } from "./filesystem-rddmyqfq.js";
62
+ ID10
63
+ } from "./model-mg0wqdec.js";
64
64
  import {
65
- Service35,
66
- node38
67
- } from "./filesystem-36ckcbr5.js";
65
+ Service36,
66
+ node39
67
+ } from "./model-pdbha7qx.js";
68
68
  import {
69
- Service73,
70
- node77
71
- } from "./filesystem-4e8vs6eh.js";
69
+ Service71,
70
+ node75
71
+ } from "./model-qwjmgwmn.js";
72
72
  import {
73
73
  Service57,
74
74
  node60
75
- } from "./filesystem-0dy0awfd.js";
75
+ } from "./model-0vqy8ggk.js";
76
76
  import {
77
- Service38,
78
- node41
79
- } from "./filesystem-7sykw5ek.js";
77
+ Service47,
78
+ node50
79
+ } from "./model-gdnmvhtd.js";
80
80
  import {
81
81
  Source5,
82
- Service61,
83
- node64
84
- } from "./filesystem-0x2h520v.js";
82
+ Service79,
83
+ node83
84
+ } from "./model-a6zskm12.js";
85
85
  import {
86
86
  Info8,
87
- Service49,
88
- node51
89
- } from "./filesystem-enxmvdqw.js";
87
+ Service45,
88
+ node48
89
+ } from "./model-n3khnxxm.js";
90
+ import {
91
+ Service30,
92
+ node33
93
+ } from "./model-1vnz04j6.js";
94
+ import {
95
+ Service20,
96
+ node23
97
+ } from "./model-kst9mf61.js";
90
98
  import {
91
- Service25,
92
- node28
93
- } from "./filesystem-2dayh34n.js";
99
+ Service24,
100
+ node27
101
+ } from "./model-7v1f06d3.js";
94
102
  import {
95
103
  Service22,
96
104
  node25
97
- } from "./filesystem-ga28zqw9.js";
105
+ } from "./model-fh25xc84.js";
98
106
  import {
107
+ ID4,
99
108
  Service21,
100
109
  node24
101
- } from "./filesystem-4gabqsjb.js";
110
+ } from "./model-yhhb1kw1.js";
102
111
  import {
103
- Service79,
104
- node83
105
- } from "./filesystem-w533tarm.js";
106
- import {
107
- ID6,
108
- Service51,
109
- node54
110
- } from "./filesystem-jfxzdpts.js";
111
- import {
112
- Service19,
113
- node22
114
- } from "./filesystem-efpdwb6x.js";
112
+ Service28,
113
+ node31
114
+ } from "./model-0qxdwqj8.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info4,
117
+ Info5,
118
118
  ListEntry3,
119
- Service18,
120
- node21
121
- } from "./filesystem-8we60ned.js";
119
+ Service27,
120
+ node30
121
+ } from "./model-te4j4s1y.js";
122
122
  import {
123
- Service20,
124
- node23
125
- } from "./filesystem-eyvfapca.js";
123
+ Service19,
124
+ node22
125
+ } from "./model-tnvaxyve.js";
126
126
  import {
127
127
  __export
128
- } from "./filesystem-9rqn6x4v.js";
128
+ } from "./model-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -144,48 +144,48 @@ var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
146
  const agents = yield* Service60;
147
- const aisdk = yield* Service52;
148
- const providers = yield* Service75;
149
- const models = yield* Service70;
150
- const commands = yield* Service40;
147
+ const aisdk = yield* Service55;
148
+ const providers = yield* Service73;
149
+ const models = yield* Service72;
150
+ const commands = yield* Service43;
151
151
  const bus = yield* Service83;
152
- const integration = yield* Service76;
153
- const kv = yield* Service74;
154
- const mcp = yield* Service35;
155
- const location = yield* Service80;
156
- const reference = yield* Service61;
157
- const rpc = yield* Service21;
158
- const skill = yield* Service49;
159
- const tools = yield* Service38;
160
- const vcs = yield* Service79;
161
- const websearch = yield* Service51;
162
- const generate = yield* Service20;
152
+ const integration = yield* Service74;
153
+ const kv = yield* Service81;
154
+ const mcp = yield* Service36;
155
+ const location = yield* Service77;
156
+ const reference = yield* Service79;
157
+ const rpc = yield* Service24;
158
+ const skill = yield* Service45;
159
+ const tools = yield* Service47;
160
+ const vcs = yield* Service22;
161
+ const websearch = yield* Service21;
162
+ const generate = yield* Service19;
163
163
  const permission = yield* Service57;
164
- const hooks = yield* Service73;
165
- const sessions = yield* Service25;
166
- const persistentPty = yield* Service22;
167
- const locations = yield* Service47;
168
- const worktrees = yield* Service18;
169
- const worktreeStrategies = yield* Service19;
164
+ const hooks = yield* Service71;
165
+ const sessions = yield* Service30;
166
+ const persistentPty = yield* Service20;
167
+ const locations = yield* Service61;
168
+ const worktrees = yield* Service27;
169
+ const worktreeStrategies = yield* Service28;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
- const locationInfo = () => new Info32({
171
+ const locationInfo = () => new Info31({
172
172
  directory: location.directory,
173
173
  workspaceID: location.workspaceID,
174
174
  project: location.project
175
175
  });
176
176
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info4);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info5);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
- const location = yield* Service80;
185
+ const location = yield* Service77;
186
186
  const agents = yield* Service60;
187
187
  return {
188
- location: new Info32({
188
+ location: new Info31({
189
189
  directory: location.directory,
190
190
  workspaceID: location.workspaceID,
191
191
  project: location.project
@@ -262,14 +262,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
262
  get: (id) => editor.get(ID13.make(id)),
263
263
  add: (definition) => editor.add({
264
264
  ...definition,
265
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID16.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
267
  update: (id, update) => editor.update(ID13.make(id), update),
268
268
  remove: (id) => editor.remove(ID13.make(id)),
269
269
  models: {
270
270
  set: (id, models) => editor.models.set(ID13.make(id), models),
271
- update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID10.make(modelID), update),
272
- remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID10.make(modelID))
271
+ update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
272
+ remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
273
273
  }
274
274
  });
275
275
  })
@@ -280,12 +280,12 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
280
280
  reload: models.reload,
281
281
  transform: (callback) => models.transform((editor) => callback({
282
282
  list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
283
- get: (providerID, modelID) => editor.get(ID13.make(providerID), ID10.make(modelID)),
284
- update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID10.make(modelID), update),
285
- remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID10.make(modelID)),
283
+ get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
284
+ update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
285
+ remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
286
286
  default: {
287
287
  get: editor.default.get,
288
- set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID10.make(modelID))
288
+ set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
289
289
  },
290
290
  provider: {
291
291
  list: editor.provider.list,
@@ -364,7 +364,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
364
364
  reload: integration.reload,
365
365
  connection: {
366
366
  active: (id) => integration.connection.active(ID14.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection)
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID16.make(connection.id) } : connection)
368
368
  },
369
369
  transform: (callback) => integration.transform((editor) => {
370
370
  callback({
@@ -385,10 +385,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
385
385
  const ref = locationRef(input);
386
386
  if (ref && !isCurrentLocation(ref))
387
387
  return Effect.gen(function* () {
388
- const location = yield* Service80;
389
- const mcp = yield* Service35;
388
+ const location = yield* Service77;
389
+ const mcp = yield* Service36;
390
390
  return {
391
- location: new Info32({
391
+ location: new Info31({
392
392
  directory: location.directory,
393
393
  workspaceID: location.workspaceID,
394
394
  project: location.project
@@ -468,19 +468,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
468
468
  providers: () => response(websearch.providers()),
469
469
  query: (input) => response(websearch.query({
470
470
  query: input.query,
471
- providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
471
+ providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
472
472
  })),
473
473
  reload: websearch.reload,
474
474
  transform: (callback) => websearch.transform((editor) => {
475
475
  callback({
476
476
  add: (definition) => editor.add({
477
- id: ID6.make(definition.id),
477
+ id: ID4.make(definition.id),
478
478
  name: definition.name,
479
479
  execute: definition.execute
480
480
  }),
481
481
  default: {
482
482
  get: editor.default.get,
483
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
483
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
484
484
  }
485
485
  });
486
486
  })
@@ -534,31 +534,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
534
534
  return context;
535
535
  });
536
536
  var requirements3 = LayerNode.group([
537
- node53,
537
+ node52,
538
538
  node63,
539
- node55,
540
- node79,
541
- node73,
542
- node43,
539
+ node58,
540
+ node77,
541
+ node76,
542
+ node46,
543
543
  node87,
544
- node80,
545
544
  node78,
546
- node38,
547
- node84,
548
- node64,
549
- node24,
550
- node51,
551
- node41,
545
+ node85,
546
+ node39,
547
+ node81,
552
548
  node83,
553
- node54,
554
- node21,
549
+ node27,
550
+ node48,
551
+ node50,
552
+ node25,
553
+ node24,
554
+ node30,
555
+ node31,
555
556
  node22,
556
- node23,
557
557
  node60,
558
- node77,
559
- node28,
560
- node25,
561
- node49
558
+ node75,
559
+ node33,
560
+ node23,
561
+ node64
562
562
  ]);
563
563
  function storage2(kv, pluginID) {
564
564
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83
3
- } from "./filesystem-hjxgxr48.js";
3
+ } from "./model-fawkavha.js";
4
4
  import {
5
5
  OAuth3,
6
6
  Event19
7
- } from "./filesystem-za9m4y5n.js";
7
+ } from "./model-ebdyxsk8.js";
8
8
  import {
9
9
  ID14,
10
10
  MethodID2
11
- } from "./filesystem-08n7z093.js";
11
+ } from "./model-3aq06pgr.js";
12
12
  import {
13
13
  key2
14
- } from "./filesystem-4dgbcxzg.js";
14
+ } from "./model-4dgbcxzg.js";
15
15
  import {
16
- Service15
17
- } from "./filesystem-6ysrkrkr.js";
16
+ Service14
17
+ } from "./model-f5gy8qwh.js";
18
18
  import {
19
19
  ID13,
20
20
  mergeOverlay2,
21
21
  mergeHeaders2
22
- } from "./filesystem-dw1hb3qg.js";
22
+ } from "./model-r014f9z3.js";
23
23
  import {
24
- ID6,
25
- Input14,
24
+ ID4,
25
+ Input13,
26
26
  Response2
27
- } from "./filesystem-jfxzdpts.js";
27
+ } from "./model-yhhb1kw1.js";
28
28
 
29
29
  // src/plugin/provider/opencode.ts
30
30
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
39
39
  var RemoteResponse = Schema.Struct({
40
40
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
41
41
  websearch: Schema.Struct({
42
- providerID: ID6
42
+ providerID: ID4
43
43
  }).pipe(Schema.optional),
44
44
  experimental: Schema.Struct({
45
45
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -120,7 +120,7 @@ var OpencodePlugin2 = define({
120
120
  effect: Effect.fn(function* (ctx) {
121
121
  const bus = yield* Service83;
122
122
  const http = yield* HttpClient.HttpClient;
123
- const managed = yield* Service15;
123
+ const managed = yield* Service14;
124
124
  const loading = Semaphore.makeUnsafe(1);
125
125
  let snapshot = { config: undefined, connection: undefined, organization: undefined };
126
126
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -269,7 +269,7 @@ var OpencodePlugin2 = define({
269
269
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
270
270
  const token = credential.type === "oauth" ? credential.access : credential.key;
271
271
  const server = yield* normalizeServer(serverUrl(credential));
272
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
272
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
273
273
  query: input.query,
274
274
  providerID: descriptor.providerID
275
275
  }));
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  ID9
3
- } from "./filesystem-hd4ggg0f.js";
3
+ } from "./model-1kf1zw0p.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./filesystem-922hggd3.js";
6
+ } from "./model-922hggd3.js";
7
7
  import {
8
- Info19
9
- } from "./filesystem-dhwr7h25.js";
8
+ Info21
9
+ } from "./model-f32czd11.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./filesystem-4wgmm2fj.js";
12
+ } from "./model-233tjdzm.js";
13
13
  import {
14
14
  latest2,
15
- Service67
16
- } from "./filesystem-f8vvpw96.js";
15
+ Service64
16
+ } from "./model-qvm8zske.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./filesystem-5daktx2q.js";
19
+ } from "./model-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./filesystem-9rqn6x4v.js";
22
+ } from "./model-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent2 = {};
26
26
  __export(exports_agent2, {
27
27
  ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin44
28
+ Plugin: () => Plugin29
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info21);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin44 = define({
47
+ var Plugin29 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service67;
50
+ const config = yield* Service64;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin44, exports_agent2 };
164
+ export { Plugin29, exports_agent2 };