@opencode-ai/core 0.0.0-beta-18387 → 0.0.0-beta-18593

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 (829) hide show
  1. package/dist/account/sql.js +2 -2
  2. package/dist/agent.js +70 -70
  3. package/dist/aisdk-native.js +3 -3
  4. package/dist/aisdk.js +4 -4
  5. package/dist/app.js +2 -2
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +78 -78
  8. package/dist/chunks/{project-02dbfq60.js → persistent-pty-02dbfq60.js} +1 -1
  9. package/dist/chunks/{project-vcx09kjb.js → persistent-pty-02s8hgfb.js} +5 -5
  10. package/dist/chunks/{project-ztjk4rav.js → persistent-pty-0687t5rp.js} +5 -5
  11. package/dist/chunks/{project-9f249168.js → persistent-pty-0dfzjmdz.js} +25 -25
  12. package/dist/chunks/{project-7thnevmq.js → persistent-pty-0gcqkg3x.js} +3 -4
  13. package/dist/chunks/{project-0kvmztkf.js → persistent-pty-0kvmztkf.js} +1 -1
  14. package/dist/chunks/{project-nvbw3dns.js → persistent-pty-0tya1wfq.js} +3 -3
  15. package/dist/chunks/persistent-pty-0xkrc3c3.js +126 -0
  16. package/dist/chunks/{project-7gqqz1s8.js → persistent-pty-10p29vm9.js} +2 -2
  17. package/dist/chunks/{project-de3g1gpb.js → persistent-pty-12pms3sx.js} +7 -8
  18. package/dist/chunks/{project-999qd968.js → persistent-pty-15hpbjb6.js} +4 -4
  19. package/dist/chunks/{project-18pv8fg3.js → persistent-pty-18pv8fg3.js} +2 -2
  20. package/dist/chunks/{project-56tj48z7.js → persistent-pty-1xq8v1tm.js} +7 -7
  21. package/dist/chunks/{project-kpvfv19m.js → persistent-pty-22h5xaqn.js} +10 -7
  22. package/dist/chunks/{project-zetp0g5z.js → persistent-pty-264e1nfp.js} +16 -27
  23. package/dist/chunks/{project-bmknfyv0.js → persistent-pty-2knkewgs.js} +5 -5
  24. package/dist/chunks/persistent-pty-2kyxeqh2.js +33 -0
  25. package/dist/chunks/{project-2m0hgr65.js → persistent-pty-2m0hgr65.js} +1 -1
  26. package/dist/chunks/{project-2nmyybe0.js → persistent-pty-2nmyybe0.js} +1 -1
  27. package/dist/chunks/{project-2wds5nk3.js → persistent-pty-2wds5nk3.js} +1 -1
  28. package/dist/chunks/{project-d406hwse.js → persistent-pty-2wsc5t7f.js} +2 -2
  29. package/dist/chunks/{project-3qj9jcya.js → persistent-pty-318s80v9.js} +5 -5
  30. package/dist/chunks/{project-9hhhwjb6.js → persistent-pty-31t50p8f.js} +7 -7
  31. package/dist/chunks/{project-vycjsnjm.js → persistent-pty-37ng30jt.js} +11 -6
  32. package/dist/chunks/{project-k42t1tha.js → persistent-pty-393a352g.js} +2 -2
  33. package/dist/chunks/{project-3g8vftxb.js → persistent-pty-3g8vftxb.js} +2 -2
  34. package/dist/chunks/{project-70xksvhs.js → persistent-pty-3mn74f4q.js} +21 -24
  35. package/dist/chunks/{project-3qv8nf0b.js → persistent-pty-3qv8nf0b.js} +1 -1
  36. package/dist/chunks/{project-zztghhyy.js → persistent-pty-3sj8e5dd.js} +8 -11
  37. package/dist/chunks/{project-3thh6229.js → persistent-pty-3thh6229.js} +2 -2
  38. package/dist/chunks/{project-taeshe6q.js → persistent-pty-3x0b9mtx.js} +7 -7
  39. package/dist/chunks/{project-6fxwm8sg.js → persistent-pty-3xa942qf.js} +10 -10
  40. package/dist/chunks/{project-2f2nw00g.js → persistent-pty-4fpv6vze.js} +12 -9
  41. package/dist/chunks/{project-0j3q9xkr.js → persistent-pty-4n5anbj9.js} +3 -3
  42. package/dist/chunks/{project-4s2xwh5d.js → persistent-pty-4s2xwh5d.js} +3 -3
  43. package/dist/chunks/{project-hd1rgdxr.js → persistent-pty-4szn0afa.js} +10 -11
  44. package/dist/chunks/{project-kbbbjrn0.js → persistent-pty-4vx29khk.js} +6 -6
  45. package/dist/chunks/{project-4zzdwbaz.js → persistent-pty-4zzdwbaz.js} +2 -2
  46. package/dist/chunks/{project-50jxp3hw.js → persistent-pty-50jxp3hw.js} +1 -1
  47. package/dist/chunks/{project-ehktr312.js → persistent-pty-513bkrxw.js} +3 -3
  48. package/dist/chunks/{project-5z4zwtb4.js → persistent-pty-57ej80dx.js} +6 -5
  49. package/dist/chunks/{project-57tzwnz4.js → persistent-pty-57tzwnz4.js} +1 -1
  50. package/dist/chunks/{project-58xdvehb.js → persistent-pty-58xdvehb.js} +1 -1
  51. package/dist/chunks/{project-dsgsf6t8.js → persistent-pty-5b7b3wgr.js} +6 -6
  52. package/dist/chunks/{project-5cdnkd94.js → persistent-pty-5cdnkd94.js} +3 -3
  53. package/dist/chunks/{project-5fe026tx.js → persistent-pty-5fe026tx.js} +3 -3
  54. package/dist/chunks/{project-5rs65q6p.js → persistent-pty-5rs65q6p.js} +1 -1
  55. package/dist/chunks/{project-5vcssjzn.js → persistent-pty-5vcssjzn.js} +1 -1
  56. package/dist/chunks/{project-6272rtjg.js → persistent-pty-6272rtjg.js} +1 -1
  57. package/dist/chunks/{project-mqqvpcq4.js → persistent-pty-68wbtxd0.js} +155 -155
  58. package/dist/chunks/{project-txf013zk.js → persistent-pty-68ypegzg.js} +5 -5
  59. package/dist/chunks/{project-yfqpw9zc.js → persistent-pty-6d0q94xv.js} +7 -7
  60. package/dist/chunks/{project-qy4nss8j.js → persistent-pty-6dfpv9a6.js} +3 -3
  61. package/dist/chunks/{project-6ky7rqk7.js → persistent-pty-6ky7rqk7.js} +1 -1
  62. package/dist/chunks/{project-7vg519fb.js → persistent-pty-6nthn2wf.js} +5 -5
  63. package/dist/chunks/{project-6wkzvma0.js → persistent-pty-6wkzvma0.js} +2 -2
  64. package/dist/chunks/{project-75h1hfe2.js → persistent-pty-75h1hfe2.js} +2 -2
  65. package/dist/chunks/{project-js0s00qy.js → persistent-pty-76wzch5c.js} +42 -47
  66. package/dist/chunks/{project-y6702ndx.js → persistent-pty-7f6z5n6f.js} +4 -4
  67. package/dist/chunks/{project-fzmr1kdy.js → persistent-pty-7hq60rpc.js} +15 -15
  68. package/dist/chunks/{project-7khw64yh.js → persistent-pty-7khw64yh.js} +1 -1
  69. package/dist/chunks/{project-7mrpdsq5.js → persistent-pty-7mrpdsq5.js} +1 -1
  70. package/dist/chunks/{project-7wcmqxrc.js → persistent-pty-7wcmqxrc.js} +1 -1
  71. package/dist/chunks/{project-rameyvmv.js → persistent-pty-83ba1yz6.js} +5 -11
  72. package/dist/chunks/{project-xvk4yk4s.js → persistent-pty-83vcrt0q.js} +8 -8
  73. package/dist/chunks/{project-mkqy0gf0.js → persistent-pty-854jnr3z.js} +10 -8
  74. package/dist/chunks/{project-tkcv9emb.js → persistent-pty-85s0s238.js} +3 -3
  75. package/dist/chunks/{project-t86111fa.js → persistent-pty-8a0sxteh.js} +11 -12
  76. package/dist/chunks/{project-mb0mcgky.js → persistent-pty-8a4hfbqs.js} +9 -8
  77. package/dist/chunks/{project-5dkj9jex.js → persistent-pty-8dqs26x1.js} +6 -6
  78. package/dist/chunks/{project-ggwv3nzk.js → persistent-pty-8hsta5jz.js} +89 -89
  79. package/dist/chunks/{project-0p8g4tc4.js → persistent-pty-8n5xz4y2.js} +4 -4
  80. package/dist/chunks/{project-8pngjawd.js → persistent-pty-8pngjawd.js} +2 -2
  81. package/dist/chunks/{project-jt8kmcaa.js → persistent-pty-9507whzk.js} +3 -3
  82. package/dist/chunks/{project-9f0rnpkn.js → persistent-pty-9f0rnpkn.js} +1 -1
  83. package/dist/chunks/{project-86x1mnp7.js → persistent-pty-9kqpqjvx.js} +2 -2
  84. package/dist/chunks/{project-gqn2zsfg.js → persistent-pty-9maxscqf.js} +134 -52
  85. package/dist/chunks/{project-e6atjbt4.js → persistent-pty-9xg84z6j.js} +4 -4
  86. package/dist/chunks/{project-bd7yndfd.js → persistent-pty-a0ys31qc.js} +12 -12
  87. package/dist/chunks/{project-v7mh9m05.js → persistent-pty-a25nnbkb.js} +29 -83
  88. package/dist/chunks/{project-wxv7hsvv.js → persistent-pty-a7xc44k8.js} +4 -4
  89. package/dist/chunks/{project-d55ah2nc.js → persistent-pty-agy32ytt.js} +3 -3
  90. package/dist/chunks/{project-32f3grv8.js → persistent-pty-aj1419k0.js} +6 -6
  91. package/dist/chunks/{project-cqwe0zy2.js → persistent-pty-aj48n7zh.js} +3 -3
  92. package/dist/chunks/{project-cx7n25xa.js → persistent-pty-arfafmgx.js} +4 -4
  93. package/dist/chunks/{project-awg5d31a.js → persistent-pty-awg5d31a.js} +1 -1
  94. package/dist/chunks/{project-mkaeg0rc.js → persistent-pty-ayrkq19e.js} +17 -13
  95. package/dist/chunks/{project-fkwnpnbc.js → persistent-pty-b11hynfv.js} +3 -3
  96. package/dist/chunks/{project-8nphtxqs.js → persistent-pty-b1rr41z2.js} +10 -10
  97. package/dist/chunks/{project-1vzxtn3p.js → persistent-pty-b4gc6pz2.js} +50 -45
  98. package/dist/chunks/{project-4y8apnnd.js → persistent-pty-b7tctcvf.js} +6 -9
  99. package/dist/chunks/{project-6fhdrzhr.js → persistent-pty-b9k0650j.js} +3 -3
  100. package/dist/chunks/{project-csrx180a.js → persistent-pty-bbhffenw.js} +9 -5
  101. package/dist/chunks/{project-bh1wr8rq.js → persistent-pty-bh1wr8rq.js} +2 -2
  102. package/dist/chunks/{project-mbbvc7tp.js → persistent-pty-bk1nj3vy.js} +7 -7
  103. package/dist/chunks/{project-x33dyhcx.js → persistent-pty-bm9ah9hr.js} +5 -5
  104. package/dist/chunks/{project-ymjrx39x.js → persistent-pty-by5251yx.js} +20 -18
  105. package/dist/chunks/{project-byab506k.js → persistent-pty-byab506k.js} +1 -1
  106. package/dist/chunks/{project-f3cfbmnf.js → persistent-pty-bysvf6ep.js} +3 -3
  107. package/dist/chunks/{project-c4wcb9vc.js → persistent-pty-c4wcb9vc.js} +2 -2
  108. package/dist/chunks/{project-88jbfw8z.js → persistent-pty-c8ya26sa.js} +4 -4
  109. package/dist/chunks/{project-yvm8e5zy.js → persistent-pty-caycsp33.js} +2 -2
  110. package/dist/chunks/{project-5ev0hagv.js → persistent-pty-chdf1j2d.js} +6 -6
  111. package/dist/chunks/{project-rzd353vk.js → persistent-pty-ckw7ggwg.js} +12 -12
  112. package/dist/chunks/{project-fm2nfar1.js → persistent-pty-cqf8rezx.js} +8 -8
  113. package/dist/chunks/{project-cgjhhpfw.js → persistent-pty-cznxnepa.js} +8 -12
  114. package/dist/chunks/{project-d2gk9vpf.js → persistent-pty-d2gk9vpf.js} +2 -2
  115. package/dist/chunks/{project-bc5dx6ta.js → persistent-pty-d2k1eqgv.js} +6 -6
  116. package/dist/chunks/{project-nesb2rcz.js → persistent-pty-d4h7vwhh.js} +2 -2
  117. package/dist/chunks/{project-m9g7vbdc.js → persistent-pty-d88p9jy9.js} +6 -6
  118. package/dist/chunks/{project-dhphtf1x.js → persistent-pty-dhphtf1x.js} +1 -1
  119. package/dist/chunks/{project-crcfx7c6.js → persistent-pty-dmnn2ttb.js} +19 -13
  120. package/dist/chunks/{project-j0yk5xzn.js → persistent-pty-dssj2s1h.js} +23 -24
  121. package/dist/chunks/{project-e1z9a0ts.js → persistent-pty-e1z9a0ts.js} +2 -2
  122. package/dist/chunks/{project-ec8vrfw5.js → persistent-pty-ec8vrfw5.js} +1 -1
  123. package/dist/chunks/{project-skmdv22a.js → persistent-pty-edmk8q4v.js} +7 -9
  124. package/dist/chunks/{project-pdp9vdkd.js → persistent-pty-eeta29b7.js} +4 -4
  125. package/dist/chunks/persistent-pty-egt387mf.js +187 -0
  126. package/dist/chunks/{project-enpg66yn.js → persistent-pty-enpg66yn.js} +1 -1
  127. package/dist/chunks/persistent-pty-ep35cpen.js +32 -0
  128. package/dist/chunks/{project-sqsackq5.js → persistent-pty-ext14ctb.js} +56 -80
  129. package/dist/chunks/{project-djtxvcnb.js → persistent-pty-ey12fzze.js} +6 -9
  130. package/dist/chunks/{project-27jjns4j.js → persistent-pty-f01b69za.js} +13 -13
  131. package/dist/chunks/{project-drean1vx.js → persistent-pty-f1jj19e8.js} +1 -1
  132. package/dist/chunks/{project-4ngx5mmk.js → persistent-pty-f74fncf5.js} +5 -5
  133. package/dist/chunks/{project-f7q7a28y.js → persistent-pty-f7q7a28y.js} +4 -4
  134. package/dist/chunks/{project-f9wt0tjw.js → persistent-pty-f9wt0tjw.js} +2 -2
  135. package/dist/chunks/{project-fb7nfzf2.js → persistent-pty-fb7nfzf2.js} +3 -3
  136. package/dist/chunks/{project-fj7j2b3f.js → persistent-pty-fbnkj2ks.js} +9 -9
  137. package/dist/chunks/{project-4e7fkx2j.js → persistent-pty-fck3954k.js} +8 -8
  138. package/dist/chunks/{project-fgyjabww.js → persistent-pty-fgyjabww.js} +2 -2
  139. package/dist/chunks/persistent-pty-fm2xjscy.js +304 -0
  140. package/dist/chunks/{project-ybhfpy64.js → persistent-pty-fm3b2wbt.js} +4 -6
  141. package/dist/chunks/{project-skw8v6gh.js → persistent-pty-g01v88ve.js} +13 -14
  142. package/dist/chunks/{project-wwd7emcy.js → persistent-pty-g2tg9rrx.js} +1 -1
  143. package/dist/chunks/{project-mh28new4.js → persistent-pty-gb1z7yet.js} +2 -2
  144. package/dist/chunks/{project-gcay93cp.js → persistent-pty-gcay93cp.js} +1 -1
  145. package/dist/chunks/{project-gd2xppx8.js → persistent-pty-gd2xppx8.js} +1 -1
  146. package/dist/chunks/{project-h12kt9pa.js → persistent-pty-h12kt9pa.js} +2 -2
  147. package/dist/chunks/{project-r1c3r2q5.js → persistent-pty-h40g2pf4.js} +5 -5
  148. package/dist/chunks/{project-mqnm4bmb.js → persistent-pty-h7dqnnw7.js} +10 -10
  149. package/dist/chunks/{project-h94zdhz8.js → persistent-pty-h94zdhz8.js} +2 -2
  150. package/dist/chunks/{project-sq000y3g.js → persistent-pty-hg1dj728.js} +3 -3
  151. package/dist/chunks/{project-8m11m4e9.js → persistent-pty-hggmzd1z.js} +19 -29
  152. package/dist/chunks/{project-gz5f51ks.js → persistent-pty-hjndjhyq.js} +3 -3
  153. package/dist/chunks/{project-hp6rpdnc.js → persistent-pty-hp6rpdnc.js} +1 -1
  154. package/dist/chunks/{project-3exk6c8a.js → persistent-pty-hs1p9dz7.js} +10 -10
  155. package/dist/chunks/persistent-pty-j32vdj8r.js +16 -0
  156. package/dist/chunks/{project-4bpp3tz5.js → persistent-pty-j39d0gcp.js} +16 -18
  157. package/dist/chunks/{project-fzp6ntht.js → persistent-pty-j8t12rx3.js} +17 -9
  158. package/dist/chunks/{project-ppjzdvsh.js → persistent-pty-jm9yfqhv.js} +3 -11
  159. package/dist/chunks/{project-awwcqzj5.js → persistent-pty-jmn1sgkw.js} +7 -7
  160. package/dist/chunks/{project-k4w3wsd5.js → persistent-pty-jmntmgq9.js} +35 -39
  161. package/dist/chunks/{project-cezw36z8.js → persistent-pty-jn3nfbk7.js} +2 -2
  162. package/dist/chunks/{project-7fr2g77j.js → persistent-pty-jp7a1crg.js} +7 -7
  163. package/dist/chunks/{project-ck5pgha0.js → persistent-pty-jqms80b0.js} +2 -2
  164. package/dist/chunks/{project-qxp8yvck.js → persistent-pty-jrzh7nr2.js} +4 -4
  165. package/dist/chunks/{project-wjypv8r3.js → persistent-pty-ke19p6qk.js} +6 -9
  166. package/dist/chunks/{project-kg1345f7.js → persistent-pty-kg1345f7.js} +1 -1
  167. package/dist/chunks/{project-kp1t5rcy.js → persistent-pty-kp1t5rcy.js} +1 -1
  168. package/dist/chunks/{project-krsqcmnj.js → persistent-pty-krsqcmnj.js} +1 -1
  169. package/dist/chunks/{project-gpybhmhb.js → persistent-pty-krzvywyt.js} +6 -6
  170. package/dist/chunks/{project-rt37qqhk.js → persistent-pty-kt491qp2.js} +9 -11
  171. package/dist/chunks/{project-xfdr1rzh.js → persistent-pty-kxet89mv.js} +3 -3
  172. package/dist/chunks/{project-m55whf0h.js → persistent-pty-m55whf0h.js} +2 -2
  173. package/dist/chunks/{project-q28mzdb8.js → persistent-pty-m6kd9m0n.js} +5 -5
  174. package/dist/chunks/{project-yc2vxtaa.js → persistent-pty-mankezgy.js} +93 -35
  175. package/dist/chunks/{project-cdyja1rk.js → persistent-pty-mctnftah.js} +6 -6
  176. package/dist/chunks/{project-m3xhkz0r.js → persistent-pty-mdbd9v7n.js} +23 -17
  177. package/dist/chunks/{project-mf0hyk7z.js → persistent-pty-mf0hyk7z.js} +1 -1
  178. package/dist/chunks/{project-91x65vsv.js → persistent-pty-mjkw59em.js} +8 -8
  179. package/dist/chunks/{project-mnb85w6b.js → persistent-pty-mnb85w6b.js} +2 -2
  180. package/dist/chunks/{project-whk0g8cz.js → persistent-pty-mxjff6xk.js} +10 -5
  181. package/dist/chunks/{project-mxvw03gv.js → persistent-pty-mxvw03gv.js} +1 -1
  182. package/dist/chunks/{project-xt0068v8.js → persistent-pty-n6ag8q95.js} +19 -23
  183. package/dist/chunks/{project-k9s98avy.js → persistent-pty-n8twstac.js} +37 -39
  184. package/dist/chunks/{project-h9c8w22v.js → persistent-pty-ngph9rhx.js} +13 -13
  185. package/dist/chunks/{project-nr76rjj3.js → persistent-pty-nr76rjj3.js} +2 -2
  186. package/dist/chunks/{project-y980s7ka.js → persistent-pty-ns0sdez7.js} +5 -5
  187. package/dist/chunks/{project-gz9cds71.js → persistent-pty-nt76vjs4.js} +6 -6
  188. package/dist/chunks/{project-nzrjycs5.js → persistent-pty-nzrjycs5.js} +1 -1
  189. package/dist/chunks/{project-akppyv5r.js → persistent-pty-p91cgptf.js} +4 -4
  190. package/dist/chunks/{project-k417vscg.js → persistent-pty-pp6dntfs.js} +7 -7
  191. package/dist/chunks/{project-pq4b4pqk.js → persistent-pty-pq4b4pqk.js} +2 -2
  192. package/dist/chunks/{project-sf08ck76.js → persistent-pty-q1jag6n4.js} +121 -99
  193. package/dist/chunks/{project-ym31qssr.js → persistent-pty-q22ck3r9.js} +9 -9
  194. package/dist/chunks/{project-bnh2cn12.js → persistent-pty-q3p77hqf.js} +9 -14
  195. package/dist/chunks/{project-ygy0xbqa.js → persistent-pty-q606pcse.js} +3 -3
  196. package/dist/chunks/{project-b9e9mfxw.js → persistent-pty-q6qnq55y.js} +3 -3
  197. package/dist/chunks/{project-d3r4ps5n.js → persistent-pty-q6skr8rp.js} +8 -8
  198. package/dist/chunks/{project-qe0d689s.js → persistent-pty-qe0d689s.js} +2 -2
  199. package/dist/chunks/{project-r13w8t0w.js → persistent-pty-r13w8t0w.js} +2 -2
  200. package/dist/chunks/{project-r3k9abhd.js → persistent-pty-r3k9abhd.js} +2 -2
  201. package/dist/chunks/{project-45navbfs.js → persistent-pty-r5b5j3z1.js} +11 -11
  202. package/dist/chunks/{project-rfbm65k8.js → persistent-pty-r9d3d23r.js} +5 -33
  203. package/dist/chunks/{project-rahat93a.js → persistent-pty-rahat93a.js} +1 -1
  204. package/dist/chunks/{project-rbnp2c85.js → persistent-pty-rbnp2c85.js} +3 -3
  205. package/dist/chunks/{project-5v62jj9e.js → persistent-pty-rjhyt7an.js} +12 -13
  206. package/dist/chunks/{project-wn3rpk3t.js → persistent-pty-rttzjz69.js} +3 -3
  207. package/dist/chunks/{project-5ym3qvb4.js → persistent-pty-rywejs85.js} +10 -10
  208. package/dist/chunks/{project-ferp39wg.js → persistent-pty-rz6kjcfr.js} +10 -10
  209. package/dist/chunks/persistent-pty-s2kjqxd3.js +21 -0
  210. package/dist/chunks/{project-s33fw6zm.js → persistent-pty-s33fw6zm.js} +1 -1
  211. package/dist/chunks/{project-qnrg9ptq.js → persistent-pty-shjty0r5.js} +10 -10
  212. package/dist/chunks/{project-smpeg8c9.js → persistent-pty-smpeg8c9.js} +2 -2
  213. package/dist/chunks/{project-sw84ckhj.js → persistent-pty-sw84ckhj.js} +1 -1
  214. package/dist/chunks/{project-gp6nnez7.js → persistent-pty-t0msbthe.js} +3 -3
  215. package/dist/chunks/{project-t14kykx1.js → persistent-pty-t14kykx1.js} +1 -1
  216. package/dist/chunks/{project-c7yarf1b.js → persistent-pty-t4x64zgs.js} +8 -16
  217. package/dist/chunks/{project-8dxjsdhj.js → persistent-pty-tayw3q5q.js} +8 -16
  218. package/dist/chunks/{project-tcptxgyq.js → persistent-pty-tcptxgyq.js} +1 -1
  219. package/dist/chunks/{project-7ajc89c4.js → persistent-pty-tg194hwa.js} +4 -4
  220. package/dist/chunks/{project-tgbb2ckq.js → persistent-pty-tgbb2ckq.js} +2 -2
  221. package/dist/chunks/{project-thstd87d.js → persistent-pty-thstd87d.js} +1 -1
  222. package/dist/chunks/{project-d4ax61k3.js → persistent-pty-tjrfm0xh.js} +38 -39
  223. package/dist/chunks/{project-mrpn47r7.js → persistent-pty-tpzhmg20.js} +4 -4
  224. package/dist/chunks/{project-a09abg6q.js → persistent-pty-tqf07m3e.js} +7 -5
  225. package/dist/chunks/persistent-pty-ttxf0gsy.js +0 -0
  226. package/dist/chunks/{project-emda4gf1.js → persistent-pty-twtt8bhh.js} +5 -5
  227. package/dist/chunks/{project-v2wshkax.js → persistent-pty-v2wshkax.js} +1 -1
  228. package/dist/chunks/{project-v80zsxnb.js → persistent-pty-v80zsxnb.js} +1 -1
  229. package/dist/chunks/{project-v972xay6.js → persistent-pty-v972xay6.js} +1 -1
  230. package/dist/chunks/{project-v9bfv94f.js → persistent-pty-v9bfv94f.js} +1 -1
  231. package/dist/chunks/{project-kcacmy5c.js → persistent-pty-vac9eqd2.js} +1 -5
  232. package/dist/chunks/{project-vcwr2vpf.js → persistent-pty-vcwr2vpf.js} +1 -1
  233. package/dist/chunks/{project-hs6vajzr.js → persistent-pty-vh1dz6e7.js} +18 -10
  234. package/dist/chunks/{project-26hk4g12.js → persistent-pty-vjsse407.js} +2 -2
  235. package/dist/chunks/{project-vqbmgfq1.js → persistent-pty-vqbmgfq1.js} +3 -3
  236. package/dist/chunks/{project-k6anep7v.js → persistent-pty-vqha1kn3.js} +15 -15
  237. package/dist/chunks/{project-752n680m.js → persistent-pty-vyrk4dbp.js} +41 -43
  238. package/dist/chunks/{project-vz89hfgr.js → persistent-pty-vz89hfgr.js} +1 -1
  239. package/dist/chunks/{project-m0j38ah3.js → persistent-pty-w4aa5eza.js} +11 -11
  240. package/dist/chunks/{project-k17ah5wk.js → persistent-pty-w6dbrh59.js} +19 -19
  241. package/dist/chunks/{project-4rcfaa94.js → persistent-pty-wa3apvnh.js} +6 -6
  242. package/dist/chunks/{project-wbkt8qpj.js → persistent-pty-wbkt8qpj.js} +1 -1
  243. package/dist/chunks/persistent-pty-we6kp80b.js +234 -0
  244. package/dist/chunks/{project-wmxdh12w.js → persistent-pty-wmxdh12w.js} +1 -1
  245. package/dist/chunks/{project-kmwxkk1w.js → persistent-pty-wpak3cn2.js} +3 -3
  246. package/dist/chunks/{project-wps8gh8n.js → persistent-pty-wps8gh8n.js} +2 -2
  247. package/dist/chunks/{project-36pd2x65.js → persistent-pty-wr6wwww9.js} +19 -20
  248. package/dist/chunks/{project-3cq0d38n.js → persistent-pty-wskcpn5r.js} +17 -17
  249. package/dist/chunks/{project-z259d721.js → persistent-pty-ww589d89.js} +81 -35
  250. package/dist/chunks/{project-x89rah0x.js → persistent-pty-x89rah0x.js} +1 -1
  251. package/dist/chunks/{project-xczfw7dq.js → persistent-pty-xczfw7dq.js} +1 -1
  252. package/dist/chunks/{project-xgv25zxy.js → persistent-pty-xgv25zxy.js} +1 -1
  253. package/dist/chunks/{project-p8fr6x1v.js → persistent-pty-xj0xhwdw.js} +2 -2
  254. package/dist/chunks/{project-ag9e5ja9.js → persistent-pty-xkdg511d.js} +3 -3
  255. package/dist/chunks/{project-0s0avyhy.js → persistent-pty-xqzpjgmh.js} +57 -63
  256. package/dist/chunks/{project-xwftk1fd.js → persistent-pty-xwftk1fd.js} +2 -2
  257. package/dist/chunks/{project-xxpvz42q.js → persistent-pty-xxpvz42q.js} +3 -3
  258. package/dist/chunks/{project-y0x38cee.js → persistent-pty-y0x38cee.js} +1 -1
  259. package/dist/chunks/{project-y198y2ra.js → persistent-pty-y198y2ra.js} +1 -1
  260. package/dist/chunks/{project-y67x6rf6.js → persistent-pty-y67x6rf6.js} +1 -1
  261. package/dist/chunks/{project-dndvd0y6.js → persistent-pty-y85nmh9b.js} +11 -11
  262. package/dist/chunks/{project-ebyp015j.js → persistent-pty-ybp6xw39.js} +7 -7
  263. package/dist/chunks/{project-2gjcj4rv.js → persistent-pty-yd381zvh.js} +19 -23
  264. package/dist/chunks/{project-yf0knd5z.js → persistent-pty-yf0knd5z.js} +2 -2
  265. package/dist/chunks/{project-c3ca4w0m.js → persistent-pty-ym92bbkh.js} +8 -5
  266. package/dist/chunks/{project-wc13d4t1.js → persistent-pty-yq3dvva9.js} +6 -6
  267. package/dist/chunks/{project-ff75mv0b.js → persistent-pty-yx19m5fk.js} +8 -8
  268. package/dist/chunks/{project-t8fspa0t.js → persistent-pty-z3cp4eqm.js} +16 -11
  269. package/dist/chunks/{project-0bvw1e9j.js → persistent-pty-z6p4m7fm.js} +34 -34
  270. package/dist/chunks/{project-zbqqnp0n.js → persistent-pty-zbqqnp0n.js} +1 -1
  271. package/dist/chunks/{project-zdkg1k91.js → persistent-pty-zdkg1k91.js} +1 -1
  272. package/dist/chunks/{project-xsz86f10.js → persistent-pty-zggp0jtk.js} +61 -61
  273. package/dist/chunks/{project-q9b4qnv8.js → persistent-pty-zs1qer6v.js} +7 -11
  274. package/dist/chunks/{project-zxcy6vhn.js → persistent-pty-zxcy6vhn.js} +1 -1
  275. package/dist/chunks/{project-zxe9jjhn.js → persistent-pty-zxe9jjhn.js} +2 -2
  276. package/dist/codemode/catalog.js +2 -2
  277. package/dist/codemode/instructions.js +4 -4
  278. package/dist/codemode/tool.js +3 -3
  279. package/dist/command.js +70 -70
  280. package/dist/config/file.js +128 -0
  281. package/dist/config/markdown.js +2 -2
  282. package/dist/config/normalize.js +20 -20
  283. package/dist/config/plugin/agent.js +132 -136
  284. package/dist/config/plugin/command.js +118 -118
  285. package/dist/config/plugin/compaction.js +146 -150
  286. package/dist/config/plugin/entry-observer.js +114 -114
  287. package/dist/config/plugin/formatter.js +119 -119
  288. package/dist/config/plugin/image.js +131 -130
  289. package/dist/config/plugin/instruction.js +90 -90
  290. package/dist/config/plugin/location-watcher.js +117 -117
  291. package/dist/config/plugin/mcp.js +128 -128
  292. package/dist/config/plugin/policy.js +116 -116
  293. package/dist/config/plugin/provider.js +115 -115
  294. package/dist/config/plugin/reference.js +119 -119
  295. package/dist/config/plugin/shell.js +118 -118
  296. package/dist/config/plugin/skill-file.js +103 -109
  297. package/dist/config/plugin/skill.js +135 -139
  298. package/dist/config/plugin/snapshot.js +117 -117
  299. package/dist/config/plugin/source.js +114 -114
  300. package/dist/config/plugin/tool-output.js +119 -119
  301. package/dist/config/plugin/websearch.js +115 -115
  302. package/dist/config/variable.js +4 -4
  303. package/dist/config.js +113 -115
  304. package/dist/credential/sql.js +3 -3
  305. package/dist/credential.js +71 -71
  306. package/dist/database/database.js +65 -65
  307. package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
  308. package/dist/database/drizzle/effect-sqlite/index.js +13 -13
  309. package/dist/database/drizzle/effect-sqlite/session.js +12 -12
  310. package/dist/database/drizzle/index.js +14 -14
  311. package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
  312. package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
  313. package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
  314. package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
  315. package/dist/database/drizzle/sqlite-core/effect/index.js +19 -19
  316. package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
  317. package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
  318. package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
  319. package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
  320. package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
  321. package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
  322. package/dist/database/drizzle.js +15 -15
  323. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
  324. package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
  325. package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
  326. package/dist/database/migration/20260225215848_workspace.js +2 -2
  327. package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
  328. package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
  329. package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
  330. package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
  331. package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
  332. package/dist/database/migration/20260323234822_events.js +2 -2
  333. package/dist/database/migration/20260410174513_workspace-name.js +2 -2
  334. package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
  335. package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
  336. package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
  337. package/dist/database/migration/20260428004200_add_session_path.js +2 -2
  338. package/dist/database/migration/20260501142318_next_venus.js +2 -2
  339. package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
  340. package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
  341. package/dist/database/migration/20260510033149_session_usage.js +2 -2
  342. package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
  343. package/dist/database/migration/20260511173437_session-metadata.js +2 -2
  344. package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
  345. package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
  346. package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
  347. package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
  348. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
  349. package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
  350. package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
  351. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
  352. package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
  353. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
  354. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
  355. package/dist/database/migration/20260611035744_credential.js +2 -2
  356. package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
  357. package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
  358. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
  359. package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
  360. package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
  361. package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
  362. package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
  363. package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
  364. package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
  365. package/dist/database/migration/20260812181746_session_inbox.js +2 -2
  366. package/dist/database/migration/20260812213948_worktree.js +2 -2
  367. package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
  368. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
  369. package/dist/database/migration.gen.js +48 -48
  370. package/dist/database/migration.js +50 -50
  371. package/dist/database/path.js +3 -3
  372. package/dist/database/schema.gen.js +2 -2
  373. package/dist/database/schema.sql.js +2 -2
  374. package/dist/database/sqlite.bun.js +2 -2
  375. package/dist/database/sqlite.js +2 -2
  376. package/dist/database/sqlite.node.js +2 -2
  377. package/dist/database/sqlite.workerd.js +2 -2
  378. package/dist/database/v1-migration.bun.js +77 -93
  379. package/dist/database/v1-migration.js +2 -2
  380. package/dist/database/v1-migration.noop.js +1 -1
  381. package/dist/effect/app-node-builder.js +333 -328
  382. package/dist/effect/app-node-platform.js +3 -3
  383. package/dist/effect/keyed-mutex.js +2 -2
  384. package/dist/effect/websocket-constructor.js +2 -2
  385. package/dist/environment/driver.js +1 -1
  386. package/dist/environment/environment.js +91 -91
  387. package/dist/environment/exec-defaults.js +3 -3
  388. package/dist/environment/files.js +2 -2
  389. package/dist/environment/index.js +93 -93
  390. package/dist/environment/local.js +3 -3
  391. package/dist/environment/memory.js +3 -3
  392. package/dist/environment/unavailable.js +1 -1
  393. package/dist/event/sql.js +2 -2
  394. package/dist/event-logger.js +68 -68
  395. package/dist/file-mutation.js +92 -92
  396. package/dist/file-retention.js +2 -2
  397. package/dist/file.js +2 -2
  398. package/dist/filesystem/fff.bun.js +2 -2
  399. package/dist/filesystem/fff.js +2 -2
  400. package/dist/filesystem/fff.node.js +2 -2
  401. package/dist/filesystem/fff.workerd.js +2 -2
  402. package/dist/filesystem/ignore.js +1 -1
  403. package/dist/filesystem/location-watcher-policy.js +3 -3
  404. package/dist/filesystem/location-watcher.js +309 -304
  405. package/dist/filesystem/protected.js +2 -2
  406. package/dist/filesystem/search.js +96 -96
  407. package/dist/filesystem/watcher-binding.js +2 -2
  408. package/dist/filesystem/watcher.js +4 -4
  409. package/dist/filesystem.js +99 -98
  410. package/dist/form.js +69 -69
  411. package/dist/formatter/builtins.js +3 -3
  412. package/dist/formatter.js +85 -85
  413. package/dist/generate.js +84 -84
  414. package/dist/git.js +5 -5
  415. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
  416. package/dist/github-copilot/chat/get-response-metadata.js +2 -2
  417. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
  418. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
  419. package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
  420. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
  421. package/dist/github-copilot/copilot-provider.js +20 -20
  422. package/dist/github-copilot/models.js +4 -4
  423. package/dist/github-copilot/openai-compatible-error.js +2 -2
  424. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
  425. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
  426. package/dist/github-copilot/responses/openai-error.js +2 -2
  427. package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
  428. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
  429. package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
  430. package/dist/github-copilot/responses/tool/file-search.js +2 -2
  431. package/dist/github-copilot/responses/tool/image-generation.js +2 -2
  432. package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
  433. package/dist/github-copilot/responses/tool/web-search.js +2 -2
  434. package/dist/id/id.js +2 -2
  435. package/dist/image/photon-wasm.bun.js +1 -1
  436. package/dist/image/photon-wasm.node.js +1 -1
  437. package/dist/image/photon-wasm.workerd.js +1 -1
  438. package/dist/image/photon.js +99 -98
  439. package/dist/image.js +99 -98
  440. package/dist/instance.js +341 -0
  441. package/dist/instruction-discovery.js +72 -72
  442. package/dist/instructions/builtins.js +86 -86
  443. package/dist/instructions/index.js +2 -2
  444. package/dist/integration/connection.js +2 -2
  445. package/dist/integration.js +75 -75
  446. package/dist/job.js +72 -72
  447. package/dist/kv/sql.js +3 -3
  448. package/dist/kv.js +68 -68
  449. package/dist/location-activity.js +85 -85
  450. package/dist/location-mutation.js +87 -85
  451. package/dist/location-service-map.js +84 -84
  452. package/dist/location-services.js +334 -331
  453. package/dist/location.js +83 -83
  454. package/dist/mcp/client.js +128 -129
  455. package/dist/mcp/index.js +99 -99
  456. package/dist/mcp/instructions.js +127 -129
  457. package/dist/mcp/oauth.js +5 -13
  458. package/dist/mcp/stdio.js +93 -93
  459. package/dist/mime.js +2 -2
  460. package/dist/model-resolver.js +83 -83
  461. package/dist/model.js +3 -3
  462. package/dist/models-dev.js +75 -75
  463. package/dist/oauth/page.js +2 -2
  464. package/dist/permission/saved.js +84 -84
  465. package/dist/permission/sql.js +6 -6
  466. package/dist/permission.js +100 -106
  467. package/dist/persistent-pty/binary.bun.js +6 -6
  468. package/dist/persistent-pty/binary.node.js +1 -1
  469. package/dist/persistent-pty/binary.workerd.js +1 -1
  470. package/dist/persistent-pty/daemon.js +2 -2
  471. package/dist/persistent-pty/index.js +80 -71
  472. package/dist/persistent-pty/pty-binding.js +2 -2
  473. package/dist/persistent-pty.js +74 -70
  474. package/dist/plugin/agent.js +101 -107
  475. package/dist/plugin/command.js +99 -99
  476. package/dist/plugin/hooks.js +3 -3
  477. package/dist/plugin/host.js +174 -171
  478. package/dist/plugin/instance.js +13 -0
  479. package/dist/plugin/internal.js +302 -298
  480. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  481. package/dist/plugin/models-dev.js +76 -76
  482. package/dist/plugin/module.js +3 -3
  483. package/dist/plugin/plan.js +101 -107
  484. package/dist/plugin/promise.js +2 -2
  485. package/dist/plugin/provider/alibaba.js +3 -3
  486. package/dist/plugin/provider/amazon-bedrock.js +3 -3
  487. package/dist/plugin/provider/anthropic.js +3 -3
  488. package/dist/plugin/provider/azure.js +123 -121
  489. package/dist/plugin/provider/cerebras.js +3 -3
  490. package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
  491. package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
  492. package/dist/plugin/provider/cohere.js +3 -3
  493. package/dist/plugin/provider/configured.js +122 -120
  494. package/dist/plugin/provider/dynamic.js +3 -2
  495. package/dist/plugin/provider/factory.js +2 -2
  496. package/dist/plugin/provider/gateway.js +3 -3
  497. package/dist/plugin/provider/github-copilot.js +82 -82
  498. package/dist/plugin/provider/gitlab.js +4 -4
  499. package/dist/plugin/provider/google-vertex.js +3 -3
  500. package/dist/plugin/provider/kilo.js +3 -3
  501. package/dist/plugin/provider/llmgateway.js +77 -77
  502. package/dist/plugin/provider/lmstudio.js +120 -114
  503. package/dist/plugin/provider/mistral.js +3 -3
  504. package/dist/plugin/provider/nvidia.js +3 -3
  505. package/dist/plugin/provider/ollama.js +120 -114
  506. package/dist/plugin/provider/openai-compatible.js +2 -2
  507. package/dist/plugin/provider/openai.js +79 -79
  508. package/dist/plugin/provider/opencode.js +93 -93
  509. package/dist/plugin/provider/openrouter.js +4 -4
  510. package/dist/plugin/provider/perplexity.js +3 -3
  511. package/dist/plugin/provider/sap-ai-core.js +4 -3
  512. package/dist/plugin/provider/sdk-factory.js +7 -0
  513. package/dist/plugin/provider/snowflake-cortex.js +3 -3
  514. package/dist/plugin/provider/venice.js +3 -3
  515. package/dist/plugin/provider/vercel.js +3 -3
  516. package/dist/plugin/provider/vllm.js +120 -114
  517. package/dist/plugin/provider/xai.js +78 -78
  518. package/dist/plugin/provider/zenmux.js +3 -3
  519. package/dist/plugin/provider.js +159 -157
  520. package/dist/plugin/runtime.js +162 -159
  521. package/dist/plugin/sdk.js +69 -69
  522. package/dist/plugin/skill.js +133 -137
  523. package/dist/plugin/source-directory.js +2 -2
  524. package/dist/plugin/supervisor-service.js +2 -2
  525. package/dist/plugin/supervisor.js +308 -303
  526. package/dist/plugin/system-prompt.js +2 -2
  527. package/dist/plugin/variant.js +4 -4
  528. package/dist/plugin/vcs/git.js +85 -85
  529. package/dist/plugin/vcs/hg.js +85 -85
  530. package/dist/plugin/warming.js +115 -115
  531. package/dist/plugin/websearch/exa.js +4 -4
  532. package/dist/plugin/websearch/firecrawl.js +5 -5
  533. package/dist/plugin/websearch/index.js +9 -9
  534. package/dist/plugin/websearch/mcp.js +3 -3
  535. package/dist/plugin/websearch/parallel.js +5 -5
  536. package/dist/plugin/websearch/tavily.js +3 -3
  537. package/dist/plugin.js +175 -172
  538. package/dist/project/markers.js +74 -74
  539. package/dist/project/schema.js +3 -3
  540. package/dist/project/sql.js +5 -5
  541. package/dist/project.js +82 -82
  542. package/dist/provider.js +2 -2
  543. package/dist/pty/protocol.js +1 -1
  544. package/dist/pty/pty.bun.js +1 -1
  545. package/dist/pty/pty.node.js +3 -3
  546. package/dist/pty/pty.workerd.js +1 -1
  547. package/dist/pty/schema.js +2 -2
  548. package/dist/pty/ticket.js +70 -70
  549. package/dist/pty.js +89 -89
  550. package/dist/reference/instructions.js +77 -77
  551. package/dist/reference.js +75 -75
  552. package/dist/repository-cache.js +7 -7
  553. package/dist/repository.js +2 -2
  554. package/dist/ripgrep/binary.js +3 -3
  555. package/dist/ripgrep.js +94 -94
  556. package/dist/schema.js +2 -2
  557. package/dist/session/compaction.js +118 -122
  558. package/dist/session/context.js +318 -313
  559. package/dist/session/environment.js +3 -3
  560. package/dist/session/error.js +4 -4
  561. package/dist/session/event.js +2 -2
  562. package/dist/session/execution/restart.js +165 -164
  563. package/dist/session/execution.js +122 -126
  564. package/dist/session/generate-node.js +319 -314
  565. package/dist/session/generate.js +2 -2
  566. package/dist/session/history.js +77 -94
  567. package/dist/session/inbox.js +79 -91
  568. package/dist/session/info.js +4 -92
  569. package/dist/session/instruction-entry.js +73 -90
  570. package/dist/session/instruction-state.js +10 -91
  571. package/dist/session/instructions.js +94 -102
  572. package/dist/session/message-updater.js +4 -4
  573. package/dist/session/message.js +2 -2
  574. package/dist/session/model-request.js +139 -139
  575. package/dist/session/model-transport.js +5 -5
  576. package/dist/session/projector.js +83 -101
  577. package/dist/session/revert.js +90 -94
  578. package/dist/session/run-coordinator.js +2 -2
  579. package/dist/session/runner/index.js +84 -84
  580. package/dist/session/runner/llm.js +324 -320
  581. package/dist/session/runner/max-steps.js +2 -2
  582. package/dist/session/runner/model.js +83 -83
  583. package/dist/session/runner/publish-llm-event.js +4 -4
  584. package/dist/session/runner/retry.js +72 -72
  585. package/dist/session/runner/step.js +151 -149
  586. package/dist/session/runner/to-llm-message.js +2 -2
  587. package/dist/session/schema.js +2 -2
  588. package/dist/session/sql.js +6 -87
  589. package/dist/session/stats.js +78 -94
  590. package/dist/session/store.js +79 -101
  591. package/dist/session/system-prompt.js +2 -2
  592. package/dist/session/title.js +319 -314
  593. package/dist/session/to-session-error.js +113 -117
  594. package/dist/session/transfer.js +168 -163
  595. package/dist/session/usage.js +2 -2
  596. package/dist/session.js +157 -157
  597. package/dist/shell/parse.js +7 -6
  598. package/dist/shell/parser-wasm.bun.js +1 -1
  599. package/dist/shell/parser-wasm.node.js +1 -1
  600. package/dist/shell/parser-wasm.workerd.js +1 -1
  601. package/dist/shell/scan.js +1 -1
  602. package/dist/shell/select.js +6 -4
  603. package/dist/shell.js +99 -99
  604. package/dist/skill/discovery.js +3 -3
  605. package/dist/skill/instructions.js +102 -108
  606. package/dist/skill.js +101 -107
  607. package/dist/snapshot.js +85 -85
  608. package/dist/state.js +2 -2
  609. package/dist/tool/html-markdown.js +2 -2
  610. package/dist/tool/http-body.js +2 -2
  611. package/dist/tool/mcp.js +126 -128
  612. package/dist/tool/plugin/edit.js +113 -116
  613. package/dist/tool/plugin/file-diff.js +2 -2
  614. package/dist/tool/plugin/glob.js +116 -118
  615. package/dist/tool/plugin/grep.js +116 -118
  616. package/dist/tool/plugin/patch.js +115 -118
  617. package/dist/tool/plugin/question.js +104 -110
  618. package/dist/tool/plugin/read.js +119 -121
  619. package/dist/tool/plugin/shell.js +190 -187
  620. package/dist/tool/plugin/skill.js +102 -108
  621. package/dist/tool/plugin/subagent.js +187 -184
  622. package/dist/tool/plugin/webfetch.js +103 -109
  623. package/dist/tool/plugin/websearch.js +105 -111
  624. package/dist/tool/plugin/write.js +115 -118
  625. package/dist/tool/read-filesystem.js +101 -98
  626. package/dist/tool/runtime.js +7 -3
  627. package/dist/tool-output.js +5 -5
  628. package/dist/tool.js +119 -121
  629. package/dist/types/config/file.d.ts +17 -0
  630. package/dist/types/config/plugin/mcp.d.ts +4 -4
  631. package/dist/types/config.d.ts +1 -9
  632. package/dist/types/filesystem/search.d.ts +1 -1
  633. package/dist/types/github-copilot/responses/openai-error.d.ts +1 -1
  634. package/dist/types/instance.d.ts +58 -0
  635. package/dist/types/instruction-discovery.d.ts +2 -0
  636. package/dist/types/location-mutation.d.ts +9 -5
  637. package/dist/types/location-service-map.d.ts +2 -2
  638. package/dist/types/location-services.d.ts +3 -47
  639. package/dist/types/location.d.ts +3 -1
  640. package/dist/types/mcp/client.d.ts +20 -20
  641. package/dist/types/mcp/index.d.ts +1 -1
  642. package/dist/types/mcp/instructions.d.ts +2 -2
  643. package/dist/types/mcp/oauth.d.ts +1 -1
  644. package/dist/types/mcp/stdio.d.ts +1 -1
  645. package/dist/types/model-resolver.d.ts +1 -1
  646. package/dist/types/model.d.ts +14 -2
  647. package/dist/types/persistent-pty/daemon.d.ts +142 -2
  648. package/dist/types/persistent-pty/index.d.ts +18 -5
  649. package/dist/types/plugin/command.d.ts +2 -2
  650. package/dist/types/plugin/host.d.ts +16 -8
  651. package/dist/types/plugin/instance.d.ts +27 -0
  652. package/dist/types/plugin/internal.d.ts +4 -4
  653. package/dist/types/plugin/mcp-codemode-exclusion.d.ts +1 -1
  654. package/dist/types/plugin/provider/azure.d.ts +3 -1
  655. package/dist/types/plugin/provider/configured.d.ts +5 -0
  656. package/dist/types/plugin/provider/sdk-factory.d.ts +3 -0
  657. package/dist/types/plugin/runtime.d.ts +7 -5
  658. package/dist/types/plugin/supervisor.d.ts +2 -1
  659. package/dist/types/project/markers.d.ts +3 -1
  660. package/dist/types/project.d.ts +3 -1
  661. package/dist/types/pty/pty.node.d.ts +2 -1
  662. package/dist/types/schema.d.ts +1 -1
  663. package/dist/types/session/inbox.d.ts +82 -0
  664. package/dist/types/session/info.d.ts +1 -1
  665. package/dist/types/session/message-updater.d.ts +11 -11
  666. package/dist/types/session/runner/publish-llm-event.d.ts +1 -183
  667. package/dist/types/session/runner/step.d.ts +124 -1
  668. package/dist/types/session/schema.d.ts +1 -0
  669. package/dist/types/session/sql.d.ts +3 -1
  670. package/dist/types/session/transfer.d.ts +2 -1
  671. package/dist/types/session/usage.d.ts +1 -1
  672. package/dist/types/session.d.ts +3 -2
  673. package/dist/types/shell/select.d.ts +3 -0
  674. package/dist/types/tool/mcp.d.ts +2 -2
  675. package/dist/types/tool/plugin/edit.d.ts +2 -2
  676. package/dist/types/tool/plugin/glob.d.ts +2 -2
  677. package/dist/types/tool/plugin/grep.d.ts +2 -2
  678. package/dist/types/tool/plugin/patch.d.ts +3 -3
  679. package/dist/types/tool/plugin/question.d.ts +3 -3
  680. package/dist/types/tool/plugin/read.d.ts +2 -2
  681. package/dist/types/tool/plugin/shell.d.ts +2 -2
  682. package/dist/types/tool/plugin/skill.d.ts +2 -2
  683. package/dist/types/tool/plugin/subagent.d.ts +2 -2
  684. package/dist/types/tool/plugin/webfetch.d.ts +2 -2
  685. package/dist/types/tool/plugin/websearch.d.ts +2 -2
  686. package/dist/types/tool/plugin/write.d.ts +3 -3
  687. package/dist/types/tool/read-filesystem.d.ts +1 -0
  688. package/dist/types/tool/runtime.d.ts +2 -0
  689. package/dist/types/v1/config/migrate.d.ts +2 -2
  690. package/dist/types/workspace/driver.d.ts +2 -2
  691. package/dist/types/workspace.d.ts +2 -2
  692. package/dist/util/array.js +1 -1
  693. package/dist/util/error.js +2 -2
  694. package/dist/util/identifier.js +1 -1
  695. package/dist/util/iife.js +2 -2
  696. package/dist/util/lazy.js +2 -2
  697. package/dist/util/process-lock-ffi.bun.js +1 -1
  698. package/dist/util/process-lock-ffi.node.js +1 -1
  699. package/dist/util/process-lock-ffi.workerd.js +1 -1
  700. package/dist/util/process-lock.js +1 -1
  701. package/dist/util/slug.js +2 -2
  702. package/dist/util/token.js +2 -2
  703. package/dist/util/which.js +2 -2
  704. package/dist/util/wildcard.js +2 -2
  705. package/dist/v1/config/agent.js +4 -4
  706. package/dist/v1/config/attachment.js +3 -3
  707. package/dist/v1/config/command.js +2 -2
  708. package/dist/v1/config/config.js +15 -15
  709. package/dist/v1/config/error.js +3 -3
  710. package/dist/v1/config/formatter.js +2 -2
  711. package/dist/v1/config/layout.js +2 -2
  712. package/dist/v1/config/lsp.js +2 -2
  713. package/dist/v1/config/mcp.js +3 -3
  714. package/dist/v1/config/migrate.js +19 -19
  715. package/dist/v1/config/permission.js +2 -2
  716. package/dist/v1/config/plugin.js +2 -2
  717. package/dist/v1/config/provider-options.js +2 -2
  718. package/dist/v1/config/provider.js +3 -3
  719. package/dist/v1/config/server.js +3 -3
  720. package/dist/v1/config/skills.js +2 -2
  721. package/dist/v1/permission.js +43 -7
  722. package/dist/vcs/patch.js +2 -2
  723. package/dist/vcs.js +86 -86
  724. package/dist/websearch.js +73 -73
  725. package/dist/wellknown/plugin.js +73 -73
  726. package/dist/wellknown.js +72 -72
  727. package/dist/workspace/driver.js +2 -2
  728. package/dist/workspace/sql.js +2 -2
  729. package/dist/workspace.js +69 -69
  730. package/dist/worktree/directory.js +3 -3
  731. package/dist/worktree/git.js +7 -7
  732. package/dist/worktree/sql.js +6 -6
  733. package/dist/worktree.js +87 -87
  734. package/package.json +12 -12
  735. package/dist/chunks/project-3hhqtqv0.js +0 -227
  736. package/dist/chunks/project-3q6gbwmd.js +0 -26
  737. package/dist/chunks/project-8tv6syt7.js +0 -46
  738. package/dist/chunks/project-hwf0phwc.js +0 -300
  739. package/dist/chunks/project-km33gj80.js +0 -119
  740. package/dist/chunks/project-wd268jeg.js +0 -83
  741. package/dist/session/prompt-cache-diagnostics.js +0 -11
  742. package/dist/types/session/prompt-cache-diagnostics.d.ts +0 -29
  743. /package/dist/chunks/{project-0cgt0xh2.js → persistent-pty-0cgt0xh2.js} +0 -0
  744. /package/dist/chunks/{project-0f48qthw.js → persistent-pty-0f48qthw.js} +0 -0
  745. /package/dist/chunks/{project-0zz82cjq.js → persistent-pty-0zz82cjq.js} +0 -0
  746. /package/dist/chunks/{project-1fb7bmpf.js → persistent-pty-1fb7bmpf.js} +0 -0
  747. /package/dist/chunks/{project-1wcz8fvj.js → persistent-pty-1wcz8fvj.js} +0 -0
  748. /package/dist/chunks/{project-29n7vfk2.js → persistent-pty-29n7vfk2.js} +0 -0
  749. /package/dist/chunks/{project-2qdx6zz3.js → persistent-pty-2qdx6zz3.js} +0 -0
  750. /package/dist/chunks/{project-2xb0r1c6.js → persistent-pty-2xb0r1c6.js} +0 -0
  751. /package/dist/chunks/{project-39ktntah.js → persistent-pty-39ktntah.js} +0 -0
  752. /package/dist/chunks/{project-3g3rpp2x.js → persistent-pty-3g3rpp2x.js} +0 -0
  753. /package/dist/chunks/{project-3w3ybtfd.js → persistent-pty-3w3ybtfd.js} +0 -0
  754. /package/dist/chunks/{project-47ty4mvs.js → persistent-pty-47ty4mvs.js} +0 -0
  755. /package/dist/chunks/{project-4b2tz2m9.js → persistent-pty-4b2tz2m9.js} +0 -0
  756. /package/dist/chunks/{project-5a5ch9ts.js → persistent-pty-5a5ch9ts.js} +0 -0
  757. /package/dist/chunks/{project-5va1yh78.js → persistent-pty-5va1yh78.js} +0 -0
  758. /package/dist/chunks/{project-61ek4hj9.js → persistent-pty-61ek4hj9.js} +0 -0
  759. /package/dist/chunks/{project-69qrqpw0.js → persistent-pty-69qrqpw0.js} +0 -0
  760. /package/dist/chunks/{project-6zqxzw0a.js → persistent-pty-6zqxzw0a.js} +0 -0
  761. /package/dist/chunks/{project-7n9qwqk4.js → persistent-pty-7n9qwqk4.js} +0 -0
  762. /package/dist/chunks/{project-8nn8kqcn.js → persistent-pty-8nn8kqcn.js} +0 -0
  763. /package/dist/chunks/{project-8rpfd2h6.js → persistent-pty-8rpfd2h6.js} +0 -0
  764. /package/dist/chunks/{project-8sj3ajy5.js → persistent-pty-8sj3ajy5.js} +0 -0
  765. /package/dist/chunks/{project-8w9tzfz1.js → persistent-pty-8w9tzfz1.js} +0 -0
  766. /package/dist/chunks/{project-906y0b6d.js → persistent-pty-906y0b6d.js} +0 -0
  767. /package/dist/chunks/{project-9dct5xhx.js → persistent-pty-9dct5xhx.js} +0 -0
  768. /package/dist/chunks/{project-9sdtsapf.js → persistent-pty-9sdtsapf.js} +0 -0
  769. /package/dist/chunks/{project-a02svayp.js → persistent-pty-a02svayp.js} +0 -0
  770. /package/dist/chunks/{project-a83yvq99.js → persistent-pty-a83yvq99.js} +0 -0
  771. /package/dist/chunks/{project-a9vdgkgd.js → persistent-pty-a9vdgkgd.js} +0 -0
  772. /package/dist/chunks/{project-ayevdmef.js → persistent-pty-ayevdmef.js} +0 -0
  773. /package/dist/chunks/{project-b02txbh8.js → persistent-pty-b02txbh8.js} +0 -0
  774. /package/dist/chunks/{project-bbqs2y60.js → persistent-pty-bbqs2y60.js} +0 -0
  775. /package/dist/chunks/{project-bjwj8hwv.js → persistent-pty-bjwj8hwv.js} +0 -0
  776. /package/dist/chunks/{project-brsh5f65.js → persistent-pty-brsh5f65.js} +0 -0
  777. /package/dist/chunks/{project-bxdhjb3y.js → persistent-pty-bxdhjb3y.js} +0 -0
  778. /package/dist/chunks/{project-c77ad0vh.js → persistent-pty-c77ad0vh.js} +0 -0
  779. /package/dist/chunks/{project-cm67rqy2.js → persistent-pty-cm67rqy2.js} +0 -0
  780. /package/dist/chunks/{project-df3v2q6j.js → persistent-pty-df3v2q6j.js} +0 -0
  781. /package/dist/chunks/{project-dhcq6c44.js → persistent-pty-dhcq6c44.js} +0 -0
  782. /package/dist/chunks/{project-dht5baf0.js → persistent-pty-dht5baf0.js} +0 -0
  783. /package/dist/chunks/{project-dkmkay92.js → persistent-pty-dkmkay92.js} +0 -0
  784. /package/dist/chunks/{project-ehj9csmv.js → persistent-pty-ehj9csmv.js} +0 -0
  785. /package/dist/chunks/{project-em6xpscd.js → persistent-pty-em6xpscd.js} +0 -0
  786. /package/dist/chunks/{project-emmqknsm.js → persistent-pty-emmqknsm.js} +0 -0
  787. /package/dist/chunks/{project-ezs3tagn.js → persistent-pty-ezs3tagn.js} +0 -0
  788. /package/dist/chunks/{project-f14r7hfz.js → persistent-pty-f14r7hfz.js} +0 -0
  789. /package/dist/chunks/{project-f4cp4g4a.js → persistent-pty-f4cp4g4a.js} +0 -0
  790. /package/dist/chunks/{project-faypg4r1.js → persistent-pty-faypg4r1.js} +0 -0
  791. /package/dist/chunks/{project-ttxf0gsy.js → persistent-pty-fg7fz4q3.js} +0 -0
  792. /package/dist/chunks/{project-fgbfdq62.js → persistent-pty-fgbfdq62.js} +0 -0
  793. /package/dist/chunks/{project-gd5xeqc2.js → persistent-pty-gd5xeqc2.js} +0 -0
  794. /package/dist/chunks/{project-ghm4673n.js → persistent-pty-ghm4673n.js} +0 -0
  795. /package/dist/chunks/{project-ghwjy7my.js → persistent-pty-ghwjy7my.js} +0 -0
  796. /package/dist/chunks/{project-gy500k2r.js → persistent-pty-gy500k2r.js} +0 -0
  797. /package/dist/chunks/{project-hzeg9cfr.js → persistent-pty-hzeg9cfr.js} +0 -0
  798. /package/dist/chunks/{project-j07kk359.js → persistent-pty-j07kk359.js} +0 -0
  799. /package/dist/chunks/{project-jve7t217.js → persistent-pty-jve7t217.js} +0 -0
  800. /package/dist/chunks/{project-k3e42drn.js → persistent-pty-k3e42drn.js} +0 -0
  801. /package/dist/chunks/{project-k8b45nas.js → persistent-pty-k8b45nas.js} +0 -0
  802. /package/dist/chunks/{project-kpdbz7gn.js → persistent-pty-kpdbz7gn.js} +0 -0
  803. /package/dist/chunks/{project-kxy11nzk.js → persistent-pty-kxy11nzk.js} +0 -0
  804. /package/dist/chunks/{project-kyyqvx4s.js → persistent-pty-kyyqvx4s.js} +0 -0
  805. /package/dist/chunks/{project-m8cbvarh.js → persistent-pty-m8cbvarh.js} +0 -0
  806. /package/dist/chunks/{project-ma60vzgv.js → persistent-pty-ma60vzgv.js} +0 -0
  807. /package/dist/chunks/{project-n3m50c2t.js → persistent-pty-n3m50c2t.js} +0 -0
  808. /package/dist/chunks/{project-nkm1m8dz.js → persistent-pty-nkm1m8dz.js} +0 -0
  809. /package/dist/chunks/{project-nsc0c3zb.js → persistent-pty-nsc0c3zb.js} +0 -0
  810. /package/dist/chunks/{project-qaarhjrp.js → persistent-pty-qaarhjrp.js} +0 -0
  811. /package/dist/chunks/{project-qc167nrn.js → persistent-pty-qc167nrn.js} +0 -0
  812. /package/dist/chunks/{project-qp95y4jb.js → persistent-pty-qp95y4jb.js} +0 -0
  813. /package/dist/chunks/{project-r8f4w671.js → persistent-pty-r8f4w671.js} +0 -0
  814. /package/dist/chunks/{project-rdfev9jy.js → persistent-pty-rdfev9jy.js} +0 -0
  815. /package/dist/chunks/{project-rvfvac9x.js → persistent-pty-rvfvac9x.js} +0 -0
  816. /package/dist/chunks/{project-s7whb9gt.js → persistent-pty-s7whb9gt.js} +0 -0
  817. /package/dist/chunks/{project-se76j685.js → persistent-pty-se76j685.js} +0 -0
  818. /package/dist/chunks/{project-sem2g21k.js → persistent-pty-sem2g21k.js} +0 -0
  819. /package/dist/chunks/{project-sp575ygv.js → persistent-pty-sp575ygv.js} +0 -0
  820. /package/dist/chunks/{project-tmb1f636.js → persistent-pty-tmb1f636.js} +0 -0
  821. /package/dist/chunks/{project-tvmhrvfj.js → persistent-pty-tvmhrvfj.js} +0 -0
  822. /package/dist/chunks/{project-v2adqbbe.js → persistent-pty-v2adqbbe.js} +0 -0
  823. /package/dist/chunks/{project-wj4sxzqa.js → persistent-pty-wj4sxzqa.js} +0 -0
  824. /package/dist/chunks/{project-wwntjmk1.js → persistent-pty-wwntjmk1.js} +0 -0
  825. /package/dist/chunks/{project-wyqjaaa5.js → persistent-pty-wyqjaaa5.js} +0 -0
  826. /package/dist/chunks/{project-x4q807cx.js → persistent-pty-x4q807cx.js} +0 -0
  827. /package/dist/chunks/{project-yrqrg4vp.js → persistent-pty-yrqrg4vp.js} +0 -0
  828. /package/dist/chunks/{project-z47nswr2.js → persistent-pty-z47nswr2.js} +0 -0
  829. /package/dist/chunks/{project-zsf8rs93.js → persistent-pty-zsf8rs93.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- exports_skills
3
- } from "./project-nzrjycs5.js";
2
+ exports_server
3
+ } from "./persistent-pty-pq4b4pqk.js";
4
4
  import {
5
- exports_formatter
6
- } from "./project-2nmyybe0.js";
5
+ exports_command
6
+ } from "./persistent-pty-thstd87d.js";
7
7
  import {
8
8
  exports_plugin
9
- } from "./project-9f0rnpkn.js";
9
+ } from "./persistent-pty-9f0rnpkn.js";
10
10
  import {
11
- exports_command
12
- } from "./project-thstd87d.js";
11
+ exports_skills
12
+ } from "./persistent-pty-nzrjycs5.js";
13
13
  import {
14
- exports_layout
15
- } from "./project-gcay93cp.js";
14
+ exports_provider
15
+ } from "./persistent-pty-18pv8fg3.js";
16
16
  import {
17
- exports_mcp
18
- } from "./project-e1z9a0ts.js";
17
+ exports_formatter
18
+ } from "./persistent-pty-2nmyybe0.js";
19
19
  import {
20
- exports_attachment
21
- } from "./project-r3k9abhd.js";
20
+ exports_mcp
21
+ } from "./persistent-pty-e1z9a0ts.js";
22
22
  import {
23
- exports_lsp
24
- } from "./project-999qd968.js";
23
+ exports_agent
24
+ } from "./persistent-pty-4s2xwh5d.js";
25
25
  import {
26
- exports_server
27
- } from "./project-pq4b4pqk.js";
26
+ exports_attachment
27
+ } from "./persistent-pty-r3k9abhd.js";
28
28
  import {
29
- exports_provider
30
- } from "./project-18pv8fg3.js";
29
+ exports_permission
30
+ } from "./persistent-pty-v9bfv94f.js";
31
31
  import {
32
- exports_agent
33
- } from "./project-4s2xwh5d.js";
32
+ exports_layout
33
+ } from "./persistent-pty-gcay93cp.js";
34
34
  import {
35
- exports_permission
36
- } from "./project-v9bfv94f.js";
35
+ exports_lsp
36
+ } from "./persistent-pty-15hpbjb6.js";
37
37
  import {
38
38
  NonNegativeInt,
39
39
  PositiveInt
40
- } from "./project-j07kk359.js";
40
+ } from "./persistent-pty-j07kk359.js";
41
41
  import {
42
42
  __export
43
- } from "./project-rvfvac9x.js";
43
+ } from "./persistent-pty-rvfvac9x.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  exports_provider
3
- } from "./project-krsqcmnj.js";
3
+ } from "./persistent-pty-krsqcmnj.js";
4
4
  import {
5
5
  __require
6
- } from "./project-rvfvac9x.js";
6
+ } from "./persistent-pty-rvfvac9x.js";
7
7
 
