@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,45 +1,45 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./shell-td5vtqzv.js";
4
+ } from "./provider-q20c44bz.js";
5
5
  import {
6
- node67
7
- } from "./shell-abwdezg1.js";
6
+ node42
7
+ } from "./provider-qw8em5ng.js";
8
8
  import {
9
- Service2,
10
- node3
11
- } from "./shell-71s7e542.js";
9
+ Service12,
10
+ node14
11
+ } from "./provider-w6d5a1tb.js";
12
12
  import {
13
- Service32
14
- } from "./shell-9sh4wc5j.js";
13
+ Service24
14
+ } from "./provider-v1faaxn9.js";
15
15
  import {
16
- node21,
16
+ node19,
17
17
  ID3
18
- } from "./shell-e3267ac7.js";
18
+ } from "./provider-hqpd1xnh.js";
19
19
  import {
20
- Service6,
21
- node7
22
- } from "./shell-czfptnv9.js";
20
+ Service4,
21
+ node5
22
+ } from "./provider-p37cw4rj.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./shell-47chsc3m.js";
26
+ } from "./provider-52e3x94b.js";
27
27
  import {
28
28
  make3,
29
29
  LoadError2
30
- } from "./shell-2mfnnxhz.js";
30
+ } from "./provider-3ge4rz06.js";
31
31
  import {
32
32
  Updated2,
33
- Service7,
34
- node8
35
- } from "./shell-hccg5b77.js";
33
+ Service3,
34
+ node4
35
+ } from "./provider-s0ktpnqb.js";
36
36
  import {
37
- Service5,
38
- node6
39
- } from "./shell-njhqdk9p.js";
37
+ Service2,
38
+ node3
39
+ } from "./provider-fdms3n6w.js";
40
40
  import {
41
41
  __export
42
- } from "./shell-9rqn6x4v.js";
42
+ } from "./provider-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  };
126
126
  });
127
127
  var layer3 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service32;
129
- const sdk = yield* Service7;
130
- const instance = yield* Service6;
131
- const sources = yield* Service2;
128
+ const registry = yield* Service24;
129
+ const sdk = yield* Service3;
130
+ const instance = yield* Service4;
131
+ const sources = yield* Service12;
132
132
  const modules = yield* make3();
133
133
  const bus = yield* Service82;
134
- const updates = yield* Service5;
134
+ const updates = yield* Service2;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node21,
210
- node8,
211
- node7,
209
+ node19,
210
+ node4,
211
+ node5,
212
+ node14,
212
213
  node3,
213
- node6,
214
214
  node86,
215
215
  Npm.node,
216
- node67,
216
+ node42,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./shell-td5vtqzv.js";
4
+ } from "./provider-q20c44bz.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./shell-ryqp1849.js";
6
+ Service79,
7
+ node83
8
+ } from "./provider-v2tzk7cv.js";
9
9
  import {
10
- Service66,
11
- node68
12
- } from "./shell-e2z6jaes.js";
10
+ Service49,
11
+ node52
12
+ } from "./provider-7py176jj.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./shell-gd4qta3r.js";
15
+ } from "./provider-gd4qta3r.js";
16
16
  import {
17
- Service70,
17
+ Service44,
18
18
  args2,
19
- node73
20
- } from "./shell-ppwk445r.js";
19
+ node47
20
+ } from "./provider-skzznzbs.js";
21
21
  import {
22
- Service71,
23
- node74
24
- } from "./shell-7s451enq.js";
22
+ Service68,
23
+ node72
24
+ } from "./provider-k1gkpfdk.js";
25
25
  import {
26
- Service63,
27
- node65
28
- } from "./shell-aryyw1nk.js";
26
+ Service34,
27
+ node37
28
+ } from "./provider-0t9wd588.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./shell-jexxy024.js";
31
+ } from "./provider-jexxy024.js";
32
32
  import {
33
33
  latest2,
34
- Service64,
35
- node66
36
- } from "./shell-njw6fdmp.js";
34
+ Service38,
35
+ node41
36
+ } from "./provider-vyqfs9aq.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./shell-m549exyf.js";
40
+ } from "./provider-hyrz6ndr.js";
41
41
  import {
42
42
  __export
43
- } from "./shell-9rqn6x4v.js";
43
+ } from "./provider-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError9,
49
+ NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service62,
51
+ Service: () => Service33,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node64
54
+ node: () => node36
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service62 extends Context.Service()("@opencode/Shell") {
73
+ class Service33 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service62, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
90
90
  const bus = yield* Service82;
91
- const location = yield* Service75;
91
+ const location = yield* Service79;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service70;
94
- const environment = yield* Service66;
95
- const hooks = yield* Service71;
96
- const environments = yield* Service63;
97
- const config = yield* Service64;
93
+ const shell = yield* Service44;
94
+ const environment = yield* Service49;
95
+ const hooks = yield* Service68;
96
+ const environments = yield* Service34;
97
+ const config = yield* Service38;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service62, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError9({ id });
118
+ return yield* new NotFoundError5({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service62, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError9({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service62, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service62.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service33.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node64 = makeLocationNode({
320
- service: Service62,
319
+ var node36 = makeLocationNode({
320
+ service: Service33,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node86,
324
- node79,
324
+ node83,
325
325
  Global.node,
326
- node73,
327
- node68,
328
- node74,
329
- node65,
330
- node66,
326
+ node47,
327
+ node52,
328
+ node72,
329
+ node37,
330
+ node41,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError9, RETENTION2, DIRECTORY2, Service62, cleanup2, node64, exports_shell4 };
335
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service33, cleanup2, node36, exports_shell4 };
@@ -4,28 +4,28 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./shell-3w5fmr99.js";
7
+ } from "./provider-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./shell-k3c624dm.js";
11
+ } from "./provider-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./shell-rdw6cm16.js";
14
+ } from "./provider-rdw6cm16.js";
15
15
  import {
16
- Service49,
17
- node51
18
- } from "./shell-bkxyw0dr.js";
16
+ Service42,
17
+ node45
18
+ } from "./provider-3b9qt4hj.js";
19
19
  import {
20
- Service71,
21
- node74
22
- } from "./shell-7s451enq.js";
20
+ Service68,
21
+ node72
22
+ } from "./provider-k1gkpfdk.js";
23
23
  import {
24
24
  match2
25
- } from "./shell-y1fvbwt7.js";
25
+ } from "./provider-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./shell-9rqn6x4v.js";
28
+ } from "./provider-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
@@ -35,10 +35,10 @@ __export(exports_tool, {
35
35
  Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service48,
38
+ Service: () => Service36,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node50
41
+ node: () => node39
42
42
  });
