@opencode/core 0.0.0-dev-19388 → 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 (781) 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/{filesystem-q5933jwj.js → tool-00gnxv30.js} +16 -16
  9. package/dist/chunks/{filesystem-rgp0xy6k.js → tool-01797ny4.js} +12 -12
  10. package/dist/chunks/{filesystem-r9dyd1jw.js → tool-08xgehk5.js} +4 -4
  11. package/dist/chunks/{filesystem-9zswys26.js → tool-0996nyz8.js} +9 -9
  12. package/dist/chunks/{filesystem-s84w5bg7.js → tool-0hhrv268.js} +18 -18
  13. package/dist/chunks/{filesystem-v0zwhkz5.js → tool-0msc39tg.js} +9 -9
  14. package/dist/chunks/{filesystem-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{filesystem-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{filesystem-5pg93txw.js → tool-0xf6t1bc.js} +21 -21
  17. package/dist/chunks/{filesystem-eddqeyr4.js → tool-100kzw8g.js} +39 -39
  18. package/dist/chunks/{filesystem-xax1yraj.js → tool-13tvcsgk.js} +11 -11
  19. package/dist/chunks/{filesystem-dbmcae2r.js → tool-1c2q116c.js} +22 -22
  20. package/dist/chunks/{filesystem-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{filesystem-j55f1gt8.js → tool-1famk9p6.js} +13 -13
  22. package/dist/chunks/{filesystem-91pqtkcw.js → tool-1hgt76pw.js} +16 -16
  23. package/dist/chunks/{filesystem-wy1hgqd7.js → tool-1jwdep4c.js} +9 -9
  24. package/dist/chunks/{filesystem-yxjsdcwg.js → tool-1kh06mg4.js} +2 -2
  25. package/dist/chunks/{filesystem-21r38tys.js → tool-21r38tys.js} +1 -1
  26. package/dist/chunks/{filesystem-msq0jde0.js → tool-22m95qs7.js} +4 -4
  27. package/dist/chunks/{filesystem-6h73sxmp.js → tool-2402vzrj.js} +5 -5
  28. package/dist/chunks/{filesystem-z63w68vq.js → tool-29x78va6.js} +6 -6
  29. package/dist/chunks/{filesystem-ednp5hmx.js → tool-2a4f6v5q.js} +8 -8
  30. package/dist/chunks/{filesystem-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{filesystem-jk60jt88.js → tool-2aqbs40b.js} +11 -11
  32. package/dist/chunks/{filesystem-2stek9w5.js → tool-2ft9rrby.js} +7 -7
  33. package/dist/chunks/{filesystem-h24d087c.js → tool-2gm42vdj.js} +13 -13
  34. package/dist/chunks/{filesystem-0jwsre1p.js → tool-2k8khapm.js} +5 -5
  35. package/dist/chunks/{filesystem-hfqxjmzm.js → tool-2mnagb0e.js} +5 -5
  36. package/dist/chunks/{filesystem-2mdf44cj.js → tool-2zk4ah9y.js} +9 -9
  37. package/dist/chunks/{filesystem-w1ph7bey.js → tool-31v57ene.js} +28 -28
  38. package/dist/chunks/{filesystem-33zmxq1h.js → tool-32xz9ffh.js} +11 -11
  39. package/dist/chunks/{filesystem-qk7hwtaf.js → tool-39etbsth.js} +2 -2
  40. package/dist/chunks/{filesystem-yytdt4jf.js → tool-3a9e8ct5.js} +7 -7
  41. package/dist/chunks/{filesystem-gdvy8fx6.js → tool-3fc6dm20.js} +4 -4
  42. package/dist/chunks/{filesystem-eh06tsh4.js → tool-3fe43pwb.js} +23 -23
  43. package/dist/chunks/{filesystem-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{filesystem-q3j0kqfw.js → tool-3p0n15sb.js} +24 -24
  45. package/dist/chunks/{filesystem-7zjk8agd.js → tool-3r6vp6xx.js} +10 -10
  46. package/dist/chunks/{filesystem-zx94nz29.js → tool-3r7whzgv.js} +7 -7
  47. package/dist/chunks/{filesystem-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{filesystem-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{filesystem-385xck8a.js → tool-41e240wd.js} +11 -11
  50. package/dist/chunks/{filesystem-t4rrxcfh.js → tool-43cyd10z.js} +26 -26
  51. package/dist/chunks/{filesystem-7v6dnkvf.js → tool-442pexa9.js} +27 -27
  52. package/dist/chunks/{filesystem-ede8bgtj.js → tool-45zx1ce8.js} +24 -24
  53. package/dist/chunks/{filesystem-t5w9h8rb.js → tool-48gag0he.js} +19 -19
  54. package/dist/chunks/{filesystem-737983wq.js → tool-49hrpkdk.js} +4 -4
  55. package/dist/chunks/{filesystem-bqvawe2y.js → tool-4faz70f1.js} +53 -53
  56. package/dist/chunks/{filesystem-5bmw5kj7.js → tool-4g6am8f5.js} +26 -26
  57. package/dist/chunks/{filesystem-e7z2mpna.js → tool-4jad23kz.js} +20 -20
  58. package/dist/chunks/{filesystem-6vkh6tth.js → tool-4kmb4xcf.js} +38 -38
  59. package/dist/chunks/{filesystem-6v7jgxpn.js → tool-4rggjvr2.js} +7 -7
  60. package/dist/chunks/{filesystem-a0ptexgx.js → tool-50kt3f8y.js} +4 -4
  61. package/dist/chunks/{filesystem-eqqhapwp.js → tool-50wkfpjr.js} +24 -24
  62. package/dist/chunks/{filesystem-4dszt5y5.js → tool-55s895j0.js} +33 -33
  63. package/dist/chunks/{filesystem-56gdpj1q.js → tool-56gdpj1q.js} +2 -2
  64. package/dist/chunks/{filesystem-a1bz86dw.js → tool-5c4hm403.js} +3 -3
  65. package/dist/chunks/{filesystem-5daktx2q.js → tool-5daktx2q.js} +1 -1
  66. package/dist/chunks/{filesystem-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{filesystem-67pthv0s.js → tool-622ah2gs.js} +28 -28
  68. package/dist/chunks/{filesystem-ywa60t48.js → tool-62gm3akr.js} +11 -11
  69. package/dist/chunks/{filesystem-ydq1q308.js → tool-638f9gty.js} +26 -26
  70. package/dist/chunks/{filesystem-669tq793.js → tool-669tq793.js} +1 -1
  71. package/dist/chunks/{filesystem-qgj7q01q.js → tool-6f5kdbjb.js} +26 -26
  72. package/dist/chunks/{filesystem-1jgwmmhy.js → tool-6fyrr4w1.js} +4 -4
  73. package/dist/chunks/tool-6kdq0pjd.js +4 -0
  74. package/dist/chunks/{filesystem-hd29wc17.js → tool-6m8y77r5.js} +8 -8
  75. package/dist/chunks/{filesystem-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{filesystem-9a3ed6hb.js → tool-6ppc03cv.js} +6 -6
  77. package/dist/chunks/{filesystem-0n7kkwyn.js → tool-6y4tgg16.js} +31 -31
  78. package/dist/chunks/{filesystem-71q4at8m.js → tool-71q4at8m.js} +1 -1
  79. package/dist/chunks/{filesystem-bzq013b3.js → tool-72cm32h1.js} +3 -3
  80. package/dist/chunks/{filesystem-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{filesystem-pf2hb43r.js → tool-7ebn0nc0.js} +6 -6
  82. package/dist/chunks/{filesystem-jbddx18m.js → tool-7f3sjtrh.js} +1 -1
  83. package/dist/chunks/{filesystem-nxhqveyz.js → tool-7gvwkz6m.js} +5 -5
  84. package/dist/chunks/{filesystem-86b59fvh.js → tool-7jsvadcm.js} +19 -18
  85. package/dist/chunks/{filesystem-8v4d8r02.js → tool-7k1k30bt.js} +1 -1
  86. package/dist/chunks/{filesystem-wv978b9k.js → tool-7nb80w0z.js} +23 -23
  87. package/dist/chunks/{filesystem-1fqh06zb.js → tool-7rzn7488.js} +42 -42
  88. package/dist/chunks/tool-7s88n6wh.js +247 -0
  89. package/dist/chunks/{filesystem-1eyaby9q.js → tool-7sdps93t.js} +5 -5
  90. package/dist/chunks/{filesystem-e8tzj1q5.js → tool-7xzdkz3y.js} +11 -11
  91. package/dist/chunks/{filesystem-81swgkk7.js → tool-81swgkk7.js} +2 -2
  92. package/dist/chunks/{filesystem-tj953jaq.js → tool-83n1dzne.js} +30 -30
  93. package/dist/chunks/{filesystem-895sbn4q.js → tool-84cxy7xh.js} +26 -26
  94. package/dist/chunks/{filesystem-fp9646aj.js → tool-859kcgs2.js} +3 -3
  95. package/dist/chunks/{filesystem-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{filesystem-sp5zyyma.js → tool-8t1wrec1.js} +8 -8
  97. package/dist/chunks/{filesystem-b6mfpxes.js → tool-8xv0fcmg.js} +35 -35
  98. package/dist/chunks/{filesystem-p33ejz0k.js → tool-8ypn74s0.js} +1 -1
  99. package/dist/chunks/{filesystem-795b89xp.js → tool-910hnegs.js} +24 -24
  100. package/dist/chunks/{filesystem-xtfcs0yj.js → tool-937nxygj.js} +8 -8
  101. package/dist/chunks/{filesystem-r837shg4.js → tool-99exew75.js} +43 -43
  102. package/dist/chunks/{filesystem-6e93yj3m.js → tool-9aqmr64f.js} +3 -3
  103. package/dist/chunks/{filesystem-wgn8rn3k.js → tool-9ggagkar.js} +49 -49
  104. package/dist/chunks/{filesystem-c3mh7abg.js → tool-9hv8phah.js} +16 -16
  105. package/dist/chunks/{filesystem-jbjar616.js → tool-9s022y1z.js} +32 -32
  106. package/dist/chunks/{filesystem-1rheacw5.js → tool-9y5cg855.js} +36 -36
  107. package/dist/chunks/{filesystem-a9mh0r96.js → tool-a1pcbmkx.js} +16 -16
  108. package/dist/chunks/{filesystem-t2fc4mz5.js → tool-a46v4e4v.js} +4 -4
  109. package/dist/chunks/{filesystem-pf7e094e.js → tool-a605f6d0.js} +11 -11
  110. package/dist/chunks/{filesystem-aaet6srn.js → tool-aaet6srn.js} +2 -2
  111. package/dist/chunks/{filesystem-tz2bjj40.js → tool-ag9w8cw1.js} +5 -5
  112. package/dist/chunks/{filesystem-6rzja1f9.js → tool-amegs12p.js} +9 -9
  113. package/dist/chunks/{filesystem-attwfgmv.js → tool-apesnbt3.js} +17 -17
  114. package/dist/chunks/{filesystem-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{filesystem-dmmdt4bf.js → tool-bgmt3wra.js} +25 -25
  116. package/dist/chunks/{filesystem-8bfq94b1.js → tool-bkz2mr6p.js} +65 -65
  117. package/dist/chunks/{filesystem-d2z85qgk.js → tool-bnweey00.js} +4 -4
  118. package/dist/chunks/{filesystem-jane354b.js → tool-br0bxb5z.js} +3 -3
  119. package/dist/chunks/{filesystem-z1f4gy9p.js → tool-bv56xrks.js} +8 -8
  120. package/dist/chunks/{filesystem-gps6vdk6.js → tool-c3er4f98.js} +9 -9
  121. package/dist/chunks/{filesystem-gzcwfc4e.js → tool-c4ypf6wq.js} +20 -20
  122. package/dist/chunks/{filesystem-mrtpz622.js → tool-ca9nbgzj.js} +9 -9
  123. package/dist/chunks/{filesystem-mkv6pa3p.js → tool-ce8ketvm.js} +24 -24
  124. package/dist/chunks/{filesystem-myg80vbs.js → tool-cfxak8gp.js} +22 -22
  125. package/dist/chunks/{filesystem-sj9w4s23.js → tool-cgfvzygb.js} +16 -16
  126. package/dist/chunks/{filesystem-844ef7ks.js → tool-cmwkp3r5.js} +4 -4
  127. package/dist/chunks/{filesystem-b4bcrb8b.js → tool-d38rwssd.js} +4 -4
  128. package/dist/chunks/{filesystem-nw2nz702.js → tool-d8nc1xcx.js} +4 -4
  129. package/dist/chunks/{filesystem-ht3akpg4.js → tool-d8q39vv3.js} +10 -10
  130. package/dist/chunks/{filesystem-ak7vzz1a.js → tool-d9sn21bc.js} +2 -2
  131. package/dist/chunks/{filesystem-dwgb0r40.js → tool-dbnvakxz.js} +2 -2
  132. package/dist/chunks/{filesystem-94f5g9k1.js → tool-dgv4w1ry.js} +33 -33
  133. package/dist/chunks/{filesystem-8p4f9s12.js → tool-dj2t23y0.js} +2 -2
  134. package/dist/chunks/{filesystem-jx1df3jm.js → tool-dr8w6t5k.js} +11 -11
  135. package/dist/chunks/{filesystem-fwvt04sz.js → tool-dw8c19qb.js} +4 -4
  136. package/dist/chunks/{filesystem-4e3yc908.js → tool-e67ygrb5.js} +20 -20
  137. package/dist/chunks/{filesystem-1fbj5668.js → tool-e8ge1rnk.js} +1 -1
  138. package/dist/chunks/{filesystem-zd00mhnz.js → tool-efstz0ke.js} +12 -12
  139. package/dist/chunks/{filesystem-3s4rvetn.js → tool-egp6178n.js} +10 -10
  140. package/dist/chunks/{filesystem-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{filesystem-er06bvme.js → tool-ezs43bsy.js} +17 -17
  142. package/dist/chunks/{filesystem-55z3fzyw.js → tool-f249p1w2.js} +11 -11
  143. package/dist/chunks/{filesystem-67dj31rt.js → tool-f65fprkq.js} +11 -11
  144. package/dist/chunks/{filesystem-hf9zzdc2.js → tool-f9qak17s.js} +8 -8
  145. package/dist/chunks/{filesystem-vyy6cxw9.js → tool-fab8hzt3.js} +4 -4
  146. package/dist/chunks/{filesystem-m9wy7qrr.js → tool-fjvydvzm.js} +6 -6
  147. package/dist/chunks/{filesystem-dp24j7vv.js → tool-fsn1dw54.js} +5 -5
  148. package/dist/chunks/{filesystem-gb23bvxt.js → tool-fw7ks5z6.js} +15 -15
  149. package/dist/chunks/{filesystem-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{filesystem-z0ff4ppm.js → tool-g0aj3r5p.js} +4 -4
  151. package/dist/chunks/{filesystem-8qgzw9wd.js → tool-g5hp0j3s.js} +20 -20
  152. package/dist/chunks/{filesystem-056y9sk5.js → tool-g5zf0djh.js} +1 -1
  153. package/dist/chunks/{filesystem-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{filesystem-5kptn8c0.js → tool-gfqzzqy5.js} +9 -9
  155. package/dist/chunks/{filesystem-th5km1p3.js → tool-gv6a8nnw.js} +5 -5
  156. package/dist/chunks/{filesystem-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{filesystem-ac88cgcg.js → tool-h1dazz20.js} +17 -17
  158. package/dist/chunks/{filesystem-m7m032ab.js → tool-h47mvjjj.js} +28 -28
  159. package/dist/chunks/{filesystem-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{filesystem-f828m53h.js → tool-hdnk95c8.js} +2 -2
  161. package/dist/chunks/{filesystem-e82z9tr0.js → tool-hjt4xg1x.js} +7 -7
  162. package/dist/chunks/{filesystem-dx6jvs3w.js → tool-hvcjdrj2.js} +4 -4
  163. package/dist/chunks/{filesystem-v32t8jx1.js → tool-hwe7x4em.js} +6 -6
  164. package/dist/chunks/{filesystem-xhngfy0e.js → tool-j51g8r26.js} +81 -81
  165. package/dist/chunks/{filesystem-j56e64zr.js → tool-j56e64zr.js} +1 -1
  166. package/dist/chunks/{filesystem-p6r5yh53.js → tool-j7wq2tw5.js} +3 -3
  167. package/dist/chunks/{filesystem-paphc93g.js → tool-j935v87r.js} +2 -2
  168. package/dist/chunks/{filesystem-qpnsqa9x.js → tool-j9eppgdd.js} +13 -13
  169. package/dist/chunks/{filesystem-1b4ff5b6.js → tool-j9tvrbwe.js} +25 -25
  170. package/dist/chunks/{filesystem-1b1ar3e7.js → tool-jfpzywp2.js} +6 -6
  171. package/dist/chunks/{filesystem-nbzsj80d.js → tool-jmm88pvs.js} +11 -11
  172. package/dist/chunks/{filesystem-3t5n67ye.js → tool-jp8xd6mf.js} +12 -12
  173. package/dist/chunks/{filesystem-tkrrbede.js → tool-jpchzm8t.js} +16 -16
  174. package/dist/chunks/{filesystem-htp6s35y.js → tool-jw7c8f1w.js} +13 -13
  175. package/dist/chunks/{filesystem-915024ph.js → tool-jwcaj6se.js} +22 -22
  176. package/dist/chunks/{filesystem-7cfynq8y.js → tool-jxdevvez.js} +158 -158
  177. package/dist/chunks/{filesystem-3h6cqk62.js → tool-kap84dg0.js} +18 -18
  178. package/dist/chunks/{filesystem-kg06axw8.js → tool-kg06axw8.js} +1 -1
  179. package/dist/chunks/{filesystem-511fzf0h.js → tool-kk8fq19e.js} +24 -24
  180. package/dist/chunks/{filesystem-dtx2zz03.js → tool-knvy7wqf.js} +20 -20
  181. package/dist/chunks/{filesystem-cfpkc3c9.js → tool-m0jqrx5p.js} +2 -2
  182. package/dist/chunks/{filesystem-sfbacvk4.js → tool-m2krvp2x.js} +13 -13
  183. package/dist/chunks/{filesystem-701y5145.js → tool-m4bw18j8.js} +24 -24
  184. package/dist/chunks/{filesystem-c36wc4f0.js → tool-m8gmjx38.js} +43 -43
  185. package/dist/chunks/{filesystem-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{filesystem-3vb6kzdw.js → tool-mfvn5m8d.js} +8 -8
  187. package/dist/chunks/{filesystem-mkcjrzeh.js → tool-mkcjrzeh.js} +1 -1
  188. package/dist/chunks/{filesystem-73tb2d7t.js → tool-mvfsc1pv.js} +3 -3
  189. package/dist/chunks/{filesystem-cqvt4heg.js → tool-n17rpw7s.js} +11 -11
  190. package/dist/chunks/{filesystem-pndg43xp.js → tool-n6arc57m.js} +7 -7
  191. package/dist/chunks/{filesystem-wx8vgsfk.js → tool-n6pkm576.js} +21 -21
  192. package/dist/chunks/tool-n95b3jav.js +18 -0
  193. package/dist/chunks/{filesystem-n8r29p3x.js → tool-nfs7qh3b.js} +14 -14
  194. package/dist/chunks/{filesystem-gfybhtft.js → tool-nkhmdx3g.js} +18 -18
  195. package/dist/chunks/{filesystem-rf9vrjw2.js → tool-nnxzqqg8.js} +17 -17
  196. package/dist/chunks/{filesystem-gr04s9gg.js → tool-nqz62vb6.js} +21 -21
  197. package/dist/chunks/{filesystem-ydckf0vr.js → tool-p514mdqe.js} +25 -25
  198. package/dist/chunks/{filesystem-4jamjfh1.js → tool-p6604nm9.js} +10 -10
  199. package/dist/chunks/{filesystem-469vaqsc.js → tool-p6rs3vpq.js} +11 -11
  200. package/dist/chunks/{filesystem-7fe4gxq1.js → tool-pc5wdgkb.js} +11 -11
  201. package/dist/chunks/{filesystem-e7z714tc.js → tool-pe0c0z4r.js} +12 -12
  202. package/dist/chunks/{filesystem-rxhbvfmr.js → tool-pjmc1jwj.js} +29 -29
  203. package/dist/chunks/{filesystem-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{filesystem-pknna89w.js → tool-pknna89w.js} +1 -1
  205. package/dist/chunks/{filesystem-2bt6bea8.js → tool-pnv527nz.js} +9 -9
  206. package/dist/chunks/{filesystem-qam20mpp.js → tool-pqkb2z9p.js} +17 -17
  207. package/dist/chunks/{filesystem-y9jmv78b.js → tool-ptq11xx0.js} +6 -6
  208. package/dist/chunks/{filesystem-wazkm2x0.js → tool-pwk28ted.js} +13 -13
  209. package/dist/chunks/{filesystem-ky6k48re.js → tool-px9gxtsw.js} +33 -33
  210. package/dist/chunks/{filesystem-a1z5mzke.js → tool-q2027nw7.js} +1 -1
  211. package/dist/chunks/{filesystem-xrxwtwha.js → tool-q5qadqqc.js} +4 -4
  212. package/dist/chunks/{filesystem-j2mhjbmg.js → tool-q8rarcde.js} +28 -28
  213. package/dist/chunks/{filesystem-2m10wfgt.js → tool-qaed280k.js} +9 -9
  214. package/dist/chunks/{filesystem-dxadfsz3.js → tool-qek8dtx8.js} +20 -20
  215. package/dist/chunks/{filesystem-13bwbegs.js → tool-qfv804ab.js} +6 -6
  216. package/dist/chunks/{filesystem-mhkcfdm3.js → tool-qjqdk9x8.js} +25 -25
  217. package/dist/chunks/{filesystem-qsdy395h.js → tool-qsdy395h.js} +1 -1
  218. package/dist/chunks/{filesystem-24c7s165.js → tool-qyyanj0n.js} +25 -25
  219. package/dist/chunks/{filesystem-xy0sa79b.js → tool-qzkdxd86.js} +6 -6
  220. package/dist/chunks/{filesystem-9fyw720m.js → tool-r1q74f54.js} +24 -24
  221. package/dist/chunks/{filesystem-c7jd750q.js → tool-ra3gq1k7.js} +9 -9
  222. package/dist/chunks/{filesystem-p613tt29.js → tool-rda0t9vq.js} +5 -5
  223. package/dist/chunks/{filesystem-gbt6w4kb.js → tool-rhjbct0v.js} +8 -8
  224. package/dist/chunks/{filesystem-s857ash9.js → tool-rmm45jmv.js} +5 -5
  225. package/dist/chunks/{filesystem-rv8k5jkc.js → tool-rsv3dyxs.js} +14 -14
  226. package/dist/chunks/{filesystem-xpxjkdch.js → tool-s006vazc.js} +10 -10
  227. package/dist/chunks/{filesystem-wcdb3cer.js → tool-s0haq3v3.js} +26 -26
  228. package/dist/chunks/{filesystem-yrznvahk.js → tool-s4enseaf.js} +2 -2
  229. package/dist/chunks/{filesystem-tyyqsn0v.js → tool-s6vet9p8.js} +6 -6
  230. package/dist/chunks/{filesystem-50mzsvk4.js → tool-s8j6jbjj.js} +21 -21
  231. package/dist/chunks/{filesystem-621rr81n.js → tool-sj71rkrx.js} +11 -11
  232. package/dist/chunks/{filesystem-5pa6vm4n.js → tool-sq27dbnb.js} +9 -9
  233. package/dist/chunks/{filesystem-qj0x7chz.js → tool-stbvjbpa.js} +284 -284
  234. package/dist/chunks/{filesystem-4maj8g0n.js → tool-sxnp3vqk.js} +17 -17
  235. package/dist/chunks/{filesystem-wjy94g25.js → tool-t0jgeayb.js} +11 -11
  236. package/dist/chunks/{filesystem-25852kw6.js → tool-t4an9tm5.js} +80 -80
  237. package/dist/chunks/{filesystem-g0e3tkhh.js → tool-t64d9h47.js} +11 -11
  238. package/dist/chunks/{filesystem-1batb0zb.js → tool-t7yz8ad7.js} +8 -8
  239. package/dist/chunks/{filesystem-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{filesystem-vnwx8xqr.js → tool-tb8rp2yt.js} +24 -24
  241. package/dist/chunks/{filesystem-89znhe33.js → tool-tcezcvh9.js} +4 -4
  242. package/dist/chunks/{filesystem-tdstcens.js → tool-tdstcens.js} +1 -1
  243. package/dist/chunks/{filesystem-tvtrv512.js → tool-tvtrv512.js} +1 -1
  244. package/dist/chunks/{filesystem-q1mwthsg.js → tool-vce1m6g2.js} +17 -17
  245. package/dist/chunks/{filesystem-q2b1ymqp.js → tool-ve4pfa0n.js} +4 -4
  246. package/dist/chunks/{filesystem-veqvce7d.js → tool-veqvce7d.js} +1 -1
  247. package/dist/chunks/{filesystem-n4vj9ajn.js → tool-vfpkabdf.js} +10 -10
  248. package/dist/chunks/{filesystem-hnr5yq9h.js → tool-vmq7ehpy.js} +5 -5
  249. package/dist/chunks/{filesystem-hhstr0w6.js → tool-vmshp960.js} +24 -24
  250. package/dist/chunks/{filesystem-fqz39t5z.js → tool-vv3eqyfe.js} +8 -8
  251. package/dist/chunks/{filesystem-9g3vdk5q.js → tool-vycpdhb1.js} +18 -18
  252. package/dist/chunks/{filesystem-nt7y0b6y.js → tool-vyqwgby1.js} +9 -9
  253. package/dist/chunks/{filesystem-k44km4nj.js → tool-vz6rz0af.js} +20 -20
  254. package/dist/chunks/{filesystem-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{filesystem-wrdw2bq8.js → tool-w3k36hrr.js} +3 -3
  256. package/dist/chunks/{filesystem-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{filesystem-617hgdan.js → tool-wbyq7e0t.js} +46 -46
  258. package/dist/chunks/{filesystem-wd87259q.js → tool-wd87259q.js} +1 -1
  259. package/dist/chunks/{filesystem-wpej6h4s.js → tool-wdn3ce2t.js} +3 -3
  260. package/dist/chunks/{filesystem-jefma2gq.js → tool-wk58jv74.js} +3 -3
  261. package/dist/chunks/{filesystem-cr9wy6w1.js → tool-wpm2rk0p.js} +6 -6
  262. package/dist/chunks/{filesystem-5gachfgg.js → tool-ws5qfxv9.js} +9 -9
  263. package/dist/chunks/{filesystem-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{filesystem-x43y2vfs.js → tool-x43y2vfs.js} +2 -2
  265. package/dist/chunks/{filesystem-9gqgjvk8.js → tool-xanzpgaf.js} +18 -18
  266. package/dist/chunks/{filesystem-6k9awrbh.js → tool-xdepe7a5.js} +10 -10
  267. package/dist/chunks/{filesystem-xkjxrpcb.js → tool-xnap109e.js} +15 -15
  268. package/dist/chunks/{filesystem-88gqx8fx.js → tool-xnrzgmbf.js} +44 -44
  269. package/dist/chunks/{filesystem-hjs68xrf.js → tool-xz0aj5bv.js} +30 -30
  270. package/dist/chunks/{filesystem-4rqn3ef5.js → tool-y0qtjk0t.js} +11 -11
  271. package/dist/chunks/{filesystem-51whyq4r.js → tool-y0wsg1r3.js} +7 -7
  272. package/dist/chunks/{filesystem-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{filesystem-394r11tr.js → tool-y4xwrefb.js} +20 -20
  274. package/dist/chunks/{filesystem-y71avatq.js → tool-y71avatq.js} +1 -1
  275. package/dist/chunks/{filesystem-zesa0009.js → tool-yc73ry1q.js} +6 -6
  276. package/dist/chunks/{filesystem-1acjjqhc.js → tool-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{filesystem-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{filesystem-4vaczfm4.js → tool-ywhnyrnh.js} +5 -5
  279. package/dist/chunks/{filesystem-v31hq529.js → tool-yxz14c3m.js} +47 -47
  280. package/dist/chunks/{filesystem-p1by39wd.js → tool-z03197zf.js} +38 -38
  281. package/dist/chunks/{filesystem-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{filesystem-m1y8ttrx.js → tool-z1pfg6df.js} +1 -1
  283. package/dist/chunks/{filesystem-57zwapjz.js → tool-zad871sr.js} +1 -1
  284. package/dist/chunks/{filesystem-q5asdkn4.js → tool-zcrspsvn.js} +4 -4
  285. package/dist/chunks/{filesystem-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{filesystem-6yt31z2p.js → tool-zncx7357.js} +12 -12
  287. package/dist/chunks/{filesystem-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{filesystem-a5stevxr.js → tool-zxhfgthz.js} +2 -2
  289. package/dist/chunks/{filesystem-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +3 -3
  291. package/dist/codemode/instructions.js +11 -11
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +79 -79
  294. package/dist/config/discovery.js +79 -79
  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 +83 -83
  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 +68 -68
  410. package/dist/file-access.js +95 -95
  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 +6 -6
  420. package/dist/filesystem/location-watcher.js +220 -220
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +102 -102
  426. package/dist/form.js +82 -82
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +78 -78
  429. package/dist/generate.js +89 -89
  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 +83 -83
  456. package/dist/instructions/builtins.js +80 -80
  457. package/dist/instructions/index.js +5 -5
  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 +130 -130
  464. package/dist/location-mutation.js +95 -95
  465. package/dist/location-service-map.js +83 -83
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +76 -76
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +103 -103
  470. package/dist/mcp/instructions.js +122 -122
  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 +8 -8
  477. package/dist/models-dev.js +76 -76
  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 +110 -110
  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 +84 -84
  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 +94 -94
  489. package/dist/plugin/hooks.js +5 -5
  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 +4 -4
  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 +80 -80
  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 +2 -2
  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 +222 -222
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +75 -75
  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 +84 -84
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +93 -93
  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 +216 -216
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +146 -146
  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 +5 -5
  613. package/dist/session/title.js +151 -151
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +209 -209
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +213 -213
  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 +107 -107
  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 +121 -121
  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 +117 -117
  637. package/dist/tool/plugin/question.js +98 -98
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +212 -212
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +206 -206
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +103 -103
  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 +15 -15
  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 +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  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 +78 -78
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +76 -76
  682. package/dist/worktree/directory.js +4 -4
  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/filesystem-0mesazry.js +0 -4
  689. package/dist/chunks/filesystem-9sh4wc5j.js +0 -18
  690. package/dist/chunks/filesystem-ang5fwfr.js +0 -247
  691. /package/dist/chunks/{filesystem-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{filesystem-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{filesystem-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{filesystem-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{filesystem-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{filesystem-2710q6r3.js → tool-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{filesystem-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{filesystem-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{filesystem-359p4xyc.js → tool-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{filesystem-3asan66x.js → tool-3asan66x.js} +0 -0
  701. /package/dist/chunks/{filesystem-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{filesystem-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{filesystem-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{filesystem-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{filesystem-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{filesystem-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{filesystem-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{filesystem-53557ph1.js → tool-53557ph1.js} +0 -0
  709. /package/dist/chunks/{filesystem-550bvhaj.js → tool-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{filesystem-6prwharc.js → tool-6prwharc.js} +0 -0
  711. /package/dist/chunks/{filesystem-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{filesystem-7m9af43g.js → tool-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{filesystem-822emrt2.js → tool-822emrt2.js} +0 -0
  714. /package/dist/chunks/{filesystem-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{filesystem-8n3pysct.js → tool-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{filesystem-922hggd3.js → tool-922hggd3.js} +0 -0
  717. /package/dist/chunks/{filesystem-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{filesystem-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{filesystem-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{filesystem-af5trqkr.js → tool-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{filesystem-afrmfg78.js → tool-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{filesystem-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{filesystem-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{filesystem-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{filesystem-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{filesystem-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{filesystem-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{filesystem-d9fn303g.js → tool-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{filesystem-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{filesystem-dajrwvna.js → tool-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{filesystem-dap0rakb.js → tool-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{filesystem-df08tz66.js → tool-df08tz66.js} +0 -0
  733. /package/dist/chunks/{filesystem-dy18nga0.js → tool-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{filesystem-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{filesystem-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{filesystem-ec1grn59.js → tool-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{filesystem-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{filesystem-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{filesystem-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{filesystem-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{filesystem-faypxj3z.js → tool-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{filesystem-fd410y7t.js → tool-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{filesystem-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{filesystem-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{filesystem-g86h250q.js → tool-g86h250q.js} +0 -0
  746. /package/dist/chunks/{filesystem-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{filesystem-gftt206x.js → tool-gftt206x.js} +0 -0
  748. /package/dist/chunks/{filesystem-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{filesystem-hk9envan.js → tool-hk9envan.js} +0 -0
  750. /package/dist/chunks/{filesystem-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{filesystem-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{filesystem-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{filesystem-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{filesystem-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{filesystem-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{filesystem-mp448xyj.js → tool-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{filesystem-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{filesystem-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{filesystem-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{filesystem-njntx4h6.js → tool-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{filesystem-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{filesystem-q74kybfr.js → tool-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{filesystem-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{filesystem-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{filesystem-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{filesystem-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{filesystem-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{filesystem-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{filesystem-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{filesystem-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{filesystem-twg0f83k.js → tool-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{filesystem-w803qqfp.js → tool-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{filesystem-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{filesystem-wtztk69x.js → tool-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{filesystem-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{filesystem-x61499pn.js → tool-x61499pn.js} +0 -0
  777. /package/dist/chunks/{filesystem-y44na4kk.js → tool-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{filesystem-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{filesystem-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{filesystem-ym463w8f.js → tool-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{filesystem-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service40
3
- } from "./filesystem-1fqh06zb.js";
2
+ Service67
3
+ } from "./tool-7rzn7488.js";
4
4
  import {
5
- Service47
6
- } from "./filesystem-5gachfgg.js";
5
+ Service63
6
+ } from "./tool-ws5qfxv9.js";
7
7
  import {
8
8
  observe2
9
- } from "./filesystem-qsdy395h.js";
9
+ } from "./tool-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./tool-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin11
18
+ Plugin: () => Plugin14
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin11 = define({
22
+ var Plugin14 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service40;
26
- const image = yield* Service47;
25
+ const config = yield* Service67;
26
+ const image = yield* Service63;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin11 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin11, exports_image };
46
+ export { Plugin14, exports_image };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service40
4
- } from "./filesystem-1fqh06zb.js";
3
+ Service67
4
+ } from "./tool-7rzn7488.js";
5
5
  import {
6
6
  __export
7
- } from "./filesystem-9rqn6x4v.js";
7
+ } from "./tool-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin35,
12
+ Plugin: () => Plugin40,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin35 = define({
22
+ var Plugin40 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service40;
25
+ const config = yield* Service67;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -90,4 +90,4 @@ var Plugin35 = define({
90
90
  })
91
91
  });
92
92
 
93
- export { Plugin35, exports_warming };
93
+ export { Plugin40, exports_warming };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./filesystem-2a5m3afh.js";
6
+ } from "./tool-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./filesystem-1dazxqgg.js";
9
+ } from "./tool-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./filesystem-b6gygkdw.js";
12
+ } from "./tool-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./filesystem-aaet6srn.js";
15
+ } from "./tool-aaet6srn.js";
16
16
  import {
17
17
  Service76,
18
18
  node81
19
- } from "./filesystem-a5stevxr.js";
19
+ } from "./tool-zxhfgthz.js";
20
20
  import {
21
- Service52,
22
- node57
23
- } from "./filesystem-795b89xp.js";
21
+ Service75,
22
+ node79
23
+ } from "./tool-910hnegs.js";
24
24
  import {
25
25
  __export
26
- } from "./filesystem-9rqn6x4v.js";
26
+ } from "./tool-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service51,
33
- node: () => node56
32
+ Service: () => Service74,
33
+ node: () => node78
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service51,
46
+ Service: () => Service74,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node56,
52
+ node: () => node78,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service51 extends Context.Service()("@opencode/Environment") {
61
+ class Service74 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service51, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
65
  const location = yield* Service76;
66
- const workspace = yield* Service52;
66
+ const workspace = yield* Service75;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service51.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service74.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node56 = makeLocationNode({
71
- service: Service51,
70
+ var node78 = makeLocationNode({
71
+ service: Service74,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node81, node57]
73
+ deps: [CrossSpawnSpawner.node, node81, node79]
74
74
  });
75
75
 
76
- export { Service51, node56, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service74, node78, exports_environment2, makeFiles2, exports_environment3 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./tool-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service39,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service39 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service39.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service39, awaitActivation2, exports_service };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./filesystem-dx6jvs3w.js";
3
+ } from "./tool-hvcjdrj2.js";
4
4
  import {
5
5
  OAuth3,
6
- Event16
7
- } from "./filesystem-tj953jaq.js";
6
+ Event19
7
+ } from "./tool-83n1dzne.js";
8
8
  import {
9
- ID8,
9
+ ID5,
10
10
  MethodID2
11
- } from "./filesystem-67pthv0s.js";
11
+ } from "./tool-622ah2gs.js";
12
12
  import {
13
- ID15,
13
+ ID14,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./filesystem-1b1ar3e7.js";
16
+ } from "./tool-jfpzywp2.js";
17
17
  import {
18
- ID4,
18
+ ID3,
19
19
  Input13,
20
20
  Response2
21
- } from "./filesystem-gr04s9gg.js";
21
+ } from "./tool-nqz62vb6.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID4
35
+ providerID: ID3
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID8.make("opencode"),
57
+ integrationID: ID5.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  catalog.provider.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID8.make("opencode");
128
+ provider.integrationID = ID5.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
188
188
  });
189
189
  }
190
190
  }
191
- const item = catalog.provider.get(ID15.opencode);
191
+ const item = catalog.provider.get(ID14.opencode);
192
192
  if (!item)
193
193
  return;
194
194
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
249
249
  yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
250
250
  });
251
251
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
252
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
253
253
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
254
254
  })
255
255
  });
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./filesystem-922hggd3.js";
5
+ } from "./tool-922hggd3.js";
6
6
  import {
7
- Service51,
8
- node56
9
- } from "./filesystem-wx8vgsfk.js";
7
+ Service74,
8
+ node78
9
+ } from "./tool-n6pkm576.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./filesystem-8d7r5vzw.js";
12
+ } from "./tool-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./filesystem-9rqn6x4v.js";
15
+ } from "./tool-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service50,
24
- node: () => node55
23
+ Service: () => Service26,
24
+ node: () => node30
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service50 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service26 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service50, Effect.gen(function* () {
67
- const environment = yield* Service51;
66
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
67
+ const environment = yield* Service74;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service50.of({
95
+ return Service26.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node55 = makeLocationNode({ service: Service50, layer, deps: [node56, RipgrepBinary2.node] });
178
+ var node30 = makeLocationNode({ service: Service26, layer, deps: [node78, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service50, node55, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service26, node30, exports_ripgrep };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./filesystem-fp9646aj.js";
4
+ } from "./tool-859kcgs2.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./filesystem-f828m53h.js";
7
+ } from "./tool-hdnk95c8.js";
8
8
  import {
9
9
  __export
10
- } from "./filesystem-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID11,
17
- Info: () => Info22,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID9,
17
+ Info: () => Info13,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service65,
21
- node: () => node70
20
+ Service: () => Service57,
21
+ node: () => node61
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID11 = PermissionSaved.ID;
29
- var Info22 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info13 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service65 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service57 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service65, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
42
42
  const db = (yield* Service80).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID11.create(),
56
+ id: ID9.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service65.of({ list, add, remove });
65
+ return Service57.of({ list, add, remove });
66
66
  }));
67
- var node70 = makeGlobalNode({ service: Service65, layer, deps: [node85] });
67
+ var node61 = makeGlobalNode({ service: Service57, layer, deps: [node85] });
68
68
 
69
- export { ID11, Info22, ListInput5, AddInput2, Service65, node70, exports_saved };
69
+ export { ID9, Info13, ListInput4, AddInput2, Service57, node61, exports_saved };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./filesystem-dx6jvs3w.js";
4
+ } from "./tool-hvcjdrj2.js";
5
5
  import {
6
- Service73,
7
- node78
8
- } from "./filesystem-3s4rvetn.js";
6
+ Service70,
7
+ node74
8
+ } from "./tool-egp6178n.js";
9
9
  import {
10
10
  create3
11
- } from "./filesystem-kg06axw8.js";
11
+ } from "./tool-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./tool-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
20
  Event: () => Event5,
21
- ID: () => ID4,
21
+ ID: () => ID3,
22
22
  Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,9 +28,9 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service19,
31
+ Service: () => Service21,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node23
33
+ node: () => node25
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
@@ -38,19 +38,19 @@ import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import { Event as Event5 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
41
+ var ID3 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID3, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID3
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID3,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service19 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service21 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service19, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
69
69
  const bus = yield* Service79;
70
- const kv = yield* Service73;
70
+ const kv = yield* Service70;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service19.of({
127
+ return Service21.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node23 = makeLocationNode({
188
- service: Service19,
187
+ var node25 = makeLocationNode({
188
+ service: Service21,
189
189
  layer,
190
- deps: [node84, node78]
190
+ deps: [node84, node74]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service19, node23, exports_websearch3, Event5 };
193
+ export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service21, node25, exports_websearch3, Event5 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info26
5
- } from "./filesystem-1b1ar3e7.js";
4
+ Info28
5
+ } from "./tool-jfpzywp2.js";
6
6
  import {
7
- Info24
8
- } from "./filesystem-3t5n67ye.js";
7
+ Info26
8
+ } from "./tool-jp8xd6mf.js";
9
9
  import {
10
10
  Service79,
11
11
  node84
12
- } from "./filesystem-dx6jvs3w.js";
12
+ } from "./tool-hvcjdrj2.js";
13
13
  import {
14
14
  create3
15
- } from "./filesystem-kg06axw8.js";
15
+ } from "./tool-kg06axw8.js";
16
16
  import {
17
- ID8,
18
- Service61,
19
- node66
20
- } from "./filesystem-67pthv0s.js";
17
+ ID5,
18
+ Service52,
19
+ node56
20
+ } from "./tool-622ah2gs.js";
21
21
  import {
22
22
  __export
23
- } from "./filesystem-9rqn6x4v.js";
23
+ } from "./tool-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event12,
30
- Service: () => Service60,
31
- node: () => node65
29
+ Event: () => Event10,
30
+ Service: () => Service51,
31
+ node: () => node55
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event12 } from "@opencode/schema/catalog";
36
+ import { Event as Event10 } from "@opencode/schema/catalog";
37
37
 
38
- class Service60 extends Context.Service()("@opencode/Catalog") {
38
+ class Service51 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service60, Effect.gen(function* () {
40
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
41
41
  const bus = yield* Service79;
42
- const integrations = yield* Service61;
42
+ const integrations = yield* Service52;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
72
72
  let current = editor.providers.get(providerID);
73
73
  if (!current) {
74
74
  current = {
75
- provider: Info26.empty(providerID),
75
+ provider: Info28.empty(providerID),
76
76
  models: new Map
77
77
  };
78
78
  editor.providers.set(providerID, current);
@@ -90,12 +90,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
90
90
  let record = editor.providers.get(providerID);
91
91
  if (!record) {
92
92
  record = {
93
- provider: Info26.empty(providerID),
93
+ provider: Info28.empty(providerID),
94
94
  models: new Map
95
95
  };
96
96
  editor.providers.set(providerID, record);
97
97
  }
98
- const model = record.models.get(modelID) ?? Info24.default(providerID, modelID);
98
+ const model = record.models.get(modelID) ?? Info26.default(providerID, modelID);
99
99
  if (!record.models.has(modelID))
100
100
  record.models.set(modelID, model);
101
101
  fn(model);
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
129
129
  }),
130
130
  available: Effect.fn("Catalog.provider.available")(function* () {
131
131
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
132
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID8.make(provider.id))));
132
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID5.make(provider.id))));
133
133
  })
134
134
  },
135
135
  model: {
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
184
184
  })
185
185
  }
186
186
  };
187
- return Service60.of(result);
187
+ return Service51.of(result);
188
188
  }));
189
189
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
190
- var node65 = makeLocationNode({ service: Service60, layer, deps: [node84, node66] });
190
+ var node55 = makeLocationNode({ service: Service51, layer, deps: [node84, node56] });
191
191
 
192
- export { Service60, node65, exports_catalog2, Event12 };
192
+ export { Service51, node55, exports_catalog2, Event10 };