@opencode/core 0.0.0-beta-19275 → 0.0.0-beta-19283

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{worktree-34gk67xh.js → file-mutation-06e9b0r5.js} +4 -4
  9. package/dist/chunks/{worktree-zycny061.js → file-mutation-09bre2bs.js} +35 -35
  10. package/dist/chunks/{worktree-vp47j2z8.js → file-mutation-0atcf9qv.js} +22 -22
  11. package/dist/chunks/{worktree-eaj1djv9.js → file-mutation-0gdmqesm.js} +8 -8
  12. package/dist/chunks/{worktree-1dfhrqqs.js → file-mutation-0hpxrkyb.js} +5 -5
  13. package/dist/chunks/{worktree-6pbkbdfq.js → file-mutation-0kmn1fe5.js} +9 -9
  14. package/dist/chunks/{worktree-2qnjyx3m.js → file-mutation-0kmr7qxb.js} +26 -26
  15. package/dist/chunks/{worktree-cbmq2pzd.js → file-mutation-0p6seckt.js} +25 -25
  16. package/dist/chunks/{worktree-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{worktree-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{worktree-j2c7enbf.js → file-mutation-0vyd0s5c.js} +9 -9
  19. package/dist/chunks/{worktree-esam66tc.js → file-mutation-186z8ksc.js} +10 -10
  20. package/dist/chunks/{worktree-mvfsc1pv.js → file-mutation-1bbkgx8g.js} +3 -3
  21. package/dist/chunks/{worktree-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{worktree-b29mbqx6.js → file-mutation-1q5awywt.js} +5 -5
  23. package/dist/chunks/{worktree-fvanntqq.js → file-mutation-1tq060df.js} +4 -4
  24. package/dist/chunks/{worktree-5xw7cgsj.js → file-mutation-1v9ym5jr.js} +20 -20
  25. package/dist/chunks/{worktree-amn7rrmc.js → file-mutation-1vnghje2.js} +15 -15
  26. package/dist/chunks/{worktree-56gdpj1q.js → file-mutation-1ygqh575.js} +9 -9
  27. package/dist/chunks/{worktree-egz44y69.js → file-mutation-1zgrek1b.js} +18 -18
  28. package/dist/chunks/{worktree-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  29. package/dist/chunks/{worktree-2a4f6v5q.js → file-mutation-2336b01z.js} +8 -8
  30. package/dist/chunks/{worktree-2402vzrj.js → file-mutation-2402vzrj.js} +1 -1
  31. package/dist/chunks/{worktree-z63w68vq.js → file-mutation-29x78va6.js} +6 -6
  32. package/dist/chunks/{worktree-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{worktree-t0fxg8b9.js → file-mutation-2qp6y8xf.js} +5 -5
  34. package/dist/chunks/{worktree-cyhn230w.js → file-mutation-2s407pyf.js} +10 -10
  35. package/dist/chunks/{worktree-r05k2dy1.js → file-mutation-2s50d4an.js} +8 -8
  36. package/dist/chunks/{worktree-m9hyszwm.js → file-mutation-2vcmvr51.js} +4 -4
  37. package/dist/chunks/{worktree-frwpyczr.js → file-mutation-2wyjv582.js} +4 -4
  38. package/dist/chunks/{worktree-hekpxy8z.js → file-mutation-2y04n8jz.js} +5 -5
  39. package/dist/chunks/{worktree-zf4nb4wp.js → file-mutation-38q3t4w4.js} +39 -39
  40. package/dist/chunks/{worktree-1jhga1v4.js → file-mutation-3a14va3x.js} +14 -14
  41. package/dist/chunks/{worktree-ead3g9p8.js → file-mutation-3cz8rj72.js} +5 -5
  42. package/dist/chunks/{worktree-e3fx731j.js → file-mutation-3ea0hr43.js} +28 -28
  43. package/dist/chunks/{worktree-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{worktree-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{worktree-xrd4famk.js → file-mutation-3hf7z3yq.js} +11 -11
  46. package/dist/chunks/{worktree-2hcp0bjx.js → file-mutation-3qm34taf.js} +9 -9
  47. package/dist/chunks/{worktree-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{worktree-dvh2p5hy.js → file-mutation-3sxqrh4h.js} +25 -25
  49. package/dist/chunks/{worktree-fvhg6c42.js → file-mutation-3tkzazqm.js} +17 -17
  50. package/dist/chunks/{worktree-zxgnc9zk.js → file-mutation-3trbxeqx.js} +1 -1
  51. package/dist/chunks/{worktree-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{worktree-4ph0a4gn.js → file-mutation-3x45ad37.js} +26 -26
  53. package/dist/chunks/{worktree-3qdzwhqx.js → file-mutation-3xq6eagg.js} +50 -50
  54. package/dist/chunks/{worktree-xwc0gsaj.js → file-mutation-40snepyt.js} +32 -32
  55. package/dist/chunks/{worktree-ezy2bptn.js → file-mutation-45hw2ke2.js} +6 -6
  56. package/dist/chunks/{worktree-16cax9zb.js → file-mutation-49w8mb30.js} +11 -11
  57. package/dist/chunks/{worktree-97y4vk9t.js → file-mutation-4fjbcyqb.js} +24 -24
  58. package/dist/chunks/{worktree-ftevhb49.js → file-mutation-4k8h272a.js} +9 -9
  59. package/dist/chunks/{worktree-wbkyxrgf.js → file-mutation-510m7gjw.js} +5 -5
  60. package/dist/chunks/file-mutation-53555yf5.js +247 -0
  61. package/dist/chunks/{worktree-ccrec4q8.js → file-mutation-55fsb9kg.js} +24 -24
  62. package/dist/chunks/{worktree-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  63. package/dist/chunks/{worktree-nsx3nvvw.js → file-mutation-5f3v4jqn.js} +13 -13
  64. package/dist/chunks/{worktree-pr7ch8ks.js → file-mutation-5qczcnpy.js} +23 -23
  65. package/dist/chunks/{worktree-fjttjfbj.js → file-mutation-5qzxerzy.js} +59 -59
  66. package/dist/chunks/{worktree-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{worktree-xmc8nah8.js → file-mutation-5vn17cm2.js} +16 -16
  68. package/dist/chunks/{worktree-kbmmzrfa.js → file-mutation-5xtgfte3.js} +8 -8
  69. package/dist/chunks/{worktree-669tq793.js → file-mutation-669tq793.js} +1 -1
  70. package/dist/chunks/{worktree-mp9h7a8n.js → file-mutation-67ta7bkj.js} +30 -30
  71. package/dist/chunks/{worktree-0tg2xvbt.js → file-mutation-6hb1nw02.js} +33 -33
  72. package/dist/chunks/{worktree-1j00hnwg.js → file-mutation-6hvfbh91.js} +13 -13
  73. package/dist/chunks/{worktree-7003dbs4.js → file-mutation-6j4ag5pz.js} +36 -36
  74. package/dist/chunks/file-mutation-6kdq0pjd.js +4 -0
  75. package/dist/chunks/{worktree-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{worktree-w1k39n5e.js → file-mutation-6p3xbzsx.js} +4 -4
  77. package/dist/chunks/{worktree-249ffbnn.js → file-mutation-6x0tkb6y.js} +24 -24
  78. package/dist/chunks/{worktree-608jf46e.js → file-mutation-6ydb37tg.js} +284 -284
  79. package/dist/chunks/{worktree-71q4at8m.js → file-mutation-71q4at8m.js} +1 -1
  80. package/dist/chunks/{worktree-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{worktree-fm2qvscf.js → file-mutation-806j49yq.js} +4 -4
  82. package/dist/chunks/{worktree-0k40b2vq.js → file-mutation-80738sq9.js} +75 -75
  83. package/dist/chunks/{worktree-pjmw00w1.js → file-mutation-81swgkk7.js} +5 -5
  84. package/dist/chunks/{worktree-qn0ybd26.js → file-mutation-82mcaj86.js} +15 -15
  85. package/dist/chunks/{worktree-9qn3qky1.js → file-mutation-84tssp1s.js} +8 -8
  86. package/dist/chunks/{worktree-qr42g2ex.js → file-mutation-88adr1q9.js} +12 -12
  87. package/dist/chunks/{worktree-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{worktree-zjffjh2a.js → file-mutation-8d8kddd4.js} +18 -18
  89. package/dist/chunks/{worktree-0bc6jdbc.js → file-mutation-8hzg5heq.js} +10 -10
  90. package/dist/chunks/{worktree-jrra6jmc.js → file-mutation-8m0rbw91.js} +6 -6
  91. package/dist/chunks/{worktree-dj2t23y0.js → file-mutation-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{worktree-s4cjsff2.js → file-mutation-8rndkrc9.js} +22 -22
  93. package/dist/chunks/{worktree-52fpbh6z.js → file-mutation-8s1fj8xg.js} +8 -8
  94. package/dist/chunks/{worktree-5xgydngh.js → file-mutation-8trxq8gn.js} +15 -15
  95. package/dist/chunks/{worktree-tzjcchbs.js → file-mutation-8vkd33e4.js} +164 -164
  96. package/dist/chunks/{worktree-sdm808jd.js → file-mutation-8x19mfpd.js} +13 -13
  97. package/dist/chunks/{worktree-z82wee6n.js → file-mutation-93qrahcj.js} +11 -11
  98. package/dist/chunks/{worktree-062zp4xz.js → file-mutation-994yq7gs.js} +17 -17
  99. package/dist/chunks/{worktree-e54b9byn.js → file-mutation-9ctpkay6.js} +24 -24
  100. package/dist/chunks/{worktree-13bmfrpk.js → file-mutation-9jq9dwvq.js} +17 -17
  101. package/dist/chunks/{worktree-h3njrwgg.js → file-mutation-9jwfms7w.js} +34 -34
  102. package/dist/chunks/{worktree-710w2ech.js → file-mutation-9k2v62xn.js} +1 -1
  103. package/dist/chunks/{worktree-0khbs0qs.js → file-mutation-9phvn7ns.js} +3 -3
  104. package/dist/chunks/{worktree-5c4hm403.js → file-mutation-a1bz86dw.js} +3 -3
  105. package/dist/chunks/{worktree-twy35tz0.js → file-mutation-a5gt7g2r.js} +9 -9
  106. package/dist/chunks/{worktree-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  107. package/dist/chunks/{worktree-dx2tycek.js → file-mutation-actbqwdw.js} +5 -5
  108. package/dist/chunks/{worktree-eynwqhf0.js → file-mutation-b28dsp24.js} +33 -33
  109. package/dist/chunks/{worktree-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{worktree-vq45zjjz.js → file-mutation-b6tpec7v.js} +27 -27
  111. package/dist/chunks/{worktree-qt1vhyrn.js → file-mutation-bb3j3psa.js} +9 -9
  112. package/dist/chunks/{worktree-kpf3cvbv.js → file-mutation-bcvv562x.js} +15 -15
  113. package/dist/chunks/{worktree-q3ac6zk1.js → file-mutation-beahn02f.js} +27 -27
  114. package/dist/chunks/{worktree-n679sgpe.js → file-mutation-bj38exev.js} +4 -4
  115. package/dist/chunks/{worktree-3bgy0jaw.js → file-mutation-bmgez2f1.js} +15 -15
  116. package/dist/chunks/{worktree-k8wahcmx.js → file-mutation-bve5mb3t.js} +9 -9
  117. package/dist/chunks/{worktree-2f04pwep.js → file-mutation-bwshncvd.js} +3 -3
  118. package/dist/chunks/{worktree-vrm5r67w.js → file-mutation-c1k9yc14.js} +16 -16
  119. package/dist/chunks/{worktree-nrs7ag5n.js → file-mutation-c1nn02ak.js} +43 -43
  120. package/dist/chunks/{worktree-z0kan0ff.js → file-mutation-c48kwzew.js} +6 -6
  121. package/dist/chunks/{worktree-76j77zm8.js → file-mutation-c4wn80s8.js} +19 -19
  122. package/dist/chunks/{worktree-rn1y5g26.js → file-mutation-c4xf5pcw.js} +20 -20
  123. package/dist/chunks/{worktree-sj6racd4.js → file-mutation-c5c317t5.js} +8 -8
  124. package/dist/chunks/{worktree-p72z5xx6.js → file-mutation-c95cvesc.js} +2 -2
  125. package/dist/chunks/{worktree-ca7w653e.js → file-mutation-ca7w653e.js} +1 -1
  126. package/dist/chunks/{worktree-7vcja736.js → file-mutation-cd746zc3.js} +27 -27
  127. package/dist/chunks/{worktree-m0jqrx5p.js → file-mutation-cfpkc3c9.js} +2 -2
  128. package/dist/chunks/{worktree-d3p6gjbn.js → file-mutation-d19y6w96.js} +32 -32
  129. package/dist/chunks/{worktree-dvgvg99t.js → file-mutation-d8dqhcx6.js} +22 -22
  130. package/dist/chunks/{worktree-4m55frd1.js → file-mutation-dakvsad3.js} +25 -25
  131. package/dist/chunks/{worktree-jwd18bs2.js → file-mutation-dbkk30e5.js} +26 -26
  132. package/dist/chunks/{worktree-9w3hzb16.js → file-mutation-drfdf3ak.js} +14 -14
  133. package/dist/chunks/{worktree-p9690q97.js → file-mutation-dwmg9hrb.js} +71 -71
  134. package/dist/chunks/{worktree-rp98wqty.js → file-mutation-e1r2x6f9.js} +36 -36
  135. package/dist/chunks/{worktree-a6ftqyym.js → file-mutation-e3pe5yny.js} +3 -3
  136. package/dist/chunks/{worktree-80aa9epv.js → file-mutation-e3qr8qh7.js} +8 -8
  137. package/dist/chunks/{worktree-w2jjwenf.js → file-mutation-es821efa.js} +10 -10
  138. package/dist/chunks/{worktree-ffx4mq6v.js → file-mutation-esdnemd6.js} +1 -1
  139. package/dist/chunks/{worktree-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{worktree-vvscj02x.js → file-mutation-f3bk3ss6.js} +9 -9
  141. package/dist/chunks/{worktree-madgwgkk.js → file-mutation-f58s2wyk.js} +11 -11
  142. package/dist/chunks/{worktree-hdnk95c8.js → file-mutation-f828m53h.js} +2 -2
  143. package/dist/chunks/{worktree-tm64n74p.js → file-mutation-fa129hwe.js} +29 -29
  144. package/dist/chunks/{worktree-qgn6gcr1.js → file-mutation-fcrkznn8.js} +5 -5
  145. package/dist/chunks/{worktree-km7f0hwj.js → file-mutation-feeq33m8.js} +20 -20
  146. package/dist/chunks/{worktree-6jnybvqn.js → file-mutation-fhs97t90.js} +9 -9
  147. package/dist/chunks/{worktree-fa0cr6zp.js → file-mutation-fq1h1v14.js} +3 -3
  148. package/dist/chunks/{worktree-aw84nbjy.js → file-mutation-ftnkmamc.js} +15 -15
  149. package/dist/chunks/{worktree-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{worktree-rjbw5qw4.js → file-mutation-g2emr326.js} +27 -27
  151. package/dist/chunks/{worktree-255fqtq1.js → file-mutation-g6ww450v.js} +6 -6
  152. package/dist/chunks/{worktree-2t421ajn.js → file-mutation-gb3cfaes.js} +17 -17
  153. package/dist/chunks/{worktree-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{worktree-923hzxn9.js → file-mutation-gm1k8myf.js} +13 -13
  155. package/dist/chunks/{worktree-tvvzt9x6.js → file-mutation-gnbcfc85.js} +36 -36
  156. package/dist/chunks/{worktree-th5km1p3.js → file-mutation-gv6a8nnw.js} +5 -5
  157. package/dist/chunks/{worktree-gbzh5ddg.js → file-mutation-gyt4xc7p.js} +13 -13
  158. package/dist/chunks/{worktree-h03wrkyp.js → file-mutation-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{worktree-t2pd0szj.js → file-mutation-h0gknw34.js} +30 -30
  160. package/dist/chunks/{worktree-w55j1d38.js → file-mutation-h1fkweye.js} +15 -15
  161. package/dist/chunks/{worktree-s7xtjryh.js → file-mutation-h2gyv3sg.js} +1 -1
  162. package/dist/chunks/{worktree-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{worktree-567g6dh9.js → file-mutation-h9sh19qw.js} +8 -8
  164. package/dist/chunks/{worktree-7hhzr64w.js → file-mutation-he7r1j7z.js} +16 -16
  165. package/dist/chunks/{worktree-kxzh2p20.js → file-mutation-hh8z4pbg.js} +11 -11
  166. package/dist/chunks/{worktree-k56d8zdx.js → file-mutation-hhc8hmsq.js} +58 -58
  167. package/dist/chunks/{worktree-nhy5jxhy.js → file-mutation-hjt4xg1x.js} +4 -4
  168. package/dist/chunks/{worktree-8mvsftc3.js → file-mutation-hnz0zg2g.js} +16 -16
  169. package/dist/chunks/{worktree-emzfq4f9.js → file-mutation-hxmjvm96.js} +44 -44
  170. package/dist/chunks/{worktree-18bdr5q6.js → file-mutation-hyt7xt3b.js} +32 -32
  171. package/dist/chunks/{worktree-1cgg357y.js → file-mutation-j2kgjx3g.js} +5 -5
  172. package/dist/chunks/{worktree-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  173. package/dist/chunks/file-mutation-j71snt67.js +22 -0
  174. package/dist/chunks/{worktree-4zbdsexc.js → file-mutation-j7rdq0sg.js} +6 -6
  175. package/dist/chunks/{worktree-paphc93g.js → file-mutation-j935v87r.js} +2 -2
  176. package/dist/chunks/{worktree-d57x1pyx.js → file-mutation-jbpw8vb5.js} +7 -7
  177. package/dist/chunks/{worktree-120qrk2e.js → file-mutation-jps1ny4p.js} +46 -46
  178. package/dist/chunks/{worktree-4vfmzcq2.js → file-mutation-jw70sp16.js} +4 -4
  179. package/dist/chunks/{worktree-y71avatq.js → file-mutation-jwcy2c2z.js} +4 -4
  180. package/dist/chunks/{worktree-x1xcpfha.js → file-mutation-jxhw35st.js} +16 -16
  181. package/dist/chunks/{worktree-jgrg7y22.js → file-mutation-ka2e7rey.js} +22 -22
  182. package/dist/chunks/{worktree-adeb4z1j.js → file-mutation-kf6yd70a.js} +9 -9
  183. package/dist/chunks/{worktree-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
  184. package/dist/chunks/{worktree-jjc9qbmx.js → file-mutation-kj8eeftq.js} +18 -18
  185. package/dist/chunks/{worktree-rfnzy394.js → file-mutation-kjcr15p7.js} +1 -1
  186. package/dist/chunks/{worktree-rqsgeg7f.js → file-mutation-ks65mm2v.js} +21 -21
  187. package/dist/chunks/{worktree-11zk2b76.js → file-mutation-kx5d5bhr.js} +15 -15
  188. package/dist/chunks/{worktree-44gvr517.js → file-mutation-m0jtk5b3.js} +28 -28
  189. package/dist/chunks/{worktree-n1s6t8b2.js → file-mutation-m1yhe7vf.js} +9 -9
  190. package/dist/chunks/{worktree-yfjv9t1g.js → file-mutation-m3w486dh.js} +4 -4
  191. package/dist/chunks/{worktree-qwyrfpbr.js → file-mutation-m5shh40j.js} +2 -2
  192. package/dist/chunks/{worktree-85x45c9n.js → file-mutation-m9q90vtq.js} +9 -9
  193. package/dist/chunks/{worktree-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{worktree-410w4w39.js → file-mutation-mbfhs0cg.js} +32 -32
  195. package/dist/chunks/{worktree-zjhmce52.js → file-mutation-mgaz471z.js} +1 -1
  196. package/dist/chunks/{worktree-mkcjrzeh.js → file-mutation-mkcjrzeh.js} +1 -1
  197. package/dist/chunks/{worktree-p0cja4mf.js → file-mutation-mrw4weg4.js} +5 -5
  198. package/dist/chunks/{worktree-j0y65r11.js → file-mutation-mv0zd19e.js} +6 -6
  199. package/dist/chunks/{worktree-a8mtf1n7.js → file-mutation-n0hfs6vw.js} +24 -24
  200. package/dist/chunks/{worktree-mj1ykd8q.js → file-mutation-n763yaxc.js} +8 -8
  201. package/dist/chunks/{worktree-047x8f8f.js → file-mutation-n7gchs3r.js} +44 -44
  202. package/dist/chunks/{worktree-seak0fhn.js → file-mutation-nchh3q1h.js} +17 -17
  203. package/dist/chunks/{worktree-v5yv7hbv.js → file-mutation-nsfhb685.js} +29 -29
  204. package/dist/chunks/{worktree-c3w8vk9m.js → file-mutation-nvbnysz2.js} +12 -12
  205. package/dist/chunks/{worktree-say7pt71.js → file-mutation-nw1kez4j.js} +39 -39
  206. package/dist/chunks/{worktree-6pxb6e41.js → file-mutation-p4rfye9r.js} +16 -16
  207. package/dist/chunks/{worktree-wad31dta.js → file-mutation-p5c89f54.js} +6 -6
  208. package/dist/chunks/{worktree-sw2yvvap.js → file-mutation-pgg8zxmg.js} +18 -18
  209. package/dist/chunks/{worktree-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{worktree-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  211. package/dist/chunks/{worktree-a4r18kjz.js → file-mutation-pq4st5kv.js} +2 -2
  212. package/dist/chunks/{worktree-ecj1wrg9.js → file-mutation-pqeratpj.js} +11 -11
  213. package/dist/chunks/{worktree-5k6pxcn0.js → file-mutation-pqhj6ddm.js} +43 -43
  214. package/dist/chunks/{worktree-g0he3e83.js → file-mutation-prg0vcqa.js} +30 -30
  215. package/dist/chunks/{worktree-nze8c8vz.js → file-mutation-ptrg1k2p.js} +11 -11
  216. package/dist/chunks/{worktree-pcpv7kp0.js → file-mutation-pvfgf3c8.js} +22 -22
  217. package/dist/chunks/{worktree-tjsj89dc.js → file-mutation-py90b8jm.js} +9 -9
  218. package/dist/chunks/{worktree-wg42tg3h.js → file-mutation-q1a91n7k.js} +6 -6
  219. package/dist/chunks/{worktree-q18k77y0.js → file-mutation-q7eqe2cf.js} +28 -28
  220. package/dist/chunks/file-mutation-qdyb70sk.js +18 -0
  221. package/dist/chunks/{worktree-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  222. package/dist/chunks/{worktree-jvt1mp6m.js → file-mutation-qwqr3n23.js} +7 -7
  223. package/dist/chunks/{worktree-t3vqhd9s.js → file-mutation-qz2vwnt8.js} +7 -7
  224. package/dist/chunks/{worktree-m63snmdm.js → file-mutation-r365bz61.js} +19 -19
  225. package/dist/chunks/{worktree-146a62k1.js → file-mutation-rcwb6wwf.js} +48 -48
  226. package/dist/chunks/{worktree-m6vfy410.js → file-mutation-rk2ahbr8.js} +21 -21
  227. package/dist/chunks/{worktree-8qnjnss5.js → file-mutation-rqg3gf8y.js} +10 -10
  228. package/dist/chunks/{worktree-a9ab9jmj.js → file-mutation-rs226bz6.js} +5 -5
  229. package/dist/chunks/{worktree-26tj7vag.js → file-mutation-rsqw0z3c.js} +6 -6
  230. package/dist/chunks/{worktree-cnd7bjr1.js → file-mutation-rt3pmekg.js} +35 -35
  231. package/dist/chunks/{worktree-k65ezx0v.js → file-mutation-rt6kd21k.js} +15 -15
  232. package/dist/chunks/{worktree-7c3npc5w.js → file-mutation-rvv37x7m.js} +49 -49
  233. package/dist/chunks/{worktree-hcaepy0h.js → file-mutation-ryfyd5fe.js} +7 -7
  234. package/dist/chunks/{worktree-5g57spxg.js → file-mutation-s2dewncd.js} +18 -18
  235. package/dist/chunks/{worktree-yrznvahk.js → file-mutation-s4enseaf.js} +2 -2
  236. package/dist/chunks/{worktree-8t34d1ka.js → file-mutation-s5zy3det.js} +11 -11
  237. package/dist/chunks/{worktree-f41x9hg9.js → file-mutation-s9abe6v6.js} +21 -21
  238. package/dist/chunks/{worktree-vece14gy.js → file-mutation-sd8x8c65.js} +21 -21
  239. package/dist/chunks/{worktree-c5gn303e.js → file-mutation-shh6fz4q.js} +4 -4
  240. package/dist/chunks/{worktree-mfxgaa47.js → file-mutation-t171jc14.js} +10 -10
  241. package/dist/chunks/{worktree-nqyaavw9.js → file-mutation-t4pq13ck.js} +10 -10
  242. package/dist/chunks/{worktree-g190xswt.js → file-mutation-t51qk8jz.js} +21 -21
  243. package/dist/chunks/{worktree-6rrtkcjf.js → file-mutation-t599r0en.js} +11 -11
  244. package/dist/chunks/{worktree-dmvhv66c.js → file-mutation-t8ksxzma.js} +23 -23
  245. package/dist/chunks/{worktree-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  246. package/dist/chunks/{worktree-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
  247. package/dist/chunks/{worktree-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  248. package/dist/chunks/{worktree-wpdyyhk3.js → file-mutation-tjxznqzk.js} +11 -11
  249. package/dist/chunks/{worktree-5ycqwtsz.js → file-mutation-ttr98dqn.js} +28 -28
  250. package/dist/chunks/{worktree-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
  251. package/dist/chunks/{worktree-j5j8hrgx.js → file-mutation-tw7brqvw.js} +23 -23
  252. package/dist/chunks/{worktree-y5h7afh3.js → file-mutation-tz7np2q7.js} +17 -17
  253. package/dist/chunks/{worktree-8qk9tw02.js → file-mutation-vabb23s0.js} +1 -1
  254. package/dist/chunks/{worktree-r98e92ep.js → file-mutation-ve4pfa0n.js} +4 -4
  255. package/dist/chunks/{worktree-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  256. package/dist/chunks/{worktree-d6hfhc31.js → file-mutation-vhqk6wt7.js} +11 -11
  257. package/dist/chunks/{worktree-gnx4ytbv.js → file-mutation-vkxpz7g2.js} +4 -4
  258. package/dist/chunks/{worktree-skcgd3vv.js → file-mutation-vwntjgrk.js} +13 -13
  259. package/dist/chunks/{worktree-asseqh46.js → file-mutation-vxg24fff.js} +7 -7
  260. package/dist/chunks/{worktree-t9e6e84n.js → file-mutation-vypqtakx.js} +1 -1
  261. package/dist/chunks/{worktree-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  262. package/dist/chunks/{worktree-vkez6a4k.js → file-mutation-vzm76b3t.js} +6 -6
  263. package/dist/chunks/{worktree-k7d0894y.js → file-mutation-w21xwbmq.js} +9 -9
  264. package/dist/chunks/{worktree-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  265. package/dist/chunks/{worktree-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  266. package/dist/chunks/{worktree-neswnnnm.js → file-mutation-wdnn29qe.js} +6 -6
  267. package/dist/chunks/{worktree-f8jtvgnz.js → file-mutation-whqd4cg2.js} +14 -14
  268. package/dist/chunks/{worktree-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{worktree-x43y2vfs.js → file-mutation-x43y2vfs.js} +2 -2
  270. package/dist/chunks/{worktree-rxv654xr.js → file-mutation-xryrtgfh.js} +4 -4
  271. package/dist/chunks/{worktree-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{worktree-1e9w7pgh.js → file-mutation-y2vrj84a.js} +9 -9
  273. package/dist/chunks/{worktree-b1x7x3xx.js → file-mutation-y62rmnsx.js} +11 -11
  274. package/dist/chunks/{worktree-edbbhmy9.js → file-mutation-y6xnddjk.js} +4 -4
  275. package/dist/chunks/{worktree-7rtqyxd7.js → file-mutation-y9dm3m96.js} +5 -5
  276. package/dist/chunks/{worktree-2y34zzjz.js → file-mutation-ym15bmrz.js} +7 -7
  277. package/dist/chunks/{worktree-yp2x3t23.js → file-mutation-yp2x3t23.js} +1 -1
  278. package/dist/chunks/{worktree-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{worktree-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{worktree-hed2586q.js → file-mutation-z7k8rsga.js} +16 -16
  281. package/dist/chunks/{worktree-r82b328h.js → file-mutation-ze2evx92.js} +44 -44
  282. package/dist/chunks/{worktree-kvezfmw3.js → file-mutation-zedst77g.js} +35 -35
  283. package/dist/chunks/{worktree-zeh9ct20.js → file-mutation-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{worktree-nkn58an9.js → file-mutation-zhsgacjb.js} +8 -8
  285. package/dist/chunks/{worktree-10fngwpd.js → file-mutation-zqgpk263.js} +24 -24
  286. package/dist/chunks/{worktree-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{worktree-nzwzy72p.js → file-mutation-zt5c7qyf.js} +9 -9
  288. package/dist/chunks/{worktree-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +113 -113
  313. package/dist/config/plugin/tool-output.js +115 -115
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +70 -70
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +89 -89
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +90 -90
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +89 -89
  429. package/dist/git.js +5 -5
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -352
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +130 -130
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +78 -78
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +101 -101
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +110 -110
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -156
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +342 -342
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +224 -224
  552. package/dist/project/schema.js +4 -4
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +77 -77
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +94 -94
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +84 -84
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +91 -91
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +125 -125
  570. package/dist/session/context.js +145 -145
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +213 -213
  575. package/dist/session/execution.js +120 -120
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +84 -84
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +75 -75
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +111 -111
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +1 -1
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +82 -82
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +121 -121
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +83 -83
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +151 -151
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +207 -207
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +100 -100
  623. package/dist/skill.js +107 -107
  624. package/dist/snapshot.js +88 -88
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +119 -119
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +96 -96
  636. package/dist/tool/plugin/read.js +115 -115
  637. package/dist/tool/plugin/shell.js +212 -212
  638. package/dist/tool/plugin/skill.js +106 -106
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +103 -103
  641. package/dist/tool/plugin/websearch.js +109 -109
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +3 -3
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +80 -80
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +4 -4
  681. package/dist/worktree/git.js +7 -7
  682. package/dist/worktree/refresh.js +341 -341
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +91 -91
  685. package/package.json +8 -8
  686. package/dist/chunks/worktree-0mesazry.js +0 -4
  687. package/dist/chunks/worktree-1x11rq2a.js +0 -18
  688. package/dist/chunks/worktree-3q1qkym4.js +0 -247
  689. package/dist/chunks/worktree-5jbb3qyd.js +0 -22
  690. /package/dist/chunks/{worktree-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{worktree-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{worktree-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{worktree-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{worktree-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{worktree-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{worktree-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{worktree-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{worktree-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{worktree-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  700. /package/dist/chunks/{worktree-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{worktree-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{worktree-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{worktree-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{worktree-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{worktree-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{worktree-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  707. /package/dist/chunks/{worktree-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{worktree-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  709. /package/dist/chunks/{worktree-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{worktree-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{worktree-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  712. /package/dist/chunks/{worktree-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{worktree-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{worktree-922hggd3.js → file-mutation-922hggd3.js} +0 -0
  715. /package/dist/chunks/{worktree-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{worktree-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{worktree-a1tpkmh4.js → file-mutation-a1tpkmh4.js} +0 -0
  718. /package/dist/chunks/{worktree-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{worktree-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{worktree-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{worktree-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{worktree-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{worktree-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{worktree-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{worktree-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{worktree-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{worktree-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{worktree-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{worktree-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{worktree-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{worktree-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  732. /package/dist/chunks/{worktree-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{worktree-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{worktree-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{worktree-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{worktree-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{worktree-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{worktree-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{worktree-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{worktree-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{worktree-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{worktree-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{worktree-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{worktree-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  745. /package/dist/chunks/{worktree-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{worktree-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  747. /package/dist/chunks/{worktree-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{worktree-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  749. /package/dist/chunks/{worktree-hrnqkpcd.js → file-mutation-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{worktree-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{worktree-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{worktree-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{worktree-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{worktree-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{worktree-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{worktree-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{worktree-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{worktree-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{worktree-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{worktree-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{worktree-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{worktree-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{worktree-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{worktree-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{worktree-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{worktree-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{worktree-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{worktree-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{worktree-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{worktree-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{worktree-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{worktree-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{worktree-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{worktree-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{worktree-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  776. /package/dist/chunks/{worktree-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{worktree-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{worktree-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  779. /package/dist/chunks/{worktree-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  780. /package/dist/chunks/{worktree-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./worktree-vrm5r67w.js";
2
+ Service78,
3
+ node82
4
+ } from "./file-mutation-c1k9yc14.js";
5
5
  import {
6
- Key3,
7
- Service66,
6
+ Key4,
7
+ Service68,
8
8
  node71
9
- } from "./worktree-0tg2xvbt.js";
9
+ } from "./file-mutation-6hb1nw02.js";
10
10
  import {
11
11
  create3
12
- } from "./worktree-kg06axw8.js";
12
+ } from "./file-mutation-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./worktree-rjbw5qw4.js";
16
+ } from "./file-mutation-g2emr326.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./file-mutation-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event14,
34
- ID: () => ID8,
35
- Info: () => Info22,
33
+ Event: () => Event11,
34
+ ID: () => ID6,
35
+ Info: () => Info10,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
41
  Ref: () => Ref2,
42
- Service: () => Service64,
43
- node: () => node69
42
+ Service: () => Service49,
43
+ node: () => node52
44
44
  });
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode/schema/integration";
62
62
  import { AppProcess } from "@opencode/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event14 } from "@opencode/schema/integration";
65
- var ID8 = Integration.ID;
64
+ import { Event as Event11 } from "@opencode/schema/integration";
65
+ var ID6 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info22 = Integration.Info;
73
+ var Info10 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
87
87
  }
88
88
  var Ref2 = Integration.Ref;
89
89
 
90
- class Service64 extends Context.Service()("@opencode/Integration") {
90
+ class Service49 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service64, Effect.gen(function* () {
96
- const credentials = yield* Service66;
97
- const bus = yield* Service79;
95
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
96
+ const credentials = yield* Service68;
97
+ const bus = yield* Service78;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
100
100
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info22.make({
190
+ const project = (entry, connections) => Info10.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
271
271
  const persistence = yield* createCredential({
272
272
  integrationID: attempt.integrationID,
273
273
  label: attempt.label,
274
- value: Key3.make({ type: "key", key: exit.value })
274
+ value: Key4.make({ type: "key", key: exit.value })
275
275
  }).pipe(Effect.asVoid, Effect.exit);
276
276
  const settledAt = yield* Clock.currentTimeMillis;
277
277
  const terminal = Exit.isSuccess(persistence) ? {
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service64.of({
420
+ return Service49.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
438
438
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
439
439
  if (connection.type === "env") {
440
440
  const key = process.env[connection.name];
441
- return key ? Key3.make({ type: "key", key }) : undefined;
441
+ return key ? Key4.make({ type: "key", key }) : undefined;
442
442
  }
443
443
  const credential = yield* credentials.get(connection.id);
444
444
  if (!credential)
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
471
471
  yield* createCredential({
472
472
  integrationID: input.integrationID,
473
473
  label: input.label,
474
- value: Key3.make({
474
+ value: Key4.make({
475
475
  type: "key",
476
476
  key: input.key,
477
477
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node69 = makeLocationNode({
569
- service: Service64,
568
+ var node52 = makeLocationNode({
569
+ service: Service49,
570
570
  layer,
571
- deps: [node71, node84, AppProcess.node]
571
+ deps: [node71, node82, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID8, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service64, node69, exports_integration, Event14 };
574
+ export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info10, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service49, node52, exports_integration, Event11 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service54
3
- } from "./worktree-r82b328h.js";
2
+ Service65
3
+ } from "./file-mutation-ze2evx92.js";
4
4
  import {
5
- Service68
6
- } from "./worktree-nzwzy72p.js";
5
+ Service37
6
+ } from "./file-mutation-zt5c7qyf.js";
7
7
  import {
8
8
  observe2
9
- } from "./worktree-qsdy395h.js";
9
+ } from "./file-mutation-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./worktree-9rqn6x4v.js";
12
+ } from "./file-mutation-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin27
18
+ Plugin: () => Plugin17
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin27 = define({
22
+ var Plugin17 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service54;
26
- const image = yield* Service68;
25
+ const config = yield* Service65;
26
+ const image = yield* Service37;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin27 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin27, exports_image };
46
+ export { Plugin17, exports_image };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service55,
3
- node59
4
- } from "./worktree-ccrec4q8.js";
2
+ Service66,
3
+ node69
4
+ } from "./file-mutation-55fsb9kg.js";
5
5
  import {
6
- Service74,
6
+ Service75,
7
7
  node79
8
- } from "./worktree-z82wee6n.js";
8
+ } from "./file-mutation-93qrahcj.js";
9
9
  import {
10
- Service54,
11
- node58
12
- } from "./worktree-r82b328h.js";
10
+ Service65,
11
+ node68
12
+ } from "./file-mutation-ze2evx92.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./worktree-zxq2ej10.js";
16
+ } from "./file-mutation-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./worktree-9rqn6x4v.js";
19
+ } from "./file-mutation-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: () => Service5,
26
26
  empty: () => empty2,
27
27
  layer: () => layer5,
28
28
  node: () => node7
@@ -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 Service5 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service54;
40
- const watcher = yield* Service55;
38
+ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
39
+ const config = yield* Service65;
40
+ const watcher = yield* Service66;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service74;
42
+ const location = yield* Service75;
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 Service5.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);
@@ -71,13 +71,13 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
71
71
  });
72
72
  }));
73
73
  var node7 = makeLocationNode({
74
- service: Service4,
74
+ service: Service5,
75
75
  layer: layer5,
76
- deps: [node58, FSUtil.node, node59, node79]
76
+ deps: [node68, FSUtil.node, node69, node79]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service4,
80
- layer: Layer.succeed(Service4, Service4.of({
79
+ service: Service5,
80
+ layer: Layer.succeed(Service5, Service5.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, node7, empty2, exports_source };
140
+ export { Service5, layer5, node7, empty2, exports_source };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./worktree-y71avatq.js";
3
+ } from "./file-mutation-jwcy2c2z.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service11,
13
- node: () => node14
12
+ Service: () => Service2,
13
+ node: () => node4
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service11 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service2 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service11, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service11.of({
27
+ return Service2.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node14 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
52
+ var node4 = makeGlobalNode({ service: Service2, layer, deps: [Npm.node] });
53
53
 
54
- export { Service11, node14, exports_update };
54
+ export { Service2, node4, exports_update };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./worktree-nhy5jxhy.js";
3
+ } from "./file-mutation-hjt4xg1x.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -12,7 +12,7 @@ __export(exports_optimize, {
12
12
  ArceePlugin: () => ArceePlugin2,
13
13
  KimiPlugin: () => KimiPlugin2,
14
14
  MetaPlugin: () => MetaPlugin2,
15
- OpenAIPlugin: () => OpenAIPlugin3,
15
+ OpenAIPlugin: () => OpenAIPlugin2,
16
16
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
17
17
  OptimizePlugin: () => exports_optimize,
18
18
  Plugins: () => Plugins2
@@ -372,7 +372,7 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
372
372
  `;
373
373
 
374
374
  // src/plugin/optimize.ts
375
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
375
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
376
376
  const id = model.id.toLowerCase();
377
377
  if (!id.includes("gpt"))
378
378
  return;
@@ -401,7 +401,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
401
401
  return;
402
402
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
403
403
  });
404
- var Plugins2 = [OpenAIPlugin3, KimiPlugin2, ArceePlugin2, MetaPlugin2];
404
+ var Plugins2 = [OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
405
405
  function make(id, optimize) {
406
406
  return define({
407
407
  id,
@@ -422,4 +422,4 @@ function make(id, optimize) {
422
422
  });
423
423
  }
424
424
 
425
- export { OpenAIPlugin3, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
425
+ export { OpenAIPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service80,
3
- node85
4
- } from "./worktree-ecj1wrg9.js";
3
+ node84
4
+ } from "./file-mutation-pqeratpj.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service79,
8
- node84
9
- } from "./worktree-vrm5r67w.js";
7
+ Service78,
8
+ node82
9
+ } from "./file-mutation-c1k9yc14.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./worktree-5t3nmthw.js";
12
+ } from "./file-mutation-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./worktree-ec1grn59.js";
15
+ } from "./file-mutation-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./worktree-wpdyyhk3.js";
18
+ } from "./file-mutation-tjxznqzk.js";
19
19
  import {
20
- Service72,
21
- node77
22
- } from "./worktree-3bgy0jaw.js";
20
+ Service54,
21
+ node57
22
+ } from "./file-mutation-bmgez2f1.js";
23
23
  import {
24
24
  Service19,
25
- node24
26
- } from "./worktree-0k40b2vq.js";
25
+ node22
26
+ } from "./file-mutation-80738sq9.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./worktree-tdstcens.js";
30
+ } from "./file-mutation-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./worktree-9rqn6x4v.js";
33
+ } from "./file-mutation-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service3,
38
+ Service: () => Service10,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node4
41
+ layer: () => layer7,
42
+ node: () => node13
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service3 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service10 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
- const bus = yield* Service79;
61
+ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
62
+ const bus = yield* Service78;
63
63
  const llm = yield* LLMClient.Service;
64
64
  const context = yield* Service19;
65
- const store = yield* Service72;
65
+ const store = yield* Service54;
66
66
  const db = (yield* Service80).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service3.of({ generate });
148
+ return Service10.of({ generate });
149
149
  }));
150
- var node4 = makeLocationNode({
151
- service: Service3,
152
- layer: layer3,
153
- deps: [node84, llmClient2, node24, node77, node85]
150
+ var node13 = makeLocationNode({
151
+ service: Service10,
152
+ layer: layer7,
153
+ deps: [node82, llmClient2, node22, node57, node84]
154
154
  });
155
155
 
156
- export { Service3, isUntitled2, layer3, node4, exports_title };
156
+ export { Service10, isUntitled2, layer7, node13, exports_title };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./file-mutation-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service18,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service18 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service18.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service18, awaitActivation2, exports_service };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service54
4
- } from "./worktree-r82b328h.js";
3
+ Service65
4
+ } from "./file-mutation-ze2evx92.js";
5
5
  import {
6
6
  __export
7
- } from "./worktree-9rqn6x4v.js";
7
+ } from "./file-mutation-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin43,
12
+ Plugin: () => Plugin11,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin43 = define({
22
+ var Plugin11 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service54;
25
+ const config = yield* Service65;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -90,4 +90,4 @@ var Plugin43 = define({
90
90
  })
91
91
  });
92
92
 
93
- export { Plugin43, exports_warming };
93
+ export { Plugin11, exports_warming };
@@ -3,15 +3,15 @@ import {
3
3
  UnsupportedPackageError3,
4
4
  UnresolvedProviderVariablesError3,
5
5
  UnsupportedCompactionError3,
6
- Service61,
7
- node66
8
- } from "./worktree-zf4nb4wp.js";
6
+ Service47,
7
+ node50
8
+ } from "./file-mutation-38q3t4w4.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./worktree-2f04pwep.js";
11
+ } from "./file-mutation-bwshncvd.js";
12
12
  import {
13
13
  __export
14
- } from "./worktree-9rqn6x4v.js";
14
+ } from "./file-mutation-9rqn6x4v.js";
15
15
 
16
16
  // src/session/runner/model.ts
17
17
  var exports_model = {};
@@ -66,7 +66,7 @@ var resolved2 = (model, options) => ({
66
66
  compaction: options.compaction
67
67
  });
68
68
  var layer = Layer.effect(Service36, Effect.gen(function* () {
69
- const resolver = yield* Service61;
69
+ const resolver = yield* Service47;
70
70
  return Service36.of({
71
71
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
72
72
  if (!session.model) {
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node39 = makeLocationNode({ service: Service36, layer, deps: [node66] });
88
+ var node39 = makeLocationNode({ service: Service36, layer, deps: [node50] });
89
89
 
90
90
  export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service36, resolved2, node39, exports_model };