43
43
  import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service48 extends Context.Service()("@opencode/Tool") {
54
+ class Service36 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service48, Effect.gen(function* () {
57
- const hooks = yield* Service71;
58
- const image = yield* Service49;
56
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
57
+ const hooks = yield* Service68;
58
+ const image = yield* Service42;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service48.of({
187
+ return Service36.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node50 = makeLocationNode({
277
- service: Service48,
276
+ var node39 = makeLocationNode({
277
+ service: Service36,
278
278
  layer,
279
- deps: [node74, node51]
279
+ deps: [node72, node45]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service48, node50, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service36, node39, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82
3
- } from "./shell-td5vtqzv.js";
3
+ } from "./provider-q20c44bz.js";
4
4
  import {
5
- Service78
6
- } from "./shell-90jcfcfk.js";
5
+ Service71
6
+ } from "./provider-wydv7ax3.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./shell-rdw6cm16.js";
12
+ } from "./provider-rdw6cm16.js";
13
13
  import {
14
- Service32,
14
+ Service24,
15
15
  awaitActivation2
16
- } from "./shell-9sh4wc5j.js";
16
+ } from "./provider-v1faaxn9.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./shell-hkhrhfk6.js";
21
+ } from "./provider-gztt0stp.js";
22
22
  import {
23
23
  __export
24
- } from "./shell-9rqn6x4v.js";
24
+ } from "./provider-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service32,
33
+ Service: () => Service24,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node21
37
+ node: () => node19
38
38
  });
39
39
  import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service32, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
44
44
  const bus = yield* Service82;
45
- const kv = yield* Service78;
45
+ const kv = yield* Service71;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service32.of({
208
+ return Service24.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node21 = Node.makeLocationNode({
226
- service: Service32,
225
+ var node19 = Node.makeLocationNode({
226
+ service: Service24,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node21, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
231
+ export { node19, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
@@ -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/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin24,
11
+ Plugin: () => Plugin28,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin24 = {
67
+ var Plugin28 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin24 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin24, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin28, exports_opencode };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./shell-gd4qta3r.js";
3
+ } from "./provider-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./shell-tvtrv512.js";
6
+ } from "./provider-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./shell-rdw6cm16.js";
9
+ } from "./provider-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./shell-9rqn6x4v.js";
12
+ } from "./provider-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service68,
21
+ Service: () => Service35,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node71
23
+ node: () => node38
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service68 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service35 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service68, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service68.of({
125
+ return Service35.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node71 = makeLocationNode({
143
- service: Service68,
142
+ var node38 = makeLocationNode({
143
+ service: Service35,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service68, node71, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service35, node38, exports_tool_output2 };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./shell-td5vtqzv.js";
4
+ } from "./provider-q20c44bz.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./shell-2402vzrj.js";
11
+ } from "./provider-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./shell-922hggd3.js";
14
+ } from "./provider-922hggd3.js";
15
15
  import {
16
- Service44,
17
- node46
18
- } from "./shell-dd6hp5pa.js";
16
+ Service52,
17
+ node56
18
+ } from "./provider-c0f3p06s.js";
19
19
  import {
20
20
  create3
21
- } from "./shell-rdw6cm16.js";
21
+ } from "./provider-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./shell-9rqn6x4v.js";
24
+ } from "./provider-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event8,
29
+ Event: () => Event7,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info8,
31
+ Info: () => Info17,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service43,
34
+ Service: () => Service41,
35
35
  Source: () => Source4,
36
- node: () => node45
36
+ node: () => node44
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event8 } from "@opencode/schema/reference";
42
+ import { Event as Event7 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source4 = Reference.Source;
46
- var Info8 = Reference.Info;
46
+ var Info17 = Reference.Info;
47
47
 
48
- class Service43 extends Context.Service()("@opencode/Reference") {
48
+ class Service41 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service43, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service82;
53
- const cache = yield* Service44;
53
+ const cache = yield* Service52;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info8.make({ ...info, path: source.path })];
63
+ return [Info17.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info8.make({
75
+ Info17.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service43.of({
107
+ return Service41.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node45 = makeLocationNode({
116
- service: Service43,
115
+ var node44 = makeLocationNode({
116
+ service: Service41,
117
117
  layer,
118
- deps: [Global.node, node86, node46]
118
+ deps: [Global.node, node86, node56]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source4, Info8, Service43, node45, exports_reference2, Event8 };
121
+ export { LocalSource2, GitSource2, Source4, Info17, Service41, node44, exports_reference2, Event7 };