8
8
  // src/plugin/provider/google-vertex.ts
9
9
  import { Effect } from "effect";
@@ -51,8 +51,7 @@ var GoogleVertexPlugin = define({
51
51
  ...provider.settings,
52
52
  ...project ? { project } : {},
53
53
  location,
54
- ...typeof provider.settings?.baseURL === "string" ? { baseURL: replaceVertexVars(provider.settings.baseURL, project, location) } : {},
55
- ...exports_provider.packageName(provider.package)?.includes("@ai-sdk/openai-compatible") ? { fetch: authFetch(provider.settings?.fetch) } : {}
54
+ ...typeof provider.settings?.baseURL === "string" ? { baseURL: replaceVertexVars(provider.settings.baseURL, project, location) } : {}
56
55
  };
57
56
  });
58
57
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-rvfvac9x.js";
3
+ } from "./persistent-pty-rvfvac9x.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  exports_environment1 as exports_environment
3
- } from "./project-ym31qssr.js";
3
+ } from "./persistent-pty-q22ck3r9.js";
4
4
  import {
5
5
  exports_keyed_mutex
6
- } from "./project-0kvmztkf.js";
6
+ } from "./persistent-pty-0kvmztkf.js";
7
7
  import {
8
8
  __export
9
- } from "./project-rvfvac9x.js";
9
+ } from "./persistent-pty-rvfvac9x.js";
10
10
 
