@opencode/core 0.0.0-dev-19637 → 0.0.0-dev-19638

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 (461) hide show
  1. package/dist/agent.js +60 -60
  2. package/dist/aisdk-native.js +58 -58
  3. package/dist/aisdk.js +63 -63
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +49 -49
  6. package/dist/chunks/{file-access-6n9rjysc.js → file-access-01bhhyb7.js} +2 -2
  7. package/dist/chunks/{file-access-s8d7rejh.js → file-access-02nrjc1r.js} +7 -7
  8. package/dist/chunks/{file-access-2jywpyj8.js → file-access-0hnxfn8s.js} +22 -22
  9. package/dist/chunks/{file-access-kmkxeyh5.js → file-access-0j8y3tn5.js} +21 -21
  10. package/dist/chunks/file-access-0mesazry.js +4 -0
  11. package/dist/chunks/{file-access-8v7kkkbw.js → file-access-0tg58rzn.js} +10 -10
  12. package/dist/chunks/{file-access-5dyw5czf.js → file-access-1bz55dqa.js} +79 -79
  13. package/dist/chunks/{file-access-pf4e8y03.js → file-access-1h5aw7tx.js} +14 -14
  14. package/dist/chunks/{file-access-bycqfhhp.js → file-access-1r6cykv1.js} +4 -4
  15. package/dist/chunks/{file-access-cjwxcw7h.js → file-access-22xdy94t.js} +9 -9
  16. package/dist/chunks/{file-access-gy9mz9hm.js → file-access-25fjjxm2.js} +28 -28
  17. package/dist/chunks/{file-access-www2df0c.js → file-access-2j0dgarf.js} +13 -13
  18. package/dist/chunks/{file-access-da5p2m5f.js → file-access-2js99wz0.js} +17 -17
  19. package/dist/chunks/{file-access-56m60q16.js → file-access-2wts5qzq.js} +7 -7
  20. package/dist/chunks/{file-access-vbmj93bj.js → file-access-32x43b5h.js} +1 -1
  21. package/dist/chunks/{file-access-xh45r5pf.js → file-access-33c2t3mm.js} +16 -16
  22. package/dist/chunks/{file-access-rytnjs8b.js → file-access-3knnkrdf.js} +17 -17
  23. package/dist/chunks/{file-access-ybhbtxjg.js → file-access-3ktbe3hf.js} +4 -4
  24. package/dist/chunks/{file-access-ycjb11n5.js → file-access-3ppptnan.js} +5 -5
  25. package/dist/chunks/{file-access-m7qxvmyy.js → file-access-3stbjpb0.js} +19 -19
  26. package/dist/chunks/{file-access-dffmtpj7.js → file-access-3zdwcfwy.js} +7 -7
  27. package/dist/chunks/{file-access-s5trtwgj.js → file-access-3zrjs6f3.js} +8 -8
  28. package/dist/chunks/{file-access-paghhsgz.js → file-access-46hd3f0f.js} +4 -4
  29. package/dist/chunks/{file-access-hjt4xg1x.js → file-access-47gsdddb.js} +6 -6
  30. package/dist/chunks/{file-access-ssdhg7mn.js → file-access-4cmr76fd.js} +3 -3
  31. package/dist/chunks/{file-access-0r581tt5.js → file-access-4hxfx086.js} +8 -8
  32. package/dist/chunks/{file-access-zhq6vg7a.js → file-access-4jc5c4h4.js} +1 -1
  33. package/dist/chunks/{file-access-a8092cx4.js → file-access-4nfbas15.js} +10 -10
  34. package/dist/chunks/{file-access-v2rf49aq.js → file-access-4vb1y0qz.js} +5 -5
  35. package/dist/chunks/{file-access-hpv156nq.js → file-access-4wrt768g.js} +1 -1
  36. package/dist/chunks/{file-access-8nsc8gnz.js → file-access-50hk1gym.js} +13 -13
  37. package/dist/chunks/{file-access-szrf2gp8.js → file-access-56rycjvn.js} +22 -22
  38. package/dist/chunks/{file-access-4e8qeqw2.js → file-access-5n7sh86d.js} +6 -6
  39. package/dist/chunks/{file-access-ks3vd1j0.js → file-access-5srkf7nd.js} +9 -9
  40. package/dist/chunks/{file-access-11ayc5k1.js → file-access-62agcz7g.js} +18 -18
  41. package/dist/chunks/{file-access-rw2xgg53.js → file-access-6jft8mvs.js} +17 -17
  42. package/dist/chunks/{file-access-v6ede5y2.js → file-access-6m499kzd.js} +22 -22
  43. package/dist/chunks/{file-access-mrhssej4.js → file-access-6snq9ewv.js} +49 -49
  44. package/dist/chunks/{file-access-hv8qssb6.js → file-access-6ycvbcht.js} +15 -15
  45. package/dist/chunks/{file-access-t192nm8m.js → file-access-6ykthspn.js} +4 -4
  46. package/dist/chunks/{file-access-zd6ydzqz.js → file-access-6ywjc070.js} +19 -19
  47. package/dist/chunks/{file-access-zqfhgf5b.js → file-access-76jmq1mn.js} +167 -167
  48. package/dist/chunks/{file-access-j933w6sb.js → file-access-76xmbs1m.js} +13 -13
  49. package/dist/chunks/{file-access-76rf663v.js → file-access-7dcaf0ce.js} +19 -19
  50. package/dist/chunks/{file-access-k701emjf.js → file-access-7h1ryc6p.js} +15 -12
  51. package/dist/chunks/{file-access-5jhep4w0.js → file-access-7heb594d.js} +24 -24
  52. package/dist/chunks/{file-access-kq1t1162.js → file-access-7n0p62ew.js} +10 -10
  53. package/dist/chunks/{file-access-17m608xa.js → file-access-7tcrqq4t.js} +6 -6
  54. package/dist/chunks/{file-access-zs4gxp06.js → file-access-7tdtfp7b.js} +21 -21
  55. package/dist/chunks/{file-access-73tb2d7t.js → file-access-7yh4e7ss.js} +2 -2
  56. package/dist/chunks/{file-access-x182m7xa.js → file-access-812zr1rk.js} +9 -9
  57. package/dist/chunks/{file-access-p459fsr1.js → file-access-8526r7vx.js} +23 -23
  58. package/dist/chunks/{file-access-890y149a.js → file-access-8602h8p3.js} +7 -7
  59. package/dist/chunks/{file-access-30ntgpz7.js → file-access-86jfkp86.js} +24 -24
  60. package/dist/chunks/{file-access-0xezjjjn.js → file-access-8ank75fn.js} +7 -7
  61. package/dist/chunks/{file-access-s0bax34n.js → file-access-8b68vhre.js} +14 -14
  62. package/dist/chunks/{file-access-9t16ekdb.js → file-access-8kckztxt.js} +23 -23
  63. package/dist/chunks/{file-access-2775jj4e.js → file-access-8r5sxhkv.js} +3 -3
  64. package/dist/chunks/{file-access-x0wxay44.js → file-access-8snetkfr.js} +4 -4
  65. package/dist/chunks/{file-access-7zm7jxc7.js → file-access-8yph952s.js} +3 -3
  66. package/dist/chunks/{file-access-ygk8sne3.js → file-access-8yppv9j5.js} +22 -22
  67. package/dist/chunks/{file-access-jcas26n6.js → file-access-917gka4z.js} +12 -12
  68. package/dist/chunks/{file-access-gg8wv5as.js → file-access-92f8rgp2.js} +22 -22
  69. package/dist/chunks/{file-access-sm965ndy.js → file-access-99xay3p1.js} +7 -7
  70. package/dist/chunks/{file-access-1z24zf3x.js → file-access-9ancjmj9.js} +34 -30
  71. package/dist/chunks/{file-access-89smrnyf.js → file-access-9b36z5yg.js} +1 -1
  72. package/dist/chunks/{file-access-92xny6nd.js → file-access-9bkgmrac.js} +3 -3
  73. package/dist/chunks/{file-access-7gahrvww.js → file-access-9ev53f4q.js} +15 -15
  74. package/dist/chunks/{file-access-aj5f68bw.js → file-access-9rrc34ns.js} +22 -22
  75. package/dist/chunks/{file-access-hfx69nqz.js → file-access-9s92gzw6.js} +20 -20
  76. package/dist/chunks/{file-access-btrn8rgp.js → file-access-a3dkvnxb.js} +41 -41
  77. package/dist/chunks/{file-access-fdms3n6w.js → file-access-a3ftg8j6.js} +7 -7
  78. package/dist/chunks/{file-access-etbqe1sp.js → file-access-a46e93d3.js} +3 -3
  79. package/dist/chunks/{file-access-dxzm7sqd.js → file-access-a6kbnp9r.js} +5 -5
  80. package/dist/chunks/{file-access-h8ptc2jy.js → file-access-a97f1kxr.js} +22 -22
  81. package/dist/chunks/{file-access-jkpvc1gj.js → file-access-ajk9kppy.js} +15 -15
  82. package/dist/chunks/{file-access-vbctgszn.js → file-access-andt55zn.js} +42 -42
  83. package/dist/chunks/{file-access-490pvwh4.js → file-access-ashkezcm.js} +30 -30
  84. package/dist/chunks/{file-access-e2609ak5.js → file-access-avs77xrm.js} +4 -4
  85. package/dist/chunks/{file-access-xf0yen68.js → file-access-azvx9vjt.js} +14 -14
  86. package/dist/chunks/{file-access-v5dkyp31.js → file-access-b27vhd2z.js} +3 -3
  87. package/dist/chunks/{file-access-204v3eqv.js → file-access-b2gch9fn.js} +22 -22
  88. package/dist/chunks/{file-access-h7923tt2.js → file-access-b2jj88ef.js} +13 -13
  89. package/dist/chunks/{file-access-1ktgcqzb.js → file-access-b5j16w9d.js} +8 -8
  90. package/dist/chunks/{file-access-ss56yrvr.js → file-access-b5jkzqy2.js} +36 -36
  91. package/dist/chunks/{file-access-196s2236.js → file-access-bbfsgge0.js} +19 -19
  92. package/dist/chunks/{file-access-s52y66be.js → file-access-be47w3k3.js} +9 -9
  93. package/dist/chunks/{file-access-hg3nex49.js → file-access-bhqn7aj9.js} +9 -9
  94. package/dist/chunks/{file-access-f55hhvzh.js → file-access-bj5hbc59.js} +4 -4
  95. package/dist/chunks/{file-access-4v7qdvcn.js → file-access-by5v678g.js} +4 -4
  96. package/dist/chunks/{file-access-efzqyggw.js → file-access-by9rpdtw.js} +10 -10
  97. package/dist/chunks/{file-access-vh7dp00t.js → file-access-c1661jpf.js} +1 -1
  98. package/dist/chunks/{file-access-p37cw4rj.js → file-access-cmwkp3r5.js} +7 -7
  99. package/dist/chunks/{file-access-h6r3nrb9.js → file-access-cpj0znwe.js} +3 -3
  100. package/dist/chunks/{file-access-rzbfacg9.js → file-access-cy2r3qg1.js} +31 -31
  101. package/dist/chunks/{file-access-npmmx7a7.js → file-access-dbtyj0an.js} +6 -6
  102. package/dist/chunks/{file-access-j4gdw6gw.js → file-access-dpcqhtkn.js} +12 -12
  103. package/dist/chunks/{file-access-r8t2xrpw.js → file-access-dsyvch4e.js} +19 -19
  104. package/dist/chunks/{file-access-apqkkg64.js → file-access-dthhqzns.js} +10 -10
  105. package/dist/chunks/{file-access-q2cy2y1a.js → file-access-dy562txv.js} +17 -17
  106. package/dist/chunks/{file-access-grw98w6v.js → file-access-e2e34s5q.js} +21 -21
  107. package/dist/chunks/{file-access-ck2q371s.js → file-access-e2qab2dq.js} +4 -4
  108. package/dist/chunks/{file-access-nbygjmnq.js → file-access-e3adyxrg.js} +28 -28
  109. package/dist/chunks/{file-access-sn3rxfgj.js → file-access-e64xqjet.js} +6 -6
  110. package/dist/chunks/{file-access-waqrje5a.js → file-access-ea3fxjgj.js} +25 -25
  111. package/dist/chunks/{file-access-qf53spd6.js → file-access-eahf1j6r.js} +16 -16
  112. package/dist/chunks/{file-access-q0r2d8rn.js → file-access-enbnvbva.js} +30 -30
  113. package/dist/chunks/{file-access-rhr5fvwd.js → file-access-et8mzwyf.js} +9 -9
  114. package/dist/chunks/{file-access-yd4pvbh8.js → file-access-ewwzb6sv.js} +5 -5
  115. package/dist/chunks/{file-access-qrkqsxkr.js → file-access-f3k401ar.js} +18 -18
  116. package/dist/chunks/{file-access-50mzsvk4.js → file-access-f3ngv102.js} +3 -3
  117. package/dist/chunks/{file-access-5d6nmhah.js → file-access-f6fgfmmn.js} +26 -26
  118. package/dist/chunks/{file-access-qehrwxjr.js → file-access-fak7xqqt.js} +27 -27
  119. package/dist/chunks/{file-access-m8y6a9gt.js → file-access-fc4nsy51.js} +36 -36
  120. package/dist/chunks/{file-access-jsbpgh5s.js → file-access-g00jty2v.js} +8 -8
  121. package/dist/chunks/{file-access-e5vq6wef.js → file-access-g0r62mbx.js} +3 -3
  122. package/dist/chunks/{file-access-q54epvg6.js → file-access-gsj5sv52.js} +8 -8
  123. package/dist/chunks/file-access-h2q74avv.js +26 -0
  124. package/dist/chunks/{file-access-wa065q7p.js → file-access-he2x7e7z.js} +2 -2
  125. package/dist/chunks/{file-access-m6ay5emd.js → file-access-hftty0sn.js} +41 -24
  126. package/dist/chunks/{file-access-0addxkp5.js → file-access-hg4hxzv1.js} +24 -24
  127. package/dist/chunks/{file-access-3h8hw3gv.js → file-access-hm7xtcxq.js} +12 -12
  128. package/dist/chunks/{file-access-n4r3xatb.js → file-access-hn57h045.js} +3 -3
  129. package/dist/chunks/{file-access-r88mwysp.js → file-access-hpe0ccrg.js} +42 -42
  130. package/dist/chunks/{file-access-c9ecbdb0.js → file-access-hwr433ds.js} +10 -10
  131. package/dist/chunks/{file-access-4tafv0me.js → file-access-j03d6hs6.js} +17 -17
  132. package/dist/chunks/{file-access-9k7ekhq9.js → file-access-j0vfj7ky.js} +8 -8
  133. package/dist/chunks/{file-access-0ft9cg2j.js → file-access-j15mfg1p.js} +5 -5
  134. package/dist/chunks/{file-access-a3r4dcrj.js → file-access-jca4demv.js} +1 -1
  135. package/dist/chunks/{file-access-q5rhn9x0.js → file-access-jgv4nkbw.js} +15 -15
  136. package/dist/chunks/{file-access-ffzfw6dq.js → file-access-jjefk1kz.js} +41 -41
  137. package/dist/chunks/{file-access-xc8sh4yv.js → file-access-js4k7t4e.js} +14 -14
  138. package/dist/chunks/{file-access-xahw4cd4.js → file-access-k31cg7qp.js} +19 -19
  139. package/dist/chunks/{file-access-fstwsg2e.js → file-access-k33y0e94.js} +39 -39
  140. package/dist/chunks/{file-access-nmn5p8yd.js → file-access-ke9sk9ax.js} +14 -14
  141. package/dist/chunks/{file-access-x2nqcre9.js → file-access-km5njsm9.js} +9 -9
  142. package/dist/chunks/{file-access-xg631j7a.js → file-access-kr9cqyf0.js} +6 -6
  143. package/dist/chunks/{file-access-xdrba4jw.js → file-access-kw9xdzv2.js} +7 -7
  144. package/dist/chunks/{file-access-sfe15w4t.js → file-access-m6gy85y0.js} +13 -13
  145. package/dist/chunks/{file-access-vgxg80g2.js → file-access-mby8mxat.js} +5 -5
  146. package/dist/chunks/{file-access-1ygqh575.js → file-access-mfqp6xfm.js} +4 -4
  147. package/dist/chunks/{file-access-z4zzqkyn.js → file-access-mmy2zf88.js} +27 -27
  148. package/dist/chunks/{file-access-ewvjyc2d.js → file-access-mrxfpjcs.js} +7 -7
  149. package/dist/chunks/{file-access-p630c9xd.js → file-access-mvn2r3z4.js} +7 -7
  150. package/dist/chunks/{file-access-hmfh1rh8.js → file-access-mxyhxd0t.js} +9 -9
  151. package/dist/chunks/{file-access-7374nn42.js → file-access-mzrp1fyr.js} +16 -16
  152. package/dist/chunks/{file-access-zc4efzed.js → file-access-n9y08rq6.js} +10 -10
  153. package/dist/chunks/{file-access-xe94yqgp.js → file-access-ngdt5g2x.js} +3 -3
  154. package/dist/chunks/{file-access-cz6y612w.js → file-access-njqgj7qg.js} +9 -9
  155. package/dist/chunks/{file-access-ah3b0qta.js → file-access-nzha355v.js} +14 -14
  156. package/dist/chunks/{file-access-rvh2fpxc.js → file-access-p2f255ct.js} +2 -2
  157. package/dist/chunks/{file-access-9ppknq4r.js → file-access-p5599t8k.js} +5 -5
  158. package/dist/chunks/{file-access-64stfe7m.js → file-access-pdd0bbjk.js} +15 -15
  159. package/dist/chunks/{file-access-bh51kybc.js → file-access-pfz3dw98.js} +22 -22
  160. package/dist/chunks/{file-access-c07j17hk.js → file-access-phnkt68t.js} +307 -307
  161. package/dist/chunks/{file-access-wjcn38ba.js → file-access-pj43p8qp.js} +1 -1
  162. package/dist/chunks/{file-access-55zx3jwd.js → file-access-pr444p5c.js} +16 -16
  163. package/dist/chunks/{file-access-b2rkp7aa.js → file-access-q12jtckr.js} +8 -8
  164. package/dist/chunks/{file-access-jexxy024.js → file-access-q3t37ft6.js} +3 -3
  165. package/dist/chunks/{file-access-eezbyd6d.js → file-access-qfjwnv02.js} +1 -1
  166. package/dist/chunks/{file-access-fcrkznn8.js → file-access-qgn6gcr1.js} +4 -4
  167. package/dist/chunks/{file-access-cwa6csj7.js → file-access-qmqgtz8f.js} +7 -7
  168. package/dist/chunks/{file-access-ch5zdy2s.js → file-access-qv9gx9bg.js} +2 -2
  169. package/dist/chunks/{file-access-352n4qm2.js → file-access-qx87dfmj.js} +14 -14
  170. package/dist/chunks/{file-access-1szx0rct.js → file-access-r4ck6ye8.js} +13 -13
  171. package/dist/chunks/{file-access-ebw7vtp3.js → file-access-rds37zvx.js} +27 -27
  172. package/dist/chunks/{file-access-afes4715.js → file-access-rgp511zr.js} +1 -1
  173. package/dist/chunks/{file-access-t5dv71qx.js → file-access-rj5xkaak.js} +11 -11
  174. package/dist/chunks/{file-access-0x7mekqw.js → file-access-rsk3jvy7.js} +9 -9
  175. package/dist/chunks/{file-access-ccz297mt.js → file-access-rtxak1ft.js} +11 -11
  176. package/dist/chunks/{file-access-det33w69.js → file-access-rw8kjknk.js} +4 -4
  177. package/dist/chunks/{file-access-hfvc964k.js → file-access-s587y4ee.js} +3 -3
  178. package/dist/chunks/{file-access-c8vbwmvy.js → file-access-s6jatava.js} +19 -19
  179. package/dist/chunks/{file-access-pcd7pbnd.js → file-access-s7769g1c.js} +23 -23
  180. package/dist/chunks/{file-access-6d6cd74m.js → file-access-s8j3dq9b.js} +2 -2
  181. package/dist/chunks/{file-access-w1wd9tp2.js → file-access-snmjhvm7.js} +12 -12
  182. package/dist/chunks/{file-access-v812h1xz.js → file-access-spqgdpza.js} +22 -22
  183. package/dist/chunks/{file-access-468d37b3.js → file-access-sstmea9h.js} +21 -21
  184. package/dist/chunks/{file-access-dhxdeg25.js → file-access-sve5t580.js} +46 -46
  185. package/dist/chunks/{file-access-e7vjkpcb.js → file-access-sxd752g3.js} +7 -7
  186. package/dist/chunks/{file-access-9zzv5pgc.js → file-access-t3swkhbg.js} +3 -3
  187. package/dist/chunks/{file-access-912kkt9t.js → file-access-t7e0y256.js} +6 -6
  188. package/dist/chunks/{file-access-ytgdyx08.js → file-access-t9kha2ca.js} +1 -1
  189. package/dist/chunks/{file-access-tcrhe9m8.js → file-access-tdbakys2.js} +18 -18
  190. package/dist/chunks/{file-access-m17nagwc.js → file-access-v65pmyz7.js} +1 -1
  191. package/dist/chunks/{file-access-t271ntmg.js → file-access-vbmkf8sa.js} +56 -56
  192. package/dist/chunks/{file-access-8yk8gp0p.js → file-access-vfp4enkz.js} +9 -9
  193. package/dist/chunks/{file-access-ky68ekyp.js → file-access-vhfq0sg5.js} +8 -8
  194. package/dist/chunks/{file-access-jy3pp1pb.js → file-access-vmgcxazz.js} +5 -5
  195. package/dist/chunks/{file-access-0v53mg2y.js → file-access-vncycja5.js} +3 -3
  196. package/dist/chunks/{file-access-xmvk7qad.js → file-access-vpgyrhve.js} +36 -36
  197. package/dist/chunks/{file-access-4jv7e9dq.js → file-access-vyqn3nqs.js} +8 -8
  198. package/dist/chunks/{file-access-5c0f1prt.js → file-access-w1k39n5e.js} +3 -3
  199. package/dist/chunks/{file-access-sf0yp864.js → file-access-w4axh9wz.js} +5 -5
  200. package/dist/chunks/{file-access-tkfbqfej.js → file-access-wc8ptzv7.js} +24 -24
  201. package/dist/chunks/{file-access-s3ze4hah.js → file-access-wvxf6pmh.js} +10 -10
  202. package/dist/chunks/{file-access-fhj2ec39.js → file-access-xsyev9bv.js} +13 -13
  203. package/dist/chunks/file-access-xv4gw76e.js +247 -0
  204. package/dist/chunks/{file-access-7qz0vyfs.js → file-access-y3d0z3tn.js} +20 -20
  205. package/dist/chunks/{file-access-dr6h9h98.js → file-access-y3ye89br.js} +40 -40
  206. package/dist/chunks/{file-access-1gfa7nhd.js → file-access-yb8fj77w.js} +30 -30
  207. package/dist/chunks/{file-access-amtb1fgb.js → file-access-ycrw32xq.js} +11 -11
  208. package/dist/chunks/{file-access-r8xr0va3.js → file-access-yp2x3t23.js} +3 -3
  209. package/dist/chunks/{file-access-jdfjhp2e.js → file-access-ypyq2zsn.js} +10 -10
  210. package/dist/chunks/{file-access-wajqf0bb.js → file-access-ys2m57fz.js} +30 -30
  211. package/dist/chunks/{file-access-y2m441pc.js → file-access-z12cg9p1.js} +8 -8
  212. package/dist/chunks/{file-access-yzcxy4rp.js → file-access-z25b1m8j.js} +36 -36
  213. package/dist/chunks/{file-access-a5mt2rtc.js → file-access-z6q28316.js} +27 -27
  214. package/dist/chunks/{file-access-8dpx7m7d.js → file-access-z6t9vx1b.js} +10 -10
  215. package/dist/chunks/{file-access-sa8j3x6g.js → file-access-zetsppkw.js} +17 -17
  216. package/dist/chunks/{file-access-kd6d57r1.js → file-access-zf9pbwsw.js} +74 -74
  217. package/dist/chunks/{file-access-x0511brf.js → file-access-zj09a0ew.js} +3 -3
  218. package/dist/chunks/{file-access-3dz5wwbt.js → file-access-zmk6j7b1.js} +12 -12
  219. package/dist/chunks/{file-access-2d8e38yw.js → file-access-zsn07k7j.js} +11 -11
  220. package/dist/chunks/{file-access-9gfvx8yt.js → file-access-zw6dtez5.js} +1 -1
  221. package/dist/codemode/instructions.js +8 -8
  222. package/dist/command.js +60 -60
  223. package/dist/config/discovery.js +53 -53
  224. package/dist/config/normalize.js +72 -72
  225. package/dist/config/plugin/agent.js +88 -88
  226. package/dist/config/plugin/command.js +161 -161
  227. package/dist/config/plugin/compaction.js +112 -112
  228. package/dist/config/plugin/compatibility.js +99 -99
  229. package/dist/config/plugin/formatter.js +87 -87
  230. package/dist/config/plugin/image.js +86 -86
  231. package/dist/config/plugin/instruction.js +58 -58
  232. package/dist/config/plugin/location-watcher.js +86 -86
  233. package/dist/config/plugin/mcp.js +94 -94
  234. package/dist/config/plugin/policy.js +85 -85
  235. package/dist/config/plugin/provider.js +86 -86
  236. package/dist/config/plugin/reference.js +87 -87
  237. package/dist/config/plugin/shell.js +88 -88
  238. package/dist/config/plugin/skill-file.js +66 -66
  239. package/dist/config/plugin/skill.js +102 -102
  240. package/dist/config/plugin/snapshot.js +86 -86
  241. package/dist/config/plugin/source.js +89 -89
  242. package/dist/config/plugin/tool-output.js +86 -86
  243. package/dist/config/plugin/websearch.js +87 -87
  244. package/dist/config/plugin/worktree.js +86 -86
  245. package/dist/config.js +92 -92
  246. package/dist/credential.js +64 -64
  247. package/dist/database/database.js +48 -48
  248. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  249. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  250. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  251. package/dist/database/drizzle/index.js +9 -9
  252. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  253. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  254. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  255. package/dist/database/drizzle.js +9 -9
  256. package/dist/database/migration.gen.js +36 -36
  257. package/dist/database/migration.js +37 -37
  258. package/dist/database/v1-migration.bun.js +9 -9
  259. package/dist/effect/app-node-builder.js +226 -226
  260. package/dist/environment/environment.js +60 -60
  261. package/dist/environment/index.js +62 -62
  262. package/dist/event-logger.js +9 -9
  263. package/dist/file-access.js +69 -69
  264. package/dist/file-mutation.js +61 -61
  265. package/dist/filesystem/location-watcher-policy.js +5 -5
  266. package/dist/filesystem/location-watcher.js +171 -171
  267. package/dist/filesystem/search.js +68 -68
  268. package/dist/filesystem/watcher.js +13 -13
  269. package/dist/filesystem.js +63 -63
  270. package/dist/form.js +64 -64
  271. package/dist/formatter/builtins.js +3 -3
  272. package/dist/formatter.js +59 -59
  273. package/dist/generate.js +70 -70
  274. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  275. package/dist/github-copilot/copilot-provider.js +3 -3
  276. package/dist/github-copilot/models.js +68 -68
  277. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  278. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  279. package/dist/image/photon.js +1 -1
  280. package/dist/image.js +5 -5
  281. package/dist/instance/service.js +5 -5
  282. package/dist/instance.js +293 -293
  283. package/dist/instruction-discovery.js +61 -61
  284. package/dist/instructions/builtins.js +58 -58
  285. package/dist/instructions/index.js +5 -5
  286. package/dist/integration/connection.js +3 -3
  287. package/dist/integration.js +64 -64
  288. package/dist/job.js +57 -57
  289. package/dist/kv.js +53 -53
  290. package/dist/location-activity.js +51 -51
  291. package/dist/location-mutation.js +28 -28
  292. package/dist/location-service-map.js +57 -57
  293. package/dist/location-services.js +291 -291
  294. package/dist/location.js +52 -52
  295. package/dist/mcp/client.js +15 -15
  296. package/dist/mcp/index.js +73 -73
  297. package/dist/mcp/instructions.js +88 -88
  298. package/dist/mcp/oauth.js +13 -13
  299. package/dist/mcp/stdio.js +57 -57
  300. package/dist/modal/models.js +68 -68
  301. package/dist/model-resolver.js +65 -65
  302. package/dist/model.js +69 -69
  303. package/dist/models-dev.js +76 -76
  304. package/dist/permission/saved.js +57 -57
  305. package/dist/permission.js +78 -78
  306. package/dist/persistent-pty/index.js +63 -63
  307. package/dist/persistent-pty.js +51 -51
  308. package/dist/plugin/agent.js +69 -69
  309. package/dist/plugin/command.js +68 -68
  310. package/dist/plugin/hooks.js +5 -5
  311. package/dist/plugin/host.js +164 -164
  312. package/dist/plugin/instance.js +5 -5
  313. package/dist/plugin/internal.js +265 -265
  314. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  315. package/dist/plugin/models-dev.js +65 -65
  316. package/dist/plugin/module.js +4 -4
  317. package/dist/plugin/optimize.js +2 -2
  318. package/dist/plugin/plan.js +67 -67
  319. package/dist/plugin/provider/amazon-bedrock.js +59 -59
  320. package/dist/plugin/provider/azure.js +85 -85
  321. package/dist/plugin/provider/cloudflare-ai-gateway.js +84 -84
  322. package/dist/plugin/provider/cloudflare-workers-ai.js +84 -84
  323. package/dist/plugin/provider/configured.js +83 -83
  324. package/dist/plugin/provider/digitalocean.js +61 -61
  325. package/dist/plugin/provider/github-copilot.js +62 -62
  326. package/dist/plugin/provider/gitlab.js +60 -60
  327. package/dist/plugin/provider/google-vertex.js +59 -59
  328. package/dist/plugin/provider/llmgateway.js +55 -55
  329. package/dist/plugin/provider/lmstudio.js +86 -86
  330. package/dist/plugin/provider/modal.js +61 -61
  331. package/dist/plugin/provider/ollama.js +86 -86
  332. package/dist/plugin/provider/openai.js +60 -60
  333. package/dist/plugin/provider/opencode.js +62 -62
  334. package/dist/plugin/provider/openrouter.js +60 -60
  335. package/dist/plugin/provider/poe.js +55 -55
  336. package/dist/plugin/provider/prompt-cache-key.js +59 -59
  337. package/dist/plugin/provider/sap-ai-core.js +59 -59
  338. package/dist/plugin/provider/snowflake-cortex.js +85 -85
  339. package/dist/plugin/provider/vercel.js +59 -59
  340. package/dist/plugin/provider/vllm.js +86 -86
  341. package/dist/plugin/provider/xai.js +60 -60
  342. package/dist/plugin/provider.js +117 -117
  343. package/dist/plugin/sdk.js +56 -56
  344. package/dist/plugin/service.js +3 -3
  345. package/dist/plugin/skill.js +100 -100
  346. package/dist/plugin/supervisor.js +283 -283
  347. package/dist/plugin/update.js +5 -5
  348. package/dist/plugin/vcs/git.js +56 -56
  349. package/dist/plugin/vcs/hg.js +56 -56
  350. package/dist/plugin/warming.js +85 -85
  351. package/dist/plugin/websearch/exa.js +6 -6
  352. package/dist/plugin/websearch/firecrawl.js +7 -7
  353. package/dist/plugin/websearch/index.js +8 -8
  354. package/dist/plugin/websearch/mcp.js +3 -3
  355. package/dist/plugin/websearch/parallel.js +7 -7
  356. package/dist/plugin/websearch/tavily.js +6 -6
  357. package/dist/plugin/websearch/tinyfish.js +7 -7
  358. package/dist/plugin.js +176 -176
  359. package/dist/project.js +51 -51
  360. package/dist/provider.js +70 -70
  361. package/dist/pty/schema.js +3 -3
  362. package/dist/pty.js +65 -65
  363. package/dist/reference/instructions.js +61 -61
  364. package/dist/reference.js +63 -63
  365. package/dist/repository-cache.js +55 -55
  366. package/dist/ripgrep.js +63 -63
  367. package/dist/rpc.js +57 -57
  368. package/dist/session/command.js +53 -53
  369. package/dist/session/compaction.js +93 -93
  370. package/dist/session/context.js +109 -109
  371. package/dist/session/diff.js +56 -56
  372. package/dist/session/environment.js +5 -5
  373. package/dist/session/error.js +4 -4
  374. package/dist/session/execution/restart.js +112 -112
  375. package/dist/session/execution.js +91 -91
  376. package/dist/session/generate.js +110 -110
  377. package/dist/session/history.js +6 -6
  378. package/dist/session/inbox.js +64 -64
  379. package/dist/session/info.js +2 -2
  380. package/dist/session/instruction-entry.js +54 -54
  381. package/dist/session/instruction-state.js +2 -2
  382. package/dist/session/instructions.js +65 -65
  383. package/dist/session/model-request.js +77 -77
  384. package/dist/session/model-transport.js +5 -5
  385. package/dist/session/move.js +91 -91
  386. package/dist/session/projector.js +58 -58
  387. package/dist/session/prompt.js +69 -69
  388. package/dist/session/provider-context.js +3 -3
  389. package/dist/session/revert.js +57 -57
  390. package/dist/session/run-coordinator.js +3 -3
  391. package/dist/session/runner/index.js +3 -3
  392. package/dist/session/runner/llm.js +174 -174
  393. package/dist/session/runner/model.js +67 -67
  394. package/dist/session/runner/retry.js +79 -79
  395. package/dist/session/runner/step.js +84 -84
  396. package/dist/session/runner/to-llm-message.js +2 -2
  397. package/dist/session/schema.js +5 -5
  398. package/dist/session/session.js +125 -125
  399. package/dist/session/shell.js +98 -98
  400. package/dist/session/skill.js +68 -68
  401. package/dist/session/stats.js +8 -8
  402. package/dist/session/store.js +60 -60
  403. package/dist/session/subagent-job.js +157 -157
  404. package/dist/session/system-prompt.js +5 -5
  405. package/dist/session/title.js +112 -112
  406. package/dist/session/to-session-error.js +76 -76
  407. package/dist/session/transfer.js +106 -106
  408. package/dist/session.js +164 -164
  409. package/dist/shell/parse.js +2 -2
  410. package/dist/shell/select.js +13 -13
  411. package/dist/shell.js +101 -101
  412. package/dist/skill/discovery.js +5 -5
  413. package/dist/skill/instructions.js +72 -72
  414. package/dist/skill.js +77 -77
  415. package/dist/snapshot.js +63 -63
  416. package/dist/tool/mcp.js +87 -87
  417. package/dist/tool/plugin/edit.js +84 -84
  418. package/dist/tool/plugin/glob.js +88 -88
  419. package/dist/tool/plugin/grep.js +88 -88
  420. package/dist/tool/plugin/opencode.js +3 -3
  421. package/dist/tool/plugin/patch.js +86 -86
  422. package/dist/tool/plugin/question.js +68 -68
  423. package/dist/tool/plugin/read.js +88 -88
  424. package/dist/tool/plugin/shell.js +165 -165
  425. package/dist/tool/plugin/skill.js +76 -76
  426. package/dist/tool/plugin/subagent.js +166 -166
  427. package/dist/tool/plugin/webfetch.js +73 -73
  428. package/dist/tool/plugin/websearch.js +78 -78
  429. package/dist/tool/plugin/write.js +86 -86
  430. package/dist/tool/read-filesystem.js +65 -65
  431. package/dist/tool-output.js +5 -5
  432. package/dist/tool.js +9 -9
  433. package/dist/types/session/model-transport.d.ts +6 -1
  434. package/dist/v1/config/agent.js +4 -4
  435. package/dist/v1/config/command.js +3 -3
  436. package/dist/v1/config/config.js +13 -13
  437. package/dist/v1/config/formatter.js +7 -7
  438. package/dist/v1/config/lsp.js +5 -5
  439. package/dist/v1/config/mcp.js +3 -3
  440. package/dist/v1/config/migrate.js +60 -60
  441. package/dist/v1/config/permission.js +3 -3
  442. package/dist/v1/config/plugin.js +3 -3
  443. package/dist/v1/config/provider.js +3 -3
  444. package/dist/v1/config/skills.js +3 -3
  445. package/dist/variant.js +62 -62
  446. package/dist/vcs.js +59 -59
  447. package/dist/websearch.js +62 -62
  448. package/dist/wellknown/plugin.js +55 -55
  449. package/dist/wellknown.js +58 -58
  450. package/dist/workspace/driver.js +5 -5
  451. package/dist/workspace.js +58 -58
  452. package/dist/worktree/strategies.js +57 -57
  453. package/dist/worktree.js +61 -61
  454. package/package.json +8 -8
  455. package/dist/chunks/file-access-24q6q5zm.js +0 -247
  456. package/dist/chunks/file-access-mqjrdake.js +0 -26
  457. package/dist/chunks/file-access-qapv375x.js +0 -4
  458. /package/dist/chunks/{file-access-7mqb335e.js → file-access-8y62cfgq.js} +0 -0
  459. /package/dist/chunks/{file-access-s8cf5yxm.js → file-access-f60890a8.js} +0 -0
  460. /package/dist/chunks/{file-access-zk8c4w5t.js → file-access-fyjp43ss.js} +0 -0
  461. /package/dist/chunks/{file-access-2mzw0ev8.js → file-access-m3kws1jr.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./file-access-ebw7vtp3.js";
4
+ } from "./file-access-rds37zvx.js";
5
5
  import {
6
6
  latest2,
7
- Service46
8
- } from "./file-access-xmvk7qad.js";
7
+ Service51
8
+ } from "./file-access-vpgyrhve.js";
9
9
  import {
10
- resolve3
11
- } from "./file-access-dxzm7sqd.js";
10
+ resolve2
11
+ } from "./file-access-a6kbnp9r.js";
12
12
  import {
13
13
  observe2
14
14
  } from "./file-access-qsdy395h.js";
