@opencode/core 0.0.0-dev-20046 → 0.0.0-dev-20050

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 (798) 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 +69 -69
  7. package/dist/chunks/{generate-2dnsh64v.js → ripgrep-05dza9z3.js} +10 -10
  8. package/dist/chunks/{generate-jgmx1568.js → ripgrep-09j1wten.js} +10 -10
  9. package/dist/chunks/{generate-fng9e0je.js → ripgrep-0b9a3syv.js} +6 -6
  10. package/dist/chunks/{generate-0vs0qezg.js → ripgrep-0c7hyzvt.js} +20 -20
  11. package/dist/chunks/{generate-rjygdas5.js → ripgrep-0eb83wjd.js} +29 -29
  12. package/dist/chunks/{generate-wn1gkswa.js → ripgrep-0f59mhbe.js} +74 -74
  13. package/dist/chunks/ripgrep-0mesazry.js +4 -0
  14. package/dist/chunks/{generate-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{generate-rdecwvm0.js → ripgrep-0pr3hkd7.js} +4 -4
  16. package/dist/chunks/{generate-gjjgb4gb.js → ripgrep-0sgh8d45.js} +6 -6
  17. package/dist/chunks/{generate-fn0a81m4.js → ripgrep-0wwq9p0h.js} +26 -26
  18. package/dist/chunks/{generate-ncgeszke.js → ripgrep-14pzmvty.js} +8 -8
  19. package/dist/chunks/{generate-wccf8jja.js → ripgrep-16h2319r.js} +16 -16
  20. package/dist/chunks/{generate-vnn0hhza.js → ripgrep-1a9bc6ss.js} +13 -13
  21. package/dist/chunks/{generate-f2n192rq.js → ripgrep-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{generate-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{generate-wwxvwabb.js → ripgrep-1dkxveh1.js} +38 -38
  24. package/dist/chunks/{generate-7h4rr5p2.js → ripgrep-1newhgc6.js} +11 -11
  25. package/dist/chunks/{generate-ejh6vr56.js → ripgrep-1wfwk98z.js} +10 -10
  26. package/dist/chunks/{generate-8k4gd91q.js → ripgrep-1wss5ece.js} +8 -8
  27. package/dist/chunks/{generate-21r38tys.js → ripgrep-21r38tys.js} +1 -1
  28. package/dist/chunks/{generate-ygn80rtk.js → ripgrep-237jz2dm.js} +4 -4
  29. package/dist/chunks/{generate-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
  30. package/dist/chunks/{generate-z63w68vq.js → ripgrep-29x78va6.js} +6 -6
  31. package/dist/chunks/{generate-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{generate-pzqw1wav.js → ripgrep-2ab5p2tv.js} +30 -30
  33. package/dist/chunks/{generate-vn6fxsg1.js → ripgrep-2c5sxent.js} +3 -3
  34. package/dist/chunks/{generate-rqvaktkj.js → ripgrep-2fcft0mp.js} +20 -20
  35. package/dist/chunks/{generate-rck92678.js → ripgrep-2mnth441.js} +4 -4
  36. package/dist/chunks/{generate-5kw0n2ma.js → ripgrep-2w5dyyz8.js} +8 -8
  37. package/dist/chunks/{generate-6pqpz9bj.js → ripgrep-2ygzq7an.js} +9 -9
  38. package/dist/chunks/{generate-6tgf83tn.js → ripgrep-31kr05fx.js} +11 -11
  39. package/dist/chunks/{generate-sb7jh7an.js → ripgrep-3eavv4sq.js} +6 -6
  40. package/dist/chunks/{generate-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{generate-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{generate-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{generate-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{generate-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{generate-f4d32cs3.js → ripgrep-4475gzjd.js} +6 -6
  46. package/dist/chunks/{generate-mq5qvf98.js → ripgrep-44wj9dtk.js} +3 -3
  47. package/dist/chunks/{generate-g6zjvvdg.js → ripgrep-45mv0mmk.js} +22 -22
  48. package/dist/chunks/{generate-w2j062zp.js → ripgrep-4dre8h63.js} +48 -48
  49. package/dist/chunks/ripgrep-4v7qdvcn.js +18 -0
  50. package/dist/chunks/{generate-gbawcwdt.js → ripgrep-4xwkvhnj.js} +25 -25
  51. package/dist/chunks/{generate-r3dhan7w.js → ripgrep-4zwdaqgd.js} +43 -43
  52. package/dist/chunks/{generate-bgxcxs0p.js → ripgrep-510m7gjw.js} +5 -5
  53. package/dist/chunks/{generate-x692666y.js → ripgrep-5168mhb0.js} +27 -27
  54. package/dist/chunks/{generate-wkwxx8bs.js → ripgrep-54frbgjx.js} +10 -10
  55. package/dist/chunks/{generate-0jgpzw0r.js → ripgrep-563md3e9.js} +43 -43
  56. package/dist/chunks/{generate-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
  57. package/dist/chunks/{generate-f9rzwe3p.js → ripgrep-59smysxg.js} +64 -64
  58. package/dist/chunks/{generate-zck7feqp.js → ripgrep-5a6df3z5.js} +32 -32
  59. package/dist/chunks/{generate-xde9qd6b.js → ripgrep-5cgbbxx2.js} +25 -25
  60. package/dist/chunks/{generate-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
  61. package/dist/chunks/{generate-5ekn9679.js → ripgrep-5ekn9679.js} +1 -1
  62. package/dist/chunks/{generate-frpc1n2d.js → ripgrep-5h5gn2dz.js} +1 -1
  63. package/dist/chunks/{generate-4dgbcxzg.js → ripgrep-5mtzsd3b.js} +4 -4
  64. package/dist/chunks/{generate-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{generate-tatq26y7.js → ripgrep-5v8ce13p.js} +43 -43
  66. package/dist/chunks/{generate-4yn06qnw.js → ripgrep-6564zykp.js} +31 -31
  67. package/dist/chunks/{generate-669tq793.js → ripgrep-669tq793.js} +1 -1
  68. package/dist/chunks/{generate-1vp5fyhh.js → ripgrep-6870w4kz.js} +13 -13
  69. package/dist/chunks/{generate-wx47vh9f.js → ripgrep-6m34trkv.js} +13 -13
  70. package/dist/chunks/{generate-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{generate-2c5cbb18.js → ripgrep-6nvpmb1g.js} +31 -31
  72. package/dist/chunks/{generate-wcz1zxve.js → ripgrep-6wf2qcdr.js} +11 -11
  73. package/dist/chunks/{generate-1fw2a5v8.js → ripgrep-6xadn18s.js} +15 -15
  74. package/dist/chunks/{generate-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{generate-6j71bdrn.js → ripgrep-7h5xaqf5.js} +4 -4
  76. package/dist/chunks/{generate-h0559xvs.js → ripgrep-7hrpqjht.js} +134 -134
  77. package/dist/chunks/{generate-8qh7a2b7.js → ripgrep-7jbn65n7.js} +21 -21
  78. package/dist/chunks/{generate-cme1evgc.js → ripgrep-7mcn7qf3.js} +22 -22
  79. package/dist/chunks/{generate-3deq2g12.js → ripgrep-7p50jswy.js} +11 -11
  80. package/dist/chunks/{generate-tj32tqzk.js → ripgrep-7xvv7bz4.js} +17 -17
  81. package/dist/chunks/{generate-256ws0gb.js → ripgrep-85bay2vb.js} +11 -11
  82. package/dist/chunks/{generate-qg0cj28n.js → ripgrep-86zvre4w.js} +8 -8
  83. package/dist/chunks/{generate-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
  84. package/dist/chunks/{generate-5sx163nq.js → ripgrep-8bn8hgnq.js} +35 -35
  85. package/dist/chunks/{generate-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{generate-cb4stpxc.js → ripgrep-8nhw5eyq.js} +13 -13
  87. package/dist/chunks/{generate-ahd542yp.js → ripgrep-8s1fj8xg.js} +8 -8
  88. package/dist/chunks/{generate-syfwxnch.js → ripgrep-8sc544a3.js} +9 -9
  89. package/dist/chunks/{generate-14zbncxz.js → ripgrep-8sp14q84.js} +13 -13
  90. package/dist/chunks/{generate-4azfx6s3.js → ripgrep-8v2r9b99.js} +14 -14
  91. package/dist/chunks/{generate-dh18bms1.js → ripgrep-8vh0cnbs.js} +13 -13
  92. package/dist/chunks/{generate-94ek1h2f.js → ripgrep-94ek1h2f.js} +2 -2
  93. package/dist/chunks/{generate-0gmabv41.js → ripgrep-95svjcrc.js} +6 -6
  94. package/dist/chunks/{generate-5jhtbvzg.js → ripgrep-9ayecn4x.js} +26 -26
  95. package/dist/chunks/{generate-d8s47g42.js → ripgrep-9d7sads4.js} +14 -14
  96. package/dist/chunks/{generate-66s037ct.js → ripgrep-9j7e6784.js} +22 -22
  97. package/dist/chunks/{generate-sc4v13qp.js → ripgrep-9q6pqx2w.js} +8 -8
  98. package/dist/chunks/{generate-77bxhrq0.js → ripgrep-a1pqyhn8.js} +7 -7
  99. package/dist/chunks/{generate-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
  100. package/dist/chunks/{generate-sdak5pwx.js → ripgrep-acq9m0ym.js} +1 -1
  101. package/dist/chunks/{generate-cdq5w0ff.js → ripgrep-actssrt8.js} +17 -17
  102. package/dist/chunks/{generate-m92f15w4.js → ripgrep-adtat7gs.js} +11 -11
  103. package/dist/chunks/{generate-h3j9tznw.js → ripgrep-ae0wcwdj.js} +4 -4
  104. package/dist/chunks/{generate-dj9sq318.js → ripgrep-ag9w8cw1.js} +5 -5
  105. package/dist/chunks/{generate-p4s7j977.js → ripgrep-agse1mrh.js} +14 -14
  106. package/dist/chunks/{generate-ahv57w39.js → ripgrep-agvrswhg.js} +25 -25
  107. package/dist/chunks/{generate-6xx656an.js → ripgrep-ah6tdzr8.js} +17 -17
  108. package/dist/chunks/{generate-mpfv79en.js → ripgrep-am9wkded.js} +6 -6
  109. package/dist/chunks/{generate-xyzn9sqz.js → ripgrep-apgpszpz.js} +16 -16
  110. package/dist/chunks/{generate-bpmbxd3k.js → ripgrep-aqga0sge.js} +18 -18
  111. package/dist/chunks/{generate-5frpvc34.js → ripgrep-b09hzw3k.js} +2 -2
  112. package/dist/chunks/{generate-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{generate-efdg34c6.js → ripgrep-b884akk1.js} +33 -33
  114. package/dist/chunks/{generate-yt1wq2wy.js → ripgrep-b8f0afpw.js} +10 -10
  115. package/dist/chunks/{generate-0v53mg2y.js → ripgrep-bct739vz.js} +4 -4
  116. package/dist/chunks/{generate-jnbsce1r.js → ripgrep-ber7bg81.js} +9 -9
  117. package/dist/chunks/{generate-6wjk33h8.js → ripgrep-bf2n6fqr.js} +20 -20
  118. package/dist/chunks/{generate-5yx95y46.js → ripgrep-bfddptag.js} +11 -11
  119. package/dist/chunks/{generate-hs2a3b3x.js → ripgrep-bm72tg9x.js} +9 -9
  120. package/dist/chunks/{generate-rswww9ew.js → ripgrep-bnn53enc.js} +8 -8
  121. package/dist/chunks/{generate-69v350yq.js → ripgrep-bpcytqs1.js} +23 -23
  122. package/dist/chunks/{generate-sfd9g3pf.js → ripgrep-c211bx59.js} +8 -8
  123. package/dist/chunks/{generate-1z0p9d4e.js → ripgrep-c7s3naqd.js} +7 -7
  124. package/dist/chunks/{generate-ngv1k710.js → ripgrep-cckcq9gg.js} +10 -10
  125. package/dist/chunks/{generate-eq8hfn6p.js → ripgrep-cd9xet5t.js} +46 -46
  126. package/dist/chunks/{generate-x42atskx.js → ripgrep-cfxcnq7f.js} +11 -11
  127. package/dist/chunks/{generate-ckecvw8r.js → ripgrep-ckecvw8r.js} +2 -2
  128. package/dist/chunks/{generate-g0445xdp.js → ripgrep-cmwkp3r5.js} +4 -4
  129. package/dist/chunks/{generate-xmq2yw5m.js → ripgrep-cyvnqhyj.js} +17 -17
  130. package/dist/chunks/{generate-kvq4qv8g.js → ripgrep-d0j79zbm.js} +11 -11
  131. package/dist/chunks/{generate-v2v746m1.js → ripgrep-d3srfpjk.js} +20 -20
  132. package/dist/chunks/{generate-gjwgx2c5.js → ripgrep-d4he2qe1.js} +8 -8
  133. package/dist/chunks/{generate-d8zjpaz4.js → ripgrep-d8zjpaz4.js} +1 -1
  134. package/dist/chunks/{generate-g8jasmdt.js → ripgrep-dhwr7h25.js} +11 -11
  135. package/dist/chunks/{generate-cf2276rd.js → ripgrep-dqa86y6d.js} +16 -16
  136. package/dist/chunks/{generate-qqeeq2t9.js → ripgrep-drwq78ky.js} +7 -7
  137. package/dist/chunks/{generate-a2bd23c2.js → ripgrep-e1jn5pvd.js} +4 -4
  138. package/dist/chunks/{generate-5qd3pb7m.js → ripgrep-e3qxr5gk.js} +2 -2
  139. package/dist/chunks/{generate-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{generate-5entzshm.js → ripgrep-ejf2c6et.js} +3 -3
  141. package/dist/chunks/{generate-n76g8031.js → ripgrep-emrjvxqt.js} +11 -11
  142. package/dist/chunks/{generate-ss8mggvm.js → ripgrep-eqhs44f7.js} +9 -9
  143. package/dist/chunks/{generate-408ax8ck.js → ripgrep-ers8xvjx.js} +15 -15
  144. package/dist/chunks/{generate-erw5rpbs.js → ripgrep-erw5rpbs.js} +2 -2
  145. package/dist/chunks/{generate-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{generate-ka9pqc7f.js → ripgrep-f2s5w1yc.js} +24 -24
  147. package/dist/chunks/{generate-kmhmhkps.js → ripgrep-f9tp083j.js} +18 -18
  148. package/dist/chunks/{generate-vktwk5kv.js → ripgrep-faj2svbs.js} +9 -9
  149. package/dist/chunks/{generate-wb0t2qn7.js → ripgrep-fb1j3qsp.js} +7 -7
  150. package/dist/chunks/{generate-n7kq1k7k.js → ripgrep-fbkyw6cz.js} +9 -9
  151. package/dist/chunks/{generate-mm1zeq39.js → ripgrep-fbms8ej5.js} +27 -27
  152. package/dist/chunks/{generate-4myghj1q.js → ripgrep-fh3sfp11.js} +32 -32
  153. package/dist/chunks/{generate-g1rz1ngr.js → ripgrep-fn2248ay.js} +6 -6
  154. package/dist/chunks/{generate-s0hza5ac.js → ripgrep-fyymr9xg.js} +4 -4
  155. package/dist/chunks/{generate-a8a3mdwp.js → ripgrep-gchntx1p.js} +37 -37
  156. package/dist/chunks/{generate-s8nzptyh.js → ripgrep-gd2jr9d1.js} +50 -50
  157. package/dist/chunks/{generate-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{generate-941wpd15.js → ripgrep-gfhqj7dq.js} +11 -11
  159. package/dist/chunks/{generate-ytrvastn.js → ripgrep-ggw7ge79.js} +16 -16
  160. package/dist/chunks/{generate-h47ph6jp.js → ripgrep-gpjvt01r.js} +21 -21
  161. package/dist/chunks/{generate-dvqatnet.js → ripgrep-gqp6qxk9.js} +22 -22
  162. package/dist/chunks/{generate-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{generate-3e147rt9.js → ripgrep-gzbkpp9m.js} +9 -9
  164. package/dist/chunks/{generate-98vappwb.js → ripgrep-h2grecd6.js} +14 -14
  165. package/dist/chunks/{generate-zwh520xa.js → ripgrep-h35mffgv.js} +16 -16
  166. package/dist/chunks/{generate-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{generate-6hjx5zpb.js → ripgrep-h71w788e.js} +9 -9
  168. package/dist/chunks/{generate-prrcw8js.js → ripgrep-h90yrjs5.js} +24 -24
  169. package/dist/chunks/{generate-1440p5c0.js → ripgrep-hcgjh0hf.js} +17 -17
  170. package/dist/chunks/{generate-1jcy8x34.js → ripgrep-hpj7es9f.js} +14 -14
  171. package/dist/chunks/ripgrep-hz7paq91.js +252 -0
  172. package/dist/chunks/{generate-45g4t3ag.js → ripgrep-j0h9pff0.js} +13 -13
  173. package/dist/chunks/{generate-tvnr69ec.js → ripgrep-j4zepqap.js} +10 -10
  174. package/dist/chunks/{generate-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
  175. package/dist/chunks/{generate-09ckt0s3.js → ripgrep-jakqjnps.js} +10 -10
  176. package/dist/chunks/{generate-3ty5qgfs.js → ripgrep-jd4wkpr4.js} +8 -8
  177. package/dist/chunks/{generate-vahype7v.js → ripgrep-jn08bmc5.js} +13 -13
  178. package/dist/chunks/{generate-ttg3xw16.js → ripgrep-k1jh2k0y.js} +12 -12
  179. package/dist/chunks/{generate-jsq0aznb.js → ripgrep-k2eanbb6.js} +1 -1
  180. package/dist/chunks/{generate-nzks3jc8.js → ripgrep-k3c624dm.js} +3 -3
  181. package/dist/chunks/{generate-22j9h8xd.js → ripgrep-k3fn0r21.js} +12 -12
  182. package/dist/chunks/{generate-6yxkg8a7.js → ripgrep-k9rdbn52.js} +9 -9
  183. package/dist/chunks/{generate-sz1n82y1.js → ripgrep-kb9hzx7k.js} +27 -27
  184. package/dist/chunks/{generate-mmr7bq34.js → ripgrep-knb7evpn.js} +8 -8
  185. package/dist/chunks/{generate-ff9zj3nc.js → ripgrep-ksk9sffd.js} +10 -10
  186. package/dist/chunks/{generate-rapp18dr.js → ripgrep-kzt398fn.js} +29 -29
  187. package/dist/chunks/{generate-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
  188. package/dist/chunks/{generate-53md4s8b.js → ripgrep-m549exyf.js} +12 -12
  189. package/dist/chunks/{generate-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{generate-a6ewaavh.js → ripgrep-m9y9g4ac.js} +11 -11
  191. package/dist/chunks/{generate-6cyzz8ke.js → ripgrep-mfd42sw3.js} +85 -85
  192. package/dist/chunks/{generate-33w4ejhs.js → ripgrep-mfqp6xfm.js} +9 -9
  193. package/dist/chunks/{generate-1bbkgx8g.js → ripgrep-mhkvc446.js} +3 -3
  194. package/dist/chunks/{generate-kx1a24hw.js → ripgrep-mhtr458h.js} +37 -37
  195. package/dist/chunks/{generate-k212m9dd.js → ripgrep-mryf79qs.js} +6 -6
  196. package/dist/chunks/{generate-kgm00e3h.js → ripgrep-mt83epq0.js} +19 -19
  197. package/dist/chunks/{generate-mvksx64m.js → ripgrep-mvksx64m.js} +4 -4
  198. package/dist/chunks/{generate-k5tz7j8z.js → ripgrep-nn6way1v.js} +5 -5
  199. package/dist/chunks/{generate-bb308dz8.js → ripgrep-nta5d6qs.js} +22 -22
  200. package/dist/chunks/{generate-snk33gt5.js → ripgrep-p5m10399.js} +25 -25
  201. package/dist/chunks/{generate-v0hhcyk6.js → ripgrep-pcmkyeay.js} +3 -3
  202. package/dist/chunks/{generate-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{generate-pknna89w.js → ripgrep-pknna89w.js} +1 -1
  204. package/dist/chunks/{generate-sb5t4k0s.js → ripgrep-pnf9bbby.js} +16 -16
  205. package/dist/chunks/{generate-7tgakezr.js → ripgrep-pnqe9gv0.js} +1 -1
  206. package/dist/chunks/{generate-24dd53tp.js → ripgrep-pnv527nz.js} +9 -9
  207. package/dist/chunks/{generate-3n9xame2.js → ripgrep-psdrcdc3.js} +30 -30
  208. package/dist/chunks/{generate-d758tqe8.js → ripgrep-q04jv8av.js} +26 -26
  209. package/dist/chunks/ripgrep-q54075k1.js +26 -0
  210. package/dist/chunks/{generate-fqb2p7cx.js → ripgrep-qa3qhgw8.js} +4 -4
  211. package/dist/chunks/{generate-3a83a0n4.js → ripgrep-qby9dwvd.js} +8 -8
  212. package/dist/chunks/{generate-8nhvtgvt.js → ripgrep-qdpn6yaw.js} +8 -8
  213. package/dist/chunks/{generate-fdrt4ptc.js → ripgrep-qgecjrfz.js} +11 -11
  214. package/dist/chunks/{generate-qgn6gcr1.js → ripgrep-qgn6gcr1.js} +1 -1
  215. package/dist/chunks/{generate-213r17mq.js → ripgrep-qqgkaj4y.js} +2 -2
  216. package/dist/chunks/{generate-5yddbbw3.js → ripgrep-qqvywntg.js} +12 -12
  217. package/dist/chunks/{generate-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
  218. package/dist/chunks/{generate-0mm9aq32.js → ripgrep-qz02d4gv.js} +13 -13
  219. package/dist/chunks/{generate-kb5y04bq.js → ripgrep-r10vypme.js} +3 -3
  220. package/dist/chunks/{generate-a1zemhs9.js → ripgrep-r3j6szw2.js} +10 -10
  221. package/dist/chunks/{generate-fxy9k04v.js → ripgrep-r4ehhsv8.js} +17 -17
  222. package/dist/chunks/{generate-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{generate-0bt81q2b.js → ripgrep-rfan2r90.js} +2 -2
  224. package/dist/chunks/{generate-rhjbct0v.js → ripgrep-rhjbct0v.js} +1 -1
  225. package/dist/chunks/{generate-arndb05z.js → ripgrep-rsc9fyh1.js} +6 -6
  226. package/dist/chunks/{generate-etvcck5n.js → ripgrep-rxw4b0p8.js} +2 -2
  227. package/dist/chunks/{generate-yrznvahk.js → ripgrep-s4enseaf.js} +2 -2
  228. package/dist/chunks/{generate-fp9f8xxs.js → ripgrep-seb716sx.js} +11 -11
  229. package/dist/chunks/{generate-jyrj3vqh.js → ripgrep-sfq6dn5s.js} +17 -17
  230. package/dist/chunks/{generate-65rvndkz.js → ripgrep-sge84xqd.js} +26 -26
  231. package/dist/chunks/{generate-x8v30ny9.js → ripgrep-sgzpp7nr.js} +3 -3
  232. package/dist/chunks/{generate-4z39dsvf.js → ripgrep-sq2j235b.js} +37 -37
  233. package/dist/chunks/{generate-p44d8wdy.js → ripgrep-sra9araw.js} +5 -5
  234. package/dist/chunks/{generate-fq3yhk7e.js → ripgrep-t590yz96.js} +11 -11
  235. package/dist/chunks/{generate-v14dkeae.js → ripgrep-t8ger676.js} +3 -3
  236. package/dist/chunks/{generate-jp8hq39h.js → ripgrep-ta58qp5f.js} +1 -1
  237. package/dist/chunks/{generate-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{generate-ngd2431n.js → ripgrep-tc0ehr23.js} +35 -35
  239. package/dist/chunks/{generate-marx3rdf.js → ripgrep-tcx6fb2d.js} +16 -16
  240. package/dist/chunks/{generate-tdstcens.js → ripgrep-tdstcens.js} +1 -1
  241. package/dist/chunks/{generate-80scg3y3.js → ripgrep-tfzngn12.js} +4 -4
  242. package/dist/chunks/{generate-t6rzr7x0.js → ripgrep-tnc4b65w.js} +26 -26
  243. package/dist/chunks/{generate-a5vv3ypq.js → ripgrep-tsbagf10.js} +25 -25
  244. package/dist/chunks/{generate-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
  245. package/dist/chunks/{generate-xjnt3mz7.js → ripgrep-tz7p6r84.js} +2 -2
  246. package/dist/chunks/{generate-hfnn7kny.js → ripgrep-tzqmq8qk.js} +23 -23
  247. package/dist/chunks/{generate-d1mtykxg.js → ripgrep-ve6nm2s5.js} +6 -6
  248. package/dist/chunks/{generate-xxrx4782.js → ripgrep-vemcyc6m.js} +20 -20
  249. package/dist/chunks/{generate-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
  250. package/dist/chunks/{generate-6z8hd1tn.js → ripgrep-vhexq360.js} +15 -15
  251. package/dist/chunks/{generate-nmnp2ymx.js → ripgrep-vjtpgjq7.js} +20 -20
  252. package/dist/chunks/{generate-s7pvmk24.js → ripgrep-vprkr44c.js} +3 -3
  253. package/dist/chunks/{generate-y19c3zcv.js → ripgrep-vr2vg3zy.js} +4 -4
  254. package/dist/chunks/{generate-cavr175a.js → ripgrep-vsp1fds9.js} +21 -21
  255. package/dist/chunks/{generate-dj616sdp.js → ripgrep-vswzb2pw.js} +1 -1
  256. package/dist/chunks/{generate-vtxr0yy2.js → ripgrep-vtxr0yy2.js} +2 -2
  257. package/dist/chunks/{generate-kwyg33s8.js → ripgrep-vx17ftxw.js} +18 -18
  258. package/dist/chunks/{generate-vy4zg7qh.js → ripgrep-vy4zg7qh.js} +5 -5
  259. package/dist/chunks/{generate-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{generate-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{generate-wd3x2cqz.js → ripgrep-wd3x2cqz.js} +2 -2
  262. package/dist/chunks/{generate-wd87259q.js → ripgrep-wd87259q.js} +1 -1
  263. package/dist/chunks/{generate-hnp1s8mk.js → ripgrep-wjcmexze.js} +10 -10
  264. package/dist/chunks/{generate-q6fyt7vz.js → ripgrep-wsckwg56.js} +3 -3
  265. package/dist/chunks/{generate-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{generate-w251xrcq.js → ripgrep-x1vnw4j8.js} +4 -4
  267. package/dist/chunks/{generate-24frbayd.js → ripgrep-x5wf3cfa.js} +13 -13
  268. package/dist/chunks/{generate-705e2ap1.js → ripgrep-xjtsx636.js} +5 -5
  269. package/dist/chunks/{generate-69xx9vs0.js → ripgrep-xwpyg3km.js} +41 -41
  270. package/dist/chunks/{generate-21g45xjy.js → ripgrep-y0fe2sxw.js} +3 -3
  271. package/dist/chunks/{generate-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{generate-crnst1yf.js → ripgrep-y2wxfe7c.js} +15 -15
  273. package/dist/chunks/{generate-8q7cq0y1.js → ripgrep-y6f0p4jw.js} +3 -3
  274. package/dist/chunks/{generate-y71avatq.js → ripgrep-y71avatq.js} +1 -1
  275. package/dist/chunks/{generate-v691y2we.js → ripgrep-ycjw1vkg.js} +312 -312
  276. package/dist/chunks/{generate-ak9msbxp.js → ripgrep-ydgy0jv4.js} +4 -4
  277. package/dist/chunks/{generate-q5gjyfgp.js → ripgrep-ye7rqg8q.js} +24 -24
  278. package/dist/chunks/{generate-mw0kncyf.js → ripgrep-ymhgemp7.js} +15 -15
  279. package/dist/chunks/{generate-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{generate-9zbwceek.js → ripgrep-yz4h9str.js} +22 -22
  281. package/dist/chunks/{generate-z07pqspn.js → ripgrep-z07pqspn.js} +3 -3
  282. package/dist/chunks/{generate-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{generate-hb2v93g6.js → ripgrep-z0xdv2q8.js} +35 -35
  284. package/dist/chunks/{generate-0nde5ztd.js → ripgrep-za6yq9hg.js} +5 -5
  285. package/dist/chunks/{generate-gst7axd9.js → ripgrep-zcrspsvn.js} +4 -4
  286. package/dist/chunks/{generate-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{generate-axc0517c.js → ripgrep-zhwag984.js} +16 -16
  288. package/dist/chunks/{generate-3nye6dc5.js → ripgrep-znr0k2jp.js} +9 -9
  289. package/dist/chunks/{generate-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{generate-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{generate-cpg3rt6q.js → ripgrep-zy77hdr2.js} +44 -44
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +162 -162
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +132 -132
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +124 -124
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +81 -81
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.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 +4 -4
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +82 -82
  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 +6 -6
  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 +361 -361
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +1 -1
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +84 -84
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +358 -358
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +1 -1
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +106 -106
  478. package/dist/mcp/instructions.js +120 -120
  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 +113 -113
  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 +104 -104
  496. package/dist/plugin/command.js +101 -101
  497. package/dist/plugin/compaction.js +133 -133
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +3 -3
  502. package/dist/plugin/internal.js +332 -332
  503. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  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 +93 -93
  521. package/dist/plugin/provider/gitlab.js +91 -91
  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 +77 -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 +94 -94
  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 +78 -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 +160 -160
  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 +351 -351
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +225 -225
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +97 -97
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +98 -98
  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 +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +130 -130
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +7 -7
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +15 -15
  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 +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  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 +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  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 +114 -114
  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 +208 -208
  621. package/dist/session/system-prompt.js +5 -5
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +214 -214
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +220 -220
  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 +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +103 -103
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +93 -93
  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 +127 -127
  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 +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +120 -120
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +217 -217
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +118 -118
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +7 -7
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +1 -1
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +82 -82
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +79 -79
  690. package/dist/workspace/driver.js +3 -3
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +74 -74
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +98 -98
  698. package/package.json +8 -8
  699. package/dist/chunks/generate-02hsrpyz.js +0 -26
  700. package/dist/chunks/generate-e3zv43df.js +0 -252
  701. package/dist/chunks/generate-hr9dp009.js +0 -4
  702. package/dist/chunks/generate-ht5y0zrb.js +0 -18
  703. /package/dist/chunks/{generate-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{generate-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{generate-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{generate-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{generate-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{generate-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{generate-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{generate-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{generate-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{generate-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{generate-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{generate-3asan66x.js → ripgrep-3asan66x.js} +0 -0
  715. /package/dist/chunks/{generate-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{generate-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{generate-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{generate-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{generate-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{generate-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{generate-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{generate-53557ph1.js → ripgrep-53557ph1.js} +0 -0
  723. /package/dist/chunks/{generate-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{generate-6prwharc.js → ripgrep-6prwharc.js} +0 -0
  725. /package/dist/chunks/{generate-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{generate-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{generate-822emrt2.js → ripgrep-822emrt2.js} +0 -0
  728. /package/dist/chunks/{generate-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{generate-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{generate-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{generate-922hggd3.js → ripgrep-922hggd3.js} +0 -0
  732. /package/dist/chunks/{generate-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{generate-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{generate-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{generate-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{generate-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{generate-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{generate-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{generate-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{generate-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{generate-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{generate-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{generate-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{generate-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{generate-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{generate-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{generate-df08tz66.js → ripgrep-df08tz66.js} +0 -0
  748. /package/dist/chunks/{generate-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{generate-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{generate-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{generate-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{generate-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{generate-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{generate-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{generate-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{generate-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{generate-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{generate-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{generate-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{generate-g86h250q.js → ripgrep-g86h250q.js} +0 -0
  761. /package/dist/chunks/{generate-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{generate-gftt206x.js → ripgrep-gftt206x.js} +0 -0
  763. /package/dist/chunks/{generate-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{generate-hk9envan.js → ripgrep-hk9envan.js} +0 -0
  765. /package/dist/chunks/{generate-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{generate-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{generate-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{generate-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{generate-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{generate-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{generate-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{generate-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{generate-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{generate-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{generate-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{generate-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{generate-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{generate-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{generate-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{generate-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{generate-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{generate-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{generate-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{generate-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{generate-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{generate-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{generate-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{generate-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{generate-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{generate-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{generate-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{generate-x61499pn.js → ripgrep-x61499pn.js} +0 -0
  793. /package/dist/chunks/{generate-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{generate-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{generate-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{generate-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{generate-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{generate-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  ID8
3
- } from "./generate-kmhmhkps.js";
3
+ } from "./ripgrep-f9tp083j.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./generate-922hggd3.js";
6
+ } from "./ripgrep-922hggd3.js";
7
7
  import {
8
- Info12
9
- } from "./generate-g8jasmdt.js";
8
+ Info19
9
+ } from "./ripgrep-dhwr7h25.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./generate-w251xrcq.js";
12
+ } from "./ripgrep-x1vnw4j8.js";
13
13
  import {
14
14
  latest2,
15
- Service42
16
- } from "./generate-tatq26y7.js";
15
+ Service62
16
+ } from "./ripgrep-5v8ce13p.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./generate-5daktx2q.js";
19
+ } from "./ripgrep-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./generate-9rqn6x4v.js";
22
+ } from "./ripgrep-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin37
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin5
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin37 = define({
47
+ var Plugin5 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service42;
50
+ const config = yield* Service62;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin37, exports_agent2 };
164
+ export { Plugin5, exports_agent };
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service77
3
- } from "./generate-8qh7a2b7.js";
2
+ Service78
3
+ } from "./ripgrep-7jbn65n7.js";
4
4
  import {
5
- Service16,
5
+ Service15,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./generate-dh18bms1.js";
8
+ } from "./ripgrep-8vh0cnbs.js";
9
9
  import {
10
- Service79
11
- } from "./generate-p4s7j977.js";
10
+ Service13
11
+ } from "./ripgrep-agse1mrh.js";
12
12
  import {
13
- Service56
14
- } from "./generate-cpg3rt6q.js";
13
+ Service50
14
+ } from "./ripgrep-zy77hdr2.js";
15
15
  import {
16
- Service15
17
- } from "./generate-408ax8ck.js";
16
+ Service14
17
+ } from "./ripgrep-ers8xvjx.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./generate-6prwharc.js";
20
+ } from "./ripgrep-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./generate-9rqn6x4v.js";
23
+ } from "./ripgrep-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input4,
28
+ Input: () => Input2,
29
29
  Output: () => Output2,
30
- Plugin: () => Plugin4,
30
+ Plugin: () => Plugin36,
31
31
  WriteTool: () => exports_write,
32
- name: () => name4,
32
+ name: () => name2,
33
33
  toModelContent: () => toModelContent2
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name4 = "write";
39
- var Input4 = Schema.Struct({
38
+ var name2 = "write";
39
+ var Input2 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
@@ -49,23 +49,23 @@ var Output2 = Schema.Struct({
49
49
  existed: Schema.Boolean
50
50
  });
51
51
  var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin4 = {
52
+ var Plugin36 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service15;
56
- const fileMutation = yield* Service16;
57
- const environment = yield* Service77;
58
- const formatter = yield* Service79;
59
- const permission = yield* Service56;
55
+ const access = yield* Service14;
56
+ const fileMutation = yield* Service15;
57
+ const environment = yield* Service78;
58
+ const formatter = yield* Service13;
59
+ const permission = yield* Service50;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name4,
61
+ name: name2,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input4,
68
+ input: Input2,
69
69
  output: Output2,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
98
98
  })
99
99
  };
100
100
 
101
- export { name4, Input4, Output2, toModelContent2, Plugin4, exports_write };
101
+ export { name2, Input2, Output2, toModelContent2, Plugin36, exports_write };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./generate-jsq0aznb.js";
5
+ } from "./ripgrep-k2eanbb6.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./generate-v0hhcyk6.js";
11
+ } from "./ripgrep-pcmkyeay.js";
12
12
  import {
13
13
  __export
14
- } from "./generate-9rqn6x4v.js";
14
+ } from "./ripgrep-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./generate-ygn80rtk.js";
4
+ } from "./ripgrep-237jz2dm.js";
5
5
  import {
6
- node45
7
- } from "./generate-q5gjyfgp.js";
6
+ node66
7
+ } from "./ripgrep-ye7rqg8q.js";
8
8
  import {
9
- Service8,
10
- node9
11
- } from "./generate-66s037ct.js";
9
+ Service4,
10
+ node6
11
+ } from "./ripgrep-9j7e6784.js";
12
12
  import {
13
- Service28
14
- } from "./generate-ht5y0zrb.js";
13
+ Service29
14
+ } from "./ripgrep-4v7qdvcn.js";
15
15
  import {
16
16
  node20,
17
- ID2
18
- } from "./generate-6xx656an.js";
17
+ ID3
18
+ } from "./ripgrep-ah6tdzr8.js";
19
19
  import {
20
20
  Service5,
21
- node6
22
- } from "./generate-g0445xdp.js";
21
+ node7
22
+ } from "./ripgrep-cmwkp3r5.js";
23
23
  import {
24
24
  requirements2,
25
25
  guarded2,
26
26
  list2
27
- } from "./generate-v691y2we.js";
27
+ } from "./ripgrep-ycjw1vkg.js";
28
28
  import {
29
- make3,
29
+ make4,
30
30
  LoadError2
31
- } from "./generate-sc4v13qp.js";
31
+ } from "./ripgrep-9q6pqx2w.js";
32
32
  import {
33
33
  Updated2,
34
- Service3,
35
- node4
36
- } from "./generate-hnp1s8mk.js";
34
+ Service7,
35
+ node9
36
+ } from "./ripgrep-wjcmexze.js";
37
37
  import {
38
- Service4,
39
- node5
40
- } from "./generate-6hjx5zpb.js";
38
+ Service6,
39
+ node8
40
+ } from "./ripgrep-h71w788e.js";
41
41
  import {
42
42
  __export
43
- } from "./generate-9rqn6x4v.js";
43
+ } from "./ripgrep-9rqn6x4v.js";
44
44
 
45
45
  // src/plugin/supervisor.ts
46
46
  var exports_supervisor = {};
47
47
  __export(exports_supervisor, {
48
48
  PluginSupervisor: () => exports_supervisor,
49
- layer: () => layer3,
50
- node: () => node3
49
+ layer: () => layer4,
50
+ node: () => node5
51
51
  });
52
52
  import { Event } from "@opencode/schema/config";
53
53
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
116
116
  failures: [
117
117
  ...failures.values(),
118
118
  ...ordered.filter(duplicate).map((plugin) => ({
119
- id: ID2.make(plugin.id),
119
+ id: ID3.make(plugin.id),
120
120
  source: plugin.source ?? { type: "builtin" },
121
121
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
122
122
  features: { server: true, ...plugin.features }
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  pending: [...pending]
126
126
  };
127
127
  });
128
- var layer3 = Layer.effectDiscard(Effect.gen(function* () {
129
- const registry = yield* Service28;
130
- const sdk = yield* Service3;
128
+ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
129
+ const registry = yield* Service29;
130
+ const sdk = yield* Service7;
131
131
  const instance = yield* Service5;
132
- const sources = yield* Service8;
133
- const modules = yield* make3();
132
+ const sources = yield* Service4;
133
+ const modules = yield* make4();
134
134
  const bus = yield* Service83;
135
- const updates = yield* Service4;
135
+ const updates = yield* Service6;
136
136
  const internal = yield* list2();
137
137
  let release = yield* registry.hold();
138
138
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -208,13 +208,13 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
208
208
  }));
209
209
  var nodeDeps = [
210
210
  node20,
211
- node4,
212
- node6,
213
211
  node9,
214
- node5,
212
+ node7,
213
+ node6,
214
+ node8,
215
215
  node87,
216
216
  Npm.node,
217
- node45,
217
+ node66,
218
218
  requirements2
219
219
  ];
220
220
  function pluginSource(target) {
@@ -222,6 +222,6 @@ function pluginSource(target) {
222
222
  return { type: "local", path: target };
223
223
  return { type: "package", target };
224
224
  }
225
- var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
225
+ var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
226
226
 
227
- export { layer3, node3, exports_supervisor };
227
+ export { layer4, node5, exports_supervisor };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./generate-922hggd3.js";
3
+ } from "./ripgrep-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./ripgrep-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info14,
12
+ Info: () => Info21,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info21 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info21, exports_mcp5 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./generate-5t3nmthw.js";
3
+ } from "./ripgrep-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./ripgrep-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service27,
11
+ Service: () => Service28,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer14,
13
+ layer: () => layer12,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node31
15
+ node: () => node32
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service27.of({ bind, close, closeAll });
370
+ return Service28.of({ bind, close, closeAll });
371
371
  }));
372
- var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node31 = makeGlobalNode({ service: Service27, layer: layer14, deps: [webSocketConstructor2] });
375
+ var node32 = makeGlobalNode({ service: Service28, layer: layer12, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service27, makeLayer2, layer14, node31, exports_model_transport };
377
+ export { Service28, makeLayer2, layer12, node32, exports_model_transport };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./generate-w2j062zp.js";
3
+ } from "./ripgrep-4dre8h63.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./generate-34c7v6d4.js";
6
+ } from "./ripgrep-34c7v6d4.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./ripgrep-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID12
3
- } from "./generate-69v350yq.js";
3
+ } from "./ripgrep-bpcytqs1.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./ripgrep-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ID13,
3
- Service73,
4
- node76
5
- } from "./generate-g6zjvvdg.js";
3
+ Service71,
4
+ node74
5
+ } from "./ripgrep-45mv0mmk.js";
6
6
  import {
7
7
  ID12,
8
8
  isAISDK2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service72,
16
- node75
17
- } from "./generate-69v350yq.js";
15
+ Service70,
16
+ node73
17
+ } from "./ripgrep-bpcytqs1.js";
18
18
  import {
19
- Service71,
20
- node74
21
- } from "./generate-6yxkg8a7.js";
19
+ Service59,
20
+ node62
21
+ } from "./ripgrep-k9rdbn52.js";
22
22
  import {
23
- ID10,
23
+ ID11,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service68,
27
- node71
28
- } from "./generate-0vs0qezg.js";
26
+ Service69,
27
+ node72
28
+ } from "./ripgrep-0c7hyzvt.js";
29
29
  import {
30
30
  __export
31
- } from "./generate-9rqn6x4v.js";
31
+ } from "./ripgrep-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError3,
38
38
  ModelInitializationError: () => ModelInitializationError3,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service67,
40
+ Service: () => Service58,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError3,
44
44
  VariantUnavailableError: () => VariantUnavailableError3,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer24,
48
- node: () => node70,
47
+ layer: () => layer21,
48
+ node: () => node61,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -56,7 +56,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
58
  providerID: ID12,
59
- modelID: ID10,
59
+ modelID: ID11,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -66,7 +66,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
66
66
 
67
67
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
68
  providerID: ID12,
69
- modelID: ID10,
69
+ modelID: ID11,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -77,7 +77,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
79
  providerID: ID12,
80
- modelID: ID10,
80
+ modelID: ID11,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -88,7 +88,7 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
88
88
 
89
89
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
90
  providerID: ID12,
91
- modelID: ID10,
91
+ modelID: ID11,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -100,7 +100,7 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
100
100
 
101
101
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
102
  providerID: ID12,
103
- modelID: ID10,
103
+ modelID: ID11,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -110,7 +110,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
110
110
 
111
111
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
112
  providerID: ID12,
113
- modelID: ID10,
113
+ modelID: ID11,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service67 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service58 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer24 = Layer.effect(Service67, Effect.gen(function* () {
262
- const providers = yield* Service72;
263
- const models = yield* Service68;
264
- const integrations = yield* Service73;
261
+ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
262
+ const providers = yield* Service70;
263
+ const models = yield* Service69;
264
+ const integrations = yield* Service71;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service71;
266
+ const aisdk = yield* Service59;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
269
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service67.of({
296
+ return Service58.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node70 = makeLocationNode({
314
- service: Service67,
315
- layer: layer24,
316
- deps: [node75, node71, node76, Npm.node, node74]
313
+ var node61 = makeLocationNode({
314
+ service: Service58,
315
+ layer: layer21,
316
+ deps: [node73, node72, node74, Npm.node, node62]
317
317
  });
318
318
 
319
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service67, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node70, exports_model_resolver };
319
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node61, exports_model_resolver };