@opencode/core 0.0.0-dev-19936 → 0.0.0-dev-19937

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{vcs-06dxphr1.js → persistent-pty-06dxphr1.js} +1 -1
  8. package/dist/chunks/{vcs-47b46ckc.js → persistent-pty-0akym11d.js} +16 -16
  9. package/dist/chunks/{vcs-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
  10. package/dist/chunks/{vcs-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{vcs-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{vcs-fvmzft5f.js → persistent-pty-0rqdjtcb.js} +4 -4
  13. package/dist/chunks/{vcs-9qdxdzys.js → persistent-pty-0zkrmmra.js} +13 -13
  14. package/dist/chunks/{vcs-avdnydw5.js → persistent-pty-13f6jh0f.js} +25 -25
  15. package/dist/chunks/{vcs-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{vcs-4sgj07f0.js → persistent-pty-1g2zd6q9.js} +3 -3
  17. package/dist/chunks/{vcs-8jrz81g3.js → persistent-pty-1p0trksj.js} +6 -6
  18. package/dist/chunks/{vcs-tr206bvd.js → persistent-pty-1w7qre35.js} +35 -35
  19. package/dist/chunks/{vcs-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  20. package/dist/chunks/{vcs-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
  21. package/dist/chunks/{vcs-g2y5hfts.js → persistent-pty-26v7198b.js} +25 -25
  22. package/dist/chunks/{vcs-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{vcs-csxdrzv8.js → persistent-pty-2gbsvbx5.js} +12 -12
  24. package/dist/chunks/{vcs-pstxsap6.js → persistent-pty-2hsgj57k.js} +23 -23
  25. package/dist/chunks/{vcs-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
  26. package/dist/chunks/{vcs-dr8rk799.js → persistent-pty-2rnnjxth.js} +5 -5
  27. package/dist/chunks/{vcs-6kga2vek.js → persistent-pty-2wzrjk5c.js} +30 -30
  28. package/dist/chunks/{vcs-5qkxfyep.js → persistent-pty-2y34zzjz.js} +4 -4
  29. package/dist/chunks/{vcs-a4ygzzn7.js → persistent-pty-2ym62d1y.js} +1 -1
  30. package/dist/chunks/{vcs-z0aj456m.js → persistent-pty-3ewed21c.js} +4 -4
  31. package/dist/chunks/{vcs-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{vcs-2y4j37hv.js → persistent-pty-3fs6smyb.js} +11 -11
  33. package/dist/chunks/{vcs-a54p35w8.js → persistent-pty-3gs18der.js} +22 -22
  34. package/dist/chunks/{vcs-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{vcs-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{vcs-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{vcs-3cfzdc8e.js → persistent-pty-3w0fmcng.js} +5 -5
  38. package/dist/chunks/{vcs-9zt3rpbx.js → persistent-pty-4113bgx8.js} +9 -9
  39. package/dist/chunks/{vcs-zgs7zzqg.js → persistent-pty-41ssmn02.js} +78 -78
  40. package/dist/chunks/{vcs-hx4rvhe7.js → persistent-pty-431eg44t.js} +6 -6
  41. package/dist/chunks/{vcs-knb7evpn.js → persistent-pty-44ke2mar.js} +2 -2
  42. package/dist/chunks/{vcs-z6xvyrz8.js → persistent-pty-4acetgwp.js} +2 -2
  43. package/dist/chunks/{vcs-b78gz254.js → persistent-pty-4e13r3ts.js} +16 -16
  44. package/dist/chunks/{vcs-jbvv2m36.js → persistent-pty-4kg54np8.js} +16 -16
  45. package/dist/chunks/{vcs-gm22bbjf.js → persistent-pty-4pxrwfad.js} +21 -21
  46. package/dist/chunks/{vcs-7xysjcne.js → persistent-pty-4vdcjjmt.js} +9 -9
  47. package/dist/chunks/{vcs-v2j8ahbr.js → persistent-pty-4yy5d4qw.js} +1 -1
  48. package/dist/chunks/{vcs-3v5p2af4.js → persistent-pty-4z7tbtat.js} +6 -6
  49. package/dist/chunks/{vcs-h189dv89.js → persistent-pty-5531r29v.js} +19 -19
  50. package/dist/chunks/{vcs-mhxfxc91.js → persistent-pty-554knveg.js} +44 -44
  51. package/dist/chunks/{vcs-mfqp6xfm.js → persistent-pty-56gdpj1q.js} +6 -6
  52. package/dist/chunks/{vcs-fydb8hdh.js → persistent-pty-57sn279e.js} +10 -10
  53. package/dist/chunks/{vcs-5c4hm403.js → persistent-pty-5c4hm403.js} +3 -3
  54. package/dist/chunks/{vcs-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  55. package/dist/chunks/{vcs-yrwszt74.js → persistent-pty-5dbxvay1.js} +29 -29
  56. package/dist/chunks/{vcs-z9e3n7tj.js → persistent-pty-5h8807ma.js} +15 -15
  57. package/dist/chunks/{vcs-7y8kks1y.js → persistent-pty-5rfwsh5d.js} +3 -3
  58. package/dist/chunks/{vcs-w170pgjs.js → persistent-pty-5rt7pep6.js} +6 -6
  59. package/dist/chunks/{vcs-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{vcs-0x71c255.js → persistent-pty-61h0qsnp.js} +10 -10
  61. package/dist/chunks/{vcs-8r5e5k2b.js → persistent-pty-63mpdmm6.js} +32 -32
  62. package/dist/chunks/{vcs-zvkdwvzy.js → persistent-pty-65w3833t.js} +13 -13
  63. package/dist/chunks/{vcs-669tq793.js → persistent-pty-669tq793.js} +1 -1
  64. package/dist/chunks/{vcs-1g3fsypj.js → persistent-pty-68tggvtb.js} +9 -9
  65. package/dist/chunks/{vcs-3zssdy64.js → persistent-pty-69cccy7z.js} +16 -16
  66. package/dist/chunks/{vcs-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{vcs-3pbjq009.js → persistent-pty-6n88yxkj.js} +8 -8
  68. package/dist/chunks/{vcs-39zd88tj.js → persistent-pty-6p5ms1em.js} +21 -21
  69. package/dist/chunks/{vcs-812nv9mx.js → persistent-pty-6p7zr8ep.js} +3 -3
  70. package/dist/chunks/{vcs-c5sgv8bh.js → persistent-pty-6tr59r50.js} +20 -20
  71. package/dist/chunks/{vcs-ecdgphmt.js → persistent-pty-6vrsc7tt.js} +18 -18
  72. package/dist/chunks/{vcs-pzn0jms3.js → persistent-pty-6yh2fsej.js} +11 -11
  73. package/dist/chunks/{vcs-6ta9z22m.js → persistent-pty-6zthmp17.js} +30 -30
  74. package/dist/chunks/{vcs-2mpk35kb.js → persistent-pty-71vt42kc.js} +3 -3
  75. package/dist/chunks/{vcs-sr0e3xdc.js → persistent-pty-74fmk9vn.js} +12 -12
  76. package/dist/chunks/{vcs-w6bagakh.js → persistent-pty-75q2ps1k.js} +1 -1
  77. package/dist/chunks/{vcs-qsaqrdx1.js → persistent-pty-78b8afjy.js} +11 -11
  78. package/dist/chunks/{vcs-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{vcs-3b9j3znx.js → persistent-pty-7fmgbjr3.js} +9 -9
  80. package/dist/chunks/persistent-pty-7h3cdw3p.js +252 -0
  81. package/dist/chunks/{vcs-nawy2c6h.js → persistent-pty-7s8gb34t.js} +30 -30
  82. package/dist/chunks/{vcs-1129d28p.js → persistent-pty-82ahnwkf.js} +20 -20
  83. package/dist/chunks/{vcs-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{vcs-0ekmhm49.js → persistent-pty-8hz3g5y0.js} +19 -19
  85. package/dist/chunks/{vcs-7fmqyxrg.js → persistent-pty-8y3s9r1h.js} +6 -6
  86. package/dist/chunks/{vcs-h9hj8dvh.js → persistent-pty-90y57r1y.js} +16 -16
  87. package/dist/chunks/{vcs-xn3k6s4r.js → persistent-pty-92xv3hjf.js} +20 -20
  88. package/dist/chunks/{vcs-5rj8bxsq.js → persistent-pty-9c77jpjf.js} +1 -1
  89. package/dist/chunks/{vcs-pakcngh0.js → persistent-pty-9ex8f1cq.js} +8 -8
  90. package/dist/chunks/{vcs-cgqr5041.js → persistent-pty-9h0hyds4.js} +17 -17
  91. package/dist/chunks/{vcs-7bx1v618.js → persistent-pty-9tx45s8b.js} +40 -40
  92. package/dist/chunks/{vcs-nng2ktcm.js → persistent-pty-a3r4dcrj.js} +2 -2
  93. package/dist/chunks/persistent-pty-a7qcy6v8.js +26 -0
  94. package/dist/chunks/{vcs-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  95. package/dist/chunks/{vcs-1v6wmkfd.js → persistent-pty-ab8cnxkj.js} +5 -5
  96. package/dist/chunks/{vcs-z5cw6b3r.js → persistent-pty-aba8dj31.js} +11 -11
  97. package/dist/chunks/{vcs-g5fx37j3.js → persistent-pty-ace40s22.js} +7 -7
  98. package/dist/chunks/{vcs-tz4n1mmd.js → persistent-pty-afdssyjb.js} +4 -4
  99. package/dist/chunks/{vcs-88xe3h0x.js → persistent-pty-axwsqknt.js} +33 -33
  100. package/dist/chunks/{vcs-6hh8tjw2.js → persistent-pty-b27vhd2z.js} +4 -4
  101. package/dist/chunks/{vcs-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{vcs-dbbj9rpz.js → persistent-pty-b7r080c3.js} +11 -11
  103. package/dist/chunks/{vcs-ycnz6d4p.js → persistent-pty-bmcyf7gj.js} +20 -20
  104. package/dist/chunks/{vcs-rtxfz5fz.js → persistent-pty-bph3v013.js} +14 -14
  105. package/dist/chunks/{vcs-3hfr6h8q.js → persistent-pty-br0tr5aq.js} +8 -8
  106. package/dist/chunks/{vcs-3kkapxkb.js → persistent-pty-brg56pc6.js} +30 -30
  107. package/dist/chunks/{vcs-h8cmfs3y.js → persistent-pty-bsgfsq91.js} +12 -12
  108. package/dist/chunks/{vcs-x7pnhj05.js → persistent-pty-btpphd88.js} +27 -27
  109. package/dist/chunks/{vcs-bz85s9hh.js → persistent-pty-bz85s9hh.js} +1 -1
  110. package/dist/chunks/{vcs-wrgbtw9m.js → persistent-pty-cdq49ytp.js} +25 -25
  111. package/dist/chunks/{vcs-1nb1b4r0.js → persistent-pty-cv5frkqy.js} +1 -1
  112. package/dist/chunks/{vcs-51sx1yec.js → persistent-pty-cwtvnkts.js} +9 -9
  113. package/dist/chunks/{vcs-0jvye1j3.js → persistent-pty-d0fsejzd.js} +31 -31
  114. package/dist/chunks/{vcs-5d607bsg.js → persistent-pty-d4he2qe1.js} +9 -9
  115. package/dist/chunks/{vcs-7mwckwg9.js → persistent-pty-de5mzfxd.js} +29 -29
  116. package/dist/chunks/{vcs-0f2p0cnd.js → persistent-pty-deq2z4hf.js} +3 -3
  117. package/dist/chunks/{vcs-dj2t23y0.js → persistent-pty-dj2t23y0.js} +2 -2
  118. package/dist/chunks/{vcs-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
  119. package/dist/chunks/{vcs-jwxzbpf5.js → persistent-pty-dtwkq6be.js} +13 -13
  120. package/dist/chunks/persistent-pty-dxj72tfx.js +18 -0
  121. package/dist/chunks/{vcs-1earv0bc.js → persistent-pty-e84rd1xk.js} +24 -24
  122. package/dist/chunks/{vcs-3qaj82j9.js → persistent-pty-e8qyrgb1.js} +5 -5
  123. package/dist/chunks/{vcs-rhjbct0v.js → persistent-pty-eaj1djv9.js} +8 -8
  124. package/dist/chunks/{vcs-9q2xgg2a.js → persistent-pty-edwvx061.js} +4 -4
  125. package/dist/chunks/{vcs-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{vcs-qxnmhf0h.js → persistent-pty-encztx8n.js} +28 -28
  127. package/dist/chunks/{vcs-pv91942f.js → persistent-pty-epqb7qpy.js} +3 -3
  128. package/dist/chunks/{vcs-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
  129. package/dist/chunks/{vcs-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{vcs-6ryx9ps2.js → persistent-pty-ffw5jcp2.js} +18 -18
  131. package/dist/chunks/{vcs-jdbkxndk.js → persistent-pty-fsy2n4n3.js} +7 -7
  132. package/dist/chunks/{vcs-j15mfg1p.js → persistent-pty-fvanntqq.js} +4 -4
  133. package/dist/chunks/{vcs-fnrq1gfx.js → persistent-pty-fwft7q1r.js} +3 -3
  134. package/dist/chunks/{vcs-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  135. package/dist/chunks/{vcs-06h4x05t.js → persistent-pty-gb9jw3zf.js} +6 -6
  136. package/dist/chunks/{vcs-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{vcs-fab8hzt3.js → persistent-pty-gnx4ytbv.js} +4 -4
  138. package/dist/chunks/{vcs-70gcdeha.js → persistent-pty-grhxn6he.js} +24 -24
  139. package/dist/chunks/{vcs-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  140. package/dist/chunks/{vcs-jm1eh7vn.js → persistent-pty-gxr7q3nf.js} +22 -22
  141. package/dist/chunks/{vcs-m4fq2941.js → persistent-pty-h4eh15d6.js} +20 -20
  142. package/dist/chunks/{vcs-zj09a0ew.js → persistent-pty-h6jr292a.js} +4 -4
  143. package/dist/chunks/{vcs-h6r3nrb9.js → persistent-pty-h6r3nrb9.js} +1 -1
  144. package/dist/chunks/{vcs-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  145. package/dist/chunks/{vcs-hdnk95c8.js → persistent-pty-hdnk95c8.js} +2 -2
  146. package/dist/chunks/{vcs-bep0w5gt.js → persistent-pty-hds23wzw.js} +16 -16
  147. package/dist/chunks/{vcs-v4hh2g4f.js → persistent-pty-hmp6wt3x.js} +11 -11
  148. package/dist/chunks/{vcs-wa9tvrt4.js → persistent-pty-hnac9jpe.js} +15 -15
  149. package/dist/chunks/{vcs-caqaq1fh.js → persistent-pty-hq654dja.js} +22 -22
  150. package/dist/chunks/{vcs-k5ssnk24.js → persistent-pty-hv2snex1.js} +10 -10
  151. package/dist/chunks/{vcs-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  152. package/dist/chunks/{vcs-r9w3djhf.js → persistent-pty-j58c5xyq.js} +9 -9
  153. package/dist/chunks/{vcs-f3dknz62.js → persistent-pty-j9vp638d.js} +33 -33
  154. package/dist/chunks/{vcs-0eaen06d.js → persistent-pty-jcz9anth.js} +47 -47
  155. package/dist/chunks/{vcs-gb5fbz62.js → persistent-pty-jdvrzx2t.js} +13 -13
  156. package/dist/chunks/{vcs-7w99qc9d.js → persistent-pty-jexxy024.js} +3 -3
  157. package/dist/chunks/{vcs-5pfc8d83.js → persistent-pty-jfcm29bp.js} +4 -4
  158. package/dist/chunks/{vcs-cwd41q9p.js → persistent-pty-jpxb4059.js} +7 -7
  159. package/dist/chunks/{vcs-2amj1e7d.js → persistent-pty-jsqr29s7.js} +26 -26
  160. package/dist/chunks/{vcs-bt6xph39.js → persistent-pty-jsx9wcxe.js} +9 -9
  161. package/dist/chunks/{vcs-cmapt9ge.js → persistent-pty-jtwa0aj6.js} +15 -15
  162. package/dist/chunks/{vcs-bg1f9jg4.js → persistent-pty-jvekhsax.js} +8 -8
  163. package/dist/chunks/{vcs-ghp0w54x.js → persistent-pty-jzphxtev.js} +8 -8
  164. package/dist/chunks/{vcs-gs3s1a1g.js → persistent-pty-k1gkpfdk.js} +7 -7
  165. package/dist/chunks/{vcs-f3ngv102.js → persistent-pty-k2h4r4s0.js} +4 -4
  166. package/dist/chunks/{vcs-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
  167. package/dist/chunks/{vcs-2ketmxte.js → persistent-pty-k6w2t1ya.js} +4 -4
  168. package/dist/chunks/{vcs-dx0dvesr.js → persistent-pty-kfgf5fep.js} +20 -20
  169. package/dist/chunks/{vcs-4dq7w5d5.js → persistent-pty-kftvnv3j.js} +22 -22
  170. package/dist/chunks/{vcs-rbnp9ynp.js → persistent-pty-kkzayper.js} +29 -29
  171. package/dist/chunks/{vcs-m0jqrx5p.js → persistent-pty-m0jqrx5p.js} +2 -2
  172. package/dist/chunks/{vcs-j3s2z371.js → persistent-pty-m2d0j7c0.js} +9 -9
  173. package/dist/chunks/{vcs-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{vcs-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{vcs-h6y08xfm.js → persistent-pty-mbgq0mmx.js} +4 -4
  176. package/dist/chunks/{vcs-29pcd0xy.js → persistent-pty-mfs5sj5t.js} +9 -9
  177. package/dist/chunks/{vcs-z2qvtray.js → persistent-pty-mg83pbjr.js} +8 -8
  178. package/dist/chunks/{vcs-zg80xw90.js → persistent-pty-mj93e3gy.js} +302 -302
  179. package/dist/chunks/{vcs-ky36v99m.js → persistent-pty-mmmrdbr8.js} +9 -9
  180. package/dist/chunks/{vcs-7h67ny3t.js → persistent-pty-mnaz46m9.js} +75 -75
  181. package/dist/chunks/{vcs-j028xdjb.js → persistent-pty-mvfsc1pv.js} +3 -3
  182. package/dist/chunks/{vcs-m7ra2w5s.js → persistent-pty-n2eg1d0h.js} +16 -16
  183. package/dist/chunks/{vcs-j72e7fz8.js → persistent-pty-n36xcpgr.js} +6 -6
  184. package/dist/chunks/{vcs-hngd1esa.js → persistent-pty-n4j23rry.js} +2 -2
  185. package/dist/chunks/{vcs-es4mmrw2.js → persistent-pty-nm55ymfc.js} +22 -22
  186. package/dist/chunks/{vcs-1rmaqtrx.js → persistent-pty-nqyhrfcc.js} +4 -4
  187. package/dist/chunks/{vcs-abp10mhy.js → persistent-pty-nyacxbzj.js} +42 -42
  188. package/dist/chunks/{vcs-wnjpenje.js → persistent-pty-p0h2c1j9.js} +10 -10
  189. package/dist/chunks/{vcs-xa75ctwz.js → persistent-pty-p3x7gx7a.js} +28 -28
  190. package/dist/chunks/{vcs-16p9b2hb.js → persistent-pty-p4a5cx5p.js} +14 -14
  191. package/dist/chunks/{vcs-bbcxste1.js → persistent-pty-p513dnzd.js} +120 -120
  192. package/dist/chunks/{vcs-yfdygd1b.js → persistent-pty-p52j3anj.js} +43 -43
  193. package/dist/chunks/{vcs-wh3mwy9y.js → persistent-pty-p84dsdfh.js} +5 -5
  194. package/dist/chunks/{vcs-w3jg838k.js → persistent-pty-patgj9rf.js} +9 -9
  195. package/dist/chunks/{vcs-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{vcs-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  197. package/dist/chunks/{vcs-mpqf5yw5.js → persistent-pty-q3j5ebgq.js} +22 -22
  198. package/dist/chunks/{vcs-hk0qcfr9.js → persistent-pty-q8pxfdwq.js} +4 -4
  199. package/dist/chunks/{vcs-akmzmx51.js → persistent-pty-qdwxcfza.js} +9 -9
  200. package/dist/chunks/{vcs-yjptyezs.js → persistent-pty-qn4ba14w.js} +5 -5
  201. package/dist/chunks/{vcs-2pe4qx6f.js → persistent-pty-qr405v0d.js} +6 -6
  202. package/dist/chunks/{vcs-f9hj67e2.js → persistent-pty-qryrftmh.js} +31 -31
  203. package/dist/chunks/{vcs-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  204. package/dist/chunks/{vcs-rc2k9h5j.js → persistent-pty-qsx6xwjc.js} +22 -22
  205. package/dist/chunks/{vcs-f003b7jf.js → persistent-pty-qt5mdn6g.js} +12 -12
  206. package/dist/chunks/{vcs-14b7wbmv.js → persistent-pty-qw85ht6d.js} +33 -33
  207. package/dist/chunks/{vcs-tcfhdmjk.js → persistent-pty-r2a07nrz.js} +13 -13
  208. package/dist/chunks/{vcs-sjpq2v3x.js → persistent-pty-r2w5wzr7.js} +13 -13
  209. package/dist/chunks/{vcs-jgtdf2ky.js → persistent-pty-r449bwkw.js} +9 -9
  210. package/dist/chunks/{vcs-fmrwzk15.js → persistent-pty-r4wc6fxm.js} +3 -3
  211. package/dist/chunks/{vcs-b6d70fxy.js → persistent-pty-r5zvm12r.js} +2 -2
  212. package/dist/chunks/{vcs-9r3s6h1d.js → persistent-pty-r72bb3g5.js} +6 -6
  213. package/dist/chunks/{vcs-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{vcs-yp2x3t23.js → persistent-pty-rhraev7y.js} +4 -4
  215. package/dist/chunks/{vcs-ya6x4a7c.js → persistent-pty-rr6jacvf.js} +32 -32
  216. package/dist/chunks/{vcs-jksx53dk.js → persistent-pty-rvt9ga0f.js} +29 -29
  217. package/dist/chunks/{vcs-jetea0vp.js → persistent-pty-rya495mf.js} +11 -11
  218. package/dist/chunks/{vcs-rtybfwtv.js → persistent-pty-s4b84khr.js} +9 -9
  219. package/dist/chunks/{vcs-rffnqpzc.js → persistent-pty-s4mb84p1.js} +34 -34
  220. package/dist/chunks/{vcs-km3nayh5.js → persistent-pty-s83kg3p0.js} +15 -15
  221. package/dist/chunks/{vcs-b8ph01mp.js → persistent-pty-s8cev9wy.js} +3 -3
  222. package/dist/chunks/{vcs-j18p6by6.js → persistent-pty-s9ax1raf.js} +31 -31
  223. package/dist/chunks/{vcs-0hy412gj.js → persistent-pty-sqdxss6w.js} +9 -9
  224. package/dist/chunks/{vcs-tk9vbt1t.js → persistent-pty-sxn79y37.js} +6 -6
  225. package/dist/chunks/{vcs-3gz6fvbw.js → persistent-pty-sz24j28z.js} +17 -17
  226. package/dist/chunks/{vcs-emnb89zc.js → persistent-pty-t4nhm12y.js} +11 -11
  227. package/dist/chunks/{vcs-4v4bfvma.js → persistent-pty-t71v2ka4.js} +5 -5
  228. package/dist/chunks/{vcs-az8a6wh9.js → persistent-pty-t808dn5w.js} +40 -40
  229. package/dist/chunks/{vcs-jz609cgm.js → persistent-pty-ta417yjh.js} +26 -26
  230. package/dist/chunks/{vcs-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{vcs-zhk3mejr.js → persistent-pty-tbgyadps.js} +8 -8
  232. package/dist/chunks/{vcs-p28j5sbe.js → persistent-pty-tbz0fdvh.js} +5 -5
  233. package/dist/chunks/{vcs-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{vcs-5b4qx53s.js → persistent-pty-td55jj2j.js} +17 -17
  235. package/dist/chunks/{vcs-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  236. package/dist/chunks/{vcs-p7a39gy5.js → persistent-pty-tegs1ycp.js} +6 -6
  237. package/dist/chunks/{vcs-x5whvs7g.js → persistent-pty-tfxzrdmk.js} +13 -13
  238. package/dist/chunks/{vcs-hae7xxqe.js → persistent-pty-tnasdg6y.js} +33 -33
  239. package/dist/chunks/{vcs-srmpna97.js → persistent-pty-tvc0b3mj.js} +9 -9
  240. package/dist/chunks/{vcs-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  241. package/dist/chunks/{vcs-51b2bmqd.js → persistent-pty-tvtydw96.js} +40 -40
  242. package/dist/chunks/{vcs-d00kjjsm.js → persistent-pty-twca9fjq.js} +7 -7
  243. package/dist/chunks/{vcs-96a94ynr.js → persistent-pty-v4px02z6.js} +25 -25
  244. package/dist/chunks/{vcs-w0173919.js → persistent-pty-va45f1s8.js} +31 -31
  245. package/dist/chunks/{vcs-8tpp31a7.js → persistent-pty-vcdb3gbk.js} +1 -1
  246. package/dist/chunks/{vcs-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  247. package/dist/chunks/{vcs-p5k1ykss.js → persistent-pty-vg6ckggx.js} +72 -72
  248. package/dist/chunks/{vcs-k0w3k13e.js → persistent-pty-vmnj2x1v.js} +26 -26
  249. package/dist/chunks/{vcs-vncycja5.js → persistent-pty-vncycja5.js} +1 -1
  250. package/dist/chunks/{vcs-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{vcs-4e3rb2jf.js → persistent-pty-w18y63wv.js} +23 -23
  252. package/dist/chunks/{vcs-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{vcs-7d8zg9gx.js → persistent-pty-w65z2jz3.js} +8 -8
  254. package/dist/chunks/{vcs-wmgzx6be.js → persistent-pty-w6qqzf7t.js} +2 -2
  255. package/dist/chunks/{vcs-yq9bb241.js → persistent-pty-wayd1cz3.js} +9 -9
  256. package/dist/chunks/{vcs-zcdeq6ts.js → persistent-pty-wcycnpg6.js} +12 -12
  257. package/dist/chunks/{vcs-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  258. package/dist/chunks/{vcs-c0f5yvkw.js → persistent-pty-wk2ay995.js} +28 -28
  259. package/dist/chunks/{vcs-4ezb7q2p.js → persistent-pty-wngp58at.js} +24 -24
  260. package/dist/chunks/{vcs-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{vcs-9satqzp7.js → persistent-pty-x38sqvf4.js} +3 -3
  262. package/dist/chunks/{vcs-0h9cdpmt.js → persistent-pty-x5x7kcgs.js} +15 -15
  263. package/dist/chunks/{vcs-pc0mvq6d.js → persistent-pty-xaftkv44.js} +43 -43
  264. package/dist/chunks/{vcs-wad31dta.js → persistent-pty-xcjhgh37.js} +6 -6
  265. package/dist/chunks/{vcs-hr8jfkms.js → persistent-pty-xcrk435t.js} +20 -20
  266. package/dist/chunks/{vcs-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
  267. package/dist/chunks/{vcs-1ev0r8qr.js → persistent-pty-xjbekv6e.js} +14 -14
  268. package/dist/chunks/{vcs-2zh6qkk0.js → persistent-pty-xjebcb6c.js} +7 -7
  269. package/dist/chunks/{vcs-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{vcs-k9avtbwf.js → persistent-pty-ybhbtxjg.js} +3 -3
  271. package/dist/chunks/{vcs-tk4ydb92.js → persistent-pty-yppwdz7t.js} +9 -9
  272. package/dist/chunks/{vcs-4327cfd7.js → persistent-pty-yqz4sd6t.js} +8 -8
  273. package/dist/chunks/{vcs-qg6dnfrp.js → persistent-pty-yr8p71ks.js} +12 -12
  274. package/dist/chunks/{vcs-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{vcs-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
  276. package/dist/chunks/{vcs-19k94sh9.js → persistent-pty-ysfwx83j.js} +6 -6
  277. package/dist/chunks/{vcs-hkfg6fzm.js → persistent-pty-yt0fqk68.js} +5 -5
  278. package/dist/chunks/{vcs-df2ntcbh.js → persistent-pty-ytpw4txd.js} +9 -9
  279. package/dist/chunks/{vcs-hkezz57s.js → persistent-pty-ytqvkck2.js} +5 -5
  280. package/dist/chunks/{vcs-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{vcs-8xyxe0k6.js → persistent-pty-z52a6mw5.js} +20 -20
  282. package/dist/chunks/{vcs-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  283. package/dist/chunks/{vcs-vqnj8dxw.js → persistent-pty-ze9ygk7z.js} +11 -11
  284. package/dist/chunks/{vcs-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{vcs-qzn4r9yc.js → persistent-pty-zq3sp2de.js} +31 -31
  286. package/dist/chunks/{vcs-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{vcs-xm8y3y9s.js → persistent-pty-zsphfh87.js} +20 -20
  288. package/dist/chunks/{vcs-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +80 -80
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +220 -220
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +103 -103
  428. package/dist/form.js +73 -73
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +81 -81
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +80 -80
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +97 -97
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +97 -97
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +75 -75
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +102 -102
  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 +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/compaction.js +130 -130
  493. package/dist/plugin/hooks.js +3 -3
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +91 -91
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +5 -5
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +4 -4
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +6 -6
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +4 -4
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +79 -79
  560. package/dist/provider.js +94 -94
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +93 -93
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +3 -3
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +147 -147
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +3 -3
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +220 -220
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +89 -89
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +125 -125
  594. package/dist/session/projector.js +83 -83
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +1 -1
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +171 -171
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +74 -74
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +3 -3
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +216 -216
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +213 -213
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +13 -13
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +111 -111
  630. package/dist/snapshot.js +92 -92
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +126 -126
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +119 -119
  641. package/dist/tool/plugin/question.js +102 -102
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +112 -112
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +109 -109
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +3 -3
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +3 -3
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +1 -1
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +75 -75
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +78 -78
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/vcs-4v7qdvcn.js +0 -18
  695. package/dist/chunks/vcs-5sp2ncag.js +0 -26
  696. package/dist/chunks/vcs-ba8pdmgh.js +0 -252
  697. /package/dist/chunks/{vcs-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
  698. /package/dist/chunks/{vcs-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{vcs-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{vcs-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{vcs-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{vcs-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{vcs-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{vcs-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{vcs-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{vcs-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{vcs-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{vcs-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  709. /package/dist/chunks/{vcs-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{vcs-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{vcs-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{vcs-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{vcs-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{vcs-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{vcs-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{vcs-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  717. /package/dist/chunks/{vcs-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{vcs-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{vcs-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  720. /package/dist/chunks/{vcs-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  721. /package/dist/chunks/{vcs-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  722. /package/dist/chunks/{vcs-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  723. /package/dist/chunks/{vcs-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{vcs-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{vcs-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  726. /package/dist/chunks/{vcs-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{vcs-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{vcs-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{vcs-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{vcs-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{vcs-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{vcs-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{vcs-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{vcs-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{vcs-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{vcs-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{vcs-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{vcs-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{vcs-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{vcs-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{vcs-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  742. /package/dist/chunks/{vcs-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{vcs-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{vcs-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{vcs-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{vcs-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{vcs-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{vcs-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{vcs-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{vcs-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{vcs-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{vcs-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  753. /package/dist/chunks/{vcs-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  754. /package/dist/chunks/{vcs-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  755. /package/dist/chunks/{vcs-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  756. /package/dist/chunks/{vcs-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  757. /package/dist/chunks/{vcs-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  758. /package/dist/chunks/{vcs-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  759. /package/dist/chunks/{vcs-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{vcs-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{vcs-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  762. /package/dist/chunks/{vcs-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  763. /package/dist/chunks/{vcs-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  764. /package/dist/chunks/{vcs-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{vcs-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{vcs-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{vcs-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{vcs-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{vcs-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{vcs-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{vcs-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{vcs-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{vcs-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{vcs-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{vcs-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{vcs-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{vcs-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{vcs-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{vcs-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  780. /package/dist/chunks/{vcs-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{vcs-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  782. /package/dist/chunks/{vcs-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{vcs-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{vcs-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{vcs-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{vcs-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{vcs-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  788. /package/dist/chunks/{vcs-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{vcs-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{vcs-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{vcs-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{vcs-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{vcs-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service56
3
- } from "./vcs-gm22bbjf.js";
2
+ Service48
3
+ } from "./persistent-pty-4pxrwfad.js";
4
4
  import {
5
- Service17,
5
+ Service45,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./vcs-zvkdwvzy.js";
8
+ } from "./persistent-pty-65w3833t.js";
9
9
  import {
10
- Service13
11
- } from "./vcs-emnb89zc.js";
10
+ Service14
11
+ } from "./persistent-pty-t4nhm12y.js";
12
12
  import {
13
- Service66
14
- } from "./vcs-rffnqpzc.js";
13
+ Service63
14
+ } from "./persistent-pty-s4mb84p1.js";
15
15
  import {
16
- Service65
17
- } from "./vcs-wa9tvrt4.js";
16
+ Service18
17
+ } from "./persistent-pty-hnac9jpe.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./vcs-6prwharc.js";
20
+ } from "./persistent-pty-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./vcs-9rqn6x4v.js";
23
+ } from "./persistent-pty-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input8,
29
- Output: () => Output6,
30
- Plugin: () => Plugin43,
28
+ Input: () => Input3,
29
+ Output: () => Output3,
30
+ Plugin: () => Plugin3,
31
31
  WriteTool: () => exports_write,
32
- name: () => name8,
33
- toModelContent: () => toModelContent4
32
+ name: () => name3,
33
+ toModelContent: () => toModelContent2
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name8 = "write";
39
- var Input8 = Schema.Struct({
38
+ var name3 = "write";
39
+ var Input3 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output6 = Schema.Struct({
45
+ var Output3 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin43 = {
51
+ var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin3 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service65;
56
- const fileMutation = yield* Service17;
57
- const environment = yield* Service56;
58
- const formatter = yield* Service13;
59
- const permission = yield* Service66;
55
+ const access = yield* Service18;
56
+ const fileMutation = yield* Service45;
57
+ const environment = yield* Service48;
58
+ const formatter = yield* Service14;
59
+ const permission = yield* Service63;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name8,
61
+ name: name3,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input8,
69
- output: Output6,
68
+ input: Input3,
69
+ output: Output3,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name8, Input8, Output6, toModelContent4, Plugin43, exports_write };
101
+ export { name3, Input3, Output3, toModelContent2, Plugin3, exports_write };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./vcs-dpkg50ah.js";
3
+ } from "./persistent-pty-dpkg50ah.js";
4
4
  import {
5
- Service56,
6
- node58
7
- } from "./vcs-gm22bbjf.js";
5
+ Service48,
6
+ node52
7
+ } from "./persistent-pty-4pxrwfad.js";
8
8
  import {
9
9
  __export
10
- } from "./vcs-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service17,
17
- node: () => node19,
16
+ Service: () => Service45,
17
+ node: () => node49,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service17 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service45 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service17, Effect.gen(function* () {
38
- const environment = yield* Service56;
37
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
38
+ const environment = yield* Service48;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service17.of({ withLock, write, writeTextPreservingBom });
59
+ return Service45.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node19 = makeLocationNode({ service: Service17, layer, deps: [node58] });
61
+ var node49 = makeLocationNode({ service: Service45, layer, deps: [node52] });
62
62
 
63
- export { Service17, readText2, syncTextBom2, node19, exports_file_mutation };
63
+ export { Service45, readText2, syncTextBom2, node49, exports_file_mutation };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./vcs-ym463w8f.js";
3
+ } from "./persistent-pty-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/gateway.ts
6
6
  var GatewayPlugin2 = createProviderPlugin2({
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service54
3
- } from "./vcs-ya6x4a7c.js";
3
+ } from "./persistent-pty-rr6jacvf.js";
4
4
  import {
5
- Service5
6
- } from "./vcs-5d607bsg.js";
5
+ Service8
6
+ } from "./persistent-pty-d4he2qe1.js";
7
7
  import {
8
8
  observe2
9
- } from "./vcs-qsdy395h.js";
9
+ } from "./persistent-pty-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./vcs-9rqn6x4v.js";
12
+ } from "./persistent-pty-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin14
18
+ Plugin: () => Plugin24
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin14 = define({
22
+ var Plugin24 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  const config = yield* Service54;
26
- const policy = yield* Service5;
26
+ const policy = yield* Service8;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin14 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin14, exports_location_watcher2 };
38
+ export { Plugin24, exports_location_watcher2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
- Info20,
6
- ID7,
5
+ Info6,
6
+ ID5,
7
7
  Name2
8
- } from "./vcs-qxnmhf0h.js";
8
+ } from "./persistent-pty-encztx8n.js";
9
9
  import {
10
10
  Service54
11
- } from "./vcs-ya6x4a7c.js";
11
+ } from "./persistent-pty-rr6jacvf.js";
12
12
  import {
13
13
  __export
14
- } from "./vcs-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill2 = {};
18
- __export(exports_skill2, {
17
+ var exports_skill3 = {};
18
+ __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin33,
21
+ Plugin: () => Plugin40,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill2
23
+ SkillPlugin: () => exports_skill3
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin33 = define({
428
+ var Plugin40 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info20.make({
434
- id: ID7.make("opencode"),
433
+ editor.add(Info6.make({
434
+ id: ID5.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info20.make({
441
- id: ID7.make("report"),
440
+ editor.add(Info6.make({
441
+ id: ID5.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin33, exports_skill2 };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin40, exports_skill3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./vcs-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
- Info18
6
- } from "./vcs-f3ngv102.js";
5
+ Info20
6
+ } from "./persistent-pty-k2h4r4s0.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info17
15
+ Info: () => Info19
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info18)
47
+ permission: Schema.optional(Info20)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info17 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info19 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info17, exports_agent3 };
74
+ export { Info19, exports_agent3 };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service55
3
- } from "./vcs-m7ra2w5s.js";
3
+ } from "./persistent-pty-n2eg1d0h.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./vcs-922hggd3.js";
6
+ } from "./persistent-pty-922hggd3.js";
7
7
  import {
8
8
  Service78
9
- } from "./vcs-hngd1esa.js";
9
+ } from "./persistent-pty-n4j23rry.js";
10
10
  import {
11
11
  Service54
12
- } from "./vcs-ya6x4a7c.js";
12
+ } from "./persistent-pty-rr6jacvf.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source4
17
- } from "./vcs-qxnmhf0h.js";
16
+ Source3
17
+ } from "./persistent-pty-encztx8n.js";
18
18
  import {
19
- Service6
20
- } from "./vcs-j3s2z371.js";
19
+ Service7
20
+ } from "./persistent-pty-m2d0j7c0.js";
21
21
  import {
22
22
  parse2
23
- } from "./vcs-06h4x05t.js";
23
+ } from "./persistent-pty-gb9jw3zf.js";
24
24
  import {
25
25
  __export
26
- } from "./vcs-9rqn6x4v.js";
26
+ } from "./persistent-pty-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill = {};
30
- __export(exports_skill, {
31
- ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin13
29
+ var exports_skill2 = {};
30
+ __export(exports_skill2, {
31
+ ConfigSkillPlugin: () => exports_skill2,
32
+ Plugin: () => Plugin15
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin13 = define({
39
+ var Plugin15 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
42
  const config = yield* Service54;
43
- const discovery = yield* Service6;
43
+ const discovery = yield* Service7;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
46
  const location = yield* Service78;
@@ -87,7 +87,7 @@ var Plugin13 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source4.equals(item, source)))
90
+ if (result.some((item) => Source3.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin13 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source4.key(source),
115
+ source: Source3.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin13 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source4.key(source),
144
+ source: Source3.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin13 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source4.key),
163
+ sources: current.map(Source3.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin13 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin13, exports_skill };
179
+ export { Plugin15, exports_skill2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  ID13,
3
3
  mergeOverlay2
4
- } from "./vcs-pstxsap6.js";
4
+ } from "./persistent-pty-2hsgj57k.js";
5
5
  import {
6
6
  ID12,
7
7
  VariantID2,
8
8
  Info26,
9
9
  compatibility2
10
- } from "./vcs-1earv0bc.js";
10
+ } from "./persistent-pty-e84rd1xk.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models2 = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service55,
3
- node57
4
- } from "./vcs-m7ra2w5s.js";
3
+ node60
4
+ } from "./persistent-pty-n2eg1d0h.js";
5
5
  import {
6
6
  Service78,
7
7
  node82
8
- } from "./vcs-hngd1esa.js";
8
+ } from "./persistent-pty-n4j23rry.js";
9
9
  import {
10
10
  Service54,
11
- node56
12
- } from "./vcs-ya6x4a7c.js";
11
+ node59
12
+ } from "./persistent-pty-rr6jacvf.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./vcs-zxq2ej10.js";
16
+ } from "./persistent-pty-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./vcs-9rqn6x4v.js";
19
+ } from "./persistent-pty-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service3,
25
+ Service: () => Service4,
26
26
  empty: () => empty2,
27
- layer: () => layer4,
28
- node: () => node4
27
+ layer: () => layer5,
28
+ node: () => node6
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,9 +33,9 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer4 = Layer.effect(Service3, Effect.gen(function* () {
38
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
39
  const config = yield* Service54;
40
40
  const watcher = yield* Service55;
41
41
  const fs = yield* FSUtil.Service;
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service3.of({
61
+ return Service4.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node4 = makeLocationNode({
74
- service: Service3,
75
- layer: layer4,
76
- deps: [node56, FSUtil.node, node57, node82]
73
+ var node6 = makeLocationNode({
74
+ service: Service4,
75
+ layer: layer5,
76
+ deps: [node59, FSUtil.node, node60, node82]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service3,
80
- layer: Layer.succeed(Service3, Service3.of({
79
+ service: Service4,
80
+ layer: Layer.succeed(Service4, Service4.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service3, layer4, node4, empty2, exports_source };
140
+ export { Service4, layer5, node6, empty2, exports_source };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./vcs-922hggd3.js";
5
+ } from "./persistent-pty-922hggd3.js";
6
6
  import {
7
- Service56,
8
- node58
9
- } from "./vcs-gm22bbjf.js";
7
+ Service48,
8
+ node52
9
+ } from "./persistent-pty-4pxrwfad.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./vcs-8d7r5vzw.js";
12
+ } from "./persistent-pty-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./vcs-9rqn6x4v.js";
15
+ } from "./persistent-pty-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error3,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service18,
24
- node: () => node20
23
+ Service: () => Service44,
24
+ node: () => node48
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service18 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service44 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error3({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service18, Effect.gen(function* () {
67
- const environment = yield* Service56;
66
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
67
+ const environment = yield* Service48;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service18.of({
95
+ return Service44.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node20 = makeLocationNode({ service: Service18, layer, deps: [node58, RipgrepBinary2.node] });
178
+ var node48 = makeLocationNode({ service: Service44, layer, deps: [node52, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service18, node20, exports_ripgrep };
180
+ export { Error3, InvalidPatternError2, Service44, node48, exports_ripgrep };