@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
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./shell-bj8111r1.js";
4
+ } from "./shell-pcwxzhdm.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./shell-8x3ar29j.js";
6
+ Service83,
7
+ node87
8
+ } from "./shell-ap9eas8m.js";
9
+ import {
10
+ Service58,
11
+ node61
12
+ } from "./shell-8558arf1.js";
9
13
  import {
10
14
  Service55,
11
15
  node58
12
- } from "./shell-d8cfvk62.js";
13
- import {
14
- Service46,
15
- node48
16
- } from "./shell-909p1r3q.js";
16
+ } from "./shell-sd5f6jdk.js";
17
17
  import {
18
18
  SessionEvent2
19
19
  } from "./shell-ec1grn59.js";
@@ -22,18 +22,18 @@ import {
22
22
  } from "./shell-r8xr0va3.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service44
26
- } from "./shell-zvt5dnpc.js";
25
+ Service52
26
+ } from "./shell-rpg9c19m.js";
27
27
  import {
28
- Service72,
29
- node76
30
- } from "./shell-dy2xnbj8.js";
28
+ Service62,
29
+ node65
30
+ } from "./shell-xkx2jhzt.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./shell-v3a302k8.js";
33
+ } from "./shell-1310s4tm.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./shell-1y782dng.js";
36
+ } from "./shell-k0v2pnh2.js";
37
37
  import {
38
38
  __export
39
39
  } from "./shell-9rqn6x4v.js";
