@opencode/core 0.0.0-dev-20076 → 0.0.0-dev-20077

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-retention-yvvvp4gn.js → persistent-pty-00x4qneg.js} +8 -8
  8. package/dist/chunks/{file-retention-76j44xz4.js → persistent-pty-09pa4m3v.js} +31 -31
  9. package/dist/chunks/{file-retention-cqdgmx8n.js → persistent-pty-0ar9x5a3.js} +27 -27
  10. package/dist/chunks/{file-retention-ezwgvxy6.js → persistent-pty-0g3je6g8.js} +15 -15
  11. package/dist/chunks/{file-retention-h6kzzfz4.js → persistent-pty-0j290fjy.js} +2 -2
  12. package/dist/chunks/{file-retention-awnng6aw.js → persistent-pty-0j8mf7cg.js} +3 -3
  13. package/dist/chunks/{file-retention-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
  14. package/dist/chunks/persistent-pty-0mesazry.js +4 -0
  15. package/dist/chunks/{file-retention-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{file-retention-cybbce78.js → persistent-pty-0q07yjwe.js} +15 -15
  17. package/dist/chunks/{file-retention-qq9k8xwf.js → persistent-pty-0qmb29gv.js} +37 -37
  18. package/dist/chunks/{file-retention-e6hmchc5.js → persistent-pty-0r7yqxbf.js} +5 -5
  19. package/dist/chunks/{file-retention-pmsv8f6n.js → persistent-pty-0rxys545.js} +2 -2
  20. package/dist/chunks/{file-retention-4b052jb4.js → persistent-pty-0sz7h9zd.js} +15 -15
  21. package/dist/chunks/{file-retention-4w5f3qm5.js → persistent-pty-0xezjjjn.js} +8 -8
  22. package/dist/chunks/{file-retention-pjzp5jm9.js → persistent-pty-131medm0.js} +32 -32
  23. package/dist/chunks/{file-retention-ph5whc14.js → persistent-pty-1dazxqgg.js} +5 -5
  24. package/dist/chunks/{file-retention-h27jqpzg.js → persistent-pty-1jap1q27.js} +27 -27
  25. package/dist/chunks/{file-retention-rg4p5e11.js → persistent-pty-1nwp9f3z.js} +32 -32
  26. package/dist/chunks/{file-retention-f96ctyse.js → persistent-pty-1tbcb674.js} +9 -9
  27. package/dist/chunks/{file-retention-b7vm23fg.js → persistent-pty-1xntmtej.js} +28 -28
  28. package/dist/chunks/{file-retention-3p2dz6q4.js → persistent-pty-1zsz5cte.js} +12 -12
  29. package/dist/chunks/{file-retention-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  30. package/dist/chunks/{file-retention-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  31. package/dist/chunks/{file-retention-hgz4x7wa.js → persistent-pty-2a5m3afh.js} +4 -4
  32. package/dist/chunks/{file-retention-r4m6sj2t.js → persistent-pty-2ap5w51g.js} +46 -46
  33. package/dist/chunks/{file-retention-t0fxg8b9.js → persistent-pty-2f0bjgcj.js} +5 -5
  34. package/dist/chunks/{file-retention-vrssy5kh.js → persistent-pty-2gbcq7ge.js} +13 -13
  35. package/dist/chunks/{file-retention-tq0ny4gr.js → persistent-pty-2hzw9kex.js} +18 -18
  36. package/dist/chunks/{file-retention-qgn6gcr1.js → persistent-pty-2k8khapm.js} +5 -5
  37. package/dist/chunks/{file-retention-0bftx5a5.js → persistent-pty-2pbd4axt.js} +79 -79
  38. package/dist/chunks/{file-retention-136ah40c.js → persistent-pty-2vk85jev.js} +11 -11
  39. package/dist/chunks/{file-retention-savsd166.js → persistent-pty-2xkrv8r8.js} +50 -50
  40. package/dist/chunks/{file-retention-rty2yphq.js → persistent-pty-33nwj033.js} +43 -43
  41. package/dist/chunks/{file-retention-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{file-retention-0vdkq15g.js → persistent-pty-3h2x9zep.js} +1 -1
  43. package/dist/chunks/{file-retention-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{file-retention-rqdsjm6x.js → persistent-pty-3jgsjshs.js} +25 -25
  45. package/dist/chunks/{file-retention-vjgtykma.js → persistent-pty-3n9k99kr.js} +9 -9
  46. package/dist/chunks/{file-retention-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{file-retention-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{file-retention-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{file-retention-5carfvj1.js → persistent-pty-4697qq0h.js} +2 -2
  50. package/dist/chunks/{file-retention-v9vsdr5e.js → persistent-pty-4bbdhcnf.js} +47 -47
  51. package/dist/chunks/{file-retention-1tmvwee5.js → persistent-pty-4hcxqz1j.js} +8 -8
  52. package/dist/chunks/{file-retention-7aqpe3z3.js → persistent-pty-4mgmwwhc.js} +18 -18
  53. package/dist/chunks/{file-retention-x7c67s47.js → persistent-pty-4mpw8txs.js} +5 -5
  54. package/dist/chunks/{file-retention-ma37n9mc.js → persistent-pty-4r3r3wqp.js} +3 -3
  55. package/dist/chunks/{file-retention-kkr60pt3.js → persistent-pty-50t6b855.js} +6 -6
  56. package/dist/chunks/{file-retention-ckecvw8r.js → persistent-pty-54tcyq79.js} +2 -2
  57. package/dist/chunks/{file-retention-mfqp6xfm.js → persistent-pty-56gdpj1q.js} +6 -6
  58. package/dist/chunks/{file-retention-j31v3zf1.js → persistent-pty-59z0gf60.js} +19 -19
  59. package/dist/chunks/{file-retention-013zbbfs.js → persistent-pty-5b9pa3q7.js} +10 -10
  60. package/dist/chunks/{file-retention-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  61. package/dist/chunks/{file-retention-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
  62. package/dist/chunks/{file-retention-7ma666fp.js → persistent-pty-5mhrsa16.js} +4 -4
  63. package/dist/chunks/{file-retention-cfvy20zr.js → persistent-pty-5n6xt7h3.js} +9 -9
  64. package/dist/chunks/{file-retention-h0n36h3s.js → persistent-pty-5p0mp6ge.js} +1 -1
  65. package/dist/chunks/{file-retention-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{file-retention-kf2ta3ye.js → persistent-pty-5w50106y.js} +20 -20
  67. package/dist/chunks/{file-retention-gzjk9fnj.js → persistent-pty-5yae57x6.js} +26 -26
  68. package/dist/chunks/{file-retention-669tq793.js → persistent-pty-669tq793.js} +1 -1
  69. package/dist/chunks/{file-retention-zfjgpsdd.js → persistent-pty-69c49fy8.js} +24 -24
  70. package/dist/chunks/{file-retention-h38jpad5.js → persistent-pty-6kj2kzkg.js} +7 -7
  71. package/dist/chunks/{file-retention-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{file-retention-68y7phbn.js → persistent-pty-74rrnwt7.js} +12 -12
  73. package/dist/chunks/{file-retention-vtg6dttc.js → persistent-pty-79sb0qv2.js} +14 -14
  74. package/dist/chunks/{file-retention-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{file-retention-60kb57hy.js → persistent-pty-7dz95w49.js} +19 -19
  76. package/dist/chunks/{file-retention-hvgp7k47.js → persistent-pty-7ndvrzgb.js} +20 -20
  77. package/dist/chunks/{file-retention-4v7r6s0x.js → persistent-pty-7npttpkb.js} +22 -22
  78. package/dist/chunks/{file-retention-k2egtdaq.js → persistent-pty-7p0ydzsf.js} +9 -9
  79. package/dist/chunks/{file-retention-8rvbch5b.js → persistent-pty-7x9j1zsm.js} +7 -7
  80. package/dist/chunks/{file-retention-9dz39q6x.js → persistent-pty-83tqnnyb.js} +11 -11
  81. package/dist/chunks/{file-retention-q9xx8pp8.js → persistent-pty-8cw38amn.js} +19 -19
  82. package/dist/chunks/{file-retention-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{file-retention-739g7xpm.js → persistent-pty-8nqnatqw.js} +138 -138
  84. package/dist/chunks/{file-retention-ssh52gjb.js → persistent-pty-8pv6180c.js} +7 -7
  85. package/dist/chunks/{file-retention-sw1mxqw6.js → persistent-pty-8qf8qbfj.js} +8 -8
  86. package/dist/chunks/{file-retention-ma0e9v7m.js → persistent-pty-8s07ccs3.js} +32 -32
  87. package/dist/chunks/{file-retention-1agwz8aa.js → persistent-pty-8vm1nfxe.js} +37 -37
  88. package/dist/chunks/{file-retention-kyngf2ah.js → persistent-pty-8x24e6zw.js} +3 -3
  89. package/dist/chunks/{file-retention-mp0x0ve6.js → persistent-pty-8xqgb62y.js} +13 -13
  90. package/dist/chunks/{file-retention-2nxpygkr.js → persistent-pty-95ntde08.js} +21 -21
  91. package/dist/chunks/{file-retention-gjy9kcm5.js → persistent-pty-978gy482.js} +8 -8
  92. package/dist/chunks/{file-retention-vtxr0yy2.js → persistent-pty-9cyfspf3.js} +5 -5
  93. package/dist/chunks/{file-retention-wt002vfw.js → persistent-pty-9fy1pcrd.js} +10 -10
  94. package/dist/chunks/{file-retention-vtbecytz.js → persistent-pty-9ppvxvx2.js} +14 -14
  95. package/dist/chunks/{file-retention-4qrxzr33.js → persistent-pty-9qp60kxg.js} +20 -20
  96. package/dist/chunks/{file-retention-y8x91hrb.js → persistent-pty-9r70zj9f.js} +3 -3
  97. package/dist/chunks/{file-retention-ws1m066q.js → persistent-pty-9sfevq5x.js} +15 -15
  98. package/dist/chunks/persistent-pty-9sh4wc5j.js +18 -0
  99. package/dist/chunks/{file-retention-bwz5vyq0.js → persistent-pty-9wnraymz.js} +13 -13
  100. package/dist/chunks/{file-retention-gv7n655z.js → persistent-pty-a2q4hhkc.js} +18 -18
  101. package/dist/chunks/{file-retention-ky3seynh.js → persistent-pty-a3r4dcrj.js} +2 -2
  102. package/dist/chunks/{file-retention-hv1rr3m3.js → persistent-pty-a4r3ry0g.js} +20 -20
  103. package/dist/chunks/{file-retention-9xsfwcg4.js → persistent-pty-a5vb42nz.js} +25 -25
  104. package/dist/chunks/{file-retention-7sk5kyxr.js → persistent-pty-a6mwbtq0.js} +4 -4
  105. package/dist/chunks/{file-retention-a28va38p.js → persistent-pty-aaet6srn.js} +8 -8
  106. package/dist/chunks/{file-retention-brcqjxp1.js → persistent-pty-aakph5ea.js} +12 -12
  107. package/dist/chunks/{file-retention-yrxt8wb8.js → persistent-pty-agwz5jq8.js} +68 -68
  108. package/dist/chunks/{file-retention-t5ymyahf.js → persistent-pty-aj1cmtrn.js} +22 -22
  109. package/dist/chunks/{file-retention-sc7mjsx7.js → persistent-pty-an4t2was.js} +24 -24
  110. package/dist/chunks/{file-retention-e0vnyvwh.js → persistent-pty-b09qp47b.js} +10 -10
  111. package/dist/chunks/{file-retention-h2r7bbkd.js → persistent-pty-b1h1c68h.js} +8 -8
  112. package/dist/chunks/{file-retention-ew6xy3kj.js → persistent-pty-b2m85fba.js} +11 -11
  113. package/dist/chunks/{file-retention-3hwn7j4h.js → persistent-pty-b6gygkdw.js} +5 -5
  114. package/dist/chunks/{file-retention-k75f346z.js → persistent-pty-bc7x5p7s.js} +7 -7
  115. package/dist/chunks/{file-retention-mrkjr00d.js → persistent-pty-bhscgnbe.js} +26 -26
  116. package/dist/chunks/{file-retention-v155ndty.js → persistent-pty-bhv2qxb3.js} +6 -6
  117. package/dist/chunks/{file-retention-7e2yy7bx.js → persistent-pty-bjn91642.js} +4 -4
  118. package/dist/chunks/{file-retention-z07pqspn.js → persistent-pty-bjtzbw4r.js} +3 -3
  119. package/dist/chunks/{file-retention-4ptehb38.js → persistent-pty-bx27tg5g.js} +15 -15
  120. package/dist/chunks/{file-retention-p10hfn84.js → persistent-pty-bxf6ahcf.js} +12 -12
  121. package/dist/chunks/{file-retention-9q2dq694.js → persistent-pty-bzd9xh3w.js} +9 -9
  122. package/dist/chunks/{file-retention-fc8s73xt.js → persistent-pty-c15wgtb8.js} +19 -19
  123. package/dist/chunks/{file-retention-g6q9qykm.js → persistent-pty-d4he2qe1.js} +9 -9
  124. package/dist/chunks/{file-retention-4xzzvc1x.js → persistent-pty-d7hggpe0.js} +16 -16
  125. package/dist/chunks/{file-retention-t9zs3egg.js → persistent-pty-dfe8djrf.js} +4 -4
  126. package/dist/chunks/{file-retention-6xw3seg4.js → persistent-pty-dfzjqex4.js} +5 -5
  127. package/dist/chunks/{file-retention-dg2cj1yd.js → persistent-pty-dg2cj1yd.js} +1 -1
  128. package/dist/chunks/{file-retention-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{file-retention-6477640v.js → persistent-pty-dydfzrfg.js} +3 -3
  130. package/dist/chunks/{file-retention-azms3gmy.js → persistent-pty-dz39j9yq.js} +29 -29
  131. package/dist/chunks/{file-retention-7h93y3jd.js → persistent-pty-e1a8gcn8.js} +11 -11
  132. package/dist/chunks/{file-retention-rnzy20mt.js → persistent-pty-e4jg4zfm.js} +17 -17
  133. package/dist/chunks/{file-retention-ypvayta9.js → persistent-pty-e8p1kpnk.js} +3 -3
  134. package/dist/chunks/{file-retention-cr07tj7n.js → persistent-pty-ead3g9p8.js} +5 -5
  135. package/dist/chunks/{file-retention-s8d7rejh.js → persistent-pty-eaj1djv9.js} +6 -6
  136. package/dist/chunks/{file-retention-9kbs75gn.js → persistent-pty-ecnmd6j5.js} +18 -18
  137. package/dist/chunks/{file-retention-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{file-retention-2f8p2v54.js → persistent-pty-ehdcnawv.js} +20 -20
  139. package/dist/chunks/{file-retention-cy9y9za1.js → persistent-pty-em8t1d4b.js} +32 -32
  140. package/dist/chunks/{file-retention-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
  141. package/dist/chunks/{file-retention-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{file-retention-repb58am.js → persistent-pty-eyaegrqq.js} +6 -6
  143. package/dist/chunks/{file-retention-tnyz8ww6.js → persistent-pty-fdjyeynq.js} +6 -6
  144. package/dist/chunks/{file-retention-4kr5mqj0.js → persistent-pty-fevnpa4j.js} +21 -21
  145. package/dist/chunks/{file-retention-fqmzt9nn.js → persistent-pty-fmhgq1sm.js} +24 -24
  146. package/dist/chunks/{file-retention-y56ehv6b.js → persistent-pty-fqcgpcra.js} +9 -9
  147. package/dist/chunks/{file-retention-qmhwq76t.js → persistent-pty-fqdw0qb0.js} +13 -13
  148. package/dist/chunks/{file-retention-amcfr32s.js → persistent-pty-g2dc85z0.js} +6 -6
  149. package/dist/chunks/{file-retention-jh4dq78w.js → persistent-pty-g4de2dpr.js} +17 -17
  150. package/dist/chunks/{file-retention-css2w393.js → persistent-pty-g7gngde7.js} +7 -7
  151. package/dist/chunks/{file-retention-g07zt90z.js → persistent-pty-g9se4cjc.js} +32 -32
  152. package/dist/chunks/{file-retention-053cybx6.js → persistent-pty-gbpvysbe.js} +12 -12
  153. package/dist/chunks/{file-retention-wa8jxbkg.js → persistent-pty-gc5brfvv.js} +32 -32
  154. package/dist/chunks/{file-retention-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{file-retention-94ek1h2f.js → persistent-pty-gfvb90ym.js} +2 -2
  156. package/dist/chunks/{file-retention-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{file-retention-ksp53khy.js → persistent-pty-gwrhg37m.js} +30 -30
  158. package/dist/chunks/{file-retention-6jq4c9x7.js → persistent-pty-gy4yc5qs.js} +10 -10
  159. package/dist/chunks/{file-retention-2j7wsrwg.js → persistent-pty-h0yyr0gy.js} +10 -10
  160. package/dist/chunks/{file-retention-nwzjzhhc.js → persistent-pty-h18k85sj.js} +45 -45
  161. package/dist/chunks/{file-retention-4dgbcxzg.js → persistent-pty-h6r3nrb9.js} +4 -4
  162. package/dist/chunks/{file-retention-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{file-retention-scw2ekxw.js → persistent-pty-h75wmkrs.js} +11 -11
  164. package/dist/chunks/{file-retention-7g57k9pp.js → persistent-pty-h9p2zxhd.js} +28 -28
  165. package/dist/chunks/{file-retention-krmp0vwn.js → persistent-pty-hcha2833.js} +11 -11
  166. package/dist/chunks/{file-retention-tyd90661.js → persistent-pty-hq1v3zy8.js} +4 -4
  167. package/dist/chunks/{file-retention-tv6fr57g.js → persistent-pty-htcezajs.js} +11 -11
  168. package/dist/chunks/{file-retention-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  169. package/dist/chunks/{file-retention-m16z5xgj.js → persistent-pty-j6dx4cjd.js} +1 -1
  170. package/dist/chunks/{file-retention-t2f6sps2.js → persistent-pty-jbnt79dx.js} +20 -20
  171. package/dist/chunks/{file-retention-gajvcqmf.js → persistent-pty-jc8m90n4.js} +30 -30
  172. package/dist/chunks/{file-retention-b3rc9xq5.js → persistent-pty-jdd6ya46.js} +10 -10
  173. package/dist/chunks/{file-retention-xxynqx5z.js → persistent-pty-jexxy024.js} +2 -2
  174. package/dist/chunks/{file-retention-ratrq7cm.js → persistent-pty-jfqtm2ew.js} +4 -4
  175. package/dist/chunks/{file-retention-98dhkg4b.js → persistent-pty-jgaqdvsy.js} +17 -17
  176. package/dist/chunks/{file-retention-aj2111eg.js → persistent-pty-jh8z11nh.js} +36 -36
  177. package/dist/chunks/{file-retention-s9h1avrm.js → persistent-pty-jqnmytps.js} +21 -21
  178. package/dist/chunks/{file-retention-sn2197kq.js → persistent-pty-jtefkk5f.js} +25 -25
  179. package/dist/chunks/{file-retention-xkzzg3p1.js → persistent-pty-jv7ffsz1.js} +15 -15
  180. package/dist/chunks/{file-retention-hvb7b1k8.js → persistent-pty-jwkmn8w3.js} +3 -3
  181. package/dist/chunks/{file-retention-sx1yqcbh.js → persistent-pty-jx35jf7z.js} +20 -20
  182. package/dist/chunks/{file-retention-28tx5a5b.js → persistent-pty-k0h4vbz7.js} +24 -24
  183. package/dist/chunks/{file-retention-bbr0ecrm.js → persistent-pty-k2mdnn2s.js} +11 -11
  184. package/dist/chunks/{file-retention-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
  185. package/dist/chunks/{file-retention-k53npxr2.js → persistent-pty-k53npxr2.js} +1 -1
  186. package/dist/chunks/{file-retention-p6j5c0dx.js → persistent-pty-k7k6eexb.js} +25 -25
  187. package/dist/chunks/{file-retention-k1qrnqst.js → persistent-pty-k8aese3t.js} +8 -8
  188. package/dist/chunks/{file-retention-a54wp4v4.js → persistent-pty-kfh0cw1f.js} +8 -8
  189. package/dist/chunks/{file-retention-n2srvep7.js → persistent-pty-kkp8zx71.js} +4 -4
  190. package/dist/chunks/{file-retention-tn0keqwc.js → persistent-pty-krxy378t.js} +6 -6
  191. package/dist/chunks/{file-retention-sfn2jqx5.js → persistent-pty-kv0rj397.js} +29 -29
  192. package/dist/chunks/{file-retention-rp4daw2c.js → persistent-pty-kwhxm0rt.js} +84 -84
  193. package/dist/chunks/{file-retention-29yjzs39.js → persistent-pty-m030b1ec.js} +24 -24
  194. package/dist/chunks/{file-retention-nq7qbqzc.js → persistent-pty-m2d0j7c0.js} +9 -9
  195. package/dist/chunks/{file-retention-6a3zafpc.js → persistent-pty-m2eqy9a3.js} +8 -8
  196. package/dist/chunks/{file-retention-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  197. package/dist/chunks/{file-retention-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{file-retention-jw80jp6b.js → persistent-pty-magykp64.js} +4 -4
  199. package/dist/chunks/{file-retention-ttt144n2.js → persistent-pty-mcnp5paj.js} +22 -22
  200. package/dist/chunks/{file-retention-7exmdcvp.js → persistent-pty-mg5rbkhq.js} +14 -14
  201. package/dist/chunks/{file-retention-e981czdn.js → persistent-pty-msks4rpe.js} +9 -9
  202. package/dist/chunks/{file-retention-rjkx1558.js → persistent-pty-mtg6ts2t.js} +48 -48
  203. package/dist/chunks/{file-retention-msnvgge2.js → persistent-pty-mtzk9mcs.js} +11 -11
  204. package/dist/chunks/{file-retention-mhkvc446.js → persistent-pty-mvfsc1pv.js} +3 -3
  205. package/dist/chunks/{file-retention-zee1rnkq.js → persistent-pty-n4r3xatb.js} +4 -4
  206. package/dist/chunks/{file-retention-hfb3twc5.js → persistent-pty-n7rbchxd.js} +30 -30
  207. package/dist/chunks/{file-retention-awaee7qt.js → persistent-pty-ndqtf2h8.js} +4 -4
  208. package/dist/chunks/{file-retention-j1x1sn3n.js → persistent-pty-nms3vxe4.js} +16 -16
  209. package/dist/chunks/{file-retention-g58k0yz2.js → persistent-pty-nppa2k1t.js} +15 -15
  210. package/dist/chunks/persistent-pty-ntfxyrp8.js +26 -0
  211. package/dist/chunks/{file-retention-yk950sz5.js → persistent-pty-nwsnnm7q.js} +12 -12
  212. package/dist/chunks/{file-retention-tpw6cwsb.js → persistent-pty-p42hj8p8.js} +8 -8
  213. package/dist/chunks/{file-retention-m3ebeh4f.js → persistent-pty-p7zyvqxs.js} +5 -5
  214. package/dist/chunks/persistent-pty-peathsrz.js +507 -0
  215. package/dist/chunks/{file-retention-0ft9cg2j.js → persistent-pty-pf2hb43r.js} +4 -4
  216. package/dist/chunks/{file-retention-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  217. package/dist/chunks/{file-retention-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  218. package/dist/chunks/{file-retention-wd3x2cqz.js → persistent-pty-psazpmmj.js} +2 -2
  219. package/dist/chunks/{file-retention-tp2f02fq.js → persistent-pty-pv3n2ae1.js} +16 -16
  220. package/dist/chunks/{file-retention-r4aa4m0k.js → persistent-pty-px6v4n28.js} +4 -4
  221. package/dist/chunks/{file-retention-6pc27hjz.js → persistent-pty-py3kkmfq.js} +6 -6
  222. package/dist/chunks/{file-retention-ewkprqrz.js → persistent-pty-q0x8zzpj.js} +16 -16
  223. package/dist/chunks/{file-retention-5xpznt2d.js → persistent-pty-q7azfttr.js} +4 -4
  224. package/dist/chunks/{file-retention-gx3bsgbr.js → persistent-pty-q7hsqcry.js} +25 -25
  225. package/dist/chunks/{file-retention-sh5cyp0z.js → persistent-pty-qdyeg9tz.js} +29 -29
  226. package/dist/chunks/{file-retention-3917zmsm.js → persistent-pty-qe4kd680.js} +12 -12
  227. package/dist/chunks/{file-retention-41wzkj33.js → persistent-pty-qhexs5yx.js} +14 -14
  228. package/dist/chunks/{file-retention-8hddrz6y.js → persistent-pty-qpf5xtm9.js} +6 -6
  229. package/dist/chunks/{file-retention-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  230. package/dist/chunks/{file-retention-m5xa4xm2.js → persistent-pty-qsky8txg.js} +43 -43
  231. package/dist/chunks/{file-retention-az5wxh9j.js → persistent-pty-qt6mstr8.js} +11 -11
  232. package/dist/chunks/{file-retention-w5bfhdvm.js → persistent-pty-rbhtsr62.js} +6 -6
  233. package/dist/chunks/{file-retention-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  234. package/dist/chunks/{file-retention-r8xr0va3.js → persistent-pty-rhraev7y.js} +4 -4
  235. package/dist/chunks/{file-retention-kwagda8j.js → persistent-pty-s13hgdhw.js} +10 -10
  236. package/dist/chunks/{file-retention-j67eyxhk.js → persistent-pty-sd9ps8hc.js} +32 -32
  237. package/dist/chunks/{file-retention-h63arcwz.js → persistent-pty-se3n0aez.js} +35 -35
  238. package/dist/chunks/{file-retention-mvr5bn4j.js → persistent-pty-sh3cnwks.js} +12 -12
  239. package/dist/chunks/{file-retention-gar1kgy6.js → persistent-pty-smyzvreh.js} +24 -24
  240. package/dist/chunks/{file-retention-zm2y9yb3.js → persistent-pty-sqgptjkv.js} +6 -6
  241. package/dist/chunks/{file-retention-kmssrs7f.js → persistent-pty-sv56s9vz.js} +4 -4
  242. package/dist/chunks/{file-retention-rgkm1ghw.js → persistent-pty-svvemcs6.js} +8 -8
  243. package/dist/chunks/{file-retention-mjm950tt.js → persistent-pty-sw03m82y.js} +34 -34
  244. package/dist/chunks/{file-retention-e9zqkyac.js → persistent-pty-t7vxnrsg.js} +10 -10
  245. package/dist/chunks/{file-retention-g9kevcwd.js → persistent-pty-t8xra3xv.js} +10 -10
  246. package/dist/chunks/{file-retention-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  247. package/dist/chunks/{file-retention-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  248. package/dist/chunks/{file-retention-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  249. package/dist/chunks/{file-retention-gyc1mqyt.js → persistent-pty-teryqt5v.js} +3 -3
  250. package/dist/chunks/{file-retention-tfg9eqy2.js → persistent-pty-tg4v6ybm.js} +8 -8
  251. package/dist/chunks/{file-retention-8rse1bz0.js → persistent-pty-thfsr13d.js} +23 -23
  252. package/dist/chunks/{file-retention-yer1ws18.js → persistent-pty-tjhtcc6s.js} +8 -8
  253. package/dist/chunks/{file-retention-2vqpzfka.js → persistent-pty-tp9rhsw7.js} +33 -33
  254. package/dist/chunks/{file-retention-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  255. package/dist/chunks/{file-retention-2daz2v6c.js → persistent-pty-v7w3wckr.js} +33 -33
  256. package/dist/chunks/{file-retention-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  257. package/dist/chunks/{file-retention-b8hpyb2b.js → persistent-pty-vrgxsb1e.js} +13 -13
  258. package/dist/chunks/{file-retention-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{file-retention-b971s22s.js → persistent-pty-w0ekr5w4.js} +4 -4
  260. package/dist/chunks/{file-retention-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{file-retention-xk5yp3rz.js → persistent-pty-w3wzfs1e.js} +26 -26
  262. package/dist/chunks/{file-retention-31hetm60.js → persistent-pty-w7trrfxg.js} +4 -4
  263. package/dist/chunks/{file-retention-sgwh5nyn.js → persistent-pty-was7srj9.js} +8 -8
  264. package/dist/chunks/{file-retention-y0mc46pw.js → persistent-pty-wbt9zsn3.js} +9 -9
  265. package/dist/chunks/{file-retention-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  266. package/dist/chunks/{file-retention-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{file-retention-484azhyv.js → persistent-pty-x2659m4s.js} +18 -18
  268. package/dist/chunks/{file-retention-s76c0ttp.js → persistent-pty-xc9wkb25.js} +17 -17
  269. package/dist/chunks/{file-retention-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
  270. package/dist/chunks/{file-retention-1fq49j2d.js → persistent-pty-xga9dy9m.js} +18 -18
  271. package/dist/chunks/persistent-pty-xjrs478y.js +252 -0
  272. package/dist/chunks/{file-retention-pc4b88sv.js → persistent-pty-xs53z2pm.js} +4 -4
  273. package/dist/chunks/{file-retention-jcmwmbwz.js → persistent-pty-xwmca76c.js} +1 -1
  274. package/dist/chunks/{file-retention-4e3kc42d.js → persistent-pty-xy3zq42w.js} +15 -15
  275. package/dist/chunks/{file-retention-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{file-retention-vp54qpx1.js → persistent-pty-y7kpdk7a.js} +19 -19
  277. package/dist/chunks/{file-retention-hya5ekxn.js → persistent-pty-y8vstp7v.js} +1 -1
  278. package/dist/chunks/{file-retention-wxffcvth.js → persistent-pty-ybhbtxjg.js} +3 -3
  279. package/dist/chunks/{file-retention-v6gb7zv2.js → persistent-pty-ycjb11n5.js} +6 -6
  280. package/dist/chunks/{file-retention-8gsbz1zp.js → persistent-pty-ymfjs49y.js} +15 -15
  281. package/dist/chunks/{file-retention-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{file-retention-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
  283. package/dist/chunks/{file-retention-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{file-retention-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  285. package/dist/chunks/{file-retention-3bc8czyk.js → persistent-pty-zd30eb5w.js} +5 -5
  286. package/dist/chunks/{file-retention-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{file-retention-11gyv0qx.js → persistent-pty-zjstjz92.js} +11 -11
  288. package/dist/chunks/{file-retention-691kgrwj.js → persistent-pty-zqfjm1r3.js} +9 -9
  289. package/dist/chunks/{file-retention-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{file-retention-bv6943e1.js → persistent-pty-zrk49733.js} +1 -1
  291. package/dist/chunks/{file-retention-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +81 -81
  297. package/dist/config/discovery.js +82 -82
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +158 -158
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +121 -121
  317. package/dist/config/plugin/source.js +120 -120
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +83 -83
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +3 -3
  410. package/dist/environment/index.js +97 -97
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +104 -104
  432. package/dist/form.js +80 -80
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +80 -80
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +85 -85
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +100 -100
  478. package/dist/mcp/instructions.js +124 -124
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +78 -78
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +107 -107
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +88 -88
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +91 -91
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +120 -120
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +348 -348
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +227 -227
  562. package/dist/project/schema.js +4 -4
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +84 -84
  565. package/dist/provider.js +93 -93
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +96 -96
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +132 -132
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +151 -151
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +1 -1
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +94 -94
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +3 -3
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +154 -154
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +215 -215
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +9 -9
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +108 -108
  635. package/dist/snapshot.js +89 -89
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +122 -122
  643. package/dist/tool/plugin/grep.js +118 -118
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +120 -120
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +213 -213
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +3 -3
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/file-retention-1x11rq2a.js +0 -18
  701. package/dist/chunks/file-retention-4egeceed.js +0 -507
  702. package/dist/chunks/file-retention-6kdq0pjd.js +0 -4
  703. package/dist/chunks/file-retention-fes7pmbs.js +0 -252
  704. package/dist/chunks/file-retention-s958vy2b.js +0 -26
  705. /package/dist/chunks/{file-retention-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{file-retention-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{file-retention-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{file-retention-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{file-retention-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{file-retention-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{file-retention-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{file-retention-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{file-retention-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{file-retention-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{file-retention-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{file-retention-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  717. /package/dist/chunks/{file-retention-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{file-retention-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{file-retention-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{file-retention-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{file-retention-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{file-retention-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{file-retention-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{file-retention-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  725. /package/dist/chunks/{file-retention-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{file-retention-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{file-retention-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  728. /package/dist/chunks/{file-retention-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{file-retention-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{file-retention-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  731. /package/dist/chunks/{file-retention-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{file-retention-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{file-retention-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{file-retention-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  735. /package/dist/chunks/{file-retention-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{file-retention-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{file-retention-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{file-retention-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{file-retention-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{file-retention-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{file-retention-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{file-retention-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{file-retention-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{file-retention-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{file-retention-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{file-retention-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{file-retention-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{file-retention-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{file-retention-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{file-retention-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  751. /package/dist/chunks/{file-retention-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{file-retention-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{file-retention-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{file-retention-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{file-retention-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{file-retention-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{file-retention-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{file-retention-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{file-retention-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{file-retention-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{file-retention-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{file-retention-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{file-retention-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  764. /package/dist/chunks/{file-retention-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{file-retention-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  766. /package/dist/chunks/{file-retention-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{file-retention-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  768. /package/dist/chunks/{file-retention-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{file-retention-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{file-retention-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{file-retention-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{file-retention-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{file-retention-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{file-retention-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{file-retention-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{file-retention-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{file-retention-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{file-retention-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{file-retention-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{file-retention-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{file-retention-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{file-retention-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{file-retention-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{file-retention-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{file-retention-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{file-retention-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{file-retention-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{file-retention-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{file-retention-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{file-retention-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{file-retention-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{file-retention-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{file-retention-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{file-retention-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{file-retention-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  796. /package/dist/chunks/{file-retention-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{file-retention-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{file-retention-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{file-retention-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{file-retention-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{file-retention-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./file-retention-ec1grn59.js";
3
+ } from "./persistent-pty-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./file-retention-tdstcens.js";
6
+ } from "./persistent-pty-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error5,
9
+ Error: () => Error4,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
13
  make: () => make17,
14
- node: () => node63,
14
+ node: () => node56,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node63 = registryNode2({});
47
+ var node56 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node63, exports_driver };
49
+ export { Binding2, Error4, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node56, exports_driver };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./file-retention-fxgpk5d8.js";
3
+ } from "./persistent-pty-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./file-retention-g4wezp1m.js";
6
+ } from "./persistent-pty-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./file-retention-x61499pn.js";
9
+ } from "./persistent-pty-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./file-retention-af5trqkr.js";
12
+ } from "./persistent-pty-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./file-retention-afrmfg78.js";
15
+ } from "./persistent-pty-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./file-retention-x0ckcb58.js";
18
+ } from "./persistent-pty-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./file-retention-7sk5kyxr.js";
4
+ } from "./persistent-pty-a6mwbtq0.js";
5
5
  import {
6
6
  create3
7
- } from "./file-retention-rdw6cm16.js";
7
+ } from "./persistent-pty-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event16,
18
- ID: () => ID12,
19
- Info: () => Info25,
17
+ Event: () => Event14,
18
+ ID: () => ID10,
19
+ Info: () => Info24,
20
20
  Name: () => Name3,
21
- Service: () => Service73,
21
+ Service: () => Service67,
22
22
  defaultID: () => defaultID2,
23
- node: () => node77
23
+ node: () => node71
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event16 } from "@opencode/schema/agent";
30
+ import { Event as Event14 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID12 = Agent.ID;
33
+ var ID10 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID12.make("build");
35
+ var defaultID2 = ID10.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info25 = Agent.Info;
37
+ var Info24 = Agent.Info;
38
38
 
39
- class Service73 extends Context.Service()("@opencode/Agent") {
39
+ class Service67 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service73, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
42
42
  const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info25.default(id);
60
+ const defaults = Info24.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID12.make("build")));
82
+ const build = selectable(data.agents.get(ID10.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service73.of({
91
+ return Service67.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID12.make(id));
99
+ return state.get().agents.get(ID10.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID12.make(id);
104
+ const selected = ID10.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node77 = makeLocationNode({ service: Service73, layer, deps: [node87, Global.node] });
119
+ var node71 = makeLocationNode({ service: Service67, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID12, Name3, defaultID2, Color2, Info25, Service73, node77, exports_agent4, Event16 };
121
+ export { ID10, Name3, defaultID2, Color2, Info24, Service67, node71, exports_agent4, Event14 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-retention-hvb7b1k8.js";
4
+ } from "./persistent-pty-jwkmn8w3.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service83,
8
8
  node87
9
- } from "./file-retention-7sk5kyxr.js";
9
+ } from "./persistent-pty-a6mwbtq0.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./file-retention-5t3nmthw.js";
12
+ } from "./persistent-pty-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./file-retention-ec1grn59.js";
15
+ } from "./persistent-pty-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./file-retention-tfg9eqy2.js";
18
+ } from "./persistent-pty-tg4v6ybm.js";
19
19
  import {
20
- Service70,
21
- node74
22
- } from "./file-retention-yk950sz5.js";
20
+ Service65,
21
+ node69
22
+ } from "./persistent-pty-nwsnnm7q.js";
23
23
  import {
24
- Service19,
25
- node22
26
- } from "./file-retention-0bftx5a5.js";
24
+ Service23,
25
+ node27
26
+ } from "./persistent-pty-2pbd4axt.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./file-retention-tdstcens.js";
30
+ } from "./persistent-pty-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./file-retention-9rqn6x4v.js";
33
+ } from "./persistent-pty-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service2,
38
+ Service: () => Service3,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
41
  layer: () => layer3,
42
- node: () => node3
42
+ node: () => node4
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service2 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service3 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service2, Effect.gen(function* () {
61
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
62
  const bus = yield* Service83;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service19;
65
- const store = yield* Service70;
64
+ const context = yield* Service23;
65
+ const store = yield* Service65;
66
66
  const db = (yield* Service84).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service2.of({ generate });
148
+ return Service3.of({ generate });
149
149
  }));
150
- var node3 = makeLocationNode({
151
- service: Service2,
150
+ var node4 = makeLocationNode({
151
+ service: Service3,
152
152
  layer: layer3,
153
- deps: [node87, llmClient2, node22, node74, node88]
153
+ deps: [node87, llmClient2, node27, node69, node88]
154
154
  });
155
155
 
156
- export { Service2, isUntitled2, layer3, node3, exports_title };
156
+ export { Service3, isUntitled2, layer3, node4, exports_title };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-retention-dpkg50ah.js";
3
+ } from "./persistent-pty-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service5,
13
- node: () => node7
12
+ Service: () => Service11,
13
+ node: () => node13
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service5 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service11 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service5, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service5.of({
27
+ return Service11.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
52
+ var node13 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
53
53
 
54
- export { Service5, node7, exports_update };
54
+ export { Service11, node13, exports_update };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-retention-hvb7b1k8.js";
4
+ } from "./persistent-pty-jwkmn8w3.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./file-retention-ckecvw8r.js";
7
+ } from "./persistent-pty-54tcyq79.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID10,
16
+ ID: () => ID9,
17
17
  Info: () => Info23,
18
18
  ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service71,
21
- node: () => node75
20
+ Service: () => Service66,
21
+ node: () => node70
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID10 = PermissionSaved.ID;
28
+ var ID9 = PermissionSaved.ID;
29
29
  var Info23 = PermissionSaved.Info;
30
30
  var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service71 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service66 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service71, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID10.create(),
60
+ id: ID9.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service71.of({ list, add, remove });
69
+ return Service66.of({ list, add, remove });
70
70
  }));
71
- var node75 = makeGlobalNode({ service: Service71, layer, deps: [node88] });
71
+ var node70 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
72
72
 
73
- export { ID10, Info23, ListInput5, AddInput2, Service71, node75, exports_saved };
73
+ export { ID9, Info23, ListInput5, AddInput2, Service66, node70, exports_saved };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./file-retention-5daktx2q.js";
3
+ } from "./persistent-pty-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-retention-922hggd3.js";
6
+ } from "./persistent-pty-922hggd3.js";
7
7
  import {
8
- ID3,
8
+ ID5,
9
9
  Name2
10
- } from "./file-retention-t2f6sps2.js";
10
+ } from "./persistent-pty-jbnt79dx.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID3.make(id),
58
+ id: ID5.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./file-retention-4dgbcxzg.js";
3
+ } from "./persistent-pty-h6r3nrb9.js";
4
4
  import {
5
5
  Service83
6
- } from "./file-retention-7sk5kyxr.js";
6
+ } from "./persistent-pty-a6mwbtq0.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./file-retention-xk5yp3rz.js";
9
+ Event18
10
+ } from "./persistent-pty-w3wzfs1e.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./file-retention-j31v3zf1.js";
14
+ } from "./persistent-pty-59z0gf60.js";
15
15
  import {
16
16
  ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
19
  Service75
20
- } from "./file-retention-gv7n655z.js";
20
+ } from "./persistent-pty-a2q4hhkc.js";
21
21
  import {
22
- ID8
23
- } from "./file-retention-gx3bsgbr.js";
22
+ ID12
23
+ } from "./persistent-pty-q7hsqcry.js";
24
24
  import {
25
- load3,
26
- derive3
27
- } from "./file-retention-hv1rr3m3.js";
25
+ load2,
26
+ derive2
27
+ } from "./persistent-pty-a4r3ry0g.js";
28
28
  import {
29
29
  useragent2
30
- } from "./file-retention-tv6fr57g.js";
30
+ } from "./persistent-pty-htcezajs.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -175,7 +175,7 @@ var GithubCopilotPlugin2 = define({
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
176
  const provider = yield* providers.get(ID13.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
- try: () => load3(url, {
178
+ try: () => load2(url, {
179
179
  ...provider?.headers,
180
180
  Authorization: `Bearer ${credential.refresh}`,
181
181
  "User-Agent": useragent2(ctx.app),
@@ -200,7 +200,7 @@ var GithubCopilotPlugin2 = define({
200
200
  if (loaded.models) {
201
201
  evt.add({
202
202
  info: item.provider,
203
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
203
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
204
204
  sourceConnection: loaded.connection
205
205
  });
206
206
  return;
@@ -214,14 +214,14 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID13.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
218
- models.update(ID13.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
218
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
227
  if (evt.model.providerID !== ID13.githubCopilot)
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service8
3
- } from "./file-retention-4v7r6s0x.js";
2
+ Service10
3
+ } from "./persistent-pty-7npttpkb.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/compaction.ts
9
9
  var exports_compaction2 = {};
10
10
  __export(exports_compaction2, {
11
11
  NativeCompactionPlugin: () => exports_compaction2,
12
- Plugin: () => Plugin34
12
+ Plugin: () => Plugin43
13
13
  });
14
14
  import { LLMClient, Message } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect } from "effect";
17
- var Plugin34 = define({
17
+ var Plugin43 = define({
18
18
  id: "opencode.compaction.native",
19
19
  effect: Effect.fn("NativeCompactionPlugin")(function* () {
20
20
  const llm = yield* LLMClient.Service;
21
- const compaction = yield* Service8;
21
+ const compaction = yield* Service10;
22
22
  yield* compaction.transform((editor) => {
23
23
  editor.native((input) => {
24
24
  const request = input.request;
@@ -36,4 +36,4 @@ var Plugin34 = define({
36
36
  })
37
37
  });
38
38
 
39
- export { Plugin34, exports_compaction2 };
39
+ export { Plugin43, exports_compaction2 };