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

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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 +72 -72
  7. package/dist/chunks/{location-xwjjwx9d.js → filesystem-04k65yr5.js} +11 -11
  8. package/dist/chunks/{location-h5b4kcx3.js → filesystem-07770t2t.js} +4 -4
  9. package/dist/chunks/{location-0yepr83e.js → filesystem-08n7z093.js} +16 -16
  10. package/dist/chunks/{location-3jm0sq8a.js → filesystem-0dy0awfd.js} +55 -55
  11. package/dist/chunks/filesystem-0mesazry.js +4 -0
  12. package/dist/chunks/{location-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{location-a606p4kg.js → filesystem-0tvmtyg9.js} +21 -21
  15. package/dist/chunks/{location-dfe8djrf.js → filesystem-0v53mg2y.js} +4 -4
  16. package/dist/chunks/{location-xwhbd8ep.js → filesystem-0x2h520v.js} +29 -29
  17. package/dist/chunks/{location-6wz6s45a.js → filesystem-0xr2qn80.js} +11 -11
  18. package/dist/chunks/{location-0vwkr0xv.js → filesystem-19a9vrq3.js} +3 -3
  19. package/dist/chunks/{location-mrpvsqys.js → filesystem-1a3s12px.js} +8 -8
  20. package/dist/chunks/{location-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{location-k46khmv0.js → filesystem-1r0xw8d8.js} +22 -22
  22. package/dist/chunks/{location-e4eg75r2.js → filesystem-1xgad0ca.js} +10 -10
  23. package/dist/chunks/{location-hm1aj9am.js → filesystem-2178wyr2.js} +11 -11
  24. package/dist/chunks/{location-21r38tys.js → filesystem-21r38tys.js} +1 -1
  25. package/dist/chunks/{location-7yqjxrmz.js → filesystem-23pqda6t.js} +6 -6
  26. package/dist/chunks/{location-cf3tj770.js → filesystem-23sxaqwc.js} +6 -6
  27. package/dist/chunks/{location-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
  28. package/dist/chunks/{location-3kbv3m24.js → filesystem-2449akcn.js} +17 -17
  29. package/dist/chunks/{location-29x78va6.js → filesystem-29x78va6.js} +2 -2
  30. package/dist/chunks/{location-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{location-e3gkrkwa.js → filesystem-2cwnbxh6.js} +17 -17
  32. package/dist/chunks/{location-vp9pbkkd.js → filesystem-2d0h499m.js} +4 -4
  33. package/dist/chunks/{location-bsvwk272.js → filesystem-2dayh34n.js} +93 -93
  34. package/dist/chunks/{location-q8tsaz2a.js → filesystem-2dp8p6n2.js} +7 -7
  35. package/dist/chunks/{location-m46z79h6.js → filesystem-2jbnthh3.js} +11 -11
  36. package/dist/chunks/{location-vb1hdz07.js → filesystem-2v3pyxh6.js} +8 -8
  37. package/dist/chunks/{location-3p3vm0ex.js → filesystem-2xr15r6z.js} +30 -30
  38. package/dist/chunks/{location-56gdpj1q.js → filesystem-33w4ejhs.js} +6 -6
  39. package/dist/chunks/{location-bp02r99k.js → filesystem-35m7c38y.js} +4 -4
  40. package/dist/chunks/{location-f7bny14s.js → filesystem-36ckcbr5.js} +41 -41
  41. package/dist/chunks/{location-bkn818fb.js → filesystem-3bjt0azc.js} +16 -16
  42. package/dist/chunks/{location-pxxptb8y.js → filesystem-3casrxqv.js} +47 -47
  43. package/dist/chunks/{location-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{location-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{location-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{location-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{location-6nqmg5rm.js → filesystem-3wss6xvz.js} +7 -7
  48. package/dist/chunks/{location-yk3trf7r.js → filesystem-464d904a.js} +147 -147
  49. package/dist/chunks/{location-ykaqgp03.js → filesystem-4b3pvx7e.js} +30 -30
  50. package/dist/chunks/{location-smhjrczq.js → filesystem-4da2pd5b.js} +40 -40
  51. package/dist/chunks/{location-h6r3nrb9.js → filesystem-4dgbcxzg.js} +4 -4
  52. package/dist/chunks/{location-ngts6ef0.js → filesystem-4e8vs6eh.js} +8 -8
  53. package/dist/chunks/{location-0gjp373x.js → filesystem-4gabqsjb.js} +18 -18
  54. package/dist/chunks/{location-88vwfmcq.js → filesystem-4r6ztwym.js} +6 -6
  55. package/dist/chunks/{location-qvxdw1kp.js → filesystem-4wgmm2fj.js} +4 -4
  56. package/dist/chunks/{location-e4b60ckc.js → filesystem-50mvj34d.js} +33 -33
  57. package/dist/chunks/{location-f1s21ehs.js → filesystem-56yns3xt.js} +18 -18
  58. package/dist/chunks/{location-6x0h2hvg.js → filesystem-57ez7d0k.js} +9 -9
  59. package/dist/chunks/{location-hj5q723k.js → filesystem-5d7brjha.js} +23 -23
  60. package/dist/chunks/{location-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
  61. package/dist/chunks/{location-tkwa03qt.js → filesystem-5hp81q23.js} +23 -23
  62. package/dist/chunks/{location-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{location-cmwkp3r5.js → filesystem-5xtgfte3.js} +8 -8
  64. package/dist/chunks/{location-kc692eep.js → filesystem-5yj9qr1n.js} +11 -11
  65. package/dist/chunks/{location-5yt8bpsr.js → filesystem-636h0e3e.js} +2 -2
  66. package/dist/chunks/{location-669tq793.js → filesystem-669tq793.js} +1 -1
  67. package/dist/chunks/{location-9h91jpv9.js → filesystem-6evbdv63.js} +12 -12
  68. package/dist/chunks/{location-cvmnpgad.js → filesystem-6f2z4ez9.js} +10 -10
  69. package/dist/chunks/{location-h71w788e.js → filesystem-6fatt4mk.js} +9 -9
  70. package/dist/chunks/{location-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{location-w5tmm7r1.js → filesystem-6n2xac0h.js} +11 -11
  72. package/dist/chunks/{location-42a57407.js → filesystem-6nkz7cqz.js} +44 -44
  73. package/dist/chunks/{location-cd0z4qvb.js → filesystem-6ysrkrkr.js} +8 -8
  74. package/dist/chunks/{location-x8fjxshq.js → filesystem-70c5k9gj.js} +15 -15
  75. package/dist/chunks/{location-r3radns3.js → filesystem-71k5223z.js} +28 -28
  76. package/dist/chunks/{location-zgn95ptr.js → filesystem-738dabjt.js} +30 -30
  77. package/dist/chunks/{location-r5x6zcsm.js → filesystem-73tb2d7t.js} +3 -3
  78. package/dist/chunks/{location-sct26jh2.js → filesystem-76j10fxw.js} +3 -3
  79. package/dist/chunks/{location-ght7ghr8.js → filesystem-76nv9rak.js} +30 -30
  80. package/dist/chunks/{location-y8yf2k5g.js → filesystem-793adb1z.js} +33 -33
  81. package/dist/chunks/{location-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{location-qgn6gcr1.js → filesystem-7dqw4kz8.js} +5 -5
  83. package/dist/chunks/{location-r574spjx.js → filesystem-7m1b5r48.js} +13 -13
  84. package/dist/chunks/{location-41b15ecq.js → filesystem-7sykw5ek.js} +25 -25
  85. package/dist/chunks/{location-ph3mq3wp.js → filesystem-7t5b4y9r.js} +15 -15
  86. package/dist/chunks/{location-csf2jhsg.js → filesystem-88sz8qcd.js} +4 -4
  87. package/dist/chunks/{location-f2k31yay.js → filesystem-896e5whc.js} +16 -16
  88. package/dist/chunks/{location-a46hzbj5.js → filesystem-8cy2627w.js} +20 -20
  89. package/dist/chunks/{location-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{location-mf9m2v67.js → filesystem-8jmaqybk.js} +3 -3
  91. package/dist/chunks/{location-8p4f9s12.js → filesystem-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{location-awa55gyj.js → filesystem-8p6xzk0z.js} +8 -8
  93. package/dist/chunks/{location-1z6bcbwm.js → filesystem-8we60ned.js} +41 -41
  94. package/dist/chunks/{location-y6dfpya4.js → filesystem-8xwhmszd.js} +7 -7
  95. package/dist/chunks/{location-7dbmnfn4.js → filesystem-91p1v22t.js} +8 -8
  96. package/dist/chunks/{location-h0t9nfwn.js → filesystem-961777zn.js} +3 -3
  97. package/dist/chunks/{location-48am8h8r.js → filesystem-97t23ph8.js} +1 -1
  98. package/dist/chunks/{location-s5ythvf1.js → filesystem-983we7ba.js} +40 -40
  99. package/dist/chunks/{location-1v29h1cg.js → filesystem-9afpsfvx.js} +15 -15
  100. package/dist/chunks/{location-hbpxg73f.js → filesystem-9kyyj4mw.js} +27 -27
  101. package/dist/chunks/{location-a1bz86dw.js → filesystem-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{location-25m4ah6t.js → filesystem-a2ew8a62.js} +7 -7
  103. package/dist/chunks/{location-7p5wtjc3.js → filesystem-a3zv9t7g.js} +11 -11
  104. package/dist/chunks/{location-w12wcbj8.js → filesystem-a5w0czkv.js} +68 -68
  105. package/dist/chunks/{location-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
  106. package/dist/chunks/{location-sd6dzq7f.js → filesystem-abm0rsa5.js} +12 -12
  107. package/dist/chunks/{location-7gvwkz6m.js → filesystem-af04s6ss.js} +5 -5
  108. package/dist/chunks/{location-sjf3tctt.js → filesystem-afed7ext.js} +12 -12
  109. package/dist/chunks/{location-j081qpeq.js → filesystem-afgm61tm.js} +5 -5
  110. package/dist/chunks/{location-3cfzdc8e.js → filesystem-ag9w8cw1.js} +5 -5
  111. package/dist/chunks/{location-djmnmanq.js → filesystem-an5w92pz.js} +16 -16
  112. package/dist/chunks/{location-028pjh5f.js → filesystem-arm41a3t.js} +15 -15
  113. package/dist/chunks/{location-n8rrq3rd.js → filesystem-arssbyta.js} +37 -37
  114. package/dist/chunks/{location-rnhgrd0m.js → filesystem-asp0ht71.js} +6 -6
  115. package/dist/chunks/{location-kfvaj52c.js → filesystem-awe63se0.js} +28 -28
  116. package/dist/chunks/{location-sap7mgk3.js → filesystem-b03343t8.js} +13 -13
  117. package/dist/chunks/{location-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{location-kmtbrx23.js → filesystem-b8wc72va.js} +18 -18
  119. package/dist/chunks/{location-62kftm9s.js → filesystem-bb2n5bqw.js} +51 -51
  120. package/dist/chunks/{location-jmh888fr.js → filesystem-bddt2pqj.js} +6 -6
  121. package/dist/chunks/filesystem-by5v678g.js +18 -0
  122. package/dist/chunks/{location-7raqvg34.js → filesystem-c9vj76y8.js} +17 -17
  123. package/dist/chunks/{location-cfpkc3c9.js → filesystem-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{location-cq37gk0t.js → filesystem-cq37gk0t.js} +4 -4
  125. package/dist/chunks/{location-8krtnsn7.js → filesystem-cqh9r0f6.js} +3 -3
  126. package/dist/chunks/{location-g98h6x07.js → filesystem-cwfj27x7.js} +6 -6
  127. package/dist/chunks/{location-a1j3s6td.js → filesystem-cx1qg717.js} +20 -20
  128. package/dist/chunks/{location-gbsk7s70.js → filesystem-czx28beh.js} +33 -33
  129. package/dist/chunks/{location-5ebw3s4g.js → filesystem-d1r5081s.js} +5 -5
  130. package/dist/chunks/{location-ranyqwt8.js → filesystem-d5nq0r8d.js} +35 -35
  131. package/dist/chunks/{location-sgcf4b1d.js → filesystem-d9rbnbyj.js} +314 -314
  132. package/dist/chunks/{location-qth74v4j.js → filesystem-dhwr7h25.js} +8 -8
  133. package/dist/chunks/{location-c765mh8b.js → filesystem-djszqvmq.js} +9 -9
  134. package/dist/chunks/{location-qtrjaqbk.js → filesystem-dn3c2qc4.js} +30 -30
  135. package/dist/chunks/{location-zex37ywk.js → filesystem-dpahde6h.js} +8 -8
  136. package/dist/chunks/{location-myd867zz.js → filesystem-dqnhf5ps.js} +13 -13
  137. package/dist/chunks/{location-sp1dssyy.js → filesystem-dw1hb3qg.js} +17 -17
  138. package/dist/chunks/{location-gqkgf1w8.js → filesystem-dwy07qr3.js} +22 -22
  139. package/dist/chunks/{location-p879wscf.js → filesystem-dzc2vx4y.js} +12 -12
  140. package/dist/chunks/{location-15zaq50v.js → filesystem-e0sna5fv.js} +29 -29
  141. package/dist/chunks/{location-1cx64p6y.js → filesystem-e6mn5jv8.js} +8 -8
  142. package/dist/chunks/{location-hrpmhk0j.js → filesystem-e6zry6hq.js} +16 -16
  143. package/dist/chunks/{location-2pnt8tzr.js → filesystem-e85wkba2.js} +12 -12
  144. package/dist/chunks/{location-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  145. package/dist/chunks/{location-xxkq93fp.js → filesystem-efpdwb6x.js} +19 -19
  146. package/dist/chunks/{location-wx5t2f9k.js → filesystem-enxmvdqw.js} +26 -26
  147. package/dist/chunks/{location-erw5rpbs.js → filesystem-erw5rpbs.js} +2 -2
  148. package/dist/chunks/{location-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{location-j743xyx9.js → filesystem-ew7hwn7j.js} +20 -20
  150. package/dist/chunks/{location-46aakvn5.js → filesystem-eyvfapca.js} +20 -20
  151. package/dist/chunks/{location-bgyxdgm5.js → filesystem-f09mvmr0.js} +9 -9
  152. package/dist/chunks/{location-f828m53h.js → filesystem-f828m53h.js} +2 -2
  153. package/dist/chunks/{location-bthytya7.js → filesystem-f8vvpw96.js} +45 -45
  154. package/dist/chunks/{location-p117p70m.js → filesystem-f9hy97hv.js} +11 -11
  155. package/dist/chunks/{location-07ew9dmt.js → filesystem-fpz3mx6x.js} +28 -28
  156. package/dist/chunks/{location-vnek8hc4.js → filesystem-frcr067y.js} +21 -21
  157. package/dist/chunks/{location-9ywbvqrg.js → filesystem-frxaaayt.js} +33 -33
  158. package/dist/chunks/{location-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
  159. package/dist/chunks/{location-sv18tyc1.js → filesystem-ga28zqw9.js} +26 -26
  160. package/dist/chunks/{location-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{location-pghnxs44.js → filesystem-gex21hkg.js} +24 -24
  162. package/dist/chunks/{location-qn9b0sqe.js → filesystem-ggq5dcm3.js} +11 -11
  163. package/dist/chunks/{location-h78s014s.js → filesystem-gkxywbd8.js} +9 -9
  164. package/dist/chunks/{location-xt1m20s5.js → filesystem-gmrppb9j.js} +4 -4
  165. package/dist/chunks/{location-dt191n27.js → filesystem-gmtyk6kh.js} +9 -9
  166. package/dist/chunks/{location-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
  167. package/dist/chunks/{location-d72vtcx6.js → filesystem-gvn55taw.js} +9 -9
  168. package/dist/chunks/{location-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{location-vxmvkdwt.js → filesystem-hc1m44b4.js} +26 -26
  170. package/dist/chunks/{location-dh7atf4x.js → filesystem-hd4ggg0f.js} +24 -24
  171. package/dist/chunks/{location-f3dc04ja.js → filesystem-hg14h15t.js} +43 -43
  172. package/dist/chunks/{location-b722n5s9.js → filesystem-hjxgxr48.js} +12 -12
  173. package/dist/chunks/{location-d1728j9y.js → filesystem-hw0j4jfr.js} +9 -9
  174. package/dist/chunks/{location-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
  175. package/dist/chunks/{location-5cp6651z.js → filesystem-j5rxtxht.js} +4 -4
  176. package/dist/chunks/{location-zt6fd653.js → filesystem-ja4wy4ee.js} +6 -6
  177. package/dist/chunks/{location-9p5s6s2z.js → filesystem-jfxzdpts.js} +25 -25
  178. package/dist/chunks/{location-b60s1em2.js → filesystem-jgqqmzrc.js} +13 -13
  179. package/dist/chunks/{location-ppzykpzz.js → filesystem-jkayeeaj.js} +3 -3
  180. package/dist/chunks/{location-cf8xfs7e.js → filesystem-jm1e84c6.js} +55 -55
  181. package/dist/chunks/{location-wvgnadq2.js → filesystem-jyvd2mgh.js} +4 -4
  182. package/dist/chunks/{location-k3c624dm.js → filesystem-k3c624dm.js} +3 -3
  183. package/dist/chunks/{location-ycjtg4p4.js → filesystem-k5gd0tq9.js} +25 -25
  184. package/dist/chunks/{location-ph20cxtq.js → filesystem-k7myrtme.js} +9 -9
  185. package/dist/chunks/{location-xjtsx636.js → filesystem-k8hpw67k.js} +5 -5
  186. package/dist/chunks/{location-44ke2mar.js → filesystem-k9kj6xed.js} +6 -6
  187. package/dist/chunks/{location-jd00bmkr.js → filesystem-kc6s93qx.js} +6 -6
  188. package/dist/chunks/{location-1kpmcbq6.js → filesystem-kcvtahyt.js} +19 -19
  189. package/dist/chunks/{location-ec8389mk.js → filesystem-keat3kjn.js} +4 -4
  190. package/dist/chunks/{location-0zt6fyp2.js → filesystem-kgwkn692.js} +14 -14
  191. package/dist/chunks/{location-dhmh7aw6.js → filesystem-kne8f3cn.js} +4 -4
  192. package/dist/chunks/{location-ktk7kaep.js → filesystem-kx9spr8q.js} +15 -15
  193. package/dist/chunks/{location-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
  194. package/dist/chunks/{location-wmpkysg0.js → filesystem-m4q3p37a.js} +13 -13
  195. package/dist/chunks/{location-c52v1g84.js → filesystem-m4wqnv6z.js} +24 -24
  196. package/dist/chunks/{location-qg12vcbp.js → filesystem-m5nhsqcp.js} +30 -30
  197. package/dist/chunks/{location-rh4cvgcy.js → filesystem-m8btp16q.js} +80 -80
  198. package/dist/chunks/{location-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  199. package/dist/chunks/{location-f4v8yxfq.js → filesystem-mbac1kct.js} +12 -12
  200. package/dist/chunks/{location-ex0ne5y8.js → filesystem-mgmaefw5.js} +5 -5
  201. package/dist/chunks/{location-nh19gvd6.js → filesystem-msvsfnt3.js} +13 -13
  202. package/dist/chunks/{location-w8qbt9vz.js → filesystem-mt9bxwhn.js} +3 -3
  203. package/dist/chunks/{location-8pwapj34.js → filesystem-mx3p2n25.js} +13 -13
  204. package/dist/chunks/{location-jkp0d30b.js → filesystem-mx9vqzsb.js} +6 -6
  205. package/dist/chunks/{location-f7dx5gxk.js → filesystem-nw7zy85b.js} +9 -9
  206. package/dist/chunks/{location-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{location-pknna89w.js → filesystem-pknna89w.js} +1 -1
  208. package/dist/chunks/{location-qg0jgkcp.js → filesystem-pnv527nz.js} +9 -9
  209. package/dist/chunks/{location-a671bmw1.js → filesystem-prryh28n.js} +12 -12
  210. package/dist/chunks/{location-bm23hmy0.js → filesystem-px2be73x.js} +9 -9
  211. package/dist/chunks/{location-cb635m3g.js → filesystem-q0sfhvah.js} +1 -1
  212. package/dist/chunks/{location-sqj1n1fy.js → filesystem-q3bxgjqn.js} +4 -4
  213. package/dist/chunks/{location-cmna76py.js → filesystem-q3hac6h7.js} +20 -20
  214. package/dist/chunks/{location-96q44xr9.js → filesystem-q7rwn2x2.js} +28 -28
  215. package/dist/chunks/{location-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  216. package/dist/chunks/{location-wvtxbd2s.js → filesystem-qx5d9ajw.js} +1 -1
  217. package/dist/chunks/{location-zgqvek19.js → filesystem-rc50wbp4.js} +13 -13
  218. package/dist/chunks/{location-2bybnw67.js → filesystem-rddmyqfq.js} +23 -23
  219. package/dist/chunks/{location-c7r74d2e.js → filesystem-rdnhh455.js} +16 -16
  220. package/dist/chunks/{location-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{location-rhjbct0v.js → filesystem-rhjbct0v.js} +1 -1
  222. package/dist/chunks/{location-crzmmhpe.js → filesystem-rk88yvf9.js} +10 -10
  223. package/dist/chunks/{location-t7qv8der.js → filesystem-rzfg7075.js} +29 -29
  224. package/dist/chunks/{location-s4enseaf.js → filesystem-s4enseaf.js} +2 -2
  225. package/dist/chunks/{location-m2xnkqg2.js → filesystem-s5kb3k8e.js} +12 -12
  226. package/dist/chunks/{location-48j1mtvh.js → filesystem-s7ctwtcq.js} +19 -19
  227. package/dist/chunks/{location-ts2x07a1.js → filesystem-scq4khx8.js} +1 -1
  228. package/dist/chunks/{location-jkwh49qv.js → filesystem-sds3e13g.js} +34 -34
  229. package/dist/chunks/{location-hr3mej6q.js → filesystem-sexgt17t.js} +1 -1
  230. package/dist/chunks/{location-cbmr8phd.js → filesystem-sfpgy6fa.js} +10 -10
  231. package/dist/chunks/{location-apgxa580.js → filesystem-stsqwfg0.js} +15 -15
  232. package/dist/chunks/{location-ffjkv6j4.js → filesystem-tamkpa3n.js} +11 -11
  233. package/dist/chunks/{location-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-axenjc6b.js → filesystem-tb6t8ms4.js} +15 -15
  235. package/dist/chunks/{location-tbz0fdvh.js → filesystem-tbz0fdvh.js} +2 -2
  236. package/dist/chunks/{location-tcezcvh9.js → filesystem-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{location-tdstcens.js → filesystem-tdstcens.js} +1 -1
  238. package/dist/chunks/filesystem-tr8yqx4d.js +252 -0
  239. package/dist/chunks/{location-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
  240. package/dist/chunks/{location-spa1pw6v.js → filesystem-tz5abwqk.js} +18 -18
  241. package/dist/chunks/{location-0c1wpxb9.js → filesystem-v35f087t.js} +1 -1
  242. package/dist/chunks/{location-33sx5sqt.js → filesystem-v7zj3nz5.js} +16 -16
  243. package/dist/chunks/{location-w18ba54v.js → filesystem-v8g5y6jd.js} +14 -14
  244. package/dist/chunks/{location-1yjvqg52.js → filesystem-vds9m2vb.js} +9 -9
  245. package/dist/chunks/{location-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  246. package/dist/chunks/{location-z0ztzpp1.js → filesystem-vgrtq7ff.js} +25 -25
  247. package/dist/chunks/{location-dvdzmdgd.js → filesystem-vh4qwyhx.js} +10 -10
  248. package/dist/chunks/{location-jv01nqvq.js → filesystem-vmq7ehpy.js} +5 -5
  249. package/dist/chunks/{location-13j8pn5k.js → filesystem-vmz6a58x.js} +3 -3
  250. package/dist/chunks/{location-6m42r3np.js → filesystem-vsp1fds9.js} +4 -4
  251. package/dist/chunks/{location-mz24817y.js → filesystem-vvax6fjg.js} +14 -14
  252. package/dist/chunks/{location-cxr1pgpc.js → filesystem-vvk3ve44.js} +7 -7
  253. package/dist/chunks/{location-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
  254. package/dist/chunks/filesystem-w3te818p.js +26 -0
  255. package/dist/chunks/{location-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{location-jwnsrq47.js → filesystem-w446yvqy.js} +2 -2
  257. package/dist/chunks/{location-z96p8pdm.js → filesystem-w533tarm.js} +23 -23
  258. package/dist/chunks/{location-dzebhhhh.js → filesystem-w82fgawr.js} +3 -3
  259. package/dist/chunks/{location-n4t6mz1w.js → filesystem-w94kskkz.js} +8 -8
  260. package/dist/chunks/{location-wd87259q.js → filesystem-wd87259q.js} +1 -1
  261. package/dist/chunks/{location-czw6ejq9.js → filesystem-wgw4srnb.js} +12 -12
  262. package/dist/chunks/{location-q5dh2455.js → filesystem-wh4ahp02.js} +10 -10
  263. package/dist/chunks/{location-cgtezthe.js → filesystem-wkjja0pr.js} +9 -9
  264. package/dist/chunks/{location-ee7jghms.js → filesystem-ws621yd9.js} +44 -44
  265. package/dist/chunks/{location-tp88aasm.js → filesystem-wxnh3zbj.js} +3 -3
  266. package/dist/chunks/{location-3jyv51wp.js → filesystem-wxr37xc2.js} +5 -5
  267. package/dist/chunks/{location-9kmbd9mt.js → filesystem-x0600czv.js} +2 -2
  268. package/dist/chunks/{location-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{location-xfkkasph.js → filesystem-xfkkasph.js} +1 -1
  270. package/dist/chunks/{location-3933gdcf.js → filesystem-xst10gja.js} +15 -15
  271. package/dist/chunks/{location-znzpdstw.js → filesystem-xxnqz17r.js} +27 -27
  272. package/dist/chunks/{location-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{location-y71avatq.js → filesystem-y71avatq.js} +1 -1
  274. package/dist/chunks/{location-8x6t0zvv.js → filesystem-yad5pthg.js} +24 -24
  275. package/dist/chunks/{location-8eg380mg.js → filesystem-yfrapfkp.js} +4 -4
  276. package/dist/chunks/{location-1acjjqhc.js → filesystem-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{location-0cjzkd0f.js → filesystem-yq3qxe3q.js} +37 -37
  278. package/dist/chunks/{location-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{location-x4h44jes.js → filesystem-yzs7269r.js} +24 -24
  280. package/dist/chunks/{location-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{location-26xy9jpk.js → filesystem-z5614h9q.js} +22 -22
  282. package/dist/chunks/{location-8c50kj87.js → filesystem-z5dr2f93.js} +2 -2
  283. package/dist/chunks/{location-ka57rnyv.js → filesystem-za9m4y5n.js} +31 -31
  284. package/dist/chunks/{location-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{location-d04xfmcf.js → filesystem-zfyhmt8d.js} +22 -22
  286. package/dist/chunks/{location-jf5ejj3c.js → filesystem-zhm4m9p9.js} +31 -31
  287. package/dist/chunks/{location-b95a0s9k.js → filesystem-zptm4m77.js} +1 -1
  288. package/dist/chunks/{location-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{location-7c0btcba.js → filesystem-zx5z6yb5.js} +13 -13
  290. package/dist/chunks/{location-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +124 -124
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +161 -161
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +131 -131
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +99 -99
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +224 -224
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +81 -81
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +82 -82
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +1 -1
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +77 -77
  464. package/dist/job.js +76 -76
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +99 -99
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +86 -86
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +101 -101
  476. package/dist/mcp/instructions.js +125 -125
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +98 -98
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +97 -97
  483. package/dist/models-dev.js +102 -102
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +79 -79
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +110 -110
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +85 -85
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +103 -103
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/compaction.js +132 -132
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +75 -75
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +140 -140
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +346 -346
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +226 -226
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +89 -89
  563. package/dist/provider.js +90 -90
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +97 -97
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +223 -223
  584. package/dist/session/execution.js +125 -125
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +87 -87
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +74 -74
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +96 -96
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +83 -83
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +111 -111
  608. package/dist/session/runner/step.js +123 -123
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +84 -84
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +153 -153
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +219 -219
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +109 -109
  633. package/dist/snapshot.js +88 -88
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +119 -119
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +123 -123
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +100 -100
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +216 -216
  647. package/dist/tool/plugin/skill.js +110 -110
  648. package/dist/tool/plugin/subagent.js +218 -218
  649. package/dist/tool/plugin/webfetch.js +105 -105
  650. package/dist/tool/plugin/websearch.js +113 -113
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +99 -99
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +14 -14
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +92 -92
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +81 -81
  686. package/dist/wellknown/plugin.js +73 -73
  687. package/dist/wellknown.js +78 -78
  688. package/dist/workspace/driver.js +3 -3
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +77 -77
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +8 -8
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/location-dpe5jjc5.js +0 -252
  698. package/dist/chunks/location-fpnkzx0a.js +0 -26
  699. package/dist/chunks/location-qapv375x.js +0 -4
  700. package/dist/chunks/location-qc068m1q.js +0 -18
  701. /package/dist/chunks/{location-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{location-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{location-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{location-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{location-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{location-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{location-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{location-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{location-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{location-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{location-3asan66x.js → filesystem-3asan66x.js} +0 -0
  712. /package/dist/chunks/{location-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{location-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{location-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{location-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{location-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{location-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{location-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{location-53557ph1.js → filesystem-53557ph1.js} +0 -0
  720. /package/dist/chunks/{location-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{location-6prwharc.js → filesystem-6prwharc.js} +0 -0
  722. /package/dist/chunks/{location-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{location-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{location-822emrt2.js → filesystem-822emrt2.js} +0 -0
  725. /package/dist/chunks/{location-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{location-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{location-922hggd3.js → filesystem-922hggd3.js} +0 -0
  728. /package/dist/chunks/{location-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{location-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{location-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{location-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{location-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{location-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{location-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{location-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{location-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{location-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{location-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{location-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{location-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{location-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{location-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{location-df08tz66.js → filesystem-df08tz66.js} +0 -0
  744. /package/dist/chunks/{location-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{location-e3qxr5gk.js → filesystem-e3qxr5gk.js} +0 -0
  746. /package/dist/chunks/{location-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{location-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{location-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{location-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{location-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{location-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{location-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{location-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{location-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{location-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{location-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{location-g86h250q.js → filesystem-g86h250q.js} +0 -0
  758. /package/dist/chunks/{location-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{location-gftt206x.js → filesystem-gftt206x.js} +0 -0
  760. /package/dist/chunks/{location-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{location-hk9envan.js → filesystem-hk9envan.js} +0 -0
  762. /package/dist/chunks/{location-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{location-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{location-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{location-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{location-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{location-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{location-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{location-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{location-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{location-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{location-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{location-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{location-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{location-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{location-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{location-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{location-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{location-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{location-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{location-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{location-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{location-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{location-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{location-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{location-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{location-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{location-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{location-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{location-x61499pn.js → filesystem-x61499pn.js} +0 -0
  791. /package/dist/chunks/{location-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{location-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{location-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{location-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{location-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{location-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./location-922hggd3.js";
3
+ } from "./filesystem-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service60
7
- } from "./location-bthytya7.js";
6
+ Service67
7
+ } from "./filesystem-f8vvpw96.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./location-2a5m3afh.js";
10
+ } from "./filesystem-2a5m3afh.js";
11
11
  import {
12
- Service63
13
- } from "./location-8x6t0zvv.js";
12
+ Service71
13
+ } from "./filesystem-yad5pthg.js";
14
14
  import {
15
- Service51
16
- } from "./location-ph3mq3wp.js";
15
+ Service53
16
+ } from "./filesystem-7t5b4y9r.js";
17
17
  import {
18
- Service52
19
- } from "./location-3jm0sq8a.js";
18
+ Service57
19
+ } from "./filesystem-0dy0awfd.js";
20
20
  import {
21
21
  Service23,
22
22
  resolvePath2
23
- } from "./location-9h91jpv9.js";
23
+ } from "./filesystem-6evbdv63.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./location-fxbjtjnd.js";
29
+ } from "./filesystem-fxbjtjnd.js";
30
30
  import {
31
- Service72,
31
+ Service65,
32
32
  name15
33
- } from "./location-1v29h1cg.js";
33
+ } from "./filesystem-9afpsfvx.js";
34
34
  import {
35
- NotFoundError7,
36
- Service57
37
- } from "./location-62kftm9s.js";
35
+ NotFoundError9,
36
+ Service63
37
+ } from "./filesystem-bb2n5bqw.js";
38
38
  import {
39
- Service26
40
- } from "./location-bsvwk272.js";
39
+ Service25
40
+ } from "./filesystem-2dayh34n.js";
41
41
  import {
42
42
  scan2
43
- } from "./location-sqj1n1fy.js";
43
+ } from "./filesystem-q3bxgjqn.js";
44
44
  import {
45
45
  __export
46
- } from "./location-9rqn6x4v.js";
46
+ } from "./filesystem-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input11,
53
- Plugin: () => Plugin30,
54
- ShellTool: () => exports_shell2,
55
- name: () => name11
52
+ Input: () => Input8,
53
+ Plugin: () => Plugin8,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name8
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name11 = "shell";
59
+ var name8 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input11 = Schema.Struct({
73
+ var Input8 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin30 = {
118
+ var Plugin8 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service26;
122
- const jobs = yield* Service51;
121
+ const sessions = yield* Service25;
122
+ const jobs = yield* Service53;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service63;
124
+ const environment = yield* Service71;
125
125
  const access = yield* Service23;
126
- const shell = yield* Service57;
127
- const shellSelect = yield* Service72;
126
+ const shell = yield* Service63;
127
+ const shellSelect = yield* Service65;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service52;
130
- const config = yield* Service60;
129
+ const permission = yield* Service57;
130
+ const config = yield* Service67;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin30 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name11,
149
+ action: name8,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin30 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name11,
186
+ name: name8,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input11,
189
+ input: Input8,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin30 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError7({ id: info.id });
208
+ return yield* new NotFoundError9({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name11,
222
+ type: name8,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name11];
252
+ const tool = event.tools[name8];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin30, exports_shell2 };
263
+ export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin8, exports_shell };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./filesystem-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: () => Service73,
10
- node: () => node77
9
+ Service: () => Service15,
10
+ node: () => node17
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service73 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service15 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service73, () => {
17
+ var layer = Layer.sync(Service15, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service73.of({
19
+ return Service15.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 node77 = makeGlobalNode({ service: Service73, layer, deps: [] });
26
+ var node17 = makeGlobalNode({ service: Service15, layer, deps: [] });
27
27
 
28
- export { Service73, node77, exports_managed_policy };
28
+ export { Service15, node17, exports_managed_policy };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service82
3
- } from "./location-b722n5s9.js";
2
+ Service83
3
+ } from "./filesystem-hjxgxr48.js";
4
4
  import {
5
5
  OAuth3,
6
- Event20
7
- } from "./location-ka57rnyv.js";
6
+ Event19
7
+ } from "./filesystem-za9m4y5n.js";
8
8
  import {
9
9
  ID14,
10
10
  MethodID2
11
- } from "./location-0yepr83e.js";
11
+ } from "./filesystem-08n7z093.js";
12
12
  import {
13
13
  key2
14
- } from "./location-h6r3nrb9.js";
14
+ } from "./filesystem-4dgbcxzg.js";
15
15
  import {
16
- Service73
17
- } from "./location-cd0z4qvb.js";
16
+ Service15
17
+ } from "./filesystem-6ysrkrkr.js";
18
18
  import {
19
19
  ID13,
20
20
  mergeOverlay2,
21
21
  mergeHeaders2
22
- } from "./location-sp1dssyy.js";
22
+ } from "./filesystem-dw1hb3qg.js";
23
23
  import {
24
- ID11,
24
+ ID6,
25
25
  Input14,
26
26
  Response2
27
- } from "./location-9p5s6s2z.js";
27
+ } from "./filesystem-jfxzdpts.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: ID11
42
+ providerID: ID6
43
43
  }).pipe(Schema.optional),
44
44
  experimental: Schema.Struct({
45
45
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -118,9 +118,9 @@ function oauth(http) {
118
118
  var OpencodePlugin2 = define({
119
119
  id: "opencode.provider.opencode",
120
120
  effect: Effect.fn(function* (ctx) {
121
- const bus = yield* Service82;
121
+ const bus = yield* Service83;
122
122
  const http = yield* HttpClient.HttpClient;
123
- const managed = yield* Service73;
123
+ const managed = yield* Service15;
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* () {
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
291
291
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
292
292
  });
293
293
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
294
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
294
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
295
295
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
296
296
  })
297
297
  });
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./location-b722n5s9.js";
2
+ Service83,
3
+ node87
4
+ } from "./filesystem-hjxgxr48.js";
5
5
  import {
6
- Service36,
7
- node40
8
- } from "./location-f7bny14s.js";
6
+ Service35,
7
+ node38
8
+ } from "./filesystem-36ckcbr5.js";
9
9
  import {
10
- Service52,
11
- node55
12
- } from "./location-3jm0sq8a.js";
10
+ Service57,
11
+ node60
12
+ } from "./filesystem-0dy0awfd.js";
13
13
  import {
14
- Service43,
15
- node47
16
- } from "./location-41b15ecq.js";
14
+ Service38,
15
+ node41
16
+ } from "./filesystem-7sykw5ek.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./filesystem-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service33,
26
- layer: () => layer11,
25
+ Service: () => Service32,
26
+ layer: () => layer12,
27
27
  name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node37
29
+ node: () => node36
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service33 extends Context.Service()("@opencode/McpTool") {
38
+ class Service32 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service33, Effect.gen(function* () {
41
- const mcp = yield* Service36;
42
- const tools = yield* Service43;
43
- const bus = yield* Service82;
44
- const permission = yield* Service52;
40
+ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
41
+ const mcp = yield* Service35;
42
+ const tools = yield* Service38;
43
+ const bus = yield* Service83;
44
+ const permission = yield* Service57;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service33, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node37 = makeLocationNode({
124
- service: Service33,
125
- layer: layer11,
126
- deps: [node47, node40, node86, node55]
123
+ var node36 = makeLocationNode({
124
+ service: Service32,
125
+ layer: layer12,
126
+ deps: [node41, node38, node87, node60]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service33, layer11, node37, exports_mcp3 };
129
+ export { namespace2, name13, Service32, layer12, node36, exports_mcp3 };
@@ -2,40 +2,40 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./location-922hggd3.js";
5
+ } from "./filesystem-922hggd3.js";
6
6
  import {
7
- Service77,
8
- node81
9
- } from "./location-hrpmhk0j.js";
7
+ Service80,
8
+ node84
9
+ } from "./filesystem-e6zry6hq.js";
10
10
  import {
11
- Service14,
12
- node16
13
- } from "./location-qg12vcbp.js";
11
+ Service55,
12
+ node58
13
+ } from "./filesystem-m5nhsqcp.js";
14
14
  import {
15
15
  __export
16
- } from "./location-9rqn6x4v.js";
16
+ } from "./filesystem-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content2,
21
+ Content: () => Content3,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event2,
25
+ Event: () => Event10,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput2,
30
+ ListInput: () => ListInput3,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError2,
32
+ NotFoundError: () => NotFoundError6,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service13,
34
+ Service: () => Service54,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node15
38
+ node: () => node57
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
58
- var Content2 = Schema.Struct({
58
+ var Content3 = Schema.Struct({
59
59
  uri: Schema.String,
60
60
  name: Schema.String.pipe(Schema.optional),
61
61
  content: Schema.String,
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput2 = Schema.Struct({
65
+ var ListInput3 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event2 = FileSystem.Event;
88
+ var Event10 = FileSystem.Event;
89
89
 
90
- class Service13 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service54 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service54, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service77;
95
- const search = yield* Service14;
94
+ const location = yield* Service80;
95
+ const search = yield* Service55;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service13.of({
106
+ return Service54.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node15 = makeLocationNode({
144
- service: Service13,
143
+ var node57 = makeLocationNode({
144
+ service: Service54,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node81, node16]
146
+ deps: [FSUtil.node, node84, node58]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service54, node57, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./location-qaymkmh1.js";
3
+ } from "./filesystem-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make5(input) {
8
+ function make10(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make5 };
264
+ export { make10 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./location-b95a0s9k.js";
5
+ } from "./filesystem-zptm4m77.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./location-ppzykpzz.js";
11
+ } from "./filesystem-jkayeeaj.js";
12
12
  import {
13
13
  __export
14
- } from "./location-9rqn6x4v.js";
14
+ } from "./filesystem-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};