@@ -41,16 +41,16 @@ import {
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service43,
44
+ Service: () => Service51,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer18,
47
- node: () => node46,
48
- noopLayer: () => noopLayer2,
46
+ layer: () => layer20,
47
+ node: () => node55,
48
+ noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service43 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service51 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer18 = Layer.effect(Service43, Effect.gen(function* () {
63
- const store = yield* Service72;
64
- const instances = yield* Service46;
65
- const bus = yield* Service82;
66
- const jobs = yield* Service55;
62
+ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
63
+ const store = yield* Service62;
64
+ const instances = yield* Service55;
65
+ const bus = yield* Service83;
66
+ const jobs = yield* Service58;
67
67
  const db = (yield* Service84).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,7 +76,7 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service44.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service52.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service43.of({
107
+ return Service51.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node46 = makeGlobalNode({
127
- service: Service43,
128
- layer: layer18,
129
- deps: [node76, node48, node86, node88, node58]
126
+ var node55 = makeGlobalNode({
127
+ service: Service51,
128
+ layer: layer20,
129
+ deps: [node65, node58, node87, node88, node61]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service43, Service43.of({
131
+ var noopLayer3 = Layer.succeed(Service51, Service51.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service43, terminal2, layer18, node46, noopLayer2, exports_execution };
140
+ export { Service51, terminal2, layer20, node55, noopLayer3, exports_execution };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./shell-8x3ar29j.js";
2
+ Service83,
3
+ node87
4
+ } from "./shell-ap9eas8m.js";
5
5
  import {
6
- Service40,
7
- node43
8
- } from "./shell-y6drww2a.js";
6
+ Service36,
7
+ node39
8
+ } from "./shell-y07tpj3e.js";
9
9
  import {
10
- Service71,
11
- node75
12
- } from "./shell-vq2r4xxp.js";
10
+ Service60,
11
+ node63
12
+ } from "./shell-dm6v0cnj.js";
13
13
  import {
14
- Service51,
15
- node53
16
- } from "./shell-gsgd9zjh.js";
14
+ Service40,
15
+ node43
16
+ } from "./shell-gyae47ky.js";
17
17
  import {
18
18
  __export
19
19
  } from "./shell-9rqn6x4v.js";
@@ -22,11 +22,11 @@ import {
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service39,
26
- layer: () => layer15,
25
+ Service: () => Service34,
26
+ layer: () => layer14,
27
27
  name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node42
29
+ node: () => node38
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service39 extends Context.Service()("@opencode/McpTool") {
38
+ class Service34 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer15 = Layer.effect(Service39, Effect.gen(function* () {
41
- const mcp = yield* Service40;
42
- const tools = yield* Service51;
43
- const bus = yield* Service82;
44
- const permission = yield* Service71;
40
+ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
41
+ const mcp = yield* Service36;
42
+ const tools = yield* Service40;
43
+ const bus = yield* Service83;
44
+ const permission = yield* Service60;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service39.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node42 = makeLocationNode({
124
- service: Service39,
125
- layer: layer15,
126
- deps: [node53, node43, node86, node75]
123
+ var node38 = makeLocationNode({
124
+ service: Service34,
125
+ layer: layer14,
126
+ deps: [node43, node39, node87, node63]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service39, layer15, node42, exports_mcp3 };
129
+ export { namespace2, name14, Service34, layer14, node38, exports_mcp3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID7,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./shell-zrfk4xcc.js";
6
+ } from "./shell-6zck5j37.js";
7
7
  import {
8
8
  __export
9
9
  } from "./shell-9rqn6x4v.js";
@@ -13,9 +13,9 @@ var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service49,
16
+ Service: () => Service57,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node51
18
+ node: () => node60
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -150,7 +150,7 @@ function throughMiddleware(store, send, input, init) {
150
150
  }
151
151
 
152
152
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
153
- providerID: ID7,
153
+ providerID: ID13,
154
154
  cause: Schema.Defect()
155
155
  }) {
156
156
  }
@@ -158,9 +158,9 @@ function initError(providerID) {
158
158
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
159
159
  }
160
160
 
161
- class Service49 extends Context.Service()("@opencode/AISDK") {
161
+ class Service57 extends Context.Service()("@opencode/AISDK") {
162
162
  }
163
- var locationLayer2 = Layer.effect(Service49, Effect.gen(function* () {
163
+ var locationLayer2 = Layer.effect(Service57, Effect.gen(function* () {
164
164
  let sdkHooks = [];
165
165
  let languageHooks = [];
166
166
  const languages = new Map;
@@ -198,7 +198,7 @@ var locationLayer2 = Layer.effect(Service49, Effect.gen(function* () {
198
198
  }
199
199
  return event;
200
200
  });
201
- const service = Service49.of({
201
+ const service = Service57.of({
202
202
  hook: {
203
203
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
204
204
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
862
862
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
863
863
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
864
864
  }
865
- var node51 = makeLocationNode({ service: Service49, layer: locationLayer2, deps: [] });
865
+ var node60 = makeLocationNode({ service: Service57, layer: locationLayer2, deps: [] });
866
866
 
867
- export { InitError2, Service49, locationLayer2, node51, exports_aisdk };
867
+ export { InitError2, Service57, locationLayer2, node60, exports_aisdk };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./shell-9syxb0r3.js";
3
+ } from "./shell-mgpyxjx6.js";
4
4
  import {
5
- Service82
6
- } from "./shell-8x3ar29j.js";
5
+ Service83
6
+ } from "./shell-ap9eas8m.js";
7
7
  import {
8
8
  OAuth3,
9
- Event16
10
- } from "./shell-z9v69aw7.js";
9
+ Event19
10
+ } from "./shell-q47e89a1.js";
11
11
  import {
12
12
  key2
13
- } from "./shell-x661k3y3.js";
13
+ } from "./shell-dnxkq42g.js";
14
14
  import {
15
- ID8,
15
+ ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./shell-h3qzknde.js";
18
+ } from "./shell-qpe8tk8s.js";
19
19
  import {
20
20
  Service19
21
21
  } from "./shell-gs4tkc79.js";
22
22
  import {
23
- ID7,
23
+ ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./shell-zrfk4xcc.js";
26
+ } from "./shell-6zck5j37.js";
27
27
  import {
28
28
  ID3,
29
29
  Input13,
30
30
  Response2
31
- } from "./shell-gwt0t2e2.js";
31
+ } from "./shell-nrscgsz0.js";
32
32
 
33
33
  // src/plugin/provider/opencode.ts
34
34
  import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
@@ -96,7 +96,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
96
96
  }
97
97
  function oauth(http) {
98
98
  return {
99
- integrationID: ID8.make("opencode"),
99
+ integrationID: ID14.make("opencode"),
100
100
  method: {
101
101
  id: methodID,
102
102
  type: "oauth",
@@ -160,7 +160,7 @@ function oauth(http) {
160
160
  var OpencodePlugin2 = define({
161
161
  id: "opencode.provider.opencode",
162
162
  effect: Effect.fn(function* (ctx) {
163
- const bus = yield* Service82;
163
+ const bus = yield* Service83;
164
164
  const client = yield* HttpClient.HttpClient;
165
165
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
166
166
  const managed = yield* Service19;
@@ -212,7 +212,7 @@ var OpencodePlugin2 = define({
212
212
  providers.update(providerID, (provider) => {
213
213
  if (source && source.provider !== provider)
214
214
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
215
- provider.integrationID = ID8.make("opencode");
215
+ provider.integrationID = ID14.make("opencode");
216
216
  if (item.canonical !== undefined)
217
217
  provider.canonical = item.canonical;
218
218
  if (item.name !== undefined)
@@ -282,7 +282,7 @@ var OpencodePlugin2 = define({
282
282
  sourceConnection: snapshot.connection
283
283
  });
284
284
  }
285
- const item = providers.get(ID7.opencode);
285
+ const item = providers.get(ID13.opencode);
286
286
  if (!item)
287
287
  return;
288
288
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -294,7 +294,7 @@ var OpencodePlugin2 = define({
294
294
  });
295
295
  });
296
296
  yield* ctx.model.transform((models) => {
297
- const item = models.provider.get(ID7.opencode);
297
+ const item = models.provider.get(ID13.opencode);
298
298
  if (!item)
299
299
  return;
300
300
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -383,10 +383,10 @@ var OpencodePlugin2 = define({
383
383
  });
384
384
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
385
385
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
386
- explainers = yield* Effect.forEach(next.connection ? new Set([ID7.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
386
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
387
387
  });
388
388
  yield* guard(snapshot);
389
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
389
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
390
390
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
391
391
  })
392
392
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  render3
3
- } from "./shell-g5w8qwbj.js";
3
+ } from "./shell-xfkkasph.js";
4
4
  import {
5
5
  __export
6
6
  } from "./shell-9rqn6x4v.js";
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make21,
14
- node: () => node70,
13
+ make: () => make22,
14
+ node: () => node74,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make21 = (driver) => driver;
32
+ var make22 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node70 = registryNode2({});
47
+ var node74 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node70, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make22, RegistryService2, registry2, registryNode2, node74, exports_driver };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./shell-bj8111r1.js";
4
+ } from "./shell-pcwxzhdm.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./shell-8x3ar29j.js";
6
+ Service83,
7
+ node87
8
+ } from "./shell-ap9eas8m.js";
9
9
  import {
10
10
  CredentialTable2
11
11
  } from "./shell-pknna89w.js";
@@ -20,44 +20,44 @@ import {
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event16,
24
- ID: () => ID10,
25
- Info: () => Info25,
26
- Key: () => Key3,
23
+ Event: () => Event19,
24
+ ID: () => ID15,
25
+ Info: () => Info30,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service67,
28
+ Service: () => Service78,
29
29
  Value: () => Value2,
30
- node: () => node71
30
+ node: () => node82
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID10 = Credential.ID;
37
+ var ID15 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event16 = Credential.Event;
41
+ var Event19 = Credential.Event;
42
42
 
43
- class Info25 extends Schema.Class("Credential.Info")({
44
- id: ID10,
43
+ class Info30 extends Schema.Class("Credential.Info")({
44
+ id: ID15,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service67 extends Context.Service()("@opencode/Credential") {
51
+ class Service78 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service67, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
- const bus = yield* Service82;
55
+ const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info25({
60
+ return new Info30({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service67.of({
71
+ return Service78.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info25({
80
- id: input.id ?? ID10.create(),
79
+ const credential = new Info30({
80
+ id: input.id ?? ID15.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event16.Updated, {}, { global: true });
111
+ yield* bus.publish(Event19.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event16.Updated, {}, { global: true });
165
+ yield* bus.publish(Event19.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event16.Updated, {}, { global: true });
198
+ yield* bus.publish(Event19.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node71 = makeGlobalNode({ service: Service67, layer, deps: [node88, node86] });
204
+ var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
205
205
 
206
- export { ID10, OAuth3, Key3, Value2, Event16, Info25, Service67, node71, exports_credential };
206
+ export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service78, node82, exports_credential };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./shell-zrfk4xcc.js";
3
+ } from "./shell-6zck5j37.js";
4
4
  import {
5
- Service62
6
- } from "./shell-11xytnza.js";
5
+ Service72
6
+ } from "./shell-bbt4s1em.js";
7
7
  import {
8
8
  __export
9
9
  } from "./shell-9rqn6x4v.js";
@@ -11,7 +11,7 @@ import {
11
11
  // src/plugin/verbosity.ts
12
12
  var exports_verbosity = {};
13
13
  __export(exports_verbosity, {
14
- Plugin: () => Plugin31,
14
+ Plugin: () => Plugin45,
15
15
  VerbosityPlugin: () => exports_verbosity
16
16
  });
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -23,10 +23,10 @@ var direct = new Set([
23
23
  "@opencode/ai/providers/azure/responses"
24
24
  ]);
25
25
  var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
26
- var Plugin31 = define({
26
+ var Plugin45 = define({
27
27
  id: "opencode.prompt.verbosity",
28
28
  effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
29
- const models = yield* Service62;
29
+ const models = yield* Service72;
30
30
  const hook = (event) => Effect.gen(function* () {
31
31
  if (event.options.textVerbosity !== undefined)
32
32
  return;
@@ -66,4 +66,4 @@ function openAIModelID(model) {
66
66
  return id.slice("openai/".length);
67
67
  }
68
68
 
69
- export { Plugin31, exports_verbosity };
69
+ export { Plugin45, exports_verbosity };