@opencode/core 0.0.0-dev-20831 → 0.0.0-dev-20834

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{persistent-pty-e14jwtmp.js → file-retention-09zggdyt.js} +13 -13
  8. package/dist/chunks/{persistent-pty-p6r2aq8t.js → file-retention-0baxf3qk.js} +20 -20
  9. package/dist/chunks/{persistent-pty-0vbcp93d.js → file-retention-0emb60td.js} +2 -2
  10. package/dist/chunks/{persistent-pty-m6dfkh4w.js → file-retention-0krxawfx.js} +10 -10
  11. package/dist/chunks/{persistent-pty-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{persistent-pty-g0e7481p.js → file-retention-0pfse9yr.js} +8 -8
  13. package/dist/chunks/{persistent-pty-ykj0gtdh.js → file-retention-0xszypc3.js} +13 -13
  14. package/dist/chunks/{persistent-pty-cf44fsv6.js → file-retention-0y7gj0ff.js} +11 -11
  15. package/dist/chunks/{persistent-pty-qp9vg2jq.js → file-retention-127b9nq3.js} +2 -2
  16. package/dist/chunks/{persistent-pty-0zdym56s.js → file-retention-19ezngz8.js} +9 -9
  17. package/dist/chunks/{persistent-pty-mpye8y33.js → file-retention-1d0a00dk.js} +9 -9
  18. package/dist/chunks/{persistent-pty-mx2cfqsv.js → file-retention-1t8nbnc8.js} +9 -9
  19. package/dist/chunks/{persistent-pty-zxxyec0p.js → file-retention-1yd7h3h8.js} +11 -11
  20. package/dist/chunks/{persistent-pty-tgr3sw9p.js → file-retention-1zbxw6g6.js} +29 -29
  21. package/dist/chunks/{persistent-pty-7etbtvrg.js → file-retention-205764cr.js} +82 -82
  22. package/dist/chunks/{persistent-pty-fhs0xn1t.js → file-retention-2f3b0eee.js} +3 -3
  23. package/dist/chunks/{persistent-pty-k1rn6435.js → file-retention-2p4kjt8q.js} +34 -34
  24. package/dist/chunks/{persistent-pty-nganhbx0.js → file-retention-2rh0r89e.js} +10 -10
  25. package/dist/chunks/{persistent-pty-ps96y3dp.js → file-retention-2rjtfhxz.js} +5 -5
  26. package/dist/chunks/{persistent-pty-2vvh33eb.js → file-retention-2vvh33eb.js} +2 -2
  27. package/dist/chunks/{persistent-pty-1nwxscpy.js → file-retention-35ng7dkh.js} +5 -5
  28. package/dist/chunks/{persistent-pty-f456mqff.js → file-retention-3b1zfvjw.js} +15 -15
  29. package/dist/chunks/{persistent-pty-qbqbaz6q.js → file-retention-3ewed21c.js} +4 -4
  30. package/dist/chunks/{persistent-pty-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{persistent-pty-cphsypwy.js → file-retention-3fyz7qaw.js} +26 -26
  32. package/dist/chunks/{persistent-pty-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{persistent-pty-9hn6k4tm.js → file-retention-3hfr6h8q.js} +8 -8
  34. package/dist/chunks/{persistent-pty-3hwn7j4h.js → file-retention-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{persistent-pty-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{persistent-pty-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{persistent-pty-89eza7wr.js → file-retention-3wn4phez.js} +13 -13
  38. package/dist/chunks/{persistent-pty-ra3p1t16.js → file-retention-3xbdyzrb.js} +5 -5
  39. package/dist/chunks/{persistent-pty-569s51gv.js → file-retention-3y6bymm2.js} +27 -27
  40. package/dist/chunks/{persistent-pty-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{persistent-pty-yyqwftvn.js → file-retention-4422vz2f.js} +8 -8
  42. package/dist/chunks/{persistent-pty-64wq75pw.js → file-retention-488qxk2j.js} +4 -4
  43. package/dist/chunks/{persistent-pty-sxbw7s6f.js → file-retention-4a03djxh.js} +24 -24
  44. package/dist/chunks/{persistent-pty-xd5pbsdm.js → file-retention-4b41py0a.js} +11 -11
  45. package/dist/chunks/{persistent-pty-hnv2pp8r.js → file-retention-4fdqsqvt.js} +14 -14
  46. package/dist/chunks/{persistent-pty-zze9cfmm.js → file-retention-4g2ckqh5.js} +32 -32
  47. package/dist/chunks/file-retention-4htyneym.js +513 -0
  48. package/dist/chunks/{persistent-pty-4z58m4b4.js → file-retention-4j4tgtq5.js} +4 -4
  49. package/dist/chunks/{persistent-pty-sbgx06h9.js → file-retention-4jreprph.js} +11 -11
  50. package/dist/chunks/{persistent-pty-2ccvkpx1.js → file-retention-4ts7tf6z.js} +2 -2
  51. package/dist/chunks/{persistent-pty-6zz29p9f.js → file-retention-4z1qw0cm.js} +30 -30
  52. package/dist/chunks/{persistent-pty-gsd95hce.js → file-retention-510j0jrr.js} +15 -15
  53. package/dist/chunks/{persistent-pty-8vhvath1.js → file-retention-51bjw4cg.js} +10 -10
  54. package/dist/chunks/{persistent-pty-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
  55. package/dist/chunks/{persistent-pty-ezr5zw50.js → file-retention-5kxw9wf8.js} +25 -25
  56. package/dist/chunks/{persistent-pty-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{persistent-pty-e3qxr5gk.js → file-retention-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{persistent-pty-cmd80gk0.js → file-retention-6182wfyb.js} +28 -28
  59. package/dist/chunks/{persistent-pty-8km2h22m.js → file-retention-62jgd0zs.js} +45 -45
  60. package/dist/chunks/{persistent-pty-6hf42gwj.js → file-retention-63m3gqfd.js} +14 -14
  61. package/dist/chunks/{persistent-pty-a5mn6de8.js → file-retention-6cxpbzdr.js} +22 -22
  62. package/dist/chunks/{persistent-pty-kkrhqh6v.js → file-retention-6ep6a5ed.js} +6 -6
  63. package/dist/chunks/{persistent-pty-na2yjdh0.js → file-retention-6vjbkxrh.js} +34 -34
  64. package/dist/chunks/{persistent-pty-bphmfkp7.js → file-retention-6wttv4yr.js} +4 -4
  65. package/dist/chunks/{persistent-pty-6xb47vfp.js → file-retention-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{persistent-pty-8813t3ja.js → file-retention-6y85s76z.js} +51 -51
  67. package/dist/chunks/{persistent-pty-68j1m62m.js → file-retention-71j5xc97.js} +1 -1
  68. package/dist/chunks/{persistent-pty-89xxfcnj.js → file-retention-74qahwj1.js} +3 -3
  69. package/dist/chunks/{persistent-pty-e8e8f3ja.js → file-retention-77sdyb01.js} +43 -43
  70. package/dist/chunks/{persistent-pty-nsrqd5vn.js → file-retention-78e2w1qk.js} +4 -4
  71. package/dist/chunks/{persistent-pty-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{persistent-pty-84txncab.js → file-retention-84txncab.js} +1 -1
  73. package/dist/chunks/{persistent-pty-b4tw85s5.js → file-retention-84tzk9gr.js} +16 -16
  74. package/dist/chunks/{persistent-pty-nnc7vpek.js → file-retention-87bt86w6.js} +24 -24
  75. package/dist/chunks/{persistent-pty-ts4rn5wj.js → file-retention-899g5tqj.js} +5 -5
  76. package/dist/chunks/{persistent-pty-7nzg23qc.js → file-retention-8cnt8pfy.js} +10 -10
  77. package/dist/chunks/{persistent-pty-42qnv940.js → file-retention-8g6zh8va.js} +30 -30
  78. package/dist/chunks/{persistent-pty-8gxqpgph.js → file-retention-8gxqpgph.js} +1 -1
  79. package/dist/chunks/{persistent-pty-tazea7qp.js → file-retention-8m2djmtw.js} +35 -35
  80. package/dist/chunks/{persistent-pty-8m6m0r52.js → file-retention-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{persistent-pty-2rx9dk58.js → file-retention-8pe453er.js} +20 -20
  82. package/dist/chunks/{persistent-pty-cexy6923.js → file-retention-8w0wb2m0.js} +3 -3
  83. package/dist/chunks/{persistent-pty-2m4gzwzp.js → file-retention-8wc8e1vx.js} +22 -22
  84. package/dist/chunks/{persistent-pty-a45pyh1f.js → file-retention-8xek67h3.js} +3 -3
  85. package/dist/chunks/{persistent-pty-avs8edt6.js → file-retention-90ppn450.js} +11 -11
  86. package/dist/chunks/file-retention-9516fs8v.js +26 -0
  87. package/dist/chunks/{persistent-pty-634seer4.js → file-retention-9b8znkve.js} +46 -46
  88. package/dist/chunks/{persistent-pty-t5rwxd7y.js → file-retention-9bnen21x.js} +28 -28
  89. package/dist/chunks/{persistent-pty-0tzy42a9.js → file-retention-9c3np669.js} +8 -8
  90. package/dist/chunks/{persistent-pty-zz23ack4.js → file-retention-9e1ngwx3.js} +12 -12
  91. package/dist/chunks/{persistent-pty-hv8vheb4.js → file-retention-9nq7gfm0.js} +3 -3
  92. package/dist/chunks/{persistent-pty-e8kqavre.js → file-retention-9nsgat1s.js} +33 -33
  93. package/dist/chunks/{persistent-pty-6c8xqbzr.js → file-retention-a3qgxz2n.js} +3 -3
  94. package/dist/chunks/{persistent-pty-8ztybvde.js → file-retention-a5z0m542.js} +12 -12
  95. package/dist/chunks/{persistent-pty-s538wvfd.js → file-retention-a642qhrr.js} +20 -20
  96. package/dist/chunks/{persistent-pty-yka93msf.js → file-retention-a7am0sdb.js} +62 -62
  97. package/dist/chunks/{persistent-pty-84q8ddyg.js → file-retention-ad1yxw88.js} +39 -39
  98. package/dist/chunks/{persistent-pty-6z6j1hvd.js → file-retention-adypwc73.js} +13 -13
  99. package/dist/chunks/{persistent-pty-sjaxrz5m.js → file-retention-afyx3ry4.js} +10 -10
  100. package/dist/chunks/{persistent-pty-g6q22p7g.js → file-retention-anv3t5st.js} +35 -35
  101. package/dist/chunks/{persistent-pty-qftzrsf9.js → file-retention-as6yw527.js} +32 -32
  102. package/dist/chunks/{persistent-pty-0e0f2wa7.js → file-retention-as9v0b3j.js} +25 -25
  103. package/dist/chunks/{persistent-pty-1jb7jqa2.js → file-retention-b0qyykvd.js} +11 -11
  104. package/dist/chunks/{persistent-pty-q1rsbgjb.js → file-retention-b2jhwvsg.js} +11 -11
  105. package/dist/chunks/{persistent-pty-b3f8fkhc.js → file-retention-b3f8fkhc.js} +2 -2
  106. package/dist/chunks/{persistent-pty-vcb8c7ee.js → file-retention-bb8g0qdm.js} +16 -16
  107. package/dist/chunks/{persistent-pty-qxyen8t8.js → file-retention-bg39yvwa.js} +32 -32
  108. package/dist/chunks/{persistent-pty-fyav22tq.js → file-retention-bndcmk4h.js} +9 -9
  109. package/dist/chunks/{persistent-pty-90y2bcva.js → file-retention-btgwfx7q.js} +15 -15
  110. package/dist/chunks/{persistent-pty-738f4ns0.js → file-retention-c0mdwdcy.js} +46 -46
  111. package/dist/chunks/{persistent-pty-rj3eygr5.js → file-retention-c41wscbt.js} +2 -2
  112. package/dist/chunks/{persistent-pty-jvp385my.js → file-retention-c6j0b0f3.js} +4 -4
  113. package/dist/chunks/{persistent-pty-sxcaecc0.js → file-retention-c7zza6wf.js} +3 -3
  114. package/dist/chunks/{persistent-pty-sa8ekw3f.js → file-retention-c8ax2afj.js} +2 -2
  115. package/dist/chunks/{persistent-pty-144fxwck.js → file-retention-c8dwxvt7.js} +25 -25
  116. package/dist/chunks/{persistent-pty-vck5jyqy.js → file-retention-cc4mce2f.js} +11 -11
  117. package/dist/chunks/{persistent-pty-nx42me8w.js → file-retention-cfswb10x.js} +9 -9
  118. package/dist/chunks/{persistent-pty-6dnepcx2.js → file-retention-cw0z4tmd.js} +35 -35
  119. package/dist/chunks/{persistent-pty-52wkb7v6.js → file-retention-cwt22yzj.js} +4 -4
  120. package/dist/chunks/{persistent-pty-kar50817.js → file-retention-d0j74p3h.js} +4 -4
  121. package/dist/chunks/{persistent-pty-vxywbpnc.js → file-retention-d1eznf62.js} +11 -11
  122. package/dist/chunks/{persistent-pty-sghgg3s0.js → file-retention-d6jd5w6y.js} +89 -89
  123. package/dist/chunks/{persistent-pty-x661k3y3.js → file-retention-db2wf4at.js} +4 -4
  124. package/dist/chunks/{persistent-pty-xa9kdnre.js → file-retention-dbznwjgv.js} +13 -13
  125. package/dist/chunks/{persistent-pty-wv7c6n2j.js → file-retention-dm4q1yny.js} +10 -10
  126. package/dist/chunks/{persistent-pty-w851cde3.js → file-retention-dqy2tp9k.js} +27 -27
  127. package/dist/chunks/{persistent-pty-drwq78ky.js → file-retention-drwq78ky.js} +1 -1
  128. package/dist/chunks/{persistent-pty-ydgy0jv4.js → file-retention-dzpmeesh.js} +6 -6
  129. package/dist/chunks/{persistent-pty-a2zybenq.js → file-retention-e5s30dd1.js} +19 -19
  130. package/dist/chunks/{persistent-pty-rhjbct0v.js → file-retention-eaj1djv9.js} +8 -8
  131. package/dist/chunks/{persistent-pty-955crbjz.js → file-retention-eb1jdc1h.js} +6 -6
  132. package/dist/chunks/{persistent-pty-wrazxve0.js → file-retention-ee9sbmyj.js} +5 -5
  133. package/dist/chunks/{persistent-pty-eej6y6fw.js → file-retention-eej6y6fw.js} +2 -2
  134. package/dist/chunks/{persistent-pty-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{persistent-pty-9cv60dsd.js → file-retention-ek2cpxs9.js} +40 -40
  136. package/dist/chunks/{persistent-pty-w2h15q85.js → file-retention-er2gc1eb.js} +5 -5
  137. package/dist/chunks/{persistent-pty-c1fqxshp.js → file-retention-es1vcfrp.js} +3 -3
  138. package/dist/chunks/{persistent-pty-02xr1zsh.js → file-retention-et7d9hth.js} +8 -8
  139. package/dist/chunks/{persistent-pty-r8xr0va3.js → file-retention-f2n192rq.js} +4 -4
  140. package/dist/chunks/{persistent-pty-vn1b2x6c.js → file-retention-f2x01zrg.js} +16 -16
  141. package/dist/chunks/{persistent-pty-z5j4efsn.js → file-retention-f3v9xntj.js} +50 -50
  142. package/dist/chunks/{persistent-pty-faewp65y.js → file-retention-f44pex6g.js} +17 -17
  143. package/dist/chunks/{persistent-pty-0gwkcvrc.js → file-retention-f9799dk3.js} +36 -36
  144. package/dist/chunks/{persistent-pty-2k8khapm.js → file-retention-fcrkznn8.js} +5 -5
  145. package/dist/chunks/{persistent-pty-x7hadnwb.js → file-retention-fg6588f2.js} +11 -11
  146. package/dist/chunks/{persistent-pty-r94ff4c7.js → file-retention-fjdv25w0.js} +2 -2
  147. package/dist/chunks/{persistent-pty-kqx1b4hy.js → file-retention-fkdqe6sr.js} +4 -4
  148. package/dist/chunks/{persistent-pty-dmfebxy7.js → file-retention-fvatpktr.js} +22 -22
  149. package/dist/chunks/{persistent-pty-hzecydg6.js → file-retention-fz2zj4hf.js} +14 -14
  150. package/dist/chunks/{persistent-pty-wvf4y7rr.js → file-retention-g23n40bc.js} +20 -20
  151. package/dist/chunks/{persistent-pty-hp24zg0v.js → file-retention-gazvg4k1.js} +19 -19
  152. package/dist/chunks/{persistent-pty-dxjhrr1d.js → file-retention-gbc5vfb0.js} +21 -21
  153. package/dist/chunks/{persistent-pty-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{persistent-pty-gk8qb678.js → file-retention-gk8qb678.js} +1 -1
  155. package/dist/chunks/{persistent-pty-vhyre1cv.js → file-retention-gkmqvhxg.js} +5 -5
  156. package/dist/chunks/{persistent-pty-8bve28yq.js → file-retention-gpetme3g.js} +19 -19
  157. package/dist/chunks/{persistent-pty-vh135k6x.js → file-retention-gv3w2mnf.js} +16 -16
  158. package/dist/chunks/{persistent-pty-h9d22378.js → file-retention-gyatvtq5.js} +15 -15
  159. package/dist/chunks/{persistent-pty-wd47s8yt.js → file-retention-h2z4rg15.js} +17 -17
  160. package/dist/chunks/{persistent-pty-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{persistent-pty-h7s7r6s9.js → file-retention-h7s7r6s9.js} +2 -2
  162. package/dist/chunks/{persistent-pty-dzse07y5.js → file-retention-h896pcm5.js} +6 -6
  163. package/dist/chunks/{persistent-pty-0hvbv0av.js → file-retention-ha18z2nf.js} +3 -3
  164. package/dist/chunks/{persistent-pty-hgz4x7wa.js → file-retention-hgz4x7wa.js} +1 -1
  165. package/dist/chunks/{persistent-pty-61q6e95h.js → file-retention-hhbxcxzx.js} +9 -9
  166. package/dist/chunks/{persistent-pty-fxaymqdw.js → file-retention-hq3c8me3.js} +4 -4
  167. package/dist/chunks/{persistent-pty-1djs0tvz.js → file-retention-hrn2e2cq.js} +7 -7
  168. package/dist/chunks/file-retention-ht5y0zrb.js +18 -0
  169. package/dist/chunks/{persistent-pty-91qna3x0.js → file-retention-j09zfasm.js} +3 -3
  170. package/dist/chunks/{persistent-pty-h9azkfyn.js → file-retention-j2waf9cs.js} +35 -35
  171. package/dist/chunks/{persistent-pty-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  172. package/dist/chunks/{persistent-pty-8zz30m54.js → file-retention-j5vdk2nm.js} +21 -21
  173. package/dist/chunks/{persistent-pty-nd4tfyg0.js → file-retention-jjwt9gb5.js} +9 -9
  174. package/dist/chunks/{persistent-pty-j4pfkapa.js → file-retention-jsnqh7m7.js} +31 -31
  175. package/dist/chunks/{persistent-pty-58cqhhht.js → file-retention-k2cn82en.js} +18 -18
  176. package/dist/chunks/{persistent-pty-14d24921.js → file-retention-k4er45wq.js} +28 -28
  177. package/dist/chunks/{persistent-pty-y5pr3jtj.js → file-retention-kc2kdpx6.js} +5 -5
  178. package/dist/chunks/{persistent-pty-4vfrtg94.js → file-retention-kfmd4715.js} +11 -11
  179. package/dist/chunks/{persistent-pty-cpav9ert.js → file-retention-kktyxbes.js} +36 -36
  180. package/dist/chunks/{persistent-pty-pjsfg289.js → file-retention-km2dy84g.js} +29 -29
  181. package/dist/chunks/{persistent-pty-rm2gr2zw.js → file-retention-kntvvv3m.js} +9 -9
  182. package/dist/chunks/{persistent-pty-9thege9a.js → file-retention-kzaa9j73.js} +18 -18
  183. package/dist/chunks/{persistent-pty-8hdcmxy1.js → file-retention-kztp5bb7.js} +23 -23
  184. package/dist/chunks/{persistent-pty-3pxm667c.js → file-retention-m2xv92hs.js} +28 -28
  185. package/dist/chunks/{persistent-pty-rthjw13s.js → file-retention-m5pjbwfj.js} +21 -21
  186. package/dist/chunks/{persistent-pty-e0hy65w0.js → file-retention-m8szg13e.js} +18 -18
  187. package/dist/chunks/{persistent-pty-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{persistent-pty-7rk69q0z.js → file-retention-mht6fzqr.js} +6 -6
  189. package/dist/chunks/{persistent-pty-5epte933.js → file-retention-mtpeagzc.js} +3 -3
  190. package/dist/chunks/{persistent-pty-701ma3hz.js → file-retention-mtpnd04z.js} +13 -13
  191. package/dist/chunks/{persistent-pty-8v692fxg.js → file-retention-mxrk3mt9.js} +20 -20
  192. package/dist/chunks/{persistent-pty-qxrb0a0w.js → file-retention-n23r96zb.js} +18 -18
  193. package/dist/chunks/{persistent-pty-gex86280.js → file-retention-n986wkj7.js} +20 -20
  194. package/dist/chunks/{persistent-pty-f4mdd15q.js → file-retention-narne4vj.js} +28 -28
  195. package/dist/chunks/{persistent-pty-zfth3bf2.js → file-retention-nc3f3641.js} +13 -13
  196. package/dist/chunks/{persistent-pty-d5xadgfy.js → file-retention-nq6b8sn7.js} +7 -7
  197. package/dist/chunks/{persistent-pty-agxmfjyz.js → file-retention-nr1jsxbb.js} +12 -12
  198. package/dist/chunks/{persistent-pty-q0n7r88m.js → file-retention-ntdsb4sm.js} +67 -67
  199. package/dist/chunks/{persistent-pty-5tdr691p.js → file-retention-p2htxkwn.js} +50 -50
  200. package/dist/chunks/{persistent-pty-ynmknp8q.js → file-retention-p8x5jtpv.js} +11 -11
  201. package/dist/chunks/{persistent-pty-3r587zht.js → file-retention-p958k833.js} +12 -12
  202. package/dist/chunks/{persistent-pty-2prrfhe7.js → file-retention-pf36ngag.js} +29 -29
  203. package/dist/chunks/{persistent-pty-v0es1rhs.js → file-retention-pg7ds6pa.js} +9 -9
  204. package/dist/chunks/{persistent-pty-wdg4dznf.js → file-retention-phy95ygf.js} +190 -190
  205. package/dist/chunks/{persistent-pty-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{persistent-pty-pknna89w.js → file-retention-pknna89w.js} +1 -1
  207. package/dist/chunks/{persistent-pty-y73n6frr.js → file-retention-pnpsbpqe.js} +35 -35
  208. package/dist/chunks/{persistent-pty-5vz17b4s.js → file-retention-pxtk0cfj.js} +31 -31
  209. package/dist/chunks/{persistent-pty-stbxd7bn.js → file-retention-pyhbbpbt.js} +12 -12
  210. package/dist/chunks/{persistent-pty-0j77ygfz.js → file-retention-q0xm7vwc.js} +6 -6
  211. package/dist/chunks/{persistent-pty-eh6ej367.js → file-retention-q32ypgm9.js} +5 -5
  212. package/dist/chunks/{persistent-pty-s3rjfqbz.js → file-retention-q36p9frd.js} +11 -11
  213. package/dist/chunks/{persistent-pty-f0d3kyvk.js → file-retention-qfsp3spe.js} +6 -6
  214. package/dist/chunks/{persistent-pty-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
  215. package/dist/chunks/{persistent-pty-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  216. package/dist/chunks/{persistent-pty-pp537qc4.js → file-retention-r0me9bt4.js} +24 -24
  217. package/dist/chunks/{persistent-pty-90shh64c.js → file-retention-r71rxd12.js} +9 -9
  218. package/dist/chunks/{persistent-pty-93224vja.js → file-retention-rc1szs54.js} +6 -6
  219. package/dist/chunks/{persistent-pty-6894dtb6.js → file-retention-rcf5ber5.js} +15 -15
  220. package/dist/chunks/{persistent-pty-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{persistent-pty-5gz9c728.js → file-retention-reqhyh1n.js} +18 -18
  222. package/dist/chunks/{persistent-pty-m8w6th39.js → file-retention-rey5gbxv.js} +9 -9
  223. package/dist/chunks/{persistent-pty-160dstxj.js → file-retention-rht56gq3.js} +27 -27
  224. package/dist/chunks/{persistent-pty-6pc27hjz.js → file-retention-rkprpv83.js} +6 -6
  225. package/dist/chunks/{persistent-pty-xax0y1c2.js → file-retention-rmpaafn0.js} +3 -3
  226. package/dist/chunks/{persistent-pty-5bcesxs9.js → file-retention-rqkhqp7e.js} +50 -50
  227. package/dist/chunks/{persistent-pty-4gkdfnn9.js → file-retention-rryv107s.js} +23 -23
  228. package/dist/chunks/{persistent-pty-gpk600j1.js → file-retention-s375a249.js} +11 -11
  229. package/dist/chunks/{persistent-pty-14gpq9b7.js → file-retention-s63bptf5.js} +49 -49
  230. package/dist/chunks/{persistent-pty-2k9fjx65.js → file-retention-s7nv2rwz.js} +5 -5
  231. package/dist/chunks/{persistent-pty-a2ew8a62.js → file-retention-sxz6gkc3.js} +7 -7
  232. package/dist/chunks/{persistent-pty-syv4x271.js → file-retention-syv4x271.js} +1 -1
  233. package/dist/chunks/{persistent-pty-3pk3ecam.js → file-retention-sz2s795h.js} +17 -17
  234. package/dist/chunks/{persistent-pty-sbd1m1b7.js → file-retention-szpchd2k.js} +29 -29
  235. package/dist/chunks/{persistent-pty-t7yfe90q.js → file-retention-t31977c4.js} +46 -46
  236. package/dist/chunks/{persistent-pty-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{persistent-pty-nk0sw8df.js → file-retention-tb55w3zn.js} +4 -4
  238. package/dist/chunks/{persistent-pty-grey5ade.js → file-retention-tcdqrpth.js} +32 -32
  239. package/dist/chunks/{persistent-pty-89znhe33.js → file-retention-tcezcvh9.js} +4 -4
  240. package/dist/chunks/{persistent-pty-tdstcens.js → file-retention-tdstcens.js} +1 -1
  241. package/dist/chunks/{persistent-pty-rert0e01.js → file-retention-tkb22qbm.js} +2 -2
  242. package/dist/chunks/{persistent-pty-pjkmwrrf.js → file-retention-tt42txng.js} +34 -34
  243. package/dist/chunks/{persistent-pty-jbhnyrkm.js → file-retention-ttrrbgy7.js} +16 -16
  244. package/dist/chunks/{persistent-pty-3a83a0n4.js → file-retention-tx9w5tca.js} +8 -8
  245. package/dist/chunks/{persistent-pty-5fec3t3w.js → file-retention-txm3e8qz.js} +9 -9
  246. package/dist/chunks/{persistent-pty-tyytaxap.js → file-retention-tyytaxap.js} +1 -1
  247. package/dist/chunks/{persistent-pty-n1a1n825.js → file-retention-v6p1va2s.js} +8 -8
  248. package/dist/chunks/{persistent-pty-v7p4zvkq.js → file-retention-v7p4zvkq.js} +2 -2
  249. package/dist/chunks/{persistent-pty-aat6v70y.js → file-retention-va0t4kz9.js} +38 -38
  250. package/dist/chunks/{persistent-pty-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  251. package/dist/chunks/{persistent-pty-fkn54x0f.js → file-retention-vf3hczs7.js} +11 -11
  252. package/dist/chunks/{persistent-pty-1j1f6xcv.js → file-retention-vj2ecn42.js} +14 -14
  253. package/dist/chunks/{persistent-pty-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{persistent-pty-sncdfffp.js → file-retention-w3mhtfan.js} +14 -14
  255. package/dist/chunks/{persistent-pty-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{persistent-pty-sbvtryh7.js → file-retention-w9fhzwa2.js} +12 -12
  257. package/dist/chunks/{persistent-pty-wd87259q.js → file-retention-wd87259q.js} +1 -1
  258. package/dist/chunks/file-retention-wn6mh0j0.js +253 -0
  259. package/dist/chunks/{persistent-pty-syp6aatx.js → file-retention-wp65gj9n.js} +24 -24
  260. package/dist/chunks/{persistent-pty-cdxr622n.js → file-retention-ws8esjg0.js} +4 -4
  261. package/dist/chunks/{persistent-pty-x2aynqqh.js → file-retention-x2aynqqh.js} +2 -2
  262. package/dist/chunks/{persistent-pty-g866pcx9.js → file-retention-x2ptdt6d.js} +11 -11
  263. package/dist/chunks/{persistent-pty-jka8wpce.js → file-retention-x39hqzbj.js} +8 -8
  264. package/dist/chunks/{persistent-pty-bfh6ts0t.js → file-retention-xbmxr8cj.js} +23 -23
  265. package/dist/chunks/{persistent-pty-dqtqfvp1.js → file-retention-xfasz2x5.js} +20 -20
  266. package/dist/chunks/{persistent-pty-gd0tnyjc.js → file-retention-xt4njr3s.js} +1 -1
  267. package/dist/chunks/{persistent-pty-cw4cmn70.js → file-retention-xw1d7hen.js} +1 -1
  268. package/dist/chunks/{persistent-pty-wt8rq1bh.js → file-retention-xx5yc3y6.js} +6 -6
  269. package/dist/chunks/{persistent-pty-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{persistent-pty-j8m1p4p1.js → file-retention-y5rf7nzv.js} +4 -4
  271. package/dist/chunks/{persistent-pty-y71avatq.js → file-retention-y71avatq.js} +1 -1
  272. package/dist/chunks/{persistent-pty-x7zkx1rm.js → file-retention-yb9nt5p7.js} +42 -42
  273. package/dist/chunks/{persistent-pty-fkpjc2rv.js → file-retention-ybh1hh3b.js} +11 -11
  274. package/dist/chunks/{persistent-pty-z1e0ewtp.js → file-retention-yef4zb9s.js} +5 -5
  275. package/dist/chunks/{persistent-pty-gmtsq7zw.js → file-retention-yn1bbvnp.js} +11 -11
  276. package/dist/chunks/{persistent-pty-ywt8jp22.js → file-retention-ywt8jp22.js} +2 -2
  277. package/dist/chunks/{persistent-pty-atfs7mew.js → file-retention-ywy11t7c.js} +27 -27
  278. package/dist/chunks/{persistent-pty-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{persistent-pty-r91gjw8r.js → file-retention-zabh3f4w.js} +16 -16
  280. package/dist/chunks/{persistent-pty-y0mc46pw.js → file-retention-zn5v3n4q.js} +9 -9
  281. package/dist/chunks/{persistent-pty-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{persistent-pty-ja3e6986.js → file-retention-zsrhk7tm.js} +8 -8
  283. package/dist/chunks/{persistent-pty-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{persistent-pty-e6bj23tj.js → file-retention-zy2dfdqm.js} +17 -17
  285. package/dist/chunks/{persistent-pty-yx87fey7.js → file-retention-zyg5mbp5.js} +17 -17
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +154 -154
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +120 -120
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +119 -119
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +85 -85
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  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 +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +97 -97
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +76 -76
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +11 -11
  425. package/dist/filesystem.js +108 -108
  426. package/dist/form.js +86 -86
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +105 -105
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +93 -93
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +80 -80
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +134 -134
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +89 -89
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +111 -111
  470. package/dist/mcp/instructions.js +131 -131
  471. package/dist/mcp/oauth.js +77 -77
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +93 -93
  475. package/dist/model-resolver.js +98 -98
  476. package/dist/model.js +102 -102
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +84 -84
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +119 -119
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +90 -90
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +74 -74
  488. package/dist/plugin/command.js +102 -102
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +97 -97
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +127 -127
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +132 -132
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +348 -348
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +2 -2
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +6 -6
  553. package/dist/plugin/websearch/tavily.js +4 -4
  554. package/dist/plugin/websearch/tinyfish.js +6 -6
  555. package/dist/plugin.js +224 -224
  556. package/dist/project/schema.js +8 -8
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +92 -92
  559. package/dist/provider.js +103 -103
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +99 -99
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +93 -93
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +137 -137
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +217 -217
  580. package/dist/session/execution.js +123 -123
  581. package/dist/session/generate.js +156 -156
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +88 -88
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +79 -79
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +1 -1
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +98 -98
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +2 -2
  604. package/dist/session/runner/step.js +125 -125
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +164 -164
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +87 -87
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +203 -203
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +215 -215
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -213
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +11 -11
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +116 -116
  629. package/dist/snapshot.js +93 -93
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +128 -128
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +126 -126
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +105 -105
  642. package/dist/tool/plugin/read.js +121 -121
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +115 -115
  645. package/dist/tool/plugin/subagent.js +212 -212
  646. package/dist/tool/plugin/webfetch.js +112 -112
  647. package/dist/tool/plugin/websearch.js +112 -112
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +98 -98
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +16 -16
  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 +7 -7
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +93 -93
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/websearch.js +86 -86
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +81 -81
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +98 -98
  685. package/package.json +9 -9
  686. package/dist/chunks/persistent-pty-24d7twmp.js +0 -253
  687. package/dist/chunks/persistent-pty-94sdztrq.js +0 -513
  688. package/dist/chunks/persistent-pty-hqrz8ks6.js +0 -26
  689. package/dist/chunks/persistent-pty-v1faaxn9.js +0 -18
  690. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{persistent-pty-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{persistent-pty-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-3asan66x.js → file-retention-3asan66x.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-3t0ybcrp.js → file-retention-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-53557ph1.js → file-retention-53557ph1.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-6prwharc.js → file-retention-6prwharc.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-822emrt2.js → file-retention-822emrt2.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-bw78ga2c.js → file-retention-bw78ga2c.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-df08tz66.js → file-retention-df08tz66.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-g86h250q.js → file-retention-g86h250q.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-gftt206x.js → file-retention-gftt206x.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-hk9envan.js → file-retention-hk9envan.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-m18g726c.js → file-retention-m18g726c.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-pkyv6v7h.js → file-retention-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-pyv0edze.js → file-retention-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-x61499pn.js → file-retention-x61499pn.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./persistent-pty-z5v4ffb3.js";
3
+ } from "./file-retention-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service66
7
- } from "./persistent-pty-8km2h22m.js";
6
+ Service62
7
+ } from "./file-retention-62jgd0zs.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./persistent-pty-hgz4x7wa.js";
10
+ } from "./file-retention-hgz4x7wa.js";
11
11
  import {
12
- Service78
13
- } from "./persistent-pty-sxbw7s6f.js";
14
- import {
15
- Service53
16
- } from "./persistent-pty-r91gjw8r.js";
12
+ Service56
13
+ } from "./file-retention-4a03djxh.js";
17
14
  import {
18
15
  Service55
19
- } from "./persistent-pty-yka93msf.js";
16
+ } from "./file-retention-zabh3f4w.js";
17
+ import {
18
+ Service75
19
+ } from "./file-retention-a7am0sdb.js";
20
20
  import {
21
- Service15,
21
+ Service20,
22
22
  resolvePath2
23
- } from "./persistent-pty-9thege9a.js";
23
+ } from "./file-retention-kzaa9j73.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./persistent-pty-vzs5sf6e.js";
29
+ } from "./file-retention-vzs5sf6e.js";
30
30
  import {
31
- Service63,
31
+ Service46,
32
32
  name15
33
- } from "./persistent-pty-b4tw85s5.js";
33
+ } from "./file-retention-84tzk9gr.js";
34
34
  import {
35
- NotFoundError3,
36
- Service31
37
- } from "./persistent-pty-5tdr691p.js";
35
+ NotFoundError6,
36
+ Service41
37
+ } from "./file-retention-p2htxkwn.js";
38
38
  import {
39
- Service17
40
- } from "./persistent-pty-sghgg3s0.js";
39
+ Service27
40
+ } from "./file-retention-d6jd5w6y.js";
41
41
  import {
42
42
  scan2
43
- } from "./persistent-pty-64wq75pw.js";
43
+ } from "./file-retention-488qxk2j.js";
44
44
  import {
45
45
  __export
46
- } from "./persistent-pty-9rqn6x4v.js";
46
+ } from "./file-retention-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input5,
53
- Plugin: () => Plugin5,
54
- ShellTool: () => exports_shell,
55
- name: () => name5
52
+ Input: () => Input2,
53
+ Plugin: () => Plugin21,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name2
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name5 = "shell";
60
+ var name2 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input5 = Schema.Struct({
74
+ var Input2 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin5 = {
120
+ var Plugin21 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service17;
124
- const jobs = yield* Service53;
123
+ const sessions = yield* Service27;
124
+ const jobs = yield* Service55;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service78;
127
- const access = yield* Service15;
128
- const shell = yield* Service31;
129
- const shellSelect = yield* Service63;
126
+ const environment = yield* Service56;
127
+ const access = yield* Service20;
128
+ const shell = yield* Service41;
129
+ const shellSelect = yield* Service46;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service55;
132
- const config = yield* Service66;
131
+ const permission = yield* Service75;
132
+ const config = yield* Service62;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin5 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name5,
151
+ action: name2,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin5 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name5,
188
+ name: name2,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input5,
191
+ input: Input2,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin5 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError3({ id: info.id });
214
+ return yield* new NotFoundError6({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name5,
228
+ type: name2,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name5];
258
+ const tool = event.tools[name2];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin5, exports_shell };
269
+ export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin21, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service78
3
- } from "./persistent-pty-sxbw7s6f.js";
2
+ Service56
3
+ } from "./file-retention-4a03djxh.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./file-retention-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service78;
24
+ const environment = yield* Service56;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service78
3
- } from "./persistent-pty-sxbw7s6f.js";
2
+ Service56
3
+ } from "./file-retention-4a03djxh.js";
4
4
  import {
5
- Service12,
5
+ Service22,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./persistent-pty-ykj0gtdh.js";
8
+ } from "./file-retention-0xszypc3.js";
9
9
  import {
10
- Service69
11
- } from "./persistent-pty-90y2bcva.js";
10
+ Service14
11
+ } from "./file-retention-btgwfx7q.js";
12
12
  import {
13
- Service55
14
- } from "./persistent-pty-yka93msf.js";
13
+ Service75
14
+ } from "./file-retention-a7am0sdb.js";
15
15
  import {
16
- Service15
17
- } from "./persistent-pty-9thege9a.js";
16
+ Service20
17
+ } from "./file-retention-kzaa9j73.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./persistent-pty-6prwharc.js";
20
+ } from "./file-retention-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./persistent-pty-9rqn6x4v.js";
23
+ } from "./file-retention-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input10,
29
- Output: () => Output6,
30
- Plugin: () => Plugin11,
28
+ Input: () => Input3,
29
+ Output: () => Output2,
30
+ Plugin: () => Plugin23,
31
31
  WriteTool: () => exports_write,
32
- name: () => name10,
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 name10 = "write";
39
- var Input10 = 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 Output2 = 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 Plugin11 = {
51
+ var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin23 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service15;
56
- const fileMutation = yield* Service12;
57
- const environment = yield* Service78;
58
- const formatter = yield* Service69;
59
- const permission = yield* Service55;
55
+ const access = yield* Service20;
56
+ const fileMutation = yield* Service22;
57
+ const environment = yield* Service56;
58
+ const formatter = yield* Service14;
59
+ const permission = yield* Service75;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name10,
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: Input10,
69
- output: Output6,
68
+ input: Input3,
69
+ output: Output2,
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 { name10, Input10, Output6, toModelContent4, Plugin11, exports_write };
101
+ export { name3, Input3, Output2, toModelContent2, Plugin23, exports_write };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names4,
10
+ names: () => names3,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names4() {
44
+ function names3() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names4, paths2, exports_protected };
63
+ export { isHome2, names3, paths2, exports_protected };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./persistent-pty-qfa1cgps.js";
3
+ } from "./file-retention-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./persistent-pty-rj3eygr5.js";
6
+ } from "./file-retention-c41wscbt.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -2,42 +2,42 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./persistent-pty-z5v4ffb3.js";
5
+ } from "./file-retention-z5v4ffb3.js";
6
6
  import {
7
- Service80,
8
- node84
9
- } from "./persistent-pty-vh135k6x.js";
7
+ Service79,
8
+ node83
9
+ } from "./file-retention-gv3w2mnf.js";
10
10
  import {
11
- Service76,
12
- node79
13
- } from "./persistent-pty-zze9cfmm.js";
11
+ Service16,
12
+ node18
13
+ } from "./file-retention-4g2ckqh5.js";
14
14
  import {
15
15
  __export
16
- } from "./persistent-pty-9rqn6x4v.js";
16
+ } from "./file-retention-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event20,
27
+ Event: () => Event2,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput5,
32
+ ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError10,
34
+ NotFoundError: () => NotFoundError2,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service75,
36
+ Service: () => Service15,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node78
40
+ node: () => node17
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
75
75
  return `Access denied to directory: ${this.directory}`;
76
76
  }
77
77
  }
78
- var Content3 = Schema.Struct({
78
+ var Content2 = Schema.Struct({
79
79
  uri: Schema.String,
80
80
  name: Schema.String.pipe(Schema.optional),
81
81
  content: Schema.String,
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput5 = Schema.Struct({
85
+ var ListInput2 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event20 = FileSystem.Event;
108
+ var Event2 = FileSystem.Event;
109
109
 
110
- class Service75 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service15 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service80;
115
- const search = yield* Service76;
114
+ const location = yield* Service79;
115
+ const search = yield* Service16;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError10({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError10({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError10({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service75.of({
134
+ return Service15.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError10({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError2({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError10({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError2({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node78 = makeLocationNode({
175
- service: Service75,
174
+ var node17 = makeLocationNode({
175
+ service: Service15,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node84, node79]
177
+ deps: [FSUtil.node, node83, node18]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event20, Service75, node78, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service85
3
- } from "./persistent-pty-hv8vheb4.js";
3
+ } from "./file-retention-9nq7gfm0.js";
4
4
  import {
5
- Service52
6
- } from "./persistent-pty-dzse07y5.js";
5
+ Service50
6
+ } from "./file-retention-h896pcm5.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./persistent-pty-v1faaxn9.js";
9
+ } from "./file-retention-ht5y0zrb.js";
10
10
  import {
11
11
  provenance2
12
- } from "./persistent-pty-4z58m4b4.js";
12
+ } from "./file-retention-4j4tgtq5.js";
13
13
  import {
14
14
  preview2
15
- } from "./persistent-pty-avs8edt6.js";
15
+ } from "./file-retention-90ppn450.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./persistent-pty-j4pfkapa.js";
18
+ } from "./file-retention-jsnqh7m7.js";
19
19
  import {
20
- Service19
21
- } from "./persistent-pty-7etbtvrg.js";
20
+ Service30
21
+ } from "./file-retention-205764cr.js";
22
22
  import {
23
23
  __export
24
- } from "./persistent-pty-9rqn6x4v.js";
24
+ } from "./file-retention-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate = {};
28
- __export(exports_generate, {
29
- SessionGenerate: () => exports_generate,
27
+ var exports_generate2 = {};
28
+ __export(exports_generate2, {
29
+ SessionGenerate: () => exports_generate2,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service52;
35
+ const instances = yield* Service50;
36
36
  const database = yield* Service85;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service19;
40
+ const context = yield* Service30;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate };
74
+ export { generate2, exports_generate2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./file-retention-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service59,
10
- node: () => node62
9
+ Service: () => Service78,
10
+ node: () => node82
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service59 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service78 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service59, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service59.of({ has, register, trigger });
57
+ return Service78.of({ has, register, trigger });
58
58
  }));
59
- var node62 = makeLocationNode({ service: Service59, layer, deps: [] });
59
+ var node82 = makeLocationNode({ service: Service78, layer, deps: [] });
60
60
 
61
- export { Service59, node62, exports_hooks };
61
+ export { Service78, node82, exports_hooks };