11
11
  // src/file-mutation.ts
12
12
  var exports_file_mutation = {};
@@ -0,0 +1,126 @@
1
+ import {
2
+ exports_search
3
+ } from "./persistent-pty-egt387mf.js";
4
+ import {
5
+ exports_location
6
+ } from "./persistent-pty-d88p9jy9.js";
7
+ import {
8
+ PositiveInt,
9
+ RelativePath
10
+ } from "./persistent-pty-j07kk359.js";
11
+ import {
12
+ __export
13
+ } from "./persistent-pty-rvfvac9x.js";
14
+
15
+ // src/filesystem.ts
16
+ var exports_filesystem = {};
17
+ __export(exports_filesystem, {
18
+ node: () => node,
19
+ Submatch: () => Submatch,
20
+ Service: () => Service,
21
+ ReadInput: () => ReadInput,
22
+ Match: () => Match,
23
+ ListInput: () => ListInput,
24
+ GrepInput: () => GrepInput,
25
+ GlobInput: () => GlobInput,
26
+ FindInput: () => FindInput,
27
+ FileSystem: () => exports_filesystem,
28
+ Event: () => Event,
29
+ Entry: () => Entry2,
30
+ DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS,
31
+ DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT,
32
+ Content: () => Content
33
+ });
34
+ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
35
+ import path from "path";
36
+ import { Context, Effect, Layer, Schema } from "effect";
37
+ import { FSUtil } from "@opencode-ai/util/fs-util";
38
+ import { Entry, FileSystem, FindInput } from "@opencode-ai/schema/filesystem";
39
+ import { Entry as Entry2, Match, Submatch } from "@opencode-ai/schema/filesystem";
40
+ var ReadInput = Schema.Struct({
41
+ path: RelativePath
42
+ });
43
+ var Content = Schema.Struct({
44
+ uri: Schema.String,
45
+ name: Schema.String.pipe(Schema.optional),
46
+ content: Schema.String,
47
+ encoding: Schema.Literals(["utf8", "base64"]),
48
+ mime: Schema.String
49
+ }).annotate({ identifier: "FileSystem.Content" });
50
+ var ListInput = Schema.Struct({
51
+ path: RelativePath.pipe(Schema.optional)
52
+ });
53
+ var DEFAULT_SEARCH_LIMIT = 100;
54
+ var DEFAULT_SEARCH_TIMEOUT_MS = 30000;
55
+
56
+ class GlobInput extends Schema.Class("FileSystem.GlobInput")({
57
+ pattern: Schema.String,
58
+ path: Schema.optionalKey(RelativePath),
59
+ limit: Schema.optionalKey(PositiveInt)
60
+ }) {
61
+ }
62
+
63
+ class GrepInput extends Schema.Class("FileSystem.GrepInput")({
64
+ pattern: Schema.String,
65
+ path: Schema.optionalKey(RelativePath),
66
+ include: Schema.optionalKey(Schema.String),
67
+ limit: Schema.optionalKey(PositiveInt)
68
+ }) {
69
+ }
70
+ var Event = FileSystem.Event;
71
+
72
+ class Service extends Context.Service()("@opencode/FileSystem") {
73
+ }
74
+ var baseLayer = Layer.effect(Service, Effect.gen(function* () {
75
+ const fs = yield* FSUtil.Service;
76
+ const location = yield* exports_location.Service;
77
+ const search = yield* exports_search.Service;
78
+ const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
79
+ const resolve = Effect.fnUntraced(function* (input) {
80
+ const absolute = path.resolve(location.directory, input ?? ".");
81
+ if (!FSUtil.contains(location.directory, absolute))
82
+ return yield* Effect.die(new Error("Path escapes the location"));
83
+ const real = yield* fs.realPath(absolute).pipe(Effect.orDie);
84
+ if (!FSUtil.contains(root, real))
85
+ return yield* Effect.die(new Error("Path escapes the location"));
86
+ return { absolute, real, directory: location.directory };
87
+ });
88
+ return Service.of({
89
+ find: search.find,
90
+ read: Effect.fn("FileSystem.read")(function* (input) {
91
+ const target = yield* resolve(input.path);
92
+ const info = yield* fs.stat(target.real).pipe(Effect.orDie);
93
+ if (info.type !== "File")
94
+ return yield* Effect.die(new Error("Path is not a file"));
95
+ return {
96
+ content: yield* fs.readFile(target.real).pipe(Effect.orDie),
97
+ mime: FSUtil.mimeType(target.real)
98
+ };
99
+ }),
100
+ list: Effect.fn("FileSystem.list")(function* (input = {}) {
101
+ const target = yield* resolve(input.path);
102
+ const info = yield* fs.stat(target.real).pipe(Effect.orDie);
103
+ if (info.type !== "Directory")
104
+ return yield* Effect.die(new Error("Path is not a directory"));
105
+ return yield* fs.readDirectoryEntries(target.real).pipe(Effect.orDie, Effect.map((items) => items.flatMap((item) => {
106
+ if (item.type !== "file" && item.type !== "directory")
107
+ return [];
108
+ const absolute = path.join(target.absolute, item.name);
109
+ const relative = path.relative(target.directory, absolute);
110
+ return [
111
+ Entry.make({
112
+ path: RelativePath.make(relative + (item.type === "directory" ? path.sep : "")),
113
+ type: item.type
114
+ })
115
+ ];
116
+ }).sort((a, b) => a.type === b.type ? a.path.localeCompare(b.path) : a.type === "directory" ? -1 : 1)));
117
+ })
118
+ });
119
+ }));
120
+ var node = makeLocationNode({
121
+ service: Service,
122
+ layer: baseLayer,
123
+ deps: [FSUtil.node, exports_location.node, exports_search.node]
124
+ });
125
+
126
+ export { FindInput, ReadInput, Content, ListInput, DEFAULT_SEARCH_LIMIT, DEFAULT_SEARCH_TIMEOUT_MS, GlobInput, GrepInput, Event, Service, node, exports_filesystem, Entry2 as Entry, Match, Submatch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-rvfvac9x.js";
3
+ } from "./persistent-pty-rvfvac9x.js";
4
4
 
