@opencode/core 0.0.0-dev-19980 → 0.0.0-dev-19981

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 (799) 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/{image-b7vxzd00.js → persistent-pty-00ax65t0.js} +22 -22
  8. package/dist/chunks/{image-jgphgq4c.js → persistent-pty-045s5zgt.js} +17 -17
  9. package/dist/chunks/{image-q6987mhm.js → persistent-pty-0et7a6mm.js} +8 -8
  10. package/dist/chunks/{image-1p777yzk.js → persistent-pty-0gdmfj29.js} +3 -3
  11. package/dist/chunks/{image-h71w788e.js → persistent-pty-0jq9fyba.js} +9 -9
  12. package/dist/chunks/persistent-pty-0mesazry.js +4 -0
  13. package/dist/chunks/{image-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{image-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{image-f1mk6bf8.js → persistent-pty-0sk4n78x.js} +20 -20
  16. package/dist/chunks/{image-da04j4wp.js → persistent-pty-189jkc9d.js} +1 -1
  17. package/dist/chunks/{image-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{image-8q97c4qx.js → persistent-pty-1fd2gft5.js} +18 -18
  19. package/dist/chunks/{image-8amz8bne.js → persistent-pty-1tmvx3cs.js} +8 -8
  20. package/dist/chunks/{image-56gdpj1q.js → persistent-pty-1ygqh575.js} +9 -9
  21. package/dist/chunks/{image-yw90mp9f.js → persistent-pty-1z3fhpx8.js} +8 -8
  22. package/dist/chunks/{image-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  23. package/dist/chunks/{image-4f78qh5z.js → persistent-pty-22keffh1.js} +1 -1
  24. package/dist/chunks/{image-fszct94a.js → persistent-pty-26njax6j.js} +28 -28
  25. package/dist/chunks/{image-jjh1sx51.js → persistent-pty-28qz5v8e.js} +90 -90
  26. package/dist/chunks/{image-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
  27. package/dist/chunks/{image-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{image-rph3zd4r.js → persistent-pty-2d57kztd.js} +4 -4
  29. package/dist/chunks/{image-57ez7d0k.js → persistent-pty-2fgn2we9.js} +9 -9
  30. package/dist/chunks/{image-j0s3g23c.js → persistent-pty-39gs27gn.js} +43 -43
  31. package/dist/chunks/{image-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{image-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{image-t9zs3egg.js → persistent-pty-3j8sdtpz.js} +4 -4
  34. package/dist/chunks/{image-dks483fm.js → persistent-pty-3kf9cyx9.js} +15 -15
  35. package/dist/chunks/{image-ewnwpw42.js → persistent-pty-3mhj610p.js} +6 -6
  36. package/dist/chunks/{image-bxn1favr.js → persistent-pty-3ra5rr95.js} +19 -19
  37. package/dist/chunks/{image-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{image-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{image-wzhg77bf.js → persistent-pty-3vw9y35t.js} +13 -13
  40. package/dist/chunks/{image-3zzqeb10.js → persistent-pty-3xsfpvq0.js} +23 -23
  41. package/dist/chunks/persistent-pty-43zmxdyv.js +503 -0
  42. package/dist/chunks/{image-9v8rdtx4.js → persistent-pty-47gj1eem.js} +32 -32
  43. package/dist/chunks/{image-vjd497wd.js → persistent-pty-4aztedzn.js} +6 -6
  44. package/dist/chunks/{image-2ecyw19n.js → persistent-pty-4v16j8nk.js} +1 -1
  45. package/dist/chunks/{image-kcthsb80.js → persistent-pty-4xc2xt5t.js} +2 -2
  46. package/dist/chunks/{image-mw934p8z.js → persistent-pty-4xxxtaen.js} +8 -8
  47. package/dist/chunks/{image-qr63x0b2.js → persistent-pty-584b7awg.js} +12 -12
  48. package/dist/chunks/{image-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  49. package/dist/chunks/{image-54bn4mc1.js → persistent-pty-5dcqe31d.js} +20 -20
  50. package/dist/chunks/{image-dq0v80fr.js → persistent-pty-5f90fjb2.js} +12 -12
  51. package/dist/chunks/{image-63k3xm2x.js → persistent-pty-5hj9waw1.js} +11 -11
  52. package/dist/chunks/{image-pbeyzs5a.js → persistent-pty-5kntwy7m.js} +11 -11
  53. package/dist/chunks/{image-pqkzp7xy.js → persistent-pty-5mknq4wh.js} +22 -22
  54. package/dist/chunks/{image-y5cwy1mn.js → persistent-pty-5nnytrr6.js} +20 -20
  55. package/dist/chunks/{image-nfd0y60j.js → persistent-pty-5qdhd6wd.js} +4 -4
  56. package/dist/chunks/{image-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  57. package/dist/chunks/{image-06dxphr1.js → persistent-pty-64kphnzf.js} +4 -4
  58. package/dist/chunks/{image-3czpn3qn.js → persistent-pty-65tm5yk1.js} +13 -13
  59. package/dist/chunks/{image-669tq793.js → persistent-pty-669tq793.js} +1 -1
  60. package/dist/chunks/{image-w5mxr70m.js → persistent-pty-675cvrxf.js} +18 -18
  61. package/dist/chunks/{image-2402vzrj.js → persistent-pty-6h73sxmp.js} +5 -5
  62. package/dist/chunks/{image-k3bjx84w.js → persistent-pty-6js1jt2x.js} +26 -26
  63. package/dist/chunks/{image-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  64. package/dist/chunks/{image-ybhbtxjg.js → persistent-pty-6z3bcrm7.js} +9 -9
  65. package/dist/chunks/{image-ez5vjv5r.js → persistent-pty-740qj6em.js} +18 -18
  66. package/dist/chunks/{image-pk5pky18.js → persistent-pty-7935fwzs.js} +9 -9
  67. package/dist/chunks/{image-m5sx7axb.js → persistent-pty-7aahv9qn.js} +15 -15
  68. package/dist/chunks/{image-4zg565fq.js → persistent-pty-7aqdbf5b.js} +6 -6
  69. package/dist/chunks/{image-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{image-kegkdhgs.js → persistent-pty-7cpynay4.js} +6 -6
  71. package/dist/chunks/{image-vca968f4.js → persistent-pty-7ewmpmc7.js} +17 -17
  72. package/dist/chunks/{image-m4g8hchv.js → persistent-pty-7eztrc44.js} +24 -24
  73. package/dist/chunks/{image-v61m3kz8.js → persistent-pty-7ga2fv62.js} +3 -3
  74. package/dist/chunks/{image-q76hwhyd.js → persistent-pty-7pach1zh.js} +69 -69
  75. package/dist/chunks/{image-fk9y4tca.js → persistent-pty-7st6acyk.js} +11 -11
  76. package/dist/chunks/{image-svndcwjb.js → persistent-pty-7szz8ecw.js} +4 -4
  77. package/dist/chunks/{image-y67gsgy6.js → persistent-pty-7z7az0f5.js} +4 -4
  78. package/dist/chunks/{image-vtt0yr3x.js → persistent-pty-7zx1qa5e.js} +13 -13
  79. package/dist/chunks/persistent-pty-806pcn4t.js +252 -0
  80. package/dist/chunks/{image-mzvzs703.js → persistent-pty-81ydyt9n.js} +12 -12
  81. package/dist/chunks/{image-nxvwfbqw.js → persistent-pty-81ygbb57.js} +16 -16
  82. package/dist/chunks/{image-2qp6v2hr.js → persistent-pty-85w0g9jn.js} +14 -14
  83. package/dist/chunks/{image-1g4xhxjj.js → persistent-pty-86eq1ywt.js} +2 -2
  84. package/dist/chunks/{image-m75y8t9z.js → persistent-pty-8cp1dt4b.js} +11 -11
  85. package/dist/chunks/{image-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{image-k9je938h.js → persistent-pty-8f6cy3pb.js} +5 -5
  87. package/dist/chunks/{image-q48kqk1f.js → persistent-pty-8fyvcw1c.js} +22 -22
  88. package/dist/chunks/{image-0ycnesgx.js → persistent-pty-8hfr5z8m.js} +12 -12
  89. package/dist/chunks/{image-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{image-6qr3rp4k.js → persistent-pty-8qh6anns.js} +6 -6
  91. package/dist/chunks/{image-k10ne33k.js → persistent-pty-8wgyvxqj.js} +10 -10
  92. package/dist/chunks/{image-0prpgk1a.js → persistent-pty-8xnn2f25.js} +14 -14
  93. package/dist/chunks/{image-bh0zzf2s.js → persistent-pty-91p1v22t.js} +8 -8
  94. package/dist/chunks/{image-05gpsf12.js → persistent-pty-98krwt3q.js} +11 -11
  95. package/dist/chunks/{image-am57wf4j.js → persistent-pty-99a88f08.js} +13 -13
  96. package/dist/chunks/{image-07c0thcw.js → persistent-pty-99yv1vdm.js} +10 -10
  97. package/dist/chunks/{image-mrf3tvpv.js → persistent-pty-9c6vz8r3.js} +4 -4
  98. package/dist/chunks/{image-v5w4drkp.js → persistent-pty-9gwgf8zn.js} +34 -34
  99. package/dist/chunks/{image-9z4sf5tv.js → persistent-pty-9kt7wf3c.js} +11 -11
  100. package/dist/chunks/{image-27ja88b0.js → persistent-pty-9y73z4qs.js} +27 -27
  101. package/dist/chunks/{image-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{image-td8zhrgj.js → persistent-pty-a1gwwkre.js} +43 -43
  103. package/dist/chunks/{image-rt2wbeb5.js → persistent-pty-a32n2gyw.js} +14 -14
  104. package/dist/chunks/{image-7keqm5b0.js → persistent-pty-a379gdqz.js} +13 -13
  105. package/dist/chunks/{image-924007vm.js → persistent-pty-a6t3kjdk.js} +38 -38
  106. package/dist/chunks/{image-z6mts4vt.js → persistent-pty-a70ewb2f.js} +5 -5
  107. package/dist/chunks/{image-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  108. package/dist/chunks/{image-n4r3xatb.js → persistent-pty-ag4rn41e.js} +4 -4
  109. package/dist/chunks/{image-258eh3rs.js → persistent-pty-b0vbrmb4.js} +26 -26
  110. package/dist/chunks/{image-zg7entxf.js → persistent-pty-b33g5v9z.js} +23 -23
  111. package/dist/chunks/{image-fs95rcxk.js → persistent-pty-b5re83s5.js} +11 -10
  112. package/dist/chunks/{image-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{image-1mp28asa.js → persistent-pty-bhnbjyag.js} +2 -2
  114. package/dist/chunks/{image-a1xw1hxv.js → persistent-pty-bt8eheyv.js} +19 -19
  115. package/dist/chunks/{image-ge4xn9w4.js → persistent-pty-byhr62qm.js} +9 -9
  116. package/dist/chunks/{image-mwwcrz95.js → persistent-pty-c4qm6hzm.js} +16 -16
  117. package/dist/chunks/{image-q7pthab0.js → persistent-pty-c7cwys1z.js} +32 -32
  118. package/dist/chunks/{image-vz7gk3jz.js → persistent-pty-c8gzcaps.js} +8 -8
  119. package/dist/chunks/{image-yf40p56a.js → persistent-pty-cbdc55tj.js} +27 -27
  120. package/dist/chunks/{image-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
  121. package/dist/chunks/{image-4jv7e9dq.js → persistent-pty-cmbqfntm.js} +7 -7
  122. package/dist/chunks/{image-cq37gk0t.js → persistent-pty-cq37gk0t.js} +4 -4
  123. package/dist/chunks/{image-c765mh8b.js → persistent-pty-d4he2qe1.js} +9 -9
  124. package/dist/chunks/{image-0dgp5q1e.js → persistent-pty-d7mmen8h.js} +17 -17
  125. package/dist/chunks/{image-vdptz04f.js → persistent-pty-d7r387ef.js} +6 -6
  126. package/dist/chunks/{image-3cfzdc8e.js → persistent-pty-d87ppnb3.js} +5 -5
  127. package/dist/chunks/{image-e2mq9brg.js → persistent-pty-d8mytp2v.js} +9 -9
  128. package/dist/chunks/{image-y1y68vac.js → persistent-pty-dekpyqan.js} +40 -40
  129. package/dist/chunks/{image-rjmpe8me.js → persistent-pty-dty6pce2.js} +26 -26
  130. package/dist/chunks/{image-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{image-7ykqzwhp.js → persistent-pty-e7ff08ah.js} +89 -89
  132. package/dist/chunks/{image-p44d8wdy.js → persistent-pty-ead3g9p8.js} +5 -5
  133. package/dist/chunks/{image-x619ew4b.js → persistent-pty-ebpytsbd.js} +47 -47
  134. package/dist/chunks/{image-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{image-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
  136. package/dist/chunks/{image-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{image-cpwmg3pe.js → persistent-pty-ezpgfgdn.js} +9 -9
  138. package/dist/chunks/{image-ca50vwce.js → persistent-pty-f22gk9j9.js} +280 -280
  139. package/dist/chunks/{image-x2d9qy7d.js → persistent-pty-f62qkzqr.js} +5 -5
  140. package/dist/chunks/{image-rkjvxk6f.js → persistent-pty-f71akrxj.js} +8 -8
  141. package/dist/chunks/{image-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
  142. package/dist/chunks/{image-2k8khapm.js → persistent-pty-fcrkznn8.js} +5 -5
  143. package/dist/chunks/{image-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{image-711fd8qe.js → persistent-pty-fy2vv4qy.js} +16 -16
  145. package/dist/chunks/{image-a3r4dcrj.js → persistent-pty-g2yz86wh.js} +2 -2
  146. package/dist/chunks/{image-xc3aj2tv.js → persistent-pty-g9tzs1c7.js} +16 -16
  147. package/dist/chunks/{image-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{image-7s29d9w5.js → persistent-pty-ghntyqza.js} +11 -11
  149. package/dist/chunks/{image-n7vpp5gh.js → persistent-pty-gjk270n1.js} +16 -16
  150. package/dist/chunks/{image-avnk1s6b.js → persistent-pty-gnkgm067.js} +38 -38
  151. package/dist/chunks/{image-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{image-f5gy8qwh.js → persistent-pty-h2zrj56v.js} +8 -8
  153. package/dist/chunks/{image-3mtz8sw0.js → persistent-pty-h4h5c8th.js} +43 -43
  154. package/dist/chunks/{image-h6r3nrb9.js → persistent-pty-h6r3nrb9.js} +1 -1
  155. package/dist/chunks/{image-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{image-xzz5rq5j.js → persistent-pty-h8bam43x.js} +11 -11
  157. package/dist/chunks/{image-fxxz233w.js → persistent-pty-h8sqqrf3.js} +33 -33
  158. package/dist/chunks/{image-j6nsp1g7.js → persistent-pty-hd0qsb0v.js} +10 -10
  159. package/dist/chunks/{image-ssymvbyj.js → persistent-pty-hevvszjq.js} +4 -4
  160. package/dist/chunks/{image-s2c8f4b2.js → persistent-pty-hzssqh1d.js} +43 -43
  161. package/dist/chunks/{image-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  162. package/dist/chunks/{image-1r56tgej.js → persistent-pty-j67awtyy.js} +3 -3
  163. package/dist/chunks/{image-g8jasmdt.js → persistent-pty-j6e693f4.js} +11 -11
  164. package/dist/chunks/{image-srpf5ert.js → persistent-pty-j8pax9gn.js} +53 -53
  165. package/dist/chunks/{image-esh8cnfr.js → persistent-pty-ja95a0kh.js} +24 -24
  166. package/dist/chunks/{image-p2safxe9.js → persistent-pty-jar2n8ad.js} +28 -28
  167. package/dist/chunks/{image-2z66ez54.js → persistent-pty-jc3qcwgj.js} +30 -30
  168. package/dist/chunks/{image-a2ew8a62.js → persistent-pty-jfqtm2ew.js} +4 -4
  169. package/dist/chunks/{image-20bz03sg.js → persistent-pty-jmkpg1tv.js} +1 -1
  170. package/dist/chunks/{image-akgf0bfp.js → persistent-pty-jn2czc9p.js} +3 -3
  171. package/dist/chunks/{image-685dn0bf.js → persistent-pty-jv106vc1.js} +20 -20
  172. package/dist/chunks/{image-k1gkpfdk.js → persistent-pty-k1gkpfdk.js} +1 -1
  173. package/dist/chunks/{image-87hh84yj.js → persistent-pty-k252d6tw.js} +36 -36
  174. package/dist/chunks/{image-0rt1aerz.js → persistent-pty-kc43h6j1.js} +3 -3
  175. package/dist/chunks/{image-epn0ecpn.js → persistent-pty-kee9v82x.js} +13 -13
  176. package/dist/chunks/{image-s6pmxk2t.js → persistent-pty-ktz5apky.js} +22 -22
  177. package/dist/chunks/{image-rbxccrva.js → persistent-pty-kxn0m7ef.js} +24 -24
  178. package/dist/chunks/{image-0j14ft90.js → persistent-pty-m0gz42vg.js} +35 -35
  179. package/dist/chunks/{image-be95997k.js → persistent-pty-m2px8ay3.js} +21 -21
  180. package/dist/chunks/{image-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{image-8k5gf81b.js → persistent-pty-m3n5d3yw.js} +4 -4
  182. package/dist/chunks/{image-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{image-bn5j2yqa.js → persistent-pty-mehmtrpt.js} +19 -19
  184. package/dist/chunks/{image-7yh4e7ss.js → persistent-pty-mhkvc446.js} +3 -3
  185. package/dist/chunks/{image-5cne5ndx.js → persistent-pty-mm7h7sr7.js} +17 -17
  186. package/dist/chunks/{image-k9kj6xed.js → persistent-pty-mmr7bq34.js} +4 -4
  187. package/dist/chunks/{image-8rq63sxk.js → persistent-pty-mp87qz32.js} +10 -10
  188. package/dist/chunks/{image-99ez1wmd.js → persistent-pty-mrm42v82.js} +12 -12
  189. package/dist/chunks/{image-ycjb11n5.js → persistent-pty-mrvjcs5x.js} +6 -6
  190. package/dist/chunks/{image-yt08wtf4.js → persistent-pty-mvm6yp9j.js} +8 -8
  191. package/dist/chunks/{image-ha494qqn.js → persistent-pty-mwzsbcbf.js} +10 -10
  192. package/dist/chunks/{image-c4spbmd0.js → persistent-pty-n9fty5ck.js} +9 -9
  193. package/dist/chunks/{image-yvkb8a00.js → persistent-pty-nf01b4ny.js} +1 -1
  194. package/dist/chunks/{image-xd9b4v3d.js → persistent-pty-ngc2191d.js} +52 -52
  195. package/dist/chunks/{image-8d0p2m37.js → persistent-pty-nkgdvn7z.js} +8 -8
  196. package/dist/chunks/{image-3wcgcbs7.js → persistent-pty-nmzynm19.js} +1 -1
  197. package/dist/chunks/{image-9a912s85.js → persistent-pty-nq7qbqzc.js} +9 -9
  198. package/dist/chunks/{image-dmt7f73j.js → persistent-pty-nttf9wpn.js} +27 -27
  199. package/dist/chunks/{image-rhraev7y.js → persistent-pty-nxer0yad.js} +4 -4
  200. package/dist/chunks/{image-k3c624dm.js → persistent-pty-nzks3jc8.js} +3 -3
  201. package/dist/chunks/{image-pxcdjykh.js → persistent-pty-p1h117cf.js} +41 -41
  202. package/dist/chunks/{image-qte5z7bc.js → persistent-pty-p1nm93x7.js} +5 -5
  203. package/dist/chunks/{image-p28j5sbe.js → persistent-pty-p28j5sbe.js} +2 -2
  204. package/dist/chunks/{image-cmwkp3r5.js → persistent-pty-p37cw4rj.js} +8 -8
  205. package/dist/chunks/{image-aqdzxp4b.js → persistent-pty-p3yqgy1f.js} +2 -2
  206. package/dist/chunks/{image-pb6gttg3.js → persistent-pty-p7sz26rr.js} +137 -137
  207. package/dist/chunks/{image-bweh8ah2.js → persistent-pty-p9rwa85v.js} +24 -24
  208. package/dist/chunks/{image-37nrty6j.js → persistent-pty-peg4cznj.js} +29 -29
  209. package/dist/chunks/{image-aj20rtze.js → persistent-pty-pg06qq32.js} +28 -28
  210. package/dist/chunks/{image-4ynrtxxp.js → persistent-pty-phcgjfvp.js} +18 -18
  211. package/dist/chunks/{image-wpn23xhs.js → persistent-pty-pjv150s7.js} +22 -22
  212. package/dist/chunks/{image-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{image-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  214. package/dist/chunks/{image-vqxgvby4.js → persistent-pty-pq7b6aj3.js} +13 -13
  215. package/dist/chunks/{image-7p82tnfq.js → persistent-pty-q8gd89mn.js} +12 -12
  216. package/dist/chunks/{image-j1e45ces.js → persistent-pty-qasfmn61.js} +11 -11
  217. package/dist/chunks/{image-9gbcws29.js → persistent-pty-qc6v7e8r.js} +29 -29
  218. package/dist/chunks/persistent-pty-qdyb70sk.js +18 -0
  219. package/dist/chunks/{image-q14p6249.js → persistent-pty-qejk2hns.js} +24 -24
  220. package/dist/chunks/{image-d0tq9cv2.js → persistent-pty-qetnz3qf.js} +7 -7
  221. package/dist/chunks/{image-xfkkasph.js → persistent-pty-qqeeq2t9.js} +7 -7
  222. package/dist/chunks/{image-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  223. package/dist/chunks/{image-tk2v6jy0.js → persistent-pty-r2e87s7e.js} +8 -8
  224. package/dist/chunks/{image-b340zwh0.js → persistent-pty-r5eg2mbx.js} +3 -3
  225. package/dist/chunks/{image-wc0bvx5m.js → persistent-pty-r5wczv23.js} +31 -31
  226. package/dist/chunks/{image-c2a7rk0z.js → persistent-pty-r7dcqyc4.js} +10 -10
  227. package/dist/chunks/{image-1vz5jmkc.js → persistent-pty-rawmkaew.js} +21 -21
  228. package/dist/chunks/{image-a5r96ac9.js → persistent-pty-rd4v8kr9.js} +4 -4
  229. package/dist/chunks/{image-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{image-rhjbct0v.js → persistent-pty-rhjbct0v.js} +1 -1
  231. package/dist/chunks/{image-p7h92fkb.js → persistent-pty-rjhv0x2x.js} +10 -10
  232. package/dist/chunks/{image-t9kz1x1h.js → persistent-pty-rmc194cy.js} +18 -18
  233. package/dist/chunks/{image-5zd6wf7y.js → persistent-pty-s0qgnfzw.js} +3 -3
  234. package/dist/chunks/{image-yrznvahk.js → persistent-pty-s4enseaf.js} +2 -2
  235. package/dist/chunks/{image-cavr175a.js → persistent-pty-s8j6jbjj.js} +21 -21
  236. package/dist/chunks/{image-anf0zms1.js → persistent-pty-scv7p57g.js} +9 -9
  237. package/dist/chunks/{image-z0tsxkyk.js → persistent-pty-sp0hs84w.js} +30 -30
  238. package/dist/chunks/{image-afkq326b.js → persistent-pty-sqsf5w9p.js} +22 -22
  239. package/dist/chunks/{image-s3eg3ev4.js → persistent-pty-t6q9b2zv.js} +28 -28
  240. package/dist/chunks/{image-n8yas6hm.js → persistent-pty-tapvjybg.js} +24 -24
  241. package/dist/chunks/{image-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{image-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{image-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  244. package/dist/chunks/{image-5vq0tvj0.js → persistent-pty-th7zbfdx.js} +30 -30
  245. package/dist/chunks/{image-p84br5ek.js → persistent-pty-tkcxk75v.js} +20 -20
  246. package/dist/chunks/{image-6y7njhkw.js → persistent-pty-tkst0gkj.js} +15 -15
  247. package/dist/chunks/{image-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  248. package/dist/chunks/{image-rkrpaeh8.js → persistent-pty-v41623e8.js} +27 -27
  249. package/dist/chunks/{image-kkp8zx71.js → persistent-pty-vbfgae2j.js} +4 -4
  250. package/dist/chunks/{image-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  251. package/dist/chunks/{image-78ys8twf.js → persistent-pty-vx8qjqqy.js} +9 -9
  252. package/dist/chunks/{image-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{image-2aatxa3a.js → persistent-pty-w22d05gm.js} +40 -40
  254. package/dist/chunks/{image-vk0va4ns.js → persistent-pty-w24sfk5b.js} +7 -7
  255. package/dist/chunks/{image-ynaet6wx.js → persistent-pty-w2xfqmzm.js} +9 -9
  256. package/dist/chunks/{image-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{image-rt7k8aak.js → persistent-pty-w6h4kwe3.js} +11 -11
  258. package/dist/chunks/{image-kbt3g993.js → persistent-pty-wd30r3h7.js} +13 -13
  259. package/dist/chunks/{image-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  260. package/dist/chunks/{image-w5wffpen.js → persistent-pty-wjyv1427.js} +14 -14
  261. package/dist/chunks/{image-7spjs9pk.js → persistent-pty-wn7f7h9x.js} +11 -11
  262. package/dist/chunks/{image-1cfb3ja4.js → persistent-pty-wr7ps67x.js} +5 -5
  263. package/dist/chunks/{image-6zc2866c.js → persistent-pty-wy6hpy23.js} +13 -13
  264. package/dist/chunks/{image-bz85s9hh.js → persistent-pty-wy8b5sm2.js} +1 -1
  265. package/dist/chunks/{image-rj372e5a.js → persistent-pty-x1bw9y7f.js} +4 -4
  266. package/dist/chunks/{image-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{image-7mzy6mfq.js → persistent-pty-x2a9gtha.js} +6 -6
  268. package/dist/chunks/{image-x4det15z.js → persistent-pty-x2g3fynt.js} +33 -33
  269. package/dist/chunks/{image-dz8x4rxg.js → persistent-pty-x9mtwtp0.js} +4 -4
  270. package/dist/chunks/{image-1gs8am01.js → persistent-pty-xefnkfpr.js} +32 -32
  271. package/dist/chunks/{image-77fp0bkd.js → persistent-pty-xk77aqwy.js} +5 -5
  272. package/dist/chunks/{image-jexxy024.js → persistent-pty-xkhfjrgz.js} +2 -2
  273. package/dist/chunks/{image-jn9ad7eq.js → persistent-pty-xvjd5qxe.js} +32 -32
  274. package/dist/chunks/{image-yaggd45v.js → persistent-pty-xwfq1nez.js} +14 -14
  275. package/dist/chunks/{image-7s23vsdb.js → persistent-pty-xwfr1kp3.js} +1 -1
  276. package/dist/chunks/{image-09e552k5.js → persistent-pty-xwt1kq35.js} +11 -11
  277. package/dist/chunks/{image-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  278. package/dist/chunks/{image-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
  279. package/dist/chunks/{image-spdtkray.js → persistent-pty-yf57fzwh.js} +26 -26
  280. package/dist/chunks/{image-krva6jg1.js → persistent-pty-yff54yer.js} +15 -15
  281. package/dist/chunks/{image-gzqc0pvr.js → persistent-pty-ygrvwp4d.js} +14 -14
  282. package/dist/chunks/{image-9mwyz73n.js → persistent-pty-yqdpmpyv.js} +3 -3
  283. package/dist/chunks/{image-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  284. package/dist/chunks/{image-w9sh5ge5.js → persistent-pty-ys0rvgwx.js} +24 -24
  285. package/dist/chunks/{image-q4mfxxsm.js → persistent-pty-ysckq8n5.js} +9 -9
  286. package/dist/chunks/{image-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  287. package/dist/chunks/persistent-pty-z2s8v20b.js +26 -0
  288. package/dist/chunks/{image-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{image-a4rx6ejt.js → persistent-pty-zpwvqkne.js} +25 -25
  290. package/dist/chunks/{image-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{image-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +78 -78
  297. package/dist/config/discovery.js +81 -81
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +105 -105
  300. package/dist/config/plugin/agent.js +124 -124
  301. package/dist/config/plugin/command.js +213 -213
  302. package/dist/config/plugin/compaction.js +161 -161
  303. package/dist/config/plugin/compatibility.js +140 -140
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +123 -123
  306. package/dist/config/plugin/image.js +122 -122
  307. package/dist/config/plugin/instruction.js +89 -89
  308. package/dist/config/plugin/location-watcher.js +122 -122
  309. package/dist/config/plugin/mcp.js +131 -131
  310. package/dist/config/plugin/policy.js +123 -123
  311. package/dist/config/plugin/provider.js +122 -122
  312. package/dist/config/plugin/reference.js +124 -124
  313. package/dist/config/plugin/shell.js +122 -122
  314. package/dist/config/plugin/skill-file.js +101 -101
  315. package/dist/config/plugin/skill.js +143 -143
  316. package/dist/config/plugin/snapshot.js +122 -122
  317. package/dist/config/plugin/source.js +125 -125
  318. package/dist/config/plugin/tool-output.js +124 -124
  319. package/dist/config/plugin/websearch.js +121 -121
  320. package/dist/config/plugin/worktree.js +124 -124
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +127 -127
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +82 -82
  326. package/dist/database/database.js +65 -65
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration.gen.js +48 -48
  391. package/dist/database/migration.js +50 -50
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +75 -75
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +92 -92
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +94 -94
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +69 -69
  415. package/dist/file-access.js +103 -103
  416. package/dist/file-mutation.js +93 -93
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +224 -224
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +102 -102
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +13 -13
  430. package/dist/filesystem.js +105 -105
  431. package/dist/form.js +69 -69
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +88 -88
  434. package/dist/generate.js +102 -102
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +98 -98
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +360 -360
  460. package/dist/instruction-discovery.js +84 -84
  461. package/dist/instructions/builtins.js +86 -86
  462. package/dist/instructions/index.js +1 -1
  463. package/dist/integration/connection.js +1 -1
  464. package/dist/integration.js +75 -75
  465. package/dist/job.js +78 -78
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +72 -72
  468. package/dist/location-activity.js +131 -131
  469. package/dist/location-lifecycle.js +105 -105
  470. package/dist/location-mutation.js +103 -103
  471. package/dist/location-service-map.js +85 -85
  472. package/dist/location-services.js +357 -357
  473. package/dist/location.js +86 -86
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +90 -90
  476. package/dist/mcp/index.js +107 -107
  477. package/dist/mcp/instructions.js +127 -127
  478. package/dist/mcp/oauth.js +77 -77
  479. package/dist/mcp/stdio.js +89 -89
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +98 -98
  482. package/dist/model-resolver.js +97 -97
  483. package/dist/model.js +95 -95
  484. package/dist/models-dev.js +102 -102
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +81 -81
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +112 -112
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +87 -87
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +74 -74
  494. package/dist/plugin/agent.js +103 -103
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/compaction.js +132 -132
  497. package/dist/plugin/hooks.js +1 -1
  498. package/dist/plugin/host.js +217 -217
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +331 -331
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +95 -95
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +101 -101
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  509. package/dist/plugin/provider/azure.js +121 -121
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +118 -118
  515. package/dist/plugin/provider/digitalocean.js +92 -92
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +92 -92
  520. package/dist/plugin/provider/gitlab.js +90 -90
  521. package/dist/plugin/provider/google-vertex.js +89 -89
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +76 -76
  524. package/dist/plugin/provider/lmstudio.js +121 -121
  525. package/dist/plugin/provider/modal.js +91 -91
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +121 -121
  528. package/dist/plugin/provider/openai.js +91 -91
  529. package/dist/plugin/provider/opencode.js +93 -93
  530. package/dist/plugin/provider/openrouter.js +90 -90
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +77 -77
  533. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  534. package/dist/plugin/provider/sap-ai-core.js +90 -90
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +89 -89
  539. package/dist/plugin/provider/vllm.js +121 -121
  540. package/dist/plugin/provider/xai.js +90 -90
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +159 -159
  543. package/dist/plugin/sdk.js +75 -75
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +140 -140
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +85 -85
  551. package/dist/plugin/vcs/hg.js +85 -85
  552. package/dist/plugin/warming.js +120 -120
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +6 -6
  558. package/dist/plugin/websearch/tavily.js +4 -4
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +226 -226
  561. package/dist/project/schema.js +8 -8
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +87 -87
  564. package/dist/provider.js +88 -88
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +97 -97
  569. package/dist/reference/instructions.js +86 -86
  570. package/dist/reference.js +90 -90
  571. package/dist/repository-cache.js +80 -80
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +96 -96
  575. package/dist/rpc.js +85 -85
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +73 -73
  578. package/dist/session/compaction.js +133 -133
  579. package/dist/session/context.js +151 -151
  580. package/dist/session/diff.js +87 -87
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +220 -220
  585. package/dist/session/execution.js +127 -127
  586. package/dist/session/generate.js +150 -150
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +89 -89
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +78 -78
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +96 -96
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -118
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +129 -129
  598. package/dist/session/projector.js +85 -85
  599. package/dist/session/prompt.js +104 -104
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +89 -89
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +230 -230
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +97 -97
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +113 -113
  609. package/dist/session/runner/step.js +125 -125
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +3 -3
  612. package/dist/session/session.js +171 -171
  613. package/dist/session/shell.js +137 -137
  614. package/dist/session/skill.js +102 -102
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +72 -72
  617. package/dist/session/store.js +86 -86
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +209 -209
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +155 -155
  622. package/dist/session/to-session-error.js +110 -110
  623. package/dist/session/transfer.js +214 -214
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +217 -217
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +15 -15
  630. package/dist/shell.js +139 -139
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +106 -106
  633. package/dist/skill.js +111 -111
  634. package/dist/snapshot.js +92 -92
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +126 -126
  639. package/dist/tool/plugin/edit.js +119 -119
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +121 -121
  642. package/dist/tool/plugin/grep.js +123 -123
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +121 -121
  645. package/dist/tool/plugin/question.js +104 -104
  646. package/dist/tool/plugin/read.js +124 -124
  647. package/dist/tool/plugin/shell.js +214 -214
  648. package/dist/tool/plugin/skill.js +112 -112
  649. package/dist/tool/plugin/subagent.js +212 -212
  650. package/dist/tool/plugin/webfetch.js +111 -111
  651. package/dist/tool/plugin/websearch.js +111 -111
  652. package/dist/tool/plugin/write.js +121 -121
  653. package/dist/tool/read-filesystem.js +99 -99
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +16 -16
  657. package/dist/types/integration/connection.d.ts +2 -0
  658. package/dist/types/integration.d.ts +1 -0
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +4 -4
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +91 -91
  678. package/dist/v1/config/permission.js +7 -7
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +90 -90
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +88 -88
  688. package/dist/websearch.js +83 -83
  689. package/dist/wellknown/plugin.js +75 -75
  690. package/dist/wellknown.js +80 -80
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +79 -79
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +88 -88
  698. package/dist/worktree.js +97 -97
  699. package/package.json +8 -8
  700. package/dist/chunks/image-09pkv438.js +0 -252
  701. package/dist/chunks/image-6kdq0pjd.js +0 -4
  702. package/dist/chunks/image-b89j7fds.js +0 -26
  703. package/dist/chunks/image-by5v678g.js +0 -18
  704. package/dist/chunks/image-rans5n5d.js +0 -503
  705. /package/dist/chunks/{image-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{image-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{image-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{image-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{image-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{image-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{image-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{image-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{image-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{image-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{image-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  716. /package/dist/chunks/{image-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{image-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{image-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{image-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{image-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{image-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{image-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{image-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  724. /package/dist/chunks/{image-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{image-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  726. /package/dist/chunks/{image-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{image-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{image-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  729. /package/dist/chunks/{image-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{image-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{image-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  732. /package/dist/chunks/{image-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{image-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{image-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{image-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{image-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{image-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{image-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{image-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{image-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{image-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{image-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{image-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{image-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{image-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{image-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{image-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  748. /package/dist/chunks/{image-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{image-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{image-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{image-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{image-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{image-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{image-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{image-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{image-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{image-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{image-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{image-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{image-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  761. /package/dist/chunks/{image-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{image-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  763. /package/dist/chunks/{image-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{image-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  765. /package/dist/chunks/{image-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{image-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{image-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{image-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{image-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{image-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{image-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{image-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{image-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{image-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{image-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{image-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{image-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{image-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{image-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{image-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{image-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{image-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{image-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{image-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{image-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{image-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{image-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  788. /package/dist/chunks/{image-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{image-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{image-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{image-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{image-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{image-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  794. /package/dist/chunks/{image-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{image-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{image-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{image-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{image-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{image-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./image-rj372e5a.js";
4
+ } from "./persistent-pty-x1bw9y7f.js";
5
5
  import {
6
- Service37,
7
- node40
8
- } from "./image-y1y68vac.js";
6
+ Service25,
7
+ node28
8
+ } from "./persistent-pty-dekpyqan.js";
9
9
  import {
10
- Service63,
11
- node67
12
- } from "./image-xd9b4v3d.js";
10
+ Service58,
11
+ node61
12
+ } from "./persistent-pty-ngc2191d.js";
13
13
  import {
14
- Service41,
15
- node44
16
- } from "./image-b7vxzd00.js";
14
+ Service27,
15
+ node30
16
+ } from "./persistent-pty-00ax65t0.js";
17
17
  import {
18
18
  __export
19
- } from "./image-9rqn6x4v.js";
19
+ } from "./persistent-pty-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service33,
26
- layer: () => layer12,
27
- name: () => name13,
25
+ Service: () => Service24,
26
+ layer: () => layer11,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node37
29
+ node: () => node27
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service33 extends Context.Service()("@opencode/McpTool") {
38
+ class Service24 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer12 = Layer.effect(Service33, Effect.gen(function* () {
41
- const mcp = yield* Service37;
42
- const tools = yield* Service41;
40
+ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
41
+ const mcp = yield* Service25;
42
+ const tools = yield* Service27;
43
43
  const bus = yield* Service83;
44
- const permission = yield* Service63;
44
+ const permission = yield* Service58;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node37 = makeLocationNode({
124
- service: Service33,
125
- layer: layer12,
126
- deps: [node44, node40, node87, node67]
123
+ var node27 = makeLocationNode({
124
+ service: Service24,
125
+ layer: layer11,
126
+ deps: [node30, node28, node87, node61]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service33, layer12, node37, exports_mcp3 };
129
+ export { namespace2, name14, Service24, layer11, node27, exports_mcp3 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./image-v61m3kz8.js";
4
+ } from "./persistent-pty-7ga2fv62.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./image-rj372e5a.js";
8
+ } from "./persistent-pty-x1bw9y7f.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./image-pknna89w.js";
11
+ } from "./persistent-pty-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./image-0q0f95c6.js";
14
+ } from "./persistent-pty-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./image-9rqn6x4v.js";
17
+ } from "./persistent-pty-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
24
- ID: () => ID16,
25
- Info: () => Info31,
23
+ Event: () => Event21,
24
+ ID: () => ID18,
25
+ Info: () => Info34,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service77,
28
+ Service: () => Service82,
29
29
  Value: () => Value2,
30
- node: () => node81
30
+ node: () => node86
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID16 = Credential.ID;
37
+ var ID18 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event20 = Credential.Event;
41
+ var Event21 = Credential.Event;
42
42
 
43
- class Info31 extends Schema.Class("Credential.Info")({
44
- id: ID16,
43
+ class Info34 extends Schema.Class("Credential.Info")({
44
+ id: ID18,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service77 extends Context.Service()("@opencode/Credential") {
51
+ class Service82 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service77, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
55
  const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info31({
60
+ return new Info34({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service77.of({
71
+ return Service82.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info31({
80
- id: ID16.create(),
79
+ const credential = new Info34({
80
+ id: ID18.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event20.Updated, {}, { global: true });
105
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event21.Updated, {}, { global: true });
105
+ yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event20.Updated, {}, { global: true });
157
+ yield* bus.publish(Event21.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event20.Updated, {}, { global: true });
190
+ yield* bus.publish(Event21.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88, node87] });
196
+ var node86 = makeGlobalNode({ service: Service82, layer, deps: [node88, node87] });
197
197
 
198
- export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service77, node81, exports_credential };
198
+ export { ID18, OAuth3, Key4, Value2, Event21, Info34, Service82, node86, exports_credential };
@@ -3,29 +3,29 @@ import {
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./image-rhjbct0v.js";
6
+ } from "./persistent-pty-rhjbct0v.js";
7
7
  import {
8
- ID5,
8
+ ID6,
9
9
  Name2,
10
10
  available2,
11
- Service39,
12
- node42
13
- } from "./image-bweh8ah2.js";
11
+ Service57,
12
+ node60
13
+ } from "./persistent-pty-p9rwa85v.js";
14
14
  import {
15
15
  __export
16
- } from "./image-9rqn6x4v.js";
16
+ } from "./persistent-pty-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions5 = {};
20
- __export(exports_instructions5, {
21
- Service: () => Service38,
22
- SkillInstructions: () => exports_instructions5,
23
- node: () => node41
19
+ var exports_instructions4 = {};
20
+ __export(exports_instructions4, {
21
+ Service: () => Service26,
22
+ SkillInstructions: () => exports_instructions4,
23
+ node: () => node29
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID5,
28
+ id: ID6,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,11 +60,11 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service38 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service26 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service38, Effect.gen(function* () {
66
- const skills = yield* Service39;
67
- return Service38.of({
65
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
66
+ const skills = yield* Service57;
67
+ return Service26.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
70
  return make20({
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node41 = makeLocationNode({ service: Service38, layer, deps: [node42] });
83
+ var node29 = makeLocationNode({ service: Service26, layer, deps: [node60] });
84
84
 
85
- export { Service38, node41, exports_instructions5 };
85
+ export { Service26, node29, exports_instructions4 };
@@ -2,7 +2,7 @@ import {
2
2
  ID14,
3
3
  Service75,
4
4
  node79
5
- } from "./image-fs95rcxk.js";
5
+ } from "./persistent-pty-b5re83s5.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -14,21 +14,21 @@ import {
14
14
  mergeHeaders2,
15
15
  Service74,
16
16
  node78
17
- } from "./image-ca50vwce.js";
17
+ } from "./persistent-pty-f22gk9j9.js";
18
18
  import {
19
- Service73,
20
- node77
21
- } from "./image-q4mfxxsm.js";
19
+ Service50,
20
+ node53
21
+ } from "./persistent-pty-ysckq8n5.js";
22
22
  import {
23
23
  ID12,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service72,
27
- node76
28
- } from "./image-a1xw1hxv.js";
26
+ Service73,
27
+ node77
28
+ } from "./persistent-pty-bt8eheyv.js";
29
29
  import {
30
30
  __export
31
- } from "./image-9rqn6x4v.js";
31
+ } from "./persistent-pty-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError3,
38
38
  ModelInitializationError: () => ModelInitializationError3,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service71,
40
+ Service: () => Service49,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError3,
44
44
  VariantUnavailableError: () => VariantUnavailableError3,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer24,
48
- node: () => node75,
47
+ layer: () => layer20,
48
+ node: () => node52,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service71 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service49 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer24 = Layer.effect(Service71, Effect.gen(function* () {
261
+ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
262
262
  const providers = yield* Service74;
263
- const models = yield* Service72;
263
+ const models = yield* Service73;
264
264
  const integrations = yield* Service75;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service73;
266
+ const aisdk = yield* Service50;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
269
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
@@ -292,7 +292,7 @@ var layer24 = Layer.effect(Service71, Effect.gen(function* () {
292
292
  transport: provider?.settings?.transport
293
293
  };
294
294
  });
295
- return Service71.of({
295
+ return Service49.of({
296
296
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
297
297
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
298
298
  if (!selected)
@@ -309,10 +309,10 @@ function usesAPIKeyAuth(packageName) {
309
309
  const name = packageName2(packageName);
310
310
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
311
311
  }
312
- var node75 = makeLocationNode({
313
- service: Service71,
314
- layer: layer24,
315
- deps: [node78, node76, node79, Npm.node, node77]
312
+ var node52 = makeLocationNode({
313
+ service: Service49,
314
+ layer: layer20,
315
+ deps: [node78, node77, node79, Npm.node, node53]
316
316
  });
317
317
 
318
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service71, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node75, exports_model_resolver };
318
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service49, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node52, exports_model_resolver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./image-qfa1cgps.js";
3
+ } from "./persistent-pty-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service79,
3
- node83,
2
+ Service46,
3
+ node48,
4
4
  canonical3
5
- } from "./image-pk5pky18.js";
5
+ } from "./persistent-pty-7935fwzs.js";
6
6
  import {
7
- Service61,
8
- node65
9
- } from "./image-ycjb11n5.js";
7
+ Service31,
8
+ node33
9
+ } from "./persistent-pty-mrvjcs5x.js";
10
10
  import {
11
- Service20
12
- } from "./image-w9sh5ge5.js";
11
+ Service41
12
+ } from "./persistent-pty-ys0rvgwx.js";
13
13
  import {
14
14
  layer2
15
- } from "./image-09pkv438.js";
15
+ } from "./persistent-pty-806pcn4t.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service79, Effect.gen(function* () {
20
+ return Layer.effect(Service46, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service20);
30
+ const lifecycle = Context.get(exit.value, Service41);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node65.replace(Layer.succeed(Service61, {
57
+ node33.replace(Layer.succeed(Service31, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node83.replace(Layer.succeed(Service79, map))
61
+ node48.replace(Layer.succeed(Service46, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service76
3
- } from "./image-1mp28asa.js";
3
+ } from "./persistent-pty-bhnbjyag.js";
4
4
  import {
5
- Service63
6
- } from "./image-xd9b4v3d.js";
5
+ Service58
6
+ } from "./persistent-pty-ngc2191d.js";
7
7
  import {
8
8
  __export
9
- } from "./image-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin49,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name13,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name14 = "question";
26
+ var name13 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -54,12 +54,12 @@ var Plugin49 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
56
  const forms = yield* Service76;
57
- const permission = yield* Service63;
57
+ const permission = yield* Service58;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
118
+ export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-9z4sf5tv.js";
3
+ } from "./persistent-pty-9kt7wf3c.js";
4
4
  import {
5
5
  Service83
6
- } from "./image-rj372e5a.js";
6
+ } from "./persistent-pty-x1bw9y7f.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20,
10
- Service77
11
- } from "./image-aj20rtze.js";
9
+ Event21,
10
+ Service82
11
+ } from "./persistent-pty-pg06qq32.js";
12
12
  import {
13
13
  ID14,
14
14
  MethodID2,
15
15
  Service75
16
- } from "./image-fs95rcxk.js";
16
+ } from "./persistent-pty-b5re83s5.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-ca50vwce.js";
23
+ } from "./persistent-pty-f22gk9j9.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./image-mrf3tvpv.js";
26
+ } from "./persistent-pty-9c6vz8r3.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -53,7 +53,7 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service77;
56
+ const credentials = yield* Service82;
57
57
  const integrations = yield* Service75;
58
58
  const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
@@ -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(Event21.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)