@opencode/core 0.0.0-dev-20303 → 0.0.0-dev-20307

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{ripgrep-0996nyz8.js → config-0jq9fyba.js} +9 -9
  8. package/dist/chunks/{ripgrep-0paq2nw3.js → config-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{ripgrep-zexvq6re.js → config-0q3s84gs.js} +35 -35
  10. package/dist/chunks/{ripgrep-q13923st.js → config-0t7zfrp0.js} +2 -2
  11. package/dist/chunks/{ripgrep-pqcvfzvm.js → config-0tny3c9f.js} +27 -27
  12. package/dist/chunks/{ripgrep-dc0h2f5m.js → config-0vd4engx.js} +10 -10
  13. package/dist/chunks/{ripgrep-4nj6keg1.js → config-0w59s7c2.js} +18 -18
  14. package/dist/chunks/{ripgrep-pf2cvmpq.js → config-0x3pdc3s.js} +67 -67
  15. package/dist/chunks/{ripgrep-2xqghjp6.js → config-12xz87kv.js} +3 -3
  16. package/dist/chunks/{ripgrep-1dazxqgg.js → config-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{ripgrep-srep0201.js → config-1jz99jwb.js} +48 -48
  18. package/dist/chunks/{ripgrep-2qtr0tge.js → config-1mddym19.js} +49 -49
  19. package/dist/chunks/{ripgrep-f6ejcacf.js → config-1rzg8cx3.js} +34 -34
  20. package/dist/chunks/{ripgrep-1nkg8qc4.js → config-1sf86jmj.js} +12 -12
  21. package/dist/chunks/{ripgrep-1ygqh575.js → config-1ygqh575.js} +2 -2
  22. package/dist/chunks/{ripgrep-21r38tys.js → config-21r38tys.js} +1 -1
  23. package/dist/chunks/{ripgrep-febda8v4.js → config-25be0864.js} +17 -17
  24. package/dist/chunks/{ripgrep-ff3zzamp.js → config-269darmg.js} +40 -40
  25. package/dist/chunks/{ripgrep-7y05g5y6.js → config-292wsk96.js} +5 -5
  26. package/dist/chunks/{ripgrep-5vqak28j.js → config-29t9s0qq.js} +15 -15
  27. package/dist/chunks/{ripgrep-2a5m3afh.js → config-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{ripgrep-1jd7dvgb.js → config-2d52yt7h.js} +17 -17
  29. package/dist/chunks/{ripgrep-8q7cq0y1.js → config-2f04pwep.js} +3 -3
  30. package/dist/chunks/{ripgrep-9gjvwznx.js → config-2fa7a2cb.js} +25 -25
  31. package/dist/chunks/{ripgrep-ay7z0nzh.js → config-2hbvw9vv.js} +10 -10
  32. package/dist/chunks/{ripgrep-djszqvmq.js → config-2sejkfem.js} +9 -9
  33. package/dist/chunks/{ripgrep-ab4nhn8b.js → config-2shgxpvs.js} +6 -6
  34. package/dist/chunks/{ripgrep-fq5zwzwv.js → config-2sz29cz1.js} +29 -29
  35. package/dist/chunks/{ripgrep-zxf6vy87.js → config-2vpry5jy.js} +15 -15
  36. package/dist/chunks/{ripgrep-cztphjx7.js → config-32775zb7.js} +327 -327
  37. package/dist/chunks/{ripgrep-0b5t2wwf.js → config-3d257yh9.js} +9 -9
  38. package/dist/chunks/{ripgrep-3fc6dm20.js → config-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{ripgrep-3hepkmqq.js → config-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{ripgrep-qbv4sgsg.js → config-3jgxhq06.js} +44 -44
  41. package/dist/chunks/{ripgrep-3smtnn6g.js → config-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{ripgrep-3tvqynh2.js → config-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{ripgrep-h93zm1px.js → config-3xvfcnst.js} +7 -7
  44. package/dist/chunks/{ripgrep-3zsf4n22.js → config-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{ripgrep-fbxnn3zg.js → config-422899az.js} +39 -39
  46. package/dist/chunks/{ripgrep-8wbxkt1z.js → config-44ak30pa.js} +4 -4
  47. package/dist/chunks/{ripgrep-6ejtffh2.js → config-45trpagw.js} +21 -21
  48. package/dist/chunks/{ripgrep-e65wgfyf.js → config-46119t3w.js} +13 -13
  49. package/dist/chunks/{ripgrep-q6kv5hce.js → config-4dzbwv5q.js} +32 -32
  50. package/dist/chunks/{ripgrep-ttpyk6f9.js → config-4kd7e6ys.js} +9 -9
  51. package/dist/chunks/{ripgrep-eqd5gpxy.js → config-4kmetaym.js} +44 -44
  52. package/dist/chunks/{ripgrep-31wx1wqg.js → config-4n7khwcq.js} +32 -29
  53. package/dist/chunks/{ripgrep-kb6vbnxp.js → config-4wwqnvbr.js} +4 -4
  54. package/dist/chunks/{ripgrep-dtyy8xh0.js → config-4xh623zh.js} +26 -26
  55. package/dist/chunks/{ripgrep-bgxcxs0p.js → config-510m7gjw.js} +5 -5
  56. package/dist/chunks/{ripgrep-54ma36ye.js → config-54ma36ye.js} +1 -1
  57. package/dist/chunks/{ripgrep-57ez7d0k.js → config-57ez7d0k.js} +2 -2
  58. package/dist/chunks/{ripgrep-e0rfdckv.js → config-59akn9cc.js} +17 -17
  59. package/dist/chunks/{ripgrep-bm4pzggq.js → config-5cwfczjf.js} +32 -32
  60. package/dist/chunks/{ripgrep-5daktx2q.js → config-5daktx2q.js} +1 -1
  61. package/dist/chunks/{ripgrep-amjwwp15.js → config-5fn2wwsq.js} +20 -20
  62. package/dist/chunks/{ripgrep-r9w59ptg.js → config-5mvwrzry.js} +25 -25
  63. package/dist/chunks/{ripgrep-552s6kfz.js → config-5n0kyfxb.js} +15 -15
  64. package/dist/chunks/{ripgrep-5t3nmthw.js → config-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{ripgrep-y1cgxa56.js → config-5t7tt675.js} +13 -13
  66. package/dist/chunks/{ripgrep-gvrdb957.js → config-5xvskv7y.js} +11 -11
  67. package/dist/chunks/{ripgrep-669tq793.js → config-669tq793.js} +1 -1
  68. package/dist/chunks/{ripgrep-v89pjvzk.js → config-6jcmgf9k.js} +8 -8
  69. package/dist/chunks/{ripgrep-6ne0j7pm.js → config-6jrp8t3j.js} +11 -11
  70. package/dist/chunks/{ripgrep-632bft3r.js → config-6k72yjme.js} +19 -19
  71. package/dist/chunks/{ripgrep-qa3v0gpg.js → config-6km63wvd.js} +24 -24
  72. package/dist/chunks/{ripgrep-6msgmcgs.js → config-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{ripgrep-rkprpv83.js → config-6pc27hjz.js} +6 -6
  74. package/dist/chunks/{ripgrep-bhzbay2t.js → config-6tdhfkhk.js} +5 -5
  75. package/dist/chunks/{ripgrep-dr2s0fjn.js → config-75jb4kyn.js} +12 -12
  76. package/dist/chunks/{ripgrep-je856w56.js → config-77m06x4p.js} +11 -11
  77. package/dist/chunks/{ripgrep-7bmhse3q.js → config-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{ripgrep-7dqw4kz8.js → config-7dqw4kz8.js} +1 -1
  79. package/dist/chunks/{ripgrep-74a0hazz.js → config-7jtbgzxh.js} +11 -11
  80. package/dist/chunks/{ripgrep-zn4xb62a.js → config-7t1gf4xk.js} +20 -20
  81. package/dist/chunks/{ripgrep-5hcrxyky.js → config-7xv45gyt.js} +6 -6
  82. package/dist/chunks/{ripgrep-sj415v3s.js → config-87m1q7ht.js} +10 -10
  83. package/dist/chunks/{ripgrep-d8s5zaak.js → config-89392nta.js} +18 -18
  84. package/dist/chunks/{ripgrep-5gxtf2ep.js → config-8d0exfkm.js} +24 -24
  85. package/dist/chunks/{ripgrep-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{ripgrep-ttqh24zm.js → config-8gxqpgph.js} +4 -4
  87. package/dist/chunks/{ripgrep-v5fx191f.js → config-8hj0xwzd.js} +30 -30
  88. package/dist/chunks/{ripgrep-w2y23yj1.js → config-8rrryrvw.js} +13 -13
  89. package/dist/chunks/{ripgrep-yxj4ckh3.js → config-90jdj94b.js} +22 -22
  90. package/dist/chunks/{ripgrep-rkdvqggb.js → config-92azg307.js} +5 -5
  91. package/dist/chunks/{ripgrep-94ek1h2f.js → config-94ek1h2f.js} +2 -2
  92. package/dist/chunks/{ripgrep-dvs6zpk2.js → config-95y9ape3.js} +41 -41
  93. package/dist/chunks/{ripgrep-0j9j0cr0.js → config-9bmgxnfb.js} +23 -23
  94. package/dist/chunks/{ripgrep-qcbzzkxa.js → config-9mkjfjeb.js} +32 -32
  95. package/dist/chunks/config-9sh4wc5j.js +18 -0
  96. package/dist/chunks/{ripgrep-pmg28md7.js → config-9z9ew9nd.js} +1 -1
  97. package/dist/chunks/{ripgrep-rnk4bdv4.js → config-a0ex1whv.js} +21 -21
  98. package/dist/chunks/{ripgrep-ts8814z6.js → config-a8qx80kp.js} +19 -19
  99. package/dist/chunks/{ripgrep-7j2mf0b2.js → config-aa6e1bxm.js} +28 -28
  100. package/dist/chunks/{ripgrep-aaet6srn.js → config-aaet6srn.js} +2 -2
  101. package/dist/chunks/{ripgrep-3y377wv9.js → config-addxnjmp.js} +4 -4
  102. package/dist/chunks/{ripgrep-gmfetzq4.js → config-arjb37bx.js} +45 -37
  103. package/dist/chunks/{ripgrep-ngymw408.js → config-asnp7hhc.js} +4 -4
  104. package/dist/chunks/{ripgrep-zrc0yy2v.js → config-b164etxs.js} +27 -27
  105. package/dist/chunks/{ripgrep-3kkw8qnw.js → config-b1gf7dz2.js} +24 -24
  106. package/dist/chunks/{ripgrep-v5dkyp31.js → config-b27vhd2z.js} +4 -4
  107. package/dist/chunks/{ripgrep-b6gygkdw.js → config-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{ripgrep-m74y7a9x.js → config-b9hntxh7.js} +14 -14
  109. package/dist/chunks/{ripgrep-92z2dgw1.js → config-ba9gehx5.js} +3 -3
  110. package/dist/chunks/{ripgrep-k8e0krnc.js → config-bdqrk2vk.js} +8 -8
  111. package/dist/chunks/{ripgrep-mtf32xg9.js → config-bhemr9wh.js} +11 -11
  112. package/dist/chunks/{ripgrep-8djhgsab.js → config-bnvytdy7.js} +16 -16
  113. package/dist/chunks/{ripgrep-ag1tg3gv.js → config-byf60vcv.js} +33 -33
  114. package/dist/chunks/{ripgrep-pxvtywqb.js → config-c6t9gnna.js} +6 -6
  115. package/dist/chunks/{ripgrep-ws6q902r.js → config-ca9g9rqk.js} +5 -5
  116. package/dist/chunks/{ripgrep-jkfm4w29.js → config-ce44v4st.js} +28 -28
  117. package/dist/chunks/{ripgrep-ckecvw8r.js → config-ckecvw8r.js} +2 -2
  118. package/dist/chunks/{ripgrep-n50qm4s2.js → config-cswq075c.js} +58 -58
  119. package/dist/chunks/{ripgrep-nhvjymvq.js → config-d2kdndyg.js} +22 -22
  120. package/dist/chunks/{ripgrep-kcetpk2c.js → config-d7syg0tc.js} +12 -12
  121. package/dist/chunks/{ripgrep-1m0xqqrr.js → config-d7wsq8bv.js} +11 -11
  122. package/dist/chunks/{ripgrep-eefdys5x.js → config-dah29an0.js} +4 -4
  123. package/dist/chunks/{ripgrep-nsth5a41.js → config-dc965nrq.js} +31 -31
  124. package/dist/chunks/{ripgrep-xkntkrq7.js → config-dmqcgk4z.js} +5 -5
  125. package/dist/chunks/{ripgrep-3c4e9bh1.js → config-dmqymbqv.js} +7 -7
  126. package/dist/chunks/{ripgrep-qrgme6ew.js → config-dr8yj0jr.js} +6 -6
  127. package/dist/chunks/{ripgrep-drwq78ky.js → config-drwq78ky.js} +1 -1
  128. package/dist/chunks/{ripgrep-q26n4fcx.js → config-dzjeaeqz.js} +14 -14
  129. package/dist/chunks/{ripgrep-ytbta4pq.js → config-e1n7rw9f.js} +4 -4
  130. package/dist/chunks/{ripgrep-0f9afca0.js → config-ead3g9p8.js} +5 -5
  131. package/dist/chunks/{ripgrep-t550f9t1.js → config-eaj1djv9.js} +8 -8
  132. package/dist/chunks/{ripgrep-jpz1sap8.js → config-ebp6b9tv.js} +14 -14
  133. package/dist/chunks/{ripgrep-ecfe7b91.js → config-ecfe7b91.js} +2 -2
  134. package/dist/chunks/{ripgrep-e4dzh796.js → config-eemsvzwm.js} +9 -9
  135. package/dist/chunks/{ripgrep-ef5x83kb.js → config-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{ripgrep-deajr4zv.js → config-efjjk5dx.js} +11 -11
  137. package/dist/chunks/{ripgrep-73tb2d7t.js → config-eq1pz5kg.js} +3 -3
  138. package/dist/chunks/{ripgrep-1d3bftpa.js → config-eq9h0d5y.js} +8 -8
  139. package/dist/chunks/{ripgrep-hzxzc04q.js → config-eqht9cbe.js} +29 -29
  140. package/dist/chunks/{ripgrep-etq0c3wd.js → config-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{ripgrep-2pdg46mn.js → config-f1vyadhg.js} +14 -14
  142. package/dist/chunks/{ripgrep-q1v5hekz.js → config-few7m4w4.js} +11 -11
  143. package/dist/chunks/{ripgrep-mjpfq375.js → config-ff2d7thw.js} +25 -25
  144. package/dist/chunks/{ripgrep-yyksnw28.js → config-fj4h7adg.js} +28 -28
  145. package/dist/chunks/{ripgrep-zrq8kphx.js → config-fqtvmpfq.js} +8 -8
  146. package/dist/chunks/{ripgrep-35agz59w.js → config-fvanntqq.js} +5 -5
  147. package/dist/chunks/{ripgrep-d9wxm2fe.js → config-g31nq6sa.js} +8 -8
  148. package/dist/chunks/{ripgrep-kb333kjr.js → config-g8z1d8m7.js} +7 -7
  149. package/dist/chunks/{ripgrep-gd4qta3r.js → config-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{ripgrep-wybk36vp.js → config-ghxng14m.js} +10 -10
  151. package/dist/chunks/{ripgrep-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{ripgrep-nqfwyc43.js → config-gvw0fbgk.js} +8 -8
  153. package/dist/chunks/{ripgrep-h6vf3j39.js → config-h6vf3j39.js} +1 -1
  154. package/dist/chunks/{ripgrep-v6695139.js → config-h78069mn.js} +11 -11
  155. package/dist/chunks/{ripgrep-sd5f6jdk.js → config-h896pcm5.js} +6 -6
  156. package/dist/chunks/{ripgrep-s5hrj64x.js → config-h8rda941.js} +23 -23
  157. package/dist/chunks/{ripgrep-fp2xarvc.js → config-hekxc47r.js} +1 -1
  158. package/dist/chunks/{ripgrep-ckr8yqr6.js → config-hnw0gg26.js} +5 -5
  159. package/dist/chunks/{ripgrep-4k5pyaj2.js → config-hzc9ca78.js} +10 -10
  160. package/dist/chunks/{ripgrep-j56e64zr.js → config-j56e64zr.js} +1 -1
  161. package/dist/chunks/{ripgrep-jr0j7mve.js → config-jf3khhe6.js} +6 -6
  162. package/dist/chunks/{ripgrep-whp3wsjn.js → config-jge473sv.js} +11 -11
  163. package/dist/chunks/{ripgrep-fk34k8b0.js → config-jha2wz63.js} +77 -77
  164. package/dist/chunks/{ripgrep-qx1x9vga.js → config-jhp1ybt8.js} +22 -22
  165. package/dist/chunks/{ripgrep-f7xy0jcj.js → config-jhser3r8.js} +12 -12
  166. package/dist/chunks/{ripgrep-3v1h8cz5.js → config-jnj9g4r4.js} +48 -48
  167. package/dist/chunks/{ripgrep-szsbf3na.js → config-jq6r9rxs.js} +4 -4
  168. package/dist/chunks/{ripgrep-pttkx1dj.js → config-jwhtpyzr.js} +27 -27
  169. package/dist/chunks/{ripgrep-h2r7bbkd.js → config-k0gdq8ga.js} +8 -8
  170. package/dist/chunks/{ripgrep-k3c624dm.js → config-k3c624dm.js} +3 -3
  171. package/dist/chunks/config-k8cz98np.js +252 -0
  172. package/dist/chunks/{ripgrep-h3whq8hs.js → config-kcsm1vfq.js} +7 -7
  173. package/dist/chunks/{ripgrep-9x50181g.js → config-kgw42yf8.js} +12 -12
  174. package/dist/chunks/{ripgrep-a2tjj438.js → config-kwwj852z.js} +79 -79
  175. package/dist/chunks/{ripgrep-k40x70x4.js → config-m10m16yg.js} +8 -8
  176. package/dist/chunks/{ripgrep-m3fdjcah.js → config-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{ripgrep-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{ripgrep-tk70hm4f.js → config-mekq1jxg.js} +31 -31
  179. package/dist/chunks/{ripgrep-4858gwxg.js → config-mjrszqca.js} +35 -35
  180. package/dist/chunks/{ripgrep-yhc2xmq5.js → config-mt9yrtbx.js} +1 -1
  181. package/dist/chunks/{ripgrep-jzq9sbf8.js → config-mxp0vfn9.js} +37 -37
  182. package/dist/chunks/{ripgrep-p97ze781.js → config-n10xprsy.js} +20 -20
  183. package/dist/chunks/{ripgrep-fj137pk4.js → config-n8zm2rh5.js} +4 -4
  184. package/dist/chunks/{ripgrep-pvvafe22.js → config-nbbwaq1x.js} +10 -10
  185. package/dist/chunks/{ripgrep-mwyh8wfh.js → config-nej22d74.js} +26 -26
  186. package/dist/chunks/{ripgrep-m2d0j7c0.js → config-nq7qbqzc.js} +9 -9
  187. package/dist/chunks/{ripgrep-rk6ps10a.js → config-nzsvss4e.js} +5 -5
  188. package/dist/chunks/{ripgrep-zgfpqdce.js → config-p0317zjm.js} +54 -54
  189. package/dist/chunks/{ripgrep-v9htzwy6.js → config-p27bdzt8.js} +39 -39
  190. package/dist/chunks/{ripgrep-pa8pe2x7.js → config-p37cw4rj.js} +8 -8
  191. package/dist/chunks/{ripgrep-dq3vednk.js → config-p67888xt.js} +15 -15
  192. package/dist/chunks/{ripgrep-c35597j6.js → config-p6wxjpka.js} +4 -4
  193. package/dist/chunks/{ripgrep-zd5925e4.js → config-pd37k1mn.js} +10 -10
  194. package/dist/chunks/{ripgrep-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{ripgrep-pknna89w.js → config-pknna89w.js} +1 -1
  196. package/dist/chunks/{ripgrep-vncycja5.js → config-pmr4s4kc.js} +4 -4
  197. package/dist/chunks/{ripgrep-b1k697tw.js → config-pq8y9jyn.js} +9 -9
  198. package/dist/chunks/{ripgrep-wpzekwss.js → config-q0mntv84.js} +6 -6
  199. package/dist/chunks/{ripgrep-t849abxh.js → config-q2gm30vq.js} +11 -10
  200. package/dist/chunks/{ripgrep-8jsvkn40.js → config-q3pdm90z.js} +29 -29
  201. package/dist/chunks/{ripgrep-tdmq7741.js → config-q67st9n4.js} +38 -38
  202. package/dist/chunks/{ripgrep-4gr8y5nf.js → config-q7e6fk49.js} +25 -25
  203. package/dist/chunks/{ripgrep-d450k981.js → config-q8n9d2sh.js} +8 -8
  204. package/dist/chunks/{ripgrep-nn5bpfje.js → config-qehv365y.js} +9 -9
  205. package/dist/chunks/{ripgrep-8epfg41c.js → config-qexff29z.js} +6 -6
  206. package/dist/chunks/{ripgrep-sfpzfcnw.js → config-qgdgv7hk.js} +3 -3
  207. package/dist/chunks/{ripgrep-jw80jp6b.js → config-qj8eh1ht.js} +4 -4
  208. package/dist/chunks/{ripgrep-n0gf5ey7.js → config-qnv5e02b.js} +22 -22
  209. package/dist/chunks/{ripgrep-qsdy395h.js → config-qsdy395h.js} +1 -1
  210. package/dist/chunks/{ripgrep-hbyhqfhs.js → config-qsr9synt.js} +5 -5
  211. package/dist/chunks/{ripgrep-pnh2hy2c.js → config-qwb4tgp6.js} +23 -23
  212. package/dist/chunks/{ripgrep-r7nsrefv.js → config-r3q6pmcz.js} +6 -6
  213. package/dist/chunks/{ripgrep-rdw6cm16.js → config-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{ripgrep-x591492r.js → config-s5cnhrvf.js} +15 -15
  215. package/dist/chunks/{ripgrep-5frpvc34.js → config-s8610hey.js} +2 -2
  216. package/dist/chunks/{ripgrep-zbzhtaz8.js → config-s8avne91.js} +25 -25
  217. package/dist/chunks/{ripgrep-4pdcrpe9.js → config-s8fxn872.js} +13 -13
  218. package/dist/chunks/{ripgrep-18qa6r1n.js → config-sa09mgdh.js} +16 -16
  219. package/dist/chunks/{ripgrep-2x0wkexj.js → config-sk4te5ak.js} +27 -27
  220. package/dist/chunks/config-sv1g477j.js +26 -0
  221. package/dist/chunks/{ripgrep-bahgfxtd.js → config-sve1nj7a.js} +33 -33
  222. package/dist/chunks/{ripgrep-aa6tf4fy.js → config-syj77zjw.js} +22 -22
  223. package/dist/chunks/{ripgrep-dj9sq318.js → config-t0fxg8b9.js} +5 -5
  224. package/dist/chunks/{ripgrep-d21fb1vq.js → config-t9b158gy.js} +13 -13
  225. package/dist/chunks/{ripgrep-tazgh4e4.js → config-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{ripgrep-89znhe33.js → config-tcezcvh9.js} +4 -4
  227. package/dist/chunks/{ripgrep-tdstcens.js → config-tdstcens.js} +1 -1
  228. package/dist/chunks/{ripgrep-ycg97etn.js → config-tk3wdx18.js} +174 -174
  229. package/dist/chunks/{ripgrep-2t95j9c0.js → config-tq32sg09.js} +25 -25
  230. package/dist/chunks/{ripgrep-tvtrv512.js → config-tvtrv512.js} +1 -1
  231. package/dist/chunks/{ripgrep-qwhsc8p7.js → config-twx3wtca.js} +18 -18
  232. package/dist/chunks/{ripgrep-cx34d9wd.js → config-v8fkb6at.js} +11 -11
  233. package/dist/chunks/{ripgrep-tjedn1bk.js → config-vbfgae2j.js} +4 -4
  234. package/dist/chunks/{ripgrep-xvp1j2dc.js → config-vd7rzxqf.js} +5 -5
  235. package/dist/chunks/{ripgrep-veqvce7d.js → config-veqvce7d.js} +1 -1
  236. package/dist/chunks/{ripgrep-kmjdna7m.js → config-vk0rzmvc.js} +50 -50
  237. package/dist/chunks/{ripgrep-00bkszwx.js → config-vwpf3yy2.js} +23 -23
  238. package/dist/chunks/{ripgrep-vzcthcp8.js → config-vzcthcp8.js} +1 -1
  239. package/dist/chunks/{ripgrep-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
  240. package/dist/chunks/{ripgrep-w1eejvng.js → config-w1eejvng.js} +1 -1
  241. package/dist/chunks/{ripgrep-3skt28fc.js → config-w3c417zp.js} +3 -3
  242. package/dist/chunks/{ripgrep-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{ripgrep-zwet3d57.js → config-w7qq5tsb.js} +22 -22
  244. package/dist/chunks/{ripgrep-wd3x2cqz.js → config-wd3x2cqz.js} +2 -2
  245. package/dist/chunks/{ripgrep-wd87259q.js → config-wd87259q.js} +1 -1
  246. package/dist/chunks/{ripgrep-x7xnx0we.js → config-wf79szkf.js} +22 -22
  247. package/dist/chunks/{ripgrep-37m9xwpn.js → config-wgbxdxnn.js} +26 -26
  248. package/dist/chunks/{ripgrep-695yb3ne.js → config-wkvewthv.js} +22 -22
  249. package/dist/chunks/{ripgrep-zmyzpzwz.js → config-ws9abje0.js} +5 -5
  250. package/dist/chunks/{ripgrep-8vxvqh3p.js → config-wzwsskye.js} +20 -20
  251. package/dist/chunks/{ripgrep-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{ripgrep-qzqedjgs.js → config-xfcb1x2f.js} +21 -21
  253. package/dist/chunks/{ripgrep-m4v4sst7.js → config-xks95tas.js} +23 -23
  254. package/dist/chunks/{ripgrep-9tn9hv36.js → config-xpkwndmr.js} +33 -33
  255. package/dist/chunks/{ripgrep-bea85hdf.js → config-xvgtn10j.js} +3 -3
  256. package/dist/chunks/{ripgrep-n1ka8r9d.js → config-xwm6bryg.js} +4 -4
  257. package/dist/chunks/{ripgrep-bs1d3dhn.js → config-y0ghwd9k.js} +3 -3
  258. package/dist/chunks/{ripgrep-px76j0pk.js → config-y0mc46pw.js} +9 -9
  259. package/dist/chunks/{ripgrep-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
  260. package/dist/chunks/{ripgrep-xsbrecyh.js → config-y5df08dr.js} +12 -12
  261. package/dist/chunks/{ripgrep-y71avatq.js → config-y71avatq.js} +1 -1
  262. package/dist/chunks/{ripgrep-q9m9wzt0.js → config-y8q9ap8c.js} +19 -19
  263. package/dist/chunks/{ripgrep-k06t1zgt.js → config-y9a1hj5c.js} +11 -11
  264. package/dist/chunks/{ripgrep-k1qrnqst.js → config-yf10kn3d.js} +8 -8
  265. package/dist/chunks/{ripgrep-qfchpyts.js → config-yfcxk4hn.js} +25 -25
  266. package/dist/chunks/{ripgrep-w8wd44rg.js → config-yhd4mc25.js} +22 -22
  267. package/dist/chunks/{ripgrep-8gy77n4q.js → config-yk4jbxhg.js} +12 -12
  268. package/dist/chunks/{ripgrep-yp2x3t23.js → config-yp2x3t23.js} +1 -1
  269. package/dist/chunks/{ripgrep-j726xjcb.js → config-yp2zyt9e.js} +32 -32
  270. package/dist/chunks/{ripgrep-0ahrpcjw.js → config-ypxgwkzp.js} +14 -14
  271. package/dist/chunks/{ripgrep-3p17jnne.js → config-yqsrqvmh.js} +14 -14
  272. package/dist/chunks/{ripgrep-3es9bxre.js → config-yr1ytw2x.js} +17 -17
  273. package/dist/chunks/{ripgrep-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{ripgrep-yrznvahk.js → config-yrznvahk.js} +2 -2
  275. package/dist/chunks/{ripgrep-0939078r.js → config-yttf4vyv.js} +3 -3
  276. package/dist/chunks/{ripgrep-n3fk10xz.js → config-yvpx9whs.js} +32 -32
  277. package/dist/chunks/{ripgrep-sm965ndy.js → config-yvvvp4gn.js} +8 -8
  278. package/dist/chunks/{ripgrep-z1t4ccqy.js → config-z04bxrmy.js} +11 -11
  279. package/dist/chunks/{ripgrep-z07pqspn.js → config-z07pqspn.js} +3 -3
  280. package/dist/chunks/{ripgrep-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{ripgrep-4438m4a7.js → config-z349dkze.js} +17 -17
  282. package/dist/chunks/{ripgrep-jtkxxjqx.js → config-z3xax5j7.js} +18 -18
  283. package/dist/chunks/{ripgrep-j6rk38x8.js → config-z3zp24an.js} +6 -6
  284. package/dist/chunks/{ripgrep-z63w68vq.js → config-z63w68vq.js} +2 -2
  285. package/dist/chunks/{ripgrep-8qxm69fb.js → config-z75a89z7.js} +19 -19
  286. package/dist/chunks/{ripgrep-rthtq9ap.js → config-z8pd6906.js} +28 -28
  287. package/dist/chunks/{ripgrep-w1ad28wa.js → config-ze5v0a14.js} +8 -8
  288. package/dist/chunks/{ripgrep-zeh9ct20.js → config-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{ripgrep-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{ripgrep-zxq2ej10.js → config-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{ripgrep-wj1rks9h.js → config-zz0c306v.js} +28 -28
  292. package/dist/chunks/{ripgrep-r2rgjgj7.js → config-zz3bkaqy.js} +32 -32
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +77 -77
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +103 -103
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +85 -85
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +120 -120
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +139 -139
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +354 -354
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +226 -226
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +84 -84
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +93 -93
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +87 -87
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +133 -133
  580. package/dist/session/context.js +149 -149
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +126 -126
  599. package/dist/session/projector.js +84 -84
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +209 -209
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +218 -218
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +217 -217
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +15 -15
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +118 -118
  643. package/dist/tool/plugin/grep.js +120 -120
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +116 -116
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +214 -214
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/types/credential.d.ts +6 -1
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +1 -1
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/ripgrep-38phvaps.js +0 -252
  702. package/dist/chunks/ripgrep-9zdhvgqs.js +0 -18
  703. package/dist/chunks/ripgrep-pwr21gwd.js +0 -26
  704. /package/dist/chunks/{ripgrep-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{ripgrep-0zkw76rk.js → config-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{ripgrep-17cy0kzp.js → config-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{ripgrep-1cnp2v09.js → config-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{ripgrep-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{ripgrep-24dcb14g.js → config-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{ripgrep-2710q6r3.js → config-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{ripgrep-2axfhc9x.js → config-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{ripgrep-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{ripgrep-34c7v6d4.js → config-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{ripgrep-359p4xyc.js → config-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{ripgrep-3asan66x.js → config-3asan66x.js} +0 -0
  716. /package/dist/chunks/{ripgrep-3v8g72cx.js → config-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{ripgrep-3w5fmr99.js → config-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{ripgrep-3wcehsnq.js → config-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{ripgrep-43n2bw4t.js → config-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{ripgrep-4knz6hnm.js → config-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{ripgrep-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{ripgrep-4y7fprxs.js → config-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{ripgrep-53557ph1.js → config-53557ph1.js} +0 -0
  724. /package/dist/chunks/{ripgrep-550bvhaj.js → config-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{ripgrep-5qd3pb7m.js → config-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{ripgrep-6prwharc.js → config-6prwharc.js} +0 -0
  727. /package/dist/chunks/{ripgrep-7akdwqpd.js → config-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{ripgrep-7m9af43g.js → config-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{ripgrep-822emrt2.js → config-822emrt2.js} +0 -0
  730. /package/dist/chunks/{ripgrep-88xbtdfr.js → config-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{ripgrep-8n3pysct.js → config-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{ripgrep-8wj87zfr.js → config-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{ripgrep-922hggd3.js → config-922hggd3.js} +0 -0
  734. /package/dist/chunks/{ripgrep-9a4afbnw.js → config-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{ripgrep-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{ripgrep-a6k6eb26.js → config-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{ripgrep-af5trqkr.js → config-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{ripgrep-afrmfg78.js → config-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{ripgrep-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{ripgrep-atq7p7m5.js → config-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{ripgrep-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{ripgrep-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{ripgrep-cf4snx6d.js → config-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{ripgrep-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{ripgrep-d9fn303g.js → config-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{ripgrep-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{ripgrep-dajrwvna.js → config-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{ripgrep-dap0rakb.js → config-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{ripgrep-df08tz66.js → config-df08tz66.js} +0 -0
  750. /package/dist/chunks/{ripgrep-dy18nga0.js → config-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{ripgrep-e5kj55wp.js → config-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{ripgrep-e73j6tqm.js → config-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{ripgrep-ec1grn59.js → config-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{ripgrep-eh3zwz77.js → config-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{ripgrep-emrn6kk6.js → config-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{ripgrep-f0mxakyp.js → config-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{ripgrep-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{ripgrep-faypxj3z.js → config-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{ripgrep-fd410y7t.js → config-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{ripgrep-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{ripgrep-g4wezp1m.js → config-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{ripgrep-g86h250q.js → config-g86h250q.js} +0 -0
  763. /package/dist/chunks/{ripgrep-gebd4c9n.js → config-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{ripgrep-gftt206x.js → config-gftt206x.js} +0 -0
  765. /package/dist/chunks/{ripgrep-hjbc5kem.js → config-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{ripgrep-hk9envan.js → config-hk9envan.js} +0 -0
  767. /package/dist/chunks/{ripgrep-j2ntwpah.js → config-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{ripgrep-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{ripgrep-jjkms2e6.js → config-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{ripgrep-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{ripgrep-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{ripgrep-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{ripgrep-mp448xyj.js → config-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{ripgrep-msx8hqn2.js → config-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{ripgrep-n05xt0ee.js → config-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{ripgrep-n3j8tn72.js → config-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{ripgrep-njntx4h6.js → config-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{ripgrep-q3sfg36h.js → config-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{ripgrep-q74kybfr.js → config-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{ripgrep-qaymkmh1.js → config-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{ripgrep-qb87gjwd.js → config-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{ripgrep-qfa1cgps.js → config-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{ripgrep-qg3g05ea.js → config-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{ripgrep-qrg20bc0.js → config-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{ripgrep-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{ripgrep-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{ripgrep-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{ripgrep-ssg3fenm.js → config-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{ripgrep-w803qqfp.js → config-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{ripgrep-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{ripgrep-wer8tq1h.js → config-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{ripgrep-wtztk69x.js → config-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{ripgrep-x0ckcb58.js → config-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{ripgrep-x61499pn.js → config-x61499pn.js} +0 -0
  795. /package/dist/chunks/{ripgrep-y44na4kk.js → config-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{ripgrep-y8cydn3q.js → config-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{ripgrep-y8f7s663.js → config-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{ripgrep-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{ripgrep-ym463w8f.js → config-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{ripgrep-z9919s4g.js → config-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./ripgrep-kcetpk2c.js";
2
+ Service82,
3
+ node86
4
+ } from "./config-d7syg0tc.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./ripgrep-q26n4fcx.js";
6
+ Service79,
7
+ node83
8
+ } from "./config-dzjeaeqz.js";
9
9
  import {
10
- ID10,
11
- Service63,
12
- node66
13
- } from "./ripgrep-5gxtf2ep.js";
10
+ ID15,
11
+ Service77,
12
+ node81
13
+ } from "./config-8d0exfkm.js";
14
14
  import {
15
- NotFoundError8
16
- } from "./ripgrep-j6rk38x8.js";
15
+ NotFoundError10
16
+ } from "./config-z3zp24an.js";
17
17
  import {
18
- Service59,
19
- node62
20
- } from "./ripgrep-m74y7a9x.js";
18
+ Service75,
19
+ node79
20
+ } from "./config-b9hntxh7.js";
21
21
  import {
22
22
  match2
23
- } from "./ripgrep-y1fvbwt7.js";
23
+ } from "./config-y1fvbwt7.js";
24
24
  import {
25
- Service60,
26
- node63
27
- } from "./ripgrep-zxf6vy87.js";
25
+ Service74,
26
+ node78
27
+ } from "./config-2vpry5jy.js";
28
28
  import {
29
- Service64,
30
- node67
31
- } from "./ripgrep-zrq8kphx.js";
29
+ Service76,
30
+ node80
31
+ } from "./config-fqtvmpfq.js";
32
32
  import {
33
33
  __export
34
- } from "./ripgrep-9rqn6x4v.js";
34
+ } from "./config-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event12,
46
- ID: () => ID7,
47
- NotFoundError: () => NotFoundError7,
45
+ Event: () => Event19,
46
+ ID: () => ID13,
47
+ NotFoundError: () => NotFoundError9,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
51
+ Request: () => Request3,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service58,
54
+ Service: () => Service73,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node61
58
+ node: () => node77
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event12 } from "@opencode/schema/permission";
64
+ import { Event as Event19 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID7 = Permission.ID;
67
+ var ID13 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
77
+ var Request3 = Permission.Request;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID7.pipe(Schema.optional),
80
+ id: ID13.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID10.pipe(Schema.optional)
82
+ agent: ID15.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID7,
86
- reply: Reply2,
85
+ requestID: ID13,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID7,
90
+ id: ID13,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID7
113
+ class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID13
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service58 extends Context.Service()("@opencode/Permission") {
128
+ class Service73 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service58, Effect.gen(function* () {
131
- const bus = yield* Service80;
132
- const location = yield* Service78;
133
- const agents = yield* Service63;
134
- const sessions = yield* Service59;
135
- const saved = yield* Service60;
136
- const hooks = yield* Service64;
130
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
131
+ const bus = yield* Service82;
132
+ const location = yield* Service79;
133
+ const agents = yield* Service77;
134
+ const sessions = yield* Service75;
135
+ const saved = yield* Service74;
136
+ const hooks = yield* Service76;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError8({ sessionID });
159
+ return yield* new NotFoundError10({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID7.create(),
189
+ id: input.id ?? ID13.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID7.create(), effect: "deny" };
214
+ return { id: input.id ?? ID13.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError7({ requestID: input.requestID });
245
+ return yield* new NotFoundError9({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service58.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service73.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node61 = makeLocationNode({
303
- service: Service58,
302
+ var node77 = makeLocationNode({
303
+ service: Service73,
304
304
  layer,
305
- deps: [node84, node82, node66, node62, node63, node67]
305
+ deps: [node86, node83, node81, node79, node78, node80]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service58, node61, exports_permission2, Rule3, Ruleset2, Event12 };
308
+ export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service73, node77, exports_permission2, Rule3, Ruleset2, Event19 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service80,
4
- node84
5
- } from "./ripgrep-kcetpk2c.js";
6
- import {
7
3
  Service82,
8
4
  node86
9
- } from "./ripgrep-4k5pyaj2.js";
5
+ } from "./config-d7syg0tc.js";
6
+ import {
7
+ Service83,
8
+ node87
9
+ } from "./config-hzc9ca78.js";
10
10
  import {
11
11
  __export
12
- } from "./ripgrep-9rqn6x4v.js";
12
+ } from "./config-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event11,
19
+ Event: () => Event12,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service46,
22
+ Service: () => Service66,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node50,
26
- resolve: () => resolve3
25
+ node: () => node69,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service46 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service66 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event11 = {
51
+ var Event12 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service46, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service82;
81
- const bus = yield* Service80;
80
+ const kv = yield* Service83;
81
+ const bus = yield* Service82;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event11.Updated, {});
112
+ yield* bus.publish(Event12.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service46.of({
115
+ return Service66.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event11.Updated, {});
128
+ yield* bus.publish(Event12.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event11.Updated, {});
141
+ yield* bus.publish(Event12.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node50 = makeGlobalNode({ service: Service46, layer, deps: [httpClient, node86, node84] });
146
+ var node69 = makeGlobalNode({ service: Service66, layer, deps: [httpClient, node87, node86] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service46, Event11, inspect2, resolve3, node50, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service66, Event12, inspect2, resolve4, node69, exports_wellknown };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./ripgrep-2xqghjp6.js";
4
+ } from "./config-12xz87kv.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./ripgrep-2710q6r3.js";
8
+ } from "./config-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./ripgrep-y71avatq.js";
11
+ } from "./config-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./ripgrep-9rqn6x4v.js";
14
+ } from "./config-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service80,
21
+ Service: () => Service82,
22
22
  configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node84,
27
+ node: () => node86,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service80 extends Context.Service()("@opencode/Bus") {
79
+ class Service82 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
81
  function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service80,
83
+ service: Service82,
84
84
  deps: [node88],
85
- layer: Layer.effect(Service80, Effect.gen(function* () {
85
+ layer: Layer.effect(Service82, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service80.of({
528
+ return Service82.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node84 = configured12();
542
+ var node86 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service80, configured12, node84, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured12, node86, exports_bus };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service44
3
- } from "./ripgrep-2qtr0tge.js";
2
+ Service64
3
+ } from "./config-1mddym19.js";
4
4
  import {
5
- Service10
6
- } from "./ripgrep-djszqvmq.js";
5
+ Service11
6
+ } from "./config-2sejkfem.js";
7
7
  import {
8
8
  observe2
9
- } from "./ripgrep-qsdy395h.js";
9
+ } from "./config-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./ripgrep-9rqn6x4v.js";
12
+ } from "./config-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin28
18
+ Plugin: () => Plugin44
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin28 = define({
22
+ var Plugin44 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service44;
26
- const policy = yield* Service10;
25
+ const config = yield* Service64;
26
+ const policy = yield* Service11;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin28 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin28, exports_location_watcher2 };
38
+ export { Plugin44, exports_location_watcher2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID12
3
- } from "./ripgrep-zexvq6re.js";
2
+ ID8
3
+ } from "./config-0q3s84gs.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./ripgrep-wpzekwss.js";
6
+ } from "./config-q0mntv84.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID12.make("cloudflare-ai-gateway");
13
+ var providerID = ID8.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./ripgrep-2a5m3afh.js";
3
+ } from "./config-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./ripgrep-922hggd3.js";
6
+ } from "./config-922hggd3.js";
7
7
  import {
8
- Service78
9
- } from "./ripgrep-q26n4fcx.js";
8
+ Service79
9
+ } from "./config-dzjeaeqz.js";
10
10
  import {
11
- Service73
12
- } from "./ripgrep-qa3v0gpg.js";
11
+ Service58
12
+ } from "./config-6km63wvd.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service72
16
- } from "./ripgrep-jtkxxjqx.js";
15
+ Service19
16
+ } from "./config-z3xax5j7.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry4,
21
+ Entry2,
22
22
  Match2
23
- } from "./ripgrep-j726xjcb.js";
23
+ } from "./config-yp2zyt9e.js";
24
24
  import {
25
- Service58
26
- } from "./ripgrep-n50qm4s2.js";
25
+ Service73
26
+ } from "./config-cswq075c.js";
27
27
  import {
28
- Service17
29
- } from "./ripgrep-qwhsc8p7.js";
28
+ Service22
29
+ } from "./config-twx3wtca.js";
30
30
  import {
31
31
  __export
32
- } from "./ripgrep-9rqn6x4v.js";
32
+ } from "./config-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input6,
38
+ Input: () => Input7,
39
39
  Output: () => Output4,
40
- Plugin: () => Plugin40,
41
- name: () => name6,
40
+ Plugin: () => Plugin24,
41
+ name: () => name7,
42
42
  toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name6 = "grep";
48
- var Input6 = Schema.Struct({
47
+ var name7 = "grep";
48
+ var Input7 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin40 = {
86
+ var Plugin24 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service73;
90
- const ripgrep = yield* Service72;
91
- const location = yield* Service78;
92
- const access = yield* Service17;
93
- const permission = yield* Service58;
89
+ const environment = yield* Service58;
90
+ const ripgrep = yield* Service19;
91
+ const location = yield* Service79;
92
+ const access = yield* Service22;
93
+ const permission = yield* Service73;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name6,
95
+ name: name7,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input6,
98
+ input: Input7,
99
99
  output: Output4,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name6,
105
+ action: name7,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin40 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry4.make({
139
+ entry: Entry2.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -154,4 +154,4 @@ var Plugin40 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name6, Input6, Output4, toModelContent3, Plugin40, exports_grep };
157
+ export { name7, Input7, Output4, toModelContent3, Plugin24, exports_grep };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./ripgrep-gftt206x.js";
3
+ } from "./config-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update2
12
+ update: () => update3
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update2(adapter, event) {
24
+ function update3(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -402,4 +402,4 @@ function update2(adapter, event) {
402
402
  return project(event);
403
403
  }
404
404
 
405
- export { update2, exports_message_updater };
405
+ export { update3, exports_message_updater };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./ripgrep-f0mxakyp.js";
3
+ } from "./config-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./ripgrep-w3wsvvr9.js";
6
+ } from "./config-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./ripgrep-7bmhse3q.js";
9
+ } from "./config-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./ripgrep-cf4snx6d.js";
12
+ } from "./config-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./ripgrep-822emrt2.js";
15
+ } from "./config-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./ripgrep-wd87259q.js";
18
+ } from "./config-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./ripgrep-m9w0rfyh.js";
21
+ } from "./config-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";