@opencode/core 0.0.0-dev-21176 → 0.0.0-dev-21177

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{variant-0tm86nq6.js → pty-072y95tq.js} +7 -7
  8. package/dist/chunks/{variant-vbysqr17.js → pty-0dcab6yb.js} +12 -12
  9. package/dist/chunks/{variant-755d9eqq.js → pty-0gva8j83.js} +2 -2
  10. package/dist/chunks/{variant-5jvdcdbe.js → pty-0s4jjkv3.js} +24 -24
  11. package/dist/chunks/{variant-vste0f9s.js → pty-0ss45e0g.js} +15 -15
  12. package/dist/chunks/{variant-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{variant-kq4w7yff.js → pty-0xndvgp0.js} +8 -8
  14. package/dist/chunks/{variant-6tw77w91.js → pty-14wynrn6.js} +36 -36
  15. package/dist/chunks/{variant-ndk58h8z.js → pty-1bqj5c5m.js} +13 -13
  16. package/dist/chunks/{variant-5fmj7ta4.js → pty-1cy1fvz2.js} +21 -21
  17. package/dist/chunks/{variant-bzeyqsqd.js → pty-1ep4rre3.js} +4 -4
  18. package/dist/chunks/{variant-dy42zcpp.js → pty-1fde4gmb.js} +3 -3
  19. package/dist/chunks/{variant-h3j7tw64.js → pty-1gwhweqv.js} +16 -16
  20. package/dist/chunks/{variant-w98xyk9k.js → pty-1kmnnw2n.js} +43 -43
  21. package/dist/chunks/{variant-npnc5hq3.js → pty-1qawy49j.js} +14 -14
  22. package/dist/chunks/{variant-gzgdncdj.js → pty-1ycz83fm.js} +18 -18
  23. package/dist/chunks/{variant-a2qe2ev9.js → pty-2ktf0ed2.js} +8 -8
  24. package/dist/chunks/{variant-5epw05xb.js → pty-2wak32hr.js} +86 -86
  25. package/dist/chunks/{variant-zewbgjb2.js → pty-2yf9htnm.js} +2 -2
  26. package/dist/chunks/{variant-9wggzhwd.js → pty-332j5t5e.js} +77 -77
  27. package/dist/chunks/{variant-qve0vfwn.js → pty-35ddvwna.js} +4 -4
  28. package/dist/chunks/{variant-s375a249.js → pty-37sfe3bm.js} +13 -13
  29. package/dist/chunks/{variant-dzw83ac5.js → pty-3b9qt4hj.js} +9 -9
  30. package/dist/chunks/{variant-jrx5985g.js → pty-3cxe0ccz.js} +32 -32
  31. package/dist/chunks/{variant-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{variant-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{variant-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{variant-dxzrtcw7.js → pty-3s2wwjdv.js} +4 -4
  35. package/dist/chunks/{variant-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{variant-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{variant-86vxb3sx.js → pty-3zk10d63.js} +14 -14
  38. package/dist/chunks/{variant-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{variant-vwe4kmr6.js → pty-409dx5e0.js} +11 -11
  40. package/dist/chunks/{variant-je3ncztn.js → pty-4esk8sqt.js} +13 -13
  41. package/dist/chunks/{variant-xazgbj1z.js → pty-4fnc5vpd.js} +16 -16
  42. package/dist/chunks/{variant-jygkwv30.js → pty-4g4s6x68.js} +17 -17
  43. package/dist/chunks/{variant-8rhc360h.js → pty-4z5pf2em.js} +15 -15
  44. package/dist/chunks/{variant-54ma36ye.js → pty-54ma36ye.js} +1 -1
  45. package/dist/chunks/{variant-hnsqakx3.js → pty-58h69jjx.js} +15 -15
  46. package/dist/chunks/{variant-ynh10gny.js → pty-58hng72m.js} +5 -5
  47. package/dist/chunks/{variant-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{variant-rk8bth6d.js → pty-5w01hbp6.js} +11 -11
  49. package/dist/chunks/{variant-phstrbs2.js → pty-5xtgfte3.js} +8 -8
  50. package/dist/chunks/{variant-77pc7aym.js → pty-628d53px.js} +25 -25
  51. package/dist/chunks/{variant-8kyvgn7h.js → pty-65wgkzmg.js} +3 -3
  52. package/dist/chunks/{variant-e81pay9y.js → pty-66etgr7v.js} +3 -3
  53. package/dist/chunks/{variant-v5gx96xa.js → pty-67ajme4p.js} +7 -7
  54. package/dist/chunks/{variant-6827pfxn.js → pty-6827pfxn.js} +1 -1
  55. package/dist/chunks/{variant-zsp4bc1b.js → pty-68tnz3e8.js} +11 -11
  56. package/dist/chunks/{variant-3hfvw01m.js → pty-69nb7mte.js} +11 -11
  57. package/dist/chunks/{variant-cbhr45qc.js → pty-6afr2rje.js} +13 -13
  58. package/dist/chunks/{variant-1trmznht.js → pty-6cywv53g.js} +7 -7
  59. package/dist/chunks/{variant-w6sjmjwz.js → pty-6q74b9t9.js} +20 -20
  60. package/dist/chunks/{variant-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{variant-rrj8saf7.js → pty-6yvmd6g0.js} +5 -5
  62. package/dist/chunks/{variant-g6yfr6ja.js → pty-6yz0wx8n.js} +5 -5
  63. package/dist/chunks/{variant-txz88p3m.js → pty-72b35rd4.js} +16 -16
  64. package/dist/chunks/{variant-775gj3j1.js → pty-775gj3j1.js} +2 -2
  65. package/dist/chunks/{variant-dk66jcm6.js → pty-7a63cxzq.js} +20 -20
  66. package/dist/chunks/{variant-s6wmg1yx.js → pty-7baah2nz.js} +5 -5
  67. package/dist/chunks/{variant-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{variant-rp03b2v5.js → pty-7dks1d1n.js} +6 -6
  69. package/dist/chunks/{variant-qgn6gcr1.js → pty-7dqw4kz8.js} +5 -5
  70. package/dist/chunks/{variant-xcp33tng.js → pty-7k3t91vn.js} +12 -12
  71. package/dist/chunks/{variant-kwd6154r.js → pty-7k8jbme7.js} +34 -34
  72. package/dist/chunks/{variant-h0vknvkg.js → pty-7ppyhzjx.js} +8 -8
  73. package/dist/chunks/{variant-8ndt9d3t.js → pty-7y4pe9zb.js} +23 -23
  74. package/dist/chunks/{variant-hmf53ygj.js → pty-80xcpyq8.js} +24 -24
  75. package/dist/chunks/{variant-sb8kphm5.js → pty-81y4a27x.js} +39 -39
  76. package/dist/chunks/{variant-gxwgwve4.js → pty-835y3cmd.js} +25 -25
  77. package/dist/chunks/{variant-s8kn2x8c.js → pty-83gy3yq2.js} +19 -19
  78. package/dist/chunks/{variant-84txncab.js → pty-84txncab.js} +1 -1
  79. package/dist/chunks/{variant-c7aydyf0.js → pty-88sqq7ae.js} +34 -34
  80. package/dist/chunks/{variant-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{variant-btfhnvjh.js → pty-8whp40kv.js} +2 -2
  82. package/dist/chunks/{variant-pcp44bm4.js → pty-8ww2gede.js} +6 -6
  83. package/dist/chunks/{variant-4mwpykj0.js → pty-909p1r3q.js} +6 -6
  84. package/dist/chunks/{variant-91qna3x0.js → pty-91qna3x0.js} +3 -3
  85. package/dist/chunks/{variant-aje92c6g.js → pty-94204gn9.js} +11 -11
  86. package/dist/chunks/{variant-n61013np.js → pty-967benbv.js} +11 -11
  87. package/dist/chunks/{variant-9a249s8k.js → pty-97s3qq9m.js} +14 -14
  88. package/dist/chunks/{variant-8eq3291x.js → pty-9m6qkdem.js} +25 -25
  89. package/dist/chunks/pty-9sh4wc5j.js +18 -0
  90. package/dist/chunks/{variant-4ahkyf94.js → pty-9xagcj41.js} +21 -21
  91. package/dist/chunks/{variant-2x94txpx.js → pty-a0bbkc97.js} +322 -322
  92. package/dist/chunks/{variant-dky2mvnp.js → pty-a0r78awy.js} +10 -10
  93. package/dist/chunks/{variant-ax7wezry.js → pty-a7a43a3w.js} +25 -25
  94. package/dist/chunks/{variant-wqb8epsc.js → pty-amwms54f.js} +13 -13
  95. package/dist/chunks/{variant-5xn2s2y6.js → pty-apzkc9dc.js} +1 -1
  96. package/dist/chunks/{variant-a5h0t34w.js → pty-aqrjem7b.js} +17 -17
  97. package/dist/chunks/{variant-hv8trv8t.js → pty-aw5400a1.js} +9 -9
  98. package/dist/chunks/{variant-qnjf4cxx.js → pty-awrjh9yh.js} +5 -5
  99. package/dist/chunks/{variant-d6gyv2zn.js → pty-axj4d8xa.js} +29 -29
  100. package/dist/chunks/{variant-da4mxm4z.js → pty-b0jp0bej.js} +25 -25
  101. package/dist/chunks/{variant-wfwdvame.js → pty-b2n2c3pj.js} +14 -14
  102. package/dist/chunks/{variant-skerjvek.js → pty-b5k0m31y.js} +5 -5
  103. package/dist/chunks/{variant-80z0vyq9.js → pty-bacj9t34.js} +9 -9
  104. package/dist/chunks/{variant-mfrqb4hk.js → pty-bd0ch2rs.js} +16 -16
  105. package/dist/chunks/{variant-1ch5ceza.js → pty-bdcde2ps.js} +9 -9
  106. package/dist/chunks/{variant-39m7k5ja.js → pty-bfabrp63.js} +7 -7
  107. package/dist/chunks/{variant-ywt8jp22.js → pty-bjx1sjef.js} +9 -9
  108. package/dist/chunks/{variant-ts8pmwjm.js → pty-brpn0yq7.js} +11 -11
  109. package/dist/chunks/{variant-es1vcfrp.js → pty-c1fqxshp.js} +3 -3
  110. package/dist/chunks/{variant-4shtx8xv.js → pty-c23c3mz0.js} +24 -24
  111. package/dist/chunks/{variant-rd19d09e.js → pty-c29rd6g0.js} +5 -5
  112. package/dist/chunks/{variant-wc02s9yn.js → pty-c2qwrsdn.js} +12 -12
  113. package/dist/chunks/{variant-814d0nh1.js → pty-cansen50.js} +8 -8
  114. package/dist/chunks/{variant-ce26274z.js → pty-cf5e3918.js} +29 -29
  115. package/dist/chunks/{variant-t86fkjrn.js → pty-cvftb236.js} +41 -41
  116. package/dist/chunks/{variant-8gebk434.js → pty-d0epqsfp.js} +49 -49
  117. package/dist/chunks/{variant-mrtxs28p.js → pty-d0we51xq.js} +4 -4
  118. package/dist/chunks/{variant-d1a28jh7.js → pty-d1a28jh7.js} +2 -2
  119. package/dist/chunks/{variant-t69yyt7n.js → pty-d9vhn3nc.js} +10 -10
  120. package/dist/chunks/pty-dexk7st3.js +26 -0
  121. package/dist/chunks/{variant-bjfzzc5s.js → pty-deyktbey.js} +11 -11
  122. package/dist/chunks/{variant-g6q9qykm.js → pty-djszqvmq.js} +9 -9
  123. package/dist/chunks/{variant-bfxnahs9.js → pty-e0qr5ad7.js} +25 -25
  124. package/dist/chunks/{variant-x82e3n7x.js → pty-e2f4d7w4.js} +20 -20
  125. package/dist/chunks/{variant-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
  126. package/dist/chunks/{variant-vtqn14gq.js → pty-e5dabrwz.js} +10 -10
  127. package/dist/chunks/{variant-sxcaecc0.js → pty-e80seqcp.js} +3 -3
  128. package/dist/chunks/{variant-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
  129. package/dist/chunks/{variant-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{variant-2zfs5392.js → pty-efs6wv9h.js} +22 -22
  131. package/dist/chunks/{variant-1zp4z7qa.js → pty-eqhzy62x.js} +15 -15
  132. package/dist/chunks/{variant-p102tpkp.js → pty-fce1ctzp.js} +33 -33
  133. package/dist/chunks/{variant-fcy631f0.js → pty-fcy631f0.js} +1 -1
  134. package/dist/chunks/{variant-g0knnnvb.js → pty-fhh11s5w.js} +11 -11
  135. package/dist/chunks/{variant-hzmbbkvz.js → pty-fkbnvjhs.js} +33 -33
  136. package/dist/chunks/{variant-dq407baf.js → pty-fn9t717r.js} +6 -6
  137. package/dist/chunks/{variant-h07937sj.js → pty-fncnja3r.js} +17 -17
  138. package/dist/chunks/{variant-0gdhy7gs.js → pty-frxe1693.js} +11 -11
  139. package/dist/chunks/{variant-g42k3yx8.js → pty-fwkr8rng.js} +31 -31
  140. package/dist/chunks/{variant-xcnx8s4x.js → pty-g049fyg0.js} +18 -18
  141. package/dist/chunks/{variant-a99sy4q1.js → pty-g72yd4k4.js} +5 -5
  142. package/dist/chunks/{variant-4w4z2t1w.js → pty-gd41frsq.js} +14 -14
  143. package/dist/chunks/{variant-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{variant-6br1b9vz.js → pty-gfwb8sf1.js} +22 -22
  145. package/dist/chunks/{variant-pbp0m9hy.js → pty-ggbzsg95.js} +32 -32
  146. package/dist/chunks/{variant-p10qf8gn.js → pty-gv7bhpe8.js} +11 -11
  147. package/dist/chunks/{variant-5skg1say.js → pty-h2tq07ke.js} +11 -11
  148. package/dist/chunks/{variant-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  149. package/dist/chunks/{variant-jvb9xte8.js → pty-h71w788e.js} +9 -9
  150. package/dist/chunks/pty-h75fbyn9.js +257 -0
  151. package/dist/chunks/{variant-a97kj8b3.js → pty-h7nv9fm5.js} +13 -13
  152. package/dist/chunks/{variant-4j4tgtq5.js → pty-h9wp8z5w.js} +4 -4
  153. package/dist/chunks/{variant-mwn3kz1y.js → pty-hbazd458.js} +24 -24
  154. package/dist/chunks/{variant-t95r54st.js → pty-hfbyhya8.js} +10 -10
  155. package/dist/chunks/{variant-vp263n6k.js → pty-hfeceh65.js} +30 -30
  156. package/dist/chunks/{variant-n91cq9nb.js → pty-hghq5j4z.js} +5 -5
  157. package/dist/chunks/{variant-fkgrsjec.js → pty-hgpdn4cj.js} +11 -11
  158. package/dist/chunks/{variant-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{variant-erv565xg.js → pty-hj273wnv.js} +1 -1
  160. package/dist/chunks/{variant-1w2wqhfv.js → pty-hq3c8me3.js} +4 -4
  161. package/dist/chunks/{variant-jj71mszr.js → pty-hr141zjg.js} +11 -11
  162. package/dist/chunks/{variant-kxbqcyhs.js → pty-hst5n1cs.js} +15 -15
  163. package/dist/chunks/{variant-hyc6nb5f.js → pty-hzaj131z.js} +18 -18
  164. package/dist/chunks/{variant-qscxgnxz.js → pty-jd7jt2a4.js} +9 -9
  165. package/dist/chunks/{variant-gj86fx9c.js → pty-jeqqnt0n.js} +172 -172
  166. package/dist/chunks/{variant-8zkgpeg7.js → pty-jgvqkc2b.js} +4 -4
  167. package/dist/chunks/{variant-hdzzamp5.js → pty-jkg51xq8.js} +24 -24
  168. package/dist/chunks/{variant-j15f634k.js → pty-jmzfcjas.js} +36 -36
  169. package/dist/chunks/{variant-0frz0xt1.js → pty-jr8d78rx.js} +15 -15
  170. package/dist/chunks/{variant-5nrxcrff.js → pty-k2yecyca.js} +33 -33
  171. package/dist/chunks/{variant-bjgf8e3h.js → pty-k76gfw63.js} +6 -6
  172. package/dist/chunks/{variant-jn2j5c43.js → pty-k8h85fj7.js} +2 -2
  173. package/dist/chunks/{variant-cnx16wxb.js → pty-kj9v1f3y.js} +4 -4
  174. package/dist/chunks/{variant-875k33ja.js → pty-kmz0bz7s.js} +18 -18
  175. package/dist/chunks/{variant-97aeaand.js → pty-kqv3x6rj.js} +9 -9
  176. package/dist/chunks/{variant-pyg4v0b6.js → pty-kqx1b4hy.js} +4 -4
  177. package/dist/chunks/{variant-kwb1v3vj.js → pty-kwb1v3vj.js} +1 -1
  178. package/dist/chunks/{variant-7a5zdfdw.js → pty-kxx41s58.js} +27 -27
  179. package/dist/chunks/{variant-083yp1m0.js → pty-kzp2p6b7.js} +5 -5
  180. package/dist/chunks/{variant-yzxehce5.js → pty-m2nf4q9z.js} +16 -16
  181. package/dist/chunks/{variant-59zxysqc.js → pty-m79dkcvs.js} +6 -6
  182. package/dist/chunks/{variant-321f1ejv.js → pty-m997ahh4.js} +12 -12
  183. package/dist/chunks/{variant-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{variant-maspj1v3.js → pty-maspj1v3.js} +1 -1
  185. package/dist/chunks/{variant-gqtdsdt7.js → pty-mxvxcxwy.js} +4 -4
  186. package/dist/chunks/{variant-ehrc2hrr.js → pty-n8j0ad3c.js} +6 -6
  187. package/dist/chunks/{variant-046g8s2b.js → pty-n96cp4bh.js} +14 -14
  188. package/dist/chunks/{variant-m4t6kx0z.js → pty-njarxngx.js} +17 -17
  189. package/dist/chunks/{variant-pdc02abw.js → pty-nmbh15fm.js} +9 -9
  190. package/dist/chunks/{variant-d6rrdh68.js → pty-p1rwgv3d.js} +11 -11
  191. package/dist/chunks/{variant-4gbdnm18.js → pty-p2ccqsff.js} +26 -26
  192. package/dist/chunks/{variant-erac1yxk.js → pty-p4pkk9xt.js} +19 -19
  193. package/dist/chunks/{variant-kr7jy07f.js → pty-pa5kwetm.js} +30 -30
  194. package/dist/chunks/{variant-2a62y8q7.js → pty-phb1sbsg.js} +11 -11
  195. package/dist/chunks/{variant-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{variant-pknna89w.js → pty-pknna89w.js} +1 -1
  197. package/dist/chunks/{variant-tczk5dww.js → pty-pp87jdt4.js} +18 -18
  198. package/dist/chunks/{variant-z9m5qar5.js → pty-pqkvj9g1.js} +14 -14
  199. package/dist/chunks/{variant-6pc27hjz.js → pty-py3kkmfq.js} +6 -6
  200. package/dist/chunks/{variant-byaywwgc.js → pty-q1r0pa81.js} +4 -4
  201. package/dist/chunks/{variant-ve2mjq42.js → pty-q62wak94.js} +24 -24
  202. package/dist/chunks/{variant-k76krqzs.js → pty-qa3qhgw8.js} +4 -4
  203. package/dist/chunks/{variant-wnnvyxh9.js → pty-qcfsp7vy.js} +23 -23
  204. package/dist/chunks/{variant-ake6y9r0.js → pty-qfrtht0v.js} +9 -9
  205. package/dist/chunks/{variant-rsfafasw.js → pty-qfw355cv.js} +31 -31
  206. package/dist/chunks/{variant-m91gvp7t.js → pty-qh8vdwx1.js} +8 -8
  207. package/dist/chunks/{variant-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{variant-qsdy395h.js → pty-qsdy395h.js} +1 -1
  209. package/dist/chunks/{variant-6jk8qrvt.js → pty-qzsep9jm.js} +23 -23
  210. package/dist/chunks/{variant-hkbk155w.js → pty-r04b27we.js} +9 -9
  211. package/dist/chunks/{variant-3rtxz4nr.js → pty-r61qxybf.js} +8 -8
  212. package/dist/chunks/{variant-3ha9j4b5.js → pty-r84pq0rk.js} +7 -7
  213. package/dist/chunks/{variant-qdvnb8q8.js → pty-r8mqjg1b.js} +5 -5
  214. package/dist/chunks/{variant-tx25dm1j.js → pty-rbakw9sr.js} +19 -19
  215. package/dist/chunks/{variant-ysjrn4yj.js → pty-rbnwg7cj.js} +26 -26
  216. package/dist/chunks/{variant-1pbhk94w.js → pty-rcgycnpc.js} +16 -16
  217. package/dist/chunks/{variant-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{variant-tkb22qbm.js → pty-rert0e01.js} +2 -2
  219. package/dist/chunks/{variant-987vp8h5.js → pty-ret9kwh0.js} +24 -24
  220. package/dist/chunks/{variant-eaj1djv9.js → pty-rhjbct0v.js} +8 -8
  221. package/dist/chunks/{variant-c41wscbt.js → pty-rj3eygr5.js} +2 -2
  222. package/dist/chunks/{variant-5zhj8ry3.js → pty-rnmvysgz.js} +4 -4
  223. package/dist/chunks/{variant-f1cc1b27.js → pty-rwkv9rtx.js} +13 -13
  224. package/dist/chunks/{variant-h55ev976.js → pty-s7r2tet0.js} +23 -23
  225. package/dist/chunks/{variant-d9wzmzc3.js → pty-s857ash9.js} +5 -5
  226. package/dist/chunks/{variant-77gc1d6b.js → pty-s88jxsq4.js} +20 -20
  227. package/dist/chunks/{variant-jm1yb898.js → pty-s8pxmgfm.js} +50 -50
  228. package/dist/chunks/{variant-2bpk9f3k.js → pty-sa09w3ef.js} +40 -40
  229. package/dist/chunks/{variant-c8ax2afj.js → pty-sa8ekw3f.js} +2 -2
  230. package/dist/chunks/{variant-nkvwea84.js → pty-sajpmnx7.js} +9 -9
  231. package/dist/chunks/{variant-y2mqe777.js → pty-sn3stvbn.js} +57 -57
  232. package/dist/chunks/{variant-4p4gbhws.js → pty-sq9yydtn.js} +21 -21
  233. package/dist/chunks/{variant-qdnm7966.js → pty-st0368v5.js} +3 -3
  234. package/dist/chunks/{variant-syv4x271.js → pty-syv4x271.js} +1 -1
  235. package/dist/chunks/{variant-hcwq51g4.js → pty-tafwdsvs.js} +3 -3
  236. package/dist/chunks/{variant-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{variant-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{variant-tdstcens.js → pty-tdstcens.js} +1 -1
  239. package/dist/chunks/{variant-tm0kqsz3.js → pty-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{variant-046wpshp.js → pty-tnmnn7e4.js} +31 -31
  241. package/dist/chunks/{variant-tyytaxap.js → pty-tyytaxap.js} +1 -1
  242. package/dist/chunks/{variant-v210v162.js → pty-v210v162.js} +2 -2
  243. package/dist/chunks/{variant-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
  244. package/dist/chunks/{variant-xbsw244s.js → pty-v7xcn73q.js} +7 -7
  245. package/dist/chunks/{variant-y5rf7nzv.js → pty-v7z2bvyd.js} +4 -4
  246. package/dist/chunks/{variant-b3cx5dwc.js → pty-va5r0dq2.js} +6 -6
  247. package/dist/chunks/{variant-kkp8zx71.js → pty-vbfgae2j.js} +4 -4
  248. package/dist/chunks/{variant-yhmqr890.js → pty-vcqq2ea7.js} +10 -10
  249. package/dist/chunks/{variant-veqvce7d.js → pty-veqvce7d.js} +1 -1
  250. package/dist/chunks/{variant-mc9a8anj.js → pty-vgdf0v3q.js} +44 -44
  251. package/dist/chunks/{variant-05p7sv4b.js → pty-vqeq0fhp.js} +65 -65
  252. package/dist/chunks/{variant-er9v8e0b.js → pty-vqjddh0d.js} +4 -4
  253. package/dist/chunks/{variant-srjn715j.js → pty-vv9rr97d.js} +8 -8
  254. package/dist/chunks/{variant-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{variant-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{variant-4c90nbtc.js → pty-wb9rhkdy.js} +48 -48
  257. package/dist/chunks/{variant-wd87259q.js → pty-wd87259q.js} +1 -1
  258. package/dist/chunks/{variant-ejvnp2ks.js → pty-wps1s803.js} +11 -11
  259. package/dist/chunks/{variant-wksaar7t.js → pty-x21xsnty.js} +5 -5
  260. package/dist/chunks/{variant-yq5gx6k0.js → pty-x3kre6es.js} +1 -1
  261. package/dist/chunks/{variant-6e96tf19.js → pty-x4yz0ptf.js} +26 -26
  262. package/dist/chunks/{variant-drwq78ky.js → pty-xfkkasph.js} +4 -4
  263. package/dist/chunks/{variant-e7fj9rcp.js → pty-xhfpyqwv.js} +11 -11
  264. package/dist/chunks/{variant-r65fsh7z.js → pty-y14wdc3z.js} +14 -14
  265. package/dist/chunks/{variant-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{variant-dpkg50ah.js → pty-y71avatq.js} +4 -4
  267. package/dist/chunks/{variant-4zh3rk77.js → pty-y9exhfjj.js} +17 -17
  268. package/dist/chunks/{variant-057ebw4n.js → pty-ybqv58y2.js} +17 -17
  269. package/dist/chunks/{variant-ynry5ybj.js → pty-yfzaheh6.js} +18 -18
  270. package/dist/chunks/{variant-e26mw538.js → pty-yn45kn81.js} +43 -43
  271. package/dist/chunks/{variant-yp2x3t23.js → pty-yp2x3t23.js} +1 -1
  272. package/dist/chunks/{variant-5wx7ars0.js → pty-ypxfhh66.js} +18 -18
  273. package/dist/chunks/{variant-xt4njr3s.js → pty-yqc6bamn.js} +1 -1
  274. package/dist/chunks/{variant-70zyjq8j.js → pty-ysa5gsqv.js} +30 -30
  275. package/dist/chunks/{variant-40tzx1cc.js → pty-ywxwm15a.js} +37 -37
  276. package/dist/chunks/{variant-dtvwj1st.js → pty-z09azjc0.js} +26 -26
  277. package/dist/chunks/{variant-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{variant-zhy09m26.js → pty-z0scchpv.js} +19 -19
  279. package/dist/chunks/{variant-bx0gyb4h.js → pty-z6c3x22d.js} +5 -5
  280. package/dist/chunks/{variant-tq17wahx.js → pty-z8esweh3.js} +24 -24
  281. package/dist/chunks/{variant-y0b9s196.js → pty-zmkc6qbt.js} +6 -6
  282. package/dist/chunks/{variant-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{variant-zcrspsvn.js → pty-zvt5dnpc.js} +4 -4
  284. package/dist/chunks/{variant-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{variant-2gprhkyr.js → pty-zxxshg8d.js} +13 -13
  286. package/dist/chunks/{variant-pssjzh93.js → pty-zysym8wc.js} +26 -26
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +219 -219
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +83 -83
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +109 -109
  472. package/dist/mcp/instructions.js +129 -129
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +100 -100
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +86 -86
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +119 -119
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +86 -86
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +331 -331
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +114 -114
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +123 -123
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +346 -346
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +219 -219
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +82 -82
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +134 -134
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +215 -215
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +88 -88
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +77 -77
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +3 -3
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +157 -157
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +206 -206
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +106 -106
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +130 -130
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +107 -107
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +111 -111
  648. package/dist/tool/plugin/subagent.js +211 -211
  649. package/dist/tool/plugin/webfetch.js +114 -114
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +124 -124
  652. package/dist/tool/read-filesystem.js +102 -102
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +95 -95
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +90 -90
  678. package/dist/websearch.js +86 -86
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +83 -83
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +82 -82
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +100 -100
  689. package/package.json +8 -8
  690. package/dist/chunks/variant-3mxr4v0x.js +0 -257
  691. package/dist/chunks/variant-5gcwdx7a.js +0 -26
  692. package/dist/chunks/variant-dxj72tfx.js +0 -18
  693. /package/dist/chunks/{variant-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{variant-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{variant-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{variant-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{variant-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{variant-24dcb14g.js → pty-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{variant-2710q6r3.js → pty-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{variant-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{variant-2bv980vf.js → pty-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{variant-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{variant-359p4xyc.js → pty-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{variant-3asan66x.js → pty-3asan66x.js} +0 -0
  705. /package/dist/chunks/{variant-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{variant-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{variant-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{variant-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{variant-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{variant-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{variant-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{variant-53557ph1.js → pty-53557ph1.js} +0 -0
  713. /package/dist/chunks/{variant-550bvhaj.js → pty-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{variant-6prwharc.js → pty-6prwharc.js} +0 -0
  715. /package/dist/chunks/{variant-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{variant-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{variant-7m9af43g.js → pty-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{variant-822emrt2.js → pty-822emrt2.js} +0 -0
  719. /package/dist/chunks/{variant-84wd9syh.js → pty-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{variant-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{variant-8n3pysct.js → pty-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{variant-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{variant-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{variant-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{variant-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{variant-af5trqkr.js → pty-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{variant-afrmfg78.js → pty-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{variant-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{variant-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{variant-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{variant-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{variant-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{variant-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{variant-d9fn303g.js → pty-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{variant-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{variant-dajrwvna.js → pty-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{variant-dap0rakb.js → pty-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{variant-df08tz66.js → pty-df08tz66.js} +0 -0
  739. /package/dist/chunks/{variant-dy18nga0.js → pty-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{variant-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{variant-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{variant-ec1grn59.js → pty-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{variant-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{variant-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{variant-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{variant-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{variant-faypxj3z.js → pty-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{variant-fd410y7t.js → pty-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{variant-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{variant-g86h250q.js → pty-g86h250q.js} +0 -0
  751. /package/dist/chunks/{variant-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{variant-gftt206x.js → pty-gftt206x.js} +0 -0
  753. /package/dist/chunks/{variant-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{variant-hk9envan.js → pty-hk9envan.js} +0 -0
  755. /package/dist/chunks/{variant-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{variant-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{variant-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{variant-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{variant-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{variant-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{variant-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{variant-m18g726c.js → pty-m18g726c.js} +0 -0
  763. /package/dist/chunks/{variant-mp448xyj.js → pty-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{variant-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{variant-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{variant-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{variant-njntx4h6.js → pty-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{variant-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{variant-pyv0edze.js → pty-pyv0edze.js} +0 -0
  770. /package/dist/chunks/{variant-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{variant-q74kybfr.js → pty-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{variant-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{variant-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{variant-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{variant-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{variant-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{variant-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{variant-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{variant-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{variant-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{variant-w803qqfp.js → pty-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{variant-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{variant-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{variant-wjj7prxr.js → pty-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{variant-wtztk69x.js → pty-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{variant-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{variant-x61499pn.js → pty-x61499pn.js} +0 -0
  788. /package/dist/chunks/{variant-y44na4kk.js → pty-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{variant-y8f7s663.js → pty-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{variant-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{variant-ym463w8f.js → pty-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{variant-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{variant-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./variant-g0knnnvb.js";
3
+ } from "./pty-fhh11s5w.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./variant-3v8g72cx.js";
6
+ } from "./pty-3v8g72cx.js";
7
7
  import {
8
- MAX_RESPONSE_BYTES3,
8
+ MAX_RESPONSE_BYTES2,
9
9
  call2
10
- } from "./variant-ywt8jp22.js";
10
+ } from "./pty-bjx1sjef.js";
11
11
  import {
12
12
  __export
13
- } from "./variant-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/websearch/tinyfish.ts
16
16
  var exports_tinyfish = {};
17
17
  __export(exports_tinyfish, {
18
- Plugin: () => Plugin34,
18
+ Plugin: () => Plugin3,
19
19
  WebSearchTinyFish: () => exports_tinyfish,
20
20
  endpoint: () => endpoint2
21
21
  });
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
51
51
  jsonrpc: Schema.Literal("2.0"),
52
52
  method: Schema.Literal("notifications/initialized")
53
53
  });
54
- var Plugin34 = define({
54
+ var Plugin3 = define({
55
55
  id: "opencode.websearch.tinyfish",
56
56
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
57
57
  const http = yield* HttpClient.HttpClient;
@@ -105,7 +105,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
105
105
  }
106
106
  }));
107
107
  const response = yield* client.execute(request);
108
- yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
108
+ yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
109
109
  const session = response.headers["mcp-session-id"];
110
110
  if (session === undefined)
111
111
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
120
120
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
121
121
  }));
122
122
 
123
- export { endpoint2, Plugin34, exports_tinyfish };
123
+ export { endpoint2, Plugin3, exports_tinyfish };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service36,
8
+ Service: () => Service66,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node39
10
+ node: () => node69
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service36 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service66 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service36, () => {
17
+ var layer = Layer.sync(Service66, () => {
18
18
  const environments = new Map;
19
- return Service36.of({
19
+ return Service66.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service36, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node39 = makeGlobalNode({ service: Service36, layer, deps: [] });
29
+ var node69 = makeGlobalNode({ service: Service66, layer, deps: [] });
30
30
 
31
- export { Service36, node39, exports_environment };
31
+ export { Service66, node69, exports_environment };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service43
3
- } from "./variant-4mwpykj0.js";
2
+ Service46
3
+ } from "./pty-909p1r3q.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./variant-dxj72tfx.js";
6
+ } from "./pty-9sh4wc5j.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./variant-b3cx5dwc.js";
9
+ } from "./pty-va5r0dq2.js";
10
10
  import {
11
11
  Service53
12
- } from "./variant-ake6y9r0.js";
12
+ } from "./pty-qfrtht0v.js";
13
13
  import {
14
14
  __export
15
- } from "./variant-9rqn6x4v.js";
15
+ } from "./pty-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,7 +22,7 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service43;
25
+ const instances = yield* Service46;
26
26
  const skills = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./variant-ynry5ybj.js";
3
+ } from "./pty-yfzaheh6.js";
4
4
  import {
5
- ID10,
5
+ ID11,
6
6
  MethodID2
7
- } from "./variant-70zyjq8j.js";
7
+ } from "./pty-ysa5gsqv.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./variant-pjvnvgmy.js";
11
+ } from "./pty-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
17
- var integrationID = ID10.make("poe");
17
+ var integrationID = ID11.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./variant-g0knnnvb.js";
3
+ } from "./pty-fhh11s5w.js";
4
4
  import {
5
5
  Service85
6
- } from "./variant-8zkgpeg7.js";
6
+ } from "./pty-jgvqkc2b.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event18,
10
- Service74
11
- } from "./variant-ynry5ybj.js";
10
+ Service72
11
+ } from "./pty-yfzaheh6.js";
12
12
  import {
13
- ID10,
13
+ ID11,
14
14
  MethodID2
15
- } from "./variant-70zyjq8j.js";
15
+ } from "./pty-ysa5gsqv.js";
16
16
  import {
17
- ID9,
17
+ ID10,
18
18
  mergeOverlay2
19
- } from "./variant-ce26274z.js";
19
+ } from "./pty-cf5e3918.js";
20
20
  import {
21
- ID8,
21
+ ID9,
22
22
  VariantID2,
23
- Info16
24
- } from "./variant-hmf53ygj.js";
23
+ Info19
24
+ } from "./pty-80xcpyq8.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./variant-pjvnvgmy.js";
28
+ } from "./pty-pjvnvgmy.js";
29
29
  import {
30
30
  get5
31
- } from "./variant-54ma36ye.js";
31
+ } from "./pty-54ma36ye.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./variant-y0b9s196.js";
34
+ } from "./pty-zmkc6qbt.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID9.openai;
47
- var integrationID = ID10.make("openai");
46
+ var providerID = ID10.openai;
47
+ var integrationID = ID11.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
182
  const bus = yield* Service85;
183
- const credentials = yield* Service74;
183
+ const credentials = yield* Service72;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
195
195
  yield* ctx.integration.transform((editor) => {
196
196
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
197
197
  });
198
- yield* Effect.forEach(yield* credentials.list(ID10.make("openai")), (entry) => {
198
+ yield* Effect.forEach(yield* credentials.list(ID11.make("openai")), (entry) => {
199
199
  const value = entry.value;
200
200
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
201
201
  return Effect.void;
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
325
325
  const found = byID.get(model.modelID);
326
326
  return found ? [deriveModel(found, model)] : [];
327
327
  }),
328
- ...remote.filter((model) => !known.has(ID8.make(model.slug))).map((model) => deriveModel(model, Info16.default(ID9.openai, ID8.make(model.slug))))
328
+ ...remote.filter((model) => !known.has(ID9.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID10.openai, ID9.make(model.slug))))
329
329
  ];
330
330
  }
331
331
  function deriveModel(remote, previous) {
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./variant-g0knnnvb.js";
3
+ } from "./pty-fhh11s5w.js";
4
4
  import {
5
5
  Service85
6
- } from "./variant-8zkgpeg7.js";
6
+ } from "./pty-jgvqkc2b.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event18
10
- } from "./variant-ynry5ybj.js";
10
+ } from "./pty-yfzaheh6.js";
11
11
  import {
12
12
  key2
13
- } from "./variant-gqtdsdt7.js";
13
+ } from "./pty-mxvxcxwy.js";
14
14
  import {
15
- ID10,
15
+ ID11,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./variant-70zyjq8j.js";
18
+ } from "./pty-ysa5gsqv.js";
19
19
  import {
20
- Service19
21
- } from "./variant-t95r54st.js";
20
+ Service15
21
+ } from "./pty-hfbyhya8.js";
22
22
  import {
23
- ID9,
23
+ ID10,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./variant-ce26274z.js";
26
+ } from "./pty-cf5e3918.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./variant-hmf53ygj.js";
29
+ } from "./pty-80xcpyq8.js";
30
30
  import {
31
31
  supports2,
32
- resolve4
33
- } from "./variant-ehrc2hrr.js";
32
+ resolve2
33
+ } from "./pty-n8j0ad3c.js";
34
34
  import {
35
- ID6,
36
- Input14,
35
+ ID3,
36
+ Input13,
37
37
  Response2
38
- } from "./variant-77pc7aym.js";
38
+ } from "./pty-628d53px.js";
39
39
 
40
40
  // src/plugin/provider/opencode.ts
41
41
  import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
61
61
  var RemoteResponse = Schema.Struct({
62
62
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
63
63
  websearch: Schema.Struct({
64
- providerID: ID6
64
+ providerID: ID3
65
65
  }).pipe(Schema.optional),
66
66
  mcp: Schema.Struct({
67
67
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
112
112
  }
113
113
  function oauth(http) {
114
114
  return {
115
- integrationID: ID10.make("opencode"),
115
+ integrationID: ID11.make("opencode"),
116
116
  method: {
117
117
  id: methodID,
118
118
  type: "oauth",
@@ -179,7 +179,7 @@ var OpencodePlugin2 = define({
179
179
  const bus = yield* Service85;
180
180
  const client = yield* HttpClient.HttpClient;
181
181
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
182
- const managed = yield* Service19;
182
+ const managed = yield* Service15;
183
183
  const scope = yield* Scope.Scope;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
231
231
  providers.update(providerID, (provider) => {
232
232
  if (source && source.provider !== provider)
233
233
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
234
- provider.integrationID = ID10.make("opencode");
234
+ provider.integrationID = ID11.make("opencode");
235
235
  if (item.canonical !== undefined)
236
236
  provider.canonical = item.canonical;
237
237
  if (item.name !== undefined)
@@ -267,7 +267,7 @@ var OpencodePlugin2 = define({
267
267
  model.limit = { ...model.limit, ...config.limit };
268
268
  if (config.capabilities?.reasoning !== undefined)
269
269
  model.variants = [
270
- ...resolve4({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
270
+ ...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
271
271
  ];
272
272
  for (const variant of config.variants ?? []) {
273
273
  let existing = model.variants.find((item) => item.id === variant.id);
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
303
303
  sourceConnection: snapshot.connection
304
304
  });
305
305
  }
306
- const item = providers.get(ID9.opencode);
306
+ const item = providers.get(ID10.opencode);
307
307
  if (!item)
308
308
  return;
309
309
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
315
315
  });
316
316
  });
317
317
  yield* ctx.model.transform((models) => {
318
- const item = models.provider.get(ID9.opencode);
318
+ const item = models.provider.get(ID10.opencode);
319
319
  if (!item)
320
320
  return;
321
321
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
349
349
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
350
350
  const token = credential.type === "oauth" ? credential.access : credential.key;
351
351
  const server = yield* normalizeServer(serverUrl(credential));
352
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
352
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
353
353
  query: input.query,
354
354
  providerID: descriptor.providerID
355
355
  }));
@@ -404,10 +404,10 @@ var OpencodePlugin2 = define({
404
404
  });
405
405
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
406
406
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
407
- explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
407
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID10.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
408
408
  });
409
409
  yield* guard(snapshot);
410
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
410
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
411
411
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
412
412
  })
413
413
  });
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./variant-e81pay9y.js";
4
+ } from "./pty-66etgr7v.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service85,
8
8
  node89
9
- } from "./variant-8zkgpeg7.js";
9
+ } from "./pty-jgvqkc2b.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./variant-ec1grn59.js";
12
+ } from "./pty-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./variant-gftt206x.js";
15
+ } from "./pty-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./variant-d1a28jh7.js";
18
+ } from "./pty-d1a28jh7.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./variant-z5v4ffb3.js";
22
+ } from "./pty-z5v4ffb3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./variant-c41wscbt.js";
25
+ } from "./pty-rj3eygr5.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./variant-es1vcfrp.js";
30
+ } from "./pty-c1fqxshp.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./variant-zhy09m26.js";
36
+ } from "./pty-z0scchpv.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./variant-pyg4v0b6.js";
42
+ } from "./pty-kqx1b4hy.js";
43
43
  import {
44
44
  initialize2
45
- } from "./variant-5skg1say.js";
45
+ } from "./pty-h2tq07ke.js";
46
46
  import {
47
47
  Slug2
48
- } from "./variant-gebd4c9n.js";
48
+ } from "./pty-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./variant-9rqn6x4v.js";
51
+ } from "./pty-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node27
58
+ node: () => node33
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -469,6 +469,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
469
469
  return publishSessionUsage(db, bus, event.data.sessionID);
470
470
  }), Effect.forkScoped({ startImmediately: true }));
471
471
  }));
472
- var node27 = makeGlobalNode({ name: "session-projector", layer, deps: [node89, node90] });
472
+ var node33 = makeGlobalNode({ name: "session-projector", layer, deps: [node89, node90] });
473
473
 
474
- export { SessionAlreadyProjected2, node27, exports_projector };
474
+ export { SessionAlreadyProjected2, node33, exports_projector };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./variant-qfa1cgps.js";
3
+ } from "./pty-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./variant-c41wscbt.js";
6
+ } from "./pty-rj3eygr5.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./variant-e81pay9y.js";
4
+ } from "./pty-66etgr7v.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service85,
8
8
  node89
9
- } from "./variant-8zkgpeg7.js";
9
+ } from "./pty-jgvqkc2b.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./variant-775gj3j1.js";
12
+ } from "./pty-775gj3j1.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./variant-ec1grn59.js";
15
+ } from "./pty-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./variant-ts8pmwjm.js";
18
+ } from "./pty-brpn0yq7.js";
19
19
  import {
20
- Service77,
21
- node81
22
- } from "./variant-txz88p3m.js";
20
+ Service62,
21
+ node65
22
+ } from "./pty-72b35rd4.js";
23
23
  import {
24
- Service24,
25
- node28
26
- } from "./variant-9wggzhwd.js";
24
+ Service28,
25
+ node31
26
+ } from "./pty-332j5t5e.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./variant-tdstcens.js";
30
+ } from "./pty-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./variant-9rqn6x4v.js";
33
+ } from "./pty-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service3,
38
+ Service: () => Service2,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
41
  layer: () => layer3,
42
- node: () => node4
42
+ node: () => node3
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service3 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service2 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service3, Effect.gen(function* () {
61
+ var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
62
  const bus = yield* Service85;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service24;
65
- const store = yield* Service77;
64
+ const context = yield* Service28;
65
+ const store = yield* Service62;
66
66
  const db = (yield* Service86).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service3.of({ generate });
148
+ return Service2.of({ generate });
149
149
  }));
150
- var node4 = makeLocationNode({
151
- service: Service3,
150
+ var node3 = makeLocationNode({
151
+ service: Service2,
152
152
  layer: layer3,
153
- deps: [node89, llmClient2, node28, node81, node90]
153
+ deps: [node89, llmClient2, node31, node65, node90]
154
154
  });
155
155
 
156
- export { Service3, isUntitled2, layer3, node4, exports_title };
156
+ export { Service2, isUntitled2, layer3, node3, exports_title };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
10
10
  Hash: () => Hash2,
11
11
  InitializationBlocked: () => InitializationBlocked2,
12
12
  Instructions: () => exports_instructions6,
13
- Key: () => Key4,
13
+ Key: () => Key3,
14
14
  Values: () => Values2,
15
15
  applyHashDelta: () => applyHashDelta2,
16
16
  combine: () => combine2,
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make21,
21
+ make: () => make20,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
28
28
  import { createHash } from "crypto";
29
29
  import { Instruction } from "@opencode/schema/instruction";
30
30
  import { Data, Effect, Option, Schema } from "effect";
31
- var Key4 = Instruction.Key;
31
+ var Key3 = Instruction.Key;
32
32
  var Hash2 = Instruction.Hash;
33
33
  var Values2 = Instruction.Values;
34
34
  var Delta2 = Instruction.Delta;
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
36
36
  var unavailable3 = NonValue.Unavailable();
37
37
  var removed2 = NonValue.Removed();
38
38
 
39
- class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
39
+ class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
40
40
  get message() {
41
41
  return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
42
42
  }
43
43
  }
44
44
 
45
45
  class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
46
- key: Key4
46
+ key: Key3
47
47
  }) {
48
48
  get message() {
49
49
  return `Duplicate instruction key: ${this.key}`;
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make21(source) {
53
+ function make20(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./variant-qnc92qwc.js";
4
+ } from "./pty-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./variant-qfa1cgps.js";
7
+ } from "./pty-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";