@opencode/core 2.0.19 → 2.0.21

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 (809) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{ripgrep-jkka0c6f.js → job-00x4qneg.js} +8 -8
  8. package/dist/chunks/{ripgrep-bf0ztrs3.js → job-00z3vp5f.js} +4 -4
  9. package/dist/chunks/{ripgrep-pyrtyedv.js → job-0cmgxwc3.js} +11 -11
  10. package/dist/chunks/{ripgrep-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{ripgrep-f960svv2.js → job-0ptd10ac.js} +11 -11
  12. package/dist/chunks/{ripgrep-w3jg838k.js → job-0tmgye68.js} +9 -9
  13. package/dist/chunks/{ripgrep-ybn4q7y2.js → job-0wjxfcep.js} +19 -19
  14. package/dist/chunks/{ripgrep-1dazxqgg.js → job-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{ripgrep-4przf6dn.js → job-1ddmwb72.js} +14 -14
  16. package/dist/chunks/{ripgrep-560t4d1v.js → job-1mdp675b.js} +20 -7
  17. package/dist/chunks/{ripgrep-jws6fkes.js → job-1p07q0wb.js} +6 -6
  18. package/dist/chunks/{ripgrep-21r38tys.js → job-21r38tys.js} +1 -1
  19. package/dist/chunks/{ripgrep-y7x7h62n.js → job-21zzzqpe.js} +16 -16
  20. package/dist/chunks/{ripgrep-6v71ddka.js → job-230c54mq.js} +20 -20
  21. package/dist/chunks/{ripgrep-0gaj4617.js → job-23pqda6t.js} +6 -6
  22. package/dist/chunks/{ripgrep-7962e3yf.js → job-24ncmqw9.js} +18 -18
  23. package/dist/chunks/{ripgrep-nrzkffvv.js → job-27msewjz.js} +14 -14
  24. package/dist/chunks/{ripgrep-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{ripgrep-2vjymgz4.js → job-2b6sywcb.js} +11 -11
  26. package/dist/chunks/{ripgrep-pa2d04qg.js → job-2dre8qhb.js} +4 -4
  27. package/dist/chunks/{ripgrep-d6gxwvxg.js → job-2erysbps.js} +7 -7
  28. package/dist/chunks/{ripgrep-y18nyng0.js → job-2h8w1cfj.js} +29 -29
  29. package/dist/chunks/{ripgrep-98cnr0ek.js → job-2jb1f61f.js} +9 -9
  30. package/dist/chunks/{ripgrep-nyqx1cb3.js → job-2p623br6.js} +5 -5
  31. package/dist/chunks/{ripgrep-qsjn5gcs.js → job-2sf5vtpp.js} +11 -11
  32. package/dist/chunks/{ripgrep-f8ys8j9y.js → job-2sv4arh8.js} +13 -13
  33. package/dist/chunks/{ripgrep-9eq5kwq7.js → job-2w5dyyz8.js} +5 -5
  34. package/dist/chunks/{ripgrep-mtndfwk2.js → job-2ydcz6pr.js} +17 -17
  35. package/dist/chunks/{ripgrep-hcxgq10m.js → job-2zhq2a85.js} +48 -48
  36. package/dist/chunks/{ripgrep-54nwp9r7.js → job-2zp87bs7.js} +26 -26
  37. package/dist/chunks/{ripgrep-1gq8q7z3.js → job-321mahy6.js} +28 -28
  38. package/dist/chunks/{ripgrep-wws8y0j5.js → job-35hkzk16.js} +7 -7
  39. package/dist/chunks/{ripgrep-wnbq8dq2.js → job-372g89p4.js} +142 -34
  40. package/dist/chunks/{ripgrep-pjedbq3k.js → job-3e147rt9.js} +9 -9
  41. package/dist/chunks/{ripgrep-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{ripgrep-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{ripgrep-9dt30ddd.js → job-3mft5zsr.js} +21 -21
  44. package/dist/chunks/{ripgrep-90x597dq.js → job-3r704csb.js} +1 -1
  45. package/dist/chunks/{ripgrep-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{ripgrep-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  47. package/dist/chunks/job-3v8rp85y.js +252 -0
  48. package/dist/chunks/{ripgrep-xyv2nnj9.js → job-3vy408b5.js} +22 -22
  49. package/dist/chunks/{ripgrep-v6f2zkdc.js → job-3wtv6kz3.js} +32 -32
  50. package/dist/chunks/{ripgrep-3zsf4n22.js → job-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{ripgrep-ysddpjww.js → job-48c763ft.js} +6 -6
  52. package/dist/chunks/{ripgrep-nqp5g4n1.js → job-4dyf21mr.js} +17 -17
  53. package/dist/chunks/{ripgrep-cvmm0xs5.js → job-4h23kj6w.js} +10 -10
  54. package/dist/chunks/{ripgrep-1ap17en5.js → job-4tn3p6ay.js} +33 -33
  55. package/dist/chunks/{ripgrep-54ma36ye.js → job-54ma36ye.js} +1 -1
  56. package/dist/chunks/{ripgrep-qqeeq2t9.js → job-57b9ws8p.js} +4 -4
  57. package/dist/chunks/{ripgrep-57ez7d0k.js → job-57ez7d0k.js} +2 -2
  58. package/dist/chunks/{ripgrep-h204n497.js → job-5aa0r02j.js} +6 -6
  59. package/dist/chunks/{ripgrep-1qny0ng8.js → job-5cmqbqwp.js} +16 -16
  60. package/dist/chunks/{ripgrep-w52wajpr.js → job-5cmxdwv8.js} +3 -3
  61. package/dist/chunks/{ripgrep-5daktx2q.js → job-5daktx2q.js} +1 -1
  62. package/dist/chunks/{ripgrep-ygfh7z4x.js → job-5k4xw9x6.js} +24 -24
  63. package/dist/chunks/{ripgrep-39z47dss.js → job-5nnetc6k.js} +11 -11
  64. package/dist/chunks/{ripgrep-e3qxr5gk.js → job-5qd3pb7m.js} +2 -2
  65. package/dist/chunks/{ripgrep-fses9meq.js → job-5svcwqmc.js} +24 -24
  66. package/dist/chunks/{ripgrep-5t3nmthw.js → job-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{ripgrep-669tq793.js → job-669tq793.js} +1 -1
  68. package/dist/chunks/{ripgrep-f5fzvqmp.js → job-6j9mr40r.js} +16 -16
  69. package/dist/chunks/{ripgrep-6msgmcgs.js → job-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{ripgrep-e5v6sjzq.js → job-73n25p0e.js} +10 -10
  71. package/dist/chunks/{ripgrep-73tb2d7t.js → job-73tb2d7t.js} +1 -1
  72. package/dist/chunks/{ripgrep-v0rxv5z8.js → job-79dvcba4.js} +86 -86
  73. package/dist/chunks/{ripgrep-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{ripgrep-3crkzcp9.js → job-7f5ge08c.js} +43 -43
  75. package/dist/chunks/{ripgrep-rpwtn2yk.js → job-7h2raa0m.js} +18 -18
  76. package/dist/chunks/{ripgrep-rwk8kepb.js → job-7hxgqze9.js} +33 -31
  77. package/dist/chunks/{ripgrep-1cwrqxta.js → job-7mx9kf16.js} +11 -11
  78. package/dist/chunks/{ripgrep-7zx59yv5.js → job-7t9gt51b.js} +13 -13
  79. package/dist/chunks/{ripgrep-ervy3t4x.js → job-7z3v8smk.js} +7 -7
  80. package/dist/chunks/{ripgrep-cew5j6w6.js → job-80nn28cp.js} +11 -11
  81. package/dist/chunks/{ripgrep-tfzngn12.js → job-80scg3y3.js} +4 -4
  82. package/dist/chunks/{ripgrep-bjj0bk6b.js → job-81z9xrjy.js} +19 -19
  83. package/dist/chunks/{ripgrep-84txncab.js → job-84txncab.js} +1 -1
  84. package/dist/chunks/{ripgrep-dym78pc8.js → job-8d0p2m37.js} +6 -6
  85. package/dist/chunks/{ripgrep-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{ripgrep-vm695x1h.js → job-8db6vkjt.js} +23 -23
  87. package/dist/chunks/job-8dbeyrdc.js +26 -0
  88. package/dist/chunks/{ripgrep-50epje6z.js → job-8j5tm5td.js} +36 -36
  89. package/dist/chunks/{ripgrep-zb4s847t.js → job-8k2kc9ag.js} +7 -7
  90. package/dist/chunks/{ripgrep-eybctzj2.js → job-8pwpezbf.js} +26 -26
  91. package/dist/chunks/{ripgrep-gfvb90ym.js → job-94ek1h2f.js} +2 -2
  92. package/dist/chunks/{ripgrep-36zg1nxf.js → job-94m5kbhr.js} +9 -9
  93. package/dist/chunks/{ripgrep-bvbkwbsh.js → job-95f1p06x.js} +20 -20
  94. package/dist/chunks/{ripgrep-r7xja54h.js → job-97h51v5t.js} +11 -11
  95. package/dist/chunks/{ripgrep-ef8r30dj.js → job-9gspbefy.js} +28 -28
  96. package/dist/chunks/{ripgrep-966px1fx.js → job-9wcym3xz.js} +11 -11
  97. package/dist/chunks/{ripgrep-meaywfr2.js → job-a4k5rsdw.js} +25 -25
  98. package/dist/chunks/{ripgrep-9q5cvpmr.js → job-a7yhm3z2.js} +25 -25
  99. package/dist/chunks/{ripgrep-g5pjqc12.js → job-a98nbm3g.js} +16 -16
  100. package/dist/chunks/{ripgrep-aaet6srn.js → job-aaet6srn.js} +2 -2
  101. package/dist/chunks/{ripgrep-p8xjr5qr.js → job-ab1ys2yh.js} +17 -17
  102. package/dist/chunks/{ripgrep-y01t92x8.js → job-amzxah2v.js} +47 -47
  103. package/dist/chunks/{ripgrep-dkmyvpj5.js → job-anp1t542.js} +26 -26
  104. package/dist/chunks/{ripgrep-a1fqa279.js → job-awtsf2hr.js} +6 -6
  105. package/dist/chunks/{ripgrep-v121z1z6.js → job-b4st347k.js} +3 -3
  106. package/dist/chunks/{ripgrep-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{ripgrep-r4tkwkgd.js → job-b9fqpfm8.js} +3 -3
  108. package/dist/chunks/{ripgrep-717rh1cx.js → job-bcf9qfhy.js} +11 -11
  109. package/dist/chunks/{ripgrep-3xwj4cta.js → job-bd4hr4wh.js} +33 -33
  110. package/dist/chunks/{ripgrep-7rkndmtb.js → job-bg585zsx.js} +12 -12
  111. package/dist/chunks/{ripgrep-ngmgdt3b.js → job-bnc1xqpd.js} +17 -17
  112. package/dist/chunks/{ripgrep-mgq5nv3e.js → job-brsymgq7.js} +8 -8
  113. package/dist/chunks/{ripgrep-7rhad128.js → job-bx0gng0c.js} +18 -18
  114. package/dist/chunks/{ripgrep-mmq917w3.js → job-bxfy3ep7.js} +11 -11
  115. package/dist/chunks/{ripgrep-w8qr023e.js → job-bxzpjmy4.js} +20 -20
  116. package/dist/chunks/{ripgrep-n8c1xpsf.js → job-bype3acy.js} +38 -38
  117. package/dist/chunks/{ripgrep-vpq7wwjy.js → job-bz7b5t1b.js} +25 -6
  118. package/dist/chunks/{ripgrep-ztychdw2.js → job-c1vmsse5.js} +18 -18
  119. package/dist/chunks/{ripgrep-asw9yjte.js → job-c248vghb.js} +18 -18
  120. package/dist/chunks/{ripgrep-jtj8yee2.js → job-c3c0cf95.js} +93 -93
  121. package/dist/chunks/{ripgrep-bqypnsdg.js → job-c9x0wrsc.js} +19 -19
  122. package/dist/chunks/{ripgrep-kv68fk3j.js → job-cezb84g9.js} +180 -175
  123. package/dist/chunks/{ripgrep-54tcyq79.js → job-ckecvw8r.js} +2 -2
  124. package/dist/chunks/{ripgrep-1ajx6rf5.js → job-czfptnv9.js} +8 -8
  125. package/dist/chunks/{ripgrep-ws4630vh.js → job-d1a9hefb.js} +9 -9
  126. package/dist/chunks/{ripgrep-bj8n3aze.js → job-d7semmcg.js} +27 -27
  127. package/dist/chunks/{ripgrep-vpdv8epx.js → job-dah7mteb.js} +22 -22
  128. package/dist/chunks/{ripgrep-jceb99ws.js → job-deaeaxqh.js} +13 -13
  129. package/dist/chunks/{ripgrep-513gj428.js → job-dncx4ycs.js} +5 -5
  130. package/dist/chunks/{ripgrep-gpj7vvxj.js → job-dq0v80fr.js} +8 -8
  131. package/dist/chunks/{ripgrep-rd8q201w.js → job-dr2s0fjn.js} +12 -12
  132. package/dist/chunks/{ripgrep-02cm5gdc.js → job-dx8qg5g2.js} +8 -8
  133. package/dist/chunks/{ripgrep-t6zs6zyr.js → job-dydyxn0c.js} +8 -8
  134. package/dist/chunks/{ripgrep-3ny1h4te.js → job-dymtghw6.js} +15 -15
  135. package/dist/chunks/{ripgrep-nt8bmh2c.js → job-dyndan9x.js} +7 -7
  136. package/dist/chunks/{ripgrep-f1mz2x80.js → job-e7e40j07.js} +21 -21
  137. package/dist/chunks/{ripgrep-ecfe7b91.js → job-ecfe7b91.js} +2 -2
  138. package/dist/chunks/{ripgrep-vktw4pze.js → job-ed8ee58a.js} +4 -4
  139. package/dist/chunks/{ripgrep-ef5x83kb.js → job-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{ripgrep-q68zcp6s.js → job-egadbg92.js} +13 -13
  141. package/dist/chunks/{ripgrep-kasa1exf.js → job-eqrfnj34.js} +19 -19
  142. package/dist/chunks/{ripgrep-etq0c3wd.js → job-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{ripgrep-gn9knv9y.js → job-f09mb087.js} +40 -40
  144. package/dist/chunks/{ripgrep-5dkn69vz.js → job-f29mbr7f.js} +4 -4
  145. package/dist/chunks/{ripgrep-8v662a6s.js → job-f50vaec3.js} +25 -25
  146. package/dist/chunks/{ripgrep-7dqw4kz8.js → job-fcrkznn8.js} +5 -5
  147. package/dist/chunks/{ripgrep-sr8ycrw9.js → job-fmzghwgw.js} +13 -13
  148. package/dist/chunks/{ripgrep-sg3rx6b8.js → job-fnsgkk5v.js} +24 -24
  149. package/dist/chunks/{ripgrep-87ppwq26.js → job-frdvpnjn.js} +7 -7
  150. package/dist/chunks/{ripgrep-0tkrsm5y.js → job-g0tt42na.js} +13 -11
  151. package/dist/chunks/{ripgrep-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{ripgrep-sdgam4xr.js → job-gd8pphrc.js} +1 -1
  153. package/dist/chunks/{ripgrep-smcq1pfk.js → job-gfctbcth.js} +10 -10
  154. package/dist/chunks/{ripgrep-fa7h6qtp.js → job-ggxahnyx.js} +8 -8
  155. package/dist/chunks/{ripgrep-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{ripgrep-35qaqz32.js → job-gva2p7bf.js} +28 -28
  157. package/dist/chunks/{ripgrep-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{ripgrep-z8fqh70m.js → job-h6zqkqnm.js} +26 -26
  159. package/dist/chunks/{ripgrep-dhtd5fdm.js → job-hjrhn7sa.js} +17 -17
  160. package/dist/chunks/{ripgrep-eszpxc5c.js → job-hk6cjtaz.js} +5 -5
  161. package/dist/chunks/{ripgrep-tgh33bte.js → job-hp7jr1jp.js} +9 -9
  162. package/dist/chunks/{ripgrep-se19vg8t.js → job-hpg6w38n.js} +37 -33
  163. package/dist/chunks/job-ht5y0zrb.js +18 -0
  164. package/dist/chunks/{ripgrep-y38ja4bc.js → job-htjw9qza.js} +6 -6
  165. package/dist/chunks/{ripgrep-gr9s2h9h.js → job-hy1na680.js} +11 -11
  166. package/dist/chunks/{ripgrep-p05254f8.js → job-j543e7zy.js} +11 -11
  167. package/dist/chunks/{ripgrep-j56e64zr.js → job-j56e64zr.js} +1 -1
  168. package/dist/chunks/{ripgrep-prwn914c.js → job-jeerxax2.js} +18 -18
  169. package/dist/chunks/{ripgrep-wpj1vscs.js → job-jk9p3pr1.js} +16 -16
  170. package/dist/chunks/{ripgrep-p39gsrf5.js → job-jmvgh3qv.js} +43 -43
  171. package/dist/chunks/{ripgrep-z3k649yd.js → job-jv8zx4t6.js} +316 -316
  172. package/dist/chunks/{ripgrep-kxhj4mfa.js → job-jy3q8cv1.js} +11 -11
  173. package/dist/chunks/{ripgrep-gfwqm0th.js → job-jzxd5mvh.js} +29 -29
  174. package/dist/chunks/{ripgrep-vcctfkdr.js → job-k9rsy0a9.js} +15 -15
  175. package/dist/chunks/{ripgrep-9gz1cjgc.js → job-kfcwqfca.js} +57 -57
  176. package/dist/chunks/{ripgrep-jjyafwrj.js → job-kftb8sdn.js} +13 -13
  177. package/dist/chunks/{ripgrep-qfhyjwmh.js → job-kgchvb5g.js} +4 -4
  178. package/dist/chunks/{ripgrep-s3ndjw50.js → job-kmyvrf53.js} +8 -8
  179. package/dist/chunks/{ripgrep-h71w788e.js → job-kp8q1t60.js} +8 -8
  180. package/dist/chunks/{ripgrep-wrw0pdsr.js → job-krfw28kg.js} +30 -30
  181. package/dist/chunks/{ripgrep-gfm6y7px.js → job-m0p8cpk7.js} +75 -75
  182. package/dist/chunks/{ripgrep-m3fdjcah.js → job-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{ripgrep-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{ripgrep-tnwzh9w1.js → job-ma9c1wd2.js} +16 -16
  185. package/dist/chunks/{ripgrep-mfqp6xfm.js → job-mfqp6xfm.js} +2 -2
  186. package/dist/chunks/{ripgrep-ec07y9k9.js → job-mjphe00w.js} +27 -27
  187. package/dist/chunks/{ripgrep-kk00bynn.js → job-mjymc32g.js} +21 -21
  188. package/dist/chunks/{ripgrep-y5y40sn1.js → job-mn6n0y1n.js} +18 -18
  189. package/dist/chunks/{ripgrep-4dgbcxzg.js → job-mpk0rfs5.js} +6 -4
  190. package/dist/chunks/{ripgrep-amncynrr.js → job-msknqe7y.js} +6 -6
  191. package/dist/chunks/{ripgrep-784hb5j4.js → job-mvksx64m.js} +4 -4
  192. package/dist/chunks/{ripgrep-rvtvfpzy.js → job-my8d63dw.js} +6 -6
  193. package/dist/chunks/{ripgrep-t6jhp5yk.js → job-n4szqbm8.js} +43 -43
  194. package/dist/chunks/{ripgrep-0z0qdp4f.js → job-n7zyc71s.js} +44 -44
  195. package/dist/chunks/{ripgrep-5qt97ybp.js → job-n8v4y01d.js} +26 -26
  196. package/dist/chunks/{ripgrep-ywkfy99j.js → job-nq7qbqzc.js} +9 -9
  197. package/dist/chunks/{ripgrep-engkm2d6.js → job-nrk5vjbf.js} +5 -5
  198. package/dist/chunks/{ripgrep-6ap5qy5h.js → job-ntgtekfh.js} +20 -20
  199. package/dist/chunks/{ripgrep-d2aac7k2.js → job-nxhqveyz.js} +5 -5
  200. package/dist/chunks/{ripgrep-nzks3jc8.js → job-nzks3jc8.js} +3 -3
  201. package/dist/chunks/{ripgrep-chcvj6mx.js → job-p2scykdn.js} +30 -30
  202. package/dist/chunks/{ripgrep-4nzwy074.js → job-pc4b88sv.js} +4 -4
  203. package/dist/chunks/{ripgrep-hpgwsqwz.js → job-pdpyt1kt.js} +9 -9
  204. package/dist/chunks/{ripgrep-hq3kn9m3.js → job-pema4mtg.js} +9 -9
  205. package/dist/chunks/{ripgrep-2djhngnv.js → job-pgw42aqy.js} +8 -8
  206. package/dist/chunks/{ripgrep-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{ripgrep-pknna89w.js → job-pknna89w.js} +1 -1
  208. package/dist/chunks/{ripgrep-vf281y08.js → job-pt0meat3.js} +11 -11
  209. package/dist/chunks/{ripgrep-hrj2emtv.js → job-pxz4gc4z.js} +4 -4
  210. package/dist/chunks/{ripgrep-92b1hf4n.js → job-pyez88hg.js} +33 -33
  211. package/dist/chunks/{ripgrep-0mx2aapc.js → job-pzvyvyg4.js} +12 -12
  212. package/dist/chunks/{ripgrep-zyft68ff.js → job-qje3r2wc.js} +3 -3
  213. package/dist/chunks/{ripgrep-p1nm93x7.js → job-qn4ba14w.js} +5 -5
  214. package/dist/chunks/{ripgrep-r36g8kg2.js → job-qp7xcb4s.js} +15 -15
  215. package/dist/chunks/{ripgrep-qsdy395h.js → job-qsdy395h.js} +1 -1
  216. package/dist/chunks/{ripgrep-54zxgqzr.js → job-qwjmgwmn.js} +8 -8
  217. package/dist/chunks/{ripgrep-f2n192rq.js → job-r8xr0va3.js} +4 -4
  218. package/dist/chunks/{ripgrep-wc7bkbrs.js → job-rb7cysfw.js} +9 -9
  219. package/dist/chunks/{ripgrep-6d4369ev.js → job-rc8j1xt1.js} +5 -5
  220. package/dist/chunks/{ripgrep-rdw6cm16.js → job-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{ripgrep-cwa6csj7.js → job-rey5gbxv.js} +9 -9
  222. package/dist/chunks/{ripgrep-t550f9t1.js → job-rhjbct0v.js} +4 -4
  223. package/dist/chunks/{ripgrep-h5w29vws.js → job-rk1r2hx8.js} +1 -1
  224. package/dist/chunks/{ripgrep-s8vezypb.js → job-rwtjgree.js} +26 -26
  225. package/dist/chunks/{ripgrep-921pky8x.js → job-s2yhstx6.js} +29 -29
  226. package/dist/chunks/{ripgrep-zs8srxkn.js → job-sgsdap7d.js} +22 -22
  227. package/dist/chunks/{ripgrep-1n7xvyes.js → job-srtvgg2d.js} +9 -9
  228. package/dist/chunks/{ripgrep-fm2qvscf.js → job-sxz6gkc3.js} +7 -7
  229. package/dist/chunks/{ripgrep-zv0jyrj3.js → job-t62vap4r.js} +5 -5
  230. package/dist/chunks/{ripgrep-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{ripgrep-18rbsmj0.js → job-tbtg7k2g.js} +42 -34
  232. package/dist/chunks/{ripgrep-tcezcvh9.js → job-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{ripgrep-vyrd71eq.js → job-tdhe5xga.js} +11 -11
  234. package/dist/chunks/{ripgrep-tdstcens.js → job-tdstcens.js} +1 -1
  235. package/dist/chunks/{ripgrep-3cfzdc8e.js → job-tn0aqsam.js} +5 -5
  236. package/dist/chunks/{ripgrep-7d3cxzax.js → job-tq0ersfe.js} +27 -27
  237. package/dist/chunks/{ripgrep-tvtrv512.js → job-tvtrv512.js} +1 -1
  238. package/dist/chunks/{ripgrep-a4pew0st.js → job-txbrvd03.js} +48 -48
  239. package/dist/chunks/{ripgrep-zf7qa2ng.js → job-v54cehp4.js} +55 -55
  240. package/dist/chunks/{ripgrep-cdm0dq9n.js → job-v6gb7zv2.js} +6 -6
  241. package/dist/chunks/{ripgrep-y3fm06sq.js → job-v6jt2rw3.js} +3 -3
  242. package/dist/chunks/{ripgrep-txehjzrx.js → job-vdpw8b0t.js} +20 -20
  243. package/dist/chunks/{ripgrep-jyx4k4a6.js → job-vdqv4tww.js} +11 -11
  244. package/dist/chunks/{ripgrep-veqvce7d.js → job-veqvce7d.js} +1 -1
  245. package/dist/chunks/{ripgrep-fzjz7zmc.js → job-vf68ak62.js} +22 -22
  246. package/dist/chunks/{ripgrep-k0a3z2qz.js → job-vfjhn2wd.js} +4 -4
  247. package/dist/chunks/{ripgrep-d8j7dsnb.js → job-vk5bz9xj.js} +8 -8
  248. package/dist/chunks/{ripgrep-gafqwe43.js → job-vmgq4x8b.js} +2 -2
  249. package/dist/chunks/{ripgrep-qwk9htef.js → job-vmzrcmtw.js} +9 -9
  250. package/dist/chunks/{ripgrep-sf4xqwvj.js → job-vsq07z0a.js} +28 -14
  251. package/dist/chunks/{ripgrep-dxh6ecs0.js → job-vz4zcjem.js} +5 -5
  252. package/dist/chunks/{ripgrep-vzcthcp8.js → job-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{ripgrep-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{ripgrep-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{ripgrep-xgw0etvz.js → job-w4cz4w8n.js} +2 -2
  256. package/dist/chunks/{ripgrep-e6q37ddf.js → job-w6ebfasv.js} +9 -9
  257. package/dist/chunks/{ripgrep-fgmy5dam.js → job-w85vjd23.js} +30 -30
  258. package/dist/chunks/{ripgrep-psazpmmj.js → job-wd3x2cqz.js} +2 -2
  259. package/dist/chunks/{ripgrep-wd87259q.js → job-wd87259q.js} +1 -1
  260. package/dist/chunks/job-wm3q5ckg.js +427 -0
  261. package/dist/chunks/{ripgrep-m3ra8jyf.js → job-wpv4xhp3.js} +13 -13
  262. package/dist/chunks/{ripgrep-pzz9wtjp.js → job-wt6bjq2d.js} +6 -93
  263. package/dist/chunks/{ripgrep-xd3pt1yp.js → job-wtj8vade.js} +3 -3
  264. package/dist/chunks/{ripgrep-k5f615bv.js → job-wtmkasd2.js} +10 -10
  265. package/dist/chunks/{ripgrep-pjerk14q.js → job-wy2r7fzd.js} +38 -38
  266. package/dist/chunks/{ripgrep-6e52v1r2.js → job-wygg9rvv.js} +17 -17
  267. package/dist/chunks/{ripgrep-01g11k9t.js → job-x01dckpp.js} +20 -17
  268. package/dist/chunks/{ripgrep-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{ripgrep-keqxcydf.js → job-x5y9z3y2.js} +45 -26
  270. package/dist/chunks/{ripgrep-1sxym04w.js → job-x7n7fr05.js} +26 -26
  271. package/dist/chunks/{ripgrep-45gjfn9y.js → job-xgdw0hys.js} +8 -8
  272. package/dist/chunks/{ripgrep-xkntkrq7.js → job-xkntkrq7.js} +2 -2
  273. package/dist/chunks/{ripgrep-d3qdrwa5.js → job-xp9nh6c1.js} +39 -39
  274. package/dist/chunks/{ripgrep-8zh4h089.js → job-xvp1j2dc.js} +5 -5
  275. package/dist/chunks/{ripgrep-ncxf1vrd.js → job-y083drbn.js} +5 -5
  276. package/dist/chunks/{ripgrep-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{ripgrep-y71avatq.js → job-y71avatq.js} +1 -1
  278. package/dist/chunks/{ripgrep-jb2d75z1.js → job-ydesmw24.js} +11 -11
  279. package/dist/chunks/{ripgrep-bmw6bt9k.js → job-ykd9stzd.js} +20 -20
  280. package/dist/chunks/{ripgrep-v8kmpyqg.js → job-ynzdndxd.js} +21 -21
  281. package/dist/chunks/{ripgrep-pa6447g9.js → job-ypqa2cd5.js} +24 -24
  282. package/dist/chunks/{ripgrep-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{ripgrep-s4enseaf.js → job-yrznvahk.js} +2 -2
  284. package/dist/chunks/{ripgrep-bjtzbw4r.js → job-z07pqspn.js} +3 -3
  285. package/dist/chunks/{ripgrep-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{ripgrep-29x78va6.js → job-z63w68vq.js} +6 -6
  287. package/dist/chunks/{ripgrep-gjepqxj6.js → job-z8bzfx2e.js} +39 -39
  288. package/dist/chunks/{ripgrep-v9tf4bbz.js → job-zayhf9qs.js} +21 -21
  289. package/dist/chunks/{ripgrep-t2az9yje.js → job-zee1rnkq.js} +4 -4
  290. package/dist/chunks/{ripgrep-zeh9ct20.js → job-zeh9ct20.js} +2 -2
  291. package/dist/chunks/{ripgrep-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{ripgrep-tgqx6wbb.js → job-zr3nw1y0.js} +5 -5
  293. package/dist/chunks/{ripgrep-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +7 -7
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +85 -85
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +125 -125
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +126 -126
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +83 -83
  328. package/dist/database/database.js +72 -72
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -371
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +72 -72
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +228 -228
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +106 -106
  433. package/dist/form.js +80 -80
  434. package/dist/formatter/builtins.js +2 -2
  435. package/dist/formatter.js +89 -89
  436. package/dist/generate.js +105 -105
  437. package/dist/git.js +8 -8
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -362
  462. package/dist/instruction-discovery.js +83 -83
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +5 -3
  466. package/dist/integration.js +85 -84
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +133 -133
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -359
  474. package/dist/location.js +83 -83
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -108
  478. package/dist/mcp/instructions.js +129 -128
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +96 -96
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +115 -115
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +100 -100
  496. package/dist/plugin/command.js +100 -99
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -334
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +104 -0
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +95 -95
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -162
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +354 -353
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +4 -4
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +5 -5
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +226 -226
  563. package/dist/project/schema.js +2 -2
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +82 -82
  566. package/dist/provider.js +95 -95
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +95 -95
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +133 -133
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +223 -223
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +90 -90
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +209 -209
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +157 -157
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +218 -218
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +219 -219
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +107 -107
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +93 -93
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +126 -125
  641. package/dist/tool/plugin/edit.js +118 -118
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +115 -114
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +118 -118
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +216 -216
  651. package/dist/tool/plugin/skill.js +101 -101
  652. package/dist/tool/plugin/subagent.js +220 -220
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +12 -12
  660. package/dist/types/credential.d.ts +6 -1
  661. package/dist/types/form.d.ts +5 -1
  662. package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +0 -2
  663. package/dist/types/integration/connection.d.ts +42 -0
  664. package/dist/types/integration.d.ts +24 -0
  665. package/dist/types/plugin/provider/chatgpt.d.ts +33 -0
  666. package/dist/types/plugin/provider/opencode.d.ts +1 -1
  667. package/dist/types/session/error.d.ts +5 -0
  668. package/dist/types/session/history.d.ts +48 -0
  669. package/dist/types/session/transfer.d.ts +30 -0
  670. package/dist/util/error-summary.js +1 -1
  671. package/dist/util/error.js +1 -1
  672. package/dist/util/git-executable.js +2 -2
  673. package/dist/util/iife.js +1 -1
  674. package/dist/util/lazy.js +1 -1
  675. package/dist/util/slug.js +1 -1
  676. package/dist/util/token.js +1 -1
  677. package/dist/util/which.js +1 -1
  678. package/dist/util/wildcard.js +1 -1
  679. package/dist/v1/config/agent.js +7 -7
  680. package/dist/v1/config/attachment.js +4 -4
  681. package/dist/v1/config/command.js +5 -5
  682. package/dist/v1/config/config.js +16 -16
  683. package/dist/v1/config/error.js +4 -4
  684. package/dist/v1/config/formatter.js +7 -7
  685. package/dist/v1/config/layout.js +1 -1
  686. package/dist/v1/config/lsp.js +5 -5
  687. package/dist/v1/config/mcp.js +4 -4
  688. package/dist/v1/config/migrate.js +92 -92
  689. package/dist/v1/config/permission.js +7 -7
  690. package/dist/v1/config/plugin.js +3 -3
  691. package/dist/v1/config/provider-options.js +1 -1
  692. package/dist/v1/config/provider.js +4 -4
  693. package/dist/v1/config/server.js +2 -2
  694. package/dist/v1/config/skills.js +3 -3
  695. package/dist/v1/permission.js +1 -1
  696. package/dist/variant.js +93 -93
  697. package/dist/vcs/patch.js +1 -1
  698. package/dist/vcs.js +89 -89
  699. package/dist/websearch.js +84 -84
  700. package/dist/wellknown/plugin.js +74 -74
  701. package/dist/wellknown.js +81 -81
  702. package/dist/workspace/driver.js +5 -5
  703. package/dist/workspace/sql.js +1 -1
  704. package/dist/workspace.js +80 -80
  705. package/dist/worktree/directory.js +2 -2
  706. package/dist/worktree/git.js +10 -10
  707. package/dist/worktree/sql.js +5 -5
  708. package/dist/worktree/strategies.js +89 -89
  709. package/dist/worktree.js +96 -96
  710. package/package.json +9 -8
  711. package/dist/chunks/ripgrep-1x11rq2a.js +0 -18
  712. package/dist/chunks/ripgrep-by268fe6.js +0 -252
  713. package/dist/chunks/ripgrep-dneah854.js +0 -26
  714. /package/dist/chunks/{ripgrep-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  715. /package/dist/chunks/{ripgrep-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  716. /package/dist/chunks/{ripgrep-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  717. /package/dist/chunks/{ripgrep-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  718. /package/dist/chunks/{ripgrep-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  719. /package/dist/chunks/{ripgrep-24dcb14g.js → job-24dcb14g.js} +0 -0
  720. /package/dist/chunks/{ripgrep-2710q6r3.js → job-2710q6r3.js} +0 -0
  721. /package/dist/chunks/{ripgrep-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  722. /package/dist/chunks/{ripgrep-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  723. /package/dist/chunks/{ripgrep-34c7v6d4.js → job-34c7v6d4.js} +0 -0
  724. /package/dist/chunks/{ripgrep-359p4xyc.js → job-359p4xyc.js} +0 -0
  725. /package/dist/chunks/{ripgrep-3asan66x.js → job-3asan66x.js} +0 -0
  726. /package/dist/chunks/{ripgrep-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  727. /package/dist/chunks/{ripgrep-3w5fmr99.js → job-3w5fmr99.js} +0 -0
  728. /package/dist/chunks/{ripgrep-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  729. /package/dist/chunks/{ripgrep-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  730. /package/dist/chunks/{ripgrep-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  731. /package/dist/chunks/{ripgrep-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
  732. /package/dist/chunks/{ripgrep-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  733. /package/dist/chunks/{ripgrep-53557ph1.js → job-53557ph1.js} +0 -0
  734. /package/dist/chunks/{ripgrep-550bvhaj.js → job-550bvhaj.js} +0 -0
  735. /package/dist/chunks/{ripgrep-6prwharc.js → job-6prwharc.js} +0 -0
  736. /package/dist/chunks/{ripgrep-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  737. /package/dist/chunks/{ripgrep-7m9af43g.js → job-7m9af43g.js} +0 -0
  738. /package/dist/chunks/{ripgrep-822emrt2.js → job-822emrt2.js} +0 -0
  739. /package/dist/chunks/{ripgrep-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  740. /package/dist/chunks/{ripgrep-8n3pysct.js → job-8n3pysct.js} +0 -0
  741. /package/dist/chunks/{ripgrep-8wj87zfr.js → job-8wj87zfr.js} +0 -0
  742. /package/dist/chunks/{ripgrep-922hggd3.js → job-922hggd3.js} +0 -0
  743. /package/dist/chunks/{ripgrep-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  744. /package/dist/chunks/{ripgrep-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  745. /package/dist/chunks/{ripgrep-a6k6eb26.js → job-a6k6eb26.js} +0 -0
  746. /package/dist/chunks/{ripgrep-af5trqkr.js → job-af5trqkr.js} +0 -0
  747. /package/dist/chunks/{ripgrep-afrmfg78.js → job-afrmfg78.js} +0 -0
  748. /package/dist/chunks/{ripgrep-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  749. /package/dist/chunks/{ripgrep-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  750. /package/dist/chunks/{ripgrep-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  751. /package/dist/chunks/{ripgrep-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  752. /package/dist/chunks/{ripgrep-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  753. /package/dist/chunks/{ripgrep-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  754. /package/dist/chunks/{ripgrep-d9fn303g.js → job-d9fn303g.js} +0 -0
  755. /package/dist/chunks/{ripgrep-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  756. /package/dist/chunks/{ripgrep-dajrwvna.js → job-dajrwvna.js} +0 -0
  757. /package/dist/chunks/{ripgrep-dap0rakb.js → job-dap0rakb.js} +0 -0
  758. /package/dist/chunks/{ripgrep-df08tz66.js → job-df08tz66.js} +0 -0
  759. /package/dist/chunks/{ripgrep-dy18nga0.js → job-dy18nga0.js} +0 -0
  760. /package/dist/chunks/{ripgrep-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  761. /package/dist/chunks/{ripgrep-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  762. /package/dist/chunks/{ripgrep-ec1grn59.js → job-ec1grn59.js} +0 -0
  763. /package/dist/chunks/{ripgrep-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  764. /package/dist/chunks/{ripgrep-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  765. /package/dist/chunks/{ripgrep-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  766. /package/dist/chunks/{ripgrep-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  767. /package/dist/chunks/{ripgrep-faypxj3z.js → job-faypxj3z.js} +0 -0
  768. /package/dist/chunks/{ripgrep-fd410y7t.js → job-fd410y7t.js} +0 -0
  769. /package/dist/chunks/{ripgrep-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  770. /package/dist/chunks/{ripgrep-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  771. /package/dist/chunks/{ripgrep-g86h250q.js → job-g86h250q.js} +0 -0
  772. /package/dist/chunks/{ripgrep-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  773. /package/dist/chunks/{ripgrep-gftt206x.js → job-gftt206x.js} +0 -0
  774. /package/dist/chunks/{ripgrep-hjbc5kem.js → job-hjbc5kem.js} +0 -0
  775. /package/dist/chunks/{ripgrep-hk9envan.js → job-hk9envan.js} +0 -0
  776. /package/dist/chunks/{ripgrep-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  777. /package/dist/chunks/{ripgrep-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  778. /package/dist/chunks/{ripgrep-jjkms2e6.js → job-jjkms2e6.js} +0 -0
  779. /package/dist/chunks/{ripgrep-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  780. /package/dist/chunks/{ripgrep-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  781. /package/dist/chunks/{ripgrep-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  782. /package/dist/chunks/{ripgrep-mp448xyj.js → job-mp448xyj.js} +0 -0
  783. /package/dist/chunks/{ripgrep-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  784. /package/dist/chunks/{ripgrep-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  785. /package/dist/chunks/{ripgrep-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  786. /package/dist/chunks/{ripgrep-njntx4h6.js → job-njntx4h6.js} +0 -0
  787. /package/dist/chunks/{ripgrep-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  788. /package/dist/chunks/{ripgrep-q74kybfr.js → job-q74kybfr.js} +0 -0
  789. /package/dist/chunks/{ripgrep-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  790. /package/dist/chunks/{ripgrep-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  791. /package/dist/chunks/{ripgrep-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  792. /package/dist/chunks/{ripgrep-qg3g05ea.js → job-qg3g05ea.js} +0 -0
  793. /package/dist/chunks/{ripgrep-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  794. /package/dist/chunks/{ripgrep-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  795. /package/dist/chunks/{ripgrep-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  796. /package/dist/chunks/{ripgrep-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  797. /package/dist/chunks/{ripgrep-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  798. /package/dist/chunks/{ripgrep-w803qqfp.js → job-w803qqfp.js} +0 -0
  799. /package/dist/chunks/{ripgrep-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
  800. /package/dist/chunks/{ripgrep-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  801. /package/dist/chunks/{ripgrep-wtztk69x.js → job-wtztk69x.js} +0 -0
  802. /package/dist/chunks/{ripgrep-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  803. /package/dist/chunks/{ripgrep-x61499pn.js → job-x61499pn.js} +0 -0
  804. /package/dist/chunks/{ripgrep-y44na4kk.js → job-y44na4kk.js} +0 -0
  805. /package/dist/chunks/{ripgrep-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  806. /package/dist/chunks/{ripgrep-y8f7s663.js → job-y8f7s663.js} +0 -0
  807. /package/dist/chunks/{ripgrep-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  808. /package/dist/chunks/{ripgrep-ym463w8f.js → job-ym463w8f.js} +0 -0
  809. /package/dist/chunks/{ripgrep-z9919s4g.js → job-z9919s4g.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service71
4
- } from "./ripgrep-fses9meq.js";
3
+ Service73
4
+ } from "./job-5svcwqmc.js";
5
5
  import {
6
- Service66
7
- } from "./ripgrep-gn9knv9y.js";
6
+ Service51
7
+ } from "./job-f09mb087.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service71;
12
+ const providers = yield* Service73;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service66);
14
+ const service = yield* Effect.serviceOption(Service51);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID11
3
- } from "./ripgrep-fses9meq.js";
2
+ ID12
3
+ } from "./job-5svcwqmc.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.integration.transform((editor) => {
20
20
  editor.method.update({
21
- integrationID: ID11.amazonBedrock,
21
+ integrationID: ID12.amazonBedrock,
22
22
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
23
23
  });
24
24
  });
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./ripgrep-2a5m3afh.js";
5
+ } from "./job-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./ripgrep-9rqn6x4v.js";
8
+ } from "./job-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID10
3
- } from "./ripgrep-fzjz7zmc.js";
2
+ ID11
3
+ } from "./job-vf68ak62.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./ripgrep-2vjymgz4.js";
3
+ } from "./job-2b6sywcb.js";
4
4
  import {
5
5
  OAuth3,
6
- Service73
7
- } from "./ripgrep-18rbsmj0.js";
6
+ Service76
7
+ } from "./job-tbtg7k2g.js";
8
8
  import {
9
- ID12,
9
+ ID13,
10
10
  MethodID2
11
- } from "./ripgrep-keqxcydf.js";
11
+ } from "./job-x5y9z3y2.js";
12
12
  import {
13
- ID11,
13
+ ID12,
14
14
  mergeOverlay2
15
- } from "./ripgrep-fses9meq.js";
15
+ } from "./job-5svcwqmc.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID11.make("xai");
27
+ var providerID = ID12.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID12.make("xai"),
47
+ integrationID: ID13.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service73;
73
- yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
72
+ const credentials = yield* Service76;
73
+ yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./ripgrep-2a5m3afh.js";
3
+ } from "./job-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./ripgrep-922hggd3.js";
6
+ } from "./job-922hggd3.js";
7
7
  import {
8
8
  Service80
9
- } from "./ripgrep-87ppwq26.js";
9
+ } from "./job-frdvpnjn.js";
10
10
  import {
11
- Service77
12
- } from "./ripgrep-xyv2nnj9.js";
11
+ Service54
12
+ } from "./job-3vy408b5.js";
13
13
  import {
14
- Service65
15
- } from "./ripgrep-ztychdw2.js";
14
+ Service45
15
+ } from "./job-c1vmsse5.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./ripgrep-ef8r30dj.js";
21
+ } from "./job-9gspbefy.js";
22
22
  import {
23
- Service51
24
- } from "./ripgrep-9gz1cjgc.js";
23
+ Service67
24
+ } from "./job-kfcwqfca.js";
25
25
  import {
26
- Service13
27
- } from "./ripgrep-f5fzvqmp.js";
26
+ Service22
27
+ } from "./job-6j9mr40r.js";
28
28
  import {
29
29
  __export
30
- } from "./ripgrep-9rqn6x4v.js";
30
+ } from "./job-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input7,
37
- Output: () => Output5,
38
- Plugin: () => Plugin43,
39
- name: () => name7,
40
- toModelContent: () => toModelContent4
36
+ Input: () => Input12,
37
+ Output: () => Output8,
38
+ Plugin: () => Plugin49,
39
+ name: () => name12,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name7 = "glob";
46
- var Input7 = Schema.Struct({
45
+ var name12 = "glob";
46
+ var Input12 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input7 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output5 = Schema.Array(Entry2);
59
- var toModelContent4 = (entries, truncated = false) => {
58
+ var Output8 = Schema.Array(Entry2);
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin43 = {
66
+ var Plugin49 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service77;
70
- const ripgrep = yield* Service65;
69
+ const environment = yield* Service54;
70
+ const ripgrep = yield* Service45;
71
71
  const location = yield* Service80;
72
- const access = yield* Service13;
73
- const permission = yield* Service51;
72
+ const access = yield* Service22;
73
+ const permission = yield* Service67;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name7,
75
+ name: name12,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input7,
79
- output: Output5,
78
+ input: Input12,
79
+ output: Output8,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name7,
86
+ action: name12,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin43 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name7, Input7, Output5, toModelContent4, Plugin43, exports_glob };
128
+ export { name12, Input12, Output8, toModelContent6, Plugin49, exports_glob };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service66
3
- } from "./ripgrep-gn9knv9y.js";
2
+ Service51
3
+ } from "./job-f09mb087.js";
4
4
  import {
5
- Service62
6
- } from "./ripgrep-mgq5nv3e.js";
5
+ Service79
6
+ } from "./job-brsymgq7.js";
7
7
  import {
8
8
  match2
9
- } from "./ripgrep-y1fvbwt7.js";
9
+ } from "./job-y1fvbwt7.js";
10
10
  import {
11
11
  observe2
12
- } from "./ripgrep-qsdy395h.js";
12
+ } from "./job-qsdy395h.js";
13
13
  import {
14
14
  __export
15
- } from "./ripgrep-9rqn6x4v.js";
15
+ } from "./job-9rqn6x4v.js";
16
16
 
17
17
  // src/config/plugin/policy.ts
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin4
21
+ Plugin: () => Plugin7
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin4 = define({
25
+ var Plugin7 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service66;
29
- const managed = yield* Service62;
28
+ const config = yield* Service51;
29
+ const managed = yield* Service79;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin4 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin4, exports_policy };
60
+ export { Plugin7, exports_policy };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./ripgrep-922hggd3.js";
5
+ } from "./job-922hggd3.js";
6
6
  import {
7
- Service77,
8
- node79
9
- } from "./ripgrep-xyv2nnj9.js";
7
+ Service54,
8
+ node58
9
+ } from "./job-3vy408b5.js";
10
10
  import {
11
- Content3
12
- } from "./ripgrep-ef8r30dj.js";
11
+ Content2
12
+ } from "./job-9gspbefy.js";
13
13
  import {
14
14
  detect2
15
- } from "./ripgrep-3smtnn6g.js";
15
+ } from "./job-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./ripgrep-9rqn6x4v.js";
18
+ } from "./job-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service10,
36
+ Service: () => Service11,
37
37
  TextPage: () => TextPage2,
38
- node: () => node12,
38
+ node: () => node13,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service10 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service11 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service10, Effect.gen(function* () {
334
- const environment = yield* Service77;
335
- return Service10.of({
333
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
334
+ const environment = yield* Service54;
335
+ return Service11.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node12 = makeLocationNode({ service: Service10, layer, deps: [node79] });
340
+ var node13 = makeLocationNode({ service: Service11, layer, deps: [node58] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service10, read2, node12, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service11, read2, node13, exports_read_filesystem };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service62,
10
- node: () => node64
9
+ Service: () => Service79,
10
+ node: () => node83
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service62 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service79 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service62, () => {
17
+ var layer = Layer.sync(Service79, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service62.of({
19
+ return Service79.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node64 = makeGlobalNode({ service: Service62, layer, deps: [] });
26
+ var node83 = makeGlobalNode({ service: Service79, layer, deps: [] });
27
27
 
28
- export { Service62, node64, exports_managed_policy };
28
+ export { Service79, node83, exports_managed_policy };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./job-922hggd3.js";
4
4
  import {
5
5
  Service82,
6
- node85
7
- } from "./ripgrep-gpj7vvxj.js";
6
+ node86
7
+ } from "./job-dq0v80fr.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./ripgrep-84txncab.js";
13
+ } from "./job-84txncab.js";
14
14
  import {
15
- Service70,
16
- node72
17
- } from "./ripgrep-966px1fx.js";
15
+ Service78,
16
+ node82
17
+ } from "./job-9wcym3xz.js";
18
18
  import {
19
19
  __export
20
- } from "./ripgrep-9rqn6x4v.js";
20
+ } from "./job-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service59,
33
+ Service: () => Service40,
34
34
  isError: () => isError2,
35
- node: () => node61,
35
+ node: () => node44,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service59 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service40 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service59, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service70;
110
- return Service59.of({
109
+ const kv = yield* Service78;
110
+ return Service40.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node61 = makeGlobalNode({
171
- service: Service59,
170
+ var node44 = makeGlobalNode({
171
+ service: Service40,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node72]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node82]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service59, isError2, validateBranch2, node61, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service40, isError2, validateBranch2, node44, exports_repository_cache };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./ripgrep-tazgh4e4.js";
3
+ } from "./job-tazgh4e4.js";
4
4
  import {
5
- ID15,
6
- Service75
7
- } from "./ripgrep-y18nyng0.js";
5
+ ID6,
6
+ Service44
7
+ } from "./job-2h8w1cfj.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./ripgrep-w52wajpr.js";
10
+ } from "./job-5cmxdwv8.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./ripgrep-e6q37ddf.js";
13
+ } from "./job-w6ebfasv.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./ripgrep-bjtzbw4r.js";
16
+ } from "./job-z07pqspn.js";
17
17
  import {
18
18
  __export
19
- } from "./ripgrep-9rqn6x4v.js";
19
+ } from "./job-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service75;
84
+ const snapshot = yield* Service44;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID15.make(from),
91
- to: ID15.make(to),
90
+ from: ID6.make(from),
91
+ to: ID6.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service84
3
- } from "./ripgrep-sf4xqwvj.js";
3
+ } from "./job-vsq07z0a.js";
4
4
  import {
5
5
  Service83
6
- } from "./ripgrep-jyx4k4a6.js";
6
+ } from "./job-vdqv4tww.js";
7
7
  import {
8
- Service35
9
- } from "./ripgrep-cdm0dq9n.js";
8
+ Service63
9
+ } from "./job-v6gb7zv2.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./ripgrep-922hggd3.js";
12
+ } from "./job-922hggd3.js";
13
13
  import {
14
- ID15,
15
- Service75
16
- } from "./ripgrep-y18nyng0.js";
14
+ ID6,
15
+ Service44
16
+ } from "./job-2h8w1cfj.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./ripgrep-ec1grn59.js";
19
+ } from "./job-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./ripgrep-gftt206x.js";
22
+ } from "./job-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./ripgrep-e6q37ddf.js";
25
+ } from "./job-w6ebfasv.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./ripgrep-bjtzbw4r.js";
28
+ } from "./job-z07pqspn.js";
29
29
  import {
30
30
  __export
31
- } from "./ripgrep-9rqn6x4v.js";
31
+ } from "./job-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service35;
45
+ const instances = yield* Service63;
46
46
  const database = yield* Service84;
47
47
  const bus = yield* Service83;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service75;
50
- const original = input.session.revert?.snapshot ? ID15.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service44;
50
+ const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service35;
77
+ const instances = yield* Service63;
78
78
  const bus = yield* Service83;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service75;
80
+ const snapshot = yield* Service44;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID15.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID15.make(message.snapshot.start));
114
+ files.set(file, ID6.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });