@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,16 +1,16 @@
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
  create3
7
- } from "./file-rdw6cm16.js";
7
+ } from "./file-mutation-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./file-6r536pd1.js";
10
+ } from "./file-mutation-bh6093r6.js";
11
11
  import {
12
12
  __export
13
- } from "./file-9rqn6x4v.js";
13
+ } from "./file-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
@@ -18,15 +18,15 @@ __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
20
  Event: () => Event9,
21
- ID: () => ID4,
22
- Info: () => Info8,
21
+ ID: () => ID5,
22
+ Info: () => Info9,
23
23
  Name: () => Name2,
24
- Service: () => Service39,
24
+ Service: () => Service50,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node42,
29
+ node: () => node52,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -38,9 +38,9 @@ import { Event as Event9 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source4 = Skill.Source;
42
- var Info8 = Skill.Info;
43
- var ID4 = Skill.ID;
41
+ var Source3 = Skill.Source;
42
+ var Info9 = Skill.Info;
43
+ var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service39 extends Context.Service()("@opencode/Skill") {
74
+ class Service50 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service39, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
77
77
  const bus = yield* Service82;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID4.make(id)),
83
+ get: (id) => editor.skills.get(ID5.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID4.make(id));
88
+ const current = editor.skills.get(ID5.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID4.make(id);
92
+ current.id = ID5.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID4.make(id));
95
+ editor.skills.delete(ID5.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service39.of({
100
+ return Service50.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node42 = makeLocationNode({
112
- service: Service39,
111
+ var node52 = makeLocationNode({
112
+ service: Service50,
113
113
  layer,
114
- deps: [node85]
114
+ deps: [node86]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID4, Name2, available2, toModelOutput3, prepare3, Service39, node42, exports_skill5, Event9 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info9, ID5, Name2, available2, toModelOutput3, prepare3, Service50, node52, exports_skill5, Event9 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service83,
3
- node86
4
- } from "./file-bpnjy3z7.js";
3
+ node87
4
+ } from "./file-mutation-kn475exs.js";
5
5
  import {
6
6
  Service82,
7
- node85
8
- } from "./file-p0rshxbh.js";
7
+ node86
8
+ } from "./file-mutation-b8rp9x54.js";
9
9
  import {
10
- Service50,
11
- node52
12
- } from "./file-h896pcm5.js";
10
+ Service45,
11
+ node47
12
+ } from "./file-mutation-mx9vqzsb.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./file-922hggd3.js";
16
+ } from "./file-mutation-922hggd3.js";
17
17
  import {
18
- Service80,
19
- node83
20
- } from "./file-3my6v4az.js";
18
+ Service77,
19
+ node81
20
+ } from "./file-mutation-tpwrm9yt.js";
21
21
  import {
22
- Ref4
23
- } from "./file-fpkmmq0f.js";
22
+ Ref3
23
+ } from "./file-mutation-a58czpns.js";
24
24
  import {
25
- Service53,
26
- node55
27
- } from "./file-v5brccvm.js";
25
+ Service59,
26
+ node61
27
+ } from "./file-mutation-kjyymkn6.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./file-gftt206x.js";
30
+ } from "./file-mutation-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./file-y8n92kwn.js";
32
+ NotFoundError9
33
+ } from "./file-mutation-jh7y3ak4.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./file-ec1grn59.js";
36
+ } from "./file-mutation-ec1grn59.js";
37
37
  import {
38
- Service47
39
- } from "./file-embw8kgh.js";
38
+ Service43
39
+ } from "./file-mutation-kne8f3cn.js";
40
40
  import {
41
- Service73,
42
- node76
43
- } from "./file-6grmf33y.js";
41
+ Service57,
42
+ node59
43
+ } from "./file-mutation-36ysvq8r.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service48,
48
- node50,
47
+ Service44,
48
+ node46,
49
49
  moveIDs2
50
- } from "./file-4dnw4fzb.js";
50
+ } from "./file-mutation-0ehxtnnz.js";
51
51
  import {
52
- Service46,
53
- node49
54
- } from "./file-66rhs1hf.js";
52
+ Service42,
53
+ node45
54
+ } from "./file-mutation-ypp9m475.js";
55
55
  import {
56
- node22
57
- } from "./file-23bnecbk.js";
56
+ node34
57
+ } from "./file-mutation-fwr1nb5p.js";
58
58
  import {
59
59
  __export
60
- } from "./file-9rqn6x4v.js";
60
+ } from "./file-mutation-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service17,
68
+ Service: () => Service30,
69
69
  SessionMove: () => exports_move,
70
- node: () => node20
70
+ node: () => node33
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service17 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service30 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service17, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service80;
92
- const locations = yield* Service53;
93
- const store = yield* Service73;
94
- const execution = yield* Service46;
95
- const instances = yield* Service50;
96
- const admission = yield* Service48;
91
+ const projects = yield* Service77;
92
+ const locations = yield* Service59;
93
+ const store = yield* Service57;
94
+ const execution = yield* Service42;
95
+ const instances = yield* Service45;
96
+ const admission = yield* Service44;
97
97
  const database = yield* Service83;
