@opencode/core 0.0.0-dev-19584 → 0.0.0-dev-19585

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{persistent-pty-eaj1djv9.js → state-02nrjc1r.js} +4 -4
  9. package/dist/chunks/{persistent-pty-8sayvzft.js → state-047mx2wg.js} +30 -30
  10. package/dist/chunks/{persistent-pty-1vs9pjz2.js → state-0assndy4.js} +20 -20
  11. package/dist/chunks/{persistent-pty-hwwdw15z.js → state-0c9ykdxk.js} +2 -2
  12. package/dist/chunks/{persistent-pty-agkbaxng.js → state-0dpxzva5.js} +91 -91
  13. package/dist/chunks/{persistent-pty-qgn6gcr1.js → state-0jwsre1p.js} +5 -5
  14. package/dist/chunks/state-0mesazry.js +4 -0
  15. package/dist/chunks/{persistent-pty-aeah27kd.js → state-0n8wxves.js} +8 -8
  16. package/dist/chunks/{persistent-pty-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{persistent-pty-0q0f95c6.js → state-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{persistent-pty-qh1ywv3d.js → state-0r1a1fzg.js} +16 -16
  19. package/dist/chunks/{persistent-pty-0sd1vqbs.js → state-0sd1vqbs.js} +1 -1
  20. package/dist/chunks/{persistent-pty-scz5cghm.js → state-0tj6kgwv.js} +28 -28
  21. package/dist/chunks/{persistent-pty-5qkxfyep.js → state-10jtetaj.js} +4 -4
  22. package/dist/chunks/{persistent-pty-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{persistent-pty-spgrcnb8.js → state-1gwwkbhx.js} +14 -14
  24. package/dist/chunks/{persistent-pty-m8jf7wk8.js → state-1m07gwnh.js} +34 -34
  25. package/dist/chunks/{persistent-pty-1vr0zdnx.js → state-1vr0zdnx.js} +3 -3
  26. package/dist/chunks/{persistent-pty-0g4mw5j5.js → state-1zjyrs07.js} +11 -11
  27. package/dist/chunks/{persistent-pty-2058e169.js → state-2058e169.js} +1 -1
  28. package/dist/chunks/{persistent-pty-21r38tys.js → state-21r38tys.js} +1 -1
  29. package/dist/chunks/{persistent-pty-j50xegtf.js → state-21r7wqbn.js} +16 -16
  30. package/dist/chunks/{persistent-pty-2402vzrj.js → state-2402vzrj.js} +1 -1
  31. package/dist/chunks/{persistent-pty-7sznsykr.js → state-25b5wh1z.js} +90 -90
  32. package/dist/chunks/{persistent-pty-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{persistent-pty-nrxrcqxy.js → state-2ad6nxyk.js} +6 -6
  34. package/dist/chunks/{persistent-pty-mj18h2aw.js → state-2bgyzf17.js} +59 -59
  35. package/dist/chunks/{persistent-pty-5ac1b84a.js → state-2dejydwk.js} +28 -28
  36. package/dist/chunks/{persistent-pty-7nqbnmvb.js → state-2f9behse.js} +41 -41
  37. package/dist/chunks/{persistent-pty-vfp1b9yp.js → state-2gm7q7x0.js} +25 -25
  38. package/dist/chunks/{persistent-pty-6fkbyjd1.js → state-2nx0ckft.js} +13 -13
  39. package/dist/chunks/{persistent-pty-e56mcz5p.js → state-3189tf5c.js} +4 -4
  40. package/dist/chunks/{persistent-pty-vnmr62xz.js → state-32y0495t.js} +17 -17
  41. package/dist/chunks/{persistent-pty-34rkz0x9.js → state-34rkz0x9.js} +1 -1
  42. package/dist/chunks/{persistent-pty-rwnsg6a6.js → state-37tv5sft.js} +27 -27
  43. package/dist/chunks/{persistent-pty-bha4atvq.js → state-3c4e3q8d.js} +4 -4
  44. package/dist/chunks/{persistent-pty-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{persistent-pty-3dd05w7p.js → state-3g5z5cbj.js} +12 -12
  46. package/dist/chunks/{persistent-pty-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{persistent-pty-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{persistent-pty-pj5203r7.js → state-3sqqgwh5.js} +9 -9
  49. package/dist/chunks/{persistent-pty-s4pktsq9.js → state-3t50nsv9.js} +30 -30
  50. package/dist/chunks/{persistent-pty-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{persistent-pty-tn4ddmrt.js → state-3wr47b46.js} +156 -156
  52. package/dist/chunks/{persistent-pty-9jsys95r.js → state-3zb4tqpj.js} +11 -11
  53. package/dist/chunks/{persistent-pty-5gachfgg.js → state-4780s8zr.js} +9 -9
  54. package/dist/chunks/{persistent-pty-v1t8jh9k.js → state-4fvnr5ap.js} +5 -5
  55. package/dist/chunks/{persistent-pty-kbdb6esp.js → state-4j0xv7gy.js} +28 -28
  56. package/dist/chunks/{persistent-pty-0c81wqd1.js → state-4mmkc7sx.js} +5 -5
  57. package/dist/chunks/{persistent-pty-4mtmdvvs.js → state-4mtmdvvs.js} +1 -1
  58. package/dist/chunks/state-4v7qdvcn.js +18 -0
  59. package/dist/chunks/{persistent-pty-62xz1acx.js → state-4x368qdf.js} +29 -29
  60. package/dist/chunks/{persistent-pty-4ynbxhwa.js → state-4ynbxhwa.js} +2 -2
  61. package/dist/chunks/{persistent-pty-1ygqh575.js → state-56gdpj1q.js} +9 -9
  62. package/dist/chunks/{persistent-pty-hc63f9kn.js → state-56jtaqyy.js} +26 -26
  63. package/dist/chunks/{persistent-pty-589kjr7t.js → state-589kjr7t.js} +1 -1
  64. package/dist/chunks/{persistent-pty-0sx3nms7.js → state-5ay2cyx3.js} +30 -30
  65. package/dist/chunks/{persistent-pty-a1bz86dw.js → state-5c4hm403.js} +3 -3
  66. package/dist/chunks/{persistent-pty-5daktx2q.js → state-5daktx2q.js} +1 -1
  67. package/dist/chunks/{persistent-pty-t0x5rdq8.js → state-5kptn8c0.js} +9 -9
  68. package/dist/chunks/{persistent-pty-8pnhcw9n.js → state-5matf414.js} +16 -16
  69. package/dist/chunks/{persistent-pty-2b6sywcb.js → state-5r58m9f4.js} +8 -8
  70. package/dist/chunks/{persistent-pty-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{persistent-pty-8pathdrb.js → state-5w0k2sgf.js} +17 -17
  72. package/dist/chunks/{persistent-pty-9d535vz8.js → state-5wzpv73x.js} +18 -18
  73. package/dist/chunks/{persistent-pty-669tq793.js → state-669tq793.js} +1 -1
  74. package/dist/chunks/{persistent-pty-2bjnfy8a.js → state-6b3csv91.js} +3 -3
  75. package/dist/chunks/{persistent-pty-bc3gadnq.js → state-6bp5h0s3.js} +11 -11
  76. package/dist/chunks/{persistent-pty-bf3rh841.js → state-6jpkznw2.js} +3 -3
  77. package/dist/chunks/{persistent-pty-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{persistent-pty-dncyknv9.js → state-715dyzdp.js} +51 -51
  79. package/dist/chunks/{persistent-pty-71q4at8m.js → state-71q4at8m.js} +1 -1
  80. package/dist/chunks/{persistent-pty-jxeb4ebr.js → state-71tevz1s.js} +30 -30
  81. package/dist/chunks/{persistent-pty-dwx2f77e.js → state-73kb41h8.js} +44 -44
  82. package/dist/chunks/{persistent-pty-k5zxrj0d.js → state-74qhbg70.js} +8 -8
  83. package/dist/chunks/{persistent-pty-wm96rsv2.js → state-7b8c1rs0.js} +5 -5
  84. package/dist/chunks/{persistent-pty-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{persistent-pty-5vnfk0kh.js → state-7c4jpfkn.js} +9 -9
  86. package/dist/chunks/{persistent-pty-84gqnz71.js → state-7f04ezez.js} +4 -4
  87. package/dist/chunks/state-7kk32ydz.js +247 -0
  88. package/dist/chunks/{persistent-pty-fp32mqfc.js → state-7wykakkp.js} +10 -10
  89. package/dist/chunks/{persistent-pty-3e34z61w.js → state-7zdrdht4.js} +6 -6
  90. package/dist/chunks/{persistent-pty-81swgkk7.js → state-81swgkk7.js} +2 -2
  91. package/dist/chunks/{persistent-pty-844ef7ks.js → state-844ef7ks.js} +1 -1
  92. package/dist/chunks/{persistent-pty-3e58ck0x.js → state-89yzkj5m.js} +18 -18
  93. package/dist/chunks/{persistent-pty-dn7wrvez.js → state-8a639n9f.js} +24 -24
  94. package/dist/chunks/{persistent-pty-z3gdfb1b.js → state-8ar20h4k.js} +4 -4
  95. package/dist/chunks/{persistent-pty-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{persistent-pty-zfx059e4.js → state-8fmttspq.js} +15 -15
  97. package/dist/chunks/{persistent-pty-e09h8vmy.js → state-8ngx95f4.js} +4 -4
  98. package/dist/chunks/{persistent-pty-206yk4e9.js → state-8nk5pr3x.js} +4 -4
  99. package/dist/chunks/{persistent-pty-63jf72mk.js → state-8tccx195.js} +23 -23
  100. package/dist/chunks/{persistent-pty-38e07ncx.js → state-8yhy25dd.js} +41 -41
  101. package/dist/chunks/{persistent-pty-bwryp2h3.js → state-8ymaqm6w.js} +9 -9
  102. package/dist/chunks/{persistent-pty-d1w3xvsh.js → state-92efq58y.js} +22 -22
  103. package/dist/chunks/{persistent-pty-05xwxbj8.js → state-966x6kbg.js} +18 -18
  104. package/dist/chunks/{persistent-pty-1yvnvg7m.js → state-96a4pvf9.js} +9 -9
  105. package/dist/chunks/{persistent-pty-78x4yxpz.js → state-9gkk87pz.js} +4 -4
  106. package/dist/chunks/{persistent-pty-0thdkkg9.js → state-9qe9ae67.js} +22 -22
  107. package/dist/chunks/{persistent-pty-9sgpzjef.js → state-9sgpzjef.js} +1 -1
  108. package/dist/chunks/{persistent-pty-nv1yqemr.js → state-9wq3kma9.js} +15 -15
  109. package/dist/chunks/{persistent-pty-smt3zz30.js → state-a1xp0gqd.js} +9 -9
  110. package/dist/chunks/{persistent-pty-q31fgcfb.js → state-a5axy371.js} +2 -2
  111. package/dist/chunks/{persistent-pty-4mvw3hxq.js → state-a9ym64nf.js} +28 -28
  112. package/dist/chunks/{persistent-pty-aaet6srn.js → state-aaet6srn.js} +2 -2
  113. package/dist/chunks/{persistent-pty-0kg1b9bg.js → state-abzxsg4z.js} +26 -26
  114. package/dist/chunks/{persistent-pty-k7m853hp.js → state-ak2rmdky.js} +11 -11
  115. package/dist/chunks/{persistent-pty-fppfcy2a.js → state-anb97ys3.js} +8 -8
  116. package/dist/chunks/{persistent-pty-3v9hsfh8.js → state-arnsfa90.js} +13 -13
  117. package/dist/chunks/{persistent-pty-b6t4jbed.js → state-av3vfbkv.js} +18 -18
  118. package/dist/chunks/{persistent-pty-b165d2ep.js → state-b2bbmftg.js} +16 -16
  119. package/dist/chunks/{persistent-pty-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{persistent-pty-496txj22.js → state-b9qrp43n.js} +7 -7
  121. package/dist/chunks/{persistent-pty-k2b2g35d.js → state-bd9a3hfc.js} +8 -8
  122. package/dist/chunks/{persistent-pty-qn4ba14w.js → state-bgxcxs0p.js} +5 -5
  123. package/dist/chunks/{persistent-pty-aax53f6n.js → state-bh8dz971.js} +18 -18
  124. package/dist/chunks/{persistent-pty-gdvyk2fc.js → state-bm1f71yt.js} +8 -8
  125. package/dist/chunks/{persistent-pty-e5nv3ght.js → state-bndc73cn.js} +5 -5
  126. package/dist/chunks/{persistent-pty-kkqjkt98.js → state-brkf7bse.js} +11 -11
  127. package/dist/chunks/{persistent-pty-sx4xr51h.js → state-bs9pjq03.js} +13 -13
  128. package/dist/chunks/{persistent-pty-n9a09xjq.js → state-c793mpbv.js} +22 -22
  129. package/dist/chunks/{persistent-pty-w9nng7hv.js → state-ccfa4wxs.js} +6 -6
  130. package/dist/chunks/{persistent-pty-k78143q9.js → state-cmqjtdmm.js} +32 -32
  131. package/dist/chunks/{persistent-pty-nqnxh7mc.js → state-cpy6gm2a.js} +4 -4
  132. package/dist/chunks/{persistent-pty-5k5yck0f.js → state-crgypqmg.js} +9 -9
  133. package/dist/chunks/{persistent-pty-czsydm57.js → state-czsydm57.js} +1 -1
  134. package/dist/chunks/{persistent-pty-xc4jr48e.js → state-d3xgb5wz.js} +41 -41
  135. package/dist/chunks/{persistent-pty-9tmzke5r.js → state-d4vvrd8f.js} +4 -4
  136. package/dist/chunks/{persistent-pty-8p4f9s12.js → state-dj2t23y0.js} +2 -2
  137. package/dist/chunks/{persistent-pty-dsqps89d.js → state-dsqps89d.js} +2 -2
  138. package/dist/chunks/{persistent-pty-7dw2qt1k.js → state-dzme2435.js} +9 -9
  139. package/dist/chunks/{persistent-pty-wb68eg2d.js → state-e2dt2hd0.js} +28 -28
  140. package/dist/chunks/{persistent-pty-22e7kr3t.js → state-e5564262.js} +35 -35
  141. package/dist/chunks/{persistent-pty-ka4yxbtw.js → state-e5f74rt9.js} +33 -33
  142. package/dist/chunks/{persistent-pty-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{persistent-pty-dw69x1rn.js → state-ekrh3kxc.js} +11 -11
  144. package/dist/chunks/{persistent-pty-axp4ehpq.js → state-ep6q31w0.js} +8 -8
  145. package/dist/chunks/{persistent-pty-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{persistent-pty-3cfzdc8e.js → state-evbgk2k8.js} +5 -5
  147. package/dist/chunks/{persistent-pty-59752w5j.js → state-ez36xfhn.js} +19 -19
  148. package/dist/chunks/{persistent-pty-f1zxfvwb.js → state-f1zxfvwb.js} +2 -2
  149. package/dist/chunks/{persistent-pty-krp391jj.js → state-f20n632k.js} +1 -1
  150. package/dist/chunks/{persistent-pty-f6hkkqkf.js → state-f6hkkqkf.js} +2 -2
  151. package/dist/chunks/{persistent-pty-626mqfzg.js → state-fsf1gf1x.js} +23 -23
  152. package/dist/chunks/{persistent-pty-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{persistent-pty-yjajwhcv.js → state-fyqdaz8t.js} +7 -7
  154. package/dist/chunks/{persistent-pty-h6ceay40.js → state-g5rxsc28.js} +28 -28
  155. package/dist/chunks/{persistent-pty-f9yq8qfp.js → state-g7c4c9dq.js} +11 -11
  156. package/dist/chunks/{persistent-pty-bf2va0zq.js → state-g9xty11h.js} +36 -36
  157. package/dist/chunks/{persistent-pty-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{persistent-pty-gznea914.js → state-gd7g0zde.js} +18 -18
  159. package/dist/chunks/{persistent-pty-t0z0qgy3.js → state-gg8ay5jm.js} +21 -21
  160. package/dist/chunks/{persistent-pty-pyge2gej.js → state-gk5mcbs5.js} +11 -11
  161. package/dist/chunks/{persistent-pty-s779q3a9.js → state-gn01w2cw.js} +13 -13
  162. package/dist/chunks/{persistent-pty-grt76b4b.js → state-grt76b4b.js} +4 -4
  163. package/dist/chunks/{persistent-pty-a7a6fc9p.js → state-gt7he45n.js} +18 -18
  164. package/dist/chunks/{persistent-pty-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  165. package/dist/chunks/{persistent-pty-h03wrkyp.js → state-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{persistent-pty-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{persistent-pty-bc0b1cn5.js → state-hcp7me3j.js} +15 -15
  168. package/dist/chunks/{persistent-pty-f828m53h.js → state-hdnk95c8.js} +2 -2
  169. package/dist/chunks/{persistent-pty-hjt4xg1x.js → state-hjt4xg1x.js} +1 -1
  170. package/dist/chunks/{persistent-pty-pa491p54.js → state-j0bxb4ah.js} +3 -3
  171. package/dist/chunks/{persistent-pty-j56e64zr.js → state-j56e64zr.js} +1 -1
  172. package/dist/chunks/{persistent-pty-pmr4s4kc.js → state-j83byb14.js} +4 -4
  173. package/dist/chunks/{persistent-pty-3ythc6yv.js → state-jva4mgym.js} +4 -4
  174. package/dist/chunks/{persistent-pty-3n3mkc0a.js → state-jxahb5yh.js} +11 -11
  175. package/dist/chunks/{persistent-pty-qet0rm74.js → state-k6k8b8dr.js} +12 -12
  176. package/dist/chunks/{persistent-pty-9yt7w0rv.js → state-ka9nzrns.js} +15 -15
  177. package/dist/chunks/{persistent-pty-kg06axw8.js → state-kg06axw8.js} +1 -1
  178. package/dist/chunks/{persistent-pty-ha7sav0k.js → state-kmbsbtj2.js} +15 -15
  179. package/dist/chunks/{persistent-pty-azbmczjz.js → state-kpn23mpx.js} +8 -8
  180. package/dist/chunks/{persistent-pty-jwx4y25k.js → state-kpvyk30t.js} +9 -9
  181. package/dist/chunks/{persistent-pty-cfpkc3c9.js → state-m0jqrx5p.js} +2 -2
  182. package/dist/chunks/{persistent-pty-c0dsdm4e.js → state-m4r7hmz3.js} +5 -5
  183. package/dist/chunks/{persistent-pty-6jnybvqn.js → state-m86bnw2c.js} +9 -9
  184. package/dist/chunks/{persistent-pty-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{persistent-pty-magykp64.js → state-magykp64.js} +1 -1
  186. package/dist/chunks/{persistent-pty-nzhrp77s.js → state-mcvf4ecq.js} +7 -7
  187. package/dist/chunks/{persistent-pty-s70jy2hq.js → state-md4zkmej.js} +11 -11
  188. package/dist/chunks/{persistent-pty-hm4t8meg.js → state-mhyrstae.js} +15 -15
  189. package/dist/chunks/state-mkcvx21g.js +466 -0
  190. package/dist/chunks/{persistent-pty-5p9h7pff.js → state-mm8kamv6.js} +19 -19
  191. package/dist/chunks/{persistent-pty-jvhzf42w.js → state-n8dg5zmh.js} +11 -11
  192. package/dist/chunks/{persistent-pty-sdch2j4x.js → state-n9vjy7vk.js} +12 -12
  193. package/dist/chunks/{persistent-pty-ehddvng3.js → state-nc9naz3s.js} +18 -18
  194. package/dist/chunks/{persistent-pty-kbyt3dpp.js → state-nh1ke53h.js} +9 -9
  195. package/dist/chunks/{persistent-pty-bhp3acg7.js → state-nmhn2qh6.js} +16 -16
  196. package/dist/chunks/{persistent-pty-hbm93p8d.js → state-nn79ydvy.js} +8 -8
  197. package/dist/chunks/{persistent-pty-nqzv378d.js → state-nqzv378d.js} +1 -1
  198. package/dist/chunks/{persistent-pty-nwbgmj8m.js → state-nsk2qhm1.js} +46 -46
  199. package/dist/chunks/{persistent-pty-kge582w3.js → state-nx7g23ta.js} +32 -32
  200. package/dist/chunks/{persistent-pty-p158fnhc.js → state-p158fnhc.js} +1 -1
  201. package/dist/chunks/{persistent-pty-p0hf09xn.js → state-p2h5zem2.js} +6 -6
  202. package/dist/chunks/{persistent-pty-rcpm74vd.js → state-p43gddxw.js} +23 -23
  203. package/dist/chunks/{persistent-pty-5svcwycr.js → state-p8d91xwk.js} +33 -33
  204. package/dist/chunks/{persistent-pty-w1k39n5e.js → state-paegk39x.js} +4 -4
  205. package/dist/chunks/{persistent-pty-pb1eahw5.js → state-pb1eahw5.js} +3 -3
  206. package/dist/chunks/{persistent-pty-bn34ha38.js → state-pbyctwrm.js} +9 -9
  207. package/dist/chunks/{persistent-pty-zats4t81.js → state-pbygh8wd.js} +27 -27
  208. package/dist/chunks/{persistent-pty-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{persistent-pty-pknna89w.js → state-pknna89w.js} +1 -1
  210. package/dist/chunks/{persistent-pty-9qkncw00.js → state-pvpbdkha.js} +27 -27
  211. package/dist/chunks/{persistent-pty-s6dtgd81.js → state-q0jn4ry4.js} +15 -15
  212. package/dist/chunks/{persistent-pty-nvxvk6cq.js → state-q5sfm9wz.js} +22 -22
  213. package/dist/chunks/{persistent-pty-h9rm1rrn.js → state-qa7075pb.js} +5 -5
  214. package/dist/chunks/{persistent-pty-8de9g2wa.js → state-qd153e6s.js} +8 -8
  215. package/dist/chunks/{persistent-pty-ezvncnwm.js → state-qdecs828.js} +23 -23
  216. package/dist/chunks/{persistent-pty-r5fkrtf5.js → state-qe942eqv.js} +17 -17
  217. package/dist/chunks/{persistent-pty-g2xmwvbg.js → state-qhpsd41d.js} +25 -25
  218. package/dist/chunks/{persistent-pty-0z8xks3p.js → state-qkgaq2fd.js} +13 -13
  219. package/dist/chunks/{persistent-pty-pw9v3g6d.js → state-qm7jrdpz.js} +8 -8
  220. package/dist/chunks/{persistent-pty-qsdy395h.js → state-qsdy395h.js} +1 -1
  221. package/dist/chunks/{persistent-pty-t5whs6d7.js → state-qtp1kmbh.js} +69 -69
  222. package/dist/chunks/{persistent-pty-3sy2rmfm.js → state-r05swpc3.js} +18 -18
  223. package/dist/chunks/{persistent-pty-bcpx3kh8.js → state-r11d7zgh.js} +9 -9
  224. package/dist/chunks/{persistent-pty-eq1pz5kg.js → state-r5x6zcsm.js} +3 -3
  225. package/dist/chunks/{persistent-pty-17cze9zm.js → state-r7x5zkyr.js} +6 -6
  226. package/dist/chunks/{persistent-pty-r8xr0va3.js → state-r8xr0va3.js} +1 -1
  227. package/dist/chunks/{persistent-pty-r9mregkx.js → state-r9mregkx.js} +2 -2
  228. package/dist/chunks/{persistent-pty-5d15hsb6.js → state-rkn3s9yj.js} +13 -13
  229. package/dist/chunks/{persistent-pty-ddm8m3z4.js → state-rqh8sqwg.js} +8 -8
  230. package/dist/chunks/{persistent-pty-42yzd3fp.js → state-rspxbq4f.js} +11 -11
  231. package/dist/chunks/{persistent-pty-r9f3x48r.js → state-rwp9vqf6.js} +32 -32
  232. package/dist/chunks/{persistent-pty-9mzygsgd.js → state-s03e02j9.js} +24 -24
  233. package/dist/chunks/{persistent-pty-cr07tj7n.js → state-s8zy8myc.js} +5 -5
  234. package/dist/chunks/{persistent-pty-ssn2d03m.js → state-scf3wqrs.js} +9 -9
  235. package/dist/chunks/{persistent-pty-68bd668p.js → state-skbm2tv3.js} +20 -20
  236. package/dist/chunks/{persistent-pty-6f3x1sac.js → state-sy5x3wzp.js} +24 -24
  237. package/dist/chunks/{persistent-pty-xzpmzq69.js → state-t6n9dx9w.js} +5 -5
  238. package/dist/chunks/{persistent-pty-nvtvgz84.js → state-t9hrqajq.js} +28 -28
  239. package/dist/chunks/{persistent-pty-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{persistent-pty-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{persistent-pty-tdstcens.js → state-tdstcens.js} +1 -1
  242. package/dist/chunks/{persistent-pty-1kvn4pb6.js → state-tnkeyv2f.js} +13 -13
  243. package/dist/chunks/{persistent-pty-vx4t8ze6.js → state-tph5atj5.js} +5 -5
  244. package/dist/chunks/{persistent-pty-e970wt3q.js → state-trw41p2v.js} +17 -17
  245. package/dist/chunks/{persistent-pty-8gxqpgph.js → state-ttqh24zm.js} +4 -4
  246. package/dist/chunks/{persistent-pty-tvtrv512.js → state-tvtrv512.js} +1 -1
  247. package/dist/chunks/{persistent-pty-tx9qvpbt.js → state-tx9qvpbt.js} +2 -2
  248. package/dist/chunks/{persistent-pty-9f9vwzym.js → state-tye36bcg.js} +8 -8
  249. package/dist/chunks/{persistent-pty-z7h38qqt.js → state-vb7ycbc9.js} +14 -14
  250. package/dist/chunks/{persistent-pty-veqvce7d.js → state-veqvce7d.js} +1 -1
  251. package/dist/chunks/{persistent-pty-pzj2rmc9.js → state-vtqzksea.js} +29 -29
  252. package/dist/chunks/{persistent-pty-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{persistent-pty-8408vx5q.js → state-w1907c88.js} +23 -23
  254. package/dist/chunks/{persistent-pty-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/state-w97wtb7e.js +26 -0
  256. package/dist/chunks/{persistent-pty-wd87259q.js → state-wd87259q.js} +1 -1
  257. package/dist/chunks/{persistent-pty-vj3eq5bp.js → state-we36wy78.js} +13 -13
  258. package/dist/chunks/{persistent-pty-e56fx67n.js → state-wqcb0hpm.js} +6 -6
  259. package/dist/chunks/{persistent-pty-afhxak9c.js → state-wsykb35p.js} +16 -16
  260. package/dist/chunks/{persistent-pty-na270pps.js → state-wzqj207d.js} +35 -35
  261. package/dist/chunks/{persistent-pty-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{persistent-pty-5cd5fjqe.js → state-x569bdqa.js} +1 -1
  263. package/dist/chunks/{persistent-pty-czp9ge7b.js → state-x6pctmyv.js} +18 -18
  264. package/dist/chunks/{persistent-pty-rgze53b9.js → state-xdd3rs2c.js} +9 -9
  265. package/dist/chunks/{persistent-pty-xg9t41r3.js → state-xg9t41r3.js} +2 -2
  266. package/dist/chunks/{persistent-pty-vnqcaznc.js → state-xha59mwg.js} +8 -8
  267. package/dist/chunks/{persistent-pty-9vh4jr2k.js → state-xxzf0ejs.js} +13 -13
  268. package/dist/chunks/{persistent-pty-ysey65vb.js → state-y09t7566.js} +23 -23
  269. package/dist/chunks/{persistent-pty-wghwg6ra.js → state-y1dxsfsh.js} +35 -35
  270. package/dist/chunks/{persistent-pty-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{persistent-pty-gnt37ab8.js → state-y232qd0c.js} +32 -32
  272. package/dist/chunks/{persistent-pty-82s8z8za.js → state-y3a4c9er.js} +18 -18
  273. package/dist/chunks/{persistent-pty-y71avatq.js → state-y71avatq.js} +1 -1
  274. package/dist/chunks/{persistent-pty-cteaegd3.js → state-y8ye8e9v.js} +13 -13
  275. package/dist/chunks/{persistent-pty-5xw2c6z8.js → state-yh58a55y.js} +31 -31
  276. package/dist/chunks/{persistent-pty-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{persistent-pty-5v5spdss.js → state-yrtvc2gm.js} +22 -22
  278. package/dist/chunks/{persistent-pty-yrznvahk.js → state-yrznvahk.js} +2 -2
  279. package/dist/chunks/{persistent-pty-sn6fh5zf.js → state-yv9w9dg0.js} +27 -27
  280. package/dist/chunks/{persistent-pty-xcwerhy1.js → state-yx8q910t.js} +19 -19
  281. package/dist/chunks/{persistent-pty-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{persistent-pty-2b6fmm76.js → state-z30jd0vy.js} +45 -45
  283. package/dist/chunks/{persistent-pty-z63w68vq.js → state-z63w68vq.js} +2 -2
  284. package/dist/chunks/{persistent-pty-j2mfdbp4.js → state-zc400w9e.js} +47 -47
  285. package/dist/chunks/{persistent-pty-ge5v2f0h.js → state-ze5b2pt8.js} +27 -27
  286. package/dist/chunks/{persistent-pty-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{persistent-pty-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{persistent-pty-fzvehgre.js → state-zrw639qq.js} +26 -26
  289. package/dist/chunks/{persistent-pty-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +121 -121
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +137 -137
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +120 -120
  303. package/dist/config/plugin/image.js +119 -119
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +119 -119
  306. package/dist/config/plugin/mcp.js +130 -130
  307. package/dist/config/plugin/policy.js +118 -118
  308. package/dist/config/plugin/provider.js +117 -117
  309. package/dist/config/plugin/reference.js +121 -121
  310. package/dist/config/plugin/shell.js +119 -119
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +140 -140
  313. package/dist/config/plugin/snapshot.js +119 -119
  314. package/dist/config/plugin/source.js +121 -121
  315. package/dist/config/plugin/tool-output.js +121 -121
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +122 -122
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +365 -365
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +225 -225
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +103 -103
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +90 -90
  432. package/dist/git.js +10 -10
  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 +7 -7
  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/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +76 -76
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +135 -135
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +124 -124
  473. package/dist/mcp/oauth.js +3 -3
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +7 -7
  477. package/dist/model-resolver.js +87 -87
  478. package/dist/model.js +2 -2
  479. package/dist/models-dev.js +87 -87
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +104 -104
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +81 -81
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +1 -1
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +76 -76
  497. package/dist/plugin/module.js +5 -5
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +79 -79
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +137 -137
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +344 -344
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +223 -223
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +83 -83
  558. package/dist/provider.js +1 -1
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +88 -88
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +96 -96
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +133 -133
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +3 -3
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +126 -126
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +87 -87
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +96 -96
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +117 -117
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +228 -228
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +87 -87
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +114 -114
  603. package/dist/session/runner/step.js +123 -123
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +1 -1
  606. package/dist/session/session.js +172 -172
  607. package/dist/session/shell.js +134 -134
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +74 -74
  611. package/dist/session/store.js +84 -84
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +153 -153
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +220 -220
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +213 -213
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +11 -11
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +109 -109
  628. package/dist/snapshot.js +90 -90
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +123 -123
  633. package/dist/tool/plugin/edit.js +113 -113
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +121 -121
  636. package/dist/tool/plugin/grep.js +121 -121
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +119 -119
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +214 -214
  642. package/dist/tool/plugin/skill.js +110 -110
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +111 -111
  645. package/dist/tool/plugin/websearch.js +109 -109
  646. package/dist/tool/plugin/write.js +119 -119
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +3 -3
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +1 -1
  663. package/dist/v1/config/config.js +14 -14
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +3 -3
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +4 -4
  670. package/dist/v1/config/permission.js +1 -1
  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/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +73 -73
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +77 -77
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +8 -8
  687. package/dist/worktree/refresh.js +345 -345
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +93 -93
  690. package/package.json +8 -8
  691. package/dist/chunks/persistent-pty-0qxvqcep.js +0 -247
  692. package/dist/chunks/persistent-pty-4yg1bvbf.js +0 -466
  693. package/dist/chunks/persistent-pty-9sh4wc5j.js +0 -18
  694. package/dist/chunks/persistent-pty-qapv375x.js +0 -4
  695. package/dist/chunks/persistent-pty-znahqxh9.js +0 -26
  696. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-2710q6r3.js → state-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-359p4xyc.js → state-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-3asan66x.js → state-3asan66x.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-53557ph1.js → state-53557ph1.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-550bvhaj.js → state-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-6prwharc.js → state-6prwharc.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-7m9af43g.js → state-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-822emrt2.js → state-822emrt2.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-8n3pysct.js → state-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-922hggd3.js → state-922hggd3.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-af5trqkr.js → state-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-afrmfg78.js → state-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-d9fn303g.js → state-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-dajrwvna.js → state-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-dap0rakb.js → state-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-df08tz66.js → state-df08tz66.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-dy18nga0.js → state-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-ec1grn59.js → state-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-faypxj3z.js → state-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-fd410y7t.js → state-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-g86h250q.js → state-g86h250q.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-gftt206x.js → state-gftt206x.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-hk9envan.js → state-hk9envan.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-hrnqkpcd.js → state-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-j7wq2tw5.js → state-j7wq2tw5.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-mp448xyj.js → state-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-njntx4h6.js → state-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-paphc93g.js → state-paphc93g.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-q74kybfr.js → state-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-twg0f83k.js → state-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-w803qqfp.js → state-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-wtztk69x.js → state-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-x61499pn.js → state-x61499pn.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-y44na4kk.js → state-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-y8f7s663.js → state-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-ym463w8f.js → state-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service73,
10
- node: () => node78
9
+ Service: () => Service80,
10
+ node: () => node85
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service73 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service80 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service73, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service73.of({ has, register, trigger });
57
+ return Service80.of({ has, register, trigger });
58
58
  }));
59
- var node78 = makeLocationNode({ service: Service73, layer, deps: [] });
59
+ var node85 = makeLocationNode({ service: Service80, layer, deps: [] });
60
60
 
61
- export { Service73, node78, exports_hooks };
61
+ export { Service80, node85, exports_hooks };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./persistent-pty-8pnhcw9n.js";
2
+ Service76,
3
+ node81
4
+ } from "./state-5matf414.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./persistent-pty-tazgh4e4.js";
9
+ } from "./state-tazgh4e4.js";
10
10
  import {
11
- Service76,
12
- node81
13
- } from "./persistent-pty-spgrcnb8.js";
11
+ Service73,
12
+ node78
13
+ } from "./state-1gwwkbhx.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./persistent-pty-kg06axw8.js";
17
+ } from "./state-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./persistent-pty-9rqn6x4v.js";
20
+ } from "./state-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info5,
29
+ Info: () => Info7,
30
30
  Mode: () => Mode2,
31
- Service: () => Service20,
31
+ Service: () => Service39,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node24
33
+ node: () => node43
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service20 extends Context.Service()("@opencode/Vcs") {
48
+ class Service39 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service20, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
53
- const bus = yield* Service79;
52
+ const location = yield* Service73;
53
+ const bus = yield* Service76;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service20.of({
118
+ return Service39.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node24 = makeLocationNode({
165
- service: Service20,
164
+ var node43 = makeLocationNode({
165
+ service: Service39,
166
166
  layer,
167
- deps: [FSUtil.node, node81, node84]
167
+ deps: [FSUtil.node, node78, node81]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service20, node24, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, Service39, node43, exports_vcs };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-2b6sywcb.js";
3
+ } from "./state-5r58m9f4.js";
4
4
  import {
5
- Service79
6
- } from "./persistent-pty-8pnhcw9n.js";
5
+ Service76
6
+ } from "./state-5matf414.js";
7
7
  import {
8
8
  OAuth3,
9
- Event15,
10
- Service60
11
- } from "./persistent-pty-m8jf7wk8.js";
9
+ Event17,
10
+ Service64
11
+ } from "./state-1m07gwnh.js";
12
12
  import {
13
- ID6,
13
+ ID7,
14
14
  MethodID2,
15
- Service58
16
- } from "./persistent-pty-scz5cghm.js";
15
+ Service60
16
+ } from "./state-0tj6kgwv.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./persistent-pty-pjvnvgmy.js";
20
+ } from "./state-pjvnvgmy.js";
21
21
  import {
22
22
  ID11
23
- } from "./persistent-pty-0sd1vqbs.js";
23
+ } from "./state-0sd1vqbs.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./persistent-pty-nzhrp77s.js";
26
+ } from "./state-mcvf4ecq.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,7 +31,7 @@ import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
33
  var providerID = ID11.make("snowflake-cortex");
34
- var integrationID = ID6.make(providerID);
34
+ var integrationID = ID7.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ 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* Service60;
57
- const integrations = yield* Service58;
58
- const bus = yield* Service79;
56
+ const credentials = yield* Service64;
57
+ const integrations = yield* Service60;
58
+ const bus = yield* Service76;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
178
178
  model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
179
179
  }
180
180
  });
181
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
181
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
182
182
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
183
183
  const token = envToken();
184
184
  if (token)
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service80
3
- } from "./persistent-pty-0g4mw5j5.js";
2
+ Service77
3
+ } from "./state-1zjyrs07.js";
4
4
  import {
5
- Service79
6
- } from "./persistent-pty-8pnhcw9n.js";
5
+ Service76
6
+ } from "./state-5matf414.js";
7
7
  import {
8
- Service51
9
- } from "./persistent-pty-w9nng7hv.js";
8
+ Service56
9
+ } from "./state-ccfa4wxs.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./persistent-pty-922hggd3.js";
12
+ } from "./state-922hggd3.js";
13
13
  import {
14
- ID5,
15
- Service38
16
- } from "./persistent-pty-gnt37ab8.js";
14
+ ID4,
15
+ Service32
16
+ } from "./state-y232qd0c.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./persistent-pty-ec1grn59.js";
19
+ } from "./state-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./persistent-pty-gftt206x.js";
22
+ } from "./state-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./persistent-pty-1vr0zdnx.js";
25
+ } from "./state-1vr0zdnx.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./persistent-pty-a1bz86dw.js";
28
+ } from "./state-5c4hm403.js";
29
29
  import {
30
30
  __export
31
- } from "./persistent-pty-9rqn6x4v.js";
31
+ } from "./state-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service51;
46
- const database = yield* Service80;
47
- const bus = yield* Service79;
45
+ const instances = yield* Service56;
46
+ const database = yield* Service77;
47
+ const bus = yield* Service76;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service38;
50
- const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service32;
50
+ const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service51;
78
- const bus = yield* Service79;
77
+ const instances = yield* Service56;
78
+ const bus = yield* Service76;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service38;
80
+ const snapshot = yield* Service32;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID5.make(message.snapshot.start));
114
+ files.set(file, ID4.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./persistent-pty-y71avatq.js";
3
+ } from "./state-y71avatq.js";
4
4
  import {
5
- Service65,
6
- node69
7
- } from "./persistent-pty-dn7wrvez.js";
5
+ Service71,
6
+ node75
7
+ } from "./state-8a639n9f.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./state-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service64,
17
- node: () => node68,
16
+ Service: () => Service70,
17
+ node: () => node74,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service64 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service70 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service64, Effect.gen(function* () {
38
- const environment = yield* Service65;
37
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
38
+ const environment = yield* Service71;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service64.of({ withLock, write, writeTextPreservingBom });
59
+ return Service70.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node68 = makeLocationNode({ service: Service64, layer, deps: [node69] });
61
+ var node74 = makeLocationNode({ service: Service70, layer, deps: [node75] });
62
62
 
63
- export { Service64, readText2, syncTextBom2, node68, exports_file_mutation };
63
+ export { Service70, readText2, syncTextBom2, node74, exports_file_mutation };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./persistent-pty-1ygqh575.js";
3
+ } from "./state-56gdpj1q.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin8,
11
+ Plugin: () => Plugin35,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint5
13
+ endpoint: () => endpoint3
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint5 = "https://mcp.exa.ai/mcp";
18
+ var endpoint3 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin8 = define({
30
+ var Plugin35 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin8 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint5);
52
+ const url = new URL(endpoint3);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint5, Plugin8, exports_exa };
83
+ export { endpoint3, Plugin35, exports_exa };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,115 +1,115 @@
1
1
  import {
2
- Service80,
3
- node85
4
- } from "./persistent-pty-0g4mw5j5.js";
2
+ Service77,
3
+ node82
4
+ } from "./state-1zjyrs07.js";
5
5
  import {
6
- Service79,
7
- node84
8
- } from "./persistent-pty-8pnhcw9n.js";
6
+ Service76,
7
+ node81
8
+ } from "./state-5matf414.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./persistent-pty-ec1grn59.js";
11
+ } from "./state-ec1grn59.js";
12
12
  import {
13
13
  SessionMessageTable2
14
- } from "./persistent-pty-a1bz86dw.js";
14
+ } from "./state-5c4hm403.js";
15
15
  import {
16
16
  prepare4
17
- } from "./persistent-pty-bha4atvq.js";
17
+ } from "./state-3c4e3q8d.js";
18
18
  import {
19
19
  llmClient2
20
- } from "./persistent-pty-5t3nmthw.js";
20
+ } from "./state-5t3nmthw.js";
21
21
  import {
22
22
  SessionMessage2
23
- } from "./persistent-pty-gftt206x.js";
23
+ } from "./state-gftt206x.js";
24
24
  import {
25
25
  StepFailedError2
26
- } from "./persistent-pty-1vr0zdnx.js";
26
+ } from "./state-1vr0zdnx.js";
27
27
  import {
28
28
  provenance2
29
- } from "./persistent-pty-w1k39n5e.js";
29
+ } from "./state-paegk39x.js";
30
30
  import {
31
31
  decodeMessageRow2,
32
32
  preview2
33
- } from "./persistent-pty-fppfcy2a.js";
33
+ } from "./state-anb97ys3.js";
34
34
  import {
35
- Service72,
36
- node77
37
- } from "./persistent-pty-bc0b1cn5.js";
35
+ Service68,
36
+ node72
37
+ } from "./state-hcp7me3j.js";
38
38
  import {
39
- Service36,
40
- node40
41
- } from "./persistent-pty-jvhzf42w.js";
39
+ Service25,
40
+ node29
41
+ } from "./state-n8dg5zmh.js";
42
42
  import {
43
43
  baseTranscript2
44
- } from "./persistent-pty-s4pktsq9.js";
44
+ } from "./state-3t50nsv9.js";
45
45
  import {
46
- make9
47
- } from "./persistent-pty-nrxrcqxy.js";
46
+ make7
47
+ } from "./state-2ad6nxyk.js";
48
48
  import {
49
- Service8,
50
- node11
51
- } from "./persistent-pty-5xw2c6z8.js";
49
+ Service11,
50
+ node14
51
+ } from "./state-yh58a55y.js";
52
52
  import {
53
- Service26,
54
- node31
55
- } from "./persistent-pty-agkbaxng.js";
53
+ Service18,
54
+ node22
55
+ } from "./state-0dpxzva5.js";
56
56
  import {
57
57
  serialized2,
58
58
  nextPromotable2,
59
59
  promote2
60
- } from "./persistent-pty-kbdb6esp.js";
60
+ } from "./state-4j0xv7gy.js";
61
61
  import {
62
- Service2,
62
+ Service3,
63
63
  isUntitled2,
64
- node3
65
- } from "./persistent-pty-8sayvzft.js";
64
+ node4
65
+ } from "./state-047mx2wg.js";
66
66
  import {
67
67
  DrainResult2,
68
- Service49
69
- } from "./persistent-pty-8gxqpgph.js";
68
+ Service53
69
+ } from "./state-ttqh24zm.js";
70
70
  import {
71
- node43
72
- } from "./persistent-pty-gnt37ab8.js";
71
+ node36
72
+ } from "./state-y232qd0c.js";
73
73
  import {
74
- node46
75
- } from "./persistent-pty-sdch2j4x.js";
74
+ node49
75
+ } from "./state-n9vjy7vk.js";
76
76
  import {
77
77
  Outcome2,
78
78
  make3
79
- } from "./persistent-pty-5p9h7pff.js";
79
+ } from "./state-mm8kamv6.js";
80
80
  import {
81
- Service32
82
- } from "./persistent-pty-9sh4wc5j.js";
81
+ Service29
82
+ } from "./state-4v7qdvcn.js";
83
83
  import {
84
84
  node18
85
- } from "./persistent-pty-xcwerhy1.js";
85
+ } from "./state-yx8q910t.js";
86
86
  import {
87
87
  MAX_STEPS_PROMPT2
88
- } from "./persistent-pty-y44na4kk.js";
88
+ } from "./state-y44na4kk.js";
89
89
  import {
90
90
  __export
91
- } from "./persistent-pty-9rqn6x4v.js";
91
+ } from "./state-9rqn6x4v.js";
92
92
 
