@opencode/core 0.0.0-dev-19929 → 0.0.0-dev-19934

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{variant-88sz8qcd.js → persistent-pty-06dxphr1.js} +4 -4
  8. package/dist/chunks/{variant-v5rckacs.js → persistent-pty-0akym11d.js} +16 -16
  9. package/dist/chunks/{variant-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
  10. package/dist/chunks/{variant-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{variant-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{variant-tekmj6ag.js → persistent-pty-0rqdjtcb.js} +4 -4
  13. package/dist/chunks/{variant-5e526pdq.js → persistent-pty-0zkrmmra.js} +17 -17
  14. package/dist/chunks/{variant-cdswvkrb.js → persistent-pty-13f6jh0f.js} +28 -28
  15. package/dist/chunks/{variant-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{variant-wfbxbfnh.js → persistent-pty-1ev3hptz.js} +13 -13
  17. package/dist/chunks/{variant-htf19esp.js → persistent-pty-1g2zd6q9.js} +1 -1
  18. package/dist/chunks/{variant-daejddp2.js → persistent-pty-1p0trksj.js} +5 -5
  19. package/dist/chunks/{variant-vpmfpwrv.js → persistent-pty-1w7qre35.js} +30 -30
  20. package/dist/chunks/{variant-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  21. package/dist/chunks/{variant-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  22. package/dist/chunks/{variant-73t354rf.js → persistent-pty-26v7198b.js} +30 -30
  23. package/dist/chunks/{variant-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{variant-cdhfde9j.js → persistent-pty-2gbsvbx5.js} +12 -12
  25. package/dist/chunks/{variant-00zda7ad.js → persistent-pty-2hsgj57k.js} +15 -15
  26. package/dist/chunks/{variant-fcrkznn8.js → persistent-pty-2k8khapm.js} +5 -5
  27. package/dist/chunks/{variant-p794ez4j.js → persistent-pty-2rnnjxth.js} +7 -7
  28. package/dist/chunks/{variant-5zmv6415.js → persistent-pty-2wzrjk5c.js} +24 -24
  29. package/dist/chunks/{variant-qq8x5mwt.js → persistent-pty-2y34zzjz.js} +6 -6
  30. package/dist/chunks/{variant-7bnc82pv.js → persistent-pty-2ym62d1y.js} +1 -1
  31. package/dist/chunks/{variant-j5rxtxht.js → persistent-pty-3ewed21c.js} +4 -4
  32. package/dist/chunks/{variant-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{variant-etxcespx.js → persistent-pty-3fs6smyb.js} +11 -11
  34. package/dist/chunks/{variant-s8gzg6ps.js → persistent-pty-3gs18der.js} +22 -22
  35. package/dist/chunks/{variant-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{variant-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{variant-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{variant-fpmq6gma.js → persistent-pty-3w0fmcng.js} +5 -5
  39. package/dist/chunks/{variant-jpabmb3b.js → persistent-pty-4113bgx8.js} +11 -11
  40. package/dist/chunks/{variant-dbr97xs3.js → persistent-pty-41ssmn02.js} +88 -88
  41. package/dist/chunks/{variant-vacv7tww.js → persistent-pty-431eg44t.js} +13 -13
  42. package/dist/chunks/{variant-3tq5qxbk.js → persistent-pty-44ke2mar.js} +8 -8
  43. package/dist/chunks/{variant-eg0n86kw.js → persistent-pty-4acetgwp.js} +2 -2
  44. package/dist/chunks/{variant-0m0q8tbm.js → persistent-pty-4e13r3ts.js} +4 -4
  45. package/dist/chunks/{variant-m8fyha7e.js → persistent-pty-4kg54np8.js} +19 -19
  46. package/dist/chunks/{variant-80zhq90k.js → persistent-pty-4pxrwfad.js} +24 -24
  47. package/dist/chunks/{variant-s1paeqnb.js → persistent-pty-4vdcjjmt.js} +13 -13
  48. package/dist/chunks/{variant-v1jga31n.js → persistent-pty-4yy5d4qw.js} +1 -1
  49. package/dist/chunks/{variant-4psg348e.js → persistent-pty-4z7tbtat.js} +4 -4
  50. package/dist/chunks/{variant-yjy93qy1.js → persistent-pty-5531r29v.js} +28 -28
  51. package/dist/chunks/{variant-33w4ejhs.js → persistent-pty-56gdpj1q.js} +6 -6
  52. package/dist/chunks/{variant-fed64dwg.js → persistent-pty-57sn279e.js} +10 -10
  53. package/dist/chunks/{variant-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
  54. package/dist/chunks/{variant-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  55. package/dist/chunks/{variant-zv5ttkf1.js → persistent-pty-5dbxvay1.js} +22 -22
  56. package/dist/chunks/{variant-mdcbbkwb.js → persistent-pty-5h8807ma.js} +20 -20
  57. package/dist/chunks/persistent-pty-5kmakpsy.js +492 -0
  58. package/dist/chunks/{variant-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{variant-11ycak68.js → persistent-pty-5rfwsh5d.js} +3 -3
  60. package/dist/chunks/{variant-x032sc2t.js → persistent-pty-5rt7pep6.js} +3 -3
  61. package/dist/chunks/{variant-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{variant-ac85jxpe.js → persistent-pty-61h0qsnp.js} +10 -10
  63. package/dist/chunks/{variant-nxbj6ds4.js → persistent-pty-63mpdmm6.js} +32 -32
  64. package/dist/chunks/{variant-jy9qfbpw.js → persistent-pty-65w3833t.js} +13 -13
  65. package/dist/chunks/{variant-669tq793.js → persistent-pty-669tq793.js} +1 -1
  66. package/dist/chunks/{variant-zkb3p1av.js → persistent-pty-68tggvtb.js} +11 -11
  67. package/dist/chunks/{variant-4hdzk7hf.js → persistent-pty-69cccy7z.js} +18 -18
  68. package/dist/chunks/{variant-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{variant-vyrd71eq.js → persistent-pty-6n88yxkj.js} +11 -11
  70. package/dist/chunks/{variant-h1xw4j99.js → persistent-pty-6p5ms1em.js} +22 -22
  71. package/dist/chunks/{variant-3yhrdsbv.js → persistent-pty-6p7zr8ep.js} +14 -14
  72. package/dist/chunks/{variant-x14jg0cy.js → persistent-pty-6tr59r50.js} +27 -27
  73. package/dist/chunks/{variant-hj8edc52.js → persistent-pty-6vrsc7tt.js} +18 -18
  74. package/dist/chunks/{variant-xp249hw0.js → persistent-pty-6yh2fsej.js} +8 -8
  75. package/dist/chunks/{variant-snq8dzyz.js → persistent-pty-6zthmp17.js} +26 -26
  76. package/dist/chunks/{variant-6ghf7z99.js → persistent-pty-71vt42kc.js} +3 -3
  77. package/dist/chunks/{variant-eq0vndw1.js → persistent-pty-74fmk9vn.js} +10 -10
  78. package/dist/chunks/{variant-y6a1dekx.js → persistent-pty-75q2ps1k.js} +1 -1
  79. package/dist/chunks/{variant-yk8pq5cg.js → persistent-pty-78b8afjy.js} +11 -11
  80. package/dist/chunks/{variant-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{variant-wffsa7mn.js → persistent-pty-7fmgbjr3.js} +9 -9
  82. package/dist/chunks/{variant-4fp1y1hx.js → persistent-pty-7s8gb34t.js} +26 -26
  83. package/dist/chunks/{variant-cvyp9gwg.js → persistent-pty-82ahnwkf.js} +20 -20
  84. package/dist/chunks/{variant-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{variant-qbkezxjr.js → persistent-pty-8hz3g5y0.js} +19 -19
  86. package/dist/chunks/{variant-3zbt29cz.js → persistent-pty-8y3s9r1h.js} +3 -3
  87. package/dist/chunks/{variant-581mt43x.js → persistent-pty-90y57r1y.js} +19 -19
  88. package/dist/chunks/{variant-gjgwxmnp.js → persistent-pty-92xv3hjf.js} +15 -15
  89. package/dist/chunks/{variant-g1qp7rch.js → persistent-pty-9c77jpjf.js} +1 -1
  90. package/dist/chunks/{variant-7dbmnfn4.js → persistent-pty-9ex8f1cq.js} +8 -8
  91. package/dist/chunks/{variant-1vtwa2bz.js → persistent-pty-9h0hyds4.js} +17 -17
  92. package/dist/chunks/{variant-zezb5qjv.js → persistent-pty-9tx45s8b.js} +44 -44
  93. package/dist/chunks/{variant-kbegyq1c.js → persistent-pty-a3r4dcrj.js} +2 -2
  94. package/dist/chunks/persistent-pty-a7qcy6v8.js +26 -0
  95. package/dist/chunks/{variant-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  96. package/dist/chunks/{variant-5f90fjb2.js → persistent-pty-ab8cnxkj.js} +12 -12
  97. package/dist/chunks/{variant-z9sp5fm7.js → persistent-pty-aba8dj31.js} +15 -15
  98. package/dist/chunks/{variant-zmzpzcz0.js → persistent-pty-ace40s22.js} +10 -10
  99. package/dist/chunks/{variant-06x8he3q.js → persistent-pty-afdssyjb.js} +4 -4
  100. package/dist/chunks/{variant-fm2qvscf.js → persistent-pty-b27vhd2z.js} +4 -4
  101. package/dist/chunks/{variant-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{variant-e8n9gjj2.js → persistent-pty-b7r080c3.js} +15 -15
  103. package/dist/chunks/{variant-2sysg75s.js → persistent-pty-bmcyf7gj.js} +20 -20
  104. package/dist/chunks/{variant-y1ak4dcf.js → persistent-pty-bph3v013.js} +14 -14
  105. package/dist/chunks/{variant-5xtgfte3.js → persistent-pty-br0tr5aq.js} +8 -8
  106. package/dist/chunks/{variant-89y08yag.js → persistent-pty-brg56pc6.js} +32 -32
  107. package/dist/chunks/{variant-g93577tk.js → persistent-pty-bsgfsq91.js} +16 -16
  108. package/dist/chunks/{variant-atkhay14.js → persistent-pty-btpphd88.js} +16 -16
  109. package/dist/chunks/{variant-scq4khx8.js → persistent-pty-bz85s9hh.js} +1 -1
  110. package/dist/chunks/{variant-e67yx0e7.js → persistent-pty-cdq49ytp.js} +21 -21
  111. package/dist/chunks/{variant-02pnwh74.js → persistent-pty-cv5frkqy.js} +1 -1
  112. package/dist/chunks/{variant-hb490e85.js → persistent-pty-cwtvnkts.js} +8 -8
  113. package/dist/chunks/{variant-7dm6k58v.js → persistent-pty-d0fsejzd.js} +36 -36
  114. package/dist/chunks/{variant-qmqgtz8f.js → persistent-pty-d4he2qe1.js} +9 -9
  115. package/dist/chunks/{variant-jnrgw5v9.js → persistent-pty-de5mzfxd.js} +26 -26
  116. package/dist/chunks/{variant-46g6c864.js → persistent-pty-deq2z4hf.js} +5 -5
  117. package/dist/chunks/{variant-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
  118. package/dist/chunks/{variant-xzj18ccb.js → persistent-pty-dk2em0p3.js} +6 -6
  119. package/dist/chunks/{variant-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
  120. package/dist/chunks/persistent-pty-dxj72tfx.js +18 -0
  121. package/dist/chunks/{variant-jfxs3vax.js → persistent-pty-e84rd1xk.js} +19 -19
  122. package/dist/chunks/{variant-3qaj82j9.js → persistent-pty-e8qyrgb1.js} +5 -5
  123. package/dist/chunks/{variant-t550f9t1.js → persistent-pty-eaj1djv9.js} +8 -8
  124. package/dist/chunks/{variant-ecn9jhng.js → persistent-pty-edwvx061.js} +4 -4
  125. package/dist/chunks/{variant-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{variant-9qv5zp25.js → persistent-pty-encztx8n.js} +22 -22
  127. package/dist/chunks/{variant-y65b9mqq.js → persistent-pty-epqb7qpy.js} +3 -3
  128. package/dist/chunks/{variant-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
  129. package/dist/chunks/{variant-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{variant-3tjc0p16.js → persistent-pty-ffw5jcp2.js} +18 -18
  131. package/dist/chunks/{variant-jddxdp29.js → persistent-pty-fr9ym6sp.js} +36 -36
  132. package/dist/chunks/{variant-yyjwmy9w.js → persistent-pty-fsy2n4n3.js} +9 -9
  133. package/dist/chunks/{variant-35agz59w.js → persistent-pty-fvanntqq.js} +5 -5
  134. package/dist/chunks/{variant-kcx3s1b2.js → persistent-pty-fwft7q1r.js} +3 -3
  135. package/dist/chunks/{variant-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  136. package/dist/chunks/{variant-1cexkqsx.js → persistent-pty-gb9jw3zf.js} +6 -6
  137. package/dist/chunks/{variant-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  138. package/dist/chunks/persistent-pty-gfx0waae.js +252 -0
  139. package/dist/chunks/{variant-bajakh74.js → persistent-pty-gnx4ytbv.js} +4 -4
  140. package/dist/chunks/{variant-w1r4gm3b.js → persistent-pty-grhxn6he.js} +24 -24
  141. package/dist/chunks/{variant-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  142. package/dist/chunks/{variant-qxf9c2ab.js → persistent-pty-gxr7q3nf.js} +20 -20
  143. package/dist/chunks/{variant-4hj0fzs6.js → persistent-pty-h4eh15d6.js} +20 -20
  144. package/dist/chunks/{variant-zj09a0ew.js → persistent-pty-h6jr292a.js} +4 -4
  145. package/dist/chunks/{variant-h6r3nrb9.js → persistent-pty-h6r3nrb9.js} +1 -1
  146. package/dist/chunks/{variant-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{variant-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
  148. package/dist/chunks/{variant-avc8n21j.js → persistent-pty-hds23wzw.js} +20 -20
  149. package/dist/chunks/{variant-s9zy2sz3.js → persistent-pty-hmp6wt3x.js} +3 -3
  150. package/dist/chunks/{variant-3bjt41fp.js → persistent-pty-hnac9jpe.js} +18 -18
  151. package/dist/chunks/{variant-5h4803qh.js → persistent-pty-hq654dja.js} +23 -23
  152. package/dist/chunks/{variant-1r2q1gj2.js → persistent-pty-hv2snex1.js} +8 -8
  153. package/dist/chunks/{variant-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  154. package/dist/chunks/{variant-wk5z6jzv.js → persistent-pty-j58c5xyq.js} +9 -9
  155. package/dist/chunks/{variant-xhqqcaaj.js → persistent-pty-j9vp638d.js} +43 -43
  156. package/dist/chunks/{variant-k5q0j7kh.js → persistent-pty-jcz9anth.js} +47 -47
  157. package/dist/chunks/{variant-vec162fb.js → persistent-pty-jdvrzx2t.js} +15 -15
  158. package/dist/chunks/{variant-n7d88tpn.js → persistent-pty-jexxy024.js} +3 -3
  159. package/dist/chunks/{variant-9hx9t54y.js → persistent-pty-jfcm29bp.js} +4 -4
  160. package/dist/chunks/{variant-8tdcmj8e.js → persistent-pty-jpxb4059.js} +11 -11
  161. package/dist/chunks/{variant-b0hh7rkz.js → persistent-pty-jsqr29s7.js} +12 -12
  162. package/dist/chunks/{variant-4hex222f.js → persistent-pty-jsx9wcxe.js} +9 -9
  163. package/dist/chunks/{variant-k1yd7t6d.js → persistent-pty-jtwa0aj6.js} +9 -9
  164. package/dist/chunks/{variant-hme2eye4.js → persistent-pty-jzphxtev.js} +10 -10
  165. package/dist/chunks/{variant-cfv81dax.js → persistent-pty-k1gkpfdk.js} +8 -8
  166. package/dist/chunks/{variant-kk00bynn.js → persistent-pty-k2h4r4s0.js} +21 -21
  167. package/dist/chunks/{variant-nzks3jc8.js → persistent-pty-k3c624dm.js} +3 -3
  168. package/dist/chunks/{variant-7n61ngcs.js → persistent-pty-k6w2t1ya.js} +4 -4
  169. package/dist/chunks/{variant-pjyrsqr5.js → persistent-pty-kfgf5fep.js} +22 -22
  170. package/dist/chunks/{variant-688fsq89.js → persistent-pty-kftvnv3j.js} +24 -24
  171. package/dist/chunks/{variant-3mjgmrez.js → persistent-pty-kkzayper.js} +25 -25
  172. package/dist/chunks/{variant-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
  173. package/dist/chunks/{variant-9a912s85.js → persistent-pty-m2d0j7c0.js} +9 -9
  174. package/dist/chunks/{variant-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  175. package/dist/chunks/{variant-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{variant-qsaz4j0h.js → persistent-pty-mbgq0mmx.js} +4 -4
  177. package/dist/chunks/{variant-jmgsh8t8.js → persistent-pty-mfs5sj5t.js} +9 -9
  178. package/dist/chunks/{variant-k0nnq3t9.js → persistent-pty-mg83pbjr.js} +8 -8
  179. package/dist/chunks/{variant-0ymrjdx0.js → persistent-pty-mmmrdbr8.js} +11 -11
  180. package/dist/chunks/{variant-qqzxbgcr.js → persistent-pty-mnaz46m9.js} +88 -88
  181. package/dist/chunks/{variant-eq1pz5kg.js → persistent-pty-mvfsc1pv.js} +3 -3
  182. package/dist/chunks/{variant-x20jwhze.js → persistent-pty-n2eg1d0h.js} +22 -22
  183. package/dist/chunks/{variant-nvwa0hb0.js → persistent-pty-n36xcpgr.js} +8 -8
  184. package/dist/chunks/{variant-cp58tbh7.js → persistent-pty-n4j23rry.js} +14 -14
  185. package/dist/chunks/{variant-1d20j0v2.js → persistent-pty-nm55ymfc.js} +13 -13
  186. package/dist/chunks/{variant-fwrss4ad.js → persistent-pty-nqyhrfcc.js} +4 -4
  187. package/dist/chunks/{variant-0ksn7zt6.js → persistent-pty-nyacxbzj.js} +47 -47
  188. package/dist/chunks/{variant-x4xdegw5.js → persistent-pty-p0h2c1j9.js} +10 -10
  189. package/dist/chunks/{variant-8yq9vxkt.js → persistent-pty-p3x7gx7a.js} +25 -25
  190. package/dist/chunks/{variant-9v5bmq1h.js → persistent-pty-p4a5cx5p.js} +15 -15
  191. package/dist/chunks/{variant-2sw5q0wt.js → persistent-pty-p513dnzd.js} +127 -127
  192. package/dist/chunks/{variant-t3bc8739.js → persistent-pty-p52j3anj.js} +38 -38
  193. package/dist/chunks/{variant-etzz3kcr.js → persistent-pty-p84dsdfh.js} +8 -8
  194. package/dist/chunks/{variant-f58gpcny.js → persistent-pty-patgj9rf.js} +9 -9
  195. package/dist/chunks/{variant-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{variant-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  197. package/dist/chunks/{variant-z6993f54.js → persistent-pty-q3j5ebgq.js} +17 -17
  198. package/dist/chunks/{variant-72z79t1c.js → persistent-pty-q8pxfdwq.js} +4 -4
  199. package/dist/chunks/{variant-ba5rwthk.js → persistent-pty-qc5y93g2.js} +28 -28
  200. package/dist/chunks/{variant-c60yw2k4.js → persistent-pty-qdwxcfza.js} +9 -9
  201. package/dist/chunks/{variant-p1nm93x7.js → persistent-pty-qn4ba14w.js} +5 -5
  202. package/dist/chunks/{variant-v64f012t.js → persistent-pty-qr405v0d.js} +8 -8
  203. package/dist/chunks/{variant-rxwn053f.js → persistent-pty-qryrftmh.js} +34 -34
  204. package/dist/chunks/{variant-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  205. package/dist/chunks/{variant-khn1016e.js → persistent-pty-qsx6xwjc.js} +18 -18
  206. package/dist/chunks/{variant-h4y0evgr.js → persistent-pty-qt5mdn6g.js} +15 -15
  207. package/dist/chunks/{variant-swmnke81.js → persistent-pty-qw85ht6d.js} +35 -35
  208. package/dist/chunks/{variant-artfq2y9.js → persistent-pty-r2a07nrz.js} +13 -13
  209. package/dist/chunks/{variant-pz004ev2.js → persistent-pty-r2w5wzr7.js} +10 -10
  210. package/dist/chunks/{variant-ntagdh2f.js → persistent-pty-r449bwkw.js} +11 -11
  211. package/dist/chunks/{variant-g66e6v5g.js → persistent-pty-r4wc6fxm.js} +5 -5
  212. package/dist/chunks/{variant-chm7davs.js → persistent-pty-r5zvm12r.js} +2 -2
  213. package/dist/chunks/{variant-rxwv643q.js → persistent-pty-r72bb3g5.js} +5 -5
  214. package/dist/chunks/{variant-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{variant-1acjjqhc.js → persistent-pty-rhraev7y.js} +4 -4
  216. package/dist/chunks/{variant-9er31qng.js → persistent-pty-rr6jacvf.js} +40 -40
  217. package/dist/chunks/{variant-nkchnphz.js → persistent-pty-rvt9ga0f.js} +24 -24
  218. package/dist/chunks/{variant-nh2qkb8q.js → persistent-pty-rya495mf.js} +11 -11
  219. package/dist/chunks/{variant-4km7nmet.js → persistent-pty-s4b84khr.js} +9 -9
  220. package/dist/chunks/{variant-q3qtz34h.js → persistent-pty-s4mb84p1.js} +55 -55
  221. package/dist/chunks/{variant-2dgc2p09.js → persistent-pty-s83kg3p0.js} +15 -15
  222. package/dist/chunks/{variant-bbxved7h.js → persistent-pty-s8cev9wy.js} +14 -14
  223. package/dist/chunks/{variant-cf4e7341.js → persistent-pty-s9ax1raf.js} +33 -33
  224. package/dist/chunks/{variant-nmpnak3m.js → persistent-pty-sqdxss6w.js} +11 -11
  225. package/dist/chunks/{variant-b4z3zmpa.js → persistent-pty-sxn79y37.js} +6 -6
  226. package/dist/chunks/{variant-437x3rrd.js → persistent-pty-sz24j28z.js} +23 -23
  227. package/dist/chunks/{variant-qa78vk1f.js → persistent-pty-t4nhm12y.js} +15 -15
  228. package/dist/chunks/{variant-c5c0bz0t.js → persistent-pty-t71v2ka4.js} +5 -5
  229. package/dist/chunks/{variant-d39q9ebj.js → persistent-pty-t808dn5w.js} +32 -32
  230. package/dist/chunks/{variant-dv4czjhz.js → persistent-pty-ta417yjh.js} +33 -33
  231. package/dist/chunks/{variant-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{variant-7f58yqs5.js → persistent-pty-tbgyadps.js} +11 -11
  233. package/dist/chunks/{variant-p28j5sbe.js → persistent-pty-tbz0fdvh.js} +5 -5
  234. package/dist/chunks/{variant-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{variant-b5mfkmw9.js → persistent-pty-td55jj2j.js} +30 -30
  236. package/dist/chunks/{variant-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  237. package/dist/chunks/{variant-vqfzq50h.js → persistent-pty-tegs1ycp.js} +6 -6
  238. package/dist/chunks/{variant-nzt52694.js → persistent-pty-tfxzrdmk.js} +10 -10
  239. package/dist/chunks/{variant-pe1kwhr7.js → persistent-pty-tnasdg6y.js} +35 -35
  240. package/dist/chunks/{variant-7edz4wx2.js → persistent-pty-tvc0b3mj.js} +5 -5
  241. package/dist/chunks/{variant-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  242. package/dist/chunks/{variant-b7p239x1.js → persistent-pty-tvtydw96.js} +41 -41
  243. package/dist/chunks/{variant-y9hpkwc1.js → persistent-pty-twca9fjq.js} +7 -7
  244. package/dist/chunks/{variant-vn1fgw6w.js → persistent-pty-v4px02z6.js} +20 -20
  245. package/dist/chunks/{variant-61c4a4yc.js → persistent-pty-va45f1s8.js} +32 -32
  246. package/dist/chunks/{variant-5wyxx50j.js → persistent-pty-vcdb3gbk.js} +1 -1
  247. package/dist/chunks/{variant-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  248. package/dist/chunks/{variant-1yraw3qx.js → persistent-pty-vg6ckggx.js} +66 -66
  249. package/dist/chunks/{variant-ntdd5ea0.js → persistent-pty-vmnj2x1v.js} +21 -21
  250. package/dist/chunks/{variant-bf0ztrs3.js → persistent-pty-vncycja5.js} +4 -4
  251. package/dist/chunks/{variant-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{variant-bzc1xqt2.js → persistent-pty-w18y63wv.js} +24 -24
  253. package/dist/chunks/{variant-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{variant-06wnqq5v.js → persistent-pty-w65z2jz3.js} +8 -8
  255. package/dist/chunks/{variant-ygc9jv0b.js → persistent-pty-w6qqzf7t.js} +2 -2
  256. package/dist/chunks/{variant-ke3bftkz.js → persistent-pty-wayd1cz3.js} +14 -14
  257. package/dist/chunks/{variant-g7spx9ks.js → persistent-pty-wcycnpg6.js} +11 -11
  258. package/dist/chunks/{variant-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  259. package/dist/chunks/{variant-xcwnyd0w.js → persistent-pty-wk2ay995.js} +22 -22
  260. package/dist/chunks/{variant-c12ce5kn.js → persistent-pty-wngp58at.js} +24 -24
  261. package/dist/chunks/{variant-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{variant-21esxye8.js → persistent-pty-x38sqvf4.js} +6 -6
  263. package/dist/chunks/{variant-85vr7548.js → persistent-pty-x5x7kcgs.js} +14 -14
  264. package/dist/chunks/{variant-47s357mr.js → persistent-pty-xaftkv44.js} +54 -54
  265. package/dist/chunks/{variant-3htja3pc.js → persistent-pty-xcjhgh37.js} +6 -6
  266. package/dist/chunks/{variant-5qrghy83.js → persistent-pty-xcrk435t.js} +18 -18
  267. package/dist/chunks/{variant-57b9ws8p.js → persistent-pty-xfkkasph.js} +7 -7
  268. package/dist/chunks/{variant-mqe4f0q2.js → persistent-pty-xjbekv6e.js} +18 -18
  269. package/dist/chunks/{variant-rhhtcmmd.js → persistent-pty-xjebcb6c.js} +9 -9
  270. package/dist/chunks/{variant-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{variant-6dah7td7.js → persistent-pty-ybhbtxjg.js} +9 -9
  272. package/dist/chunks/{variant-r8088ksz.js → persistent-pty-yppwdz7t.js} +9 -9
  273. package/dist/chunks/{variant-jj3z90vg.js → persistent-pty-yqz4sd6t.js} +8 -8
  274. package/dist/chunks/{variant-mka3p187.js → persistent-pty-yr8p71ks.js} +12 -12
  275. package/dist/chunks/{variant-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{variant-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
  277. package/dist/chunks/{variant-kbbc9a2b.js → persistent-pty-ysfwx83j.js} +8 -8
  278. package/dist/chunks/{variant-sra9araw.js → persistent-pty-yt0fqk68.js} +5 -5
  279. package/dist/chunks/{variant-cg4n9g91.js → persistent-pty-ytpw4txd.js} +14 -14
  280. package/dist/chunks/{variant-gf1r2ctz.js → persistent-pty-ytqvkck2.js} +5 -5
  281. package/dist/chunks/{variant-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{variant-fx0rb3rd.js → persistent-pty-z52a6mw5.js} +17 -17
  283. package/dist/chunks/{variant-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
  284. package/dist/chunks/{variant-pe8bnjnp.js → persistent-pty-ze9ygk7z.js} +9 -9
  285. package/dist/chunks/{variant-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{variant-9fy0kj33.js → persistent-pty-zq3sp2de.js} +20 -20
  287. package/dist/chunks/{variant-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{variant-jb708jhw.js → persistent-pty-zsphfh87.js} +18 -18
  289. package/dist/chunks/{variant-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +11 -11
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +76 -76
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +76 -76
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +103 -103
  429. package/dist/form.js +73 -73
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +102 -102
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +77 -77
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +84 -84
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +105 -105
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +74 -74
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +98 -98
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +95 -95
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +79 -79
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +112 -112
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +85 -85
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +119 -119
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +347 -347
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +6 -6
  557. package/dist/plugin.js +224 -224
  558. package/dist/project/schema.js +4 -4
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +83 -83
  561. package/dist/provider.js +90 -90
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +89 -89
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +86 -86
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +96 -96
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +133 -133
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +7 -7
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +220 -220
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +15 -15
  585. package/dist/session/inbox.js +89 -89
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +76 -76
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +111 -111
  606. package/dist/session/runner/step.js +123 -123
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +169 -169
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +84 -84
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +153 -153
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +216 -216
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +109 -109
  631. package/dist/snapshot.js +92 -92
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +124 -124
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +100 -100
  643. package/dist/tool/plugin/read.js +120 -120
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +110 -110
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +107 -107
  648. package/dist/tool/plugin/websearch.js +111 -111
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +7 -7
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +4 -4
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +3 -3
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +79 -79
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +7 -7
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +8 -8
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +93 -93
  694. package/package.json +8 -8
  695. package/dist/chunks/variant-4v7qdvcn.js +0 -18
  696. package/dist/chunks/variant-j0mjmfpa.js +0 -26
  697. package/dist/chunks/variant-kd723b26.js +0 -492
  698. package/dist/chunks/variant-q7eezj0w.js +0 -252
  699. /package/dist/chunks/{variant-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
  700. /package/dist/chunks/{variant-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{variant-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{variant-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{variant-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{variant-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{variant-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{variant-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{variant-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{variant-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{variant-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{variant-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  711. /package/dist/chunks/{variant-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{variant-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{variant-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{variant-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{variant-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{variant-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{variant-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{variant-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  719. /package/dist/chunks/{variant-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{variant-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  721. /package/dist/chunks/{variant-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{variant-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{variant-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  724. /package/dist/chunks/{variant-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{variant-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{variant-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  727. /package/dist/chunks/{variant-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{variant-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{variant-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{variant-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{variant-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{variant-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{variant-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{variant-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{variant-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{variant-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{variant-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{variant-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{variant-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{variant-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{variant-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{variant-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  743. /package/dist/chunks/{variant-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{variant-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{variant-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{variant-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{variant-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{variant-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{variant-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{variant-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{variant-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{variant-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{variant-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{variant-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{variant-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  756. /package/dist/chunks/{variant-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{variant-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  758. /package/dist/chunks/{variant-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{variant-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  760. /package/dist/chunks/{variant-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{variant-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{variant-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{variant-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{variant-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{variant-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{variant-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{variant-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{variant-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{variant-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{variant-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{variant-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{variant-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{variant-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{variant-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{variant-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{variant-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{variant-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{variant-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{variant-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{variant-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{variant-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{variant-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{variant-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{variant-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{variant-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{variant-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{variant-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{variant-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  789. /package/dist/chunks/{variant-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{variant-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{variant-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{variant-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{variant-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{variant-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./variant-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  Service83,
6
6
  node87
7
- } from "./variant-s9zy2sz3.js";
7
+ } from "./persistent-pty-hmp6wt3x.js";
8
8
  import {
9
9
  Service82,
10
10
  node86
11
- } from "./variant-0m0q8tbm.js";
11
+ } from "./persistent-pty-4e13r3ts.js";
12
12
  import {
13
- Service81,
14
- node85
15
- } from "./variant-5f90fjb2.js";
13
+ Service80,
14
+ node84
15
+ } from "./persistent-pty-ab8cnxkj.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
19
  Info34,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./variant-57ez7d0k.js";
23
+ } from "./persistent-pty-0ke265bw.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./variant-8p4f9s12.js";
27
+ } from "./persistent-pty-dj2t23y0.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./variant-cfpkc3c9.js";
30
+ } from "./persistent-pty-m0jqrx5p.js";
31
31
  import {
32
32
  __export
33
- } from "./variant-9rqn6x4v.js";
33
+ } from "./persistent-pty-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
@@ -40,10 +40,10 @@ __export(exports_project, {
40
40
  Info: () => Info33,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service80,
43
+ Service: () => Service79,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node84,
46
+ node: () => node83,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service80 extends Context.Service()("@opencode/Project") {
74
+ class Service79 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,9 +93,9 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service80, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service81;
98
+ const git = yield* Service80;
99
99
  const proc = yield* AppProcess.Service;
100
100
  const bus = yield* Service82;
101
101
  const db = (yield* Service83).db;
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event21.Updated, fromRow(row));
109
+ yield* bus.publish(Event20.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
168
168
  if (!row)
169
169
  return yield* new NotFoundError11({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event21.Updated, project);
171
+ yield* bus.publish(Event20.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
@@ -270,12 +270,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service80.of({ list, update, resolve });
273
+ return Service79.of({ list, update, resolve });
274
274
  }));
275
- var node84 = makeGlobalNode({
276
- service: Service80,
275
+ var node83 = makeGlobalNode({
276
+ service: Service79,
277
277
  layer,
278
- deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
278
+ deps: [node86, node87, FSUtil.node, node84, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
281
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./variant-cp58tbh7.js";
2
+ Service78,
3
+ node82
4
+ } from "./persistent-pty-n4j23rry.js";
5
5
  import {
6
6
  create3
7
- } from "./variant-rdw6cm16.js";
7
+ } from "./persistent-pty-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./variant-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service16,
17
- node: () => node18
16
+ Service: () => Service14,
17
+ node: () => node16
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service16 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service14 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service16, Effect.gen(function* () {
27
- const location = yield* Service79;
26
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
27
+ const location = yield* Service78;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service16.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service14.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node18 = makeLocationNode({
91
- service: Service16,
90
+ var node16 = makeLocationNode({
91
+ service: Service14,
92
92
  layer,
93
- deps: [node83, AppProcess.node]
93
+ deps: [node82, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service16, node18, exports_formatter2 };
96
+ export { Service14, node16, exports_formatter2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./variant-eh3zwz77.js";
3
+ } from "./persistent-pty-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./variant-e73j6tqm.js";
6
+ } from "./persistent-pty-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./variant-3wcehsnq.js";
9
+ } from "./persistent-pty-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./variant-dap0rakb.js";
12
+ } from "./persistent-pty-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./variant-4y7fprxs.js";
15
+ } from "./persistent-pty-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./variant-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node85
7
- } from "./variant-5f90fjb2.js";
6
+ node84
7
+ } from "./persistent-pty-ab8cnxkj.js";
8
8
  import {
9
9
  Slug2
10
- } from "./variant-gebd4c9n.js";
10
+ } from "./persistent-pty-gebd4c9n.js";
11
11
  import {
12
12
  Service83,
13
13
  node87
14
- } from "./variant-s9zy2sz3.js";
14
+ } from "./persistent-pty-hmp6wt3x.js";
15
15
  import {
16
16
  Service82,
17
17
  node86
18
- } from "./variant-0m0q8tbm.js";
18
+ } from "./persistent-pty-4e13r3ts.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./variant-8p4f9s12.js";
21
+ } from "./persistent-pty-dj2t23y0.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./variant-cfpkc3c9.js";
24
+ } from "./persistent-pty-m0jqrx5p.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./variant-437x3rrd.js";
28
+ } from "./persistent-pty-sz24j28z.js";
29
29
  import {
30
30
  Ref4
31
- } from "./variant-cp58tbh7.js";
31
+ } from "./persistent-pty-n4j23rry.js";
32
32
  import {
33
- Service78,
34
- node82
35
- } from "./variant-wffsa7mn.js";
33
+ Service62,
34
+ node66
35
+ } from "./persistent-pty-7fmgbjr3.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./variant-gv6a8nnw.js";
39
+ } from "./persistent-pty-gv6a8nnw.js";
40
40
  import {
41
41
  make12
42
- } from "./variant-rxwv643q.js";
42
+ } from "./persistent-pty-r72bb3g5.js";
43
43
  import {
44
- Service22
45
- } from "./variant-581mt43x.js";
44
+ Service16
45
+ } from "./persistent-pty-90y57r1y.js";
46
46
  import {
47
47
  __export
48
- } from "./variant-9rqn6x4v.js";
48
+ } from "./persistent-pty-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
53
53
  CreateInput: () => CreateInput3,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event6,
56
+ Event: () => Event4,
57
57
  Info: () => Info4,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service21,
63
+ Service: () => Service15,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node24
68
+ node: () => node18
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -94,17 +94,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event6 = Worktree.Event;
97
+ var Event4 = Worktree.Event;
98
98
 
99
- class Service21 extends Context.Service()("@opencode/Worktree") {
99
+ class Service15 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service21, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service83;
104
104
  const db = database.db;
105
105
  const bus = yield* Service82;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service78;
107
+ const locations = yield* Service62;
108
108
  const gitStrategy = yield* make12;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service22).get();
123
+ return Context.get(context, Service16).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event6.Updated, { projectID });
127
+ yield* bus.publish(Event4.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service21.of({
254
+ return Service15.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node24 = Node.makeGlobalNode({
265
- service: Service21,
264
+ var node18 = Node.makeGlobalNode({
265
+ service: Service15,
266
266
  layer,
267
- deps: [FSUtil.node, node85, node86, node87, AppProcess.node, node82]
267
+ deps: [FSUtil.node, node84, node86, node87, AppProcess.node, node66]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service21, node24, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service15, node18, exports_worktree2, OperationError2 };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./variant-922hggd3.js";
4
+ } from "./persistent-pty-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service81,
9
- node85
10
- } from "./variant-5f90fjb2.js";
8
+ Service80,
9
+ node84
10
+ } from "./persistent-pty-ab8cnxkj.js";
11
11
  import {
12
- Service79,
13
- node83
14
- } from "./variant-cp58tbh7.js";
12
+ Service78,
13
+ node82
14
+ } from "./persistent-pty-n4j23rry.js";
15
15
  import {
16
16
  create3
17
- } from "./variant-rdw6cm16.js";
17
+ } from "./persistent-pty-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./variant-9rqn6x4v.js";
20
+ } from "./persistent-pty-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service44,
25
+ Error: () => Error2,
26
+ ID: () => ID6,
27
+ Service: () => Service34,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node46,
30
- noopLayer: () => noopLayer3
29
+ node: () => node38,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID6 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service34 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
50
+ const git = yield* Service80;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service79;
52
+ const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID6.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service34.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node46 = makeLocationNode({
144
- service: Service44,
143
+ var node38 = makeLocationNode({
144
+ service: Service34,
145
145
  layer,
146
- deps: [FSUtil.node, node85, Global.node, node83]
146
+ deps: [FSUtil.node, node84, Global.node, node82]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service44, Service44.of({
148
+ var noopLayer2 = Layer.succeed(Service34, Service34.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service44, Service44.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error3, Service44, node46, noopLayer3, exports_snapshot2 };
166
+ export { ID6, Error2, Service34, node38, noopLayer2, exports_snapshot2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./variant-gftt206x.js";
3
+ } from "./persistent-pty-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./variant-n7d88tpn.js";
6
+ } from "./persistent-pty-jexxy024.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./variant-6dah7td7.js";
9
+ } from "./persistent-pty-ybhbtxjg.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./variant-t550f9t1.js";
13
+ } from "./persistent-pty-eaj1djv9.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./variant-a1bz86dw.js";
16
+ } from "./persistent-pty-5c4hm403.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./variant-bajakh74.js";
20
+ } from "./persistent-pty-gnx4ytbv.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./variant-88sz8qcd.js";
25
+ } from "./persistent-pty-06dxphr1.js";
26
26
  import {
27
27
  __export
28
- } from "./variant-9rqn6x4v.js";
28
+ } from "./persistent-pty-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load4,
38
+ load: () => load5,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./variant-gftt206x.js";
3
+ } from "./persistent-pty-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./variant-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update2
12
+ update: () => update3
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update2(adapter, event) {
24
+ function update3(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -401,4 +401,4 @@ function update2(adapter, event) {
401
401
  return project(event);
402
402
  }
403
403
 
404
- export { update2, exports_message_updater };
404
+ export { update3, exports_message_updater };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};