@opencode/core 0.0.0-dev-19815 → 0.0.0-dev-19824

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 (796) 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 +68 -68
  7. package/dist/chunks/{file-mutation-fjvq75r9.js → variant-01vks33x.js} +31 -31
  8. package/dist/chunks/{file-mutation-0gdmqesm.js → variant-02nrjc1r.js} +8 -8
  9. package/dist/chunks/{file-mutation-mn433rsw.js → variant-05te5r5d.js} +9 -9
  10. package/dist/chunks/{file-mutation-6pcefmbq.js → variant-0e1yr8gf.js} +21 -21
  11. package/dist/chunks/{file-mutation-jyzcxg5d.js → variant-0ejw9b49.js} +15 -15
  12. package/dist/chunks/variant-0mesazry.js +4 -0
  13. package/dist/chunks/{file-mutation-tvs3qzmc.js → variant-0p7hypfr.js} +29 -29
  14. package/dist/chunks/{file-mutation-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-mutation-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{file-mutation-e8qyrgb1.js → variant-150yg2gd.js} +5 -5
  17. package/dist/chunks/{file-mutation-q5k1gk2r.js → variant-16f8z16b.js} +24 -24
  18. package/dist/chunks/{file-mutation-r1q2hccy.js → variant-19b2eas9.js} +15 -15
  19. package/dist/chunks/{file-mutation-yxc72q6g.js → variant-19khz4p6.js} +15 -15
  20. package/dist/chunks/{file-mutation-yp2x3t23.js → variant-1acjjqhc.js} +4 -4
  21. package/dist/chunks/{file-mutation-fb10pz29.js → variant-1c43qsr2.js} +20 -20
  22. package/dist/chunks/{file-mutation-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{file-mutation-64kphnzf.js → variant-1hc11dc4.js} +4 -4
  24. package/dist/chunks/{file-mutation-fk7y4jkk.js → variant-1jp1tdmc.js} +11 -11
  25. package/dist/chunks/{file-mutation-tf439zmr.js → variant-1ksx1n19.js} +26 -26
  26. package/dist/chunks/{file-mutation-vynmvp9h.js → variant-1rh4yqvv.js} +9 -9
  27. package/dist/chunks/{file-mutation-21r38tys.js → variant-21r38tys.js} +1 -1
  28. package/dist/chunks/{file-mutation-6h73sxmp.js → variant-2402vzrj.js} +5 -5
  29. package/dist/chunks/{file-mutation-ghfgp0c3.js → variant-248b5nak.js} +24 -24
  30. package/dist/chunks/{file-mutation-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{file-mutation-wy8b5sm2.js → variant-2jz473v5.js} +1 -1
  32. package/dist/chunks/{file-mutation-7dqw4kz8.js → variant-2k8khapm.js} +5 -5
  33. package/dist/chunks/{file-mutation-fradymh3.js → variant-2q14h232.js} +8 -8
  34. package/dist/chunks/{file-mutation-bzbtqdde.js → variant-2sn2n8my.js} +1 -1
  35. package/dist/chunks/{file-mutation-hfbvy1sn.js → variant-2xd641c6.js} +19 -19
  36. package/dist/chunks/{file-mutation-806j49yq.js → variant-34rkz0x9.js} +7 -7
  37. package/dist/chunks/{file-mutation-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{file-mutation-0x4jbnkh.js → variant-3ha39emb.js} +44 -44
  39. package/dist/chunks/{file-mutation-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{file-mutation-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{file-mutation-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{file-mutation-8ymss7tz.js → variant-3vf9kxrv.js} +5 -5
  43. package/dist/chunks/{file-mutation-tgkhkf8q.js → variant-3vgvden2.js} +8 -8
  44. package/dist/chunks/{file-mutation-sm4ygxtf.js → variant-3x80nh0t.js} +4 -4
  45. package/dist/chunks/{file-mutation-fz059jzw.js → variant-3zw4hbeh.js} +3 -3
  46. package/dist/chunks/{file-mutation-fvhrn3gk.js → variant-45bkrsy9.js} +5 -5
  47. package/dist/chunks/{file-mutation-xnetyx8p.js → variant-49t4bw2f.js} +11 -11
  48. package/dist/chunks/{file-mutation-npnjm836.js → variant-4r1byab9.js} +11 -11
  49. package/dist/chunks/{file-mutation-v3qe9rs0.js → variant-4rpjqd73.js} +19 -19
  50. package/dist/chunks/{file-mutation-b5a5chs4.js → variant-4znq6v3w.js} +11 -11
  51. package/dist/chunks/{file-mutation-q643w91n.js → variant-4zxqczn4.js} +5 -5
  52. package/dist/chunks/{file-mutation-5jyrccsa.js → variant-55885aw2.js} +25 -25
  53. package/dist/chunks/{file-mutation-f3fzf6ct.js → variant-57h76tt0.js} +33 -33
  54. package/dist/chunks/{file-mutation-zgr90j8v.js → variant-5ax8768v.js} +52 -52
  55. package/dist/chunks/{file-mutation-5daktx2q.js → variant-5daktx2q.js} +1 -1
  56. package/dist/chunks/{file-mutation-yd2f7xje.js → variant-5heqpdcj.js} +22 -22
  57. package/dist/chunks/{file-mutation-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{file-mutation-vyxtkag7.js → variant-5sxy960f.js} +34 -34
  59. package/dist/chunks/{file-mutation-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{file-mutation-qz5dz7fn.js → variant-5vwk78cz.js} +16 -16
  61. package/dist/chunks/{file-mutation-cmwkp3r5.js → variant-5xtgfte3.js} +8 -8
  62. package/dist/chunks/{file-mutation-jh7y3ak4.js → variant-6178vqjw.js} +7 -7
  63. package/dist/chunks/{file-mutation-xpjszw2w.js → variant-61er8rqz.js} +14 -14
  64. package/dist/chunks/{file-mutation-669tq793.js → variant-669tq793.js} +1 -1
  65. package/dist/chunks/{file-mutation-tfthf431.js → variant-6bqyejp5.js} +14 -14
  66. package/dist/chunks/{file-mutation-8q83d4tx.js → variant-6c0t2kqd.js} +12 -12
  67. package/dist/chunks/{file-mutation-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{file-mutation-y8gdy8xa.js → variant-6qk4ttjb.js} +11 -11
  69. package/dist/chunks/{file-mutation-szbjyn1k.js → variant-6rh0k5sx.js} +16 -16
  70. package/dist/chunks/{file-mutation-vb0h7fes.js → variant-6tfqh345.js} +32 -32
  71. package/dist/chunks/{file-mutation-beq4zmjh.js → variant-6wqj8apg.js} +6 -6
  72. package/dist/chunks/{file-mutation-kbgxh5wd.js → variant-71wx4n8j.js} +11 -11
  73. package/dist/chunks/{file-mutation-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{file-mutation-vackyeka.js → variant-7jxaecna.js} +7 -7
  75. package/dist/chunks/{file-mutation-1xv6ggcd.js → variant-7rashwxq.js} +35 -35
  76. package/dist/chunks/{file-mutation-8gwfkhjz.js → variant-7rvnq0b8.js} +10 -10
  77. package/dist/chunks/{file-mutation-khgmt31j.js → variant-7s3agvsz.js} +14 -14
  78. package/dist/chunks/{file-mutation-0tg136y5.js → variant-7sd2f9r3.js} +6 -6
  79. package/dist/chunks/{file-mutation-7a9f7nwj.js → variant-7tbzje54.js} +20 -20
  80. package/dist/chunks/{file-mutation-4khym028.js → variant-7vh7np3y.js} +4 -4
  81. package/dist/chunks/{file-mutation-yq432fpn.js → variant-7ymyehve.js} +24 -24
  82. package/dist/chunks/{file-mutation-kkp8zx71.js → variant-80scg3y3.js} +4 -4
  83. package/dist/chunks/{file-mutation-dhwr7h25.js → variant-818pfwc9.js} +11 -11
  84. package/dist/chunks/{file-mutation-vndk1130.js → variant-84fbrg39.js} +23 -23
  85. package/dist/chunks/{file-mutation-7hf3hesr.js → variant-8azdsswj.js} +4 -4
  86. package/dist/chunks/{file-mutation-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{file-mutation-vvqa46qn.js → variant-8ddaa20y.js} +26 -26
  88. package/dist/chunks/{file-mutation-k1grr621.js → variant-8dy8n873.js} +23 -23
  89. package/dist/chunks/{file-mutation-8p4f9s12.js → variant-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{file-mutation-gpsxp3jx.js → variant-8ywwvf0t.js} +24 -24
  91. package/dist/chunks/variant-91mft8vy.js +26 -0
  92. package/dist/chunks/{file-mutation-25r2jws7.js → variant-9am4gqzb.js} +15 -15
  93. package/dist/chunks/{file-mutation-8hbb8fdq.js → variant-9jgqz78v.js} +4 -4
  94. package/dist/chunks/{file-mutation-5ft7ers2.js → variant-9p53xqtp.js} +11 -11
  95. package/dist/chunks/{file-mutation-cbje66mk.js → variant-9pgrmpwd.js} +15 -15
  96. package/dist/chunks/{file-mutation-7w99qc9d.js → variant-9vs0xtad.js} +3 -3
  97. package/dist/chunks/variant-9vwccmx4.js +65 -0
  98. package/dist/chunks/{file-mutation-27hdnw63.js → variant-9xnmpb9w.js} +10 -10
  99. package/dist/chunks/{file-mutation-q85fv5sm.js → variant-9z0pj5xn.js} +44 -44
  100. package/dist/chunks/{file-mutation-8ar1z498.js → variant-9z7phx5z.js} +13 -13
  101. package/dist/chunks/variant-9zdhvgqs.js +18 -0
  102. package/dist/chunks/{file-mutation-a1bz86dw.js → variant-a1bz86dw.js} +3 -3
  103. package/dist/chunks/{file-mutation-g1q4s0jw.js → variant-a2mv5gbr.js} +18 -18
  104. package/dist/chunks/{file-mutation-42ybwkjg.js → variant-a5gskt6c.js} +17 -17
  105. package/dist/chunks/{file-mutation-aaet6srn.js → variant-aaet6srn.js} +2 -2
  106. package/dist/chunks/{file-mutation-969z9wtq.js → variant-actcqt2d.js} +47 -47
  107. package/dist/chunks/{file-mutation-bdqrk2vk.js → variant-awaee7qt.js} +6 -6
  108. package/dist/chunks/{file-mutation-3hn2t390.js → variant-b0qd10xy.js} +27 -27
  109. package/dist/chunks/{file-mutation-n0rcm67m.js → variant-b2aetxcc.js} +25 -25
  110. package/dist/chunks/{file-mutation-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{file-mutation-zw4pk1bw.js → variant-b7v4cx43.js} +5 -5
  112. package/dist/chunks/{file-mutation-gdaj5aat.js → variant-be05fv2r.js} +13 -13
  113. package/dist/chunks/{file-mutation-hk26yxvn.js → variant-be67pzrd.js} +17 -17
  114. package/dist/chunks/{file-mutation-8mhg0p4j.js → variant-bff9p5qa.js} +6 -6
  115. package/dist/chunks/{file-mutation-5jwj12zg.js → variant-bhezncwp.js} +4 -4
  116. package/dist/chunks/{file-mutation-0q6eeezy.js → variant-bn7rnd9f.js} +5 -5
  117. package/dist/chunks/{file-mutation-5p7phca6.js → variant-bppyyj2v.js} +44 -44
  118. package/dist/chunks/{file-mutation-mgscsna9.js → variant-c89x1wvt.js} +18 -18
  119. package/dist/chunks/{file-mutation-r98d5qx5.js → variant-cb43d9sh.js} +9 -9
  120. package/dist/chunks/{file-mutation-yjvamrjh.js → variant-ccx8w1mb.js} +20 -20
  121. package/dist/chunks/{file-mutation-cfpkc3c9.js → variant-cfpkc3c9.js} +2 -2
  122. package/dist/chunks/{file-mutation-ye41kewf.js → variant-ctqcwx6w.js} +15 -15
  123. package/dist/chunks/{file-mutation-d4he2qe1.js → variant-cwa6csj7.js} +9 -9
  124. package/dist/chunks/{file-mutation-eyrsk2wr.js → variant-cz7hb8nc.js} +17 -17
  125. package/dist/chunks/{file-mutation-ymw7bbdm.js → variant-d47yf70a.js} +9 -9
  126. package/dist/chunks/{file-mutation-aamtrqep.js → variant-dc6tzc5b.js} +9 -9
  127. package/dist/chunks/{file-mutation-ptkbcdgn.js → variant-dgmte57d.js} +11 -11
  128. package/dist/chunks/{file-mutation-nxp2ndre.js → variant-dky5496k.js} +2 -2
  129. package/dist/chunks/{file-mutation-y71avatq.js → variant-dpkg50ah.js} +4 -4
  130. package/dist/chunks/{file-mutation-xfkkasph.js → variant-drwq78ky.js} +4 -4
  131. package/dist/chunks/{file-mutation-ff2d2r5m.js → variant-dxedze6s.js} +17 -17
  132. package/dist/chunks/{file-mutation-jxt024yh.js → variant-dyjdaad3.js} +11 -11
  133. package/dist/chunks/{file-mutation-s8wea8bx.js → variant-e0qms0gr.js} +16 -16
  134. package/dist/chunks/{file-mutation-vfmrq4xs.js → variant-e0vs1mzd.js} +4 -4
  135. package/dist/chunks/{file-mutation-qz49fwgp.js → variant-e6hd9jay.js} +6 -6
  136. package/dist/chunks/{file-mutation-a43a3g9h.js → variant-e8sb7jec.js} +10 -10
  137. package/dist/chunks/{file-mutation-ft2kdwr0.js → variant-ecqcnbwp.js} +39 -39
  138. package/dist/chunks/{file-mutation-sbydz4ep.js → variant-ed3hs6y1.js} +3 -3
  139. package/dist/chunks/{file-mutation-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{file-mutation-272j0xxc.js → variant-ehrq6y4r.js} +7 -7
  141. package/dist/chunks/{file-mutation-8hpm3er8.js → variant-enyt10qg.js} +42 -42
  142. package/dist/chunks/{file-mutation-f4zk55g1.js → variant-ept6nwjm.js} +10 -10
  143. package/dist/chunks/{file-mutation-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
  144. package/dist/chunks/{file-mutation-dm5eaebf.js → variant-es4kqjb3.js} +35 -35
  145. package/dist/chunks/{file-mutation-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{file-mutation-ma79mf5h.js → variant-ewv1g2sm.js} +22 -22
  147. package/dist/chunks/{file-mutation-xyd70p3w.js → variant-f64b4e2b.js} +20 -20
  148. package/dist/chunks/{file-mutation-f828m53h.js → variant-f828m53h.js} +2 -2
  149. package/dist/chunks/{file-mutation-44ke2mar.js → variant-fkjmw100.js} +6 -6
  150. package/dist/chunks/{file-mutation-0eg4rpj5.js → variant-fmw9g2g8.js} +43 -43
  151. package/dist/chunks/{file-mutation-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{file-mutation-vkxpz7g2.js → variant-fxqygnfa.js} +4 -4
  153. package/dist/chunks/{file-mutation-q26d77qc.js → variant-fyctn3rt.js} +11 -11
  154. package/dist/chunks/{file-mutation-vsp1fds9.js → variant-g190xswt.js} +21 -21
  155. package/dist/chunks/{file-mutation-mrhf43mr.js → variant-g72thvg4.js} +13 -13
  156. package/dist/chunks/{file-mutation-r2h83j2n.js → variant-g7kkk6th.js} +7 -7
  157. package/dist/chunks/{file-mutation-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{file-mutation-h2mtz7rf.js → variant-gfjefykw.js} +16 -16
  159. package/dist/chunks/{file-mutation-ddszz877.js → variant-gkqze24a.js} +5 -5
  160. package/dist/chunks/{file-mutation-h53tpazp.js → variant-gmks98jd.js} +12 -12
  161. package/dist/chunks/{file-mutation-zzm21s8t.js → variant-gt3g9qfj.js} +10 -10
  162. package/dist/chunks/{file-mutation-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{file-mutation-th6pfvs0.js → variant-gyn2rxq2.js} +33 -33
  164. package/dist/chunks/{file-mutation-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{file-mutation-ett7491z.js → variant-h9xag4rw.js} +20 -20
  166. package/dist/chunks/{file-mutation-9xw9w00h.js → variant-hdv2372r.js} +11 -11
  167. package/dist/chunks/{file-mutation-1yaa2472.js → variant-hrctb8qc.js} +8 -8
  168. package/dist/chunks/{file-mutation-07nzwxsz.js → variant-j35apsye.js} +9 -9
  169. package/dist/chunks/{file-mutation-j56e64zr.js → variant-j56e64zr.js} +1 -1
  170. package/dist/chunks/{file-mutation-1xebqrby.js → variant-j6na985x.js} +43 -43
  171. package/dist/chunks/{file-mutation-25835ps7.js → variant-jbas8wg3.js} +20 -20
  172. package/dist/chunks/{file-mutation-3rqkssp8.js → variant-jh28hxeq.js} +8 -8
  173. package/dist/chunks/{file-mutation-3hdyanjz.js → variant-jqnpsya4.js} +4 -4
  174. package/dist/chunks/{file-mutation-zxfw9cda.js → variant-k16ghk50.js} +5 -5
  175. package/dist/chunks/{file-mutation-k3c624dm.js → variant-k3c624dm.js} +3 -3
  176. package/dist/chunks/{file-mutation-whtqb0a0.js → variant-k3e8ne48.js} +32 -32
  177. package/dist/chunks/{file-mutation-7m15pt6c.js → variant-k5pje4am.js} +30 -30
  178. package/dist/chunks/{file-mutation-3wwmjj1e.js → variant-kf50wy9q.js} +16 -16
  179. package/dist/chunks/{file-mutation-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{file-mutation-7m9w9bvj.js → variant-m9rrsbxp.js} +10 -10
  181. package/dist/chunks/{file-mutation-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{file-mutation-tz0rw111.js → variant-mc2pt6fx.js} +41 -41
  183. package/dist/chunks/{file-mutation-q58h1swb.js → variant-mc6qvgp2.js} +18 -18
  184. package/dist/chunks/{file-mutation-56gdpj1q.js → variant-mfqp6xfm.js} +6 -6
  185. package/dist/chunks/{file-mutation-w15v5k7j.js → variant-mgjjxbpm.js} +5 -5
  186. package/dist/chunks/{file-mutation-4vg93jqq.js → variant-mkc0g45p.js} +13 -13
  187. package/dist/chunks/{file-mutation-n22ydv4n.js → variant-mn27gk35.js} +11 -11
  188. package/dist/chunks/variant-mq7hv93r.js +252 -0
  189. package/dist/chunks/{file-mutation-jb05x9cx.js → variant-mrpf0s6m.js} +54 -54
  190. package/dist/chunks/{file-mutation-618kh5az.js → variant-mxa5vjk2.js} +187 -187
  191. package/dist/chunks/{file-mutation-1awtappa.js → variant-mxkppnpc.js} +23 -23
  192. package/dist/chunks/{file-mutation-2r0aj5wh.js → variant-n47hyx40.js} +5 -5
  193. package/dist/chunks/{file-mutation-a0t9nbea.js → variant-na5de2cq.js} +3 -3
  194. package/dist/chunks/{file-mutation-4ym5jtja.js → variant-nejkx4kn.js} +24 -24
  195. package/dist/chunks/{file-mutation-an8v9wk2.js → variant-nemkzx8e.js} +41 -41
  196. package/dist/chunks/{file-mutation-tvzz1vvx.js → variant-nhp7k55c.js} +31 -31
  197. package/dist/chunks/{file-mutation-89sbf2tr.js → variant-nmzzzee9.js} +3 -3
  198. package/dist/chunks/{file-mutation-pnv527nz.js → variant-nscznvay.js} +9 -9
  199. package/dist/chunks/{file-mutation-mzrbxmyd.js → variant-ntp4wasn.js} +11 -11
  200. package/dist/chunks/{file-mutation-h6r3nrb9.js → variant-nzyhnfxz.js} +4 -4
  201. package/dist/chunks/{file-mutation-8hvq2ep8.js → variant-p1esdbs0.js} +15 -15
  202. package/dist/chunks/{file-mutation-p28j5sbe.js → variant-p28j5sbe.js} +2 -2
  203. package/dist/chunks/{file-mutation-fzw6vb94.js → variant-p2jf4nmx.js} +30 -30
  204. package/dist/chunks/{file-mutation-1tve5nz8.js → variant-p6d8qggk.js} +8 -8
  205. package/dist/chunks/{file-mutation-h6jr292a.js → variant-p7nsp59h.js} +4 -4
  206. package/dist/chunks/{file-mutation-7ea56vch.js → variant-pbr0sv84.js} +6 -6
  207. package/dist/chunks/{file-mutation-af04s6ss.js → variant-pecb0brz.js} +5 -5
  208. package/dist/chunks/{file-mutation-hfdv8wax.js → variant-phn1vqr0.js} +6 -6
  209. package/dist/chunks/{file-mutation-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{file-mutation-pknna89w.js → variant-pknna89w.js} +1 -1
  211. package/dist/chunks/{file-mutation-ve4pfa0n.js → variant-pmr4s4kc.js} +4 -4
  212. package/dist/chunks/{file-mutation-8d81dgab.js → variant-ppezy4na.js} +11 -11
  213. package/dist/chunks/{file-mutation-hm06wjfd.js → variant-ps86rfva.js} +88 -88
  214. package/dist/chunks/{file-mutation-e1qag84x.js → variant-qjkp0ajm.js} +20 -20
  215. package/dist/chunks/{file-mutation-emkv37r5.js → variant-qkgfpw9r.js} +17 -17
  216. package/dist/chunks/{file-mutation-510m7gjw.js → variant-qn4ba14w.js} +5 -5
  217. package/dist/chunks/{file-mutation-qsdy395h.js → variant-qsdy395h.js} +1 -1
  218. package/dist/chunks/{file-mutation-akrwbyqx.js → variant-qw4a9453.js} +32 -32
  219. package/dist/chunks/{file-mutation-mvfsc1pv.js → variant-r5x6zcsm.js} +3 -3
  220. package/dist/chunks/{file-mutation-qjj0dw3c.js → variant-rd9tmpf4.js} +38 -38
  221. package/dist/chunks/{file-mutation-3yxkz7nw.js → variant-rda27rv4.js} +44 -44
  222. package/dist/chunks/{file-mutation-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{file-mutation-kne8f3cn.js → variant-rpg9c19m.js} +4 -4
  224. package/dist/chunks/{file-mutation-pdb8ga4w.js → variant-rsz70btv.js} +12 -12
  225. package/dist/chunks/{file-mutation-0pkscahp.js → variant-rw8hg23m.js} +15 -15
  226. package/dist/chunks/{file-mutation-cwe02ca0.js → variant-ry67yat8.js} +11 -11
  227. package/dist/chunks/{file-mutation-bew5cyq4.js → variant-s0vhasp4.js} +30 -30
  228. package/dist/chunks/{file-mutation-a7h69g84.js → variant-sd457nqd.js} +58 -58
  229. package/dist/chunks/{file-mutation-2vw86sre.js → variant-shjpqyhe.js} +25 -25
  230. package/dist/chunks/{file-mutation-mx9vqzsb.js → variant-shrpy2d8.js} +6 -6
  231. package/dist/chunks/{file-mutation-se8haf2r.js → variant-skh4jwq9.js} +3 -3
  232. package/dist/chunks/{file-mutation-grdqhvxd.js → variant-skrnqp3s.js} +23 -23
  233. package/dist/chunks/{file-mutation-8aaqm6qj.js → variant-sm965ndy.js} +8 -8
  234. package/dist/chunks/{file-mutation-h7w9m21h.js → variant-spqcpneg.js} +6 -6
  235. package/dist/chunks/{file-mutation-6vew141g.js → variant-svjqs73s.js} +5 -5
  236. package/dist/chunks/{file-mutation-vf8xkcyd.js → variant-syxd02q9.js} +13 -13
  237. package/dist/chunks/{file-mutation-4rys938p.js → variant-t9x8rfw8.js} +12 -12
  238. package/dist/chunks/{file-mutation-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{file-mutation-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{file-mutation-tdstcens.js → variant-tdstcens.js} +1 -1
  241. package/dist/chunks/{file-mutation-t9mj6jt2.js → variant-tqmdgn9s.js} +4 -4
  242. package/dist/chunks/{file-mutation-tvtrv512.js → variant-tvtrv512.js} +1 -1
  243. package/dist/chunks/{file-mutation-yw8t9dwe.js → variant-tx9w5tca.js} +8 -8
  244. package/dist/chunks/{file-mutation-ag9w8cw1.js → variant-tz2bjj40.js} +5 -5
  245. package/dist/chunks/{file-mutation-cpbpaj6d.js → variant-v1q568e6.js} +24 -24
  246. package/dist/chunks/{file-mutation-nng2ktcm.js → variant-v2f6dcv3.js} +2 -2
  247. package/dist/chunks/{file-mutation-kdbxf4qp.js → variant-vaqp5c1f.js} +9 -9
  248. package/dist/chunks/{file-mutation-9d7xkn7g.js → variant-vbwzfp4q.js} +15 -15
  249. package/dist/chunks/{file-mutation-nk6ab3nm.js → variant-vd2f7v7q.js} +16 -16
  250. package/dist/chunks/{file-mutation-veqvce7d.js → variant-veqvce7d.js} +1 -1
  251. package/dist/chunks/{file-mutation-5zrd1yp0.js → variant-vvxzq7xj.js} +7 -7
  252. package/dist/chunks/{file-mutation-2a234wtm.js → variant-vxgxjse3.js} +26 -26
  253. package/dist/chunks/{file-mutation-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{file-mutation-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{file-mutation-3zbb0e4x.js → variant-w418y777.js} +13 -13
  256. package/dist/chunks/{file-mutation-349ahzma.js → variant-w7rdgnme.js} +21 -21
  257. package/dist/chunks/{file-mutation-x2ncb56t.js → variant-w9mmbxy7.js} +24 -24
  258. package/dist/chunks/{file-mutation-wd87259q.js → variant-wd87259q.js} +1 -1
  259. package/dist/chunks/{file-mutation-4dxew0jv.js → variant-wfs508dn.js} +3 -3
  260. package/dist/chunks/{file-mutation-wqexvhqz.js → variant-ws2e64dn.js} +1 -1
  261. package/dist/chunks/{file-mutation-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{file-mutation-b0kddjqc.js → variant-x1vgmzea.js} +85 -85
  263. package/dist/chunks/{file-mutation-83w0rrj2.js → variant-x57ttj0w.js} +33 -33
  264. package/dist/chunks/{file-mutation-jp61ynmd.js → variant-x8t1j5yt.js} +17 -17
  265. package/dist/chunks/{file-mutation-gdsttb99.js → variant-xjtb2jnx.js} +4 -4
  266. package/dist/chunks/{file-mutation-mx4jkr8z.js → variant-xxtjwt1f.js} +9 -9
  267. package/dist/chunks/{file-mutation-v9spj19e.js → variant-xy1c65ay.js} +30 -30
  268. package/dist/chunks/{file-mutation-7ehb06f5.js → variant-xyshxsph.js} +19 -19
  269. package/dist/chunks/{file-mutation-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{file-mutation-x2kz3kd9.js → variant-y2ae7hkp.js} +10 -10
  271. package/dist/chunks/{file-mutation-s1kvmffy.js → variant-y56ehv6b.js} +9 -9
  272. package/dist/chunks/{file-mutation-ymnk3hjs.js → variant-yep1rxaf.js} +30 -30
  273. package/dist/chunks/{file-mutation-w9jrmyp1.js → variant-ynk6d6vz.js} +24 -24
  274. package/dist/chunks/{file-mutation-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{file-mutation-s4enseaf.js → variant-yrznvahk.js} +2 -2
  276. package/dist/chunks/{file-mutation-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{file-mutation-29x78va6.js → variant-z63w68vq.js} +6 -6
  278. package/dist/chunks/{file-mutation-rk9tjfwx.js → variant-zbg2c216.js} +11 -11
  279. package/dist/chunks/{file-mutation-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{file-mutation-mfk1rbdv.js → variant-zg4fhqvk.js} +19 -19
  281. package/dist/chunks/variant-zj3z6d73.js +492 -0
  282. package/dist/chunks/{file-mutation-kkhsm4n5.js → variant-zpeypfhm.js} +28 -28
  283. package/dist/chunks/{file-mutation-kjfdeayr.js → variant-zq6stcrg.js} +8 -8
  284. package/dist/chunks/{file-mutation-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{file-mutation-xw3aqcjm.js → variant-ztq7ncxt.js} +7 -7
  286. package/dist/chunks/{file-mutation-5aj0q20a.js → variant-zwcphd4s.js} +18 -18
  287. package/dist/chunks/{file-mutation-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{file-mutation-cvkwxbsz.js → variant-zy32w698.js} +16 -16
  289. package/dist/chunks/{file-mutation-vxfja19v.js → variant-zyc8eh8e.js} +3 -3
  290. package/dist/chunks/{file-mutation-h2g1afwd.js → variant-zzkngxht.js} +11 -11
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +80 -80
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +124 -124
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +123 -123
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +125 -125
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +226 -226
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +96 -96
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +101 -101
  430. package/dist/form.js +81 -81
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +82 -82
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +82 -82
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +87 -87
  464. package/dist/job.js +76 -76
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +88 -88
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +101 -101
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +90 -90
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +101 -101
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +81 -81
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +112 -112
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +83 -83
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +101 -101
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +119 -119
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +73 -73
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +228 -228
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +89 -89
  562. package/dist/provider.js +100 -100
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +93 -93
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +94 -94
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +220 -220
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +89 -89
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +228 -228
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +111 -111
  607. package/dist/session/runner/step.js +123 -123
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +149 -149
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +216 -216
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +215 -215
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +137 -137
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +104 -104
  631. package/dist/skill.js +109 -109
  632. package/dist/snapshot.js +92 -92
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +121 -121
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +102 -102
  644. package/dist/tool/plugin/read.js +120 -120
  645. package/dist/tool/plugin/shell.js +216 -216
  646. package/dist/tool/plugin/skill.js +112 -112
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +109 -109
  649. package/dist/tool/plugin/websearch.js +107 -107
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +12 -12
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +81 -81
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +77 -77
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +95 -95
  695. package/package.json +8 -8
  696. package/dist/chunks/file-mutation-2680q31g.js +0 -65
  697. package/dist/chunks/file-mutation-5fvgv7y0.js +0 -26
  698. package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
  699. package/dist/chunks/file-mutation-ctefx7dc.js +0 -18
  700. package/dist/chunks/file-mutation-e2h1d8z0.js +0 -492
  701. package/dist/chunks/file-mutation-w1v3sb82.js +0 -252
  702. /package/dist/chunks/{file-mutation-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{file-mutation-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{file-mutation-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{file-mutation-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{file-mutation-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{file-mutation-24dcb14g.js → variant-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{file-mutation-2710q6r3.js → variant-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{file-mutation-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{file-mutation-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{file-mutation-359p4xyc.js → variant-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{file-mutation-3asan66x.js → variant-3asan66x.js} +0 -0
  713. /package/dist/chunks/{file-mutation-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{file-mutation-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{file-mutation-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{file-mutation-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{file-mutation-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{file-mutation-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{file-mutation-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{file-mutation-53557ph1.js → variant-53557ph1.js} +0 -0
  721. /package/dist/chunks/{file-mutation-550bvhaj.js → variant-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{file-mutation-6prwharc.js → variant-6prwharc.js} +0 -0
  723. /package/dist/chunks/{file-mutation-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{file-mutation-7m9af43g.js → variant-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{file-mutation-822emrt2.js → variant-822emrt2.js} +0 -0
  726. /package/dist/chunks/{file-mutation-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{file-mutation-8n3pysct.js → variant-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{file-mutation-922hggd3.js → variant-922hggd3.js} +0 -0
  729. /package/dist/chunks/{file-mutation-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{file-mutation-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{file-mutation-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{file-mutation-af5trqkr.js → variant-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{file-mutation-afrmfg78.js → variant-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{file-mutation-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{file-mutation-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{file-mutation-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{file-mutation-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{file-mutation-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{file-mutation-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{file-mutation-d9fn303g.js → variant-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{file-mutation-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{file-mutation-dajrwvna.js → variant-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{file-mutation-dap0rakb.js → variant-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{file-mutation-df08tz66.js → variant-df08tz66.js} +0 -0
  745. /package/dist/chunks/{file-mutation-dy18nga0.js → variant-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{file-mutation-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{file-mutation-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{file-mutation-ec1grn59.js → variant-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{file-mutation-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{file-mutation-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{file-mutation-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{file-mutation-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{file-mutation-faypxj3z.js → variant-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{file-mutation-fd410y7t.js → variant-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{file-mutation-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{file-mutation-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{file-mutation-g86h250q.js → variant-g86h250q.js} +0 -0
  758. /package/dist/chunks/{file-mutation-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{file-mutation-gftt206x.js → variant-gftt206x.js} +0 -0
  760. /package/dist/chunks/{file-mutation-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{file-mutation-hk9envan.js → variant-hk9envan.js} +0 -0
  762. /package/dist/chunks/{file-mutation-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{file-mutation-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{file-mutation-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{file-mutation-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{file-mutation-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{file-mutation-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{file-mutation-mp448xyj.js → variant-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{file-mutation-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{file-mutation-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{file-mutation-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{file-mutation-njntx4h6.js → variant-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{file-mutation-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{file-mutation-q74kybfr.js → variant-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{file-mutation-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{file-mutation-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{file-mutation-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{file-mutation-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{file-mutation-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{file-mutation-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{file-mutation-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{file-mutation-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{file-mutation-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{file-mutation-twg0f83k.js → variant-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{file-mutation-w803qqfp.js → variant-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{file-mutation-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{file-mutation-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{file-mutation-wtztk69x.js → variant-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{file-mutation-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{file-mutation-x61499pn.js → variant-x61499pn.js} +0 -0
  791. /package/dist/chunks/{file-mutation-y44na4kk.js → variant-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{file-mutation-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{file-mutation-y8f7s663.js → variant-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{file-mutation-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{file-mutation-ym463w8f.js → variant-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{file-mutation-z9919s4g.js → variant-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service63,
3
- node65
4
- } from "./file-mutation-yd2f7xje.js";
2
+ Service45,
3
+ node49
4
+ } from "./variant-5heqpdcj.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./file-mutation-emkv37r5.js";
6
+ Service73,
7
+ node77
8
+ } from "./variant-qkgfpw9r.js";
9
9
  import {
10
- Service62,
11
- node64
12
- } from "./file-mutation-an8v9wk2.js";
10
+ Service44,
11
+ node48
12
+ } from "./variant-nemkzx8e.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./file-mutation-zxq2ej10.js";
16
+ } from "./variant-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./file-mutation-9rqn6x4v.js";
19
+ } from "./variant-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service4,
25
+ Service: () => Service3,
26
26
  empty: () => empty2,
27
27
  layer: () => layer5,
28
- node: () => node6
28
+ node: () => node5
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service62;
40
- const watcher = yield* Service63;
38
+ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
39
+ const config = yield* Service44;
40
+ const watcher = yield* Service45;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service76;
42
+ const location = yield* Service73;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service4.of({
61
+ return Service3.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service4,
73
+ var node5 = makeLocationNode({
74
+ service: Service3,
75
75
  layer: layer5,
76
- deps: [node64, FSUtil.node, node65, node80]
76
+ deps: [node48, FSUtil.node, node49, node77]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service4,
80
- layer: Layer.succeed(Service4, Service4.of({
79
+ service: Service3,
80
+ layer: Layer.succeed(Service3, Service3.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service4, layer5, node6, empty2, exports_source };
140
+ export { Service3, layer5, node5, empty2, exports_source };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-mutation-922hggd3.js";
4
+ } from "./variant-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service78,
9
- node82
10
- } from "./file-mutation-h53tpazp.js";
8
+ Service75,
9
+ node79
10
+ } from "./variant-gmks98jd.js";
11
11
  import {
12
- Service76,
13
- node80
14
- } from "./file-mutation-emkv37r5.js";
12
+ Service73,
13
+ node77
14
+ } from "./variant-qkgfpw9r.js";
15
15
  import {
16
16
  create3
17
- } from "./file-mutation-rdw6cm16.js";
17
+ } from "./variant-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./file-mutation-9rqn6x4v.js";
20
+ } from "./variant-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID6,
27
- Service: () => Service51,
25
+ Error: () => Error4,
26
+ ID: () => ID7,
27
+ Service: () => Service49,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node53,
30
- noopLayer: () => noopLayer3
29
+ node: () => node54,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID7 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service51 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service49 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service51, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service75;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service73;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID7.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service51.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service49.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node53 = makeLocationNode({
144
- service: Service51,
143
+ var node54 = makeLocationNode({
144
+ service: Service49,
145
145
  layer,
146
- deps: [FSUtil.node, node82, Global.node, node80]
146
+ deps: [FSUtil.node, node79, Global.node, node77]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service51, Service51.of({
148
+ var noopLayer2 = Layer.succeed(Service49, Service49.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service51, Service51.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID6, Error3, Service51, node53, noopLayer3, exports_snapshot2 };
166
+ export { ID7, Error4, Service49, node54, noopLayer2, exports_snapshot2 };
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./file-mutation-t9mj6jt2.js";
4
+ } from "./variant-tqmdgn9s.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./file-mutation-emkv37r5.js";
6
+ Service73,
7
+ node77
8
+ } from "./variant-qkgfpw9r.js";
9
9
  import {
10
- ID9,
11
- Service58,
12
- node60
13
- } from "./file-mutation-yq432fpn.js";
10
+ ID18,
11
+ Service81,
12
+ node85
13
+ } from "./variant-7ymyehve.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./file-mutation-jh7y3ak4.js";
16
+ } from "./variant-6178vqjw.js";
17
17
  import {
18
- Service57,
19
- node59
20
- } from "./file-mutation-s8wea8bx.js";
18
+ Service67,
19
+ node71
20
+ } from "./variant-e0qms0gr.js";
21
21
  import {
22
22
  match2
23
- } from "./file-mutation-y1fvbwt7.js";
23
+ } from "./variant-y1fvbwt7.js";
24
24
  import {
25
- Service56,
26
- node58
27
- } from "./file-mutation-hk26yxvn.js";
25
+ Service68,
26
+ node72
27
+ } from "./variant-be67pzrd.js";
28
28
  import {
29
- Service72,
30
- node75
31
- } from "./file-mutation-yw8t9dwe.js";
29
+ Service78,
30
+ node82
31
+ } from "./variant-tx9w5tca.js";
32
32
  import {
33
33
  __export
34
- } from "./file-mutation-9rqn6x4v.js";
34
+ } from "./variant-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event11,
46
- ID: () => ID7,
45
+ Event: () => Event16,
46
+ ID: () => ID12,
47
47
  NotFoundError: () => NotFoundError8,
48
- Permission: () => exports_permission,
48
+ Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
52
- Rule: () => Rule2,
51
+ Request: () => Request3,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service55,
54
+ Service: () => Service66,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node57
58
+ node: () => node70
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event11 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event16 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID7 = Permission.ID;
67
+ var ID12 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
77
+ var Request3 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID7.pipe(Schema.optional),
80
+ id: ID12.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID9.pipe(Schema.optional)
82
+ agent: ID18.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID7,
85
+ requestID: ID12,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID7,
90
+ id: ID12,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID7
114
+ requestID: ID12
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service55 extends Context.Service()("@opencode/Permission") {
128
+ class Service66 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service55, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
131
131
  const bus = yield* Service82;
132
- const location = yield* Service76;
133
- const agents = yield* Service58;
134
- const sessions = yield* Service57;
135
- const saved = yield* Service56;
136
- const hooks = yield* Service72;
132
+ const location = yield* Service73;
133
+ const agents = yield* Service81;
134
+ const sessions = yield* Service67;
135
+ const saved = yield* Service68;
136
+ const hooks = yield* Service78;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID7.create(),
189
+ id: input.id ?? ID12.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID7.create(), effect: "deny" };
214
+ return { id: input.id ?? ID12.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service55.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service66.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node57 = makeLocationNode({
303
- service: Service55,
302
+ var node70 = makeLocationNode({
303
+ service: Service66,
304
304
  layer,
305
- deps: [node86, node80, node60, node59, node58, node75]
305
+ deps: [node86, node77, node85, node71, node72, node82]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service55, node57, exports_permission, Rule2, Ruleset2, Event11 };
308
+ export { PermissionEffect, ID12, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service66, node70, exports_permission2, Rule3, Ruleset2, Event16 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./variant-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./file-mutation-88xbtdfr.js";
3
+ } from "./variant-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./file-mutation-e3qxr5gk.js";
5
+ load4
6
+ } from "./variant-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./file-mutation-9rqn6x4v.js";
9
+ } from "./variant-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event14,
14
+ Event: () => Event9,
15
15
  Native: () => Native3,
16
- Options: () => Options10,
17
- Service: () => Service63,
16
+ Options: () => Options9,
17
+ Service: () => Service45,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer22,
22
+ layer: () => layer18,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node65,
25
+ node: () => node49,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -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 Event14 = { Updated: FileSystem.Event.Changed };
36
+ var Event9 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load5());
39
+ return createWrapper(load4());
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 Options10 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service63 extends Context.Service()("@opencode/Watcher") {
60
+ class Service45 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(Service63, Effect.gen(function* () {
65
+ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service63.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service45.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(Service63, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service63.of({ subscribe });
108
+ return Service45.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service63).subscribe,
134
+ subscribe: Context.get(context, Service45).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(Service63, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service45, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured9(options) {
168
- return makeGlobalNode({ service: Service63, layer: layer22(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service45, layer: layer18(options), deps: [nativeNode2] });
169
169
  }
170
- var node65 = configured9();
170
+ var node49 = 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 { Event14, hasNativeBinding2, Native3, Options10, Service63, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured9, node65, exports_watcher };
190
+ export { Event9, hasNativeBinding2, Native3, Options9, Service45, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured9, node49, exports_watcher };
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load5() {
3
+ function load4() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load5 };
9
+ export { load4 };