@opencode/core 0.0.0-dev-19578 → 0.0.0-dev-19580

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{ripgrep-xadyfnvh.js → project-00m1bynd.js} +20 -20
  9. package/dist/chunks/{ripgrep-fpwspfpn.js → project-02rqmf8t.js} +7 -7
  10. package/dist/chunks/{ripgrep-wjbwmtb7.js → project-05aka3vz.js} +7 -7
  11. package/dist/chunks/{ripgrep-q49ac735.js → project-06drn7px.js} +19 -19
  12. package/dist/chunks/{ripgrep-f0yd4j3s.js → project-0968p0hh.js} +21 -21
  13. package/dist/chunks/{ripgrep-7b78ctkg.js → project-09rx7y80.js} +16 -16
  14. package/dist/chunks/{ripgrep-7dqw4kz8.js → project-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{ripgrep-j2m5b400.js → project-0nbqqzve.js} +32 -32
  16. package/dist/chunks/{ripgrep-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{ripgrep-0q0f95c6.js → project-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{ripgrep-8a0b7fze.js → project-0qbfsv0x.js} +4 -4
  19. package/dist/chunks/{ripgrep-cvzrjv2b.js → project-0zepd8pr.js} +15 -15
  20. package/dist/chunks/{ripgrep-mhyv4f66.js → project-14q26hv8.js} +6 -6
  21. package/dist/chunks/{ripgrep-gtwqd38q.js → project-15kwn1dn.js} +9 -9
  22. package/dist/chunks/{ripgrep-yp2x3t23.js → project-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{ripgrep-htdtaedf.js → project-1ay21w3q.js} +41 -41
  24. package/dist/chunks/{ripgrep-zvepz2jd.js → project-1b1wd996.js} +34 -34
  25. package/dist/chunks/{ripgrep-m2frvhq9.js → project-1bfsfmvc.js} +6 -6
  26. package/dist/chunks/{ripgrep-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{ripgrep-4e736qct.js → project-1jyg2s8d.js} +26 -26
  28. package/dist/chunks/{ripgrep-djdwb08p.js → project-1qv9f1q5.js} +9 -9
  29. package/dist/chunks/{ripgrep-1he2dbdc.js → project-1xddca5p.js} +5 -5
  30. package/dist/chunks/{ripgrep-m2gt5keg.js → project-20pdxw1w.js} +14 -14
  31. package/dist/chunks/{ripgrep-21r38tys.js → project-21r38tys.js} +1 -1
  32. package/dist/chunks/{ripgrep-2402vzrj.js → project-2402vzrj.js} +1 -1
  33. package/dist/chunks/{ripgrep-29x78va6.js → project-29x78va6.js} +2 -2
  34. package/dist/chunks/{ripgrep-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{ripgrep-gnrgb9v9.js → project-2syw43ez.js} +11 -11
  36. package/dist/chunks/{ripgrep-tc1szqet.js → project-2xt6qnfn.js} +17 -17
  37. package/dist/chunks/{ripgrep-czavtrqb.js → project-30xc5vh3.js} +6 -6
  38. package/dist/chunks/{ripgrep-jzvp32eb.js → project-34rkz0x9.js} +7 -7
  39. package/dist/chunks/{ripgrep-4786se8r.js → project-34ytdzas.js} +1 -1
  40. package/dist/chunks/{ripgrep-10vf47fy.js → project-38321pkp.js} +19 -19
  41. package/dist/chunks/{ripgrep-v9dmpdb3.js → project-3dbps2r6.js} +9 -9
  42. package/dist/chunks/{ripgrep-6vktdcs3.js → project-3drwmh02.js} +36 -36
  43. package/dist/chunks/{ripgrep-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{ripgrep-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{ripgrep-2wqaky7d.js → project-3ht98g72.js} +10 -10
  46. package/dist/chunks/{ripgrep-c00yymc4.js → project-3sd6p3s1.js} +30 -30
  47. package/dist/chunks/{ripgrep-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{ripgrep-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{ripgrep-18yd35db.js → project-3xjhp2te.js} +9 -9
  50. package/dist/chunks/project-3z9nfnkh.js +26 -0
  51. package/dist/chunks/{ripgrep-gfn6vx63.js → project-41zvmsa4.js} +15 -15
  52. package/dist/chunks/project-465grwan.js +247 -0
  53. package/dist/chunks/{ripgrep-8pcnta4s.js → project-488yvfzv.js} +28 -28
  54. package/dist/chunks/{ripgrep-e2jp6j8q.js → project-4bsx23h2.js} +12 -12
  55. package/dist/chunks/{ripgrep-we8dmkwe.js → project-4fmbyqx8.js} +6 -6
  56. package/dist/chunks/{ripgrep-6k1124w6.js → project-4gdq9s16.js} +43 -43
  57. package/dist/chunks/{ripgrep-rq7d8v6q.js → project-4pkczepw.js} +11 -11
  58. package/dist/chunks/{ripgrep-fjh0an0y.js → project-4rmwe7sz.js} +6 -6
  59. package/dist/chunks/{ripgrep-bwawd8pb.js → project-50pxy8en.js} +13 -13
  60. package/dist/chunks/{ripgrep-8cnq3wn4.js → project-5525jcaq.js} +54 -54
  61. package/dist/chunks/{ripgrep-jk4tj39g.js → project-5584g16y.js} +20 -20
  62. package/dist/chunks/{ripgrep-56gdpj1q.js → project-56gdpj1q.js} +2 -2
  63. package/dist/chunks/{ripgrep-5daktx2q.js → project-5daktx2q.js} +1 -1
  64. package/dist/chunks/{ripgrep-gmfdakc6.js → project-5f6cf6rs.js} +24 -24
  65. package/dist/chunks/{ripgrep-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{ripgrep-36f883jd.js → project-5t8ee1mf.js} +18 -18
  67. package/dist/chunks/{ripgrep-xqkekxwm.js → project-5vnwr7cj.js} +4 -4
  68. package/dist/chunks/{ripgrep-0bps82y7.js → project-63xctefh.js} +6 -6
  69. package/dist/chunks/{ripgrep-669tq793.js → project-669tq793.js} +1 -1
  70. package/dist/chunks/{ripgrep-01c64n85.js → project-6bf77ebh.js} +5 -5
  71. package/dist/chunks/{ripgrep-s14mecf9.js → project-6fnapfer.js} +16 -16
  72. package/dist/chunks/{ripgrep-q7vxj98b.js → project-6h2zyr42.js} +5 -5
  73. package/dist/chunks/{ripgrep-ydjmf6hh.js → project-6k4zext7.js} +26 -26
  74. package/dist/chunks/{ripgrep-0pjbvvr1.js → project-6kbme1d4.js} +15 -15
  75. package/dist/chunks/{ripgrep-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{ripgrep-eynhbbrp.js → project-6q44kjsg.js} +11 -11
  77. package/dist/chunks/project-6r3amyyd.js +4 -0
  78. package/dist/chunks/{ripgrep-mcvhaj7a.js → project-6vebfzen.js} +11 -11
  79. package/dist/chunks/{ripgrep-zn59mpn9.js → project-6wk9kj5f.js} +14 -14
  80. package/dist/chunks/{ripgrep-c5c0bz0t.js → project-70y17xeh.js} +5 -5
  81. package/dist/chunks/{ripgrep-71q4at8m.js → project-71q4at8m.js} +1 -1
  82. package/dist/chunks/{ripgrep-g4n3hm35.js → project-74w919ya.js} +24 -24
  83. package/dist/chunks/{ripgrep-5vwjczgq.js → project-75s2ffw4.js} +20 -20
  84. package/dist/chunks/{ripgrep-712xqdp1.js → project-76q5ez2f.js} +11 -11
  85. package/dist/chunks/{ripgrep-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{ripgrep-0z2qs6f6.js → project-7gvwkz6m.js} +5 -5
  87. package/dist/chunks/{ripgrep-xzt7b96g.js → project-7ss0shf9.js} +11 -11
  88. package/dist/chunks/{ripgrep-pjedbq3k.js → project-7w3s9kd0.js} +4 -4
  89. package/dist/chunks/{ripgrep-dv250zvr.js → project-7w99qc9d.js} +3 -3
  90. package/dist/chunks/{ripgrep-awbdwcvp.js → project-81swgkk7.js} +2 -2
  91. package/dist/chunks/{ripgrep-2eq8yyrv.js → project-86yhh05e.js} +49 -49
  92. package/dist/chunks/{ripgrep-hrndf12w.js → project-88sz8qcd.js} +4 -4
  93. package/dist/chunks/{ripgrep-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{ripgrep-jvfkqhd3.js → project-8ezz06rp.js} +9 -9
  95. package/dist/chunks/{ripgrep-hvy35nny.js → project-8f9zc16p.js} +12 -12
  96. package/dist/chunks/{ripgrep-kmtsy9gg.js → project-8ke57jkr.js} +7 -7
  97. package/dist/chunks/{ripgrep-dj2t23y0.js → project-8p4f9s12.js} +2 -2
  98. package/dist/chunks/{ripgrep-585pw9ae.js → project-8rc81fnj.js} +22 -22
  99. package/dist/chunks/{ripgrep-na5h7k4h.js → project-90npfath.js} +8 -8
  100. package/dist/chunks/{ripgrep-9pf502c0.js → project-95a4nxen.js} +18 -18
  101. package/dist/chunks/{ripgrep-fbkm4yfd.js → project-9cpd9pem.js} +8 -8
  102. package/dist/chunks/{ripgrep-dkk65xcs.js → project-9gykdhyz.js} +20 -20
  103. package/dist/chunks/{ripgrep-dqfhm7rh.js → project-9k66nb05.js} +41 -41
  104. package/dist/chunks/{ripgrep-5c4hm403.js → project-a1bz86dw.js} +3 -3
  105. package/dist/chunks/{ripgrep-jtrqb7gt.js → project-a6z0knwv.js} +15 -15
  106. package/dist/chunks/{ripgrep-aaet6srn.js → project-aaet6srn.js} +2 -2
  107. package/dist/chunks/{ripgrep-dj68sxah.js → project-abnh96pj.js} +11 -11
  108. package/dist/chunks/{ripgrep-635pgx6n.js → project-ag9w8cw1.js} +2 -2
  109. package/dist/chunks/{ripgrep-fh1a0yyp.js → project-ajyrkhem.js} +15 -15
  110. package/dist/chunks/{ripgrep-xdxsk56r.js → project-atm1r3yj.js} +13 -13
  111. package/dist/chunks/{ripgrep-cqnae743.js → project-axvf9zqs.js} +8 -8
  112. package/dist/chunks/{ripgrep-dzafb2w6.js → project-axwkvar1.js} +20 -20
  113. package/dist/chunks/{ripgrep-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{ripgrep-48e7pka3.js → project-b9ge025n.js} +7 -7
  115. package/dist/chunks/{ripgrep-89smrnyf.js → project-bajakh74.js} +4 -4
  116. package/dist/chunks/{ripgrep-vny1gzvb.js → project-bcpg47zn.js} +11 -11
  117. package/dist/chunks/{ripgrep-nfkr9082.js → project-bct739vz.js} +4 -4
  118. package/dist/chunks/{ripgrep-t3pn2srw.js → project-bjmdedkt.js} +6 -6
  119. package/dist/chunks/{ripgrep-k30fxr3h.js → project-bjsjea9y.js} +16 -16
  120. package/dist/chunks/{ripgrep-1h9cx1js.js → project-bqf954qd.js} +25 -25
  121. package/dist/chunks/{ripgrep-vfefw32n.js → project-bt43cm3g.js} +4 -4
  122. package/dist/chunks/{ripgrep-1bzv8fr3.js → project-bx0bpgrb.js} +24 -24
  123. package/dist/chunks/{ripgrep-ec8389mk.js → project-c5gn303e.js} +4 -4
  124. package/dist/chunks/{ripgrep-7s6xy3w2.js → project-c7vry4z3.js} +33 -33
  125. package/dist/chunks/{ripgrep-m0jqrx5p.js → project-cfpkc3c9.js} +2 -2
  126. package/dist/chunks/{ripgrep-rxd6sk90.js → project-cmyn6vk5.js} +33 -33
  127. package/dist/chunks/{ripgrep-a2vq9b6b.js → project-cnhmn6x8.js} +159 -159
  128. package/dist/chunks/{ripgrep-7b15y959.js → project-cxv3b682.js} +8 -8
  129. package/dist/chunks/{ripgrep-nv5vn7qx.js → project-da6kr1wx.js} +2 -2
  130. package/dist/chunks/{ripgrep-ryg87dec.js → project-dk1gkaxb.js} +25 -25
  131. package/dist/chunks/{ripgrep-45gs53qn.js → project-dp9kd0g8.js} +11 -11
  132. package/dist/chunks/{ripgrep-mhmyvv3d.js → project-dqz5g3wr.js} +16 -16
  133. package/dist/chunks/{ripgrep-e10xgra2.js → project-drwvp74x.js} +6 -6
  134. package/dist/chunks/{ripgrep-nq4q7dkj.js → project-dzccjpex.js} +4 -4
  135. package/dist/chunks/{ripgrep-z0dt8059.js → project-dzgj1nss.js} +46 -46
  136. package/dist/chunks/{ripgrep-e5nv3ght.js → project-e5nv3ght.js} +2 -2
  137. package/dist/chunks/{ripgrep-vakpw0hz.js → project-e86nekyr.js} +10 -10
  138. package/dist/chunks/{ripgrep-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{ripgrep-j6rzabk6.js → project-enhjh6fs.js} +18 -18
  140. package/dist/chunks/{ripgrep-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{ripgrep-g0bjhkt9.js → project-ez6ac52v.js} +13 -13
  142. package/dist/chunks/{ripgrep-w6b5p79s.js → project-f2qf85jg.js} +3 -3
  143. package/dist/chunks/{ripgrep-xfcq4ch4.js → project-f491hdxz.js} +17 -17
  144. package/dist/chunks/{ripgrep-vmz2bp6p.js → project-f4e59c7c.js} +30 -30
  145. package/dist/chunks/{ripgrep-hdnk95c8.js → project-f828m53h.js} +2 -2
  146. package/dist/chunks/{ripgrep-tjkkyhrm.js → project-fcvjwfx6.js} +4 -4
  147. package/dist/chunks/{ripgrep-cw574hkw.js → project-fkn6p80h.js} +3 -3
  148. package/dist/chunks/{ripgrep-2ve45fd6.js → project-fs6bp36w.js} +5 -5
  149. package/dist/chunks/{ripgrep-th5yjcm2.js → project-fv9vnjc8.js} +11 -11
  150. package/dist/chunks/{ripgrep-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{ripgrep-etjd8m3h.js → project-g47eftgs.js} +9 -9
  152. package/dist/chunks/{ripgrep-qmy7xtej.js → project-g500fjm7.js} +1 -1
  153. package/dist/chunks/{ripgrep-ds2mmwsg.js → project-g7mrm2xv.js} +8 -8
  154. package/dist/chunks/{ripgrep-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{ripgrep-19d3sct9.js → project-gv6a8nnw.js} +5 -5
  156. package/dist/chunks/{ripgrep-e17bkqjz.js → project-gy4p1xkh.js} +1 -1
  157. package/dist/chunks/{ripgrep-nz9y5nma.js → project-gzetp00y.js} +2 -2
  158. package/dist/chunks/{ripgrep-h03wrkyp.js → project-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{ripgrep-d5akq3tm.js → project-h62cg3tw.js} +25 -25
  160. package/dist/chunks/{ripgrep-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{ripgrep-ket1x0yc.js → project-h7ygw6q4.js} +9 -9
  162. package/dist/chunks/{ripgrep-gq59ghnw.js → project-hdvcakz8.js} +287 -287
  163. package/dist/chunks/{ripgrep-6w5z0ks3.js → project-hjhmn98m.js} +6 -6
  164. package/dist/chunks/{ripgrep-nhy5jxhy.js → project-hjt4xg1x.js} +4 -4
  165. package/dist/chunks/{ripgrep-jeanpfns.js → project-hy1g3bgf.js} +1 -1
  166. package/dist/chunks/{ripgrep-ss0awb04.js → project-j15mfg1p.js} +4 -4
  167. package/dist/chunks/{ripgrep-e7gbx5x9.js → project-j4vax3h0.js} +25 -25
  168. package/dist/chunks/{ripgrep-j56e64zr.js → project-j56e64zr.js} +1 -1
  169. package/dist/chunks/{ripgrep-xv1yge4n.js → project-j7gkfhd1.js} +16 -16
  170. package/dist/chunks/{ripgrep-eksmg0b6.js → project-jgpe9gkw.js} +29 -29
  171. package/dist/chunks/{ripgrep-46wp7cve.js → project-jv01nqvq.js} +5 -5
  172. package/dist/chunks/{ripgrep-6se2k08w.js → project-k154e2xh.js} +30 -30
  173. package/dist/chunks/{ripgrep-q2m2cwvs.js → project-k8q0rdfm.js} +43 -43
  174. package/dist/chunks/{ripgrep-zt11me34.js → project-kbbmey5m.js} +33 -33
  175. package/dist/chunks/{ripgrep-s1p8n3hc.js → project-kccr456f.js} +5 -5
  176. package/dist/chunks/{ripgrep-kg06axw8.js → project-kg06axw8.js} +1 -1
  177. package/dist/chunks/{ripgrep-smkxeb0a.js → project-kgbdy0g8.js} +19 -19
  178. package/dist/chunks/{ripgrep-xzax2bp8.js → project-kqgw9f0v.js} +26 -26
  179. package/dist/chunks/{ripgrep-v8c9gd7q.js → project-kz51atke.js} +20 -20
  180. package/dist/chunks/{ripgrep-dhmh7aw6.js → project-m70sbz6t.js} +4 -4
  181. package/dist/chunks/{ripgrep-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{ripgrep-g99xaqfj.js → project-mqxgdb0e.js} +24 -24
  183. package/dist/chunks/{ripgrep-mfs4nb3v.js → project-mt1h0n0p.js} +20 -20
  184. package/dist/chunks/{ripgrep-7yh4e7ss.js → project-mvfsc1pv.js} +3 -3
  185. package/dist/chunks/{ripgrep-f1ve4zk0.js → project-n5svd4h5.js} +35 -35
  186. package/dist/chunks/{ripgrep-f3v5jz8f.js → project-n7wts09c.js} +4 -4
  187. package/dist/chunks/{ripgrep-deszs1m1.js → project-ng555z98.js} +11 -11
  188. package/dist/chunks/{ripgrep-g14zqp48.js → project-njr1pezb.js} +6 -6
  189. package/dist/chunks/{ripgrep-zpd6x7fe.js → project-nng2ktcm.js} +2 -2
  190. package/dist/chunks/{ripgrep-2mfn44ga.js → project-nrm3zwkn.js} +6 -6
  191. package/dist/chunks/{ripgrep-268vvpk8.js → project-nvfjhanm.js} +18 -18
  192. package/dist/chunks/{ripgrep-s9p16yvn.js → project-nxf0cefn.js} +11 -11
  193. package/dist/chunks/{ripgrep-1jzhf559.js → project-nxhjwxrp.js} +11 -11
  194. package/dist/chunks/{ripgrep-x4th0ycp.js → project-nya1qvzg.js} +15 -15
  195. package/dist/chunks/{ripgrep-e6r6zprk.js → project-nyr3eh2k.js} +1 -1
  196. package/dist/chunks/{ripgrep-hrvd6t1f.js → project-p1wf2k30.js} +9 -9
  197. package/dist/chunks/{ripgrep-eznd2tmg.js → project-p2nh6kz3.js} +3 -3
  198. package/dist/chunks/{ripgrep-makktzfn.js → project-pcdbzj1w.js} +8 -8
  199. package/dist/chunks/project-pf31ssb9.js +18 -0
  200. package/dist/chunks/{ripgrep-5htpg9r3.js → project-phwvevj1.js} +22 -22
  201. package/dist/chunks/{ripgrep-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{ripgrep-pknna89w.js → project-pknna89w.js} +1 -1
  203. package/dist/chunks/{ripgrep-gveqyzmn.js → project-q38wwtxf.js} +92 -92
  204. package/dist/chunks/{ripgrep-22rpdhdr.js → project-q3q65nqm.js} +9 -9
  205. package/dist/chunks/{ripgrep-nxnrmdqj.js → project-q6d4cs3t.js} +52 -52
  206. package/dist/chunks/{ripgrep-gs64wbh5.js → project-qb5fn5h1.js} +17 -17
  207. package/dist/chunks/{ripgrep-d6bvjqk2.js → project-qd3jn8mb.js} +85 -85
  208. package/dist/chunks/{ripgrep-c0jnvte1.js → project-qfzxbkvw.js} +10 -10
  209. package/dist/chunks/{ripgrep-8hy4qcjc.js → project-qks5x4dz.js} +9 -9
  210. package/dist/chunks/{ripgrep-3b3tzm4e.js → project-qpmbjarr.js} +56 -56
  211. package/dist/chunks/{ripgrep-9145vaz1.js → project-qs001aqx.js} +8 -8
  212. package/dist/chunks/{ripgrep-qsdy395h.js → project-qsdy395h.js} +1 -1
  213. package/dist/chunks/{ripgrep-3cwb9jzf.js → project-qvb3nf84.js} +8 -8
  214. package/dist/chunks/{ripgrep-2g7jz3dm.js → project-qy64m5q3.js} +11 -11
  215. package/dist/chunks/{ripgrep-rjdnsgyh.js → project-r3f0tkv4.js} +22 -22
  216. package/dist/chunks/{ripgrep-pzt055kj.js → project-r70c2fyq.js} +3 -3
  217. package/dist/chunks/{ripgrep-r9mregkx.js → project-r9mregkx.js} +2 -2
  218. package/dist/chunks/{ripgrep-t6m9yp2a.js → project-rew6fqm6.js} +32 -32
  219. package/dist/chunks/{ripgrep-n7asjhxk.js → project-rmrfqh0b.js} +12 -12
  220. package/dist/chunks/{ripgrep-n6mbs687.js → project-rqx3cqxa.js} +14 -14
  221. package/dist/chunks/{ripgrep-dw1fjyb0.js → project-rsb1fe67.js} +5 -5
  222. package/dist/chunks/{ripgrep-60ffd1gb.js → project-s2mphvxx.js} +17 -17
  223. package/dist/chunks/{ripgrep-pdxj7cr2.js → project-s33pnk4k.js} +40 -40
  224. package/dist/chunks/{ripgrep-s4enseaf.js → project-s4enseaf.js} +2 -2
  225. package/dist/chunks/{ripgrep-2y56t47p.js → project-sprgxkek.js} +25 -25
  226. package/dist/chunks/{ripgrep-t1k78tfr.js → project-spvpjky1.js} +10 -10
  227. package/dist/chunks/{ripgrep-jvvm8r5r.js → project-ssqjd48r.js} +10 -10
  228. package/dist/chunks/{ripgrep-j0fxed5p.js → project-svp0raxt.js} +38 -38
  229. package/dist/chunks/{ripgrep-s8d7rejh.js → project-t550f9t1.js} +4 -4
  230. package/dist/chunks/{ripgrep-sthpyd6y.js → project-t6jazmpc.js} +17 -17
  231. package/dist/chunks/{ripgrep-szyghhdq.js → project-t9rwkrx5.js} +27 -27
  232. package/dist/chunks/{ripgrep-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{ripgrep-tcezcvh9.js → project-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{ripgrep-tdstcens.js → project-tdstcens.js} +1 -1
  235. package/dist/chunks/{ripgrep-9d8v8ke2.js → project-tj0j24wc.js} +10 -10
  236. package/dist/chunks/{ripgrep-414sfh82.js → project-tje4b568.js} +10 -10
  237. package/dist/chunks/{ripgrep-ea8nv0r7.js → project-trn0ebkj.js} +2 -2
  238. package/dist/chunks/{ripgrep-tvtrv512.js → project-tvtrv512.js} +1 -1
  239. package/dist/chunks/{ripgrep-p04d36qx.js → project-vasn832y.js} +20 -20
  240. package/dist/chunks/{ripgrep-vc4e6k4r.js → project-vc4e6k4r.js} +1 -1
  241. package/dist/chunks/{ripgrep-veqvce7d.js → project-veqvce7d.js} +1 -1
  242. package/dist/chunks/{ripgrep-7rs7k6vk.js → project-vjn9t6js.js} +47 -47
  243. package/dist/chunks/{ripgrep-d0rzr7hy.js → project-vrhghmab.js} +17 -17
  244. package/dist/chunks/{ripgrep-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{ripgrep-pfxwykwg.js → project-vzmvb9yb.js} +14 -14
  246. package/dist/chunks/{ripgrep-cw1j9y4w.js → project-w28pchw6.js} +9 -9
  247. package/dist/chunks/{ripgrep-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{ripgrep-0p9rw7fw.js → project-w5gmehn1.js} +43 -43
  249. package/dist/chunks/{ripgrep-wd87259q.js → project-wd87259q.js} +1 -1
  250. package/dist/chunks/{ripgrep-3585dpn0.js → project-wh08pv6v.js} +20 -20
  251. package/dist/chunks/{ripgrep-djfy19dc.js → project-wj80fc1y.js} +21 -21
  252. package/dist/chunks/{ripgrep-08zrd5pp.js → project-wv19dcf5.js} +18 -18
  253. package/dist/chunks/{ripgrep-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{ripgrep-3zykk5as.js → project-x353b1jt.js} +8 -8
  255. package/dist/chunks/{ripgrep-whf5bmpn.js → project-x4m2chzc.js} +4 -4
  256. package/dist/chunks/{ripgrep-8qvgnq7a.js → project-x4t6e216.js} +9 -9
  257. package/dist/chunks/{ripgrep-798sgk8w.js → project-xcs774s4.js} +17 -17
  258. package/dist/chunks/{ripgrep-kk00bynn.js → project-xdk9p2qn.js} +4 -4
  259. package/dist/chunks/{ripgrep-qa4rp7fn.js → project-xhmq8qgk.js} +9 -9
  260. package/dist/chunks/{ripgrep-bn56f23d.js → project-xhyapkwc.js} +11 -11
  261. package/dist/chunks/{ripgrep-2kxpmhy3.js → project-xk3yn2qn.js} +15 -15
  262. package/dist/chunks/{ripgrep-3ynjv8ew.js → project-xqaynjaq.js} +11 -11
  263. package/dist/chunks/{ripgrep-j5jkef4k.js → project-xyfdqq7j.js} +22 -22
  264. package/dist/chunks/{ripgrep-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{ripgrep-hg8zwqn0.js → project-y4c4dmb1.js} +16 -16
  266. package/dist/chunks/{ripgrep-y71avatq.js → project-y71avatq.js} +1 -1
  267. package/dist/chunks/{ripgrep-q6jxhr7p.js → project-yeem3wz9.js} +12 -12
  268. package/dist/chunks/{ripgrep-5s6q5yjh.js → project-ynanzy5q.js} +5 -5
  269. package/dist/chunks/{ripgrep-6kd2n8rn.js → project-ynnjg6pe.js} +7 -7
  270. package/dist/chunks/{ripgrep-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{ripgrep-cza9j1er.js → project-yyfky2bj.js} +1 -1
  272. package/dist/chunks/{ripgrep-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{ripgrep-a4twc4z9.js → project-z10nccyy.js} +30 -30
  274. package/dist/chunks/{ripgrep-e03kn7v5.js → project-z3evvbyc.js} +22 -22
  275. package/dist/chunks/{ripgrep-xr4yra30.js → project-z4fsc67a.js} +22 -22
  276. package/dist/chunks/{ripgrep-65h5bvtz.js → project-zcq0p0qp.js} +10 -10
  277. package/dist/chunks/{ripgrep-rq775frq.js → project-zeh9ct20.js} +2 -2
  278. package/dist/chunks/{ripgrep-mw934p8z.js → project-zex37ywk.js} +8 -8
  279. package/dist/chunks/{ripgrep-tgqjfyja.js → project-zfcp8yb0.js} +3 -3
  280. package/dist/chunks/{ripgrep-t0azw9td.js → project-zfq65hpb.js} +13 -13
  281. package/dist/chunks/{ripgrep-fwph3ky5.js → project-zjdzpahr.js} +30 -30
  282. package/dist/chunks/{ripgrep-6tmt97vh.js → project-zmv5twzp.js} +1 -1
  283. package/dist/chunks/{ripgrep-9vz03hpn.js → project-znhn1sj3.js} +20 -20
  284. package/dist/chunks/{ripgrep-ftycp6m1.js → project-zpff3ese.js} +18 -18
  285. package/dist/chunks/{ripgrep-m7y3f53v.js → project-zpn9qnw3.js} +4 -4
  286. package/dist/chunks/{ripgrep-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{ripgrep-pwks8f9a.js → project-zv8bg2tt.js} +18 -18
  288. package/dist/chunks/{ripgrep-j4xaawr1.js → project-zw3eb4dv.js} +24 -24
  289. package/dist/chunks/{ripgrep-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{ripgrep-tqyq1b22.js → project-zxtan7te.js} +26 -26
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +19 -19
  298. package/dist/config/plugin/agent.js +119 -119
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +137 -137
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +118 -118
  304. package/dist/config/plugin/image.js +119 -119
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +119 -119
  307. package/dist/config/plugin/mcp.js +128 -128
  308. package/dist/config/plugin/policy.js +118 -118
  309. package/dist/config/plugin/provider.js +117 -117
  310. package/dist/config/plugin/reference.js +121 -121
  311. package/dist/config/plugin/shell.js +119 -119
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +138 -138
  314. package/dist/config/plugin/snapshot.js +119 -119
  315. package/dist/config/plugin/source.js +115 -115
  316. package/dist/config/plugin/tool-output.js +121 -121
  317. package/dist/config/plugin/websearch.js +117 -117
  318. package/dist/config/plugin/worktree.js +122 -122
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +123 -123
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +82 -82
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +105 -105
  429. package/dist/form.js +85 -85
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +92 -92
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +7 -7
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +356 -356
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +134 -134
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +87 -87
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +124 -124
  474. package/dist/mcp/oauth.js +3 -3
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +7 -7
  478. package/dist/model-resolver.js +87 -87
  479. package/dist/model.js +6 -6
  480. package/dist/models-dev.js +87 -87
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +110 -110
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +99 -99
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -216
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +327 -327
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +76 -76
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +2 -2
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +80 -80
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +81 -81
  515. package/dist/plugin/provider/gitlab.js +3 -3
  516. package/dist/plugin/provider/google-vertex.js +2 -2
  517. package/dist/plugin/provider/kilo.js +2 -2
  518. package/dist/plugin/provider/llmgateway.js +77 -77
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +119 -119
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +79 -79
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +135 -135
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +342 -342
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +6 -6
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +227 -227
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +83 -83
  559. package/dist/provider.js +5 -5
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +97 -97
  564. package/dist/reference/instructions.js +88 -88
  565. package/dist/reference.js +86 -86
  566. package/dist/repository-cache.js +80 -80
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +96 -96
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +133 -133
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +220 -220
  580. package/dist/session/execution.js +128 -128
  581. package/dist/session/generate.js +150 -150
  582. package/dist/session/history.js +13 -13
  583. package/dist/session/inbox.js +89 -89
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +115 -115
  591. package/dist/session/model-transport.js +7 -7
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +87 -87
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -114
  604. package/dist/session/runner/step.js +123 -123
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +172 -172
  608. package/dist/session/shell.js +134 -134
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +72 -72
  612. package/dist/session/store.js +86 -86
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +209 -209
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +149 -149
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +216 -216
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +219 -219
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +15 -15
  625. package/dist/shell.js +136 -136
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +104 -104
  628. package/dist/skill.js +107 -107
  629. package/dist/snapshot.js +92 -92
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +125 -125
  634. package/dist/tool/plugin/edit.js +119 -119
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +117 -117
  637. package/dist/tool/plugin/grep.js +123 -123
  638. package/dist/tool/plugin/opencode.js +1 -1
  639. package/dist/tool/plugin/patch.js +121 -121
  640. package/dist/tool/plugin/question.js +102 -102
  641. package/dist/tool/plugin/read.js +118 -118
  642. package/dist/tool/plugin/shell.js +214 -214
  643. package/dist/tool/plugin/skill.js +110 -110
  644. package/dist/tool/plugin/subagent.js +218 -218
  645. package/dist/tool/plugin/webfetch.js +109 -109
  646. package/dist/tool/plugin/websearch.js +109 -109
  647. package/dist/tool/plugin/write.js +117 -117
  648. package/dist/tool/read-filesystem.js +99 -99
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +15 -15
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/attachment.js +2 -2
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +2 -2
  666. package/dist/v1/config/formatter.js +3 -3
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +4 -4
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +79 -79
  681. package/dist/wellknown/plugin.js +73 -73
  682. package/dist/wellknown.js +80 -80
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +79 -79
  686. package/dist/worktree/directory.js +4 -4
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/refresh.js +343 -343
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +95 -95
  691. package/package.json +8 -8
  692. package/dist/chunks/ripgrep-0mesazry.js +0 -4
  693. package/dist/chunks/ripgrep-5vrjdqzc.js +0 -247
  694. package/dist/chunks/ripgrep-9sh4wc5j.js +0 -18
  695. package/dist/chunks/ripgrep-cen5daqs.js +0 -26
  696. /package/dist/chunks/{ripgrep-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{ripgrep-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{ripgrep-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{ripgrep-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{ripgrep-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{ripgrep-2710q6r3.js → project-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{ripgrep-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{ripgrep-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{ripgrep-359p4xyc.js → project-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{ripgrep-3asan66x.js → project-3asan66x.js} +0 -0
  706. /package/dist/chunks/{ripgrep-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{ripgrep-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{ripgrep-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{ripgrep-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{ripgrep-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{ripgrep-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{ripgrep-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{ripgrep-53557ph1.js → project-53557ph1.js} +0 -0
  714. /package/dist/chunks/{ripgrep-550bvhaj.js → project-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{ripgrep-6prwharc.js → project-6prwharc.js} +0 -0
  716. /package/dist/chunks/{ripgrep-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{ripgrep-7m9af43g.js → project-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{ripgrep-822emrt2.js → project-822emrt2.js} +0 -0
  719. /package/dist/chunks/{ripgrep-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{ripgrep-8n3pysct.js → project-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{ripgrep-922hggd3.js → project-922hggd3.js} +0 -0
  722. /package/dist/chunks/{ripgrep-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{ripgrep-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{ripgrep-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{ripgrep-af5trqkr.js → project-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{ripgrep-afrmfg78.js → project-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{ripgrep-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{ripgrep-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{ripgrep-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{ripgrep-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{ripgrep-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{ripgrep-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{ripgrep-d9fn303g.js → project-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{ripgrep-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{ripgrep-dajrwvna.js → project-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{ripgrep-dap0rakb.js → project-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{ripgrep-df08tz66.js → project-df08tz66.js} +0 -0
  738. /package/dist/chunks/{ripgrep-dy18nga0.js → project-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{ripgrep-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{ripgrep-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{ripgrep-ec1grn59.js → project-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{ripgrep-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{ripgrep-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{ripgrep-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{ripgrep-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{ripgrep-faypxj3z.js → project-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{ripgrep-fd410y7t.js → project-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{ripgrep-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{ripgrep-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{ripgrep-g86h250q.js → project-g86h250q.js} +0 -0
  751. /package/dist/chunks/{ripgrep-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{ripgrep-gftt206x.js → project-gftt206x.js} +0 -0
  753. /package/dist/chunks/{ripgrep-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{ripgrep-hk9envan.js → project-hk9envan.js} +0 -0
  755. /package/dist/chunks/{ripgrep-hrnqkpcd.js → project-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{ripgrep-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{ripgrep-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{ripgrep-j935v87r.js → project-j935v87r.js} +0 -0
  759. /package/dist/chunks/{ripgrep-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{ripgrep-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{ripgrep-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{ripgrep-mp448xyj.js → project-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{ripgrep-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{ripgrep-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{ripgrep-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{ripgrep-njntx4h6.js → project-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{ripgrep-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{ripgrep-q74kybfr.js → project-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{ripgrep-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{ripgrep-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{ripgrep-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{ripgrep-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{ripgrep-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{ripgrep-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{ripgrep-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{ripgrep-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{ripgrep-twg0f83k.js → project-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{ripgrep-w803qqfp.js → project-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{ripgrep-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{ripgrep-wtztk69x.js → project-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{ripgrep-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{ripgrep-x61499pn.js → project-x61499pn.js} +0 -0
  783. /package/dist/chunks/{ripgrep-y44na4kk.js → project-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{ripgrep-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{ripgrep-y8f7s663.js → project-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{ripgrep-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{ripgrep-ym463w8f.js → project-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{ripgrep-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./ripgrep-tjkkyhrm.js";
5
+ } from "./project-fcvjwfx6.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make21,
10
+ make19,
11
11
  diffByKey2
12
- } from "./ripgrep-s8d7rejh.js";
12
+ } from "./project-t550f9t1.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./ripgrep-922hggd3.js";
15
+ } from "./project-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./ripgrep-kg06axw8.js";
18
+ } from "./project-kg06axw8.js";
19
19
  import {
20
20
  __export
21
- } from "./ripgrep-9rqn6x4v.js";
21
+ } from "./project-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event14,
26
+ Event: () => Event5,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options7,
30
- Service: () => Service64,
31
- configured: () => configured9,
32
- layer: () => layer23,
33
- node: () => node69
29
+ Options: () => Options4,
30
+ Service: () => Service30,
31
+ configured: () => configured4,
32
+ layer: () => layer14,
33
+ node: () => node34
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event14 = {
45
+ var Event5 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options7 = Schema.Struct({
48
+ var Options4 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service64 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service30 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer23 = (options) => Layer.effect(Service64, Effect.gen(function* () {
55
+ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
56
56
  const bus = yield* Service79;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer23 = (options) => Layer.effect(Service64, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event14.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make21({
77
+ const source = (value) => make19({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer23 = (options) => Layer.effect(Service64, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service64.of({
93
+ return Service30.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer23 = (options) => Layer.effect(Service64, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured9(options) {
107
+ function configured4(options) {
108
108
  return makeLocationNode({
109
- service: Service64,
110
- layer: layer23(options),
109
+ service: Service30,
110
+ layer: layer14(options),
111
111
  deps: [node84]
112
112
  });
113
113
  }
114
- var node69 = configured9();
114
+ var node34 = configured4();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event14, Options7, Service64, layer23, configured9, node69, exports_instruction_discovery };
145
+ export { File2, Event5, Options4, Service30, layer14, configured4, node34, exports_instruction_discovery };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
7
7
  __export(exports_mcp_codemode_exclusion, {
8
8
  McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
9
- Plugin: () => Plugin44
9
+ Plugin: () => Plugin40
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
- var Plugin44 = define({
14
+ var Plugin40 = define({
15
15
  id: "opencode.mcp.codemode.exclusion",
16
16
  effect: Effect.fn(function* (ctx) {
17
17
  yield* ctx.mcp.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin44 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin44, exports_mcp_codemode_exclusion };
37
+ export { Plugin40, exports_mcp_codemode_exclusion };
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service80
3
- } from "./ripgrep-cw574hkw.js";
3
+ } from "./project-fkn6p80h.js";
4
4
  import {
5
5
  Service79
6
- } from "./ripgrep-tjkkyhrm.js";
6
+ } from "./project-fcvjwfx6.js";
7
7
  import {
8
- Service49
9
- } from "./ripgrep-0bps82y7.js";
8
+ Service36
9
+ } from "./project-63xctefh.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./ripgrep-fxbjtjnd.js";
12
+ } from "./project-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./ripgrep-gftt206x.js";
15
+ } from "./project-gftt206x.js";
16
16
  import {
17
- NotFoundError10,
17
+ NotFoundError6,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./ripgrep-t3pn2srw.js";
23
+ } from "./project-bjmdedkt.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./ripgrep-ec1grn59.js";
26
+ } from "./project-ec1grn59.js";
27
27
  import {
28
- Service68
29
- } from "./ripgrep-zn59mpn9.js";
28
+ Service53
29
+ } from "./project-6wk9kj5f.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service47
34
- } from "./ripgrep-gmfdakc6.js";
33
+ Service35
34
+ } from "./project-5f6cf6rs.js";
35
35
  import {
36
- Service45
37
- } from "./ripgrep-j0fxed5p.js";
36
+ Service33
37
+ } from "./project-svp0raxt.js";
38
38
  import {
39
39
  prepare2
40
- } from "./ripgrep-s14mecf9.js";
40
+ } from "./project-6fnapfer.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./ripgrep-9vz03hpn.js";
45
+ } from "./project-znhn1sj3.js";
46
46
  import {
47
47
  start2
48
- } from "./ripgrep-djdwb08p.js";
48
+ } from "./project-1qv9f1q5.js";
49
49
  import {
50
50
  get4
51
- } from "./ripgrep-8hy4qcjc.js";
51
+ } from "./project-qks5x4dz.js";
52
52
  import {
53
53
  __export
54
- } from "./ripgrep-9rqn6x4v.js";
54
+ } from "./project-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make12 = Effect.fn("Session.make")(function* () {
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service79;
67
67
  const database = yield* Service80;
68
- const store = yield* Service68;
69
- const instances = yield* Service49;
70
- const execution = yield* Service45;
71
- const admission = yield* Service47;
68
+ const store = yield* Service53;
69
+ const instances = yield* Service36;
70
+ const execution = yield* Service33;
71
+ const admission = yield* Service35;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError10({ sessionID });
77
+ return yield* new NotFoundError6({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service49, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service36, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service49, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service36, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service49, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service36, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service79, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service79, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make12, exports_session2 };
325
+ export { make13, exports_session2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./ripgrep-6msgmcgs.js";
3
+ } from "./project-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./ripgrep-dj2t23y0.js";
6
+ } from "./project-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./ripgrep-922hggd3.js";
4
+ } from "./project-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service78,
9
- node83
10
- } from "./ripgrep-hvy35nny.js";
8
+ Service77,
9
+ node82
10
+ } from "./project-8f9zc16p.js";
11
11
  import {
12
- Service76,
13
- node81
14
- } from "./ripgrep-m2gt5keg.js";
12
+ Service75,
13
+ node80
14
+ } from "./project-20pdxw1w.js";
15
15
  import {
16
16
  create3
17
- } from "./ripgrep-kg06axw8.js";
17
+ } from "./project-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./ripgrep-9rqn6x4v.js";
20
+ } from "./project-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID6,
27
- Service: () => Service43,
25
+ Error: () => Error4,
26
+ ID: () => ID9,
27
+ Service: () => Service56,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node48,
30
- noopLayer: () => noopLayer2
29
+ node: () => node60,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID9 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service43 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service56 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service43, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service77;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service75;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID9.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service56.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node48 = makeLocationNode({
144
- service: Service43,
143
+ var node60 = makeLocationNode({
144
+ service: Service56,
145
145
  layer,
146
- deps: [FSUtil.node, node83, Global.node, node81]
146
+ deps: [FSUtil.node, node82, Global.node, node80]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service43, Service43.of({
148
+ var noopLayer3 = Layer.succeed(Service56, Service56.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID6, Error3, Service43, node48, noopLayer2, exports_snapshot2 };
166
+ export { ID9, Error4, Service56, node60, noopLayer3, exports_snapshot2 };