@opencode/core 0.0.0-dev-19772 → 0.0.0-dev-19774

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{file-zhvjewb1.js → file-mutation-0a8rb6zk.js} +8 -8
  8. package/dist/chunks/file-mutation-0dr17sfc.js +252 -0
  9. package/dist/chunks/{file-4dnw4fzb.js → file-mutation-0ehxtnnz.js} +20 -20
  10. package/dist/chunks/{file-02nrjc1r.js → file-mutation-0gdmqesm.js} +8 -8
  11. package/dist/chunks/{file-wvp89zrt.js → file-mutation-0kpaqnhp.js} +11 -11
  12. package/dist/chunks/{file-dgf6d44x.js → file-mutation-0md6znfh.js} +6 -6
  13. package/dist/chunks/{file-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{file-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{file-94s2pdns.js → file-mutation-0svbgh5c.js} +43 -43
  16. package/dist/chunks/{file-nb532tg8.js → file-mutation-16ykham6.js} +12 -12
  17. package/dist/chunks/{file-v53gfhad.js → file-mutation-18xb591f.js} +7 -7
  18. package/dist/chunks/{file-5fkxaj5s.js → file-mutation-1b5j2nkr.js} +5 -5
  19. package/dist/chunks/{file-d1mbserq.js → file-mutation-1btxqys4.js} +4 -4
  20. package/dist/chunks/{file-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{file-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  22. package/dist/chunks/{file-sp8y8b7b.js → file-mutation-21s87zpc.js} +20 -20
  23. package/dist/chunks/{file-55j2v9k6.js → file-mutation-267zfkt7.js} +20 -20
  24. package/dist/chunks/{file-zyfew8ns.js → file-mutation-26zn0zdd.js} +27 -27
  25. package/dist/chunks/{file-z63w68vq.js → file-mutation-29x78va6.js} +6 -6
  26. package/dist/chunks/{file-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{file-q4629ca0.js → file-mutation-2hgjwxzn.js} +17 -17
  28. package/dist/chunks/{file-magykp64.js → file-mutation-2pnhn36q.js} +21 -21
  29. package/dist/chunks/{file-fjtsztdw.js → file-mutation-2qfmjqcy.js} +11 -11
  30. package/dist/chunks/{file-c78bbtc9.js → file-mutation-2qp6y8xf.js} +5 -5
  31. package/dist/chunks/{file-3kke03kt.js → file-mutation-2tnvdx3z.js} +186 -186
  32. package/dist/chunks/{file-csk5y31k.js → file-mutation-2xn06zhq.js} +17 -17
  33. package/dist/chunks/{file-2rx2wg8g.js → file-mutation-32h20yfr.js} +3 -3
  34. package/dist/chunks/{file-h36v7wj5.js → file-mutation-337ej1cd.js} +5 -5
  35. package/dist/chunks/{file-6grmf33y.js → file-mutation-36ysvq8r.js} +17 -17
  36. package/dist/chunks/{file-tz2j9nz1.js → file-mutation-3cdqy5gs.js} +6 -6
  37. package/dist/chunks/{file-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{file-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{file-bct739vz.js → file-mutation-3j8sdtpz.js} +4 -4
  40. package/dist/chunks/file-mutation-3n20nwgf.js +478 -0
  41. package/dist/chunks/{file-ftdzjz2b.js → file-mutation-3rqkssp8.js} +8 -8
  42. package/dist/chunks/{file-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{file-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{file-w418y777.js → file-mutation-3zbb0e4x.js} +13 -13
  45. package/dist/chunks/{file-fkjmw100.js → file-mutation-44ke2mar.js} +6 -6
  46. package/dist/chunks/{file-2zzhbfmj.js → file-mutation-4en4kvr5.js} +5 -5
  47. package/dist/chunks/{file-7xps8bb1.js → file-mutation-4hsrte5k.js} +21 -21
  48. package/dist/chunks/{file-fvbnea60.js → file-mutation-4vtzzjzy.js} +33 -33
  49. package/dist/chunks/{file-56gdpj1q.js → file-mutation-56gdpj1q.js} +2 -2
  50. package/dist/chunks/{file-8nkxt6xp.js → file-mutation-59bsrgj4.js} +30 -30
  51. package/dist/chunks/{file-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  52. package/dist/chunks/{file-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{file-31wqgk5p.js → file-mutation-5x4r9t6b.js} +7 -7
  54. package/dist/chunks/{file-ja67c5z9.js → file-mutation-5xv3dz3w.js} +89 -89
  55. package/dist/chunks/{file-w676f2yv.js → file-mutation-608s2005.js} +19 -19
  56. package/dist/chunks/{file-1hc11dc4.js → file-mutation-64kphnzf.js} +4 -4
  57. package/dist/chunks/{file-669tq793.js → file-mutation-669tq793.js} +1 -1
  58. package/dist/chunks/{file-018x1ems.js → file-mutation-672tdqna.js} +32 -32
  59. package/dist/chunks/{file-6h73sxmp.js → file-mutation-6h73sxmp.js} +1 -1
  60. package/dist/chunks/file-mutation-6kdq0pjd.js +4 -0
  61. package/dist/chunks/{file-v9qkps81.js → file-mutation-6mn82bpr.js} +6 -6
  62. package/dist/chunks/{file-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{file-fgrqxmc5.js → file-mutation-6qdm2rsa.js} +11 -11
  64. package/dist/chunks/{file-wkmpenx3.js → file-mutation-6reav88k.js} +24 -24
  65. package/dist/chunks/{file-nk46f8av.js → file-mutation-6tegjpz6.js} +9 -9
  66. package/dist/chunks/{file-ehy7cw58.js → file-mutation-6y0m54vs.js} +13 -13
  67. package/dist/chunks/{file-gq8aqzna.js → file-mutation-7000hrfc.js} +11 -11
  68. package/dist/chunks/{file-f6jg9yks.js → file-mutation-73k5nevg.js} +36 -36
  69. package/dist/chunks/{file-hz1es13a.js → file-mutation-744d2y49.js} +13 -13
  70. package/dist/chunks/file-mutation-75z37rd0.js +65 -0
  71. package/dist/chunks/{file-e3fp033c.js → file-mutation-7bhykvjv.js} +26 -26
  72. package/dist/chunks/{file-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{file-7bzk74m1.js → file-mutation-7bx1sn78.js} +16 -16
  74. package/dist/chunks/{file-7dqw4kz8.js → file-mutation-7dqw4kz8.js} +1 -1
  75. package/dist/chunks/{file-w7bw98z6.js → file-mutation-7sqbmk8k.js} +32 -32
  76. package/dist/chunks/{file-j7wq2tw5.js → file-mutation-7w99qc9d.js} +3 -3
  77. package/dist/chunks/{file-p0b4ytnr.js → file-mutation-7yqjxrmz.js} +4 -4
  78. package/dist/chunks/{file-g6mb1r40.js → file-mutation-81tbvkms.js} +13 -13
  79. package/dist/chunks/{file-nqsne9m4.js → file-mutation-82wb5vjr.js} +12 -12
  80. package/dist/chunks/{file-361xm3ya.js → file-mutation-87z6e93s.js} +44 -44
  81. package/dist/chunks/{file-ame7p0bf.js → file-mutation-89zh9079.js} +41 -41
  82. package/dist/chunks/{file-7sbn2nrf.js → file-mutation-8aaqm6qj.js} +8 -8
  83. package/dist/chunks/{file-g5fh27jm.js → file-mutation-8ae46srb.js} +26 -26
  84. package/dist/chunks/{file-3qzhexf6.js → file-mutation-8cx2cchs.js} +32 -32
  85. package/dist/chunks/{file-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{file-8p4f9s12.js → file-mutation-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{file-4ghcrmft.js → file-mutation-8qspac1s.js} +29 -29
  88. package/dist/chunks/{file-4qenbd9f.js → file-mutation-8tjk8105.js} +1 -1
  89. package/dist/chunks/{file-3fhknkx8.js → file-mutation-920tyraz.js} +20 -20
  90. package/dist/chunks/{file-58vybx2g.js → file-mutation-96tqna7g.js} +10 -10
  91. package/dist/chunks/{file-yt24apy5.js → file-mutation-998pkbc5.js} +26 -26
  92. package/dist/chunks/{file-h0zs8ypv.js → file-mutation-9d52tmdm.js} +10 -10
  93. package/dist/chunks/{file-kynetcxa.js → file-mutation-9ejexxwn.js} +25 -25
  94. package/dist/chunks/{file-hywk6jf9.js → file-mutation-9q2n6mg9.js} +17 -17
  95. package/dist/chunks/{file-pht2kxnm.js → file-mutation-9s4fnnwx.js} +16 -16
  96. package/dist/chunks/{file-s5e6zdc6.js → file-mutation-9t5hjfj5.js} +17 -17
  97. package/dist/chunks/{file-s56qzf8n.js → file-mutation-9vw038cm.js} +23 -23
  98. package/dist/chunks/{file-b9ahwkd2.js → file-mutation-9ybrs273.js} +11 -11
  99. package/dist/chunks/{file-6v4peh9p.js → file-mutation-9yrzyr7j.js} +17 -17
  100. package/dist/chunks/{file-hxzqr5y1.js → file-mutation-9zsbca5k.js} +51 -51
  101. package/dist/chunks/{file-px5sh37w.js → file-mutation-a0whw9jd.js} +11 -11
  102. package/dist/chunks/{file-zen0tk5x.js → file-mutation-a0wtmgep.js} +12 -12
  103. package/dist/chunks/{file-a1bz86dw.js → file-mutation-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{file-fpkmmq0f.js → file-mutation-a58czpns.js} +16 -16
  105. package/dist/chunks/{file-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  106. package/dist/chunks/{file-57ez7d0k.js → file-mutation-aamtrqep.js} +9 -9
  107. package/dist/chunks/{file-rtqwcmtr.js → file-mutation-av0n72pr.js} +35 -35
  108. package/dist/chunks/{file-8zvwwgc2.js → file-mutation-aw4er02a.js} +20 -20
  109. package/dist/chunks/{file-b0dgvpy7.js → file-mutation-b0dgvpy7.js} +2 -2
  110. package/dist/chunks/{file-wj40hwr9.js → file-mutation-b1paggmv.js} +38 -38
  111. package/dist/chunks/{file-ws1k4zdc.js → file-mutation-b52awwxw.js} +11 -11
  112. package/dist/chunks/{file-jh2tjjwa.js → file-mutation-b5a5chs4.js} +11 -11
  113. package/dist/chunks/{file-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{file-bj93k3jd.js → file-mutation-b8kkksp1.js} +15 -15
  115. package/dist/chunks/{file-p0rshxbh.js → file-mutation-b8rp9x54.js} +11 -11
  116. package/dist/chunks/{file-n86jpvhn.js → file-mutation-bcbe7qcx.js} +11 -11
  117. package/dist/chunks/{file-j6vme8qb.js → file-mutation-be80trnb.js} +17 -17
  118. package/dist/chunks/{file-6r536pd1.js → file-mutation-bh6093r6.js} +57 -57
  119. package/dist/chunks/{file-cmwkp3r5.js → file-mutation-br0tr5aq.js} +8 -8
  120. package/dist/chunks/{file-hah04hfd.js → file-mutation-bs0e8e65.js} +3 -3
  121. package/dist/chunks/{file-42mthp08.js → file-mutation-bszv4pr1.js} +24 -24
  122. package/dist/chunks/{file-6mypyd4y.js → file-mutation-c8mrj3kp.js} +59 -59
  123. package/dist/chunks/{file-sez37x1t.js → file-mutation-cekd2vsf.js} +28 -28
  124. package/dist/chunks/{file-2y34zzjz.js → file-mutation-cf3tj770.js} +4 -4
  125. package/dist/chunks/{file-cfpkc3c9.js → file-mutation-cfpkc3c9.js} +2 -2
  126. package/dist/chunks/{file-vtede9h4.js → file-mutation-cfwkp8ke.js} +8 -8
  127. package/dist/chunks/{file-z2yza9q7.js → file-mutation-cgegp93j.js} +26 -26
  128. package/dist/chunks/{file-hphfs7r7.js → file-mutation-ckvaaqnr.js} +18 -18
  129. package/dist/chunks/{file-702gse62.js → file-mutation-cmq3w01w.js} +21 -21
  130. package/dist/chunks/file-mutation-ctefx7dc.js +18 -0
  131. package/dist/chunks/{file-xshcj497.js → file-mutation-d0gb447e.js} +27 -27
  132. package/dist/chunks/{file-g6q9qykm.js → file-mutation-d4he2qe1.js} +9 -9
  133. package/dist/chunks/{file-wf1szsxf.js → file-mutation-daq2e3zz.js} +4 -4
  134. package/dist/chunks/{file-ad2z09fz.js → file-mutation-dct99a2c.js} +1 -1
  135. package/dist/chunks/{file-cb7w9rn9.js → file-mutation-dq0f4b6t.js} +11 -11
  136. package/dist/chunks/{file-4y2x8jxf.js → file-mutation-e0y5jvpm.js} +41 -41
  137. package/dist/chunks/{file-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
  138. package/dist/chunks/{file-91342nd3.js → file-mutation-e4gqq6ma.js} +28 -28
  139. package/dist/chunks/{file-9eyeqmd2.js → file-mutation-ebqbjk3w.js} +30 -30
  140. package/dist/chunks/{file-bjn91642.js → file-mutation-ec8389mk.js} +4 -4
  141. package/dist/chunks/{file-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{file-erw5rpbs.js → file-mutation-erw5rpbs.js} +2 -2
  143. package/dist/chunks/{file-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{file-p8pa7sfy.js → file-mutation-evz86p9p.js} +11 -11
  145. package/dist/chunks/{file-n31hfr13.js → file-mutation-f6kbfvjt.js} +11 -11
  146. package/dist/chunks/{file-f828m53h.js → file-mutation-f828m53h.js} +2 -2
  147. package/dist/chunks/{file-k83v2y4t.js → file-mutation-fe107s36.js} +26 -26
  148. package/dist/chunks/{file-0777derp.js → file-mutation-fpz52p8q.js} +5 -5
  149. package/dist/chunks/{file-gwyevam5.js → file-mutation-ftfm72kd.js} +6 -6
  150. package/dist/chunks/{file-23bnecbk.js → file-mutation-fwr1nb5p.js} +18 -18
  151. package/dist/chunks/{file-fxmgg4aj.js → file-mutation-fwrss4ad.js} +4 -4
  152. package/dist/chunks/{file-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{file-yebv8twa.js → file-mutation-fxfyjszp.js} +13 -13
  154. package/dist/chunks/{file-n1jh56hb.js → file-mutation-g0p5jsxc.js} +26 -26
  155. package/dist/chunks/{file-8xbbjbhd.js → file-mutation-g2kefdbs.js} +25 -25
  156. package/dist/chunks/{file-kz33qt24.js → file-mutation-gb26m6rq.js} +27 -27
  157. package/dist/chunks/{file-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{file-qjbq15hs.js → file-mutation-gdsttb99.js} +4 -4
  159. package/dist/chunks/{file-5vx8nhhg.js → file-mutation-gmrkgfhq.js} +17 -17
  160. package/dist/chunks/{file-22wh6ycc.js → file-mutation-gsp24vdq.js} +25 -25
  161. package/dist/chunks/{file-gv6a8nnw.js → file-mutation-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{file-4wywpd95.js → file-mutation-gxzpt4bf.js} +10 -10
  163. package/dist/chunks/{file-dv7aa87v.js → file-mutation-h03rnsfd.js} +44 -44
  164. package/dist/chunks/{file-8y3wyrth.js → file-mutation-h2mtz7rf.js} +13 -13
  165. package/dist/chunks/{file-e34x8y7p.js → file-mutation-h53tpazp.js} +12 -12
  166. package/dist/chunks/{file-nzyhnfxz.js → file-mutation-h6r3nrb9.js} +4 -4
  167. package/dist/chunks/{file-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{file-m3pxzh9s.js → file-mutation-h78m9h9q.js} +6 -6
  169. package/dist/chunks/{file-k1324ekq.js → file-mutation-he62sb3p.js} +22 -22
  170. package/dist/chunks/{file-510m7gjw.js → file-mutation-hnr5yq9h.js} +5 -5
  171. package/dist/chunks/{file-304h1yg1.js → file-mutation-hrhrsrxp.js} +23 -23
  172. package/dist/chunks/{file-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  173. package/dist/chunks/{file-bacyadyn.js → file-mutation-jewzahs7.js} +4 -4
  174. package/dist/chunks/{file-t7ffcjc5.js → file-mutation-jeybges7.js} +4 -4
  175. package/dist/chunks/{file-mtq6xxnx.js → file-mutation-jfqtm2ew.js} +7 -7
  176. package/dist/chunks/{file-y8n92kwn.js → file-mutation-jh7y3ak4.js} +9 -9
  177. package/dist/chunks/{file-r7nh0yvy.js → file-mutation-jkk2smcb.js} +29 -29
  178. package/dist/chunks/{file-73cb9t05.js → file-mutation-jrq0rrs9.js} +5 -5
  179. package/dist/chunks/file-mutation-k14es7wq.js +26 -0
  180. package/dist/chunks/{file-n5fr74k4.js → file-mutation-k16pevg1.js} +10 -10
  181. package/dist/chunks/{file-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
  182. package/dist/chunks/{file-9xbxnfqb.js → file-mutation-kf7mt0f8.js} +20 -20
  183. package/dist/chunks/{file-s6j88jt8.js → file-mutation-kfnrrrna.js} +5 -5
  184. package/dist/chunks/{file-v5brccvm.js → file-mutation-kjyymkn6.js} +11 -11
  185. package/dist/chunks/{file-bpnjy3z7.js → file-mutation-kn475exs.js} +11 -11
  186. package/dist/chunks/{file-embw8kgh.js → file-mutation-kne8f3cn.js} +4 -4
  187. package/dist/chunks/{file-ac8gkyem.js → file-mutation-ksnwa2zv.js} +9 -9
  188. package/dist/chunks/{file-cd9my3v1.js → file-mutation-m32fe6rj.js} +11 -11
  189. package/dist/chunks/{file-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
  190. package/dist/chunks/{file-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{file-wxsy39h8.js → file-mutation-metngcsb.js} +14 -14
  192. package/dist/chunks/{file-7yh4e7ss.js → file-mutation-mvfsc1pv.js} +3 -3
  193. package/dist/chunks/{file-h896pcm5.js → file-mutation-mx9vqzsb.js} +6 -6
  194. package/dist/chunks/{file-nqjmnyjs.js → file-mutation-mzrbxmyd.js} +11 -11
  195. package/dist/chunks/{file-v23xd7nj.js → file-mutation-n0pywpq4.js} +6 -6
  196. package/dist/chunks/{file-rmkrm11x.js → file-mutation-n436hdn0.js} +18 -18
  197. package/dist/chunks/{file-rtbbky2x.js → file-mutation-n53jc5f0.js} +4 -4
  198. package/dist/chunks/{file-xg9t41r3.js → file-mutation-nng2ktcm.js} +2 -2
  199. package/dist/chunks/{file-hkfg6fzm.js → file-mutation-nxhqveyz.js} +5 -5
  200. package/dist/chunks/{file-p28j5sbe.js → file-mutation-p28j5sbe.js} +2 -2
  201. package/dist/chunks/{file-fhmyd1cc.js → file-mutation-p2e22hpe.js} +9 -9
  202. package/dist/chunks/{file-h0jmq7yk.js → file-mutation-p9qdtawc.js} +24 -24
  203. package/dist/chunks/{file-1gp0z8vk.js → file-mutation-paqyj2en.js} +17 -17
  204. package/dist/chunks/{file-g7jvb7c9.js → file-mutation-pdb8ga4w.js} +12 -12
  205. package/dist/chunks/{file-46zss07m.js → file-mutation-pex2dkp7.js} +25 -25
  206. package/dist/chunks/{file-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{file-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  208. package/dist/chunks/{file-w6dmyrhq.js → file-mutation-pn0bg5pg.js} +95 -95
  209. package/dist/chunks/{file-qg0jgkcp.js → file-mutation-pnv527nz.js} +9 -9
  210. package/dist/chunks/{file-fwcvyjm4.js → file-mutation-ppd28z9t.js} +9 -9
  211. package/dist/chunks/{file-tz47dz5v.js → file-mutation-prbe7swn.js} +5 -5
  212. package/dist/chunks/{file-a6f6mbr6.js → file-mutation-pw3xx31k.js} +5 -5
  213. package/dist/chunks/{file-41verw56.js → file-mutation-q8qgrk48.js} +33 -33
  214. package/dist/chunks/{file-5jsx19yx.js → file-mutation-qfv53cem.js} +19 -19
  215. package/dist/chunks/{file-r8cnjpdy.js → file-mutation-qpbktacs.js} +3 -3
  216. package/dist/chunks/{file-az4c37nw.js → file-mutation-qpgdq3j5.js} +22 -22
  217. package/dist/chunks/{file-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  218. package/dist/chunks/{file-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{file-nbpc3svs.js → file-mutation-rg5hq0wm.js} +23 -23
  220. package/dist/chunks/{file-kewrzfp7.js → file-mutation-rg9jxnrj.js} +4 -4
  221. package/dist/chunks/{file-dtqg9ce1.js → file-mutation-rkdvqggb.js} +5 -5
  222. package/dist/chunks/{file-r3pg8356.js → file-mutation-rs8v52yx.js} +3 -3
  223. package/dist/chunks/{file-d383cjmk.js → file-mutation-rtathh62.js} +8 -8
  224. package/dist/chunks/{file-yrznvahk.js → file-mutation-s4enseaf.js} +2 -2
  225. package/dist/chunks/{file-mw9xfcqs.js → file-mutation-s4q94gyy.js} +13 -13
  226. package/dist/chunks/{file-vcewcf3p.js → file-mutation-sc7wv7tt.js} +13 -13
  227. package/dist/chunks/{file-x2dr3d7k.js → file-mutation-sqmfwgs3.js} +20 -20
  228. package/dist/chunks/{file-263r72ym.js → file-mutation-sr3kag3a.js} +20 -20
  229. package/dist/chunks/{file-z3v71fe4.js → file-mutation-sxhyyss9.js} +47 -47
  230. package/dist/chunks/{file-vcnb347p.js → file-mutation-sy5npsvs.js} +23 -23
  231. package/dist/chunks/{file-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{file-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{file-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  234. package/dist/chunks/{file-956z8k1a.js → file-mutation-tegzbpn0.js} +4 -4
  235. package/dist/chunks/{file-xgt31tjm.js → file-mutation-tgkhkf8q.js} +8 -8
  236. package/dist/chunks/{file-ff3zbyyz.js → file-mutation-thp2m506.js} +11 -11
  237. package/dist/chunks/{file-t8t6b7x0.js → file-mutation-thyqgksr.js} +10 -10
  238. package/dist/chunks/{file-3my6v4az.js → file-mutation-tpwrm9yt.js} +43 -43
  239. package/dist/chunks/{file-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
  240. package/dist/chunks/{file-yqcj9em5.js → file-mutation-txr16vfg.js} +23 -23
  241. package/dist/chunks/{file-t44gpkd9.js → file-mutation-v1r8ymca.js} +9 -9
  242. package/dist/chunks/{file-fxzbpcn9.js → file-mutation-v5a2m05x.js} +9 -9
  243. package/dist/chunks/{file-xsqcdhn5.js → file-mutation-v9s3adxq.js} +5 -5
  244. package/dist/chunks/{file-hmwvdnz2.js → file-mutation-vb222jev.js} +68 -68
  245. package/dist/chunks/{file-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  246. package/dist/chunks/{file-9gr8y5ys.js → file-mutation-vkxpz7g2.js} +4 -4
  247. package/dist/chunks/{file-by1dj0rw.js → file-mutation-vmctfggj.js} +10 -10
  248. package/dist/chunks/{file-g7z2c8ev.js → file-mutation-vtggy08e.js} +32 -32
  249. package/dist/chunks/{file-5e1pzs32.js → file-mutation-vynmvp9h.js} +9 -9
  250. package/dist/chunks/{file-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{file-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{file-22br4zbr.js → file-mutation-waay8jvx.js} +29 -29
  253. package/dist/chunks/{file-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  254. package/dist/chunks/{file-zg8bah5t.js → file-mutation-wdpm5xyv.js} +25 -25
  255. package/dist/chunks/{file-2jz473v5.js → file-mutation-wy8b5sm2.js} +1 -1
  256. package/dist/chunks/{file-hhvxj0xs.js → file-mutation-x12g5k71.js} +2 -2
  257. package/dist/chunks/{file-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{file-x3rxtwc7.js → file-mutation-x2gr69vr.js} +9 -9
  259. package/dist/chunks/{file-kbhnhzqb.js → file-mutation-x66hh719.js} +15 -15
  260. package/dist/chunks/{file-t9s0mbhm.js → file-mutation-x6f9vzrq.js} +15 -15
  261. package/dist/chunks/{file-ydt9pqf5.js → file-mutation-x8tgrdy7.js} +15 -15
  262. package/dist/chunks/{file-j55ehytx.js → file-mutation-x90w03rt.js} +32 -32
  263. package/dist/chunks/{file-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
  264. package/dist/chunks/{file-kjesn8ee.js → file-mutation-xj4hsedh.js} +11 -11
  265. package/dist/chunks/{file-p244d6rq.js → file-mutation-xkredtp8.js} +18 -18
  266. package/dist/chunks/{file-gr0d3prr.js → file-mutation-xnahtpae.js} +10 -10
  267. package/dist/chunks/{file-xfzgb354.js → file-mutation-xpr3mqf5.js} +11 -11
  268. package/dist/chunks/{file-81tjde9w.js → file-mutation-xwv6rqmk.js} +3 -3
  269. package/dist/chunks/{file-tkd8wqpt.js → file-mutation-y0jwsk5r.js} +18 -18
  270. package/dist/chunks/{file-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{file-z3nk8zw6.js → file-mutation-y5b0ehek.js} +30 -30
  272. package/dist/chunks/{file-y71avatq.js → file-mutation-y71avatq.js} +1 -1
  273. package/dist/chunks/{file-h9bw0csn.js → file-mutation-y7gfa8qa.js} +15 -15
  274. package/dist/chunks/{file-2dvm09dd.js → file-mutation-y8m9m17y.js} +24 -24
  275. package/dist/chunks/{file-12fxvqn6.js → file-mutation-y9vy3w1f.js} +33 -33
  276. package/dist/chunks/{file-yp2x3t23.js → file-mutation-yp2x3t23.js} +1 -1
  277. package/dist/chunks/{file-66rhs1hf.js → file-mutation-ypp9m475.js} +38 -38
  278. package/dist/chunks/{file-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{file-hqfwp6f0.js → file-mutation-ysw9y8px.js} +33 -33
  280. package/dist/chunks/{file-n0tq777j.js → file-mutation-yw8t9dwe.js} +8 -8
  281. package/dist/chunks/{file-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{file-j18yem6v.js → file-mutation-z59eg471.js} +9 -9
  283. package/dist/chunks/{file-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{file-ya5dy726.js → file-mutation-zfvm8rtc.js} +6 -6
  285. package/dist/chunks/{file-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{file-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{file-5gwdj91r.js → file-mutation-zy95xavh.js} +20 -20
  288. package/dist/chunks/{file-1qg96azw.js → file-mutation-zyr433b0.js} +11 -11
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +125 -125
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +71 -71
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +366 -366
  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 +71 -71
  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 +224 -224
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +13 -13
  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 +104 -104
  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 +90 -90
  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 +357 -357
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +132 -132
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +354 -354
  470. package/dist/location.js +86 -86
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +114 -114
  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 +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +217 -217
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +328 -328
  497. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  498. package/dist/plugin/models-dev.js +95 -95
  499. package/dist/plugin/module.js +7 -7
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +101 -101
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +76 -76
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +119 -119
  523. package/dist/plugin/provider/openai.js +93 -93
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +1 -1
  537. package/dist/plugin/provider.js +158 -158
  538. package/dist/plugin/sdk.js +73 -73
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +138 -138
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +343 -343
  543. package/dist/plugin/update.js +2 -2
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +118 -118
  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 +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +228 -228
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +89 -89
  558. package/dist/provider.js +100 -100
  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 +93 -93
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +90 -90
  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 +127 -127
  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 +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +221 -221
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +152 -152
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +85 -85
  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 +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +118 -118
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +129 -129
  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 +230 -230
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +97 -97
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +113 -113
  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 +5 -5
  606. package/dist/session/session.js +171 -171
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +86 -86
  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 +3 -3
  615. package/dist/session/title.js +153 -153
  616. package/dist/session/to-session-error.js +110 -110
  617. package/dist/session/transfer.js +218 -218
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  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 +9 -9
  624. package/dist/shell.js +137 -137
  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 +124 -124
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +117 -117
  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 +120 -120
  641. package/dist/tool/plugin/shell.js +212 -212
  642. package/dist/tool/plugin/skill.js +112 -112
  643. package/dist/tool/plugin/subagent.js +216 -216
  644. package/dist/tool/plugin/webfetch.js +109 -109
  645. package/dist/tool/plugin/websearch.js +113 -113
  646. package/dist/tool/plugin/write.js +115 -115
  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 +14 -14
  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 +7 -7
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +4 -4
  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 +91 -91
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +1 -1
  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/variant.js +90 -90
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +83 -83
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +80 -80
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +77 -77
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +88 -88
  690. package/dist/worktree.js +95 -95
  691. package/package.json +8 -8
  692. package/dist/chunks/file-0mesazry.js +0 -4
  693. package/dist/chunks/file-1x11rq2a.js +0 -18
  694. package/dist/chunks/file-3cg6k2ga.js +0 -252
  695. package/dist/chunks/file-4938m1cx.js +0 -478
  696. package/dist/chunks/file-nvdf328w.js +0 -26
  697. package/dist/chunks/file-yr29whj8.js +0 -65
  698. /package/dist/chunks/{file-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  699. /package/dist/chunks/{file-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  700. /package/dist/chunks/{file-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  701. /package/dist/chunks/{file-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  702. /package/dist/chunks/{file-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  703. /package/dist/chunks/{file-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  704. /package/dist/chunks/{file-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{file-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{file-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{file-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{file-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  709. /package/dist/chunks/{file-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{file-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{file-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{file-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{file-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{file-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{file-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{file-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  717. /package/dist/chunks/{file-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{file-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  719. /package/dist/chunks/{file-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{file-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{file-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  722. /package/dist/chunks/{file-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{file-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{file-922hggd3.js → file-mutation-922hggd3.js} +0 -0
  725. /package/dist/chunks/{file-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{file-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{file-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{file-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{file-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{file-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{file-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{file-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{file-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{file-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{file-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{file-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{file-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{file-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{file-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{file-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  741. /package/dist/chunks/{file-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{file-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{file-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{file-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{file-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{file-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{file-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{file-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{file-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{file-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{file-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{file-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{file-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  754. /package/dist/chunks/{file-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{file-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  756. /package/dist/chunks/{file-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{file-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  758. /package/dist/chunks/{file-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{file-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{file-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{file-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{file-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{file-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{file-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{file-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{file-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{file-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{file-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{file-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{file-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{file-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{file-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{file-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{file-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{file-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{file-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{file-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{file-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  779. /package/dist/chunks/{file-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{file-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
  781. /package/dist/chunks/{file-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{file-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{file-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{file-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{file-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{file-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  787. /package/dist/chunks/{file-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{file-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  789. /package/dist/chunks/{file-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{file-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{file-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{file-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service52,
9
- node54
10
- } from "./file-361xm3ya.js";
8
+ Service65,
9
+ node67
10
+ } from "./file-mutation-87z6e93s.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./file-j7wq2tw5.js";
13
+ } from "./file-mutation-7w99qc9d.js";
14
14
  import {
15
15
  __export
16
- } from "./file-9rqn6x4v.js";
16
+ } from "./file-mutation-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service49,
25
+ Service: () => Service46,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node51,
31
+ node: () => node48,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service49 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  transport: options.transport
74
74
  });
75
- var layer = Layer.effect(Service49, Effect.gen(function* () {
76
- const resolver = yield* Service52;
77
- return Service49.of({
75
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
76
+ const resolver = yield* Service65;
77
+ return Service46.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node51 = makeLocationNode({ service: Service49, layer, deps: [node54] });
95
+ var node48 = makeLocationNode({ service: Service46, layer, deps: [node67] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service49, resolved2, node51, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service46, resolved2, node48, exports_model };
@@ -0,0 +1,65 @@
1
+ import {
2
+ Service82,
3
+ node86
4
+ } from "./file-mutation-b8rp9x54.js";
5
+ import {
6
+ Service80,
7
+ node84
8
+ } from "./file-mutation-9ejexxwn.js";
9
+ import {
10
+ Ref3,
11
+ Service76,
12
+ node80
13
+ } from "./file-mutation-a58czpns.js";
14
+ import {
15
+ Service55,
16
+ node57
17
+ } from "./file-mutation-bh6093r6.js";
18
+ import {
19
+ Service18,
20
+ node21
21
+ } from "./file-mutation-sqmfwgs3.js";
22
+ import {
23
+ __export
24
+ } from "./file-mutation-9rqn6x4v.js";
25
+
26
+ // src/location-lifecycle.ts
27
+ var exports_location_lifecycle = {};
28
+ __export(exports_location_lifecycle, {
29
+ LocationLifecycle: () => exports_location_lifecycle,
30
+ Service: () => Service17,
31
+ node: () => node20
32
+ });
33
+ import { Context, Effect, Layer } from "effect";
34
+ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
+ import { LocationEvent } from "@opencode/schema/location-event";
36
+ class Service17 extends Context.Service()("@opencode/LocationLifecycle") {
37
+ }
38
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
39
+ const bus = yield* Service82;
40
+ const location = yield* Service76;
41
+ const permission = yield* Service55;
42
+ const forms = yield* Service80;
43
+ const rpc = yield* Service18;
44
+ let closed = false;
45
+ const shutdown = yield* Effect.cached(Effect.gen(function* () {
46
+ closed = true;
47
+ yield* permission.close;
48
+ yield* forms.close;
49
+ yield* rpc.close;
50
+ yield* bus.publish(LocationEvent.Shutdown, {}, {
51
+ location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
52
+ });
53
+ }).pipe(Effect.uninterruptible));
54
+ return Service17.of({
55
+ isClosed: () => closed,
56
+ shutdown
57
+ });
58
+ }));
59
+ var node20 = makeLocationNode({
60
+ service: Service17,
61
+ layer,
62
+ deps: [node86, node80, node57, node84, node21]
63
+ });
64
+
65
+ export { Service17, node20, exports_location_lifecycle };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service82,
3
- node85
4
- } from "./file-p0rshxbh.js";
3
+ node86
4
+ } from "./file-mutation-b8rp9x54.js";
5
5
  import {
6
- Service28,
7
- node31
8
- } from "./file-hxzqr5y1.js";
6
+ Service40,
7
+ node44
8
+ } from "./file-mutation-9zsbca5k.js";
9
9
  import {
10
- Service72,
11
- node75
12
- } from "./file-6r536pd1.js";
10
+ Service55,
11
+ node57
12
+ } from "./file-mutation-bh6093r6.js";
13
13
  import {
14
- Service38,
15
- node41
16
- } from "./file-h0jmq7yk.js";
14
+ Service70,
15
+ node73
16
+ } from "./file-mutation-p9qdtawc.js";
17
17
  import {
18
18
  __export
19
- } from "./file-9rqn6x4v.js";
19
+ } from "./file-mutation-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service24,
26
- layer: () => layer12,
25
+ Service: () => Service37,
26
+ layer: () => layer15,
27
27
  name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node28
29
+ node: () => node41
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service24 extends Context.Service()("@opencode/McpTool") {
38
+ class Service37 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer12 = Layer.effect(Service24, Effect.gen(function* () {
41
- const mcp = yield* Service28;
42
- const tools = yield* Service38;
40
+ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
41
+ const mcp = yield* Service40;
42
+ const tools = yield* Service70;
43
43
  const bus = yield* Service82;
44
- const permission = yield* Service72;
44
+ const permission = yield* Service55;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node28 = makeLocationNode({
124
- service: Service24,
125
- layer: layer12,
126
- deps: [node41, node31, node85, node75]
123
+ var node41 = makeLocationNode({
124
+ service: Service37,
125
+ layer: layer15,
126
+ deps: [node73, node44, node86, node57]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service24, layer12, node28, exports_mcp3 };
129
+ export { namespace2, name14, Service37, layer15, node41, exports_mcp3 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./file-emrn6kk6.js";
5
+ } from "./file-mutation-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service83
3
- } from "./file-bpnjy3z7.js";
3
+ } from "./file-mutation-kn475exs.js";
4
4
  import {
5
- Service50
6
- } from "./file-h896pcm5.js";
5
+ Service45
6
+ } from "./file-mutation-mx9vqzsb.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./file-1x11rq2a.js";
9
+ } from "./file-mutation-ctefx7dc.js";
10
10
  import {
11
11
  provenance2
12
- } from "./file-1hc11dc4.js";
12
+ } from "./file-mutation-64kphnzf.js";
13
13
  import {
14
14
  preview2
15
- } from "./file-jh2tjjwa.js";
15
+ } from "./file-mutation-b5a5chs4.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./file-w7bw98z6.js";
18
+ } from "./file-mutation-7sqbmk8k.js";
19
19
  import {
20
- Service18
21
- } from "./file-ja67c5z9.js";
20
+ Service31
21
+ } from "./file-mutation-5xv3dz3w.js";
22
22
  import {
23
23
  __export
24
- } from "./file-9rqn6x4v.js";
24
+ } from "./file-mutation-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate = {};
28
- __export(exports_generate, {
29
- SessionGenerate: () => exports_generate,
27
+ var exports_generate2 = {};
28
+ __export(exports_generate2, {
29
+ SessionGenerate: () => exports_generate2,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service50;
35
+ const instances = yield* Service45;
36
36
  const database = yield* Service83;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service18;
40
+ const context = yield* Service31;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate };
74
+ export { generate2, exports_generate2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node87
5
- } from "./file-nqjmnyjs.js";
4
+ node77
5
+ } from "./file-mutation-mzrbxmyd.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./file-1hc11dc4.js";
9
+ } from "./file-mutation-64kphnzf.js";
10
10
  import {
11
- Service76,
12
- node79
13
- } from "./file-n0tq777j.js";
11
+ Service72,
12
+ node75
13
+ } from "./file-mutation-yw8t9dwe.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./file-6r536pd1.js";
16
+ } from "./file-mutation-bh6093r6.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./file-p8pa7sfy.js";
19
+ } from "./file-mutation-evz86p9p.js";
20
20
  import {
21
- Error2
22
- } from "./file-h0jmq7yk.js";
21
+ Error5
22
+ } from "./file-mutation-p9qdtawc.js";
23
23
  import {
24
- Service21,
25
- node25
26
- } from "./file-xfzgb354.js";
24
+ Service34,
25
+ node38
26
+ } from "./file-mutation-xpr3mqf5.js";
27
27
  import {
28
- make14
29
- } from "./file-drwq78ky.js";
28
+ make15
29
+ } from "./file-mutation-xfkkasph.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./file-2jz473v5.js";
32
+ } from "./file-mutation-wy8b5sm2.js";
33
33
  import {
34
34
  __export
35
- } from "./file-9rqn6x4v.js";
35
+ } from "./file-mutation-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service20,
40
+ Service: () => Service33,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer9,
45
- node: () => node24,
44
+ layer: () => layer12,
45
+ node: () => node37,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service20 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service33 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer9 = Layer.effect(Service20, Effect.gen(function* () {
156
- const hooks = yield* Service76;
157
- const transport = yield* Service21;
155
+ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
156
+ const hooks = yield* Service72;
157
+ const transport = yield* Service34;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error2({ message: "Tools are not available for this request" })
165
+ execute: () => new Error5({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -252,17 +252,17 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
252
252
  };
253
253
  });
254
254
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
255
- return Service20.of({
255
+ return Service33.of({
256
256
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
257
257
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
258
258
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
259
259
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
260
260
  });
261
261
  }));
262
- var node24 = makeLocationNode({
263
- service: Service20,
264
- layer: layer9,
265
- deps: [node79, node25, node87]
262
+ var node37 = makeLocationNode({
263
+ service: Service33,
264
+ layer: layer12,
265
+ deps: [node75, node38, node77]
266
266
  });
267
267
 
268
- export { baseTranscript2, unsupportedParts2, boundImages2, Service20, layer9, node24, exports_model_request };
268
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service33, layer12, node37, exports_model_request };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID15 = Session.ID;
5
- var Info29 = Session.Info;
4
+ var ID10 = Session.ID;
5
+ var Info24 = Session.Info;
6
6
 
7
- export { ID15, Info29, SessionSchema2 };
7
+ export { ID10, Info24, SessionSchema2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
@@ -8,7 +8,7 @@ __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
10
  Entry: () => Entry4,
11
- Info: () => Info19,
11
+ Info: () => Info22,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info19 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info22 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info19, exports_lsp };
84
+ export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info22, exports_lsp };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service77,
2
+ Service76,
3
3
  node80
4
- } from "./file-fpkmmq0f.js";
4
+ } from "./file-mutation-a58czpns.js";
5
5
  import {
6
6
  create3
7
- } from "./file-rdw6cm16.js";
7
+ } from "./file-mutation-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./file-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service40,
17
- node: () => node43
16
+ Service: () => Service13,
17
+ node: () => node15
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service40 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service13 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service40, Effect.gen(function* () {
27
- const location = yield* Service77;
26
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
27
+ const location = yield* Service76;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service40.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service13.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node43 = makeLocationNode({
91
- service: Service40,
90
+ var node15 = makeLocationNode({
91
+ service: Service13,
92
92
  layer,
93
93
  deps: [node80, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service40, node43, exports_formatter2 };
96
+ export { Service13, node15, exports_formatter2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID9,
2
+ ID13,
3
3
  mergeOverlay2
4
- } from "./file-g7z2c8ev.js";
4
+ } from "./file-mutation-vtggy08e.js";
5
5
  import {
6
- ID8,
6
+ ID12,
7
7
  VariantID2,
8
- Info21,
8
+ Info26,
9
9
  compatibility2
10
- } from "./file-9eyeqmd2.js";
10
+ } from "./file-mutation-ebqbjk3w.js";
11
11
  import {
12
12
  __export
13
- } from "./file-9rqn6x4v.js";
13
+ } from "./file-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models2 = {};
@@ -22,7 +22,7 @@ __export(exports_models2, {
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID9.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID8.make(item.id);
78
+ const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID12.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info21.make({
98
- ...Info21.default(providerID, id),
97
+ return Info26.make({
98
+ ...Info26.default(providerID, id),
99
99
  id,
100
- modelID: ID8.make(remote.id),
100
+ modelID: ID12.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,