93
93
  // src/session/runner/llm.ts
94
94
  var exports_llm = {};
95
95
  __export(exports_llm, {
96
96
  SessionRunnerLLM: () => exports_llm,
97
- node: () => node2
97
+ node: () => node3
98
98
  });
99
99
  import { Message } from "@opencode/ai";
100
100
  import { and, desc, eq, sql } from "drizzle-orm";
101
101
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
102
102
  import { makeLocationNode } from "@opencode/util/effect/app-node";
103
103
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
104
- var layer = Layer.effect(Service49, Effect.gen(function* () {
105
- const bus = yield* Service79;
106
- const store = yield* Service72;
107
- const context = yield* Service26;
108
- const modelTransport = yield* Service36;
109
- const db = (yield* Service80).db;
110
- const compaction = yield* Service8;
111
- const plugins = yield* Service32;
112
- const title = yield* Service2;
104
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
105
+ const bus = yield* Service76;
106
+ const store = yield* Service68;
107
+ const context = yield* Service18;
108
+ const modelTransport = yield* Service25;
109
+ const db = (yield* Service77).db;
110
+ const compaction = yield* Service11;
111
+ const plugins = yield* Service29;
112
+ const title = yield* Service3;
113
113
  const steps = yield* make3;
114
114
  const titles = yield* FiberMap.make();
115
115
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
231
231
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
232
232
  const sessionID = first.session.id;
233
233
  let assistantMessageID = SessionMessage2.ID.create();
234
- const retry = yield* make9(bus, sessionID);
234
+ const retry = yield* make7(bus, sessionID);
235
235
  let initial = first;
236
236
  let recoverOverflow = true;
237
237
  let recoverContinuation = true;
@@ -351,24 +351,24 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
351
351
  }
352
352
  }
353
353
  });
354
- return Service49.of({ drain });
354
+ return Service53.of({ drain });
355
355
  }));
356
- var node2 = makeLocationNode({
357
- service: Service49,
356
+ var node3 = makeLocationNode({
357
+ service: Service53,
358
358
  layer,
359
359
  deps: [
360
- node84,
360
+ node81,
361
361
  llmClient2,
362
- node31,
363
- node40,
364
- node77,
365
- node11,
362
+ node22,
363
+ node29,
364
+ node72,
365
+ node14,
366
366
  node18,
367
- node3,
368
- node43,
369
- node46,
370
- node85
367
+ node4,
368
+ node36,
369
+ node49,
370
+ node82
371
371
  ]
372
372
  });
373
373
 
374
- export { node2, exports_llm };
374
+ export { node3, exports_llm };