@@ -20,15 +20,15 @@ import {
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin45
23
+ Plugin: () => Plugin4
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin45 = define({
28
+ var Plugin4 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service46;
31
+ const config = yield* Service51;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -185,7 +185,7 @@ var Plugin45 = define({
185
185
  if (config.variants === undefined && !source?.base)
186
186
  models.update(providerID, id, (model) => {
187
187
  model.variants = [
188
- ...resolve3({
188
+ ...resolve2({
189
189
  ...model,
190
190
  package: model.package ?? models.provider.get(providerID)?.provider.package
191
191
  })
@@ -200,4 +200,4 @@ function configuredProviders(entries) {
200
200
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
201
201
  }
202
202
 
203
- export { Plugin45, exports_provider };
203
+ export { Plugin4, exports_provider };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service81
3
- } from "./file-access-9gfvx8yt.js";
3
+ } from "./file-access-zw6dtez5.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./file-access-qehrwxjr.js";
6
+ Event15
7
+ } from "./file-access-fak7xqqt.js";
8
8
  import {
9
- ID14,
9
+ ID7,
10
10
  MethodID2
11
- } from "./file-access-z4zzqkyn.js";
11
+ } from "./file-access-mmy2zf88.js";
12
12
  import {
13
- ID13,
13
+ ID6,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./file-access-ebw7vtp3.js";
16
+ } from "./file-access-rds37zvx.js";
17
17
  import {
18
- ID4,
19
- Input13,
18
+ ID10,
19
+ Input14,
20
20
  Response2
21
- } from "./file-access-9t16ekdb.js";
21
+ } from "./file-access-8kckztxt.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID4
35
+ providerID: ID10
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID14.make("opencode"),
57
+ integrationID: ID7.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  providers.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID14.make("opencode");
128
+ provider.integrationID = ID7.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
195
195
  sourceConnection: snapshot.connection
196
196
  });
197
197
  }
198
- const item = providers.get(ID13.opencode);
198
+ const item = providers.get(ID6.opencode);
199
199
  if (!item)
200
200
  return;
201
201
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -207,7 +207,7 @@ var OpencodePlugin2 = define({
207
207
  });
208
208
  });
