@opencode/core 0.0.0-dev-19829 → 0.0.0-dev-19836

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 +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{shell-g13xtdf8.js → provider-03wh323s.js} +20 -20
  8. package/dist/chunks/{shell-chzskk9w.js → provider-05bgp5qp.js} +31 -31
  9. package/dist/chunks/{shell-hz84tk5e.js → provider-05xfxpq7.js} +8 -8
  10. package/dist/chunks/{shell-64kphnzf.js → provider-06dxphr1.js} +4 -4
  11. package/dist/chunks/{shell-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{shell-0q0f95c6.js → provider-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{shell-p1nm93x7.js → provider-0r7yqxbf.js} +5 -5
  14. package/dist/chunks/{shell-18e56dsp.js → provider-0rpg7gzc.js} +4 -4
  15. package/dist/chunks/{shell-aryyw1nk.js → provider-0t9wd588.js} +8 -8
  16. package/dist/chunks/{shell-dgmx48zd.js → provider-0y1q99g5.js} +18 -18
  17. package/dist/chunks/{shell-qv03q5s7.js → provider-15td0j1z.js} +33 -33
  18. package/dist/chunks/{shell-4a2gq99j.js → provider-1682qy7f.js} +36 -36
  19. package/dist/chunks/{shell-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{shell-yr8szs0n.js → provider-1e2dyvvx.js} +42 -42
  21. package/dist/chunks/{shell-ar3g8qf7.js → provider-1g0680n2.js} +44 -44
  22. package/dist/chunks/{shell-7nzcq6wz.js → provider-1gncp487.js} +13 -13
  23. package/dist/chunks/{shell-xc0xf9na.js → provider-1htf6gj8.js} +85 -85
  24. package/dist/chunks/{shell-zampddaz.js → provider-1rh720zf.js} +6 -6
  25. package/dist/chunks/{shell-ne15jcy8.js → provider-1sadxdse.js} +16 -16
  26. package/dist/chunks/{shell-56gdpj1q.js → provider-1ygqh575.js} +9 -9
  27. package/dist/chunks/{shell-21r38tys.js → provider-21r38tys.js} +1 -1
  28. package/dist/chunks/{shell-2402vzrj.js → provider-2402vzrj.js} +1 -1
  29. package/dist/chunks/{shell-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{shell-3jztwn8f.js → provider-2ajc930w.js} +15 -15
  31. package/dist/chunks/{shell-hx4e8k2p.js → provider-2sd25e3x.js} +16 -16
  32. package/dist/chunks/{shell-cwa6csj7.js → provider-2sejkfem.js} +9 -9
  33. package/dist/chunks/{shell-60wapyds.js → provider-2vqtjfqv.js} +20 -20
  34. package/dist/chunks/{shell-bkxyw0dr.js → provider-3b9qt4hj.js} +9 -9
  35. package/dist/chunks/{shell-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{shell-2mfnnxhz.js → provider-3ge4rz06.js} +5 -5
  37. package/dist/chunks/{shell-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{shell-xkhv0wvg.js → provider-3k8yvm90.js} +44 -44
  39. package/dist/chunks/{shell-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{shell-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{shell-rzzpe0pe.js → provider-3znt1wpk.js} +9 -9
  42. package/dist/chunks/{shell-jxhw35st.js → provider-49efg6hh.js} +14 -14
  43. package/dist/chunks/{shell-p4fpyqnd.js → provider-4bnvpwd7.js} +4 -4
  44. package/dist/chunks/{shell-gdjz0eq8.js → provider-4ckfh27y.js} +1 -1
  45. package/dist/chunks/{shell-r3v8y99x.js → provider-4drh5h3y.js} +1 -1
  46. package/dist/chunks/{shell-1mzv1c38.js → provider-4w04jcng.js} +16 -16
  47. package/dist/chunks/{shell-67qfhfqw.js → provider-51y1rz4t.js} +4 -4
  48. package/dist/chunks/{shell-47chsc3m.js → provider-52e3x94b.js} +306 -306
  49. package/dist/chunks/{shell-aamtrqep.js → provider-57ez7d0k.js} +9 -9
  50. package/dist/chunks/{shell-5daktx2q.js → provider-5daktx2q.js} +1 -1
  51. package/dist/chunks/{shell-zxgv261n.js → provider-5em3v9t2.js} +9 -9
  52. package/dist/chunks/{shell-7pnvrq9t.js → provider-5jpkytcg.js} +46 -46
  53. package/dist/chunks/{shell-cmbqfntm.js → provider-5phqnecy.js} +7 -7
  54. package/dist/chunks/{shell-e3qxr5gk.js → provider-5qd3pb7m.js} +2 -2
  55. package/dist/chunks/{shell-z3mdkpet.js → provider-5rk0k3gd.js} +3 -3
  56. package/dist/chunks/{shell-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{shell-cnkp4rx2.js → provider-5w7vw2xw.js} +5 -5
  58. package/dist/chunks/{shell-xw8gwj9z.js → provider-65062tcg.js} +8 -8
  59. package/dist/chunks/{shell-669tq793.js → provider-669tq793.js} +1 -1
  60. package/dist/chunks/{shell-zw03yv4t.js → provider-671mfjqz.js} +6 -6
  61. package/dist/chunks/{shell-qj6dnhcz.js → provider-69s15509.js} +11 -11
  62. package/dist/chunks/{shell-232mp01t.js → provider-6cpps8na.js} +10 -10
  63. package/dist/chunks/{shell-6msgmcgs.js → provider-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{shell-p7met2a1.js → provider-74wf7e56.js} +7 -7
  65. package/dist/chunks/{shell-vepy3mba.js → provider-75f34rtq.js} +3 -3
  66. package/dist/chunks/{shell-8x97acre.js → provider-78bv9fnp.js} +11 -11
  67. package/dist/chunks/{shell-ae8xrtf0.js → provider-7arg0xwe.js} +22 -22
  68. package/dist/chunks/{shell-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{shell-1md1qdpw.js → provider-7jh389ga.js} +14 -14
  70. package/dist/chunks/{shell-n91sfy53.js → provider-7mwfjdjg.js} +20 -20
  71. package/dist/chunks/{shell-yy6d0qfs.js → provider-7ntfaaks.js} +11 -11
  72. package/dist/chunks/{shell-e2z6jaes.js → provider-7py176jj.js} +24 -24
  73. package/dist/chunks/{shell-hjp6q1sv.js → provider-7zzc33zw.js} +23 -23
  74. package/dist/chunks/{shell-pqnn72nj.js → provider-82kndyh8.js} +7 -7
  75. package/dist/chunks/{shell-w7tar5ey.js → provider-855zaz61.js} +10 -10
  76. package/dist/chunks/{shell-tgwryred.js → provider-86tpqd10.js} +19 -19
  77. package/dist/chunks/{shell-dq4yh11c.js → provider-8atp6zqh.js} +5 -5
  78. package/dist/chunks/{shell-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
  79. package/dist/chunks/{shell-xp3dbh4a.js → provider-8dbgybgw.js} +1 -1
  80. package/dist/chunks/{shell-04cmhvk1.js → provider-8mr3k4h2.js} +9 -9
  81. package/dist/chunks/{shell-8p4f9s12.js → provider-8p4f9s12.js} +2 -2
  82. package/dist/chunks/{shell-0sz44tra.js → provider-90adh171.js} +27 -27
  83. package/dist/chunks/{shell-6c7e9ex4.js → provider-9e8cqta3.js} +24 -24
  84. package/dist/chunks/{shell-3cfzdc8e.js → provider-9xvq3m7s.js} +5 -5
  85. package/dist/chunks/{shell-a1bz86dw.js → provider-a1bz86dw.js} +3 -3
  86. package/dist/chunks/{shell-8dhvaqy8.js → provider-a200qbpt.js} +8 -8
  87. package/dist/chunks/{shell-69vves8j.js → provider-a2fd5jyn.js} +13 -13
  88. package/dist/chunks/{shell-a3r4dcrj.js → provider-a3r4dcrj.js} +2 -2
  89. package/dist/chunks/{shell-n6s06knt.js → provider-a8psvap3.js} +30 -30
  90. package/dist/chunks/{shell-s8hmp7ng.js → provider-a9bks421.js} +24 -24
  91. package/dist/chunks/{shell-aaet6srn.js → provider-aaet6srn.js} +2 -2
  92. package/dist/chunks/{shell-km6psw9z.js → provider-ahsc6j0w.js} +16 -16
  93. package/dist/chunks/{shell-193xwtyj.js → provider-apx0827f.js} +3 -3
  94. package/dist/chunks/{shell-dpsf0pjj.js → provider-aredzfvk.js} +4 -4
  95. package/dist/chunks/{shell-2596hts6.js → provider-arxff2r5.js} +11 -11
  96. package/dist/chunks/{shell-rm0ma2mx.js → provider-as2dbdzv.js} +28 -23
  97. package/dist/chunks/{shell-9adc2k8r.js → provider-aya99032.js} +17 -17
  98. package/dist/chunks/{shell-d2fbw6yp.js → provider-azz15b0c.js} +8 -8
  99. package/dist/chunks/{shell-gb7a9z7y.js → provider-b580bgdr.js} +18 -18
  100. package/dist/chunks/{shell-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{shell-f1y4gyy3.js → provider-b76baeng.js} +33 -33
  102. package/dist/chunks/{shell-wc4rd7t6.js → provider-basr843q.js} +5 -5
  103. package/dist/chunks/{shell-ve4pfa0n.js → provider-bct739vz.js} +4 -4
  104. package/dist/chunks/{shell-b4zhfjcm.js → provider-bdav1pff.js} +20 -20
  105. package/dist/chunks/{shell-wy8b5sm2.js → provider-bz85s9hh.js} +1 -1
  106. package/dist/chunks/{shell-dd6hp5pa.js → provider-c0f3p06s.js} +20 -20
  107. package/dist/chunks/{shell-d89q28en.js → provider-c2ddg0d0.js} +15 -15
  108. package/dist/chunks/{shell-7a8mk1f1.js → provider-c7yn6ytz.js} +21 -21
  109. package/dist/chunks/{shell-cfpkc3c9.js → provider-cfpkc3c9.js} +2 -2
  110. package/dist/chunks/{shell-z14b3j31.js → provider-chmcj56h.js} +3 -3
  111. package/dist/chunks/{shell-1fmrbde1.js → provider-chrwx1ra.js} +6 -6
  112. package/dist/chunks/{shell-5gr2bydf.js → provider-cjj42we6.js} +3 -3
  113. package/dist/chunks/{shell-qh1ex6mp.js → provider-cjjbnact.js} +15 -15
  114. package/dist/chunks/{shell-d945k8bv.js → provider-cnn77yjf.js} +4 -4
  115. package/dist/chunks/{shell-epd1fg1b.js → provider-cq37gk0t.js} +4 -4
  116. package/dist/chunks/{shell-ftjytw8f.js → provider-czpndhbz.js} +25 -25
  117. package/dist/chunks/{shell-ejwfgtm7.js → provider-czsahcf5.js} +14 -14
  118. package/dist/chunks/{shell-y5k1zq1c.js → provider-d06mzzet.js} +26 -26
  119. package/dist/chunks/{shell-8fcb94yc.js → provider-d31rezqm.js} +18 -18
  120. package/dist/chunks/{shell-r501ef8d.js → provider-dknzpsbe.js} +1 -1
  121. package/dist/chunks/{shell-xfkkasph.js → provider-drwq78ky.js} +4 -4
  122. package/dist/chunks/{shell-wk2cwt06.js → provider-dzkcnhdc.js} +20 -20
  123. package/dist/chunks/{shell-hn57h045.js → provider-e2hjzebn.js} +4 -4
  124. package/dist/chunks/{shell-5mqe3xfr.js → provider-e9sqvrex.js} +4 -4
  125. package/dist/chunks/{shell-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{shell-nr2vdfax.js → provider-emkcrqbg.js} +9 -9
  127. package/dist/chunks/{shell-erw5rpbs.js → provider-erw5rpbs.js} +2 -2
  128. package/dist/chunks/{shell-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{shell-wmcxp5hn.js → provider-evpbcqxk.js} +14 -14
  130. package/dist/chunks/{shell-yt3hy1g9.js → provider-f62qkzqr.js} +5 -5
  131. package/dist/chunks/{shell-f828m53h.js → provider-f828m53h.js} +2 -2
  132. package/dist/chunks/{shell-k21736m5.js → provider-f8nt1psr.js} +18 -18
  133. package/dist/chunks/{shell-ka7sz6we.js → provider-fa88dyr4.js} +24 -24
  134. package/dist/chunks/{shell-xccbzny3.js → provider-fbdydc3h.js} +28 -28
  135. package/dist/chunks/{shell-6khtd4yg.js → provider-fbnf3z29.js} +1 -1
  136. package/dist/chunks/{shell-qnjwqrg7.js → provider-fcnhywp4.js} +33 -33
  137. package/dist/chunks/{shell-njhqdk9p.js → provider-fdms3n6w.js} +9 -9
  138. package/dist/chunks/{shell-a8gkj1nm.js → provider-fjafz3nd.js} +17 -17
  139. package/dist/chunks/{shell-k9kj6xed.js → provider-fkjmw100.js} +2 -2
  140. package/dist/chunks/{shell-k5hkvprj.js → provider-ftqh13bq.js} +8 -8
  141. package/dist/chunks/{shell-xqdjg29d.js → provider-fx87g1p8.js} +15 -15
  142. package/dist/chunks/{shell-fxbjtjnd.js → provider-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{shell-zh1xv5zk.js → provider-g15pfrmb.js} +13 -13
  144. package/dist/chunks/{shell-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{shell-qxxm4vqn.js → provider-gfzhf7me.js} +8 -8
  146. package/dist/chunks/{shell-3sqvqkfr.js → provider-gqsmyx82.js} +15 -15
  147. package/dist/chunks/{shell-sm332n37.js → provider-grj8yyr4.js} +12 -12
  148. package/dist/chunks/{shell-gv6a8nnw.js → provider-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{shell-0wy5r46e.js → provider-gwcwkmv7.js} +11 -11
  150. package/dist/chunks/{shell-hkhrhfk6.js → provider-gztt0stp.js} +164 -164
  151. package/dist/chunks/{shell-4kh1nwqr.js → provider-h0ccxrqf.js} +32 -32
  152. package/dist/chunks/{shell-rjzyvn6d.js → provider-h2pkw5gw.js} +24 -24
  153. package/dist/chunks/{shell-84h0jzwt.js → provider-h489nx9j.js} +9 -9
  154. package/dist/chunks/{shell-14bt54yq.js → provider-h4bz714h.js} +6 -6
  155. package/dist/chunks/{shell-z8a4aepc.js → provider-h6qqq1aa.js} +20 -19
  156. package/dist/chunks/{shell-h6r3nrb9.js → provider-h6r3nrb9.js} +1 -1
  157. package/dist/chunks/{shell-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{shell-dzr8y7x4.js → provider-hfczjsw8.js} +12 -12
  159. package/dist/chunks/{shell-5y2vywwx.js → provider-hfn0xp6d.js} +3 -3
  160. package/dist/chunks/{shell-6tpd68sk.js → provider-hgw9t808.js} +18 -18
  161. package/dist/chunks/{shell-b0mpvq4g.js → provider-hhc94xxb.js} +32 -32
  162. package/dist/chunks/{shell-88gqwsb4.js → provider-hhm6svje.js} +47 -47
  163. package/dist/chunks/{shell-nvan94z6.js → provider-hm5a9yba.js} +22 -22
  164. package/dist/chunks/{shell-e3267ac7.js → provider-hqpd1xnh.js} +16 -16
  165. package/dist/chunks/{shell-0m0tvs7x.js → provider-hwvyndb6.js} +4 -4
  166. package/dist/chunks/{shell-m549exyf.js → provider-hyrz6ndr.js} +12 -12
  167. package/dist/chunks/{shell-t7d1t835.js → provider-hzzpcvtj.js} +24 -24
  168. package/dist/chunks/{shell-djvy60dx.js → provider-j4dv9dx7.js} +14 -14
  169. package/dist/chunks/{shell-j56e64zr.js → provider-j56e64zr.js} +1 -1
  170. package/dist/chunks/{shell-wh971x00.js → provider-j7s4bfg0.js} +55 -55
  171. package/dist/chunks/{shell-4734c8z8.js → provider-jen70y5q.js} +11 -11
  172. package/dist/chunks/{shell-wfdt4npz.js → provider-jtm58g5z.js} +33 -33
  173. package/dist/chunks/{shell-7s451enq.js → provider-k1gkpfdk.js} +8 -8
  174. package/dist/chunks/{shell-k3c624dm.js → provider-k3c624dm.js} +3 -3
  175. package/dist/chunks/{shell-ht329kqa.js → provider-k8ens6qv.js} +22 -22
  176. package/dist/chunks/{shell-62mx6wrr.js → provider-kdde5j3x.js} +43 -43
  177. package/dist/chunks/{shell-vng3t00x.js → provider-ksawsn4b.js} +37 -37
  178. package/dist/chunks/{shell-vtbq8t73.js → provider-ksqszy4w.js} +14 -14
  179. package/dist/chunks/{shell-4179h1gg.js → provider-kx6q1bss.js} +5 -5
  180. package/dist/chunks/{shell-bawq69mj.js → provider-kye37pnh.js} +13 -13
  181. package/dist/chunks/{shell-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{shell-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{shell-6sr3ve8g.js → provider-magykp64.js} +21 -21
  184. package/dist/chunks/{shell-md6p9qq0.js → provider-mamd5kgb.js} +26 -28
  185. package/dist/chunks/{shell-77pfjge1.js → provider-mda8qtvh.js} +24 -24
  186. package/dist/chunks/{shell-8h15ta6z.js → provider-mf9fhcz6.js} +4 -4
  187. package/dist/chunks/{shell-jfde95p5.js → provider-mgm5zdqv.js} +10 -10
  188. package/dist/chunks/{shell-mvfsc1pv.js → provider-mhkvc446.js} +3 -3
  189. package/dist/chunks/{shell-bwckxjxx.js → provider-mpjm327k.js} +10 -10
  190. package/dist/chunks/{shell-reyvdt5n.js → provider-mvyy4qh8.js} +82 -82
  191. package/dist/chunks/{shell-7mf9d7ct.js → provider-mw0p63mw.js} +69 -69
  192. package/dist/chunks/{shell-yp2r4xmd.js → provider-mzpqym4s.js} +8 -8
  193. package/dist/chunks/{shell-pchc4tkx.js → provider-n865fexc.js} +24 -24
  194. package/dist/chunks/{shell-70nkn1qr.js → provider-n8nx7cky.js} +26 -26
  195. package/dist/chunks/{shell-kmyx2sbj.js → provider-n9q5nv43.js} +11 -11
  196. package/dist/chunks/{shell-x86cf5xt.js → provider-nazpdbhc.js} +13 -13
  197. package/dist/chunks/{shell-swbnbadx.js → provider-nbaznm45.js} +38 -33
  198. package/dist/chunks/{shell-mnhev4jw.js → provider-nbwvdyvz.js} +23 -23
  199. package/dist/chunks/{shell-6pbjhcd6.js → provider-nda2wghv.js} +15 -15
  200. package/dist/chunks/{shell-tq07f6ng.js → provider-njm86czr.js} +22 -22
  201. package/dist/chunks/{shell-0z6w7vfv.js → provider-nsarsp7q.js} +12 -12
  202. package/dist/chunks/{shell-tbz0fdvh.js → provider-p28j5sbe.js} +5 -5
  203. package/dist/chunks/{shell-czfptnv9.js → provider-p37cw4rj.js} +8 -8
  204. package/dist/chunks/{shell-rcwrsj14.js → provider-p59m71ee.js} +15 -15
  205. package/dist/chunks/{shell-qrka3egj.js → provider-p7vtmph1.js} +41 -41
  206. package/dist/chunks/{shell-mkg78xt7.js → provider-pbb1p4ms.js} +47 -47
  207. package/dist/chunks/{shell-mbefvd2h.js → provider-phrvssew.js} +3 -3
  208. package/dist/chunks/{shell-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{shell-pknna89w.js → provider-pknna89w.js} +1 -1
  210. package/dist/chunks/{shell-t7rmvvmw.js → provider-pmyy6wgx.js} +2 -2
  211. package/dist/chunks/{shell-78khjh1c.js → provider-pr7veg4m.js} +3 -3
  212. package/dist/chunks/{shell-r4yqrmdq.js → provider-q17z9dx8.js} +5 -5
  213. package/dist/chunks/{shell-td5vtqzv.js → provider-q20c44bz.js} +4 -4
  214. package/dist/chunks/{shell-8fwt1t4b.js → provider-q9kwjsx6.js} +11 -11
  215. package/dist/chunks/{shell-gnfpqv4r.js → provider-qg0jgkcp.js} +9 -9
  216. package/dist/chunks/{shell-qgn6gcr1.js → provider-qgn6gcr1.js} +1 -1
  217. package/dist/chunks/{shell-qsdy395h.js → provider-qsdy395h.js} +1 -1
  218. package/dist/chunks/{shell-abwdezg1.js → provider-qw8em5ng.js} +24 -24
  219. package/dist/chunks/{shell-k6gr57ez.js → provider-r47bzvnc.js} +11 -11
  220. package/dist/chunks/{shell-9p5441cr.js → provider-r5nnd09r.js} +15 -15
  221. package/dist/chunks/{shell-cd1rqchx.js → provider-r8gxghcv.js} +18 -18
  222. package/dist/chunks/{shell-yp2x3t23.js → provider-r8xr0va3.js} +4 -4
  223. package/dist/chunks/{shell-rfmz5n69.js → provider-rcj95w22.js} +13 -13
  224. package/dist/chunks/{shell-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{shell-ng0yjpwq.js → provider-rgk2ney7.js} +17 -17
  226. package/dist/chunks/{shell-0gdmqesm.js → provider-rhjbct0v.js} +4 -4
  227. package/dist/chunks/{shell-hccg5b77.js → provider-s0ktpnqb.js} +10 -10
  228. package/dist/chunks/{shell-ead3g9p8.js → provider-s8zy8myc.js} +5 -5
  229. package/dist/chunks/{shell-t5kmb9e5.js → provider-s9rhvhkx.js} +11 -11
  230. package/dist/chunks/{shell-b2xgp1w7.js → provider-sgc0b5k4.js} +6 -6
  231. package/dist/chunks/{shell-vyywk581.js → provider-sjdqp3nh.js} +11 -11
  232. package/dist/chunks/{shell-ppwk445r.js → provider-skzznzbs.js} +18 -18
  233. package/dist/chunks/{shell-z6fnk1e0.js → provider-ss7ks4j5.js} +27 -27
  234. package/dist/chunks/{shell-xb02k0wq.js → provider-sxz6gkc3.js} +7 -7
  235. package/dist/chunks/{shell-n333v114.js → provider-t1vbng9k.js} +24 -24
  236. package/dist/chunks/{shell-tn64gdye.js → provider-t4bqh1bd.js} +18 -18
  237. package/dist/chunks/{shell-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{shell-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{shell-kws74awx.js → provider-tcj2t8vk.js} +2 -2
  240. package/dist/chunks/{shell-tdstcens.js → provider-tdstcens.js} +1 -1
  241. package/dist/chunks/{shell-tvtrv512.js → provider-tvtrv512.js} +1 -1
  242. package/dist/chunks/{shell-ac8tb6gc.js → provider-txqffk2q.js} +2 -2
  243. package/dist/chunks/{shell-nyk4ge42.js → provider-v13rhakv.js} +24 -24
  244. package/dist/chunks/provider-v1faaxn9.js +18 -0
  245. package/dist/chunks/{shell-ryqp1849.js → provider-v2tzk7cv.js} +17 -17
  246. package/dist/chunks/{shell-dd7y7kbq.js → provider-v2vsy0py.js} +1 -1
  247. package/dist/chunks/{shell-47y5x0ww.js → provider-v7c1j4fy.js} +28 -28
  248. package/dist/chunks/{shell-jewzahs7.js → provider-vbfgae2j.js} +4 -4
  249. package/dist/chunks/{shell-veqvce7d.js → provider-veqvce7d.js} +1 -1
  250. package/dist/chunks/{shell-2yw9x73f.js → provider-vhaqwyxf.js} +6 -6
  251. package/dist/chunks/{shell-njw6fdmp.js → provider-vyqfs9aq.js} +43 -43
  252. package/dist/chunks/{shell-vzcthcp8.js → provider-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{shell-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{shell-rph3zd4r.js → provider-w4arg62q.js} +4 -4
  255. package/dist/chunks/{shell-71s7e542.js → provider-w6d5a1tb.js} +27 -27
  256. package/dist/chunks/{shell-10786k6d.js → provider-w7q1zcrw.js} +13 -13
  257. package/dist/chunks/{shell-xf79w3v8.js → provider-w9eedde7.js} +23 -23
  258. package/dist/chunks/{shell-wd87259q.js → provider-wd87259q.js} +1 -1
  259. package/dist/chunks/{shell-njpvr8gz.js → provider-whc354j7.js} +20 -20
  260. package/dist/chunks/{shell-90jcfcfk.js → provider-wydv7ax3.js} +10 -10
  261. package/dist/chunks/{shell-6m0y8wpe.js → provider-x0zfx1ce.js} +11 -11
  262. package/dist/chunks/{shell-x1ezjp6w.js → provider-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{shell-8evg2433.js → provider-x3hxzb6n.js} +8 -8
  264. package/dist/chunks/provider-xsqp7mar.js +252 -0
  265. package/dist/chunks/{shell-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{shell-y71avatq.js → provider-y71avatq.js} +1 -1
  267. package/dist/chunks/{shell-kg1ftbm8.js → provider-y7ysfew0.js} +3 -3
  268. package/dist/chunks/{shell-css7wnya.js → provider-yaze7axp.js} +10 -10
  269. package/dist/chunks/{shell-2qq7qy34.js → provider-ybhbtxjg.js} +9 -9
  270. package/dist/chunks/{shell-9ppe4kxp.js → provider-yc4tz3dj.js} +55 -55
  271. package/dist/chunks/provider-yebb45zj.js +65 -0
  272. package/dist/chunks/{shell-bhch6x5n.js → provider-ygaaqm9q.js} +9 -9
  273. package/dist/chunks/{shell-a5357yyf.js → provider-yhjdj6k2.js} +11 -11
  274. package/dist/chunks/{shell-04tsrbgn.js → provider-yj604rek.js} +11 -11
  275. package/dist/chunks/provider-yn02nake.js +26 -0
  276. package/dist/chunks/{shell-yrhqyw5v.js → provider-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{shell-s4enseaf.js → provider-yrznvahk.js} +2 -2
  278. package/dist/chunks/{shell-00c69978.js → provider-yvh7vk42.js} +9 -9
  279. package/dist/chunks/{shell-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{shell-psyx3g25.js → provider-z159ncje.js} +11 -11
  281. package/dist/chunks/{shell-29x78va6.js → provider-z63w68vq.js} +6 -6
  282. package/dist/chunks/{shell-d1mtykxg.js → provider-zdwe30dy.js} +6 -6
  283. package/dist/chunks/{shell-zeh9ct20.js → provider-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{shell-db1bz1g0.js → provider-zp9qk7ne.js} +14 -14
  285. package/dist/chunks/{shell-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{shell-0gr9k9jq.js → provider-ztvmj9vt.js} +15 -15
  287. package/dist/chunks/{shell-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{shell-xe0jn6g3.js → provider-zzrdptt8.js} +8 -8
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +161 -161
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +124 -124
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +226 -226
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +92 -92
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +93 -93
  428. package/dist/form.js +81 -81
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +88 -88
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +101 -101
  473. package/dist/mcp/instructions.js +121 -121
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +93 -93
  480. package/dist/models-dev.js +102 -102
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +112 -112
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/compaction.js +132 -132
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +5 -5
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +91 -91
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +345 -345
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +6 -6
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +6 -6
  556. package/dist/plugin.js +222 -222
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +89 -89
  560. package/dist/provider.js +94 -92
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +85 -85
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +88 -88
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +90 -90
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +131 -131
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +7 -7
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +220 -220
  581. package/dist/session/execution.js +125 -125
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +15 -15
  584. package/dist/session/inbox.js +87 -87
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +76 -76
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +1 -1
  608. package/dist/session/session.js +171 -171
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +86 -86
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +3 -3
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +214 -214
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +211 -211
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +104 -104
  629. package/dist/skill.js +105 -105
  630. package/dist/snapshot.js +88 -88
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +118 -118
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +102 -102
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +216 -216
  644. package/dist/tool/plugin/skill.js +108 -108
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +111 -111
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +115 -115
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +12 -12
  653. package/dist/types/aisdk.d.ts +5 -5
  654. package/dist/types/model-resolver.d.ts +5 -4
  655. package/dist/types/model.d.ts +4 -12
  656. package/dist/types/provider.d.ts +3 -0
  657. package/dist/types/v1/config/migrate.d.ts +0 -6
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +3 -3
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +91 -91
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +1 -1
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +90 -90
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +88 -88
  687. package/dist/websearch.js +83 -83
  688. package/dist/wellknown/plugin.js +75 -75
  689. package/dist/wellknown.js +78 -78
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +77 -77
  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 +88 -88
  697. package/dist/worktree.js +95 -95
  698. package/package.json +8 -8
  699. package/dist/chunks/shell-9sh4wc5j.js +0 -18
  700. package/dist/chunks/shell-ahrspnxt.js +0 -65
  701. package/dist/chunks/shell-n8dhm2n4.js +0 -252
  702. package/dist/chunks/shell-spb593b0.js +0 -26
  703. /package/dist/chunks/{shell-0mesazry.js → provider-0mesazry.js} +0 -0
  704. /package/dist/chunks/{shell-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{shell-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{shell-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{shell-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{shell-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{shell-24dcb14g.js → provider-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{shell-2710q6r3.js → provider-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{shell-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{shell-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{shell-359p4xyc.js → provider-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{shell-3asan66x.js → provider-3asan66x.js} +0 -0
  715. /package/dist/chunks/{shell-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{shell-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{shell-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{shell-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{shell-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{shell-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{shell-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{shell-53557ph1.js → provider-53557ph1.js} +0 -0
  723. /package/dist/chunks/{shell-550bvhaj.js → provider-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{shell-6prwharc.js → provider-6prwharc.js} +0 -0
  725. /package/dist/chunks/{shell-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{shell-7m9af43g.js → provider-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{shell-822emrt2.js → provider-822emrt2.js} +0 -0
  728. /package/dist/chunks/{shell-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{shell-8n3pysct.js → provider-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{shell-922hggd3.js → provider-922hggd3.js} +0 -0
  731. /package/dist/chunks/{shell-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{shell-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{shell-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{shell-af5trqkr.js → provider-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{shell-afrmfg78.js → provider-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{shell-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{shell-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{shell-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{shell-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{shell-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{shell-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{shell-d9fn303g.js → provider-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{shell-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{shell-dajrwvna.js → provider-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{shell-dap0rakb.js → provider-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{shell-df08tz66.js → provider-df08tz66.js} +0 -0
  747. /package/dist/chunks/{shell-dy18nga0.js → provider-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{shell-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{shell-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{shell-ec1grn59.js → provider-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{shell-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{shell-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{shell-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{shell-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{shell-faypxj3z.js → provider-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{shell-fd410y7t.js → provider-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{shell-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{shell-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{shell-g86h250q.js → provider-g86h250q.js} +0 -0
  760. /package/dist/chunks/{shell-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{shell-gftt206x.js → provider-gftt206x.js} +0 -0
  762. /package/dist/chunks/{shell-hjbc5kem.js → provider-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{shell-hk9envan.js → provider-hk9envan.js} +0 -0
  764. /package/dist/chunks/{shell-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{shell-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{shell-jexxy024.js → provider-jexxy024.js} +0 -0
  767. /package/dist/chunks/{shell-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{shell-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{shell-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{shell-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{shell-mp448xyj.js → provider-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{shell-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{shell-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{shell-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{shell-njntx4h6.js → provider-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{shell-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{shell-q74kybfr.js → provider-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{shell-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{shell-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{shell-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{shell-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{shell-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{shell-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{shell-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{shell-sk3qaz4a.js → provider-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{shell-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{shell-twg0f83k.js → provider-twg0f83k.js} +0 -0
  788. /package/dist/chunks/{shell-w803qqfp.js → provider-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{shell-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{shell-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{shell-wtztk69x.js → provider-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{shell-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{shell-x61499pn.js → provider-x61499pn.js} +0 -0
  794. /package/dist/chunks/{shell-y44na4kk.js → provider-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{shell-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{shell-y8f7s663.js → provider-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{shell-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{shell-ym463w8f.js → provider-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{shell-z9919s4g.js → provider-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service82
3
- } from "./shell-td5vtqzv.js";
3
+ } from "./provider-q20c44bz.js";
4
4
  import {
5
5
  key2
6
- } from "./shell-h6r3nrb9.js";
6
+ } from "./provider-h6r3nrb9.js";
7
7
  import {
8
- Event20
9
- } from "./shell-47y5x0ww.js";
8
+ Event19
9
+ } from "./provider-v7c1j4fy.js";
10
10
  import {
11
- ID16
12
- } from "./shell-0sz44tra.js";
11
+ ID14
12
+ } from "./provider-90adh171.js";
13
13
  import {
14
14
  ID13,
15
- Service74
16
- } from "./shell-rm0ma2mx.js";
15
+ Service75
16
+ } from "./provider-as2dbdzv.js";
17
17
  import {
18
18
  load2,
19
19
  derive2
20
- } from "./shell-5gr2bydf.js";
20
+ } from "./provider-cjj42we6.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
@@ -26,7 +26,7 @@ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service74;
29
+ const providers = yield* Service75;
30
30
  const bus = yield* Service82;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./shell-5t3nmthw.js";
3
+ } from "./provider-5t3nmthw.js";
4
4
  import {
5
- Service52,
6
- node54
7
- } from "./shell-swbnbadx.js";
5
+ Service72,
6
+ node76
7
+ } from "./provider-nbaznm45.js";
8
8
  import {
9
9
  __export
10
- } from "./shell-9rqn6x4v.js";
10
+ } from "./provider-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service51,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer18,
20
- node: () => node53
17
+ Service: () => Service40,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer17,
20
+ node: () => node43
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service51 extends Context.Service()("@opencode/Generate") {
36
+ class Service40 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer18 = Layer.effect(Service51, Effect.gen(function* () {
38
+ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service52;
40
+ const resolver = yield* Service72;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer18 = Layer.effect(Service51, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service51.of({ text });
66
+ return Service40.of({ text });
67
67
  }));
68
- var node53 = makeLocationNode({
69
- service: Service51,
70
- layer: layer18,
71
- deps: [node54, llmClient2]
68
+ var node43 = makeLocationNode({
69
+ service: Service40,
70
+ layer: layer17,
71
+ deps: [node76, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError2, Service51, layer18, node53, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError3, Service40, layer17, node43, exports_generate2 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./shell-emrn6kk6.js";
5
+ } from "./provider-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./shell-td5vtqzv.js";
4
+ } from "./provider-q20c44bz.js";
5
5
  import {
6
6
  create3
7
- } from "./shell-rdw6cm16.js";
7
+ } from "./provider-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./shell-wh971x00.js";
10
+ } from "./provider-j7s4bfg0.js";
11
11
  import {
12
12
  __export
13
- } from "./shell-9rqn6x4v.js";
13
+ } from "./provider-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event7,
20
+ Event: () => Event5,
21
21
  ID: () => ID5,
22
22
  Info: () => Info6,
23
23
  Name: () => Name2,
24
- Service: () => Service35,
24
+ Service: () => Service32,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node38,
29
+ node: () => node35,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,7 +34,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event7 } from "@opencode/schema/skill";
37
+ import { Event as Event5 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service35 extends Context.Service()("@opencode/Skill") {
74
+ class Service32 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service35, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
77
77
  const bus = yield* Service82;
78
78
  const state = create3({
79
79
  name: "skill",
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service35.of({
100
+ return Service32.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node38 = makeLocationNode({
112
- service: Service35,
111
+ var node35 = makeLocationNode({
112
+ service: Service32,
113
113
  layer,
114
114
  deps: [node86]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID5, Name2, available2, toModelOutput3, prepare3, Service35, node38, exports_skill5, Event7 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID5, Name2, available2, toModelOutput3, prepare3, Service32, node35, exports_skill5, Event5 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service83
3
- } from "./shell-z14b3j31.js";
3
+ } from "./provider-chmcj56h.js";
4
4
  import {
5
5
  Service82
6
- } from "./shell-td5vtqzv.js";
6
+ } from "./provider-q20c44bz.js";
7
7
  import {
8
- Service39
9
- } from "./shell-d1mtykxg.js";
8
+ Service58
9
+ } from "./provider-zdwe30dy.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./shell-922hggd3.js";
12
+ } from "./provider-922hggd3.js";
13
13
  import {
14
- ID6,
15
- Service36
16
- } from "./shell-n333v114.js";
14
+ ID4,
15
+ Service31
16
+ } from "./provider-t1vbng9k.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./shell-ec1grn59.js";
19
+ } from "./provider-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./shell-gftt206x.js";
22
+ } from "./provider-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./shell-2qq7qy34.js";
25
+ } from "./provider-ybhbtxjg.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./shell-a1bz86dw.js";
28
+ } from "./provider-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./shell-9rqn6x4v.js";
31
+ } from "./provider-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service39;
45
+ const instances = yield* Service58;
46
46
  const database = yield* Service83;
47
47
  const bus = yield* Service82;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service36;
50
- const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service31;
50
+ const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service39;
77
+ const instances = yield* Service58;
78
78
  const bus = yield* Service82;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service36;
80
+ const snapshot = yield* Service31;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID6.make(message.snapshot.start));
114
+ files.set(file, ID4.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./shell-gftt206x.js";
3
+ } from "./provider-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./shell-jexxy024.js";
6
+ } from "./provider-jexxy024.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./shell-2qq7qy34.js";
9
+ } from "./provider-ybhbtxjg.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./shell-0gdmqesm.js";
13
+ } from "./provider-rhjbct0v.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./shell-a1bz86dw.js";
16
+ } from "./provider-a1bz86dw.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./shell-epd1fg1b.js";
20
+ } from "./provider-cq37gk0t.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./shell-64kphnzf.js";
25
+ } from "./provider-06dxphr1.js";
26
26
  import {
27
27
  __export
28
- } from "./shell-9rqn6x4v.js";
28
+ } from "./provider-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load4,
38
+ load: () => load5,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./shell-2a5m3afh.js";
6
+ } from "./provider-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./shell-1dazxqgg.js";
9
+ } from "./provider-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./shell-b6gygkdw.js";
12
+ } from "./provider-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./shell-aaet6srn.js";
15
+ } from "./provider-aaet6srn.js";
16
16
  import {
17
- Service75,
18
- node79
19
- } from "./shell-ryqp1849.js";
17
+ Service79,
18
+ node83
19
+ } from "./provider-v2tzk7cv.js";
20
20
  import {
21
- Service67,
22
- node69
23
- } from "./shell-nyk4ge42.js";
21
+ Service50,
22
+ node53
23
+ } from "./provider-v13rhakv.js";
24
24
  import {
25
25
  __export
26
- } from "./shell-9rqn6x4v.js";
26
+ } from "./provider-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service66,
33
- node: () => node68
32
+ Service: () => Service49,
33
+ node: () => node52
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service66,
46
+ Service: () => Service49,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node68,
52
+ node: () => node52,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service66 extends Context.Service()("@opencode/Environment") {
61
+ class Service49 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service66, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service75;
66
- const workspace = yield* Service67;
65
+ const location = yield* Service79;
66
+ const workspace = yield* Service50;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service66.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service49.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node68 = makeLocationNode({
71
- service: Service66,
70
+ var node52 = makeLocationNode({
71
+ service: Service49,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node79, node69]
73
+ deps: [CrossSpawnSpawner.node, node83, node53]
74
74
  });
75
75
 
76
- export { Service66, node68, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service49, node52, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service56
3
- } from "./shell-wh971x00.js";
2
+ Service64
3
+ } from "./provider-j7s4bfg0.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./shell-4vcrnpx2.js";
7
+ } from "./provider-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./shell-3v8g72cx.js";
10
+ } from "./provider-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./shell-9rqn6x4v.js";
13
+ } from "./provider-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input11,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input9,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin30,
22
+ Plugin: () => Plugin26,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description5,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name11
27
+ name: () => name9
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name11 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name9 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input11 = Schema.Struct({
41
+ var Input9 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input11.fields.format,
51
+ format: Input9.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin30 = {
95
+ var Plugin26 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service56;
99
+ const permission = yield* Service64;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name11,
101
+ name: name9,
102
102
  options: { codemode: false },
103
- description: description5,
104
- input: Input11,
103
+ description: description4,
104
+ input: Input9,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin30 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name11,
112
+ action: name9,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin30, extractTextFromHTML2, exports_webfetch };
170
+ export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin26, extractTextFromHTML2, exports_webfetch };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./shell-f0mxakyp.js";
3
+ } from "./provider-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./shell-w3wsvvr9.js";
6
+ } from "./provider-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./shell-7bmhse3q.js";
9
+ } from "./provider-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./shell-cf4snx6d.js";
12
+ } from "./provider-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./shell-822emrt2.js";
15
+ } from "./provider-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./shell-wd87259q.js";
18
+ } from "./provider-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./shell-m9w0rfyh.js";
21
+ } from "./provider-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";