@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
- } from "./shell-bj8111r1.js";
3
+ } from "./shell-pcwxzhdm.js";
4
4
  import {
5
- Service82
6
- } from "./shell-8x3ar29j.js";
5
+ Service83
6
+ } from "./shell-ap9eas8m.js";
7
7
  import {
8
- Service46
9
- } from "./shell-909p1r3q.js";
8
+ Service55
9
+ } from "./shell-sd5f6jdk.js";
10
10
  import {
11
11
  RelativePath2
12
12
  } from "./shell-922hggd3.js";
13
13
  import {
14
- ID5,
15
- Service52
16
- } from "./shell-mhjvq9xf.js";
14
+ ID6,
15
+ Service39
16
+ } from "./shell-7jq0yyyf.js";
17
17
  import {
18
18
  SessionEvent2
19
19
  } from "./shell-ec1grn59.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./shell-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./shell-z2wvrawj.js";
25
+ } from "./shell-n9gk7fk1.js";
26
26
  import {
27
27
  SessionMessageTable2
28
28
  } from "./shell-z07pqspn.js";
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service46;
45
+ const instances = yield* Service55;
46
46
  const database = yield* Service84;
47
- const bus = yield* Service82;
47
+ const bus = yield* Service83;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service52;
50
- const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service39;
50
+ const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service46;
78
- const bus = yield* Service82;
77
+ const instances = yield* Service55;
78
+ const bus = yield* Service83;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service52;
80
+ const snapshot = yield* Service39;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID5.make(message.snapshot.start));
114
+ files.set(file, ID6.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -2,15 +2,15 @@ import {
2
2
  PATCH_CONTEXT_LINES2
3
3
  } from "./shell-tazgh4e4.js";
4
4
  import {
5
- ID5,
6
- Service52
7
- } from "./shell-mhjvq9xf.js";
5
+ ID6,
6
+ Service39
7
+ } from "./shell-7jq0yyyf.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./shell-q3t37ft6.js";
10
+ } from "./shell-6bsje7ws.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./shell-z2wvrawj.js";
13
+ } from "./shell-n9gk7fk1.js";
14
14
  import {
15
15
  SessionMessageTable2
16
16
  } from "./shell-z07pqspn.js";
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service52;
84
+ const snapshot = yield* Service39;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID5.make(from),
91
- to: ID5.make(to),
90
+ from: ID6.make(from),
91
+ to: ID6.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -5,26 +5,26 @@ import {
5
5
  RelativePath2
6
6
  } from "./shell-922hggd3.js";
7
7
  import {
8
- Service80
9
- } from "./shell-1ezyexdv.js";
8
+ Service79
9
+ } from "./shell-xp0mhm80.js";
10
10
  import {
11
- Service65
12
- } from "./shell-bfafj43h.js";
11
+ Service68
12
+ } from "./shell-v12jv0w3.js";
13
13
  import {
14
- Service23
15
- } from "./shell-yfmq466m.js";
14
+ Service21
15
+ } from "./shell-fn2vqynn.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./shell-v5me1390.js";
21
+ } from "./shell-bybgwcct.js";
22
22
  import {
23
- Service71
24
- } from "./shell-vq2r4xxp.js";
23
+ Service60
24
+ } from "./shell-dm6v0cnj.js";
25
25
  import {
26
- Service25
27
- } from "./shell-qdd0q08y.js";
26
+ Service49
27
+ } from "./shell-gna9hx4h.js";
28
28
  import {
29
29
  __export
30
30
  } from "./shell-9rqn6x4v.js";