209
209
  yield* ctx.model.transform((models) => {
210
- const item = models.provider.get(ID13.opencode);
210
+ const item = models.provider.get(ID6.opencode);
211
211
  if (!item)
212
212
  return;
213
213
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
241
241
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
242
242
  const token = credential.type === "oauth" ? credential.access : credential.key;
243
243
  const server = yield* normalizeServer(serverUrl(credential));
244
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
244
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
245
245
  query: input.query,
246
246
  providerID: descriptor.providerID
247
247
  }));
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
262
262
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
263
263
  });
264
264
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
265
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
265
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
266
266
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
267
267
  })
268
268
  });
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./file-access-6d6cd74m.js";
4
+ } from "./file-access-s8j3dq9b.js";
5
5
  import {
6
6
  makeUnsafe2
7
7
  } from "./file-access-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node62
12
- } from "./file-access-sf0yp864.js";
11
+ node81
12
+ } from "./file-access-w4axh9wz.js";
13
13
  import {
14
14
  WorkspaceTable2
15
15
  } from "./file-access-faypxj3z.js";
@@ -21,13 +21,13 @@ import {
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID7,
25
- Info: () => Info20,
24
+ ID: () => ID16,
25
+ Info: () => Info31,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service57,
27
+ Service: () => Service77,
28
28
  Workspace: () => exports_workspace,
29
29
  configured: () => configured11,
30
- node: () => node61
30
+ node: () => node80
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 ID7 = Workspace.ID;
38
+ var ID16 = Workspace.ID;
39
39
 
40
- class Info20 extends Schema.Class("Workspace.Info")({
41
- id: ID7,
40
+ class Info31 extends Schema.Class("Workspace.Info")({
41
+ id: ID16,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID7,
53
+ workspaceID: ID16,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service57 extends Context.Service()("@opencode/Workspace") {
59
+ class Service77 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
61
  var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service57,
62
+ service: Service77,
63
63
  layer: layer(options),
64
- deps: [node86, node62]
64
+ deps: [node86, node81]
65
65
  });
66
- var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service77, Effect.gen(function* () {
67
67
  const db = (yield* Service82).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service57, 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 Info20({
83
+ const info = (row, binding) => new Info31({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service57, 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 Service57.of({
157
+ return Service77.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID7.create();
159
+ const workspaceID = input.id ?? ID16.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(Service57, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node61 = configured11();
224
+ var node80 = configured11();
225
225
 
226
- export { ID7, Info20, NotFound3, CreateConflict2, Service57, configured11, node61, exports_workspace };
226
+ export { ID16, Info31, NotFound3, CreateConflict2, Service77, configured11, node80, exports_workspace };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID13
3
- } from "./file-access-ebw7vtp3.js";
2
+ ID6
3
+ } from "./file-access-rds37zvx.js";
4
4
  import {
5
5
  iife2
6
6
  } from "./file-access-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./file-access-npmmx7a7.js";
9
+ } from "./file-access-dbtyj0an.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID13.make("cloudflare-workers-ai");
15
+ var providerID = ID6.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service77
3
- } from "./file-access-0addxkp5.js";
2
+ Service61
3
+ } from "./file-access-hg4hxzv1.js";
4
4
  import {
5
- Service66
6
- } from "./file-access-mrhssej4.js";
5
+ Service70
6
+ } from "./file-access-6snq9ewv.js";
7
7
  import {
8
- ID4,
8
+ ID10,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service22
14
- } from "./file-access-9t16ekdb.js";
13
+ Service66
14
+ } from "./file-access-8kckztxt.js";
15
15
  import {
16
16
  __export
17
17
  } from "./file-access-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input3,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input9,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin17,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description2,
27
- name: () => name3
24
+ Plugin: () => Plugin42,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description4,
27
+ name: () => name9
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name3 = "websearch";
32
+ var name9 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input3 = Schema.Struct({
42
+ var Input9 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID4,
46
+ provider: ID10,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin17 = {
49
+ var Plugin42 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service66;
53
- const forms = yield* Service77;
54
- const websearch = yield* Service22;
52
+ const permission = yield* Service70;
53
+ const forms = yield* Service61;
54
+ const websearch = yield* Service66;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name3,
56
+ name: name9,
57
57
  options: { codemode: false },
58
- description: description2,
59
- input: Input3,
58
+ description: description4,
59
+ input: Input9,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name3,
63
+ action: name9,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name3];
179
+ delete event.tools[name9];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name3, NO_RESULTS2, description2, Input3, Plugin17, exports_websearch };
187
+ export { name9, NO_RESULTS2, description4, Input9, Plugin42, exports_websearch2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service81
3
- } from "./file-access-9gfvx8yt.js";
3
+ } from "./file-access-zw6dtez5.js";
4
4
  import {
5
- Service42,
6
- Event8
7
- } from "./file-access-ss56yrvr.js";
5
+ Service18,
6
+ Event4
7
+ } from "./file-access-b5jkzqy2.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service42;
32
+ const modelsDev = yield* Service18;
33
33
  const bus = yield* Service81;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
@@ -59,7 +59,7 @@ var ModelsDevPlugin2 = define({
59
59
  });
60
60
  }
61
61
  });
62
- yield* bus.subscribe(Event8.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
62
+ yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
63
63
  })
64
64
  });
