@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
@@ -4,23 +4,23 @@ import {
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./shell-bj8111r1.js";
8
- import {
9
- Service82,
10
- node86
11
- } from "./shell-8x3ar29j.js";
7
+ } from "./shell-pcwxzhdm.js";
12
8
  import {
13
9
  Service83,
14
10
  node87
15
- } from "./shell-2a5svkms.js";
11
+ } from "./shell-ap9eas8m.js";
12
+ import {
13
+ Service81,
14
+ node85
15
+ } from "./shell-fe5bw3z3.js";
16
16
  import {
17
- ID18,
17
+ ID17,
18
18
  Current3,
19
- Info34,
19
+ Info33,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./shell-57ez7d0k.js";
23
+ } from "./shell-2fgn2we9.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
@@ -36,14 +36,14 @@ import {
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info33,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID16,
40
+ Info: () => Info32,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service81,
43
+ Service: () => Service80,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node85,
46
+ node: () => node84,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID17 = ID18;
58
+ var ID16 = ID17;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info33 = Info34;
61
+ var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID16
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service81 extends Context.Service()("@opencode/Project") {
75
+ class Service80 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,11 +95,11 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service81, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service83;
100
+ const git = yield* Service81;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service82;
102
+ const bus = yield* Service83;
103
103
  const db = (yield* Service84).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event21.Updated, fromRow(row));
111
+ yield* bus.publish(Event20.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID17.global,
148
+ previous: project.previous ?? ID16.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
168
168
  time_updated: Date.now()
169
169
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
170
170
  if (!row)
171
- return yield* new NotFoundError11({ projectID: input.projectID });
171
+ return yield* new NotFoundError10({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event21.Updated, project);
173
+ yield* bus.publish(Event20.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event21.Updated, fromRow(row));
184
+ yield* bus.publish(Event20.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID17.make(root) : undefined;
223
+ return root ? ID16.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID17.make(node) : undefined;
239
+ return node ? ID16.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID17.global,
248
+ id: id ?? ID16.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
262
262
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID17.global,
265
+ id: id ?? ID16.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID17.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service81.of({ list, update, activate, resolve });
285
+ return Service80.of({ list, update, activate, resolve });
286
286
  }));
287
- var node85 = makeGlobalNode({
288
- service: Service81,
287
+ var node84 = makeGlobalNode({
288
+ service: Service80,
289
289
  layer,
290
- deps: [node86, node88, FSUtil.node, node87, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node85, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
293
+ export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service80, node84, exports_project };
@@ -1,25 +1,25 @@
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
6
  shutdown2,
7
7
  create3
8
8
  } from "./shell-rdw6cm16.js";
9
9
  import {
10
- Service80,
11
- node84
12
- } from "./shell-1ezyexdv.js";
10
+ Service79,
11
+ node83
12
+ } from "./shell-xp0mhm80.js";
13
13
  import {
14
14
  rewrite2,
15
- ID7,
15
+ ID13,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service63,
20
- node66,
21
- Event14
22
- } from "./shell-zrfk4xcc.js";
19
+ Service76,
20
+ node80,
21
+ Event17
22
+ } from "./shell-6zck5j37.js";
23
23
  import {
24
24
  __export
25
25
  } from "./shell-9rqn6x4v.js";
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event13,
33
+ Event: () => Event15,
34
34
  Family: () => Family2,
35
- ID: () => ID6,
36
- Info: () => Info20,
35
+ ID: () => ID11,
36
+ Info: () => Info25,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service62,
40
+ Service: () => Service72,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node65,
44
- parse: () => parse4
43
+ node: () => node76,
44
+ parse: () => parse5
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
47
47
  import { Context, Effect, Layer, Stream } from "effect";
48
48
  import { makeLocationNode } from "@opencode/util/effect/app-node";
49
49
  import { freeze } from "immer";
50
- import { Event as Event13 } from "@opencode/schema/model";
51
- var ID6 = Model.ID;
50
+ import { Event as Event15 } from "@opencode/schema/model";
51
+ var ID11 = Model.ID;
52
52
  var VariantID2 = Model.VariantID;
53
53
  var Family2 = Model.Family;
54
54
  var ReasoningField2 = Model.ReasoningField;
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
56
56
  var Capabilities2 = Model.Capabilities;
57
57
  var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
- var Info20 = Model.Info;
59
+ var Info25 = Model.Info;
60
60
 
61
- class Service62 extends Context.Service()("@opencode/Model") {
61
+ class Service72 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service62, Effect.gen(function* () {
64
- const providers = yield* Service63;
65
- const bus = yield* Service82;
66
- const location = yield* Service80;
63
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
64
+ const providers = yield* Service76;
65
+ const bus = yield* Service83;
66
+ const location = yield* Service79;
67
67
  let input;
68
68
  const state = create3({
69
69
  name: "model",
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
108
108
  const models = writable(providerID);
109
109
  if (!models)
110
110
  return;
111
- const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
111
+ const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
112
112
  update(model);
113
113
  model.id = modelID;
114
114
  model.providerID = providerID;
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
197
197
  location: { directory: location.directory, workspaceID: location.workspaceID }
198
198
  });
199
199
  });
200
- yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service62.of({
200
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
+ return Service72.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node65 = makeLocationNode({ service: Service62, layer, deps: [node66, node86, node84] });
220
+ var node76 = makeLocationNode({ service: Service72, layer, deps: [node80, node87, node83] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -225,12 +225,12 @@ function compatibility2(input) {
225
225
  return;
226
226
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
227
227
  }
228
- function parse4(input) {
228
+ function parse5(input) {
229
229
  const index = input.indexOf("/");
230
230
  return {
231
- providerID: ID7.make(index === -1 ? input : input.slice(0, index)),
232
- modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
231
+ providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
232
+ modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
233
233
  };
234
234
  }
235
235
 
236
- export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service62, node65, compatibility2, parse4, exports_model2, Event13 };
236
+ export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service72, node76, compatibility2, parse5, exports_model2, Event15 };
@@ -6,10 +6,10 @@ import {
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info11
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info11 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info11 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info11, exports_skills };
21
+ export { Info16, exports_skills };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service84
3
- } from "./shell-bj8111r1.js";
3
+ } from "./shell-pcwxzhdm.js";
4
4
  import {
5
- Service46
6
- } from "./shell-909p1r3q.js";
5
+ Service55
6
+ } from "./shell-sd5f6jdk.js";
7
7
  import {
8
8
  awaitActivation2
9
9
  } from "./shell-619r8v3y.js";
10
10
  import {
11
11
  provenance2
12
- } from "./shell-pd7gvt3w.js";
12
+ } from "./shell-h9wp8z5w.js";
13
13
  import {
14
14
  preview2
15
- } from "./shell-dawgpkjz.js";
15
+ } from "./shell-4j10ng35.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./shell-xky4w4my.js";
18
+ } from "./shell-em9qgwr1.js";
19
19
  import {
20
- Service30
21
- } from "./shell-3namxzrj.js";
20
+ Service27
21
+ } from "./shell-b9x5zb31.js";
22
22
  import {
23
23
  __export
24
24
  } from "./shell-9rqn6x4v.js";
