@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,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./variant-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2,
6
6
  node86
7
- } from "./filesystem-rrpq0de9.js";
7
+ } from "./variant-ynpe6tcd.js";
8
8
  import {
9
9
  Slug2
10
- } from "./filesystem-gebd4c9n.js";
10
+ } from "./variant-gebd4c9n.js";
11
11
  import {
12
12
  Service84,
13
13
  node88
14
- } from "./filesystem-fybjktbt.js";
14
+ } from "./variant-vj9qpvrk.js";
15
15
  import {
16
16
  Service83,
17
17
  node87
18
- } from "./filesystem-km7yg6gp.js";
18
+ } from "./variant-x7kbtnka.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./filesystem-h2b79v29.js";
21
+ } from "./variant-h2b79v29.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./filesystem-1dvck2a7.js";
24
+ } from "./variant-1dvck2a7.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./filesystem-2p2n3666.js";
28
+ } from "./variant-xs9h3ep0.js";
29
29
  import {
30
30
  Ref4
31
- } from "./filesystem-9b186pma.js";
31
+ } from "./variant-7ph72h93.js";
32
32
  import {
33
- Service79,
34
- node83
35
- } from "./filesystem-htbac61m.js";
33
+ Service68,
34
+ node71
35
+ } from "./variant-aj7xgpkt.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./filesystem-0vbcp93d.js";
39
+ } from "./variant-0vbcp93d.js";
40
40
  import {
41
- make22
42
- } from "./filesystem-3ykdjwsk.js";
41
+ make19
42
+ } from "./variant-c5xf5z0j.js";
43
43
  import {
44
- Service78
45
- } from "./filesystem-bzn1wj9e.js";
44
+ Service41
45
+ } from "./variant-367xe4pb.js";
46
46
  import {
47
47
  __export
48
- } from "./filesystem-9rqn6x4v.js";
48
+ } from "./variant-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
53
53
  CreateInput: () => CreateInput3,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event20,
57
- Info: () => Info31,
56
+ Event: () => Event7,
57
+ Info: () => Info8,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service77,
63
+ Service: () => Service40,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node81
68
+ node: () => node42
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
80
  var CreateInput3 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
- var Info31 = Worktree.Info;
82
+ var Info8 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event20 = Worktree.Event;
97
+ var Event7 = Worktree.Event;
98
98
 