65
65
  function environmentNames(provider) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./file-access-9gfvx8yt.js";
4
+ } from "./file-access-zw6dtez5.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
@@ -9,16 +9,16 @@ import {
9
9
  import {
10
10
  Service78,
11
11
  node82
12
- } from "./file-access-ytgdyx08.js";
12
+ } from "./file-access-t9kha2ca.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID6,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service74,
19
- node78,
20
- Event17
21
- } from "./file-access-ebw7vtp3.js";
18
+ Service59,
19
+ node62,
20
+ Event12
21
+ } from "./file-access-rds37zvx.js";
22
22
  import {
23
23
  __export
24
24
  } from "./file-access-9rqn6x4v.js";
@@ -29,25 +29,25 @@ __export(exports_model2, {
29
29
  Capabilities: () => Capabilities2,
30
30
  Compatibility: () => Compatibility2,
31
31
  Cost: () => Cost2,
32
- Event: () => Event16,
32
+ Event: () => Event11,
33
33
  Family: () => Family2,
34
- ID: () => ID12,
35
- Info: () => Info26,
34
+ ID: () => ID5,
35
+ Info: () => Info20,
36
36
  Model: () => exports_model2,
37
37
  ReasoningField: () => ReasoningField2,
38
38
  Ref: () => Ref2,
39
- Service: () => Service73,
39
+ Service: () => Service58,
40
40
  VariantID: () => VariantID2,
41
41
  compatibility: () => compatibility2,
42
- node: () => node77,
42
+ node: () => node61,
43
43
  parse: () => parse5
44
44
  });
