@opencode/core 0.0.0-dev-20437 → 0.0.0-dev-20439

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{filesystem-6vzgdzvk.js → variant-01n0fn3n.js} +5 -5
  8. package/dist/chunks/{filesystem-f05k46e0.js → variant-07q3v8ms.js} +37 -37
  9. package/dist/chunks/{filesystem-vh0ct6km.js → variant-0g91z8as.js} +23 -23
  10. package/dist/chunks/{filesystem-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{filesystem-hab5jpb1.js → variant-0sep86pb.js} +50 -50
  12. package/dist/chunks/{filesystem-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{filesystem-2y34zzjz.js → variant-0z8vjex2.js} +7 -7
  14. package/dist/chunks/{filesystem-fv69kr5x.js → variant-10cxjgch.js} +8 -8
  15. package/dist/chunks/{filesystem-t0wjhbzp.js → variant-10zwexjt.js} +11 -11
  16. package/dist/chunks/{filesystem-bzs6kdmy.js → variant-14v92p14.js} +20 -20
  17. package/dist/chunks/{filesystem-2j3vk6t2.js → variant-16w9ecqz.js} +11 -11
  18. package/dist/chunks/{filesystem-fzg55a4d.js → variant-17bspyb1.js} +43 -43
  19. package/dist/chunks/{filesystem-r1x1110x.js → variant-18126dgn.js} +28 -28
  20. package/dist/chunks/{filesystem-cz58kz68.js → variant-19wa5dg2.js} +6 -6
  21. package/dist/chunks/{filesystem-r8xr0va3.js → variant-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{filesystem-g30v9gca.js → variant-1brx5qyk.js} +43 -43
  23. package/dist/chunks/{filesystem-2b2kdvct.js → variant-1d10jwk2.js} +13 -13
  24. package/dist/chunks/{filesystem-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{filesystem-1dvck2a7.js → variant-1dvck2a7.js} +2 -2
  26. package/dist/chunks/{filesystem-9emmf9qt.js → variant-1f3k22r2.js} +8 -8
  27. package/dist/chunks/{filesystem-cd88demr.js → variant-1hzkdvcb.js} +27 -27
  28. package/dist/chunks/{filesystem-249qvrry.js → variant-1qfm3kg7.js} +85 -85
  29. package/dist/chunks/{filesystem-5t1mqahn.js → variant-1qrvjt31.js} +15 -15
  30. package/dist/chunks/{filesystem-21r38tys.js → variant-21r38tys.js} +1 -1
  31. package/dist/chunks/{filesystem-8a1fg79c.js → variant-25a4t902.js} +18 -18
  32. package/dist/chunks/{filesystem-7yz2xr1t.js → variant-28m0ec4d.js} +42 -42
  33. package/dist/chunks/{filesystem-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{filesystem-fqh1qya1.js → variant-2fhv8f0b.js} +44 -44
  35. package/dist/chunks/{filesystem-036ns257.js → variant-2g5mhw7z.js} +24 -24
  36. package/dist/chunks/{filesystem-0jwsre1p.js → variant-2k8khapm.js} +5 -5
  37. package/dist/chunks/{filesystem-fpq9acqp.js → variant-2myva995.js} +6 -6
  38. package/dist/chunks/variant-2v8pqagd.js +507 -0
  39. package/dist/chunks/{filesystem-v1fb46qy.js → variant-2y89dd9a.js} +13 -13
  40. package/dist/chunks/{filesystem-ddrhvhgz.js → variant-3160htdx.js} +5 -5
  41. package/dist/chunks/{filesystem-e2tkn9w7.js → variant-32grcv6n.js} +3 -3
  42. package/dist/chunks/{filesystem-9m60jvq0.js → variant-32jztgwf.js} +17 -17
  43. package/dist/chunks/{filesystem-bzn1wj9e.js → variant-367xe4pb.js} +16 -16
  44. package/dist/chunks/{filesystem-rnpnebxd.js → variant-396xe5we.js} +3 -3
  45. package/dist/chunks/{filesystem-pbdx9thr.js → variant-398qtpyw.js} +19 -19
  46. package/dist/chunks/{filesystem-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{filesystem-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{filesystem-hzdb9pk6.js → variant-3kcc9g8w.js} +18 -18
  49. package/dist/chunks/{filesystem-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{filesystem-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{filesystem-3v5tjer0.js → variant-3v5tjer0.js} +2 -2
  52. package/dist/chunks/{filesystem-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
  53. package/dist/chunks/{filesystem-knevfgda.js → variant-41czef58.js} +4 -4
  54. package/dist/chunks/{filesystem-99pzt4jy.js → variant-49d935aw.js} +6 -6
  55. package/dist/chunks/{filesystem-pgcyf0hj.js → variant-4erxxbbf.js} +35 -35
  56. package/dist/chunks/{filesystem-0hx3wrkq.js → variant-4k5wkrh9.js} +26 -26
  57. package/dist/chunks/{filesystem-4ts7tf6z.js → variant-4ts7tf6z.js} +2 -2
  58. package/dist/chunks/{filesystem-53srf1q3.js → variant-50bj4n03.js} +21 -21
  59. package/dist/chunks/{filesystem-k1qrnqst.js → variant-517vs525.js} +8 -8
  60. package/dist/chunks/{filesystem-54ma36ye.js → variant-54ma36ye.js} +1 -1
  61. package/dist/chunks/{filesystem-q4tdxfva.js → variant-5bgh4dzz.js} +6 -6
  62. package/dist/chunks/{filesystem-5daktx2q.js → variant-5daktx2q.js} +1 -1
  63. package/dist/chunks/{filesystem-10j2s16v.js → variant-5gd79jxb.js} +8 -8
  64. package/dist/chunks/{filesystem-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{filesystem-n335nty0.js → variant-5w4kbhzj.js} +34 -34
  66. package/dist/chunks/{filesystem-04z6gqcg.js → variant-5xesbvpt.js} +14 -9
  67. package/dist/chunks/variant-611kkatt.js +252 -0
  68. package/dist/chunks/{filesystem-669tq793.js → variant-669tq793.js} +1 -1
  69. package/dist/chunks/{filesystem-eh197s02.js → variant-67h7xkhv.js} +23 -23
  70. package/dist/chunks/{filesystem-p0zwa1vv.js → variant-6abt9vd9.js} +11 -11
  71. package/dist/chunks/{filesystem-skzznzbs.js → variant-6d98qxkn.js} +22 -22
  72. package/dist/chunks/{filesystem-v5dkyp31.js → variant-6hh8tjw2.js} +4 -4
  73. package/dist/chunks/{filesystem-nqdd843g.js → variant-6nd6aznx.js} +26 -26
  74. package/dist/chunks/{filesystem-fer7p6e5.js → variant-6qmtfge3.js} +11 -11
  75. package/dist/chunks/{filesystem-jth1hnpz.js → variant-6szg9m6g.js} +23 -23
  76. package/dist/chunks/{filesystem-40gv55tz.js → variant-6xwnd5n0.js} +43 -43
  77. package/dist/chunks/{filesystem-71az546q.js → variant-71az546q.js} +2 -2
  78. package/dist/chunks/{filesystem-t5qt6q14.js → variant-75dbh3sm.js} +24 -24
  79. package/dist/chunks/{filesystem-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{filesystem-40n4jky6.js → variant-7cx9cvsh.js} +1 -1
  81. package/dist/chunks/{filesystem-9b186pma.js → variant-7ph72h93.js} +2 -2
  82. package/dist/chunks/{filesystem-hvcykgb7.js → variant-7r87hsp1.js} +13 -13
  83. package/dist/chunks/{filesystem-8x85r25d.js → variant-7wdw4sn7.js} +16 -16
  84. package/dist/chunks/{filesystem-vt2nsqzf.js → variant-84gad1zv.js} +9 -9
  85. package/dist/chunks/{filesystem-w1eejvng.js → variant-84txncab.js} +5 -5
  86. package/dist/chunks/{filesystem-aapnq670.js → variant-886x1de6.js} +26 -26
  87. package/dist/chunks/{filesystem-n39mkyex.js → variant-8arhm12g.js} +21 -21
  88. package/dist/chunks/{filesystem-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{filesystem-2117cf5j.js → variant-8j08zm4r.js} +16 -16
  90. package/dist/chunks/{filesystem-gf8xtkbh.js → variant-8kq48qmj.js} +11 -11
  91. package/dist/chunks/{filesystem-ey93rq2c.js → variant-8vtqv0ab.js} +28 -28
  92. package/dist/chunks/{filesystem-w1xfvgnx.js → variant-94svnpff.js} +5 -5
  93. package/dist/chunks/{filesystem-9a0r6qpw.js → variant-97ch1fd3.js} +23 -23
  94. package/dist/chunks/{filesystem-t8qw8ht6.js → variant-9a5pyt9z.js} +4 -4
  95. package/dist/chunks/{filesystem-9e5bzkjp.js → variant-9e5bzkjp.js} +3 -3
  96. package/dist/chunks/{filesystem-ttjpp0qf.js → variant-9gn2e1q5.js} +54 -54
  97. package/dist/chunks/{filesystem-ygdna4kr.js → variant-9hwaqfsw.js} +5 -5
  98. package/dist/chunks/{filesystem-y3afyytz.js → variant-9jgd0g1z.js} +8 -8
  99. package/dist/chunks/{filesystem-m36dkgq1.js → variant-9tcgwzn8.js} +26 -26
  100. package/dist/chunks/{filesystem-a1gpj94z.js → variant-a1gpj94z.js} +1 -1
  101. package/dist/chunks/{filesystem-10w0d6yc.js → variant-a72r2k07.js} +13 -13
  102. package/dist/chunks/{filesystem-fnce5adh.js → variant-aacyrw2e.js} +25 -25
  103. package/dist/chunks/{filesystem-aaet6srn.js → variant-aaet6srn.js} +2 -2
  104. package/dist/chunks/{filesystem-4n25jbh7.js → variant-abp7q8sa.js} +5 -5
  105. package/dist/chunks/{filesystem-y6bex35g.js → variant-addxnjmp.js} +4 -4
  106. package/dist/chunks/{filesystem-69db790d.js → variant-ag3xtcd7.js} +35 -35
  107. package/dist/chunks/{filesystem-htbac61m.js → variant-aj7xgpkt.js} +9 -9
  108. package/dist/chunks/{filesystem-v9m3g1t2.js → variant-ajwerf3h.js} +8 -8
  109. package/dist/chunks/{filesystem-czy4wnbd.js → variant-atg4dcqk.js} +4 -4
  110. package/dist/chunks/{filesystem-nsj1xyps.js → variant-atm978tp.js} +15 -15
  111. package/dist/chunks/{filesystem-4260m7mp.js → variant-awte1d78.js} +27 -27
  112. package/dist/chunks/{filesystem-16efbqx1.js → variant-b53k4bdr.js} +23 -23
  113. package/dist/chunks/{filesystem-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{filesystem-fpq5n6b2.js → variant-b9dr4ekr.js} +16 -16
  115. package/dist/chunks/{filesystem-rqbby9tc.js → variant-baqpbr50.js} +9 -9
  116. package/dist/chunks/{filesystem-vdqezpb9.js → variant-bcrgek8j.js} +11 -11
  117. package/dist/chunks/{filesystem-v79100zg.js → variant-bq6v1dby.js} +84 -84
  118. package/dist/chunks/{filesystem-13bwbegs.js → variant-brp8zeym.js} +6 -6
  119. package/dist/chunks/{filesystem-x1c2mckn.js → variant-c0d2pnej.js} +24 -24
  120. package/dist/chunks/{filesystem-m8pgzgtv.js → variant-c0yg3yaa.js} +21 -21
  121. package/dist/chunks/{filesystem-03qp45f7.js → variant-c2cehf6b.js} +7 -7
  122. package/dist/chunks/{filesystem-3ykdjwsk.js → variant-c5xf5z0j.js} +6 -6
  123. package/dist/chunks/{filesystem-w5zzhgd0.js → variant-c73eachg.js} +8 -8
  124. package/dist/chunks/{filesystem-p7xtj0az.js → variant-cann05ez.js} +44 -44
  125. package/dist/chunks/{filesystem-jx72pgsy.js → variant-cjg42c8t.js} +26 -26
  126. package/dist/chunks/{filesystem-e2hjzebn.js → variant-ctmr8zqa.js} +4 -4
  127. package/dist/chunks/{filesystem-d4he2qe1.js → variant-cwa6csj7.js} +9 -9
  128. package/dist/chunks/{filesystem-bxthwjhd.js → variant-cx4dwxh6.js} +27 -27
  129. package/dist/chunks/{filesystem-zfa7ynd8.js → variant-d5fw341f.js} +20 -20
  130. package/dist/chunks/{filesystem-sx1n432n.js → variant-dfe8djrf.js} +4 -4
  131. package/dist/chunks/{filesystem-wq913sbs.js → variant-djsestcq.js} +22 -22
  132. package/dist/chunks/{filesystem-xkntkrq7.js → variant-dmqcgk4z.js} +5 -5
  133. package/dist/chunks/{filesystem-bvpw04s5.js → variant-dmsv4044.js} +18 -18
  134. package/dist/chunks/{filesystem-p4jmp3zn.js → variant-dss9tgbb.js} +20 -20
  135. package/dist/chunks/{filesystem-gnra7rc5.js → variant-e30mydyk.js} +12 -12
  136. package/dist/chunks/{filesystem-rhjbct0v.js → variant-eaj1djv9.js} +8 -8
  137. package/dist/chunks/{filesystem-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{filesystem-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{filesystem-z9917bqf.js → variant-eymke9sh.js} +2 -2
  140. package/dist/chunks/{filesystem-en65dp82.js → variant-f3sqmsb9.js} +13 -13
  141. package/dist/chunks/{filesystem-1sprwmy8.js → variant-fd4k4kgm.js} +5 -5
  142. package/dist/chunks/{filesystem-284z5c3g.js → variant-fhw597r0.js} +11 -11
  143. package/dist/chunks/{filesystem-dwq6ryhm.js → variant-fqj9nv8j.js} +8 -8
  144. package/dist/chunks/{filesystem-vjnb44yt.js → variant-fvxg17y2.js} +3 -3
  145. package/dist/chunks/{filesystem-94xx3qtf.js → variant-fw852r6x.js} +10 -10
  146. package/dist/chunks/{filesystem-0bpfe0ke.js → variant-fyqce8v0.js} +13 -13
  147. package/dist/chunks/{filesystem-wytcdbr4.js → variant-g0cknp2d.js} +10 -10
  148. package/dist/chunks/{filesystem-magykp64.js → variant-g190xswt.js} +4 -4
  149. package/dist/chunks/{filesystem-6mnjs94f.js → variant-g1r7w4ks.js} +4 -4
  150. package/dist/chunks/{filesystem-0var7w7b.js → variant-g8pm3x4z.js} +18 -18
  151. package/dist/chunks/{filesystem-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{filesystem-fs3nq2yz.js → variant-gr8khd20.js} +20 -20
  153. package/dist/chunks/{filesystem-h2b79v29.js → variant-h2b79v29.js} +2 -2
  154. package/dist/chunks/{filesystem-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{filesystem-0mbr7zrx.js → variant-hdtje8j6.js} +9 -9
  156. package/dist/chunks/{filesystem-a4ae1mqs.js → variant-hekxc47r.js} +1 -1
  157. package/dist/chunks/{filesystem-q80vxeqa.js → variant-hfa8a3rd.js} +20 -20
  158. package/dist/chunks/{filesystem-qbxnrrty.js → variant-hfgwpwpp.js} +9 -9
  159. package/dist/chunks/variant-hgd4btym.js +18 -0
  160. package/dist/chunks/{filesystem-rbvf45af.js → variant-hry7yjep.js} +19 -19
  161. package/dist/chunks/{filesystem-j56e64zr.js → variant-j56e64zr.js} +1 -1
  162. package/dist/chunks/{filesystem-q3ztap5c.js → variant-jh4mddbt.js} +18 -18
  163. package/dist/chunks/{filesystem-jm5d91qr.js → variant-jkvxnthz.js} +3 -3
  164. package/dist/chunks/{filesystem-nzks3jc8.js → variant-k3c624dm.js} +3 -3
  165. package/dist/chunks/{filesystem-ph7yx3mv.js → variant-k844m94c.js} +70 -70
  166. package/dist/chunks/{filesystem-xa3h9a9a.js → variant-k86ryq5x.js} +14 -14
  167. package/dist/chunks/{filesystem-ahvq88ye.js → variant-kpbb4v73.js} +15 -15
  168. package/dist/chunks/{filesystem-sjrg0510.js → variant-kqsbn90b.js} +48 -48
  169. package/dist/chunks/{filesystem-q55sjswm.js → variant-kyd65svd.js} +25 -25
  170. package/dist/chunks/{filesystem-18x8m27a.js → variant-m359rxbq.js} +40 -17
  171. package/dist/chunks/{filesystem-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  172. package/dist/chunks/{filesystem-c9wk9zmw.js → variant-m6pcnaq2.js} +20 -20
  173. package/dist/chunks/{filesystem-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{filesystem-zspyrcp2.js → variant-mads3xza.js} +10 -10
  175. package/dist/chunks/{filesystem-mazbtkaa.js → variant-mazbtkaa.js} +2 -2
  176. package/dist/chunks/{filesystem-3z06kyty.js → variant-mc5axvaa.js} +4 -4
  177. package/dist/chunks/{filesystem-56gdpj1q.js → variant-mfqp6xfm.js} +6 -6
  178. package/dist/chunks/{filesystem-n8gabnpz.js → variant-mkfpjzad.js} +18 -18
  179. package/dist/chunks/{filesystem-6bctz05c.js → variant-mzseknbn.js} +6 -6
  180. package/dist/chunks/{filesystem-srq8z0b0.js → variant-n8sna2wb.js} +9 -9
  181. package/dist/chunks/{filesystem-dpkg50ah.js → variant-nxm207yx.js} +4 -4
  182. package/dist/chunks/{filesystem-qqc5b8jm.js → variant-nz6s4zm9.js} +13 -13
  183. package/dist/chunks/{filesystem-3k6sfp50.js → variant-p0b4ytnr.js} +6 -6
  184. package/dist/chunks/{filesystem-1vjvsfvk.js → variant-p226k876.js} +6 -6
  185. package/dist/chunks/{filesystem-8v6pyhej.js → variant-p37cw4rj.js} +8 -8
  186. package/dist/chunks/{filesystem-502acak7.js → variant-p4zjnn1b.js} +25 -25
  187. package/dist/chunks/{filesystem-d2czbp48.js → variant-p6wxjpka.js} +4 -4
  188. package/dist/chunks/{filesystem-vgepzxbh.js → variant-pcxghkgz.js} +4 -4
  189. package/dist/chunks/{filesystem-n7vf5rt3.js → variant-pfj2krk7.js} +17 -17
  190. package/dist/chunks/{filesystem-hp3qwkn2.js → variant-pgbadr74.js} +9 -9
  191. package/dist/chunks/{filesystem-as7cf5zz.js → variant-pgsrtt9v.js} +4 -4
  192. package/dist/chunks/{filesystem-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{filesystem-pknna89w.js → variant-pknna89w.js} +1 -1
  194. package/dist/chunks/{filesystem-qb03crtp.js → variant-pmtnnnej.js} +11 -11
  195. package/dist/chunks/{filesystem-xsv69pbv.js → variant-pp48bh1f.js} +178 -178
  196. package/dist/chunks/{filesystem-qwqewt7m.js → variant-predqs4e.js} +24 -24
  197. package/dist/chunks/{filesystem-wp4j34tg.js → variant-px5nxgea.js} +7 -7
  198. package/dist/chunks/{filesystem-w92k2e0p.js → variant-py3kkmfq.js} +8 -8
  199. package/dist/chunks/{filesystem-ekrjqnnp.js → variant-pzw80991.js} +5 -5
  200. package/dist/chunks/{filesystem-q0xm7vwc.js → variant-q0xm7vwc.js} +2 -2
  201. package/dist/chunks/{filesystem-ntd8bhev.js → variant-q6gppffy.js} +22 -22
  202. package/dist/chunks/{filesystem-72373yy7.js → variant-qd6m6a6s.js} +17 -17
  203. package/dist/chunks/{filesystem-rmw2jszq.js → variant-qdp2stk8.js} +16 -16
  204. package/dist/chunks/{filesystem-k2kkzz2w.js → variant-qfb0b5c2.js} +1 -1
  205. package/dist/chunks/{filesystem-mmpp2d0a.js → variant-qkcvdzb0.js} +17 -17
  206. package/dist/chunks/{filesystem-f15hrzrf.js → variant-qkn9jtjt.js} +22 -22
  207. package/dist/chunks/{filesystem-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{filesystem-wwgj8rat.js → variant-qqtgdjgj.js} +3 -3
  209. package/dist/chunks/{filesystem-4gmk1bet.js → variant-qr0tztqq.js} +30 -30
  210. package/dist/chunks/{filesystem-qsdy395h.js → variant-qsdy395h.js} +1 -1
  211. package/dist/chunks/{filesystem-1t2yejss.js → variant-qvf13fnr.js} +11 -11
  212. package/dist/chunks/{filesystem-77bwnxcq.js → variant-qxz90s08.js} +27 -27
  213. package/dist/chunks/{filesystem-xmjkc9yk.js → variant-qy1zqqd8.js} +3 -3
  214. package/dist/chunks/{filesystem-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{filesystem-axs6pdy0.js → variant-reg6q42h.js} +5 -5
  216. package/dist/chunks/{filesystem-3mg3kbvc.js → variant-rpnewtr1.js} +25 -25
  217. package/dist/chunks/{filesystem-wecqtg5s.js → variant-scgrse2b.js} +5 -5
  218. package/dist/chunks/{filesystem-mxzx5kg9.js → variant-sf4zj9sn.js} +10 -10
  219. package/dist/chunks/{filesystem-0jtsdzd6.js → variant-shp9g25n.js} +6 -6
  220. package/dist/chunks/{filesystem-kt7s2gck.js → variant-skgznvtr.js} +12 -12
  221. package/dist/chunks/{filesystem-cze0x14q.js → variant-srjtz9mv.js} +35 -35
  222. package/dist/chunks/{filesystem-fqcgpcra.js → variant-svb96c7g.js} +9 -9
  223. package/dist/chunks/{filesystem-ayxfxvv4.js → variant-t2kw1cd0.js} +11 -11
  224. package/dist/chunks/{filesystem-ze807gy0.js → variant-t62k6cwy.js} +17 -17
  225. package/dist/chunks/{filesystem-qvb3nf84.js → variant-t89fqycx.js} +8 -8
  226. package/dist/chunks/{filesystem-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{filesystem-89znhe33.js → variant-tcezcvh9.js} +4 -4
  228. package/dist/chunks/{filesystem-eyf4e8bx.js → variant-tdjsa322.js} +22 -22
  229. package/dist/chunks/{filesystem-9w4ppqge.js → variant-tdpndm1c.js} +5 -5
  230. package/dist/chunks/{filesystem-tdstcens.js → variant-tdstcens.js} +1 -1
  231. package/dist/chunks/{filesystem-926kcrbn.js → variant-tfwvc9sw.js} +5 -5
  232. package/dist/chunks/{filesystem-8fswdrtm.js → variant-tjx3ap9d.js} +37 -37
  233. package/dist/chunks/{filesystem-v2a7x3en.js → variant-tk612nqt.js} +5 -5
  234. package/dist/chunks/{filesystem-570xzm8z.js → variant-tkx9gh3c.js} +14 -14
  235. package/dist/chunks/{filesystem-wz6s39r0.js → variant-trf9v1m0.js} +10 -10
  236. package/dist/chunks/{filesystem-tvtrv512.js → variant-tvtrv512.js} +1 -1
  237. package/dist/chunks/{filesystem-csehsh8k.js → variant-v54kchrq.js} +11 -11
  238. package/dist/chunks/{filesystem-sx3bpmv2.js → variant-v86rjf98.js} +9 -9
  239. package/dist/chunks/{filesystem-y1g4qk85.js → variant-vcgjavzm.js} +12 -12
  240. package/dist/chunks/{filesystem-sza2hw6f.js → variant-vd86y6dk.js} +17 -17
  241. package/dist/chunks/{filesystem-veqvce7d.js → variant-veqvce7d.js} +1 -1
  242. package/dist/chunks/{filesystem-mgm2328f.js → variant-vj7qk97t.js} +10 -10
  243. package/dist/chunks/{filesystem-fybjktbt.js → variant-vj9qpvrk.js} +3 -3
  244. package/dist/chunks/{filesystem-2yn03772.js → variant-vskqw7qy.js} +32 -32
  245. package/dist/chunks/{filesystem-eqhsfx8j.js → variant-vtfaj6fm.js} +5 -5
  246. package/dist/chunks/{filesystem-s5met55r.js → variant-vxby77fw.js} +8 -8
  247. package/dist/chunks/{filesystem-dxwm750g.js → variant-vxmbdp5g.js} +2 -2
  248. package/dist/chunks/{filesystem-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{filesystem-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/variant-w191f00y.js +26 -0
  251. package/dist/chunks/{filesystem-xdrba4jw.js → variant-w3jg838k.js} +9 -9
  252. package/dist/chunks/{filesystem-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{filesystem-wd87259q.js → variant-wd87259q.js} +1 -1
  254. package/dist/chunks/{filesystem-1g7rajnm.js → variant-weg9ntdf.js} +18 -8
  255. package/dist/chunks/{filesystem-6yz0wx8n.js → variant-wh6zw745.js} +5 -5
  256. package/dist/chunks/{filesystem-9ty99bx7.js → variant-wtas89nq.js} +16 -16
  257. package/dist/chunks/{filesystem-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{filesystem-j1qc8r1v.js → variant-x1fg9w2t.js} +20 -20
  259. package/dist/chunks/{filesystem-km7yg6gp.js → variant-x7kbtnka.js} +4 -4
  260. package/dist/chunks/{filesystem-gxc58qt5.js → variant-x8a719yx.js} +13 -13
  261. package/dist/chunks/{filesystem-6j8v6d3j.js → variant-x9m4a9xf.js} +35 -35
  262. package/dist/chunks/{filesystem-3r9vx1gf.js → variant-xeav5w26.js} +11 -11
  263. package/dist/chunks/{filesystem-57b9ws8p.js → variant-xfkkasph.js} +7 -7
  264. package/dist/chunks/{filesystem-jaf6ynan.js → variant-xjza7kx6.js} +8 -8
  265. package/dist/chunks/{filesystem-3y2v64q1.js → variant-xrsga2b8.js} +30 -30
  266. package/dist/chunks/{filesystem-2p2n3666.js → variant-xs9h3ep0.js} +8 -8
  267. package/dist/chunks/{filesystem-r1ha4sdk.js → variant-xzfnxand.js} +24 -24
  268. package/dist/chunks/{filesystem-ksmsdbk6.js → variant-xzrre6xp.js} +4 -4
  269. package/dist/chunks/{filesystem-a6cwp1se.js → variant-y0z8gwh2.js} +10 -10
  270. package/dist/chunks/{filesystem-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{filesystem-wg48xxpp.js → variant-y1jyntcw.js} +45 -45
  272. package/dist/chunks/{filesystem-6pms16j6.js → variant-y6kgs8hj.js} +8 -8
  273. package/dist/chunks/{filesystem-kkp8zx71.js → variant-y6mhz57t.js} +4 -4
  274. package/dist/chunks/{filesystem-rejyrjqj.js → variant-ydr4sfaa.js} +8 -8
  275. package/dist/chunks/{filesystem-517w8nej.js → variant-yf6pnrx7.js} +34 -34
  276. package/dist/chunks/{filesystem-rrpq0de9.js → variant-ynpe6tcd.js} +5 -5
  277. package/dist/chunks/{filesystem-rcf4x2xx.js → variant-ypqp8gqh.js} +23 -23
  278. package/dist/chunks/{filesystem-k5n7mtkn.js → variant-yqwyk71w.js} +11 -11
  279. package/dist/chunks/{filesystem-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{filesystem-gmmdfr2g.js → variant-yt6cqe55.js} +8 -8
  281. package/dist/chunks/{filesystem-xvzn4eft.js → variant-yy9wtzs9.js} +25 -25
  282. package/dist/chunks/{filesystem-gedjwras.js → variant-z01wj9c4.js} +14 -14
  283. package/dist/chunks/{filesystem-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{filesystem-xv03hvvc.js → variant-z2zv94aj.js} +31 -31
  285. package/dist/chunks/{filesystem-ayq4cb10.js → variant-z4ym9awj.js} +41 -41
  286. package/dist/chunks/{filesystem-5vxg51km.js → variant-zc3c5803.js} +39 -39
  287. package/dist/chunks/{filesystem-dxp61821.js → variant-zfyd4z1t.js} +11 -11
  288. package/dist/chunks/{filesystem-v12tw1kt.js → variant-zkr7fetz.js} +18 -18
  289. package/dist/chunks/{filesystem-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{filesystem-wz13sdny.js → variant-zw6qz0tx.js} +22 -22
  291. package/dist/chunks/{filesystem-dpk2q23m.js → variant-zxgz6j12.js} +10 -10
  292. package/dist/chunks/{filesystem-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +11 -11
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +123 -123
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +228 -228
  426. package/dist/filesystem/protected.js +3 -3
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +106 -106
  431. package/dist/form.js +82 -82
  432. package/dist/formatter/builtins.js +2 -2
  433. package/dist/formatter.js +89 -89
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +363 -363
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +5 -5
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +85 -85
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +360 -360
  472. package/dist/location.js +81 -81
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +129 -129
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +99 -99
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +100 -100
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +115 -115
  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 +84 -84
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +102 -102
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +219 -219
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +335 -335
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +124 -124
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +93 -93
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  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 +95 -95
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +78 -78
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +95 -95
  528. package/dist/plugin/provider/opencode.js +96 -96
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +79 -79
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +163 -163
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +354 -354
  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 +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +226 -226
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +80 -80
  564. package/dist/provider.js +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +89 -89
  568. package/dist/reference/instructions.js +87 -87
  569. package/dist/reference.js +91 -91
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +133 -133
  579. package/dist/session/context.js +153 -153
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +222 -222
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +154 -154
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +90 -90
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +77 -77
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -120
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -232
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +113 -113
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +170 -170
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +211 -211
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +157 -157
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +215 -215
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +217 -217
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +15 -15
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +112 -112
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +126 -126
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +117 -117
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +123 -123
  648. package/dist/tool/plugin/shell.js +216 -216
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +220 -220
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/types/vcs.d.ts +6 -0
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/variant.js +93 -93
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +91 -89
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +7 -7
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +78 -78
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/filesystem-33q1jrjr.js +0 -507
  700. package/dist/chunks/filesystem-619r8v3y.js +0 -18
  701. package/dist/chunks/filesystem-arh3zgt8.js +0 -26
  702. package/dist/chunks/filesystem-f7z0fqgw.js +0 -252
  703. /package/dist/chunks/{filesystem-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{filesystem-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{filesystem-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{filesystem-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{filesystem-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{filesystem-24dcb14g.js → variant-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{filesystem-2710q6r3.js → variant-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{filesystem-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{filesystem-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{filesystem-34c7v6d4.js → variant-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{filesystem-359p4xyc.js → variant-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{filesystem-3asan66x.js → variant-3asan66x.js} +0 -0
  715. /package/dist/chunks/{filesystem-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{filesystem-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{filesystem-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{filesystem-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{filesystem-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{filesystem-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{filesystem-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{filesystem-53557ph1.js → variant-53557ph1.js} +0 -0
  723. /package/dist/chunks/{filesystem-550bvhaj.js → variant-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{filesystem-5qd3pb7m.js → variant-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{filesystem-6prwharc.js → variant-6prwharc.js} +0 -0
  726. /package/dist/chunks/{filesystem-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{filesystem-7m9af43g.js → variant-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{filesystem-822emrt2.js → variant-822emrt2.js} +0 -0
  729. /package/dist/chunks/{filesystem-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{filesystem-8n3pysct.js → variant-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{filesystem-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{filesystem-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{filesystem-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{filesystem-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{filesystem-af5trqkr.js → variant-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{filesystem-afrmfg78.js → variant-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{filesystem-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{filesystem-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{filesystem-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{filesystem-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{filesystem-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{filesystem-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{filesystem-d9fn303g.js → variant-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{filesystem-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{filesystem-dajrwvna.js → variant-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{filesystem-dap0rakb.js → variant-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{filesystem-df08tz66.js → variant-df08tz66.js} +0 -0
  748. /package/dist/chunks/{filesystem-dy18nga0.js → variant-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{filesystem-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{filesystem-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{filesystem-ec1grn59.js → variant-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{filesystem-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{filesystem-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{filesystem-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{filesystem-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{filesystem-faypxj3z.js → variant-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{filesystem-fd410y7t.js → variant-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{filesystem-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{filesystem-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{filesystem-g86h250q.js → variant-g86h250q.js} +0 -0
  761. /package/dist/chunks/{filesystem-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{filesystem-gftt206x.js → variant-gftt206x.js} +0 -0
  763. /package/dist/chunks/{filesystem-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{filesystem-hk9envan.js → variant-hk9envan.js} +0 -0
  765. /package/dist/chunks/{filesystem-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{filesystem-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{filesystem-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{filesystem-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{filesystem-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{filesystem-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{filesystem-mp448xyj.js → variant-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{filesystem-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{filesystem-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{filesystem-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{filesystem-njntx4h6.js → variant-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{filesystem-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{filesystem-q74kybfr.js → variant-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{filesystem-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{filesystem-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{filesystem-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{filesystem-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{filesystem-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{filesystem-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{filesystem-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{filesystem-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{filesystem-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{filesystem-w803qqfp.js → variant-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{filesystem-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{filesystem-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{filesystem-wtztk69x.js → variant-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{filesystem-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{filesystem-x61499pn.js → variant-x61499pn.js} +0 -0
  793. /package/dist/chunks/{filesystem-y44na4kk.js → variant-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{filesystem-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{filesystem-y8f7s663.js → variant-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{filesystem-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{filesystem-ym463w8f.js → variant-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{filesystem-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
  799. /package/dist/chunks/{filesystem-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./variant-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service42
7
- } from "./filesystem-ayq4cb10.js";
6
+ Service52
7
+ } from "./variant-z4ym9awj.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./filesystem-2a5m3afh.js";
10
+ } from "./variant-2a5m3afh.js";
11
11
  import {
12
- Service53
13
- } from "./filesystem-n39mkyex.js";
12
+ Service77
13
+ } from "./variant-8arhm12g.js";
14
14
  import {
15
- Service74
16
- } from "./filesystem-sza2hw6f.js";
15
+ Service35
16
+ } from "./variant-vd86y6dk.js";
17
17
  import {
18
- Service61
19
- } from "./filesystem-ttjpp0qf.js";
18
+ Service71
19
+ } from "./variant-9gn2e1q5.js";
20
20
  import {
21
- Service21,
21
+ Service66,
22
22
  resolvePath2
23
- } from "./filesystem-5t1mqahn.js";
23
+ } from "./variant-1qrvjt31.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./filesystem-vzs5sf6e.js";
29
+ } from "./variant-vzs5sf6e.js";
30
30
  import {
31
- Service44,
31
+ Service51,
32
32
  name15
33
- } from "./filesystem-skzznzbs.js";
33
+ } from "./variant-6d98qxkn.js";
34
34
  import {
35
- NotFoundError6,
36
- Service40
37
- } from "./filesystem-fzg55a4d.js";
35
+ NotFoundError7,
36
+ Service49
37
+ } from "./variant-17bspyb1.js";
38
38
  import {
39
- Service24
40
- } from "./filesystem-v79100zg.js";
39
+ Service15
40
+ } from "./variant-bq6v1dby.js";
41
41
  import {
42
42
  scan2
43
- } from "./filesystem-t8qw8ht6.js";
43
+ } from "./variant-9a5pyt9z.js";
44
44
  import {
45
45
  __export
46
- } from "./filesystem-9rqn6x4v.js";
46
+ } from "./variant-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input12,
53
- Plugin: () => Plugin32,
52
+ Input: () => Input4,
53
+ Plugin: () => Plugin39,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name12
55
+ name: () => name4
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name12 = "shell";
59
+ var name4 = "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 Input12 = Schema.Struct({
73
+ var Input4 = 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."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin32 = {
119
+ var Plugin39 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service24;
123
- const jobs = yield* Service74;
122
+ const sessions = yield* Service15;
123
+ const jobs = yield* Service35;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service53;
126
- const access = yield* Service21;
127
- const shell = yield* Service40;
128
- const shellSelect = yield* Service44;
125
+ const environment = yield* Service77;
126
+ const access = yield* Service66;
127
+ const shell = yield* Service49;
128
+ const shellSelect = yield* Service51;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service61;
131
- const config = yield* Service42;
130
+ const permission = yield* Service71;
131
+ const config = yield* Service52;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin32 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name12,
150
+ action: name4,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin32 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name12,
187
+ name: name4,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input12,
190
+ input: Input4,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -210,7 +210,7 @@ var Plugin32 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError6({ id: info.id });
213
+ return yield* new NotFoundError7({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
224
224
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
225
225
  const job = yield* jobs.start({
226
226
  id: info.id,
227
- type: name12,
227
+ type: name4,
228
228
  title: info.command,
229
229
  metadata: { sessionID: context.sessionID, shellID: info.id },
230
230
  recovery: {
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
254
254
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
255
255
  })).pipe(Effect.orDie);
256
256
  const hook = (event) => Effect.gen(function* () {
257
- const tool = event.tools[name12];
257
+ const tool = event.tools[name4];
258
258
  if (!tool)
259
259
  return;
260
260
  tool.description = description(name15(yield* compatibleShell));
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
265
265
  })
266
266
  };
267
267
 
268
- export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin32, exports_shell2 };
268
+ export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin39, exports_shell2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./filesystem-dpkg50ah.js";
3
+ } from "./variant-nxm207yx.js";
4
4
  import {
5
- Service53,
6
- node57
7
- } from "./filesystem-n39mkyex.js";
5
+ Service77,
6
+ node80
7
+ } from "./variant-8arhm12g.js";
8
8
  import {
9
9
  __export
10
- } from "./filesystem-9rqn6x4v.js";
10
+ } from "./variant-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service20,
17
- node: () => node23,
16
+ Service: () => Service76,
17
+ node: () => node79,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service20 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service76 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service20, Effect.gen(function* () {
38
- const environment = yield* Service53;
37
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
38
+ const environment = yield* Service77;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service20.of({ withLock, write, writeTextPreservingBom });
59
+ return Service76.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node23 = makeLocationNode({ service: Service20, layer, deps: [node57] });
61
+ var node79 = makeLocationNode({ service: Service76, layer, deps: [node80] });
62
62
 
63
- export { Service20, readText2, syncTextBom2, node23, exports_file_mutation };
63
+ export { Service76, readText2, syncTextBom2, node79, exports_file_mutation };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./filesystem-2a5m3afh.js";
5
+ } from "./variant-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./filesystem-9rqn6x4v.js";
8
+ } from "./variant-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./filesystem-qnc92qwc.js";
3
+ } from "./variant-qnc92qwc.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./filesystem-h2b79v29.js";
6
+ } from "./variant-h2b79v29.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./filesystem-gftt206x.js";
3
+ } from "./variant-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./filesystem-vjnb44yt.js";
6
+ } from "./variant-fvxg17y2.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./filesystem-6bctz05c.js";
9
+ } from "./variant-mzseknbn.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./filesystem-rhjbct0v.js";
13
+ } from "./variant-eaj1djv9.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./filesystem-9e5bzkjp.js";
16
+ } from "./variant-9e5bzkjp.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./filesystem-as7cf5zz.js";
20
+ } from "./variant-pgsrtt9v.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./filesystem-d2czbp48.js";
25
+ } from "./variant-p6wxjpka.js";
26
26
  import {
27
27
  __export
28
- } from "./filesystem-9rqn6x4v.js";
28
+ } from "./variant-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -2,49 +2,49 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./filesystem-z5v4ffb3.js";
5
+ } from "./variant-z5v4ffb3.js";
6
6
  import {
7
7
  Service80,
8
8
  node84
9
- } from "./filesystem-9b186pma.js";
9
+ } from "./variant-7ph72h93.js";
10
10
  import {
11
- Service51,
12
- node55
13
- } from "./filesystem-bxthwjhd.js";
11
+ Service38,
12
+ node40
13
+ } from "./variant-cx4dwxh6.js";
14
14
  import {
15
15
  __export
16
- } from "./filesystem-9rqn6x4v.js";
16
+ } from "./variant-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
- Entry: () => Entry4,
27
- Event: () => Event11,
26
+ Entry: () => Entry2,
27
+ Event: () => Event6,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput3,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError7,
34
+ NotFoundError: () => NotFoundError5,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service50,
36
+ Service: () => Service37,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node54
40
+ node: () => node39
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
44
44
  import { Context, Effect, Layer, Schema } from "effect";
45
45
  import { FSUtil } from "@opencode/util/fs-util";
46
46
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
47
- import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
47
+ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
48
48
  var ReadInput2 = Schema.Struct({
49
49
  path: RelativePath2
50
50
  });
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -75,7 +75,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
75
75
  return `Access denied to directory: ${this.directory}`;
76
76
  }
77
77
  }
78
- var Content3 = Schema.Struct({
78
+ var Content2 = Schema.Struct({
79
79
  uri: Schema.String,
80
80
  name: Schema.String.pipe(Schema.optional),
81
81
  content: Schema.String,
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event11 = FileSystem.Event;
108
+ var Event6 = FileSystem.Event;
109
109
 
110
- class Service50 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service37 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service50, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service37, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
114
  const location = yield* Service80;
115
- const search = yield* Service51;
115
+ const search = yield* Service38;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service50, Effect.gen(function* () {
129
129
  return yield* Effect.die(new Error("Path escapes the location"));
130
130
  return { absolute, real, directory: location.directory };
131
131
  });
132
- return Service50.of({
132
+ return Service37.of({
133
133
  find: search.find,
134
134
  read: Effect.fn("FileSystem.read")(function* (input) {
135
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
136
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
135
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
136
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
137
137
  if (info.type !== "File")
138
138
  return yield* Effect.die(new Error("Path is not a file"));
139
139
  return {
140
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error))),
140
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error))),
141
141
  mime: FSUtil.mimeType(target.real)
142
142
  };
143
143
  }),
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service50, Effect.gen(function* () {
166
166
  })
167
167
  });
168
168
  }));
169
- var node54 = makeLocationNode({
170
- service: Service50,
169
+ var node39 = makeLocationNode({
170
+ service: Service37,
171
171
  layer: baseLayer,
172
- deps: [FSUtil.node, node84, node55]
172
+ deps: [FSUtil.node, node84, node40]
173
173
  });
174
174
 
175
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError7, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event11, Service50, node54, exports_filesystem, Entry4, Match2, Submatch2 };
175
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service37, node39, exports_filesystem, Entry2, Match2, Submatch2 };