@opencode/core 0.0.0-dev-19882 → 0.0.0-dev-19884

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{file-retention-as6js5h3.js → ripgrep-00drppa2.js} +10 -10
  8. package/dist/chunks/{file-retention-axe08f99.js → ripgrep-02kg8zjk.js} +28 -28
  9. package/dist/chunks/{file-retention-qns4nxe6.js → ripgrep-08qs2p70.js} +28 -28
  10. package/dist/chunks/{file-retention-j58c5xyq.js → ripgrep-0996nyz8.js} +9 -9
  11. package/dist/chunks/{file-retention-p0b4ytnr.js → ripgrep-0gaj4617.js} +4 -4
  12. package/dist/chunks/{file-retention-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-retention-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{file-retention-w7dexayp.js → ripgrep-0rrms05z.js} +33 -33
  15. package/dist/chunks/{file-retention-phstrbs2.js → ripgrep-1ajx6rf5.js} +8 -8
  16. package/dist/chunks/{file-retention-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{file-retention-m474z1kw.js → ripgrep-1nrdxkt6.js} +22 -22
  18. package/dist/chunks/ripgrep-1x11rq2a.js +18 -0
  19. package/dist/chunks/{file-retention-6xwcf1a8.js → ripgrep-1yv162eq.js} +4 -4
  20. package/dist/chunks/{file-retention-21r38tys.js → ripgrep-21r38tys.js} +1 -1
  21. package/dist/chunks/{file-retention-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
  22. package/dist/chunks/{file-retention-z63w68vq.js → ripgrep-29x78va6.js} +6 -6
  23. package/dist/chunks/{file-retention-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{file-retention-8zqwde36.js → ripgrep-2k97ax98.js} +3 -3
  25. package/dist/chunks/{file-retention-2f0bjgcj.js → ripgrep-3cfzdc8e.js} +5 -5
  26. package/dist/chunks/{file-retention-v7ffx8ea.js → ripgrep-3e38qjvr.js} +17 -17
  27. package/dist/chunks/{file-retention-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
  28. package/dist/chunks/{file-retention-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{file-retention-6dxv2793.js → ripgrep-3m25mxr5.js} +47 -47
  30. package/dist/chunks/{file-retention-tb4jd28d.js → ripgrep-3mc0mxvn.js} +6 -6
  31. package/dist/chunks/{file-retention-q126tr5h.js → ripgrep-3mc3a2sf.js} +15 -15
  32. package/dist/chunks/{file-retention-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
  33. package/dist/chunks/{file-retention-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{file-retention-c86z6gw9.js → ripgrep-3wcxc2ne.js} +7 -7
  35. package/dist/chunks/{file-retention-eaew7zx1.js → ripgrep-3zh0859w.js} +15 -15
  36. package/dist/chunks/{file-retention-qby9dwvd.js → ripgrep-43h198y8.js} +8 -8
  37. package/dist/chunks/{file-retention-g3d2w7hy.js → ripgrep-47axers8.js} +24 -24
  38. package/dist/chunks/{file-retention-h6r3nrb9.js → ripgrep-4dgbcxzg.js} +4 -4
  39. package/dist/chunks/{file-retention-hd72gfym.js → ripgrep-4p8111z8.js} +17 -17
  40. package/dist/chunks/{file-retention-t9taxymt.js → ripgrep-4pjcr2w6.js} +5 -5
  41. package/dist/chunks/{file-retention-htdsj6r1.js → ripgrep-4sra3427.js} +18 -18
  42. package/dist/chunks/{file-retention-9x2j21m7.js → ripgrep-576taz8z.js} +22 -22
  43. package/dist/chunks/{file-retention-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
  44. package/dist/chunks/{file-retention-dd7met55.js → ripgrep-57z5z4v1.js} +8 -8
  45. package/dist/chunks/{file-retention-c8z6r1re.js → ripgrep-595ycqh3.js} +10 -10
  46. package/dist/chunks/{file-retention-6v2v7y0g.js → ripgrep-5a6ex2zm.js} +32 -32
  47. package/dist/chunks/{file-retention-a1bz86dw.js → ripgrep-5c4hm403.js} +3 -3
  48. package/dist/chunks/{file-retention-4ygb4b7g.js → ripgrep-5d771mpt.js} +4 -4
  49. package/dist/chunks/{file-retention-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
  50. package/dist/chunks/{file-retention-wda1wpd5.js → ripgrep-5jbzwjgm.js} +15 -15
  51. package/dist/chunks/{file-retention-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
  52. package/dist/chunks/{file-retention-ymjb4ggy.js → ripgrep-5zv2xz0x.js} +17 -17
  53. package/dist/chunks/{file-retention-q7qrw62a.js → ripgrep-60bahft7.js} +11 -11
  54. package/dist/chunks/{file-retention-xnr80fb6.js → ripgrep-62cs28jb.js} +5 -5
  55. package/dist/chunks/{file-retention-669tq793.js → ripgrep-669tq793.js} +1 -1
  56. package/dist/chunks/{file-retention-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
  57. package/dist/chunks/{file-retention-0xhrvaxm.js → ripgrep-6pc7fx7t.js} +27 -27
  58. package/dist/chunks/{file-retention-a9z38t8t.js → ripgrep-6yvbrjax.js} +25 -25
  59. package/dist/chunks/{file-retention-mvfsc1pv.js → ripgrep-73tb2d7t.js} +3 -3
  60. package/dist/chunks/{file-retention-ppvrv3b5.js → ripgrep-762am0a2.js} +3 -3
  61. package/dist/chunks/{file-retention-qqrhapfm.js → ripgrep-777p5kr8.js} +20 -20
  62. package/dist/chunks/{file-retention-phgk4j5x.js → ripgrep-77b9qh7g.js} +14 -14
  63. package/dist/chunks/{file-retention-f6e7w7qa.js → ripgrep-7ak0evkr.js} +4 -4
  64. package/dist/chunks/{file-retention-cf78hqg4.js → ripgrep-7arsjac4.js} +11 -11
  65. package/dist/chunks/ripgrep-7bm43ve7.js +252 -0
  66. package/dist/chunks/{file-retention-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{file-retention-mejjs3gq.js → ripgrep-7c7tqtfq.js} +11 -11
  68. package/dist/chunks/{file-retention-7dqw4kz8.js → ripgrep-7dqw4kz8.js} +1 -1
  69. package/dist/chunks/{file-retention-ykxsfcqd.js → ripgrep-7h053g4f.js} +15 -15
  70. package/dist/chunks/{file-retention-k4pgmrqs.js → ripgrep-7pnjd3fd.js} +13 -13
  71. package/dist/chunks/{file-retention-6tg303q8.js → ripgrep-7ye0eskq.js} +5 -5
  72. package/dist/chunks/{file-retention-qek8dtx8.js → ripgrep-80nc4spm.js} +18 -18
  73. package/dist/chunks/{file-retention-fja4vk1j.js → ripgrep-86cf9fw2.js} +11 -11
  74. package/dist/chunks/{file-retention-xh89e2hh.js → ripgrep-88fr6h4a.js} +30 -30
  75. package/dist/chunks/{file-retention-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
  76. package/dist/chunks/{file-retention-s3xynfkg.js → ripgrep-8jzekk46.js} +14 -14
  77. package/dist/chunks/{file-retention-37b5a4wm.js → ripgrep-8p9yqp1g.js} +25 -25
  78. package/dist/chunks/{file-retention-qsxes4qb.js → ripgrep-8q3y7ehd.js} +29 -29
  79. package/dist/chunks/{file-retention-ds33edxf.js → ripgrep-8s5tghjp.js} +26 -26
  80. package/dist/chunks/{file-retention-xcc8tqnx.js → ripgrep-8wb0zfrh.js} +16 -16
  81. package/dist/chunks/{file-retention-3fy2htfg.js → ripgrep-94zshge0.js} +29 -29
  82. package/dist/chunks/{file-retention-g3y0met1.js → ripgrep-96y38d67.js} +41 -41
  83. package/dist/chunks/{file-retention-g92vxn4r.js → ripgrep-98cb2jh6.js} +181 -181
  84. package/dist/chunks/{file-retention-tcay1cqt.js → ripgrep-9ae44cfy.js} +6 -6
  85. package/dist/chunks/{file-retention-1w78bxtf.js → ripgrep-9dsm0yy8.js} +9 -9
  86. package/dist/chunks/{file-retention-t7d66bkg.js → ripgrep-9k4hstdt.js} +44 -44
  87. package/dist/chunks/{file-retention-53tprqe9.js → ripgrep-9p41r4tx.js} +24 -24
  88. package/dist/chunks/{file-retention-rd456c9t.js → ripgrep-9xbg11md.js} +20 -20
  89. package/dist/chunks/{file-retention-0465j91r.js → ripgrep-a5ws9a8a.js} +13 -13
  90. package/dist/chunks/{file-retention-zvcs2h3f.js → ripgrep-a7q5ytqy.js} +12 -12
  91. package/dist/chunks/{file-retention-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
  92. package/dist/chunks/{file-retention-pkav3n9h.js → ripgrep-ad9f3vzh.js} +20 -20
  93. package/dist/chunks/{file-retention-zmh7j08z.js → ripgrep-ap58tr72.js} +22 -22
  94. package/dist/chunks/{file-retention-2kvyq317.js → ripgrep-b46t8qcq.js} +10 -10
  95. package/dist/chunks/{file-retention-8y74cv5j.js → ripgrep-b5dg6b6d.js} +18 -18
  96. package/dist/chunks/{file-retention-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
  97. package/dist/chunks/{file-retention-k779xt46.js → ripgrep-b7wj3gyt.js} +21 -21
  98. package/dist/chunks/{file-retention-06dxphr1.js → ripgrep-bccb6npm.js} +4 -4
  99. package/dist/chunks/{file-retention-dfe8djrf.js → ripgrep-bf0ztrs3.js} +4 -4
  100. package/dist/chunks/{file-retention-qnjwxcy5.js → ripgrep-bpagpxd9.js} +9 -9
  101. package/dist/chunks/{file-retention-k9avtbwf.js → ripgrep-bpcm8v83.js} +9 -9
  102. package/dist/chunks/{file-retention-p7322rh5.js → ripgrep-bvvrmhe1.js} +17 -17
  103. package/dist/chunks/{file-retention-hen7z686.js → ripgrep-bywg4f5n.js} +44 -44
  104. package/dist/chunks/{file-retention-564f0z0w.js → ripgrep-c8br9twv.js} +20 -20
  105. package/dist/chunks/ripgrep-cd7q2513.js +26 -0
  106. package/dist/chunks/{file-retention-ns0rd2gc.js → ripgrep-cdawn80v.js} +11 -11
  107. package/dist/chunks/{file-retention-c765mh8b.js → ripgrep-cwa6csj7.js} +9 -9
  108. package/dist/chunks/{file-retention-af04s6ss.js → ripgrep-d2aac7k2.js} +5 -5
  109. package/dist/chunks/{file-retention-grfryzp0.js → ripgrep-dbvccpaz.js} +4 -4
  110. package/dist/chunks/{file-retention-rw8zzf0g.js → ripgrep-dbxp2k0j.js} +10 -10
  111. package/dist/chunks/{file-retention-8p4f9s12.js → ripgrep-dj2t23y0.js} +2 -2
  112. package/dist/chunks/{file-retention-cgx608pj.js → ripgrep-dm8e8cqc.js} +14 -14
  113. package/dist/chunks/{file-retention-161zx9cz.js → ripgrep-dmpxpvyd.js} +11 -11
  114. package/dist/chunks/{file-retention-t6kv9btv.js → ripgrep-dw1q9xcc.js} +34 -34
  115. package/dist/chunks/{file-retention-ab8cnxkj.js → ripgrep-e34x8y7p.js} +11 -11
  116. package/dist/chunks/{file-retention-5qd3pb7m.js → ripgrep-e3qxr5gk.js} +2 -2
  117. package/dist/chunks/{file-retention-qrsctp9r.js → ripgrep-eae6hk2f.js} +17 -17
  118. package/dist/chunks/{file-retention-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
  119. package/dist/chunks/{file-retention-n3822xjh.js → ripgrep-emqpgmd6.js} +28 -28
  120. package/dist/chunks/{file-retention-0a2z30tt.js → ripgrep-ena3twxc.js} +35 -35
  121. package/dist/chunks/{file-retention-4drgpw32.js → ripgrep-engkm2d6.js} +5 -5
  122. package/dist/chunks/{file-retention-zs7xhsyr.js → ripgrep-enx68je3.js} +18 -18
  123. package/dist/chunks/{file-retention-qdme6shq.js → ripgrep-erbxqsgg.js} +18 -18
  124. package/dist/chunks/{file-retention-erw5rpbs.js → ripgrep-erw5rpbs.js} +2 -2
  125. package/dist/chunks/{file-retention-ypezmy3j.js → ripgrep-eszpxc5c.js} +5 -5
  126. package/dist/chunks/{file-retention-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{file-retention-aj2jtzg2.js → ripgrep-f06c2dtw.js} +15 -15
  128. package/dist/chunks/{file-retention-50fcby8k.js → ripgrep-f2aqmkqm.js} +11 -11
  129. package/dist/chunks/{file-retention-yp2x3t23.js → ripgrep-f2n192rq.js} +4 -4
  130. package/dist/chunks/{file-retention-1jetprvn.js → ripgrep-f4ysmyc6.js} +4 -4
  131. package/dist/chunks/{file-retention-0ejh5z8n.js → ripgrep-f8mhce1d.js} +9 -9
  132. package/dist/chunks/{file-retention-gj3qr6k7.js → ripgrep-fg7qhaex.js} +58 -58
  133. package/dist/chunks/{file-retention-6hh8tjw2.js → ripgrep-fm2qvscf.js} +4 -4
  134. package/dist/chunks/{file-retention-7w99qc9d.js → ripgrep-fpnx24t4.js} +3 -3
  135. package/dist/chunks/{file-retention-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
  136. package/dist/chunks/{file-retention-2avmftzw.js → ripgrep-fy1t25hs.js} +10 -10
  137. package/dist/chunks/{file-retention-mpc2mza6.js → ripgrep-fyvg84yx.js} +12 -12
  138. package/dist/chunks/{file-retention-wkd68h98.js → ripgrep-g5rgvkph.js} +28 -28
  139. package/dist/chunks/{file-retention-6jr39b9q.js → ripgrep-g5xx7w73.js} +15 -15
  140. package/dist/chunks/{file-retention-a25dsj3m.js → ripgrep-g790jytp.js} +47 -47
  141. package/dist/chunks/{file-retention-tjqchgqk.js → ripgrep-gc5ex385.js} +11 -11
  142. package/dist/chunks/{file-retention-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{file-retention-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
  144. package/dist/chunks/{file-retention-yn99y8fk.js → ripgrep-h3g2mynz.js} +9 -9
  145. package/dist/chunks/{file-retention-cfpt4yrn.js → ripgrep-h3qh9gwx.js} +23 -23
  146. package/dist/chunks/ripgrep-h47he10w.js +4 -0
  147. package/dist/chunks/{file-retention-984gzsd7.js → ripgrep-h47rfed7.js} +28 -28
  148. package/dist/chunks/{file-retention-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{file-retention-p7nsp59h.js → ripgrep-h6z8d5tn.js} +4 -4
  150. package/dist/chunks/{file-retention-8mgkexa6.js → ripgrep-hc7vac20.js} +19 -19
  151. package/dist/chunks/{file-retention-f828m53h.js → ripgrep-hdnk95c8.js} +2 -2
  152. package/dist/chunks/{file-retention-1tr2x808.js → ripgrep-hn3c4ey4.js} +20 -20
  153. package/dist/chunks/{file-retention-s18791rc.js → ripgrep-hqh6p6yn.js} +4 -4
  154. package/dist/chunks/{file-retention-w44rhn25.js → ripgrep-hv38ezqz.js} +22 -22
  155. package/dist/chunks/{file-retention-w2pkbhw2.js → ripgrep-hv6rh1ah.js} +25 -25
  156. package/dist/chunks/{file-retention-t8g68kxt.js → ripgrep-hvtp2efv.js} +28 -28
  157. package/dist/chunks/{file-retention-5rddp1d9.js → ripgrep-hyr91dj2.js} +3 -3
  158. package/dist/chunks/{file-retention-m6b0tvc0.js → ripgrep-j26cqbwq.js} +3 -3
  159. package/dist/chunks/{file-retention-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
  160. package/dist/chunks/{file-retention-kz3hpxab.js → ripgrep-j68eznfn.js} +3 -3
  161. package/dist/chunks/{file-retention-bm43m6wm.js → ripgrep-j75a2xa8.js} +9 -9
  162. package/dist/chunks/{file-retention-hm8nq6aa.js → ripgrep-jbj27hk3.js} +5 -5
  163. package/dist/chunks/{file-retention-6tkqkfbf.js → ripgrep-jegn5rpz.js} +44 -44
  164. package/dist/chunks/{file-retention-wb2tsxva.js → ripgrep-jhewz3v4.js} +13 -13
  165. package/dist/chunks/{file-retention-jjs74g98.js → ripgrep-jjs74g98.js} +2 -2
  166. package/dist/chunks/{file-retention-eeaf82dq.js → ripgrep-jkka0c6f.js} +8 -8
  167. package/dist/chunks/{file-retention-cq37gk0t.js → ripgrep-jmphe03k.js} +4 -4
  168. package/dist/chunks/{file-retention-dkrr66w3.js → ripgrep-jntbakwj.js} +10 -10
  169. package/dist/chunks/{file-retention-wkx5y8be.js → ripgrep-jvdt4jv7.js} +6 -6
  170. package/dist/chunks/{file-retention-q116m3wp.js → ripgrep-kh0v43c1.js} +7 -7
  171. package/dist/chunks/{file-retention-magykp64.js → ripgrep-kk00bynn.js} +21 -21
  172. package/dist/chunks/{file-retention-e0v2rycq.js → ripgrep-kkgwyedr.js} +16 -16
  173. package/dist/chunks/{file-retention-8m0xfxha.js → ripgrep-kv8tb5ny.js} +14 -14
  174. package/dist/chunks/{file-retention-krmnc5cg.js → ripgrep-kv9ap8w1.js} +11 -11
  175. package/dist/chunks/{file-retention-fmcqyzhx.js → ripgrep-kw9xdzv2.js} +9 -9
  176. package/dist/chunks/{file-retention-cfpkc3c9.js → ripgrep-m0jqrx5p.js} +2 -2
  177. package/dist/chunks/{file-retention-4n8q391k.js → ripgrep-m2cwgzsz.js} +20 -20
  178. package/dist/chunks/{file-retention-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{file-retention-k0vw0a2j.js → ripgrep-m3wcxb4h.js} +19 -19
  180. package/dist/chunks/{file-retention-8s3n9c7m.js → ripgrep-m6yarymk.js} +25 -25
  181. package/dist/chunks/{file-retention-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{file-retention-56gdpj1q.js → ripgrep-mfqp6xfm.js} +6 -6
  183. package/dist/chunks/{file-retention-vwhz9c2y.js → ripgrep-mh050mx3.js} +29 -29
  184. package/dist/chunks/{file-retention-fkjmw100.js → ripgrep-mmr7bq34.js} +4 -4
  185. package/dist/chunks/{file-retention-1xy1s23z.js → ripgrep-mqc96y4z.js} +12 -12
  186. package/dist/chunks/{file-retention-nxz2ctde.js → ripgrep-mw03hhna.js} +19 -19
  187. package/dist/chunks/{file-retention-66yb9ghn.js → ripgrep-n06c4v83.js} +38 -38
  188. package/dist/chunks/{file-retention-c9dd285s.js → ripgrep-n8ha5vbr.js} +56 -56
  189. package/dist/chunks/ripgrep-n91rd0qh.js +492 -0
  190. package/dist/chunks/{file-retention-5s5jpmcb.js → ripgrep-naw1myqz.js} +23 -23
  191. package/dist/chunks/{file-retention-8fxnv50h.js → ripgrep-npch8yde.js} +41 -41
  192. package/dist/chunks/{file-retention-pr2185cp.js → ripgrep-npm9gzvc.js} +1 -1
  193. package/dist/chunks/{file-retention-215n7470.js → ripgrep-nqjmnyjs.js} +11 -11
  194. package/dist/chunks/{file-retention-h4z1mxff.js → ripgrep-nyqx1cb3.js} +5 -5
  195. package/dist/chunks/{file-retention-k3c624dm.js → ripgrep-nzks3jc8.js} +3 -3
  196. package/dist/chunks/{file-retention-qn4ba14w.js → ripgrep-p1nm93x7.js} +5 -5
  197. package/dist/chunks/{file-retention-tbz0fdvh.js → ripgrep-p28j5sbe.js} +5 -5
  198. package/dist/chunks/{file-retention-tc5he9wg.js → ripgrep-p39gsrf5.js} +43 -43
  199. package/dist/chunks/{file-retention-eg6dj9bv.js → ripgrep-p3jb5j7b.js} +31 -31
  200. package/dist/chunks/{file-retention-aaxh33wy.js → ripgrep-p51w04et.js} +8 -8
  201. package/dist/chunks/{file-retention-hpxktczp.js → ripgrep-p6r503wj.js} +26 -26
  202. package/dist/chunks/{file-retention-kd4bpffd.js → ripgrep-p82qgwm6.js} +16 -16
  203. package/dist/chunks/{file-retention-bscb95cy.js → ripgrep-pjedbq3k.js} +4 -4
  204. package/dist/chunks/{file-retention-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{file-retention-pknna89w.js → ripgrep-pknna89w.js} +1 -1
  206. package/dist/chunks/{file-retention-4cf05jz0.js → ripgrep-pm5byaap.js} +22 -22
  207. package/dist/chunks/{file-retention-6bbyae08.js → ripgrep-pmryb5d7.js} +26 -26
  208. package/dist/chunks/{file-retention-yj9gc6e9.js → ripgrep-ps7p92m4.js} +15 -15
  209. package/dist/chunks/{file-retention-m22wyk78.js → ripgrep-pvwh1q8t.js} +25 -25
  210. package/dist/chunks/{file-retention-9j9rrcym.js → ripgrep-pzz9wtjp.js} +4 -4
  211. package/dist/chunks/{file-retention-nng2ktcm.js → ripgrep-q970vn6j.js} +2 -2
  212. package/dist/chunks/{file-retention-yc9v5tg1.js → ripgrep-qd7cft6p.js} +9 -9
  213. package/dist/chunks/{file-retention-4cp2jqb2.js → ripgrep-qdcqwhjs.js} +17 -17
  214. package/dist/chunks/{file-retention-tb78nqd6.js → ripgrep-qfpwt3wt.js} +11 -11
  215. package/dist/chunks/{file-retention-drwq78ky.js → ripgrep-qqeeq2t9.js} +7 -7
  216. package/dist/chunks/{file-retention-pepar0ja.js → ripgrep-qrn1gxgv.js} +84 -84
  217. package/dist/chunks/{file-retention-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
  218. package/dist/chunks/{file-retention-4fbyhaeh.js → ripgrep-r51gqmb4.js} +4 -4
  219. package/dist/chunks/{file-retention-081pkz04.js → ripgrep-r83etpq8.js} +6 -6
  220. package/dist/chunks/{file-retention-fk5jcdb3.js → ripgrep-ranyrkk2.js} +14 -14
  221. package/dist/chunks/{file-retention-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{file-retention-ckzj2a1x.js → ripgrep-rqwcfhke.js} +8 -8
  223. package/dist/chunks/{file-retention-nfmjes2s.js → ripgrep-rvtvfpzy.js} +6 -6
  224. package/dist/chunks/{file-retention-cjwramev.js → ripgrep-rxcdjwh1.js} +6 -6
  225. package/dist/chunks/{file-retention-bz85s9hh.js → ripgrep-ryt7pzqc.js} +1 -1
  226. package/dist/chunks/{file-retention-yrznvahk.js → ripgrep-s4enseaf.js} +2 -2
  227. package/dist/chunks/{file-retention-e3t6na1y.js → ripgrep-sdgam4xr.js} +1 -1
  228. package/dist/chunks/{file-retention-was7srj9.js → ripgrep-sgwh5nyn.js} +8 -8
  229. package/dist/chunks/{file-retention-3tvxnvmk.js → ripgrep-sh1v16f4.js} +32 -32
  230. package/dist/chunks/{file-retention-m06kr8rz.js → ripgrep-szb7x5e7.js} +27 -27
  231. package/dist/chunks/{file-retention-j50syq5q.js → ripgrep-t0ac4kqt.js} +11 -11
  232. package/dist/chunks/{file-retention-1dan17xy.js → ripgrep-t0w9tswa.js} +11 -11
  233. package/dist/chunks/{file-retention-embw8kgh.js → ripgrep-t2az9yje.js} +4 -4
  234. package/dist/chunks/{file-retention-rhjbct0v.js → ripgrep-t550f9t1.js} +4 -4
  235. package/dist/chunks/{file-retention-2f81yahh.js → ripgrep-taxxp7qa.js} +28 -28
  236. package/dist/chunks/{file-retention-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{file-retention-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{file-retention-tdstcens.js → ripgrep-tdstcens.js} +1 -1
  239. package/dist/chunks/{file-retention-p8z5rwmr.js → ripgrep-terq9fxp.js} +27 -27
  240. package/dist/chunks/{file-retention-kkp8zx71.js → ripgrep-tfzngn12.js} +4 -4
  241. package/dist/chunks/{file-retention-pnbe07hy.js → ripgrep-tgaz0dtb.js} +5 -5
  242. package/dist/chunks/{file-retention-wjv2nsv8.js → ripgrep-tp9tgz8k.js} +11 -11
  243. package/dist/chunks/{file-retention-167dw5de.js → ripgrep-tv5x03kr.js} +26 -26
  244. package/dist/chunks/{file-retention-4an14yhs.js → ripgrep-tvmycyz8.js} +8 -8
  245. package/dist/chunks/{file-retention-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
  246. package/dist/chunks/{file-retention-raq0bhdx.js → ripgrep-txwbxve6.js} +17 -17
  247. package/dist/chunks/{file-retention-4vc8sr10.js → ripgrep-tynr2gr2.js} +30 -30
  248. package/dist/chunks/{file-retention-8b167y8a.js → ripgrep-v19709j4.js} +33 -33
  249. package/dist/chunks/{file-retention-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
  250. package/dist/chunks/{file-retention-b6q9rwn2.js → ripgrep-vfpvfcad.js} +24 -24
  251. package/dist/chunks/{file-retention-4f92x3nk.js → ripgrep-vspmzc2d.js} +14 -14
  252. package/dist/chunks/{file-retention-pb1eahw5.js → ripgrep-vyrd71eq.js} +11 -11
  253. package/dist/chunks/{file-retention-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{file-retention-swsjrdwb.js → ripgrep-vzfyj1ka.js} +10 -10
  255. package/dist/chunks/{file-retention-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{file-retention-d64bv18p.js → ripgrep-w8ee3ykt.js} +29 -29
  257. package/dist/chunks/{file-retention-yrdrmcw9.js → ripgrep-w9k11mtt.js} +5 -5
  258. package/dist/chunks/{file-retention-3y98hz0x.js → ripgrep-wa8gayma.js} +90 -90
  259. package/dist/chunks/{file-retention-wd87259q.js → ripgrep-wd87259q.js} +1 -1
  260. package/dist/chunks/{file-retention-0xwbjxfr.js → ripgrep-wdkpcg2j.js} +25 -25
  261. package/dist/chunks/{file-retention-dy7xfy74.js → ripgrep-wqkfmf7p.js} +12 -12
  262. package/dist/chunks/{file-retention-8mh6qs45.js → ripgrep-wsfhs49f.js} +5 -5
  263. package/dist/chunks/{file-retention-ayrh20bw.js → ripgrep-wws8y0j5.js} +7 -7
  264. package/dist/chunks/{file-retention-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{file-retention-hjqn29cc.js → ripgrep-x8dfedm0.js} +5 -5
  266. package/dist/chunks/{file-retention-hhahvva9.js → ripgrep-x9ayx9my.js} +5 -5
  267. package/dist/chunks/{file-retention-q67fkkta.js → ripgrep-xb6f42dc.js} +14 -14
  268. package/dist/chunks/{file-retention-9hj87zcn.js → ripgrep-xgw0etvz.js} +2 -2
  269. package/dist/chunks/{file-retention-673ngpmn.js → ripgrep-xrbsbc41.js} +11 -11
  270. package/dist/chunks/{file-retention-n7kj0nfb.js → ripgrep-xvyew5bh.js} +27 -27
  271. package/dist/chunks/{file-retention-1s6npp0x.js → ripgrep-xyb0jyg8.js} +9 -9
  272. package/dist/chunks/{file-retention-sb19sksh.js → ripgrep-xyssbcjp.js} +8 -8
  273. package/dist/chunks/{file-retention-f5yqwc0y.js → ripgrep-xz99hjyp.js} +10 -10
  274. package/dist/chunks/{file-retention-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{file-retention-c9fwgwbn.js → ripgrep-y34kqq23.js} +14 -14
  276. package/dist/chunks/{file-retention-p3sjsf4c.js → ripgrep-y3kqwzhp.js} +6 -6
  277. package/dist/chunks/{file-retention-dpkg50ah.js → ripgrep-y71avatq.js} +4 -4
  278. package/dist/chunks/{file-retention-523mvypz.js → ripgrep-yanrta8x.js} +28 -28
  279. package/dist/chunks/{file-retention-yedm1x7m.js → ripgrep-ydzmr5w4.js} +24 -24
  280. package/dist/chunks/{file-retention-kd60309v.js → ripgrep-yh6dn83m.js} +12 -12
  281. package/dist/chunks/{file-retention-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{file-retention-954vm9zf.js → ripgrep-ysddpjww.js} +6 -6
  283. package/dist/chunks/{file-retention-yq8wzs83.js → ripgrep-yyaayjfj.js} +70 -70
  284. package/dist/chunks/{file-retention-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{file-retention-k5q0tfv3.js → ripgrep-zb5wqgkq.js} +48 -48
  286. package/dist/chunks/{file-retention-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{file-retention-3tpxjgq6.js → ripgrep-zmgjwfd0.js} +42 -42
  288. package/dist/chunks/{file-retention-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-retention-xmn7azz3.js → ripgrep-ztyn76tz.js} +13 -13
  290. package/dist/chunks/{file-retention-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +11 -11
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +82 -82
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +124 -124
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +122 -122
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +123 -123
  317. package/dist/config/plugin/tool-output.js +122 -122
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +123 -123
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +80 -80
  325. package/dist/database/database.js +71 -71
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +71 -71
  414. package/dist/file-access.js +99 -99
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.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 +226 -226
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +79 -79
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +82 -82
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +8 -8
  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 +90 -90
  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 +359 -359
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +83 -83
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +133 -133
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +99 -99
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +82 -82
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +105 -105
  475. package/dist/mcp/instructions.js +125 -125
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +97 -97
  482. package/dist/models-dev.js +94 -94
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +79 -79
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +114 -114
  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 +87 -87
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +101 -101
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +91 -91
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  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 +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +228 -228
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +81 -81
  562. package/dist/provider.js +96 -96
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +86 -86
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +133 -133
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +222 -222
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +89 -89
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +123 -123
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +169 -169
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +74 -74
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +153 -153
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +219 -219
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +217 -217
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +2 -2
  630. package/dist/skill/instructions.js +104 -104
  631. package/dist/skill.js +111 -111
  632. package/dist/snapshot.js +92 -92
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +120 -120
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +119 -119
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +104 -104
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +216 -216
  646. package/dist/tool/plugin/skill.js +112 -112
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +107 -107
  649. package/dist/tool/plugin/websearch.js +113 -113
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +6 -6
  654. package/dist/tool.js +16 -16
  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 +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +1 -1
  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 +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +83 -83
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +97 -97
  695. package/package.json +8 -8
  696. package/dist/chunks/file-retention-0mesazry.js +0 -4
  697. package/dist/chunks/file-retention-619r8v3y.js +0 -18
  698. package/dist/chunks/file-retention-gsnhtkd6.js +0 -252
  699. package/dist/chunks/file-retention-gtjgk2yx.js +0 -26
  700. package/dist/chunks/file-retention-qez3s13j.js +0 -492
  701. /package/dist/chunks/{file-retention-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{file-retention-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{file-retention-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{file-retention-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{file-retention-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{file-retention-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{file-retention-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{file-retention-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{file-retention-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{file-retention-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{file-retention-3asan66x.js → ripgrep-3asan66x.js} +0 -0
  712. /package/dist/chunks/{file-retention-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{file-retention-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{file-retention-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{file-retention-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{file-retention-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{file-retention-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{file-retention-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{file-retention-53557ph1.js → ripgrep-53557ph1.js} +0 -0
  720. /package/dist/chunks/{file-retention-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{file-retention-6prwharc.js → ripgrep-6prwharc.js} +0 -0
  722. /package/dist/chunks/{file-retention-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{file-retention-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{file-retention-822emrt2.js → ripgrep-822emrt2.js} +0 -0
  725. /package/dist/chunks/{file-retention-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{file-retention-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{file-retention-922hggd3.js → ripgrep-922hggd3.js} +0 -0
  728. /package/dist/chunks/{file-retention-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{file-retention-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{file-retention-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{file-retention-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{file-retention-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{file-retention-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{file-retention-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{file-retention-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{file-retention-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{file-retention-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{file-retention-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{file-retention-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{file-retention-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{file-retention-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{file-retention-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{file-retention-df08tz66.js → ripgrep-df08tz66.js} +0 -0
  744. /package/dist/chunks/{file-retention-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{file-retention-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{file-retention-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{file-retention-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{file-retention-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{file-retention-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{file-retention-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{file-retention-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{file-retention-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{file-retention-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{file-retention-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{file-retention-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{file-retention-g86h250q.js → ripgrep-g86h250q.js} +0 -0
  757. /package/dist/chunks/{file-retention-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{file-retention-gftt206x.js → ripgrep-gftt206x.js} +0 -0
  759. /package/dist/chunks/{file-retention-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{file-retention-hk9envan.js → ripgrep-hk9envan.js} +0 -0
  761. /package/dist/chunks/{file-retention-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{file-retention-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{file-retention-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{file-retention-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{file-retention-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{file-retention-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{file-retention-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{file-retention-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{file-retention-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{file-retention-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{file-retention-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{file-retention-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{file-retention-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{file-retention-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{file-retention-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{file-retention-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{file-retention-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{file-retention-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{file-retention-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{file-retention-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{file-retention-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{file-retention-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{file-retention-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{file-retention-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{file-retention-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{file-retention-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{file-retention-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{file-retention-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{file-retention-x61499pn.js → ripgrep-x61499pn.js} +0 -0
  790. /package/dist/chunks/{file-retention-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{file-retention-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{file-retention-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{file-retention-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{file-retention-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{file-retention-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./file-retention-h6r3nrb9.js";
3
+ } from "./ripgrep-4dgbcxzg.js";
4
4
  import {
5
- Service81
6
- } from "./file-retention-yj9gc6e9.js";
5
+ Service82
6
+ } from "./ripgrep-ps7p92m4.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./file-retention-b6q9rwn2.js";
10
+ } from "./ripgrep-vfpvfcad.js";
11
11
  import {
12
- ID14,
12
+ ID12,
13
13
  MethodID2
14
- } from "./file-retention-w2pkbhw2.js";
14
+ } from "./ripgrep-hv6rh1ah.js";
15
15
  import {
16
- ID13,
16
+ ID11,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service74
20
- } from "./file-retention-n7kj0nfb.js";
19
+ Service70
20
+ } from "./ripgrep-xvyew5bh.js";
21
21
  import {
22
- ID12
23
- } from "./file-retention-0xhrvaxm.js";
22
+ ID10
23
+ } from "./ripgrep-6pc7fx7t.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./file-retention-cf78hqg4.js";
27
+ } from "./ripgrep-7arsjac4.js";
28
28
  import {
29
29
  useragent2
30
- } from "./file-retention-215n7470.js";
30
+ } from "./ripgrep-nqjmnyjs.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID14.make("github-copilot"),
62
+ integrationID: ID12.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,8 +157,8 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service74;
161
- const bus = yield* Service81;
160
+ const providers = yield* Service70;
161
+ const bus = yield* Service82;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
164
164
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID13.githubCopilot);
176
+ const provider = yield* providers.get(ID11.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
178
  try: () => load2(url, {
179
179
  ...provider?.headers,
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID13.githubCopilot);
197
+ const item = evt.get(ID11.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
218
- models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
218
+ models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID13.githubCopilot)
227
+ if (evt.model.providerID !== ID11.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID13.githubCopilot)
236
+ if (evt.model.providerID !== ID11.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID13.githubCopilot });
246
+ }), { providerID: ID11.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID13.githubCopilot)
248
+ if (evt.model.providerID !== ID11.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID13.githubCopilot });
256
+ }), { providerID: ID11.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID13.githubCopilot)
258
+ if (evt.model.providerID !== ID11.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin48,
9
+ Plugin: () => Plugin35,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin48 = define({
25
+ var Plugin35 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin48 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin48, exports_identity };
38
+ export { identity2, Plugin35, exports_identity };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./file-retention-gj3qr6k7.js";
3
+ } from "./ripgrep-fg7qhaex.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./ripgrep-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin42
12
+ Plugin: () => Plugin31
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin42 = define({
32
+ var Plugin31 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin42, exports_plan };
109
+ export { Plugin31, exports_plan };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-215n7470.js";
3
+ } from "./ripgrep-nqjmnyjs.js";
4
4
  import {
5
5
  OAuth3,
6
- Service76
7
- } from "./file-retention-b6q9rwn2.js";
6
+ Service72
7
+ } from "./ripgrep-vfpvfcad.js";
8
8
  import {
9
- ID14,
9
+ ID12,
10
10
  MethodID2
11
- } from "./file-retention-w2pkbhw2.js";
11
+ } from "./ripgrep-hv6rh1ah.js";
12
12
  import {
13
- ID13,
13
+ ID11,
14
14
  mergeOverlay2
15
- } from "./file-retention-n7kj0nfb.js";
15
+ } from "./ripgrep-xvyew5bh.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID13.make("xai");
27
+ var providerID = ID11.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID14.make("xai"),
47
+ integrationID: ID12.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service76;
73
- yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
72
+ const credentials = yield* Service72;
73
+ yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-retention-2a5m3afh.js";
3
+ } from "./ripgrep-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-retention-922hggd3.js";
6
+ } from "./ripgrep-922hggd3.js";
7
7
  import {
8
- Service78
9
- } from "./file-retention-673ngpmn.js";
8
+ Service79
9
+ } from "./ripgrep-xrbsbc41.js";
10
10
  import {
11
- Service69
12
- } from "./file-retention-5s5jpmcb.js";
11
+ Service76
12
+ } from "./ripgrep-naw1myqz.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service67
16
- } from "./file-retention-htdsj6r1.js";
15
+ Service64
16
+ } from "./ripgrep-4sra3427.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./file-retention-d64bv18p.js";
23
+ } from "./ripgrep-w8ee3ykt.js";
24
24
  import {
25
- Service62
26
- } from "./file-retention-gj3qr6k7.js";
25
+ Service50
26
+ } from "./ripgrep-fg7qhaex.js";
27
27
  import {
28
28
  Service16
29
- } from "./file-retention-j50syq5q.js";
29
+ } from "./ripgrep-t0ac4kqt.js";
30
30
  import {
31
31
  __export
32
- } from "./file-retention-9rqn6x4v.js";
32
+ } from "./ripgrep-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
38
  Input: () => Input6,
39
- Output: () => Output5,
40
- Plugin: () => Plugin8,
39
+ Output: () => Output4,
40
+ Plugin: () => Plugin41,
41
41
  name: () => name6,
42
- toModelContent: () => toModelContent5
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
@@ -65,8 +65,8 @@ var Input6 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output5 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output4 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,20 +83,20 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin8 = {
86
+ var Plugin41 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service69;
90
- const ripgrep = yield* Service67;
91
- const location = yield* Service78;
89
+ const environment = yield* Service76;
90
+ const ripgrep = yield* Service64;
91
+ const location = yield* Service79;
92
92
  const access = yield* Service16;
93
- const permission = yield* Service62;
93
+ const permission = yield* Service50;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
95
  name: name6,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
98
  input: Input6,
99
- output: Output5,
99
+ output: Output4,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
@@ -144,7 +144,7 @@ var Plugin8 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin8 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name6, Input6, Output5, toModelContent5, Plugin8, exports_grep };
157
+ export { name6, Input6, Output4, toModelContent3, Plugin41, exports_grep };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-215n7470.js";
3
+ } from "./ripgrep-nqjmnyjs.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./ripgrep-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin40,
11
+ Plugin: () => Plugin23,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint6 = "https://api.tavily.com/search";
18
+ var endpoint4 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin40 = define({
32
+ var Plugin23 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin40 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin40 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin40, exports_tavily };
80
+ export { endpoint4, Plugin23, exports_tavily };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service82,
2
+ Service83,
3
3
  node86
4
- } from "./file-retention-4f92x3nk.js";
4
+ } from "./ripgrep-vspmzc2d.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make20,
8
+ make19,
9
9
  combine2
10
- } from "./file-retention-rhjbct0v.js";
10
+ } from "./ripgrep-t550f9t1.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./file-retention-a1bz86dw.js";
13
+ } from "./ripgrep-5c4hm403.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-9rqn6x4v.js";
16
+ } from "./ripgrep-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info5,
21
+ Info: () => Info4,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service29,
25
+ Service: () => Service23,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node33,
29
+ node: () => node27,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info5 = InstructionEntry.Info;
37
+ var Info4 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service29 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service23 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
64
+ var source = (entry) => make19({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,8 +75,8 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service29, Effect.gen(function* () {
79
- const { db } = yield* Service82;
78
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
79
+ const { db } = yield* Service83;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service29.of({ list, put, remove, load });
111
+ return Service23.of({ list, put, remove, load });
112
112
  }));
113
- var node33 = makeLocationNode({ service: Service29, layer, deps: [node86] });
113
+ var node27 = makeLocationNode({ service: Service23, layer, deps: [node86] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service23, node27, exports_instruction_entry };
@@ -1,65 +1,65 @@
1
1
  import {
2
- Service82,
2
+ Service83,
3
3
  node86
4
- } from "./file-retention-4f92x3nk.js";
4
+ } from "./ripgrep-vspmzc2d.js";
5
5
  import {
6
- Service81,
6
+ Service82,
7
7
  node85
8
- } from "./file-retention-yj9gc6e9.js";
8
+ } from "./ripgrep-ps7p92m4.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./file-retention-5t3nmthw.js";
11
+ } from "./ripgrep-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./file-retention-ec1grn59.js";
14
+ } from "./ripgrep-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./file-retention-06dxphr1.js";
20
+ } from "./ripgrep-bccb6npm.js";
21
21
  import {
22
- load5
23
- } from "./file-retention-q7qrw62a.js";
22
+ load4
23
+ } from "./ripgrep-60bahft7.js";
24
24
  import {
25
25
  create3
26
- } from "./file-retention-rdw6cm16.js";
26
+ } from "./ripgrep-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./file-retention-bz85s9hh.js";
29
+ } from "./ripgrep-ryt7pzqc.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./file-retention-3tvxnvmk.js";
34
+ } from "./ripgrep-sh1v16f4.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./file-retention-1jetprvn.js";
37
+ } from "./ripgrep-f4ysmyc6.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./file-retention-081pkz04.js";
41
+ } from "./ripgrep-r83etpq8.js";
42
42
  import {
43
43
  estimate2
44
- } from "./file-retention-h6vf3j39.js";
44
+ } from "./ripgrep-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./file-retention-tdstcens.js";
49
+ } from "./ripgrep-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./file-retention-9rqn6x4v.js";
52
+ } from "./ripgrep-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction3 = {};
56
56
  __export(exports_compaction3, {
57
- Service: () => Service9,
57
+ Service: () => Service7,
58
58
  SessionCompaction: () => exports_compaction3,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
- layer: () => layer6,
62
- node: () => node11,
61
+ layer: () => layer7,
62
+ node: () => node9,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service9 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service7 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,10 +298,10 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer6 = Layer.effect(Service9, Effect.gen(function* () {
302
- const bus = yield* Service81;
301
+ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
302
+ const bus = yield* Service82;
303
303
  const llm = yield* LLMClient.Service;
304
- const db = (yield* Service82).db;
304
+ const db = (yield* Service83).db;
305
305
  const state = create3({
306
306
  name: "session-compaction",
307
307
  initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS, native: [] }),
@@ -377,7 +377,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
377
377
  webSocket
378
378
  });
379
379
  };
380
- const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
380
+ const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
381
381
  const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
382
382
  const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
383
383
  const context = input.context;
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
606
606
  }
607
607
  }));
608
608
  });
609
- return Service9.of({
609
+ return Service7.of({
610
610
  transform: state.transform,
611
611
  reload: state.reload,
612
612
  enabled: () => state.get().auto,
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
615
615
  compactManual
616
616
  });
617
617
  }));
618
- var node11 = makeLocationNode({
619
- service: Service9,
620
- layer: layer6,
618
+ var node9 = makeLocationNode({
619
+ service: Service7,
620
+ layer: layer7,
621
621
  deps: [node85, node86, llmClient2]
622
622
  });
623
623
 
624
- export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction3 };
624
+ export { Service7, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node9, exports_compaction3 };