45
45
  import { Model } from "@opencode/schema/model";
46
46
  import { Context, Effect, Layer, Stream } from "effect";
47
47
  import { makeLocationNode } from "@opencode/util/effect/app-node";
48
48
  import { freeze } from "immer";
49
- import { Event as Event16 } from "@opencode/schema/model";
50
- var ID12 = Model.ID;
49
+ import { Event as Event11 } from "@opencode/schema/model";
50
+ var ID5 = Model.ID;
51
51
  var VariantID2 = Model.VariantID;
52
52
  var Family2 = Model.Family;
53
53
  var ReasoningField2 = Model.ReasoningField;
@@ -55,12 +55,12 @@ var Compatibility2 = Model.Compatibility;
55
55
  var Capabilities2 = Model.Capabilities;
56
56
  var Cost2 = Model.Cost;
57
57
  var Ref2 = Model.Ref;
58
- var Info26 = Model.Info;
58
+ var Info20 = Model.Info;
59
59
 
60
- class Service73 extends Context.Service()("@opencode/Model") {
60
+ class Service58 extends Context.Service()("@opencode/Model") {
61
61
  }
62
- var layer = Layer.effect(Service73, Effect.gen(function* () {
63
- const providers = yield* Service74;
62
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
63
+ const providers = yield* Service59;
64
64
  const bus = yield* Service81;
65
65
  const location = yield* Service78;
66
66
  let input;
@@ -86,7 +86,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
86
86
  const models = data.models.get(providerID);
87
87
  if (!models)
88
88
  return;
89
- const model = models.get(modelID) ?? Info26.default(providerID, modelID);
89
+ const model = models.get(modelID) ?? Info20.default(providerID, modelID);
90
90
  update(model);
91
91
  model.id = modelID;
92
92
  model.providerID = providerID;
@@ -170,8 +170,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
170
170
  location: { directory: location.directory, workspaceID: location.workspaceID }
171
171
  });
172
172
  });
