@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,25 +1,25 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./variant-z5v4ffb3.js";
4
4
  import {
5
5
  Service80
6
- } from "./filesystem-9b186pma.js";
6
+ } from "./variant-7ph72h93.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./variant-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names3
16
+ names: () => names4
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names3 = ["opencode.json", "opencode.jsonc"];
22
+ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names3, discover3, exports_discovery2 };
59
+ export { names4, discover3, exports_discovery2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./filesystem-km7yg6gp.js";
4
+ } from "./variant-x7kbtnka.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./filesystem-z5v4ffb3.js";
8
+ } from "./variant-z5v4ffb3.js";
9
9
  import {
10
10
  Ref4,
11
11
  Service80,
12
12
  node84
13
- } from "./filesystem-9b186pma.js";
13
+ } from "./variant-7ph72h93.js";
14
14
  import {
15
15
  __export
16
- } from "./filesystem-9rqn6x4v.js";
16
+ } from "./variant-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service23,
22
+ Service: () => Service69,
23
23
  define: () => define2,
24
- node: () => node26
24
+ node: () => node72
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service23 extends Context.Service()("@opencode/Rpc") {
30
+ class Service69 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service23, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
43
43
  const bus = yield* Service83;
44
44
  const location = yield* Service80;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
123
123
  }
124
124
  };
125
125
  };
126
- return Service23.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service69.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node26 = makeLocationNode({ service: Service23, layer, deps: [node87, node84] });
128
+ var node72 = makeLocationNode({ service: Service69, layer, deps: [node87, node84] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service23, node26, exports_rpc, define2 };
213
+ export { Service69, node72, exports_rpc, define2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service84
3
- } from "./filesystem-fybjktbt.js";
3
+ } from "./variant-vj9qpvrk.js";
4
4
  import {
5
5
  Service83
6
- } from "./filesystem-km7yg6gp.js";
6
+ } from "./variant-x7kbtnka.js";
7
7
  import {
8
- Service59
9
- } from "./filesystem-fpq9acqp.js";
8
+ Service33
9
+ } from "./variant-2myva995.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./filesystem-z5v4ffb3.js";
12
+ } from "./variant-z5v4ffb3.js";
13
13
  import {
14
- ID5,
15
- Service37
16
- } from "./filesystem-nqdd843g.js";
14
+ ID16,
15
+ Service79
16
+ } from "./variant-6nd6aznx.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./filesystem-ec1grn59.js";
19
+ } from "./variant-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./filesystem-gftt206x.js";
22
+ } from "./variant-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./filesystem-6bctz05c.js";
25
+ } from "./variant-mzseknbn.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./filesystem-9e5bzkjp.js";
28
+ } from "./variant-9e5bzkjp.js";
29
29
  import {
30
30
  __export
31
- } from "./filesystem-9rqn6x4v.js";
31
+ } from "./variant-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -41,12 +41,12 @@ __export(exports_revert, {
41
41
  import { and, asc, eq, gt } from "drizzle-orm";
42
42
  import { Effect, Schema } from "effect";
43
43
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
44
- const instances = yield* Service59;
44
+ const instances = yield* Service33;
45
45
  const database = yield* Service84;
46
46
  const bus = yield* Service83;
47
47
  return yield* Effect.gen(function* () {
48
- const snapshot = yield* Service37;
49
- const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
48
+ const snapshot = yield* Service79;
49
+ const original = input.session.revert?.snapshot ? ID16.make(input.session.revert.snapshot) : yield* snapshot.capture();
50
50
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
51
51
  const restore = new Map;
52
52
  if (original) {
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
73
73
  }).pipe(instances.provide(input.session));
74
74
  });
75
75
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
76
- const instances = yield* Service59;
76
+ const instances = yield* Service33;
77
77
  const bus = yield* Service83;
