@opencode/core 0.0.0-dev-20224 → 0.0.0-dev-20229

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 +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{rpc-jrrazstp.js → ripgrep-02jfzr1n.js} +9 -9
  8. package/dist/chunks/{rpc-bvcdv2ee.js → ripgrep-06zjq4kk.js} +15 -15
  9. package/dist/chunks/{rpc-wcxa5cm4.js → ripgrep-09r6bem7.js} +17 -17
  10. package/dist/chunks/{rpc-nanx9z7d.js → ripgrep-0antrmc1.js} +10 -10
  11. package/dist/chunks/{rpc-bnf6pzzw.js → ripgrep-0ebnstrp.js} +30 -30
  12. package/dist/chunks/{rpc-4r37mwpa.js → ripgrep-0fvk3drk.js} +20 -20
  13. package/dist/chunks/{rpc-tkgh5sbc.js → ripgrep-0j4spdcs.js} +11 -11
  14. package/dist/chunks/{rpc-sbdrsm1d.js → ripgrep-0ks27nrh.js} +51 -51
  15. package/dist/chunks/{rpc-wqmhqt44.js → ripgrep-0nxbz9g5.js} +36 -36
  16. package/dist/chunks/{rpc-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{rpc-705e2ap1.js → ripgrep-0ryd0fps.js} +5 -5
  18. package/dist/chunks/{rpc-y1qqcj8h.js → ripgrep-0t9wd588.js} +8 -8
  19. package/dist/chunks/{rpc-29btxg4b.js → ripgrep-0yp90j0g.js} +4 -4
  20. package/dist/chunks/{rpc-b7wazbtb.js → ripgrep-118kj19k.js} +17 -17
  21. package/dist/chunks/{rpc-kdr2y7sc.js → ripgrep-11skqav9.js} +85 -85
  22. package/dist/chunks/{rpc-tpw6cwsb.js → ripgrep-1ajx6rf5.js} +8 -8
  23. package/dist/chunks/{rpc-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{rpc-j62efq2m.js → ripgrep-1j2r6vf4.js} +7 -7
  25. package/dist/chunks/{rpc-fb1hjgew.js → ripgrep-1qxqsx3z.js} +3 -3
  26. package/dist/chunks/{rpc-1ck09sm2.js → ripgrep-1w79vp60.js} +28 -28
  27. package/dist/chunks/{rpc-n2srvep7.js → ripgrep-1y283654.js} +4 -4
  28. package/dist/chunks/{rpc-21r38tys.js → ripgrep-21r38tys.js} +1 -1
  29. package/dist/chunks/{rpc-55bft698.js → ripgrep-28nksq6y.js} +10 -10
  30. package/dist/chunks/{rpc-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{rpc-a45xf03t.js → ripgrep-2z7bsgcd.js} +25 -25
  32. package/dist/chunks/{rpc-avr3epf8.js → ripgrep-35atjjte.js} +18 -18
  33. package/dist/chunks/{rpc-tgpsmcaa.js → ripgrep-3849nkrv.js} +14 -14
  34. package/dist/chunks/{rpc-6anwy9fs.js → ripgrep-3b1q5j1v.js} +6 -6
  35. package/dist/chunks/{rpc-0ng3qkf0.js → ripgrep-3f3jy9nt.js} +23 -23
  36. package/dist/chunks/{rpc-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
  37. package/dist/chunks/ripgrep-3g47k8bj.js +26 -0
  38. package/dist/chunks/{rpc-vtt0yr3x.js → ripgrep-3h6g4yxf.js} +14 -14
  39. package/dist/chunks/{rpc-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{rpc-wk6jwtqz.js → ripgrep-3mr58zvy.js} +5 -5
  41. package/dist/chunks/{rpc-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{rpc-8kj5sqfp.js → ripgrep-3tvqrhj3.js} +11 -11
  43. package/dist/chunks/{rpc-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{rpc-zc7sp5v7.js → ripgrep-3v0zm7c6.js} +16 -16
  45. package/dist/chunks/{rpc-tn0aqsam.js → ripgrep-3w0fmcng.js} +5 -5
  46. package/dist/chunks/{rpc-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{rpc-d7a37h98.js → ripgrep-422mtr2z.js} +5 -5
  48. package/dist/chunks/{rpc-8b9pfjqy.js → ripgrep-4400tn2z.js} +28 -28
  49. package/dist/chunks/{rpc-4eq8w0dz.js → ripgrep-44pdqs77.js} +4 -4
  50. package/dist/chunks/{rpc-vrqsv3fa.js → ripgrep-47txkgwg.js} +23 -23
  51. package/dist/chunks/{rpc-sdcd8j0d.js → ripgrep-48qwr564.js} +30 -30
  52. package/dist/chunks/{rpc-y98ks474.js → ripgrep-4k61gtt7.js} +31 -31
  53. package/dist/chunks/{rpc-46hzd864.js → ripgrep-4pvhcca7.js} +7 -7
  54. package/dist/chunks/{rpc-h3zq03vb.js → ripgrep-4vmfrt63.js} +9 -9
  55. package/dist/chunks/{rpc-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
  56. package/dist/chunks/{rpc-33w4ejhs.js → ripgrep-56gdpj1q.js} +6 -6
  57. package/dist/chunks/{rpc-2w6fc0zt.js → ripgrep-57ez7d0k.js} +7 -7
  58. package/dist/chunks/{rpc-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
  59. package/dist/chunks/{rpc-pn1y9y4g.js → ripgrep-5e76c55v.js} +28 -28
  60. package/dist/chunks/{rpc-9ze1bqdw.js → ripgrep-5jt9y05x.js} +37 -37
  61. package/dist/chunks/{rpc-nkbj3xh8.js → ripgrep-5pt14vhf.js} +14 -14
  62. package/dist/chunks/{rpc-e3qxr5gk.js → ripgrep-5qd3pb7m.js} +2 -2
  63. package/dist/chunks/{rpc-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{rpc-xv5nxp49.js → ripgrep-5wbzy8nn.js} +10 -10
  65. package/dist/chunks/{rpc-jc854ahh.js → ripgrep-5ztw1556.js} +9 -9
  66. package/dist/chunks/{rpc-2k8khapm.js → ripgrep-607tc6va.js} +5 -5
  67. package/dist/chunks/{rpc-911xaqx0.js → ripgrep-65asva9x.js} +24 -24
  68. package/dist/chunks/{rpc-669tq793.js → ripgrep-669tq793.js} +1 -1
  69. package/dist/chunks/{rpc-db54agdm.js → ripgrep-68y7phbn.js} +12 -12
  70. package/dist/chunks/{rpc-ye8cnd5y.js → ripgrep-6b77vcbw.js} +10 -10
  71. package/dist/chunks/{rpc-61hbrkhq.js → ripgrep-6egqwrjf.js} +14 -14
  72. package/dist/chunks/{rpc-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{rpc-cm42m14b.js → ripgrep-6x4rvyv1.js} +18 -18
  74. package/dist/chunks/{rpc-ks4s575r.js → ripgrep-70f0pfem.js} +12 -12
  75. package/dist/chunks/{rpc-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{rpc-eafppxg9.js → ripgrep-7cj56fr8.js} +18 -18
  77. package/dist/chunks/{rpc-60ztnerv.js → ripgrep-7j1nyp11.js} +14 -14
  78. package/dist/chunks/ripgrep-7kmmr6nj.js +252 -0
  79. package/dist/chunks/{rpc-xvp1j2dc.js → ripgrep-7pr2hkwv.js} +5 -5
  80. package/dist/chunks/{rpc-kerhshr9.js → ripgrep-7xyrrtj6.js} +5 -5
  81. package/dist/chunks/{rpc-73tb2d7t.js → ripgrep-7yh4e7ss.js} +3 -3
  82. package/dist/chunks/{rpc-g6ypk20d.js → ripgrep-7znnsvj9.js} +17 -17
  83. package/dist/chunks/{rpc-yf6pqagp.js → ripgrep-82ynta9e.js} +26 -26
  84. package/dist/chunks/{rpc-17tgjc63.js → ripgrep-83a3b7v7.js} +20 -20
  85. package/dist/chunks/{rpc-59xqp4q6.js → ripgrep-84925a50.js} +15 -15
  86. package/dist/chunks/{rpc-2402vzrj.js → ripgrep-84txncab.js} +2 -2
  87. package/dist/chunks/{rpc-8dkrvbda.js → ripgrep-890ccxt6.js} +10 -10
  88. package/dist/chunks/{rpc-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
  89. package/dist/chunks/{rpc-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{rpc-1ze3xm91.js → ripgrep-8djh5arb.js} +8 -8
  91. package/dist/chunks/{rpc-9qth1mer.js → ripgrep-8zf437sr.js} +15 -15
  92. package/dist/chunks/{rpc-t2qevr0q.js → ripgrep-8zj9r478.js} +8 -8
  93. package/dist/chunks/{rpc-p4axxag3.js → ripgrep-90ar7f1h.js} +3 -3
  94. package/dist/chunks/{rpc-82xkvmsx.js → ripgrep-930djq8z.js} +13 -13
  95. package/dist/chunks/{rpc-dj50hwt2.js → ripgrep-99sz5wqb.js} +16 -16
  96. package/dist/chunks/{rpc-1tkq8rwe.js → ripgrep-9jy5zj8y.js} +16 -16
  97. package/dist/chunks/{rpc-v7ttk1k5.js → ripgrep-9rz3pcwr.js} +3 -3
  98. package/dist/chunks/{rpc-5qtbtk4r.js → ripgrep-9satsa0x.js} +18 -18
  99. package/dist/chunks/{rpc-xdk4v0b3.js → ripgrep-a2w83xt4.js} +28 -28
  100. package/dist/chunks/{rpc-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
  101. package/dist/chunks/{rpc-3ynfmtcj.js → ripgrep-abt26qbx.js} +20 -20
  102. package/dist/chunks/{rpc-k87jrsyw.js → ripgrep-agkcfxfp.js} +6 -6
  103. package/dist/chunks/{rpc-p3zdvk1j.js → ripgrep-ajetnjhk.js} +42 -42
  104. package/dist/chunks/{rpc-wqc6684y.js → ripgrep-ak8wweg5.js} +2 -2
  105. package/dist/chunks/{rpc-hjx66919.js → ripgrep-at9pxffm.js} +18 -18
  106. package/dist/chunks/{rpc-vdptz04f.js → ripgrep-ay0dkb9c.js} +6 -6
  107. package/dist/chunks/{rpc-ataya66t.js → ripgrep-b31k3rgg.js} +9 -9
  108. package/dist/chunks/{rpc-3d9q0z9h.js → ripgrep-b563cd88.js} +24 -24
  109. package/dist/chunks/{rpc-dzmxyd7h.js → ripgrep-b5rg9k2a.js} +4 -4
  110. package/dist/chunks/{rpc-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{rpc-d1khqved.js → ripgrep-bgxcxs0p.js} +5 -5
  112. package/dist/chunks/{rpc-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
  113. package/dist/chunks/{rpc-aj2hwc8g.js → ripgrep-bmc4xpke.js} +24 -24
  114. package/dist/chunks/{rpc-07x1x1ts.js → ripgrep-bmxgdxm8.js} +18 -18
  115. package/dist/chunks/{rpc-r0ng0yj5.js → ripgrep-bq2bgfnr.js} +29 -29
  116. package/dist/chunks/{rpc-s2d6nvja.js → ripgrep-by02v520.js} +15 -15
  117. package/dist/chunks/{rpc-0y1sr1c9.js → ripgrep-by9ynfjg.js} +11 -11
  118. package/dist/chunks/{rpc-2aecba3t.js → ripgrep-c1w9r3v6.js} +17 -17
  119. package/dist/chunks/{rpc-5dkn69vz.js → ripgrep-c35597j6.js} +4 -4
  120. package/dist/chunks/{rpc-5eb3a1ca.js → ripgrep-c4qkmtec.js} +12 -12
  121. package/dist/chunks/{rpc-emm42b62.js → ripgrep-c5csqyae.js} +8 -8
  122. package/dist/chunks/{rpc-01r2c5m8.js → ripgrep-c871hbrt.js} +20 -20
  123. package/dist/chunks/{rpc-axmvebxj.js → ripgrep-cavr175a.js} +21 -21
  124. package/dist/chunks/{rpc-m9bnbapx.js → ripgrep-cd5qxzby.js} +31 -31
  125. package/dist/chunks/{rpc-saqncsjt.js → ripgrep-cp62wjev.js} +18 -18
  126. package/dist/chunks/{rpc-sra9araw.js → ripgrep-cr07tj7n.js} +5 -5
  127. package/dist/chunks/{rpc-cwa6csj7.js → ripgrep-cwa6csj7.js} +2 -2
  128. package/dist/chunks/{rpc-kyvhk9gp.js → ripgrep-cy08etkj.js} +43 -43
  129. package/dist/chunks/{rpc-j2q5esyv.js → ripgrep-czf913v6.js} +15 -15
  130. package/dist/chunks/{rpc-a2ew8a62.js → ripgrep-d216944b.js} +7 -7
  131. package/dist/chunks/{rpc-2swe609t.js → ripgrep-d7qrjzdq.js} +27 -27
  132. package/dist/chunks/{rpc-kqaf077y.js → ripgrep-dftdgzwf.js} +37 -37
  133. package/dist/chunks/{rpc-t7n9q6bq.js → ripgrep-dhmh7aw6.js} +4 -4
  134. package/dist/chunks/{rpc-xkntkrq7.js → ripgrep-dmqcgk4z.js} +5 -5
  135. package/dist/chunks/{rpc-33w90mgy.js → ripgrep-dpeqjypf.js} +4 -4
  136. package/dist/chunks/{rpc-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
  137. package/dist/chunks/{rpc-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
  138. package/dist/chunks/{rpc-bdf29vvx.js → ripgrep-ds8dekzs.js} +25 -25
  139. package/dist/chunks/ripgrep-dxj72tfx.js +18 -0
  140. package/dist/chunks/{rpc-wwy42dnk.js → ripgrep-e3x42eyx.js} +4 -4
  141. package/dist/chunks/{rpc-djhjy4ry.js → ripgrep-e73e9hqb.js} +27 -27
  142. package/dist/chunks/{rpc-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
  143. package/dist/chunks/{rpc-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{rpc-kq76ymd0.js → ripgrep-efbjszw7.js} +5 -5
  145. package/dist/chunks/{rpc-1kb4nj88.js → ripgrep-egybd8b7.js} +3 -3
  146. package/dist/chunks/{rpc-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
  147. package/dist/chunks/{rpc-61t48z3p.js → ripgrep-ey1ph643.js} +5 -5
  148. package/dist/chunks/{rpc-4fp42h4f.js → ripgrep-f3gec5hw.js} +6 -6
  149. package/dist/chunks/{rpc-7fw6dmmr.js → ripgrep-fcwgv8gv.js} +21 -21
  150. package/dist/chunks/{rpc-5rb2f846.js → ripgrep-fj7pyrjd.js} +29 -29
  151. package/dist/chunks/{rpc-h5w29vws.js → ripgrep-fp2xarvc.js} +1 -1
  152. package/dist/chunks/{rpc-k6yq57aq.js → ripgrep-fqka1xvk.js} +3 -3
  153. package/dist/chunks/{rpc-vn4gjnxr.js → ripgrep-ftdfymg3.js} +10 -10
  154. package/dist/chunks/{rpc-6r7xjz6b.js → ripgrep-g6eythae.js} +61 -61
  155. package/dist/chunks/{rpc-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{rpc-6y58km9h.js → ripgrep-gdesffbr.js} +12 -12
  157. package/dist/chunks/{rpc-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
  158. package/dist/chunks/{rpc-s6x4fzhm.js → ripgrep-gq3f66va.js} +2 -2
  159. package/dist/chunks/{rpc-eaf7bn6e.js → ripgrep-gra0vtax.js} +11 -11
  160. package/dist/chunks/{rpc-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{rpc-rexb5wtd.js → ripgrep-h5bh3ng3.js} +19 -19
  162. package/dist/chunks/{rpc-4dgbcxzg.js → ripgrep-h6r3nrb9.js} +4 -4
  163. package/dist/chunks/{rpc-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{rpc-b0x6hx13.js → ripgrep-h9vcqc78.js} +11 -11
  165. package/dist/chunks/{rpc-jb9mn43j.js → ripgrep-hbgnhwv0.js} +22 -22
  166. package/dist/chunks/{rpc-5xx5bm18.js → ripgrep-hccrd3vs.js} +32 -32
  167. package/dist/chunks/{rpc-wd2dgpck.js → ripgrep-hf37sfna.js} +33 -33
  168. package/dist/chunks/{rpc-5th2s8aw.js → ripgrep-hncg30kp.js} +24 -24
  169. package/dist/chunks/{rpc-d43tgzm4.js → ripgrep-hrc132h6.js} +9 -9
  170. package/dist/chunks/{rpc-rdpxprv5.js → ripgrep-hsfvbcm9.js} +8 -8
  171. package/dist/chunks/{rpc-7dn7wph4.js → ripgrep-hxfzz81b.js} +17 -17
  172. package/dist/chunks/{rpc-9dgzngwy.js → ripgrep-j31cqb59.js} +1 -1
  173. package/dist/chunks/{rpc-0qd78r7p.js → ripgrep-j49kr4wg.js} +23 -23
  174. package/dist/chunks/{rpc-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
  175. package/dist/chunks/{rpc-bydnjh3t.js → ripgrep-j58c5xyq.js} +9 -9
  176. package/dist/chunks/{rpc-r98e92ep.js → ripgrep-j83byb14.js} +4 -4
  177. package/dist/chunks/{rpc-ywxndyv1.js → ripgrep-j8m1p4p1.js} +4 -4
  178. package/dist/chunks/{rpc-knmp623e.js → ripgrep-jb20k743.js} +9 -9
  179. package/dist/chunks/{rpc-dkw4e9f1.js → ripgrep-jh1t293c.js} +20 -20
  180. package/dist/chunks/{rpc-r3wr5xg7.js → ripgrep-jny2x7hk.js} +45 -45
  181. package/dist/chunks/{rpc-f2a55b9w.js → ripgrep-jrrknm56.js} +13 -13
  182. package/dist/chunks/{rpc-s7pfdvj0.js → ripgrep-jw4cy8r0.js} +49 -49
  183. package/dist/chunks/{rpc-g3bs2z4s.js → ripgrep-k1qrnqst.js} +8 -8
  184. package/dist/chunks/{rpc-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
  185. package/dist/chunks/{rpc-887sth5f.js → ripgrep-k4za7ts1.js} +11 -11
  186. package/dist/chunks/{rpc-t7x8bg7z.js → ripgrep-kfm9rn2s.js} +18 -18
  187. package/dist/chunks/{rpc-n15rqfwk.js → ripgrep-kgxnw31j.js} +11 -11
  188. package/dist/chunks/{rpc-9yff3t6h.js → ripgrep-kkkads8k.js} +15 -15
  189. package/dist/chunks/{rpc-ft1g15zq.js → ripgrep-kvmq8xfb.js} +10 -10
  190. package/dist/chunks/{rpc-q657g4g7.js → ripgrep-kyav30yg.js} +11 -11
  191. package/dist/chunks/{rpc-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
  192. package/dist/chunks/{rpc-1874525a.js → ripgrep-m52a8tfn.js} +37 -37
  193. package/dist/chunks/{rpc-g7schdde.js → ripgrep-m5nx04ee.js} +12 -12
  194. package/dist/chunks/{rpc-zsaha2d7.js → ripgrep-m7b8vgv2.js} +20 -20
  195. package/dist/chunks/{rpc-1ggtwts1.js → ripgrep-m9k4p762.js} +48 -48
  196. package/dist/chunks/{rpc-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
  197. package/dist/chunks/{rpc-p57dvf2n.js → ripgrep-marnn1hp.js} +9 -9
  198. package/dist/chunks/{rpc-9esz73wg.js → ripgrep-mdvcq96a.js} +1 -1
  199. package/dist/chunks/{rpc-qf39nrvn.js → ripgrep-mebw3mav.js} +84 -84
  200. package/dist/chunks/{rpc-mvzp9w89.js → ripgrep-mjyv029k.js} +8 -8
  201. package/dist/chunks/{rpc-0546m1r6.js → ripgrep-mqbk7dpn.js} +9 -9
  202. package/dist/chunks/{rpc-mvksx64m.js → ripgrep-mzywpf3p.js} +4 -4
  203. package/dist/chunks/{rpc-wjd1eqsf.js → ripgrep-n3tj2r8q.js} +15 -15
  204. package/dist/chunks/{rpc-t8k67vys.js → ripgrep-ncpeyn96.js} +48 -48
  205. package/dist/chunks/{rpc-sdz95h4g.js → ripgrep-nd8hshm2.js} +24 -24
  206. package/dist/chunks/{rpc-wyg44cg0.js → ripgrep-nefgvkw2.js} +11 -11
  207. package/dist/chunks/{rpc-dftt7jbf.js → ripgrep-ntf1kdt7.js} +7 -7
  208. package/dist/chunks/{rpc-33ed7edk.js → ripgrep-nztkb09y.js} +3 -3
  209. package/dist/chunks/{rpc-tw9eefyr.js → ripgrep-p0n61q8f.js} +3 -3
  210. package/dist/chunks/{rpc-r0zct088.js → ripgrep-p0tyvh4g.js} +11 -11
  211. package/dist/chunks/{rpc-8zw2zqhe.js → ripgrep-p22k9wg5.js} +34 -34
  212. package/dist/chunks/{rpc-tk9ve4rs.js → ripgrep-p8n1apjv.js} +26 -26
  213. package/dist/chunks/{rpc-bvg5gydp.js → ripgrep-pehm6tfq.js} +176 -176
  214. package/dist/chunks/{rpc-dy25nfy6.js → ripgrep-pfzqt8w6.js} +9 -9
  215. package/dist/chunks/{rpc-641ncxkp.js → ripgrep-pjfmr211.js} +24 -24
  216. package/dist/chunks/{rpc-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
  217. package/dist/chunks/{rpc-pknna89w.js → ripgrep-pknna89w.js} +1 -1
  218. package/dist/chunks/{rpc-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
  219. package/dist/chunks/{rpc-er7m35t7.js → ripgrep-q22sh36z.js} +36 -36
  220. package/dist/chunks/{rpc-d4z5zpac.js → ripgrep-qhtcadmq.js} +27 -27
  221. package/dist/chunks/{rpc-9gp4vace.js → ripgrep-qjs6n2vb.js} +13 -13
  222. package/dist/chunks/{rpc-k97nvw3s.js → ripgrep-qksvzkeq.js} +40 -40
  223. package/dist/chunks/{rpc-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
  224. package/dist/chunks/{rpc-e7a3whya.js → ripgrep-qvm8wxam.js} +17 -17
  225. package/dist/chunks/{rpc-tvks49a3.js → ripgrep-qwgw6s1s.js} +330 -330
  226. package/dist/chunks/{rpc-w30pqdw0.js → ripgrep-qyjfak0f.js} +37 -37
  227. package/dist/chunks/{rpc-40p0tn2p.js → ripgrep-qzqk0by0.js} +13 -13
  228. package/dist/chunks/{rpc-qyj3y2ty.js → ripgrep-r3p02j26.js} +12 -12
  229. package/dist/chunks/{rpc-dmdp0vd0.js → ripgrep-r4nkyxgj.js} +5 -5
  230. package/dist/chunks/{rpc-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{rpc-py3kkmfq.js → ripgrep-rkprpv83.js} +2 -2
  232. package/dist/chunks/{rpc-dpahde6h.js → ripgrep-rtathh62.js} +8 -8
  233. package/dist/chunks/{rpc-2rdwn31h.js → ripgrep-rxqb97gr.js} +31 -31
  234. package/dist/chunks/{rpc-9wyv5qrm.js → ripgrep-rzhjeyb2.js} +33 -33
  235. package/dist/chunks/{rpc-291mp9vb.js → ripgrep-s12cwej7.js} +10 -10
  236. package/dist/chunks/{rpc-r993e5vv.js → ripgrep-s239yvev.js} +20 -20
  237. package/dist/chunks/{rpc-7bftgs18.js → ripgrep-s3vkv9ay.js} +4 -4
  238. package/dist/chunks/{rpc-30846h32.js → ripgrep-s5met55r.js} +7 -7
  239. package/dist/chunks/{rpc-gv66z500.js → ripgrep-s63ncq3n.js} +44 -44
  240. package/dist/chunks/{rpc-17b9jkx1.js → ripgrep-s7kjtx58.js} +30 -30
  241. package/dist/chunks/{rpc-rhjbct0v.js → ripgrep-s8d7rejh.js} +4 -4
  242. package/dist/chunks/{rpc-bw25a4j5.js → ripgrep-saxh7epz.js} +5 -5
  243. package/dist/chunks/{rpc-wzdtzazs.js → ripgrep-sdjhnzhs.js} +5 -5
  244. package/dist/chunks/{rpc-dvjgjqby.js → ripgrep-sv8vja0m.js} +13 -13
  245. package/dist/chunks/{rpc-ad6wcgn6.js → ripgrep-syaa2c6w.js} +44 -44
  246. package/dist/chunks/{rpc-vv97ra8n.js → ripgrep-t590yz96.js} +11 -11
  247. package/dist/chunks/{rpc-smcmav20.js → ripgrep-t8nr5fwz.js} +23 -23
  248. package/dist/chunks/{rpc-w4axh9wz.js → ripgrep-t9ym9qvh.js} +8 -8
  249. package/dist/chunks/{rpc-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
  250. package/dist/chunks/{rpc-tdstcens.js → ripgrep-tdstcens.js} +1 -1
  251. package/dist/chunks/{rpc-7w3y3331.js → ripgrep-tehpmbzs.js} +20 -20
  252. package/dist/chunks/{rpc-q67f7nmy.js → ripgrep-tpebh6ag.js} +11 -11
  253. package/dist/chunks/{rpc-dfqbq8r5.js → ripgrep-tvfehy0g.js} +20 -20
  254. package/dist/chunks/{rpc-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
  255. package/dist/chunks/{rpc-p14jyq32.js → ripgrep-tyw4mndc.js} +19 -19
  256. package/dist/chunks/{rpc-3p0c6km7.js → ripgrep-v3r4yrhg.js} +7 -7
  257. package/dist/chunks/{rpc-rmh2g5sz.js → ripgrep-v6ef7kgk.js} +5 -5
  258. package/dist/chunks/{rpc-vvccsdf3.js → ripgrep-v8jfbz3g.js} +6 -6
  259. package/dist/chunks/{rpc-w9g9cqgp.js → ripgrep-v8rep1gr.js} +6 -6
  260. package/dist/chunks/{rpc-v9cmtvna.js → ripgrep-v8w4r62m.js} +29 -29
  261. package/dist/chunks/{rpc-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
  262. package/dist/chunks/{rpc-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
  263. package/dist/chunks/{rpc-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
  264. package/dist/chunks/{rpc-e6a68qvh.js → ripgrep-w18xh17a.js} +4 -4
  265. package/dist/chunks/{rpc-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
  266. package/dist/chunks/{rpc-5ysbk3t6.js → ripgrep-w499dnd0.js} +10 -10
  267. package/dist/chunks/{rpc-wd87259q.js → ripgrep-wd87259q.js} +1 -1
  268. package/dist/chunks/{rpc-w3rf13e0.js → ripgrep-wqjhyw9m.js} +24 -24
  269. package/dist/chunks/{rpc-2qm5zhy8.js → ripgrep-x1158p12.js} +11 -11
  270. package/dist/chunks/{rpc-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
  271. package/dist/chunks/{rpc-j693j56p.js → ripgrep-xb3sekxh.js} +7 -7
  272. package/dist/chunks/{rpc-0j8fgfmj.js → ripgrep-xdt98d5a.js} +36 -36
  273. package/dist/chunks/{rpc-bz7wthpw.js → ripgrep-xf258je3.js} +13 -13
  274. package/dist/chunks/{rpc-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{rpc-1s473r1k.js → ripgrep-y2qsw3tz.js} +23 -23
  276. package/dist/chunks/{rpc-fzj6yzt3.js → ripgrep-y9d0ewq8.js} +8 -8
  277. package/dist/chunks/{rpc-fxkepnf0.js → ripgrep-yk5x40hx.js} +16 -16
  278. package/dist/chunks/{rpc-1acjjqhc.js → ripgrep-yp2x3t23.js} +4 -4
  279. package/dist/chunks/{rpc-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{rpc-s4enseaf.js → ripgrep-yrznvahk.js} +2 -2
  281. package/dist/chunks/{rpc-pnv527nz.js → ripgrep-ywkfy99j.js} +9 -9
  282. package/dist/chunks/{rpc-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{rpc-fgx6hsxk.js → ripgrep-z2receq4.js} +9 -9
  284. package/dist/chunks/{rpc-29x78va6.js → ripgrep-z63w68vq.js} +6 -6
  285. package/dist/chunks/{rpc-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{rpc-e7tvatn9.js → ripgrep-zes72mvx.js} +11 -11
  287. package/dist/chunks/{rpc-v4sm4c0k.js → ripgrep-zf8wr47y.js} +3 -3
  288. package/dist/chunks/{rpc-zzr03zs4.js → ripgrep-zqcthdv3.js} +15 -15
  289. package/dist/chunks/{rpc-19c28r63.js → ripgrep-zr0mv0xb.js} +18 -18
  290. package/dist/chunks/{rpc-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{rpc-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +83 -83
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +2 -2
  425. package/dist/filesystem/location-watcher.js +221 -221
  426. package/dist/filesystem/protected.js +3 -3
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +106 -106
  431. package/dist/form.js +80 -80
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +89 -89
  434. package/dist/generate.js +101 -101
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +361 -361
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +86 -86
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +358 -358
  472. package/dist/location.js +85 -85
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +106 -106
  476. package/dist/mcp/instructions.js +126 -126
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +91 -91
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +100 -100
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +111 -111
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +84 -84
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +104 -104
  494. package/dist/plugin/command.js +101 -101
  495. package/dist/plugin/hooks.js +3 -3
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -333
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  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 +94 -94
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +77 -77
  522. package/dist/plugin/provider/lmstudio.js +122 -122
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +92 -92
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +78 -78
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +161 -161
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +141 -141
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +348 -348
  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 +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +86 -86
  563. package/dist/provider.js +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +74 -74
  576. package/dist/session/compaction.js +132 -132
  577. package/dist/session/context.js +152 -152
  578. package/dist/session/diff.js +88 -88
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +124 -124
  584. package/dist/session/generate.js +151 -151
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +88 -88
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +97 -97
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +119 -119
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +130 -130
  596. package/dist/session/projector.js +86 -86
  597. package/dist/session/prompt.js +105 -105
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +90 -90
  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 +229 -229
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +94 -94
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +4 -4
  607. package/dist/session/runner/step.js +124 -124
  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 +170 -170
  611. package/dist/session/shell.js +138 -138
  612. package/dist/session/skill.js +103 -103
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +73 -73
  615. package/dist/session/store.js +85 -85
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +210 -210
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +150 -150
  620. package/dist/session/to-session-error.js +111 -111
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +216 -216
  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 +15 -15
  628. package/dist/shell.js +140 -140
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +110 -110
  632. package/dist/snapshot.js +89 -89
  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 +125 -125
  637. package/dist/tool/plugin/edit.js +118 -118
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +124 -124
  641. package/dist/tool/plugin/mcp-resource.js +116 -116
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +101 -101
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +213 -213
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +217 -217
  649. package/dist/tool/plugin/webfetch.js +110 -110
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +120 -120
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +4 -4
  670. package/dist/v1/config/formatter.js +7 -7
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +92 -92
  675. package/dist/v1/config/permission.js +7 -7
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +93 -93
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +89 -89
  685. package/dist/websearch.js +82 -82
  686. package/dist/wellknown/plugin.js +76 -76
  687. package/dist/wellknown.js +77 -77
  688. package/dist/workspace/driver.js +7 -7
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +80 -80
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +89 -89
  695. package/dist/worktree.js +98 -98
  696. package/package.json +8 -8
  697. package/dist/chunks/rpc-9zdhvgqs.js +0 -18
  698. package/dist/chunks/rpc-qa7zfvr9.js +0 -26
  699. package/dist/chunks/rpc-tj97xa7g.js +0 -252
  700. /package/dist/chunks/{rpc-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{rpc-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{rpc-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{rpc-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{rpc-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{rpc-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{rpc-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{rpc-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{rpc-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{rpc-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{rpc-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{rpc-3asan66x.js → ripgrep-3asan66x.js} +0 -0
  712. /package/dist/chunks/{rpc-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{rpc-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{rpc-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{rpc-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{rpc-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{rpc-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{rpc-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{rpc-53557ph1.js → ripgrep-53557ph1.js} +0 -0
  720. /package/dist/chunks/{rpc-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{rpc-6prwharc.js → ripgrep-6prwharc.js} +0 -0
  722. /package/dist/chunks/{rpc-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{rpc-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{rpc-822emrt2.js → ripgrep-822emrt2.js} +0 -0
  725. /package/dist/chunks/{rpc-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{rpc-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{rpc-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{rpc-922hggd3.js → ripgrep-922hggd3.js} +0 -0
  729. /package/dist/chunks/{rpc-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{rpc-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{rpc-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{rpc-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{rpc-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{rpc-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{rpc-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{rpc-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{rpc-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{rpc-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{rpc-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{rpc-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{rpc-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{rpc-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{rpc-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{rpc-df08tz66.js → ripgrep-df08tz66.js} +0 -0
  745. /package/dist/chunks/{rpc-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{rpc-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{rpc-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{rpc-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{rpc-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{rpc-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{rpc-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{rpc-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{rpc-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{rpc-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{rpc-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{rpc-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{rpc-g86h250q.js → ripgrep-g86h250q.js} +0 -0
  758. /package/dist/chunks/{rpc-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{rpc-gftt206x.js → ripgrep-gftt206x.js} +0 -0
  760. /package/dist/chunks/{rpc-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{rpc-hk9envan.js → ripgrep-hk9envan.js} +0 -0
  762. /package/dist/chunks/{rpc-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{rpc-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{rpc-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{rpc-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{rpc-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{rpc-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{rpc-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{rpc-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{rpc-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{rpc-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{rpc-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{rpc-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{rpc-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{rpc-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{rpc-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{rpc-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{rpc-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{rpc-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{rpc-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{rpc-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{rpc-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{rpc-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{rpc-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{rpc-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{rpc-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{rpc-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{rpc-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{rpc-x61499pn.js → ripgrep-x61499pn.js} +0 -0
  790. /package/dist/chunks/{rpc-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{rpc-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{rpc-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{rpc-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{rpc-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{rpc-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./rpc-922hggd3.js";
3
+ } from "./ripgrep-922hggd3.js";
4
4
  import {
5
- Service78,
6
- node82
7
- } from "./rpc-61hbrkhq.js";
5
+ Service80,
6
+ node84
7
+ } from "./ripgrep-6egqwrjf.js";
8
8
  import {
9
- Service75,
10
- node78
11
- } from "./rpc-t7x8bg7z.js";
9
+ Service61,
10
+ node64
11
+ } from "./ripgrep-kfm9rn2s.js";
12
12
  import {
13
13
  isHome2,
14
- names3
15
- } from "./rpc-tcezcvh9.js";
14
+ names4
15
+ } from "./ripgrep-89znhe33.js";
16
16
  import {
17
17
  __export
18
- } from "./rpc-9rqn6x4v.js";
18
+ } from "./ripgrep-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options3,
25
- Service: () => Service18,
26
- configured: () => configured3,
24
+ Options: () => Options9,
25
+ Service: () => Service60,
26
+ configured: () => configured9,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer9,
29
- node: () => node20,
28
+ layer: () => layer23,
29
+ node: () => node63,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options3 = Schema.Struct({
38
+ var Options9 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service18 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service60 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
62
- const location = yield* Service78;
63
- const ripgrep = yield* Service75;
61
+ var ripgrepLayer2 = Layer.effect(Service60, Effect.gen(function* () {
62
+ const location = yield* Service80;
63
+ const ripgrep = yield* Service61;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service18, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service18.of({
108
+ return Service60.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
116
- const location = yield* Service78;
115
+ var fffLayer2 = Layer.effect(Service60, Effect.gen(function* () {
116
+ const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service18.of({
129
+ return Service60.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service18.of({
134
+ return Service60.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service18, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service78;
177
+ var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service80;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured3(options) {
186
- return makeLocationNode({ service: Service18, layer: layer9(options), deps: [node82, node78] });
185
+ function configured9(options) {
186
+ return makeLocationNode({ service: Service60, layer: layer23(options), deps: [node84, node64] });
187
187
  }
188
- var node20 = configured3();
188
+ var node63 = configured9();
189
189
 
190
- export { Options3, Service18, ripgrepLayer2, fffLayer2, layer9, configured3, node20, exports_search };
190
+ export { Options9, Service60, ripgrepLayer2, fffLayer2, layer23, configured9, node63, exports_search };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./rpc-1kb4nj88.js";
4
+ } from "./ripgrep-egybd8b7.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./rpc-33w90mgy.js";
8
+ } from "./ripgrep-dpeqjypf.js";
9
+ import {
10
+ Service50,
11
+ node53
12
+ } from "./ripgrep-qvm8wxam.js";
9
13
  import {
10
14
  Service49,
11
15
  node52
12
- } from "./rpc-e7a3whya.js";
13
- import {
14
- Service47,
15
- node50
16
- } from "./rpc-vvccsdf3.js";
16
+ } from "./ripgrep-v8jfbz3g.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./rpc-ec1grn59.js";
19
+ } from "./ripgrep-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./rpc-1acjjqhc.js";
21
+ make16
22
+ } from "./ripgrep-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service45
26
- } from "./rpc-t7n9q6bq.js";
25
+ Service46
26
+ } from "./ripgrep-dhmh7aw6.js";
27
27
  import {
28
- Service52,
29
- node55
30
- } from "./rpc-nkbj3xh8.js";
28
+ Service55,
29
+ node58
30
+ } from "./ripgrep-5pt14vhf.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./rpc-61t48z3p.js";
33
+ } from "./ripgrep-ey1ph643.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./rpc-smcmav20.js";
36
+ } from "./ripgrep-t8nr5fwz.js";
37
37
  import {
38
38
  __export
39
- } from "./rpc-9rqn6x4v.js";
39
+ } from "./ripgrep-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service44,
44
+ Service: () => Service45,
45
45
  SessionExecution: () => exports_execution,
46
46
  layer: () => layer19,
47
- node: () => node48,
47
+ node: () => node49,
48
48
  noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service44 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service45 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer19 = Layer.effect(Service44, Effect.gen(function* () {
63
- const store = yield* Service52;
64
- const instances = yield* Service47;
62
+ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
63
+ const store = yield* Service55;
64
+ const instances = yield* Service49;
65
65
  const bus = yield* Service83;
66
- const jobs = yield* Service49;
66
+ const jobs = yield* Service50;
67
67
  const db = (yield* Service84).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make17({
86
+ const coordinator = yield* make16({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service44.of({
107
+ return Service45.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node48 = makeGlobalNode({
127
- service: Service44,
126
+ var node49 = makeGlobalNode({
127
+ service: Service45,
128
128
  layer: layer19,
129
- deps: [node55, node50, node87, node88, node52]
129
+ deps: [node58, node52, node87, node88, node53]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service44, Service44.of({
131
+ var noopLayer3 = Layer.succeed(Service45, Service45.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service44, Service44.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service44, terminal2, layer19, node48, noopLayer3, exports_execution };
140
+ export { Service45, terminal2, layer19, node49, noopLayer3, exports_execution };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./rpc-33w90mgy.js";
4
+ } from "./ripgrep-dpeqjypf.js";
5
5
  import {
6
6
  create3
7
- } from "./rpc-rdw6cm16.js";
7
+ } from "./ripgrep-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./rpc-9rqn6x4v.js";
10
+ } from "./ripgrep-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event7,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event11,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info6,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service36,
21
- layer: () => layer16,
22
- node: () => node39
18
+ Info: () => Info23,
19
+ NotFoundError: () => NotFoundError8,
20
+ Service: () => Service58,
21
+ layer: () => layer22,
22
+ node: () => node61
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event7 } from "@opencode/schema/command";
28
- var Info6 = Command.Info;
27
+ import { Event as Event11 } from "@opencode/schema/command";
28
+ var Info23 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service36 extends Context.Service()("@opencode/Command") {
42
+ class Service58 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer16 = Layer.effect(Service36, Effect.gen(function* () {
44
+ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
45
45
  const bus = yield* Service83;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service36, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info6.make({
54
+ const info = (definition) => Info23.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service36.of({
58
+ return Service58.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer16 = Layer.effect(Service36, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node39 = makeLocationNode({
75
- service: Service36,
76
- layer: layer16,
74
+ var node61 = makeLocationNode({
75
+ service: Service58,
76
+ layer: layer22,
77
77
  deps: [node87]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info6, NotFoundError5, ExecutionError2, Service36, layer16, node39, exports_command4, Event7 };
89
+ export { Info23, NotFoundError8, ExecutionError2, Service58, layer22, node61, exports_command5, Event11 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./rpc-rdw6cm16.js";
3
+ } from "./ripgrep-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./rpc-9rqn6x4v.js";
6
+ } from "./ripgrep-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service61,
14
+ Service: () => Service65,
15
15
  SizeError: () => SizeError2,
16
- node: () => node64
16
+ node: () => node69
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service61 extends Context.Service()("@opencode/Image") {
45
+ class Service65 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service61, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service61.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service65.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node64 = makeLocationNode({ service: Service61, layer, deps: [] });
79
+ var node69 = makeLocationNode({ service: Service65, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service61, node64, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service65, node69, exports_image2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service36
3
- } from "./rpc-5th2s8aw.js";
2
+ Service58
3
+ } from "./ripgrep-hncg30kp.js";
4
4
  import {
5
- Service47
6
- } from "./rpc-vvccsdf3.js";
5
+ Service49
6
+ } from "./ripgrep-v8jfbz3g.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./rpc-9zdhvgqs.js";
9
+ } from "./ripgrep-dxj72tfx.js";
10
10
  import {
11
11
  __export
12
- } from "./rpc-9rqn6x4v.js";
12
+ } from "./ripgrep-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service47;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
22
+ const instances = yield* Service49;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service58), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./rpc-1kb4nj88.js";
4
+ } from "./ripgrep-egybd8b7.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./rpc-ckecvw8r.js";
7
+ } from "./ripgrep-54tcyq79.js";
8
8
  import {
9
9
  __export
10
- } from "./rpc-9rqn6x4v.js";
10
+ } from "./ripgrep-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID6,
17
- Info: () => Info11,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID8,
17
+ Info: () => Info19,
18
+ ListInput: () => ListInput3,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service53,
21
- node: () => node56
20
+ Service: () => Service54,
21
+ node: () => node57
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID6 = PermissionSaved.ID;
29
- var Info11 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID8 = PermissionSaved.ID;
29
+ var Info19 = PermissionSaved.Info;
30
+ var ListInput3 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service53 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service54 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service53, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID6.create(),
60
+ id: ID8.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service53.of({ list, add, remove });
69
+ return Service54.of({ list, add, remove });
70
70
  }));
71
- var node56 = makeGlobalNode({ service: Service53, layer, deps: [node88] });
71
+ var node57 = makeGlobalNode({ service: Service54, layer, deps: [node88] });
72
72
 
73
- export { ID6, Info11, ListInput5, AddInput2, Service53, node56, exports_saved };
73
+ export { ID8, Info19, ListInput3, AddInput2, Service54, node57, exports_saved };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./rpc-sdcd8j0d.js";
4
+ } from "./ripgrep-48qwr564.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";