173
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
174
- return Service73.of({
173
+ yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
174
+ return Service58.of({
175
175
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
176
176
  reload,
177
177
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -190,7 +190,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
190
190
  })
191
191
  });
192
192
  }));
193
- var node77 = makeLocationNode({ service: Service73, layer, deps: [node78, node85, node82] });
193
+ var node61 = makeLocationNode({ service: Service58, layer, deps: [node62, node85, node82] });
194
194
  function compatibility2(input) {
195
195
  if (typeof input === "string")
196
196
  return { reasoningField: input };
@@ -201,9 +201,9 @@ function compatibility2(input) {
201
201
  function parse5(input) {
202
202
  const index = input.indexOf("/");
203
203
  return {
204
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
205
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
204
+ providerID: ID6.make(index === -1 ? input : input.slice(0, index)),
205
+ modelID: ID5.make(index === -1 ? "" : input.slice(index + 1))
206
206
  };
207
207
  }
208
208
 
209
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service73, node77, compatibility2, parse5, exports_model2, Event16 };
209
+ export { ID5, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service58, node61, compatibility2, parse5, exports_model2, Event11 };
@@ -16,11 +16,11 @@ import {
16
16
  import {
17
17
  Service78,
18
18
  node82
19
- } from "./file-access-ytgdyx08.js";
19
+ } from "./file-access-t9kha2ca.js";
20
20
  import {
21
- Service57,
22
- node61
23
- } from "./file-access-grw98w6v.js";
21
+ Service77,
22
+ node80
23
+ } from "./file-access-e2e34s5q.js";
24
24
  import {
25
25
  __export
26
26
  } from "./file-access-9rqn6x4v.js";
@@ -29,8 +29,8 @@ import {
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service56,
33
- node: () => node60
32
+ Service: () => Service76,
33
+ node: () => node79
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service56,
46
+ Service: () => Service76,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node60,
52
+ node: () => node79,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service56 extends Context.Service()("@opencode/Environment") {
61
+ class Service76 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service56, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
65
  const location = yield* Service78;
66
- const workspace = yield* Service57;
66
+ const workspace = yield* Service77;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service56.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service76.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node60 = makeLocationNode({
71
- service: Service56,
70
+ var node79 = makeLocationNode({
71
+ service: Service76,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node82, node61]
73
+ deps: [CrossSpawnSpawner.node, node82, node80]
74
74
  });
75
75
 
76
- export { Service56, node60, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service76, node79, exports_environment2, makeFiles2, exports_environment3 };