@opencode/core 0.0.0-dev-20406 → 0.0.0-dev-20409

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 (480) hide show
  1. package/dist/agent.js +70 -70
  2. package/dist/aisdk-native.js +69 -69
  3. package/dist/aisdk.js +74 -74
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +61 -61
  6. package/dist/chunks/{shell-hadadgvf.js → shell-09vtkvs2.js} +8 -8
  7. package/dist/chunks/{shell-6033txqd.js → shell-0h1hke09.js} +20 -20
  8. package/dist/chunks/{shell-0pgf3wjz.js → shell-0mfvdt8p.js} +10 -10
  9. package/dist/chunks/{shell-3x602478.js → shell-0w0ygeyh.js} +15 -15
  10. package/dist/chunks/{shell-cebrzyqt.js → shell-11040j7v.js} +17 -17
  11. package/dist/chunks/{shell-v3a302k8.js → shell-1310s4tm.js} +5 -5
  12. package/dist/chunks/{shell-5gj63dwh.js → shell-1w0b4a26.js} +8 -8
  13. package/dist/chunks/{shell-rthp8kp4.js → shell-242bp3ky.js} +17 -17
  14. package/dist/chunks/{shell-cm8jqk38.js → shell-296c8m1w.js} +4 -4
  15. package/dist/chunks/{shell-z63w68vq.js → shell-29x78va6.js} +4 -4
  16. package/dist/chunks/{shell-1q4hgdtf.js → shell-29yjt9fr.js} +330 -330
  17. package/dist/chunks/{shell-m41nq2xm.js → shell-2ccbzhav.js} +12 -12
  18. package/dist/chunks/{shell-z4pb129a.js → shell-2cfbypp4.js} +3 -3
  19. package/dist/chunks/{shell-6anwy9fs.js → shell-2d57kztd.js} +3 -3
  20. package/dist/chunks/{shell-cxqfxpp1.js → shell-2etfsxvf.js} +6 -6
  21. package/dist/chunks/{shell-57ez7d0k.js → shell-2fgn2we9.js} +7 -7
  22. package/dist/chunks/{shell-3a1r704r.js → shell-2j558fvx.js} +6 -6
  23. package/dist/chunks/{shell-7dqw4kz8.js → shell-2k8khapm.js} +4 -4
  24. package/dist/chunks/{shell-24zydrzs.js → shell-2ypncbw6.js} +52 -52
  25. package/dist/chunks/{shell-q4g7nk9d.js → shell-2zbxyrg1.js} +9 -9
  26. package/dist/chunks/{shell-1rh4yqvv.js → shell-3b9qt4hj.js} +7 -7
  27. package/dist/chunks/{shell-jnps75af.js → shell-3czaqwkp.js} +11 -11
  28. package/dist/chunks/{shell-k0gdq8ga.js → shell-3k0nn0ne.js} +9 -9
  29. package/dist/chunks/{shell-t0fxg8b9.js → shell-3w0fmcng.js} +3 -3
  30. package/dist/chunks/{shell-n0x2a21q.js → shell-4238gvvk.js} +18 -18
  31. package/dist/chunks/{shell-027h9grx.js → shell-43y38rzh.js} +16 -16
  32. package/dist/chunks/{shell-dzrr9fx3.js → shell-461tr88a.js} +7 -7
  33. package/dist/chunks/{shell-wx3q8r90.js → shell-46w5102t.js} +8 -8
  34. package/dist/chunks/{shell-nsq97wxa.js → shell-48m56tyw.js} +13 -13
  35. package/dist/chunks/{shell-fqtvmpfq.js → shell-4e8vs6eh.js} +7 -7
  36. package/dist/chunks/{shell-dawgpkjz.js → shell-4j10ng35.js} +8 -8
  37. package/dist/chunks/{shell-wdt5kg7f.js → shell-55pt171s.js} +7 -7
  38. package/dist/chunks/{shell-33w4ejhs.js → shell-56gdpj1q.js} +4 -4
  39. package/dist/chunks/{shell-5bjd8ds0.js → shell-5785y2ep.js} +45 -45
  40. package/dist/chunks/{shell-hzazvw9e.js → shell-57spbz54.js} +42 -42
  41. package/dist/chunks/{shell-nmww7jyx.js → shell-59wg76sz.js} +2 -2
  42. package/dist/chunks/{shell-kqgb7ch4.js → shell-5h3x3awa.js} +5 -5
  43. package/dist/chunks/{shell-pk6jt4dn.js → shell-5mfsnars.js} +19 -19
  44. package/dist/chunks/{shell-92tzgrpg.js → shell-5w2qze6g.js} +20 -20
  45. package/dist/chunks/{shell-2mhsvxbb.js → shell-5xpznt2d.js} +1 -1
  46. package/dist/chunks/{shell-q3t37ft6.js → shell-6bsje7ws.js} +3 -3
  47. package/dist/chunks/{shell-fmb7ydzj.js → shell-6hbwvpvg.js} +18 -18
  48. package/dist/chunks/{shell-302sxsq7.js → shell-6pwzktg7.js} +8 -8
  49. package/dist/chunks/{shell-tqrmv6wh.js → shell-6rpwy5mc.js} +29 -29
  50. package/dist/chunks/{shell-tmvj6me9.js → shell-6wsfawph.js} +12 -12
  51. package/dist/chunks/{shell-sw0g5drg.js → shell-6z7hmy4t.js} +30 -30
  52. package/dist/chunks/{shell-zrfk4xcc.js → shell-6zck5j37.js} +33 -33
  53. package/dist/chunks/{shell-nwakhswj.js → shell-77bqxzzx.js} +35 -35
  54. package/dist/chunks/{shell-mhjvq9xf.js → shell-7jq0yyyf.js} +30 -30
  55. package/dist/chunks/{shell-mp6d0dty.js → shell-7rwqf82v.js} +7 -7
  56. package/dist/chunks/{shell-763zc42s.js → shell-7s9404gx.js} +25 -25
  57. package/dist/chunks/{shell-vxfrmkmy.js → shell-7v930722.js} +24 -24
  58. package/dist/chunks/{shell-ws227ysr.js → shell-7vvv5wyx.js} +6 -6
  59. package/dist/chunks/{shell-90xpxcvn.js → shell-7wyjaxt5.js} +9 -9
  60. package/dist/chunks/{shell-g5zc0msw.js → shell-80yzywcg.js} +1 -1
  61. package/dist/chunks/{shell-w1eejvng.js → shell-84txncab.js} +4 -4
  62. package/dist/chunks/{shell-d8cfvk62.js → shell-8558arf1.js} +12 -12
  63. package/dist/chunks/{shell-k0t8x34b.js → shell-8805xwn4.js} +1 -1
  64. package/dist/chunks/{shell-qvb81wqx.js → shell-8dwbst7y.js} +18 -18
  65. package/dist/chunks/{shell-m0rmv5bm.js → shell-90nab8ev.js} +6 -6
  66. package/dist/chunks/{shell-fm2qvscf.js → shell-a46v4e4v.js} +3 -3
  67. package/dist/chunks/{shell-2832djng.js → shell-a68erk2e.js} +10 -10
  68. package/dist/chunks/{shell-5t0mhrn0.js → shell-a9fh1xd3.js} +2 -2
  69. package/dist/chunks/{shell-em3h5ktn.js → shell-afjydgk3.js} +3 -3
  70. package/dist/chunks/{shell-6fhqajxq.js → shell-ahg1zghw.js} +8 -8
  71. package/dist/chunks/{shell-8x3ar29j.js → shell-ap9eas8m.js} +9 -9
  72. package/dist/chunks/{shell-hzk924x7.js → shell-aqmh106j.js} +18 -18
  73. package/dist/chunks/{shell-0f9afca0.js → shell-avm8jn6n.js} +3 -3
  74. package/dist/chunks/{shell-yq14pbr7.js → shell-axs6pdy0.js} +3 -3
  75. package/dist/chunks/{shell-3namxzrj.js → shell-b9x5zb31.js} +85 -85
  76. package/dist/chunks/{shell-b44gvvvr.js → shell-bbg4461y.js} +40 -40
  77. package/dist/chunks/{shell-11xytnza.js → shell-bbt4s1em.js} +33 -33
  78. package/dist/chunks/{shell-t9zs3egg.js → shell-bct739vz.js} +3 -3
  79. package/dist/chunks/{shell-ky96t3kz.js → shell-bcx2a56x.js} +10 -10
  80. package/dist/chunks/{shell-fq36cd5d.js → shell-bkwfsa8d.js} +14 -14
  81. package/dist/chunks/{shell-sgyq1qp9.js → shell-bms65qjn.js} +21 -21
  82. package/dist/chunks/{shell-qfc3y584.js → shell-bpnn7hyv.js} +9 -9
  83. package/dist/chunks/{shell-cs4k5zgq.js → shell-br5b6q5k.js} +8 -8
  84. package/dist/chunks/{shell-z41n5maa.js → shell-bweaxm80.js} +64 -64
  85. package/dist/chunks/{shell-v5me1390.js → shell-bybgwcct.js} +19 -19
  86. package/dist/chunks/{shell-z4h5d8ps.js → shell-c13z7sy5.js} +25 -25
  87. package/dist/chunks/{shell-r7srsjaq.js → shell-chrxq3ex.js} +5 -5
  88. package/dist/chunks/{shell-9m18q581.js → shell-cpbwv1ps.js} +11 -11
  89. package/dist/chunks/{shell-xh2bzhhz.js → shell-cr81t2vd.js} +6 -6
  90. package/dist/chunks/shell-d1z9x6fa.js +252 -0
  91. package/dist/chunks/{shell-4bjzyjqa.js → shell-dcfyjk12.js} +22 -22
  92. package/dist/chunks/{shell-er11akkf.js → shell-dezcy0y7.js} +16 -16
  93. package/dist/chunks/{shell-5v8k5syq.js → shell-dgt8mkj3.js} +22 -22
  94. package/dist/chunks/{shell-exq671fp.js → shell-dhdpfhyp.js} +6 -6
  95. package/dist/chunks/{shell-vq2r4xxp.js → shell-dm6v0cnj.js} +52 -52
  96. package/dist/chunks/{shell-nq7qbqzc.js → shell-dnszgtsj.js} +7 -7
  97. package/dist/chunks/{shell-x661k3y3.js → shell-dnxkq42g.js} +3 -3
  98. package/dist/chunks/{shell-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
  99. package/dist/chunks/{shell-xky4w4my.js → shell-em9qgwr1.js} +31 -31
  100. package/dist/chunks/{shell-t34bv3bh.js → shell-f6z1vvb1.js} +6 -6
  101. package/dist/chunks/{shell-yrxdn3w6.js → shell-f7jve23h.js} +12 -12
  102. package/dist/chunks/{shell-vdmdzg77.js → shell-faan1wk1.js} +1 -1
  103. package/dist/chunks/{shell-4rt0ga34.js → shell-fd636bra.js} +7 -7
  104. package/dist/chunks/{shell-2a5svkms.js → shell-fe5bw3z3.js} +7 -7
  105. package/dist/chunks/{shell-jca4demv.js → shell-ff0svapt.js} +1 -1
  106. package/dist/chunks/{shell-mebcx2ev.js → shell-ffybh0wk.js} +4 -4
  107. package/dist/chunks/{shell-46gkbd0c.js → shell-fh0zj1e1.js} +24 -24
  108. package/dist/chunks/{shell-yfmq466m.js → shell-fn2vqynn.js} +11 -11
  109. package/dist/chunks/{shell-de6jgy4a.js → shell-fpkrmtmw.js} +37 -37
  110. package/dist/chunks/{shell-qmqgtz8f.js → shell-g6q9qykm.js} +7 -7
  111. package/dist/chunks/{shell-qwe7bsa3.js → shell-gahyzsq3.js} +20 -20
  112. package/dist/chunks/{shell-qdd0q08y.js → shell-gna9hx4h.js} +16 -16
  113. package/dist/chunks/{shell-gsgd9zjh.js → shell-gyae47ky.js} +19 -19
  114. package/dist/chunks/{shell-kg2zmxw6.js → shell-gyz7ndzc.js} +33 -33
  115. package/dist/chunks/{shell-rp3pg7vc.js → shell-h3j6n5en.js} +4 -4
  116. package/dist/chunks/{shell-kgc2xkc7.js → shell-h5r4kkc1.js} +1 -1
  117. package/dist/chunks/{shell-fy6cggrf.js → shell-h6b02349.js} +3 -3
  118. package/dist/chunks/{shell-5whaezv9.js → shell-h6wkafze.js} +25 -25
  119. package/dist/chunks/{shell-ng9nphe0.js → shell-h7k6fa17.js} +18 -18
  120. package/dist/chunks/{shell-pd7gvt3w.js → shell-h9wp8z5w.js} +3 -3
  121. package/dist/chunks/{shell-4hbxt91c.js → shell-hfkmhm74.js} +23 -23
  122. package/dist/chunks/{shell-f41jbqvm.js → shell-hn5cnzw3.js} +15 -15
  123. package/dist/chunks/{shell-d7xrmwxz.js → shell-hrxnr7fv.js} +12 -12
  124. package/dist/chunks/{shell-5kw0n2ma.js → shell-hz84tk5e.js} +7 -7
  125. package/dist/chunks/{shell-2yxkykh1.js → shell-hztfeys8.js} +29 -29
  126. package/dist/chunks/{shell-wzh9kx9c.js → shell-j81vay8t.js} +2 -2
  127. package/dist/chunks/{shell-s19nf2ge.js → shell-je2nd8qy.js} +6 -6
  128. package/dist/chunks/{shell-c1bwn9r9.js → shell-jen49w49.js} +15 -15
  129. package/dist/chunks/{shell-ps9psapg.js → shell-jhtb5f97.js} +37 -37
  130. package/dist/chunks/{shell-pmc1jkpx.js → shell-jqhg1hxk.js} +16 -16
  131. package/dist/chunks/{shell-gc7e05zt.js → shell-jt8t0ecz.js} +10 -10
  132. package/dist/chunks/{shell-cbntc203.js → shell-k01n324r.js} +3 -3
  133. package/dist/chunks/{shell-1y782dng.js → shell-k0v2pnh2.js} +18 -18
  134. package/dist/chunks/{shell-gce79w0q.js → shell-k8csyqq2.js} +14 -14
  135. package/dist/chunks/{shell-17dp9b3b.js → shell-k93zhc7s.js} +9 -9
  136. package/dist/chunks/{shell-3pqrab3r.js → shell-kc9hs6v2.js} +12 -12
  137. package/dist/chunks/{shell-agthfym9.js → shell-kkg080jf.js} +33 -33
  138. package/dist/chunks/{shell-e1vgqt98.js → shell-kmhtm0eh.js} +43 -43
  139. package/dist/chunks/{shell-0xqyf95c.js → shell-knevfgda.js} +3 -3
  140. package/dist/chunks/{shell-40ejgnmq.js → shell-m90ew7f1.js} +3 -3
  141. package/dist/chunks/{shell-dj3aa5wj.js → shell-mej20m9j.js} +3 -3
  142. package/dist/chunks/{shell-9syxb0r3.js → shell-mgpyxjx6.js} +9 -9
  143. package/dist/chunks/{shell-qk5y71t7.js → shell-mssx8eq3.js} +10 -10
  144. package/dist/chunks/{shell-73tb2d7t.js → shell-mvfsc1pv.js} +2 -2
  145. package/dist/chunks/{shell-7dthvaew.js → shell-n3v0wvct.js} +23 -23
  146. package/dist/chunks/{shell-kw0mk995.js → shell-n56h5hy7.js} +39 -39
  147. package/dist/chunks/{shell-z2wvrawj.js → shell-n9gk7fk1.js} +5 -5
  148. package/dist/chunks/{shell-2q4t2vtj.js → shell-nfmhh18x.js} +25 -25
  149. package/dist/chunks/{shell-gwt0t2e2.js → shell-nrscgsz0.js} +19 -19
  150. package/dist/chunks/{shell-rbgk9g65.js → shell-nxdbpavb.js} +26 -26
  151. package/dist/chunks/{shell-83y1qfs6.js → shell-nxhmsv4t.js} +179 -179
  152. package/dist/chunks/{shell-1t9fg1b5.js → shell-p08d8mdw.js} +9 -9
  153. package/dist/chunks/{shell-0d8tbd59.js → shell-p18fzj7h.js} +22 -22
  154. package/dist/chunks/{shell-wbkyxrgf.js → shell-p1nm93x7.js} +3 -3
  155. package/dist/chunks/{shell-1ajx6rf5.js → shell-p42hj8p8.js} +7 -7
  156. package/dist/chunks/{shell-bj8111r1.js → shell-pcwxzhdm.js} +2 -2
  157. package/dist/chunks/{shell-8j1jmj9t.js → shell-ph6a0m52.js} +4 -4
  158. package/dist/chunks/{shell-gs9kr2a8.js → shell-pj97z4ma.js} +13 -13
  159. package/dist/chunks/{shell-ghvvmysb.js → shell-pjbr20qj.js} +48 -48
  160. package/dist/chunks/{shell-zz8pmeaw.js → shell-pk5ddt9p.js} +19 -19
  161. package/dist/chunks/{shell-pjnbb6nv.js → shell-ppkbx4yt.js} +20 -20
  162. package/dist/chunks/{shell-d38myz56.js → shell-ppsqsh87.js} +34 -34
  163. package/dist/chunks/{shell-1ntkjgb8.js → shell-pqyb1j4v.js} +27 -27
  164. package/dist/chunks/{shell-ax630gpb.js → shell-psa9hm71.js} +10 -10
  165. package/dist/chunks/{shell-zvjxv4v7.js → shell-pstb62p2.js} +18 -18
  166. package/dist/chunks/{shell-cfsekr6v.js → shell-py3kkmfq.js} +1 -1
  167. package/dist/chunks/{shell-awbtvej0.js → shell-q3ersh05.js} +5 -5
  168. package/dist/chunks/{shell-z9v69aw7.js → shell-q47e89a1.js} +30 -30
  169. package/dist/chunks/{shell-0tf9f9fk.js → shell-q5z6qrs5.js} +7 -7
  170. package/dist/chunks/{shell-br9mj3ey.js → shell-qfkr4h51.js} +30 -30
  171. package/dist/chunks/{shell-h3qzknde.js → shell-qpe8tk8s.js} +31 -31
  172. package/dist/chunks/{shell-dg5bcj4q.js → shell-qq8x5mwt.js} +3 -3
  173. package/dist/chunks/{shell-x3ec03mt.js → shell-qrtps7c6.js} +8 -8
  174. package/dist/chunks/{shell-sgy5rc4s.js → shell-qstbhtjy.js} +12 -12
  175. package/dist/chunks/{shell-s0p782fc.js → shell-qwe53qqr.js} +16 -16
  176. package/dist/chunks/{shell-frz7qx3c.js → shell-qzwd4pkf.js} +11 -11
  177. package/dist/chunks/{shell-spcspf24.js → shell-r19vg6ms.js} +9 -9
  178. package/dist/chunks/{shell-3p2gykje.js → shell-r6127srf.js} +3 -3
  179. package/dist/chunks/{shell-f42drt00.js → shell-rb29dj05.js} +15 -15
  180. package/dist/chunks/{shell-fc62ns0w.js → shell-rba86r9a.js} +4 -4
  181. package/dist/chunks/{shell-m568jpcd.js → shell-rd8v1r6j.js} +26 -26
  182. package/dist/chunks/{shell-zvt5dnpc.js → shell-rpg9c19m.js} +3 -3
  183. package/dist/chunks/{shell-9g29qv69.js → shell-rs8qp985.js} +1 -1
  184. package/dist/chunks/{shell-9rzhta9t.js → shell-s24brvt1.js} +10 -10
  185. package/dist/chunks/{shell-yrznvahk.js → shell-s4enseaf.js} +1 -1
  186. package/dist/chunks/{shell-z2sk8n0r.js → shell-s532705d.js} +9 -9
  187. package/dist/chunks/{shell-wv396vej.js → shell-s8d7rejh.js} +7 -7
  188. package/dist/chunks/{shell-445bgnxh.js → shell-sbm56x9k.js} +7 -7
  189. package/dist/chunks/{shell-909p1r3q.js → shell-sd5f6jdk.js} +5 -5
  190. package/dist/chunks/{shell-3aqqv3ta.js → shell-smcy5e0a.js} +24 -24
  191. package/dist/chunks/{shell-gxf6g2qt.js → shell-t58mb03q.js} +27 -27
  192. package/dist/chunks/{shell-a89e0tac.js → shell-tbmac1c7.js} +3 -3
  193. package/dist/chunks/{shell-hgr40ys5.js → shell-tec192gq.js} +13 -13
  194. package/dist/chunks/{shell-hbe0cwhg.js → shell-thev1fqr.js} +18 -18
  195. package/dist/chunks/{shell-6ar8w4pq.js → shell-tmcd77ag.js} +43 -43
  196. package/dist/chunks/{shell-ew9zfet1.js → shell-tmk4yz8x.js} +27 -27
  197. package/dist/chunks/{shell-4r8tvr6m.js → shell-tpxv5eqt.js} +2 -2
  198. package/dist/chunks/{shell-y30nbvw3.js → shell-tsadq9bd.js} +21 -21
  199. package/dist/chunks/{shell-3nsr1h9t.js → shell-ttwj0m8z.js} +30 -30
  200. package/dist/chunks/{shell-xd0e3npz.js → shell-tw3zdh9f.js} +22 -22
  201. package/dist/chunks/{shell-6gnvbdx3.js → shell-tyhjxzyj.js} +1 -1
  202. package/dist/chunks/{shell-bfafj43h.js → shell-v12jv0w3.js} +19 -19
  203. package/dist/chunks/{shell-j0zcen4g.js → shell-v5vpra1m.js} +8 -8
  204. package/dist/chunks/{shell-mkwp3yp2.js → shell-vaeza82m.js} +11 -11
  205. package/dist/chunks/{shell-y2acyqmb.js → shell-vc39bt20.js} +32 -32
  206. package/dist/chunks/{shell-350namw0.js → shell-vpxczwj3.js} +23 -23
  207. package/dist/chunks/{shell-mv7vmavb.js → shell-w6yjv3f5.js} +23 -23
  208. package/dist/chunks/{shell-v148dh5x.js → shell-watjqnhq.js} +5 -5
  209. package/dist/chunks/{shell-myrh9h6p.js → shell-wg0dbssz.js} +9 -9
  210. package/dist/chunks/{shell-mesrmzak.js → shell-wg0k9rvv.js} +7 -7
  211. package/dist/chunks/{shell-qj8eh1ht.js → shell-xdk9p2qn.js} +20 -20
  212. package/dist/chunks/{shell-g5w8qwbj.js → shell-xfkkasph.js} +3 -3
  213. package/dist/chunks/{shell-0yvfy2gr.js → shell-xfn62cer.js} +86 -86
  214. package/dist/chunks/{shell-dy2xnbj8.js → shell-xkx2jhzt.js} +14 -14
  215. package/dist/chunks/{shell-1ezyexdv.js → shell-xp0mhm80.js} +15 -15
  216. package/dist/chunks/{shell-rwrdja42.js → shell-xzjm34t0.js} +17 -17
  217. package/dist/chunks/{shell-y6drww2a.js → shell-y07tpj3e.js} +48 -48
  218. package/dist/chunks/{shell-0a5qyhqp.js → shell-y7eazgyz.js} +5 -5
  219. package/dist/chunks/{shell-smnd959e.js → shell-yb93st4g.js} +10 -10
  220. package/dist/chunks/{shell-0bwxef5p.js → shell-ygcwaq5r.js} +39 -39
  221. package/dist/chunks/{shell-0p8b1wz2.js → shell-yvpke61a.js} +9 -9
  222. package/dist/chunks/{shell-m7s2bw5g.js → shell-yxvshskh.js} +33 -33
  223. package/dist/chunks/shell-z76f73v3.js +26 -0
  224. package/dist/chunks/{shell-5vrj9ban.js → shell-zbjyzcd7.js} +13 -13
  225. package/dist/chunks/{shell-845k646w.js → shell-zm3q7mex.js} +15 -15
  226. package/dist/chunks/{shell-5tat9ppm.js → shell-znsx74x0.js} +1 -1
  227. package/dist/chunks/{shell-e1t80gge.js → shell-zp34c0n6.js} +37 -37
  228. package/dist/chunks/{shell-fz2hs8me.js → shell-zsasz6gv.js} +21 -21
  229. package/dist/chunks/{shell-wh0yrkpr.js → shell-zv4zpfd9.js} +13 -13
  230. package/dist/chunks/{shell-mdr46t4g.js → shell-zyrx8stx.js} +3 -3
  231. package/dist/chunks/{shell-a6t0d3d8.js → shell-zz330w20.js} +24 -24
  232. package/dist/codemode/instructions.js +2 -2
  233. package/dist/command.js +70 -70
  234. package/dist/config/discovery.js +64 -64
  235. package/dist/config/normalize.js +84 -84
  236. package/dist/config/plugin/agent.js +101 -101
  237. package/dist/config/plugin/command.js +177 -177
  238. package/dist/config/plugin/compaction.js +129 -129
  239. package/dist/config/plugin/compatibility.js +115 -115
  240. package/dist/config/plugin/formatter.js +100 -100
  241. package/dist/config/plugin/image.js +99 -99
  242. package/dist/config/plugin/instruction.js +70 -70
  243. package/dist/config/plugin/location-watcher.js +99 -99
  244. package/dist/config/plugin/mcp.js +105 -105
  245. package/dist/config/plugin/policy.js +99 -99
  246. package/dist/config/plugin/provider.js +99 -99
  247. package/dist/config/plugin/reference.js +101 -101
  248. package/dist/config/plugin/shell.js +101 -101
  249. package/dist/config/plugin/skill-file.js +77 -77
  250. package/dist/config/plugin/skill.js +118 -118
  251. package/dist/config/plugin/snapshot.js +99 -99
  252. package/dist/config/plugin/source.js +102 -102
  253. package/dist/config/plugin/tool-output.js +100 -100
  254. package/dist/config/plugin/websearch.js +100 -100
  255. package/dist/config/plugin/worktree.js +100 -100
  256. package/dist/config/variable.js +2 -2
  257. package/dist/config.js +99 -99
  258. package/dist/credential.js +72 -72
  259. package/dist/database/database.js +56 -56
  260. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  261. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  262. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  263. package/dist/database/drizzle/index.js +8 -8
  264. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  265. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  266. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  267. package/dist/database/drizzle.js +8 -8
  268. package/dist/database/migration.gen.js +39 -39
  269. package/dist/database/migration.js +41 -41
  270. package/dist/database/v1-migration.bun.js +9 -9
  271. package/dist/effect/app-node-builder.js +237 -237
  272. package/dist/environment/environment.js +71 -71
  273. package/dist/environment/index.js +73 -73
  274. package/dist/event-logger.js +13 -13
  275. package/dist/file-access.js +80 -80
  276. package/dist/file-mutation.js +72 -72
  277. package/dist/filesystem/location-watcher-policy.js +5 -5
  278. package/dist/filesystem/location-watcher.js +189 -189
  279. package/dist/filesystem/search.js +79 -79
  280. package/dist/filesystem/watcher-binding.js +3 -3
  281. package/dist/filesystem/watcher.js +10 -10
  282. package/dist/filesystem.js +76 -76
  283. package/dist/form.js +70 -70
  284. package/dist/formatter/builtins.js +3 -3
  285. package/dist/formatter.js +68 -68
  286. package/dist/generate.js +79 -79
  287. package/dist/git.js +5 -5
  288. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
  289. package/dist/github-copilot/copilot-provider.js +3 -3
  290. package/dist/github-copilot/models.js +79 -79
  291. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  292. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  293. package/dist/image/photon.js +1 -1
  294. package/dist/image.js +5 -5
  295. package/dist/instance/service.js +5 -5
  296. package/dist/instance.js +316 -316
  297. package/dist/instruction-discovery.js +72 -72
  298. package/dist/instructions/builtins.js +69 -69
  299. package/dist/instructions/index.js +5 -5
  300. package/dist/integration/connection.js +3 -3
  301. package/dist/integration.js +73 -73
  302. package/dist/job.js +64 -64
  303. package/dist/kv.js +61 -61
  304. package/dist/location-activity.js +55 -55
  305. package/dist/location-lifecycle.js +83 -83
  306. package/dist/location-service-map.js +68 -68
  307. package/dist/location-services.js +314 -314
  308. package/dist/location.js +69 -69
  309. package/dist/mcp/client.js +17 -17
  310. package/dist/mcp/index.js +83 -83
  311. package/dist/mcp/instructions.js +100 -100
  312. package/dist/mcp/oauth.js +13 -13
  313. package/dist/mcp/stdio.js +68 -68
  314. package/dist/modal/models.js +79 -79
  315. package/dist/model-resolver.js +78 -78
  316. package/dist/model.js +82 -82
  317. package/dist/models-dev.js +87 -87
  318. package/dist/permission/saved.js +67 -67
  319. package/dist/permission.js +89 -89
  320. package/dist/persistent-pty/index.js +72 -72
  321. package/dist/persistent-pty.js +60 -60
  322. package/dist/plugin/agent.js +80 -80
  323. package/dist/plugin/command.js +78 -78
  324. package/dist/plugin/hooks.js +5 -5
  325. package/dist/plugin/host.js +182 -182
  326. package/dist/plugin/identity.js +3 -3
  327. package/dist/plugin/instance.js +5 -5
  328. package/dist/plugin/internal.js +289 -289
  329. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  330. package/dist/plugin/models-dev.js +76 -76
  331. package/dist/plugin/module.js +5 -5
  332. package/dist/plugin/optimize.js +2 -2
  333. package/dist/plugin/plan.js +78 -78
  334. package/dist/plugin/provider/amazon-bedrock.js +70 -70
  335. package/dist/plugin/provider/azure.js +100 -100
  336. package/dist/plugin/provider/chatgpt.js +72 -72
  337. package/dist/plugin/provider/cloudflare-ai-gateway.js +97 -97
  338. package/dist/plugin/provider/cloudflare-workers-ai.js +97 -97
  339. package/dist/plugin/provider/configured.js +96 -96
  340. package/dist/plugin/provider/digitalocean.js +72 -72
  341. package/dist/plugin/provider/github-copilot.js +74 -74
  342. package/dist/plugin/provider/gitlab.js +72 -72
  343. package/dist/plugin/provider/google-vertex.js +70 -70
  344. package/dist/plugin/provider/llmgateway.js +64 -64
  345. package/dist/plugin/provider/lmstudio.js +99 -99
  346. package/dist/plugin/provider/modal.js +72 -72
  347. package/dist/plugin/provider/ollama.js +99 -99
  348. package/dist/plugin/provider/openai.js +71 -71
  349. package/dist/plugin/provider/opencode.js +74 -74
  350. package/dist/plugin/provider/openrouter.js +71 -71
  351. package/dist/plugin/provider/poe.js +64 -64
  352. package/dist/plugin/provider/prompt-cache-key.js +70 -70
  353. package/dist/plugin/provider/sap-ai-core.js +70 -70
  354. package/dist/plugin/provider/snowflake-cortex.js +98 -98
  355. package/dist/plugin/provider/vercel.js +70 -70
  356. package/dist/plugin/provider/vllm.js +99 -99
  357. package/dist/plugin/provider/xai.js +71 -71
  358. package/dist/plugin/provider.js +133 -133
  359. package/dist/plugin/sdk.js +64 -64
  360. package/dist/plugin/skill.js +116 -116
  361. package/dist/plugin/supervisor.js +304 -304
  362. package/dist/plugin/tool-input-repair.js +3 -3
  363. package/dist/plugin/update.js +5 -5
  364. package/dist/plugin/vcs/git.js +67 -67
  365. package/dist/plugin/vcs/hg.js +67 -67
  366. package/dist/plugin/verbosity.js +73 -73
  367. package/dist/plugin/warming.js +98 -98
  368. package/dist/plugin/websearch/exa.js +6 -6
  369. package/dist/plugin/websearch/firecrawl.js +5 -5
  370. package/dist/plugin/websearch/index.js +8 -8
  371. package/dist/plugin/websearch/mcp.js +3 -3
  372. package/dist/plugin/websearch/parallel.js +7 -7
  373. package/dist/plugin/websearch/tavily.js +6 -6
  374. package/dist/plugin/websearch/tinyfish.js +7 -7
  375. package/dist/plugin.js +185 -185
  376. package/dist/project/schema.js +7 -7
  377. package/dist/project.js +72 -72
  378. package/dist/provider.js +81 -81
  379. package/dist/pty.js +79 -79
  380. package/dist/reference/instructions.js +70 -70
  381. package/dist/reference.js +70 -70
  382. package/dist/repository-cache.js +65 -65
  383. package/dist/repository.js +3 -3
  384. package/dist/ripgrep.js +72 -72
  385. package/dist/rpc.js +68 -68
  386. package/dist/session/command.js +60 -60
  387. package/dist/session/compaction.js +102 -102
  388. package/dist/session/context.js +122 -122
  389. package/dist/session/diff.js +67 -67
  390. package/dist/session/environment.js +5 -5
  391. package/dist/session/error.js +4 -4
  392. package/dist/session/execution/restart.js +120 -120
  393. package/dist/session/execution.js +103 -103
  394. package/dist/session/generate.js +121 -121
  395. package/dist/session/history.js +8 -8
  396. package/dist/session/inbox.js +70 -70
  397. package/dist/session/info.js +2 -2
  398. package/dist/session/instruction-entry.js +62 -62
  399. package/dist/session/instruction-state.js +2 -2
  400. package/dist/session/instructions.js +76 -76
  401. package/dist/session/model-request.js +90 -90
  402. package/dist/session/model-transport.js +7 -7
  403. package/dist/session/move.js +103 -103
  404. package/dist/session/projector.js +66 -66
  405. package/dist/session/prompt.js +79 -79
  406. package/dist/session/provider-context.js +3 -3
  407. package/dist/session/revert.js +69 -69
  408. package/dist/session/runner/index.js +3 -3
  409. package/dist/session/runner/llm.js +192 -192
  410. package/dist/session/runner/model.js +78 -78
  411. package/dist/session/runner/retry.js +3 -3
  412. package/dist/session/runner/step.js +95 -95
  413. package/dist/session/runner/to-llm-message.js +2 -2
  414. package/dist/session/schema.js +5 -5
  415. package/dist/session/session.js +142 -142
  416. package/dist/session/shell.js +109 -109
  417. package/dist/session/skill.js +78 -78
  418. package/dist/session/stats.js +8 -8
  419. package/dist/session/store.js +70 -70
  420. package/dist/session/subagent-job.js +173 -173
  421. package/dist/session/system-prompt.js +3 -3
  422. package/dist/session/title.js +123 -123
  423. package/dist/session/to-session-error.js +87 -87
  424. package/dist/session/transfer.js +117 -117
  425. package/dist/session.js +185 -185
  426. package/dist/shell/parse.js +2 -2
  427. package/dist/shell/select.js +9 -9
  428. package/dist/shell.js +113 -113
  429. package/dist/skill/discovery.js +5 -5
  430. package/dist/skill/instructions.js +81 -81
  431. package/dist/skill.js +86 -86
  432. package/dist/snapshot.js +74 -74
  433. package/dist/tool/mcp.js +99 -99
  434. package/dist/tool/plugin/edit.js +95 -95
  435. package/dist/tool/plugin/glob.js +96 -96
  436. package/dist/tool/plugin/grep.js +98 -98
  437. package/dist/tool/plugin/mcp-resource.js +93 -93
  438. package/dist/tool/plugin/opencode.js +3 -3
  439. package/dist/tool/plugin/patch.js +97 -97
  440. package/dist/tool/plugin/question.js +77 -77
  441. package/dist/tool/plugin/read.js +98 -98
  442. package/dist/tool/plugin/shell.js +181 -181
  443. package/dist/tool/plugin/skill.js +87 -87
  444. package/dist/tool/plugin/subagent.js +182 -182
  445. package/dist/tool/plugin/webfetch.js +84 -84
  446. package/dist/tool/plugin/websearch.js +90 -90
  447. package/dist/tool/plugin/write.js +97 -97
  448. package/dist/tool/read-filesystem.js +75 -75
  449. package/dist/tool-output.js +6 -6
  450. package/dist/tool.js +9 -9
  451. package/dist/v1/config/agent.js +6 -6
  452. package/dist/v1/config/attachment.js +3 -3
  453. package/dist/v1/config/command.js +3 -3
  454. package/dist/v1/config/config.js +14 -14
  455. package/dist/v1/config/error.js +3 -3
  456. package/dist/v1/config/formatter.js +3 -3
  457. package/dist/v1/config/lsp.js +3 -3
  458. package/dist/v1/config/mcp.js +3 -3
  459. package/dist/v1/config/migrate.js +71 -71
  460. package/dist/v1/config/permission.js +7 -7
  461. package/dist/v1/config/plugin.js +3 -3
  462. package/dist/v1/config/provider.js +3 -3
  463. package/dist/v1/config/skills.js +3 -3
  464. package/dist/variant.js +71 -71
  465. package/dist/vcs.js +70 -70
  466. package/dist/websearch.js +66 -66
  467. package/dist/wellknown/plugin.js +63 -63
  468. package/dist/wellknown.js +68 -68
  469. package/dist/workspace/driver.js +5 -5
  470. package/dist/workspace.js +66 -66
  471. package/dist/worktree/git.js +4 -4
  472. package/dist/worktree/strategies.js +69 -69
  473. package/dist/worktree.js +77 -77
  474. package/package.json +8 -8
  475. package/dist/chunks/shell-7kw0n3fd.js +0 -252
  476. package/dist/chunks/shell-g619fkyf.js +0 -26
  477. /package/dist/chunks/{shell-77p9tcjg.js → shell-9qeb1hh1.js} +0 -0
  478. /package/dist/chunks/{shell-gcavn3wx.js → shell-fepbnb8j.js} +0 -0
  479. /package/dist/chunks/{shell-5gr04vgg.js → shell-kbww7b3v.js} +0 -0
  480. /package/dist/chunks/{shell-e0vtkr8g.js → shell-sz0fczdy.js} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./shell-922hggd3.js";
4
4
  import {
5
- node87
6
- } from "./shell-2a5svkms.js";
5
+ node85
6
+ } from "./shell-fe5bw3z3.js";
7
7
  import {
8
- Service80,
9
- node84
10
- } from "./shell-1ezyexdv.js";
8
+ Service79,
9
+ node83
10
+ } from "./shell-xp0mhm80.js";
11
11
  import {
12
12
  create3
13
13
  } from "./shell-rdw6cm16.js";
