@opencode/core 0.0.0-dev-20066 → 0.0.0-dev-20068

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-am6bd3dm.js → schema-04t6vhh2.js} +11 -11
  8. package/dist/chunks/{file-bbme6enf.js → schema-0ak0g8qp.js} +3 -3
  9. package/dist/chunks/{file-8fkqwjdd.js → schema-0eppds2k.js} +9 -9
  10. package/dist/chunks/schema-0et57d8k.js +252 -0
  11. package/dist/chunks/{file-kxpygcw9.js → schema-0ft9cg2j.js} +4 -4
  12. package/dist/chunks/{file-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-qx11y599.js → schema-0wddnwfq.js} +20 -20
  14. package/dist/chunks/{file-rz7a4p9d.js → schema-1365j5nm.js} +13 -13
  15. package/dist/chunks/{file-97w5rk9e.js → schema-15nepkqg.js} +8 -8
  16. package/dist/chunks/{file-czfptnv9.js → schema-1ajx6rf5.js} +8 -8
  17. package/dist/chunks/{file-bda1vq26.js → schema-1brzvxsn.js} +8 -8
  18. package/dist/chunks/{file-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-gyk2hwcy.js → schema-1fgq5ex7.js} +30 -30
  20. package/dist/chunks/{file-ydgy0jv4.js → schema-1fmrbde1.js} +6 -6
  21. package/dist/chunks/{file-z36jzmxf.js → schema-1rd6czrg.js} +4 -4
  22. package/dist/chunks/{file-t4g7br61.js → schema-21kk9ey9.js} +2 -2
  23. package/dist/chunks/{file-21r38tys.js → schema-21r38tys.js} +1 -1
  24. package/dist/chunks/{file-dwrwq0kr.js → schema-21xm8fz3.js} +7 -7
  25. package/dist/chunks/{file-5vg5mx5r.js → schema-22y0n5cd.js} +11 -11
  26. package/dist/chunks/{file-p9g2yd2c.js → schema-23sw09pj.js} +5 -5
  27. package/dist/chunks/{file-2402vzrj.js → schema-2402vzrj.js} +1 -1
  28. package/dist/chunks/{file-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{file-ba4w6g48.js → schema-2gv5qy1y.js} +12 -12
  30. package/dist/chunks/{file-tnt1t2kr.js → schema-2krp1dn7.js} +11 -11
  31. package/dist/chunks/{file-nbm66a7c.js → schema-2s9emtnm.js} +17 -17
  32. package/dist/chunks/{file-rsx24g7m.js → schema-2xanj3y6.js} +21 -21
  33. package/dist/chunks/{file-xvs8r2xn.js → schema-32ngwk73.js} +17 -17
  34. package/dist/chunks/{file-n7e5sdch.js → schema-3djsbczj.js} +4 -4
  35. package/dist/chunks/{file-j8zzr2am.js → schema-3e147rt9.js} +7 -7
  36. package/dist/chunks/{file-6nz9a8mm.js → schema-3e5hztjw.js} +4 -4
  37. package/dist/chunks/{file-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{file-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{file-7qhbze1a.js → schema-3n6q8bv2.js} +15 -15
  40. package/dist/chunks/{file-2nnkyhgj.js → schema-3pgqp7v9.js} +4 -4
  41. package/dist/chunks/{file-h4z1mxff.js → schema-3qaj82j9.js} +5 -5
  42. package/dist/chunks/{file-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{file-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{file-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{file-qxqnn5g6.js → schema-43vj5j1g.js} +8 -8
  46. package/dist/chunks/{file-nkxenpss.js → schema-4cmte46y.js} +6 -6
  47. package/dist/chunks/{file-sqjb59je.js → schema-4etra8x0.js} +11 -11
  48. package/dist/chunks/{file-p1k7cjr6.js → schema-4g0aw377.js} +11 -11
  49. package/dist/chunks/{file-pxs200gq.js → schema-4m11sss1.js} +29 -29
  50. package/dist/chunks/{file-bkj6m2b4.js → schema-4p60s6mc.js} +79 -79
  51. package/dist/chunks/{file-ttf98hsm.js → schema-4pe5mkqw.js} +13 -13
  52. package/dist/chunks/{file-sr7es49j.js → schema-4pkmhnfb.js} +12 -12
  53. package/dist/chunks/{file-q4sh3est.js → schema-4r89mkx8.js} +9 -9
  54. package/dist/chunks/{file-y7xgn7p7.js → schema-4tzv48n0.js} +27 -27
  55. package/dist/chunks/{file-j551d5nt.js → schema-4xstzax4.js} +17 -17
  56. package/dist/chunks/{file-ezshsjxy.js → schema-51dx2b5g.js} +13 -13
  57. package/dist/chunks/{file-56dkfrzf.js → schema-53fyba40.js} +4 -4
  58. package/dist/chunks/{file-dkhsgy42.js → schema-57b9ws8p.js} +7 -7
  59. package/dist/chunks/{file-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{file-pxt4kznk.js → schema-5cmxdwv8.js} +3 -3
  61. package/dist/chunks/{file-5daktx2q.js → schema-5daktx2q.js} +1 -1
  62. package/dist/chunks/{file-5ekn9679.js → schema-5ekn9679.js} +1 -1
  63. package/dist/chunks/{file-d6mxctwy.js → schema-5p1sgbr7.js} +9 -9
  64. package/dist/chunks/{file-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{file-68y7phbn.js → schema-607q5haz.js} +5 -5
  66. package/dist/chunks/{file-669tq793.js → schema-669tq793.js} +1 -1
  67. package/dist/chunks/{file-fvx3366n.js → schema-6a6hn4p4.js} +13 -13
  68. package/dist/chunks/{file-0qjcdq53.js → schema-6htx4nwr.js} +14 -14
  69. package/dist/chunks/{file-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{file-f5gy8qwh.js → schema-6ysrkrkr.js} +8 -8
  71. package/dist/chunks/{file-4cxjs54m.js → schema-71g12y8g.js} +4 -4
  72. package/dist/chunks/{file-9s342vhy.js → schema-750bqw08.js} +16 -16
  73. package/dist/chunks/{file-wtfahf6y.js → schema-798v7mfg.js} +17 -17
  74. package/dist/chunks/{file-55bva0cb.js → schema-79y3jrde.js} +20 -20
  75. package/dist/chunks/{file-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{file-kas5k1as.js → schema-7mqqegap.js} +7 -7
  77. package/dist/chunks/{file-kjqsq5n4.js → schema-8349yjnv.js} +15 -15
  78. package/dist/chunks/{file-z99t6cgy.js → schema-84s1vm7q.js} +11 -11
  79. package/dist/chunks/{file-k475yrwb.js → schema-854y6ept.js} +34 -34
  80. package/dist/chunks/{file-0dv41atz.js → schema-86n5f4j7.js} +6 -6
  81. package/dist/chunks/{file-1gdesbhr.js → schema-8a9kwrve.js} +25 -25
  82. package/dist/chunks/{file-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{file-2qsg2f9e.js → schema-8qmjzw20.js} +16 -16
  84. package/dist/chunks/{file-gfvb90ym.js → schema-94ek1h2f.js} +2 -2
  85. package/dist/chunks/{file-9rn8m20s.js → schema-99249730.js} +1 -1
  86. package/dist/chunks/{file-1dn8ht41.js → schema-99647hmk.js} +32 -32
  87. package/dist/chunks/{file-xqyrxn4h.js → schema-9jm5k1pc.js} +8 -8
  88. package/dist/chunks/{file-4ecq8z8w.js → schema-9jn1v8n4.js} +9 -9
  89. package/dist/chunks/{file-pyj3yp56.js → schema-9n8ak2h1.js} +4 -4
  90. package/dist/chunks/{file-b8v9yxrh.js → schema-a1w0bh0r.js} +33 -33
  91. package/dist/chunks/{file-pn3cc07s.js → schema-a2qe2ev9.js} +8 -8
  92. package/dist/chunks/{file-aaet6srn.js → schema-aaet6srn.js} +2 -2
  93. package/dist/chunks/{file-vywjjxxp.js → schema-azejft3h.js} +20 -20
  94. package/dist/chunks/{file-vh6m29va.js → schema-azgx1nga.js} +19 -19
  95. package/dist/chunks/{file-r811hg4m.js → schema-b26at605.js} +11 -11
  96. package/dist/chunks/{file-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  97. package/dist/chunks/{file-6vbjy3nf.js → schema-b74jhqyh.js} +28 -28
  98. package/dist/chunks/{file-1e6560a0.js → schema-bc8ybda4.js} +9 -9
  99. package/dist/chunks/{file-c6dyb1r1.js → schema-bfsvxfz0.js} +29 -29
  100. package/dist/chunks/{file-vj0mxn79.js → schema-bkk1ay02.js} +11 -11
  101. package/dist/chunks/{file-pp4c4k8z.js → schema-bq4g5957.js} +4 -4
  102. package/dist/chunks/{file-30stdhmk.js → schema-bttjrvqw.js} +22 -22
  103. package/dist/chunks/{file-rhc6bd81.js → schema-bxav69s2.js} +18 -18
  104. package/dist/chunks/{file-71jq3e50.js → schema-c0knr1es.js} +14 -14
  105. package/dist/chunks/{file-1gsxrzjh.js → schema-c21zn749.js} +14 -14
  106. package/dist/chunks/{file-wwpqqed2.js → schema-c3whs05w.js} +3 -3
  107. package/dist/chunks/{file-3tpvs2ax.js → schema-c99cqkw7.js} +24 -24
  108. package/dist/chunks/{file-stvehstt.js → schema-cbmy1d4v.js} +5 -5
  109. package/dist/chunks/{file-54tcyq79.js → schema-ckecvw8r.js} +2 -2
  110. package/dist/chunks/{file-5mtzsd3b.js → schema-cpj0znwe.js} +4 -4
  111. package/dist/chunks/{file-nnvbrnj9.js → schema-cvcncckx.js} +33 -33
  112. package/dist/chunks/{file-afae926q.js → schema-cvekkaw8.js} +8 -8
  113. package/dist/chunks/{file-myqzkpm0.js → schema-d08f925z.js} +5 -5
  114. package/dist/chunks/{file-dvvawg7j.js → schema-d0jrvpgb.js} +29 -29
  115. package/dist/chunks/{file-g4nzdvdr.js → schema-d0wejq28.js} +3 -3
  116. package/dist/chunks/{file-pfq1ksym.js → schema-d9wzmzc3.js} +5 -5
  117. package/dist/chunks/{file-ysyhm521.js → schema-dgb7xf30.js} +21 -21
  118. package/dist/chunks/{file-gjwgx2c5.js → schema-djszqvmq.js} +9 -9
  119. package/dist/chunks/{file-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
  120. package/dist/chunks/{file-605v3z54.js → schema-dq5ym5fs.js} +35 -35
  121. package/dist/chunks/{file-bbashmg5.js → schema-dtnx79zk.js} +24 -24
  122. package/dist/chunks/{file-f2q0nfy3.js → schema-dvgd3rha.js} +3 -3
  123. package/dist/chunks/{file-6vcgy8rt.js → schema-dwpj3xc6.js} +11 -11
  124. package/dist/chunks/{file-rvgdez9r.js → schema-dx61neqa.js} +20 -20
  125. package/dist/chunks/schema-dxj72tfx.js +18 -0
  126. package/dist/chunks/{file-80jpmz44.js → schema-e89kpxws.js} +11 -11
  127. package/dist/chunks/{file-azgavcp7.js → schema-e8f8pgjf.js} +23 -23
  128. package/dist/chunks/{file-zfx41g5b.js → schema-e9k66s6p.js} +5 -5
  129. package/dist/chunks/{file-0gdmqesm.js → schema-eaj1djv9.js} +8 -8
  130. package/dist/chunks/{file-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{file-qr7ng78v.js → schema-egc3yevh.js} +12 -12
  132. package/dist/chunks/{file-erw5rpbs.js → schema-erw5rpbs.js} +2 -2
  133. package/dist/chunks/{file-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{file-dyyp5385.js → schema-ev08srva.js} +15 -15
  135. package/dist/chunks/{file-tn0aqsam.js → schema-evbgk2k8.js} +5 -5
  136. package/dist/chunks/{file-c3xqhexw.js → schema-ey28dp55.js} +13 -13
  137. package/dist/chunks/{file-9kdq5cm5.js → schema-f5thdj5b.js} +44 -44
  138. package/dist/chunks/{file-ezy6at35.js → schema-f6p0q2g2.js} +15 -15
  139. package/dist/chunks/{file-awqs82k3.js → schema-f724bymh.js} +26 -26
  140. package/dist/chunks/{file-6ms7eb8z.js → schema-f9t32q2w.js} +7 -7
  141. package/dist/chunks/{file-cnrdk8yx.js → schema-feqe9m6b.js} +21 -21
  142. package/dist/chunks/{file-gv418ss3.js → schema-fnxsaa4j.js} +22 -22
  143. package/dist/chunks/{file-1dcnnnbr.js → schema-g17ae1qh.js} +3 -3
  144. package/dist/chunks/{file-z2n1er87.js → schema-g3mqb04e.js} +11 -11
  145. package/dist/chunks/{file-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{file-ja31eptw.js → schema-gdt8128r.js} +15 -15
  147. package/dist/chunks/{file-6p9d4jjd.js → schema-gs95kj1c.js} +21 -21
  148. package/dist/chunks/{file-8exbv5ee.js → schema-gsac5713.js} +23 -23
  149. package/dist/chunks/{file-pghyzkbc.js → schema-gsk7mn2e.js} +159 -159
  150. package/dist/chunks/{file-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{file-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  152. package/dist/chunks/schema-hbecebtg.js +96 -0
  153. package/dist/chunks/{file-7f29k4yc.js → schema-hd6mtbc2.js} +1 -1
  154. package/dist/chunks/{file-st08tkdm.js → schema-hj3kzhjm.js} +17 -17
  155. package/dist/chunks/{file-whv1wwce.js → schema-hnc22933.js} +23 -23
  156. package/dist/chunks/{file-9kqy81kb.js → schema-hqtqhwxa.js} +11 -11
  157. package/dist/chunks/{file-hnc853s2.js → schema-hqztqa4w.js} +16 -16
  158. package/dist/chunks/{file-vf909yfy.js → schema-hwh6dse8.js} +20 -20
  159. package/dist/chunks/{file-4xep0k5d.js → schema-hxx1gems.js} +7 -7
  160. package/dist/chunks/{file-j56e64zr.js → schema-j56e64zr.js} +1 -1
  161. package/dist/chunks/{file-np95gk1g.js → schema-j7xxj57g.js} +5 -5
  162. package/dist/chunks/{file-d82rywaa.js → schema-jesqq2b8.js} +2 -2
  163. package/dist/chunks/{file-3j12ts0c.js → schema-jj43yjqp.js} +9 -9
  164. package/dist/chunks/{file-n35d2xk4.js → schema-jjs74g98.js} +9 -9
  165. package/dist/chunks/{file-9283747x.js → schema-jkq931gc.js} +17 -17
  166. package/dist/chunks/{file-hnr5yq9h.js → schema-jv01nqvq.js} +5 -5
  167. package/dist/chunks/{file-xw0r27ex.js → schema-jvf3yq6v.js} +4 -4
  168. package/dist/chunks/{file-a8bn8zg0.js → schema-jw80jp6b.js} +4 -4
  169. package/dist/chunks/{file-eqdkrvcq.js → schema-jwpzwwy6.js} +16 -16
  170. package/dist/chunks/{file-e4pvga2e.js → schema-jyrfr5z0.js} +3 -3
  171. package/dist/chunks/{file-nzks3jc8.js → schema-k3c624dm.js} +3 -3
  172. package/dist/chunks/{file-b710rs9d.js → schema-k3dr35yq.js} +6 -6
  173. package/dist/chunks/{file-y35sf2j4.js → schema-kb6gw2zp.js} +5 -5
  174. package/dist/chunks/{file-d36n6r0a.js → schema-ke47ra3q.js} +73 -67
  175. package/dist/chunks/{file-c7sdca4y.js → schema-ksngh15a.js} +13 -13
  176. package/dist/chunks/{file-r6yqkj2r.js → schema-kvb5pf0f.js} +7 -7
  177. package/dist/chunks/{file-a8zr1srk.js → schema-kwb80b5k.js} +5 -5
  178. package/dist/chunks/{file-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{file-r9njx374.js → schema-m8q517q3.js} +32 -32
  180. package/dist/chunks/{file-7g3edgp3.js → schema-m9dec5st.js} +30 -30
  181. package/dist/chunks/{file-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{file-nkstvzp1.js → schema-mff6ah6z.js} +52 -52
  183. package/dist/chunks/{file-rxgx23cf.js → schema-mfh2s9n9.js} +22 -22
  184. package/dist/chunks/{file-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
  185. package/dist/chunks/{file-j028xdjb.js → schema-mhkvc446.js} +3 -3
  186. package/dist/chunks/{file-j7ym9e45.js → schema-mksgfzgs.js} +3 -3
  187. package/dist/chunks/{file-7nthvdt2.js → schema-mtptma85.js} +18 -18
  188. package/dist/chunks/{file-3ppptnan.js → schema-mx9vqzsb.js} +6 -6
  189. package/dist/chunks/{file-yj7a9dsc.js → schema-n2rked60.js} +10 -10
  190. package/dist/chunks/{file-xrpg47n6.js → schema-n37c4crj.js} +9 -9
  191. package/dist/chunks/{file-0t2n07hj.js → schema-nbgtvmt2.js} +7 -7
  192. package/dist/chunks/{file-48b5k7kh.js → schema-ngaq65z3.js} +9 -9
  193. package/dist/chunks/{file-pyjj1jkz.js → schema-nkh7hwh6.js} +5 -5
  194. package/dist/chunks/{file-ezpe7cx6.js → schema-nrf9nkf4.js} +39 -39
  195. package/dist/chunks/{file-p44d8wdy.js → schema-nxhqveyz.js} +5 -5
  196. package/dist/chunks/{file-8rn5da1k.js → schema-p173zzzp.js} +69 -69
  197. package/dist/chunks/{file-dskjz5tz.js → schema-p70m8tan.js} +29 -29
  198. package/dist/chunks/schema-pemgqcj3.js +26 -0
  199. package/dist/chunks/{file-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{file-pknna89w.js → schema-pknna89w.js} +1 -1
  201. package/dist/chunks/{file-6vysq8xy.js → schema-pmrtsbw6.js} +18 -18
  202. package/dist/chunks/{file-28p9c2n7.js → schema-pxar5t5x.js} +27 -27
  203. package/dist/chunks/{file-yvt1qck6.js → schema-q1wd5bqe.js} +3 -3
  204. package/dist/chunks/{file-66pcvekw.js → schema-q23t71ky.js} +12 -12
  205. package/dist/chunks/{file-1cfhk7sn.js → schema-qf9g56f3.js} +40 -40
  206. package/dist/chunks/{file-7dqw4kz8.js → schema-qgn6gcr1.js} +5 -5
  207. package/dist/chunks/{file-rf9b2e2p.js → schema-qnn3verk.js} +9 -9
  208. package/dist/chunks/{file-n14ayrh8.js → schema-qpqjws28.js} +9 -9
  209. package/dist/chunks/{file-qsdy395h.js → schema-qsdy395h.js} +1 -1
  210. package/dist/chunks/{file-80eyc1fc.js → schema-qx20pxr4.js} +48 -48
  211. package/dist/chunks/{file-mys7ftvb.js → schema-r1t33gv4.js} +4 -4
  212. package/dist/chunks/{file-sfntmzm9.js → schema-r3c4069c.js} +1 -1
  213. package/dist/chunks/{file-bqgb4xv5.js → schema-rd930brt.js} +42 -42
  214. package/dist/chunks/{file-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{file-pr1vsgjy.js → schema-rk8hkmen.js} +33 -33
  216. package/dist/chunks/{file-r3rtvjkk.js → schema-rr1xtvmv.js} +40 -40
  217. package/dist/chunks/{file-3zt59cyk.js → schema-rs4ad808.js} +19 -19
  218. package/dist/chunks/{file-d2jkntah.js → schema-rtrqs7aw.js} +30 -30
  219. package/dist/chunks/{file-eebxfdqy.js → schema-s1n69xg5.js} +17 -17
  220. package/dist/chunks/{file-hvpdgzkp.js → schema-sgds5tk2.js} +5 -5
  221. package/dist/chunks/{file-rgy7ctyq.js → schema-spqcpneg.js} +6 -6
  222. package/dist/chunks/{file-q5xa8nqs.js → schema-stgrmxrp.js} +10 -10
  223. package/dist/chunks/{file-3ejevnbt.js → schema-stka8cwy.js} +26 -26
  224. package/dist/chunks/{file-qjrh95de.js → schema-szbdaj22.js} +4 -4
  225. package/dist/chunks/{file-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{file-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{file-tdstcens.js → schema-tdstcens.js} +1 -1
  228. package/dist/chunks/{file-3x5m1xpp.js → schema-tfw5vp5y.js} +3 -3
  229. package/dist/chunks/{file-b9k40ts2.js → schema-tfz8ht6g.js} +11 -11
  230. package/dist/chunks/{file-wj76ss2k.js → schema-tfzngn12.js} +4 -4
  231. package/dist/chunks/{file-cefeattc.js → schema-trgn506r.js} +10 -10
  232. package/dist/chunks/{file-tvtrv512.js → schema-tvtrv512.js} +1 -1
  233. package/dist/chunks/{file-44bd19a6.js → schema-twax0pxr.js} +23 -23
  234. package/dist/chunks/{file-zkknr3xm.js → schema-tyqw9b1a.js} +7 -7
  235. package/dist/chunks/{file-xv7de5q4.js → schema-v00q4dqv.js} +16 -16
  236. package/dist/chunks/{file-cbzqd5vv.js → schema-v53t4mb7.js} +11 -11
  237. package/dist/chunks/{file-a2ew8a62.js → schema-v5dkyp31.js} +4 -4
  238. package/dist/chunks/{file-veqvce7d.js → schema-veqvce7d.js} +1 -1
  239. package/dist/chunks/{file-rfkfgx1j.js → schema-vmgq4x8b.js} +2 -2
  240. package/dist/chunks/{file-c769d21z.js → schema-vmwh049b.js} +6 -6
  241. package/dist/chunks/{file-r98e92ep.js → schema-vncycja5.js} +4 -4
  242. package/dist/chunks/{file-28rjj3zm.js → schema-vt5nkxs5.js} +23 -23
  243. package/dist/chunks/{file-vtxr0yy2.js → schema-vtxr0yy2.js} +2 -2
  244. package/dist/chunks/{file-wb4z42q3.js → schema-vz4jg4k9.js} +8 -8
  245. package/dist/chunks/{file-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{file-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{file-67d2xr1y.js → schema-w9xbefsq.js} +13 -13
  248. package/dist/chunks/{file-psazpmmj.js → schema-wd3x2cqz.js} +2 -2
  249. package/dist/chunks/{file-wd87259q.js → schema-wd87259q.js} +1 -1
  250. package/dist/chunks/{file-g6qn7enb.js → schema-we5e1hqv.js} +5 -5
  251. package/dist/chunks/{file-xgtymt5b.js → schema-wfvmvx5v.js} +33 -33
  252. package/dist/chunks/{file-zsr300m5.js → schema-wq4mmp7m.js} +4 -4
  253. package/dist/chunks/{file-2gvhzvms.js → schema-wvm3e786.js} +5 -5
  254. package/dist/chunks/{file-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{file-rs94dpxv.js → schema-x21w7dsp.js} +25 -25
  256. package/dist/chunks/{file-e6hsj8k3.js → schema-x7pgzbrc.js} +13 -13
  257. package/dist/chunks/{file-g9nmy09s.js → schema-x98p3fja.js} +42 -42
  258. package/dist/chunks/{file-79c0cprn.js → schema-xa30xd5p.js} +20 -20
  259. package/dist/chunks/{file-zgy94vhr.js → schema-xbdvvged.js} +23 -23
  260. package/dist/chunks/{file-1fcrsx1q.js → schema-xbrnje9f.js} +8 -8
  261. package/dist/chunks/{file-9chhw8ab.js → schema-xfdrc2qg.js} +8 -8
  262. package/dist/chunks/{file-gvzpgxex.js → schema-xxxgmpnp.js} +3 -3
  263. package/dist/chunks/{file-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{file-bqxteh86.js → schema-y7c4883m.js} +68 -68
  265. package/dist/chunks/{file-cw09a6zt.js → schema-y8pznszf.js} +20 -20
  266. package/dist/chunks/{file-8q09v32k.js → schema-ya2xvy3r.js} +7 -7
  267. package/dist/chunks/{file-ykzphz33.js → schema-yb29xp2t.js} +12 -12
  268. package/dist/chunks/{file-w5aqd7mj.js → schema-yb3bnh53.js} +37 -37
  269. package/dist/chunks/{file-b3jd6nbe.js → schema-yme4tm39.js} +27 -27
  270. package/dist/chunks/{file-nxer0yad.js → schema-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{file-8nm9s8sj.js → schema-yq6rdmt7.js} +7 -7
  272. package/dist/chunks/{file-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{file-yrznvahk.js → schema-yrznvahk.js} +2 -2
  274. package/dist/chunks/{file-tgrv3arn.js → schema-ywppm7yh.js} +28 -28
  275. package/dist/chunks/{file-rfdhm22r.js → schema-yyc7yft3.js} +15 -15
  276. package/dist/chunks/{file-bjtzbw4r.js → schema-z07pqspn.js} +3 -3
  277. package/dist/chunks/{file-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{file-z63w68vq.js → schema-z63w68vq.js} +2 -2
  279. package/dist/chunks/{file-2k1qvr7q.js → schema-z6970k62.js} +26 -26
  280. package/dist/chunks/{file-bfcbydry.js → schema-z6y9e2r8.js} +30 -30
  281. package/dist/chunks/{file-df7xe9tm.js → schema-z8p0mpvq.js} +20 -20
  282. package/dist/chunks/schema-z926abd4.js +4 -0
  283. package/dist/chunks/{file-w5rka97k.js → schema-zab19jja.js} +9 -9
  284. package/dist/chunks/{file-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{file-d8nc1xcx.js → schema-zj09a0ew.js} +4 -4
  286. package/dist/chunks/{file-xwm5pfwb.js → schema-zk4010xf.js} +8 -8
  287. package/dist/chunks/{file-53aen1mc.js → schema-zpfyxn6c.js} +24 -24
  288. package/dist/chunks/{file-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-ntzyjqd6.js → schema-zsnrp8c7.js} +313 -309
  290. package/dist/chunks/{file-e8qbhynk.js → schema-zx2f5h1h.js} +9 -9
  291. package/dist/chunks/{file-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +79 -79
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +128 -128
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +93 -93
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +94 -94
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -361
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -358
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +100 -100
  478. package/dist/mcp/instructions.js +124 -124
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +99 -99
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +78 -78
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -332
  503. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +91 -91
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +120 -120
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +120 -120
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +120 -120
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -351
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +221 -221
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +96 -96
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +77 -77
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +134 -134
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +218 -218
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +93 -93
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +126 -126
  599. package/dist/session/projector.js +84 -84
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +211 -211
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +212 -212
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +9 -9
  631. package/dist/shell.js +138 -138
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +89 -89
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +121 -0
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +107 -107
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/types/mcp/index.d.ts +4 -1
  660. package/dist/types/tool/plugin/mcp-resource.d.ts +9 -0
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +3 -3
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +3 -3
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +91 -91
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +83 -83
  690. package/dist/websearch.js +84 -84
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +79 -79
  693. package/dist/workspace/driver.js +5 -5
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +80 -80
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +8 -8
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +92 -92
  701. package/package.json +8 -8
  702. package/dist/chunks/file-9zdhvgqs.js +0 -18
  703. package/dist/chunks/file-e96fckfm.js +0 -252
  704. package/dist/chunks/file-fdpm3vhs.js +0 -26
  705. package/dist/chunks/file-qtvmxc8s.js +0 -4
  706. /package/dist/chunks/{file-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{file-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{file-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{file-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{file-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{file-24dcb14g.js → schema-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{file-2710q6r3.js → schema-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{file-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{file-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{file-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{file-359p4xyc.js → schema-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{file-3asan66x.js → schema-3asan66x.js} +0 -0
  718. /package/dist/chunks/{file-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{file-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{file-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{file-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{file-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{file-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{file-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{file-53557ph1.js → schema-53557ph1.js} +0 -0
  726. /package/dist/chunks/{file-550bvhaj.js → schema-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{file-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
  728. /package/dist/chunks/{file-6prwharc.js → schema-6prwharc.js} +0 -0
  729. /package/dist/chunks/{file-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{file-7m9af43g.js → schema-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{file-822emrt2.js → schema-822emrt2.js} +0 -0
  732. /package/dist/chunks/{file-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{file-8n3pysct.js → schema-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{file-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  735. /package/dist/chunks/{file-922hggd3.js → schema-922hggd3.js} +0 -0
  736. /package/dist/chunks/{file-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{file-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{file-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{file-af5trqkr.js → schema-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{file-afrmfg78.js → schema-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{file-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{file-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{file-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{file-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{file-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{file-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{file-d9fn303g.js → schema-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{file-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{file-dajrwvna.js → schema-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{file-dap0rakb.js → schema-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{file-df08tz66.js → schema-df08tz66.js} +0 -0
  752. /package/dist/chunks/{file-dy18nga0.js → schema-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{file-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{file-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{file-ec1grn59.js → schema-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{file-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{file-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{file-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{file-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{file-faypxj3z.js → schema-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{file-fd410y7t.js → schema-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{file-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  763. /package/dist/chunks/{file-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{file-g86h250q.js → schema-g86h250q.js} +0 -0
  765. /package/dist/chunks/{file-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{file-gftt206x.js → schema-gftt206x.js} +0 -0
  767. /package/dist/chunks/{file-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  768. /package/dist/chunks/{file-hk9envan.js → schema-hk9envan.js} +0 -0
  769. /package/dist/chunks/{file-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{file-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{file-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{file-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{file-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{file-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{file-mp448xyj.js → schema-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{file-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{file-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{file-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{file-njntx4h6.js → schema-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{file-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{file-q74kybfr.js → schema-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{file-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{file-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{file-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{file-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{file-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{file-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{file-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{file-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{file-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{file-w803qqfp.js → schema-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{file-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{file-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{file-wtztk69x.js → schema-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{file-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{file-x61499pn.js → schema-x61499pn.js} +0 -0
  797. /package/dist/chunks/{file-y44na4kk.js → schema-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{file-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{file-y8f7s663.js → schema-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{file-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{file-ym463w8f.js → schema-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{file-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID11,
3
- Service71,
4
- node74
5
- } from "./file-dvvawg7j.js";
2
+ ID8,
3
+ Service62,
4
+ node65
5
+ } from "./schema-d0jrvpgb.js";
6
6
  import {
7
- ID10,
7
+ ID7,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service70,
16
- node73
17
- } from "./file-dskjz5tz.js";
15
+ Service61,
16
+ node64
17
+ } from "./schema-p70m8tan.js";
18
18
  import {
19
- Service68,
20
- node71
21
- } from "./file-6vcgy8rt.js";
19
+ Service53,
20
+ node55
21
+ } from "./schema-dwpj3xc6.js";
22
22
  import {
23
- ID9,
23
+ ID6,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service69,
27
- node72
28
- } from "./file-y7xgn7p7.js";
26
+ Service59,
27
+ node62
28
+ } from "./schema-4tzv48n0.js";
29
29
  import {
30
30
  __export
31
- } from "./file-9rqn6x4v.js";
31
+ } from "./schema-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError3,
38
38
  ModelInitializationError: () => ModelInitializationError3,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service67,
40
+ Service: () => Service49,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError3,
44
44
  VariantUnavailableError: () => VariantUnavailableError3,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer24,
48
- node: () => node70,
47
+ layer: () => layer20,
48
+ node: () => node51,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID10,
59
- modelID: ID9,
58
+ providerID: ID7,
59
+ modelID: ID6,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID10,
69
- modelID: ID9,
68
+ providerID: ID7,
69
+ modelID: ID6,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID10,
80
- modelID: ID9,
79
+ providerID: ID7,
80
+ modelID: ID6,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID10,
91
- modelID: ID9,
90
+ providerID: ID7,
91
+ modelID: ID6,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID10,
103
- modelID: ID9,
102
+ providerID: ID7,
103
+ modelID: ID6,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID10,
113
- modelID: ID9,
112
+ providerID: ID7,
113
+ modelID: ID6,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service67 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service49 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer24 = Layer.effect(Service67, Effect.gen(function* () {
262
- const providers = yield* Service70;
263
- const models = yield* Service69;
264
- const integrations = yield* Service71;
261
+ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
262
+ const providers = yield* Service61;
263
+ const models = yield* Service59;
264
+ const integrations = yield* Service62;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service68;
266
+ const aisdk = yield* Service53;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID11.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service67.of({
296
+ return Service49.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node70 = makeLocationNode({
314
- service: Service67,
315
- layer: layer24,
316
- deps: [node73, node72, node74, Npm.node, node71]
313
+ var node51 = makeLocationNode({
314
+ service: Service49,
315
+ layer: layer20,
316
+ deps: [node64, node62, node65, Npm.node, node55]
317
317
  });
318
318
 
319
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service67, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node70, exports_model_resolver };
319
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service49, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node51, exports_model_resolver };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-922hggd3.js";
5
+ } from "./schema-922hggd3.js";
6
6
  import {
7
- Service78,
8
- node81
9
- } from "./file-ysyhm521.js";
7
+ Service65,
8
+ node68
9
+ } from "./schema-dgb7xf30.js";
10
10
  import {
11
11
  Content2
12
- } from "./file-mys7ftvb.js";
12
+ } from "./schema-r1t33gv4.js";
13
13
  import {
14
14
  detect2
15
- } from "./file-3smtnn6g.js";
15
+ } from "./schema-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./file-9rqn6x4v.js";
18
+ } from "./schema-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service3,
36
+ Service: () => Service12,
37
37
  TextPage: () => TextPage2,
38
- node: () => node4,
38
+ node: () => node14,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service3 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service3, Effect.gen(function* () {
330
- const environment = yield* Service78;
331
- return Service3.of({
329
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
330
+ const environment = yield* Service65;
331
+ return Service12.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node4 = makeLocationNode({ service: Service3, layer, deps: [node81] });
336
+ var node14 = makeLocationNode({ service: Service12, layer, deps: [node68] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node4, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-1dcnnnbr.js";
4
+ } from "./schema-g17ae1qh.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./file-dpkg50ah.js";
7
+ } from "./schema-dpkg50ah.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node83
12
- } from "./file-ydgy0jv4.js";
11
+ node70
12
+ } from "./schema-1fmrbde1.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./file-faypxj3z.js";
15
+ } from "./schema-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./file-9rqn6x4v.js";
18
+ } from "./schema-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: () => ID16,
25
- Info: () => Info31,
24
+ ID: () => ID11,
25
+ Info: () => Info26,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service79,
27
+ Service: () => Service66,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node82
29
+ configured: () => configured10,
30
+ node: () => node69
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 ID16 = Workspace.ID;
38
+ var ID11 = Workspace.ID;
39
39
 
40
- class Info31 extends Schema.Class("Workspace.Info")({
41
- id: ID16,
40
+ class Info26 extends Schema.Class("Workspace.Info")({
41
+ id: ID11,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info31 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID16,
53
+ workspaceID: ID11,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service79 extends Context.Service()("@opencode/Workspace") {
59
+ class Service66 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service79,
61
+ var configured10 = (options = {}) => makeGlobalNode({
62
+ service: Service66,
63
63
  layer: layer(options),
64
- deps: [node88, node83]
64
+ deps: [node88, node70]
65
65
  });
66
- var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
67
67
  const db = (yield* Service84).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service79, 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 Info31({
83
+ const info = (row, binding) => new Info26({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service79, 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 Service79.of({
157
+ return Service66.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID16.create();
159
+ const workspaceID = input.id ?? ID11.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(Service79, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node82 = configured11();
224
+ var node69 = configured10();
225
225
 
226
- export { ID16, Info31, NotFound3, CreateConflict2, Service79, configured11, node82, exports_workspace };
226
+ export { ID11, Info26, NotFound3, CreateConflict2, Service66, configured10, node69, exports_workspace };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./file-tazgh4e4.js";
10
+ } from "./schema-tazgh4e4.js";
11
11
  import {
12
12
  Service80
13
- } from "./file-d82rywaa.js";
13
+ } from "./schema-jesqq2b8.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./file-hvpdgzkp.js";
16
+ } from "./schema-sgds5tk2.js";
17
17
  import {
18
18
  __export
19
- } from "./file-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin36,
24
+ Plugin: () => Plugin27,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin36 = define({
33
+ var Plugin27 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
36
  const location = yield* Service80;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin36, exports_hg };
191
+ export { Plugin27, exports_hg };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-z36jzmxf.js";
4
+ } from "./schema-1rd6czrg.js";
5
5
  import {
6
6
  create3
7
- } from "./file-rdw6cm16.js";
7
+ } from "./schema-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event14,
18
- ID: () => ID7,
19
- Info: () => Info22,
17
+ Event: () => Event20,
18
+ ID: () => ID15,
19
+ Info: () => Info30,
20
20
  Name: () => Name3,
21
- Service: () => Service62,
21
+ Service: () => Service78,
22
22
  defaultID: () => defaultID2,
23
- node: () => node64
23
+ node: () => node82
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event14 } from "@opencode/schema/agent";
30
+ import { Event as Event20 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID7 = Agent.ID;
33
+ var ID15 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID7.make("build");
35
+ var defaultID2 = ID15.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info22 = Agent.Info;
37
+ var Info30 = Agent.Info;
38
38
 
39
- class Service62 extends Context.Service()("@opencode/Agent") {
39
+ class Service78 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service62, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
42
42
  const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info22.default(id);
60
+ const defaults = Info30.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID7.make("build")));
82
+ const build = selectable(data.agents.get(ID15.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service62.of({
91
+ return Service78.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID7.make(id));
99
+ return state.get().agents.get(ID15.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID7.make(id);
104
+ const selected = ID15.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node64 = makeLocationNode({ service: Service62, layer, deps: [node87, Global.node] });
119
+ var node82 = makeLocationNode({ service: Service78, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID7, Name3, defaultID2, Color2, Info22, Service62, node64, exports_agent4, Event14 };
121
+ export { ID15, Name3, defaultID2, Color2, Info30, Service78, node82, exports_agent4, Event20 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-z36jzmxf.js";
4
+ } from "./schema-1rd6czrg.js";
5
5
  import {
6
6
  create3
7
- } from "./file-rdw6cm16.js";
7
+ } from "./schema-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./file-nkstvzp1.js";
10
+ } from "./schema-mff6ah6z.js";
11
11
  import {
12
12
  __export
13
- } from "./file-9rqn6x4v.js";
13
+ } from "./schema-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event8,
21
- ID: () => ID4,
22
- Info: () => Info8,
20
+ Event: () => Event10,
21
+ ID: () => ID5,
22
+ Info: () => Info19,
23
23
  Name: () => Name2,
24
- Service: () => Service46,
24
+ Service: () => Service57,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node48,
29
+ node: () => node60,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event8 } from "@opencode/schema/skill";
37
+ import { Event as Event10 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info8 = Skill.Info;
43
- var ID4 = Skill.ID;
42
+ var Info19 = Skill.Info;
43
+ var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service46 extends Context.Service()("@opencode/Skill") {
74
+ class Service57 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service46, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
77
77
  const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID4.make(id)),
83
+ get: (id) => editor.skills.get(ID5.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID4.make(id));
88
+ const current = editor.skills.get(ID5.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID4.make(id);
92
+ current.id = ID5.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID4.make(id));
95
+ editor.skills.delete(ID5.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service46.of({
100
+ return Service57.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node48 = makeLocationNode({
112
- service: Service46,
111
+ var node60 = makeLocationNode({
112
+ service: Service57,
113
113
  layer,
114
114
  deps: [node87]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID4, Name2, available2, toModelOutput3, prepare3, Service46, node48, exports_skill5, Event8 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info19, ID5, Name2, available2, toModelOutput3, prepare3, Service57, node60, exports_skill5, Event10 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./file-yvt1qck6.js";
3
+ } from "./schema-q1wd5bqe.js";
4
4
  import {
5
5
  apply3
6
- } from "./file-e4pvga2e.js";
6
+ } from "./schema-jyrfr5z0.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./schema-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};