@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,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./shell-9syxb0r3.js";
3
+ } from "./shell-mgpyxjx6.js";
4
4
  import {
5
5
  call2
6
- } from "./shell-33w4ejhs.js";
6
+ } from "./shell-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
9
  } from "./shell-9rqn6x4v.js";
@@ -11,7 +11,7 @@ import {
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin21,
14
+ Plugin: () => Plugin38,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
16
  endpoint: () => endpoint5
17
17
  });
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin21 = define({
40
+ var Plugin38 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin21 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin21, exports_firecrawl };
80
+ export { endpoint5, Plugin38, exports_firecrawl };
@@ -2,11 +2,11 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service40
6
- } from "./shell-y6drww2a.js";
5
+ Service36
6
+ } from "./shell-y07tpj3e.js";
7
7
  import {
8
- Service71
9
- } from "./shell-vq2r4xxp.js";
8
+ Service60
9
+ } from "./shell-dm6v0cnj.js";
10
10
  import {
11
11
  __export
12
12
  } from "./shell-9rqn6x4v.js";
@@ -15,15 +15,15 @@ import {
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin7
18
+ Plugin: () => Plugin25
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin7 = {
22
+ var Plugin25 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service40;
26
- const permission = yield* Service71;
25
+ const mcp = yield* Service36;
26
+ const permission = yield* Service60;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin7 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin7, exports_mcp_resource };
96
+ export { Plugin25, exports_mcp_resource };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useragent2
3
- } from "./shell-9syxb0r3.js";
3
+ } from "./shell-mgpyxjx6.js";
4
4
  import {
5
5
  __export
6
6
  } from "./shell-9rqn6x4v.js";
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin20,
11
+ Plugin: () => Plugin35,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint4
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint4 = "https://api.tavily.com/search";
18
+ var endpoint2 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin20 = define({
32
+ var Plugin35 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin20 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin20 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint4, Plugin20, exports_tavily };
80
+ export { endpoint2, Plugin35, exports_tavily };
@@ -3,39 +3,39 @@ import {
3
3
  } from "./shell-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info19,
9
+ ConfigPermissionV1: () => exports_permission2,
10
+ Info: () => Info21,
11
11
  Object: () => Object2,
12
- Rule: () => Rule2
12
+ Rule: () => Rule3
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule2),
20
- edit: Schema.optional(Rule2),
21
- glob: Schema.optional(Rule2),
22
- grep: Schema.optional(Rule2),
23
- list: Schema.optional(Rule2),
24
- bash: Schema.optional(Rule2),
25
- task: Schema.optional(Rule2),
26
- external_directory: Schema.optional(Rule2),
19
+ read: Schema.optional(Rule3),
20
+ edit: Schema.optional(Rule3),
21
+ glob: Schema.optional(Rule3),
22
+ grep: Schema.optional(Rule3),
23
+ list: Schema.optional(Rule3),
24
+ bash: Schema.optional(Rule3),
25
+ task: Schema.optional(Rule3),
26
+ external_directory: Schema.optional(Rule3),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule2),
28
+ webfetch: Schema.optional(Rule3),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule2),
30
+ lsp: Schema.optional(Rule3),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule2)
33
- }), [Schema.Record(Schema.String, Rule2)]);
32
+ skill: Schema.optional(Rule3)
33
+ }), [Schema.Record(Schema.String, Rule3)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info19 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info21 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info19, exports_permission };
41
+ export { Action2, Object2, Rule3, Info21, exports_permission2 };
@@ -6,7 +6,7 @@ import {
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make16,
9
+ make: () => make15,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make16(tools) {
32
+ function make15(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make16, render3, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID15,
3
- Info30,
2
+ ID12,
3
+ Info26,
4
4
  SessionSchema2
5
- } from "./shell-q3t37ft6.js";
5
+ } from "./shell-6bsje7ws.js";
6
6
  import {
7
7
  RelativePath2
8
8
  } from "./shell-922hggd3.js";
9
9
  import {
10
10
  Service84,
11
11
  node88
12
- } from "./shell-bj8111r1.js";
12
+ } from "./shell-pcwxzhdm.js";
13
13
  import {
14
14
  isSynced2,
15
- Service82,
16
- node86
17
- } from "./shell-8x3ar29j.js";
15
+ Service83,
16
+ node87
17
+ } from "./shell-ap9eas8m.js";
18
18
  import {
19
- Service81,
20
- node85
21
- } from "./shell-b44gvvvr.js";
19
+ Service80,
20
+ node84
21
+ } from "./shell-bbg4461y.js";
22
22
  import {
23
- Service46,
24
- node48
25
- } from "./shell-909p1r3q.js";
23
+ Service55,
24
+ node58
25
+ } from "./shell-sd5f6jdk.js";
26
26
  import {
27
27
  SessionEvent2
28
28
  } from "./shell-ec1grn59.js";