5
5
  // src/plugin/system-prompt.ts
6
6
  var exports_system_prompt = {};
@@ -414,7 +414,7 @@ Use the instructions below and the tools available to assist the user.
414
414
 
415
415
  # Tool Use - OpenCode Specifics
416
416
  - When \`webfetch\` returns a message about a redirect to a different host, you should immediately make a new \`webfetch\` request with the redirect URL provided in the response.
417
- - When \`plan\` mode is active, you will see a <system-reminder> about this. \`plan\` mode is for planning, not editing. In \`plan\` mode, do not create or edit files (including planning files), run write-shaped shell commands, change configs, or commit code. If the user is asking you to perform edit operations in \`plan\` mode, inform them that \`plan\` mode is active and that they need to switch to build mode.
417
+ - When \`plan\` mode is active, you will see a <system-reminder> about this. Follow that reminder for the files you may edit and all other Plan mode restrictions. If the user asks you to implement changes, inform them that \`plan\` mode is active and that they need to switch to build mode.
418
418
 
419
419
  # Code Style - Comments
420
420
  - NEVER use comments as a place for long-winded chain-of-thought. Long thinking texts must be generated as private reasoning. Comments in code must be appropriately concise.
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  exports_markdown
3
- } from "./project-7wcmqxrc.js";
4
- import {
5
- exports_select
6
- } from "./project-csrx180a.js";
3
+ } from "./persistent-pty-7wcmqxrc.js";
7
4
  import {
8
5
  exports_config
9
- } from "./project-v7mh9m05.js";
6
+ } from "./persistent-pty-a25nnbkb.js";
7
+ import {
8
+ exports_select
9
+ } from "./persistent-pty-bbhffenw.js";
10
10
  import {
11
11
  exports_location
12
- } from "./project-m9g7vbdc.js";
12
+ } from "./persistent-pty-d88p9jy9.js";
13
13
  import {
14
14
  __export
15
- } from "./project-rvfvac9x.js";
15
+ } from "./persistent-pty-rvfvac9x.js";
16
16
 
17
17
  // src/config/plugin/command.ts
18
18
  var exports_command = {};
@@ -83,7 +83,6 @@ var Plugin = define({
83
83
  ...input.prompt,
84
84
  sessionID: input.sessionID,
85
85
  text: yield* evaluateTemplate(command.template, input.prompt.text, {
86
- config,
87
86
  location,
88
87
  processes,
89
88
  shell
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-rvfvac9x.js";
3
+ } from "./persistent-pty-rvfvac9x.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
@@ -15,7 +15,7 @@ __export(exports_lsp, {
15
15
  import { Schema } from "effect";
16
16
  var Disabled = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
- }).pipe((schema) => schema);
18
+ });
19
19
  var Entry = Schema.Union([
20
20
  Disabled,
21
21
  Schema.Struct({
@@ -25,7 +25,7 @@ var Entry = Schema.Union([
25
25
  env: Schema.optional(Schema.Record(Schema.String, Schema.String)),
26
26
  initialization: Schema.optional(Schema.Record(Schema.String, Schema.Unknown))
27
27
  })
28
- ]).pipe((schema) => schema);
28
+ ]);
29
29
  var builtinServerIds = [
30
30
  "deno",
31
31
  "typescript",
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry)]).check(requiresExtensionsForCustomServers).pipe((schema) => schema);
82
+ var Info = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry)]).check(requiresExtensionsForCustomServers);
83
83
 
84
84
  export { Disabled, Entry, builtinServerIds, requiresExtensionsForCustomServers, Info, exports_lsp };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt
3
- } from "./project-j07kk359.js";
3
+ } from "./persistent-pty-j07kk359.js";
4
4
  import {
5
5
  __export
6
- } from "./project-rvfvac9x.js";
6
+ } from "./persistent-pty-rvfvac9x.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  exports_model
3
- } from "./project-k417vscg.js";
3
+ } from "./persistent-pty-pp6dntfs.js";
4
+ import {
5
+ exports_integration
6
+ } from "./persistent-pty-tayw3q5q.js";
4
7
  import {
5
8
  exports_permission
6
- } from "./project-rzd353vk.js";
9
+ } from "./persistent-pty-ckw7ggwg.js";
7
10
  import {
8
11
  AgentNotFoundError,
9
12
  StepFailedError,
10
13
  UserInterruptedError
11
- } from "./project-fb7nfzf2.js";
12
- import {
13
- exports_integration
14
- } from "./project-8dxjsdhj.js";
14
+ } from "./persistent-pty-fb7nfzf2.js";
15
15
 
16
16
  // src/session/to-session-error.ts
17
17
  import { AIError, ToolFailure } from "@opencode-ai/ai";
@@ -66,7 +66,7 @@ function toSessionError(cause) {
66
66
  return { type: "unknown", message: cause instanceof Error ? cause.message : String(cause) };
67
67
  }
68
68
  function providerError(type, reason) {
69
- const status = ("http" in reason ? reason.http?.response?.status : undefined) ?? ("status" in reason ? reason.status : undefined);
69
+ const status = reason.http?.status;
70
70
  return { type, message: reason.message, ...status === undefined ? {} : { status } };
71
71
  }
72
72
 
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  llmClient
3
- } from "./project-k42t1tha.js";
3
+ } from "./persistent-pty-393a352g.js";
4
4
  import {
5
5
  exports_model_resolver
6
- } from "./project-fzmr1kdy.js";
6
+ } from "./persistent-pty-7hq60rpc.js";
7
7
  import {
8
8
  __export
9
- } from "./project-rvfvac9x.js";
9
+ } from "./persistent-pty-rvfvac9x.js";
10
10
 
11
11
  // src/generate.ts
12
12
  var exports_generate = {};
@@ -38,10 +38,13 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
38
38
  const llm = yield* LLMClient.Service;
39
39
  const resolver = yield* exports_model_resolver.Service;
40
40
  const runText = Effect.fn("Generate.text")(function* (input) {
41
- const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTags({
42
- "SessionRunnerModel.VariantUnavailableError": (error) => input.model ? new ModelSelectionError({ message: error.message }) : new UnavailableError({ message: error.message, service: error.providerID }),
43
- "SessionRunnerModel.UnsupportedPackageError": (error) => input.model ? new ModelSelectionError({ message: error.message }) : new UnavailableError({ message: error.message, service: error.providerID }),
44
- "SessionRunnerModel.UnresolvedProviderVariablesError": (error) => input.model ? new ModelSelectionError({ message: error.message }) : new UnavailableError({ message: error.message, service: error.providerID })
41
+ const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
42
+ "SessionRunnerModel.VariantUnavailableError",
43
+ "SessionRunnerModel.UnsupportedPackageError",
44
+ "SessionRunnerModel.UnresolvedProviderVariablesError"
45
+ ], (error) => {
46
+ const mapped = input.model ? new ModelSelectionError({ message: error.message }) : new UnavailableError({ message: error.message, service: error.providerID });
47
+ return Effect.fail(mapped);
45
48
  }));
46
49
  if (!resolved)
47
50
  return yield* new ModelSelectionError({
@@ -1,49 +1,37 @@
1
1
  import {
2
2
  SessionSchema
3
- } from "./project-bjwj8hwv.js";
4
- import {
5
- exports_agent
6
- } from "./project-ehktr312.js";
7
- import {
8
- exports_model
9
- } from "./project-r13w8t0w.js";
10
- import {
11
- exports_workspace
12
- } from "./project-4e7fkx2j.js";
13
- import {
14
- exports_location
15
- } from "./project-m9g7vbdc.js";
16
- import {
17
- exports_project
18
- } from "./project-36pd2x65.js";
3
+ } from "./persistent-pty-bjwj8hwv.js";
19
4
  import {
20
5
  AbsolutePath,
21
6
  RelativePath
22
- } from "./project-j07kk359.js";
23
- import {
24
- exports_provider
25
- } from "./project-krsqcmnj.js";
7
+ } from "./persistent-pty-j07kk359.js";
26
8
 
27
9
  // src/session/info.ts
28
10
  import { DateTime, Schema } from "effect";
11
+ import { Agent } from "@opencode-ai/schema/agent";
12
+ import { Location } from "@opencode-ai/schema/location";
13
+ import { Model } from "@opencode-ai/schema/model";
14
+ import { Project } from "@opencode-ai/schema/project";
15
+ import { Provider } from "@opencode-ai/schema/provider";
16
+ import { Workspace } from "@opencode-ai/schema/workspace";
29
17
  import { PersistedRevert } from "@opencode-ai/schema/session-revert";
30
18
  import { Money } from "@opencode-ai/schema/money";
31
19
  var decodeRevert = Schema.decodeUnknownSync(PersistedRevert);
32
20
  function fromRow(row) {
33
21
  return SessionSchema.Info.make({
34
22
  id: SessionSchema.ID.make(row.id),
35
- projectID: exports_project.ID.make(row.project_id),
23
+ projectID: Project.ID.make(row.project_id),
36
24
  title: row.title ?? undefined,
37
25
  parentID: row.parent_id ? SessionSchema.ID.make(row.parent_id) : undefined,
38
26
  fork: row.fork_session_id && row.fork_boundary ? {
39
27
  sessionID: SessionSchema.ID.make(row.fork_session_id),
40
28
  boundary: row.fork_boundary
41
29
  } : undefined,
42
- agent: row.agent ? exports_agent.ID.make(row.agent) : undefined,
30
+ agent: row.agent ? Agent.ID.make(row.agent) : undefined,
43
31
  model: row.model ? {
44
- id: exports_model.ID.make(row.model.id),
45
- providerID: exports_provider.ID.make(row.model.providerID),
46
- variant: exports_model.VariantID.make(row.model.variant ?? "default")
32
+ id: Model.ID.make(row.model.id),
33
+ providerID: Provider.ID.make(row.model.providerID),
34
+ variant: Model.VariantID.make(row.model.variant ?? "default")
47
35
  } : undefined,
48
36
  cost: Money.USD.make(row.cost),
49
37
  tokens: {
@@ -55,11 +43,12 @@ function fromRow(row) {
55
43
  write: row.tokens_cache_write
56
44
  }
57
45
  },
58
- location: exports_location.Ref.make({
46
+ location: Location.Ref.make({
59
47
  directory: AbsolutePath.make(row.directory),
60
- workspaceID: row.workspace_id ? exports_workspace.ID.make(row.workspace_id) : undefined
48
+ workspaceID: row.workspace_id ? Workspace.ID.make(row.workspace_id) : undefined
61
49
  }),
62
50
  subpath: row.path ? RelativePath.make(row.path) : undefined,
51
+ metadata: row.metadata ?? undefined,
63
52
  revert: row.revert ? decodeRevert(row.revert) : undefined,
64
53
  outcome: row.idle_outcome ?? undefined,
65
54
  time: {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage
3
- } from "./project-8rpfd2h6.js";
3
+ } from "./persistent-pty-8rpfd2h6.js";
4
4
  import {
5
5
  __export
6
- } from "./project-rvfvac9x.js";
6
+ } from "./persistent-pty-rvfvac9x.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -23,9 +23,9 @@ var projectTerminalSnapshot = (draft, event) => {
23
23
  };
24
24
  function update(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
- const latestTool = (assistant, id) => assistant?.content.findLast((item) => item.type === "tool" && (id === undefined || item.id === id));
27
- const latestText = (assistant) => assistant?.content.findLast((item) => item.type === "text");
28
- const latestReasoning = (assistant) => assistant?.content.findLast((item) => item.type === "reasoning" && !item.time?.completed);
26
+ const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
+ const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
28
+ const latestReasoning = (assistant) => assistant.content.findLast((item) => item.type === "reasoning" && !item.time?.completed);
29
29
  const updateOwnedAssistant = (messageID, recipe) => Effect.gen(function* () {
30
30
  const assistant = yield* adapter.getAssistant(messageID);
31
31
  if (!assistant)
@@ -0,0 +1,33 @@
1
+ import {
2
+ exports_instance
3
+ } from "./persistent-pty-we6kp80b.js";
4
+ import {
5
+ exports_location_service_map
6
+ } from "./persistent-pty-zdkg1k91.js";
7
+ import {
8
+ exports_location
9
+ } from "./persistent-pty-d88p9jy9.js";
10
+ import {
11
+ AbsolutePath
12
+ } from "./persistent-pty-j07kk359.js";
13
+
14
+ // src/location-services.ts
15
+ import { Duration, Effect, Layer, LayerMap } from "effect";
16
+ import { existsSync } from "fs";
17
+ import path from "path";
18
+ function buildLocationServiceMap(replacements = []) {
19
+ const canonical = (ref) => exports_location.Ref.make({
20
+ directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
21
+ workspaceID: ref.workspaceID
22
+ });
23
+ return Layer.effect(exports_location_service_map.Service, Effect.map(LayerMap.make((ref) => exports_instance.layer(ref, { replacements }), {
24
+ idleTimeToLive: (ref) => ref.workspaceID !== undefined || existsSync(ref.directory) ? Duration.infinity : Duration.zero
25
+ }), (inner) => ({
26
+ ...inner,
27
+ get: (ref) => inner.get(canonical(ref)),
28
+ contextEffect: (ref) => inner.contextEffect(canonical(ref)),
29
+ invalidate: (ref) => inner.invalidate(canonical(ref))
30
+ })));
31
+ }
32
+
33
+ export { buildLocationServiceMap };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-rvfvac9x.js";
3
+ } from "./persistent-pty-rvfvac9x.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./project-rvfvac9x.js";
3
+ } from "./persistent-pty-rvfvac9x.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  exports_provider
3
- } from "./project-krsqcmnj.js";
3
+ } from "./persistent-pty-krsqcmnj.js";
4
4
 
5
5
  // src/plugin/provider/cerebras.ts
6
6
  import { Effect } from "effect";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  SQLiteEffectDatabase
3
- } from "./project-bd7yndfd.js";
3
+ } from "./persistent-pty-a0ys31qc.js";
4
4
  import {
5
5
  mapResultRow,
6
6
  resolveNullableObjectPaths
7
- } from "./project-k8b45nas.js";
7
+ } from "./persistent-pty-k8b45nas.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  exports_markdown
3
- } from "./project-7wcmqxrc.js";
3
+ } from "./persistent-pty-7wcmqxrc.js";
4
4
  import {
5
5
  exports_skill
6
- } from "./project-e6atjbt4.js";
6
+ } from "./persistent-pty-9xg84z6j.js";
7
7
  import {
8
8
  AbsolutePath
9
- } from "./project-j07kk359.js";
9
+ } from "./persistent-pty-j07kk359.js";
10
10
  import {
11
11
  __export
12
- } from "./project-rvfvac9x.js";
12
+ } from "./persistent-pty-rvfvac9x.js";
13
13
 
14
14
  // src/config/plugin/skill-file.ts
15
15
  var exports_skill_file = {};
@@ -50,7 +50,7 @@ function parse(directory, filepath, content) {
50
50
  if (Result.isFailure(decoded))
51
51
  return { _tag: "Skipped", reason: "frontmatter", issue: decoded.failure };
52
52
  const frontmatter = decoded.success;
53
- const id = path.dirname(filepath) === directory ? path.basename(filepath, ".md") : path.basename(path.dirname(filepath));
53
+ const id = path.dirname(filepath) === directory && path.basename(filepath) !== "SKILL.md" ? path.basename(filepath, ".md") : path.basename(path.dirname(filepath));
54
54
  const slash = metadataBoolean(frontmatter.metadata, "opencode/slash") ?? frontmatter.slash;
55
55
  const autoinvoke = metadataBoolean(frontmatter.metadata, "opencode/autoinvoke");
56
56
  return {
@@ -2,19 +2,19 @@ import {
2
2
  MAX_TOTAL_PATCH_BYTES,
3
3
  PATCH_CONTEXT_LINES,
4
4
  emptyPatch
5
- } from "./project-vz89hfgr.js";
6
- import {
7
- exports_state
8
- } from "./project-x89rah0x.js";
5
+ } from "./persistent-pty-vz89hfgr.js";
9
6
  import {
10
7
  exports_location
11
- } from "./project-m9g7vbdc.js";
8
+ } from "./persistent-pty-d88p9jy9.js";
9
+ import {
10
+ exports_state
11
+ } from "./persistent-pty-x89rah0x.js";
12
12
  import {
13
13
  exports_bus
14
- } from "./project-5dkj9jex.js";
14
+ } from "./persistent-pty-8dqs26x1.js";
15
15
  import {
16
16
  __export
17
- } from "./project-rvfvac9x.js";
17
+ } from "./persistent-pty-rvfvac9x.js";
18
18
 
19
19
  // src/vcs.ts
20
20
  var exports_vcs = {};