14
14
  import {
15
- make13
16
- } from "./shell-t34bv3bh.js";
15
+ make17
16
+ } from "./shell-f6z1vvb1.js";
17
17
  import {
18
18
  __export
19
19
  } from "./shell-9rqn6x4v.js";
@@ -21,9 +21,9 @@ import {
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service16,
24
+ Service: () => Service48,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node19
26
+ node: () => node52
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service16 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service48 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service16, Effect.gen(function* () {
37
- const location = yield* Service80;
36
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
37
+ const location = yield* Service79;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make13;
39
+ const git = yield* make17;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service16.of({ ...state, directory: location.directory });
58
+ return Service48.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node19 = makeLocationNode({
61
- service: Service16,
60
+ var node52 = makeLocationNode({
61
+ service: Service48,
62
62
  layer,
63
- deps: [node84, Global.node, node87, FSUtil.node]
63
+ deps: [node83, Global.node, node85, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service16, node19, exports_strategies };
66
+ export { Service48, node52, exports_strategies };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID8,
3
- Service64,
4
- node67
5
- } from "./shell-h3qzknde.js";
2
+ ID14,
3
+ Service77,
4
+ node81
5
+ } from "./shell-qpe8tk8s.js";
6
6
  import {
7
- ID7,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -12,20 +12,20 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service63,
16
- node66
17
- } from "./shell-zrfk4xcc.js";
15
+ Service76,
16
+ node80
17
+ } from "./shell-6zck5j37.js";
18
18
  import {
19
- Service49,
20
- node51
21
- } from "./shell-ax630gpb.js";
19
+ Service57,
20
+ node60
21
+ } from "./shell-psa9hm71.js";
22
22
  import {
23
- ID6,
23
+ ID11,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service62,
27
- node65
28
- } from "./shell-11xytnza.js";
26
+ Service72,
27
+ node76
28
+ } from "./shell-bbt4s1em.js";
29
29
  import {
30
30
  __export
31
31
  } from "./shell-9rqn6x4v.js";
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError2,
38
38
  ModelInitializationError: () => ModelInitializationError2,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service48,
40
+ Service: () => Service56,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError2,
44
44
  VariantUnavailableError: () => VariantUnavailableError2,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer20,
48
- node: () => node50,
47
+ layer: () => layer22,
48
+ node: () => node59,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID7,
59
- modelID: ID6,
58
+ providerID: ID13,
59
+ modelID: ID11,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -65,8 +65,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID7,
69
- modelID: ID6,
68
+ providerID: ID13,
69
+ modelID: ID11,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -76,8 +76,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID7,
80
- modelID: ID6,
79
+ providerID: ID13,
80
+ modelID: ID11,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -87,8 +87,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID7,
91
- modelID: ID6,
90
+ providerID: ID13,
91
+ modelID: ID11,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -99,8 +99,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID7,
103
- modelID: ID6,
102
+ providerID: ID13,
103
+ modelID: ID11,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID7,
113
- modelID: ID6,
112
+ providerID: ID13,
113
+ modelID: ID11,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service48 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service56 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer20 = Layer.effect(Service48, Effect.gen(function* () {
262
- const providers = yield* Service63;
263
- const models = yield* Service62;
264
- const integrations = yield* Service64;
261
+ var layer22 = Layer.effect(Service56, Effect.gen(function* () {
262
+ const providers = yield* Service76;
263
+ const models = yield* Service72;
264
+ const integrations = yield* Service77;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service49;
266
+ const aisdk = yield* Service57;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -293,7 +293,7 @@ var layer20 = Layer.effect(Service48, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service48.of({
296
+ return Service56.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node50 = makeLocationNode({
314
- service: Service48,
315
- layer: layer20,
316
- deps: [node66, node65, node67, Npm.node, node51]
313
+ var node59 = makeLocationNode({
314
+ service: Service56,
315
+ layer: layer22,
316
+ deps: [node80, node76, node81, Npm.node, node60]
317
317
  });
318
318
 
319
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service48, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node50, exports_model_resolver };
319
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service56, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node59, exports_model_resolver };
@@ -2,13 +2,13 @@ import {
2
2
  RelativePath2
3
3
  } from "./shell-922hggd3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./shell-1ezyexdv.js";
5
+ Service79,
6
+ node83
7
+ } from "./shell-xp0mhm80.js";
8
8
  import {
9
- Service23,
10
- node26
11
- } from "./shell-yfmq466m.js";
9
+ Service21,
10
+ node24
11
+ } from "./shell-fn2vqynn.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
@@ -21,12 +21,12 @@ import {
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options3,
25
- Service: () => Service22,
26
- configured: () => configured3,
24
+ Options: () => Options2,
25
+ Service: () => Service13,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer10,
29
- node: () => node25,
28
+ layer: () => layer8,
29
+ node: () => node15,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options3 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service22 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service13 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service22, Effect.gen(function* () {
62
- const location = yield* Service80;
63
- const ripgrep = yield* Service23;
61
+ var ripgrepLayer2 = Layer.effect(Service13, Effect.gen(function* () {
62
+ const location = yield* Service79;
63
+ const ripgrep = yield* Service21;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service22, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service22.of({
108
+ return Service13.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
116
- const location = yield* Service80;
115
+ var fffLayer2 = Layer.effect(Service13, Effect.gen(function* () {
116
+ const location = yield* Service79;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service22.of({
129
+ return Service13.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service22.of({
134
+ return Service13.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service80;
177
+ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service79;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured3(options) {
186
- return makeLocationNode({ service: Service22, layer: layer10(options), deps: [node84, node26] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service13, layer: layer8(options), deps: [node83, node24] });
187
187
  }
188
- var node25 = configured3();
188
+ var node15 = configured2();
189
189
 
190
- export { Options3, Service22, ripgrepLayer2, fffLayer2, layer10, configured3, node25, exports_search };
190
+ export { Options2, Service13, ripgrepLayer2, fffLayer2, layer8, configured2, node15, exports_search };
@@ -3,10 +3,10 @@ import {
3
3
  } from "./shell-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./shell-5gr04vgg.js";
6
+ } from "./shell-kbww7b3v.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./shell-g5zc0msw.js";
9
+ } from "./shell-80yzywcg.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -2,19 +2,19 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./shell-922hggd3.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./shell-2a5svkms.js";
5
+ Service81,
6
+ node85
7
+ } from "./shell-fe5bw3z3.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./shell-w1eejvng.js";
13
+ } from "./shell-84txncab.js";
14
14
  import {
15
- Service69,
16
- node73
17
- } from "./shell-5gj63dwh.js";
15
+ Service75,
16
+ node79
17
+ } from "./shell-1w0b4a26.js";
18
18
  import {
19
19
  __export
20
20
  } from "./shell-9rqn6x4v.js";
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service68,
33
+ Service: () => Service46,
34
34
  isError: () => isError2,
35
- node: () => node72,
35
+ node: () => node50,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service68 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service46 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service68, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service83;
106
+ const git = yield* Service81;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service69;
110
- return Service68.of({
109
+ const kv = yield* Service75;
110
+ return Service46.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node72 = makeGlobalNode({
171
- service: Service68,
170
+ var node50 = makeGlobalNode({
171
+ service: Service46,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node73]
173
+ deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node79]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service68, isError2, validateBranch2, node72, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service46, isError2, validateBranch2, node50, exports_repository_cache };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service80
3
- } from "./shell-1ezyexdv.js";
2
+ Service79
3
+ } from "./shell-xp0mhm80.js";
4
4
  import {
5
- Service65
6
- } from "./shell-bfafj43h.js";
5
+ Service68
6
+ } from "./shell-v12jv0w3.js";
7
7
  import {
8
- Service24,
8
+ Service15,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./shell-frz7qx3c.js";
11
+ } from "./shell-qzwd4pkf.js";
12
12
  import {
13
- Service14
14
- } from "./shell-5vrj9ban.js";
13
+ Service50
14
+ } from "./shell-zbjyzcd7.js";
15
15
  import {
16
- Service71
17
- } from "./shell-vq2r4xxp.js";
16
+ Service60
17
+ } from "./shell-dm6v0cnj.js";
18
18
  import {
19
- Service25,
19
+ Service49,
20
20
  resolvePath2
21
- } from "./shell-qdd0q08y.js";
21
+ } from "./shell-gna9hx4h.js";
22
22
  import {
23
23
  fileDiff2
24
24
  } from "./shell-6prwharc.js";
@@ -30,17 +30,17 @@ import {
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input2,
34
- Output: () => Output2,
35
- Plugin: () => Plugin2,
36
- name: () => name2
33
+ Input: () => Input6,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin24,
36
+ name: () => name6
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name2 = "edit";
43
- var Input2 = Schema.Struct({
42
+ var name6 = "edit";
43
+ var Input6 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input2 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output2 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin2 = {
106
+ var Plugin24 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service25;
110
- const fileMutation = yield* Service24;
111
- const environment = yield* Service65;
112
- const formatter = yield* Service14;
113
- const location = yield* Service80;
114
- const permission = yield* Service71;
109
+ const access = yield* Service49;
110
+ const fileMutation = yield* Service15;
111
+ const environment = yield* Service68;
112
+ const formatter = yield* Service50;
113
+ const location = yield* Service79;
114
+ const permission = yield* Service60;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name2,
116
+ name: name6,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input2,
120
- output: Output2,
119
+ input: Input6,
120
+ output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin2 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name2, Input2, Output2, Plugin2, exports_edit };
197
+ export { name6, Input6, Output3, Plugin24, exports_edit };