@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,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node76
5
- } from "./shell-bwckxjxx.js";
4
+ node66
5
+ } from "./provider-mpjm327k.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./shell-64kphnzf.js";
9
+ } from "./provider-06dxphr1.js";
10
10
  import {
11
- Service71,
12
- node74
13
- } from "./shell-7s451enq.js";
11
+ Service68,
12
+ node72
13
+ } from "./provider-k1gkpfdk.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./shell-wh971x00.js";
16
+ } from "./provider-j7s4bfg0.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./shell-vyywk581.js";
19
+ } from "./provider-sjdqp3nh.js";
20
20
  import {
21
21
  Error4
22
- } from "./shell-nvan94z6.js";
22
+ } from "./provider-hm5a9yba.js";
23
23
  import {
24
- Service31,
25
- node34
26
- } from "./shell-2596hts6.js";
24
+ Service29,
25
+ node32
26
+ } from "./provider-arxff2r5.js";
27
27
  import {
28
- make15
29
- } from "./shell-xfkkasph.js";
28
+ make14
29
+ } from "./provider-drwq78ky.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./shell-wy8b5sm2.js";
32
+ } from "./provider-bz85s9hh.js";
33
33
  import {
34
34
  __export
35
- } from "./shell-9rqn6x4v.js";
35
+ } from "./provider-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service30,
40
+ Service: () => Service28,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer12,
45
- node: () => node33,
44
+ layer: () => layer11,
45
+ node: () => node31,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service30 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service28 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer12 = Layer.effect(Service30, Effect.gen(function* () {
156
- const hooks = yield* Service71;
157
- const transport = yield* Service31;
155
+ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
156
+ const hooks = yield* Service68;
157
+ const transport = yield* Service29;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -252,17 +252,17 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
252
252
  };
253
253
  });
254
254
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
255
- return Service30.of({
255
+ return Service28.of({
256
256
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
257
257
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
258
258
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
259
259
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
260
260
  });
261
261
  }));
262
- var node33 = makeLocationNode({
263
- service: Service30,
264
- layer: layer12,
265
- deps: [node74, node34, node76]
262
+ var node31 = makeLocationNode({
263
+ service: Service28,
264
+ layer: layer11,
265
+ deps: [node72, node32, node66]
266
266
  });
267
267
 
268
- export { baseTranscript2, unsupportedParts2, boundImages2, Service30, layer12, node33, exports_model_request };
268
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service28, layer11, node31, exports_model_request };
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service82,
4
4
  node86
5
- } from "./shell-td5vtqzv.js";
5
+ } from "./provider-q20c44bz.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make18,
10
+ make20,
11
11
  diffByKey2
