@opencode/core 0.0.0-dev-21681 → 0.0.0-dev-21695

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{ripgrep-kxt91f54.js → bus-02tqe3dc.js} +33 -33
  8. package/dist/chunks/{ripgrep-034tev2y.js → bus-034tev2y.js} +2 -2
  9. package/dist/chunks/{ripgrep-5xp2x48q.js → bus-05g8hkey.js} +50 -50
  10. package/dist/chunks/{ripgrep-8bm7axdr.js → bus-06q2jeyp.js} +11 -11
  11. package/dist/chunks/{ripgrep-kya6vn2v.js → bus-088xsv39.js} +8 -8
  12. package/dist/chunks/{ripgrep-w687dnns.js → bus-0h8y3ex8.js} +4 -4
  13. package/dist/chunks/{ripgrep-ycgbrrj2.js → bus-0kp1st58.js} +8 -8
  14. package/dist/chunks/{ripgrep-tasvem1v.js → bus-0ks2n9jf.js} +6 -6
  15. package/dist/chunks/{ripgrep-m7t05s3q.js → bus-0mcw7mfx.js} +7 -7
  16. package/dist/chunks/{ripgrep-g33nfd42.js → bus-0p11b9tv.js} +9 -9
  17. package/dist/chunks/{ripgrep-xyh4h3t6.js → bus-0rj3103z.js} +3 -3
  18. package/dist/chunks/{ripgrep-s0kw0bab.js → bus-0swax997.js} +21 -21
  19. package/dist/chunks/{ripgrep-mxf70ac4.js → bus-0syemgjh.js} +4 -4
  20. package/dist/chunks/{ripgrep-gk7y8xcq.js → bus-0zzd7vfm.js} +4 -4
  21. package/dist/chunks/{ripgrep-hzrfc1p4.js → bus-143qq2q9.js} +3 -3
  22. package/dist/chunks/{ripgrep-q5ksxkha.js → bus-158w7htw.js} +6 -6
  23. package/dist/chunks/{ripgrep-qaxt5sce.js → bus-1622r1ga.js} +4 -4
  24. package/dist/chunks/{ripgrep-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
  25. package/dist/chunks/{ripgrep-he4vfjva.js → bus-1j2dtaqf.js} +23 -23
  26. package/dist/chunks/{ripgrep-vtz4zgjw.js → bus-1mfyhvm9.js} +9 -9
  27. package/dist/chunks/{ripgrep-73h6c5mr.js → bus-1r5cd4qg.js} +11 -11
  28. package/dist/chunks/{ripgrep-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
  29. package/dist/chunks/{ripgrep-rvv5zxkv.js → bus-1xwbrvt7.js} +14 -14
  30. package/dist/chunks/{ripgrep-7za0dwv2.js → bus-1ya82mrw.js} +7 -7
  31. package/dist/chunks/{ripgrep-r4zhn8a3.js → bus-231a8wys.js} +8 -8
  32. package/dist/chunks/{ripgrep-rwvswa9y.js → bus-2b6ncc8q.js} +6 -6
  33. package/dist/chunks/{ripgrep-2j72hntm.js → bus-2dxw0vtj.js} +20 -20
  34. package/dist/chunks/{ripgrep-3g7mg7sy.js → bus-2etvdtc8.js} +15 -15
  35. package/dist/chunks/{ripgrep-aqb8zn2t.js → bus-2ex6mje1.js} +35 -35
  36. package/dist/chunks/{ripgrep-qqtfakpy.js → bus-2gqhjjsx.js} +13 -13
  37. package/dist/chunks/{ripgrep-94drbbkf.js → bus-2h28cep3.js} +31 -31
  38. package/dist/chunks/{ripgrep-kp2rkay2.js → bus-2m54h93x.js} +18 -18
  39. package/dist/chunks/{ripgrep-jkacm1w4.js → bus-2rx1emds.js} +3 -3
  40. package/dist/chunks/{ripgrep-cxsv7r2q.js → bus-2ryhy1r3.js} +16 -16
  41. package/dist/chunks/{ripgrep-2z1j29yd.js → bus-2z1j29yd.js} +1 -1
  42. package/dist/chunks/{ripgrep-883mde3e.js → bus-392n4kdw.js} +40 -40
  43. package/dist/chunks/{ripgrep-jae53m2x.js → bus-3dcm03ph.js} +8 -8
  44. package/dist/chunks/{ripgrep-r1h56z6d.js → bus-3f5zfv5g.js} +17 -17
  45. package/dist/chunks/{ripgrep-tdd1rwdg.js → bus-3h5qsd4j.js} +5 -5
  46. package/dist/chunks/{ripgrep-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{ripgrep-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
  48. package/dist/chunks/{ripgrep-z6mg6m9w.js → bus-3s4b3ezj.js} +4 -4
  49. package/dist/chunks/{ripgrep-r96bqt38.js → bus-421ekqkw.js} +7 -7
  50. package/dist/chunks/{ripgrep-s62g5239.js → bus-44s0n40r.js} +44 -44
  51. package/dist/chunks/{ripgrep-jfy2z3aw.js → bus-47rq8bk5.js} +21 -21
  52. package/dist/chunks/{ripgrep-drxfbsjt.js → bus-48yd86fd.js} +19 -19
  53. package/dist/chunks/{ripgrep-1kzr7jgm.js → bus-4eca1hyp.js} +17 -17
  54. package/dist/chunks/{ripgrep-2k3taesa.js → bus-4jars7ak.js} +11 -11
  55. package/dist/chunks/{ripgrep-4v008n1t.js → bus-4v008n1t.js} +1 -1
  56. package/dist/chunks/{ripgrep-4xvmh7wp.js → bus-4xvmh7wp.js} +3 -3
  57. package/dist/chunks/{ripgrep-j7xyg8fd.js → bus-51e0cpsh.js} +30 -30
  58. package/dist/chunks/{ripgrep-k47d96va.js → bus-558jb3j2.js} +5 -5
  59. package/dist/chunks/{ripgrep-yh0e7xz8.js → bus-5aqqzxvt.js} +36 -36
  60. package/dist/chunks/{ripgrep-ht9phm2k.js → bus-5dj834cv.js} +5 -5
  61. package/dist/chunks/{ripgrep-cckz6hvv.js → bus-5g3z7av9.js} +16 -16
  62. package/dist/chunks/{ripgrep-q6v380sb.js → bus-5gk89hyb.js} +12 -12
  63. package/dist/chunks/{ripgrep-w7svd9fv.js → bus-5jnymmb4.js} +27 -27
  64. package/dist/chunks/{ripgrep-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{ripgrep-ny49cbs5.js → bus-5r00rv09.js} +33 -33
  66. package/dist/chunks/{ripgrep-7kqnvg9k.js → bus-5s1pgksh.js} +20 -20
  67. package/dist/chunks/{ripgrep-sgywbgaj.js → bus-5tym1825.js} +31 -31
  68. package/dist/chunks/{ripgrep-k28jwpmn.js → bus-5x14y5p3.js} +1 -1
  69. package/dist/chunks/{ripgrep-p7vhpwh8.js → bus-5zrxpy3q.js} +5 -5
  70. package/dist/chunks/{ripgrep-sda31fcg.js → bus-60hpmyq7.js} +24 -24
  71. package/dist/chunks/{ripgrep-7nn3h2cy.js → bus-6b2dxyr2.js} +37 -37
  72. package/dist/chunks/{ripgrep-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
  73. package/dist/chunks/{ripgrep-bkwbn9k7.js → bus-6gt5xc60.js} +23 -23
  74. package/dist/chunks/{ripgrep-6pjqjmy2.js → bus-6pjqjmy2.js} +1 -1
  75. package/dist/chunks/{ripgrep-qvw98tg0.js → bus-7193gb3b.js} +5 -5
  76. package/dist/chunks/{ripgrep-76cb1hcw.js → bus-76cb1hcw.js} +1 -1
  77. package/dist/chunks/{ripgrep-40xdmnq6.js → bus-7ambk3z6.js} +37 -37
  78. package/dist/chunks/{ripgrep-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{ripgrep-j3eb93p8.js → bus-7t2432tj.js} +25 -25
  80. package/dist/chunks/{ripgrep-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
  81. package/dist/chunks/{ripgrep-n6v2b7cw.js → bus-7xg2jm5b.js} +5 -5
  82. package/dist/chunks/{ripgrep-m1qkddhn.js → bus-7zrrpsam.js} +2 -2
  83. package/dist/chunks/{ripgrep-mnad9545.js → bus-82at59ng.js} +45 -45
  84. package/dist/chunks/{ripgrep-favmj1rd.js → bus-8df9xh9g.js} +11 -11
  85. package/dist/chunks/{ripgrep-294s6qh9.js → bus-8gthgyb8.js} +18 -18
  86. package/dist/chunks/{ripgrep-fx9xfnkv.js → bus-8ss74ppy.js} +9 -9
  87. package/dist/chunks/{ripgrep-2sj7hqj2.js → bus-8t64g0wg.js} +28 -28
  88. package/dist/chunks/{ripgrep-f80yq6ab.js → bus-8v7kcz56.js} +11 -11
  89. package/dist/chunks/{ripgrep-f4wjqfv3.js → bus-8wj4azc9.js} +11 -11
  90. package/dist/chunks/{ripgrep-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
  91. package/dist/chunks/{ripgrep-91rj84md.js → bus-91rj84md.js} +1 -1
  92. package/dist/chunks/{ripgrep-0gka690g.js → bus-956c56jz.js} +2 -2
  93. package/dist/chunks/{ripgrep-atet4mee.js → bus-97h34c8v.js} +14 -14
  94. package/dist/chunks/{ripgrep-998yhzzq.js → bus-998yhzzq.js} +3 -3
  95. package/dist/chunks/{ripgrep-69qhactm.js → bus-99v64gx3.js} +3 -3
  96. package/dist/chunks/{ripgrep-r2nqe40b.js → bus-9dhj7pzk.js} +14 -14
  97. package/dist/chunks/{ripgrep-2c9g8tdm.js → bus-9dyryqmk.js} +19 -19
  98. package/dist/chunks/{ripgrep-mvt93af7.js → bus-9h3yt0ty.js} +26 -26
  99. package/dist/chunks/{ripgrep-zssrpzfh.js → bus-9k6vjqzw.js} +70 -70
  100. package/dist/chunks/{ripgrep-jchrqzf6.js → bus-9p9xqj3m.js} +8 -8
  101. package/dist/chunks/{ripgrep-c4fe50v7.js → bus-a0hasf4t.js} +4 -4
  102. package/dist/chunks/{ripgrep-9ejpa58f.js → bus-a4qy9fc3.js} +8 -8
  103. package/dist/chunks/{ripgrep-qj3jeqzz.js → bus-a9h5srre.js} +56 -56
  104. package/dist/chunks/{ripgrep-k5aja770.js → bus-abr51mnh.js} +8 -8
  105. package/dist/chunks/{ripgrep-d1v2vbzt.js → bus-ar2j3j0f.js} +4 -4
  106. package/dist/chunks/{ripgrep-3gzarg29.js → bus-ar37ae2g.js} +10 -10
  107. package/dist/chunks/{ripgrep-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
  108. package/dist/chunks/{ripgrep-b0mv4wxm.js → bus-b0mv4wxm.js} +2 -2
  109. package/dist/chunks/{ripgrep-pw806jn0.js → bus-b0sjjnk6.js} +16 -16
  110. package/dist/chunks/{ripgrep-d2887f8n.js → bus-b1pn0vxn.js} +4 -4
  111. package/dist/chunks/{ripgrep-b6vsg801.js → bus-b6vsg801.js} +2 -2
  112. package/dist/chunks/{ripgrep-vb6v44n7.js → bus-b7g1t3mx.js} +18 -18
  113. package/dist/chunks/{ripgrep-pef6w6b4.js → bus-b7wm22tc.js} +19 -19
  114. package/dist/chunks/{ripgrep-0xt5rh38.js → bus-bhwcrmj7.js} +10 -10
  115. package/dist/chunks/{ripgrep-bsxvja55.js → bus-bm2mqchg.js} +18 -18
  116. package/dist/chunks/{ripgrep-k1yj6xhg.js → bus-bsry7g8x.js} +19 -19
  117. package/dist/chunks/{ripgrep-bstexjd6.js → bus-bstexjd6.js} +1 -1
  118. package/dist/chunks/{ripgrep-sfw989kw.js → bus-c1953ttw.js} +2 -2
  119. package/dist/chunks/{ripgrep-d4ctf4tn.js → bus-c1hj90w1.js} +4 -4
  120. package/dist/chunks/{ripgrep-cza8pqvg.js → bus-c6z72wfs.js} +9 -9
  121. package/dist/chunks/{ripgrep-pj2bksq9.js → bus-c9k9wqyf.js} +7 -7
  122. package/dist/chunks/{ripgrep-95gg0e1q.js → bus-caesvrsr.js} +20 -20
  123. package/dist/chunks/{ripgrep-rgsds9qv.js → bus-cah09krx.js} +11 -11
  124. package/dist/chunks/{ripgrep-4fht16ez.js → bus-ck9t0a91.js} +33 -33
  125. package/dist/chunks/{ripgrep-30v5g7xx.js → bus-cmd2t0hw.js} +5 -5
  126. package/dist/chunks/{ripgrep-6xjhb3qk.js → bus-czxyp6y6.js} +12 -12
  127. package/dist/chunks/{ripgrep-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
  128. package/dist/chunks/{ripgrep-g9ndtp1p.js → bus-dds9zz6p.js} +4 -4
  129. package/dist/chunks/{ripgrep-41scb8pj.js → bus-dfv3sd11.js} +17 -17
  130. package/dist/chunks/{ripgrep-7dbx9kd5.js → bus-dj1vw1rv.js} +15 -15
  131. package/dist/chunks/{ripgrep-zs0pprga.js → bus-dxvj00dw.js} +26 -26
  132. package/dist/chunks/{ripgrep-kd1werbb.js → bus-dyh6ghqz.js} +10 -10
  133. package/dist/chunks/{ripgrep-6cmhwkbz.js → bus-e4f4x5n9.js} +9 -9
  134. package/dist/chunks/{ripgrep-e834z07m.js → bus-e834z07m.js} +1 -1
  135. package/dist/chunks/{ripgrep-zjner7m4.js → bus-e8dk3ywt.js} +11 -11
  136. package/dist/chunks/{ripgrep-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{ripgrep-heq6tkdz.js → bus-efnptb2b.js} +17 -17
  138. package/dist/chunks/{ripgrep-jqy0757m.js → bus-etmf56fp.js} +10 -10
  139. package/dist/chunks/{ripgrep-wnvea4fe.js → bus-f4ce69wc.js} +8 -8
  140. package/dist/chunks/{ripgrep-rxrz6b15.js → bus-fc6c4hv8.js} +2 -2
  141. package/dist/chunks/{ripgrep-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
  142. package/dist/chunks/{ripgrep-fhbtev1x.js → bus-fm5nzcmq.js} +21 -21
  143. package/dist/chunks/{ripgrep-r991pz9h.js → bus-fntzncgy.js} +20 -20
  144. package/dist/chunks/{ripgrep-8cpd998p.js → bus-g3k29tzj.js} +13 -13
  145. package/dist/chunks/{ripgrep-g5h9c0rr.js → bus-g5h9c0rr.js} +2 -2
  146. package/dist/chunks/{ripgrep-19nkwpt0.js → bus-g6rdvcdw.js} +17 -17
  147. package/dist/chunks/{ripgrep-jrcyk1qp.js → bus-ghn7jtaj.js} +45 -45
  148. package/dist/chunks/{ripgrep-gybx331m.js → bus-gjr461gh.js} +17 -17
  149. package/dist/chunks/{ripgrep-y4vtynzt.js → bus-gq4ft62x.js} +17 -17
  150. package/dist/chunks/{ripgrep-nbsqgbhj.js → bus-gq7wjy6f.js} +22 -22
  151. package/dist/chunks/{ripgrep-1fxyteqg.js → bus-gyvvxe68.js} +89 -89
  152. package/dist/chunks/{ripgrep-vgjn3sfz.js → bus-hsbqs0yf.js} +8 -8
  153. package/dist/chunks/{ripgrep-bayr563p.js → bus-htpbdr1d.js} +26 -26
  154. package/dist/chunks/{ripgrep-mrcj6822.js → bus-hwj1j5q0.js} +4 -4
  155. package/dist/chunks/{ripgrep-j113cymg.js → bus-j113cymg.js} +1 -1
  156. package/dist/chunks/{ripgrep-3mzdfzhq.js → bus-j8nk5b8t.js} +3 -3
  157. package/dist/chunks/{ripgrep-bf166mt2.js → bus-jg2v1dk6.js} +32 -32
  158. package/dist/chunks/{ripgrep-8krb2gbb.js → bus-jsjjdmy1.js} +9 -9
  159. package/dist/chunks/{ripgrep-6p7ksc7d.js → bus-jv78zvp3.js} +11 -11
  160. package/dist/chunks/{ripgrep-033a0jkt.js → bus-jx89vj1k.js} +3 -3
  161. package/dist/chunks/{ripgrep-ev4vjjv8.js → bus-jzxk7jdc.js} +12 -12
  162. package/dist/chunks/{ripgrep-g1d2dsmd.js → bus-k0agw6wh.js} +13 -13
  163. package/dist/chunks/{ripgrep-6nracgmf.js → bus-k0rrpnh5.js} +188 -188
  164. package/dist/chunks/{ripgrep-6ha07q56.js → bus-k5d1wqjw.js} +343 -343
  165. package/dist/chunks/{ripgrep-3kk2jwp7.js → bus-k7fcp7vh.js} +8 -8
  166. package/dist/chunks/{ripgrep-k814nvkf.js → bus-k814nvkf.js} +1 -1
  167. package/dist/chunks/{ripgrep-dk5xnaxx.js → bus-kedzwwnr.js} +4 -4
  168. package/dist/chunks/{ripgrep-sp56zrrh.js → bus-kfag0pyw.js} +36 -36
  169. package/dist/chunks/{ripgrep-5as2v2bz.js → bus-kgex5j78.js} +11 -11
  170. package/dist/chunks/{ripgrep-cc3tw12v.js → bus-km2c56gg.js} +6 -6
  171. package/dist/chunks/{ripgrep-ab2zewxm.js → bus-kph7g7k5.js} +22 -22
  172. package/dist/chunks/{ripgrep-dsnzvv9e.js → bus-kqnqd6x4.js} +4 -4
  173. package/dist/chunks/{ripgrep-t9q01d30.js → bus-krdanp5y.js} +18 -18
  174. package/dist/chunks/{ripgrep-bt7pct3b.js → bus-ksqksx3k.js} +21 -21
  175. package/dist/chunks/{ripgrep-m1714858.js → bus-m1714858.js} +1 -1
  176. package/dist/chunks/{ripgrep-vmfhgzt5.js → bus-m37sd98t.js} +4 -4
  177. package/dist/chunks/{ripgrep-mbaagm2q.js → bus-m4s0x578.js} +26 -26
  178. package/dist/chunks/{ripgrep-w2c2mnmy.js → bus-m8gt97br.js} +17 -17
  179. package/dist/chunks/{ripgrep-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{ripgrep-maspj1v3.js → bus-maspj1v3.js} +1 -1
  181. package/dist/chunks/{ripgrep-dj23h38q.js → bus-mgbmf9v5.js} +18 -18
  182. package/dist/chunks/{ripgrep-s2p2k57b.js → bus-mmgwrvtt.js} +15 -15
  183. package/dist/chunks/{ripgrep-6cg3ssar.js → bus-mn6r1kh0.js} +30 -30
  184. package/dist/chunks/{ripgrep-e70s01gt.js → bus-mnd9dafd.js} +10 -10
  185. package/dist/chunks/{ripgrep-7hw2cvx7.js → bus-ms080em1.js} +27 -27
  186. package/dist/chunks/{ripgrep-6paamakb.js → bus-ms3syv86.js} +14 -14
  187. package/dist/chunks/bus-mswbh5s9.js +257 -0
  188. package/dist/chunks/{ripgrep-dvg9k2dh.js → bus-mx9h14xa.js} +28 -28
  189. package/dist/chunks/{ripgrep-n0p0277s.js → bus-n0p0277s.js} +1 -1
  190. package/dist/chunks/{ripgrep-1gn07jkh.js → bus-n5gmbbrg.js} +47 -47
  191. package/dist/chunks/{ripgrep-770pw0s1.js → bus-nah043kf.js} +4 -4
  192. package/dist/chunks/{ripgrep-wj025wy7.js → bus-nn3pn70b.js} +4 -4
  193. package/dist/chunks/{ripgrep-a1tbznxp.js → bus-nw6j7gpm.js} +14 -14
  194. package/dist/chunks/{ripgrep-p015t6z3.js → bus-p015t6z3.js} +2 -2
  195. package/dist/chunks/{ripgrep-77w2yzyb.js → bus-p12nptkx.js} +11 -11
  196. package/dist/chunks/{ripgrep-a8m490ta.js → bus-p1c1zyxr.js} +52 -52
  197. package/dist/chunks/bus-p1hxy2vt.js +26 -0
  198. package/dist/chunks/{ripgrep-310tqm6v.js → bus-p8var5ry.js} +4 -4
  199. package/dist/chunks/{ripgrep-9b28cy4d.js → bus-pacbbjc0.js} +5 -5
  200. package/dist/chunks/{ripgrep-ygj7qvsn.js → bus-pbqc7r64.js} +30 -30
  201. package/dist/chunks/{ripgrep-94ggdtye.js → bus-pdjw8hws.js} +10 -10
  202. package/dist/chunks/{ripgrep-h3r7ht18.js → bus-pdy1hqnf.js} +32 -32
  203. package/dist/chunks/{ripgrep-pknna89w.js → bus-pknna89w.js} +1 -1
  204. package/dist/chunks/{ripgrep-d2455waf.js → bus-ps63y3s5.js} +20 -20
  205. package/dist/chunks/{ripgrep-0w2ve4np.js → bus-pyv2pjn5.js} +32 -32
  206. package/dist/chunks/{ripgrep-xwxay0k0.js → bus-pz0hzqp4.js} +45 -45
  207. package/dist/chunks/{ripgrep-hyjk9r55.js → bus-q306eq19.js} +22 -22
  208. package/dist/chunks/{ripgrep-0bzett23.js → bus-q4q80s4a.js} +18 -18
  209. package/dist/chunks/{ripgrep-qjgzc4b4.js → bus-qjgzc4b4.js} +1 -1
  210. package/dist/chunks/{ripgrep-173t91w5.js → bus-qv7y9773.js} +4 -4
  211. package/dist/chunks/{ripgrep-vd41439j.js → bus-qx1n59h8.js} +16 -16
  212. package/dist/chunks/{ripgrep-0t2h4nxf.js → bus-qzr9ezbv.js} +5 -5
  213. package/dist/chunks/{ripgrep-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
  214. package/dist/chunks/{ripgrep-zpmv8s4j.js → bus-r15835qb.js} +3 -3
  215. package/dist/chunks/{ripgrep-pb1qprq3.js → bus-r6tddt1e.js} +29 -29
  216. package/dist/chunks/{ripgrep-jxr5ks98.js → bus-r86349qm.js} +6 -6
  217. package/dist/chunks/{ripgrep-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
  218. package/dist/chunks/{ripgrep-9562mf0m.js → bus-rda9yzm6.js} +9 -9
  219. package/dist/chunks/{ripgrep-sxnrxfca.js → bus-rrje2nwc.js} +26 -26
  220. package/dist/chunks/{ripgrep-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
  221. package/dist/chunks/{ripgrep-tnf39wvh.js → bus-rtdrjve7.js} +46 -46
  222. package/dist/chunks/{ripgrep-fkjeaz1p.js → bus-rvhr0thr.js} +87 -87
  223. package/dist/chunks/{ripgrep-m1tk4nd6.js → bus-rxt7kx39.js} +42 -42
  224. package/dist/chunks/{ripgrep-k60h0mqe.js → bus-sfmp0f7b.js} +15 -15
  225. package/dist/chunks/{ripgrep-4fjhw8k6.js → bus-sk0g3fth.js} +4 -4
  226. package/dist/chunks/{ripgrep-j5e0tcqv.js → bus-smfcvx02.js} +9 -9
  227. package/dist/chunks/{ripgrep-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
  228. package/dist/chunks/{ripgrep-gb9ye6vs.js → bus-sqvkc2gg.js} +19 -19
  229. package/dist/chunks/{ripgrep-x3h41a9f.js → bus-sz8868xq.js} +7 -7
  230. package/dist/chunks/{ripgrep-wy7xqtjs.js → bus-t4n7m6zf.js} +33 -33
  231. package/dist/chunks/{ripgrep-cvdn796p.js → bus-t63bt17c.js} +14 -14
  232. package/dist/chunks/{ripgrep-wmjzvx4b.js → bus-t8nkzmzj.js} +7 -7
  233. package/dist/chunks/{ripgrep-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
  234. package/dist/chunks/{ripgrep-45zwd69n.js → bus-tdj3cxsw.js} +43 -43
  235. package/dist/chunks/{ripgrep-6w73wc21.js → bus-tnhdtpkv.js} +24 -24
  236. package/dist/chunks/{ripgrep-1m0sdz90.js → bus-tpfax3t6.js} +40 -40
  237. package/dist/chunks/{ripgrep-tg1vr1qt.js → bus-tqx9c315.js} +8 -8
  238. package/dist/chunks/{ripgrep-tw8zr1ps.js → bus-tw8zr1ps.js} +1 -1
  239. package/dist/chunks/{ripgrep-twv2r8f4.js → bus-twv2r8f4.js} +2 -2
  240. package/dist/chunks/{ripgrep-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
  241. package/dist/chunks/{ripgrep-6cjq3rwx.js → bus-v5kv89ke.js} +14 -14
  242. package/dist/chunks/{ripgrep-vd3b3yk9.js → bus-vd3b3yk9.js} +1 -1
  243. package/dist/chunks/{ripgrep-veqvce7d.js → bus-veqvce7d.js} +1 -1
  244. package/dist/chunks/{ripgrep-tpm1qpxt.js → bus-vgk61ywp.js} +9 -9
  245. package/dist/chunks/{ripgrep-jpqadng4.js → bus-vj8mtejf.js} +17 -17
  246. package/dist/chunks/{ripgrep-50vfe0ee.js → bus-vwj3jgr1.js} +26 -26
  247. package/dist/chunks/{ripgrep-8922dvha.js → bus-w0569hsk.js} +24 -24
  248. package/dist/chunks/{ripgrep-40za9wsf.js → bus-w2eysc6j.js} +9 -9
  249. package/dist/chunks/{ripgrep-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{ripgrep-rvr9nrxj.js → bus-w52v0pzm.js} +20 -20
  251. package/dist/chunks/{ripgrep-rzbnf15d.js → bus-w5800457.js} +14 -14
  252. package/dist/chunks/{ripgrep-msfasjrs.js → bus-w6839knk.js} +18 -18
  253. package/dist/chunks/{ripgrep-ky596kc3.js → bus-w76xjer3.js} +4 -4
  254. package/dist/chunks/{ripgrep-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
  255. package/dist/chunks/{ripgrep-1b015yat.js → bus-wd652945.js} +11 -11
  256. package/dist/chunks/{ripgrep-wd87259q.js → bus-wd87259q.js} +1 -1
  257. package/dist/chunks/{ripgrep-ebjg363t.js → bus-wfmpnrq7.js} +4 -4
  258. package/dist/chunks/{ripgrep-ye7j7sbs.js → bus-wm3cz6bg.js} +32 -32
  259. package/dist/chunks/{ripgrep-tdzaz51m.js → bus-wncd5gvv.js} +10 -10
  260. package/dist/chunks/{ripgrep-xngkbgfx.js → bus-wpcz644m.js} +15 -15
  261. package/dist/chunks/{ripgrep-wg9ke37f.js → bus-wre4fh0b.js} +32 -32
  262. package/dist/chunks/{ripgrep-jnztxn4f.js → bus-wsd07rfm.js} +24 -24
  263. package/dist/chunks/{ripgrep-y5qe5mc0.js → bus-wznw0skg.js} +17 -17
  264. package/dist/chunks/{ripgrep-vdsdnjgz.js → bus-x55w4aqt.js} +24 -24
  265. package/dist/chunks/{ripgrep-2553426h.js → bus-x9e6ksmw.js} +49 -49
  266. package/dist/chunks/{ripgrep-xzvgcsw6.js → bus-xar86st9.js} +7 -7
  267. package/dist/chunks/{ripgrep-5yps8vga.js → bus-xbcypdf3.js} +5 -5
  268. package/dist/chunks/{ripgrep-qh12k8gp.js → bus-xeb0t073.js} +1 -1
  269. package/dist/chunks/{ripgrep-4ssvmfsy.js → bus-xm26fr51.js} +13 -13
  270. package/dist/chunks/{ripgrep-bqwdyg2t.js → bus-xrpfz6f8.js} +9 -9
  271. package/dist/chunks/{ripgrep-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
  272. package/dist/chunks/{ripgrep-txe6hs0a.js → bus-yhjes8yv.js} +8 -8
  273. package/dist/chunks/{ripgrep-pyrm1t89.js → bus-yj5wzhce.js} +19 -19
  274. package/dist/chunks/{ripgrep-rjb5m6wk.js → bus-yrnwxx36.js} +24 -24
  275. package/dist/chunks/{ripgrep-8yamfpxb.js → bus-ywxn696m.js} +30 -30
  276. package/dist/chunks/{ripgrep-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{ripgrep-z38nccrw.js → bus-z38nccrw.js} +1 -1
  278. package/dist/chunks/bus-z7bdqmx5.js +18 -0
  279. package/dist/chunks/{ripgrep-aeb4sny1.js → bus-za6yq9hg.js} +5 -5
  280. package/dist/chunks/{ripgrep-5g9sd2wr.js → bus-zegptfkw.js} +5 -5
  281. package/dist/chunks/{ripgrep-vtr9dtkz.js → bus-zfh6qh7b.js} +13 -13
  282. package/dist/chunks/{ripgrep-npgkeycb.js → bus-zj5v4v4s.js} +16 -16
  283. package/dist/chunks/{ripgrep-zkg84ctx.js → bus-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{ripgrep-g15zpze4.js → bus-zs3fm22t.js} +25 -25
  285. package/dist/chunks/{ripgrep-p0e8hqgq.js → bus-zt2awk40.js} +35 -35
  286. package/dist/chunks/{ripgrep-yyjmamy7.js → bus-zwzj79wc.js} +16 -16
  287. package/dist/chunks/{ripgrep-a17pc1jp.js → bus-zz3ytsxz.js} +6 -6
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  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 +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  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 +94 -94
  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 +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  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/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +9 -9
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +88 -88
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +91 -91
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +101 -101
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +109 -109
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +82 -82
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +115 -115
  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 +92 -92
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  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 +5 -5
  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 +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +92 -92
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -171
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +223 -223
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +92 -92
  565. package/dist/provider.js +103 -103
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +95 -95
  569. package/dist/reference/instructions.js +91 -91
  570. package/dist/reference.js +93 -93
  571. package/dist/repository-cache.js +83 -83
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +99 -99
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +138 -138
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +130 -130
  587. package/dist/session/generate.js +166 -166
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +97 -97
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +102 -102
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +128 -128
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +168 -168
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  627. package/dist/shell/parse.js +8 -8
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +109 -109
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +95 -95
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +137 -137
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +126 -126
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +124 -124
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +217 -217
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +115 -115
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +120 -120
  656. package/dist/tool/read-filesystem.js +104 -104
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +12 -12
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +82 -82
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/ripgrep-4my81qaj.js +0 -18
  692. package/dist/chunks/ripgrep-ca5mcr31.js +0 -26
  693. package/dist/chunks/ripgrep-dnqjcqs4.js +0 -257
  694. /package/dist/chunks/{ripgrep-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{ripgrep-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{ripgrep-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{ripgrep-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{ripgrep-24dcb14g.js → bus-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{ripgrep-2710q6r3.js → bus-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{ripgrep-2bv980vf.js → bus-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{ripgrep-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{ripgrep-359p4xyc.js → bus-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{ripgrep-3asan66x.js → bus-3asan66x.js} +0 -0
  704. /package/dist/chunks/{ripgrep-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{ripgrep-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{ripgrep-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{ripgrep-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{ripgrep-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{ripgrep-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{ripgrep-53557ph1.js → bus-53557ph1.js} +0 -0
  711. /package/dist/chunks/{ripgrep-550bvhaj.js → bus-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{ripgrep-5fjb7ams.js → bus-5fjb7ams.js} +0 -0
  713. /package/dist/chunks/{ripgrep-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{ripgrep-6prwharc.js → bus-6prwharc.js} +0 -0
  715. /package/dist/chunks/{ripgrep-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{ripgrep-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{ripgrep-7m9af43g.js → bus-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{ripgrep-822emrt2.js → bus-822emrt2.js} +0 -0
  719. /package/dist/chunks/{ripgrep-84wd9syh.js → bus-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{ripgrep-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{ripgrep-8n3pysct.js → bus-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{ripgrep-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{ripgrep-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{ripgrep-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{ripgrep-a058387c.js → bus-a058387c.js} +0 -0
  726. /package/dist/chunks/{ripgrep-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{ripgrep-af5trqkr.js → bus-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{ripgrep-afrmfg78.js → bus-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{ripgrep-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{ripgrep-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{ripgrep-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{ripgrep-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{ripgrep-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{ripgrep-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{ripgrep-d9fn303g.js → bus-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{ripgrep-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{ripgrep-dajrwvna.js → bus-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{ripgrep-dap0rakb.js → bus-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{ripgrep-df08tz66.js → bus-df08tz66.js} +0 -0
  740. /package/dist/chunks/{ripgrep-dy18nga0.js → bus-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{ripgrep-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{ripgrep-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{ripgrep-ec1grn59.js → bus-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{ripgrep-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{ripgrep-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{ripgrep-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{ripgrep-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{ripgrep-faypxj3z.js → bus-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{ripgrep-fd410y7t.js → bus-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{ripgrep-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{ripgrep-g86h250q.js → bus-g86h250q.js} +0 -0
  752. /package/dist/chunks/{ripgrep-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{ripgrep-gftt206x.js → bus-gftt206x.js} +0 -0
  754. /package/dist/chunks/{ripgrep-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{ripgrep-hk9envan.js → bus-hk9envan.js} +0 -0
  756. /package/dist/chunks/{ripgrep-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{ripgrep-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{ripgrep-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{ripgrep-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{ripgrep-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{ripgrep-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{ripgrep-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{ripgrep-m18g726c.js → bus-m18g726c.js} +0 -0
  764. /package/dist/chunks/{ripgrep-mp448xyj.js → bus-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{ripgrep-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{ripgrep-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{ripgrep-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{ripgrep-njntx4h6.js → bus-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{ripgrep-pkyv6v7h.js → bus-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{ripgrep-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{ripgrep-q74kybfr.js → bus-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{ripgrep-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{ripgrep-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{ripgrep-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{ripgrep-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{ripgrep-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{ripgrep-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{ripgrep-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{ripgrep-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{ripgrep-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{ripgrep-w803qqfp.js → bus-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{ripgrep-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{ripgrep-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{ripgrep-wjj7prxr.js → bus-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{ripgrep-wtztk69x.js → bus-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{ripgrep-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{ripgrep-x61499pn.js → bus-x61499pn.js} +0 -0
  788. /package/dist/chunks/{ripgrep-y44na4kk.js → bus-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{ripgrep-y8f7s663.js → bus-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{ripgrep-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{ripgrep-ym463w8f.js → bus-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{ripgrep-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{ripgrep-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./ripgrep-69qhactm.js";
4
+ } from "./bus-99v64gx3.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./ripgrep-c4fe50v7.js";
8
+ } from "./bus-a0hasf4t.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./ripgrep-pknna89w.js";
11
+ } from "./bus-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./ripgrep-m1714858.js";
14
+ } from "./bus-m1714858.js";
15
15
  import {
16
16
  __export
17
- } from "./ripgrep-9rqn6x4v.js";
17
+ } from "./bus-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
23
+ Event: () => Event14,
24
24
  External: () => External2,
25
- ID: () => ID17,
26
- Info: () => Info28,
27
- Key: () => Key4,
25
+ ID: () => ID10,
26
+ Info: () => Info21,
27
+ Key: () => Key3,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service83,
29
+ Service: () => Service67,
30
30
  Value: () => Value2,
31
- node: () => node87
31
+ node: () => node71
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
36
36
  import { CredentialLegacy } from "@opencode/schema/credential-legacy";
37
37
  import { Integration } from "@opencode/schema/integration";
38
38
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
39
- var ID17 = Credential.ID;
39
+ var ID10 = Credential.ID;
40
40
  var OAuth3 = Credential.OAuth;
41
- var Key4 = Credential.Key;
41
+ var Key3 = Credential.Key;
42
42
  var External2 = Credential.External;
43
43
  var Value2 = Credential.Value;
44
- var Event19 = Credential.Event;
44
+ var Event14 = Credential.Event;
45
45
 
46
- class Info28 extends Schema.Class("Credential.Info")({
47
- id: ID17,
46
+ class Info21 extends Schema.Class("Credential.Info")({
47
+ id: ID10,
48
48
  integrationID: Integration.ID,
49
49
  label: Schema.String,
50
50
  value: Value2
51
51
  }) {
52
52
  }
53
53
 
54
- class Service83 extends Context.Service()("@opencode/Credential") {
54
+ class Service67 extends Context.Service()("@opencode/Credential") {
55
55
  }
56
- var layer = Layer.effect(Service83, Effect.gen(function* () {
56
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
57
57
  const db = (yield* Service86).db;
58
58
  const bus = yield* Service85;
59
59
  const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
60
60
  const stored = (row) => {
61
61
  if (!row.integration_id)
62
62
  return;
63
- return new Info28({
63
+ return new Info21({
64
64
  id: row.id,
65
65
  integrationID: row.integration_id,
66
66
  label: row.label,
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
71
71
  const credential = stored(row);
72
72
  return credential ? [credential] : [];
73
73
  });
74
- return Service83.of({
74
+ return Service67.of({
75
75
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
77
77
  get: Effect.fn("Credential.get")(function* (id) {
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
79
79
  return row ? stored(row) : undefined;
80
80
  }),
81
81
  create: Effect.fn("Credential.create")(function* (input) {
82
- const credential = new Info28({
83
- id: input.id ?? ID17.create(),
82
+ const credential = new Info21({
83
+ id: input.id ?? ID10.create(),
84
84
  integrationID: input.integrationID,
85
85
  label: input.label ?? "default",
86
86
  value: input.value
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
111
111
  type: credential.value.type,
112
112
  active: activated
113
113
  });
114
- yield* bus.publish(Event19.Updated, {}, { global: true });
114
+ yield* bus.publish(Event14.Updated, {}, { global: true });
115
115
  if (activated)
116
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
+ yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
117
117
  return credential;
118
118
  }),
119
119
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
133
133
  })), Effect.orDie);
134
134
  if (integrationID) {
135
135
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
136
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
136
+ yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
137
137
  }
138
138
  }),
139
139
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
165
165
  labelChanged: updates.label !== undefined && updates.label !== credential.label
166
166
  });
167
167
  if (updates.label !== undefined && updates.label !== credential.label)
168
- yield* bus.publish(Event19.Updated, {}, { global: true });
168
+ yield* bus.publish(Event14.Updated, {}, { global: true });
169
169
  }),
170
170
  remove: Effect.fn("Credential.remove")(function* (id) {
171
171
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
198
198
  active: removed.switched,
199
199
  ...removed.switched ? { replacementID: removed.credentialID } : {}
200
200
  });
201
- yield* bus.publish(Event19.Updated, {}, { global: true });
201
+ yield* bus.publish(Event14.Updated, {}, { global: true });
202
202
  if (removed.switched)
203
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
+ yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
204
204
  })
205
205
  });
206
206
  }));
207
- var node87 = makeGlobalNode({ service: Service83, layer, deps: [node90, node89] });
207
+ var node71 = makeGlobalNode({ service: Service67, layer, deps: [node90, node89] });
208
208
 
209
- export { ID17, OAuth3, Key4, External2, Value2, Event19, Info28, Service83, node87, exports_credential };
209
+ export { ID10, OAuth3, Key3, External2, Value2, Event14, Info21, Service67, node71, exports_credential };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
4
  import {
5
- Service77
6
- } from "./ripgrep-w2c2mnmy.js";
5
+ Service82
6
+ } from "./bus-m8gt97br.js";
7
7
  import {
8
8
  __export
9
- } from "./ripgrep-9rqn6x4v.js";
9
+ } from "./bus-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
54
54
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
55
55
  const fs = yield* FSUtil.Service;
56
56
  const global = yield* Global.Service;
57
- const location = yield* Service77;
57
+ const location = yield* Service82;
58
58
  const system = (() => {
59
59
  if (options?.system === false)
60
60
  return;
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./ripgrep-d1v2vbzt.js";
3
+ } from "./bus-ar2j3j0f.js";
4
4
  import {
5
5
  Service85
6
- } from "./ripgrep-c4fe50v7.js";
6
+ } from "./bus-a0hasf4t.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./ripgrep-j7xyg8fd.js";
9
+ Event14
10
+ } from "./bus-51e0cpsh.js";
11
11
  import {
12
- ID15,
12
+ ID9,
13
13
  MethodID2
14
- } from "./ripgrep-bf166mt2.js";
14
+ } from "./bus-jg2v1dk6.js";
15
15
  import {
16
- ID12,
16
+ ID8,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service76
20
- } from "./ripgrep-0w2ve4np.js";
19
+ Service65
20
+ } from "./bus-pyv2pjn5.js";
21
21
  import {
22
- ID11
23
- } from "./ripgrep-h3r7ht18.js";
22
+ ID7
23
+ } from "./bus-pdy1hqnf.js";
24
24
  import {
25
- load3,
26
- derive3
27
- } from "./ripgrep-ab2zewxm.js";
25
+ load2,
26
+ derive2
27
+ } from "./bus-kph7g7k5.js";
28
28
  import {
29
29
  useragent2
30
- } from "./ripgrep-favmj1rd.js";
30
+ } from "./bus-8df9xh9g.js";
31
31
  import {
32
- ID18
33
- } from "./ripgrep-gb9ye6vs.js";
32
+ ID15
33
+ } from "./bus-sqvkc2gg.js";
34
34
  import {
35
35
  get5
36
- } from "./ripgrep-3nnrz6f6.js";
36
+ } from "./bus-3nnrz6f6.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { isRecord } from "@opencode/ai/utils/record";
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
66
66
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
67
67
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
68
68
  var oauth = (app) => ({
69
- integrationID: ID15.make("github-copilot"),
69
+ integrationID: ID9.make("github-copilot"),
70
70
  method: {
71
71
  id: methodID,
72
72
  type: "oauth",
@@ -164,7 +164,7 @@ var oauth = (app) => ({
164
164
  var GithubCopilotPlugin2 = define({
165
165
  id: "opencode.provider.github.copilot",
166
166
  effect: Effect.fn(function* (ctx) {
167
- const providers = yield* Service76;
167
+ const providers = yield* Service65;
168
168
  const bus = yield* Service85;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  const loaded = {};
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
181
181
  return;
182
182
  }
183
183
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
184
- const provider = yield* providers.get(ID12.githubCopilot);
184
+ const provider = yield* providers.get(ID8.githubCopilot);
185
185
  const remote = yield* Effect.tryPromise({
186
- try: () => load3(url, {
186
+ try: () => load2(url, {
187
187
  ...provider?.headers,
188
188
  Authorization: `Bearer ${credential.refresh}`,
189
189
  "User-Agent": useragent2(ctx.app),
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
203
203
  editor.method.update(oauth(ctx.app));
204
204
  });
205
205
  yield* ctx.provider.transform((evt) => {
206
- const item = evt.get(ID12.githubCopilot);
206
+ const item = evt.get(ID8.githubCopilot);
207
207
  if (!item)
208
208
  return;
209
209
  if (loaded.models) {
210
210
  evt.add({
211
211
  info: item.provider,
212
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
213
213
  sourceConnection: loaded.connection
214
214
  });
215
215
  return;
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
231
231
  }
232
232
  });
233
233
  yield* ctx.model.transform((models) => {
234
- if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
235
- models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
234
+ if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
235
+ models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
236
236
  model.enabled = false;
237
237
  });
238
238
  }
239
239
  });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  yield* refresh().pipe(Effect.forkScoped);
243
243
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
244
- if (evt.model.providerID !== ID12.githubCopilot)
244
+ if (evt.model.providerID !== ID8.githubCopilot)
245
245
  return;
246
246
  if (evt.package !== "@ai-sdk/github-copilot")
247
247
  return;
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
250
250
  evt.sdk = mod.createOpenaiCompatible(evt.options);
251
251
  }));
252
252
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
253
- if (evt.model.providerID !== ID12.githubCopilot)
253
+ if (evt.model.providerID !== ID8.githubCopilot)
254
254
  return;
255
255
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
256
256
  return;
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
260
260
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
261
261
  if (interaction !== "conversation-agent")
262
262
  evt.headers["x-initiator"] = "agent";
263
- }), { providerID: ID12.githubCopilot });
263
+ }), { providerID: ID8.githubCopilot });
264
264
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
265
- if (evt.model.providerID !== ID12.githubCopilot)
265
+ if (evt.model.providerID !== ID8.githubCopilot)
266
266
  return;
267
267
  if (!loaded.baseURL || !loaded.token || !loaded.models)
268
268
  return;
269
- const agent = yield* ctx.agent.get({ agentID: ID18.make("title") }).pipe(Effect.orElseSucceed(() => {
269
+ const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
270
270
  return;
271
271
  }));
272
272
  if (agent?.data.model)
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
277
277
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
278
278
  return;
279
279
  }));
280
- }), { providerID: ID12.githubCopilot });
280
+ }), { providerID: ID8.githubCopilot });
281
281
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
282
- if (evt.model.providerID !== ID12.githubCopilot)
282
+ if (evt.model.providerID !== ID8.githubCopilot)
283
283
  return;
284
284
  const token = evt.request.headers.get("x-api-key");
285
285
  if (!token)
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
287
287
  const text = yield* Effect.promise(() => evt.request.clone().text());
288
288
  const body = Option.getOrUndefined(decodeBody(text));
289
289
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
290
- }), { providerID: ID12.githubCopilot });
290
+ }), { providerID: ID8.githubCopilot });
291
291
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
292
- if (evt.model.providerID !== ID12.githubCopilot)
292
+ if (evt.model.providerID !== ID8.githubCopilot)
293
293
  return;
294
294
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
295
295
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID15,
3
- Service81
4
- } from "./ripgrep-bf166mt2.js";
2
+ ID9,
3
+ Service66
4
+ } from "./bus-jg2v1dk6.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service81;
12
+ const integrations = yield* Service66;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID15.make(item.provider.id)))
22
+ if (!configured.has(ID9.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service44
3
- } from "./ripgrep-vtz4zgjw.js";
2
+ Service72
3
+ } from "./bus-1mfyhvm9.js";
4
4
  import {
5
- Service54
6
- } from "./ripgrep-rwvswa9y.js";
5
+ Service49
6
+ } from "./bus-2b6ncc8q.js";
7
7
  import {
8
8
  detect2
9
- } from "./ripgrep-2z1j29yd.js";
9
+ } from "./bus-2z1j29yd.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./ripgrep-4my81qaj.js";
12
+ } from "./bus-z7bdqmx5.js";
13
13
  import {
14
- Service68
15
- } from "./ripgrep-r4zhn8a3.js";
14
+ Service80
15
+ } from "./bus-231a8wys.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./ripgrep-q5ksxkha.js";
19
+ } from "./bus-158w7htw.js";
20
20
  import {
21
21
  prepare3,
22
- Service35
23
- } from "./ripgrep-t9q01d30.js";
22
+ Service37
23
+ } from "./bus-krdanp5y.js";
24
24
  import {
25
25
  __export
26
- } from "./ripgrep-9rqn6x4v.js";
26
+ } from "./bus-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service54;
42
+ const instances = yield* Service49;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service68;
45
+ const hooks = yield* Service80;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service35;
64
+ const skillService = yield* Service37;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -124,7 +124,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
124
124
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
125
125
  if (!mime.startsWith("image/"))
126
126
  return { data: Base64.make(data), mime };
127
- const image = yield* Service44;
127
+ const image = yield* Service72;
128
128
  const label = attachmentLabel(input);
129
129
  const content = { uri: label, content: data, encoding: "base64", mime };
130
130
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./ripgrep-z5v4ffb3.js";
4
+ } from "./bus-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./ripgrep-qjgzc4b4.js";
7
+ } from "./bus-qjgzc4b4.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./ripgrep-rb9dy4dg.js";
12
+ } from "./bus-rb9dy4dg.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./ripgrep-ef5x83kb.js";
15
+ } from "./bus-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./ripgrep-9rqn6x4v.js";
18
+ } from "./bus-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service80,
26
+ Service: () => Service84,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node84
30
+ node: () => node88
31
31
  });
32
32
  import path from "path";
33
33
  import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
100
100
  }) {
101
101
  }
102
102
 
103
- class Service80 extends Context.Service()("@opencode/Git") {
103
+ class Service84 extends Context.Service()("@opencode/Git") {
104
104
  }
105
- var layer = Layer.effect(Service80, Effect.gen(function* () {
105
+ var layer = Layer.effect(Service84, Effect.gen(function* () {
106
106
  const fs = yield* FSUtil.Service;
107
107
  const proc = yield* AppProcess.Service;
108
108
  const locks = makeUnsafe2();
@@ -722,7 +722,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
722
722
  kind: index === 0 ? "main" : "linked"
723
723
  }));
724
724
  });
725
- return Service80.of({
725
+ return Service84.of({
726
726
  repo: { discover, clone, create },
727
727
  remote: { get: remote },
728
728
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -739,7 +739,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
739
739
  objects: { pack: packObjects }
740
740
  });
741
741
  }));
742
- var node84 = makeGlobalNode({ service: Service80, layer, deps: [FSUtil.node, AppProcess.node] });
742
+ var node88 = makeGlobalNode({ service: Service84, layer, deps: [FSUtil.node, AppProcess.node] });
743
743
  function run(cwd, proc, args) {
744
744
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
745
745
  }
@@ -806,4 +806,4 @@ function resolvePath(cwd, value) {
806
806
  return path.resolve(cwd, normalized);
807
807
  }
808
808
 
809
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service80, node84, exports_git3 };
809
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service84, node88, exports_git3 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-z5v4ffb3.js";
3
+ } from "./bus-z5v4ffb3.js";
4
4
  import {
5
- Service77
6
- } from "./ripgrep-w2c2mnmy.js";
5
+ Service82
6
+ } from "./bus-m8gt97br.js";
7
7
  import {
8
- Service64
9
- } from "./ripgrep-gybx331m.js";
8
+ Service76
9
+ } from "./bus-gjr461gh.js";
10
10
  import {
11
- Service6
12
- } from "./ripgrep-k1yj6xhg.js";
11
+ Service5
12
+ } from "./bus-bsry7g8x.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./ripgrep-zkg84ctx.js";
15
+ } from "./bus-zkg84ctx.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -22,26 +22,26 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service25
26
- } from "./ripgrep-pyrm1t89.js";
25
+ Service28
26
+ } from "./bus-yj5wzhce.js";
27
27
  import {
28
28
  __export
29
- } from "./ripgrep-9rqn6x4v.js";
29
+ } from "./bus-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input12,
35
- Plugin: () => Plugin31,
34
+ Input: () => Input5,
35
+ Plugin: () => Plugin6,
36
36
  ReadTool: () => exports_read,
37
- name: () => name12,
38
- toModelContent: () => toModelContent5
37
+ name: () => name5,
38
+ toModelContent: () => toModelContent3
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name12 = "read";
44
+ var name5 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input12 = LocationInput;
55
+ var Input5 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin31 = {
57
+ var Plugin6 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service25;
61
- const access = yield* Service64;
62
- const sessionInstructions = yield* Service6;
60
+ const reader = yield* Service28;
61
+ const access = yield* Service76;
62
+ const sessionInstructions = yield* Service5;
63
63
  const fs = yield* FSUtil.Service;
64
- const location = yield* Service77;
64
+ const location = yield* Service82;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name12,
66
+ name: name5,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input12,
69
+ input: Input5,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin31 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent5(result.path, input.offset, result.output),
113
+ content: toModelContent3(result.path, input.offset, result.output),
114
114
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
115
115
  })), Effect.mapError((error) => {
116
116
  if (error instanceof ToolFailure)
@@ -143,7 +143,7 @@ ${suggestions.join(`
143
143
  });
144
144
  })
145
145
  };
146
- var toModelContent5 = (path, offset, output) => {
146
+ var toModelContent3 = (path, offset, output) => {
147
147
  if (output.type === "file" && output.encoding === "base64")
148
148
  return [
149
149
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent5 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name12, Input12, Plugin31, toModelContent5, exports_read };
182
+ export { name5, Input5, Plugin6, toModelContent3, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./ripgrep-6q2bdcd1.js";
3
+ } from "./bus-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";