@@ -30,25 +30,25 @@ import {
30
30
  SessionMessageTable2
31
31
  } from "./shell-z07pqspn.js";
32
32
  import {
33
- node47
34
- } from "./shell-1y782dng.js";
33
+ node56
34
+ } from "./shell-k0v2pnh2.js";
35
35
  import {
36
36
  current2
37
- } from "./shell-2mhsvxbb.js";
37
+ } from "./shell-5xpznt2d.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./shell-gs9kr2a8.js";
40
+ } from "./shell-pj97z4ma.js";
41
41
  import {
42
42
  Slug2
43
43
  } from "./shell-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node35
47
- } from "./shell-9m18q581.js";
46
+ node30
47
+ } from "./shell-cpbwv1ps.js";
48
48
  import {
49
49
  Metadata2,
50
- node56
51
- } from "./shell-9syxb0r3.js";
50
+ node47
51
+ } from "./shell-mgpyxjx6.js";
52
52
  import {
53
53
  NotFoundError8,
54
54
  MessageNotFoundError2,
@@ -61,55 +61,55 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./shell-z2wvrawj.js";
64
+ } from "./shell-n9gk7fk1.js";
65
65
  import {
66
- ListInput4,
67
- Service72,
68
- node76
69
- } from "./shell-dy2xnbj8.js";
66
+ ListInput5,
67
+ Service62,
68
+ node65
69
+ } from "./shell-xkx2jhzt.js";
70
70
  import {
71
- Service55,
72
- node58
73
- } from "./shell-d8cfvk62.js";
71
+ Service58,
72
+ node61
73
+ } from "./shell-8558arf1.js";
74
74
  import {
75
- Service43,
76
- node46
77
- } from "./shell-d38myz56.js";
75
+ Service51,
76
+ node55
77
+ } from "./shell-ppsqsh87.js";
78
78
  import {
79
79
  llmClient2
80
80
  } from "./shell-5t3nmthw.js";
81
81
  import {
82
- Service37,
83
- node40
84
- } from "./shell-z2sk8n0r.js";
82
+ Service32,
83
+ node36
84
+ } from "./shell-s532705d.js";
85
85
  import {
86
86
  generate2
87
- } from "./shell-ky96t3kz.js";
87
+ } from "./shell-bcx2a56x.js";
88
88
  import {
89
89
  execute2
90
- } from "./shell-cxqfxpp1.js";
90
+ } from "./shell-2etfsxvf.js";
91
91
  import {
92
- Service70,
93
- node74
94
- } from "./shell-cs4k5zgq.js";
92
+ Service59,
93
+ node62
94
+ } from "./shell-br5b6q5k.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service31,
100
- node34
101
- } from "./shell-24zydrzs.js";
99
+ Service26,
100
+ node29
101
+ } from "./shell-2ypncbw6.js";
102
102
  import {
103
- Service57,
104
- node60
105
- } from "./shell-mp6d0dty.js";
103
+ Service65,
104
+ node68
105
+ } from "./shell-7rwqf82v.js";
106
106
  import {
107
- make15
108
- } from "./shell-2yxkykh1.js";
107
+ make13
108
+ } from "./shell-hztfeys8.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./shell-302sxsq7.js";
112
+ } from "./shell-6pwzktg7.js";
113
113
  import {
114
114
  __export
115
115
  } from "./shell-9rqn6x4v.js";
@@ -123,22 +123,22 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID15,
126
+ ID: () => ID12,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info30,
128
+ Info: () => Info26,
129
129
  ListAnchor: () => ListAnchor2,
130
130
  ListInput: () => ListInput3,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
133
  NotFoundError: () => NotFoundError8,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service29,
135
+ Service: () => Service25,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node32
141
+ node: () => node28
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
148
148
  import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