12
- } from "./shell-0gdmqesm.js";
12
+ } from "./provider-rhjbct0v.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./shell-922hggd3.js";
15
+ } from "./provider-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./shell-rdw6cm16.js";
18
+ } from "./provider-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./shell-9rqn6x4v.js";
21
+ } from "./provider-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event10,
26
+ Event: () => Event12,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options4,
30
- Service: () => Service50,
31
- configured: () => configured4,
32
- layer: () => layer17,
33
- node: () => node52
29
+ Options: () => Options9,
30
+ Service: () => Service54,
31
+ configured: () => configured9,
32
+ layer: () => layer19,
33
+ node: () => node58
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event10 = {
45
+ var Event12 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options4 = Schema.Struct({
48
+ var Options9 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service50 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service54 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer17 = (options) => Layer.effect(Service50, Effect.gen(function* () {
55
+ var layer19 = (options) => Layer.effect(Service54, Effect.gen(function* () {
56
56
  const bus = yield* Service82;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service50, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make18({
77
+ const source = (value) => make20({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service50, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service50.of({
93
+ return Service54.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service50, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured4(options) {
107
+ function configured9(options) {
108
108
  return makeLocationNode({
109
- service: Service50,
110
- layer: layer17(options),
109
+ service: Service54,
110
+ layer: layer19(options),
111
111
  deps: [node86]
112
112
  });
113
113
  }
114
- var node52 = configured4();
114
+ var node58 = configured9();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event10, Options4, Service50, layer17, configured4, node52, exports_instruction_discovery };
145
+ export { File2, Event12, Options9, Service54, layer19, configured9, node58, exports_instruction_discovery };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./shell-2a5m3afh.js";
5
+ } from "./provider-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./shell-9rqn6x4v.js";
8
+ } from "./provider-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./shell-z14b3j31.js";
4
+ } from "./provider-chmcj56h.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./shell-a1bz86dw.js";
8
+ } from "./provider-a1bz86dw.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load4
12
- } from "./shell-yy6d0qfs.js";
11
+ load5
12
+ } from "./provider-7ntfaaks.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./shell-a3r4dcrj.js";
15
+ } from "./provider-a3r4dcrj.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./provider-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput5,
24
- Service: () => Service58,
23
+ ListInput: () => ListInput4,
24
+ Service: () => Service65,
25
25
  SessionStore: () => exports_store,
26
- node: () => node60
26
+ node: () => node69
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service58 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service65 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service58, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
58
58
  const { db } = yield* Service83;
59
- return Service58.of({
59
+ return Service65.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node60 = makeGlobalNode({ service: Service58, layer, deps: [node87] });
128
+ var node69 = makeGlobalNode({ service: Service65, layer, deps: [node87] });
129
129
 
130
- export { ListInput5, Service58, node60, exports_store };
130
+ export { ListInput4, Service65, node69, exports_store };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./shell-r3v8y99x.js";
5
+ } from "./provider-4drh5h3y.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./shell-z3mdkpet.js";
11
+ } from "./provider-5rk0k3gd.js";
12
12
  import {
13
13
  __export
14
- } from "./shell-9rqn6x4v.js";
14
+ } from "./provider-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./shell-2qq7qy34.js";
5
+ } from "./provider-ybhbtxjg.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./shell-wh971x00.js";
8
+ } from "./provider-j7s4bfg0.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./shell-0sz44tra.js";
11
+ } from "./provider-90adh171.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./shell-x86cf5xt.js";
21
+ } from "./provider-nazpdbhc.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./shell-5t3nmthw.js";
3
+ } from "./provider-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./provider-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service31,
11
+ Service: () => Service29,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer13,
13
+ layer: () => layer12,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node34
15
+ node: () => node32
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service31 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -360,11 +360,11 @@ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* ()
360
360
  }, { discard: true });
361
361
  });
362
362
  yield* Effect.addFinalizer(() => closeAll);
363
- return Service31.of({ bind, close, closeAll });
363
+ return Service29.of({ bind, close, closeAll });
364
364
  }));
365
- var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
365
+ var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
366
366
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
367
367
  })));
368
- var node34 = makeGlobalNode({ service: Service31, layer: layer13, deps: [webSocketConstructor2] });
368
+ var node32 = makeGlobalNode({ service: Service29, layer: layer12, deps: [webSocketConstructor2] });
369
369
 
370
- export { Service31, makeLayer2, layer13, node34, exports_model_transport };
370
+ export { Service29, makeLayer2, layer12, node32, exports_model_transport };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./shell-td5vtqzv.js";
4
+ } from "./provider-q20c44bz.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./shell-rdw6cm16.js";
8
+ } from "./provider-rdw6cm16.js";
9
9
  import {
10
- ID16,
11
- Service79,
12
- node83,
13
- Event19
14
- } from "./shell-0sz44tra.js";
10
+ ID14,
11
+ Service76,
12
+ node80,
13
+ Event18
14
+ } from "./provider-90adh171.js";
15
15
  import {
16
16
  key2
17
- } from "./shell-h6r3nrb9.js";
17
+ } from "./provider-h6r3nrb9.js";
18
18
  import {
19
- Service75,
20
- node79
21
- } from "./shell-ryqp1849.js";
19
+ Service79,
20
+ node83
21
+ } from "./provider-v2tzk7cv.js";
22
22
  import {
23
23
  __export
24
- } from "./shell-9rqn6x4v.js";
24
+ } from "./provider-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -43,7 +43,7 @@ __export(exports_provider3, {
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
45
  Request: () => Request3,
46
- Service: () => Service74,
46
+ Service: () => Service75,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -51,8 +51,9 @@ __export(exports_provider3, {
51
51
  loadPackage: () => loadPackage2,
52
52
  mergeHeaders: () => mergeHeaders2,
53
53
  mergeOverlay: () => mergeOverlay2,
54
+ modelSettings: () => modelSettings2,
54
55
  nativeSettings: () => nativeSettings2,
55
- node: () => node78,
56
+ node: () => node79,
56
57
  packageName: () => packageName2
57
58
  });
