@opencode/core 0.0.0-dev-20248 → 0.0.0-dev-20250

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{repository-cache-bkyxyg8h.js → tool-089t50vm.js} +23 -23
  8. package/dist/chunks/{repository-cache-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{repository-cache-by47bvwa.js → tool-0rban3yw.js} +13 -13
  10. package/dist/chunks/{repository-cache-nsbfzarf.js → tool-0t6cxkbd.js} +25 -25
  11. package/dist/chunks/{repository-cache-4t56bhmg.js → tool-0tdgw0ar.js} +12 -12
  12. package/dist/chunks/{repository-cache-dqw8sfxx.js → tool-0z09521w.js} +2 -2
  13. package/dist/chunks/{repository-cache-fj1n3k37.js → tool-156zbn1d.js} +9 -9
  14. package/dist/chunks/{repository-cache-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{repository-cache-4e1ama98.js → tool-1rtbc53y.js} +3 -3
  16. package/dist/chunks/{repository-cache-33w4ejhs.js → tool-1ygqh575.js} +6 -6
  17. package/dist/chunks/{repository-cache-21r38tys.js → tool-21r38tys.js} +1 -1
  18. package/dist/chunks/{repository-cache-e6zyer8f.js → tool-228xbxgc.js} +15 -15
  19. package/dist/chunks/{repository-cache-3sdjj4an.js → tool-24ajxhwn.js} +16 -16
  20. package/dist/chunks/{repository-cache-0vvxryhs.js → tool-2756h3zt.js} +15 -15
  21. package/dist/chunks/{repository-cache-jg9znx1t.js → tool-2844q2j5.js} +5 -5
  22. package/dist/chunks/{repository-cache-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{repository-cache-7x0c6mmr.js → tool-2f56s268.js} +23 -23
  24. package/dist/chunks/{repository-cache-bzgzbtys.js → tool-2kw3wt25.js} +12 -12
  25. package/dist/chunks/{repository-cache-c8fx5zam.js → tool-2r0dzprv.js} +7 -7
  26. package/dist/chunks/{repository-cache-cwa6csj7.js → tool-2sejkfem.js} +9 -9
  27. package/dist/chunks/{repository-cache-a4ns85mx.js → tool-339g4gdd.js} +24 -24
  28. package/dist/chunks/{repository-cache-3k4dry0a.js → tool-34er3540.js} +26 -26
  29. package/dist/chunks/{repository-cache-91nb1jqk.js → tool-38wrebp5.js} +43 -43
  30. package/dist/chunks/{repository-cache-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{repository-cache-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{repository-cache-ev9gp3cm.js → tool-3kzfkvq2.js} +11 -11
  33. package/dist/chunks/{repository-cache-4jemq3kp.js → tool-3m8mva6z.js} +14 -14
  34. package/dist/chunks/{repository-cache-wm6eqmjh.js → tool-3refetkt.js} +3 -3
  35. package/dist/chunks/{repository-cache-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{repository-cache-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{repository-cache-dzk760wa.js → tool-3zf7ee43.js} +3 -3
  38. package/dist/chunks/{repository-cache-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{repository-cache-0qm7vwzr.js → tool-44g9bvrf.js} +12 -12
  40. package/dist/chunks/{repository-cache-5x0bqqwq.js → tool-482tjr68.js} +5 -5
  41. package/dist/chunks/{repository-cache-xczp8xr7.js → tool-4gy81ws5.js} +21 -21
  42. package/dist/chunks/{repository-cache-cd4qqjqw.js → tool-4qn8cb3g.js} +33 -33
  43. package/dist/chunks/{repository-cache-91aa3a25.js → tool-4vxt5jt3.js} +16 -16
  44. package/dist/chunks/{repository-cache-ckecvw8r.js → tool-54tcyq79.js} +2 -2
  45. package/dist/chunks/{repository-cache-81vvr7wj.js → tool-5595mwca.js} +71 -71
  46. package/dist/chunks/{repository-cache-ssz3s5wm.js → tool-572k1pdw.js} +37 -37
  47. package/dist/chunks/{repository-cache-5daktx2q.js → tool-5daktx2q.js} +1 -1
  48. package/dist/chunks/{repository-cache-2q54vq3t.js → tool-5g3whhj5.js} +11 -11
  49. package/dist/chunks/{repository-cache-ht7262xq.js → tool-5q9n4mzc.js} +14 -14
  50. package/dist/chunks/{repository-cache-qg8cy7et.js → tool-5r4dt47c.js} +10 -10
  51. package/dist/chunks/{repository-cache-9hy0f780.js → tool-5t1f4rw7.js} +48 -48
  52. package/dist/chunks/{repository-cache-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{repository-cache-669tq793.js → tool-669tq793.js} +1 -1
  54. package/dist/chunks/{repository-cache-r5h1gx5m.js → tool-66ae9dn1.js} +11 -11
  55. package/dist/chunks/{repository-cache-m1yw9ks4.js → tool-67kma7bn.js} +10 -10
  56. package/dist/chunks/{repository-cache-7w99qc9d.js → tool-6bsje7ws.js} +3 -3
  57. package/dist/chunks/{repository-cache-wk5z6jzv.js → tool-6hjx5zpb.js} +9 -9
  58. package/dist/chunks/{repository-cache-repe8m51.js → tool-6jz68697.js} +24 -24
  59. package/dist/chunks/{repository-cache-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
  60. package/dist/chunks/{repository-cache-08cc3crx.js → tool-6s622yr1.js} +12 -12
  61. package/dist/chunks/{repository-cache-f7rj482f.js → tool-6ysrkrkr.js} +8 -8
  62. package/dist/chunks/{repository-cache-73tb2d7t.js → tool-73tb2d7t.js} +1 -1
  63. package/dist/chunks/{repository-cache-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{repository-cache-qwggzqz9.js → tool-7ef2cf21.js} +30 -30
  65. package/dist/chunks/{repository-cache-h4xmhyrc.js → tool-7fzckgvn.js} +13 -13
  66. package/dist/chunks/{repository-cache-9brpyp0y.js → tool-7kn0n9pm.js} +5 -5
  67. package/dist/chunks/{repository-cache-j6k053yf.js → tool-7q5pky5y.js} +4 -4
  68. package/dist/chunks/{repository-cache-4jv7e9dq.js → tool-7s6gk46a.js} +6 -6
  69. package/dist/chunks/{repository-cache-07vj3bh8.js → tool-8096wrwr.js} +23 -23
  70. package/dist/chunks/{repository-cache-w1eejvng.js → tool-84txncab.js} +5 -5
  71. package/dist/chunks/{repository-cache-z45tr6e4.js → tool-853r27ye.js} +22 -22
  72. package/dist/chunks/{repository-cache-kjz0qpx3.js → tool-8bqa7fc6.js} +8 -8
  73. package/dist/chunks/{repository-cache-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/tool-8dc69bj5.js +507 -0
  75. package/dist/chunks/{repository-cache-dn7htzk3.js → tool-8grz10yw.js} +18 -18
  76. package/dist/chunks/{repository-cache-affanax3.js → tool-8qmd1pgy.js} +26 -26
  77. package/dist/chunks/{repository-cache-py3kkmfq.js → tool-8sze2n9a.js} +6 -6
  78. package/dist/chunks/{repository-cache-aa27w7jm.js → tool-92dd2pjn.js} +8 -8
  79. package/dist/chunks/{repository-cache-zsdgyv36.js → tool-95n4m8dv.js} +31 -31
  80. package/dist/chunks/{repository-cache-dv1qgsyq.js → tool-9hn6k4tm.js} +4 -4
  81. package/dist/chunks/{repository-cache-zp37bve8.js → tool-9wey92tn.js} +18 -18
  82. package/dist/chunks/{repository-cache-8qvzptz7.js → tool-9x77fmbz.js} +4 -4
  83. package/dist/chunks/{repository-cache-ds2pk4bj.js → tool-a12ny575.js} +28 -28
  84. package/dist/chunks/{repository-cache-magykp64.js → tool-a8bn8zg0.js} +4 -4
  85. package/dist/chunks/{repository-cache-aaet6srn.js → tool-aaet6srn.js} +2 -2
  86. package/dist/chunks/{repository-cache-f8akmggk.js → tool-ab800qgh.js} +26 -26
  87. package/dist/chunks/{repository-cache-qby9dwvd.js → tool-at1kfnmk.js} +8 -8
  88. package/dist/chunks/{repository-cache-za7gw4wk.js → tool-awfma6nb.js} +6 -6
  89. package/dist/chunks/{repository-cache-hz6g7x4z.js → tool-azhaj76f.js} +8 -8
  90. package/dist/chunks/{repository-cache-n1ka8r9d.js → tool-b0vhkd8y.js} +4 -4
  91. package/dist/chunks/{repository-cache-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
  92. package/dist/chunks/{repository-cache-x9wftsq0.js → tool-b8mzk2bb.js} +5 -5
  93. package/dist/chunks/{repository-cache-vrxara3k.js → tool-b9skyj6x.js} +45 -45
  94. package/dist/chunks/{repository-cache-zvq7xtcr.js → tool-bdnxdzhr.js} +23 -23
  95. package/dist/chunks/{repository-cache-db9rkawd.js → tool-bf7nh1j5.js} +44 -44
  96. package/dist/chunks/{repository-cache-6vjypkf7.js → tool-bfz40jc4.js} +22 -22
  97. package/dist/chunks/{repository-cache-aj81xsja.js → tool-bgyet4nh.js} +24 -24
  98. package/dist/chunks/{repository-cache-xqspxtf3.js → tool-bhnv13g4.js} +1 -1
  99. package/dist/chunks/{repository-cache-z07pqspn.js → tool-bjtzbw4r.js} +3 -3
  100. package/dist/chunks/{repository-cache-r21ez3wq.js → tool-bt1rrqjq.js} +9 -9
  101. package/dist/chunks/{repository-cache-bqrz9ag7.js → tool-bz49ytrm.js} +26 -26
  102. package/dist/chunks/{repository-cache-pkqjp23s.js → tool-c0pp0gx6.js} +7 -7
  103. package/dist/chunks/{repository-cache-vstzsebn.js → tool-c1741tf2.js} +5 -5
  104. package/dist/chunks/{repository-cache-x3jaej8z.js → tool-c2zqmqqh.js} +11 -11
  105. package/dist/chunks/{repository-cache-2fem29gc.js → tool-c8hdf53d.js} +25 -25
  106. package/dist/chunks/{repository-cache-8mzhkqz2.js → tool-cdd241tg.js} +25 -25
  107. package/dist/chunks/{repository-cache-q3tmtmkh.js → tool-cf1mja65.js} +11 -11
  108. package/dist/chunks/{repository-cache-36z7zph9.js → tool-crmtq7c0.js} +15 -15
  109. package/dist/chunks/{repository-cache-s0xttw3k.js → tool-czkrkmgx.js} +22 -22
  110. package/dist/chunks/{repository-cache-aabh3rnp.js → tool-d5e4twxw.js} +10 -10
  111. package/dist/chunks/{repository-cache-g9by7d7e.js → tool-d86bmrwq.js} +11 -11
  112. package/dist/chunks/{repository-cache-57ez7d0k.js → tool-d9s573fh.js} +2 -2
  113. package/dist/chunks/{repository-cache-gqf2e7w5.js → tool-dejqpjjg.js} +20 -20
  114. package/dist/chunks/{repository-cache-058qq49r.js → tool-dnn8jac4.js} +27 -27
  115. package/dist/chunks/{repository-cache-ecfe7b91.js → tool-ecfe7b91.js} +2 -2
  116. package/dist/chunks/{repository-cache-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  117. package/dist/chunks/{repository-cache-wfv2770d.js → tool-en84zv0j.js} +22 -22
  118. package/dist/chunks/{repository-cache-asmhed6t.js → tool-esdbr59h.js} +8 -8
  119. package/dist/chunks/{repository-cache-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
  120. package/dist/chunks/{repository-cache-9609hank.js → tool-evbd4bna.js} +4 -4
  121. package/dist/chunks/{repository-cache-13zjnhww.js → tool-f07bsgse.js} +15 -15
  122. package/dist/chunks/{repository-cache-syf57q56.js → tool-f29mbr7f.js} +4 -4
  123. package/dist/chunks/{repository-cache-qg0jgkcp.js → tool-f7j90zp2.js} +9 -9
  124. package/dist/chunks/{repository-cache-ss901cdy.js → tool-f8rqg7d1.js} +3 -3
  125. package/dist/chunks/{repository-cache-y9v1kb8k.js → tool-fcv60zmd.js} +18 -18
  126. package/dist/chunks/{repository-cache-nng2ktcm.js → tool-ff0svapt.js} +2 -2
  127. package/dist/chunks/{repository-cache-prak7c72.js → tool-fy2gbg5p.js} +22 -22
  128. package/dist/chunks/{repository-cache-yw0b1808.js → tool-fz3j06zq.js} +8 -8
  129. package/dist/chunks/{repository-cache-cn13n8vv.js → tool-g18xrwnx.js} +12 -12
  130. package/dist/chunks/{repository-cache-mfzsbzca.js → tool-g4cac8ef.js} +21 -21
  131. package/dist/chunks/{repository-cache-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  132. package/dist/chunks/{repository-cache-xrrx02dm.js → tool-gf60dj4k.js} +37 -37
  133. package/dist/chunks/{repository-cache-94ek1h2f.js → tool-gfvb90ym.js} +2 -2
  134. package/dist/chunks/{repository-cache-88rp6a5n.js → tool-gvf9bzs6.js} +27 -27
  135. package/dist/chunks/{repository-cache-eyj2vfft.js → tool-gxf934mz.js} +12 -12
  136. package/dist/chunks/{repository-cache-c1y3bnfr.js → tool-gyb99kyw.js} +22 -22
  137. package/dist/chunks/{repository-cache-pkaxfq83.js → tool-gzgv62vm.js} +30 -30
  138. package/dist/chunks/{repository-cache-4dgbcxzg.js → tool-h6r3nrb9.js} +4 -4
  139. package/dist/chunks/{repository-cache-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  140. package/dist/chunks/{repository-cache-g5wjn8h2.js → tool-h7yw06f0.js} +4 -4
  141. package/dist/chunks/{repository-cache-k8hpw67k.js → tool-hbyhqfhs.js} +5 -5
  142. package/dist/chunks/{repository-cache-kpcpgk5c.js → tool-hegd5844.js} +80 -80
  143. package/dist/chunks/{repository-cache-h7gdr3a3.js → tool-hk614gwz.js} +41 -41
  144. package/dist/chunks/{repository-cache-se8vzq67.js → tool-hm0ghfbf.js} +17 -17
  145. package/dist/chunks/{repository-cache-b8286ec0.js → tool-hmwat8vc.js} +8 -8
  146. package/dist/chunks/{repository-cache-bw43118n.js → tool-hq93snkq.js} +26 -26
  147. package/dist/chunks/{repository-cache-kf2m36k8.js → tool-hrrvjwek.js} +24 -24
  148. package/dist/chunks/tool-ht5y0zrb.js +18 -0
  149. package/dist/chunks/{repository-cache-dgfhv2ra.js → tool-hvcfnpzs.js} +13 -13
  150. package/dist/chunks/{repository-cache-6anwy9fs.js → tool-j15mfg1p.js} +6 -6
  151. package/dist/chunks/{repository-cache-zp0a9bvk.js → tool-j2mr6y77.js} +9 -9
  152. package/dist/chunks/{repository-cache-zd55pfdc.js → tool-j45tg8np.js} +34 -34
  153. package/dist/chunks/{repository-cache-j56e64zr.js → tool-j56e64zr.js} +1 -1
  154. package/dist/chunks/{repository-cache-sqghgrkn.js → tool-j59psk5p.js} +10 -10
  155. package/dist/chunks/{repository-cache-g9tjzdrf.js → tool-jdvtaw2e.js} +11 -11
  156. package/dist/chunks/{repository-cache-t0fxg8b9.js → tool-jeknfs5c.js} +5 -5
  157. package/dist/chunks/{repository-cache-abeafk4b.js → tool-jr28mrxh.js} +21 -21
  158. package/dist/chunks/{repository-cache-87f3zbh4.js → tool-jtcj11mm.js} +11 -11
  159. package/dist/chunks/{repository-cache-w9cye5bh.js → tool-k2pkt5dm.js} +5 -5
  160. package/dist/chunks/{repository-cache-a910jp2g.js → tool-k514m870.js} +18 -18
  161. package/dist/chunks/{repository-cache-4a2epabq.js → tool-k7j7s7sa.js} +4 -4
  162. package/dist/chunks/{repository-cache-e2hjzebn.js → tool-kne8f3cn.js} +4 -4
  163. package/dist/chunks/{repository-cache-ztnbdf6q.js → tool-kvny42nn.js} +24 -24
  164. package/dist/chunks/tool-kvsn2a38.js +252 -0
  165. package/dist/chunks/{repository-cache-bqedhbkq.js → tool-m096yd83.js} +6 -6
  166. package/dist/chunks/{repository-cache-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
  167. package/dist/chunks/{repository-cache-2cmv458r.js → tool-m64xvjj1.js} +5 -5
  168. package/dist/chunks/{repository-cache-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  169. package/dist/chunks/{repository-cache-sjr0pt8x.js → tool-mbevs47a.js} +8 -8
  170. package/dist/chunks/{repository-cache-23hratnr.js → tool-mbsehe5v.js} +13 -13
  171. package/dist/chunks/{repository-cache-yx1pxd6d.js → tool-mbwany8q.js} +11 -11
  172. package/dist/chunks/{repository-cache-wtvz5zte.js → tool-mc0emygj.js} +20 -20
  173. package/dist/chunks/{repository-cache-bvpkk3q2.js → tool-mdyteabe.js} +3 -3
  174. package/dist/chunks/{repository-cache-p5hvz7y2.js → tool-mpyxb9wp.js} +10 -10
  175. package/dist/chunks/{repository-cache-eqkxs06z.js → tool-mx9vqzsb.js} +6 -6
  176. package/dist/chunks/{repository-cache-kayzqgev.js → tool-mxw2n1pp.js} +20 -20
  177. package/dist/chunks/{repository-cache-0nqfdzfg.js → tool-mybpd4me.js} +11 -11
  178. package/dist/chunks/{repository-cache-19jrchnq.js → tool-n26b57vp.js} +9 -9
  179. package/dist/chunks/{repository-cache-0xpxvgpn.js → tool-n8j3kf0h.js} +6 -6
  180. package/dist/chunks/{repository-cache-c5yp82fd.js → tool-na49kjq7.js} +18 -18
  181. package/dist/chunks/{repository-cache-z5crsmww.js → tool-nap39a15.js} +9 -9
  182. package/dist/chunks/{repository-cache-7jr3mcnt.js → tool-nb8f0xyk.js} +33 -33
  183. package/dist/chunks/tool-nd24615b.js +26 -0
  184. package/dist/chunks/{repository-cache-4t3er74t.js → tool-ne3p3r7w.js} +43 -43
  185. package/dist/chunks/{repository-cache-r2gywbkr.js → tool-nrfagrkx.js} +5 -5
  186. package/dist/chunks/{repository-cache-yyqd12fs.js → tool-nz49d44e.js} +7 -7
  187. package/dist/chunks/{repository-cache-5nsxsham.js → tool-nz4rjcy7.js} +5 -5
  188. package/dist/chunks/{repository-cache-nzks3jc8.js → tool-nzks3jc8.js} +3 -3
  189. package/dist/chunks/{repository-cache-pe82yt1p.js → tool-pbbypdpt.js} +6 -6
  190. package/dist/chunks/{repository-cache-z0aj456m.js → tool-ph842b28.js} +4 -4
  191. package/dist/chunks/{repository-cache-jd97cc84.js → tool-pj0sbgvb.js} +2 -2
  192. package/dist/chunks/{repository-cache-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{repository-cache-pknna89w.js → tool-pknna89w.js} +1 -1
  194. package/dist/chunks/{repository-cache-wd3x2cqz.js → tool-psazpmmj.js} +2 -2
  195. package/dist/chunks/{repository-cache-11jdz1a5.js → tool-q7pmkv96.js} +8 -8
  196. package/dist/chunks/{repository-cache-fy93ygep.js → tool-q87t05d4.js} +20 -20
  197. package/dist/chunks/{repository-cache-mtqw2cwj.js → tool-qan9v5dp.js} +10 -10
  198. package/dist/chunks/{repository-cache-2k8khapm.js → tool-qgn6gcr1.js} +5 -5
  199. package/dist/chunks/{repository-cache-qjd41qs4.js → tool-qk7cxx71.js} +3 -3
  200. package/dist/chunks/{repository-cache-ryr25ayn.js → tool-qm0v3jhh.js} +7 -7
  201. package/dist/chunks/{repository-cache-yb7k7myq.js → tool-qrvqqxe1.js} +6 -6
  202. package/dist/chunks/{repository-cache-qsdy395h.js → tool-qsdy395h.js} +1 -1
  203. package/dist/chunks/{repository-cache-t7ag8xg6.js → tool-qt4m2w6j.js} +12 -12
  204. package/dist/chunks/{repository-cache-x8mth232.js → tool-r3tsythc.js} +11 -11
  205. package/dist/chunks/{repository-cache-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  206. package/dist/chunks/{repository-cache-427t97hr.js → tool-rk1r2hx8.js} +1 -1
  207. package/dist/chunks/{repository-cache-32ymn5e1.js → tool-rkg3eda0.js} +3 -3
  208. package/dist/chunks/{repository-cache-m1zaf8q8.js → tool-rpayzx76.js} +11 -11
  209. package/dist/chunks/{repository-cache-zeh9ct20.js → tool-rq775frq.js} +2 -2
  210. package/dist/chunks/{repository-cache-ydgy0jv4.js → tool-rrkxh1xc.js} +8 -8
  211. package/dist/chunks/{repository-cache-e3k6knef.js → tool-rvnp213s.js} +13 -13
  212. package/dist/chunks/{repository-cache-pb1eahw5.js → tool-s0k7kba5.js} +8 -8
  213. package/dist/chunks/{repository-cache-fnyn8exm.js → tool-s61zg2sx.js} +21 -21
  214. package/dist/chunks/{repository-cache-j1fzn4b4.js → tool-s6667w8r.js} +27 -27
  215. package/dist/chunks/{repository-cache-t550f9t1.js → tool-s8d7rejh.js} +4 -4
  216. package/dist/chunks/{repository-cache-dtnqh7xf.js → tool-s8r7tdep.js} +17 -17
  217. package/dist/chunks/{repository-cache-eeaf82dq.js → tool-sm965ndy.js} +8 -8
  218. package/dist/chunks/{repository-cache-1e3wa6g2.js → tool-snak5hvk.js} +3 -3
  219. package/dist/chunks/{repository-cache-kn0wphkh.js → tool-sp6nzby6.js} +17 -17
  220. package/dist/chunks/{repository-cache-cafc3hsg.js → tool-ss7b6637.js} +21 -21
  221. package/dist/chunks/{repository-cache-ea3ghczx.js → tool-st6ezctj.js} +21 -21
  222. package/dist/chunks/{repository-cache-sx1n432n.js → tool-sx1n432n.js} +1 -1
  223. package/dist/chunks/{repository-cache-pnef2ahb.js → tool-sx3y5fj3.js} +18 -18
  224. package/dist/chunks/{repository-cache-4jaemszs.js → tool-sx8pbsn3.js} +1 -1
  225. package/dist/chunks/{repository-cache-9t1gynrw.js → tool-t0v30r21.js} +33 -33
  226. package/dist/chunks/{repository-cache-vfm2ry0n.js → tool-t6f3tx9e.js} +16 -16
  227. package/dist/chunks/{repository-cache-1jrf61rm.js → tool-t8fp8shj.js} +8 -8
  228. package/dist/chunks/{repository-cache-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{repository-cache-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{repository-cache-tdstcens.js → tool-tdstcens.js} +1 -1
  231. package/dist/chunks/{repository-cache-yt1agsr0.js → tool-tf5z8ds5.js} +82 -82
  232. package/dist/chunks/{repository-cache-afed7ext.js → tool-tgcnk5sw.js} +5 -5
  233. package/dist/chunks/{repository-cache-0988adk2.js → tool-tped05vh.js} +10 -10
  234. package/dist/chunks/{repository-cache-4vekh9c8.js → tool-tscedkbb.js} +23 -23
  235. package/dist/chunks/{repository-cache-tvtrv512.js → tool-tvtrv512.js} +1 -1
  236. package/dist/chunks/{repository-cache-b7xasgp7.js → tool-tw1518mg.js} +32 -32
  237. package/dist/chunks/{repository-cache-wtp2v689.js → tool-tw8msnma.js} +33 -33
  238. package/dist/chunks/{repository-cache-qjnxxf51.js → tool-v5hpcsb0.js} +5 -5
  239. package/dist/chunks/{repository-cache-kbckyd8w.js → tool-v6wpha0s.js} +10 -10
  240. package/dist/chunks/{repository-cache-6rm5yzkt.js → tool-v7z2bvyd.js} +4 -4
  241. package/dist/chunks/{repository-cache-1qksrx13.js → tool-v9azycg2.js} +171 -171
  242. package/dist/chunks/{repository-cache-veqvce7d.js → tool-veqvce7d.js} +1 -1
  243. package/dist/chunks/{repository-cache-0thxwbsq.js → tool-vgc515rw.js} +11 -11
  244. package/dist/chunks/{repository-cache-dpahde6h.js → tool-vkt5fbj2.js} +8 -8
  245. package/dist/chunks/{repository-cache-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{repository-cache-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{repository-cache-rrytxcw3.js → tool-w0nekgnm.js} +13 -13
  248. package/dist/chunks/{repository-cache-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{repository-cache-c9xaha6y.js → tool-w9eep941.js} +12 -12
  250. package/dist/chunks/{repository-cache-wd87259q.js → tool-wd87259q.js} +1 -1
  251. package/dist/chunks/{repository-cache-cwvtaad0.js → tool-wegenthg.js} +3 -3
  252. package/dist/chunks/{repository-cache-mgmaefw5.js → tool-wnys78fq.js} +3 -3
  253. package/dist/chunks/{repository-cache-v6f0g2q9.js → tool-wr45tetb.js} +13 -13
  254. package/dist/chunks/{repository-cache-5nh1jpgd.js → tool-x0a0yekz.js} +26 -26
  255. package/dist/chunks/{repository-cache-f01042q8.js → tool-x0jb1jdp.js} +48 -48
  256. package/dist/chunks/{repository-cache-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{repository-cache-1v8zdmks.js → tool-x9k16b3s.js} +37 -37
  258. package/dist/chunks/{repository-cache-ftyydgn8.js → tool-xb3vdrw4.js} +9 -9
  259. package/dist/chunks/{repository-cache-xfkkasph.js → tool-xfkkasph.js} +1 -1
  260. package/dist/chunks/{repository-cache-z9r8pcs3.js → tool-xh1mjdjn.js} +11 -11
  261. package/dist/chunks/{repository-cache-xkntkrq7.js → tool-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{repository-cache-078rgkvc.js → tool-xsdq6bqp.js} +17 -17
  263. package/dist/chunks/{repository-cache-g5agzp2h.js → tool-xvp1j2dc.js} +5 -5
  264. package/dist/chunks/{repository-cache-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{repository-cache-npc9mpth.js → tool-y42b8cv2.js} +46 -46
  266. package/dist/chunks/{repository-cache-y71avatq.js → tool-y71avatq.js} +1 -1
  267. package/dist/chunks/{repository-cache-wjqrnc96.js → tool-ya67rv83.js} +9 -9
  268. package/dist/chunks/{repository-cache-t043jrc7.js → tool-yde4rd9n.js} +38 -38
  269. package/dist/chunks/{repository-cache-ym34xzwb.js → tool-yhrvzzm5.js} +6 -6
  270. package/dist/chunks/{repository-cache-m5gw4h36.js → tool-ymc24fzh.js} +4 -4
  271. package/dist/chunks/{repository-cache-9y7gjzcp.js → tool-ymxbe15q.js} +9 -9
  272. package/dist/chunks/{repository-cache-1acjjqhc.js → tool-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{repository-cache-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{repository-cache-yrznvahk.js → tool-yrznvahk.js} +2 -2
  275. package/dist/chunks/{repository-cache-7rwbexbt.js → tool-yw2sxgfv.js} +6 -6
  276. package/dist/chunks/{repository-cache-gv6a8nnw.js → tool-yyb7tjpc.js} +2 -2
  277. package/dist/chunks/{repository-cache-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{repository-cache-0f9afca0.js → tool-z2zvggat.js} +5 -5
  279. package/dist/chunks/{repository-cache-7c5r8mwm.js → tool-z35gvgt2.js} +22 -22
  280. package/dist/chunks/{repository-cache-z63w68vq.js → tool-z63w68vq.js} +2 -2
  281. package/dist/chunks/{repository-cache-pxm4np1h.js → tool-z6x8kbkg.js} +13 -13
  282. package/dist/chunks/{repository-cache-097j89tx.js → tool-z6zc42bw.js} +42 -42
  283. package/dist/chunks/{repository-cache-y16p1w2y.js → tool-zab19jja.js} +9 -9
  284. package/dist/chunks/{repository-cache-88bzbqnm.js → tool-zfn0z4x2.js} +13 -13
  285. package/dist/chunks/{repository-cache-tjm97nt9.js → tool-zh4jp52e.js} +20 -20
  286. package/dist/chunks/{repository-cache-th00ytsn.js → tool-zppcctbg.js} +21 -21
  287. package/dist/chunks/{repository-cache-29kpjvxb.js → tool-zq0me3ea.js} +11 -11
  288. package/dist/chunks/{repository-cache-292dnxcy.js → tool-zqvbpqdr.js} +11 -11
  289. package/dist/chunks/{repository-cache-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{repository-cache-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +83 -83
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +123 -123
  300. package/dist/config/plugin/command.js +212 -212
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +130 -130
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +123 -123
  312. package/dist/config/plugin/shell.js +123 -123
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +142 -142
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +124 -124
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +122 -122
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +81 -81
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +93 -93
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +70 -70
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +99 -99
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +102 -102
  430. package/dist/form.js +78 -78
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +87 -87
  433. package/dist/generate.js +101 -101
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +91 -91
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +361 -361
  459. package/dist/instruction-discovery.js +85 -85
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +84 -84
  464. package/dist/job.js +79 -79
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +132 -132
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +358 -358
  471. package/dist/location.js +81 -81
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +108 -108
  475. package/dist/mcp/instructions.js +128 -128
  476. package/dist/mcp/oauth.js +78 -78
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +91 -91
  480. package/dist/model-resolver.js +98 -98
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +107 -107
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +80 -80
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +107 -107
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +86 -86
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +102 -102
  493. package/dist/plugin/command.js +99 -99
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +3 -3
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +122 -122
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +94 -94
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +77 -77
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +94 -94
  526. package/dist/plugin/provider/opencode.js +95 -95
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +78 -78
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +122 -122
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +161 -161
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +141 -141
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +352 -352
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +225 -225
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +80 -80
  562. package/dist/provider.js +97 -97
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +93 -93
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +79 -79
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +74 -74
  575. package/dist/session/compaction.js +132 -132
  576. package/dist/session/context.js +152 -152
  577. package/dist/session/diff.js +88 -88
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +3 -3
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +221 -221
  582. package/dist/session/execution.js +128 -128
  583. package/dist/session/generate.js +151 -151
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +77 -77
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +93 -93
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +119 -119
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +130 -130
  595. package/dist/session/projector.js +86 -86
  596. package/dist/session/prompt.js +105 -105
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +90 -90
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +231 -231
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +98 -98
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +4 -4
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +170 -170
  610. package/dist/session/shell.js +138 -138
  611. package/dist/session/skill.js +103 -103
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +73 -73
  614. package/dist/session/store.js +85 -85
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +210 -210
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +156 -156
  619. package/dist/session/to-session-error.js +111 -111
  620. package/dist/session/transfer.js +214 -214
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +216 -216
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +15 -15
  627. package/dist/shell.js +140 -140
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +107 -107
  630. package/dist/skill.js +112 -112
  631. package/dist/snapshot.js +93 -93
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +125 -125
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +124 -124
  640. package/dist/tool/plugin/mcp-resource.js +116 -116
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +122 -122
  643. package/dist/tool/plugin/question.js +103 -103
  644. package/dist/tool/plugin/read.js +125 -125
  645. package/dist/tool/plugin/shell.js +215 -215
  646. package/dist/tool/plugin/skill.js +111 -111
  647. package/dist/tool/plugin/subagent.js +219 -219
  648. package/dist/tool/plugin/webfetch.js +112 -112
  649. package/dist/tool/plugin/websearch.js +112 -112
  650. package/dist/tool/plugin/write.js +122 -122
  651. package/dist/tool/read-filesystem.js +96 -96
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +92 -92
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +1 -1
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +93 -93
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +89 -89
  684. package/dist/websearch.js +84 -84
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +81 -81
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +80 -80
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +8 -8
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +94 -94
  695. package/package.json +8 -8
  696. package/dist/chunks/repository-cache-51rgksg0.js +0 -507
  697. package/dist/chunks/repository-cache-9s8z1thm.js +0 -26
  698. package/dist/chunks/repository-cache-9sh4wc5j.js +0 -18
  699. package/dist/chunks/repository-cache-xdc9t4mb.js +0 -252
  700. /package/dist/chunks/{repository-cache-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{repository-cache-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{repository-cache-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{repository-cache-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{repository-cache-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{repository-cache-24dcb14g.js → tool-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{repository-cache-2710q6r3.js → tool-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{repository-cache-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{repository-cache-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{repository-cache-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{repository-cache-359p4xyc.js → tool-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{repository-cache-3asan66x.js → tool-3asan66x.js} +0 -0
  712. /package/dist/chunks/{repository-cache-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{repository-cache-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{repository-cache-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{repository-cache-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{repository-cache-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{repository-cache-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{repository-cache-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{repository-cache-53557ph1.js → tool-53557ph1.js} +0 -0
  720. /package/dist/chunks/{repository-cache-550bvhaj.js → tool-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{repository-cache-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
  722. /package/dist/chunks/{repository-cache-6prwharc.js → tool-6prwharc.js} +0 -0
  723. /package/dist/chunks/{repository-cache-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{repository-cache-7m9af43g.js → tool-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{repository-cache-822emrt2.js → tool-822emrt2.js} +0 -0
  726. /package/dist/chunks/{repository-cache-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{repository-cache-8n3pysct.js → tool-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{repository-cache-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{repository-cache-922hggd3.js → tool-922hggd3.js} +0 -0
  730. /package/dist/chunks/{repository-cache-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{repository-cache-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{repository-cache-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{repository-cache-af5trqkr.js → tool-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{repository-cache-afrmfg78.js → tool-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{repository-cache-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{repository-cache-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{repository-cache-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{repository-cache-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{repository-cache-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{repository-cache-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{repository-cache-d9fn303g.js → tool-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{repository-cache-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{repository-cache-dajrwvna.js → tool-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{repository-cache-dap0rakb.js → tool-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{repository-cache-df08tz66.js → tool-df08tz66.js} +0 -0
  746. /package/dist/chunks/{repository-cache-dy18nga0.js → tool-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{repository-cache-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{repository-cache-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{repository-cache-ec1grn59.js → tool-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{repository-cache-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{repository-cache-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{repository-cache-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{repository-cache-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{repository-cache-faypxj3z.js → tool-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{repository-cache-fd410y7t.js → tool-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{repository-cache-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{repository-cache-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{repository-cache-g86h250q.js → tool-g86h250q.js} +0 -0
  759. /package/dist/chunks/{repository-cache-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{repository-cache-gftt206x.js → tool-gftt206x.js} +0 -0
  761. /package/dist/chunks/{repository-cache-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{repository-cache-hk9envan.js → tool-hk9envan.js} +0 -0
  763. /package/dist/chunks/{repository-cache-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{repository-cache-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{repository-cache-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{repository-cache-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{repository-cache-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{repository-cache-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{repository-cache-mp448xyj.js → tool-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{repository-cache-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{repository-cache-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{repository-cache-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{repository-cache-njntx4h6.js → tool-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{repository-cache-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{repository-cache-q74kybfr.js → tool-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{repository-cache-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{repository-cache-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{repository-cache-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{repository-cache-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{repository-cache-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{repository-cache-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{repository-cache-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{repository-cache-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{repository-cache-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{repository-cache-w803qqfp.js → tool-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{repository-cache-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{repository-cache-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{repository-cache-wtztk69x.js → tool-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{repository-cache-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{repository-cache-x61499pn.js → tool-x61499pn.js} +0 -0
  791. /package/dist/chunks/{repository-cache-y44na4kk.js → tool-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{repository-cache-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{repository-cache-y8f7s663.js → tool-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{repository-cache-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{repository-cache-ym463w8f.js → tool-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{repository-cache-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./repository-cache-922hggd3.js";
3
+ } from "./tool-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node84
7
- } from "./repository-cache-jd97cc84.js";
7
+ } from "./tool-pj0sbgvb.js";
8
8
  import {
9
- Service77,
10
- node80
11
- } from "./repository-cache-y9v1kb8k.js";
9
+ Service19,
10
+ node21
11
+ } from "./tool-fcv60zmd.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./repository-cache-tcezcvh9.js";
15
+ } from "./tool-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-cache-9rqn6x4v.js";
18
+ } from "./tool-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
24
  Options: () => Options2,
25
- Service: () => Service19,
25
+ Service: () => Service14,
26
26
  configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer9,
29
- node: () => node22,
28
+ layer: () => layer8,
29
+ node: () => node16,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service19 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service14 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
62
62
  const location = yield* Service80;
63
- const ripgrep = yield* Service77;
63
+ const ripgrep = yield* Service19;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service19.of({
108
+ return Service14.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
116
116
  const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service19.of({
129
+ return Service14.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service19.of({
134
+ return Service14.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
177
+ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
178
  const location = yield* Service80;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
@@ -183,8 +183,8 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
185
  function configured2(options) {
186
- return makeLocationNode({ service: Service19, layer: layer9(options), deps: [node84, node80] });
186
+ return makeLocationNode({ service: Service14, layer: layer8(options), deps: [node84, node21] });
187
187
  }
188
- var node22 = configured2();
188
+ var node16 = configured2();
189
189
 
190
- export { Options2, Service19, ripgrepLayer2, fffLayer2, layer9, configured2, node22, exports_search };
190
+ export { Options2, Service14, ripgrepLayer2, fffLayer2, layer8, configured2, node16, exports_search };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-cache-m5gw4h36.js";
4
+ } from "./tool-ymc24fzh.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./repository-cache-rdw6cm16.js";
8
+ } from "./tool-rdw6cm16.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./repository-cache-jd97cc84.js";
12
+ } from "./tool-pj0sbgvb.js";
13
13
  import {
14
14
  rewrite2,
15
- ID12,
15
+ ID13,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service73,
20
- node76,
19
+ Service76,
20
+ node80,
21
21
  Event17
22
- } from "./repository-cache-7x0c6mmr.js";
22
+ } from "./tool-2f56s268.js";
23
23
  import {
24
24
  __export
25
- } from "./repository-cache-9rqn6x4v.js";
25
+ } from "./tool-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event16,
33
+ Event: () => Event12,
34
34
  Family: () => Family2,
35
- ID: () => ID11,
36
- Info: () => Info25,
35
+ ID: () => ID5,
36
+ Info: () => Info21,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service72,
40
+ Service: () => Service58,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node75,
44
- parse: () => parse4
43
+ node: () => node62,
44
+ parse: () => parse5
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
47
47
  import { Context, Effect, Layer, Stream } from "effect";
48
48
  import { makeLocationNode } from "@opencode/util/effect/app-node";
49
49
  import { freeze } from "immer";
50
- import { Event as Event16 } from "@opencode/schema/model";
51
- var ID11 = Model.ID;
50
+ import { Event as Event12 } from "@opencode/schema/model";
51
+ var ID5 = Model.ID;
52
52
  var VariantID2 = Model.VariantID;
53
53
  var Family2 = Model.Family;
54
54
  var ReasoningField2 = Model.ReasoningField;
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
56
56
  var Capabilities2 = Model.Capabilities;
57
57
  var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
- var Info25 = Model.Info;
59
+ var Info21 = Model.Info;
60
60
 
61
- class Service72 extends Context.Service()("@opencode/Model") {
61
+ class Service58 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service72, Effect.gen(function* () {
64
- const providers = yield* Service73;
63
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
64
+ const providers = yield* Service76;
65
65
  const bus = yield* Service83;
66
66
  const location = yield* Service80;
67
67
  let input;
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
108
108
  const models = writable(providerID);
109
109
  if (!models)
110
110
  return;
111
- const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
111
+ const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
112
112
  update(model);
113
113
  model.id = modelID;
114
114
  model.providerID = providerID;
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
198
198
  });
199
199
  });
200
200
  yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service72.of({
201
+ return Service58.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node75 = makeLocationNode({ service: Service72, layer, deps: [node76, node87, node84] });
220
+ var node62 = makeLocationNode({ service: Service58, layer, deps: [node80, node87, node84] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -225,12 +225,12 @@ function compatibility2(input) {
225
225
  return;
226
226
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
227
227
  }
228
- function parse4(input) {
228
+ function parse5(input) {
229
229
  const index = input.indexOf("/");
230
230
  return {
231
- providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
232
- modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
231
+ providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
232
+ modelID: ID5.make(index === -1 ? "" : input.slice(index + 1))
233
233
  };
234
234
  }
235
235
 
236
- export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service72, node75, compatibility2, parse4, exports_model2, Event16 };
236
+ export { ID5, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info21, Service58, node62, compatibility2, parse5, exports_model2, Event12 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make19,
21
+ make: () => make21,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make19(source) {
53
+ function make21(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./repository-cache-5t3nmthw.js";
3
+ } from "./tool-5t3nmthw.js";
4
4
  import {
5
- Service60,
6
- node63
7
- } from "./repository-cache-db9rkawd.js";
5
+ Service48,
6
+ node50
7
+ } from "./tool-bf7nh1j5.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-cache-9rqn6x4v.js";
10
+ } from "./tool-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate = {};
14
14
  __export(exports_generate, {
15
15
  Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service15,
17
+ Service: () => Service20,
18
18
  UnavailableError: () => UnavailableError2,
19
- layer: () => layer8,
20
- node: () => node18
19
+ layer: () => layer9,
20
+ node: () => node23
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
34
34
  }) {
35
35
  }
36
36
 
37
- class Service15 extends Context.Service()("@opencode/Generate") {
37
+ class Service20 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer8 = Layer.effect(Service15, Effect.gen(function* () {
39
+ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service60;
41
+ const resolver = yield* Service48;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -68,12 +68,12 @@ var layer8 = Layer.effect(Service15, Effect.gen(function* () {
68
68
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service15.of({ text });
71
+ return Service20.of({ text });
72
72
  }));
73
- var node18 = makeLocationNode({
74
- service: Service15,
75
- layer: layer8,
76
- deps: [node63, llmClient2]
73
+ var node23 = makeLocationNode({
74
+ service: Service20,
75
+ layer: layer9,
76
+ deps: [node50, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError2, Service15, layer8, node18, exports_generate };
79
+ export { ModelSelectionError2, UnavailableError2, Service20, layer9, node23, exports_generate };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service40,
8
+ Service: () => Service38,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node43
10
+ node: () => node41
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service40 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service38 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service40, () => {
17
+ var layer = Layer.sync(Service38, () => {
18
18
  const environments = new Map;
19
- return Service40.of({
19
+ return Service38.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service40, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node43 = makeGlobalNode({ service: Service40, layer, deps: [] });
29
+ var node41 = makeGlobalNode({ service: Service38, layer, deps: [] });
30
30
 
31
- export { Service40, node43, exports_environment };
31
+ export { Service38, node41, exports_environment };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./repository-cache-emrn6kk6.js";
3
+ } from "./tool-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./repository-cache-c8fx5zam.js";
6
+ } from "./tool-2r0dzprv.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./repository-cache-xqspxtf3.js";
9
+ } from "./tool-bhnv13g4.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./repository-cache-tvtrv512.js";
3
+ } from "./tool-tvtrv512.js";
4
4
  import {
5
- Service69,
6
- node72
7
- } from "./repository-cache-p5hvz7y2.js";
5
+ Service65,
6
+ node69
7
+ } from "./tool-mpyxb9wp.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./repository-cache-gftt206x.js";
10
+ } from "./tool-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./repository-cache-7w99qc9d.js";
13
+ } from "./tool-6bsje7ws.js";
14
14
  import {
15
15
  __export
16
- } from "./repository-cache-9rqn6x4v.js";
16
+ } from "./tool-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service68,
23
- make: () => make20,
24
- node: () => node71
22
+ Service: () => Service56,
23
+ make: () => make19,
24
+ node: () => node59
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
  var COMPLETED_LIMIT = 25;
53
53
 
54
- class Service68 extends Context.Service()("@opencode/Job") {
54
+ class Service56 extends Context.Service()("@opencode/Job") {
55
55
  }
56
56
  function snapshot(job) {
57
57
  return {
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
86
86
  next.set(sessionID, count - 1);
87
87
  return next;
88
88
  }
89
- var make20 = Effect.gen(function* () {
90
- const kv = yield* Service69;
89
+ var make19 = Effect.gen(function* () {
90
+ const kv = yield* Service65;
91
91
  const state = {
92
92
  jobs: yield* SynchronizedRef.make(new Map),
93
93
  scope: yield* Scope.Scope
@@ -346,7 +346,7 @@ var make20 = Effect.gen(function* () {
346
346
  next.delete(entry[0]);
347
347
  return next;
348
348
  })));
349
- return Service68.of({
349
+ return Service56.of({
350
350
  get,
351
351
  start,
352
352
  wait,
@@ -358,7 +358,7 @@ var make20 = Effect.gen(function* () {
358
358
  completeBackground
359
359
  });
360
360
  });
361
- var layer = Layer.effect(Service68, make20);
362
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [node72] });
361
+ var layer = Layer.effect(Service56, make19);
362
+ var node59 = makeGlobalNode({ service: Service56, layer, deps: [node69] });
363
363
 
364
- export { Service68, make20, node71, exports_job };
364
+ export { Service56, make19, node59, exports_job };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-cache-0thxwbsq.js";
3
+ } from "./tool-vgc515rw.js";
4
4
  import {
5
5
  Service83
6
- } from "./repository-cache-m5gw4h36.js";
6
+ } from "./tool-ymc24fzh.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./repository-cache-fy93ygep.js";
10
+ } from "./tool-q87t05d4.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./repository-cache-4vekh9c8.js";
14
+ } from "./tool-tscedkbb.js";
15
15
  import {
16
16
  key2
17
- } from "./repository-cache-4dgbcxzg.js";
17
+ } from "./tool-h6r3nrb9.js";
18
18
  import {
19
- Service70
20
- } from "./repository-cache-f7rj482f.js";
19
+ Service15
20
+ } from "./tool-6ysrkrkr.js";
21
21
  import {
22
- ID12,
22
+ ID13,
23
23
  mergeOverlay2,
24
24
  mergeHeaders2
25
- } from "./repository-cache-7x0c6mmr.js";
25
+ } from "./tool-2f56s268.js";
26
26
  import {
27
- ID4,
28
- Input13,
27
+ ID6,
28
+ Input14,
29
29
  Response2
30
- } from "./repository-cache-2fem29gc.js";
30
+ } from "./tool-c8hdf53d.js";
31
31
 
32
32
  // src/plugin/provider/opencode.ts
33
33
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -43,7 +43,7 @@ var methodID = MethodID2.make("device");
43
43
  var RemoteResponse = Schema.Struct({
44
44
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
45
45
  websearch: Schema.Struct({
46
- providerID: ID4
46
+ providerID: ID6
47
47
  }).pipe(Schema.optional),
48
48
  mcp: Schema.Struct({
49
49
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -71,7 +71,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
71
71
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
72
72
  function oauth(http) {
73
73
  return {
74
- integrationID: ID13.make("opencode"),
74
+ integrationID: ID14.make("opencode"),
75
75
  method: {
76
76
  id: methodID,
77
77
  type: "oauth",
@@ -128,7 +128,7 @@ var OpencodePlugin2 = define({
128
128
  const bus = yield* Service83;
129
129
  const client = yield* HttpClient.HttpClient;
130
130
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
131
- const managed = yield* Service70;
131
+ const managed = yield* Service15;
132
132
  const loading = Semaphore.makeUnsafe(1);
133
133
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
134
134
  const load = Effect.fn("OpencodePlugin.load")(function* () {
@@ -162,7 +162,7 @@ var OpencodePlugin2 = define({
162
162
  providers.update(providerID, (provider) => {
163
163
  if (source && source.provider !== provider)
164
164
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
165
- provider.integrationID = ID13.make("opencode");
165
+ provider.integrationID = ID14.make("opencode");
166
166
  if (item.canonical !== undefined)
167
167
  provider.canonical = item.canonical;
168
168
  if (item.name !== undefined)
@@ -232,7 +232,7 @@ var OpencodePlugin2 = define({
232
232
  sourceConnection: snapshot.connection
233
233
  });
234
234
  }
235
- const item = providers.get(ID12.opencode);
235
+ const item = providers.get(ID13.opencode);
236
236
  if (!item)
237
237
  return;
238
238
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -244,7 +244,7 @@ var OpencodePlugin2 = define({
244
244
  });
245
245
  });
246
246
  yield* ctx.model.transform((models) => {
247
- const item = models.provider.get(ID12.opencode);
247
+ const item = models.provider.get(ID13.opencode);
248
248
  if (!item)
249
249
  return;
250
250
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -278,7 +278,7 @@ var OpencodePlugin2 = define({
278
278
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
279
279
  const token = credential.type === "oauth" ? credential.access : credential.key;
280
280
  const server = yield* normalizeServer(serverUrl(credential));
281
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
281
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
282
282
  query: input.query,
283
283
  providerID: descriptor.providerID
284
284
  }));
@@ -314,7 +314,7 @@ var OpencodePlugin2 = define({
314
314
  });
315
315
  });
316
316
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
317
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
317
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
318
318
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
319
319
  })
320
320
  });