98
98
  const bus = yield* Service82;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError9({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
115
115
  return yield* new DestinationNotDirectoryError2({ directory });
116
116
  const project = yield* projects.resolve(directory);
117
117
  const destination = {
118
- location: Ref4.make({ directory, workspaceID: input.workspaceID }),
118
+ location: Ref3.make({ directory, workspaceID: input.workspaceID }),
119
119
  projectID: project.id,
120
120
  subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
121
121
  };
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service47.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service43.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service17.of({
136
+ return Service30.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node20 = makeGlobalNode({
167
- service: Service17,
166
+ var node33 = makeGlobalNode({
167
+ service: Service30,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node83,
173
- node55,
174
- node76,
175
- node49,
176
- node52,
177
- node50,
172
+ node81,
173
+ node61,
174
+ node59,
175
+ node45,
176
+ node47,
177
+ node46,
178
+ node87,
178
179
  node86,
179
- node85,
180
- node22
180
+ node34
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service17, node20, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service30, node33, exports_move };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
3
  Service82,
4
- node85
5
- } from "./file-p0rshxbh.js";
4
+ node86
5
+ } from "./file-mutation-b8rp9x54.js";
6
6
  import {
7
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make20,
10
+ make18,
11
11
  diffByKey2
12
- } from "./file-02nrjc1r.js";
12
+ } from "./file-mutation-0gdmqesm.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./file-922hggd3.js";
15
+ } from "./file-mutation-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./file-rdw6cm16.js";
18
+ } from "./file-mutation-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./file-9rqn6x4v.js";
21
+ } from "./file-mutation-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event5,
26
+ Event: () => Event13,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options4,
30
- Service: () => Service30,
31
- configured: () => configured4,
32
- layer: () => layer14,
33
- node: () => node33
29
+ Options: () => Options6,
30
+ Service: () => Service60,
31
+ configured: () => configured6,
32
+ layer: () => layer20,
33
+ node: () => node62
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key4.make("core/instructions");
45
- var Event5 = {
44
+ var key = Key3.make("core/instructions");
45
+ var Event13 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options4 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service30 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service60 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
55
+ var layer20 = (options) => Layer.effect(Service60, Effect.gen(function* () {
56
56
  const bus = yield* Service82;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event13.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make20({
77
+ const source = (value) => make18({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service30.of({
93
+ return Service60.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured4(options) {
107
+ function configured6(options) {
108
108
  return makeLocationNode({
109
- service: Service30,
110
- layer: layer14(options),
111
- deps: [node85]
109
+ service: Service60,
110
+ layer: layer20(options),
111
+ deps: [node86]
112
112
  });
113
113
  }
114
- var node33 = configured4();
114
+ var node62 = configured6();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event5, Options4, Service30, layer14, configured4, node33, exports_instruction_discovery };
145
+ export { File2, Event13, Options6, Service60, layer20, configured6, node62, exports_instruction_discovery };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
9
  Entry: () => Entry3,
10
- Info: () => Info13
10
+ Info: () => Info21
11
11
  });
12
12
  import { Schema } from "effect";
13
13
  var Entry3 = Schema.Struct({
@@ -16,6 +16,6 @@ var Entry3 = Schema.Struct({
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info21 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
20
20
 
21
- export { Entry3, Info13, exports_formatter3 };
21
+ export { Entry3, Info21, exports_formatter3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./file-6msgmcgs.js";
3
+ } from "./file-mutation-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./file-8p4f9s12.js";
6
+ } from "./file-mutation-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./file-zr2ceqn5.js";
3
+ } from "./file-mutation-zr2ceqn5.js";
4
4
  import {
5
- Service59
6
- } from "./file-k1324ekq.js";
5
+ Service63
6
+ } from "./file-mutation-he62sb3p.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./file-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make4
16
+ make: () => make10
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make4 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service59;
25
+ var make10 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service63;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make4, LoadError2, exports_module };
105
+ export { make10, LoadError2, exports_module };
@@ -1,33 +1,33 @@
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
  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/command.ts
13
- var exports_command5 = {};
14
- __export(exports_command5, {
15
- Command: () => exports_command5,
16
- Event: () => Event20,
13
+ var exports_command4 = {};
14
+ __export(exports_command4, {
15
+ Command: () => exports_command4,
16
+ Event: () => Event8,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info32,
19
- NotFoundError: () => NotFoundError10,
20
- Service: () => Service79,
21
- layer: () => layer24,
22
- node: () => node82
18
+ Info: () => Info8,
19
+ NotFoundError: () => NotFoundError7,
20
+ Service: () => Service49,
21
+ layer: () => layer19,
22
+ node: () => node51
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event20 } from "@opencode/schema/command";
28
- var Info32 = Command.Info;
27
+ import { Event as Event8 } from "@opencode/schema/command";
28
+ var Info8 = Command.Info;
29
29
 
30
- class NotFoundError10 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service79 extends Context.Service()("@opencode/Command") {
42
+ class Service49 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer24 = Layer.effect(Service79, Effect.gen(function* () {
44
+ var layer19 = Layer.effect(Service49, Effect.gen(function* () {
45
45
  const bus = yield* Service82;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer24 = Layer.effect(Service79, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info32.make({
54
+ const info = (definition) => Info8.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service79.of({
58
+ return Service49.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer24 = Layer.effect(Service79, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError10({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node82 = makeLocationNode({
75
- service: Service79,
76
- layer: layer24,
77
- deps: [node85]
74
+ var node51 = makeLocationNode({
75
+ service: Service49,
76
+ layer: layer19,
77
+ deps: [node86]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info32, NotFoundError10, ExecutionError2, Service79, layer24, node82, exports_command5, Event20 };
89
+ export { Info8, NotFoundError7, ExecutionError2, Service49, layer19, node51, exports_command4, Event8 };