@@ -33,17 +33,17 @@ import {
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input8,
36
+ Input: () => Input10,
37
37
  Output: () => Output6,
38
- Plugin: () => Plugin10,
39
- name: () => name8,
40
- toModelContent: () => toModelContent3
38
+ Plugin: () => Plugin30,
39
+ name: () => name10,
40
+ toModelContent: () => toModelContent5
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name8 = "glob";
46
- var Input8 = Schema.Struct({
45
+ var name10 = "glob";
46
+ var Input10 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -56,26 +56,26 @@ var Input8 = Schema.Struct({
56
56
  })
57
57
  });
58
58
  var Output6 = Schema.Array(Entry2);
59
- var toModelContent3 = (entries, truncated = false) => {
59
+ var toModelContent5 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin10 = {
66
+ var Plugin30 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service65;
70
- const ripgrep = yield* Service23;
71
- const location = yield* Service80;
72
- const access = yield* Service25;
73
- const permission = yield* Service71;
69
+ const environment = yield* Service68;
70
+ const ripgrep = yield* Service21;
71
+ const location = yield* Service79;
72
+ const access = yield* Service49;
73
+ const permission = yield* Service60;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name8,
75
+ name: name10,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input8,
78
+ input: Input10,
79
79
  output: Output6,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
@@ -83,7 +83,7 @@ var Plugin10 = {
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name8,
86
+ action: name10,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin10 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name8, Input8, Output6, toModelContent3, Plugin10, exports_glob };
128
+ export { name10, Input10, Output6, toModelContent5, Plugin30, exports_glob };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node86
5
- } from "./shell-8x3ar29j.js";
3
+ Service83,
4
+ node87
5
+ } from "./shell-ap9eas8m.js";
6
6
  import {
7
7
  __export
8
8
  } from "./shell-9rqn6x4v.js";
@@ -11,28 +11,28 @@ import {
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service5,
14
+ Service: () => Service11,
15
15
  Updated: () => Updated2,
16
- layer: () => layer5,
17
- node: () => node7
16
+ layer: () => layer7,
17
+ node: () => node13
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service11 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service5, Effect.gen(function* () {
26
- const bus = yield* Service82;
25
+ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
26
+ const bus = yield* Service83;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service11.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node7 = makeGlobalNode({ service: Service5, layer: layer5, deps: [node86] });
36
+ var node13 = makeGlobalNode({ service: Service11, layer: layer7, deps: [node87] });
37
37
 
38
- export { Updated2, Service5, layer5, node7, exports_sdk };
38
+ export { Updated2, Service11, layer7, node13, exports_sdk };
@@ -1,29 +1,29 @@
1
- import {
2
- Service82,
3
- node86
4
- } from "./shell-8x3ar29j.js";
5
1
  import {
6
2
  Service83,
7
3
  node87
8
- } from "./shell-2a5svkms.js";
4
+ } from "./shell-ap9eas8m.js";
5
+ import {
6
+ Service81,
7
+ node85
8
+ } from "./shell-fe5bw3z3.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
  awaitActivation2
15
15
  } from "./shell-619r8v3y.js";
16
16
  import {
17
- Service59,
18
- node62
19
- } from "./shell-n0x2a21q.js";
17
+ Service67,
18
+ node70
19
+ } from "./shell-4238gvvk.js";
20
20
  import {
21
- node17
22
- } from "./shell-gc7e05zt.js";
21
+ node18
22
+ } from "./shell-jt8t0ecz.js";
23
23
  import {
24
- Service9,
25
- node11
26
- } from "./shell-qmqgtz8f.js";
24
+ Service6,
25
+ node8
26
+ } from "./shell-g6q9qykm.js";
27
27
  import {
28
28
  __export
29
29
  } from "./shell-9rqn6x4v.js";
@@ -32,23 +32,23 @@ import {
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service3,
36
- node: () => node4
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service3 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service3, Effect.gen(function* () {
46
- const location = yield* Service80;
47
- const watcher = yield* Service59;
48
- const bus = yield* Service82;
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
+ const location = yield* Service79;
47
+ const watcher = yield* Service67;
48
+ const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service83;
51
- const policy = yield* Service9;
50
+ const git = yield* Service81;
51
+ const policy = yield* Service6;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service3.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node4 = makeLocationNode({
106
- service: Service3,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node62, FSUtil.node, node84, node87, node86, node17, node11]
108
+ deps: [node70, FSUtil.node, node83, node85, node87, node18, node8]
109
109
  });
110
110
 
111
- export { Service3, node4, exports_location_watcher };
111
+ export { Service2, node2, exports_location_watcher };
@@ -1,24 +1,24 @@
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
10
  key2
11
- } from "./shell-x661k3y3.js";
11
+ } from "./shell-dnxkq42g.js";
12
12
  import {
13
- ID8,
14
- Service64,
15
- node67,
16
- Event15
17
- } from "./shell-h3qzknde.js";
13
+ ID14,
14
+ Service77,
15
+ node81,
16
+ Event18
17
+ } from "./shell-qpe8tk8s.js";
18
18
  import {
19
- Service80,
20
- node84
21
- } from "./shell-1ezyexdv.js";
19
+ Service79,
20
+ node83
21
+ } from "./shell-xp0mhm80.js";
22
22
  import {
23
23
  __export
24
24
  } from "./shell-9rqn6x4v.js";
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event14,
41
- ID: () => ID7,
42
- Info: () => Info21,
40
+ Event: () => Event17,
41
+ ID: () => ID13,
42
+ Info: () => Info27,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
- Request: () => Request2,
46
- Service: () => Service63,
45
+ Request: () => Request3,
46
+ Service: () => Service76,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node66,
56
+ node: () => node80,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event14 } from "@opencode/schema/provider";
68
- var ID7 = Provider.ID;
67
+ import { Event as Event17 } from "@opencode/schema/provider";
68
+ var ID13 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -207,13 +207,13 @@ function mergeHeaders2(base, overlay) {
207
207
  return result;
208
208
  }, new Map).values());
209
209
  }
210
- var Request2 = Provider.Request;
210
+ var Request3 = Provider.Request;
211
211
  var Compaction3 = Provider.Compaction;
212
212
  var Transport2 = Provider.Transport;
213
213
  var Settings2 = Provider.Settings;
214
- var Info21 = Provider.Info;
214
+ var Info27 = Provider.Info;
215
215
 
