@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,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./shell-bwckxjxx.js";
3
+ } from "./provider-mpjm327k.js";
4
4
  import {
5
5
  Service82
6
- } from "./shell-td5vtqzv.js";
6
+ } from "./provider-q20c44bz.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./shell-47y5x0ww.js";
9
+ Event19
10
+ } from "./provider-v7c1j4fy.js";
11
11
  import {
12
- ID16,
12
+ ID14,
13
13
  MethodID2
14
- } from "./shell-0sz44tra.js";
14
+ } from "./provider-90adh171.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./shell-pjvnvgmy.js";
18
+ } from "./provider-pjvnvgmy.js";
19
19
  import {
20
20
  ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./shell-rm0ma2mx.js";
23
+ } from "./provider-as2dbdzv.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID16.make("openai"),
47
+ integrationID: ID14.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID16.make("openai"),
120
+ integrationID: ID14.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -181,11 +181,14 @@ var OpenAIPlugin3 = define({
181
181
  const item = providers.get(ID13.openai);
182
182
  if (!item)
183
183
  return;
184
- if (!chatgpt)
185
- return;
186
- const account = chatgpt.metadata?.accountID;
184
+ const account = chatgpt?.metadata?.accountID;
187
185
  providers.update(item.provider.id, (provider) => {
188
- provider.settings = mergeOverlay2(provider.settings, { baseURL: codexBaseURL });
186
+ provider.settings = mergeOverlay2(provider.settings, {
187
+ transport: provider.settings?.transport ?? "websocket",
188
+ ...chatgpt ? { baseURL: codexBaseURL } : {}
189
+ });
190
+ if (!chatgpt)
191
+ return;
189
192
  provider.headers = mergeHeaders2(provider.headers, {
190
193
  originator: "opencode",
191
194
  "x-codex-beta-features": "remote_compaction_v2",
@@ -196,9 +199,6 @@ var OpenAIPlugin3 = define({
196
199
  yield* ctx.model.transform((models) => {
197
200
  for (const model of models.list(ID13.openai)) {
198
201
  models.update(model.providerID, model.id, (draft) => {
199
- draft.settings = mergeOverlay2(draft.settings, {
200
- transport: models.provider.get(model.providerID)?.provider.settings?.transport ?? "websocket"
201
- });
202
202
  if (!chatgpt)
203
203
  return;
204
204
  if (Schema.is(Schema.Struct({ mode: Schema.Literal("pro") }))(draft.body?.reasoning)) {
@@ -227,7 +227,7 @@ var OpenAIPlugin3 = define({
227
227
  evt.headers["session-id"] = evt.sessionID;
228
228
  }), { providerID: ID13.openai });
229
229
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
230
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
231
231
  })
232
232
  });
233
233
  function headers(contentType, app) {
@@ -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/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -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/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./shell-emrn6kk6.js";
4
+ } from "./provider-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./shell-pqnn72nj.js";
7
+ } from "./provider-82kndyh8.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -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/session/usage.ts
6
6
  var exports_usage = {};
@@ -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/id/id.ts
6
6
  var exports_id = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID13
3
- } from "./shell-rm0ma2mx.js";
3
+ } from "./provider-as2dbdzv.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./shell-hjbc5kem.js";
6
+ } from "./provider-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -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
  makeUnsafe2
7
- } from "./shell-y71avatq.js";
7
+ } from "./provider-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node70
12
- } from "./shell-1fmrbde1.js";
11
+ node54
12
+ } from "./provider-chrwx1ra.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./shell-faypxj3z.js";
15
+ } from "./provider-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./provider-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID10,
25
- Info: () => Info24,
24
+ ID: () => ID6,
25
+ Info: () => Info20,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service67,
27
+ Service: () => Service50,
28
28
  Workspace: () => exports_workspace,
29
29
  configured: () => configured8,
30
- node: () => node69
30
+ node: () => node53
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID10 = Workspace.ID;
38
+ var ID6 = Workspace.ID;
39
39
 
