@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,29 +1,29 @@
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
6
  environment2
7
- } from "./ripgrep-qx1x9vga.js";
7
+ } from "./config-jhp1ybt8.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./ripgrep-sk3qaz4a.js";
10
+ } from "./config-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./ripgrep-9rqn6x4v.js";
13
+ } from "./config-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options3,
19
+ NotFoundError: () => NotFoundError4,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service22,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured3,
22
+ Service: () => Service23,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured4,
25
25
  layer: () => layer10,
26
- node: () => node25
26
+ node: () => node26
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service22 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service23 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* () {
53
- const bus = yield* Service80;
52
+ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
53
+ const bus = yield* Service82;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError4({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service22.of({
242
+ return Service23.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -256,16 +256,16 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
256
256
  });
257
257
  }));
258
258
  var layer10 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service22,
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service23,
261
261
  layer: options === undefined ? layer10 : makeLayer(options),
262
- deps: [node84, Global.node]
262
+ deps: [node86, Global.node]
263
263
  });
264
- var node25 = configured3();
264
+ var node26 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError3, Service22, layer10, configured3, node25, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError2, NotFoundError4, Service23, layer10, configured4, node26, exports_persistent_pty, Handoff2 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./ripgrep-2a5m3afh.js";
5
+ } from "./config-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./ripgrep-9rqn6x4v.js";
8
+ } from "./config-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info27,
10
+ Info: () => Info24,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  Status: () => Status3,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info27 = Connection.Info;
18
+ var Info24 = Connection.Info;
19
19
  var Status3 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info27, Status3, key2, exports_connection };
26
+ export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./ripgrep-2xqghjp6.js";
4
+ } from "./config-12xz87kv.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./ripgrep-kcetpk2c.js";
6
+ Service82,
7
+ node86
8
+ } from "./config-d7syg0tc.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./ripgrep-pknna89w.js";
11
+ } from "./config-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./ripgrep-3zsf4n22.js";
14
+ } from "./config-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./ripgrep-9rqn6x4v.js";
17
+ } from "./config-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: () => Event17,
24
- ID: () => ID14,
25
- Info: () => Info28,
26
- Key: () => Key4,
23
+ Event: () => Event16,
24
+ ID: () => ID10,
25
+ Info: () => Info25,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service68,
28
+ Service: () => Service70,
29
29
  Value: () => Value2,
30
- node: () => node71
30
+ node: () => node73
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 ID14 = Credential.ID;
37
+ var ID10 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event17 = Credential.Event;
41
+ var Event16 = Credential.Event;
42
42
 
43
- class Info28 extends Schema.Class("Credential.Info")({
44
- id: ID14,
43
+ class Info25 extends Schema.Class("Credential.Info")({
44
+ id: ID10,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service68 extends Context.Service()("@opencode/Credential") {
51
+ class Service70 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service68, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
- const bus = yield* Service80;
55
+ const bus = yield* Service82;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info28({
60
+ return new Info25({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service68.of({
71
+ return Service70.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,21 +76,27 @@ var layer = Layer.effect(Service68, 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 Info28({
80
- id: ID14.create(),
79
+ const credential = new Info25({
80
+ id: input.id ?? ID10.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
84
84
  });
85
- yield* db.transaction((tx) => Effect.gen(function* () {
86
- yield* tx.update(CredentialTable2).set({ active: false }).where(eq(CredentialTable2.integration_id, credential.integrationID)).run();
85
+ const activated = yield* db.transaction((tx) => Effect.gen(function* () {
86
+ const current = yield* tx.select({ id: CredentialTable2.id, active: CredentialTable2.active }).from(CredentialTable2).where(eq(CredentialTable2.integration_id, credential.integrationID)).orderBy(desc(CredentialTable2.active), desc(CredentialTable2.time_created), desc(CredentialTable2.id)).get();
87
+ const activate = input.activate !== false || !current;
88
+ if (activate)
89
+ yield* tx.update(CredentialTable2).set({ active: false }).where(eq(CredentialTable2.integration_id, credential.integrationID)).run();
90
+ if (!activate && current && !current.active)
91
+ yield* tx.update(CredentialTable2).set({ active: true }).where(eq(CredentialTable2.id, current.id)).run();
87
92
  yield* tx.insert(CredentialTable2).values({
88
93
  id: credential.id,
89
94
  integration_id: credential.integrationID,
90
95
  label: credential.label,
91
96
  value: credential.value,
92
- active: true
97
+ active: activate
93
98
  }).run();
99
+ return activate;
94
100
  })).pipe(Effect.onError((cause) => Effect.logError("credential create failed", {
95
101
  credentialID: credential.id,
96
102
  integrationID: credential.integrationID,
@@ -99,10 +105,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
99
105
  yield* Effect.logInfo("credential created", {
100
106
  credentialID: credential.id,
101
107
  integrationID: credential.integrationID,
102
- type: credential.value.type
108
+ type: credential.value.type,
109
+ active: activated
103
110
  });
104
- yield* bus.publish(Event17.Updated, {}, { global: true });
105
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
111
+ yield* bus.publish(Event16.Updated, {}, { global: true });
112
+ if (activated)
113
+ yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
114
  return credential;
107
115
  }),
108
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +130,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
122
130
  })), Effect.orDie);
123
131
  if (integrationID) {
124
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
126
134
  }
127
135
  }),
128
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +162,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
154
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
163
  });
156
164
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event17.Updated, {}, { global: true });
165
+ yield* bus.publish(Event16.Updated, {}, { global: true });
158
166
  }),
159
167
  remove: Effect.fn("Credential.remove")(function* (id) {
160
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +195,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
187
195
  active: removed.switched,
188
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
197
  });
190
- yield* bus.publish(Event17.Updated, {}, { global: true });
198
+ yield* bus.publish(Event16.Updated, {}, { global: true });
191
199
  if (removed.switched)
192
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
201
  })
194
202
  });
195
203
  }));
196
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [node88, node84] });
204
+ var node73 = makeGlobalNode({ service: Service70, layer, deps: [node88, node86] });
197
205
 
