@opencode/core 0.0.0-dev-19367 → 0.0.0-dev-19369

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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 +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{schema-0d55fq0h.js → tool-00gnxv30.js} +17 -17
  9. package/dist/chunks/{schema-mjdfv6k0.js → tool-01797ny4.js} +12 -12
  10. package/dist/chunks/{schema-33v1kfw7.js → tool-08xgehk5.js} +4 -4
  11. package/dist/chunks/{schema-d09006c3.js → tool-0996nyz8.js} +9 -9
  12. package/dist/chunks/{schema-1dfhrqqs.js → tool-0hpxrkyb.js} +5 -5
  13. package/dist/chunks/{schema-7r7r57pj.js → tool-0msc39tg.js} +11 -11
  14. package/dist/chunks/{schema-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{schema-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{schema-yefxppqx.js → tool-0xf6t1bc.js} +13 -13
  17. package/dist/chunks/{schema-4vwfrj8d.js → tool-0z93v4jy.js} +14 -14
  18. package/dist/chunks/{schema-xe86k8qx.js → tool-100kzw8g.js} +39 -39
  19. package/dist/chunks/{schema-0svpqy3h.js → tool-13tvcsgk.js} +11 -11
  20. package/dist/chunks/{schema-3kmngdwm.js → tool-1c2q116c.js} +18 -18
  21. package/dist/chunks/{schema-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{schema-cehesn9b.js → tool-1famk9p6.js} +14 -14
  23. package/dist/chunks/{schema-ygg5s4mj.js → tool-1hgt76pw.js} +17 -17
  24. package/dist/chunks/{schema-mrxk5tke.js → tool-1jwdep4c.js} +9 -9
  25. package/dist/chunks/{schema-7fcrrf7c.js → tool-1kh06mg4.js} +5 -5
  26. package/dist/chunks/{schema-21r38tys.js → tool-21r38tys.js} +1 -1
  27. package/dist/chunks/{schema-mfhfdr54.js → tool-22m95qs7.js} +4 -4
  28. package/dist/chunks/{schema-2402vzrj.js → tool-2402vzrj.js} +1 -1
  29. package/dist/chunks/{schema-z63w68vq.js → tool-29x78va6.js} +6 -6
  30. package/dist/chunks/{schema-7tpxex51.js → tool-2a4f6v5q.js} +8 -8
  31. package/dist/chunks/{schema-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{schema-nq8ttx4a.js → tool-2aqbs40b.js} +11 -11
  33. package/dist/chunks/{schema-0rn8zhbk.js → tool-2ft9rrby.js} +9 -9
  34. package/dist/chunks/{schema-eg4hkejt.js → tool-2gm42vdj.js} +15 -15
  35. package/dist/chunks/{schema-qgn6gcr1.js → tool-2k8khapm.js} +5 -5
  36. package/dist/chunks/{schema-6jex2xta.js → tool-2mnagb0e.js} +5 -5
  37. package/dist/chunks/{schema-syzwj6y9.js → tool-2zk4ah9y.js} +9 -9
  38. package/dist/chunks/{schema-aqza6k79.js → tool-31v57ene.js} +32 -32
  39. package/dist/chunks/{schema-9sx9q53n.js → tool-32xz9ffh.js} +11 -11
  40. package/dist/chunks/{schema-f79e7acg.js → tool-39etbsth.js} +2 -2
  41. package/dist/chunks/{schema-z424s30m.js → tool-3a9e8ct5.js} +10 -10
  42. package/dist/chunks/{schema-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{schema-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{schema-a8mnewzc.js → tool-3r6vp6xx.js} +10 -10
  45. package/dist/chunks/{schema-9f3e1ggy.js → tool-3r7whzgv.js} +7 -7
  46. package/dist/chunks/{schema-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{schema-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{schema-ezhhnzq2.js → tool-3zb9t6gq.js} +34 -34
  49. package/dist/chunks/{schema-wkm5226z.js → tool-41e240wd.js} +11 -11
  50. package/dist/chunks/{schema-dwx3yp2z.js → tool-45zx1ce8.js} +24 -24
  51. package/dist/chunks/{schema-e9cy62py.js → tool-49hrpkdk.js} +4 -4
  52. package/dist/chunks/{schema-nd8bps4j.js → tool-4faz70f1.js} +59 -59
  53. package/dist/chunks/{schema-v19ygngf.js → tool-4hnvk1d0.js} +20 -20
  54. package/dist/chunks/{schema-6hj9vs13.js → tool-4jad23kz.js} +16 -16
  55. package/dist/chunks/{schema-fr542r6s.js → tool-4rggjvr2.js} +9 -9
  56. package/dist/chunks/{schema-8k8rwmtv.js → tool-50kt3f8y.js} +4 -4
  57. package/dist/chunks/{schema-vtfyh9kp.js → tool-50wkfpjr.js} +24 -24
  58. package/dist/chunks/{schema-mfqp6xfm.js → tool-56gdpj1q.js} +6 -6
  59. package/dist/chunks/{schema-0ngh19ba.js → tool-5aa4zf44.js} +27 -27
  60. package/dist/chunks/{schema-dr9h0nkx.js → tool-5bnvv0fb.js} +25 -17
  61. package/dist/chunks/{schema-a1bz86dw.js → tool-5c4hm403.js} +3 -3
  62. package/dist/chunks/{schema-5daktx2q.js → tool-5daktx2q.js} +1 -1
  63. package/dist/chunks/{schema-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{schema-jmarb9hd.js → tool-622ah2gs.js} +26 -26
  65. package/dist/chunks/{schema-wema9tps.js → tool-62gm3akr.js} +14 -14
  66. package/dist/chunks/{schema-jdefr1hg.js → tool-632pkhjb.js} +34 -34
  67. package/dist/chunks/{schema-rxb98w6d.js → tool-638f9gty.js} +22 -22
  68. package/dist/chunks/{schema-669tq793.js → tool-669tq793.js} +1 -1
  69. package/dist/chunks/{schema-rc9edqkp.js → tool-6f5kdbjb.js} +29 -29
  70. package/dist/chunks/{schema-2jm9246z.js → tool-6fyrr4w1.js} +4 -4
  71. package/dist/chunks/{schema-d421n1ff.js → tool-6m8y77r5.js} +8 -8
  72. package/dist/chunks/{schema-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{schema-w58yaxyz.js → tool-6ppc03cv.js} +6 -6
  74. package/dist/chunks/{schema-xkgcy5zw.js → tool-6y4tgg16.js} +26 -26
  75. package/dist/chunks/{schema-71q4at8m.js → tool-71q4at8m.js} +1 -1
  76. package/dist/chunks/{schema-8nq6hfsb.js → tool-72cm32h1.js} +6 -6
  77. package/dist/chunks/{schema-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{schema-6anwy9fs.js → tool-7ebn0nc0.js} +6 -6
  79. package/dist/chunks/{schema-7s02b6me.js → tool-7f3sjtrh.js} +1 -1
  80. package/dist/chunks/{schema-pecb0brz.js → tool-7gvwkz6m.js} +5 -5
  81. package/dist/chunks/{schema-2mdv5ymf.js → tool-7j9rtswg.js} +11 -11
  82. package/dist/chunks/{schema-2q85j725.js → tool-7k1k30bt.js} +1 -1
  83. package/dist/chunks/{schema-rgnh6mfg.js → tool-7rzn7488.js} +41 -41
  84. package/dist/chunks/{schema-rk0rec3h.js → tool-81swgkk7.js} +9 -9
  85. package/dist/chunks/{schema-7k98zq5j.js → tool-83n1dzne.js} +20 -20
  86. package/dist/chunks/{schema-vyjxsjpz.js → tool-859kcgs2.js} +3 -3
  87. package/dist/chunks/{schema-9jr948nr.js → tool-89h3bp38.js} +20 -20
  88. package/dist/chunks/{schema-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{schema-bm1f71yt.js → tool-8t1wrec1.js} +8 -8
  90. package/dist/chunks/{schema-a2ajq01q.js → tool-8xv0fcmg.js} +31 -31
  91. package/dist/chunks/{schema-39r80e1r.js → tool-8ypn74s0.js} +1 -1
  92. package/dist/chunks/{schema-aa98a7te.js → tool-910hnegs.js} +26 -26
  93. package/dist/chunks/{schema-st3dbd78.js → tool-937nxygj.js} +8 -8
  94. package/dist/chunks/{schema-eaxzxtf5.js → tool-99exew75.js} +46 -46
  95. package/dist/chunks/{schema-tqae5094.js → tool-9aqmr64f.js} +5 -5
  96. package/dist/chunks/{schema-evnc3cxn.js → tool-9hv8phah.js} +14 -14
  97. package/dist/chunks/{schema-dz99st56.js → tool-a1pcbmkx.js} +14 -14
  98. package/dist/chunks/{schema-g8d3gcyj.js → tool-a46v4e4v.js} +7 -7
  99. package/dist/chunks/{schema-aaet6srn.js → tool-aaet6srn.js} +2 -2
  100. package/dist/chunks/{schema-t0fxg8b9.js → tool-ag9w8cw1.js} +5 -5
  101. package/dist/chunks/{schema-9q15ezzw.js → tool-amegs12p.js} +6 -6
  102. package/dist/chunks/{schema-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{schema-crn1dyar.js → tool-bgmt3wra.js} +28 -28
  104. package/dist/chunks/{schema-dghgjkkt.js → tool-bnweey00.js} +4 -4
  105. package/dist/chunks/{schema-fmmn8x74.js → tool-br0bxb5z.js} +28 -4
  106. package/dist/chunks/{schema-wa9n8nyq.js → tool-bv56xrks.js} +4 -4
  107. package/dist/chunks/{schema-nsvg46q9.js → tool-c3er4f98.js} +17 -17
  108. package/dist/chunks/{schema-1ns5ss6t.js → tool-c4ypf6wq.js} +20 -20
  109. package/dist/chunks/{schema-bf2gwksf.js → tool-ca9nbgzj.js} +9 -9
  110. package/dist/chunks/{schema-h4xjf306.js → tool-ce8ketvm.js} +26 -26
  111. package/dist/chunks/{schema-dv2wkykp.js → tool-cfxak8gp.js} +15 -15
  112. package/dist/chunks/{schema-20fhvhzt.js → tool-cgfvzygb.js} +19 -19
  113. package/dist/chunks/{schema-844ef7ks.js → tool-cmwkp3r5.js} +4 -4
  114. package/dist/chunks/{schema-c9rkggg0.js → tool-d38rwssd.js} +4 -4
  115. package/dist/chunks/{schema-janbd9rj.js → tool-d5pcg4sb.js} +63 -63
  116. package/dist/chunks/{schema-6fw2wmrj.js → tool-d6bb4cvp.js} +10 -10
  117. package/dist/chunks/{schema-xwwz9aqf.js → tool-d8nc1xcx.js} +4 -4
  118. package/dist/chunks/{schema-m3yrrbbr.js → tool-d8q39vv3.js} +10 -10
  119. package/dist/chunks/{schema-cvdpw4j1.js → tool-d9sn21bc.js} +2 -2
  120. package/dist/chunks/{schema-n72fdvhp.js → tool-dbnvakxz.js} +2 -2
  121. package/dist/chunks/{schema-tbsgrzej.js → tool-dex3nr62.js} +71 -71
  122. package/dist/chunks/{schema-g1anajb3.js → tool-dhhdcexn.js} +18 -18
  123. package/dist/chunks/{schema-8p4f9s12.js → tool-dj2t23y0.js} +2 -2
  124. package/dist/chunks/tool-dr8w6t5k.js +22 -0
  125. package/dist/chunks/{schema-v6kh18tr.js → tool-dw8c19qb.js} +4 -4
  126. package/dist/chunks/{schema-g26fr9df.js → tool-e67ygrb5.js} +18 -18
  127. package/dist/chunks/{schema-qssq5wvh.js → tool-e8ge1rnk.js} +1 -1
  128. package/dist/chunks/{schema-fxma3jmn.js → tool-egp6178n.js} +10 -10
  129. package/dist/chunks/{schema-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{schema-ct5bmxam.js → tool-ezs43bsy.js} +15 -15
  131. package/dist/chunks/{schema-3qwxajwq.js → tool-f249p1w2.js} +11 -11
  132. package/dist/chunks/{schema-tr93pe43.js → tool-f65fprkq.js} +25 -22
  133. package/dist/chunks/{schema-ahwzvjet.js → tool-f9qak17s.js} +5 -5
  134. package/dist/chunks/{schema-cq37gk0t.js → tool-fab8hzt3.js} +4 -4
  135. package/dist/chunks/{schema-23sxaqwc.js → tool-fjvydvzm.js} +5 -5
  136. package/dist/chunks/{schema-p76y18c0.js → tool-fsn1dw54.js} +5 -5
  137. package/dist/chunks/{schema-cpk86zgx.js → tool-fw7ks5z6.js} +9 -9
  138. package/dist/chunks/{schema-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
  139. package/dist/chunks/{schema-a97fztfj.js → tool-g0aj3r5p.js} +6 -6
  140. package/dist/chunks/{schema-1fa9ans5.js → tool-g5zf0djh.js} +1 -1
  141. package/dist/chunks/{schema-pmgfp82n.js → tool-g83yhva0.js} +21 -21
  142. package/dist/chunks/{schema-tq47070n.js → tool-gc2r3arx.js} +78 -78
  143. package/dist/chunks/{schema-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{schema-5kptn8c0.js → tool-gfqzzqy5.js} +9 -9
  145. package/dist/chunks/{schema-5fcavct1.js → tool-gj7hk09m.js} +24 -24
  146. package/dist/chunks/{schema-8dxcff5v.js → tool-gjsj0zqz.js} +164 -164
  147. package/dist/chunks/{schema-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
  148. package/dist/chunks/{schema-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{schema-n0amp1ck.js → tool-h1dazz20.js} +17 -17
  150. package/dist/chunks/{schema-p0mwbejr.js → tool-h30n9bbs.js} +17 -17
  151. package/dist/chunks/{schema-rgdbv37z.js → tool-h47mvjjj.js} +29 -29
  152. package/dist/chunks/{schema-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{schema-f828m53h.js → tool-hdnk95c8.js} +2 -2
  154. package/dist/chunks/{schema-47gsdddb.js → tool-hjt4xg1x.js} +7 -7
  155. package/dist/chunks/{schema-p58x6frn.js → tool-hvcjdrj2.js} +4 -4
  156. package/dist/chunks/{schema-jkp0d30b.js → tool-hwe7x4em.js} +6 -6
  157. package/dist/chunks/{schema-j56e64zr.js → tool-j56e64zr.js} +1 -1
  158. package/dist/chunks/{schema-sfvj2g2k.js → tool-j7wq2tw5.js} +3 -3
  159. package/dist/chunks/{schema-paphc93g.js → tool-j935v87r.js} +2 -2
  160. package/dist/chunks/{schema-0vgae9mx.js → tool-j9eppgdd.js} +15 -15
  161. package/dist/chunks/{schema-gys2ad8y.js → tool-j9tvrbwe.js} +16 -16
  162. package/dist/chunks/{schema-dt849bc4.js → tool-jfpzywp2.js} +6 -6
  163. package/dist/chunks/{schema-za9cx4qh.js → tool-jmm88pvs.js} +11 -11
  164. package/dist/chunks/{schema-fban3jjy.js → tool-jp8xd6mf.js} +10 -10
  165. package/dist/chunks/{schema-rxcp57d1.js → tool-jpchzm8t.js} +13 -13
  166. package/dist/chunks/{schema-d34vvr7x.js → tool-jw7c8f1w.js} +11 -11
  167. package/dist/chunks/{schema-6ptczqhs.js → tool-jwcaj6se.js} +21 -21
  168. package/dist/chunks/{schema-f23eeetp.js → tool-kf91f419.js} +11 -11
  169. package/dist/chunks/{schema-kg06axw8.js → tool-kg06axw8.js} +1 -1
  170. package/dist/chunks/{schema-bzwxyc6b.js → tool-kk8fq19e.js} +20 -20
  171. package/dist/chunks/{schema-gwfas74g.js → tool-knvy7wqf.js} +16 -16
  172. package/dist/chunks/{schema-6cdte67g.js → tool-ktazsj8x.js} +11 -11
  173. package/dist/chunks/{schema-nth5wf20.js → tool-kzx8z335.js} +48 -48
  174. package/dist/chunks/{schema-cfpkc3c9.js → tool-m0jqrx5p.js} +2 -2
  175. package/dist/chunks/{schema-d9tnc48d.js → tool-m2krvp2x.js} +13 -13
  176. package/dist/chunks/{schema-83hx63nd.js → tool-m8gmjx38.js} +41 -41
  177. package/dist/chunks/{schema-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{schema-an4qd3gz.js → tool-mfvn5m8d.js} +8 -8
  179. package/dist/chunks/{schema-mkcjrzeh.js → tool-mkcjrzeh.js} +1 -1
  180. package/dist/chunks/tool-ms6fawk6.js +247 -0
  181. package/dist/chunks/{schema-mhkvc446.js → tool-mvfsc1pv.js} +3 -3
  182. package/dist/chunks/{schema-yzf48fsv.js → tool-myeama09.js} +44 -44
  183. package/dist/chunks/{schema-dx5nv3mr.js → tool-n17rpw7s.js} +9 -9
  184. package/dist/chunks/{schema-t7kc4bbe.js → tool-n6arc57m.js} +7 -7
  185. package/dist/chunks/{schema-9yn5x3an.js → tool-n6pkm576.js} +24 -24
  186. package/dist/chunks/tool-n95b3jav.js +18 -0
  187. package/dist/chunks/{schema-mp03jghc.js → tool-nnxzqqg8.js} +15 -15
  188. package/dist/chunks/{schema-1hbbayva.js → tool-nqz62vb6.js} +18 -18
  189. package/dist/chunks/{schema-hstcsx0c.js → tool-p514mdqe.js} +25 -25
  190. package/dist/chunks/{schema-62t5ee4h.js → tool-p6604nm9.js} +10 -10
  191. package/dist/chunks/{schema-568sn77w.js → tool-p6rs3vpq.js} +7 -7
  192. package/dist/chunks/{schema-3ezse2vx.js → tool-pc5wdgkb.js} +17 -17
  193. package/dist/chunks/{schema-wcbqwdj0.js → tool-pe0c0z4r.js} +18 -18
  194. package/dist/chunks/{schema-khygk9n7.js → tool-phwjyq2h.js} +33 -33
  195. package/dist/chunks/{schema-1aess0nf.js → tool-pjmc1jwj.js} +25 -25
  196. package/dist/chunks/{schema-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{schema-pknna89w.js → tool-pknna89w.js} +1 -1
  198. package/dist/chunks/{schema-gsx0ryk4.js → tool-pnv527nz.js} +8 -8
  199. package/dist/chunks/{schema-27qrrwqp.js → tool-pqkb2z9p.js} +11 -11
  200. package/dist/chunks/{schema-ejffycx6.js → tool-ptq11xx0.js} +6 -6
  201. package/dist/chunks/{schema-g74z5ehj.js → tool-pwk28ted.js} +13 -13
  202. package/dist/chunks/{schema-szz6evrf.js → tool-px9gxtsw.js} +33 -33
  203. package/dist/chunks/{schema-hf8cnsjw.js → tool-q2027nw7.js} +1 -1
  204. package/dist/chunks/{schema-d8nwfk0d.js → tool-q5qadqqc.js} +4 -4
  205. package/dist/chunks/{schema-26bm9vc1.js → tool-q8rarcde.js} +26 -26
  206. package/dist/chunks/{schema-pm9j628w.js → tool-qaed280k.js} +5 -5
  207. package/dist/chunks/{schema-8gnjjt4m.js → tool-qek8dtx8.js} +13 -13
  208. package/dist/chunks/{schema-h7w9m21h.js → tool-qfv804ab.js} +6 -6
  209. package/dist/chunks/{schema-7jfqf6pz.js → tool-qjqdk9x8.js} +21 -21
  210. package/dist/chunks/{schema-qsdy395h.js → tool-qsdy395h.js} +1 -1
  211. package/dist/chunks/{schema-zthe0a6d.js → tool-qyyanj0n.js} +27 -27
  212. package/dist/chunks/{schema-czbvh7sf.js → tool-qzkdxd86.js} +6 -6
  213. package/dist/chunks/{schema-4qce8s6f.js → tool-r1q74f54.js} +24 -24
  214. package/dist/chunks/{schema-wfxbc3se.js → tool-r86gmde5.js} +24 -24
  215. package/dist/chunks/{schema-24r1qrta.js → tool-ra3gq1k7.js} +9 -9
  216. package/dist/chunks/{schema-ye7gj0d3.js → tool-rda0t9vq.js} +5 -5
  217. package/dist/chunks/{schema-rhjbct0v.js → tool-rhjbct0v.js} +1 -1
  218. package/dist/chunks/{schema-5e15319b.js → tool-rmm45jmv.js} +5 -5
  219. package/dist/chunks/{schema-hjq1kjy1.js → tool-rsv3dyxs.js} +14 -14
  220. package/dist/chunks/{schema-3bqpbn1y.js → tool-s006vazc.js} +10 -10
  221. package/dist/chunks/{schema-pekwj3qr.js → tool-s0haq3v3.js} +29 -29
  222. package/dist/chunks/{schema-yrznvahk.js → tool-s4enseaf.js} +2 -2
  223. package/dist/chunks/{schema-y755v84b.js → tool-s6vet9p8.js} +6 -6
  224. package/dist/chunks/{schema-g30zyvy1.js → tool-s73q3448.js} +284 -284
  225. package/dist/chunks/{schema-cavr175a.js → tool-s8j6jbjj.js} +21 -21
  226. package/dist/chunks/{schema-syj3071m.js → tool-sj71rkrx.js} +11 -11
  227. package/dist/chunks/{schema-psvhrxjq.js → tool-sq27dbnb.js} +9 -9
  228. package/dist/chunks/{schema-1e8ayre8.js → tool-stbptvy9.js} +21 -21
  229. package/dist/chunks/{schema-hfer3n10.js → tool-sxnp3vqk.js} +15 -15
  230. package/dist/chunks/{schema-6jfz7emw.js → tool-t0jgeayb.js} +13 -13
  231. package/dist/chunks/{schema-r007a4a3.js → tool-t7yz8ad7.js} +41 -41
  232. package/dist/chunks/{schema-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{schema-1fyqjs5h.js → tool-tb8rp2yt.js} +21 -21
  234. package/dist/chunks/{schema-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{schema-tdstcens.js → tool-tdstcens.js} +1 -1
  236. package/dist/chunks/{schema-tvtrv512.js → tool-tvtrv512.js} +1 -1
  237. package/dist/chunks/{schema-ckdm0d6k.js → tool-tx1kta8e.js} +34 -34
  238. package/dist/chunks/{schema-fj4an2zh.js → tool-v0ekqx65.js} +22 -22
  239. package/dist/chunks/{schema-vncycja5.js → tool-ve4pfa0n.js} +4 -4
  240. package/dist/chunks/{schema-veqvce7d.js → tool-veqvce7d.js} +1 -1
  241. package/dist/chunks/{schema-snp8y885.js → tool-vfpkabdf.js} +10 -10
  242. package/dist/chunks/{schema-qjnxxf51.js → tool-vmq7ehpy.js} +5 -5
  243. package/dist/chunks/{schema-1s8rkvhv.js → tool-vmshp960.js} +24 -24
  244. package/dist/chunks/{schema-7tvckfyj.js → tool-vv3eqyfe.js} +8 -8
  245. package/dist/chunks/{schema-v2x86dna.js → tool-vycpdhb1.js} +27 -27
  246. package/dist/chunks/{schema-ah27v3t4.js → tool-vyqwgby1.js} +6 -6
  247. package/dist/chunks/{schema-64y35cyz.js → tool-vz6rz0af.js} +20 -20
  248. package/dist/chunks/{schema-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{schema-fge0ah70.js → tool-w3k36hrr.js} +3 -3
  250. package/dist/chunks/{schema-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{schema-wkxdf99e.js → tool-wbyq7e0t.js} +46 -46
  252. package/dist/chunks/{schema-wd87259q.js → tool-wd87259q.js} +1 -1
  253. package/dist/chunks/{schema-yngj08nc.js → tool-wdn3ce2t.js} +15 -15
  254. package/dist/chunks/{schema-tfgscs23.js → tool-wk58jv74.js} +10 -10
  255. package/dist/chunks/{schema-yxc59d7f.js → tool-wpm2rk0p.js} +6 -6
  256. package/dist/chunks/{schema-ws5qfxv9.js → tool-ws5qfxv9.js} +2 -2
  257. package/dist/chunks/{schema-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{schema-x43y2vfs.js → tool-x43y2vfs.js} +2 -2
  259. package/dist/chunks/{schema-x9d6r3r4.js → tool-xanzpgaf.js} +24 -24
  260. package/dist/chunks/{schema-j2raxa28.js → tool-xdepe7a5.js} +10 -10
  261. package/dist/chunks/{schema-25dv5rhj.js → tool-xnap109e.js} +18 -18
  262. package/dist/chunks/{schema-b0t4mmgj.js → tool-xt6vqbst.js} +35 -35
  263. package/dist/chunks/{schema-bw6vnwwn.js → tool-xz0aj5bv.js} +36 -36
  264. package/dist/chunks/{schema-98vxxaw8.js → tool-y0qtjk0t.js} +11 -11
  265. package/dist/chunks/{schema-ggnebjdn.js → tool-y0wsg1r3.js} +7 -7
  266. package/dist/chunks/{schema-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{schema-hep2a0b7.js → tool-y4xwrefb.js} +27 -27
  268. package/dist/chunks/{schema-dpkg50ah.js → tool-y71avatq.js} +4 -4
  269. package/dist/chunks/{schema-sdpbwky0.js → tool-yc73ry1q.js} +6 -6
  270. package/dist/chunks/{schema-1acjjqhc.js → tool-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{schema-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{schema-5mpgzdxh.js → tool-ysd4x4y5.js} +24 -24
  273. package/dist/chunks/{schema-wddsck5z.js → tool-yvy73jwh.js} +15 -15
  274. package/dist/chunks/{schema-2ee8pmxs.js → tool-ywhnyrnh.js} +5 -5
  275. package/dist/chunks/{schema-q7k8e58a.js → tool-yxz14c3m.js} +41 -41
  276. package/dist/chunks/{schema-y8xfxbh8.js → tool-yyxs5174.js} +6 -6
  277. package/dist/chunks/{schema-bk7j86d0.js → tool-z03197zf.js} +37 -37
  278. package/dist/chunks/{schema-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{schema-n5zjdcc0.js → tool-z1pfg6df.js} +1 -1
  280. package/dist/chunks/{schema-gtmpeaa6.js → tool-z9x25qgp.js} +18 -18
  281. package/dist/chunks/{schema-t1bhcjx3.js → tool-zad871sr.js} +1 -1
  282. package/dist/chunks/{schema-4wdba0hn.js → tool-zbe5vsva.js} +32 -32
  283. package/dist/chunks/{schema-dhmh7aw6.js → tool-zcrspsvn.js} +4 -4
  284. package/dist/chunks/{schema-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{schema-9kj106cz.js → tool-zncx7357.js} +12 -12
  286. package/dist/chunks/{schema-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{schema-pr80m118.js → tool-zxhfgthz.js} +17 -17
  288. package/dist/chunks/{schema-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +115 -115
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +115 -115
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +79 -79
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +88 -88
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +68 -68
  409. package/dist/file-access.js +97 -97
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +93 -93
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +87 -87
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +2 -2
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +80 -80
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +128 -128
  463. package/dist/location-mutation.js +97 -97
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +97 -97
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +80 -80
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +112 -112
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +78 -78
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +5 -3
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +343 -343
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +220 -220
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +85 -85
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +90 -90
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +91 -91
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +127 -127
  571. package/dist/session/context.js +145 -145
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +213 -213
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +75 -75
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +122 -122
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +121 -121
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +83 -83
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +151 -151
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +209 -209
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +207 -207
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +9 -9
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +4 -4
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +107 -107
  625. package/dist/snapshot.js +84 -84
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +113 -113
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +112 -112
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +96 -96
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +212 -212
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +109 -109
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/types/plugin/provider/amazon-bedrock.d.ts +1 -0
  649. package/dist/types/rpc.d.ts +1 -0
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +3 -3
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +4 -4
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +83 -83
  677. package/dist/websearch.js +78 -78
  678. package/dist/wellknown/plugin.js +74 -74
  679. package/dist/wellknown.js +77 -77
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +78 -78
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +5 -5
  685. package/dist/worktree/refresh.js +342 -342
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree.js +87 -87
  688. package/package.json +8 -8
  689. package/dist/chunks/schema-163cfp1t.js +0 -247
  690. package/dist/chunks/schema-619r8v3y.js +0 -18
  691. package/dist/chunks/schema-87pv1jg9.js +0 -22
  692. /package/dist/chunks/{schema-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{schema-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{schema-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{schema-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{schema-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{schema-2710q6r3.js → tool-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{schema-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{schema-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{schema-359p4xyc.js → tool-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{schema-3asan66x.js → tool-3asan66x.js} +0 -0
  702. /package/dist/chunks/{schema-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{schema-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{schema-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{schema-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{schema-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{schema-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{schema-53557ph1.js → tool-53557ph1.js} +0 -0
  709. /package/dist/chunks/{schema-550bvhaj.js → tool-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{schema-6kdq0pjd.js → tool-6kdq0pjd.js} +0 -0
  711. /package/dist/chunks/{schema-6prwharc.js → tool-6prwharc.js} +0 -0
  712. /package/dist/chunks/{schema-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{schema-7m9af43g.js → tool-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{schema-822emrt2.js → tool-822emrt2.js} +0 -0
  715. /package/dist/chunks/{schema-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{schema-8n3pysct.js → tool-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{schema-922hggd3.js → tool-922hggd3.js} +0 -0
  718. /package/dist/chunks/{schema-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{schema-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{schema-a1tpkmh4.js → tool-a1tpkmh4.js} +0 -0
  721. /package/dist/chunks/{schema-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{schema-af5trqkr.js → tool-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{schema-afrmfg78.js → tool-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{schema-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{schema-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{schema-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{schema-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{schema-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{schema-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{schema-d9fn303g.js → tool-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{schema-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{schema-dajrwvna.js → tool-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{schema-dap0rakb.js → tool-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{schema-df08tz66.js → tool-df08tz66.js} +0 -0
  735. /package/dist/chunks/{schema-dy18nga0.js → tool-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{schema-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{schema-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{schema-ec1grn59.js → tool-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{schema-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{schema-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{schema-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{schema-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{schema-faypxj3z.js → tool-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{schema-fd410y7t.js → tool-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{schema-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{schema-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{schema-g86h250q.js → tool-g86h250q.js} +0 -0
  748. /package/dist/chunks/{schema-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{schema-gftt206x.js → tool-gftt206x.js} +0 -0
  750. /package/dist/chunks/{schema-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{schema-hk9envan.js → tool-hk9envan.js} +0 -0
  752. /package/dist/chunks/{schema-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{schema-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{schema-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{schema-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{schema-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{schema-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{schema-mp448xyj.js → tool-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{schema-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{schema-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{schema-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{schema-njntx4h6.js → tool-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{schema-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{schema-q74kybfr.js → tool-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{schema-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{schema-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{schema-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{schema-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{schema-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{schema-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{schema-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{schema-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{schema-twg0f83k.js → tool-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{schema-w803qqfp.js → tool-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{schema-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{schema-wtztk69x.js → tool-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{schema-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{schema-x61499pn.js → tool-x61499pn.js} +0 -0
  779. /package/dist/chunks/{schema-y44na4kk.js → tool-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{schema-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{schema-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{schema-ym463w8f.js → tool-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{schema-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -3,23 +3,23 @@ import {
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./schema-rhjbct0v.js";
6
+ } from "./tool-rhjbct0v.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./schema-3fc6dm20.js";
11
+ } from "./tool-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./tool-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
17
  var exports_instructions4 = {};
18
18
  __export(exports_instructions4, {
19
19
  CodeModeInstructions: () => exports_instructions4,
20
- make: () => make15,
21
- render: () => render3,
22
- update: () => update3
20
+ make: () => make13,
21
+ render: () => render2,
22
+ update: () => update2
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
25
25
  import { Effect, Schema } from "effect";
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
34
34
  - ${searchSignature}` : ""}
35
35
 
36
36
  ## Available tools`;
37
- function render3(catalog) {
37
+ function render2(catalog) {
38
38
  if (catalog.total === 0)
39
39
  return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
40
40
  const tools = catalog.namespaces.flatMap((namespace) => {
@@ -45,10 +45,10 @@ function render3(catalog) {
45
45
  ${tools.join(`
46
46
  `)}`;
47
47
  }
48
- function update3(previous, current) {
48
+ function update2(previous, current) {
49
49
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
50
50
 
51
- ${render3(current)}`;
51
+ ${render2(current)}`;
52
52
  if (current.total === 0)
53
53
  return replacement;
54
54
  const previousComplete = previous.shown === previous.total;
@@ -113,18 +113,18 @@ ${render3(current)}`;
113
113
  }
114
114
  var key = Key3.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
- var make15 = (inventory) => {
116
+ var make13 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
118
118
  return make20({
119
119
  key,
120
120
  codec,
121
121
  read: Effect.succeed(catalog),
122
122
  render: {
123
- initial: render3,
124
- changed: update3,
123
+ initial: render2,
124
+ changed: update2,
125
125
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
126
126
  }
127
127
  });
128
128
  };
129
129
 
130
- export { render3, update3, make15, exports_instructions4 };
130
+ export { render2, update2, make13, exports_instructions4 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./schema-fxgpk5d8.js";
3
+ } from "./tool-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./schema-g4wezp1m.js";
6
+ } from "./tool-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./schema-x61499pn.js";
9
+ } from "./tool-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./schema-af5trqkr.js";
12
+ } from "./tool-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./schema-afrmfg78.js";
15
+ } from "./tool-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./schema-x0ckcb58.js";
18
+ } from "./tool-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./schema-3w5fmr99.js";
7
+ } from "./tool-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./schema-x43y2vfs.js";
11
+ } from "./tool-x43y2vfs.js";
12
12
  import {
13
13
  create3
14
- } from "./schema-kg06axw8.js";
14
+ } from "./tool-kg06axw8.js";
15
15
  import {
16
16
  Service63,
17
17
  node67
18
- } from "./schema-ws5qfxv9.js";
18
+ } from "./tool-ws5qfxv9.js";
19
19
  import {
20
- Service54,
21
- node57
22
- } from "./schema-d421n1ff.js";
20
+ Service72,
21
+ node76
22
+ } from "./tool-6m8y77r5.js";
23
23
  import {
24
24
  match2
25
- } from "./schema-y1fvbwt7.js";
25
+ } from "./tool-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./schema-9rqn6x4v.js";
28
+ } from "./tool-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error3,
35
+ Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service53,
38
+ Service: () => Service62,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node56
41
+ node: () => node66
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,10 +51,10 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service53 extends Context.Service()("@opencode/Tool") {
54
+ class Service62 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service53, Effect.gen(function* () {
57
- const hooks = yield* Service54;
56
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
57
+ const hooks = yield* Service72;
58
58
  const image = yield* Service63;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service53.of({
183
+ return Service62.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node56 = makeLocationNode({
266
- service: Service53,
265
+ var node66 = makeLocationNode({
266
+ service: Service62,
267
267
  layer,
268
- deps: [node57, node67]
268
+ deps: [node76, node67]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service53, node56, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service62, node66, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service44
3
- } from "./schema-vtfyh9kp.js";
2
+ Service68
3
+ } from "./tool-50wkfpjr.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./schema-922hggd3.js";
6
+ } from "./tool-922hggd3.js";
7
7
  import {
8
- Service70
9
- } from "./schema-pr80m118.js";
8
+ Service76
9
+ } from "./tool-zxhfgthz.js";
10
10
  import {
11
- Service43
12
- } from "./schema-rgnh6mfg.js";
11
+ Service67
12
+ } from "./tool-7rzn7488.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./schema-dwx3yp2z.js";
16
+ Source4
17
+ } from "./tool-45zx1ce8.js";
18
18
  import {
19
- Service8
20
- } from "./schema-gsx0ryk4.js";
19
+ Service9
20
+ } from "./tool-pnv527nz.js";
21
21
  import {
22
22
  parse2
23
- } from "./schema-czbvh7sf.js";
23
+ } from "./tool-qzkdxd86.js";
24
24
  import {
25
25
  __export
26
- } from "./schema-9rqn6x4v.js";
26
+ } from "./tool-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill = {};
30
- __export(exports_skill, {
31
- ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin2
29
+ var exports_skill2 = {};
30
+ __export(exports_skill2, {
31
+ ConfigSkillPlugin: () => exports_skill2,
32
+ Plugin: () => Plugin28
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin2 = define({
39
+ var Plugin28 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service43;
43
- const discovery = yield* Service8;
42
+ const config = yield* Service67;
43
+ const discovery = yield* Service9;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service70;
47
- const watcher = yield* Service44;
46
+ const location = yield* Service76;
47
+ const watcher = yield* Service68;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin2 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source3.equals(item, source)))
90
+ if (result.some((item) => Source4.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -117,7 +117,7 @@ var Plugin2 = define({
117
117
  };
118
118
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
119
119
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
120
- source: Source3.key(source),
120
+ source: Source4.key(source),
121
121
  cause
122
122
  }).pipe(Effect.as([]))));
123
123
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -146,7 +146,7 @@ var Plugin2 = define({
146
146
  }
147
147
  }
148
148
  yield* Effect.logDebug("skill source loaded", {
149
- source: Source3.key(source),
149
+ source: Source4.key(source),
150
150
  type: source.type,
151
151
  directories,
152
152
  skills: skills.map((skill) => skill.id)
@@ -165,7 +165,7 @@ var Plugin2 = define({
165
165
  if (file) {
166
166
  yield* Effect.logInfo("skills rescanned", {
167
167
  file,
168
- sources: current.map(Source3.key),
168
+ sources: current.map(Source4.key),
169
169
  skills: loaded.skills.map((skill) => skill.id)
170
170
  });
171
171
  }
@@ -181,4 +181,4 @@ var Plugin2 = define({
181
181
  })
182
182
  });
183
183
 
184
- export { Plugin2, exports_skill };
184
+ export { Plugin28, exports_skill2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./schema-5daktx2q.js";
3
+ } from "./tool-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./schema-922hggd3.js";
6
+ } from "./tool-922hggd3.js";
7
7
  import {
8
- ID5,
8
+ ID7,
9
9
  Name2
10
- } from "./schema-dwx3yp2z.js";
10
+ } from "./tool-45zx1ce8.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
57
57
  return {
58
58
  _tag: "Parsed",
59
59
  skill: {
60
- id: ID5.make(id),
60
+ id: ID7.make(id),
61
61
  name: Name2.make(frontmatter.name ?? id),
62
62
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
63
63
  ...slash === undefined ? {} : { slash },
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./schema-p58x6frn.js";
4
+ } from "./tool-hvcjdrj2.js";
5
5
  import {
6
6
  create3
7
- } from "./schema-kg06axw8.js";
7
+ } from "./tool-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event14,
18
- ID: () => ID9,
19
- Info: () => Info23,
17
+ Event: () => Event15,
18
+ ID: () => ID10,
19
+ Info: () => Info15,
20
20
  Name: () => Name3,
21
- Service: () => Service62,
21
+ Service: () => Service59,
22
22
  defaultID: () => defaultID2,
23
- node: () => node66
23
+ node: () => node63
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event14 } from "@opencode/schema/agent";
30
+ import { Event as Event15 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID9 = Agent.ID;
33
+ var ID10 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID9.make("build");
35
+ var defaultID2 = ID10.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info23 = Agent.Info;
37
+ var Info15 = Agent.Info;
38
38
 
39
- class Service62 extends Context.Service()("@opencode/Agent") {
39
+ class Service59 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service62, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
42
42
  const bus = yield* Service79;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info23.default(id);
60
+ const defaults = Info15.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID9.make("build")));
82
+ const build = selectable(data.agents.get(ID10.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service62.of({
91
+ return Service59.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID9.make(id));
99
+ return state.get().agents.get(ID10.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID9.make(id);
104
+ const selected = ID10.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node66 = makeLocationNode({ service: Service62, layer, deps: [node84, Global.node] });
119
+ var node63 = makeLocationNode({ service: Service59, layer, deps: [node84, Global.node] });
120
120
 
121
- export { ID9, Name3, defaultID2, Color2, Info23, Service62, node66, exports_agent4, Event14 };
121
+ export { ID10, Name3, defaultID2, Color2, Info15, Service59, node63, exports_agent3, Event15 };
@@ -1,64 +1,64 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./schema-vyjxsjpz.js";
4
+ } from "./tool-859kcgs2.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./schema-p58x6frn.js";
8
+ } from "./tool-hvcjdrj2.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./schema-5t3nmthw.js";
11
+ } from "./tool-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./schema-ec1grn59.js";
14
+ } from "./tool-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./schema-mfhfdr54.js";
20
+ } from "./tool-22m95qs7.js";
21
21
  import {
22
- load3
23
- } from "./schema-98vxxaw8.js";
22
+ load2
23
+ } from "./tool-y0qtjk0t.js";
24
24
  import {
25
25
  create3
26
- } from "./schema-kg06axw8.js";
26
+ } from "./tool-kg06axw8.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./schema-39r80e1r.js";
29
+ } from "./tool-8ypn74s0.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./schema-4wdba0hn.js";
34
+ } from "./tool-zbe5vsva.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./schema-d8nwfk0d.js";
37
+ } from "./tool-q5qadqqc.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./schema-w58yaxyz.js";
41
+ } from "./tool-6ppc03cv.js";
42
42
  import {
43
43
  estimate2
44
- } from "./schema-h6vf3j39.js";
44
+ } from "./tool-h6vf3j39.js";
45
45
  import {
46
46
  record2,
47
47
  add2
48
- } from "./schema-tdstcens.js";
48
+ } from "./tool-tdstcens.js";
49
49
  import {
50
50
  __export
51
- } from "./schema-9rqn6x4v.js";
51
+ } from "./tool-9rqn6x4v.js";
52
52
 
53
53
  // src/session/compaction.ts
54
54
  var exports_compaction2 = {};
55
55
  __export(exports_compaction2, {
56
- Service: () => Service6,
56
+ Service: () => Service11,
57
57
  SessionCompaction: () => exports_compaction2,
58
58
  buildPrompt: () => buildPrompt2,
59
59
  estimateTokens: () => estimateTokens2,
60
60
  layer: () => layer7,
61
- node: () => node9,
61
+ node: () => node14,
62
62
  retainUsers: () => retainUsers2,
63
63
  serializeToolContent: () => serializeToolContent2,
64
64
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service6 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service11 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -296,7 +296,7 @@ var buildPrompt2 = (update, legacy = false) => {
296
296
  };
297
297
  var hasSummarySection = (summary) => summary.split(`
298
298
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
299
- var layer7 = Layer.effect(Service6, Effect.gen(function* () {
299
+ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
300
300
  const bus = yield* Service79;
301
301
  const llm = yield* LLMClient.Service;
302
302
  const db = (yield* Service80).db;
@@ -359,7 +359,7 @@ var layer7 = Layer.effect(Service6, Effect.gen(function* () {
359
359
  webSocket
360
360
  });
361
361
  };
362
- const original = (sessionID) => load3(db, sessionID, "local").pipe(Effect.orDie);
362
+ const original = (sessionID) => load2(db, sessionID, "local").pipe(Effect.orDie);
363
363
  const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
364
364
  const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
365
365
  const context = input.context;
@@ -581,7 +581,7 @@ var layer7 = Layer.effect(Service6, Effect.gen(function* () {
581
581
  }
582
582
  }));
583
583
  });
584
- return Service6.of({
584
+ return Service11.of({
585
585
  transform: state.transform,
586
586
  reload: state.reload,
587
587
  enabled: () => state.get().auto,
@@ -590,10 +590,10 @@ var layer7 = Layer.effect(Service6, Effect.gen(function* () {
590
590
  compactManual
591
591
  });
592
592
  }));
593
- var node9 = makeLocationNode({
594
- service: Service6,
593
+ var node14 = makeLocationNode({
594
+ service: Service11,
595
595
  layer: layer7,
596
596
  deps: [node84, node85, llmClient2]
597
597
  });
598
598
 
599
- export { Service6, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node9, exports_compaction2 };
599
+ export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./schema-dt849bc4.js";
4
+ } from "./tool-jfpzywp2.js";
5
5
  import {
6
6
  latest2,
7
- Service43
8
- } from "./schema-rgnh6mfg.js";
7
+ Service67
8
+ } from "./tool-7rzn7488.js";
9
9
  import {
10
10
  observe2
11
- } from "./schema-qsdy395h.js";
11
+ } from "./tool-qsdy395h.js";
12
12
  import {
13
13
  __export
14
- } from "./schema-9rqn6x4v.js";
14
+ } from "./tool-9rqn6x4v.js";
15
15
 
16
16
  // src/config/plugin/provider.ts
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin13
20
+ Plugin: () => Plugin21
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin13 = define({
25
+ var Plugin21 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service43;
28
+ const config = yield* Service67;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -155,4 +155,4 @@ function configuredProviders(entries) {
155
155
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
156
156
  }
157
157
 
158
- export { Plugin13, exports_provider };
158
+ export { Plugin21, exports_provider };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./schema-nd8bps4j.js";
3
+ } from "./tool-4faz70f1.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin31
12
+ Plugin: () => Plugin38
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin31 = define({
32
+ var Plugin38 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin31, exports_plan };
109
+ export { Plugin38, exports_plan };