- var ListInput3 = ListInput4;
152
- class Service29 extends Context.Service()("@opencode/Session") {
151
+ var ListInput3 = ListInput5;
152
+ class Service25 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service29, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service84;
157
157
  const db = database.db;
158
- const bus = yield* Service82;
159
- const projects = yield* Service81;
160
- const execution = yield* Service43;
158
+ const bus = yield* Service83;
159
+ const projects = yield* Service80;
160
+ const execution = yield* Service51;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service37;
163
- const store = yield* Service72;
164
- const instances = yield* Service46;
165
- const moves = yield* Service31;
166
- const jobs = yield* Service55;
167
- const environments = yield* Service57;
168
- const locations = yield* Service70;
169
- const sessions = yield* make15();
162
+ const transport = yield* Service32;
163
+ const store = yield* Service62;
164
+ const instances = yield* Service55;
165
+ const moves = yield* Service26;
166
+ const jobs = yield* Service58;
167
+ const environments = yield* Service65;
168
+ const locations = yield* Service59;
169
+ const sessions = yield* make13();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service29.of({
171
+ const result = Service25.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service55, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service46, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service55, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
327
327
  });
328
328
  return result;
329
329
  }));
330
- var node32 = Node.makeGlobalNode({
331
- service: Service29,
330
+ var node28 = Node.makeGlobalNode({
331
+ service: Service25,
332
332
  layer,
333
333
  deps: [
334
- node58,
335
- node60,
334
+ node61,
335
+ node68,
336
336
  node88,
337
- node86,
338
- node85,
339
- node46,
340
- node40,
337
+ node87,
338
+ node84,
339
+ node55,
340
+ node36,
341
341
  llmClient2,
342
- node76,
343
- node48,
344
- node47,
345
- node34,
346
- node35,
347
- node74,
342
+ node65,
343
+ node58,
344
+ node56,
345
+ node29,
346
+ node30,
347
+ node62,
348
348
  FSUtil.node,
349
- node56
349
+ node47
350
350
  ]
351
351
  });
352
352
 
353
- export { ListAnchor2, ListInput3, Service29, node32, exports_session };
353
+ export { ListAnchor2, ListInput3, Service25, node28, exports_session };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./shell-bj8111r1.js";
4
+ } from "./shell-pcwxzhdm.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
8
  } from "./shell-z07pqspn.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load5
12
- } from "./shell-dawgpkjz.js";
11
+ load4
12
+ } from "./shell-4j10ng35.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./shell-jca4demv.js";
15
+ } from "./shell-ff0svapt.js";
16
16
  import {
17
17
  __export
18
18
  } from "./shell-9rqn6x4v.js";
@@ -20,10 +20,10 @@ import {
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput4,
24
- Service: () => Service72,
23
+ ListInput: () => ListInput5,
24
+ Service: () => Service62,
25
25
  SessionStore: () => exports_store,
26
- node: () => node76
26
+ node: () => node65
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service72 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service62 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service72, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
58
58
  const { db } = yield* Service84;
59
- return Service72.of({
59
+ return Service62.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node76 = makeGlobalNode({ service: Service72, layer, deps: [node88] });
128
+ var node65 = makeGlobalNode({ service: Service62, layer, deps: [node88] });
129
129
 
130
- export { ListInput4, Service72, node76, exports_store };
130
+ export { ListInput5, Service62, node65, exports_store };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./shell-b44gvvvr.js";
2
+ Service80,
3
+ node84
4
+ } from "./shell-bbg4461y.js";
5
5
  import {
6
6
  __export
7
7
  } from "./shell-9rqn6x4v.js";
@@ -9,25 +9,25 @@ import {
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info32,
12
+ Info: () => Info31,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service80,
15
+ Service: () => Service79,
16
16
  boundNode: () => boundNode2,
17
- node: () => node84,
17
+ node: () => node83,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service80 extends Context.Service()("@opencode/Location") {
24
+ class Service79 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node84 = LayerNode.unbound(Service80, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
28
- const project = yield* Service81;
26
+ var node83 = LayerNode.unbound(Service79, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
28
+ const project = yield* Service80;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service80.of({
30
+ return Service79.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service80,
38
+ service: Service79,
39
39
  layer: layer(ref),
40
- deps: [node85]
40
+ deps: [node84]
41
41
  });
42
42
 
43
- export { Info32, Ref4, response2, Service80, node84, boundNode2, exports_location };
43
+ export { Info31, Ref4, response2, Service79, node83, boundNode2, exports_location };