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

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/{pty-bccb6npm.js → persistent-pty-06dxphr1.js} +4 -4
  8. package/dist/chunks/{pty-8gvkar91.js → persistent-pty-0akym11d.js} +16 -16
  9. package/dist/chunks/{pty-81swgkk7.js → persistent-pty-0ke265bw.js} +5 -5
  10. package/dist/chunks/persistent-pty-0mesazry.js +4 -0
  11. package/dist/chunks/{pty-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{pty-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{pty-hm0swns8.js → persistent-pty-0rqdjtcb.js} +4 -4
  14. package/dist/chunks/{pty-w60ddt80.js → persistent-pty-0zkrmmra.js} +15 -15
  15. package/dist/chunks/{pty-r98b7zm4.js → persistent-pty-13f6jh0f.js} +30 -30
  16. package/dist/chunks/{pty-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{pty-c84hahnz.js → persistent-pty-1g2zd6q9.js} +3 -3
  18. package/dist/chunks/{pty-ywb2092b.js → persistent-pty-1p0trksj.js} +8 -8
  19. package/dist/chunks/{pty-karrgenz.js → persistent-pty-1w7qre35.js} +33 -33
  20. package/dist/chunks/{pty-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  21. package/dist/chunks/{pty-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
  22. package/dist/chunks/{pty-dgsc5ysd.js → persistent-pty-26v7198b.js} +30 -30
  23. package/dist/chunks/{pty-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{pty-04tfxcdr.js → persistent-pty-2gbsvbx5.js} +12 -12
  25. package/dist/chunks/{pty-x7tehcsj.js → persistent-pty-2hsgj57k.js} +22 -22
  26. package/dist/chunks/{pty-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
  27. package/dist/chunks/{pty-8yf0cvxd.js → persistent-pty-2rnnjxth.js} +7 -7
  28. package/dist/chunks/{pty-q9p4606t.js → persistent-pty-2wzrjk5c.js} +24 -24
  29. package/dist/chunks/{pty-pjedbq3k.js → persistent-pty-2y34zzjz.js} +4 -4
  30. package/dist/chunks/{pty-w4mwq8bs.js → persistent-pty-2ym62d1y.js} +1 -1
  31. package/dist/chunks/{pty-8tsdq50x.js → persistent-pty-3ewed21c.js} +4 -4
  32. package/dist/chunks/{pty-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{pty-ydsbnknk.js → persistent-pty-3fs6smyb.js} +11 -11
  34. package/dist/chunks/{pty-qv3cmgwj.js → persistent-pty-3gs18der.js} +22 -22
  35. package/dist/chunks/{pty-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{pty-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{pty-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{pty-2f0bjgcj.js → persistent-pty-3w0fmcng.js} +5 -5
  39. package/dist/chunks/{pty-y2eym35f.js → persistent-pty-4113bgx8.js} +8 -8
  40. package/dist/chunks/{pty-sd0vhpay.js → persistent-pty-41ssmn02.js} +91 -91
  41. package/dist/chunks/{pty-ta94ydyf.js → persistent-pty-431eg44t.js} +10 -10
  42. package/dist/chunks/{pty-zqx8wcya.js → persistent-pty-44ke2mar.js} +4 -4
  43. package/dist/chunks/{pty-56c3q4gh.js → persistent-pty-4acetgwp.js} +2 -2
  44. package/dist/chunks/{pty-z8k7ba4y.js → persistent-pty-4e13r3ts.js} +4 -4
  45. package/dist/chunks/{pty-d170h7tj.js → persistent-pty-4kg54np8.js} +19 -19
  46. package/dist/chunks/{pty-2jn1a9mb.js → persistent-pty-4pxrwfad.js} +24 -24
  47. package/dist/chunks/{pty-5p5kf06w.js → persistent-pty-4vdcjjmt.js} +13 -13
  48. package/dist/chunks/{pty-e3rw4ffc.js → persistent-pty-4yy5d4qw.js} +1 -1
  49. package/dist/chunks/{pty-ajv9ph60.js → persistent-pty-4z7tbtat.js} +6 -6
  50. package/dist/chunks/{pty-rrtzm0z5.js → persistent-pty-5531r29v.js} +25 -25
  51. package/dist/chunks/{pty-tyxp03c1.js → persistent-pty-554knveg.js} +33 -33
  52. package/dist/chunks/{pty-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{pty-n0m5xdp9.js → persistent-pty-57sn279e.js} +10 -10
  54. package/dist/chunks/{pty-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
  55. package/dist/chunks/{pty-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  56. package/dist/chunks/{pty-abb4bxme.js → persistent-pty-5dbxvay1.js} +27 -27
  57. package/dist/chunks/{pty-xnbn90dq.js → persistent-pty-5h8807ma.js} +17 -17
  58. package/dist/chunks/{pty-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{pty-br51nt48.js → persistent-pty-5rfwsh5d.js} +3 -3
  60. package/dist/chunks/{pty-mqbat9jp.js → persistent-pty-5rt7pep6.js} +3 -3
  61. package/dist/chunks/{pty-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{pty-8tr0qdz4.js → persistent-pty-61h0qsnp.js} +8 -8
  63. package/dist/chunks/{pty-fnf91rh6.js → persistent-pty-63mpdmm6.js} +30 -30
  64. package/dist/chunks/{pty-s7q0bjyb.js → persistent-pty-65w3833t.js} +13 -13
  65. package/dist/chunks/{pty-669tq793.js → persistent-pty-669tq793.js} +1 -1
  66. package/dist/chunks/{pty-9j4rwzvb.js → persistent-pty-68tggvtb.js} +11 -11
  67. package/dist/chunks/{pty-3fhvbsdb.js → persistent-pty-69cccy7z.js} +15 -15
  68. package/dist/chunks/{pty-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{pty-acp7khxw.js → persistent-pty-6n88yxkj.js} +11 -11
  70. package/dist/chunks/{pty-g49r3ea3.js → persistent-pty-6p5ms1em.js} +16 -16
  71. package/dist/chunks/{pty-zxv0wf82.js → persistent-pty-6p7zr8ep.js} +6 -6
  72. package/dist/chunks/{pty-httfvynw.js → persistent-pty-6tr59r50.js} +15 -15
  73. package/dist/chunks/{pty-ks3r113m.js → persistent-pty-6vrsc7tt.js} +18 -18
  74. package/dist/chunks/{pty-1jvwysfd.js → persistent-pty-6yh2fsej.js} +21 -21
  75. package/dist/chunks/{pty-ftffx8fq.js → persistent-pty-6zthmp17.js} +26 -26
  76. package/dist/chunks/{pty-772f7zcq.js → persistent-pty-71vt42kc.js} +3 -3
  77. package/dist/chunks/{pty-w9fkbwq5.js → persistent-pty-74fmk9vn.js} +10 -10
  78. package/dist/chunks/{pty-aads351p.js → persistent-pty-75q2ps1k.js} +1 -1
  79. package/dist/chunks/{pty-gjyhvyzk.js → persistent-pty-78b8afjy.js} +11 -11
  80. package/dist/chunks/{pty-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{pty-0kh0dn2a.js → persistent-pty-7fmgbjr3.js} +9 -9
  82. package/dist/chunks/persistent-pty-7h3cdw3p.js +252 -0
  83. package/dist/chunks/{pty-4ptcp2em.js → persistent-pty-7s8gb34t.js} +26 -26
  84. package/dist/chunks/{pty-1nsrs91v.js → persistent-pty-82ahnwkf.js} +23 -23
  85. package/dist/chunks/{pty-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{pty-d21c9hyv.js → persistent-pty-8hz3g5y0.js} +19 -19
  87. package/dist/chunks/{pty-10ztk21w.js → persistent-pty-8y3s9r1h.js} +3 -3
  88. package/dist/chunks/{pty-wmt2jdxs.js → persistent-pty-90y57r1y.js} +21 -21
  89. package/dist/chunks/{pty-2w9fymad.js → persistent-pty-92xv3hjf.js} +17 -17
  90. package/dist/chunks/{pty-3jd4ahw0.js → persistent-pty-9c77jpjf.js} +1 -1
  91. package/dist/chunks/{pty-89bb6baa.js → persistent-pty-9ex8f1cq.js} +8 -8
  92. package/dist/chunks/{pty-58mbwdrb.js → persistent-pty-9h0hyds4.js} +17 -17
  93. package/dist/chunks/{pty-fkjaqdxa.js → persistent-pty-9tx45s8b.js} +44 -44
  94. package/dist/chunks/{pty-cmkj70ft.js → persistent-pty-a3r4dcrj.js} +2 -2
  95. package/dist/chunks/{pty-ffgm1r5f.js → persistent-pty-a7qcy6v8.js} +13 -13
  96. package/dist/chunks/{pty-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  97. package/dist/chunks/{pty-y5df08dr.js → persistent-pty-ab8cnxkj.js} +12 -12
  98. package/dist/chunks/{pty-6mwr1jqd.js → persistent-pty-aba8dj31.js} +15 -15
  99. package/dist/chunks/{pty-whhr0qbd.js → persistent-pty-ace40s22.js} +7 -7
  100. package/dist/chunks/{pty-hn57h045.js → persistent-pty-afdssyjb.js} +4 -4
  101. package/dist/chunks/{pty-ps1arbjd.js → persistent-pty-axwsqknt.js} +29 -29
  102. package/dist/chunks/{pty-b27vhd2z.js → persistent-pty-b27vhd2z.js} +1 -1
  103. package/dist/chunks/{pty-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{pty-vcbz1vdx.js → persistent-pty-b7r080c3.js} +15 -15
  105. package/dist/chunks/{pty-h5prsy26.js → persistent-pty-bmcyf7gj.js} +20 -20
  106. package/dist/chunks/{pty-xxs85xy1.js → persistent-pty-bph3v013.js} +12 -12
  107. package/dist/chunks/{pty-tpw6cwsb.js → persistent-pty-br0tr5aq.js} +8 -8
  108. package/dist/chunks/{pty-pnchrenk.js → persistent-pty-brg56pc6.js} +30 -30
  109. package/dist/chunks/{pty-sf1tgbav.js → persistent-pty-bsgfsq91.js} +12 -12
  110. package/dist/chunks/{pty-bc62gbf5.js → persistent-pty-btpphd88.js} +26 -26
  111. package/dist/chunks/{pty-ryt7pzqc.js → persistent-pty-bz85s9hh.js} +1 -1
  112. package/dist/chunks/{pty-wjv0bjkz.js → persistent-pty-cdq49ytp.js} +27 -27
  113. package/dist/chunks/{pty-sz5c3476.js → persistent-pty-cv5frkqy.js} +1 -1
  114. package/dist/chunks/{pty-r1dq1bn8.js → persistent-pty-cwtvnkts.js} +8 -8
  115. package/dist/chunks/{pty-7y216y5p.js → persistent-pty-d0fsejzd.js} +34 -34
  116. package/dist/chunks/{pty-qmqgtz8f.js → persistent-pty-d4he2qe1.js} +9 -9
  117. package/dist/chunks/{pty-dep4keqg.js → persistent-pty-de5mzfxd.js} +26 -26
  118. package/dist/chunks/{pty-40rggeet.js → persistent-pty-deq2z4hf.js} +5 -5
  119. package/dist/chunks/{pty-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
  120. package/dist/chunks/{pty-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
  121. package/dist/chunks/{pty-rwmws8eb.js → persistent-pty-dtwkq6be.js} +13 -13
  122. package/dist/chunks/persistent-pty-dxj72tfx.js +18 -0
  123. package/dist/chunks/{pty-e1rbgcj4.js → persistent-pty-e84rd1xk.js} +23 -23
  124. package/dist/chunks/{pty-x2d9qy7d.js → persistent-pty-e8qyrgb1.js} +5 -5
  125. package/dist/chunks/{pty-0gdmqesm.js → persistent-pty-eaj1djv9.js} +8 -8
  126. package/dist/chunks/{pty-znfg10s7.js → persistent-pty-edwvx061.js} +4 -4
  127. package/dist/chunks/{pty-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{pty-2zqfv34k.js → persistent-pty-encztx8n.js} +22 -22
  129. package/dist/chunks/{pty-3zgfwzda.js → persistent-pty-epqb7qpy.js} +3 -3
  130. package/dist/chunks/{pty-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
  131. package/dist/chunks/{pty-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{pty-nsvd1f8s.js → persistent-pty-ffw5jcp2.js} +18 -18
  133. package/dist/chunks/{pty-2vtswabk.js → persistent-pty-fsy2n4n3.js} +9 -9
  134. package/dist/chunks/{pty-0gaj4617.js → persistent-pty-fvanntqq.js} +4 -4
  135. package/dist/chunks/{pty-ps4an3s3.js → persistent-pty-fwft7q1r.js} +3 -3
  136. package/dist/chunks/{pty-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  137. package/dist/chunks/{pty-vnr19yaz.js → persistent-pty-gb9jw3zf.js} +6 -6
  138. package/dist/chunks/{pty-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  139. package/dist/chunks/{pty-vkxpz7g2.js → persistent-pty-gnx4ytbv.js} +4 -4
  140. package/dist/chunks/{pty-1ms15p6n.js → persistent-pty-grhxn6he.js} +27 -27
  141. package/dist/chunks/{pty-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  142. package/dist/chunks/{pty-gmt621qa.js → persistent-pty-gxr7q3nf.js} +22 -22
  143. package/dist/chunks/{pty-t2qsjm8j.js → persistent-pty-h4eh15d6.js} +20 -20
  144. package/dist/chunks/{pty-y67gsgy6.js → persistent-pty-h6jr292a.js} +4 -4
  145. package/dist/chunks/{pty-4dgbcxzg.js → persistent-pty-h6r3nrb9.js} +4 -4
  146. package/dist/chunks/{pty-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{pty-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
  148. package/dist/chunks/{pty-ndkp1pbx.js → persistent-pty-hds23wzw.js} +18 -18
  149. package/dist/chunks/{pty-0mp324rf.js → persistent-pty-hmp6wt3x.js} +3 -3
  150. package/dist/chunks/{pty-5s7v9c7v.js → persistent-pty-hnac9jpe.js} +18 -18
  151. package/dist/chunks/{pty-7t45mvbd.js → persistent-pty-hq654dja.js} +23 -23
  152. package/dist/chunks/{pty-479h0rpz.js → persistent-pty-hv2snex1.js} +12 -12
  153. package/dist/chunks/{pty-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  154. package/dist/chunks/{pty-h71w788e.js → persistent-pty-j58c5xyq.js} +9 -9
  155. package/dist/chunks/{pty-fyynqrjc.js → persistent-pty-j9vp638d.js} +43 -43
  156. package/dist/chunks/{pty-21yscatf.js → persistent-pty-jcz9anth.js} +47 -47
  157. package/dist/chunks/{pty-125gwrbg.js → persistent-pty-jdvrzx2t.js} +17 -17
  158. package/dist/chunks/{pty-ba07h9gm.js → persistent-pty-jexxy024.js} +3 -3
  159. package/dist/chunks/{pty-fxv6f51q.js → persistent-pty-jfcm29bp.js} +4 -4
  160. package/dist/chunks/{pty-5z94pt16.js → persistent-pty-jpxb4059.js} +11 -11
  161. package/dist/chunks/{pty-7sttfjma.js → persistent-pty-jsqr29s7.js} +24 -24
  162. package/dist/chunks/{pty-24q3h2ph.js → persistent-pty-jsx9wcxe.js} +9 -9
  163. package/dist/chunks/{pty-d4f5zm7n.js → persistent-pty-jtwa0aj6.js} +13 -13
  164. package/dist/chunks/{pty-30jzjac2.js → persistent-pty-jvekhsax.js} +6 -6
  165. package/dist/chunks/{pty-c7byg8pj.js → persistent-pty-jzphxtev.js} +10 -10
  166. package/dist/chunks/{pty-37ea9c2d.js → persistent-pty-k1gkpfdk.js} +8 -8
  167. package/dist/chunks/{pty-kk00bynn.js → persistent-pty-k2h4r4s0.js} +21 -21
  168. package/dist/chunks/{pty-nzks3jc8.js → persistent-pty-k3c624dm.js} +3 -3
  169. package/dist/chunks/{pty-f2btm3ds.js → persistent-pty-k6w2t1ya.js} +4 -4
  170. package/dist/chunks/{pty-7zgazq3n.js → persistent-pty-kfgf5fep.js} +26 -26
  171. package/dist/chunks/{pty-a48s4pqa.js → persistent-pty-kftvnv3j.js} +24 -24
  172. package/dist/chunks/{pty-8f1v9drm.js → persistent-pty-kkzayper.js} +24 -24
  173. package/dist/chunks/{pty-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
  174. package/dist/chunks/{pty-nq7qbqzc.js → persistent-pty-m2d0j7c0.js} +9 -9
  175. package/dist/chunks/{pty-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{pty-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{pty-q29thqgw.js → persistent-pty-mbgq0mmx.js} +6 -6
  178. package/dist/chunks/{pty-fzdsdhyy.js → persistent-pty-mfs5sj5t.js} +9 -9
  179. package/dist/chunks/{pty-8qh6anns.js → persistent-pty-mg83pbjr.js} +8 -8
  180. package/dist/chunks/persistent-pty-mj93e3gy.js +492 -0
  181. package/dist/chunks/{pty-xk4hfm6m.js → persistent-pty-mmmrdbr8.js} +11 -11
  182. package/dist/chunks/{pty-v9a7a4zt.js → persistent-pty-mnaz46m9.js} +83 -83
  183. package/dist/chunks/{pty-r5x6zcsm.js → persistent-pty-mvfsc1pv.js} +3 -3
  184. package/dist/chunks/{pty-crwbn2y9.js → persistent-pty-n2eg1d0h.js} +24 -24
  185. package/dist/chunks/{pty-bm550x0b.js → persistent-pty-n36xcpgr.js} +8 -8
  186. package/dist/chunks/{pty-hgyhsn9t.js → persistent-pty-n4j23rry.js} +16 -16
  187. package/dist/chunks/{pty-emwwjpt7.js → persistent-pty-nm55ymfc.js} +19 -19
  188. package/dist/chunks/{pty-m9g140gf.js → persistent-pty-nqyhrfcc.js} +4 -4
  189. package/dist/chunks/{pty-crc6eftr.js → persistent-pty-nyacxbzj.js} +46 -46
  190. package/dist/chunks/{pty-94ycm6fd.js → persistent-pty-p0h2c1j9.js} +10 -10
  191. package/dist/chunks/{pty-rz6pad5v.js → persistent-pty-p3x7gx7a.js} +25 -25
  192. package/dist/chunks/{pty-pgadv6bt.js → persistent-pty-p4a5cx5p.js} +15 -15
  193. package/dist/chunks/{pty-yensex2p.js → persistent-pty-p513dnzd.js} +145 -145
  194. package/dist/chunks/{pty-79wtkhdx.js → persistent-pty-p52j3anj.js} +37 -37
  195. package/dist/chunks/{pty-57e9z27j.js → persistent-pty-p84dsdfh.js} +8 -8
  196. package/dist/chunks/{pty-j1mj860n.js → persistent-pty-patgj9rf.js} +9 -9
  197. package/dist/chunks/{pty-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{pty-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  199. package/dist/chunks/{pty-rscnw2jy.js → persistent-pty-q3j5ebgq.js} +17 -17
  200. package/dist/chunks/{pty-jsm1w6zq.js → persistent-pty-q8pxfdwq.js} +4 -4
  201. package/dist/chunks/{pty-s1vgemc7.js → persistent-pty-qdwxcfza.js} +9 -9
  202. package/dist/chunks/{pty-510m7gjw.js → persistent-pty-qn4ba14w.js} +5 -5
  203. package/dist/chunks/{pty-4ty2257w.js → persistent-pty-qr405v0d.js} +8 -8
  204. package/dist/chunks/{pty-92s5ksem.js → persistent-pty-qryrftmh.js} +48 -48
  205. package/dist/chunks/{pty-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  206. package/dist/chunks/{pty-pkatsdp4.js → persistent-pty-qsx6xwjc.js} +18 -18
  207. package/dist/chunks/{pty-9vj1cv01.js → persistent-pty-qt5mdn6g.js} +12 -12
  208. package/dist/chunks/{pty-wgh0awmw.js → persistent-pty-qw85ht6d.js} +32 -32
  209. package/dist/chunks/{pty-n44333yt.js → persistent-pty-r2a07nrz.js} +13 -13
  210. package/dist/chunks/{pty-hvrxfwdm.js → persistent-pty-r2w5wzr7.js} +10 -10
  211. package/dist/chunks/{pty-x8ssrn04.js → persistent-pty-r449bwkw.js} +11 -11
  212. package/dist/chunks/{pty-9q2chv03.js → persistent-pty-r4wc6fxm.js} +5 -5
  213. package/dist/chunks/{pty-mm0y4phk.js → persistent-pty-r5zvm12r.js} +2 -2
  214. package/dist/chunks/{pty-q8n9d2sh.js → persistent-pty-r72bb3g5.js} +8 -8
  215. package/dist/chunks/{pty-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{pty-1acjjqhc.js → persistent-pty-rhraev7y.js} +4 -4
  217. package/dist/chunks/{pty-2k0605zp.js → persistent-pty-rr6jacvf.js} +43 -43
  218. package/dist/chunks/{pty-vv67fzzf.js → persistent-pty-rvt9ga0f.js} +16 -16
  219. package/dist/chunks/{pty-23yqmb8f.js → persistent-pty-rya495mf.js} +9 -9
  220. package/dist/chunks/{pty-ny05sq48.js → persistent-pty-s4b84khr.js} +9 -9
  221. package/dist/chunks/{pty-dmrxm1ex.js → persistent-pty-s4mb84p1.js} +57 -57
  222. package/dist/chunks/{pty-sc7m4xfj.js → persistent-pty-s83kg3p0.js} +17 -17
  223. package/dist/chunks/{pty-r56jycby.js → persistent-pty-s8cev9wy.js} +6 -6
  224. package/dist/chunks/{pty-ftbyp22j.js → persistent-pty-s9ax1raf.js} +31 -31
  225. package/dist/chunks/{pty-tmdgs4qc.js → persistent-pty-sqdxss6w.js} +11 -11
  226. package/dist/chunks/{pty-jz9w4cgt.js → persistent-pty-sxn79y37.js} +9 -9
  227. package/dist/chunks/{pty-0qjksd3p.js → persistent-pty-sz24j28z.js} +23 -23
  228. package/dist/chunks/{pty-2xtspnhm.js → persistent-pty-t4nhm12y.js} +7 -7
  229. package/dist/chunks/{pty-2vgzs72b.js → persistent-pty-t71v2ka4.js} +5 -5
  230. package/dist/chunks/{pty-mzbph88c.js → persistent-pty-t808dn5w.js} +35 -35
  231. package/dist/chunks/{pty-487tjbbd.js → persistent-pty-ta417yjh.js} +24 -24
  232. package/dist/chunks/{pty-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{pty-9y446jqg.js → persistent-pty-tbgyadps.js} +11 -11
  234. package/dist/chunks/{pty-p28j5sbe.js → persistent-pty-tbz0fdvh.js} +5 -5
  235. package/dist/chunks/{pty-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{pty-xxz86ynf.js → persistent-pty-td55jj2j.js} +22 -22
  237. package/dist/chunks/{pty-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  238. package/dist/chunks/{pty-3ppptnan.js → persistent-pty-tegs1ycp.js} +6 -6
  239. package/dist/chunks/{pty-ke2bgdcy.js → persistent-pty-tfxzrdmk.js} +10 -10
  240. package/dist/chunks/{pty-729ex4wk.js → persistent-pty-tnasdg6y.js} +32 -32
  241. package/dist/chunks/{pty-hnrh7jv9.js → persistent-pty-tvc0b3mj.js} +11 -11
  242. package/dist/chunks/{pty-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  243. package/dist/chunks/{pty-rc72nxnw.js → persistent-pty-tvtydw96.js} +41 -41
  244. package/dist/chunks/{pty-b23z4qnb.js → persistent-pty-twca9fjq.js} +7 -7
  245. package/dist/chunks/{pty-tbe9f1mn.js → persistent-pty-v4px02z6.js} +20 -20
  246. package/dist/chunks/{pty-67s6xyqv.js → persistent-pty-va45f1s8.js} +30 -30
  247. package/dist/chunks/{pty-x2xsxqnt.js → persistent-pty-vcdb3gbk.js} +1 -1
  248. package/dist/chunks/{pty-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  249. package/dist/chunks/{pty-3dvt7t1w.js → persistent-pty-vg6ckggx.js} +59 -59
  250. package/dist/chunks/{pty-81jw091s.js → persistent-pty-vmnj2x1v.js} +34 -34
  251. package/dist/chunks/{pty-bf0ztrs3.js → persistent-pty-vncycja5.js} +4 -4
  252. package/dist/chunks/{pty-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{pty-1xj4prap.js → persistent-pty-w18y63wv.js} +23 -23
  254. package/dist/chunks/{pty-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{pty-r8f2g607.js → persistent-pty-w65z2jz3.js} +8 -8
  256. package/dist/chunks/{pty-v5g0yskm.js → persistent-pty-w6qqzf7t.js} +2 -2
  257. package/dist/chunks/{pty-p6d074gg.js → persistent-pty-wayd1cz3.js} +11 -11
  258. package/dist/chunks/{pty-qygprnkz.js → persistent-pty-wcycnpg6.js} +11 -11
  259. package/dist/chunks/{pty-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  260. package/dist/chunks/{pty-mp49sbvf.js → persistent-pty-wk2ay995.js} +27 -27
  261. package/dist/chunks/{pty-wx3n4hzp.js → persistent-pty-wngp58at.js} +22 -22
  262. package/dist/chunks/{pty-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{pty-hkw89x8s.js → persistent-pty-x38sqvf4.js} +6 -6
  264. package/dist/chunks/{pty-5s45kcve.js → persistent-pty-x5x7kcgs.js} +16 -16
  265. package/dist/chunks/{pty-ppt37g3q.js → persistent-pty-xaftkv44.js} +54 -54
  266. package/dist/chunks/{pty-s6ymxyzv.js → persistent-pty-xcjhgh37.js} +6 -6
  267. package/dist/chunks/{pty-pa29zzk8.js → persistent-pty-xcrk435t.js} +20 -20
  268. package/dist/chunks/{pty-qqeeq2t9.js → persistent-pty-xfkkasph.js} +7 -7
  269. package/dist/chunks/{pty-61g3b1pw.js → persistent-pty-xjbekv6e.js} +25 -25
  270. package/dist/chunks/{pty-d5z7kk5f.js → persistent-pty-xjebcb6c.js} +9 -9
  271. package/dist/chunks/{pty-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{pty-bg2bzas4.js → persistent-pty-ybhbtxjg.js} +9 -9
  273. package/dist/chunks/{pty-54c9gbn9.js → persistent-pty-yppwdz7t.js} +9 -9
  274. package/dist/chunks/{pty-y8s8jbmk.js → persistent-pty-yqz4sd6t.js} +8 -8
  275. package/dist/chunks/{pty-2x41v6hj.js → persistent-pty-yr8p71ks.js} +10 -10
  276. package/dist/chunks/{pty-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{pty-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
  278. package/dist/chunks/{pty-7cge7rm7.js → persistent-pty-ysfwx83j.js} +8 -8
  279. package/dist/chunks/{pty-avm8jn6n.js → persistent-pty-yt0fqk68.js} +5 -5
  280. package/dist/chunks/{pty-dqsgs04j.js → persistent-pty-ytpw4txd.js} +11 -11
  281. package/dist/chunks/{pty-6qw955q2.js → persistent-pty-ytqvkck2.js} +5 -5
  282. package/dist/chunks/{pty-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{pty-0m1yaj0w.js → persistent-pty-z52a6mw5.js} +20 -20
  284. package/dist/chunks/{pty-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
  285. package/dist/chunks/{pty-72s2ce21.js → persistent-pty-ze9ygk7z.js} +9 -9
  286. package/dist/chunks/{pty-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{pty-e15f0xpb.js → persistent-pty-zq3sp2de.js} +28 -28
  288. package/dist/chunks/{pty-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{pty-t3gyxbgb.js → persistent-pty-zsphfh87.js} +16 -16
  290. package/dist/chunks/{pty-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  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/pty-v1faaxn9.js +0 -18
  697. package/dist/chunks/pty-wh560a5b.js +0 -252
  698. package/dist/chunks/pty-xrsqh21y.js +0 -4
  699. package/dist/chunks/pty-ymeqjvqr.js +0 -492
  700. /package/dist/chunks/{pty-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{pty-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{pty-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{pty-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{pty-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{pty-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{pty-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{pty-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{pty-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{pty-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{pty-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  711. /package/dist/chunks/{pty-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{pty-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{pty-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{pty-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{pty-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{pty-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{pty-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{pty-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  719. /package/dist/chunks/{pty-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{pty-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  721. /package/dist/chunks/{pty-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{pty-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{pty-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  724. /package/dist/chunks/{pty-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{pty-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{pty-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  727. /package/dist/chunks/{pty-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{pty-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{pty-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{pty-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{pty-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{pty-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{pty-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{pty-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{pty-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{pty-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{pty-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{pty-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{pty-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{pty-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{pty-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{pty-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  743. /package/dist/chunks/{pty-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{pty-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{pty-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{pty-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{pty-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{pty-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{pty-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{pty-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{pty-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{pty-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{pty-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{pty-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{pty-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  756. /package/dist/chunks/{pty-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{pty-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  758. /package/dist/chunks/{pty-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{pty-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  760. /package/dist/chunks/{pty-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{pty-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{pty-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{pty-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{pty-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{pty-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{pty-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{pty-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{pty-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{pty-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{pty-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{pty-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{pty-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{pty-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{pty-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{pty-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{pty-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{pty-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{pty-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{pty-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{pty-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{pty-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{pty-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{pty-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{pty-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{pty-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{pty-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{pty-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{pty-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  789. /package/dist/chunks/{pty-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{pty-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{pty-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{pty-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{pty-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{pty-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make13,
10
- render: () => render2
9
+ make: () => make15,
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make13(tools) {
33
- return render2(system_default, tools);
32
+ function make15(tools) {
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make13, render2, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-z8k7ba4y.js";
4
+ } from "./persistent-pty-4e13r3ts.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./pty-ke2bgdcy.js";
6
+ Service69,
7
+ node73
8
+ } from "./persistent-pty-tfxzrdmk.js";
9
9
  import {
10
10
  create3
11
- } from "./pty-rdw6cm16.js";
11
+ } from "./persistent-pty-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./pty-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event7,
21
- ID: () => ID5,
22
- Input: () => Input14,
20
+ Event: () => Event6,
21
+ ID: () => ID4,
22
+ Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service48,
31
+ Service: () => Service19,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node50
33
+ node: () => node22
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event7 } from "@opencode/schema/websearch";
41
- var ID5 = WebSearch.ID;
40
+ import { Event as Event6 } from "@opencode/schema/websearch";
41
+ var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input14 = WebSearch.Input;
43
+ var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID5
53
+ providerID: ID4
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID5,
61
+ providerID: ID4,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service48 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service19 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service48, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
69
69
  const bus = yield* Service82;
70
- const kv = yield* Service80;
70
+ const kv = yield* Service69;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service48.of({
127
+ return Service19.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node50 = makeLocationNode({
188
- service: Service48,
187
+ var node22 = makeLocationNode({
188
+ service: Service19,
189
189
  layer,
190
- deps: [node86, node84]
190
+ deps: [node86, node73]
191
191
  });
192
192
 
193
- export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service48, node50, exports_websearch3, Event7 };
193
+ export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service19, node22, exports_websearch3, Event6 };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./pty-tazgh4e4.js";
10
+ } from "./persistent-pty-tazgh4e4.js";
11
11
  import {
12
- Service76
13
- } from "./pty-hgyhsn9t.js";
12
+ Service78
13
+ } from "./persistent-pty-n4j23rry.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./pty-t2qsjm8j.js";
16
+ } from "./persistent-pty-h4eh15d6.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./persistent-pty-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin33,
24
+ Plugin: () => Plugin34,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin33 = define({
33
+ var Plugin34 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service76;
36
+ const location = yield* Service78;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin33, exports_hg };
191
+ export { Plugin34, exports_hg };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./pty-gftt206x.js";
3
+ } from "./persistent-pty-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./pty-ba07h9gm.js";
6
+ } from "./persistent-pty-jexxy024.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error = {};
13
- __export(exports_error, {
12
+ var exports_error2 = {};
13
+ __export(exports_error2, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -19,9 +19,9 @@ __export(exports_error, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError6,
22
+ NotFoundError: () => NotFoundError9,
23
23
  PromptConflictError: () => PromptConflictError2,
24
- SessionErrors: () => exports_error,
24
+ SessionErrors: () => exports_error2,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
26
26
  StepFailedError: () => StepFailedError2,
27
27
  SyntheticConflictError: () => SyntheticConflictError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError6, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
126
+ export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service40
3
- } from "./pty-3ppptnan.js";
2
+ Service60
3
+ } from "./persistent-pty-tegs1ycp.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./pty-v1faaxn9.js";
6
+ } from "./persistent-pty-dxj72tfx.js";
7
7
  import {
8
- Service53
9
- } from "./pty-crc6eftr.js";
8
+ Service46
9
+ } from "./persistent-pty-nyacxbzj.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./pty-fxbjtjnd.js";
12
+ } from "./persistent-pty-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./pty-9rqn6x4v.js";
15
+ } from "./persistent-pty-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service40;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
25
+ const instances = yield* Service60;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-gjyhvyzk.js";
3
+ } from "./persistent-pty-78b8afjy.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin37,
11
+ Plugin: () => Plugin38,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint4
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint4 = "https://api.tavily.com/search";
18
+ var endpoint5 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin37 = define({
32
+ var Plugin38 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin37 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin37 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint4, Plugin37, exports_tavily };
80
+ export { endpoint5, Plugin38, exports_tavily };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service82
3
- } from "./pty-z8k7ba4y.js";
3
+ } from "./persistent-pty-4e13r3ts.js";
4
4
  import {
5
5
  key2
6
- } from "./pty-4dgbcxzg.js";
6
+ } from "./persistent-pty-h6r3nrb9.js";
7
7
  import {
8
- Event19
9
- } from "./pty-bc62gbf5.js";
8
+ Event18
9
+ } from "./persistent-pty-btpphd88.js";
10
10
  import {
11
11
  ID14
12
- } from "./pty-7sttfjma.js";
12
+ } from "./persistent-pty-jsqr29s7.js";
13
13
  import {
14
14
  ID13,
15
- Service72
16
- } from "./pty-x7tehcsj.js";
15
+ Service74
16
+ } from "./persistent-pty-2hsgj57k.js";
17
17
  import {
18
18
  load3,
19
19
  derive3
20
- } from "./pty-zxv0wf82.js";
20
+ } from "./persistent-pty-6p7zr8ep.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
@@ -26,7 +26,7 @@ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service72;
29
+ const providers = yield* Service74;
30
30
  const bus = yield* Service82;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./pty-ym463w8f.js";
3
+ } from "./persistent-pty-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./pty-29x78va6.js";
3
+ } from "./persistent-pty-z63w68vq.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./pty-zr2ceqn5.js";
3
+ } from "./persistent-pty-zr2ceqn5.js";
4
4
  import {
5
- Service69
6
- } from "./pty-crwbn2y9.js";
5
+ Service55
6
+ } from "./persistent-pty-n2eg1d0h.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make4
16
+ make: () => make9
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make4 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service69;
25
+ var make9 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service55;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make4, LoadError2, exports_module };
105
+ export { make9, LoadError2, exports_module };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info23,
12
+ Info: () => Info17,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info23 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info23, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service68
3
- } from "./pty-2k0605zp.js";
2
+ Service54
3
+ } from "./persistent-pty-rr6jacvf.js";
4
4
  import {
5
- Service11
6
- } from "./pty-ftffx8fq.js";
5
+ Service9
6
+ } from "./persistent-pty-6zthmp17.js";
7
7
  import {
8
8
  observe2
9
- } from "./pty-qsdy395h.js";
9
+ } from "./persistent-pty-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./persistent-pty-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin27
18
+ Plugin: () => Plugin29
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin27 = define({
22
+ var Plugin29 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service68;
26
- const compaction = yield* Service11;
25
+ const config = yield* Service54;
26
+ const compaction = yield* Service9;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin27 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin27, exports_compaction };
42
+ export { Plugin29, exports_compaction };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./pty-dmrxm1ex.js";
3
+ } from "./persistent-pty-s4mb84p1.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin41
12
+ Plugin: () => Plugin43
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin41 = define({
32
+ var Plugin43 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin41, exports_plan };
109
+ export { Plugin43, exports_plan };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./pty-ym463w8f.js";
3
+ } from "./persistent-pty-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({