216
- class Service63 extends Context.Service()("@opencode/Provider") {
216
+ class Service76 extends Context.Service()("@opencode/Provider") {
217
217
  }
218
218
  var definitions = new WeakMap;
219
219
  function index(providerID, models) {
@@ -226,10 +226,10 @@ function index(providerID, models) {
226
226
  definitions.set(models, indexes);
227
227
  return result;
228
228
  }
229
- var layer = Layer.effect(Service63, Effect.gen(function* () {
230
- const bus = yield* Service82;
231
- const integrations = yield* Service64;
232
- const location = yield* Service80;
229
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
230
+ const bus = yield* Service83;
231
+ const integrations = yield* Service77;
232
+ const location = yield* Service79;
233
233
  const state = create3({
234
234
  name: "provider",
235
235
  initial: () => new Map,
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
240
240
  const current = records.get(id);
241
241
  if (current)
242
242
  return current;
243
- const added = { provider: Info21.empty(id), models: new Map };
243
+ const added = { provider: Info27.empty(id), models: new Map };
244
244
  records.set(id, added);
245
245
  maps.add(added.models);
246
246
  return added;
@@ -321,7 +321,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
321
321
  const available = Array.from(records.values()).filter((record) => {
322
322
  if (record.provider.activation === "disabled")
323
323
  return false;
324
- const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
324
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
325
325
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
326
326
  return false;
327
327
  if (record.provider.activation === "enabled")
@@ -347,8 +347,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
347
347
  location: { directory: location.directory, workspaceID: location.workspaceID }
348
348
  });
349
349
  });
350
- yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
351
- return Service63.of({
350
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
351
+ return Service76.of({
352
352
  transform: state.transform,
353
353
  reload: state.reload,
354
354
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -357,7 +357,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
357
357
  snapshot
358
358
  });
359
359
  }));
360
- var node66 = makeLocationNode({ service: Service63, layer, deps: [node86, node67, node84] });
360
+ var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node83] });
361
361
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
362
362
  const module = yield* Effect.tryPromise({
363
363
  try: () => {
@@ -627,4 +627,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
627
627
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
628
628
  var decode = Schema2.decodeUnknownSync(Legacy);
629
629
 
630
- export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info21, Service63, node66, exports_provider3, Event14 };
630
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./shell-8x3ar29j.js";
5
- import {
6
- Service80,
7
- node84
8
- } from "./shell-1ezyexdv.js";
2
+ Service83,
3
+ node87
4
+ } from "./shell-ap9eas8m.js";
9
5
  import {
10
6
  Service79,
11
- login2,
12
7
  node83
13
- } from "./shell-gce79w0q.js";
8
+ } from "./shell-xp0mhm80.js";
9
+ import {
10
+ Service69,
11
+ login2,
12
+ node72
13
+ } from "./shell-k8csyqq2.js";
14
14
  import {
15
15
  lazy2
16
16
  } from "./shell-88xbtdfr.js";
@@ -21,45 +21,45 @@ import {
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput3,
25
- Event: () => Event20,
24
+ CreateInput: () => CreateInput2,
25
+ Event: () => Event6,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID16,
28
- Info: () => Info31,
29
- NotFoundError: () => NotFoundError10,
27
+ ID: () => ID4,
28
+ Info: () => Info4,
29
+ NotFoundError: () => NotFoundError3,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service78,
31
+ Service: () => Service23,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node82
33
+ node: () => node26
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event20 } from "@opencode/schema/pty";
38
+ import { Event as Event6 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID16 = Pty.ID;
43
- var Info31 = Pty.Info;
44
- var CreateInput3 = Pty.CreateInput;
42
+ var ID4 = Pty.ID;
43
+ var Info4 = Pty.Info;
44
+ var CreateInput2 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID16
47
+ class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID4
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID16
53
+ ptyID: ID4
54
54
  }) {
55
55
  }
56
56
 
57
- class Service78 extends Context.Service()("@opencode/Pty") {
57
+ class Service23 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service78, Effect.gen(function* () {
60
- const bus = yield* Service82;
61
- const location = yield* Service80;
62
- const shell = yield* Service79;
59
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
60
+ const bus = yield* Service83;
61
+ const location = yield* Service79;
62
+ const shell = yield* Service69;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError10({ ptyID: id });
99
+ return yield* new NotFoundError3({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID16.ascending();
125
+ const id = ID4.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service78.of({ list, get, create, update, remove, write, attach });
270
+ return Service23.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node82 = makeLocationNode({
273
- service: Service78,
272
+ var node26 = makeLocationNode({
273
+ service: Service23,
274
274
  layer,
275
- deps: [node86, node84, node83]
275
+ deps: [node87, node83, node72]
276
276
  });
277
277
 
278
- export { ID16, Info31, CreateInput3, UpdateInput2, NotFoundError10, ExitedError2, Service78, node82, exports_pty, Event20 };
278
+ export { ID4, Info4, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service23, node26, exports_pty, Event6 };