58
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -173,9 +174,13 @@ var loadPackage2 = Effect.fn("Provider.loadPackage")(function* (input, npm) {
173
174
  return yield* importPackage(specifier, entrypoint);
174
175
  });
175
176
  var CORE_KEYS = ["chunkTimeout", "compaction", "fetch", "timeout", "transport"];
177
+ var PROVIDER_ONLY_KEYS = ["chunkTimeout", "timeout", "transport"];
176
178
  function nativeSettings2(settings) {
177
179
  return Struct.omit(settings, CORE_KEYS);
178
180
  }
181
+ function modelSettings2(settings) {
182
+ return settings && Struct.omit(settings, PROVIDER_ONLY_KEYS);
183
+ }
179
184
  function mergeOverlay2(base, overlay) {
180
185
  if (base === undefined)
181
186
  return overlay && decodeJsonRecord({ ...overlay });
@@ -207,7 +212,7 @@ var Transport2 = Provider.Transport;
207
212
  var Settings2 = Provider.Settings;
208
213
  var Info27 = Provider.Info;
209
214
 
210
- class Service74 extends Context.Service()("@opencode/Provider") {
215
+ class Service75 extends Context.Service()("@opencode/Provider") {
211
216
  }
212
217
  var definitions = new WeakMap;
213
218
  function index(providerID, models) {
@@ -220,10 +225,10 @@ function index(providerID, models) {
220
225
  definitions.set(models, indexes);
221
226
  return result;
222
227
  }
223
- var layer = Layer.effect(Service74, Effect.gen(function* () {
228
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
224
229
  const bus = yield* Service82;
225
- const integrations = yield* Service79;
226
- const location = yield* Service75;
230
+ const integrations = yield* Service76;
231
+ const location = yield* Service79;
227
232
  const state = create3({
228
233
  name: "provider",
229
234
  initial: () => new Map,
@@ -315,7 +320,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
315
320
  const available = Array.from(records.values()).filter((record) => {
316
321
  if (record.provider.activation === "disabled")
317
322
  return false;
318
- const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
319
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
320
325
  return false;
321
326
  if (record.provider.activation === "enabled")
@@ -341,8 +346,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
341
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
342
347
  });
343
348
  });
344
- yield* bus.subscribe([Event19.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
345
- return Service74.of({
349
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service75.of({
346
351
  transform: state.transform,
347
352
  reload: state.reload,
348
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -351,7 +356,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
351
356
  snapshot
352
357
  });
353
358
  }));
354
- var node78 = makeLocationNode({ service: Service74, layer, deps: [node86, node83, node79] });
359
+ var node79 = makeLocationNode({ service: Service75, layer, deps: [node86, node80, node83] });
355
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
356
361
  const module = yield* Effect.tryPromise({
357
362
  try: () => {
@@ -611,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
611
616
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
612
617
  var decode = Schema2.decodeUnknownSync(Legacy);
613
618
 
614
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service74, node78, exports_provider3, Event17 };
619
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service75, node79, exports_provider3, Event17 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./shell-z14b3j31.js";
4
+ } from "./provider-chmcj56h.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./shell-f828m53h.js";
7
+ } from "./provider-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./shell-9rqn6x4v.js";
10
+ } from "./provider-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID8,
17
- Info: () => Info11,
18
- ListInput: () => ListInput4,
16
+ ID: () => ID9,
17
+ Info: () => Info23,
18
+ ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service57,
21
- node: () => node59
20
+ Service: () => Service66,
21
+ node: () => node70
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID8 = PermissionSaved.ID;
29
- var Info11 = PermissionSaved.Info;
30
- var ListInput4 = Schema.Struct({
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info23 = PermissionSaved.Info;
30
+ var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service57 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service66 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service57, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
42
42
  const db = (yield* Service83).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID8.create(),
60
+ id: ID9.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service57.of({ list, add, remove });
69
+ return Service66.of({ list, add, remove });
70
70
  }));
71
- var node59 = makeGlobalNode({ service: Service57, layer, deps: [node87] });
71
+ var node70 = makeGlobalNode({ service: Service66, layer, deps: [node87] });
72
72
 
73
- export { ID8, Info11, ListInput4, AddInput2, Service57, node59, exports_saved };
73
+ export { ID9, Info23, ListInput5, AddInput2, Service66, node70, exports_saved };