@@ -32,12 +32,12 @@ __export(exports_generate2, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service46;
35
+ const instances = yield* Service55;
36
36
  const database = yield* Service84;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service30;
40
+ const context = yield* Service27;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID13,
2
+ ID9,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./shell-5whaezv9.js";
5
+ } from "./shell-h6wkafze.js";
6
6
  import {
7
7
  merge2
8
- } from "./shell-vq2r4xxp.js";
8
+ } from "./shell-dm6v0cnj.js";
9
9
  import {
10
10
  __export
11
11
  } from "./shell-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent = {};
15
- __export(exports_agent, {
16
- AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin25
14
+ var exports_agent2 = {};
15
+ __export(exports_agent2, {
16
+ AgentPlugin: () => exports_agent2,
17
+ Plugin: () => Plugin46
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin25 = define({
93
+ var Plugin46 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin25 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID13.make("general"), (item) => {
103
+ editor.update(ID9.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID13.make("explore"), (item) => {
109
+ editor.update(ID9.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin25 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID13.make("compaction"), (item) => {
128
+ editor.update(ID9.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID13.make("title"), (item) => {
133
+ editor.update(ID9.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID13.make("summary"), (item) => {
140
+ editor.update(ID9.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin25 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin25, exports_agent };
151
+ export { Plugin46, exports_agent2 };
@@ -1,29 +1,29 @@
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
- } from "./shell-h3qzknde.js";
17
+ } from "./shell-qpe8tk8s.js";
18
18
  import {
19
- ID7,
19
+ ID13,
20
20
  aisdk2,
21
- Service63
22
- } from "./shell-zrfk4xcc.js";
21
+ Service76
22
+ } from "./shell-6zck5j37.js";
23
23
  import {
24
- ID6,
25
- Info20
26
- } from "./shell-11xytnza.js";
24
+ ID11,
25
+ Info25
26
+ } from "./shell-bbt4s1em.js";
27
27
  import {
28
28
  success2,
29
29
  error2
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
35
35
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
- var providerID = ID7.gitlab;
39
- var integrationID = ID8.make("gitlab");
38
+ var providerID = ID13.gitlab;
39
+ var integrationID = ID14.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
57
57
  var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const providers = yield* Service63;
61
- const bus = yield* Service82;
60
+ const providers = yield* Service76;
61
+ const bus = yield* Service83;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
64
64
  const loaded = {};
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info20.default(providerID, ID6.make(model.id)),
188
+ ...Info25.default(providerID, ID11.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
219
219
  });
220
220
  }));
221
221
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
222
- if (evt.model.providerID !== ID7.gitlab)
222
+ if (evt.model.providerID !== ID13.gitlab)
223
223
  return;
224
224
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
225
225
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service58
3
- } from "./shell-e1t80gge.js";
2
+ Service66
3
+ } from "./shell-zp34c0n6.js";
4
4
  import {
5
- Service10
6
- } from "./shell-z4h5d8ps.js";
5
+ Service8
6
+ } from "./shell-c13z7sy5.js";
7
7
  import {
8
8
  observe2
9
9
  } from "./shell-qsdy395h.js";
@@ -15,15 +15,15 @@ import {
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin46
18
+ Plugin: () => Plugin14
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin46 = define({
22
+ var Plugin14 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service58;
26
- const compaction = yield* Service10;
25
+ const config = yield* Service66;
26
+ const compaction = yield* Service8;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin46 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin46, exports_compaction };
42
+ export { Plugin14, exports_compaction };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Ref4
3
- } from "./shell-1ezyexdv.js";
3
+ } from "./shell-xp0mhm80.js";
4
4
  import {
5
5
  __export
6
6
  } from "./shell-9rqn6x4v.js";
@@ -9,9 +9,9 @@ import {
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service70,
12
+ Service: () => Service59,
13
13
  canonical: () => canonical3,
14
- node: () => node74,
14
+ node: () => node62,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service70 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service59 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service70, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service59, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node74 = LayerNode.unbound(Service70, Node.tags.values.global);
27
+ var node62 = LayerNode.unbound(Service59, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service70;
29
+ const locations = yield* Service59;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service70, node74, reload2, canonical3, exports_location_service_map };
48
+ export { Service59, node62, reload2, canonical3, exports_location_service_map };