@opencode/core 0.0.0-dev-19518 → 0.0.0-dev-19520

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{config-2y9pqqb3.js → ripgrep-029gxqke.js} +33 -33
  9. package/dist/chunks/{config-bdnmvxp8.js → ripgrep-03m5yc2w.js} +16 -16
  10. package/dist/chunks/{config-w3vqsqf8.js → ripgrep-0a0yz20b.js} +26 -26
  11. package/dist/chunks/{config-jkp0d30b.js → ripgrep-0bps82y7.js} +6 -6
  12. package/dist/chunks/{config-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{config-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{config-rmn9a4a2.js → ripgrep-15t60dpg.js} +27 -27
  15. package/dist/chunks/{config-jr349qs2.js → ripgrep-189kb88v.js} +3 -3
  16. package/dist/chunks/{config-mqy0jkn2.js → ripgrep-18e56dsp.js} +4 -4
  17. package/dist/chunks/{config-bzr21bb0.js → ripgrep-1902bdn8.js} +27 -27
  18. package/dist/chunks/{config-th5km1p3.js → ripgrep-19d3sct9.js} +2 -2
  19. package/dist/chunks/{config-9zfc7dfc.js → ripgrep-19vea52x.js} +11 -11
  20. package/dist/chunks/{config-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{config-21r38tys.js → ripgrep-21r38tys.js} +1 -1
  22. package/dist/chunks/{config-t20bzte8.js → ripgrep-23va4g8n.js} +11 -11
  23. package/dist/chunks/{config-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
  24. package/dist/chunks/{config-sahb3924.js → ripgrep-273h6293.js} +6 -6
  25. package/dist/chunks/{config-29x78va6.js → ripgrep-29x78va6.js} +2 -2
  26. package/dist/chunks/{config-2f0bjgcj.js → ripgrep-2a4sgpmw.js} +5 -5
  27. package/dist/chunks/{config-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{config-fmc2g6nv.js → ripgrep-2k28pc1g.js} +16 -16
  29. package/dist/chunks/{config-txsys697.js → ripgrep-2k2kkdba.js} +11 -11
  30. package/dist/chunks/{config-500m5zw2.js → ripgrep-2ve45fd6.js} +5 -5
  31. package/dist/chunks/{config-dhd4eaqs.js → ripgrep-2zr7sd05.js} +16 -16
  32. package/dist/chunks/{config-rsqzvx49.js → ripgrep-3916sf1y.js} +27 -27
  33. package/dist/chunks/{config-mhfjrman.js → ripgrep-3cfxxyky.js} +17 -17
  34. package/dist/chunks/{config-0h54jqbs.js → ripgrep-3cwb9jzf.js} +8 -8
  35. package/dist/chunks/{config-6s1e1kc4.js → ripgrep-3e0pbzwc.js} +6 -6
  36. package/dist/chunks/{config-gdvy8fx6.js → ripgrep-3fc6dm20.js} +4 -4
  37. package/dist/chunks/{config-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{config-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{config-7cst06m3.js → ripgrep-3svns4sc.js} +6 -6
  40. package/dist/chunks/{config-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{config-x5tyfv2w.js → ripgrep-3xagmvq1.js} +8 -8
  42. package/dist/chunks/{config-as02qwds.js → ripgrep-4786se8r.js} +1 -1
  43. package/dist/chunks/{config-qmp2a6yc.js → ripgrep-4fzjfb08.js} +17 -17
  44. package/dist/chunks/{config-92k859we.js → ripgrep-4sfcqppx.js} +2 -2
  45. package/dist/chunks/{config-t93ydmx7.js → ripgrep-4svbav50.js} +47 -47
  46. package/dist/chunks/{config-2trk0nf7.js → ripgrep-4wnp65at.js} +7 -7
  47. package/dist/chunks/{config-4y66k410.js → ripgrep-4y66k410.js} +2 -2
  48. package/dist/chunks/{config-ca4pzekc.js → ripgrep-4ypr07qq.js} +41 -41
  49. package/dist/chunks/{config-mt4184cb.js → ripgrep-4z15ngcr.js} +11 -11
  50. package/dist/chunks/{config-x1gpjyj9.js → ripgrep-52zfrmt1.js} +1 -1
  51. package/dist/chunks/{config-qx96c0x2.js → ripgrep-5425k34f.js} +12 -12
  52. package/dist/chunks/{config-fgf2dbrw.js → ripgrep-55ec9169.js} +9 -9
  53. package/dist/chunks/{config-mfqp6xfm.js → ripgrep-56gdpj1q.js} +6 -6
  54. package/dist/chunks/{config-tdmbm035.js → ripgrep-56gqpxz5.js} +44 -44
  55. package/dist/chunks/{config-40es9cn4.js → ripgrep-56tq4mad.js} +11 -11
  56. package/dist/chunks/{config-jzyea8st.js → ripgrep-585pw9ae.js} +20 -20
  57. package/dist/chunks/{config-a1bz86dw.js → ripgrep-5c4hm403.js} +3 -3
  58. package/dist/chunks/{config-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
  59. package/dist/chunks/{config-k5g1wwwc.js → ripgrep-5pegjrmw.js} +34 -34
  60. package/dist/chunks/ripgrep-5sag4wt5.js +22 -0
  61. package/dist/chunks/{config-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{config-xvfxhta6.js → ripgrep-65jk6x65.js} +23 -23
  63. package/dist/chunks/{config-669tq793.js → ripgrep-669tq793.js} +1 -1
  64. package/dist/chunks/{config-we0x1hdb.js → ripgrep-68sqcc23.js} +8 -8
  65. package/dist/chunks/{config-dggcr3pv.js → ripgrep-693j5c0s.js} +6 -6
  66. package/dist/chunks/{config-dp3nd3hs.js → ripgrep-6hegse3n.js} +17 -17
  67. package/dist/chunks/{config-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{config-fdypcd13.js → ripgrep-6x7sck92.js} +17 -17
  69. package/dist/chunks/{config-71q4at8m.js → ripgrep-71q4at8m.js} +1 -1
  70. package/dist/chunks/{config-at5d07az.js → ripgrep-73gmm198.js} +4 -4
  71. package/dist/chunks/{config-sadtqs4n.js → ripgrep-795tw062.js} +20 -20
  72. package/dist/chunks/{config-0jjy22eq.js → ripgrep-798sgk8w.js} +17 -17
  73. package/dist/chunks/{config-dv1qgsyq.js → ripgrep-7b15y959.js} +8 -8
  74. package/dist/chunks/{config-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{config-7dqw4kz8.js → ripgrep-7dqw4kz8.js} +1 -1
  76. package/dist/chunks/{config-v3yrm497.js → ripgrep-7mbgx17m.js} +22 -22
  77. package/dist/chunks/{config-b037pt3h.js → ripgrep-7q1g2eq3.js} +292 -292
  78. package/dist/chunks/{config-z4ghpq8m.js → ripgrep-7y5jkdce.js} +7 -7
  79. package/dist/chunks/{config-73tb2d7t.js → ripgrep-7yh4e7ss.js} +3 -3
  80. package/dist/chunks/{config-jw4srkvv.js → ripgrep-82f74kwp.js} +24 -24
  81. package/dist/chunks/{config-szgy4byf.js → ripgrep-89smrnyf.js} +4 -4
  82. package/dist/chunks/{config-w7dwrt65.js → ripgrep-8a0b7fze.js} +4 -4
  83. package/dist/chunks/{config-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{config-yb6gj76h.js → ripgrep-8evqb545.js} +14 -14
  85. package/dist/chunks/{config-7gvwkz6m.js → ripgrep-8jxztqqt.js} +5 -5
  86. package/dist/chunks/{config-03tj29fc.js → ripgrep-8qvgnq7a.js} +11 -11
  87. package/dist/chunks/{config-ndnrqb0q.js → ripgrep-8recqrg4.js} +6 -6
  88. package/dist/chunks/{config-n6p3hzby.js → ripgrep-9c1qwqga.js} +9 -9
  89. package/dist/chunks/{config-rbsfdkxp.js → ripgrep-9d8v8ke2.js} +10 -10
  90. package/dist/chunks/{config-dmbf89sn.js → ripgrep-9fqgd0wm.js} +13 -13
  91. package/dist/chunks/{config-b3wkxfg9.js → ripgrep-9gyd2w40.js} +1 -1
  92. package/dist/chunks/{config-jc11nwvx.js → ripgrep-9pf502c0.js} +18 -18
  93. package/dist/chunks/{config-q928s5sj.js → ripgrep-9pm6y0s1.js} +8 -8
  94. package/dist/chunks/ripgrep-9sh4wc5j.js +18 -0
  95. package/dist/chunks/{config-pdtg10ej.js → ripgrep-9vad26s7.js} +35 -35
  96. package/dist/chunks/{config-xch1wn2v.js → ripgrep-9xx88crh.js} +54 -54
  97. package/dist/chunks/{config-7e96baxm.js → ripgrep-a45m2fkf.js} +35 -35
  98. package/dist/chunks/{config-jzghpn6f.js → ripgrep-a4xw13fr.js} +15 -15
  99. package/dist/chunks/{config-kdr9yt9m.js → ripgrep-a5m36ryz.js} +5 -5
  100. package/dist/chunks/{config-7zdx8nxd.js → ripgrep-a6ztjttg.js} +18 -18
  101. package/dist/chunks/{config-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
  102. package/dist/chunks/{config-6028kv6n.js → ripgrep-aph4g9qx.js} +20 -20
  103. package/dist/chunks/{config-6e7x5tab.js → ripgrep-ar8vnhha.js} +32 -32
  104. package/dist/chunks/{config-9pv0dm11.js → ripgrep-awbdwcvp.js} +9 -9
  105. package/dist/chunks/{config-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{config-0f25z0zc.js → ripgrep-bj2hb5dm.js} +26 -26
  107. package/dist/chunks/{config-1ng2fnc2.js → ripgrep-bn56f23d.js} +11 -11
  108. package/dist/chunks/{config-vcd6kxeh.js → ripgrep-bnaeqmzy.js} +18 -18
  109. package/dist/chunks/{config-y397pytd.js → ripgrep-bw0vgseb.js} +8 -8
  110. package/dist/chunks/{config-sc5xtfr6.js → ripgrep-c4pfxw5s.js} +9 -9
  111. package/dist/chunks/{config-4bjs7nez.js → ripgrep-c7gc6yv9.js} +32 -32
  112. package/dist/chunks/{config-mq1bq8jw.js → ripgrep-cg3re8yn.js} +19 -19
  113. package/dist/chunks/{config-24zysf4r.js → ripgrep-cza9j1er.js} +1 -1
  114. package/dist/chunks/{config-71rg6xx2.js → ripgrep-dh46x48g.js} +16 -16
  115. package/dist/chunks/{config-dhmh7aw6.js → ripgrep-dhmh7aw6.js} +1 -1
  116. package/dist/chunks/{config-8p4f9s12.js → ripgrep-dj2t23y0.js} +2 -2
  117. package/dist/chunks/{config-jj72jhew.js → ripgrep-ds2mmwsg.js} +6 -6
  118. package/dist/chunks/{config-9ky66zz9.js → ripgrep-dv250zvr.js} +3 -3
  119. package/dist/chunks/{config-524b8jaz.js → ripgrep-dw1fjyb0.js} +5 -5
  120. package/dist/chunks/{config-w5ybyj9d.js → ripgrep-dwcdeas1.js} +35 -35
  121. package/dist/chunks/{config-93d817ps.js → ripgrep-dxkw8z59.js} +18 -18
  122. package/dist/chunks/{config-kd92mjtq.js → ripgrep-e17bkqjz.js} +1 -1
  123. package/dist/chunks/{config-wy2fmmjc.js → ripgrep-e8ac3wj7.js} +14 -14
  124. package/dist/chunks/{config-t97x3sry.js → ripgrep-ea8nv0r7.js} +2 -2
  125. package/dist/chunks/{config-g0xjha3d.js → ripgrep-ebtmksy4.js} +13 -13
  126. package/dist/chunks/{config-6txkt4xs.js → ripgrep-ecbpcs26.js} +5 -5
  127. package/dist/chunks/{config-w363maz7.js → ripgrep-esxf2z81.js} +10 -10
  128. package/dist/chunks/{config-d4eh0prg.js → ripgrep-etjd8m3h.js} +8 -8
  129. package/dist/chunks/{config-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{config-rh2ber99.js → ripgrep-eynhbbrp.js} +11 -11
  131. package/dist/chunks/{config-d96gh7mt.js → ripgrep-ez9ncaqn.js} +16 -16
  132. package/dist/chunks/{config-x39n36dp.js → ripgrep-f0zqv8cz.js} +42 -42
  133. package/dist/chunks/{config-cyh7fw84.js → ripgrep-fgjcw7nx.js} +8 -8
  134. package/dist/chunks/{config-49w8mb30.js → ripgrep-fk64qee0.js} +3 -3
  135. package/dist/chunks/{config-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
  136. package/dist/chunks/{config-xh49vxj8.js → ripgrep-fyjp43ss.js} +5 -5
  137. package/dist/chunks/{config-zfexs0ry.js → ripgrep-g0zjwb8j.js} +25 -25
  138. package/dist/chunks/{config-xjk8cg32.js → ripgrep-g14zqp48.js} +6 -6
  139. package/dist/chunks/{config-vqrqq3f3.js → ripgrep-g1sy3t6s.js} +22 -22
  140. package/dist/chunks/{config-1vhg4r3c.js → ripgrep-g2a831m9.js} +15 -15
  141. package/dist/chunks/{config-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{config-5kmgv739.js → ripgrep-gj6rcz70.js} +16 -16
  143. package/dist/chunks/{config-mrrn9raq.js → ripgrep-gk2407r3.js} +6 -6
  144. package/dist/chunks/{config-k3exstdw.js → ripgrep-gnrgb9v9.js} +12 -12
  145. package/dist/chunks/{config-nw7c34jt.js → ripgrep-gqm3etmd.js} +25 -25
  146. package/dist/chunks/{config-h03wrkyp.js → ripgrep-h03wrkyp.js} +2 -2
  147. package/dist/chunks/{config-9ecaftbj.js → ripgrep-h5eqzpkj.js} +159 -159
  148. package/dist/chunks/{config-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{config-9j0f6msb.js → ripgrep-hb36k1xj.js} +9 -9
  150. package/dist/chunks/{config-0r2cj6n5.js → ripgrep-hbqwmcym.js} +18 -18
  151. package/dist/chunks/{config-f828m53h.js → ripgrep-hdnk95c8.js} +2 -2
  152. package/dist/chunks/{config-akfj6bkv.js → ripgrep-hkf2qys9.js} +9 -9
  153. package/dist/chunks/{config-88sz8qcd.js → ripgrep-hrndf12w.js} +4 -4
  154. package/dist/chunks/{config-t0x5rdq8.js → ripgrep-hrvd6t1f.js} +9 -9
  155. package/dist/chunks/{config-fv2f4h05.js → ripgrep-hsgwetrq.js} +9 -9
  156. package/dist/chunks/{config-ga2gmxwj.js → ripgrep-hw6f026f.js} +4 -4
  157. package/dist/chunks/{config-5svkr433.js → ripgrep-j4c2y7gg.js} +24 -24
  158. package/dist/chunks/{config-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
  159. package/dist/chunks/{config-abmqkkp1.js → ripgrep-j7twb6sd.js} +24 -24
  160. package/dist/chunks/{config-msd430t5.js → ripgrep-j9e0mrh2.js} +28 -28
  161. package/dist/chunks/{config-vyd2mddb.js → ripgrep-ja0fapct.js} +19 -19
  162. package/dist/chunks/{config-3ztdxds0.js → ripgrep-jeanpfns.js} +1 -1
  163. package/dist/chunks/{config-mqzdvsp0.js → ripgrep-jfpf741x.js} +10 -10
  164. package/dist/chunks/{config-7g37pjt1.js → ripgrep-jn8gnkkx.js} +23 -23
  165. package/dist/chunks/{config-2hgjbaq7.js → ripgrep-jwjk52g2.js} +4 -4
  166. package/dist/chunks/{config-chv1jva4.js → ripgrep-k1t251yf.js} +11 -11
  167. package/dist/chunks/{config-apr7yhtx.js → ripgrep-k4cgc9a3.js} +58 -58
  168. package/dist/chunks/{config-fm9rw644.js → ripgrep-k7c8rbx5.js} +32 -32
  169. package/dist/chunks/{config-zg5p3s2w.js → ripgrep-k8kd5w7n.js} +9 -9
  170. package/dist/chunks/{config-ptybd0xs.js → ripgrep-k9gn0ad9.js} +10 -10
  171. package/dist/chunks/{config-qdhtn9s1.js → ripgrep-kcb8efe6.js} +15 -15
  172. package/dist/chunks/{config-g1bjk10t.js → ripgrep-kd6sn3q5.js} +28 -28
  173. package/dist/chunks/{config-tx0fev4m.js → ripgrep-ked90xm8.js} +5 -5
  174. package/dist/chunks/{config-m2d0j7c0.js → ripgrep-ket1x0yc.js} +9 -9
  175. package/dist/chunks/{config-kg06axw8.js → ripgrep-kg06axw8.js} +1 -1
  176. package/dist/chunks/{config-b3cthcd0.js → ripgrep-kg76qfxw.js} +41 -41
  177. package/dist/chunks/{config-cfpkc3c9.js → ripgrep-m0jqrx5p.js} +2 -2
  178. package/dist/chunks/{config-yhaaxm75.js → ripgrep-m7y3f53v.js} +4 -4
  179. package/dist/chunks/{config-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{config-67nnzeww.js → ripgrep-makktzfn.js} +8 -8
  181. package/dist/chunks/{config-5gb554bv.js → ripgrep-mgrb5prq.js} +20 -20
  182. package/dist/chunks/{config-mb834ncm.js → ripgrep-mqgn8hcj.js} +26 -26
  183. package/dist/chunks/{config-ananwaz5.js → ripgrep-mqhr8xm6.js} +19 -19
  184. package/dist/chunks/{config-xk0e2k2b.js → ripgrep-mttv9c64.js} +13 -13
  185. package/dist/chunks/{config-xhbc1wmm.js → ripgrep-n0prnbcg.js} +16 -16
  186. package/dist/chunks/{config-j4a1nx2y.js → ripgrep-n39gyvgw.js} +25 -25
  187. package/dist/chunks/{config-jk9a1ysw.js → ripgrep-n92pz7zc.js} +5 -5
  188. package/dist/chunks/{config-ndst5pn8.js → ripgrep-neqk7dw9.js} +30 -30
  189. package/dist/chunks/{config-kn3ebdxh.js → ripgrep-nftwv1dv.js} +33 -33
  190. package/dist/chunks/{config-r2g10xvh.js → ripgrep-ngn3zv13.js} +15 -15
  191. package/dist/chunks/{config-e82z9tr0.js → ripgrep-nhy5jxhy.js} +7 -7
  192. package/dist/chunks/{config-wvmhx4nb.js → ripgrep-nv5vn7qx.js} +8 -8
  193. package/dist/chunks/{config-yqbxhepw.js → ripgrep-nz99f8xd.js} +23 -23
  194. package/dist/chunks/{config-n06bkfsk.js → ripgrep-p6s6v31b.js} +20 -20
  195. package/dist/chunks/{config-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{config-pknna89w.js → ripgrep-pknna89w.js} +1 -1
  197. package/dist/chunks/{config-s70x6cty.js → ripgrep-pqbv8h9y.js} +46 -46
  198. package/dist/chunks/ripgrep-pr17jsva.js +247 -0
  199. package/dist/chunks/{config-9edcvf27.js → ripgrep-pvx4ycye.js} +10 -10
  200. package/dist/chunks/{config-22hkawpp.js → ripgrep-pwr8fgkg.js} +5 -5
  201. package/dist/chunks/{config-s76nk363.js → ripgrep-q6jxhr7p.js} +12 -12
  202. package/dist/chunks/{config-dzwrky7c.js → ripgrep-q7vxj98b.js} +8 -8
  203. package/dist/chunks/{config-n37c4crj.js → ripgrep-qa4rp7fn.js} +9 -9
  204. package/dist/chunks/{config-fptn8mvr.js → ripgrep-qbc1vncp.js} +14 -14
  205. package/dist/chunks/{config-pc34g5xs.js → ripgrep-qj6a8geq.js} +12 -12
  206. package/dist/chunks/{config-k6vfasqn.js → ripgrep-qmy7xtej.js} +1 -1
  207. package/dist/chunks/{config-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
  208. package/dist/chunks/{config-tzw8cs40.js → ripgrep-qvmqnmmt.js} +39 -39
  209. package/dist/chunks/{config-4g5zjqyt.js → ripgrep-qxd59bx2.js} +7 -7
  210. package/dist/chunks/{config-x9yka4mj.js → ripgrep-r12m2gvw.js} +23 -23
  211. package/dist/chunks/{config-ycp3dazx.js → ripgrep-r14b6q3s.js} +41 -41
  212. package/dist/chunks/{config-r9mregkx.js → ripgrep-r9mregkx.js} +2 -2
  213. package/dist/chunks/{config-kjfmk7ct.js → ripgrep-ra8yf1dm.js} +9 -9
  214. package/dist/chunks/{config-1tq060df.js → ripgrep-rp8jz6x1.js} +6 -6
  215. package/dist/chunks/{config-zeh9ct20.js → ripgrep-rq775frq.js} +2 -2
  216. package/dist/chunks/{config-sbkm8zpx.js → ripgrep-rqy9czj1.js} +15 -15
  217. package/dist/chunks/{config-ge7mz5hd.js → ripgrep-rt0tzyzc.js} +20 -20
  218. package/dist/chunks/{config-g3wmjmt9.js → ripgrep-rt5nc7f1.js} +6 -6
  219. package/dist/chunks/{config-wpg1dpye.js → ripgrep-rvjgzqwq.js} +83 -83
  220. package/dist/chunks/{config-vrt6kmsc.js → ripgrep-rz87j40z.js} +26 -26
  221. package/dist/chunks/{config-s4enseaf.js → ripgrep-s4enseaf.js} +2 -2
  222. package/dist/chunks/{config-1gsh612e.js → ripgrep-s5kxrhz6.js} +10 -10
  223. package/dist/chunks/{config-fkx4c0gs.js → ripgrep-s69d0rhj.js} +23 -23
  224. package/dist/chunks/{config-1edmbcdr.js → ripgrep-s6xr1hpd.js} +19 -19
  225. package/dist/chunks/{config-t550f9t1.js → ripgrep-s8d7rejh.js} +4 -4
  226. package/dist/chunks/{config-fex1r3p4.js → ripgrep-sa4c2d0v.js} +4 -4
  227. package/dist/chunks/{config-m4esdr3n.js → ripgrep-sasnma5y.js} +24 -24
  228. package/dist/chunks/{config-88e20h4f.js → ripgrep-scqya4gj.js} +7 -7
  229. package/dist/chunks/{config-8sf41kz2.js → ripgrep-sh6mjzwx.js} +18 -18
  230. package/dist/chunks/{config-zfzb5y7k.js → ripgrep-syz7yhpm.js} +18 -18
  231. package/dist/chunks/{config-4r6jt0gr.js → ripgrep-t3cqppxt.js} +11 -11
  232. package/dist/chunks/{config-hfs8yx7p.js → ripgrep-t3pn2srw.js} +6 -6
  233. package/dist/chunks/{config-t51qk8jz.js → ripgrep-t51qk8jz.js} +1 -1
  234. package/dist/chunks/{config-tmagtvn3.js → ripgrep-t6dm0qrg.js} +30 -30
  235. package/dist/chunks/{config-1vcqa5wr.js → ripgrep-tarep50r.js} +12 -12
  236. package/dist/chunks/{config-b53k7nra.js → ripgrep-tayeq9hg.js} +16 -16
  237. package/dist/chunks/{config-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{config-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{config-tdstcens.js → ripgrep-tdstcens.js} +1 -1
  240. package/dist/chunks/{config-rbdwhr82.js → ripgrep-tfk0ak3w.js} +5 -5
  241. package/dist/chunks/{config-rs9bm7ga.js → ripgrep-tfk1j7dq.js} +31 -31
  242. package/dist/chunks/{config-y3gka0kp.js → ripgrep-tgqjfyja.js} +3 -3
  243. package/dist/chunks/{config-11zceq2r.js → ripgrep-thqzz5bd.js} +24 -24
  244. package/dist/chunks/{config-0d0dgjqj.js → ripgrep-tjjqevy4.js} +10 -10
  245. package/dist/chunks/{config-6zpeh5ef.js → ripgrep-tjncz0mj.js} +4 -4
  246. package/dist/chunks/{config-f6ydgv65.js → ripgrep-tkn615h0.js} +3 -3
  247. package/dist/chunks/{config-btpj8paq.js → ripgrep-tt6n2bdb.js} +7 -7
  248. package/dist/chunks/{config-j8vmgnn0.js → ripgrep-tvbftpt7.js} +6 -6
  249. package/dist/chunks/{config-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
  250. package/dist/chunks/{config-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
  251. package/dist/chunks/{config-sjwktnnh.js → ripgrep-vfefw32n.js} +4 -4
  252. package/dist/chunks/{config-thg7yc29.js → ripgrep-vv5etkqr.js} +19 -19
  253. package/dist/chunks/{config-dg3w4ggv.js → ripgrep-vvww6z2v.js} +8 -8
  254. package/dist/chunks/{config-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{config-a5tbwcpe.js → ripgrep-w36hd28z.js} +9 -9
  256. package/dist/chunks/{config-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{config-fnem5a14.js → ripgrep-w5enr2n1.js} +10 -10
  258. package/dist/chunks/{config-n9f5sn04.js → ripgrep-wahmyx3j.js} +6 -6
  259. package/dist/chunks/{config-wd87259q.js → ripgrep-wd87259q.js} +1 -1
  260. package/dist/chunks/{config-c2e2kqp2.js → ripgrep-wdxjhaa6.js} +14 -14
  261. package/dist/chunks/{config-hktst2rm.js → ripgrep-wh1eej68.js} +13 -13
  262. package/dist/chunks/{config-dm96vh24.js → ripgrep-wy91bkd0.js} +20 -20
  263. package/dist/chunks/{config-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{config-nesjbnnj.js → ripgrep-x38mj0ya.js} +78 -78
  265. package/dist/chunks/{config-ncm0m5yr.js → ripgrep-x4jgrabg.js} +4 -4
  266. package/dist/chunks/{config-qyjg9y2x.js → ripgrep-x84xvd1n.js} +18 -18
  267. package/dist/chunks/{config-06gpdxnt.js → ripgrep-xk1mwkvz.js} +35 -29
  268. package/dist/chunks/{config-t6r4qr4w.js → ripgrep-xntwgtxc.js} +15 -15
  269. package/dist/chunks/{config-e9anbn9n.js → ripgrep-xpn5exb3.js} +5 -5
  270. package/dist/chunks/{config-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{config-tjdk9e36.js → ripgrep-y2wcncat.js} +18 -18
  272. package/dist/chunks/{config-0c6qpskm.js → ripgrep-y361e8w3.js} +17 -17
  273. package/dist/chunks/{config-dpkg50ah.js → ripgrep-y71avatq.js} +4 -4
  274. package/dist/chunks/{config-chn16zvr.js → ripgrep-ybpn653b.js} +4 -4
  275. package/dist/chunks/{config-1d626cn7.js → ripgrep-yhemyvg6.js} +9 -9
  276. package/dist/chunks/{config-f2n192rq.js → ripgrep-yp2x3t23.js} +4 -4
  277. package/dist/chunks/{config-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{config-fj7e7hth.js → ripgrep-yxtae5qy.js} +32 -32
  279. package/dist/chunks/{config-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{config-pecphg4c.js → ripgrep-zj1vh5fc.js} +14 -14
  281. package/dist/chunks/{config-57was9j6.js → ripgrep-zpd6x7fe.js} +2 -2
  282. package/dist/chunks/{config-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{config-an7cqtb7.js → ripgrep-zv8jbdmn.js} +4 -4
  284. package/dist/chunks/{config-gxr0t54p.js → ripgrep-zwzhnca6.js} +21 -21
  285. package/dist/chunks/{config-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +3 -3
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +78 -78
  290. package/dist/config/discovery.js +78 -78
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +19 -19
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +208 -208
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +86 -86
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +115 -115
  303. package/dist/config/plugin/provider.js +114 -114
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +117 -117
  306. package/dist/config/plugin/skill-file.js +98 -98
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +118 -118
  310. package/dist/config/plugin/tool-output.js +116 -116
  311. package/dist/config/plugin/websearch.js +114 -114
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +118 -118
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +82 -82
  318. package/dist/database/database.js +65 -65
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +75 -75
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +359 -359
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +3 -3
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +89 -89
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +91 -91
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +69 -69
  407. package/dist/file-access.js +100 -100
  408. package/dist/file-mutation.js +90 -90
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +223 -223
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +100 -100
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +103 -101
  423. package/dist/form.js +81 -81
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +85 -85
  426. package/dist/generate.js +94 -94
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +7 -7
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +4 -4
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +80 -80
  453. package/dist/instructions/builtins.js +83 -83
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +83 -83
  457. package/dist/job.js +76 -76
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +125 -125
  461. package/dist/location-mutation.js +100 -100
  462. package/dist/location-service-map.js +80 -80
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +83 -83
  465. package/dist/mcp/client.js +87 -87
  466. package/dist/mcp/index.js +100 -100
  467. package/dist/mcp/instructions.js +121 -121
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +86 -86
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +7 -7
  472. package/dist/model-resolver.js +85 -85
  473. package/dist/model.js +6 -6
  474. package/dist/models-dev.js +87 -87
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +79 -79
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +109 -109
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +85 -85
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +98 -98
  485. package/dist/plugin/command.js +95 -95
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +214 -214
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +76 -76
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +98 -98
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/azure.js +119 -119
  499. package/dist/plugin/provider/cerebras.js +2 -2
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +115 -115
  504. package/dist/plugin/provider/digitalocean.js +80 -80
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +81 -81
  509. package/dist/plugin/provider/gitlab.js +3 -3
  510. package/dist/plugin/provider/google-vertex.js +2 -2
  511. package/dist/plugin/provider/kilo.js +2 -2
  512. package/dist/plugin/provider/llmgateway.js +77 -77
  513. package/dist/plugin/provider/lmstudio.js +118 -118
  514. package/dist/plugin/provider/modal.js +80 -80
  515. package/dist/plugin/provider/nvidia.js +2 -2
  516. package/dist/plugin/provider/ollama.js +118 -118
  517. package/dist/plugin/provider/openai-compatible.js +1 -1
  518. package/dist/plugin/provider/openai.js +81 -81
  519. package/dist/plugin/provider/opencode.js +80 -80
  520. package/dist/plugin/provider/openrouter.js +3 -3
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/sap-ai-core.js +3 -3
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  526. package/dist/plugin/provider/venice.js +2 -2
  527. package/dist/plugin/provider/vercel.js +2 -2
  528. package/dist/plugin/provider/vllm.js +118 -118
  529. package/dist/plugin/provider/xai.js +78 -78
  530. package/dist/plugin/provider/zenmux.js +2 -2
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +73 -73
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +342 -342
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/variant.js +4 -4
  539. package/dist/plugin/vcs/git.js +83 -83
  540. package/dist/plugin/vcs/hg.js +83 -83
  541. package/dist/plugin/warming.js +113 -113
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +8 -8
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin.js +219 -219
  549. package/dist/project/schema.js +8 -8
  550. package/dist/project/sql.js +4 -4
  551. package/dist/project.js +86 -86
  552. package/dist/provider.js +5 -5
  553. package/dist/pty/protocol.js +1 -1
  554. package/dist/pty/schema.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +89 -89
  557. package/dist/reference/instructions.js +83 -83
  558. package/dist/reference.js +87 -87
  559. package/dist/repository-cache.js +77 -77
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +94 -94
  563. package/dist/rpc.js +82 -82
  564. package/dist/schema.js +1 -1
  565. package/dist/session/command.js +73 -73
  566. package/dist/session/compaction.js +130 -130
  567. package/dist/session/context.js +148 -148
  568. package/dist/session/environment.js +5 -5
  569. package/dist/session/error.js +5 -5
  570. package/dist/session/event.js +1 -1
  571. package/dist/session/execution/restart.js +213 -213
  572. package/dist/session/execution.js +121 -121
  573. package/dist/session/generate.js +149 -149
  574. package/dist/session/history.js +13 -13
  575. package/dist/session/inbox.js +87 -87
  576. package/dist/session/info.js +3 -3
  577. package/dist/session/instruction-entry.js +76 -76
  578. package/dist/session/instruction-state.js +8 -8
  579. package/dist/session/instructions.js +93 -93
  580. package/dist/session/message-updater.js +2 -2
  581. package/dist/session/message.js +1 -1
  582. package/dist/session/model-request.js +114 -114
  583. package/dist/session/model-transport.js +9 -9
  584. package/dist/session/move.js +127 -127
  585. package/dist/session/projector.js +85 -85
  586. package/dist/session/prompt.js +101 -101
  587. package/dist/session/provider-context.js +3 -3
  588. package/dist/session/revert.js +86 -86
  589. package/dist/session/run-coordinator.js +3 -3
  590. package/dist/session/runner/index.js +1 -1
  591. package/dist/session/runner/llm.js +226 -226
  592. package/dist/session/runner/max-steps.js +1 -1
  593. package/dist/session/runner/model.js +85 -85
  594. package/dist/session/runner/publish-llm-event.js +3 -3
  595. package/dist/session/runner/retry.js +111 -111
  596. package/dist/session/runner/step.js +122 -122
  597. package/dist/session/runner/to-llm-message.js +2 -2
  598. package/dist/session/schema.js +5 -5
  599. package/dist/session/session.js +168 -168
  600. package/dist/session/shell.js +132 -132
  601. package/dist/session/skill.js +99 -99
  602. package/dist/session/sql.js +5 -5
  603. package/dist/session/stats.js +72 -72
  604. package/dist/session/store.js +84 -84
  605. package/dist/session/subagent-completion.js +1 -1
  606. package/dist/session/subagent-job.js +206 -206
  607. package/dist/session/system-prompt.js +5 -5
  608. package/dist/session/title.js +152 -152
  609. package/dist/session/to-session-error.js +108 -108
  610. package/dist/session/transfer.js +213 -213
  611. package/dist/session/usage.js +1 -1
  612. package/dist/session.js +214 -214
  613. package/dist/shell/parse.js +6 -6
  614. package/dist/shell/result.js +1 -1
  615. package/dist/shell/scan.js +1 -1
  616. package/dist/shell/select.js +11 -11
  617. package/dist/shell.js +132 -132
  618. package/dist/skill/discovery.js +6 -6
  619. package/dist/skill/instructions.js +103 -103
  620. package/dist/skill.js +102 -102
  621. package/dist/snapshot.js +85 -85
  622. package/dist/state.js +1 -1
  623. package/dist/tool/html-markdown.js +1 -1
  624. package/dist/tool/http-body.js +1 -1
  625. package/dist/tool/mcp.js +116 -116
  626. package/dist/tool/plugin/edit.js +116 -116
  627. package/dist/tool/plugin/file-diff.js +1 -1
  628. package/dist/tool/plugin/glob.js +115 -115
  629. package/dist/tool/plugin/grep.js +121 -121
  630. package/dist/tool/plugin/opencode.js +3 -3
  631. package/dist/tool/plugin/patch.js +116 -116
  632. package/dist/tool/plugin/question.js +97 -97
  633. package/dist/tool/plugin/read.js +122 -122
  634. package/dist/tool/plugin/shell.js +211 -211
  635. package/dist/tool/plugin/skill.js +103 -103
  636. package/dist/tool/plugin/subagent.js +209 -209
  637. package/dist/tool/plugin/webfetch.js +108 -108
  638. package/dist/tool/plugin/websearch.js +108 -108
  639. package/dist/tool/plugin/write.js +118 -118
  640. package/dist/tool/read-filesystem.js +97 -97
  641. package/dist/tool/runtime.js +1 -1
  642. package/dist/tool-output.js +8 -8
  643. package/dist/tool.js +15 -15
  644. package/dist/types/filesystem.d.ts +6 -1
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +3 -3
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +7 -7
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +5 -5
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +1 -1
  664. package/dist/v1/config/plugin.js +1 -1
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +84 -84
  672. package/dist/websearch.js +81 -81
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +78 -78
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +75 -75
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +90 -90
  683. package/package.json +8 -8
  684. package/dist/chunks/config-662xge47.js +0 -22
  685. package/dist/chunks/config-pf31ssb9.js +0 -18
  686. package/dist/chunks/config-ttqtcj3t.js +0 -247
  687. /package/dist/chunks/{config-0mesazry.js → ripgrep-0mesazry.js} +0 -0
  688. /package/dist/chunks/{config-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{config-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{config-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{config-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{config-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{config-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{config-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{config-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{config-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{config-3asan66x.js → ripgrep-3asan66x.js} +0 -0
  698. /package/dist/chunks/{config-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{config-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{config-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{config-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{config-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{config-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{config-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{config-53557ph1.js → ripgrep-53557ph1.js} +0 -0
  706. /package/dist/chunks/{config-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{config-6prwharc.js → ripgrep-6prwharc.js} +0 -0
  708. /package/dist/chunks/{config-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{config-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{config-822emrt2.js → ripgrep-822emrt2.js} +0 -0
  711. /package/dist/chunks/{config-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{config-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{config-922hggd3.js → ripgrep-922hggd3.js} +0 -0
  714. /package/dist/chunks/{config-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{config-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{config-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{config-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{config-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{config-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{config-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{config-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{config-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{config-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{config-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{config-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{config-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{config-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{config-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{config-df08tz66.js → ripgrep-df08tz66.js} +0 -0
  730. /package/dist/chunks/{config-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{config-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{config-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{config-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{config-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{config-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{config-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{config-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{config-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{config-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{config-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{config-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{config-g86h250q.js → ripgrep-g86h250q.js} +0 -0
  743. /package/dist/chunks/{config-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{config-gftt206x.js → ripgrep-gftt206x.js} +0 -0
  745. /package/dist/chunks/{config-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
  746. /package/dist/chunks/{config-hk9envan.js → ripgrep-hk9envan.js} +0 -0
  747. /package/dist/chunks/{config-hrnqkpcd.js → ripgrep-hrnqkpcd.js} +0 -0
  748. /package/dist/chunks/{config-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{config-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{config-j935v87r.js → ripgrep-j935v87r.js} +0 -0
  751. /package/dist/chunks/{config-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{config-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{config-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{config-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{config-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{config-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{config-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{config-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{config-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{config-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{config-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{config-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{config-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{config-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{config-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{config-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{config-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
  768. /package/dist/chunks/{config-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
  769. /package/dist/chunks/{config-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
  770. /package/dist/chunks/{config-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{config-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
  772. /package/dist/chunks/{config-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
  773. /package/dist/chunks/{config-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
  774. /package/dist/chunks/{config-x61499pn.js → ripgrep-x61499pn.js} +0 -0
  775. /package/dist/chunks/{config-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
  776. /package/dist/chunks/{config-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
  777. /package/dist/chunks/{config-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
  778. /package/dist/chunks/{config-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{config-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{config-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service75
3
- } from "./config-b53k7nra.js";
2
+ Service76
3
+ } from "./ripgrep-tayeq9hg.js";
4
4
  import {
5
- Service59
6
- } from "./config-5svkr433.js";
5
+ Service61
6
+ } from "./ripgrep-j4c2y7gg.js";
7
7
  import {
8
- Service22,
8
+ Service13,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./config-dmbf89sn.js";
11
+ } from "./ripgrep-9fqgd0wm.js";
12
12
  import {
13
- Service73
14
- } from "./config-7zdx8nxd.js";
13
+ Service16
14
+ } from "./ripgrep-a6ztjttg.js";
15
15
  import {
16
- Service54
17
- } from "./config-xch1wn2v.js";
16
+ Service66
17
+ } from "./ripgrep-9xx88crh.js";
18
18
  import {
19
- Service20,
19
+ Service65,
20
20
  resolvePath2
21
- } from "./config-qyjg9y2x.js";
21
+ } from "./ripgrep-x84xvd1n.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./config-6prwharc.js";
24
+ } from "./ripgrep-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./config-9rqn6x4v.js";
27
+ } from "./ripgrep-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input12,
34
- Output: () => Output8,
35
- Plugin: () => Plugin43,
36
- name: () => name12
33
+ Input: () => Input6,
34
+ Output: () => Output5,
35
+ Plugin: () => Plugin24,
36
+ name: () => name6
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name12 = "edit";
43
- var Input12 = Schema.Struct({
42
+ var name6 = "edit";
43
+ var Input6 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input12 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output8 = Schema.Struct({
53
+ var Output5 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin43 = {
106
+ var Plugin24 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service20;
110
- const fileMutation = yield* Service22;
111
- const environment = yield* Service59;
112
- const formatter = yield* Service73;
113
- const location = yield* Service75;
114
- const permission = yield* Service54;
109
+ const access = yield* Service65;
110
+ const fileMutation = yield* Service13;
111
+ const environment = yield* Service61;
112
+ const formatter = yield* Service16;
113
+ const location = yield* Service76;
114
+ const permission = yield* Service66;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name12,
116
+ name: name6,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input12,
120
- output: Output8,
119
+ input: Input6,
120
+ output: Output5,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin43 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name12, Input12, Output8, Plugin43, exports_edit };
197
+ export { name6, Input6, Output5, Plugin24, exports_edit };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service51
3
- } from "./config-yb6gj76h.js";
3
+ } from "./ripgrep-8evqb545.js";
4
4
  import {
5
- Service24
6
- } from "./config-nesjbnnj.js";
5
+ Service20
6
+ } from "./ripgrep-x38mj0ya.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./config-x1ezjp6w.js";
10
+ } from "./ripgrep-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./config-9rqn6x4v.js";
13
+ } from "./ripgrep-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make8
19
+ make: () => make5
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make8 = Effect.gen(function* () {
23
- const sessions = yield* Service24;
22
+ var make5 = Effect.gen(function* () {
23
+ const sessions = yield* Service20;
24
24
  const jobs = yield* Service51;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
@@ -58,4 +58,4 @@ var make8 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make8, exports_subagent_job };
61
+ export { make5, exports_subagent_job };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./config-jr349qs2.js";
4
+ } from "./ripgrep-189kb88v.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./config-3hepkmqq.js";
7
+ } from "./ripgrep-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./config-9rqn6x4v.js";
10
+ } from "./ripgrep-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service72,
17
- node: () => node76
16
+ Service: () => Service74,
17
+ node: () => node79
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service72 extends Context.Service()("@opencode/KV") {
22
+ class Service74 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service72, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
25
25
  const db = (yield* Service80).db;
26
- return Service72.of({
26
+ return Service74.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node76 = makeGlobalNode({ service: Service72, layer, deps: [node85] });
54
+ var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85] });
55
55
 
56
- export { Service72, node76, exports_kv };
56
+ export { Service74, node79, exports_kv };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./config-jr349qs2.js";
4
+ } from "./ripgrep-189kb88v.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./config-f828m53h.js";
7
+ } from "./ripgrep-hdnk95c8.js";
8
8
  import {
9
9
  __export
10
- } from "./config-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: () => ID7,
17
- Info: () => Info9,
16
+ ID: () => ID11,
17
+ Info: () => Info14,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service55,
21
- node: () => node58
20
+ Service: () => Service67,
21
+ node: () => node72
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID7 = PermissionSaved.ID;
29
- var Info9 = PermissionSaved.Info;
28
+ var ID11 = PermissionSaved.ID;
29
+ var Info14 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -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 Service55 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service67 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service55, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
42
42
  const db = (yield* Service80).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID7.create(),
56
+ id: ID11.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service55.of({ list, add, remove });
65
+ return Service67.of({ list, add, remove });
66
66
  }));
67
- var node58 = makeGlobalNode({ service: Service55, layer, deps: [node85] });
67
+ var node72 = makeGlobalNode({ service: Service67, layer, deps: [node85] });
68
68
 
69
- export { ID7, Info9, ListInput4, AddInput2, Service55, node58, exports_saved };
69
+ export { ID11, Info14, ListInput4, AddInput2, Service67, node72, exports_saved };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./config-jr349qs2.js";
4
+ } from "./ripgrep-189kb88v.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./config-6zpeh5ef.js";
8
+ } from "./ripgrep-tjncz0mj.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./config-pknna89w.js";
11
+ } from "./ripgrep-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./config-0q0f95c6.js";
14
+ } from "./ripgrep-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./config-9rqn6x4v.js";
17
+ } from "./ripgrep-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
24
- ID: () => ID18,
25
- Info: () => Info33,
23
+ Event: () => Event19,
24
+ ID: () => ID14,
25
+ Info: () => Info28,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service78,
28
+ Service: () => Service75,
29
29
  Value: () => Value2,
30
- node: () => node83
30
+ node: () => node80
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID18 = Credential.ID;
37
+ var ID14 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event20 = Credential.Event;
41
+ var Event19 = Credential.Event;
42
42
 
43
- class Info33 extends Schema.Class("Credential.Info")({
44
- id: ID18,
43
+ class Info28 extends Schema.Class("Credential.Info")({
44
+ id: ID14,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service78 extends Context.Service()("@opencode/Credential") {
51
+ class Service75 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service78, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
54
54
  const db = (yield* Service80).db;
55
55
  const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info33({
60
+ return new Info28({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service78.of({
71
+ return Service75.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info33({
80
- id: ID18.create(),
79
+ const credential = new Info28({
80
+ id: ID14.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event20.Updated, {}, { global: true });
105
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event19.Updated, {}, { global: true });
105
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event20.Updated, {}, { global: true });
157
+ yield* bus.publish(Event19.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event20.Updated, {}, { global: true });
190
+ yield* bus.publish(Event19.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
196
+ var node80 = makeGlobalNode({ service: Service75, layer, deps: [node85, node84] });
197
197
 
198
- export { ID18, OAuth3, Key4, Value2, Event20, Info33, Service78, node83, exports_credential };
198
+ export { ID14, OAuth3, Key4, Value2, Event19, Info28, Service75, node80, exports_credential };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./config-x1gpjyj9.js";
5
+ } from "./ripgrep-52zfrmt1.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make22,
9
+ make23,
10
10
  makeWithDefaults2
11
- } from "./config-sahb3924.js";
11
+ } from "./ripgrep-273h6293.js";
12
12
  import {
13
13
  __export
14
- } from "./config-9rqn6x4v.js";
14
+ } from "./ripgrep-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make22,
25
+ make: () => make23,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-922hggd3.js";
3
+ } from "./ripgrep-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./config-9rqn6x4v.js";
6
+ } from "./ripgrep-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service7,
11
+ Service: () => Service8,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node9
13
+ node: () => node11
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service7, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service7.of({
66
+ return Service8.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node9 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node11 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service7, node9, exports_discovery };
155
+ export { Service8, node11, exports_discovery };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};