@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
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./file-88xbtdfr.js";
3
+ } from "./file-mutation-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./file-5qd3pb7m.js";
5
+ load5
6
+ } from "./file-mutation-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./file-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event11,
14
+ Event: () => Event14,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service59,
16
+ Options: () => Options10,
17
+ Service: () => Service63,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured8,
20
+ configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
22
  layer: () => layer22,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node61,
25
+ node: () => node65,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event11 = { Updated: FileSystem.Event.Changed };
36
+ var Event14 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options8 = Schema.Struct({
56
+ var Options10 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service59 extends Context.Service()("@opencode/Watcher") {
60
+ class Service63 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer22 = (options) => Layer.effect(Service59, Effect.gen(function* () {
65
+ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service59.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service63.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer22 = (options) => Layer.effect(Service59, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service59.of({ subscribe });
108
+ return Service63.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
131
131
  });
132
132
  const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service59).subscribe,
134
+ subscribe: Context.get(context, Service63).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service59, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service63, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured8(options) {
168
- return makeGlobalNode({ service: Service59, layer: layer22(options), deps: [nativeNode2] });
167
+ function configured9(options) {
168
+ return makeGlobalNode({ service: Service63, layer: layer22(options), deps: [nativeNode2] });
169
169
  }
170
- var node61 = configured8();
170
+ var node65 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event11, hasNativeBinding2, Native3, Options8, Service59, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured8, node61, exports_watcher };
190
+ export { Event14, hasNativeBinding2, Native3, Options10, Service63, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured9, node65, exports_watcher };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-922hggd3.js";
3
+ } from "./file-mutation-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info17,
12
+ Info: () => Info16,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info17 = Schema.Struct({
64
+ var Info16 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info17 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info17, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info16, exports_provider2 };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service62
3
- } from "./file-s56qzf8n.js";
2
+ Service68
3
+ } from "./file-mutation-9vw038cm.js";
4
4
  import {
5
- Service15,
5
+ Service27,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./file-vcewcf3p.js";
8
+ } from "./file-mutation-sc7wv7tt.js";
9
9
  import {
10
- Service40
11
- } from "./file-g6mb1r40.js";
10
+ Service13
11
+ } from "./file-mutation-81tbvkms.js";
12
12
  import {
13
- Service72
14
- } from "./file-6r536pd1.js";
13
+ Service55
14
+ } from "./file-mutation-bh6093r6.js";
15
15
  import {
16
- Service41
17
- } from "./file-6v4peh9p.js";
16
+ Service21
17
+ } from "./file-mutation-9yrzyr7j.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./file-6prwharc.js";
20
+ } from "./file-mutation-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./file-9rqn6x4v.js";
23
+ } from "./file-mutation-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
28
  Input: () => Input3,
29
29
  Output: () => Output3,
30
- Plugin: () => Plugin22,
30
+ Plugin: () => Plugin4,
31
31
  WriteTool: () => exports_write,
32
32
  name: () => name3,