78
78
  yield* Effect.gen(function* () {
79
- const snapshot = yield* Service37;
79
+ const snapshot = yield* Service79;
80
80
  if (!session.revert)
81
81
  return;
82
- const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
82
+ const original = session.revert.snapshot ? ID16.make(session.revert.snapshot) : undefined;
83
83
  if (original)
84
84
  yield* snapshot.restore({
85
85
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
110
110
  continue;
111
111
  for (const file of message.snapshot.files ?? [])
112
112
  if (!files.has(file))
113
- files.set(file, ID5.make(message.snapshot.start));
113
+ files.set(file, ID16.make(message.snapshot.start));
114
114
  }
115
115
  return files;
116
116
  });
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-3r9vx1gf.js";
3
+ } from "./variant-xeav5w26.js";
4
4
  import {
5
5
  OAuth3,
6
- Service70
7
- } from "./filesystem-wq913sbs.js";
6
+ Service64
7
+ } from "./variant-djsestcq.js";
8
8
  import {
9
- ID13,
9
+ ID8,
10
10
  MethodID2
11
- } from "./filesystem-ey93rq2c.js";
11
+ } from "./variant-8vtqv0ab.js";
12
12
  import {
13
- ID12,
13
+ ID7,
14
14
  mergeOverlay2
15
- } from "./filesystem-3mg3kbvc.js";
15
+ } from "./variant-rpnewtr1.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID12.make("xai");
27
+ var providerID = ID7.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID13.make("xai"),
47
+ integrationID: ID8.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service70;
73
- yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
72
+ const credentials = yield* Service64;
73
+ yield* Effect.forEach(yield* credentials.list(ID8.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./filesystem-km7yg6gp.js";
4
+ } from "./variant-x7kbtnka.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./filesystem-9b186pma.js";
8
+ } from "./variant-7ph72h93.js";
9
9
  import {
10
- Service53,
11
- node57
12
- } from "./filesystem-n39mkyex.js";
10
+ Service77,
11
+ node80
12
+ } from "./variant-8arhm12g.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./filesystem-gd4qta3r.js";
15
+ } from "./variant-gd4qta3r.js";
16
16
  import {
17
- Service44,
17
+ Service51,
18
18
  args2,
19
- node47
20
- } from "./filesystem-skzznzbs.js";
19
+ node53
20
+ } from "./variant-6d98qxkn.js";
21
21
  import {
22
- Service66,
23
- node70
24
- } from "./filesystem-s5met55r.js";
22
+ Service75,
23
+ node78
24
+ } from "./variant-vxby77fw.js";
25
25
  import {
26
- Service41,
27
- node44
28
- } from "./filesystem-qvb3nf84.js";
26
+ Service50,
27
+ node52
28
+ } from "./variant-t89fqycx.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./filesystem-vjnb44yt.js";
31
+ } from "./variant-fvxg17y2.js";
32
32
  import {
33
33
  latest2,
34
- Service42,
35
- node45
36
- } from "./filesystem-ayq4cb10.js";
34
+ Service52,
35
+ node54
36
+ } from "./variant-z4ym9awj.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./filesystem-gnra7rc5.js";
40
+ } from "./variant-e30mydyk.js";
41
41
  import {
42
42
  __export
43
- } from "./filesystem-9rqn6x4v.js";
43
+ } from "./variant-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError6,
49
+ NotFoundError: () => NotFoundError7,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service40,
51
+ Service: () => Service49,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node43
54
+ node: () => node51
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service40 extends Context.Service()("@opencode/Shell") {
74
+ class Service49 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service40, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service49, Effect.gen(function* () {
91
91
  const bus = yield* Service83;
92
92
  const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service44;
95
- const environment = yield* Service53;
96
- const hooks = yield* Service66;
97
- const environments = yield* Service41;
98
- const config = yield* Service42;
94
+ const shell = yield* Service51;
95
+ const environment = yield* Service77;
96
+ const hooks = yield* Service75;
97
+ const environments = yield* Service50;
98
+ const config = yield* Service52;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError6({ id });
119
+ return yield* new NotFoundError7({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError6({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError7({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service40.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service49.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node43 = makeLocationNode({
329
- service: Service40,
328
+ var node51 = makeLocationNode({
329
+ service: Service49,
330
330
  layer: layer(),
331
331
  deps: [
332
332
  node87,
333
333
  node84,
334
334
  Global.node,
335
- node47,
336
- node57,
337
- node70,
338
- node44,
339
- node45,
335
+ node53,
336
+ node80,
337
+ node78,
338
+ node52,
339
+ node54,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError6, RETENTION2, DIRECTORY2, Service40, cleanup2, node43, exports_shell4 };
344
+ export { NotFoundError7, RETENTION2, DIRECTORY2, Service49, cleanup2, node51, exports_shell4 };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./filesystem-km7yg6gp.js";
4
+ } from "./variant-x7kbtnka.js";
5
5
  import {
6
- parse5,
6
+ parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./filesystem-w1eejvng.js";
11
+ } from "./variant-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./filesystem-z5v4ffb3.js";
14
+ } from "./variant-z5v4ffb3.js";
15
15
  import {
16
- Service73,
17
- node77
18
- } from "./filesystem-c9wk9zmw.js";
16
+ Service29,
17
+ node32
18
+ } from "./variant-m6pcnaq2.js";
19
19
  import {
20
20
  create3
21
- } from "./filesystem-rdw6cm16.js";
21
+ } from "./variant-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./filesystem-9rqn6x4v.js";
24
+ } from "./variant-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event19,
29
+ Event: () => Event4,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info28,
31
+ Info: () => Info5,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service72,
35
- Source: () => Source5,
36
- node: () => node76
34
+ Service: () => Service28,
35
+ Source: () => Source3,
36
+ node: () => node31
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event19 } from "@opencode/schema/reference";
42
+ import { Event as Event4 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source5 = Reference.Source;
46
- var Info28 = Reference.Info;
45
+ var Source3 = Reference.Source;
46
+ var Info5 = Reference.Info;
47
47
 
48
- class Service72 extends Context.Service()("@opencode/Reference") {
48
+ class Service28 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service72, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service83;
53
- const cache = yield* Service73;
53
+ const cache = yield* Service29;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info28.make({ ...info, path: source.path })];
64
- const repository = parse5(source.repository);
63
+ return [Info5.make({ ...info, path: source.path })];
64
+ const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info28.make({
75
+ Info5.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service72.of({
107
+ return Service28.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node76 = makeLocationNode({
116
- service: Service72,
115
+ var node31 = makeLocationNode({
116
+ service: Service28,
117
117
  layer,
118
- deps: [Global.node, node87, node77]
118
+ deps: [Global.node, node87, node32]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source5, Info28, Service72, node76, exports_reference2, Event19 };
121
+ export { LocalSource2, GitSource2, Source3, Info5, Service28, node31, exports_reference2, Event4 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./filesystem-5daktx2q.js";
3
+ } from "./variant-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./filesystem-z5v4ffb3.js";
6
+ } from "./variant-z5v4ffb3.js";
7
7
  import {
8
- ID6,
8
+ ID4,
9
9
  Name2
10
- } from "./filesystem-t5qt6q14.js";
10
+ } from "./variant-75dbh3sm.js";
11
11
  import {
12
12
  __export
13
- } from "./filesystem-9rqn6x4v.js";
13
+ } from "./variant-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID6.make(id),
58
+ id: ID4.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make18
9
+ make: () => make17
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make18 = (options) => Effect.gen(function* () {
12
+ var make17 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make18 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make18, exports_run_coordinator };
92
+ export { make17, exports_run_coordinator };