@opencode/core 0.0.0-dev-19611 → 0.0.0-dev-19615

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +76 -76
  3. package/dist/aisdk-native.js +89 -89
  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/{image-fhtb1nxk.js → persistent-pty-00ddz8r8.js} +3 -3
  8. package/dist/chunks/{image-pe73xtx4.js → persistent-pty-0416qr2w.js} +1 -1
  9. package/dist/chunks/{image-5c0f1prt.js → persistent-pty-06dxphr1.js} +4 -4
  10. package/dist/chunks/{image-zrpcnpdy.js → persistent-pty-0ewnzcv7.js} +15 -15
  11. package/dist/chunks/{image-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
  12. package/dist/chunks/persistent-pty-0mesazry.js +4 -0
  13. package/dist/chunks/{image-axf0s4jm.js → persistent-pty-0n0nsrah.js} +18 -18
  14. package/dist/chunks/{image-rd23nqx6.js → persistent-pty-0nnbvqte.js} +20 -20
  15. package/dist/chunks/{image-33dzk201.js → persistent-pty-0p9gaksb.js} +30 -30
  16. package/dist/chunks/{image-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{image-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{image-rwmg7s8f.js → persistent-pty-0tmgye68.js} +5 -5
  19. package/dist/chunks/{image-3t9tj8wy.js → persistent-pty-0w7p6pc4.js} +8 -8
  20. package/dist/chunks/{image-9h41vc4j.js → persistent-pty-1080qp6z.js} +4 -4
  21. package/dist/chunks/{image-sssgmf7d.js → persistent-pty-128k6fv0.js} +17 -17
  22. package/dist/chunks/{image-s1nnrw4q.js → persistent-pty-159vhs70.js} +3 -3
  23. package/dist/chunks/{image-qw34z0mz.js → persistent-pty-15njw289.js} +11 -11
  24. package/dist/chunks/{image-mqx0de4k.js → persistent-pty-1665kmjf.js} +8 -8
  25. package/dist/chunks/{image-6npptpe2.js → persistent-pty-168cxzkt.js} +8 -8
  26. package/dist/chunks/persistent-pty-16c3xx7h.js +472 -0
  27. package/dist/chunks/{image-3685kgv2.js → persistent-pty-17yz0dpg.js} +11 -11
  28. package/dist/chunks/{image-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  29. package/dist/chunks/{image-49q20pp7.js → persistent-pty-1jg83eh2.js} +22 -22
  30. package/dist/chunks/{image-59sbn0zz.js → persistent-pty-1rcrwsx6.js} +20 -20
  31. package/dist/chunks/{image-m7pytshy.js → persistent-pty-1v3qmhpx.js} +9 -9
  32. package/dist/chunks/{image-mfz8wse2.js → persistent-pty-1xmfxxn8.js} +9 -9
  33. package/dist/chunks/{image-ppz8g910.js → persistent-pty-1z4441q1.js} +30 -30
  34. package/dist/chunks/{image-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  35. package/dist/chunks/{image-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  36. package/dist/chunks/{image-ep9bxrrg.js → persistent-pty-29eh7px0.js} +15 -15
  37. package/dist/chunks/{image-xx4v3z4y.js → persistent-pty-2a2cqssq.js} +20 -20
  38. package/dist/chunks/{image-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  39. package/dist/chunks/{image-5k2nshkd.js → persistent-pty-2ewtncz9.js} +11 -11
  40. package/dist/chunks/{image-r60qs0tf.js → persistent-pty-2gs48sxz.js} +18 -18
  41. package/dist/chunks/{image-g36gcegr.js → persistent-pty-2h9bx89r.js} +1 -1
  42. package/dist/chunks/{image-prq0wc4d.js → persistent-pty-2n22gnr4.js} +18 -18
  43. package/dist/chunks/{image-fsqzyqf7.js → persistent-pty-2npcnmz2.js} +11 -11
  44. package/dist/chunks/{image-0dr9jjfc.js → persistent-pty-2nqnw7p6.js} +3 -3
  45. package/dist/chunks/{image-54tjnctb.js → persistent-pty-2xm786hw.js} +11 -11
  46. package/dist/chunks/{image-7rjv7hd1.js → persistent-pty-3945624f.js} +39 -39
  47. package/dist/chunks/{image-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{image-w94394wb.js → persistent-pty-3g8pxf29.js} +12 -12
  49. package/dist/chunks/{image-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{image-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{image-5ebw3s4g.js → persistent-pty-3tt1qkhr.js} +5 -5
  52. package/dist/chunks/{image-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{image-qnevtc5c.js → persistent-pty-3ybepafv.js} +14 -14
  54. package/dist/chunks/{image-hjt4xg1x.js → persistent-pty-47gsdddb.js} +7 -7
  55. package/dist/chunks/{image-g477egy3.js → persistent-pty-4c8bw516.js} +8 -8
  56. package/dist/chunks/{image-j5rjq302.js → persistent-pty-4kynjgmh.js} +4 -4
  57. package/dist/chunks/{image-ebah8r6x.js → persistent-pty-4m2pmvxz.js} +6 -6
  58. package/dist/chunks/{image-saseaz33.js → persistent-pty-58qggt1v.js} +6 -6
  59. package/dist/chunks/{image-5c4hm403.js → persistent-pty-5c4hm403.js} +3 -3
  60. package/dist/chunks/{image-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  61. package/dist/chunks/{image-cfp1wp84.js → persistent-pty-5t1r04e6.js} +23 -23
  62. package/dist/chunks/{image-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{image-gse1qw90.js → persistent-pty-606maf0m.js} +4 -4
  64. package/dist/chunks/persistent-pty-619r8v3y.js +18 -0
  65. package/dist/chunks/{image-q594ctnf.js → persistent-pty-63trw53e.js} +29 -29
  66. package/dist/chunks/{image-669tq793.js → persistent-pty-669tq793.js} +1 -1
  67. package/dist/chunks/{image-qz348hxe.js → persistent-pty-676hzarg.js} +4 -4
  68. package/dist/chunks/{image-6q87w041.js → persistent-pty-6bnhsggd.js} +51 -51
  69. package/dist/chunks/{image-806p5xqx.js → persistent-pty-6c4ajerj.js} +26 -26
  70. package/dist/chunks/{image-d7tzj868.js → persistent-pty-6g5dp8bv.js} +20 -20
  71. package/dist/chunks/{image-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{image-fgjfhan0.js → persistent-pty-6psyn72r.js} +4 -4
  73. package/dist/chunks/{image-8e1b1gzh.js → persistent-pty-6qr3rp4k.js} +6 -6
  74. package/dist/chunks/{image-kbrpdkkr.js → persistent-pty-6scr59yh.js} +13 -13
  75. package/dist/chunks/{image-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
  76. package/dist/chunks/{image-0evxafpt.js → persistent-pty-78k4hpgd.js} +10 -10
  77. package/dist/chunks/{image-7f40knje.js → persistent-pty-793b0gca.js} +26 -26
  78. package/dist/chunks/{image-7s78zkxc.js → persistent-pty-7a3bvnr0.js} +8 -8
  79. package/dist/chunks/{image-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{image-6s054ecb.js → persistent-pty-7cghnzfc.js} +17 -17
  81. package/dist/chunks/{image-kvccqq4y.js → persistent-pty-7m2tq7cp.js} +12 -12
  82. package/dist/chunks/{image-t1fh5c1n.js → persistent-pty-7t7cf13d.js} +5 -5
  83. package/dist/chunks/{image-hjtap0zg.js → persistent-pty-7wp0300p.js} +20 -20
  84. package/dist/chunks/{image-0xnze9ce.js → persistent-pty-7zqgez5c.js} +65 -65
  85. package/dist/chunks/{image-axyt463m.js → persistent-pty-82yprfhz.js} +20 -20
  86. package/dist/chunks/{image-61s2mknn.js → persistent-pty-836tdgwv.js} +28 -28
  87. package/dist/chunks/{image-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{image-30hxd0b6.js → persistent-pty-8tpwn33w.js} +4 -4
  89. package/dist/chunks/{image-hswahs1s.js → persistent-pty-8vvpb9k6.js} +10 -10
  90. package/dist/chunks/{image-7jm5jzq7.js → persistent-pty-93354nf3.js} +14 -14
  91. package/dist/chunks/{image-98n2zv5b.js → persistent-pty-9avjsh34.js} +20 -20
  92. package/dist/chunks/{image-cefmkny3.js → persistent-pty-9ccb5f3v.js} +44 -44
  93. package/dist/chunks/{image-4n3236zn.js → persistent-pty-9h7ckpab.js} +3 -3
  94. package/dist/chunks/{image-ch1hcs5y.js → persistent-pty-9hdj3naw.js} +36 -36
  95. package/dist/chunks/{image-pvvjbe5v.js → persistent-pty-9pfgr6qx.js} +30 -30
  96. package/dist/chunks/{image-2eh5hdcs.js → persistent-pty-9ttc7nk4.js} +6 -6
  97. package/dist/chunks/{image-pvrrebnp.js → persistent-pty-a09p09ba.js} +9 -9
  98. package/dist/chunks/{image-a3r4dcrj.js → persistent-pty-a3r4dcrj.js} +2 -2
  99. package/dist/chunks/{image-7hqs4pm0.js → persistent-pty-a7gjz33w.js} +41 -41
  100. package/dist/chunks/{image-y18b782a.js → persistent-pty-a7s8hxm1.js} +23 -23
  101. package/dist/chunks/{image-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  102. package/dist/chunks/{image-xc5tp58y.js → persistent-pty-akxe4e1m.js} +34 -34
  103. package/dist/chunks/{image-hfn6h9h0.js → persistent-pty-am406eak.js} +10 -10
  104. package/dist/chunks/{image-xe94yqgp.js → persistent-pty-amtcdxb0.js} +8 -8
  105. package/dist/chunks/{image-xrrhyath.js → persistent-pty-aqnkc8vq.js} +36 -36
  106. package/dist/chunks/{image-5xtgfte3.js → persistent-pty-asmz7wyz.js} +8 -8
  107. package/dist/chunks/{image-t7vkg8np.js → persistent-pty-awwjsxkk.js} +17 -17
  108. package/dist/chunks/{image-22zy1c33.js → persistent-pty-b5xe1e3z.js} +8 -8
  109. package/dist/chunks/{image-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{image-pk7fv021.js → persistent-pty-b7wd86f2.js} +5 -5
  111. package/dist/chunks/{image-4qh8ec8f.js → persistent-pty-b8hbvna6.js} +4 -4
  112. package/dist/chunks/{image-yxa2jv7b.js → persistent-pty-bmdpbe9w.js} +13 -13
  113. package/dist/chunks/{image-g7q9pgkk.js → persistent-pty-bnn7b9a6.js} +2 -2
  114. package/dist/chunks/{image-zhq6vg7a.js → persistent-pty-bz85s9hh.js} +1 -1
  115. package/dist/chunks/{image-7wtn6qfv.js → persistent-pty-ccwg80eh.js} +29 -29
  116. package/dist/chunks/{image-41kev6en.js → persistent-pty-cftjh0pp.js} +12 -12
  117. package/dist/chunks/{image-ygkn4pcb.js → persistent-pty-cj23dd3r.js} +1 -1
  118. package/dist/chunks/{image-zsfad6mw.js → persistent-pty-cng9f4dx.js} +14 -14
  119. package/dist/chunks/{image-3zykk5as.js → persistent-pty-cqf2xh9s.js} +8 -8
  120. package/dist/chunks/{image-5bekvhzp.js → persistent-pty-cqvrk7k3.js} +9 -9
  121. package/dist/chunks/{image-gvkmt430.js → persistent-pty-crptryd9.js} +9 -9
  122. package/dist/chunks/{image-p44d8wdy.js → persistent-pty-d2aac7k2.js} +5 -5
  123. package/dist/chunks/{image-d4he2qe1.js → persistent-pty-d3tz2ej1.js} +9 -9
  124. package/dist/chunks/{image-4mfmjxec.js → persistent-pty-d9gs8gt2.js} +9 -9
  125. package/dist/chunks/{image-n17g706s.js → persistent-pty-da8nh50n.js} +1 -1
  126. package/dist/chunks/{image-8y2shdgp.js → persistent-pty-dc3gn177.js} +24 -24
  127. package/dist/chunks/{image-dj2t23y0.js → persistent-pty-dj2t23y0.js} +2 -2
  128. package/dist/chunks/{image-zbhf92rx.js → persistent-pty-dmyqzcf7.js} +15 -15
  129. package/dist/chunks/{image-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
  130. package/dist/chunks/{image-0qaz1sfc.js → persistent-pty-e058e3s9.js} +11 -11
  131. package/dist/chunks/{image-95hsdyye.js → persistent-pty-e2516hzg.js} +10 -10
  132. package/dist/chunks/{image-10fqs124.js → persistent-pty-e30th1gq.js} +15 -15
  133. package/dist/chunks/{image-e5nv3ght.js → persistent-pty-e5nv3ght.js} +2 -2
  134. package/dist/chunks/{image-922nm86p.js → persistent-pty-ea0wf7ef.js} +24 -24
  135. package/dist/chunks/{image-s8d7rejh.js → persistent-pty-eaj1djv9.js} +6 -6
  136. package/dist/chunks/{image-aj6515bh.js → persistent-pty-ecvt32vq.js} +40 -40
  137. package/dist/chunks/{image-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{image-wde5h6bz.js → persistent-pty-ems0kgp9.js} +29 -29
  139. package/dist/chunks/{image-cs2qrq3p.js → persistent-pty-emwdkzex.js} +2 -2
  140. package/dist/chunks/{image-sy6qbg9d.js → persistent-pty-etagmg0f.js} +1 -1
  141. package/dist/chunks/{image-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{image-ggv97vhn.js → persistent-pty-eyx2h93p.js} +4 -4
  143. package/dist/chunks/{image-bxtjsyk9.js → persistent-pty-f729kafc.js} +13 -13
  144. package/dist/chunks/{image-afdssyjb.js → persistent-pty-f73rjn58.js} +4 -4
  145. package/dist/chunks/{image-y56ehv6b.js → persistent-pty-f7ehr2sm.js} +8 -8
  146. package/dist/chunks/{image-e1kg9vz0.js → persistent-pty-f8x48a86.js} +32 -32
  147. package/dist/chunks/{image-dt0jwwwa.js → persistent-pty-fjr2n3hs.js} +12 -12
  148. package/dist/chunks/{image-f2gth83d.js → persistent-pty-fp01c4dv.js} +9 -9
  149. package/dist/chunks/{image-1kgb4aq1.js → persistent-pty-fq80gekt.js} +11 -11
  150. package/dist/chunks/{image-yngbnjdn.js → persistent-pty-fv78erfy.js} +14 -14
  151. package/dist/chunks/{image-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{image-tv9x8hxg.js → persistent-pty-g14qqa5m.js} +9 -9
  153. package/dist/chunks/{image-1z5mtsne.js → persistent-pty-g6vw9x20.js} +2 -2
  154. package/dist/chunks/{image-8dhatp37.js → persistent-pty-gcsw9js5.js} +2 -2
  155. package/dist/chunks/{image-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{image-5wmgxaxj.js → persistent-pty-gf6drbgy.js} +17 -17
  157. package/dist/chunks/{image-h79m35fy.js → persistent-pty-gg33va22.js} +16 -16
  158. package/dist/chunks/{image-7ac170kv.js → persistent-pty-gnx4ytbv.js} +4 -4
  159. package/dist/chunks/{image-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{image-yzvrqxqx.js → persistent-pty-gzyg5frm.js} +8 -8
  161. package/dist/chunks/{image-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{image-h6r3nrb9.js → persistent-pty-h6r3nrb9.js} +1 -1
  163. package/dist/chunks/{image-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{image-p5k166g4.js → persistent-pty-h7jbsx2h.js} +15 -15
  165. package/dist/chunks/{image-hdnk95c8.js → persistent-pty-hdnk95c8.js} +2 -2
  166. package/dist/chunks/{image-7sny0gx5.js → persistent-pty-hdw8tt72.js} +25 -25
  167. package/dist/chunks/{image-f270k846.js → persistent-pty-he5sq67e.js} +29 -29
  168. package/dist/chunks/{image-ssnhfp6a.js → persistent-pty-hsvhxp1c.js} +9 -9
  169. package/dist/chunks/{image-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  170. package/dist/chunks/{image-bpr49tj0.js → persistent-pty-j5sy72my.js} +14 -14
  171. package/dist/chunks/{image-pmr4s4kc.js → persistent-pty-j83byb14.js} +4 -4
  172. package/dist/chunks/{image-jxphv8sm.js → persistent-pty-j956qkgw.js} +23 -23
  173. package/dist/chunks/persistent-pty-jh3x0mgs.js +251 -0
  174. package/dist/chunks/{image-qbjqdxea.js → persistent-pty-jqw55cbk.js} +27 -27
  175. package/dist/chunks/{image-bjsxm6fs.js → persistent-pty-jz7vjy1b.js} +9 -9
  176. package/dist/chunks/{image-vzvpgcjq.js → persistent-pty-k7nyhs2p.js} +8 -8
  177. package/dist/chunks/{image-hwkbadth.js → persistent-pty-kayctt86.js} +6 -6
  178. package/dist/chunks/{image-sbs223z4.js → persistent-pty-kgv25dq2.js} +15 -15
  179. package/dist/chunks/{image-m55pfywp.js → persistent-pty-kr15r9j0.js} +4 -4
  180. package/dist/chunks/{image-bva47t1w.js → persistent-pty-ks9mcypz.js} +7 -7
  181. package/dist/chunks/{image-fvanntqq.js → persistent-pty-kxpygcw9.js} +6 -6
  182. package/dist/chunks/{image-010j0rjj.js → persistent-pty-m01mrk84.js} +4 -4
  183. package/dist/chunks/{image-m0jqrx5p.js → persistent-pty-m0jqrx5p.js} +2 -2
  184. package/dist/chunks/{image-b5f0xpv3.js → persistent-pty-m7n2arr4.js} +23 -23
  185. package/dist/chunks/{image-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{image-g190xswt.js → persistent-pty-magykp64.js} +4 -4
  187. package/dist/chunks/{image-t676541r.js → persistent-pty-mawyg7zm.js} +11 -11
  188. package/dist/chunks/{image-33w4ejhs.js → persistent-pty-mfqp6xfm.js} +9 -9
  189. package/dist/chunks/{image-d5g3wzfd.js → persistent-pty-mk55h7rv.js} +9 -9
  190. package/dist/chunks/{image-1bbkgx8g.js → persistent-pty-mvfsc1pv.js} +3 -3
  191. package/dist/chunks/{image-zt441g4g.js → persistent-pty-mzm91676.js} +18 -18
  192. package/dist/chunks/{image-waxe3yd1.js → persistent-pty-n6j2na38.js} +3 -3
  193. package/dist/chunks/{image-4w2yzhqg.js → persistent-pty-n9vsahr8.js} +4 -4
  194. package/dist/chunks/{image-j2vdbwsr.js → persistent-pty-napk2q6z.js} +4 -4
  195. package/dist/chunks/{image-fjvydvzm.js → persistent-pty-ndqtf2h8.js} +6 -6
  196. package/dist/chunks/{image-9mvt1ex4.js → persistent-pty-ngtvz82x.js} +8 -8
  197. package/dist/chunks/{image-man2vsb5.js → persistent-pty-nnxcy4dv.js} +16 -16
  198. package/dist/chunks/{image-5bny2dwb.js → persistent-pty-nwkxvrjh.js} +12 -12
  199. package/dist/chunks/{image-818pfwc9.js → persistent-pty-pb1eahw5.js} +8 -8
  200. package/dist/chunks/{image-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{image-x9afmtav.js → persistent-pty-pk7e3h3q.js} +33 -33
  202. package/dist/chunks/{image-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  203. package/dist/chunks/{image-3p19zrd2.js → persistent-pty-pnb9ns89.js} +80 -80
  204. package/dist/chunks/{image-ktwkz8s9.js → persistent-pty-py1dnmkf.js} +16 -16
  205. package/dist/chunks/{image-4jygvmvn.js → persistent-pty-q0w303rt.js} +35 -35
  206. package/dist/chunks/{image-nv2ksrja.js → persistent-pty-q163eq15.js} +10 -10
  207. package/dist/chunks/{image-j66pfzft.js → persistent-pty-q4mq6gzb.js} +5 -5
  208. package/dist/chunks/{image-jq1p61tn.js → persistent-pty-qcvkt5ys.js} +10 -10
  209. package/dist/chunks/{image-4a27vn7r.js → persistent-pty-qd7g4580.js} +17 -17
  210. package/dist/chunks/{image-7dqw4kz8.js → persistent-pty-qgn6gcr1.js} +5 -5
  211. package/dist/chunks/{image-1a4hyc8b.js → persistent-pty-qqkyq49c.js} +22 -22
  212. package/dist/chunks/{image-t0wbe1cv.js → persistent-pty-qqr71d1k.js} +4 -4
  213. package/dist/chunks/{image-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  214. package/dist/chunks/{image-ret12whd.js → persistent-pty-qsnd21jp.js} +1 -1
  215. package/dist/chunks/{image-vs59tkqa.js → persistent-pty-qyaww9ez.js} +8 -8
  216. package/dist/chunks/{image-qmh473g3.js → persistent-pty-r37qap0f.js} +26 -26
  217. package/dist/chunks/{image-cbbptew9.js → persistent-pty-r3hedab7.js} +9 -9
  218. package/dist/chunks/{image-x497tgc1.js → persistent-pty-r5fm14bv.js} +1 -1
  219. package/dist/chunks/{image-v6vfg88f.js → persistent-pty-r8jacvma.js} +11 -11
  220. package/dist/chunks/{image-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
  221. package/dist/chunks/{image-y2n85772.js → persistent-pty-rb223waz.js} +12 -12
  222. package/dist/chunks/{image-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{image-y8bs7pn1.js → persistent-pty-rgpm5swf.js} +25 -25
  224. package/dist/chunks/{image-r8xr0va3.js → persistent-pty-rhraev7y.js} +4 -4
  225. package/dist/chunks/persistent-pty-rjc8hf95.js +26 -0
  226. package/dist/chunks/{image-c76sny21.js → persistent-pty-rweh3sg7.js} +39 -39
  227. package/dist/chunks/{image-azxt8y52.js → persistent-pty-rwyftrqw.js} +15 -15
  228. package/dist/chunks/{image-n03aapsh.js → persistent-pty-ryphtns4.js} +43 -43
  229. package/dist/chunks/{image-8r48jvq9.js → persistent-pty-s4xyb5fw.js} +11 -11
  230. package/dist/chunks/{image-eeh91h1y.js → persistent-pty-s9gf5sr7.js} +14 -14
  231. package/dist/chunks/{image-1zqsf2j9.js → persistent-pty-sgwh5nyn.js} +8 -8
  232. package/dist/chunks/{image-6ya7w255.js → persistent-pty-shcrswgg.js} +6 -6
  233. package/dist/chunks/{image-k1m65rvn.js → persistent-pty-skmkmxp0.js} +2 -2
  234. package/dist/chunks/{image-dh976vjg.js → persistent-pty-smhn81zh.js} +18 -18
  235. package/dist/chunks/{image-ve1hctsm.js → persistent-pty-sv9chvdr.js} +23 -23
  236. package/dist/chunks/{image-jfqtm2ew.js → persistent-pty-t2fc4mz5.js} +4 -4
  237. package/dist/chunks/{image-dw06mjkt.js → persistent-pty-t2pnbfzy.js} +13 -13
  238. package/dist/chunks/{image-cacjtj5k.js → persistent-pty-t3sbk6vh.js} +5 -5
  239. package/dist/chunks/{image-2c0ya96f.js → persistent-pty-t6sne0kb.js} +8 -8
  240. package/dist/chunks/{image-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{image-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{image-3wctd9by.js → persistent-pty-tdgh5t2p.js} +16 -16
  243. package/dist/chunks/{image-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  244. package/dist/chunks/{image-enrjqv4h.js → persistent-pty-tejhb5zm.js} +17 -17
  245. package/dist/chunks/{image-t0fxg8b9.js → persistent-pty-tn0aqsam.js} +5 -5
  246. package/dist/chunks/{image-kbnc93aj.js → persistent-pty-tvq811ks.js} +3 -3
  247. package/dist/chunks/{image-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  248. package/dist/chunks/{image-87wkjvtv.js → persistent-pty-v623y87q.js} +19 -19
  249. package/dist/chunks/{image-dh6wvp2k.js → persistent-pty-v6jj17d0.js} +14 -14
  250. package/dist/chunks/{image-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  251. package/dist/chunks/{image-4vte9j2j.js → persistent-pty-vewj4445.js} +9 -9
  252. package/dist/chunks/{image-f5crtqgd.js → persistent-pty-vj9rsbtx.js} +109 -109
  253. package/dist/chunks/{image-v90b78v5.js → persistent-pty-vrgp73wa.js} +24 -24
  254. package/dist/chunks/{image-ey7m5wa6.js → persistent-pty-vsw1grft.js} +10 -10
  255. package/dist/chunks/{image-h5jfkxsw.js → persistent-pty-vsx7z4qv.js} +18 -18
  256. package/dist/chunks/{image-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{image-96dvqytq.js → persistent-pty-w38nqpbs.js} +24 -24
  258. package/dist/chunks/{image-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{image-c4qbqqm9.js → persistent-pty-wbfsxz0q.js} +8 -8
  260. package/dist/chunks/{image-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  261. package/dist/chunks/{image-c605ygk1.js → persistent-pty-wjh3v1jb.js} +47 -47
  262. package/dist/chunks/{image-w97vtpxb.js → persistent-pty-wpfxdaf4.js} +1 -1
  263. package/dist/chunks/{image-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{image-n4wre08x.js → persistent-pty-x45er773.js} +23 -23
  265. package/dist/chunks/{image-f2jvx8nr.js → persistent-pty-x5w67hdr.js} +3 -3
  266. package/dist/chunks/{image-cmra4ph4.js → persistent-pty-xcj7mwvd.js} +83 -83
  267. package/dist/chunks/{image-s7yhcq7p.js → persistent-pty-xk66p9py.js} +14 -14
  268. package/dist/chunks/{image-m5wgsj6n.js → persistent-pty-xvk71cdz.js} +2 -2
  269. package/dist/chunks/{image-hnbzzefg.js → persistent-pty-xxwh85ck.js} +22 -22
  270. package/dist/chunks/{image-v8g0avwf.js → persistent-pty-xznwr7ns.js} +9 -9
  271. package/dist/chunks/{image-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{image-a84h0eb3.js → persistent-pty-ya92ykk0.js} +27 -27
  273. package/dist/chunks/{image-ybhbtxjg.js → persistent-pty-ybhbtxjg.js} +3 -3
  274. package/dist/chunks/{image-ghtm10aa.js → persistent-pty-yhj4pxny.js} +6 -6
  275. package/dist/chunks/{image-yjptyezs.js → persistent-pty-yjptyezs.js} +2 -2
  276. package/dist/chunks/{image-hnakerc1.js → persistent-pty-yk4whm8q.js} +7 -7
  277. package/dist/chunks/{image-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{image-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
  279. package/dist/chunks/{image-tb6c5549.js → persistent-pty-yxfwmy22.js} +27 -27
  280. package/dist/chunks/{image-whzj9w6d.js → persistent-pty-yyw42t83.js} +13 -13
  281. package/dist/chunks/{image-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{image-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  283. package/dist/chunks/{image-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{image-fr9qgvrp.js → persistent-pty-zngsg18x.js} +36 -36
  285. package/dist/chunks/{image-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{image-cpce81tk.js → persistent-pty-zs6fhvxe.js} +13 -13
  287. package/dist/chunks/{image-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{image-ydv41jj4.js → persistent-pty-zyz1zm3y.js} +9 -9
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +80 -80
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +124 -124
  297. package/dist/config/plugin/command.js +213 -213
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +131 -131
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +121 -121
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +124 -124
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +123 -123
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +123 -123
  316. package/dist/config/plugin/worktree.js +125 -125
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +76 -76
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +365 -365
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +225 -225
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +13 -13
  426. package/dist/filesystem.js +105 -105
  427. package/dist/form.js +73 -73
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +99 -99
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +4 -4
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +356 -356
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +77 -77
  461. package/dist/job.js +76 -76
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +132 -132
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +353 -353
  468. package/dist/location.js +84 -84
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +107 -107
  471. package/dist/mcp/instructions.js +126 -126
  472. package/dist/mcp/oauth.js +74 -74
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +90 -90
  476. package/dist/model-resolver.js +98 -98
  477. package/dist/model.js +91 -91
  478. package/dist/models-dev.js +105 -105
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +75 -75
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +104 -104
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +85 -85
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +103 -103
  489. package/dist/plugin/command.js +100 -100
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +216 -216
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +327 -327
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +94 -94
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +4 -4
  498. package/dist/plugin/plan.js +101 -101
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +89 -89
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +89 -89
  516. package/dist/plugin/provider/llmgateway.js +89 -89
  517. package/dist/plugin/provider/lmstudio.js +121 -121
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +89 -89
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +121 -121
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +89 -89
  535. package/dist/plugin/provider.js +159 -159
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +138 -138
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +346 -346
  541. package/dist/plugin/update.js +4 -4
  542. package/dist/plugin/variant.js +91 -91
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +227 -227
  554. package/dist/project/schema.js +4 -4
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +90 -90
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +93 -93
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +90 -90
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +131 -131
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +220 -220
  578. package/dist/session/execution.js +126 -126
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +85 -85
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +76 -76
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +115 -115
  589. package/dist/session/model-transport.js +7 -7
  590. package/dist/session/move.js +130 -130
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +228 -228
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +98 -98
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +114 -114
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +1 -1
  605. package/dist/session/session.js +170 -170
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +111 -111
  616. package/dist/session/transfer.js +214 -214
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +137 -137
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +104 -104
  626. package/dist/skill.js +107 -107
  627. package/dist/snapshot.js +88 -88
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +125 -125
  632. package/dist/tool/plugin/edit.js +117 -117
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +119 -119
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +104 -104
  639. package/dist/tool/plugin/read.js +118 -118
  640. package/dist/tool/plugin/shell.js +216 -216
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +111 -111
  644. package/dist/tool/plugin/websearch.js +113 -113
  645. package/dist/tool/plugin/write.js +115 -115
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +15 -15
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +5 -5
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +2 -2
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +88 -88
  678. package/dist/websearch.js +83 -83
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +78 -78
  681. package/dist/workspace/driver.js +5 -5
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +75 -75
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +8 -8
  686. package/dist/worktree/refresh.js +345 -345
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree.js +89 -89
  689. package/package.json +8 -8
  690. package/dist/chunks/image-7gmd6s9f.js +0 -472
  691. package/dist/chunks/image-ae2tejpt.js +0 -251
  692. package/dist/chunks/image-kjz2ypmt.js +0 -26
  693. package/dist/chunks/image-qapv375x.js +0 -4
  694. package/dist/chunks/image-rap9a73h.js +0 -18
  695. /package/dist/chunks/{image-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{image-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{image-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{image-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{image-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{image-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{image-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{image-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{image-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{image-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  705. /package/dist/chunks/{image-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{image-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{image-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{image-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{image-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{image-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{image-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{image-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  713. /package/dist/chunks/{image-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{image-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{image-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  716. /package/dist/chunks/{image-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{image-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{image-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  719. /package/dist/chunks/{image-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{image-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{image-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  722. /package/dist/chunks/{image-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{image-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{image-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{image-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{image-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{image-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{image-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{image-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{image-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{image-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{image-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{image-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{image-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{image-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{image-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{image-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  738. /package/dist/chunks/{image-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{image-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{image-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{image-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{image-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{image-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{image-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{image-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{image-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{image-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{image-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{image-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{image-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  751. /package/dist/chunks/{image-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{image-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  753. /package/dist/chunks/{image-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{image-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  755. /package/dist/chunks/{image-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{image-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{image-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{image-jexxy024.js → persistent-pty-jexxy024.js} +0 -0
  759. /package/dist/chunks/{image-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{image-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{image-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{image-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{image-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{image-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{image-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{image-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{image-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{image-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{image-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{image-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{image-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{image-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{image-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{image-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{image-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{image-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{image-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{image-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{image-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{image-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{image-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{image-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  783. /package/dist/chunks/{image-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{image-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{image-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{image-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{image-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{image-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./image-88xbtdfr.js";
3
+ } from "./persistent-pty-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./image-5qd3pb7m.js";
6
+ } from "./persistent-pty-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./image-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event12,
14
+ Event: () => Event10,
15
15
  Native: () => Native3,
16
16
  Options: () => Options8,
17
- Service: () => Service52,
17
+ Service: () => Service49,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured9,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer21,
22
+ layer: () => layer19,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node57,
25
+ node: () => node53,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event12 = { Updated: FileSystem.Event.Changed };
36
+ var Event10 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service52 extends Context.Service()("@opencode/Watcher") {
60
+ class Service49 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
65
+ var layer19 = (options) => Layer.effect(Service49, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service52.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service49.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service52, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service52.of({ subscribe });
108
+ return Service49.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service52).subscribe,
134
+ subscribe: Context.get(context, Service49).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service52, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service49, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured9(options) {
168
- return makeGlobalNode({ service: Service52, layer: layer21(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service49, layer: layer19(options), deps: [nativeNode2] });
169
169
  }
170
- var node57 = configured9();
170
+ var node53 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event12, hasNativeBinding2, Native3, Options8, Service52, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured9, node57, exports_watcher };
190
+ export { Event10, hasNativeBinding2, Native3, Options8, Service49, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured7, node53, exports_watcher };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./image-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service51
7
- } from "./image-aj6515bh.js";
6
+ Service48
7
+ } from "./persistent-pty-ecvt32vq.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./image-2a5m3afh.js";
10
+ } from "./persistent-pty-2a5m3afh.js";
11
11
  import {
12
- Service54
13
- } from "./image-96dvqytq.js";
12
+ Service53
13
+ } from "./persistent-pty-w38nqpbs.js";
14
14
  import {
15
- Service62
16
- } from "./image-azxt8y52.js";
15
+ Service61
16
+ } from "./persistent-pty-rwyftrqw.js";
17
17
  import {
18
- Service63
19
- } from "./image-e1kg9vz0.js";
18
+ Service62
19
+ } from "./persistent-pty-f8x48a86.js";
20
20
  import {
21
- Service21,
21
+ Service15,
22
22
  resolvePath2
23
- } from "./image-h5jfkxsw.js";
23
+ } from "./persistent-pty-vsx7z4qv.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./image-fxbjtjnd.js";
29
+ } from "./persistent-pty-fxbjtjnd.js";
30
30
  import {
31
- Service56,
31
+ Service55,
32
32
  name15
33
- } from "./image-zbhf92rx.js";
33
+ } from "./persistent-pty-dmyqzcf7.js";
34
34
  import {
35
35
  NotFoundError7,
36
- Service48
37
- } from "./image-n03aapsh.js";
36
+ Service42
37
+ } from "./persistent-pty-ryphtns4.js";
38
38
  import {
39
- Service22
40
- } from "./image-cmra4ph4.js";
39
+ Service27
40
+ } from "./persistent-pty-xcj7mwvd.js";
41
41
  import {
42
42
  scan2
43
- } from "./image-fgjfhan0.js";
43
+ } from "./persistent-pty-6psyn72r.js";
44
44
  import {
45
45
  __export
46
- } from "./image-9rqn6x4v.js";
46
+ } from "./persistent-pty-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input10,
53
- Plugin: () => Plugin10,
54
- ShellTool: () => exports_shell,
55
- name: () => name10
52
+ Input: () => Input2,
53
+ Plugin: () => Plugin36,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name2
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name10 = "shell";
59
+ var name2 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input10 = Schema.Struct({
73
+ var Input2 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin10 = {
118
+ var Plugin36 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service22;
122
- const jobs = yield* Service62;
121
+ const sessions = yield* Service27;
122
+ const jobs = yield* Service61;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service54;
125
- const access = yield* Service21;
126
- const shell = yield* Service48;
127
- const shellSelect = yield* Service56;
124
+ const environment = yield* Service53;
125
+ const access = yield* Service15;
126
+ const shell = yield* Service42;
127
+ const shellSelect = yield* Service55;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service63;
130
- const config = yield* Service51;
129
+ const permission = yield* Service62;
130
+ const config = yield* Service48;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin10 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name10,
149
+ action: name2,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin10 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name10,
186
+ name: name2,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input10,
189
+ input: Input2,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name10,
222
+ type: name2,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name10];
252
+ const tool = event.tools[name2];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin10, exports_shell };
263
+ export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin36, exports_shell2 };
@@ -2,16 +2,16 @@ import {
2
2
  ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./image-zrpcnpdy.js";
5
+ } from "./persistent-pty-0ewnzcv7.js";
6
6
  import {
7
7
  ID12,
8
8
  VariantID2,
9
9
  Info26,
10
10
  compatibility2
11
- } from "./image-qnevtc5c.js";
11
+ } from "./persistent-pty-3ybepafv.js";
12
12
  import {
13
13
  __export
14
- } from "./image-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/modal/models.ts
17
17
  var exports_models = {};
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service81,
3
3
  node86
4
- } from "./image-fhtb1nxk.js";
4
+ } from "./persistent-pty-00ddz8r8.js";
5
5
  import {
6
6
  Service80,
7
7
  node85
8
- } from "./image-gse1qw90.js";
9
- import {
10
- Service62,
11
- node67
12
- } from "./image-azxt8y52.js";
8
+ } from "./persistent-pty-606maf0m.js";
13
9
  import {
14
10
  Service61,
15
11
  node66
16
- } from "./image-ebah8r6x.js";
12
+ } from "./persistent-pty-rwyftrqw.js";
13
+ import {
14
+ Service60,
15
+ node65
16
+ } from "./persistent-pty-4m2pmvxz.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./image-ec1grn59.js";
19
+ } from "./persistent-pty-ec1grn59.js";
20
20
  import {
21
- make18
22
- } from "./image-r8xr0va3.js";
21
+ make19
22
+ } from "./persistent-pty-rhraev7y.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service58
26
- } from "./image-afdssyjb.js";
25
+ Service57
26
+ } from "./persistent-pty-f73rjn58.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./image-ybhbtxjg.js";
29
+ } from "./persistent-pty-ybhbtxjg.js";
30
30
  import {
31
- Service65,
32
- node70
33
- } from "./image-bpr49tj0.js";
31
+ Service63,
32
+ node68
33
+ } from "./persistent-pty-j5sy72my.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./image-ggv97vhn.js";
36
+ } from "./persistent-pty-eyx2h93p.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./image-sssgmf7d.js";
39
+ } from "./persistent-pty-128k6fv0.js";
40
40
  import {
41
41
  __export
42
- } from "./image-9rqn6x4v.js";
42
+ } from "./persistent-pty-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service57,
47
+ Service: () => Service56,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer22,
50
- node: () => node63,
49
+ layer: () => layer21,
50
+ node: () => node62,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service57 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service56 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer22 = Layer.effect(Service57, Effect.gen(function* () {
69
- const store = yield* Service65;
70
- const instances = yield* Service61;
68
+ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
69
+ const store = yield* Service63;
70
+ const instances = yield* Service60;
71
71
  const bus = yield* Service80;
72
- const jobs = yield* Service62;
72
+ const jobs = yield* Service61;
73
73
  const db = (yield* Service81).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service58.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service57.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make18({
91
+ const coordinator = yield* make19({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service57.of({
112
+ return Service56.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer22 = Layer.effect(Service57, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node63 = makeGlobalNode({
132
- service: Service57,
133
- layer: layer22,
134
- deps: [node70, node66, node85, node86, node67]
131
+ var node62 = makeGlobalNode({
132
+ service: Service56,
133
+ layer: layer21,
134
+ deps: [node68, node65, node85, node86, node66]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service57, Service57.of({
136
+ var noopLayer3 = Layer.succeed(Service56, Service56.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service57, Service57.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service57, terminal2, layer22, node63, noopLayer3, exports_execution };
145
+ export { Service56, terminal2, layer21, node62, noopLayer3, exports_execution };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./image-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
- Service77,
6
- node82
7
- } from "./image-7jm5jzq7.js";
5
+ Service76,
6
+ node81
7
+ } from "./persistent-pty-93354nf3.js";
8
8
  import {
9
- Service43,
10
- node48
11
- } from "./image-dh976vjg.js";
9
+ Service23,
10
+ node27
11
+ } from "./persistent-pty-smhn81zh.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./image-tcezcvh9.js";
15
+ } from "./persistent-pty-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./image-9rqn6x4v.js";
18
+ } from "./persistent-pty-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options4,
25
- Service: () => Service42,
26
- configured: () => configured5,
24
+ Options: () => Options2,
25
+ Service: () => Service22,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer16,
29
- node: () => node47,
28
+ layer: () => layer9,
29
+ node: () => node26,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options4 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service42 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service22 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service42, Effect.gen(function* () {
62
- const location = yield* Service77;
63
- const ripgrep = yield* Service43;
61
+ var ripgrepLayer2 = Layer.effect(Service22, Effect.gen(function* () {
62
+ const location = yield* Service76;
63
+ const ripgrep = yield* Service23;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service42, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service42.of({
108
+ return Service22.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service42, Effect.gen(function* () {
116
- const location = yield* Service77;
115
+ var fffLayer2 = Layer.effect(Service22, Effect.gen(function* () {
116
+ const location = yield* Service76;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service42, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service42.of({
129
+ return Service22.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service42.of({
134
+ return Service22.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service42, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer16 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service77;
177
+ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service76;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured5(options) {
186
- return makeLocationNode({ service: Service42, layer: layer16(options), deps: [node82, node48] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service22, layer: layer9(options), deps: [node81, node27] });
187
187
  }
188
- var node47 = configured5();
188
+ var node26 = configured2();
189
189
 
190
- export { Options4, Service42, ripgrepLayer2, fffLayer2, layer16, configured5, node47, exports_search };
190
+ export { Options2, Service22, ripgrepLayer2, fffLayer2, layer9, configured2, node26, exports_search };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-5k2nshkd.js";
3
+ } from "./persistent-pty-2ewtncz9.js";
4
4
  import {
5
5
  call2
6
- } from "./image-33w4ejhs.js";
6
+ } from "./persistent-pty-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./image-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin21,
14
+ Plugin: () => Plugin30,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
16
  endpoint: () => endpoint5
17
17
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin21 = define({
36
+ var Plugin30 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -73,4 +73,4 @@ var Plugin21 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint5, Plugin21, exports_tinyfish };
76
+ export { endpoint5, Plugin30, exports_tinyfish };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-5k2nshkd.js";
3
+ } from "./persistent-pty-2ewtncz9.js";
4
4
  import {
5
5
  Service80
6
- } from "./image-gse1qw90.js";
6
+ } from "./persistent-pty-606maf0m.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20,
9
+ Event19,
10
10
  Service75
11
- } from "./image-man2vsb5.js";
11
+ } from "./persistent-pty-nnxcy4dv.js";
12
12
  import {
13
13
  ID14,
14
14
  MethodID2,
15
15
  Service73
16
- } from "./image-dt0jwwwa.js";
16
+ } from "./persistent-pty-fjr2n3hs.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./image-pjvnvgmy.js";
20
+ } from "./persistent-pty-pjvnvgmy.js";
21
21
  import {
22
22
  ID13
23
- } from "./image-zrpcnpdy.js";
23
+ } from "./persistent-pty-0ewnzcv7.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./image-j5rjq302.js";
26
+ } from "./persistent-pty-4kynjgmh.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)