198
- export { ID14, OAuth3, Key4, Value2, Event17, Info28, Service68, node71, exports_credential };
206
+ export { ID10, OAuth3, Key3, Value2, Event16, Info25, Service70, node73, exports_credential };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service73
3
- } from "./ripgrep-qa3v0gpg.js";
2
+ Service58
3
+ } from "./config-6km63wvd.js";
4
4
  import {
5
5
  __export
6
- } from "./ripgrep-9rqn6x4v.js";
6
+ } from "./config-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service73;
22
+ const environment = yield* Service58;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -1,25 +1,25 @@
1
- import {
2
- Service80,
3
- node84
4
- } from "./ripgrep-kcetpk2c.js";
5
1
  import {
6
2
  Service82,
7
3
  node86
8
- } from "./ripgrep-4k5pyaj2.js";
4
+ } from "./config-d7syg0tc.js";
5
+ import {
6
+ Service83,
7
+ node87
8
+ } from "./config-hzc9ca78.js";
9
9
  import {
10
10
  create3
11
- } from "./ripgrep-rdw6cm16.js";
11
+ } from "./config-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./ripgrep-9rqn6x4v.js";
14
+ } from "./config-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event5,
21
- ID: () => ID4,
22
- Input: () => Input13,
20
+ Event: () => Event18,
21
+ ID: () => ID12,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service19,
31
+ Service: () => Service72,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node22
33
+ node: () => node76
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event5 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
40
+ import { Event as Event18 } from "@opencode/schema/websearch";
41
+ var ID12 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input13 = WebSearch.Input;
43
+ var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID12, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID12
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID12,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service19 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service72 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service19, Effect.gen(function* () {
69
- const bus = yield* Service80;
70
- const kv = yield* Service82;
68
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
69
+ const bus = yield* Service82;
70
+ const kv = yield* Service83;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service19.of({
127
+ return Service72.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node22 = makeLocationNode({
188
- service: Service19,
187
+ var node76 = makeLocationNode({
188
+ service: Service72,
189
189
  layer,
190
- deps: [node84, node86]
190
+ deps: [node86, node87]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service19, node22, exports_websearch3, Event5 };
193
+ export { ID12, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service72, node76, exports_websearch3, Event18 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./config-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./ripgrep-jw80jp6b.js";
6
+ } from "./config-qj8eh1ht.js";
7
7
  import {
8
- Info16
9
- } from "./ripgrep-h2r7bbkd.js";
10
- import {
11
- Info11
12
- } from "./ripgrep-dj9sq318.js";
8
+ Info14
9
+ } from "./config-k0gdq8ga.js";
13
10
  import {
14
11
  Info12
15
- } from "./ripgrep-v5dkyp31.js";
12
+ } from "./config-t0fxg8b9.js";
16
13
  import {
17
- Info13
18
- } from "./ripgrep-0f9afca0.js";
14
+ Info16
15
+ } from "./config-b27vhd2z.js";
16
+ import {
17
+ Info20
18
+ } from "./config-ead3g9p8.js";
19
19
  import {
20
20
  Spec2
21
- } from "./ripgrep-7dqw4kz8.js";
21
+ } from "./config-7dqw4kz8.js";
22
22
  import {
23
- Info10
24
- } from "./ripgrep-bgxcxs0p.js";
23
+ Info17
24
+ } from "./config-510m7gjw.js";
25
25
  import {
26
- Info9
27
- } from "./ripgrep-v9htzwy6.js";
26
+ Info11
27
+ } from "./config-p27bdzt8.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./ripgrep-szsbf3na.js";
36
+ } from "./config-jq6r9rxs.js";
37
37
  import {
38
38
  __export
39
- } from "./ripgrep-9rqn6x4v.js";
39
+ } from "./config-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info11.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info11, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info12, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info13, value, path, diagnostics);
228
+ const server = decodeValue(Info20, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info10, raw, path, diagnostics);
424
+ const provider = decodeValue(Info17, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info12
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info12 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info12, exports_command5 };
21
+ export { Info16, exports_command5 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./ripgrep-2a5m3afh.js";
5
+ } from "./config-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./ripgrep-9rqn6x4v.js";
8
+ } from "./config-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};