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

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/{persistent-pty-2gbsvbx5.js → pty-04tfxcdr.js} +12 -12
  8. package/dist/chunks/{persistent-pty-fvanntqq.js → pty-0gaj4617.js} +4 -4
  9. package/dist/chunks/{persistent-pty-eaj1djv9.js → pty-0gdmqesm.js} +8 -8
  10. package/dist/chunks/{persistent-pty-7fmgbjr3.js → pty-0kh0dn2a.js} +9 -9
  11. package/dist/chunks/{persistent-pty-z52a6mw5.js → pty-0m1yaj0w.js} +20 -20
  12. package/dist/chunks/{persistent-pty-hmp6wt3x.js → pty-0mp324rf.js} +3 -3
  13. package/dist/chunks/{persistent-pty-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{persistent-pty-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{persistent-pty-sz24j28z.js → pty-0qjksd3p.js} +23 -23
  16. package/dist/chunks/{persistent-pty-8y3s9r1h.js → pty-10ztk21w.js} +3 -3
  17. package/dist/chunks/{persistent-pty-jdvrzx2t.js → pty-125gwrbg.js} +17 -17
  18. package/dist/chunks/{persistent-pty-rhraev7y.js → pty-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{persistent-pty-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{persistent-pty-6yh2fsej.js → pty-1jvwysfd.js} +21 -21
  21. package/dist/chunks/{persistent-pty-grhxn6he.js → pty-1ms15p6n.js} +27 -27
  22. package/dist/chunks/{persistent-pty-82ahnwkf.js → pty-1nsrs91v.js} +23 -23
  23. package/dist/chunks/{persistent-pty-w18y63wv.js → pty-1xj4prap.js} +23 -23
  24. package/dist/chunks/{persistent-pty-21r38tys.js → pty-21r38tys.js} +1 -1
  25. package/dist/chunks/{persistent-pty-jcz9anth.js → pty-21yscatf.js} +47 -47
  26. package/dist/chunks/{persistent-pty-rya495mf.js → pty-23yqmb8f.js} +9 -9
  27. package/dist/chunks/{persistent-pty-jsx9wcxe.js → pty-24q3h2ph.js} +9 -9
  28. package/dist/chunks/{persistent-pty-z63w68vq.js → pty-29x78va6.js} +6 -6
  29. package/dist/chunks/{persistent-pty-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{persistent-pty-3w0fmcng.js → pty-2f0bjgcj.js} +5 -5
  31. package/dist/chunks/{persistent-pty-4pxrwfad.js → pty-2jn1a9mb.js} +24 -24
  32. package/dist/chunks/{persistent-pty-rr6jacvf.js → pty-2k0605zp.js} +43 -43
  33. package/dist/chunks/{persistent-pty-t71v2ka4.js → pty-2vgzs72b.js} +5 -5
  34. package/dist/chunks/{persistent-pty-fsy2n4n3.js → pty-2vtswabk.js} +9 -9
  35. package/dist/chunks/{persistent-pty-92xv3hjf.js → pty-2w9fymad.js} +17 -17
  36. package/dist/chunks/{persistent-pty-yr8p71ks.js → pty-2x41v6hj.js} +10 -10
  37. package/dist/chunks/{persistent-pty-t4nhm12y.js → pty-2xtspnhm.js} +7 -7
  38. package/dist/chunks/{persistent-pty-encztx8n.js → pty-2zqfv34k.js} +22 -22
  39. package/dist/chunks/{persistent-pty-dk2em0p3.js → pty-30jzjac2.js} +6 -6
  40. package/dist/chunks/{persistent-pty-k1gkpfdk.js → pty-37ea9c2d.js} +8 -8
  41. package/dist/chunks/{persistent-pty-vg6ckggx.js → pty-3dvt7t1w.js} +59 -59
  42. package/dist/chunks/{persistent-pty-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{persistent-pty-69cccy7z.js → pty-3fhvbsdb.js} +15 -15
  44. package/dist/chunks/{persistent-pty-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{persistent-pty-9c77jpjf.js → pty-3jd4ahw0.js} +1 -1
  46. package/dist/chunks/{persistent-pty-tegs1ycp.js → pty-3ppptnan.js} +6 -6
  47. package/dist/chunks/{persistent-pty-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{persistent-pty-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{persistent-pty-epqb7qpy.js → pty-3zgfwzda.js} +3 -3
  50. package/dist/chunks/{persistent-pty-deq2z4hf.js → pty-40rggeet.js} +5 -5
  51. package/dist/chunks/{persistent-pty-hv2snex1.js → pty-479h0rpz.js} +12 -12
  52. package/dist/chunks/{persistent-pty-ta417yjh.js → pty-487tjbbd.js} +24 -24
  53. package/dist/chunks/{persistent-pty-h6r3nrb9.js → pty-4dgbcxzg.js} +4 -4
  54. package/dist/chunks/{persistent-pty-7s8gb34t.js → pty-4ptcp2em.js} +26 -26
  55. package/dist/chunks/{persistent-pty-qr405v0d.js → pty-4ty2257w.js} +8 -8
  56. package/dist/chunks/{persistent-pty-qn4ba14w.js → pty-510m7gjw.js} +5 -5
  57. package/dist/chunks/{persistent-pty-yppwdz7t.js → pty-54c9gbn9.js} +9 -9
  58. package/dist/chunks/{persistent-pty-4acetgwp.js → pty-56c3q4gh.js} +2 -2
  59. package/dist/chunks/{persistent-pty-56gdpj1q.js → pty-56gdpj1q.js} +2 -2
  60. package/dist/chunks/{persistent-pty-p84dsdfh.js → pty-57e9z27j.js} +8 -8
  61. package/dist/chunks/{persistent-pty-9h0hyds4.js → pty-58mbwdrb.js} +17 -17
  62. package/dist/chunks/{persistent-pty-5daktx2q.js → pty-5daktx2q.js} +1 -1
  63. package/dist/chunks/{persistent-pty-4vdcjjmt.js → pty-5p5kf06w.js} +13 -13
  64. package/dist/chunks/{persistent-pty-x5x7kcgs.js → pty-5s45kcve.js} +16 -16
  65. package/dist/chunks/{persistent-pty-hnac9jpe.js → pty-5s7v9c7v.js} +18 -18
  66. package/dist/chunks/{persistent-pty-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{persistent-pty-jpxb4059.js → pty-5z94pt16.js} +11 -11
  68. package/dist/chunks/{persistent-pty-xjbekv6e.js → pty-61g3b1pw.js} +25 -25
  69. package/dist/chunks/{persistent-pty-669tq793.js → pty-669tq793.js} +1 -1
  70. package/dist/chunks/{persistent-pty-va45f1s8.js → pty-67s6xyqv.js} +30 -30
  71. package/dist/chunks/{persistent-pty-2402vzrj.js → pty-6h73sxmp.js} +5 -5
  72. package/dist/chunks/{persistent-pty-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{persistent-pty-aba8dj31.js → pty-6mwr1jqd.js} +15 -15
  74. package/dist/chunks/{persistent-pty-ytqvkck2.js → pty-6qw955q2.js} +5 -5
  75. package/dist/chunks/{persistent-pty-tnasdg6y.js → pty-729ex4wk.js} +32 -32
  76. package/dist/chunks/{persistent-pty-ze9ygk7z.js → pty-72s2ce21.js} +9 -9
  77. package/dist/chunks/{persistent-pty-71vt42kc.js → pty-772f7zcq.js} +3 -3
  78. package/dist/chunks/{persistent-pty-p52j3anj.js → pty-79wtkhdx.js} +37 -37
  79. package/dist/chunks/{persistent-pty-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{persistent-pty-ysfwx83j.js → pty-7cge7rm7.js} +8 -8
  81. package/dist/chunks/{persistent-pty-2k8khapm.js → pty-7dqw4kz8.js} +5 -5
  82. package/dist/chunks/{persistent-pty-jsqr29s7.js → pty-7sttfjma.js} +24 -24
  83. package/dist/chunks/{persistent-pty-hq654dja.js → pty-7t45mvbd.js} +23 -23
  84. package/dist/chunks/{persistent-pty-d0fsejzd.js → pty-7y216y5p.js} +34 -34
  85. package/dist/chunks/{persistent-pty-kfgf5fep.js → pty-7zgazq3n.js} +26 -26
  86. package/dist/chunks/{persistent-pty-vmnj2x1v.js → pty-81jw091s.js} +34 -34
  87. package/dist/chunks/{persistent-pty-0ke265bw.js → pty-81swgkk7.js} +5 -5
  88. package/dist/chunks/{persistent-pty-9ex8f1cq.js → pty-89bb6baa.js} +8 -8
  89. package/dist/chunks/{persistent-pty-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{persistent-pty-kkzayper.js → pty-8f1v9drm.js} +24 -24
  91. package/dist/chunks/{persistent-pty-0akym11d.js → pty-8gvkar91.js} +16 -16
  92. package/dist/chunks/{persistent-pty-dj2t23y0.js → pty-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{persistent-pty-mg83pbjr.js → pty-8qh6anns.js} +8 -8
  94. package/dist/chunks/{persistent-pty-61h0qsnp.js → pty-8tr0qdz4.js} +8 -8
  95. package/dist/chunks/{persistent-pty-3ewed21c.js → pty-8tsdq50x.js} +4 -4
  96. package/dist/chunks/{persistent-pty-2rnnjxth.js → pty-8yf0cvxd.js} +7 -7
  97. package/dist/chunks/{persistent-pty-qryrftmh.js → pty-92s5ksem.js} +48 -48
  98. package/dist/chunks/{persistent-pty-p0h2c1j9.js → pty-94ycm6fd.js} +10 -10
  99. package/dist/chunks/{persistent-pty-68tggvtb.js → pty-9j4rwzvb.js} +11 -11
  100. package/dist/chunks/{persistent-pty-r4wc6fxm.js → pty-9q2chv03.js} +5 -5
  101. package/dist/chunks/{persistent-pty-qt5mdn6g.js → pty-9vj1cv01.js} +12 -12
  102. package/dist/chunks/{persistent-pty-tbgyadps.js → pty-9y446jqg.js} +11 -11
  103. package/dist/chunks/{persistent-pty-5c4hm403.js → pty-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{persistent-pty-kftvnv3j.js → pty-a48s4pqa.js} +24 -24
  105. package/dist/chunks/{persistent-pty-75q2ps1k.js → pty-aads351p.js} +1 -1
  106. package/dist/chunks/{persistent-pty-aaet6srn.js → pty-aaet6srn.js} +2 -2
  107. package/dist/chunks/{persistent-pty-5dbxvay1.js → pty-abb4bxme.js} +27 -27
  108. package/dist/chunks/{persistent-pty-6n88yxkj.js → pty-acp7khxw.js} +11 -11
  109. package/dist/chunks/{persistent-pty-4z7tbtat.js → pty-ajv9ph60.js} +6 -6
  110. package/dist/chunks/{persistent-pty-yt0fqk68.js → pty-avm8jn6n.js} +5 -5
  111. package/dist/chunks/{persistent-pty-twca9fjq.js → pty-b23z4qnb.js} +7 -7
  112. package/dist/chunks/{persistent-pty-b27vhd2z.js → pty-b27vhd2z.js} +1 -1
  113. package/dist/chunks/{persistent-pty-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{persistent-pty-jexxy024.js → pty-ba07h9gm.js} +3 -3
  115. package/dist/chunks/{persistent-pty-btpphd88.js → pty-bc62gbf5.js} +26 -26
  116. package/dist/chunks/{persistent-pty-06dxphr1.js → pty-bccb6npm.js} +4 -4
  117. package/dist/chunks/{persistent-pty-vncycja5.js → pty-bf0ztrs3.js} +4 -4
  118. package/dist/chunks/{persistent-pty-ybhbtxjg.js → pty-bg2bzas4.js} +9 -9
  119. package/dist/chunks/{persistent-pty-n36xcpgr.js → pty-bm550x0b.js} +8 -8
  120. package/dist/chunks/{persistent-pty-5rfwsh5d.js → pty-br51nt48.js} +3 -3
  121. package/dist/chunks/{persistent-pty-jzphxtev.js → pty-c7byg8pj.js} +10 -10
  122. package/dist/chunks/{persistent-pty-1g2zd6q9.js → pty-c84hahnz.js} +3 -3
  123. package/dist/chunks/{persistent-pty-m0jqrx5p.js → pty-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{persistent-pty-a3r4dcrj.js → pty-cmkj70ft.js} +2 -2
  125. package/dist/chunks/{persistent-pty-nyacxbzj.js → pty-crc6eftr.js} +46 -46
  126. package/dist/chunks/{persistent-pty-n2eg1d0h.js → pty-crwbn2y9.js} +24 -24
  127. package/dist/chunks/{persistent-pty-4kg54np8.js → pty-d170h7tj.js} +19 -19
  128. package/dist/chunks/{persistent-pty-8hz3g5y0.js → pty-d21c9hyv.js} +19 -19
  129. package/dist/chunks/{persistent-pty-jtwa0aj6.js → pty-d4f5zm7n.js} +13 -13
  130. package/dist/chunks/{persistent-pty-xjebcb6c.js → pty-d5z7kk5f.js} +9 -9
  131. package/dist/chunks/{persistent-pty-de5mzfxd.js → pty-dep4keqg.js} +26 -26
  132. package/dist/chunks/{persistent-pty-26v7198b.js → pty-dgsc5ysd.js} +30 -30
  133. package/dist/chunks/{persistent-pty-s4mb84p1.js → pty-dmrxm1ex.js} +57 -57
  134. package/dist/chunks/{persistent-pty-ytpw4txd.js → pty-dqsgs04j.js} +11 -11
  135. package/dist/chunks/{persistent-pty-zq3sp2de.js → pty-e15f0xpb.js} +28 -28
  136. package/dist/chunks/{persistent-pty-e84rd1xk.js → pty-e1rbgcj4.js} +23 -23
  137. package/dist/chunks/{persistent-pty-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
  138. package/dist/chunks/{persistent-pty-4yy5d4qw.js → pty-e3rw4ffc.js} +1 -1
  139. package/dist/chunks/{persistent-pty-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{persistent-pty-nm55ymfc.js → pty-emwwjpt7.js} +19 -19
  141. package/dist/chunks/{persistent-pty-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
  142. package/dist/chunks/{persistent-pty-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{persistent-pty-k6w2t1ya.js → pty-f2btm3ds.js} +4 -4
  144. package/dist/chunks/{persistent-pty-hdnk95c8.js → pty-f828m53h.js} +2 -2
  145. package/dist/chunks/{persistent-pty-a7qcy6v8.js → pty-ffgm1r5f.js} +13 -13
  146. package/dist/chunks/{persistent-pty-9tx45s8b.js → pty-fkjaqdxa.js} +44 -44
  147. package/dist/chunks/{persistent-pty-63mpdmm6.js → pty-fnf91rh6.js} +30 -30
  148. package/dist/chunks/{persistent-pty-s9ax1raf.js → pty-ftbyp22j.js} +31 -31
  149. package/dist/chunks/{persistent-pty-6zthmp17.js → pty-ftffx8fq.js} +26 -26
  150. package/dist/chunks/{persistent-pty-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{persistent-pty-jfcm29bp.js → pty-fxv6f51q.js} +4 -4
  152. package/dist/chunks/{persistent-pty-j9vp638d.js → pty-fyynqrjc.js} +43 -43
  153. package/dist/chunks/{persistent-pty-mfs5sj5t.js → pty-fzdsdhyy.js} +9 -9
  154. package/dist/chunks/{persistent-pty-6p5ms1em.js → pty-g49r3ea3.js} +16 -16
  155. package/dist/chunks/{persistent-pty-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{persistent-pty-78b8afjy.js → pty-gjyhvyzk.js} +11 -11
  157. package/dist/chunks/{persistent-pty-gxr7q3nf.js → pty-gmt621qa.js} +22 -22
  158. package/dist/chunks/{persistent-pty-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{persistent-pty-bmcyf7gj.js → pty-h5prsy26.js} +20 -20
  160. package/dist/chunks/{persistent-pty-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{persistent-pty-j58c5xyq.js → pty-h71w788e.js} +9 -9
  162. package/dist/chunks/{persistent-pty-n4j23rry.js → pty-hgyhsn9t.js} +16 -16
  163. package/dist/chunks/{persistent-pty-x38sqvf4.js → pty-hkw89x8s.js} +6 -6
  164. package/dist/chunks/{persistent-pty-0rqdjtcb.js → pty-hm0swns8.js} +4 -4
  165. package/dist/chunks/{persistent-pty-afdssyjb.js → pty-hn57h045.js} +4 -4
  166. package/dist/chunks/{persistent-pty-tvc0b3mj.js → pty-hnrh7jv9.js} +11 -11
  167. package/dist/chunks/{persistent-pty-6tr59r50.js → pty-httfvynw.js} +15 -15
  168. package/dist/chunks/{persistent-pty-r2w5wzr7.js → pty-hvrxfwdm.js} +10 -10
  169. package/dist/chunks/{persistent-pty-patgj9rf.js → pty-j1mj860n.js} +9 -9
  170. package/dist/chunks/{persistent-pty-j56e64zr.js → pty-j56e64zr.js} +1 -1
  171. package/dist/chunks/{persistent-pty-q8pxfdwq.js → pty-jsm1w6zq.js} +4 -4
  172. package/dist/chunks/{persistent-pty-sxn79y37.js → pty-jz9w4cgt.js} +9 -9
  173. package/dist/chunks/{persistent-pty-1w7qre35.js → pty-karrgenz.js} +33 -33
  174. package/dist/chunks/{persistent-pty-tfxzrdmk.js → pty-ke2bgdcy.js} +10 -10
  175. package/dist/chunks/{persistent-pty-k2h4r4s0.js → pty-kk00bynn.js} +21 -21
  176. package/dist/chunks/{persistent-pty-6vrsc7tt.js → pty-ks3r113m.js} +18 -18
  177. package/dist/chunks/{persistent-pty-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{persistent-pty-nqyhrfcc.js → pty-m9g140gf.js} +4 -4
  179. package/dist/chunks/{persistent-pty-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{persistent-pty-r5zvm12r.js → pty-mm0y4phk.js} +2 -2
  181. package/dist/chunks/{persistent-pty-wk2ay995.js → pty-mp49sbvf.js} +27 -27
  182. package/dist/chunks/{persistent-pty-5rt7pep6.js → pty-mqbat9jp.js} +3 -3
  183. package/dist/chunks/{persistent-pty-t808dn5w.js → pty-mzbph88c.js} +35 -35
  184. package/dist/chunks/{persistent-pty-57sn279e.js → pty-n0m5xdp9.js} +10 -10
  185. package/dist/chunks/{persistent-pty-r2a07nrz.js → pty-n44333yt.js} +13 -13
  186. package/dist/chunks/{persistent-pty-hds23wzw.js → pty-ndkp1pbx.js} +18 -18
  187. package/dist/chunks/{persistent-pty-m2d0j7c0.js → pty-nq7qbqzc.js} +9 -9
  188. package/dist/chunks/{persistent-pty-ffw5jcp2.js → pty-nsvd1f8s.js} +18 -18
  189. package/dist/chunks/{persistent-pty-s4b84khr.js → pty-ny05sq48.js} +9 -9
  190. package/dist/chunks/{persistent-pty-k3c624dm.js → pty-nzks3jc8.js} +3 -3
  191. package/dist/chunks/{persistent-pty-tbz0fdvh.js → pty-p28j5sbe.js} +5 -5
  192. package/dist/chunks/{persistent-pty-wayd1cz3.js → pty-p6d074gg.js} +11 -11
  193. package/dist/chunks/{persistent-pty-xcrk435t.js → pty-pa29zzk8.js} +20 -20
  194. package/dist/chunks/{persistent-pty-p4a5cx5p.js → pty-pgadv6bt.js} +15 -15
  195. package/dist/chunks/{persistent-pty-2y34zzjz.js → pty-pjedbq3k.js} +4 -4
  196. package/dist/chunks/{persistent-pty-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{persistent-pty-qsx6xwjc.js → pty-pkatsdp4.js} +18 -18
  198. package/dist/chunks/{persistent-pty-pknna89w.js → pty-pknna89w.js} +1 -1
  199. package/dist/chunks/{persistent-pty-brg56pc6.js → pty-pnchrenk.js} +30 -30
  200. package/dist/chunks/{persistent-pty-xaftkv44.js → pty-ppt37g3q.js} +54 -54
  201. package/dist/chunks/{persistent-pty-qc5y93g2.js → pty-ps1arbjd.js} +28 -28
  202. package/dist/chunks/{persistent-pty-fwft7q1r.js → pty-ps4an3s3.js} +3 -3
  203. package/dist/chunks/{persistent-pty-mbgq0mmx.js → pty-q29thqgw.js} +6 -6
  204. package/dist/chunks/{persistent-pty-r72bb3g5.js → pty-q8n9d2sh.js} +8 -8
  205. package/dist/chunks/{persistent-pty-2wzrjk5c.js → pty-q9p4606t.js} +24 -24
  206. package/dist/chunks/{persistent-pty-d4he2qe1.js → pty-qmqgtz8f.js} +9 -9
  207. package/dist/chunks/{persistent-pty-xfkkasph.js → pty-qqeeq2t9.js} +7 -7
  208. package/dist/chunks/{persistent-pty-qsdy395h.js → pty-qsdy395h.js} +1 -1
  209. package/dist/chunks/{persistent-pty-3gs18der.js → pty-qv3cmgwj.js} +22 -22
  210. package/dist/chunks/{persistent-pty-wcycnpg6.js → pty-qygprnkz.js} +11 -11
  211. package/dist/chunks/{persistent-pty-cwtvnkts.js → pty-r1dq1bn8.js} +8 -8
  212. package/dist/chunks/{persistent-pty-s8cev9wy.js → pty-r56jycby.js} +6 -6
  213. package/dist/chunks/{persistent-pty-mvfsc1pv.js → pty-r5x6zcsm.js} +3 -3
  214. package/dist/chunks/{persistent-pty-w65z2jz3.js → pty-r8f2g607.js} +8 -8
  215. package/dist/chunks/{persistent-pty-13f6jh0f.js → pty-r98b7zm4.js} +30 -30
  216. package/dist/chunks/{persistent-pty-tvtydw96.js → pty-rc72nxnw.js} +41 -41
  217. package/dist/chunks/{persistent-pty-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{persistent-pty-5531r29v.js → pty-rrtzm0z5.js} +25 -25
  219. package/dist/chunks/{persistent-pty-q3j5ebgq.js → pty-rscnw2jy.js} +17 -17
  220. package/dist/chunks/{persistent-pty-1ev3hptz.js → pty-rwmws8eb.js} +13 -13
  221. package/dist/chunks/{persistent-pty-bz85s9hh.js → pty-ryt7pzqc.js} +1 -1
  222. package/dist/chunks/{persistent-pty-p3x7gx7a.js → pty-rz6pad5v.js} +25 -25
  223. package/dist/chunks/{persistent-pty-qdwxcfza.js → pty-s1vgemc7.js} +9 -9
  224. package/dist/chunks/{persistent-pty-yrznvahk.js → pty-s4enseaf.js} +2 -2
  225. package/dist/chunks/{persistent-pty-xcjhgh37.js → pty-s6ymxyzv.js} +6 -6
  226. package/dist/chunks/{persistent-pty-65w3833t.js → pty-s7q0bjyb.js} +13 -13
  227. package/dist/chunks/{persistent-pty-s83kg3p0.js → pty-sc7m4xfj.js} +17 -17
  228. package/dist/chunks/{persistent-pty-41ssmn02.js → pty-sd0vhpay.js} +91 -91
  229. package/dist/chunks/{persistent-pty-bsgfsq91.js → pty-sf1tgbav.js} +12 -12
  230. package/dist/chunks/{persistent-pty-cv5frkqy.js → pty-sz5c3476.js} +1 -1
  231. package/dist/chunks/{persistent-pty-h4eh15d6.js → pty-t2qsjm8j.js} +20 -20
  232. package/dist/chunks/{persistent-pty-zsphfh87.js → pty-t3gyxbgb.js} +16 -16
  233. package/dist/chunks/{persistent-pty-431eg44t.js → pty-ta94ydyf.js} +10 -10
  234. package/dist/chunks/{persistent-pty-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{persistent-pty-v4px02z6.js → pty-tbe9f1mn.js} +20 -20
  236. package/dist/chunks/{persistent-pty-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{persistent-pty-tdstcens.js → pty-tdstcens.js} +1 -1
  238. package/dist/chunks/{persistent-pty-sqdxss6w.js → pty-tmdgs4qc.js} +11 -11
  239. package/dist/chunks/{persistent-pty-br0tr5aq.js → pty-tpw6cwsb.js} +8 -8
  240. package/dist/chunks/{persistent-pty-tvtrv512.js → pty-tvtrv512.js} +1 -1
  241. package/dist/chunks/{persistent-pty-fr9ym6sp.js → pty-tyxp03c1.js} +33 -33
  242. package/dist/chunks/pty-v1faaxn9.js +18 -0
  243. package/dist/chunks/{persistent-pty-w6qqzf7t.js → pty-v5g0yskm.js} +2 -2
  244. package/dist/chunks/{persistent-pty-mnaz46m9.js → pty-v9a7a4zt.js} +83 -83
  245. package/dist/chunks/{persistent-pty-b7r080c3.js → pty-vcbz1vdx.js} +15 -15
  246. package/dist/chunks/{persistent-pty-veqvce7d.js → pty-veqvce7d.js} +1 -1
  247. package/dist/chunks/{persistent-pty-gnx4ytbv.js → pty-vkxpz7g2.js} +4 -4
  248. package/dist/chunks/{persistent-pty-gb9jw3zf.js → pty-vnr19yaz.js} +6 -6
  249. package/dist/chunks/{persistent-pty-rvt9ga0f.js → pty-vv67fzzf.js} +16 -16
  250. package/dist/chunks/{persistent-pty-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{persistent-pty-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{persistent-pty-2ym62d1y.js → pty-w4mwq8bs.js} +1 -1
  253. package/dist/chunks/{persistent-pty-0zkrmmra.js → pty-w60ddt80.js} +15 -15
  254. package/dist/chunks/{persistent-pty-74fmk9vn.js → pty-w9fkbwq5.js} +10 -10
  255. package/dist/chunks/{persistent-pty-wd87259q.js → pty-wd87259q.js} +1 -1
  256. package/dist/chunks/{persistent-pty-qw85ht6d.js → pty-wgh0awmw.js} +32 -32
  257. package/dist/chunks/pty-wh560a5b.js +252 -0
  258. package/dist/chunks/{persistent-pty-ace40s22.js → pty-whhr0qbd.js} +7 -7
  259. package/dist/chunks/{persistent-pty-cdq49ytp.js → pty-wjv0bjkz.js} +27 -27
  260. package/dist/chunks/{persistent-pty-90y57r1y.js → pty-wmt2jdxs.js} +21 -21
  261. package/dist/chunks/{persistent-pty-wngp58at.js → pty-wx3n4hzp.js} +22 -22
  262. package/dist/chunks/{persistent-pty-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{persistent-pty-e8qyrgb1.js → pty-x2d9qy7d.js} +5 -5
  264. package/dist/chunks/{persistent-pty-vcdb3gbk.js → pty-x2xsxqnt.js} +1 -1
  265. package/dist/chunks/{persistent-pty-2hsgj57k.js → pty-x7tehcsj.js} +22 -22
  266. package/dist/chunks/{persistent-pty-r449bwkw.js → pty-x8ssrn04.js} +11 -11
  267. package/dist/chunks/{persistent-pty-mmmrdbr8.js → pty-xk4hfm6m.js} +11 -11
  268. package/dist/chunks/{persistent-pty-5h8807ma.js → pty-xnbn90dq.js} +17 -17
  269. package/dist/chunks/pty-xrsqh21y.js +4 -0
  270. package/dist/chunks/{persistent-pty-bph3v013.js → pty-xxs85xy1.js} +12 -12
  271. package/dist/chunks/{persistent-pty-td55jj2j.js → pty-xxz86ynf.js} +22 -22
  272. package/dist/chunks/{persistent-pty-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{persistent-pty-4113bgx8.js → pty-y2eym35f.js} +8 -8
  274. package/dist/chunks/{persistent-pty-ab8cnxkj.js → pty-y5df08dr.js} +12 -12
  275. package/dist/chunks/{persistent-pty-h6jr292a.js → pty-y67gsgy6.js} +4 -4
  276. package/dist/chunks/{persistent-pty-dpkg50ah.js → pty-y71avatq.js} +4 -4
  277. package/dist/chunks/{persistent-pty-yqz4sd6t.js → pty-y8s8jbmk.js} +8 -8
  278. package/dist/chunks/{persistent-pty-3fs6smyb.js → pty-ydsbnknk.js} +11 -11
  279. package/dist/chunks/{persistent-pty-p513dnzd.js → pty-yensex2p.js} +145 -145
  280. package/dist/chunks/pty-ymeqjvqr.js +492 -0
  281. package/dist/chunks/{persistent-pty-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{persistent-pty-1p0trksj.js → pty-ywb2092b.js} +8 -8
  283. package/dist/chunks/{persistent-pty-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{persistent-pty-4e13r3ts.js → pty-z8k7ba4y.js} +4 -4
  285. package/dist/chunks/{persistent-pty-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{persistent-pty-edwvx061.js → pty-znfg10s7.js} +4 -4
  287. package/dist/chunks/{persistent-pty-44ke2mar.js → pty-zqx8wcya.js} +4 -4
  288. package/dist/chunks/{persistent-pty-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{persistent-pty-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{persistent-pty-6p7zr8ep.js → pty-zxv0wf82.js} +6 -6
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +80 -80
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +139 -139
  315. package/dist/config/plugin/snapshot.js +120 -120
  316. package/dist/config/plugin/source.js +119 -119
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +81 -81
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +82 -82
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +81 -81
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +86 -86
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +97 -97
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +81 -81
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +114 -114
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +87 -87
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +101 -101
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +91 -91
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +138 -138
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +345 -345
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +228 -228
  559. package/dist/project/schema.js +4 -4
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +85 -85
  562. package/dist/provider.js +94 -94
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +133 -133
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +220 -220
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +89 -89
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +116 -116
  594. package/dist/session/model-transport.js +7 -7
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +228 -228
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +111 -111
  607. package/dist/session/runner/step.js +123 -123
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +149 -149
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +216 -216
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +215 -215
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +109 -109
  632. package/dist/snapshot.js +88 -88
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +121 -121
  640. package/dist/tool/plugin/grep.js +121 -121
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +102 -102
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +110 -110
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +109 -109
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +1 -1
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +3 -3
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +3 -3
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +83 -83
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +95 -95
  695. package/package.json +8 -8
  696. package/dist/chunks/persistent-pty-0mesazry.js +0 -4
  697. package/dist/chunks/persistent-pty-5kmakpsy.js +0 -492
  698. package/dist/chunks/persistent-pty-dxj72tfx.js +0 -18
  699. package/dist/chunks/persistent-pty-gfx0waae.js +0 -252
  700. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-24dcb14g.js → pty-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-2710q6r3.js → pty-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-359p4xyc.js → pty-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-3asan66x.js → pty-3asan66x.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-53557ph1.js → pty-53557ph1.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-550bvhaj.js → pty-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-6prwharc.js → pty-6prwharc.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-7m9af43g.js → pty-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-822emrt2.js → pty-822emrt2.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-8n3pysct.js → pty-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-922hggd3.js → pty-922hggd3.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-af5trqkr.js → pty-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-afrmfg78.js → pty-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-d9fn303g.js → pty-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-dajrwvna.js → pty-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-dap0rakb.js → pty-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-df08tz66.js → pty-df08tz66.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-dy18nga0.js → pty-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-ec1grn59.js → pty-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-faypxj3z.js → pty-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-fd410y7t.js → pty-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-g86h250q.js → pty-g86h250q.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-gftt206x.js → pty-gftt206x.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-hk9envan.js → pty-hk9envan.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-mp448xyj.js → pty-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-njntx4h6.js → pty-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-q74kybfr.js → pty-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-twg0f83k.js → pty-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-w803qqfp.js → pty-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-wtztk69x.js → pty-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-x61499pn.js → pty-x61499pn.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-y44na4kk.js → pty-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-y8f7s663.js → pty-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-ym463w8f.js → pty-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./persistent-pty-4e13r3ts.js";
4
+ } from "./pty-z8k7ba4y.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./persistent-pty-tazgh4e4.js";
9
+ } from "./pty-tazgh4e4.js";
10
10
  import {
11
- Service78,
12
- node82
13
- } from "./persistent-pty-n4j23rry.js";
11
+ Service76,
12
+ node80
13
+ } from "./pty-hgyhsn9t.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./persistent-pty-rdw6cm16.js";
17
+ } from "./pty-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./persistent-pty-9rqn6x4v.js";
20
+ } from "./pty-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info8,
29
+ Info: () => Info5,
30
30
  Mode: () => Mode2,
31
- Service: () => Service41,
31
+ Service: () => Service32,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node45
33
+ node: () => node35
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service41 extends Context.Service()("@opencode/Vcs") {
48
+ class Service32 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service41, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service76;
53
53
  const bus = yield* Service82;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service41.of({
121
+ return Service32.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node45 = makeLocationNode({
168
- service: Service41,
167
+ var node35 = makeLocationNode({
168
+ service: Service32,
169
169
  layer,
170
- deps: [FSUtil.node, node82, node86]
170
+ deps: [FSUtil.node, node80, node86]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info8, Mode2, DiffError2, Service41, node45, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service32, node35, exports_vcs };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./persistent-pty-rdw6cm16.js";
3
+ } from "./pty-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./persistent-pty-qaymkmh1.js";
6
+ } from "./pty-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
14
  Options: () => Options6,
15
- Service: () => Service52,
15
+ Service: () => Service62,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured8,
18
+ configured: () => configured7,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node57,
24
+ node: () => node65,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve3
27
27
  });
@@ -47,7 +47,7 @@ var Options6 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service52 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service62 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service52, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service52, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service52.of({
202
+ return Service62.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured8(options) {
210
- return makeLocationNode({ service: Service52, layer: layer(options), deps: [Global.node] });
209
+ function configured7(options) {
210
+ return makeLocationNode({ service: Service62, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node57 = configured8();
212
+ var node65 = configured7();
213
213
 
214
- export { Options6, Service52, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured8, node57, exports_select };
214
+ export { Options6, Service62, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node65, exports_select };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service54
3
- } from "./persistent-pty-rr6jacvf.js";
2
+ Service68
3
+ } from "./pty-2k0605zp.js";
4
4
  import {
5
- Service32
6
- } from "./persistent-pty-qryrftmh.js";
5
+ Service25
6
+ } from "./pty-92s5ksem.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp = {};
13
13
  __export(exports_mcp, {
14
14
  ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin28,
15
+ Plugin: () => Plugin29,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin28 = define({
20
+ var Plugin29 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service54;
28
- const mcp = yield* Service32;
27
+ const config = yield* Service68;
28
+ const mcp = yield* Service25;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin28, register2, exports_mcp };
49
+ export { Plugin29, register2, exports_mcp };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service83
3
- } from "./persistent-pty-hmp6wt3x.js";
3
+ } from "./pty-0mp324rf.js";
4
4
  import {
5
5
  Service82
6
- } from "./persistent-pty-4e13r3ts.js";
6
+ } from "./pty-z8k7ba4y.js";
7
7
  import {
8
- Service60
9
- } from "./persistent-pty-tegs1ycp.js";
8
+ Service40
9
+ } from "./pty-3ppptnan.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./persistent-pty-922hggd3.js";
12
+ } from "./pty-922hggd3.js";
13
13
  import {
14
- ID6,
15
- Service34
16
- } from "./persistent-pty-ta417yjh.js";
14
+ ID4,
15
+ Service31
16
+ } from "./pty-487tjbbd.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./persistent-pty-ec1grn59.js";
19
+ } from "./pty-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./persistent-pty-gftt206x.js";
22
+ } from "./pty-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./persistent-pty-ybhbtxjg.js";
25
+ } from "./pty-bg2bzas4.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./persistent-pty-5c4hm403.js";
28
+ } from "./pty-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./persistent-pty-9rqn6x4v.js";
31
+ } from "./pty-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service60;
45
+ const instances = yield* Service40;
46
46
  const database = yield* Service83;
47
47
  const bus = yield* Service82;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service34;
50
- const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service31;
50
+ const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service60;
77
+ const instances = yield* Service40;
78
78
  const bus = yield* Service82;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service34;
80
+ const snapshot = yield* Service31;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID6.make(message.snapshot.start));
114
+ files.set(file, ID4.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service54
4
- } from "./persistent-pty-rr6jacvf.js";
3
+ Service68
4
+ } from "./pty-2k0605zp.js";
5
5
  import {
6
- Service49
7
- } from "./persistent-pty-2gbsvbx5.js";
6
+ Service55
7
+ } from "./pty-04tfxcdr.js";
8
8
  import {
9
9
  observe2
10
- } from "./persistent-pty-qsdy395h.js";
10
+ } from "./pty-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin27
19
+ Plugin: () => Plugin21
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin27 = define({
23
+ var Plugin21 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service54;
27
- const output = yield* Service49;
26
+ const config = yield* Service68;
27
+ const output = yield* Service55;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin27 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin27, exports_tool_output };
41
+ export { Plugin21, exports_tool_output };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service12,
9
+ Service: () => Service7,
10
10
  bound: () => bound2,
11
- node: () => node14
11
+ node: () => node9
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service12 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service7 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node14 = makeLocationNode({
19
- service: Service12,
18
+ var node9 = makeLocationNode({
19
+ service: Service7,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
29
+ return Layer.succeed(Service7, Service7.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service12, node14, bound2, exports_instance2 };
32
+ export { Service7, node9, bound2, exports_instance2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./persistent-pty-4e13r3ts.js";
4
+ } from "./pty-z8k7ba4y.js";
5
5
  import {
6
- node60
7
- } from "./persistent-pty-n2eg1d0h.js";
6
+ node73
7
+ } from "./pty-crwbn2y9.js";
8
8
  import {
9
9
  Service4,
10
10
  node6
11
- } from "./persistent-pty-6tr59r50.js";
11
+ } from "./pty-httfvynw.js";
12
12
  import {
13
- Service31
14
- } from "./persistent-pty-dxj72tfx.js";
13
+ Service24
14
+ } from "./pty-v1faaxn9.js";
15
15
  import {
16
- node17,
17
- ID3
18
- } from "./persistent-pty-xcrk435t.js";
16
+ node19,
17
+ ID2
18
+ } from "./pty-pa29zzk8.js";
19
19
  import {
20
- Service12,
21
- node14
22
- } from "./persistent-pty-br0tr5aq.js";
20
+ Service7,
21
+ node9
22
+ } from "./pty-tpw6cwsb.js";
23
23
  import {
24
24
  requirements2,
25
25
  list2
26
- } from "./persistent-pty-5kmakpsy.js";
26
+ } from "./pty-ymeqjvqr.js";
27
27
  import {
28
- make9,
28
+ make4,
29
29
  LoadError2
30
- } from "./persistent-pty-ysfwx83j.js";
30
+ } from "./pty-7cge7rm7.js";
31
31
  import {
32
32
  Updated2,
33
- Service11,
34
- node13
35
- } from "./persistent-pty-r2w5wzr7.js";
33
+ Service5,
34
+ node7
35
+ } from "./pty-hvrxfwdm.js";
36
36
  import {
37
- Service10,
38
- node12
39
- } from "./persistent-pty-j58c5xyq.js";
37
+ Service6,
38
+ node8
39
+ } from "./pty-h71w788e.js";
40
40
  import {
41
41
  __export
42
- } from "./persistent-pty-9rqn6x4v.js";
42
+ } from "./pty-9rqn6x4v.js";
43
43
 
44
44
  // src/plugin/supervisor.ts
45
45
  var exports_supervisor = {};
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
115
115
  failures: [
116
116
  ...failures.values(),
117
117
  ...ordered.filter(duplicate).map((plugin) => ({
118
- id: ID3.make(plugin.id),
118
+ id: ID2.make(plugin.id),
119
119
  source: plugin.source ?? { type: "builtin" },
120
120
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
121
121
  features: { server: true, ...plugin.features }
@@ -125,13 +125,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  };
126
126
  });
127
127
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
128
- const registry = yield* Service31;
129
- const sdk = yield* Service11;
130
- const instance = yield* Service12;
128
+ const registry = yield* Service24;
129
+ const sdk = yield* Service5;
130
+ const instance = yield* Service7;
131
131
  const sources = yield* Service4;
132
- const modules = yield* make9();
132
+ const modules = yield* make4();
133
133
  const bus = yield* Service82;
134
- const updates = yield* Service10;
134
+ const updates = yield* Service6;
135
135
  const internal = yield* list2();
136
136
  let release = yield* registry.hold();
137
137
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
206
206
  })), Effect.forkScoped({ startImmediately: true }));
207
207
  }));
208
208
  var nodeDeps = [
209
- node17,
210
- node13,
211
- node14,
209
+ node19,
210
+ node7,
211
+ node9,
212
212
  node6,
213
- node12,
213
+ node8,
214
214
  node86,
215
215
  Npm.node,
216
- node60,
216
+ node73,
217
217
  requirements2
218
218
  ];
219
219
  function pluginSource(target) {
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./pty-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service24,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service24 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service24.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service24, awaitActivation2, exports_service };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./persistent-pty-emrn6kk6.js";
4
+ } from "./pty-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./persistent-pty-twca9fjq.js";
7
+ } from "./pty-b23z4qnb.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";