@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,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./shell-922hggd3.js";
4
+ } from "./provider-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./shell-y71avatq.js";
7
+ } from "./provider-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./shell-tazgh4e4.js";
12
+ } from "./provider-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./shell-ef5x83kb.js";
15
+ } from "./provider-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./provider-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service77,
26
+ Service: () => Service81,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node81
30
+ node: () => node85
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service77 extends Context.Service()("@opencode/Git") {
96
+ class Service81 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service77, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service77.of({
422
+ return Service81.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node81 = makeGlobalNode({ service: Service77, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service77, node81, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./shell-gftt206x.js";
3
+ } from "./provider-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./provider-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -401,4 +401,4 @@ function update3(adapter, event) {
401
401
  return project(event);
402
402
  }
403
403
 
404
- export { update3, exports_message_updater };
404
+ export { update2, exports_message_updater };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service6,
9
+ Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node7
11
+ node: () => node5
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service6 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node7 = makeLocationNode({
19
- service: Service6,
18
+ var node5 = makeLocationNode({
19
+ service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
29
+ return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service6, node7, bound2, exports_instance2 };
32
+ export { Service4, node5, bound2, exports_instance2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID9,
2
+ ID10,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./shell-rjzyvn6d.js";
5
+ } from "./provider-h2pkw5gw.js";
6
6
  import {
7
7
  merge2
8
- } from "./shell-wh971x00.js";
8
+ } from "./provider-j7s4bfg0.js";
9
9
  import {
10
10
  __export
11
- } from "./shell-9rqn6x4v.js";
11
+ } from "./provider-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent2 = {};
15
- __export(exports_agent2, {
16
- AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin44
14
+ var exports_agent = {};
15
+ __export(exports_agent, {
16
+ AgentPlugin: () => exports_agent,
17
+ Plugin: () => Plugin13
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin44 = define({
93
+ var Plugin13 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin44 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID9.make("general"), (item) => {
103
+ editor.update(ID10.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID9.make("explore"), (item) => {
109
+ editor.update(ID10.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin44 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID9.make("compaction"), (item) => {
128
+ editor.update(ID10.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID9.make("title"), (item) => {
133
+ editor.update(ID10.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID9.make("summary"), (item) => {
140
+ editor.update(ID10.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin44 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin44, exports_agent2 };
151
+ export { Plugin13, exports_agent };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./shell-922hggd3.js";
3
+ } from "./provider-922hggd3.js";
4
4
  import {
5
5
  Service83,
6
6
  node87
7
- } from "./shell-z14b3j31.js";
7
+ } from "./provider-chmcj56h.js";
8
8
  import {
9
9
  Service82,
10
10
  node86
11
- } from "./shell-td5vtqzv.js";
11
+ } from "./provider-q20c44bz.js";
12
12
  import {
13
- Service77,
14
- node81
15
- } from "./shell-0z6w7vfv.js";
13
+ Service81,
14
+ node85
15
+ } from "./provider-nsarsp7q.js";
16
16
  import {
17
- ID15,
17
+ ID18,
18
18
  Current3,
19
- Info31,
19
+ Info34,
20
20
  UpdateInput4,
21
- Event18,
21
+ Event21,
22
22
  Vcs3
23
- } from "./shell-aamtrqep.js";
23
+ } from "./provider-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./shell-8p4f9s12.js";
27
+ } from "./provider-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./shell-cfpkc3c9.js";
30
+ } from "./provider-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./shell-9rqn6x4v.js";
33
+ } from "./provider-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID14,
40
- Info: () => Info30,
41
- NotFoundError: () => NotFoundError10,
39
+ ID: () => ID17,
40
+ Info: () => Info33,
41
+ NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service76,
43
+ Service: () => Service80,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node80,
46
+ node: () => node84,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID14 = ID15;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info30 = Info31;
61
+ var Info33 = Info34;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID14
64
+ class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service76 extends Context.Service()("@opencode/Project") {
74
+ class Service80 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,9 +93,9 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service76, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service77;
98
+ const git = yield* Service81;
99
99
  const proc = yield* AppProcess.Service;
100
100
  const bus = yield* Service82;
101
101
  const db = (yield* Service83).db;
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event18.Updated, fromRow(row));
109
+ yield* bus.publish(Event21.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
143
143
  yield* bus.publish(Worktree.Event.Resolved, {
144
144
  projectID: item.projectID,
145
145
  directory: item.directory,
146
- previous: project.previous ?? ID14.global,
146
+ previous: project.previous ?? ID17.global,
147
147
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
148
148
  }, {
149
149
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError10({ projectID: input.projectID });
169
+ return yield* new NotFoundError11({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event18.Updated, project);
171
+ yield* bus.publish(Event21.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID14.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID14.make(root) : undefined;
211
+ return root ? ID17.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID14.make(node) : undefined;
227
+ return node ? ID17.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID14.global,
236
+ id: id ?? ID17.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID14.global,
253
+ id: id ?? ID17.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID14.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service76.of({ list, update, resolve });
273
+ return Service80.of({ list, update, resolve });
274
274
  }));
275
- var node80 = makeGlobalNode({
276
- service: Service76,
275
+ var node84 = makeGlobalNode({
276
+ service: Service80,
277
277
  layer,
278
- deps: [node86, node87, FSUtil.node, node81, AppProcess.node]
278
+ deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID14, Vcs2, Current2, Info30, UpdateInput3, NotFoundError10, root2, Service76, node80, exports_project };
281
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
@@ -1,144 +1,144 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./shell-jzg6c2d5.js";
3
+ } from "./provider-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./shell-q3sfg36h.js";
6
+ } from "./provider-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./shell-1cnp2v09.js";
9
+ } from "./provider-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./shell-rcb2kzg1.js";
12
+ } from "./provider-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./shell-msx8hqn2.js";
15
+ } from "./provider-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./shell-bkyjaxrp.js";
18
+ } from "./provider-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./shell-g86h250q.js";
21
+ } from "./provider-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./shell-jr7sbwjy.js";
24
+ } from "./provider-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./shell-7m9af43g.js";
27
+ } from "./provider-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./shell-j2ntwpah.js";
30
+ } from "./provider-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./shell-njntx4h6.js";
33
+ } from "./provider-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./shell-qrg20bc0.js";
36
+ } from "./provider-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./shell-z9919s4g.js";
39
+ } from "./provider-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./shell-43n2bw4t.js";
42
+ } from "./provider-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./shell-n3j8tn72.js";
45
+ } from "./provider-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./shell-d9jj8t3e.js";
48
+ } from "./provider-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./shell-fd410y7t.js";
51
+ } from "./provider-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./shell-e5kj55wp.js";
54
+ } from "./provider-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./shell-f6n9ztr4.js";
57
+ } from "./provider-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./shell-q74kybfr.js";
60
+ } from "./provider-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./shell-53557ph1.js";
63
+ } from "./provider-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./shell-7akdwqpd.js";
66
+ } from "./provider-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./shell-wer8tq1h.js";
69
+ } from "./provider-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./shell-wtztk69x.js";
72
+ } from "./provider-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./shell-ssg3fenm.js";
75
+ } from "./provider-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./shell-2c3vjs8z.js";
78
+ } from "./provider-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./shell-17cy0kzp.js";
81
+ } from "./provider-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./shell-hk9envan.js";
84
+ } from "./provider-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./shell-w803qqfp.js";
87
+ } from "./provider-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./shell-jwfs4k6c.js";
90
+ } from "./provider-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./shell-mp448xyj.js";
93
+ } from "./provider-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./shell-aqzs7mqg.js";
96
+ } from "./provider-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./shell-ygaqb7jw.js";
99
+ } from "./provider-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./shell-8n3pysct.js";
102
+ } from "./provider-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./shell-d9fn303g.js";
105
+ } from "./provider-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./shell-cvy3z8tj.js";
108
+ } from "./provider-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./shell-9a4afbnw.js";
111
+ } from "./provider-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./shell-n05xt0ee.js";
114
+ } from "./provider-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./shell-sdp7kfr6.js";
117
+ } from "./provider-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./shell-a6k6eb26.js";
120
+ } from "./provider-a6k6eb26.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./shell-4knz6hnm.js";
123
+ } from "./provider-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./shell-df08tz66.js";
126
+ } from "./provider-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./shell-bmr6ed5q.js";
129
+ } from "./provider-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./shell-atq7p7m5.js";
132
+ } from "./provider-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./shell-qb87gjwd.js";
135
+ } from "./provider-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./shell-359p4xyc.js";
138
+ } from "./provider-359p4xyc.js";
139
139
  import {
140
140
  _20260910120000_clear_v1_session_permission_default
141
- } from "./shell-y8f7s663.js";
141
+ } from "./provider-y8f7s663.js";
142
142
 
143
143
  // src/database/migration.gen.ts
144
144
  var migrations2 = [
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ID13
3
- } from "./shell-rm0ma2mx.js";
3
+ } from "./provider-as2dbdzv.js";
4
4
  import {
5
5
  iife2
6
- } from "./shell-1kg9ymc8.js";
6
+ } from "./provider-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./shell-zw03yv4t.js";
9
+ } from "./provider-671mfjqz.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./shell-qfa1cgps.js";
3
+ } from "./provider-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";