40
- class Info24 extends Schema.Class("Workspace.Info")({
41
- id: ID10,
40
+ class Info20 extends Schema.Class("Workspace.Info")({
41
+ id: ID6,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info24 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID10,
53
+ workspaceID: ID6,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service67 extends Context.Service()("@opencode/Workspace") {
59
+ class Service50 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
61
  var configured8 = (options = {}) => makeGlobalNode({
62
- service: Service67,
62
+ service: Service50,
63
63
  layer: layer(options),
64
- deps: [node87, node70]
64
+ deps: [node87, node54]
65
65
  });
66
- var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
67
67
  const db = (yield* Service83).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info24({
83
+ const info = (row, binding) => new Info20({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service67.of({
157
+ return Service50.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID10.create();
159
+ const workspaceID = input.id ?? ID6.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node69 = configured8();
224
+ var node53 = configured8();
225
225
 
226
- export { ID10, Info24, NotFound3, CreateConflict2, Service67, configured8, node69, exports_workspace };
226
+ export { ID6, Info20, NotFound3, CreateConflict2, Service50, configured8, node53, exports_workspace };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./provider-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service24,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service24 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service24.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service24, awaitActivation2, exports_service };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service76,
3
- node80
4
- } from "./shell-qrka3egj.js";
2
+ Service80,
3
+ node84
4
+ } from "./provider-p7vtmph1.js";
5
5
  import {
6
6
  __export
7
- } from "./shell-9rqn6x4v.js";
7
+ } from "./provider-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info29,
12
+ Info: () => Info32,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref3,
15
- Service: () => Service75,
14
+ Ref: () => Ref4,
15
+ Service: () => Service79,
16
16
  boundNode: () => boundNode2,
17
- node: () => node79,
17
+ node: () => node83,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info29, Ref as Ref3, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service75 extends Context.Service()("@opencode/Location") {
24
+ class Service79 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node79 = LayerNode.unbound(Service75, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
28
- const project = yield* Service76;
26
+ var node83 = LayerNode.unbound(Service79, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
28
+ const project = yield* Service80;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service75.of({
30
+ return Service79.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service75,
38
+ service: Service79,
39
39
  layer: layer(ref, options),
40
- deps: [node80]
40
+ deps: [node84]
41
41
  });
42
42
 
43
- export { Info29, Ref3, response2, Service75, node79, boundNode2, exports_location };
43
+ export { Info32, Ref4, response2, Service79, node83, boundNode2, exports_location };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./shell-rm0ma2mx.js";
4
+ } from "./provider-as2dbdzv.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./shell-z14b3j31.js";
4
+ } from "./provider-chmcj56h.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./shell-td5vtqzv.js";
8
+ } from "./provider-q20c44bz.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./shell-pknna89w.js";
11
+ } from "./provider-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./shell-0q0f95c6.js";
14
+ } from "./provider-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./shell-9rqn6x4v.js";
17
+ } from "./provider-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
24
- ID: () => ID17,
25
- Info: () => Info33,
23
+ Event: () => Event19,
24
+ ID: () => ID15,
25
+ Info: () => Info30,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service80,
28
+ Service: () => Service77,
29
29
  Value: () => Value2,
30
- node: () => node84
30
+ node: () => node81
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID17 = Credential.ID;
37
+ var ID15 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event20 = Credential.Event;
41
+ var Event19 = Credential.Event;
42
42
 
43
- class Info33 extends Schema.Class("Credential.Info")({
44
- id: ID17,
43
+ class Info30 extends Schema.Class("Credential.Info")({
44
+ id: ID15,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service80 extends Context.Service()("@opencode/Credential") {
51
+ class Service77 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service80, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
54
54
  const db = (yield* Service83).db;
55
55
  const bus = yield* Service82;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info33({
60
+ return new Info30({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service80.of({
71
+ return Service77.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info33({
80
- id: ID17.create(),
79
+ const credential = new Info30({
80
+ id: ID15.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event20.Updated, {}, { global: true });
105
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event19.Updated, {}, { global: true });
105
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event20.Updated, {}, { global: true });
157
+ yield* bus.publish(Event19.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event20.Updated, {}, { global: true });
190
+ yield* bus.publish(Event19.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node84 = makeGlobalNode({ service: Service80, layer, deps: [node87, node86] });
196
+ var node81 = makeGlobalNode({ service: Service77, layer, deps: [node87, node86] });
197
197
 
198
- export { ID17, OAuth3, Key4, Value2, Event20, Info33, Service80, node84, exports_credential };
198
+ export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service77, node81, exports_credential };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./provider-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin46,
9
+ Plugin: () => Plugin10,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin46 = define({
25
+ var Plugin10 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin46 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin46, exports_identity };
38
+ export { identity2, Plugin10, exports_identity };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./shell-ym463w8f.js";
3
+ } from "./provider-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service82
3
- } from "./shell-td5vtqzv.js";
3
+ } from "./provider-q20c44bz.js";
4
4
  import {
5
- Service72,
6
- Event15
7
- } from "./shell-pchc4tkx.js";
5
+ Service62,
6
+ Event13
7
+ } from "./provider-n865fexc.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service72;
32
+ const modelsDev = yield* Service62;
33
33
  const bus = yield* Service82;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
@@ -59,7 +59,7 @@ var ModelsDevPlugin2 = define({
59
59
  });
60
60
  }
61
61
  });
62
- yield* bus.subscribe(Event15.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
62
+ yield* bus.subscribe(Event13.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
63
63
  })
64
64
  });
65
65
  function environmentNames(provider) {