@opencode/core 0.0.0-dev-19618 → 0.0.0-dev-19619

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +89 -89
  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/{filesystem-0m11qpm4.js → state-097xh0r3.js} +31 -31
  8. package/dist/chunks/{filesystem-dyzsby59.js → state-0faq74rz.js} +11 -11
  9. package/dist/chunks/{filesystem-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{filesystem-0q0f95c6.js → state-0q0f95c6.js} +1 -1
  11. package/dist/chunks/{filesystem-fdywpn9x.js → state-0wzb4xv0.js} +11 -11
  12. package/dist/chunks/{filesystem-vbxkep6a.js → state-0xdeh7pz.js} +15 -15
  13. package/dist/chunks/{filesystem-0rshgchp.js → state-10q2fftm.js} +10 -10
  14. package/dist/chunks/{filesystem-1g7epwpd.js → state-19vf66h0.js} +7 -7
  15. package/dist/chunks/{filesystem-3wj4dvam.js → state-1a1r3f73.js} +9 -9
  16. package/dist/chunks/{filesystem-he07zsyr.js → state-1b89q7zg.js} +11 -11
  17. package/dist/chunks/{filesystem-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{filesystem-gdqqvv7c.js → state-1p637tnt.js} +14 -14
  19. package/dist/chunks/{filesystem-btec747f.js → state-1x75wf9g.js} +5 -5
  20. package/dist/chunks/state-2118r6de.js +26 -0
  21. package/dist/chunks/{filesystem-21r38tys.js → state-21r38tys.js} +1 -1
  22. package/dist/chunks/{filesystem-2402vzrj.js → state-2402vzrj.js} +1 -1
  23. package/dist/chunks/{filesystem-2w7hg4c7.js → state-28kcw9hr.js} +45 -45
  24. package/dist/chunks/{filesystem-6ev5h72j.js → state-29rcqgc7.js} +87 -87
  25. package/dist/chunks/{filesystem-byacmj7b.js → state-29wq7zbx.js} +12 -12
  26. package/dist/chunks/{filesystem-z63w68vq.js → state-29x78va6.js} +6 -6
  27. package/dist/chunks/{filesystem-5pkq4p4h.js → state-2a1p01cj.js} +51 -51
  28. package/dist/chunks/{filesystem-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{filesystem-h7ygw6q4.js → state-2bt6bea8.js} +9 -9
  30. package/dist/chunks/{filesystem-t82q7pe6.js → state-2e147z16.js} +6 -6
  31. package/dist/chunks/{filesystem-57ez7d0k.js → state-2fgn2we9.js} +9 -9
  32. package/dist/chunks/{filesystem-0jwsre1p.js → state-2k8khapm.js} +5 -5
  33. package/dist/chunks/{filesystem-92k45pvj.js → state-2p5y98w0.js} +6 -6
  34. package/dist/chunks/{filesystem-jaqr24m8.js → state-2prd3etb.js} +30 -30
  35. package/dist/chunks/{filesystem-ck5yfnd1.js → state-2texzmrd.js} +26 -26
  36. package/dist/chunks/{filesystem-kj1rs0ex.js → state-324jz7fy.js} +4 -4
  37. package/dist/chunks/{filesystem-q7ts5rjt.js → state-33b7aymv.js} +89 -89
  38. package/dist/chunks/{filesystem-23pqda6t.js → state-35agz59w.js} +4 -4
  39. package/dist/chunks/{filesystem-bcfqw6ff.js → state-35g6mzst.js} +15 -15
  40. package/dist/chunks/{filesystem-ws7b1vd7.js → state-3avsbw2y.js} +24 -24
  41. package/dist/chunks/{filesystem-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{filesystem-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{filesystem-tqq9vv0r.js → state-3jqje4at.js} +34 -34
  44. package/dist/chunks/{filesystem-6f0xwptt.js → state-3jwvk6df.js} +11 -11
  45. package/dist/chunks/{filesystem-gn350eyy.js → state-3s08q6xc.js} +16 -16
  46. package/dist/chunks/{filesystem-a38p36g0.js → state-3shj2rdg.js} +16 -16
  47. package/dist/chunks/{filesystem-4sazzpff.js → state-3sjz8m0p.js} +30 -30
  48. package/dist/chunks/{filesystem-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{filesystem-qznyv1pd.js → state-3sr08wap.js} +6 -6
  50. package/dist/chunks/{filesystem-4n11223c.js → state-3te25qqc.js} +31 -31
  51. package/dist/chunks/{filesystem-gw9t2z3w.js → state-3tsj5f46.js} +21 -21
  52. package/dist/chunks/{filesystem-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{filesystem-z07af02a.js → state-3w05p07m.js} +21 -21
  54. package/dist/chunks/{filesystem-jfzms4ed.js → state-3zevfmxv.js} +1 -1
  55. package/dist/chunks/{filesystem-8z00fdkb.js → state-4dgbcxzg.js} +4 -4
  56. package/dist/chunks/{filesystem-s1aps666.js → state-51wwr1cb.js} +7 -7
  57. package/dist/chunks/{filesystem-1ygqh575.js → state-56gdpj1q.js} +9 -9
  58. package/dist/chunks/{filesystem-8m0x795s.js → state-571v8kyd.js} +26 -26
  59. package/dist/chunks/{filesystem-5daktx2q.js → state-5daktx2q.js} +1 -1
  60. package/dist/chunks/{filesystem-zmn1asca.js → state-5edc1x4t.js} +300 -300
  61. package/dist/chunks/{filesystem-vy0wt1xp.js → state-5f71spy3.js} +36 -36
  62. package/dist/chunks/{filesystem-qxk9wp59.js → state-5k6red0j.js} +22 -22
  63. package/dist/chunks/state-5r663aq2.js +251 -0
  64. package/dist/chunks/{filesystem-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{filesystem-s2rjst4c.js → state-64xmj3r0.js} +30 -30
  66. package/dist/chunks/{filesystem-669tq793.js → state-669tq793.js} +1 -1
  67. package/dist/chunks/{filesystem-9v67fpxy.js → state-67zdakk3.js} +15 -15
  68. package/dist/chunks/{filesystem-fddsyqr4.js → state-68na6ghx.js} +11 -11
  69. package/dist/chunks/{filesystem-9389c3ww.js → state-6bhdwa4f.js} +11 -11
  70. package/dist/chunks/{filesystem-j8hh79t3.js → state-6mp5kyz7.js} +174 -174
  71. package/dist/chunks/{filesystem-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{filesystem-wbt8vg77.js → state-6r5csvev.js} +20 -20
  73. package/dist/chunks/{filesystem-wjrkf519.js → state-71n3th9c.js} +5 -5
  74. package/dist/chunks/{filesystem-71q4at8m.js → state-71q4at8m.js} +1 -1
  75. package/dist/chunks/{filesystem-apwwcccb.js → state-73mx17hp.js} +23 -23
  76. package/dist/chunks/{filesystem-7gzpfzkj.js → state-75p5n5ps.js} +24 -24
  77. package/dist/chunks/{filesystem-7xbgkkry.js → state-76dkszc0.js} +20 -20
  78. package/dist/chunks/{filesystem-6z8y8spb.js → state-78b8w714.js} +24 -24
  79. package/dist/chunks/{filesystem-844ef7ks.js → state-7b15y959.js} +8 -8
  80. package/dist/chunks/{filesystem-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{filesystem-2h5jvt6q.js → state-7bqgghcm.js} +42 -42
  82. package/dist/chunks/{filesystem-406qt69j.js → state-7qdpe4cb.js} +9 -9
  83. package/dist/chunks/{filesystem-2f04pwep.js → state-7w99qc9d.js} +3 -3
  84. package/dist/chunks/{filesystem-gcx5yr3q.js → state-7zj5q8bn.js} +15 -15
  85. package/dist/chunks/{filesystem-y7z8aqqx.js → state-89srvkns.js} +15 -15
  86. package/dist/chunks/{filesystem-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{filesystem-8p4f9s12.js → state-8p4f9s12.js} +2 -2
  88. package/dist/chunks/{filesystem-1mqcdkn4.js → state-8pj4s1sz.js} +17 -17
  89. package/dist/chunks/{filesystem-qq1c0rfq.js → state-8xd21chy.js} +11 -11
  90. package/dist/chunks/{filesystem-t73pnhmt.js → state-8zrm0029.js} +37 -37
  91. package/dist/chunks/{filesystem-zxse2e34.js → state-97pyyzsd.js} +14 -14
  92. package/dist/chunks/{filesystem-f7dhzska.js → state-97tba3wc.js} +37 -37
  93. package/dist/chunks/{filesystem-d3rs6qmg.js → state-9jbjfr7m.js} +9 -9
  94. package/dist/chunks/{filesystem-827vnqcm.js → state-9je39wvw.js} +43 -43
  95. package/dist/chunks/{filesystem-p5tc0jkc.js → state-9wb1t077.js} +3 -3
  96. package/dist/chunks/{filesystem-813ty9ck.js → state-9yfa5vrp.js} +17 -17
  97. package/dist/chunks/{filesystem-a1bz86dw.js → state-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{filesystem-s5pht5ae.js → state-a1jea0jw.js} +29 -29
  99. package/dist/chunks/{filesystem-gzprh467.js → state-a8279h33.js} +29 -29
  100. package/dist/chunks/{filesystem-aaet6srn.js → state-aaet6srn.js} +2 -2
  101. package/dist/chunks/{filesystem-z97y4ypk.js → state-agndh9mm.js} +3 -3
  102. package/dist/chunks/{filesystem-t9zs3egg.js → state-an7cqtb7.js} +4 -4
  103. package/dist/chunks/{filesystem-5w764t2b.js → state-azcr6ymc.js} +18 -18
  104. package/dist/chunks/{filesystem-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{filesystem-kzqkxx2v.js → state-bajjbck4.js} +19 -19
  106. package/dist/chunks/{filesystem-e6ajfsdf.js → state-bbth31rk.js} +9 -9
  107. package/dist/chunks/{filesystem-w1k39n5e.js → state-bccb6npm.js} +4 -4
  108. package/dist/chunks/{filesystem-wqkncbjv.js → state-bjmdedkt.js} +9 -9
  109. package/dist/chunks/{filesystem-1ak9gecn.js → state-bqszwq89.js} +6 -6
  110. package/dist/chunks/{filesystem-xd7p5zqs.js → state-bwpeaz3e.js} +25 -25
  111. package/dist/chunks/{filesystem-magykp64.js → state-c20khjev.js} +21 -21
  112. package/dist/chunks/{filesystem-jfc61th8.js → state-c74rwkq8.js} +20 -20
  113. package/dist/chunks/{filesystem-9c8qb4fx.js → state-cfm6v96c.js} +15 -15
  114. package/dist/chunks/{filesystem-cfpkc3c9.js → state-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{filesystem-fxqygnfa.js → state-cq37gk0t.js} +4 -4
  116. package/dist/chunks/{filesystem-zh0vtjyr.js → state-cw6ezj50.js} +24 -24
  117. package/dist/chunks/{filesystem-9zswys26.js → state-d09006c3.js} +9 -9
  118. package/dist/chunks/{filesystem-9wgyq2tt.js → state-d2jcwrqj.js} +11 -11
  119. package/dist/chunks/{filesystem-wesp68ae.js → state-d2y84238.js} +26 -26
  120. package/dist/chunks/{filesystem-6dt5d3yy.js → state-d3tz2ej1.js} +9 -9
  121. package/dist/chunks/{filesystem-b339w5wj.js → state-d3yf3xs0.js} +46 -46
  122. package/dist/chunks/{filesystem-kpmnv95v.js → state-d66s3x2y.js} +11 -11
  123. package/dist/chunks/{filesystem-dnxjdd8e.js → state-d7pfk9kx.js} +11 -11
  124. package/dist/chunks/{filesystem-k17k9k58.js → state-db0wt107.js} +10 -10
  125. package/dist/chunks/{filesystem-33ka9sw2.js → state-dd3vv6mw.js} +20 -20
  126. package/dist/chunks/{filesystem-mx9sgxdp.js → state-dfem2sdx.js} +2 -2
  127. package/dist/chunks/{filesystem-6n2tb6ee.js → state-dfst6sb1.js} +15 -15
  128. package/dist/chunks/{filesystem-y71avatq.js → state-dpkg50ah.js} +4 -4
  129. package/dist/chunks/{filesystem-1k8tpdq4.js → state-dq66pm2h.js} +6 -6
  130. package/dist/chunks/{filesystem-37s12vcn.js → state-dqmwfghx.js} +5 -5
  131. package/dist/chunks/{filesystem-mfw11q3n.js → state-ds6yvnwz.js} +30 -30
  132. package/dist/chunks/{filesystem-e54dr8r7.js → state-e3mscyvg.js} +13 -13
  133. package/dist/chunks/{filesystem-3fr2v5qz.js → state-e3pb3krz.js} +4 -4
  134. package/dist/chunks/{filesystem-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
  135. package/dist/chunks/{filesystem-bndc73cn.js → state-e5nv3ght.js} +5 -5
  136. package/dist/chunks/{filesystem-nhy5jxhy.js → state-e82z9tr0.js} +7 -7
  137. package/dist/chunks/{filesystem-ysz7wnt3.js → state-ebvdhfn5.js} +30 -30
  138. package/dist/chunks/{filesystem-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{filesystem-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{filesystem-req2f1zf.js → state-ezc4vqg9.js} +16 -16
  141. package/dist/chunks/{filesystem-yp2x3t23.js → state-f2n192rq.js} +4 -4
  142. package/dist/chunks/{filesystem-jgj0cmjf.js → state-f5cp0sk0.js} +7 -7
  143. package/dist/chunks/{filesystem-f828m53h.js → state-f828m53h.js} +2 -2
  144. package/dist/chunks/{filesystem-s9jsf10w.js → state-f9j6kmhz.js} +9 -9
  145. package/dist/chunks/{filesystem-sfnc39yp.js → state-fc7zbc5p.js} +8 -8
  146. package/dist/chunks/{filesystem-dm18e6rv.js → state-fd7qd9sy.js} +24 -24
  147. package/dist/chunks/{filesystem-v5b0xx0m.js → state-fm5c3zy8.js} +16 -16
  148. package/dist/chunks/{filesystem-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{filesystem-6ynxx3sz.js → state-g31yknb9.js} +10 -10
  150. package/dist/chunks/{filesystem-39btv581.js → state-g5akcga1.js} +1 -1
  151. package/dist/chunks/{filesystem-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{filesystem-skz9jdxs.js → state-gmh1p7c3.js} +46 -46
  153. package/dist/chunks/{filesystem-th5km1p3.js → state-gv6a8nnw.js} +5 -5
  154. package/dist/chunks/state-gyce5qg1.js +18 -0
  155. package/dist/chunks/{filesystem-s4bmhrbd.js → state-gz9zg84n.js} +17 -17
  156. package/dist/chunks/{filesystem-3a5s2rra.js → state-gzv4yv3q.js} +10 -10
  157. package/dist/chunks/{filesystem-h03wrkyp.js → state-h03wrkyp.js} +2 -2
  158. package/dist/chunks/state-h47he10w.js +4 -0
  159. package/dist/chunks/{filesystem-6j62sct7.js → state-h61yhmmq.js} +15 -15
  160. package/dist/chunks/{filesystem-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{filesystem-07yk87ch.js → state-h7vn9w3e.js} +4 -4
  162. package/dist/chunks/{filesystem-w3jz5mh3.js → state-hb432nf5.js} +17 -17
  163. package/dist/chunks/{filesystem-m3npdpng.js → state-hc2ch4mw.js} +5 -5
  164. package/dist/chunks/{filesystem-mqjke63f.js → state-hc844qg4.js} +15 -15
  165. package/dist/chunks/{filesystem-6kt92yqk.js → state-hk9khx82.js} +13 -13
  166. package/dist/chunks/{filesystem-41f61ev5.js → state-hkckt1bw.js} +11 -11
  167. package/dist/chunks/{filesystem-syxap8am.js → state-hkha9254.js} +4 -4
  168. package/dist/chunks/{filesystem-cqhybqg6.js → state-hmw7b3xg.js} +29 -29
  169. package/dist/chunks/{filesystem-j41a475f.js → state-hzm9egg4.js} +10 -10
  170. package/dist/chunks/{filesystem-jmnxg2hy.js → state-j4265jp1.js} +33 -33
  171. package/dist/chunks/{filesystem-hrc76cbb.js → state-j4w3v36h.js} +16 -16
  172. package/dist/chunks/{filesystem-j56e64zr.js → state-j56e64zr.js} +1 -1
  173. package/dist/chunks/{filesystem-tn345pzm.js → state-j7gh742f.js} +6 -6
  174. package/dist/chunks/{filesystem-axq00zzf.js → state-j7q006w5.js} +24 -24
  175. package/dist/chunks/{filesystem-fcw1zqre.js → state-jbqb2jwb.js} +18 -18
  176. package/dist/chunks/{filesystem-shh6fz4q.js → state-jva4mgym.js} +4 -4
  177. package/dist/chunks/{filesystem-wtkcq731.js → state-k3j9nvsf.js} +41 -41
  178. package/dist/chunks/{filesystem-vbzbj883.js → state-kkk4ycsn.js} +34 -34
  179. package/dist/chunks/{filesystem-h609avsd.js → state-kkvmk5mz.js} +10 -10
  180. package/dist/chunks/{filesystem-fap9mv8s.js → state-kp6q4vfw.js} +38 -38
  181. package/dist/chunks/{filesystem-w0fqee3t.js → state-krmc1sjp.js} +4 -4
  182. package/dist/chunks/{filesystem-5y69nyve.js → state-kthsafvd.js} +11 -11
  183. package/dist/chunks/{filesystem-tqb4zsas.js → state-kxfmahn5.js} +18 -18
  184. package/dist/chunks/{filesystem-yd1jaf3z.js → state-kytg702f.js} +11 -11
  185. package/dist/chunks/{filesystem-4890h4h8.js → state-m4hmv5tv.js} +32 -32
  186. package/dist/chunks/{filesystem-70qmacgz.js → state-m8d7rwwq.js} +6 -6
  187. package/dist/chunks/{filesystem-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{filesystem-rds95j8z.js → state-mrx0gnf8.js} +1 -1
  189. package/dist/chunks/{filesystem-qp3v07n2.js → state-mw934p8z.js} +5 -5
  190. package/dist/chunks/{filesystem-40xvhc0y.js → state-mx19mr1m.js} +28 -28
  191. package/dist/chunks/{filesystem-z6259ffv.js → state-n1t3wdzz.js} +5 -5
  192. package/dist/chunks/{filesystem-92s2v7tn.js → state-n36sd619.js} +47 -47
  193. package/dist/chunks/{filesystem-nryd581v.js → state-n5a5z38x.js} +59 -59
  194. package/dist/chunks/{filesystem-6nrgx7s9.js → state-n91phzgs.js} +15 -15
  195. package/dist/chunks/{filesystem-903hvwdd.js → state-nc2qx4zy.js} +32 -32
  196. package/dist/chunks/{filesystem-7qne9t03.js → state-nhgnsbzd.js} +22 -22
  197. package/dist/chunks/{filesystem-yjg451mg.js → state-nk4syya3.js} +27 -27
  198. package/dist/chunks/{filesystem-s8610hey.js → state-nng2ktcm.js} +2 -2
  199. package/dist/chunks/{filesystem-brhvyepg.js → state-npkvcn11.js} +6 -6
  200. package/dist/chunks/{filesystem-wwxgka64.js → state-nrs119em.js} +15 -15
  201. package/dist/chunks/{filesystem-gsjsmvjz.js → state-nspxmzm8.js} +28 -28
  202. package/dist/chunks/{filesystem-8hm8e1by.js → state-ny5dfp0g.js} +15 -15
  203. package/dist/chunks/{filesystem-ymcnatpj.js → state-p1d46h3z.js} +24 -24
  204. package/dist/chunks/{filesystem-q5nw5m1n.js → state-p57dvf2n.js} +6 -6
  205. package/dist/chunks/{filesystem-chf0k88c.js → state-ph0fbfq2.js} +2 -2
  206. package/dist/chunks/{filesystem-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{filesystem-pknna89w.js → state-pknna89w.js} +1 -1
  208. package/dist/chunks/{filesystem-b6nkjk1t.js → state-pv445f03.js} +22 -22
  209. package/dist/chunks/{filesystem-ms4phxsh.js → state-py24y5k5.js} +20 -20
  210. package/dist/chunks/{filesystem-x8kx70zw.js → state-q0dhpvqs.js} +17 -17
  211. package/dist/chunks/{filesystem-nb9b6p15.js → state-q2tqwnr3.js} +23 -23
  212. package/dist/chunks/{filesystem-38hz51bw.js → state-q34edmb6.js} +18 -18
  213. package/dist/chunks/{filesystem-asysv629.js → state-qagnz9a5.js} +11 -11
  214. package/dist/chunks/{filesystem-wtaqqafq.js → state-qbvf5jer.js} +11 -11
  215. package/dist/chunks/{filesystem-xa9r7nw9.js → state-qfmkjdkz.js} +20 -20
  216. package/dist/chunks/{filesystem-3n48t328.js → state-qhptap2d.js} +14 -14
  217. package/dist/chunks/{filesystem-xyyjnszw.js → state-qqjwcvaq.js} +5 -5
  218. package/dist/chunks/{filesystem-qsdy395h.js → state-qsdy395h.js} +1 -1
  219. package/dist/chunks/{filesystem-qjnxxf51.js → state-qte5z7bc.js} +5 -5
  220. package/dist/chunks/{filesystem-gdezgtpw.js → state-qtkzm0vp.js} +8 -8
  221. package/dist/chunks/{filesystem-8de9g2wa.js → state-qwjmgwmn.js} +8 -8
  222. package/dist/chunks/{filesystem-f0yntm5b.js → state-qx0y9v2b.js} +17 -17
  223. package/dist/chunks/{filesystem-grkcecy6.js → state-r0r5a59z.js} +30 -30
  224. package/dist/chunks/{filesystem-0j4pm1hq.js → state-r3g16p04.js} +11 -11
  225. package/dist/chunks/{filesystem-jx4a7yyx.js → state-r402hwa6.js} +1 -1
  226. package/dist/chunks/{filesystem-73tb2d7t.js → state-r5x6zcsm.js} +3 -3
  227. package/dist/chunks/{filesystem-r9mregkx.js → state-r9mregkx.js} +2 -2
  228. package/dist/chunks/{filesystem-n3pf906j.js → state-raec4cfz.js} +12 -12
  229. package/dist/chunks/{filesystem-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{filesystem-02nrjc1r.js → state-rhjbct0v.js} +6 -6
  231. package/dist/chunks/{filesystem-fw7t8djd.js → state-rn2343kj.js} +60 -60
  232. package/dist/chunks/{filesystem-evvf1n35.js → state-rp6tmztm.js} +19 -19
  233. package/dist/chunks/{filesystem-4jc5c4h4.js → state-ryt7pzqc.js} +1 -1
  234. package/dist/chunks/{filesystem-2vep0yyn.js → state-s16nmm85.js} +15 -15
  235. package/dist/chunks/{filesystem-yrznvahk.js → state-s4enseaf.js} +2 -2
  236. package/dist/chunks/{filesystem-9yr2yfq4.js → state-s90d8d6b.js} +6 -6
  237. package/dist/chunks/{filesystem-33js1h5h.js → state-sb225ygc.js} +18 -18
  238. package/dist/chunks/{filesystem-5df2rnfx.js → state-sb6d7jsa.js} +13 -13
  239. package/dist/chunks/{filesystem-gf5fcfbn.js → state-se4nd5as.js} +13 -13
  240. package/dist/chunks/{filesystem-3j24hfx9.js → state-sw33f489.js} +9 -9
  241. package/dist/chunks/{filesystem-37k0eqq3.js → state-sxmda080.js} +3 -3
  242. package/dist/chunks/{filesystem-7rmm56r3.js → state-sy64ktx8.js} +5 -5
  243. package/dist/chunks/{filesystem-zfs18d5t.js → state-t1pxv65t.js} +5 -5
  244. package/dist/chunks/{filesystem-mmy54dzb.js → state-t4c6n1n4.js} +9 -9
  245. package/dist/chunks/{filesystem-zvt32j6c.js → state-t7kxrzfv.js} +17 -17
  246. package/dist/chunks/{filesystem-wd41hx6g.js → state-t8esaq1p.js} +6 -6
  247. package/dist/chunks/{filesystem-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  248. package/dist/chunks/{filesystem-698rmahv.js → state-tc6j6x3q.js} +10 -10
  249. package/dist/chunks/{filesystem-89znhe33.js → state-tcezcvh9.js} +4 -4
  250. package/dist/chunks/{filesystem-tdstcens.js → state-tdstcens.js} +1 -1
  251. package/dist/chunks/{filesystem-n8mqzfm9.js → state-tk4xefdg.js} +12 -12
  252. package/dist/chunks/{filesystem-3w85bfh1.js → state-tqwj4vg0.js} +27 -27
  253. package/dist/chunks/{filesystem-cjjf7ytg.js → state-ttpn01ps.js} +38 -38
  254. package/dist/chunks/{filesystem-tvtrv512.js → state-tvtrv512.js} +1 -1
  255. package/dist/chunks/{filesystem-eqs0pmgx.js → state-txxgpxvq.js} +6 -6
  256. package/dist/chunks/{filesystem-vymvq99p.js → state-tzfrkvh8.js} +24 -24
  257. package/dist/chunks/{filesystem-nc6g6xf4.js → state-v1kf15d2.js} +6 -6
  258. package/dist/chunks/{filesystem-dvj7hexm.js → state-v55354wq.js} +1 -1
  259. package/dist/chunks/{filesystem-veqvce7d.js → state-veqvce7d.js} +1 -1
  260. package/dist/chunks/{filesystem-dzjvqage.js → state-vqjrrrw6.js} +4 -4
  261. package/dist/chunks/{filesystem-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  262. package/dist/chunks/{filesystem-8nwmmt46.js → state-vzy7bsbz.js} +32 -32
  263. package/dist/chunks/{filesystem-jtzgk00g.js → state-w21hr1ag.js} +9 -9
  264. package/dist/chunks/{filesystem-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  265. package/dist/chunks/{filesystem-wd87259q.js → state-wd87259q.js} +1 -1
  266. package/dist/chunks/{filesystem-ngqd1g3c.js → state-wfzjjtzq.js} +4 -4
  267. package/dist/chunks/{filesystem-ctn2km86.js → state-wq4mgxca.js} +8 -8
  268. package/dist/chunks/{filesystem-bh5mjw3r.js → state-wq66yabw.js} +46 -46
  269. package/dist/chunks/{filesystem-n0k1g4fc.js → state-ww06kf95.js} +16 -16
  270. package/dist/chunks/{filesystem-d2k0bxc6.js → state-wwr4cs06.js} +11 -11
  271. package/dist/chunks/{filesystem-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  272. package/dist/chunks/{filesystem-364eg4va.js → state-x6mn7k7a.js} +24 -24
  273. package/dist/chunks/{filesystem-4f699rp4.js → state-xcmejnqk.js} +10 -10
  274. package/dist/chunks/{filesystem-dq0sj55k.js → state-xe12cp59.js} +8 -8
  275. package/dist/chunks/{filesystem-v1kfa28m.js → state-xg3fmavg.js} +9 -9
  276. package/dist/chunks/{filesystem-ejhwb09y.js → state-xnvr041a.js} +1 -1
  277. package/dist/chunks/{filesystem-t7n9q6bq.js → state-xw0r27ex.js} +4 -4
  278. package/dist/chunks/{filesystem-9tmk4wfj.js → state-xwm0ajsd.js} +5 -5
  279. package/dist/chunks/{filesystem-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  280. package/dist/chunks/{filesystem-56n3j9hn.js → state-yb0s1s95.js} +53 -53
  281. package/dist/chunks/{filesystem-4jf7s0ck.js → state-ymawwaz8.js} +4 -4
  282. package/dist/chunks/{filesystem-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{filesystem-0f9afca0.js → state-yt0fqk68.js} +5 -5
  284. package/dist/chunks/{filesystem-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{filesystem-e0mmdbx3.js → state-z87ss26s.js} +10 -10
  286. package/dist/chunks/{filesystem-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{filesystem-5xy61mm9.js → state-zmhc1ceh.js} +4 -4
  288. package/dist/chunks/{filesystem-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{filesystem-ndh7jbby.js → state-zveeavy8.js} +20 -20
  290. package/dist/chunks/{filesystem-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +121 -121
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +125 -125
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +223 -223
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +105 -105
  429. package/dist/form.js +85 -85
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +101 -101
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +356 -356
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +70 -70
  466. package/dist/location-activity.js +134 -134
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +87 -87
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +86 -86
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +126 -126
  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 +98 -98
  478. package/dist/model-resolver.js +98 -98
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +105 -105
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +116 -116
  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/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -216
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +327 -327
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +94 -94
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +89 -89
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +89 -89
  518. package/dist/plugin/provider/llmgateway.js +89 -89
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +89 -89
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +93 -93
  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/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +89 -89
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +140 -140
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +342 -342
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +91 -91
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +120 -120
  548. package/dist/plugin/websearch/exa.js +5 -5
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +6 -6
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +227 -227
  556. package/dist/project/schema.js +8 -8
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +87 -87
  559. package/dist/provider.js +100 -100
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +97 -97
  564. package/dist/reference/instructions.js +86 -86
  565. package/dist/reference.js +86 -86
  566. package/dist/repository-cache.js +80 -80
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +94 -94
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +131 -131
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +220 -220
  580. package/dist/session/execution.js +128 -128
  581. package/dist/session/generate.js +150 -150
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +87 -87
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +4 -4
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +117 -117
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +228 -228
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +98 -98
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -114
  604. package/dist/session/runner/step.js +123 -123
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +170 -170
  608. package/dist/session/shell.js +137 -137
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +72 -72
  612. package/dist/session/store.js +86 -86
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +209 -209
  615. package/dist/session/system-prompt.js +5 -5
  616. package/dist/session/title.js +153 -153
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +216 -216
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +215 -215
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +7 -7
  625. package/dist/shell.js +139 -139
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +106 -106
  628. package/dist/skill.js +107 -107
  629. package/dist/snapshot.js +90 -90
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +123 -123
  634. package/dist/tool/plugin/edit.js +117 -117
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +123 -123
  637. package/dist/tool/plugin/grep.js +123 -123
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +121 -121
  640. package/dist/tool/plugin/question.js +102 -102
  641. package/dist/tool/plugin/read.js +124 -124
  642. package/dist/tool/plugin/shell.js +216 -216
  643. package/dist/tool/plugin/skill.js +112 -112
  644. package/dist/tool/plugin/subagent.js +218 -218
  645. package/dist/tool/plugin/webfetch.js +109 -109
  646. package/dist/tool/plugin/websearch.js +113 -113
  647. package/dist/tool/plugin/write.js +117 -117
  648. package/dist/tool/read-filesystem.js +99 -99
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +13 -13
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/formatter.js +5 -5
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +91 -91
  671. package/dist/v1/config/permission.js +7 -7
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +83 -83
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +78 -78
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +79 -79
  686. package/dist/worktree/directory.js +4 -4
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/refresh.js +343 -343
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +95 -95
  691. package/package.json +8 -8
  692. package/dist/chunks/filesystem-0mesazry.js +0 -4
  693. package/dist/chunks/filesystem-a5kagja2.js +0 -26
  694. package/dist/chunks/filesystem-nyrzeqwa.js +0 -251
  695. package/dist/chunks/filesystem-pf31ssb9.js +0 -18
  696. /package/dist/chunks/{filesystem-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{filesystem-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{filesystem-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{filesystem-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{filesystem-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{filesystem-2710q6r3.js → state-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{filesystem-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{filesystem-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{filesystem-359p4xyc.js → state-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{filesystem-3asan66x.js → state-3asan66x.js} +0 -0
  706. /package/dist/chunks/{filesystem-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{filesystem-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{filesystem-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{filesystem-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{filesystem-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{filesystem-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{filesystem-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{filesystem-53557ph1.js → state-53557ph1.js} +0 -0
  714. /package/dist/chunks/{filesystem-550bvhaj.js → state-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{filesystem-6prwharc.js → state-6prwharc.js} +0 -0
  716. /package/dist/chunks/{filesystem-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{filesystem-7m9af43g.js → state-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{filesystem-822emrt2.js → state-822emrt2.js} +0 -0
  719. /package/dist/chunks/{filesystem-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{filesystem-8n3pysct.js → state-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{filesystem-922hggd3.js → state-922hggd3.js} +0 -0
  722. /package/dist/chunks/{filesystem-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{filesystem-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{filesystem-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{filesystem-af5trqkr.js → state-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{filesystem-afrmfg78.js → state-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{filesystem-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{filesystem-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{filesystem-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{filesystem-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{filesystem-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{filesystem-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{filesystem-d9fn303g.js → state-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{filesystem-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{filesystem-dajrwvna.js → state-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{filesystem-dap0rakb.js → state-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{filesystem-df08tz66.js → state-df08tz66.js} +0 -0
  738. /package/dist/chunks/{filesystem-dy18nga0.js → state-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{filesystem-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{filesystem-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{filesystem-ec1grn59.js → state-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{filesystem-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{filesystem-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{filesystem-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{filesystem-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{filesystem-faypxj3z.js → state-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{filesystem-fd410y7t.js → state-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{filesystem-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{filesystem-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{filesystem-g86h250q.js → state-g86h250q.js} +0 -0
  751. /package/dist/chunks/{filesystem-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{filesystem-gftt206x.js → state-gftt206x.js} +0 -0
  753. /package/dist/chunks/{filesystem-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{filesystem-hk9envan.js → state-hk9envan.js} +0 -0
  755. /package/dist/chunks/{filesystem-hrnqkpcd.js → state-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{filesystem-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{filesystem-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{filesystem-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{filesystem-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{filesystem-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{filesystem-mp448xyj.js → state-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{filesystem-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{filesystem-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{filesystem-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{filesystem-njntx4h6.js → state-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{filesystem-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{filesystem-q74kybfr.js → state-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{filesystem-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{filesystem-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{filesystem-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{filesystem-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{filesystem-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{filesystem-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{filesystem-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{filesystem-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{filesystem-twg0f83k.js → state-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{filesystem-w803qqfp.js → state-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{filesystem-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{filesystem-wtztk69x.js → state-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{filesystem-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{filesystem-x61499pn.js → state-x61499pn.js} +0 -0
  782. /package/dist/chunks/{filesystem-y44na4kk.js → state-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{filesystem-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{filesystem-y8f7s663.js → state-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{filesystem-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{filesystem-ym463w8f.js → state-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{filesystem-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./filesystem-2a5m3afh.js";
5
+ } from "./state-2a5m3afh.js";
6
6
  import {
7
- Service75
8
- } from "./filesystem-req2f1zf.js";
7
+ Service76
8
+ } from "./state-ezc4vqg9.js";
9
9
  import {
10
- Service62
11
- } from "./filesystem-zh0vtjyr.js";
10
+ Service72
11
+ } from "./state-cw6ezj50.js";
12
12
  import {
13
- Service13
14
- } from "./filesystem-bcfqw6ff.js";
13
+ Service51
14
+ } from "./state-35g6mzst.js";
15
15
  import {
16
- Service16,
16
+ Service53,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./filesystem-6kt92yqk.js";
19
+ } from "./state-hk9khx82.js";
20
20
  import {
21
- Service69
22
- } from "./filesystem-nryd581v.js";
21
+ Service44
22
+ } from "./state-n5a5z38x.js";
23
23
  import {
24
- Service68,
24
+ Service43,
25
25
  resolvePath2
26
- } from "./filesystem-fcw1zqre.js";
26
+ } from "./state-jbqb2jwb.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./filesystem-6prwharc.js";
29
+ } from "./state-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./filesystem-9rqn6x4v.js";
32
+ } from "./state-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input5,
39
- Output: () => Output3,
38
+ Input: () => Input10,
39
+ Output: () => Output6,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin37,
42
- name: () => name5,
43
- toModelContent: () => toModelContent4
41
+ Plugin: () => Plugin12,
42
+ name: () => name10,
43
+ toModelContent: () => toModelContent5
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name5 = "patch";
89
- var Input5 = Schema.Struct({
88
+ var name10 = "patch";
89
+ var Input10 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output3 = Schema.Struct({
99
+ var Output6 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent4 = (output) => [
103
+ var toModelContent5 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin37 = {
108
+ var Plugin12 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service62;
112
- const access = yield* Service68;
113
- const fileMutation = yield* Service16;
114
- const formatter = yield* Service13;
115
- const location = yield* Service75;
116
- const permission = yield* Service69;
111
+ const environment = yield* Service72;
112
+ const access = yield* Service43;
113
+ const fileMutation = yield* Service53;
114
+ const formatter = yield* Service51;
115
+ const location = yield* Service76;
116
+ const permission = yield* Service44;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name5,
118
+ name: name10,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input5,
122
- output: Output3,
121
+ input: Input10,
122
+ output: Output6,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin37 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent4(output),
269
+ content: toModelContent5(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name5, Input5, Applied2, Output3, toModelContent4, Plugin37, exports_patch };
329
+ export { name10, Input10, Applied2, Output6, toModelContent5, Plugin12, exports_patch };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID7,
2
+ ID12,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./filesystem-8nwmmt46.js";
5
+ } from "./state-vzy7bsbz.js";
6
6
  import {
7
- ID6,
7
+ ID11,
8
8
  VariantID2,
9
9
  Family2,
10
- Info18
11
- } from "./filesystem-grkcecy6.js";
10
+ Info25
11
+ } from "./state-r0r5a59z.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./state-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load3
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get2(baseURL, headers, existing) {
72
- return derive2(baseURL, await load2(baseURL, headers), existing);
71
+ async function get3(baseURL, headers, existing) {
72
+ return derive3(baseURL, await load3(baseURL, headers), existing);
73
73
  }
74
- async function load2(baseURL, headers) {
74
+ async function load3(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive2(baseURL, remote, existing) {
86
+ function derive3(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID6.make(id);
97
+ const key = ID11.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info18.make({
122
- ...Info18.default(ID7.githubCopilot, id),
121
+ return Info25.make({
122
+ ...Info25.default(ID12.githubCopilot, id),
123
123
  id,
124
- modelID: ID6.make(remote.id),
125
- providerID: ID7.githubCopilot,
124
+ modelID: ID11.make(remote.id),
125
+ providerID: ID12.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get2, load2, derive2, exports_models };
200
+ export { get3, load3, derive3, exports_models2 };
@@ -0,0 +1,251 @@
1
+ import {
2
+ node51
3
+ } from "./state-fd7qd9sy.js";
4
+ import {
5
+ node84
6
+ } from "./state-d2y84238.js";
7
+ import {
8
+ node74
9
+ } from "./state-a8279h33.js";
10
+ import {
11
+ node81,
12
+ boundNode2
13
+ } from "./state-ezc4vqg9.js";
14
+ import {
15
+ node73
16
+ } from "./state-vzy7bsbz.js";
17
+ import {
18
+ node54
19
+ } from "./state-6bhdwa4f.js";
20
+ import {
21
+ node72
22
+ } from "./state-r0r5a59z.js";
23
+ import {
24
+ node40
25
+ } from "./state-3avsbw2y.js";
26
+ import {
27
+ configured8,
28
+ node68
29
+ } from "./state-d3yf3xs0.js";
30
+ import {
31
+ node76
32
+ } from "./state-cw6ezj50.js";
33
+ import {
34
+ node57
35
+ } from "./state-hk9khx82.js";
36
+ import {
37
+ node55
38
+ } from "./state-35g6mzst.js";
39
+ import {
40
+ node61
41
+ } from "./state-nc2qx4zy.js";
42
+ import {
43
+ node60
44
+ } from "./state-64xmj3r0.js";
45
+ import {
46
+ node53
47
+ } from "./state-28kcw9hr.js";
48
+ import {
49
+ node35
50
+ } from "./state-9yfa5vrp.js";
51
+ import {
52
+ node59
53
+ } from "./state-7qdpe4cb.js";
54
+ import {
55
+ node30
56
+ } from "./state-2a1p01cj.js";
57
+ import {
58
+ Service31,
59
+ node34
60
+ } from "./state-s90d8d6b.js";
61
+ import {
62
+ node25
63
+ } from "./state-n91phzgs.js";
64
+ import {
65
+ node75
66
+ } from "./state-qwjmgwmn.js";
67
+ import {
68
+ node48
69
+ } from "./state-n5a5z38x.js";
70
+ import {
71
+ node32
72
+ } from "./state-e3mscyvg.js";
73
+ import {
74
+ configured6,
75
+ node56
76
+ } from "./state-75p5n5ps.js";
77
+ import {
78
+ node21
79
+ } from "./state-ww06kf95.js";
80
+ import {
81
+ node58
82
+ } from "./state-p1d46h3z.js";
83
+ import {
84
+ node29
85
+ } from "./state-bwpeaz3e.js";
86
+ import {
87
+ node43
88
+ } from "./state-nhgnsbzd.js";
89
+ import {
90
+ node27
91
+ } from "./state-ny5dfp0g.js";
92
+ import {
93
+ node39
94
+ } from "./state-zveeavy8.js";
95
+ import {
96
+ node26
97
+ } from "./state-qfmkjdkz.js";
98
+ import {
99
+ node20
100
+ } from "./state-29rcqgc7.js";
101
+ import {
102
+ node38
103
+ } from "./state-097xh0r3.js";
104
+ import {
105
+ node80
106
+ } from "./state-3jwvk6df.js";
107
+ import {
108
+ node67
109
+ } from "./state-tk4xefdg.js";
110
+ import {
111
+ node65
112
+ } from "./state-gmh1p7c3.js";
113
+ import {
114
+ node46
115
+ } from "./state-cfm6v96c.js";
116
+ import {
117
+ node45
118
+ } from "./state-dd3vv6mw.js";
119
+ import {
120
+ node17
121
+ } from "./state-q2tqwnr3.js";
122
+ import {
123
+ node52
124
+ } from "./state-7bqgghcm.js";
125
+ import {
126
+ node16
127
+ } from "./state-kxfmahn5.js";
128
+ import {
129
+ node4
130
+ } from "./state-3sjz8m0p.js";
131
+ import {
132
+ node47
133
+ } from "./state-jbqb2jwb.js";
134
+ import {
135
+ node9,
136
+ bound2
137
+ } from "./state-7b15y959.js";
138
+ import {
139
+ node13
140
+ } from "./state-tzfrkvh8.js";
141
+ import {
142
+ node12
143
+ } from "./state-rp6tmztm.js";
144
+ import {
145
+ node11
146
+ } from "./state-h61yhmmq.js";
147
+ import {
148
+ node6
149
+ } from "./state-j4265jp1.js";
150
+ import {
151
+ node5
152
+ } from "./state-3s08q6xc.js";
153
+ import {
154
+ node63
155
+ } from "./state-3jqje4at.js";
156
+ import {
157
+ node3
158
+ } from "./state-x6mn7k7a.js";
159
+ import {
160
+ node2
161
+ } from "./state-rn2343kj.js";
162
+ import {
163
+ __export
164
+ } from "./state-9rqn6x4v.js";
165
+
166
+ // src/instance.ts
167
+ var exports_instance = {};
168
+ __export(exports_instance, {
169
+ Instance: () => exports_instance,
170
+ Service: () => Service31,
171
+ graph: () => graph2,
172
+ layer: () => layer2,
173
+ node: () => node34
174
+ });
175
+ import { Effect, Layer } from "effect";
176
+ import { LayerNode } from "@opencode/util/effect/layer-node";
177
+ import { Node } from "@opencode/util/effect/app-node";
178
+ var nodes = [
179
+ node81,
180
+ node76,
181
+ node68,
182
+ node51,
183
+ node40,
184
+ node43,
185
+ node46,
186
+ node17,
187
+ node74,
188
+ node73,
189
+ node72,
190
+ node53,
191
+ node54,
192
+ node16,
193
+ node75,
194
+ node9,
195
+ node6,
196
+ node5,
197
+ node52,
198
+ node61,
199
+ node60,
200
+ node80,
201
+ node63,
202
+ node65,
203
+ node39,
204
+ node21,
205
+ node56,
206
+ node47,
207
+ node57,
208
+ node55,
209
+ node30,
210
+ node48,
211
+ node58,
212
+ node67,
213
+ node59,
214
+ node26,
215
+ node27,
216
+ node25,
217
+ node84,
218
+ node35,
219
+ node11,
220
+ node29,
221
+ node12,
222
+ node32,
223
+ node13,
224
+ node3,
225
+ node20,
226
+ node38,
227
+ node2,
228
+ node45,
229
+ node4
230
+ ];
231
+ var graph2 = LayerNode.group(nodes);
232
+ var vanillaReplacements = [
233
+ node68.replace(configured8({ project: false, global: false })),
234
+ node56.replace(configured6({ project: false, global: false }))
235
+ ];
236
+ function layer2(ref, options = {}) {
237
+ const startedAt = performance.now();
238
+ const replacements = [
239
+ ...options.discovery === false ? vanillaReplacements : [],
240
+ ...options.replacements ?? [],
241
+ node81.replace(boundNode2(ref, { discovery: options.discovery })),
242
+ node9.replace(bound2(options.plugins ?? []))
243
+ ];
244
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
245
+ directory: ref.directory,
246
+ workspaceID: ref.workspaceID,
247
+ durationMs: Math.round(performance.now() - startedAt)
248
+ })));
249
+ }
250
+
251
+ export { graph2, layer2, exports_instance };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./filesystem-y8cydn3q.js";
3
+ } from "./state-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./filesystem-922hggd3.js";
4
+ } from "./state-922hggd3.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./filesystem-req2f1zf.js";
6
+ Service76,
7
+ node81
8
+ } from "./state-ezc4vqg9.js";
9
9
  import {
10
- Service60,
11
- node64
12
- } from "./filesystem-903hvwdd.js";
10
+ Service57,
11
+ node61
12
+ } from "./state-nc2qx4zy.js";
13
13
  import {
14
14
  __export
15
- } from "./filesystem-9rqn6x4v.js";
15
+ } from "./state-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -20,31 +20,31 @@ __export(exports_filesystem, {
20
20
  Content: () => Content3,
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
- Entry: () => Entry4,
24
- Event: () => Event16,
23
+ Entry: () => Entry2,
24
+ Event: () => Event12,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput3,
29
+ ListInput: () => ListInput5,
30
30
  Match: () => Match2,
31
- NotFoundError: () => NotFoundError6,
31
+ NotFoundError: () => NotFoundError7,
32
32
  ReadInput: () => ReadInput2,
33
- Service: () => Service59,
33
+ Service: () => Service56,
34
34
  Submatch: () => Submatch2,
35
- node: () => node63
35
+ node: () => node60
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import path from "path";
39
39
  import { Context, Effect, Layer, Schema } from "effect";
40
40
  import { FSUtil } from "@opencode/util/fs-util";
41
41
  import { Entry, FileSystem, FindInput as FindInput2 } from "@opencode/schema/filesystem";
42
- import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
42
+ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
43
43
  var ReadInput2 = Schema.Struct({
44
44
  path: RelativePath2
45
45
  });
46
46
 
47
- class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
+ class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
48
48
  path: RelativePath2
49
49
  }) {
50
50
  }
@@ -55,7 +55,7 @@ var Content3 = Schema.Struct({
55
55
  encoding: Schema.Literals(["utf8", "base64"]),
56
56
  mime: Schema.String
57
57
  }).annotate({ identifier: "FileSystem.Content" });
58
- var ListInput3 = Schema.Struct({
58
+ var ListInput5 = Schema.Struct({
59
59
  path: Schema.String.pipe(Schema.optional)
60
60
  });
61
61
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
78
78
  limit: Schema.optionalKey(PositiveInt2)
79
79
  }) {
80
80
  }
81
- var Event16 = FileSystem.Event;
81
+ var Event12 = FileSystem.Event;
82
82
 
83
- class Service59 extends Context.Service()("@opencode/FileSystem") {
83
+ class Service56 extends Context.Service()("@opencode/FileSystem") {
84
84
  }
85
- var baseLayer = Layer.effect(Service59, Effect.gen(function* () {
85
+ var baseLayer = Layer.effect(Service56, Effect.gen(function* () {
86
86
  const fs = yield* FSUtil.Service;
87
- const location = yield* Service75;
88
- const search = yield* Service60;
87
+ const location = yield* Service76;
88
+ const search = yield* Service57;
89
89
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
90
90
  const resolve = Effect.fnUntraced(function* (input) {
91
91
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service59, Effect.gen(function* () {
96
96
  return yield* Effect.die(new Error("Path escapes the location"));
97
97
  return { absolute, real, directory: location.directory };
98
98
  });
99
- return Service59.of({
99
+ return Service56.of({
100
100
  find: search.find,
101
101
  read: Effect.fn("FileSystem.read")(function* (input) {
102
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
103
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
102
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
103
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
104
104
  if (info.type !== "File")
105
105
  return yield* Effect.die(new Error("Path is not a file"));
106
106
  return {
107
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error))),
107
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error))),
108
108
  mime: FSUtil.mimeType(target.real)
109
109
  };
110
110
  }),
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service59, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node63 = makeLocationNode({
132
- service: Service59,
131
+ var node60 = makeLocationNode({
132
+ service: Service56,
133
133
  layer: baseLayer,
134
- deps: [FSUtil.node, node80, node64]
134
+ deps: [FSUtil.node, node81, node61]
135
135
  });
136
136
 
137
- export { FindInput2, ReadInput2, NotFoundError6, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event16, Service59, node63, exports_filesystem, Entry4, Match2, Submatch2 };
137
+ export { FindInput2, ReadInput2, NotFoundError7, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event12, Service56, node60, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./filesystem-ym463w8f.js";
3
+ } from "./state-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({