@opencode/core 0.0.0-dev-19467 → 0.0.0-dev-19469

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 (785) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{file-5h5hcfag.js → reference-01anbdkk.js} +27 -27
  9. package/dist/chunks/{file-qttnr0ye.js → reference-05r7bmwp.js} +10 -10
  10. package/dist/chunks/{file-88sz8qcd.js → reference-06dxphr1.js} +4 -4
  11. package/dist/chunks/{file-skre1xzp.js → reference-09aw4jvq.js} +9 -9
  12. package/dist/chunks/{file-bpbqk74e.js → reference-09y6afs0.js} +8 -8
  13. package/dist/chunks/{file-1cfb3ja4.js → reference-0gapa1rm.js} +5 -5
  14. package/dist/chunks/{file-fjkx7jfm.js → reference-0htbavtx.js} +17 -17
  15. package/dist/chunks/reference-0mesazry.js +4 -0
  16. package/dist/chunks/{file-jmdt0qbm.js → reference-0mhw05h8.js} +10 -10
  17. package/dist/chunks/{file-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{file-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
  19. package/dist/chunks/{file-pm3zx1e2.js → reference-0qe8g8zg.js} +11 -11
  20. package/dist/chunks/{file-c98r53b8.js → reference-0t8dc6r8.js} +13 -13
  21. package/dist/chunks/{file-n8c291r7.js → reference-10jtetaj.js} +6 -6
  22. package/dist/chunks/{file-76t0zr3x.js → reference-12kja8s8.js} +11 -11
  23. package/dist/chunks/{file-yxzk4b0p.js → reference-15k12kva.js} +4 -4
  24. package/dist/chunks/{file-xp1skx2v.js → reference-15vt8tk0.js} +19 -19
  25. package/dist/chunks/{file-dhwr7h25.js → reference-16cax9zb.js} +11 -11
  26. package/dist/chunks/{file-bpn789zm.js → reference-17bm7pxq.js} +14 -14
  27. package/dist/chunks/{file-fygdb7h7.js → reference-18cztcj7.js} +3 -3
  28. package/dist/chunks/{file-z69s9t6b.js → reference-1ah30sey.js} +5 -5
  29. package/dist/chunks/{file-9q0jhhf9.js → reference-1c83pxjm.js} +8 -8
  30. package/dist/chunks/{file-jkrwprzx.js → reference-1cbphejb.js} +17 -17
  31. package/dist/chunks/{file-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  32. package/dist/chunks/{file-mkh51v61.js → reference-1e9w7pgh.js} +10 -10
  33. package/dist/chunks/{file-t3yqqakc.js → reference-1ezb2zjw.js} +15 -15
  34. package/dist/chunks/{file-gr6g09x2.js → reference-1gnhaxbw.js} +3 -3
  35. package/dist/chunks/{file-e8es6s27.js → reference-1kb45nkz.js} +11 -11
  36. package/dist/chunks/{file-kmba0g0m.js → reference-1r2rfnkf.js} +24 -24
  37. package/dist/chunks/{file-jwx4y25k.js → reference-1tjg7tvh.js} +9 -9
  38. package/dist/chunks/{file-aw76w3jw.js → reference-1xcz5rcm.js} +9 -9
  39. package/dist/chunks/{file-k3vytwpg.js → reference-1xd5egdd.js} +17 -17
  40. package/dist/chunks/{file-mfqp6xfm.js → reference-1ygqh575.js} +6 -6
  41. package/dist/chunks/{file-21r38tys.js → reference-21r38tys.js} +1 -1
  42. package/dist/chunks/{file-yg6nt6v4.js → reference-2336b01z.js} +8 -8
  43. package/dist/chunks/{file-2402vzrj.js → reference-2402vzrj.js} +1 -1
  44. package/dist/chunks/{file-01mdjjj7.js → reference-27cwmj5g.js} +37 -37
  45. package/dist/chunks/{file-5p1xccta.js → reference-2a263qgy.js} +4 -4
  46. package/dist/chunks/{file-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  47. package/dist/chunks/{file-6jnybvqn.js → reference-2bt6bea8.js} +9 -9
  48. package/dist/chunks/{file-m27pyyd3.js → reference-2d6j2h4j.js} +6 -6
  49. package/dist/chunks/{file-n07gqhyx.js → reference-2e96adxv.js} +9 -9
  50. package/dist/chunks/{file-qgn6gcr1.js → reference-2k8khapm.js} +5 -5
  51. package/dist/chunks/{file-aznbw4af.js → reference-2kmxw8hs.js} +34 -34
  52. package/dist/chunks/{file-gn193kaw.js → reference-2kr5eys4.js} +2 -2
  53. package/dist/chunks/{file-954vm9zf.js → reference-2nv2m7pf.js} +6 -6
  54. package/dist/chunks/{file-sveyc280.js → reference-2rmxd9h0.js} +13 -13
  55. package/dist/chunks/{file-e9cy62py.js → reference-2wyjv582.js} +4 -4
  56. package/dist/chunks/{file-r9babyk8.js → reference-31dz7cp4.js} +1 -1
  57. package/dist/chunks/{file-4cgh75f3.js → reference-35rfs3k1.js} +8 -8
  58. package/dist/chunks/{file-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  59. package/dist/chunks/{file-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  60. package/dist/chunks/{file-ak4yxbec.js → reference-3hwn07qe.js} +11 -11
  61. package/dist/chunks/{file-w0gkjavc.js → reference-3sa4r9dq.js} +15 -15
  62. package/dist/chunks/{file-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  63. package/dist/chunks/{file-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  64. package/dist/chunks/{file-vr7gxye5.js → reference-3vnq2gnx.js} +11 -11
  65. package/dist/chunks/{file-z3pw5915.js → reference-3w0fmcng.js} +5 -5
  66. package/dist/chunks/{file-fbe32vd5.js → reference-3whwtej4.js} +6 -6
  67. package/dist/chunks/{file-kp3p0j6p.js → reference-415h19gn.js} +3 -3
  68. package/dist/chunks/{file-gdzz6jx4.js → reference-47fbce8x.js} +60 -60
  69. package/dist/chunks/{file-v0zt7nbb.js → reference-4g33vjc1.js} +48 -48
  70. package/dist/chunks/{file-v57h5aag.js → reference-4pq1e7ap.js} +32 -32
  71. package/dist/chunks/{file-rtv6ahp9.js → reference-4wkq7p63.js} +8 -8
  72. package/dist/chunks/{file-4y66k410.js → reference-4y66k410.js} +2 -2
  73. package/dist/chunks/{file-t7z3zppm.js → reference-4yg7xpeb.js} +2 -2
  74. package/dist/chunks/{file-zedqgydd.js → reference-54fz3v2y.js} +15 -15
  75. package/dist/chunks/{file-vb8ktjqd.js → reference-56e767g1.js} +29 -29
  76. package/dist/chunks/{file-nhzp11fy.js → reference-5d2ab029.js} +11 -11
  77. package/dist/chunks/{file-5daktx2q.js → reference-5daktx2q.js} +1 -1
  78. package/dist/chunks/{file-w0f6ctqr.js → reference-5gx2yyfz.js} +18 -18
  79. package/dist/chunks/{file-15ez12k6.js → reference-5j82523v.js} +30 -30
  80. package/dist/chunks/{file-ksz0h0wp.js → reference-5jtdmvnp.js} +1 -1
  81. package/dist/chunks/{file-nkdfvqze.js → reference-5qmb0wzx.js} +37 -37
  82. package/dist/chunks/{file-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  83. package/dist/chunks/{file-wzepkft7.js → reference-5v02x80t.js} +16 -16
  84. package/dist/chunks/{file-wzjjzz4p.js → reference-5wwh4mg2.js} +4 -4
  85. package/dist/chunks/{file-10nz5c35.js → reference-648tfcfv.js} +4 -4
  86. package/dist/chunks/{file-669tq793.js → reference-669tq793.js} +1 -1
  87. package/dist/chunks/{file-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  88. package/dist/chunks/{file-9cz3wv26.js → reference-6rh2dx9z.js} +5 -5
  89. package/dist/chunks/{file-71q4at8m.js → reference-71q4at8m.js} +1 -1
  90. package/dist/chunks/{file-y4pn6qcw.js → reference-73fcze5p.js} +6 -6
  91. package/dist/chunks/{file-we27jats.js → reference-78qgck3m.js} +12 -12
  92. package/dist/chunks/{file-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  93. package/dist/chunks/{file-w98apfbx.js → reference-7ec9e7fz.js} +10 -10
  94. package/dist/chunks/{file-g72m04gw.js → reference-7png34pd.js} +11 -11
  95. package/dist/chunks/{file-43kgpfns.js → reference-7vsprvj1.js} +22 -22
  96. package/dist/chunks/{file-y6f0p4jw.js → reference-7w99qc9d.js} +2 -2
  97. package/dist/chunks/{file-1awm1f41.js → reference-80e0yyk8.js} +12 -12
  98. package/dist/chunks/{file-asmz7wyz.js → reference-844ef7ks.js} +8 -8
  99. package/dist/chunks/{file-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  100. package/dist/chunks/{file-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
  101. package/dist/chunks/{file-jmkfxt9k.js → reference-8r89cgw5.js} +26 -26
  102. package/dist/chunks/{file-ygcwy31f.js → reference-8zy0pqav.js} +25 -25
  103. package/dist/chunks/{file-6dqgf9h2.js → reference-94r5a2b1.js} +9 -9
  104. package/dist/chunks/{file-mwbghvtz.js → reference-96r2e1w0.js} +20 -20
  105. package/dist/chunks/{file-6wc117sj.js → reference-9ny7y94p.js} +10 -10
  106. package/dist/chunks/{file-rk0rec3h.js → reference-9pv0dm11.js} +9 -9
  107. package/dist/chunks/{file-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
  108. package/dist/chunks/{file-43k15f45.js → reference-a4exdnt3.js} +4 -4
  109. package/dist/chunks/{file-xwsk2c8c.js → reference-a4kcyykg.js} +6 -6
  110. package/dist/chunks/{file-aaet6srn.js → reference-aaet6srn.js} +2 -2
  111. package/dist/chunks/{file-npz894wm.js → reference-ad84r26q.js} +20 -20
  112. package/dist/chunks/{file-m70sbz6t.js → reference-afdssyjb.js} +4 -4
  113. package/dist/chunks/{file-5t49yv3r.js → reference-b38z4m5h.js} +20 -20
  114. package/dist/chunks/{file-6d17qt6n.js → reference-b56hman4.js} +47 -47
  115. package/dist/chunks/{file-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{file-ckn2912w.js → reference-bc2jnt26.js} +7 -7
  117. package/dist/chunks/{file-7j9mf223.js → reference-bg8wk28x.js} +26 -26
  118. package/dist/chunks/{file-dzpsx89s.js → reference-bngkd4f8.js} +9 -9
  119. package/dist/chunks/{file-jc9hk3c4.js → reference-bshbjjhq.js} +30 -30
  120. package/dist/chunks/{file-s0hza5ac.js → reference-bw03vhcb.js} +4 -4
  121. package/dist/chunks/{file-3wyyhwd0.js → reference-bxya9zf1.js} +20 -20
  122. package/dist/chunks/{file-n6d0ct00.js → reference-c0j4bwt0.js} +11 -11
  123. package/dist/chunks/{file-gp52jd7g.js → reference-c5vgnrd2.js} +10 -10
  124. package/dist/chunks/{file-bmmbmmz8.js → reference-cb7jb397.js} +20 -20
  125. package/dist/chunks/{file-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
  126. package/dist/chunks/{file-55ecvd0d.js → reference-ch958ebp.js} +43 -43
  127. package/dist/chunks/{file-1vtz46z8.js → reference-chnmz1hg.js} +8 -8
  128. package/dist/chunks/{file-0dey12nt.js → reference-ctfh8fzz.js} +24 -24
  129. package/dist/chunks/{file-y4trewk8.js → reference-cy1a2d0g.js} +26 -26
  130. package/dist/chunks/{file-b3wkxfg9.js → reference-d50f2zf5.js} +1 -1
  131. package/dist/chunks/{file-k4698d15.js → reference-d590qfxf.js} +8 -8
  132. package/dist/chunks/{file-vaspbzqy.js → reference-d6cdva8b.js} +78 -78
  133. package/dist/chunks/{file-vncycja5.js → reference-dfe8djrf.js} +4 -4
  134. package/dist/chunks/{file-d9vam3k2.js → reference-dfp9n8hb.js} +29 -29
  135. package/dist/chunks/{file-dyaxchcz.js → reference-dpa0gt8g.js} +20 -20
  136. package/dist/chunks/{file-q7wrh90t.js → reference-dqh78jdz.js} +29 -29
  137. package/dist/chunks/{file-0zcwb494.js → reference-dwqs10ka.js} +34 -34
  138. package/dist/chunks/reference-dxj72tfx.js +18 -0
  139. package/dist/chunks/{file-wvdcn5qm.js → reference-dydhxaw9.js} +20 -20
  140. package/dist/chunks/{file-nc8g0deh.js → reference-e2d25rr3.js} +25 -25
  141. package/dist/chunks/{file-jv01nqvq.js → reference-e6hmchc5.js} +5 -5
  142. package/dist/chunks/{file-63xctefh.js → reference-ebah8r6x.js} +6 -6
  143. package/dist/chunks/{file-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{file-2zj8fbp9.js → reference-f0rar1s7.js} +19 -19
  145. package/dist/chunks/{file-tte3y0bt.js → reference-f1md5hpv.js} +20 -20
  146. package/dist/chunks/{file-2q26t3z2.js → reference-f250hf8h.js} +15 -15
  147. package/dist/chunks/{file-3p0a3947.js → reference-f6jnqjkq.js} +34 -34
  148. package/dist/chunks/{file-f828m53h.js → reference-f828m53h.js} +2 -2
  149. package/dist/chunks/{file-f8q7mv7a.js → reference-f9bavhm2.js} +1 -1
  150. package/dist/chunks/{file-rj24jzzd.js → reference-fa3vxxse.js} +15 -15
  151. package/dist/chunks/reference-favptqsr.js +22 -0
  152. package/dist/chunks/{file-mp0p3w6e.js → reference-fbfybm5t.js} +14 -14
  153. package/dist/chunks/{file-eym8880c.js → reference-fdtzxv27.js} +8 -8
  154. package/dist/chunks/{file-xtnhd2d6.js → reference-fgtf9gwd.js} +11 -11
  155. package/dist/chunks/{file-y18dg9rm.js → reference-fp7m7k50.js} +25 -25
  156. package/dist/chunks/{file-xf7r26fr.js → reference-fsk062cm.js} +27 -27
  157. package/dist/chunks/{file-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
  158. package/dist/chunks/{file-vsp1fds9.js → reference-g190xswt.js} +21 -21
  159. package/dist/chunks/{file-8qkkyzrv.js → reference-gc6qaqmt.js} +13 -13
  160. package/dist/chunks/{file-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{file-r7cr63pb.js → reference-gj09rpzd.js} +9 -9
  162. package/dist/chunks/{file-ag08y0z0.js → reference-gm03z5wg.js} +33 -33
  163. package/dist/chunks/{file-vgx6weyf.js → reference-gn2hfjap.js} +8 -8
  164. package/dist/chunks/{file-s4gwnm9s.js → reference-gtqrsy8f.js} +17 -17
  165. package/dist/chunks/{file-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
  166. package/dist/chunks/{file-e052s0h1.js → reference-gvphacjb.js} +18 -18
  167. package/dist/chunks/{file-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
  168. package/dist/chunks/{file-g2h5514g.js → reference-h4bptjw1.js} +3 -3
  169. package/dist/chunks/{file-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{file-bajakh74.js → reference-hfdr1yjj.js} +4 -4
  171. package/dist/chunks/{file-yt0fqk68.js → reference-hkfg6fzm.js} +5 -5
  172. package/dist/chunks/{file-nd64t4g7.js → reference-hpjzhk5e.js} +15 -15
  173. package/dist/chunks/{file-hxs4qgpe.js → reference-ht96ep0w.js} +20 -20
  174. package/dist/chunks/{file-j56e64zr.js → reference-j56e64zr.js} +1 -1
  175. package/dist/chunks/{file-zpqzfwh7.js → reference-j8pg3ej3.js} +4 -4
  176. package/dist/chunks/{file-ge9f1ey5.js → reference-jbbzf1js.js} +10 -10
  177. package/dist/chunks/{file-196zxc4b.js → reference-jcthwcnq.js} +22 -22
  178. package/dist/chunks/{file-xmftkv8j.js → reference-jd4jebz2.js} +24 -24
  179. package/dist/chunks/{file-p1mff96j.js → reference-jr6f0vph.js} +87 -87
  180. package/dist/chunks/{file-mka1mjms.js → reference-jx4nweh7.js} +13 -13
  181. package/dist/chunks/{file-96yt6zt0.js → reference-jy16bfac.js} +1 -1
  182. package/dist/chunks/{file-hr4nst8s.js → reference-k2as7s6q.js} +56 -56
  183. package/dist/chunks/{file-0py0pkk2.js → reference-k5tg8ptt.js} +22 -6
  184. package/dist/chunks/{file-zcyexcbg.js → reference-k8wp12df.js} +21 -21
  185. package/dist/chunks/{file-kpdtseex.js → reference-kb35dtpx.js} +4 -4
  186. package/dist/chunks/{file-rh4q0e7f.js → reference-kdgdx0pq.js} +21 -21
  187. package/dist/chunks/{file-kg06axw8.js → reference-kg06axw8.js} +1 -1
  188. package/dist/chunks/{file-wptj4zbr.js → reference-kn35aw4y.js} +13 -13
  189. package/dist/chunks/{file-brdav8ac.js → reference-krf6f92z.js} +1 -1
  190. package/dist/chunks/{file-p90jbscy.js → reference-m188z08q.js} +11 -11
  191. package/dist/chunks/{file-at361zj4.js → reference-m4gc54s5.js} +29 -29
  192. package/dist/chunks/{file-vvejnxw1.js → reference-m7c4bemr.js} +174 -174
  193. package/dist/chunks/{file-4h3kvjs2.js → reference-m7fm29bt.js} +7 -7
  194. package/dist/chunks/{file-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{file-pn6c68gz.js → reference-ma9zq0m7.js} +56 -56
  196. package/dist/chunks/{file-qsaqrdx1.js → reference-mb0geh9n.js} +11 -11
  197. package/dist/chunks/{file-bwvfabrt.js → reference-mcakkx8x.js} +6 -6
  198. package/dist/chunks/{file-7yh4e7ss.js → reference-mhkvc446.js} +3 -3
  199. package/dist/chunks/{file-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
  200. package/dist/chunks/{file-4w79hth0.js → reference-ms97y41h.js} +11 -11
  201. package/dist/chunks/{file-rgerjr63.js → reference-mw9a6czv.js} +4 -4
  202. package/dist/chunks/{file-cgyb2chk.js → reference-n5ep5dan.js} +27 -27
  203. package/dist/chunks/{file-32ns7zf1.js → reference-n5my4zzm.js} +39 -39
  204. package/dist/chunks/{file-zg7fnakg.js → reference-n972z8tz.js} +293 -293
  205. package/dist/chunks/{file-qfhg0qm0.js → reference-na7vfx71.js} +15 -15
  206. package/dist/chunks/{file-pd0fpw0w.js → reference-nfxhw9qw.js} +13 -13
  207. package/dist/chunks/{file-hjt4xg1x.js → reference-nhy5jxhy.js} +4 -4
  208. package/dist/chunks/{file-b09hzw3k.js → reference-nng2ktcm.js} +2 -2
  209. package/dist/chunks/{file-x0mn1y4c.js → reference-nsabaa1m.js} +15 -15
  210. package/dist/chunks/{file-t0x5rdq8.js → reference-p1wf2k30.js} +9 -9
  211. package/dist/chunks/{file-w1e78axz.js → reference-p8q51ffm.js} +24 -24
  212. package/dist/chunks/{file-n8wswfp5.js → reference-p8r4fzyh.js} +16 -16
  213. package/dist/chunks/{file-j935v87r.js → reference-paphc93g.js} +2 -2
  214. package/dist/chunks/{file-xm0rhqjd.js → reference-pazrb1rr.js} +5 -5
  215. package/dist/chunks/{file-t8dapppc.js → reference-phdhrp7w.js} +37 -37
  216. package/dist/chunks/{file-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  217. package/dist/chunks/{file-pknna89w.js → reference-pknna89w.js} +1 -1
  218. package/dist/chunks/{file-81z8qjxd.js → reference-pnk6npkv.js} +16 -16
  219. package/dist/chunks/{file-q597yyn0.js → reference-ppe0rjzw.js} +16 -16
  220. package/dist/chunks/{file-f0bc8q2d.js → reference-psm6qbq5.js} +22 -22
  221. package/dist/chunks/{file-v6ypf6cj.js → reference-pyg81bkg.js} +4 -4
  222. package/dist/chunks/{file-q88zj522.js → reference-q5xz05ap.js} +11 -11
  223. package/dist/chunks/{file-zmdyh523.js → reference-qdxx0g8s.js} +32 -32
  224. package/dist/chunks/{file-vkt7gky2.js → reference-qgawthcf.js} +47 -47
  225. package/dist/chunks/{file-fgh0kbhd.js → reference-qmr73083.js} +1 -1
  226. package/dist/chunks/{file-tfngb0ww.js → reference-qr27hz8v.js} +4 -4
  227. package/dist/chunks/{file-c3tq07df.js → reference-qsam8w8k.js} +19 -19
  228. package/dist/chunks/{file-qsdy395h.js → reference-qsdy395h.js} +1 -1
  229. package/dist/chunks/{file-dp6qntr2.js → reference-r65k5kbp.js} +15 -15
  230. package/dist/chunks/{file-r9mregkx.js → reference-r9mregkx.js} +2 -2
  231. package/dist/chunks/{file-p5m12nsf.js → reference-rftpfvvg.js} +41 -41
  232. package/dist/chunks/{file-yp2x3t23.js → reference-rhraev7y.js} +4 -4
  233. package/dist/chunks/{file-ratrq7cm.js → reference-ryr25ayn.js} +4 -4
  234. package/dist/chunks/{file-87kgra54.js → reference-rzz62h8s.js} +6 -6
  235. package/dist/chunks/{file-9fecvkeg.js → reference-s5wgwj4n.js} +35 -35
  236. package/dist/chunks/{file-t550f9t1.js → reference-s8d7rejh.js} +4 -4
  237. package/dist/chunks/{file-w3gs9xya.js → reference-s8vrwrxy.js} +9 -9
  238. package/dist/chunks/{file-rbmgqr8n.js → reference-sa3n58kn.js} +8 -8
  239. package/dist/chunks/{file-8g4hjr24.js → reference-sb5pch95.js} +15 -15
  240. package/dist/chunks/{file-m7fcfcd3.js → reference-smg7z89f.js} +41 -41
  241. package/dist/chunks/{file-n76fdqym.js → reference-sv9bpgvh.js} +5 -5
  242. package/dist/chunks/{file-m0v68pa6.js → reference-szqgdezh.js} +26 -26
  243. package/dist/chunks/{file-2ktm995r.js → reference-t8vn9brm.js} +13 -13
  244. package/dist/chunks/{file-yymn1yqy.js → reference-t92920s6.js} +9 -9
  245. package/dist/chunks/{file-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  246. package/dist/chunks/{file-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  247. package/dist/chunks/{file-tdstcens.js → reference-tdstcens.js} +1 -1
  248. package/dist/chunks/{file-tvtrv512.js → reference-tvtrv512.js} +1 -1
  249. package/dist/chunks/{file-mc8zj9wc.js → reference-v71evwnx.js} +19 -19
  250. package/dist/chunks/{file-k16ay38w.js → reference-v8ch97zc.js} +1 -1
  251. package/dist/chunks/{file-pjj7a5gk.js → reference-v8qyrbfj.js} +5 -5
  252. package/dist/chunks/{file-0m33zjrf.js → reference-vcgtdkxa.js} +25 -25
  253. package/dist/chunks/{file-veqvce7d.js → reference-veqvce7d.js} +1 -1
  254. package/dist/chunks/{file-65ae7ssf.js → reference-vgfzxgad.js} +15 -15
  255. package/dist/chunks/{file-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{file-yj688e5m.js → reference-w3n3y9pr.js} +20 -20
  257. package/dist/chunks/{file-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{file-qvz5qhdq.js → reference-w5s7sg4e.js} +34 -34
  259. package/dist/chunks/{file-wd87259q.js → reference-wd87259q.js} +1 -1
  260. package/dist/chunks/{file-5wh1mxz2.js → reference-wm1ya0ts.js} +20 -20
  261. package/dist/chunks/{file-99hfsv2g.js → reference-wst8cwqd.js} +21 -21
  262. package/dist/chunks/{file-44ddp8x2.js → reference-ww4b13kq.js} +18 -18
  263. package/dist/chunks/{file-4b96ps91.js → reference-wzpdcp4j.js} +14 -14
  264. package/dist/chunks/{file-3nnae7yt.js → reference-x014fvry.js} +26 -26
  265. package/dist/chunks/{file-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{file-8yay56x4.js → reference-x28agkan.js} +5 -5
  267. package/dist/chunks/{file-scjjkrgm.js → reference-xgpae3me.js} +16 -16
  268. package/dist/chunks/{file-46hd6k3g.js → reference-xj0mj0qg.js} +18 -18
  269. package/dist/chunks/{file-5h1vqfpf.js → reference-xs36768n.js} +24 -24
  270. package/dist/chunks/{file-2z1nbbgn.js → reference-xt2nr24r.js} +10 -10
  271. package/dist/chunks/{file-78nv4h6x.js → reference-xx1mwrye.js} +24 -24
  272. package/dist/chunks/{file-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{file-zq3nracj.js → reference-y4hk1f48.js} +20 -20
  274. package/dist/chunks/{file-xvvn7245.js → reference-y5y3sc4a.js} +30 -30
  275. package/dist/chunks/{file-y71avatq.js → reference-y71avatq.js} +1 -1
  276. package/dist/chunks/{file-6anwy9fs.js → reference-y8nmaz64.js} +6 -6
  277. package/dist/chunks/{file-zzr6y1q3.js → reference-yg98y7q8.js} +17 -17
  278. package/dist/chunks/{file-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{file-s4enseaf.js → reference-yrznvahk.js} +2 -2
  280. package/dist/chunks/{file-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{file-c4qh20ek.js → reference-z0dgpzg6.js} +23 -23
  282. package/dist/chunks/{file-29x78va6.js → reference-z63w68vq.js} +6 -6
  283. package/dist/chunks/{file-grfft0p3.js → reference-z9xr9zm9.js} +9 -9
  284. package/dist/chunks/{file-v366j0rp.js → reference-za77aepr.js} +3 -3
  285. package/dist/chunks/{file-tppe6m69.js → reference-zebdq5r6.js} +7 -7
  286. package/dist/chunks/{file-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  287. package/dist/chunks/reference-zg1jk378.js +247 -0
  288. package/dist/chunks/{file-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +78 -78
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +118 -118
  298. package/dist/config/plugin/command.js +210 -210
  299. package/dist/config/plugin/compaction.js +156 -156
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +118 -118
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +86 -86
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +127 -127
  306. package/dist/config/plugin/policy.js +115 -115
  307. package/dist/config/plugin/provider.js +114 -114
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +117 -117
  310. package/dist/config/plugin/skill-file.js +98 -98
  311. package/dist/config/plugin/skill.js +137 -137
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +118 -118
  314. package/dist/config/plugin/tool-output.js +118 -118
  315. package/dist/config/plugin/websearch.js +114 -114
  316. package/dist/config/plugin/worktree.js +119 -119
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +116 -116
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +80 -80
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +363 -363
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +89 -89
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +89 -89
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +100 -100
  412. package/dist/file-mutation.js +90 -90
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +221 -221
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +94 -94
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +13 -13
  426. package/dist/filesystem.js +97 -97
  427. package/dist/form.js +81 -81
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +83 -83
  430. package/dist/generate.js +94 -94
  431. package/dist/git.js +7 -7
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +7 -7
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +354 -354
  456. package/dist/instruction-discovery.js +82 -82
  457. package/dist/instructions/builtins.js +83 -83
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +129 -129
  465. package/dist/location-mutation.js +100 -100
  466. package/dist/location-service-map.js +82 -82
  467. package/dist/location-services.js +351 -351
  468. package/dist/location.js +85 -85
  469. package/dist/mcp/client.js +87 -87
  470. package/dist/mcp/index.js +104 -104
  471. package/dist/mcp/instructions.js +121 -121
  472. package/dist/mcp/oauth.js +3 -3
  473. package/dist/mcp/stdio.js +86 -86
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +7 -7
  476. package/dist/model-resolver.js +87 -87
  477. package/dist/model.js +8 -8
  478. package/dist/models-dev.js +79 -79
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +79 -79
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +111 -111
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +87 -87
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +100 -100
  489. package/dist/plugin/command.js +97 -97
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +214 -214
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +325 -325
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +76 -76
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +4 -2
  498. package/dist/plugin/plan.js +98 -98
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  502. package/dist/plugin/provider/anthropic.js +2 -2
  503. package/dist/plugin/provider/azure.js +119 -119
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +115 -115
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +118 -118
  519. package/dist/plugin/provider/mistral.js +2 -2
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +118 -118
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +79 -79
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +118 -118
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +134 -134
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +340 -340
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +83 -83
  546. package/dist/plugin/vcs/hg.js +83 -83
  547. package/dist/plugin/warming.js +113 -113
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +8 -8
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin.js +225 -225
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +86 -86
  558. package/dist/provider.js +5 -5
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +85 -85
  564. package/dist/reference.js +87 -87
  565. package/dist/repository-cache.js +77 -77
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +82 -82
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +128 -128
  573. package/dist/session/context.js +148 -148
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +217 -217
  578. package/dist/session/execution.js +123 -123
  579. package/dist/session/generate.js +149 -149
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +93 -93
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +114 -114
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +127 -127
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +101 -101
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +86 -86
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +87 -87
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +111 -111
  602. package/dist/session/runner/step.js +120 -120
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +3 -3
  605. package/dist/session/session.js +168 -168
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +99 -99
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +84 -84
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +204 -204
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +148 -148
  615. package/dist/session/to-session-error.js +108 -108
  616. package/dist/session/transfer.js +211 -211
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +210 -210
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +101 -101
  626. package/dist/skill.js +104 -104
  627. package/dist/snapshot.js +87 -87
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +122 -122
  632. package/dist/tool/plugin/edit.js +114 -114
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +117 -117
  635. package/dist/tool/plugin/grep.js +121 -121
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +116 -116
  638. package/dist/tool/plugin/question.js +101 -101
  639. package/dist/tool/plugin/read.js +122 -122
  640. package/dist/tool/plugin/shell.js +207 -207
  641. package/dist/tool/plugin/skill.js +105 -105
  642. package/dist/tool/plugin/subagent.js +215 -215
  643. package/dist/tool/plugin/webfetch.js +106 -106
  644. package/dist/tool/plugin/websearch.js +108 -108
  645. package/dist/tool/plugin/write.js +118 -118
  646. package/dist/tool/read-filesystem.js +97 -97
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +11 -11
  650. package/dist/types/plugin/optimize.d.ts +2 -1
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/formatter.js +5 -5
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +4 -4
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +86 -86
  678. package/dist/websearch.js +83 -83
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +80 -80
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +79 -79
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +7 -7
  686. package/dist/worktree/refresh.js +343 -343
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree.js +92 -92
  689. package/package.json +8 -8
  690. package/dist/chunks/file-6kdq0pjd.js +0 -4
  691. package/dist/chunks/file-p2byknbn.js +0 -22
  692. package/dist/chunks/file-pf31ssb9.js +0 -18
  693. package/dist/chunks/file-zgqe0621.js +0 -247
  694. /package/dist/chunks/{file-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{file-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{file-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{file-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{file-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{file-2710q6r3.js → reference-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{file-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{file-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{file-359p4xyc.js → reference-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{file-3asan66x.js → reference-3asan66x.js} +0 -0
  704. /package/dist/chunks/{file-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{file-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{file-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{file-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{file-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{file-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{file-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{file-53557ph1.js → reference-53557ph1.js} +0 -0
  712. /package/dist/chunks/{file-550bvhaj.js → reference-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{file-6prwharc.js → reference-6prwharc.js} +0 -0
  714. /package/dist/chunks/{file-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{file-7m9af43g.js → reference-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{file-822emrt2.js → reference-822emrt2.js} +0 -0
  717. /package/dist/chunks/{file-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{file-8n3pysct.js → reference-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{file-922hggd3.js → reference-922hggd3.js} +0 -0
  720. /package/dist/chunks/{file-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{file-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{file-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{file-af5trqkr.js → reference-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{file-afrmfg78.js → reference-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{file-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{file-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{file-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{file-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{file-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{file-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{file-d9fn303g.js → reference-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{file-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{file-dajrwvna.js → reference-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{file-dap0rakb.js → reference-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{file-df08tz66.js → reference-df08tz66.js} +0 -0
  736. /package/dist/chunks/{file-dy18nga0.js → reference-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{file-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{file-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{file-ec1grn59.js → reference-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{file-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{file-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{file-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{file-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{file-faypxj3z.js → reference-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{file-fd410y7t.js → reference-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{file-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{file-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{file-g86h250q.js → reference-g86h250q.js} +0 -0
  749. /package/dist/chunks/{file-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{file-gftt206x.js → reference-gftt206x.js} +0 -0
  751. /package/dist/chunks/{file-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{file-hk9envan.js → reference-hk9envan.js} +0 -0
  753. /package/dist/chunks/{file-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
  754. /package/dist/chunks/{file-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{file-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{file-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{file-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{file-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{file-mp448xyj.js → reference-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{file-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{file-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{file-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{file-njntx4h6.js → reference-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{file-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{file-q74kybfr.js → reference-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{file-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{file-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{file-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{file-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{file-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{file-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{file-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{file-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{file-twg0f83k.js → reference-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{file-w803qqfp.js → reference-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{file-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  777. /package/dist/chunks/{file-wtztk69x.js → reference-wtztk69x.js} +0 -0
  778. /package/dist/chunks/{file-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  779. /package/dist/chunks/{file-x61499pn.js → reference-x61499pn.js} +0 -0
  780. /package/dist/chunks/{file-y44na4kk.js → reference-y44na4kk.js} +0 -0
  781. /package/dist/chunks/{file-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  782. /package/dist/chunks/{file-y8f7s663.js → reference-y8f7s663.js} +0 -0
  783. /package/dist/chunks/{file-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  784. /package/dist/chunks/{file-ym463w8f.js → reference-ym463w8f.js} +0 -0
  785. /package/dist/chunks/{file-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-v366j0rp.js";
4
+ } from "./reference-za77aepr.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./file-rgerjr63.js";
8
+ } from "./reference-mw9a6czv.js";
9
9
  import {
10
- Service36,
11
- node39
12
- } from "./file-63xctefh.js";
10
+ Service61,
11
+ node66
12
+ } from "./reference-ebah8r6x.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./file-922hggd3.js";
16
+ } from "./reference-922hggd3.js";
17
17
  import {
18
- Service70,
19
- node74
20
- } from "./file-p5m12nsf.js";
18
+ Service75,
19
+ node80
20
+ } from "./reference-rftpfvvg.js";
21
21
  import {
22
- Ref2
23
- } from "./file-zzr6y1q3.js";
22
+ Ref4
23
+ } from "./reference-yg98y7q8.js";
24
24
  import {
25
- Service46,
26
- node49
27
- } from "./file-qttnr0ye.js";
25
+ Service73,
26
+ node78
27
+ } from "./reference-05r7bmwp.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./file-gftt206x.js";
30
+ } from "./reference-gftt206x.js";
31
31
  import {
32
- NotFoundError6
33
- } from "./file-n07gqhyx.js";
32
+ NotFoundError8
33
+ } from "./reference-2e96adxv.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./file-ec1grn59.js";
36
+ } from "./reference-ec1grn59.js";
37
37
  import {
38
- Service34
39
- } from "./file-m70sbz6t.js";
38
+ Service58
39
+ } from "./reference-afdssyjb.js";
40
40
  import {
41
- Service48,
42
- node51
43
- } from "./file-mp0p3w6e.js";
41
+ Service64,
42
+ node69
43
+ } from "./reference-fbfybm5t.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service35,
48
- node38,
47
+ Service59,
48
+ node64,
49
49
  moveIDs2
50
- } from "./file-5h1vqfpf.js";
50
+ } from "./reference-xs36768n.js";
51
51
  import {
52
- Service33,
53
- node37
54
- } from "./file-nkdfvqze.js";
52
+ Service57,
53
+ node63
54
+ } from "./reference-5qmb0wzx.js";
55
55
  import {
56
- node24
57
- } from "./file-scjjkrgm.js";
56
+ node32
57
+ } from "./reference-xgpae3me.js";
58
58
  import {
59
59
  __export
60
- } from "./file-9rqn6x4v.js";
60
+ } from "./reference-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service18,
68
+ Service: () => Service27,
69
69
  SessionMove: () => exports_move,
70
- node: () => node22
70
+ node: () => node31
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service18 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service27 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service18, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service70;
92
- const locations = yield* Service46;
93
- const store = yield* Service48;
94
- const execution = yield* Service33;
95
- const instances = yield* Service36;
96
- const admission = yield* Service35;
91
+ const projects = yield* Service75;
92
+ const locations = yield* Service73;
93
+ const store = yield* Service64;
94
+ const execution = yield* Service57;
95
+ const instances = yield* Service61;
96
+ const admission = yield* Service59;
97
97
  const database = yield* Service80;
98
98
  const bus = yield* Service79;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError6({ sessionID });
102
+ return yield* new NotFoundError8({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref2.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref4.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service34.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service58.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service18.of({
136
+ return Service27.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node22 = makeGlobalNode({
167
- service: Service18,
166
+ var node31 = makeGlobalNode({
167
+ service: Service27,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node74,
173
- node49,
174
- node51,
175
- node37,
176
- node39,
177
- node38,
172
+ node80,
173
+ node78,
174
+ node69,
175
+ node63,
176
+ node66,
177
+ node64,
178
178
  node85,
179
179
  node84,
180
- node24
180
+ node32
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service18, node22, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node31, exports_move };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured11,
11
- layer: () => layer24,
12
- make: () => make21,
13
- node: () => node79,
10
+ configured: () => configured9,
11
+ layer: () => layer20,
12
+ make: () => make15,
13
+ node: () => node53,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make21()
19
+ defaultValue: () => make15()
20
20
  });
21
- function make21(input = {}) {
21
+ function make15(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make21(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer24 = (input) => Layer.succeed(Metadata2, make21(input));
32
- var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
- var node79 = configured11();
31
+ var layer20 = (input) => Layer.succeed(Metadata2, make15(input));
32
+ var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
+ var node53 = configured9();
34
34
 
35
- export { Metadata2, make21, useragent2, layer24, configured11, node79, exports_app };
35
+ export { Metadata2, make15, useragent2, layer20, configured9, node53, exports_app };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-qsaqrdx1.js";
3
+ } from "./reference-mb0geh9n.js";
4
4
  import {
5
5
  call2
6
- } from "./file-mfqp6xfm.js";
6
+ } from "./reference-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./reference-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin25,
14
+ Plugin: () => Plugin10,
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 Plugin25 = define({
40
+ var Plugin10 = 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 Plugin25 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin25, exports_firecrawl };
80
+ export { endpoint5, Plugin10, exports_firecrawl };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./file-qaymkmh1.js";
3
+ } from "./reference-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make6(input) {
8
+ function make9(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make6 };
264
+ export { make9 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./file-ym463w8f.js";
3
+ } from "./reference-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/mistral.ts
6
6
  var MistralPlugin2 = createProviderPlugin2({
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./file-5t3nmthw.js";
3
+ } from "./reference-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service23,
11
+ Service: () => Service33,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer11,
13
+ layer: () => layer13,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node28
15
+ node: () => node37
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service23 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service23, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service23, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service23.of({ bind, close, closeAll });
359
+ return Service33.of({ bind, close, closeAll });
360
360
  }));
361
- var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node28 = makeGlobalNode({ service: Service23, layer: layer11, deps: [webSocketConstructor2] });
364
+ var node37 = makeGlobalNode({ service: Service33, layer: layer13, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service23, makeLayer2, layer11, node28, exports_model_transport };
366
+ export { Service33, makeLayer2, layer13, node37, exports_model_transport };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-v366j0rp.js";
4
+ } from "./reference-za77aepr.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./file-2710q6r3.js";
8
+ } from "./reference-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./file-y71avatq.js";
11
+ } from "./reference-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./file-9rqn6x4v.js";
14
+ } from "./reference-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service57,
3
- node60
4
- } from "./file-f0bc8q2d.js";
2
+ Service45,
3
+ node49
4
+ } from "./reference-psm6qbq5.js";
5
5
  import {
6
- Service69,
7
- node73
8
- } from "./file-zzr6y1q3.js";
6
+ Service74,
7
+ node79
8
+ } from "./reference-yg98y7q8.js";
9
9
  import {
10
- Service56,
11
- node59
12
- } from "./file-t8dapppc.js";
10
+ Service44,
11
+ node48
12
+ } from "./reference-phdhrp7w.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./file-zxq2ej10.js";
16
+ } from "./reference-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./file-9rqn6x4v.js";
19
+ } from "./reference-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service3,
25
+ Service: () => Service7,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node6
27
+ layer: () => layer7,
28
+ node: () => node10
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service7 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service3, Effect.gen(function* () {
39
- const config = yield* Service56;
40
- const watcher = yield* Service57;
38
+ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
39
+ const config = yield* Service44;
40
+ const watcher = yield* Service45;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service69;
42
+ const location = yield* Service74;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service3.of({
61
+ return Service7.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service3,
75
- layer: layer5,
76
- deps: [node59, FSUtil.node, node60, node73]
73
+ var node10 = makeLocationNode({
74
+ service: Service7,
75
+ layer: layer7,
76
+ deps: [node48, FSUtil.node, node49, node79]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service3,
80
- layer: Layer.succeed(Service3, Service3.of({
79
+ service: Service7,
80
+ layer: Layer.succeed(Service7, Service7.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service3, layer5, node6, empty2, exports_source };
140
+ export { Service7, layer7, node10, empty2, exports_source };
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID8,
3
- Service50
4
- } from "./file-w1e78axz.js";
2
+ ID11,
3
+ Service67
4
+ } from "./reference-p8q51ffm.js";
5
5
  import {
6
6
  latest2,
7
- Service56
8
- } from "./file-t8dapppc.js";
7
+ Service44
8
+ } from "./reference-phdhrp7w.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./file-y6f0p4jw.js";
11
+ } from "./reference-7w99qc9d.js";
12
12
  import {
13
- Service38
14
- } from "./file-s4gwnm9s.js";
13
+ Service62
14
+ } from "./reference-gtqrsy8f.js";
15
15
  import {
16
16
  evaluate2,
17
- Service47
18
- } from "./file-hr4nst8s.js";
17
+ Service63
18
+ } from "./reference-k2as7s6q.js";
19
19
  import {
20
- Service17
21
- } from "./file-vaspbzqy.js";
20
+ Service26
21
+ } from "./reference-d6cdva8b.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./file-x1ezjp6w.js";
24
+ } from "./reference-x1ezjp6w.js";
25
25
  import {
26
26
  make10
27
- } from "./file-4cgh75f3.js";
27
+ } from "./reference-35rfs3k1.js";
28
28
  import {
29
29
  __export
30
- } from "./file-9rqn6x4v.js";
30
+ } from "./reference-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input11,
36
- Output: () => Output8,
37
- Plugin: () => Plugin43,
35
+ Input: () => Input3,
36
+ Output: () => Output2,
37
+ Plugin: () => Plugin35,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description5,
40
- name: () => name11
39
+ description: () => description3,
40
+ name: () => name3
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name11 = "subagent";
44
+ var name3 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input11 = Schema.Struct({
55
+ var Input3 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input11 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output8 = Schema.Struct({
66
+ var Output2 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description5 = [
71
+ var description3 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description5 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin43 = {
80
+ var Plugin35 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service17;
84
- const jobs = yield* Service38;
85
- const agents = yield* Service50;
86
- const config = yield* Service56;
87
- const permission = yield* Service47;
83
+ const sessions = yield* Service26;
84
+ const jobs = yield* Service62;
85
+ const agents = yield* Service67;
86
+ const config = yield* Service44;
87
+ const permission = yield* Service63;
88
88
  const subagents = yield* make10;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name11,
90
+ name: name3,
91
91
  options: { codemode: false },
92
- description: description5,
93
- input: Input11,
94
- output: Output8,
92
+ description: description3,
93
+ input: Input3,
94
+ output: Output2,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin43 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name11,
114
+ action: name3,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin43 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID8.make(input.agent),
137
+ agent: ID11.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name11];
187
+ const tool = event.tools[name3];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name11, Input11, Output8, description5, Plugin43, exports_subagent };
207
+ export { name3, Input3, Output2, description3, Plugin35, exports_subagent };