99
- class Service77 extends Context.Service()("@opencode/Worktree") {
99
+ class Service40 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service77, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service84;
104
104
  const db = database.db;
105
105
  const bus = yield* Service83;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service79;
108
- const gitStrategy = yield* make22;
107
+ const locations = yield* Service68;
108
+ const gitStrategy = yield* make19;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service78).get();
123
+ return Context.get(context, Service41).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event20.Updated, { projectID });
127
+ yield* bus.publish(Event7.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service77.of({
254
+ return Service40.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node81 = Node.makeGlobalNode({
265
- service: Service77,
264
+ var node42 = Node.makeGlobalNode({
265
+ service: Service40,
266
266
  layer,
267
- deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node83]
267
+ deps: [FSUtil.node, node86, node87, node88, AppProcess.node, node71]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info31, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event20, Service77, node81, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput3, RemoveInput2, Info8, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service40, node42, exports_worktree2, OperationError2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured9,
11
- layer: () => layer20,
12
- make: () => make16,
13
- node: () => node51,
10
+ configured: () => configured10,
11
+ layer: () => layer24,
12
+ make: () => make20,
13
+ node: () => node61,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make16()
19
+ defaultValue: () => make20()
20
20
  });
21
- function make16(input = {}) {
21
+ function make20(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make16(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer20 = (input) => Layer.succeed(Metadata2, make16(input));
32
- var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
- var node51 = configured9();
31
+ var layer24 = (input) => Layer.succeed(Metadata2, make20(input));
32
+ var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node61 = configured10();
34
34
 
35
- export { Metadata2, make16, useragent2, layer20, configured9, node51, exports_app };
35
+ export { Metadata2, make20, useragent2, layer24, configured10, node61, exports_app };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make14,
10
- render: () => render2
9
+ make: () => make15,
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make14(tools) {
33
- return render2(system_default, tools);
32
+ function make15(tools) {
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render2, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  latest2,
3
- Service42
4
- } from "./filesystem-ayq4cb10.js";
3
+ Service52
4
+ } from "./variant-z4ym9awj.js";
5
5
  import {
6
- Service46
7
- } from "./filesystem-gnra7rc5.js";
6
+ Service65
7
+ } from "./variant-e30mydyk.js";
8
8
  import {
9
9
  observe2
10
- } from "./filesystem-qsdy395h.js";
10
+ } from "./variant-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./filesystem-9rqn6x4v.js";
13
+ } from "./variant-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
@@ -23,8 +23,8 @@ import { Effect } from "effect";
23
23
  var Plugin19 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service42;
27
- const output = yield* Service46;
26
+ const config = yield* Service52;
27
+ const output = yield* Service65;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service80
3
- } from "./filesystem-9b186pma.js";
3
+ } from "./variant-7ph72h93.js";
4
4
  import {
5
- Service53
6
- } from "./filesystem-n39mkyex.js";
5
+ Service77
6
+ } from "./variant-8arhm12g.js";
7
7
  import {
8
- Service20,
8
+ Service76,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./filesystem-2b2kdvct.js";
11
+ } from "./variant-1d10jwk2.js";
12
12
  import {
13
- Service14
14
- } from "./filesystem-gedjwras.js";
13
+ Service55
14
+ } from "./variant-z01wj9c4.js";
15
15
  import {
16
- Service61
17
- } from "./filesystem-ttjpp0qf.js";
16
+ Service71
17
+ } from "./variant-9gn2e1q5.js";
18
18
  import {
19
- Service21,
19
+ Service66,
20
20
  resolvePath2
21
- } from "./filesystem-5t1mqahn.js";
21
+ } from "./variant-1qrvjt31.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./filesystem-6prwharc.js";
24
+ } from "./variant-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./filesystem-9rqn6x4v.js";
27
+ } from "./variant-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input7,
34
- Output: () => Output6,
35
- Plugin: () => Plugin27,
36
- name: () => name7
33
+ Input: () => Input5,
34
+ Output: () => Output4,
35
+ Plugin: () => Plugin40,
36
+ name: () => name5
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name7 = "edit";
43
- var Input7 = Schema.Struct({
42
+ var name5 = "edit";
43
+ var Input5 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input7 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output6 = Schema.Struct({
53
+ var Output4 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin27 = {
106
+ var Plugin40 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service21;
110
- const fileMutation = yield* Service20;
111
- const environment = yield* Service53;
112
- const formatter = yield* Service14;
109
+ const access = yield* Service66;
110
+ const fileMutation = yield* Service76;
111
+ const environment = yield* Service77;
112
+ const formatter = yield* Service55;
113
113
  const location = yield* Service80;
114
- const permission = yield* Service61;
114
+ const permission = yield* Service71;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name7,
116
+ name: name5,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input7,
120
- output: Output6,
119
+ input: Input5,
120
+ output: Output4,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin27 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name7, Input7, Output6, Plugin27, exports_edit };
197
+ export { name5, Input5, Output4, Plugin40, exports_edit };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./variant-z5v4ffb3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./filesystem-fybjktbt.js";
7
+ } from "./variant-vj9qpvrk.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./filesystem-km7yg6gp.js";
11
+ } from "./variant-x7kbtnka.js";
12
12
  import {
13
13
  Service82,
14
14
  node86
15
- } from "./filesystem-rrpq0de9.js";
15
+ } from "./variant-ynpe6tcd.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
@@ -20,17 +20,17 @@ import {
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./filesystem-3v5tjer0.js";
23
+ } from "./variant-3v5tjer0.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./filesystem-h2b79v29.js";
27
+ } from "./variant-h2b79v29.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./filesystem-1dvck2a7.js";
30
+ } from "./variant-1dvck2a7.js";
31
31
  import {
32
32
  __export
33
- } from "./filesystem-9rqn6x4v.js";
33
+ } from "./variant-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./filesystem-3w5fmr99.js";
7
+ } from "./variant-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./filesystem-nzks3jc8.js";
11
+ } from "./variant-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./filesystem-rdw6cm16.js";
14
+ } from "./variant-rdw6cm16.js";
15
15
  import {
16
- Service49,
17
- node53
18
- } from "./filesystem-xdrba4jw.js";
16
+ Service44,
17
+ node46
18
+ } from "./variant-w3jg838k.js";
19
19
  import {
20
- Service66,
21
- node70
22
- } from "./filesystem-s5met55r.js";
20
+ Service75,
21
+ node78
22
+ } from "./variant-vxby77fw.js";
23
23
  import {
24
24
  match2
25
- } from "./filesystem-y1fvbwt7.js";
25
+ } from "./variant-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./filesystem-9rqn6x4v.js";
28
+ } from "./variant-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content2,
34
+ Content: () => Content3,
35
35
  Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service48,
38
+ Service: () => Service43,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node52
41
+ node: () => node45
42
42
  });
43
- import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service48 extends Context.Service()("@opencode/Tool") {
54
+ class Service43 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service48, Effect.gen(function* () {
57
- const hooks = yield* Service66;
58
- const image = yield* Service49;
56
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
57
+ const hooks = yield* Service75;
58
+ const image = yield* Service44;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service48.of({
187
+ return Service43.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node52 = makeLocationNode({
277
- service: Service48,
276
+ var node45 = makeLocationNode({
277
+ service: Service43,
278
278
  layer,
279
- deps: [node70, node53]
279
+ deps: [node78, node46]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service48, node52, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service43, node45, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./filesystem-0paq2nw3.js";
4
+ } from "./variant-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./filesystem-3mg3kbvc.js";
7
+ } from "./variant-rpnewtr1.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./filesystem-fnce5adh.js";
11
+ } from "./variant-aacyrw2e.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./variant-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID11,
2
+ ID6,
3
3
  Family2
4
- } from "./filesystem-fnce5adh.js";
4
+ } from "./variant-aacyrw2e.js";
5
5
  import {
6
- Service42
7
- } from "./filesystem-ayq4cb10.js";
6
+ Service52
7
+ } from "./variant-z4ym9awj.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./filesystem-99pzt4jy.js";
10
+ } from "./variant-49d935aw.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make10(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service42;
53
+ const config = yield* Service52;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make10(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  providers.models.update(providerID, item.model, (model) => {
80
- model.modelID = ID11.make(item.model);
80
+ model.modelID = ID6.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make10(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make10();
154
+ var OllamaPlugin2 = make5();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make10, OllamaPlugin2 };
173
+ export { make5, OllamaPlugin2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};