33
- toModelContent: () => toModelContent2
33
+ toModelContent: () => toModelContent3
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
@@ -48,15 +48,15 @@ var Output3 = Schema.Struct({
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin22 = {
51
+ var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin4 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service41;
56
- const fileMutation = yield* Service15;
57
- const environment = yield* Service62;
58
- const formatter = yield* Service40;
59
- const permission = yield* Service72;
55
+ const access = yield* Service21;
56
+ const fileMutation = yield* Service27;
57
+ const environment = yield* Service68;
58
+ const formatter = yield* Service13;
59
+ const permission = yield* Service55;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
61
  name: name3,
62
62
  options: { codemode: false, permission: "edit" },
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name3, Input3, Output3, toModelContent2, Plugin22, exports_write };
101
+ export { name3, Input3, Output3, toModelContent3, Plugin4, exports_write };
@@ -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/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin40,
9
+ Plugin: () => Plugin46,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin40 = define({
25
+ var Plugin46 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin40 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin40, exports_identity };
38
+ export { identity2, Plugin46, exports_identity };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./file-0paq2nw3.js";
4
+ } from "./file-mutation-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./file-g7z2c8ev.js";
7
+ } from "./file-mutation-vtggy08e.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./file-9eyeqmd2.js";
11
+ } from "./file-mutation-ebqbjk3w.js";
12
12
  import {
13
13
  __export
14
- } from "./file-9rqn6x4v.js";
14
+ } from "./file-mutation-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command4 = {};
7
- __export(exports_command4, {
8
- ConfigCommandV1: () => exports_command4,
9
- Info: () => Info18
6
+ var exports_command5 = {};
7
+ __export(exports_command5, {
8
+ ConfigCommandV1: () => exports_command5,
9
+ Info: () => Info19
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info18 = Schema.Struct({
12
+ var Info19 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info18, exports_command4 };
21
+ export { Info19, exports_command5 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./file-gftt206x.js";
3
+ } from "./file-mutation-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./file-j7wq2tw5.js";
6
+ } from "./file-mutation-7w99qc9d.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./file-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error2 = {};
13
- __export(exports_error2, {
12
+ var exports_error = {};
13
+ __export(exports_error, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -19,9 +19,9 @@ __export(exports_error2, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError8,
22
+ NotFoundError: () => NotFoundError9,
23
23
  PromptConflictError: () => PromptConflictError2,
24
- SessionErrors: () => exports_error2,
24
+ SessionErrors: () => exports_error,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
26
26
  StepFailedError: () => StepFailedError2,
27
27
  SyntheticConflictError: () => SyntheticConflictError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
126
+ export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,29 +1,29 @@
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
6
  environment2
7
- } from "./file-8y3wyrth.js";
7
+ } from "./file-mutation-h2mtz7rf.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./file-sk3qaz4a.js";
10
+ } from "./file-mutation-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./file-9rqn6x4v.js";
13
+ } from "./file-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError5,
20
- Options: () => Options6,
19
+ NotFoundError: () => NotFoundError4,
20
+ Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service43,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured6,
25
- layer: () => layer17,
26
- node: () => node46
22
+ Service: () => Service25,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured3,
25
+ layer: () => layer9,
26
+ node: () => node28
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options6 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service43 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service25 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* () {
53
53
  const bus = yield* Service82;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError5({ ptyID: id });
75
+ return yield* new NotFoundError4({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service43.of({
242
+ return Service25.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service43, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer17 = makeLayer();
259
- var configured6 = (options) => makeGlobalNode({
260
- service: Service43,
261
- layer: options === undefined ? layer17 : makeLayer(options),
262
- deps: [node85, Global.node]
258
+ var layer9 = makeLayer();
259
+ var configured3 = (options) => makeGlobalNode({
260
+ service: Service25,
261
+ layer: options === undefined ? layer9 : makeLayer(options),
262
+ deps: [node86, Global.node]
263
263
  });
264
- var node46 = configured6();
264
+ var node28 = configured3();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options6, UnavailableError3, NotFoundError5, Service43, layer17, configured6, node46, exports_persistent_pty, Handoff2 };
304
+ export { Options3, UnavailableError2, NotFoundError4, Service25, layer9, configured3, node28, exports_persistent_pty, Handoff2 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./file-ad2z09fz.js";
5
+ } from "./file-mutation-dct99a2c.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make21,
9
+ make23,
10
10
  makeWithDefaults2
11
- } from "./file-ya5dy726.js";
11
+ } from "./file-mutation-zfvm8rtc.js";
12
12
  import {
13
13
  __export
14
- } from "./file-9rqn6x4v.js";
14
+ } from "./file-mutation-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make21,
25
+ make: () => make23,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin34
3
+ } from "./file-mutation-rtathh62.js";
4
+ import {
5
+ Plugin38
6
+ } from "./file-mutation-v1r8ymca.js";
7
+ import {
8
+ Plugin35
9
+ } from "./file-mutation-z59eg471.js";
10
+ import {
11
+ Plugin37
12
+ } from "./file-mutation-6mn82bpr.js";
13
+ import {
14
+ Plugin36
15
+ } from "./file-mutation-v5a2m05x.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin34,
20
+ Plugin38,
21
+ Plugin35,
22
+ Plugin37,
23
+ Plugin36
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID8
3
- } from "./file-9eyeqmd2.js";
2
+ ID12
3
+ } from "./file-mutation-ebqbjk3w.js";
4
4
  import {
5
- Service58
6
- } from "./file-ame7p0bf.js";
5
+ Service62
6
+ } from "./file-mutation-89zh9079.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./file-tz2j9nz1.js";
9
+ } from "./file-mutation-3cdqy5gs.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make10(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service58;
29
+ const config = yield* Service62;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make10(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID8.make(item.id);
56
+ model.modelID = ID12.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make10();
115
+ var VLLMPlugin2 = make8();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make10, VLLMPlugin2 };
137
+ export { make8, VLLMPlugin2 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./file-3w5fmr99.js";
4
+ } from "./file-mutation-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./file-m3fdjcah.js";
8
+ } from "./file-mutation-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./file-9rqn6x4v.js";
11
+ } from "./file-mutation-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};