@opencode/core 0.0.0-dev-19386 → 0.0.0-dev-19389

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 +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{file-retention-fw9y5yd9.js → tool-00gnxv30.js} +23 -23
  9. package/dist/chunks/{file-retention-mv5ftj3m.js → tool-01797ny4.js} +12 -12
  10. package/dist/chunks/{file-retention-rdzktax9.js → tool-08xgehk5.js} +4 -4
  11. package/dist/chunks/{file-retention-tjsj89dc.js → tool-0996nyz8.js} +9 -9
  12. package/dist/chunks/{file-retention-4m1wn79y.js → tool-0hhrv268.js} +13 -13
  13. package/dist/chunks/{file-retention-zhw0490b.js → tool-0msc39tg.js} +10 -10
  14. package/dist/chunks/{file-retention-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-retention-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{file-retention-8v4qx0e5.js → tool-0xf6t1bc.js} +21 -21
  17. package/dist/chunks/{file-retention-bpewhtra.js → tool-100kzw8g.js} +39 -39
  18. package/dist/chunks/{file-retention-egpdn9z5.js → tool-13tvcsgk.js} +11 -11
  19. package/dist/chunks/{file-retention-83k0aw9t.js → tool-1c2q116c.js} +18 -18
  20. package/dist/chunks/{file-retention-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{file-retention-waa2mmfw.js → tool-1famk9p6.js} +17 -17
  22. package/dist/chunks/{file-retention-fptf14bk.js → tool-1hgt76pw.js} +17 -17
  23. package/dist/chunks/{file-retention-sxpvbsth.js → tool-1jwdep4c.js} +9 -9
  24. package/dist/chunks/{file-retention-01z5yxwd.js → tool-1kh06mg4.js} +5 -5
  25. package/dist/chunks/{file-retention-21r38tys.js → tool-21r38tys.js} +1 -1
  26. package/dist/chunks/{file-retention-rsdf2nvv.js → tool-22m95qs7.js} +4 -4
  27. package/dist/chunks/{file-retention-2402vzrj.js → tool-2402vzrj.js} +1 -1
  28. package/dist/chunks/{file-retention-z63w68vq.js → tool-29x78va6.js} +6 -6
  29. package/dist/chunks/{file-retention-rtathh62.js → tool-2a4f6v5q.js} +8 -8
  30. package/dist/chunks/{file-retention-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{file-retention-kb4mbprj.js → tool-2aqbs40b.js} +11 -11
  32. package/dist/chunks/{file-retention-skefxpr1.js → tool-2ft9rrby.js} +9 -9
  33. package/dist/chunks/{file-retention-fm13v0aj.js → tool-2gm42vdj.js} +15 -15
  34. package/dist/chunks/{file-retention-7dqw4kz8.js → tool-2k8khapm.js} +5 -5
  35. package/dist/chunks/{file-retention-n76fdqym.js → tool-2mnagb0e.js} +5 -5
  36. package/dist/chunks/{file-retention-7zm91xf9.js → tool-2zk4ah9y.js} +9 -9
  37. package/dist/chunks/{file-retention-ygk5pt6v.js → tool-31v57ene.js} +32 -32
  38. package/dist/chunks/{file-retention-d3dfkvzz.js → tool-32xz9ffh.js} +11 -11
  39. package/dist/chunks/{file-retention-bcnz578n.js → tool-39etbsth.js} +2 -2
  40. package/dist/chunks/{file-retention-4w6txemy.js → tool-3a9e8ct5.js} +7 -7
  41. package/dist/chunks/{file-retention-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{file-retention-8he2t7jm.js → tool-3fe43pwb.js} +29 -28
  43. package/dist/chunks/{file-retention-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{file-retention-y984hjy8.js → tool-3p0n15sb.js} +19 -19
  45. package/dist/chunks/{file-retention-372vbskw.js → tool-3r6vp6xx.js} +10 -10
  46. package/dist/chunks/{file-retention-3jyr1z4v.js → tool-3r7whzgv.js} +7 -7
  47. package/dist/chunks/{file-retention-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{file-retention-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{file-retention-s6b7x209.js → tool-41e240wd.js} +11 -11
  50. package/dist/chunks/{file-retention-3ksxwg4k.js → tool-43cyd10z.js} +29 -29
  51. package/dist/chunks/{file-retention-97k74ssb.js → tool-442pexa9.js} +24 -24
  52. package/dist/chunks/{file-retention-x7s3znm0.js → tool-45zx1ce8.js} +20 -20
  53. package/dist/chunks/{file-retention-75xqksf8.js → tool-48gag0he.js} +22 -22
  54. package/dist/chunks/{file-retention-ebc7h8jh.js → tool-49hrpkdk.js} +4 -4
  55. package/dist/chunks/{file-retention-ksry9d8f.js → tool-4faz70f1.js} +55 -55
  56. package/dist/chunks/{file-retention-dpazbx79.js → tool-4g6am8f5.js} +38 -38
  57. package/dist/chunks/{file-retention-mwmzgnyj.js → tool-4jad23kz.js} +23 -23
  58. package/dist/chunks/{file-retention-n1nkedfb.js → tool-4kmb4xcf.js} +42 -42
  59. package/dist/chunks/{file-retention-xb3fxaqb.js → tool-4rggjvr2.js} +9 -9
  60. package/dist/chunks/{file-retention-tjk5t6k4.js → tool-50kt3f8y.js} +4 -4
  61. package/dist/chunks/{file-retention-65wkgmh5.js → tool-50wkfpjr.js} +24 -24
  62. package/dist/chunks/{file-retention-sgs3z1tt.js → tool-55s895j0.js} +35 -35
  63. package/dist/chunks/{file-retention-56gdpj1q.js → tool-56gdpj1q.js} +2 -2
  64. package/dist/chunks/{file-retention-a1bz86dw.js → tool-5c4hm403.js} +3 -3
  65. package/dist/chunks/{file-retention-5daktx2q.js → tool-5daktx2q.js} +1 -1
  66. package/dist/chunks/{file-retention-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{file-retention-fqfsm8yp.js → tool-622ah2gs.js} +27 -27
  68. package/dist/chunks/{file-retention-zdwm66qa.js → tool-62gm3akr.js} +11 -11
  69. package/dist/chunks/{file-retention-h77cxaca.js → tool-638f9gty.js} +26 -26
  70. package/dist/chunks/{file-retention-669tq793.js → tool-669tq793.js} +1 -1
  71. package/dist/chunks/{file-retention-6ydpdfpt.js → tool-6f5kdbjb.js} +32 -32
  72. package/dist/chunks/{file-retention-z2ryqxvw.js → tool-6fyrr4w1.js} +4 -4
  73. package/dist/chunks/tool-6kdq0pjd.js +4 -0
  74. package/dist/chunks/{file-retention-ka2k270b.js → tool-6m8y77r5.js} +4 -4
  75. package/dist/chunks/{file-retention-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{file-retention-3gtbxjg2.js → tool-6ppc03cv.js} +6 -6
  77. package/dist/chunks/{file-retention-dae8r372.js → tool-6y4tgg16.js} +37 -37
  78. package/dist/chunks/{file-retention-71q4at8m.js → tool-71q4at8m.js} +1 -1
  79. package/dist/chunks/{file-retention-bw7hten5.js → tool-72cm32h1.js} +3 -3
  80. package/dist/chunks/{file-retention-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{file-retention-j15mfg1p.js → tool-7ebn0nc0.js} +4 -4
  82. package/dist/chunks/{file-retention-r9babyk8.js → tool-7f3sjtrh.js} +1 -1
  83. package/dist/chunks/{file-retention-yt0fqk68.js → tool-7gvwkz6m.js} +5 -5
  84. package/dist/chunks/{file-retention-fheq99qy.js → tool-7jsvadcm.js} +19 -18
  85. package/dist/chunks/{file-retention-e5fc1vxw.js → tool-7k1k30bt.js} +1 -1
  86. package/dist/chunks/{file-retention-q4p7gt18.js → tool-7nb80w0z.js} +25 -25
  87. package/dist/chunks/{file-retention-sy1kpmqf.js → tool-7rzn7488.js} +44 -44
  88. package/dist/chunks/tool-7s88n6wh.js +247 -0
  89. package/dist/chunks/{file-retention-1eyaby9q.js → tool-7sdps93t.js} +5 -5
  90. package/dist/chunks/{file-retention-rsx8nqs6.js → tool-7xzdkz3y.js} +11 -11
  91. package/dist/chunks/{file-retention-rsym84ch.js → tool-81swgkk7.js} +7 -7
  92. package/dist/chunks/{file-retention-pjjbt500.js → tool-83n1dzne.js} +23 -23
  93. package/dist/chunks/{file-retention-q62bfh0y.js → tool-84cxy7xh.js} +30 -30
  94. package/dist/chunks/{file-retention-ynnzzba7.js → tool-859kcgs2.js} +3 -3
  95. package/dist/chunks/{file-retention-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{file-retention-q51nheh5.js → tool-8t1wrec1.js} +8 -8
  97. package/dist/chunks/{file-retention-efp272bp.js → tool-8xv0fcmg.js} +39 -39
  98. package/dist/chunks/{file-retention-wx9wy1qm.js → tool-8ypn74s0.js} +1 -1
  99. package/dist/chunks/{file-retention-mma0v91q.js → tool-910hnegs.js} +26 -26
  100. package/dist/chunks/{file-retention-mzbpx9yh.js → tool-937nxygj.js} +8 -8
  101. package/dist/chunks/{file-retention-pp4q2nd9.js → tool-99exew75.js} +48 -48
  102. package/dist/chunks/{file-retention-tt4eawst.js → tool-9aqmr64f.js} +3 -3
  103. package/dist/chunks/{file-retention-0v9xjpmp.js → tool-9ggagkar.js} +58 -58
  104. package/dist/chunks/{file-retention-bczj9gek.js → tool-9hv8phah.js} +14 -14
  105. package/dist/chunks/{file-retention-vsjh5n0j.js → tool-9s022y1z.js} +30 -30
  106. package/dist/chunks/{file-retention-vkvntndg.js → tool-9y5cg855.js} +34 -34
  107. package/dist/chunks/{file-retention-w4dyxxvc.js → tool-a1pcbmkx.js} +16 -16
  108. package/dist/chunks/{file-retention-qa3qhgw8.js → tool-a46v4e4v.js} +4 -4
  109. package/dist/chunks/{file-retention-w78zdbkg.js → tool-a605f6d0.js} +11 -11
  110. package/dist/chunks/{file-retention-aaet6srn.js → tool-aaet6srn.js} +2 -2
  111. package/dist/chunks/{file-retention-2qp6y8xf.js → tool-ag9w8cw1.js} +5 -5
  112. package/dist/chunks/{file-retention-ynwbtj63.js → tool-amegs12p.js} +9 -9
  113. package/dist/chunks/{file-retention-747jvnpw.js → tool-apesnbt3.js} +20 -20
  114. package/dist/chunks/{file-retention-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{file-retention-90w6g2p5.js → tool-bgmt3wra.js} +26 -26
  116. package/dist/chunks/{file-retention-e2q3914e.js → tool-bkz2mr6p.js} +69 -69
  117. package/dist/chunks/{file-retention-94npywv2.js → tool-bnweey00.js} +4 -4
  118. package/dist/chunks/{file-retention-ptyjv6sg.js → tool-br0bxb5z.js} +3 -3
  119. package/dist/chunks/{file-retention-nhvhf6q8.js → tool-bv56xrks.js} +2 -2
  120. package/dist/chunks/{file-retention-9f1txmwq.js → tool-c3er4f98.js} +18 -18
  121. package/dist/chunks/{file-retention-sjj15vqw.js → tool-c4ypf6wq.js} +17 -17
  122. package/dist/chunks/{file-retention-phc8pspp.js → tool-ca9nbgzj.js} +9 -9
  123. package/dist/chunks/{file-retention-5q5vxjc4.js → tool-ce8ketvm.js} +27 -27
  124. package/dist/chunks/{file-retention-4wqzyra5.js → tool-cfxak8gp.js} +31 -31
  125. package/dist/chunks/{file-retention-a7p8711m.js → tool-cgfvzygb.js} +22 -22
  126. package/dist/chunks/{file-retention-844ef7ks.js → tool-cmwkp3r5.js} +4 -4
  127. package/dist/chunks/{file-retention-0gnnjz3v.js → tool-d38rwssd.js} +4 -4
  128. package/dist/chunks/{file-retention-tm7zr4pr.js → tool-d8nc1xcx.js} +4 -4
  129. package/dist/chunks/{file-retention-910sr6dw.js → tool-d8q39vv3.js} +13 -13
  130. package/dist/chunks/{file-retention-xhqkdcr0.js → tool-d9sn21bc.js} +2 -2
  131. package/dist/chunks/{file-retention-1wcfs5an.js → tool-dbnvakxz.js} +2 -2
  132. package/dist/chunks/{file-retention-85h696dp.js → tool-dgv4w1ry.js} +35 -35
  133. package/dist/chunks/{file-retention-8p4f9s12.js → tool-dj2t23y0.js} +2 -2
  134. package/dist/chunks/tool-dr8w6t5k.js +22 -0
  135. package/dist/chunks/{file-retention-th9pr1j7.js → tool-dw8c19qb.js} +4 -4
  136. package/dist/chunks/{file-retention-wnsbns26.js → tool-e67ygrb5.js} +22 -22
  137. package/dist/chunks/{file-retention-k16ay38w.js → tool-e8ge1rnk.js} +1 -1
  138. package/dist/chunks/{file-retention-pv3jdcwf.js → tool-efstz0ke.js} +16 -16
  139. package/dist/chunks/{file-retention-qmf2gm4z.js → tool-egp6178n.js} +10 -10
  140. package/dist/chunks/{file-retention-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{file-retention-70kj4k29.js → tool-ezs43bsy.js} +17 -17
  142. package/dist/chunks/{file-retention-g1gr4bmr.js → tool-f249p1w2.js} +11 -11
  143. package/dist/chunks/{file-retention-gckxsv6v.js → tool-f65fprkq.js} +18 -18
  144. package/dist/chunks/{file-retention-twb5wmxd.js → tool-f9qak17s.js} +5 -5
  145. package/dist/chunks/{file-retention-hfdr1yjj.js → tool-fab8hzt3.js} +4 -4
  146. package/dist/chunks/{file-retention-2y34zzjz.js → tool-fjvydvzm.js} +4 -4
  147. package/dist/chunks/{file-retention-vdq7pbmg.js → tool-fsn1dw54.js} +5 -5
  148. package/dist/chunks/{file-retention-pdaxh6j6.js → tool-fw7ks5z6.js} +16 -16
  149. package/dist/chunks/{file-retention-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{file-retention-11t8qrtw.js → tool-g0aj3r5p.js} +6 -6
  151. package/dist/chunks/{file-retention-b8xvyn6f.js → tool-g5hp0j3s.js} +20 -20
  152. package/dist/chunks/{file-retention-fgh0kbhd.js → tool-g5zf0djh.js} +1 -1
  153. package/dist/chunks/{file-retention-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{file-retention-fjmrr6sh.js → tool-gfqzzqy5.js} +8 -8
  155. package/dist/chunks/{file-retention-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{file-retention-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{file-retention-xphcp306.js → tool-h1dazz20.js} +17 -17
  158. package/dist/chunks/{file-retention-gcbt0df5.js → tool-h47mvjjj.js} +29 -29
  159. package/dist/chunks/{file-retention-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{file-retention-f828m53h.js → tool-hdnk95c8.js} +2 -2
  161. package/dist/chunks/{file-retention-nhy5jxhy.js → tool-hjt4xg1x.js} +4 -4
  162. package/dist/chunks/{file-retention-6jftzada.js → tool-hvcjdrj2.js} +12 -12
  163. package/dist/chunks/{file-retention-ebah8r6x.js → tool-hwe7x4em.js} +6 -6
  164. package/dist/chunks/{file-retention-5ctkr95j.js → tool-j51g8r26.js} +87 -87
  165. package/dist/chunks/{file-retention-j56e64zr.js → tool-j56e64zr.js} +1 -1
  166. package/dist/chunks/{file-retention-6bsje7ws.js → tool-j7wq2tw5.js} +3 -3
  167. package/dist/chunks/{file-retention-paphc93g.js → tool-j935v87r.js} +2 -2
  168. package/dist/chunks/{file-retention-098kyh1n.js → tool-j9eppgdd.js} +15 -15
  169. package/dist/chunks/{file-retention-9gcr2md5.js → tool-j9tvrbwe.js} +22 -22
  170. package/dist/chunks/{file-retention-m27pyyd3.js → tool-jfpzywp2.js} +6 -6
  171. package/dist/chunks/{file-retention-akrnn5pm.js → tool-jmm88pvs.js} +11 -11
  172. package/dist/chunks/{file-retention-zw7j6aej.js → tool-jp8xd6mf.js} +10 -10
  173. package/dist/chunks/{file-retention-dmh4mpcg.js → tool-jpchzm8t.js} +15 -15
  174. package/dist/chunks/{file-retention-vwt4pwz2.js → tool-jw7c8f1w.js} +13 -13
  175. package/dist/chunks/{file-retention-6sjcznm0.js → tool-jwcaj6se.js} +23 -23
  176. package/dist/chunks/{file-retention-kc4sfmzp.js → tool-jxdevvez.js} +169 -169
  177. package/dist/chunks/{file-retention-vhkdtr9q.js → tool-kap84dg0.js} +21 -21
  178. package/dist/chunks/{file-retention-kg06axw8.js → tool-kg06axw8.js} +1 -1
  179. package/dist/chunks/{file-retention-9wx978ps.js → tool-kk8fq19e.js} +27 -27
  180. package/dist/chunks/{file-retention-ykmmkvse.js → tool-knvy7wqf.js} +15 -15
  181. package/dist/chunks/{file-retention-cfpkc3c9.js → tool-m0jqrx5p.js} +2 -2
  182. package/dist/chunks/{file-retention-tsxa73g8.js → tool-m2krvp2x.js} +13 -13
  183. package/dist/chunks/{file-retention-3jxfnes4.js → tool-m4bw18j8.js} +21 -21
  184. package/dist/chunks/{file-retention-qx7k4qp2.js → tool-m8gmjx38.js} +43 -43
  185. package/dist/chunks/{file-retention-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{file-retention-8tdr907c.js → tool-mfvn5m8d.js} +8 -8
  187. package/dist/chunks/{file-retention-mkcjrzeh.js → tool-mkcjrzeh.js} +1 -1
  188. package/dist/chunks/{file-retention-73tb2d7t.js → tool-mvfsc1pv.js} +3 -3
  189. package/dist/chunks/{file-retention-xq8kymca.js → tool-n17rpw7s.js} +11 -11
  190. package/dist/chunks/{file-retention-n5h13zaa.js → tool-n6arc57m.js} +7 -7
  191. package/dist/chunks/{file-retention-ecw23q2j.js → tool-n6pkm576.js} +24 -24
  192. package/dist/chunks/tool-n95b3jav.js +18 -0
  193. package/dist/chunks/{file-retention-dyh5ke7e.js → tool-nfs7qh3b.js} +17 -17
  194. package/dist/chunks/{file-retention-nd93s368.js → tool-nkhmdx3g.js} +15 -14
  195. package/dist/chunks/{file-retention-4wt9y66g.js → tool-nnxzqqg8.js} +17 -17
  196. package/dist/chunks/{file-retention-xnafzea3.js → tool-nqz62vb6.js} +27 -27
  197. package/dist/chunks/{file-retention-ne8aj7mp.js → tool-p514mdqe.js} +28 -28
  198. package/dist/chunks/{file-retention-ksarex0k.js → tool-p6604nm9.js} +8 -8
  199. package/dist/chunks/{file-retention-7h5zs7mz.js → tool-p6rs3vpq.js} +14 -14
  200. package/dist/chunks/{file-retention-3wwz76hv.js → tool-pc5wdgkb.js} +11 -11
  201. package/dist/chunks/{file-retention-753tsz20.js → tool-pe0c0z4r.js} +12 -12
  202. package/dist/chunks/{file-retention-0aj2jf1n.js → tool-pjmc1jwj.js} +30 -30
  203. package/dist/chunks/{file-retention-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{file-retention-pknna89w.js → tool-pknna89w.js} +1 -1
  205. package/dist/chunks/{file-retention-h7ygw6q4.js → tool-pnv527nz.js} +9 -9
  206. package/dist/chunks/{file-retention-hnsp6gvf.js → tool-pqkb2z9p.js} +15 -15
  207. package/dist/chunks/{file-retention-8nahm7e2.js → tool-ptq11xx0.js} +6 -6
  208. package/dist/chunks/{file-retention-6p79xx13.js → tool-pwk28ted.js} +13 -13
  209. package/dist/chunks/{file-retention-n3jzkq55.js → tool-px9gxtsw.js} +35 -35
  210. package/dist/chunks/{file-retention-ksz0h0wp.js → tool-q2027nw7.js} +1 -1
  211. package/dist/chunks/{file-retention-q6wpp224.js → tool-q5qadqqc.js} +4 -4
  212. package/dist/chunks/{file-retention-ppj7fmgk.js → tool-q8rarcde.js} +27 -27
  213. package/dist/chunks/{file-retention-g72gjvtz.js → tool-qaed280k.js} +6 -6
  214. package/dist/chunks/{file-retention-n3gg6d5p.js → tool-qek8dtx8.js} +12 -12
  215. package/dist/chunks/{file-retention-rbygrj0c.js → tool-qfv804ab.js} +6 -6
  216. package/dist/chunks/{file-retention-75dhgn7f.js → tool-qjqdk9x8.js} +22 -22
  217. package/dist/chunks/{file-retention-qsdy395h.js → tool-qsdy395h.js} +1 -1
  218. package/dist/chunks/{file-retention-145w6188.js → tool-qyyanj0n.js} +22 -22
  219. package/dist/chunks/{file-retention-0je2mk44.js → tool-qzkdxd86.js} +4 -4
  220. package/dist/chunks/{file-retention-vhdv10mr.js → tool-r1q74f54.js} +27 -27
  221. package/dist/chunks/{file-retention-4t6adyww.js → tool-ra3gq1k7.js} +9 -9
  222. package/dist/chunks/{file-retention-sxbnakwy.js → tool-rda0t9vq.js} +5 -5
  223. package/dist/chunks/{file-retention-s8d7rejh.js → tool-rhjbct0v.js} +4 -4
  224. package/dist/chunks/{file-retention-p3p972wa.js → tool-rmm45jmv.js} +5 -5
  225. package/dist/chunks/{file-retention-raekatpd.js → tool-rsv3dyxs.js} +14 -14
  226. package/dist/chunks/{file-retention-banqffvw.js → tool-s006vazc.js} +10 -10
  227. package/dist/chunks/{file-retention-1ct8tqx8.js → tool-s0haq3v3.js} +30 -30
  228. package/dist/chunks/{file-retention-yrznvahk.js → tool-s4enseaf.js} +2 -2
  229. package/dist/chunks/{file-retention-ahtv500y.js → tool-s6vet9p8.js} +6 -6
  230. package/dist/chunks/{file-retention-qj8eh1ht.js → tool-s8j6jbjj.js} +21 -21
  231. package/dist/chunks/{file-retention-57a7s0s0.js → tool-sj71rkrx.js} +11 -11
  232. package/dist/chunks/{file-retention-v2rsyevg.js → tool-sq27dbnb.js} +9 -9
  233. package/dist/chunks/tool-stbvjbpa.js +462 -0
  234. package/dist/chunks/{file-retention-r0z7zczf.js → tool-sxnp3vqk.js} +25 -25
  235. package/dist/chunks/{file-retention-vc35pqxv.js → tool-t0jgeayb.js} +13 -13
  236. package/dist/chunks/{file-retention-mtjehpx1.js → tool-t4an9tm5.js} +84 -84
  237. package/dist/chunks/{file-retention-jr7591m5.js → tool-t64d9h47.js} +11 -11
  238. package/dist/chunks/{file-retention-pdbeap0x.js → tool-t7yz8ad7.js} +35 -35
  239. package/dist/chunks/{file-retention-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{file-retention-kkta2ctq.js → tool-tb8rp2yt.js} +27 -27
  241. package/dist/chunks/{file-retention-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{file-retention-tdstcens.js → tool-tdstcens.js} +1 -1
  243. package/dist/chunks/{file-retention-tvtrv512.js → tool-tvtrv512.js} +1 -1
  244. package/dist/chunks/{file-retention-txd1j2wz.js → tool-vce1m6g2.js} +15 -15
  245. package/dist/chunks/{file-retention-j83byb14.js → tool-ve4pfa0n.js} +4 -4
  246. package/dist/chunks/{file-retention-veqvce7d.js → tool-veqvce7d.js} +1 -1
  247. package/dist/chunks/{file-retention-jy790zpn.js → tool-vfpkabdf.js} +10 -10
  248. package/dist/chunks/{file-retention-hnr5yq9h.js → tool-vmq7ehpy.js} +5 -5
  249. package/dist/chunks/{file-retention-276j33cf.js → tool-vmshp960.js} +24 -24
  250. package/dist/chunks/{file-retention-pahz8e0w.js → tool-vv3eqyfe.js} +8 -8
  251. package/dist/chunks/{file-retention-f3ef4mcb.js → tool-vycpdhb1.js} +29 -29
  252. package/dist/chunks/{file-retention-0hdv8hr0.js → tool-vyqwgby1.js} +9 -9
  253. package/dist/chunks/{file-retention-dyh18y4s.js → tool-vz6rz0af.js} +22 -22
  254. package/dist/chunks/{file-retention-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{file-retention-wr0wz2nx.js → tool-w3k36hrr.js} +3 -3
  256. package/dist/chunks/{file-retention-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{file-retention-5mpmyavn.js → tool-wbyq7e0t.js} +46 -46
  258. package/dist/chunks/{file-retention-wd87259q.js → tool-wd87259q.js} +1 -1
  259. package/dist/chunks/{file-retention-d750cxjj.js → tool-wdn3ce2t.js} +15 -15
  260. package/dist/chunks/{file-retention-jefma2gq.js → tool-wk58jv74.js} +3 -3
  261. package/dist/chunks/{file-retention-jyv4pdcd.js → tool-wpm2rk0p.js} +8 -8
  262. package/dist/chunks/{file-retention-6g22vg9c.js → tool-ws5qfxv9.js} +9 -9
  263. package/dist/chunks/{file-retention-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{file-retention-x43y2vfs.js → tool-x43y2vfs.js} +2 -2
  265. package/dist/chunks/{file-retention-5r18snb0.js → tool-xanzpgaf.js} +25 -25
  266. package/dist/chunks/{file-retention-xje3kg99.js → tool-xdepe7a5.js} +9 -9
  267. package/dist/chunks/{file-retention-vhkpr0st.js → tool-xnap109e.js} +12 -12
  268. package/dist/chunks/{file-retention-zmf3sk4j.js → tool-xnrzgmbf.js} +37 -37
  269. package/dist/chunks/{file-retention-fb8eapp7.js → tool-xz0aj5bv.js} +30 -30
  270. package/dist/chunks/{file-retention-vtzb9n73.js → tool-y0qtjk0t.js} +11 -11
  271. package/dist/chunks/{file-retention-c5khdk00.js → tool-y0wsg1r3.js} +7 -7
  272. package/dist/chunks/{file-retention-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{file-retention-g84nn1aa.js → tool-y4xwrefb.js} +28 -28
  274. package/dist/chunks/{file-retention-y71avatq.js → tool-y71avatq.js} +1 -1
  275. package/dist/chunks/{file-retention-b348asm8.js → tool-yc73ry1q.js} +6 -6
  276. package/dist/chunks/{file-retention-r8xr0va3.js → tool-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{file-retention-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{file-retention-z69s9t6b.js → tool-ywhnyrnh.js} +5 -5
  279. package/dist/chunks/{file-retention-84j6bdr5.js → tool-yxz14c3m.js} +49 -49
  280. package/dist/chunks/{file-retention-91rf1wrq.js → tool-z03197zf.js} +41 -41
  281. package/dist/chunks/{file-retention-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{file-retention-f8q7mv7a.js → tool-z1pfg6df.js} +1 -1
  283. package/dist/chunks/{file-retention-96yt6zt0.js → tool-zad871sr.js} +1 -1
  284. package/dist/chunks/{file-retention-afdssyjb.js → tool-zcrspsvn.js} +4 -4
  285. package/dist/chunks/{file-retention-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{file-retention-xws4r01w.js → tool-zncx7357.js} +12 -12
  287. package/dist/chunks/{file-retention-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{file-retention-3jd9t3qm.js → tool-zxhfgthz.js} +16 -16
  289. package/dist/chunks/{file-retention-zxq2ej10.js → tool-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 +81 -81
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +115 -115
  298. package/dist/config/plugin/command.js +207 -207
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +115 -115
  305. package/dist/config/plugin/mcp.js +124 -124
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +79 -79
  322. package/dist/database/database.js +64 -64
  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.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +4 -4
  420. package/dist/filesystem/location-watcher.js +216 -216
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +93 -93
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +94 -94
  426. package/dist/form.js +82 -82
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +82 -82
  429. package/dist/generate.js +93 -93
  430. package/dist/git.js +3 -3
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +3 -3
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +81 -81
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +84 -84
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +131 -131
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +81 -81
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +82 -82
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +101 -101
  470. package/dist/mcp/instructions.js +120 -120
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +3 -3
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +6 -6
  477. package/dist/models-dev.js +78 -78
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +80 -80
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +108 -108
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +86 -86
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +97 -97
  488. package/dist/plugin/command.js +92 -92
  489. package/dist/plugin/hooks.js +3 -3
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +3 -3
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +78 -78
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +115 -115
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +74 -74
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +131 -131
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +5 -5
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +82 -82
  563. package/dist/reference.js +84 -84
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +91 -91
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +129 -129
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +219 -219
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +88 -88
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +121 -121
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +151 -151
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +215 -215
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +15 -15
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +103 -103
  626. package/dist/snapshot.js +88 -88
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +119 -119
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +113 -113
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +208 -208
  640. package/dist/tool/plugin/skill.js +108 -108
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +109 -109
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +3 -3
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +82 -82
  677. package/dist/wellknown/plugin.js +72 -72
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +7 -7
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +91 -91
  687. package/package.json +8 -8
  688. package/dist/chunks/file-retention-0mesazry.js +0 -4
  689. package/dist/chunks/file-retention-0xpa0xtz.js +0 -247
  690. package/dist/chunks/file-retention-4vr8ch1c.js +0 -462
  691. package/dist/chunks/file-retention-d0qewjeg.js +0 -22
  692. package/dist/chunks/file-retention-dxj72tfx.js +0 -18
  693. /package/dist/chunks/{file-retention-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{file-retention-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{file-retention-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{file-retention-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{file-retention-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{file-retention-2710q6r3.js → tool-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{file-retention-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{file-retention-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{file-retention-359p4xyc.js → tool-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{file-retention-3asan66x.js → tool-3asan66x.js} +0 -0
  703. /package/dist/chunks/{file-retention-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{file-retention-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{file-retention-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{file-retention-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{file-retention-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{file-retention-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{file-retention-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{file-retention-53557ph1.js → tool-53557ph1.js} +0 -0
  711. /package/dist/chunks/{file-retention-550bvhaj.js → tool-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{file-retention-6prwharc.js → tool-6prwharc.js} +0 -0
  713. /package/dist/chunks/{file-retention-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{file-retention-7m9af43g.js → tool-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{file-retention-822emrt2.js → tool-822emrt2.js} +0 -0
  716. /package/dist/chunks/{file-retention-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{file-retention-8n3pysct.js → tool-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{file-retention-922hggd3.js → tool-922hggd3.js} +0 -0
  719. /package/dist/chunks/{file-retention-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{file-retention-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{file-retention-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{file-retention-af5trqkr.js → tool-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{file-retention-afrmfg78.js → tool-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{file-retention-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{file-retention-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{file-retention-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{file-retention-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{file-retention-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{file-retention-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{file-retention-d9fn303g.js → tool-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{file-retention-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{file-retention-dajrwvna.js → tool-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{file-retention-dap0rakb.js → tool-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{file-retention-df08tz66.js → tool-df08tz66.js} +0 -0
  735. /package/dist/chunks/{file-retention-dy18nga0.js → tool-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{file-retention-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{file-retention-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{file-retention-ec1grn59.js → tool-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{file-retention-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{file-retention-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{file-retention-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{file-retention-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{file-retention-faypxj3z.js → tool-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{file-retention-fd410y7t.js → tool-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{file-retention-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{file-retention-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{file-retention-g86h250q.js → tool-g86h250q.js} +0 -0
  748. /package/dist/chunks/{file-retention-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{file-retention-gftt206x.js → tool-gftt206x.js} +0 -0
  750. /package/dist/chunks/{file-retention-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{file-retention-hk9envan.js → tool-hk9envan.js} +0 -0
  752. /package/dist/chunks/{file-retention-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{file-retention-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{file-retention-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{file-retention-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{file-retention-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{file-retention-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{file-retention-mp448xyj.js → tool-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{file-retention-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{file-retention-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{file-retention-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{file-retention-njntx4h6.js → tool-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{file-retention-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{file-retention-q74kybfr.js → tool-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{file-retention-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{file-retention-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{file-retention-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{file-retention-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{file-retention-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{file-retention-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{file-retention-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{file-retention-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{file-retention-twg0f83k.js → tool-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{file-retention-w803qqfp.js → tool-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{file-retention-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{file-retention-wtztk69x.js → tool-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{file-retention-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{file-retention-x61499pn.js → tool-x61499pn.js} +0 -0
  779. /package/dist/chunks/{file-retention-y44na4kk.js → tool-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{file-retention-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{file-retention-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{file-retention-ym463w8f.js → tool-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{file-retention-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./file-retention-6jftzada.js";
2
+ Service79,
3
+ node84
4
+ } from "./tool-hvcjdrj2.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./file-retention-3jd9t3qm.js";
6
+ Service76,
7
+ node81
8
+ } from "./tool-zxhfgthz.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./file-retention-kg06axw8.js";
12
+ } from "./tool-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./file-retention-tazgh4e4.js";
17
+ } from "./tool-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./tool-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info9,
29
+ Info: () => Info3,
30
30
  Mode: () => Mode2,
31
- Service: () => Service51,
31
+ Service: () => Service20,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node57
33
+ node: () => node24
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info9, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service51 extends Context.Service()("@opencode/Vcs") {
48
+ class Service20 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service51, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service75;
53
- const bus = yield* Service77;
52
+ const location = yield* Service76;
53
+ const bus = yield* Service79;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info9));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service51.of({
118
+ return Service20.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node57 = makeLocationNode({
165
- service: Service51,
164
+ var node24 = makeLocationNode({
165
+ service: Service20,
166
166
  layer,
167
- deps: [FSUtil.node, node80, node82]
167
+ deps: [FSUtil.node, node81, node84]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info9, Mode2, DiffError2, Service51, node57, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service20, node24, exports_vcs };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./file-retention-gd4qta3r.js";
3
+ } from "./tool-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./file-retention-tvtrv512.js";
6
+ } from "./tool-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./file-retention-kg06axw8.js";
9
+ } from "./tool-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service39,
21
+ Service: () => Service66,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node44
23
+ node: () => node70
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service39 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service66 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service39, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service39.of({
125
+ return Service66.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node44 = makeLocationNode({
143
- service: Service39,
142
+ var node70 = makeLocationNode({
143
+ service: Service66,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service39, node44, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service66, node70, exports_tool_output2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-d3dfkvzz.js";
3
+ } from "./tool-32xz9ffh.js";
4
4
  import {
5
- ID18
6
- } from "./file-retention-m27pyyd3.js";
5
+ ID14
6
+ } from "./tool-jfpzywp2.js";
7
7
 
8
8
  // src/plugin/provider/gitlab.ts
9
9
  import os from "os";
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
33
33
  });
34
34
  }));
35
35
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
36
- if (evt.model.providerID !== ID18.gitlab)
36
+ if (evt.model.providerID !== ID14.gitlab)
37
37
  return;
38
38
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
39
39
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-retention-y71avatq.js";
3
+ } from "./tool-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service11,
13
- node: () => node14
12
+ Service: () => Service4,
13
+ node: () => node6
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service11 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service4 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service11, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service4, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service11.of({
27
+ return Service4.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node14 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
52
+ var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
53
53
 
54
- export { Service11, node14, exports_update };
54
+ export { Service4, node6, exports_update };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service63,
3
- node68,
2
+ Service45,
3
+ node48,
4
4
  canonical3
5
- } from "./file-retention-ksarex0k.js";
5
+ } from "./tool-p6604nm9.js";
6
6
  import {
7
- Service61,
8
- node66
9
- } from "./file-retention-ebah8r6x.js";
7
+ Service44,
8
+ node47
9
+ } from "./tool-hwe7x4em.js";
10
10
  import {
11
- Service34
12
- } from "./file-retention-gckxsv6v.js";
11
+ Service19
12
+ } from "./tool-f65fprkq.js";
13
13
  import {
14
14
  layer2
15
- } from "./file-retention-0xpa0xtz.js";
15
+ } from "./tool-7s88n6wh.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service63, Effect.gen(function* () {
20
+ return Layer.effect(Service45, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
28
28
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
29
29
  return Effect.void;
30
30
  if (Exit.isSuccess(exit)) {
31
- build.close = Context.get(exit.value, Service34).close;
31
+ build.close = Context.get(exit.value, Service19).close;
32
32
  return Effect.void;
33
33
  }
34
34
  MutableHashMap.remove(builds, ref);
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
50
50
  })
51
51
  };
52
52
  const bindings = [
53
- node66.replace(Layer.succeed(Service61, {
53
+ node47.replace(Layer.succeed(Service44, {
54
54
  provide: (session) => Effect.provide(map.get(session.location))
55
55
  })),
56
56
  ...replacements,
57
- node68.replace(Layer.succeed(Service63, map))
57
+ node48.replace(Layer.succeed(Service45, map))
58
58
  ];
59
59
  return map;
60
60
  }));
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service77
3
- } from "./file-retention-6jftzada.js";
2
+ Service79
3
+ } from "./tool-hvcjdrj2.js";
4
4
  import {
5
- Service75
6
- } from "./file-retention-3jd9t3qm.js";
5
+ Service76
6
+ } from "./tool-zxhfgthz.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service32
10
- } from "./file-retention-84j6bdr5.js";
9
+ Service35
10
+ } from "./tool-yxz14c3m.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./tool-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command2 = {};
@@ -196,9 +196,9 @@ If you're uncertain about something and can't verify it with these tools, say "I
196
196
  var Plugin44 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service75;
200
- const mcp = yield* Service32;
201
- const bus = yield* Service77;
199
+ const location = yield* Service76;
200
+ const mcp = yield* Service35;
201
+ const bus = yield* Service79;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./file-retention-kg06axw8.js";
3
+ } from "./tool-kg06axw8.js";
4
4
  import {
5
5
  which2
6
- } from "./file-retention-qaymkmh1.js";
6
+ } from "./tool-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./tool-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options7,
15
- Service: () => Service50,
14
+ Options: () => Options10,
15
+ Service: () => Service73,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured9,
18
+ configured: () => configured10,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node56,
24
+ node: () => node77,
25
25
  ps: () => ps2,
26
- resolve: () => resolve2
26
+ resolve: () => resolve3
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options7 = Schema.Struct({
46
+ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service50 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service73 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve2(input, configShell, options, bin) {
167
+ function resolve3(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,15 +180,15 @@ function resolve2(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve2.reset = () => {
183
+ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service50.of({
202
+ return Service73.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
206
206
  });
207
207
  }));
208
- function configured9(options) {
209
- return makeLocationNode({ service: Service50, layer: layer(options), deps: [Global.node] });
208
+ function configured10(options) {
209
+ return makeLocationNode({ service: Service73, layer: layer(options), deps: [Global.node] });
210
210
  }
211
- var node56 = configured9();
211
+ var node77 = configured10();
212
212
 
213
- export { Options7, Service50, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured9, node56, exports_select };
213
+ export { Options10, Service73, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured10, node77, exports_select };
@@ -1,49 +1,49 @@
1
1
  import {
2
- ID18,
2
+ ID14,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./file-retention-m27pyyd3.js";
8
+ } from "./tool-jfpzywp2.js";
9
9
  import {
10
- Service68,
11
- node73
12
- } from "./file-retention-kb4mbprj.js";
10
+ Service54,
11
+ node58
12
+ } from "./tool-2aqbs40b.js";
13
13
  import {
14
14
  map2
15
- } from "./file-retention-bcnz578n.js";
15
+ } from "./tool-39etbsth.js";
16
16
  import {
17
- ID15,
17
+ ID12,
18
18
  VariantID2,
19
19
  Ref3
20
- } from "./file-retention-zw7j6aej.js";
20
+ } from "./tool-jp8xd6mf.js";
21
21
  import {
22
- ID8,
23
- Service66,
24
- node71
25
- } from "./file-retention-fqfsm8yp.js";
22
+ ID5,
23
+ Service52,
24
+ node56
25
+ } from "./tool-622ah2gs.js";
26
26
  import {
27
- Service65,
28
- node70
29
- } from "./file-retention-ne8aj7mp.js";
27
+ Service51,
28
+ node55
29
+ } from "./tool-p514mdqe.js";
30
30
  import {
31
31
  __export
32
- } from "./file-retention-9rqn6x4v.js";
32
+ } from "./tool-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service64,
38
+ Service: () => Service50,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
41
41
  UnsupportedPackageError: () => UnsupportedPackageError3,
42
42
  VariantUnavailableError: () => VariantUnavailableError3,
43
43
  fromCatalogModel: () => fromCatalogModel2,
44
44
  hasPackage: () => hasPackage2,
45
- layer: () => layer24,
46
- node: () => node69,
45
+ layer: () => layer21,
46
+ node: () => node54,
47
47
  resolveModel: () => resolveModel2,
48
48
  withVariant: () => withVariant2
49
49
  });
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
53
53
  import { Context, Effect, Layer, Schema, Struct } from "effect";
54
54
  import { Npm } from "@opencode/util/npm";
55
55
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
56
- providerID: ID18,
57
- modelID: ID15,
56
+ providerID: ID14,
57
+ modelID: ID12,
58
58
  variant: VariantID2
59
59
  }) {
60
60
  get message() {
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
63
63
  }
64
64
 
65
65
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
66
- providerID: ID18,
67
- modelID: ID15,
66
+ providerID: ID14,
67
+ modelID: ID12,
68
68
  package: Schema.String
69
69
  }) {
70
70
  get message() {
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
73
73
  }
74
74
 
75
75
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
76
- providerID: ID18,
77
- modelID: ID15,
76
+ providerID: ID14,
77
+ modelID: ID12,
78
78
  variables: Schema.Array(Schema.String)
79
79
  }) {
80
80
  get message() {
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
83
83
  }
84
84
 
85
85
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
86
- providerID: ID18,
87
- modelID: ID15,
86
+ providerID: ID14,
87
+ modelID: ID12,
88
88
  route: Schema.String
89
89
  }) {
90
90
  get message() {
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
92
92
  }
93
93
  }
94
94
 
95
- class Service64 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service50 extends Context.Service()("@opencode/ModelResolver") {
96
96
  }
97
97
  var withVariant2 = (model, variantID) => {
98
98
  const id = variantID === "default" ? undefined : variantID;
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
218
218
  });
219
219
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
220
220
  var hasPackage2 = (model) => Boolean(model.package);
221
- var layer24 = Layer.effect(Service64, Effect.gen(function* () {
222
- const catalog = yield* Service65;
223
- const integrations = yield* Service66;
221
+ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
222
+ const catalog = yield* Service51;
223
+ const integrations = yield* Service52;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service68;
225
+ const aisdk = yield* Service54;
226
226
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
227
227
  const provider = yield* catalog.provider.get(selected.providerID);
228
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
228
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID5.make(selected.providerID));
229
229
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
230
230
  const runtimeInfo = yield* withVariant2(selected, variant);
231
231
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -246,7 +246,7 @@ var layer24 = Layer.effect(Service64, Effect.gen(function* () {
246
246
  compaction: selected.compaction
247
247
  };
248
248
  });
249
- return Service64.of({
249
+ return Service50.of({
250
250
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
251
251
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
252
252
  if (!selected)
@@ -263,10 +263,10 @@ function usesAPIKeyAuth(packageName) {
263
263
  const name = packageName2(packageName);
264
264
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
265
265
  }
266
- var node69 = makeLocationNode({
267
- service: Service64,
268
- layer: layer24,
269
- deps: [node70, node71, Npm.node, node73]
266
+ var node54 = makeLocationNode({
267
+ service: Service50,
268
+ layer: layer21,
269
+ deps: [node55, node56, Npm.node, node58]
270
270
  });
271
271
 
272
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node69, exports_model_resolver };
272
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service50, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node54, exports_model_resolver };