@opencode/core 0.0.0-dev-20292 → 0.0.0-dev-20294

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 (801) 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/{ripgrep-a4691zpg.js → repository-0hpqhmg5.js} +16 -16
  8. package/dist/chunks/{ripgrep-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{ripgrep-k7sekcqa.js → repository-0vkpmgbt.js} +22 -22
  10. package/dist/chunks/{ripgrep-gmddfe7k.js → repository-14jy69rb.js} +11 -6
  11. package/dist/chunks/{ripgrep-14yyfa4b.js → repository-18vsvbhm.js} +24 -24
  12. package/dist/chunks/{ripgrep-0czp0bk4.js → repository-19b6gxjs.js} +20 -20
  13. package/dist/chunks/{ripgrep-qnj1ev0v.js → repository-19zwwnfa.js} +11 -11
  14. package/dist/chunks/{ripgrep-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{ripgrep-2d0eq7f5.js → repository-1mtt7xvh.js} +6 -6
  16. package/dist/chunks/{ripgrep-0spqb8br.js → repository-1n707za3.js} +45 -45
  17. package/dist/chunks/{ripgrep-v88ypzx6.js → repository-1qkgxr4g.js} +11 -11
  18. package/dist/chunks/{ripgrep-ss37jsxd.js → repository-1vcb7p82.js} +11 -11
  19. package/dist/chunks/{ripgrep-5g11er5x.js → repository-1w1f4pd6.js} +7 -7
  20. package/dist/chunks/{ripgrep-mfqp6xfm.js → repository-1ygqh575.js} +6 -6
  21. package/dist/chunks/{ripgrep-21r38tys.js → repository-21r38tys.js} +1 -1
  22. package/dist/chunks/{ripgrep-80scg3y3.js → repository-277eer69.js} +4 -4
  23. package/dist/chunks/{ripgrep-5nf5fkza.js → repository-28jks9yb.js} +15 -15
  24. package/dist/chunks/{ripgrep-jgnf2bvc.js → repository-28w42cxn.js} +12 -12
  25. package/dist/chunks/{ripgrep-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{ripgrep-r4yqrmdq.js → repository-2cmv458r.js} +5 -5
  27. package/dist/chunks/{ripgrep-aj930q3s.js → repository-2w1sghnn.js} +6 -6
  28. package/dist/chunks/{ripgrep-s9mggv36.js → repository-2wt8p97z.js} +15 -15
  29. package/dist/chunks/{ripgrep-bdqrk2vk.js → repository-2y34zzjz.js} +4 -4
  30. package/dist/chunks/{ripgrep-vkchd65f.js → repository-2ydsszd5.js} +4 -4
  31. package/dist/chunks/{ripgrep-c5zhzd6d.js → repository-33djd3yz.js} +17 -17
  32. package/dist/chunks/{ripgrep-464yenze.js → repository-3b9kky5h.js} +33 -33
  33. package/dist/chunks/{ripgrep-wbd0sh62.js → repository-3dktm290.js} +22 -22
  34. package/dist/chunks/{ripgrep-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{ripgrep-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{ripgrep-gpp31qn3.js → repository-3jb78rkx.js} +38 -38
  37. package/dist/chunks/{ripgrep-614e606q.js → repository-3py87nww.js} +20 -20
  38. package/dist/chunks/{ripgrep-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{ripgrep-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{ripgrep-cgkq456e.js → repository-3xyp34gk.js} +17 -17
  41. package/dist/chunks/{ripgrep-hr01dqex.js → repository-3z2k3hnx.js} +25 -25
  42. package/dist/chunks/{ripgrep-ajskgwrh.js → repository-3z9zcdgn.js} +26 -26
  43. package/dist/chunks/{ripgrep-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{ripgrep-8vp0jrea.js → repository-4d9efcsa.js} +3 -3
  45. package/dist/chunks/{ripgrep-s30fyz93.js → repository-4j4tgtq5.js} +4 -4
  46. package/dist/chunks/{ripgrep-40p1p2fq.js → repository-4m95e5xq.js} +15 -15
  47. package/dist/chunks/{ripgrep-84zcxbc9.js → repository-4n607a2z.js} +5 -5
  48. package/dist/chunks/{ripgrep-7d4qx0wr.js → repository-4s80pf4a.js} +11 -11
  49. package/dist/chunks/{ripgrep-a2qe2ev9.js → repository-4w5f3qm5.js} +8 -8
  50. package/dist/chunks/{ripgrep-de52ckkz.js → repository-4wwqnvbr.js} +4 -4
  51. package/dist/chunks/{ripgrep-67r4mtw2.js → repository-50jssn3y.js} +9 -9
  52. package/dist/chunks/{ripgrep-yf4jcbx9.js → repository-51f5btjf.js} +6 -6
  53. package/dist/chunks/{ripgrep-zpmxzwgb.js → repository-52kykq2z.js} +8 -8
  54. package/dist/chunks/{ripgrep-54ma36ye.js → repository-54ma36ye.js} +1 -1
  55. package/dist/chunks/{ripgrep-ckecvw8r.js → repository-54tcyq79.js} +2 -2
  56. package/dist/chunks/{ripgrep-a6znh3jt.js → repository-55b5dnwk.js} +23 -23
  57. package/dist/chunks/{ripgrep-xfkkasph.js → repository-57b9ws8p.js} +7 -7
  58. package/dist/chunks/{ripgrep-57ez7d0k.js → repository-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{ripgrep-5daktx2q.js → repository-5daktx2q.js} +1 -1
  60. package/dist/chunks/{ripgrep-937m9zg6.js → repository-5r2rf0nq.js} +3 -3
  61. package/dist/chunks/{ripgrep-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{ripgrep-3hfr6h8q.js → repository-5xtgfte3.js} +8 -8
  63. package/dist/chunks/{ripgrep-f8yxf6yh.js → repository-63bdqmma.js} +2 -2
  64. package/dist/chunks/{ripgrep-669tq793.js → repository-669tq793.js} +1 -1
  65. package/dist/chunks/repository-678t04nd.js +252 -0
  66. package/dist/chunks/{ripgrep-97ffttsr.js → repository-67zyhdmh.js} +22 -22
  67. package/dist/chunks/{ripgrep-asrgbh96.js → repository-6kzh7v0b.js} +21 -21
  68. package/dist/chunks/{ripgrep-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{ripgrep-5vtq9k1b.js → repository-6pmv43wt.js} +13 -13
  70. package/dist/chunks/{ripgrep-70m7fb3k.js → repository-6pws2pt7.js} +5 -5
  71. package/dist/chunks/{ripgrep-ew2ae9f5.js → repository-6zmn3x4v.js} +12 -12
  72. package/dist/chunks/{ripgrep-ap544ky7.js → repository-71xq2mh9.js} +29 -29
  73. package/dist/chunks/{ripgrep-1bbkgx8g.js → repository-73tb2d7t.js} +3 -3
  74. package/dist/chunks/{ripgrep-46tkexde.js → repository-75s06ger.js} +85 -85
  75. package/dist/chunks/{ripgrep-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{ripgrep-qgn6gcr1.js → repository-7dqw4kz8.js} +5 -5
  77. package/dist/chunks/{ripgrep-1j6r9yf3.js → repository-7j0c068z.js} +30 -30
  78. package/dist/chunks/{ripgrep-harp7y6f.js → repository-7jdgcrb4.js} +26 -26
  79. package/dist/chunks/{ripgrep-atg39wsg.js → repository-7y0vmfhg.js} +11 -11
  80. package/dist/chunks/{ripgrep-drtcq7dv.js → repository-805s2bhx.js} +17 -17
  81. package/dist/chunks/{ripgrep-8d0p2m37.js → repository-83rdsyqm.js} +3 -3
  82. package/dist/chunks/{ripgrep-m1gcv8kj.js → repository-856ceffp.js} +48 -48
  83. package/dist/chunks/{ripgrep-t3fh9vjv.js → repository-86d5j3vh.js} +23 -23
  84. package/dist/chunks/{ripgrep-snrx9wzx.js → repository-86mrmjc9.js} +34 -34
  85. package/dist/chunks/{ripgrep-h6b50tg5.js → repository-87ezq1ce.js} +23 -23
  86. package/dist/chunks/{ripgrep-qr0v61ms.js → repository-886z1dpc.js} +22 -22
  87. package/dist/chunks/{ripgrep-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{ripgrep-5cmxdwv8.js → repository-8jmaqybk.js} +3 -3
  89. package/dist/chunks/{ripgrep-w29ra1z6.js → repository-8m7dbv6d.js} +3 -3
  90. package/dist/chunks/{ripgrep-s7cej264.js → repository-8ta41r54.js} +21 -21
  91. package/dist/chunks/{ripgrep-n00nrqde.js → repository-8w5neka9.js} +35 -35
  92. package/dist/chunks/{ripgrep-tn8eqcjj.js → repository-95crna3w.js} +11 -11
  93. package/dist/chunks/{ripgrep-z508a32f.js → repository-9aj1bw61.js} +25 -25
  94. package/dist/chunks/{ripgrep-vb3rn859.js → repository-9bkvwbce.js} +24 -24
  95. package/dist/chunks/{ripgrep-wexprs6b.js → repository-9fnp4mg3.js} +29 -29
  96. package/dist/chunks/{ripgrep-dbdkqs60.js → repository-a9k4z3j9.js} +20 -20
  97. package/dist/chunks/{ripgrep-aaet6srn.js → repository-aaet6srn.js} +2 -2
  98. package/dist/chunks/{ripgrep-g4ev0w7y.js → repository-aeb41jaw.js} +13 -13
  99. package/dist/chunks/{ripgrep-qq5y994f.js → repository-aezgccn6.js} +18 -18
  100. package/dist/chunks/{ripgrep-aq3yrsfq.js → repository-akrnt5pz.js} +11 -11
  101. package/dist/chunks/{ripgrep-xhfc0ae0.js → repository-aw2a2x8a.js} +5 -5
  102. package/dist/chunks/{ripgrep-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{ripgrep-b446k4sn.js → repository-bdx7mas8.js} +25 -25
  104. package/dist/chunks/{ripgrep-0j45e4a4.js → repository-bedctmvj.js} +33 -33
  105. package/dist/chunks/{ripgrep-z07pqspn.js → repository-bjtzbw4r.js} +3 -3
  106. package/dist/chunks/{ripgrep-qp7sx9de.js → repository-brmf2hf9.js} +30 -30
  107. package/dist/chunks/{ripgrep-5yjg4844.js → repository-bs9hg8dp.js} +12 -12
  108. package/dist/chunks/{ripgrep-73a2vzjg.js → repository-bw624gy4.js} +11 -11
  109. package/dist/chunks/{ripgrep-tb18kw1r.js → repository-c474ncq9.js} +26 -26
  110. package/dist/chunks/{ripgrep-xq1s1hxa.js → repository-cmsgt7am.js} +4 -4
  111. package/dist/chunks/{ripgrep-6wgqnbhb.js → repository-cn62kwfv.js} +30 -30
  112. package/dist/chunks/{ripgrep-97d1gz13.js → repository-cp0ek693.js} +11 -11
  113. package/dist/chunks/{ripgrep-cpy6gm2a.js → repository-cpy6gm2a.js} +1 -1
  114. package/dist/chunks/{ripgrep-sh80pnfr.js → repository-cq8d0ptr.js} +37 -37
  115. package/dist/chunks/{ripgrep-ymtchxmw.js → repository-cszxnbmn.js} +36 -36
  116. package/dist/chunks/{ripgrep-5d607bsg.js → repository-cwa6csj7.js} +9 -9
  117. package/dist/chunks/{ripgrep-1jqh21ez.js → repository-d0kzhv0j.js} +35 -35
  118. package/dist/chunks/{ripgrep-qndte7za.js → repository-dew5gbm6.js} +30 -30
  119. package/dist/chunks/{ripgrep-y71avatq.js → repository-dpkg50ah.js} +4 -4
  120. package/dist/chunks/{ripgrep-nd3632dr.js → repository-e3m0js48.js} +10 -10
  121. package/dist/chunks/{ripgrep-7dftej1j.js → repository-e85g35n7.js} +33 -33
  122. package/dist/chunks/{ripgrep-4ndvwbzn.js → repository-ebmxv542.js} +5 -5
  123. package/dist/chunks/{ripgrep-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
  124. package/dist/chunks/{ripgrep-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{ripgrep-apcpvt2b.js → repository-eg2xygd3.js} +6 -6
  126. package/dist/chunks/{ripgrep-h5r8400x.js → repository-ejeqwj0w.js} +11 -11
  127. package/dist/chunks/{ripgrep-yp4zak5f.js → repository-eqzxj8fj.js} +21 -21
  128. package/dist/chunks/{ripgrep-a48m945n.js → repository-es0x5b7y.js} +15 -15
  129. package/dist/chunks/{ripgrep-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{ripgrep-nndvp20a.js → repository-eypemsfj.js} +26 -26
  131. package/dist/chunks/{ripgrep-q4e7vy2b.js → repository-f6jjas3f.js} +26 -26
  132. package/dist/chunks/{ripgrep-52dfra55.js → repository-fcdb6q1z.js} +10 -10
  133. package/dist/chunks/{ripgrep-dxczsaw9.js → repository-fgkd623f.js} +12 -12
  134. package/dist/chunks/{ripgrep-d5y0ve3n.js → repository-fhb7j999.js} +20 -20
  135. package/dist/chunks/{ripgrep-dqp0ptjh.js → repository-fjmsqycw.js} +6 -6
  136. package/dist/chunks/{ripgrep-fr2byary.js → repository-fkx959jc.js} +20 -20
  137. package/dist/chunks/{ripgrep-9r5kv9cm.js → repository-fmnw2r23.js} +15 -15
  138. package/dist/chunks/{ripgrep-54n8g67r.js → repository-fnpsswcg.js} +11 -11
  139. package/dist/chunks/{ripgrep-vv97ra8n.js → repository-g2042726.js} +11 -11
  140. package/dist/chunks/{ripgrep-n542nw20.js → repository-g2se78h0.js} +15 -15
  141. package/dist/chunks/{ripgrep-jj72jhew.js → repository-g8atgw3j.js} +6 -6
  142. package/dist/chunks/{ripgrep-j6bb8g4d.js → repository-gbwn371a.js} +11 -11
  143. package/dist/chunks/{ripgrep-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{ripgrep-94ek1h2f.js → repository-gfvb90ym.js} +2 -2
  145. package/dist/chunks/{ripgrep-mxfbfm56.js → repository-ghv7h55a.js} +1 -1
  146. package/dist/chunks/{ripgrep-n3vygs5b.js → repository-gmkr1ekh.js} +6 -6
  147. package/dist/chunks/{ripgrep-dnpyyfmr.js → repository-gr7cmsbq.js} +30 -30
  148. package/dist/chunks/{ripgrep-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{ripgrep-bn30swxx.js → repository-gz56tzj2.js} +26 -26
  150. package/dist/chunks/{ripgrep-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{ripgrep-e5jn2fa5.js → repository-hc5t8axk.js} +25 -25
  152. package/dist/chunks/{ripgrep-0bfcnrg1.js → repository-hd8vw2pw.js} +1 -1
  153. package/dist/chunks/{ripgrep-4c2df9zx.js → repository-hpfvhvya.js} +8 -8
  154. package/dist/chunks/{ripgrep-bjb1q8ez.js → repository-hpxs712n.js} +8 -8
  155. package/dist/chunks/{ripgrep-gc0xbwck.js → repository-hrjt4dpr.js} +10 -10
  156. package/dist/chunks/{ripgrep-cp937pt4.js → repository-j34bs4nz.js} +4 -4
  157. package/dist/chunks/{ripgrep-mwymx5eg.js → repository-j4tvhaks.js} +42 -42
  158. package/dist/chunks/{ripgrep-j56e64zr.js → repository-j56e64zr.js} +1 -1
  159. package/dist/chunks/{ripgrep-ce6ce29e.js → repository-j93j9byk.js} +2 -2
  160. package/dist/chunks/{ripgrep-gn14yt0k.js → repository-jcqt8fek.js} +25 -25
  161. package/dist/chunks/{ripgrep-j7y92zpc.js → repository-jjvmyn1y.js} +69 -69
  162. package/dist/chunks/{ripgrep-jv01nqvq.js → repository-jv01nqvq.js} +2 -2
  163. package/dist/chunks/{ripgrep-rpg9c19m.js → repository-jvf3yq6v.js} +4 -4
  164. package/dist/chunks/{ripgrep-2dfsp93b.js → repository-k73wm98n.js} +24 -24
  165. package/dist/chunks/{ripgrep-6hjx5zpb.js → repository-k79tzb9n.js} +8 -8
  166. package/dist/chunks/{ripgrep-4fx0v051.js → repository-kcfw5k6d.js} +7 -7
  167. package/dist/chunks/{ripgrep-4djqy3b1.js → repository-knh73zev.js} +28 -28
  168. package/dist/chunks/{ripgrep-p2szdq98.js → repository-m1m46bga.js} +50 -50
  169. package/dist/chunks/{ripgrep-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  170. package/dist/chunks/{ripgrep-dq0v80fr.js → repository-m88agcr3.js} +5 -5
  171. package/dist/chunks/{ripgrep-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{ripgrep-9xpmj48t.js → repository-mdqw8d12.js} +7 -7
  173. package/dist/chunks/{ripgrep-ng5rtwhy.js → repository-mgp6rfqa.js} +3 -3
  174. package/dist/chunks/{ripgrep-a8bn8zg0.js → repository-mjymc32g.js} +4 -4
  175. package/dist/chunks/{ripgrep-7ab4f44s.js → repository-mkmyr10v.js} +18 -18
  176. package/dist/chunks/{ripgrep-x4k31b5q.js → repository-mmcph4q4.js} +40 -40
  177. package/dist/chunks/{ripgrep-2dch9cv2.js → repository-mpcnc0n1.js} +4 -4
  178. package/dist/chunks/{ripgrep-addxnjmp.js → repository-mpk0rfs5.js} +4 -4
  179. package/dist/chunks/{ripgrep-4vznd14g.js → repository-mvj8ndq3.js} +5 -5
  180. package/dist/chunks/{ripgrep-xwm6bryg.js → repository-mzywpf3p.js} +4 -4
  181. package/dist/chunks/{ripgrep-f5gy8qwh.js → repository-n9k80d2m.js} +8 -8
  182. package/dist/chunks/{ripgrep-qkn179pw.js → repository-nqdgrntv.js} +13 -13
  183. package/dist/chunks/{ripgrep-ez62b8nj.js → repository-ntzq23qa.js} +6 -6
  184. package/dist/chunks/{ripgrep-pj6tenb7.js → repository-nwa29mh0.js} +163 -163
  185. package/dist/chunks/{ripgrep-2wyx13rv.js → repository-ny1k4mkg.js} +4 -4
  186. package/dist/chunks/{ripgrep-k3c624dm.js → repository-nzks3jc8.js} +3 -3
  187. package/dist/chunks/{ripgrep-cznrqaaz.js → repository-p53a8atn.js} +1 -1
  188. package/dist/chunks/{ripgrep-6gsfn1dv.js → repository-p8hnm1nw.js} +31 -31
  189. package/dist/chunks/{ripgrep-y3c47kq2.js → repository-pd23kvzh.js} +15 -15
  190. package/dist/chunks/{ripgrep-n5qb4bnc.js → repository-pjt329ss.js} +3 -3
  191. package/dist/chunks/{ripgrep-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  192. package/dist/chunks/{ripgrep-pknna89w.js → repository-pknna89w.js} +1 -1
  193. package/dist/chunks/{ripgrep-yrdcmk37.js → repository-pqkd14gs.js} +8 -8
  194. package/dist/chunks/{ripgrep-wd3x2cqz.js → repository-psazpmmj.js} +2 -2
  195. package/dist/chunks/{ripgrep-bm12swdw.js → repository-pv4awm7k.js} +11 -11
  196. package/dist/chunks/{ripgrep-rgwtw4pk.js → repository-pykzy8ep.js} +16 -16
  197. package/dist/chunks/{ripgrep-29jfjc42.js → repository-pztqrn0p.js} +11 -11
  198. package/dist/chunks/{ripgrep-7nm77vb3.js → repository-q9s2wchy.js} +3 -3
  199. package/dist/chunks/{ripgrep-72mdmaav.js → repository-qab3c6m1.js} +14 -14
  200. package/dist/chunks/{ripgrep-atvavzdr.js → repository-qbwywm89.js} +5 -5
  201. package/dist/chunks/{ripgrep-j3s2z371.js → repository-qg0jgkcp.js} +9 -9
  202. package/dist/chunks/{ripgrep-2wts5qzq.js → repository-qp3v07n2.js} +5 -5
  203. package/dist/chunks/{ripgrep-6ydrntg5.js → repository-qscpncy3.js} +6 -6
  204. package/dist/chunks/{ripgrep-qsdy395h.js → repository-qsdy395h.js} +1 -1
  205. package/dist/chunks/{ripgrep-dqx57jvk.js → repository-qzy69xxq.js} +7 -7
  206. package/dist/chunks/{ripgrep-8v9axdqq.js → repository-r3pe7rtq.js} +20 -20
  207. package/dist/chunks/{ripgrep-e6te0wgx.js → repository-r5vjqpht.js} +10 -10
  208. package/dist/chunks/{ripgrep-dppfvz3f.js → repository-r8mtfjmr.js} +13 -13
  209. package/dist/chunks/repository-rap9a73h.js +18 -0
  210. package/dist/chunks/{ripgrep-qa3qhgw8.js → repository-ratrq7cm.js} +4 -4
  211. package/dist/chunks/{ripgrep-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{ripgrep-ndhs64pk.js → repository-rn3nfvms.js} +9 -9
  213. package/dist/chunks/{ripgrep-1ynb6qa0.js → repository-rswr9y71.js} +20 -20
  214. package/dist/chunks/{ripgrep-669mnavw.js → repository-rvfwzs2a.js} +21 -21
  215. package/dist/chunks/repository-rvs18j5z.js +507 -0
  216. package/dist/chunks/{ripgrep-9979gqg8.js → repository-s182s2zc.js} +54 -54
  217. package/dist/chunks/{ripgrep-y5mjhv0c.js → repository-s1bapamg.js} +4 -4
  218. package/dist/chunks/{ripgrep-eaj1djv9.js → repository-s8d7rejh.js} +6 -6
  219. package/dist/chunks/{ripgrep-3tfp5dh2.js → repository-scyxybgw.js} +8 -8
  220. package/dist/chunks/{ripgrep-vg7bdtvb.js → repository-sf5yjpcs.js} +9 -9
  221. package/dist/chunks/{ripgrep-xm47dg1f.js → repository-src5ze84.js} +4 -4
  222. package/dist/chunks/{ripgrep-4hkxpksb.js → repository-sv5c2zxk.js} +27 -27
  223. package/dist/chunks/{ripgrep-tn0aqsam.js → repository-t0fxg8b9.js} +5 -5
  224. package/dist/chunks/{ripgrep-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  225. package/dist/chunks/repository-tbqg5x42.js +26 -0
  226. package/dist/chunks/{ripgrep-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{ripgrep-a8zr1srk.js → repository-tdhe5xga.js} +8 -8
  228. package/dist/chunks/{ripgrep-tdstcens.js → repository-tdstcens.js} +1 -1
  229. package/dist/chunks/{ripgrep-q826ync2.js → repository-thtzhryg.js} +15 -15
  230. package/dist/chunks/{ripgrep-tvtrv512.js → repository-tvtrv512.js} +1 -1
  231. package/dist/chunks/{ripgrep-g3p8qp1x.js → repository-v5p1ehqe.js} +10 -10
  232. package/dist/chunks/{ripgrep-x3ggs2d6.js → repository-v84na98c.js} +12 -12
  233. package/dist/chunks/{ripgrep-xdfgknmx.js → repository-v9atbmms.js} +19 -19
  234. package/dist/chunks/{ripgrep-qpwf5ett.js → repository-vac7npjk.js} +8 -8
  235. package/dist/chunks/{ripgrep-cpgvmsmz.js → repository-vc31r3zd.js} +9 -9
  236. package/dist/chunks/{ripgrep-veqvce7d.js → repository-veqvce7d.js} +1 -1
  237. package/dist/chunks/{ripgrep-svxtz2p3.js → repository-vgb6a2zp.js} +23 -23
  238. package/dist/chunks/{ripgrep-91wvh588.js → repository-vh8736dd.js} +6 -6
  239. package/dist/chunks/{ripgrep-sx1n432n.js → repository-vncycja5.js} +4 -4
  240. package/dist/chunks/{ripgrep-g0qymqv1.js → repository-vndcnmc3.js} +25 -25
  241. package/dist/chunks/{ripgrep-54j2g604.js → repository-vpy2jm9e.js} +5 -5
  242. package/dist/chunks/{ripgrep-ea8e1byc.js → repository-vxssw4qv.js} +38 -38
  243. package/dist/chunks/{ripgrep-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{ripgrep-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
  245. package/dist/chunks/{ripgrep-84txncab.js → repository-w1eejvng.js} +5 -5
  246. package/dist/chunks/{ripgrep-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{ripgrep-py3kkmfq.js → repository-w92k2e0p.js} +8 -8
  248. package/dist/chunks/{ripgrep-fqhn89qk.js → repository-w9bdab02.js} +32 -32
  249. package/dist/chunks/{ripgrep-fvy6pxa1.js → repository-w9e6cfzq.js} +21 -21
  250. package/dist/chunks/{ripgrep-6g6nvm69.js → repository-wa5jcfmw.js} +16 -16
  251. package/dist/chunks/{ripgrep-wd87259q.js → repository-wd87259q.js} +1 -1
  252. package/dist/chunks/{ripgrep-6dwdgb0a.js → repository-wdea4gcq.js} +5 -5
  253. package/dist/chunks/{ripgrep-hw1tkaa7.js → repository-wj9mseqa.js} +16 -16
  254. package/dist/chunks/{ripgrep-vmgq4x8b.js → repository-x0600czv.js} +2 -2
  255. package/dist/chunks/{ripgrep-eqd5qykg.js → repository-x0skcyz0.js} +13 -13
  256. package/dist/chunks/{ripgrep-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{ripgrep-avzdjs5z.js → repository-x3pdy2ky.js} +6 -6
  258. package/dist/chunks/{ripgrep-hjpq76f0.js → repository-x4x4w9ve.js} +20 -20
  259. package/dist/chunks/{ripgrep-3fn1d266.js → repository-x8e57zem.js} +10 -10
  260. package/dist/chunks/{ripgrep-j4g07zwy.js → repository-x8x9h4hg.js} +27 -27
  261. package/dist/chunks/{ripgrep-te91bpk3.js → repository-xbepgsdw.js} +24 -24
  262. package/dist/chunks/{ripgrep-h90y3pkt.js → repository-xee1h9b3.js} +13 -13
  263. package/dist/chunks/{ripgrep-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{ripgrep-ner28t5a.js → repository-xr3qtd12.js} +84 -84
  265. package/dist/chunks/{ripgrep-g5agzp2h.js → repository-xvp1j2dc.js} +5 -5
  266. package/dist/chunks/{ripgrep-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{ripgrep-rx84aht4.js → repository-y1hpjhb0.js} +18 -18
  268. package/dist/chunks/{ripgrep-3b9qt4hj.js → repository-y54hr7f3.js} +9 -9
  269. package/dist/chunks/{ripgrep-9gqwmv79.js → repository-y6zfrytz.js} +9 -9
  270. package/dist/chunks/{ripgrep-2f7cedef.js → repository-ybw404hh.js} +24 -24
  271. package/dist/chunks/{ripgrep-e7ncmn5y.js → repository-yees5yn6.js} +15 -15
  272. package/dist/chunks/{ripgrep-jpcvf65v.js → repository-yfychzeb.js} +6 -6
  273. package/dist/chunks/{ripgrep-v2p4rfxw.js → repository-yn6k8b68.js} +6 -6
  274. package/dist/chunks/{ripgrep-5848hxr9.js → repository-ynmv8dbs.js} +11 -11
  275. package/dist/chunks/{ripgrep-yp2x3t23.js → repository-yp2x3t23.js} +1 -1
  276. package/dist/chunks/{ripgrep-qbbmae1w.js → repository-yqy8qetg.js} +5 -5
  277. package/dist/chunks/{ripgrep-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{ripgrep-yrznvahk.js → repository-yrznvahk.js} +2 -2
  279. package/dist/chunks/{ripgrep-0f9afca0.js → repository-yt0fqk68.js} +5 -5
  280. package/dist/chunks/{ripgrep-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{ripgrep-pymq7jkz.js → repository-z0xq2v1s.js} +8 -8
  282. package/dist/chunks/{ripgrep-bv8nht0w.js → repository-z4djtsmk.js} +48 -48
  283. package/dist/chunks/{ripgrep-z63w68vq.js → repository-z63w68vq.js} +2 -2
  284. package/dist/chunks/{ripgrep-sypvhjmn.js → repository-z83thqvg.js} +18 -18
  285. package/dist/chunks/{ripgrep-dnwg479b.js → repository-ze7g7145.js} +18 -18
  286. package/dist/chunks/{ripgrep-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{ripgrep-hnefe9tq.js → repository-zexqyf06.js} +44 -44
  288. package/dist/chunks/{ripgrep-wnj5dgs2.js → repository-zknh836p.js} +14 -14
  289. package/dist/chunks/{ripgrep-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{ripgrep-s5v1wr1y.js → repository-zrs9t7hx.js} +14 -14
  291. package/dist/chunks/{ripgrep-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  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 +82 -82
  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 +215 -215
  302. package/dist/config/plugin/compaction.js +161 -161
  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 +125 -125
  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 +126 -126
  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 +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  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/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +228 -228
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +11 -11
  430. package/dist/filesystem.js +102 -102
  431. package/dist/form.js +84 -84
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +99 -99
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +87 -87
  465. package/dist/job.js +77 -77
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +359 -359
  472. package/dist/location.js +81 -81
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +109 -109
  476. package/dist/mcp/instructions.js +129 -129
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +99 -99
  481. package/dist/model-resolver.js +96 -96
  482. package/dist/model.js +100 -100
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +115 -115
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +86 -86
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +104 -104
  494. package/dist/plugin/command.js +102 -102
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +219 -219
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +334 -334
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +95 -95
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +78 -78
  522. package/dist/plugin/provider/lmstudio.js +122 -122
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +95 -95
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +79 -79
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +162 -162
  541. package/dist/plugin/sdk.js +74 -74
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +141 -141
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +353 -353
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +4 -4
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +228 -228
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +80 -80
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +74 -74
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +153 -153
  579. package/dist/session/diff.js +88 -88
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +222 -222
  584. package/dist/session/execution.js +128 -128
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +88 -88
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +97 -97
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +130 -130
  597. package/dist/session/projector.js +86 -86
  598. package/dist/session/prompt.js +105 -105
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +90 -90
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +232 -232
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +98 -98
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +4 -4
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +170 -170
  612. package/dist/session/shell.js +138 -138
  613. package/dist/session/skill.js +103 -103
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +73 -73
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +211 -211
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +157 -157
  621. package/dist/session/to-session-error.js +111 -111
  622. package/dist/session/transfer.js +215 -215
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  629. package/dist/shell.js +138 -138
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +126 -126
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +122 -122
  642. package/dist/tool/plugin/mcp-resource.js +117 -117
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +101 -101
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +218 -218
  648. package/dist/tool/plugin/skill.js +111 -111
  649. package/dist/tool/plugin/subagent.js +220 -220
  650. package/dist/tool/plugin/webfetch.js +104 -104
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +100 -100
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +14 -14
  657. package/dist/types/session/error.d.ts +5 -0
  658. package/dist/types/session/history.d.ts +48 -0
  659. package/dist/types/session/transfer.d.ts +30 -0
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +5 -5
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +14 -14
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/formatter.js +3 -3
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +1 -1
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +3 -3
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +2 -2
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +82 -82
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +5 -5
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +85 -85
  699. package/dist/worktree.js +92 -92
  700. package/package.json +8 -8
  701. package/dist/chunks/ripgrep-0qk019jc.js +0 -26
  702. package/dist/chunks/ripgrep-34d822yn.js +0 -252
  703. package/dist/chunks/ripgrep-9seqqng0.js +0 -507
  704. package/dist/chunks/ripgrep-v1faaxn9.js +0 -18
  705. /package/dist/chunks/{ripgrep-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{ripgrep-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{ripgrep-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{ripgrep-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{ripgrep-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{ripgrep-24dcb14g.js → repository-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{ripgrep-2710q6r3.js → repository-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{ripgrep-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{ripgrep-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{ripgrep-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{ripgrep-359p4xyc.js → repository-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{ripgrep-3asan66x.js → repository-3asan66x.js} +0 -0
  717. /package/dist/chunks/{ripgrep-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{ripgrep-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{ripgrep-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{ripgrep-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{ripgrep-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{ripgrep-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{ripgrep-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{ripgrep-53557ph1.js → repository-53557ph1.js} +0 -0
  725. /package/dist/chunks/{ripgrep-550bvhaj.js → repository-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{ripgrep-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{ripgrep-6prwharc.js → repository-6prwharc.js} +0 -0
  728. /package/dist/chunks/{ripgrep-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{ripgrep-7m9af43g.js → repository-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{ripgrep-822emrt2.js → repository-822emrt2.js} +0 -0
  731. /package/dist/chunks/{ripgrep-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{ripgrep-8n3pysct.js → repository-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{ripgrep-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{ripgrep-922hggd3.js → repository-922hggd3.js} +0 -0
  735. /package/dist/chunks/{ripgrep-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{ripgrep-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{ripgrep-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{ripgrep-af5trqkr.js → repository-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{ripgrep-afrmfg78.js → repository-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{ripgrep-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{ripgrep-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{ripgrep-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{ripgrep-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{ripgrep-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{ripgrep-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{ripgrep-d9fn303g.js → repository-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{ripgrep-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{ripgrep-dajrwvna.js → repository-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{ripgrep-dap0rakb.js → repository-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{ripgrep-df08tz66.js → repository-df08tz66.js} +0 -0
  751. /package/dist/chunks/{ripgrep-dy18nga0.js → repository-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{ripgrep-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{ripgrep-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{ripgrep-ec1grn59.js → repository-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{ripgrep-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{ripgrep-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{ripgrep-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{ripgrep-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{ripgrep-faypxj3z.js → repository-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{ripgrep-fd410y7t.js → repository-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{ripgrep-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{ripgrep-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{ripgrep-g86h250q.js → repository-g86h250q.js} +0 -0
  764. /package/dist/chunks/{ripgrep-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{ripgrep-gftt206x.js → repository-gftt206x.js} +0 -0
  766. /package/dist/chunks/{ripgrep-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{ripgrep-hk9envan.js → repository-hk9envan.js} +0 -0
  768. /package/dist/chunks/{ripgrep-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{ripgrep-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{ripgrep-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{ripgrep-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{ripgrep-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{ripgrep-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{ripgrep-mp448xyj.js → repository-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{ripgrep-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{ripgrep-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{ripgrep-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{ripgrep-njntx4h6.js → repository-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{ripgrep-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{ripgrep-q74kybfr.js → repository-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{ripgrep-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{ripgrep-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{ripgrep-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{ripgrep-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{ripgrep-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{ripgrep-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{ripgrep-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{ripgrep-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{ripgrep-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{ripgrep-w803qqfp.js → repository-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{ripgrep-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{ripgrep-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{ripgrep-wtztk69x.js → repository-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{ripgrep-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{ripgrep-x61499pn.js → repository-x61499pn.js} +0 -0
  796. /package/dist/chunks/{ripgrep-y44na4kk.js → repository-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{ripgrep-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{ripgrep-y8f7s663.js → repository-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{ripgrep-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{ripgrep-ym463w8f.js → repository-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{ripgrep-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./ripgrep-7nm77vb3.js";
4
+ } from "./repository-q9s2wchy.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service83,
8
8
  node87
9
- } from "./ripgrep-vkchd65f.js";
9
+ } from "./repository-2ydsszd5.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./ripgrep-5t3nmthw.js";
12
+ } from "./repository-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./ripgrep-ec1grn59.js";
15
+ } from "./repository-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./ripgrep-3tfp5dh2.js";
18
+ } from "./repository-scyxybgw.js";
19
19
  import {
20
- Service77,
21
- node81
22
- } from "./ripgrep-s5v1wr1y.js";
20
+ Service69,
21
+ node73
22
+ } from "./repository-zrs9t7hx.js";
23
23
  import {
24
- Service25,
25
- node28
26
- } from "./ripgrep-ner28t5a.js";
24
+ Service30,
25
+ node34
26
+ } from "./repository-xr3qtd12.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./ripgrep-tdstcens.js";
30
+ } from "./repository-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./ripgrep-9rqn6x4v.js";
33
+ } from "./repository-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service12,
38
+ Service: () => Service2,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer7,
42
- node: () => node14
41
+ layer: () => layer3,
42
+ node: () => node3
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service12 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service2 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer7 = Layer.effect(Service12, Effect.gen(function* () {
61
+ var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
62
  const bus = yield* Service83;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service25;
65
- const store = yield* Service77;
64
+ const context = yield* Service30;
65
+ const store = yield* Service69;
66
66
  const db = (yield* Service84).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service12.of({ generate });
148
+ return Service2.of({ generate });
149
149
  }));
150
- var node14 = makeLocationNode({
151
- service: Service12,
152
- layer: layer7,
153
- deps: [node87, llmClient2, node28, node81, node88]
150
+ var node3 = makeLocationNode({
151
+ service: Service2,
152
+ layer: layer3,
153
+ deps: [node87, llmClient2, node34, node73, node88]
154
154
  });
155
155
 
156
- export { Service12, isUntitled2, layer7, node14, exports_title };
156
+ export { Service2, isUntitled2, layer3, node3, exports_title };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service47
4
- } from "./ripgrep-x4k31b5q.js";
3
+ Service55
4
+ } from "./repository-mmcph4q4.js";
5
5
  import {
6
6
  observe2
7
- } from "./ripgrep-qsdy395h.js";
7
+ } from "./repository-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./ripgrep-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch = {};
14
- __export(exports_websearch, {
15
- ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin7
13
+ var exports_websearch2 = {};
14
+ __export(exports_websearch2, {
15
+ ConfigWebSearchPlugin: () => exports_websearch2,
16
+ Plugin: () => Plugin42
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin7 = define({
20
+ var Plugin42 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service47;
23
+ const config = yield* Service55;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin7 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin7, exports_websearch };
35
+ export { Plugin42, exports_websearch2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./ripgrep-7nm77vb3.js";
4
+ } from "./repository-q9s2wchy.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./ripgrep-ckecvw8r.js";
7
+ } from "./repository-54tcyq79.js";
8
8
  import {
9
9
  __export
10
- } from "./ripgrep-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID14,
17
- Info: () => Info28,
18
- ListInput: () => ListInput4,
16
+ ID: () => ID10,
17
+ Info: () => Info23,
18
+ ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service76,
21
- node: () => node80
20
+ Service: () => Service70,
21
+ node: () => node74
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID14 = PermissionSaved.ID;
29
- var Info28 = PermissionSaved.Info;
30
- var ListInput4 = Schema.Struct({
28
+ var ID10 = PermissionSaved.ID;
29
+ var Info23 = PermissionSaved.Info;
30
+ var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service76 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service70 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service76, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID14.create(),
60
+ id: ID10.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service76.of({ list, add, remove });
69
+ return Service70.of({ list, add, remove });
70
70
  }));
71
- var node80 = makeGlobalNode({ service: Service76, layer, deps: [node88] });
71
+ var node74 = makeGlobalNode({ service: Service70, layer, deps: [node88] });
72
72
 
73
- export { ID14, Info28, ListInput4, AddInput2, Service76, node80, exports_saved };
73
+ export { ID10, Info23, ListInput5, AddInput2, Service70, node74, exports_saved };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service82
3
- } from "./ripgrep-dq0v80fr.js";
3
+ } from "./repository-m88agcr3.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./ripgrep-gv6a8nnw.js";
7
+ } from "./repository-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./ripgrep-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./ripgrep-y71avatq.js";
3
+ } from "./repository-dpkg50ah.js";
4
4
  import {
5
5
  Service83,
6
6
  node87
7
- } from "./ripgrep-vkchd65f.js";
7
+ } from "./repository-2ydsszd5.js";
8
8
  import {
9
- Event15,
10
- Service67,
11
- node71
12
- } from "./ripgrep-1j6r9yf3.js";
9
+ Event18,
10
+ Service75,
11
+ node79
12
+ } from "./repository-7j0c068z.js";
13
13
  import {
14
14
  Service80,
15
15
  node84
16
- } from "./ripgrep-ce6ce29e.js";
16
+ } from "./repository-j93j9byk.js";
17
17
  import {
18
- Service60,
19
- node62
20
- } from "./ripgrep-s7cej264.js";
18
+ Service63,
19
+ node66
20
+ } from "./repository-8ta41r54.js";
21
21
  import {
22
- ID11,
23
- Service71,
24
- node75
25
- } from "./ripgrep-gn14yt0k.js";
22
+ ID16,
23
+ Service76,
24
+ node80
25
+ } from "./repository-jcqt8fek.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./ripgrep-rdw6cm16.js";
29
+ } from "./repository-rdw6cm16.js";
30
30
  import {
31
- ID9,
31
+ ID14,
32
32
  MethodID2,
33
- Service66,
34
- node70
35
- } from "./ripgrep-dnpyyfmr.js";
33
+ Service74,
34
+ node78
35
+ } from "./repository-gr7cmsbq.js";
36
36
  import {
37
37
  __export
38
- } from "./ripgrep-9rqn6x4v.js";
38
+ } from "./repository-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError5,
45
+ Options: () => Options5,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service31,
52
+ Service: () => Service38,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured3,
56
- layer: () => layer12,
57
- node: () => node34
55
+ configured: () => configured5,
56
+ layer: () => layer16,
57
+ node: () => node41
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
91
91
  var endpointLoads = makeUnsafe2();
92
92
  var cloneConfig = (config) => structuredClone(config);
93
93
 
94
- class Service31 extends Context.Service()("@opencode/MCP") {
94
+ class Service38 extends Context.Service()("@opencode/MCP") {
95
95
  }
96
- var Options3 = Schema.Struct({
96
+ var Options5 = Schema.Struct({
97
97
  clientInfo: Schema.optional(Schema.Struct({
98
98
  name: Schema.String,
99
99
  version: Schema.String
100
100
  }))
101
101
  });
102
- var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
102
+ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
103
103
  const location = yield* Service80;
104
- const environment = yield* Service60;
104
+ const environment = yield* Service63;
105
105
  const bus = yield* Service83;
106
- const forms = yield* Service71;
107
- const integration = yield* Service66;
108
- const credentials = yield* Service67;
106
+ const forms = yield* Service76;
107
+ const integration = yield* Service74;
108
+ const credentials = yield* Service75;
109
109
  const root = yield* Effect.scope;
110
110
  const fork = yield* FiberSet.makeRuntime();
111
111
  const entries = new Map;
@@ -117,7 +117,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
117
117
  return;
118
118
  const remote = entry.config;
119
119
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
120
- const integrationID = ID9.make(suffix);
120
+ const integrationID = ID14.make(suffix);
121
121
  entry.integrationID = integrationID;
122
122
  owned.add(integrationID);
123
123
  const methodID = MethodID2.make(suffix);
@@ -133,7 +133,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
133
133
  method: { id: methodID, type: "oauth", label: name },
134
134
  authorize: () => Effect.gen(function* () {
135
135
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
136
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service67, credentials));
136
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
137
137
  })
138
138
  });
139
139
  }).pipe(Scope.provide(scope));
@@ -142,19 +142,19 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
142
142
  const name = ServerName2.make(server);
143
143
  const entry = entries.get(name);
144
144
  if (!entry)
145
- return yield* new NotFoundError3({ server: name });
145
+ return yield* new NotFoundError5({ server: name });
146
146
  return { name, entry };
147
147
  });
148
148
  const connectProvider = Effect.fnUntraced(function* (entry) {
149
149
  if (entry.config.type !== "remote" || !entry.integrationID)
150
150
  return;
151
151
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
152
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service67, credentials));
152
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
153
153
  });
154
154
  const elicitation = {
155
155
  create: (input) => Effect.gen(function* () {
156
156
  if (input.params.mode === "url") {
157
- const formID = ID11.create();
157
+ const formID = ID16.create();
158
158
  const elicitationID = input.params.elicitationId;
159
159
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
160
160
  if (key)
@@ -257,7 +257,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
257
257
  entry.scope = scope;
258
258
  const authProvider = yield* connectProvider(entry);
259
259
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
260
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service60, environment), Scope.provide(scope));
260
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope));
261
261
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
262
262
  if (Exit.isSuccess(result)) {
263
263
  entry.client = result.value.connection;
@@ -382,7 +382,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
382
382
  yield* startServer(name, entry);
383
383
  }).pipe(locks.withLock(name));
384
384
  });
385
- fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
385
+ fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
386
386
  const state = create3({
387
387
  name: "mcp",
388
388
  initial: () => ({
@@ -408,7 +408,7 @@ var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
408
408
  }),
409
409
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
410
410
  });
411
- return Service31.of({
411
+ return Service38.of({
412
412
  transform: state.transform,
413
413
  reload: state.reload,
414
414
  servers: Effect.fn("MCP.servers")(function* () {
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
514
514
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
515
515
  });
516
516
  }
517
- function configured3(options) {
517
+ function configured5(options) {
518
518
  return makeLocationNode({
519
- service: Service31,
520
- layer: layer12(options),
521
- deps: [node84, node62, node87, node75, node70, node71]
519
+ service: Service38,
520
+ layer: layer16(options),
521
+ deps: [node84, node66, node87, node80, node78, node79]
522
522
  });
523
523
  }
524
- var node34 = configured3();
524
+ var node41 = configured5();
525
525
  function toElicitationField(key, property, required) {
526
526
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
527
527
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
572
572
  }
573
573
  }
574
574
 
575
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service31, Options3, layer12, configured3, node34, exports_mcp4 };
575
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service38, Options5, layer16, configured5, node41, exports_mcp4 };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./ripgrep-922hggd3.js";
5
+ } from "./repository-922hggd3.js";
6
6
  import {
7
7
  Service80,
8
8
  node84
9
- } from "./ripgrep-ce6ce29e.js";
9
+ } from "./repository-j93j9byk.js";
10
10
  import {
11
- Service16,
12
- node18
13
- } from "./ripgrep-z508a32f.js";
11
+ Service26,
12
+ node29
13
+ } from "./repository-9aj1bw61.js";
14
14
  import {
15
15
  __export
16
- } from "./ripgrep-9rqn6x4v.js";
16
+ } from "./repository-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event2,
25
+ Event: () => Event7,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
30
  ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError2,
32
+ NotFoundError: () => NotFoundError4,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service15,
34
+ Service: () => Service25,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node17
38
+ node: () => node28
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event2 = FileSystem.Event;
88
+ var Event7 = FileSystem.Event;
89
89
 
90
- class Service15 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service25 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service25, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
94
  const location = yield* Service80;
95
- const search = yield* Service16;
95
+ const search = yield* Service26;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service15.of({
106
+ return Service25.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node17 = makeLocationNode({
144
- service: Service15,
143
+ var node28 = makeLocationNode({
144
+ service: Service25,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node84, node18]
146
+ deps: [FSUtil.node, node84, node29]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service25, node28, exports_filesystem, Entry2, Match2, Submatch2 };