@opencode/core 0.0.0-dev-21368 → 0.0.0-dev-21382

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 +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{schema-4a32pvx7.js → file-mutation-083bb7kr.js} +1 -1
  8. package/dist/chunks/{schema-48kw51zw.js → file-mutation-08rawchj.js} +3 -3
  9. package/dist/chunks/{schema-4teq5az6.js → file-mutation-0eymxkpr.js} +51 -51
  10. package/dist/chunks/{schema-yx0rmv9r.js → file-mutation-0fn2v7vk.js} +6 -6
  11. package/dist/chunks/{schema-vag86jwj.js → file-mutation-0nqg4kny.js} +9 -9
  12. package/dist/chunks/{schema-84kr3hab.js → file-mutation-0r2cw8fn.js} +8 -8
  13. package/dist/chunks/{schema-wg91gmf4.js → file-mutation-0ryx4cv5.js} +36 -36
  14. package/dist/chunks/{schema-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{schema-d75x1326.js → file-mutation-0xz2mzgc.js} +26 -26
  16. package/dist/chunks/{schema-bzeyqsqd.js → file-mutation-1ep4rre3.js} +4 -4
  17. package/dist/chunks/{schema-9hhtrjbb.js → file-mutation-1f7m535t.js} +12 -12
  18. package/dist/chunks/{schema-j73na0aw.js → file-mutation-1rabqv72.js} +18 -18
  19. package/dist/chunks/{schema-1rmqtx3n.js → file-mutation-1rmqtx3n.js} +3 -3
  20. package/dist/chunks/{schema-74mhpw3w.js → file-mutation-21xx9xc6.js} +17 -17
  21. package/dist/chunks/{schema-mvg2napp.js → file-mutation-27p00kw8.js} +22 -22
  22. package/dist/chunks/{schema-e4771dax.js → file-mutation-2ccjc77m.js} +14 -14
  23. package/dist/chunks/{schema-42kfqa6a.js → file-mutation-2f26zb5h.js} +32 -32
  24. package/dist/chunks/file-mutation-2g1qnqk3.js +257 -0
  25. package/dist/chunks/{schema-7dqw4kz8.js → file-mutation-2k8khapm.js} +5 -5
  26. package/dist/chunks/{schema-47jkzegy.js → file-mutation-2k9fjx65.js} +5 -5
  27. package/dist/chunks/{schema-zdtbn3v6.js → file-mutation-2kjrre30.js} +20 -20
  28. package/dist/chunks/{schema-phse5vhf.js → file-mutation-2nb55xn8.js} +26 -26
  29. package/dist/chunks/{schema-xgmhetns.js → file-mutation-3179ttex.js} +14 -14
  30. package/dist/chunks/{schema-wcp8qb9k.js → file-mutation-322qbvpa.js} +18 -18
  31. package/dist/chunks/{schema-hp36aydz.js → file-mutation-3e2gnrvk.js} +24 -24
  32. package/dist/chunks/{schema-pcb8yjd0.js → file-mutation-3hefbbgh.js} +7 -7
  33. package/dist/chunks/{schema-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{schema-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{schema-3cn8netw.js → file-mutation-3k72abas.js} +19 -19
  36. package/dist/chunks/{schema-zsep494j.js → file-mutation-3p8nb07v.js} +5 -5
  37. package/dist/chunks/{schema-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{schema-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{schema-ahdc3t4z.js → file-mutation-3xymvwyv.js} +8 -8
  40. package/dist/chunks/{schema-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{schema-ke8th4a0.js → file-mutation-49ma6pwq.js} +13 -13
  42. package/dist/chunks/{schema-1skh4z6z.js → file-mutation-4b4em5d4.js} +31 -31
  43. package/dist/chunks/{schema-1bs8104e.js → file-mutation-4f5ezzxr.js} +8 -8
  44. package/dist/chunks/{schema-jm1wa9nf.js → file-mutation-4fm3tq8e.js} +20 -20
  45. package/dist/chunks/{schema-c8bydgjz.js → file-mutation-4mwpykj0.js} +6 -6
  46. package/dist/chunks/{schema-1knv165j.js → file-mutation-4xfddg59.js} +26 -26
  47. package/dist/chunks/{schema-1ffg5m5z.js → file-mutation-4yb17086.js} +45 -45
  48. package/dist/chunks/{schema-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
  49. package/dist/chunks/{schema-7pest08f.js → file-mutation-56byzq03.js} +9 -9
  50. package/dist/chunks/{schema-rkpm4y6y.js → file-mutation-59b3s74c.js} +11 -11
  51. package/dist/chunks/{schema-sqmzwr9m.js → file-mutation-5e1pzs32.js} +9 -9
  52. package/dist/chunks/{schema-bnn3p74r.js → file-mutation-5e2h11rs.js} +4 -4
  53. package/dist/chunks/{schema-5g57z1ma.js → file-mutation-5g57z1ma.js} +1 -1
  54. package/dist/chunks/{schema-a110k9h9.js → file-mutation-5g9pfety.js} +21 -21
  55. package/dist/chunks/{schema-v4b1xa27.js → file-mutation-5gxex9x8.js} +11 -11
  56. package/dist/chunks/{schema-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{schema-yr7e010d.js → file-mutation-5q7ksgvn.js} +10 -10
  58. package/dist/chunks/{schema-nqcscwec.js → file-mutation-5tew088c.js} +13 -13
  59. package/dist/chunks/{schema-6fkw3p3r.js → file-mutation-5tnh3egr.js} +4 -4
  60. package/dist/chunks/{schema-kp7tszm4.js → file-mutation-5xa5t8mt.js} +20 -20
  61. package/dist/chunks/{schema-ccz6qt78.js → file-mutation-5yc3gv1m.js} +13 -13
  62. package/dist/chunks/{schema-g754c8fk.js → file-mutation-5zbwkh3w.js} +6 -6
  63. package/dist/chunks/{schema-fw9jjgyr.js → file-mutation-6614sc7r.js} +19 -19
  64. package/dist/chunks/{schema-6827pfxn.js → file-mutation-6827pfxn.js} +1 -1
  65. package/dist/chunks/{schema-j05q090x.js → file-mutation-6gbkbwjk.js} +20 -20
  66. package/dist/chunks/{schema-2yjh3x6q.js → file-mutation-6k294dg0.js} +15 -15
  67. package/dist/chunks/{schema-4j8ys442.js → file-mutation-6p9h6rqd.js} +92 -92
  68. package/dist/chunks/{schema-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{schema-qa1bwf9y.js → file-mutation-70ake3ft.js} +17 -17
  70. package/dist/chunks/{schema-j6ktnsbj.js → file-mutation-72vb8ye8.js} +12 -12
  71. package/dist/chunks/{schema-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
  72. package/dist/chunks/{schema-qhfwh6dg.js → file-mutation-7bm0e0dp.js} +34 -34
  73. package/dist/chunks/{schema-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  74. package/dist/chunks/file-mutation-7fj5dwt0.js +18 -0
  75. package/dist/chunks/{schema-92zywa0s.js → file-mutation-7k4yx5jm.js} +11 -11
  76. package/dist/chunks/{schema-s15d9z4p.js → file-mutation-7q1btr1k.js} +27 -27
  77. package/dist/chunks/{schema-v20v5pjv.js → file-mutation-7rakk0e1.js} +33 -33
  78. package/dist/chunks/{schema-rhrxssrh.js → file-mutation-7tppg67e.js} +9 -9
  79. package/dist/chunks/{schema-84txncab.js → file-mutation-84txncab.js} +1 -1
  80. package/dist/chunks/{schema-p1p7f544.js → file-mutation-882c6a2f.js} +24 -24
  81. package/dist/chunks/{schema-rtka9wvf.js → file-mutation-89a6x4zk.js} +20 -20
  82. package/dist/chunks/{schema-3rtxz4nr.js → file-mutation-8aaqm6qj.js} +8 -8
  83. package/dist/chunks/{schema-pwjp0qa3.js → file-mutation-8b58bdns.js} +35 -35
  84. package/dist/chunks/{schema-dhsdmd8f.js → file-mutation-8f461wgz.js} +34 -34
  85. package/dist/chunks/{schema-bzwj8dcr.js → file-mutation-8g01qe2v.js} +29 -29
  86. package/dist/chunks/{schema-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{schema-yr2aghkb.js → file-mutation-8m71mjfm.js} +5 -5
  88. package/dist/chunks/{schema-8mywswrd.js → file-mutation-8mywswrd.js} +1 -1
  89. package/dist/chunks/{schema-bbcbabsp.js → file-mutation-8rddq889.js} +21 -21
  90. package/dist/chunks/{schema-w1ej9fkt.js → file-mutation-8sq4gyz7.js} +7 -7
  91. package/dist/chunks/{schema-6pc27hjz.js → file-mutation-8sze2n9a.js} +2 -2
  92. package/dist/chunks/{schema-z9c610pw.js → file-mutation-8xxydye1.js} +13 -13
  93. package/dist/chunks/{schema-30846h32.js → file-mutation-92swnv4m.js} +8 -8
  94. package/dist/chunks/{schema-d8j0mxkc.js → file-mutation-92waa1rm.js} +7 -7
  95. package/dist/chunks/{schema-rw5jw54j.js → file-mutation-94apha83.js} +8 -8
  96. package/dist/chunks/{schema-at94sxth.js → file-mutation-94kdqvgb.js} +9 -9
  97. package/dist/chunks/{schema-2ae0q92z.js → file-mutation-967benbv.js} +11 -11
  98. package/dist/chunks/{schema-scvzwabm.js → file-mutation-9mnf2aaj.js} +11 -11
  99. package/dist/chunks/{schema-qx53j35n.js → file-mutation-9q2hdfp3.js} +24 -24
  100. package/dist/chunks/{schema-87n3rrnw.js → file-mutation-9qkvvyqp.js} +32 -32
  101. package/dist/chunks/{schema-f4g83bm7.js → file-mutation-9vkqjddw.js} +11 -11
  102. package/dist/chunks/{schema-ek59gnbm.js → file-mutation-9wqkfqmh.js} +70 -70
  103. package/dist/chunks/{schema-a20pjse5.js → file-mutation-a20pjse5.js} +3 -3
  104. package/dist/chunks/{schema-9nexcd99.js → file-mutation-a6gf0ppz.js} +3 -3
  105. package/dist/chunks/{schema-3gasgs0k.js → file-mutation-a9km70y1.js} +5 -5
  106. package/dist/chunks/{schema-st4zt39s.js → file-mutation-ac5hykxd.js} +21 -21
  107. package/dist/chunks/{schema-mxvxcxwy.js → file-mutation-addxnjmp.js} +4 -4
  108. package/dist/chunks/{schema-qt44r66w.js → file-mutation-anhf8h1n.js} +3 -3
  109. package/dist/chunks/{schema-z41ahr7v.js → file-mutation-av3f13xe.js} +11 -11
  110. package/dist/chunks/{schema-v5dkyp31.js → file-mutation-b27vhd2z.js} +4 -4
  111. package/dist/chunks/{schema-6fyhx42r.js → file-mutation-b4ragnr9.js} +23 -23
  112. package/dist/chunks/{schema-wp1sg2es.js → file-mutation-b6ag07rz.js} +4 -4
  113. package/dist/chunks/{schema-5t1axb3v.js → file-mutation-b8d7xm3m.js} +13 -13
  114. package/dist/chunks/{schema-44ak30pa.js → file-mutation-bgc5ggmx.js} +4 -4
  115. package/dist/chunks/{schema-tsftnbvm.js → file-mutation-brdz51fb.js} +8 -8
  116. package/dist/chunks/{schema-pv4s4nxr.js → file-mutation-bvefa49m.js} +18 -18
  117. package/dist/chunks/{schema-kwr2em0p.js → file-mutation-bwpes1j3.js} +22 -22
  118. package/dist/chunks/{schema-rqkmn7me.js → file-mutation-bz5hym84.js} +21 -21
  119. package/dist/chunks/{schema-c1fqxshp.js → file-mutation-c1fqxshp.js} +3 -3
  120. package/dist/chunks/{schema-d5t26v95.js → file-mutation-cafkpj5t.js} +22 -22
  121. package/dist/chunks/{schema-cefkz2r6.js → file-mutation-cefkz2r6.js} +4 -4
  122. package/dist/chunks/{schema-zzmpqpc3.js → file-mutation-cj2gcgr0.js} +10 -10
  123. package/dist/chunks/{schema-mccws065.js → file-mutation-cjj3vnjk.js} +2 -2
  124. package/dist/chunks/{schema-hz7aezfr.js → file-mutation-cmftrgtq.js} +33 -33
  125. package/dist/chunks/{schema-nwwgs0kh.js → file-mutation-cmkgjnh5.js} +10 -10
  126. package/dist/chunks/{schema-0dzgkxam.js → file-mutation-cpewaxbb.js} +36 -36
  127. package/dist/chunks/{schema-825jjjdc.js → file-mutation-ctkvxx28.js} +26 -26
  128. package/dist/chunks/{schema-2sejkfem.js → file-mutation-cwa6csj7.js} +9 -9
  129. package/dist/chunks/{schema-gwj3kssr.js → file-mutation-d06kvh6k.js} +54 -54
  130. package/dist/chunks/{schema-e9vvnvyx.js → file-mutation-d7q21r69.js} +9 -9
  131. package/dist/chunks/{schema-q6chj63a.js → file-mutation-d9a4qpg5.js} +32 -32
  132. package/dist/chunks/{schema-fzz4ftgm.js → file-mutation-dccm8yky.js} +14 -14
  133. package/dist/chunks/{schema-jxda656q.js → file-mutation-df9339xm.js} +13 -13
  134. package/dist/chunks/{schema-nf3p155y.js → file-mutation-dqj1zep9.js} +5 -5
  135. package/dist/chunks/{schema-5zscwwge.js → file-mutation-dr99d0ac.js} +3 -3
  136. package/dist/chunks/{schema-2bep3sk1.js → file-mutation-dtgy4jeb.js} +7 -7
  137. package/dist/chunks/{schema-gjkbr6zc.js → file-mutation-e27v7yqk.js} +13 -13
  138. package/dist/chunks/{schema-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
  139. package/dist/chunks/{schema-txyw6bh0.js → file-mutation-ea6pkrn3.js} +2 -2
  140. package/dist/chunks/{schema-r2z489rp.js → file-mutation-ed1g29hy.js} +3 -3
  141. package/dist/chunks/{schema-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
  142. package/dist/chunks/{schema-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{schema-6xkcg1y6.js → file-mutation-eftecqvh.js} +23 -23
  144. package/dist/chunks/{schema-kecqjjhm.js → file-mutation-eh6ej367.js} +5 -5
  145. package/dist/chunks/{schema-d0vc93hk.js → file-mutation-f0y10khq.js} +25 -25
  146. package/dist/chunks/{schema-htvezcsh.js → file-mutation-f8fzv2x1.js} +3 -3
  147. package/dist/chunks/{schema-5j21s5mr.js → file-mutation-fa4te4zq.js} +23 -23
  148. package/dist/chunks/{schema-rt2zj1s0.js → file-mutation-fcs05vrx.js} +24 -24
  149. package/dist/chunks/{schema-fcy631f0.js → file-mutation-fcy631f0.js} +1 -1
  150. package/dist/chunks/{schema-6pxm0met.js → file-mutation-g18yemqx.js} +45 -45
  151. package/dist/chunks/{schema-yhc4wv29.js → file-mutation-gc69w8x5.js} +50 -50
  152. package/dist/chunks/{schema-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{schema-4176b2yk.js → file-mutation-gdgy10dy.js} +32 -32
  154. package/dist/chunks/{schema-6kp05j0h.js → file-mutation-gk5p4syv.js} +18 -18
  155. package/dist/chunks/{schema-fyzv33qs.js → file-mutation-gkm6v4vd.js} +43 -43
  156. package/dist/chunks/{schema-4j4wwavy.js → file-mutation-gnhr360k.js} +14 -14
  157. package/dist/chunks/{schema-nysxgq6d.js → file-mutation-gqagkb1x.js} +11 -11
  158. package/dist/chunks/{schema-dzyrc88t.js → file-mutation-gtndzxs8.js} +6 -6
  159. package/dist/chunks/{schema-p4p2ts1j.js → file-mutation-h6mg8ssc.js} +11 -11
  160. package/dist/chunks/{schema-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{schema-fdms3n6w.js → file-mutation-h71w788e.js} +9 -9
  162. package/dist/chunks/{schema-8m22mfav.js → file-mutation-h7vxqxg2.js} +32 -32
  163. package/dist/chunks/{schema-v210v162.js → file-mutation-h8bq8y5a.js} +9 -9
  164. package/dist/chunks/{schema-tej7bjmy.js → file-mutation-hebc8qwk.js} +13 -13
  165. package/dist/chunks/{schema-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
  166. package/dist/chunks/{schema-h6cpwytq.js → file-mutation-hh1mvxn6.js} +55 -55
  167. package/dist/chunks/{schema-66fgvbn3.js → file-mutation-hry64yvt.js} +17 -17
  168. package/dist/chunks/{schema-arypdymn.js → file-mutation-hzm5xem3.js} +30 -30
  169. package/dist/chunks/{schema-q9cqhrsb.js → file-mutation-j228j2n8.js} +2 -2
  170. package/dist/chunks/{schema-j9w080ad.js → file-mutation-j8143y8a.js} +16 -16
  171. package/dist/chunks/{schema-w4q7m0eq.js → file-mutation-jh0cf3gy.js} +18 -18
  172. package/dist/chunks/{schema-xqj10vmz.js → file-mutation-jspydjgs.js} +9 -9
  173. package/dist/chunks/{schema-rvbf7bre.js → file-mutation-jws504fy.js} +15 -15
  174. package/dist/chunks/{schema-ycc3121e.js → file-mutation-k2r06wff.js} +4 -4
  175. package/dist/chunks/{schema-chsnhwb3.js → file-mutation-ke9g58qf.js} +13 -13
  176. package/dist/chunks/{schema-8ngzfdb0.js → file-mutation-kf0ydnx7.js} +15 -15
  177. package/dist/chunks/{schema-man2x1hw.js → file-mutation-khcab136.js} +21 -21
  178. package/dist/chunks/{schema-hq3c8me3.js → file-mutation-khmqacep.js} +4 -4
  179. package/dist/chunks/{schema-4xpgt2w9.js → file-mutation-kjdm35cs.js} +5 -5
  180. package/dist/chunks/{schema-81f7vt2z.js → file-mutation-kqv3x6rj.js} +9 -9
  181. package/dist/chunks/{schema-rp73s9pz.js → file-mutation-ktb21g4v.js} +15 -15
  182. package/dist/chunks/{schema-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
  183. package/dist/chunks/{schema-0vfyfqrd.js → file-mutation-kz7145yv.js} +6 -6
  184. package/dist/chunks/{schema-hhyv66vq.js → file-mutation-m1z5ek08.js} +5 -5
  185. package/dist/chunks/{schema-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{schema-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
  187. package/dist/chunks/{schema-n4s909p2.js → file-mutation-mhg37pmq.js} +47 -47
  188. package/dist/chunks/{schema-hcgx9r92.js → file-mutation-mrcqdzkn.js} +14 -14
  189. package/dist/chunks/{schema-rk5y8ke4.js → file-mutation-mrv22f7s.js} +15 -15
  190. package/dist/chunks/{schema-exevrqmg.js → file-mutation-mwahwpcs.js} +18 -18
  191. package/dist/chunks/{schema-8td2p5q2.js → file-mutation-n5sg9n8b.js} +34 -34
  192. package/dist/chunks/{schema-s1y79ssk.js → file-mutation-n7c99d35.js} +18 -18
  193. package/dist/chunks/{schema-ydbf29gx.js → file-mutation-nn5t8xjm.js} +47 -47
  194. package/dist/chunks/{schema-9n0pq0p1.js → file-mutation-nwsypg2h.js} +11 -11
  195. package/dist/chunks/{schema-p37cw4rj.js → file-mutation-p4mj4rdp.js} +8 -8
  196. package/dist/chunks/{schema-3q4zrqsz.js → file-mutation-phk9d88z.js} +45 -45
  197. package/dist/chunks/{schema-cc9fn44q.js → file-mutation-pjhesq7k.js} +11 -11
  198. package/dist/chunks/{schema-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{schema-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  200. package/dist/chunks/{schema-ghrfrbg4.js → file-mutation-pkpp0jng.js} +4 -4
  201. package/dist/chunks/{schema-r4mzk1xx.js → file-mutation-ps2trwbq.js} +3 -3
  202. package/dist/chunks/{schema-vwssb2rn.js → file-mutation-py2d2bhf.js} +4 -4
  203. package/dist/chunks/{schema-36gdk6sm.js → file-mutation-pzz5tmzm.js} +17 -17
  204. package/dist/chunks/{schema-ec5r24jz.js → file-mutation-q2j64v3h.js} +6 -6
  205. package/dist/chunks/{schema-7erbtyx3.js → file-mutation-qaf3te0r.js} +11 -11
  206. package/dist/chunks/{schema-yw7v3j12.js → file-mutation-qb9hezfc.js} +27 -27
  207. package/dist/chunks/{schema-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{schema-4bgsdwgm.js → file-mutation-qnq8mqeg.js} +28 -28
  209. package/dist/chunks/{schema-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  210. package/dist/chunks/{schema-phq9g6aj.js → file-mutation-qxns1yyr.js} +19 -19
  211. package/dist/chunks/{schema-3f75xvkg.js → file-mutation-qz0pc5j5.js} +19 -19
  212. package/dist/chunks/{schema-4d3127hb.js → file-mutation-r5z9qnpm.js} +11 -11
  213. package/dist/chunks/{schema-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{schema-brgccpge.js → file-mutation-re4gtx8j.js} +25 -25
  215. package/dist/chunks/{schema-rert0e01.js → file-mutation-rert0e01.js} +2 -2
  216. package/dist/chunks/{schema-rj3eygr5.js → file-mutation-rj3eygr5.js} +2 -2
  217. package/dist/chunks/{schema-6w7d1qme.js → file-mutation-rp8hjwgz.js} +11 -11
  218. package/dist/chunks/{schema-dk1ym1bf.js → file-mutation-rpnfjj5z.js} +30 -30
  219. package/dist/chunks/{schema-csndn1v6.js → file-mutation-rqbas9ax.js} +19 -19
  220. package/dist/chunks/{schema-1f1kaem6.js → file-mutation-rqhevtjr.js} +14 -14
  221. package/dist/chunks/{schema-e5cghe60.js → file-mutation-rrb9pz5a.js} +1 -1
  222. package/dist/chunks/{schema-ejvnp2ks.js → file-mutation-s5qxm7c2.js} +11 -11
  223. package/dist/chunks/{schema-4459cj4r.js → file-mutation-s8yypaqy.js} +46 -46
  224. package/dist/chunks/{schema-sa8ekw3f.js → file-mutation-sa8ekw3f.js} +2 -2
  225. package/dist/chunks/{schema-rz6yywgf.js → file-mutation-sadarxxx.js} +35 -35
  226. package/dist/chunks/{schema-vh1fw6yt.js → file-mutation-sbr2r95b.js} +27 -27
  227. package/dist/chunks/{schema-syv4x271.js → file-mutation-syv4x271.js} +1 -1
  228. package/dist/chunks/{schema-xtpd89cm.js → file-mutation-szyc73at.js} +11 -11
  229. package/dist/chunks/{schema-ezc52dw2.js → file-mutation-t4bhgeye.js} +5 -5
  230. package/dist/chunks/{schema-t550f9t1.js → file-mutation-t550f9t1.js} +1 -1
  231. package/dist/chunks/{schema-js1t3555.js → file-mutation-t80p7bv8.js} +9 -9
  232. package/dist/chunks/{schema-hq279geq.js → file-mutation-ta0tc5c9.js} +26 -26
  233. package/dist/chunks/{schema-kcfh4jp8.js → file-mutation-taz2ghkg.js} +14 -14
  234. package/dist/chunks/{schema-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{schema-d858xzj7.js → file-mutation-tbmac1c7.js} +4 -4
  236. package/dist/chunks/{schema-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{schema-75ytgrqn.js → file-mutation-td1fm6rg.js} +21 -21
  238. package/dist/chunks/{schema-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  239. package/dist/chunks/{schema-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{schema-4c7g6ymp.js → file-mutation-ts412n3k.js} +37 -37
  241. package/dist/chunks/{schema-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
  242. package/dist/chunks/{schema-zqr7hr21.js → file-mutation-v08krjdw.js} +15 -15
  243. package/dist/chunks/{schema-v13b12ef.js → file-mutation-v13b12ef.js} +2 -2
  244. package/dist/chunks/file-mutation-v1yvzs5v.js +517 -0
  245. package/dist/chunks/{schema-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{schema-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  247. package/dist/chunks/{schema-5mbpffke.js → file-mutation-vt9q9evw.js} +10 -10
  248. package/dist/chunks/{schema-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{schema-bygmh04z.js → file-mutation-w3g2sjny.js} +14 -14
  250. package/dist/chunks/{schema-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{schema-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  252. package/dist/chunks/{schema-hwq6p19n.js → file-mutation-wdasqx75.js} +4 -4
  253. package/dist/chunks/{schema-mcxxahwh.js → file-mutation-wnyvz4dk.js} +45 -45
  254. package/dist/chunks/{schema-g4wty43c.js → file-mutation-wpys2vyv.js} +5 -5
  255. package/dist/chunks/{schema-y89gydzy.js → file-mutation-wqabm0nw.js} +17 -17
  256. package/dist/chunks/{schema-a7scjn5s.js → file-mutation-ws0ez784.js} +16 -16
  257. package/dist/chunks/{schema-5gydnkt7.js → file-mutation-x0k3z69x.js} +16 -16
  258. package/dist/chunks/{schema-ttacmzh5.js → file-mutation-x5dktsa5.js} +23 -23
  259. package/dist/chunks/{schema-ma48de29.js → file-mutation-x6pyv2yz.js} +5 -5
  260. package/dist/chunks/{schema-7vx8fxzm.js → file-mutation-xcevffwp.js} +82 -82
  261. package/dist/chunks/{schema-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
  262. package/dist/chunks/{schema-tt8gc4fv.js → file-mutation-xfktpdj6.js} +6 -6
  263. package/dist/chunks/{schema-2znnk454.js → file-mutation-xgrstn99.js} +11 -11
  264. package/dist/chunks/{schema-80jay3zv.js → file-mutation-xmb5688y.js} +33 -33
  265. package/dist/chunks/{schema-33srfa0b.js → file-mutation-xp80041t.js} +10 -10
  266. package/dist/chunks/{schema-vz2w9rtp.js → file-mutation-xs3kgst9.js} +23 -23
  267. package/dist/chunks/{schema-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{schema-h9r6r1hy.js → file-mutation-y59fqsw4.js} +26 -26
  269. package/dist/chunks/{schema-y71avatq.js → file-mutation-y71avatq.js} +1 -1
  270. package/dist/chunks/{schema-bacj9t34.js → file-mutation-y7nndgyc.js} +9 -9
  271. package/dist/chunks/{schema-gwaz9r47.js → file-mutation-ydjhy7jp.js} +4 -4
  272. package/dist/chunks/{schema-xekvc3d8.js → file-mutation-ye93bcpk.js} +13 -13
  273. package/dist/chunks/{schema-remtvbha.js → file-mutation-yebssw6b.js} +3 -3
  274. package/dist/chunks/{schema-9zj7wbnh.js → file-mutation-yr4z1qtt.js} +44 -44
  275. package/dist/chunks/{schema-bjx1sjef.js → file-mutation-ywt8jp22.js} +9 -9
  276. package/dist/chunks/{schema-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{schema-gp3kkx05.js → file-mutation-z0hcq1xj.js} +28 -28
  278. package/dist/chunks/{schema-z18fegx4.js → file-mutation-z18fegx4.js} +1 -1
  279. package/dist/chunks/{schema-1323fv79.js → file-mutation-zak5s96v.js} +4 -4
  280. package/dist/chunks/{schema-n46s7c5f.js → file-mutation-zcepehk0.js} +5 -5
  281. package/dist/chunks/file-mutation-zcrrhp36.js +26 -0
  282. package/dist/chunks/{schema-embw8kgh.js → file-mutation-zcrspsvn.js} +4 -4
  283. package/dist/chunks/{schema-fvgp290g.js → file-mutation-zh98cvta.js} +8 -8
  284. package/dist/chunks/{schema-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{schema-hh0a7fvf.js → file-mutation-zr8t0btn.js} +189 -189
  286. package/dist/chunks/{schema-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{schema-gjgye92n.js → file-mutation-zz19y5js.js} +17 -17
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +3 -3
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +208 -208
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +108 -108
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +73 -73
  465. package/dist/location-activity.js +155 -155
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +131 -131
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +86 -86
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +115 -115
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +88 -88
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  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 +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +87 -87
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +215 -215
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +155 -155
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +95 -95
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +202 -202
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +159 -159
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +211 -211
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +212 -212
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +91 -91
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +128 -128
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +209 -209
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +114 -114
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +86 -86
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +96 -96
  691. package/package.json +8 -8
  692. package/dist/chunks/schema-1xy3bbfj.js +0 -517
  693. package/dist/chunks/schema-ebe1aw40.js +0 -257
  694. package/dist/chunks/schema-hktg20kd.js +0 -26
  695. package/dist/chunks/schema-vnkjks7b.js +0 -18
  696. /package/dist/chunks/{schema-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{schema-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{schema-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{schema-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{schema-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{schema-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{schema-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{schema-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{schema-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{schema-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{schema-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{schema-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  708. /package/dist/chunks/{schema-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{schema-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{schema-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{schema-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{schema-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{schema-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{schema-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{schema-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  716. /package/dist/chunks/{schema-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{schema-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  718. /package/dist/chunks/{schema-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{schema-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{schema-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{schema-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  722. /package/dist/chunks/{schema-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{schema-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{schema-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{schema-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{schema-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{schema-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{schema-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{schema-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{schema-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{schema-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{schema-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{schema-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{schema-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{schema-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{schema-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{schema-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{schema-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{schema-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{schema-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{schema-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  742. /package/dist/chunks/{schema-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{schema-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{schema-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{schema-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{schema-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{schema-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{schema-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{schema-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{schema-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{schema-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{schema-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{schema-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  754. /package/dist/chunks/{schema-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{schema-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  756. /package/dist/chunks/{schema-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{schema-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  758. /package/dist/chunks/{schema-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{schema-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{schema-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{schema-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{schema-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{schema-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{schema-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{schema-m18g726c.js → file-mutation-m18g726c.js} +0 -0
  766. /package/dist/chunks/{schema-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{schema-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{schema-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{schema-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{schema-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{schema-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{schema-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{schema-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{schema-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{schema-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{schema-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{schema-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{schema-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{schema-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{schema-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{schema-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{schema-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{schema-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{schema-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{schema-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{schema-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{schema-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{schema-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{schema-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{schema-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  791. /package/dist/chunks/{schema-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{schema-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{schema-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{schema-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{schema-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{schema-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./schema-vwssb2rn.js";
4
+ } from "./file-mutation-py2d2bhf.js";
5
5
  import {
6
- Event18,
7
- Service73,
8
- node76
9
- } from "./schema-gp3kkx05.js";
6
+ Event20,
7
+ Service83,
8
+ node87
9
+ } from "./file-mutation-z0hcq1xj.js";
10
10
  import {
11
- Service58,
12
- node60
13
- } from "./schema-kwr2em0p.js";
11
+ Service64,
12
+ node66
13
+ } from "./file-mutation-bwpes1j3.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./schema-z5v4ffb3.js";
16
+ } from "./file-mutation-z5v4ffb3.js";
17
17
  import {
18
- Service82,
19
- node86
20
- } from "./schema-j9w080ad.js";
18
+ Service80,
19
+ node84
20
+ } from "./file-mutation-j8143y8a.js";
21
21
  import {
22
22
  substitute2
23
- } from "./schema-kwb1v3vj.js";
23
+ } from "./file-mutation-kwb1v3vj.js";
24
24
  import {
25
25
  normalize2
26
- } from "./schema-s1y79ssk.js";
26
+ } from "./file-mutation-n7c99d35.js";
27
27
  import {
28
- names3,
28
+ names4,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./schema-33srfa0b.js";
31
+ } from "./file-mutation-xp80041t.js";
32
32
  import {
33
33
  plan2
34
- } from "./schema-6827pfxn.js";
34
+ } from "./file-mutation-6827pfxn.js";
35
35
  import {
36
- Service59,
36
+ Service65,
37
37
  Event12,
38
- node61
39
- } from "./schema-e4771dax.js";
38
+ node67
39
+ } from "./file-mutation-2ccjc77m.js";
40
40
  import {
41
41
  __export
42
- } from "./schema-9rqn6x4v.js";
42
+ } from "./file-mutation-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
- Options: () => Options7,
49
- Service: () => Service57,
48
+ Options: () => Options6,
49
+ Service: () => Service63,
50
50
  Test: () => Test2,
51
- configured: () => configured7,
51
+ configured: () => configured6,
52
52
  latest: () => latest2,
53
- layer: () => layer23,
54
- node: () => node59,
53
+ layer: () => layer20,
54
+ node: () => node65,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options7 = Schema.Struct({
70
+ var Options6 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -76,7 +76,7 @@ var Options7 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service57 extends Context.Service()("@opencode/Config") {
79
+ class Service63 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
94
94
  setEntries: (next) => Ref.set(entries, next),
95
95
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
96
96
  });
97
- return Context.empty().pipe(Context.add(Service57, service), Context.add(Test2, service));
97
+ return Context.empty().pipe(Context.add(Service63, service), Context.add(Test2, service));
98
98
  }));
99
- var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
99
+ var layer20 = (options) => Layer.effect(Service63, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service82;
102
- const watcher = yield* Service58;
101
+ const location = yield* Service80;
102
+ const watcher = yield* Service64;
103
103
  const bus = yield* Service85;
104
- const credentials = yield* Service73;
104
+ const credentials = yield* Service83;
105
105
  const globalService = yield* Global.Service;
106
- const wellknown = yield* Service59;
106
+ const wellknown = yield* Service65;
107
107
  const processes = yield* AppProcess.Service;
108
108
  const reloadLock = Semaphore.makeUnsafe(1);
109
109
  const updateLock = Semaphore.makeUnsafe(1);
@@ -186,7 +186,7 @@ var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
186
186
  });
187
187
  const loadDirectory = Effect.fnUntraced(function* (directory) {
188
188
  return [
189
- ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
189
+ ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
190
190
  new Directory({ type: "directory", path: directory })
191
191
  ];
192
192
  });
@@ -254,7 +254,7 @@ var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
254
254
  }, (effect) => reloadLock.withPermit(effect));
255
255
  const pendingReloads = yield* PubSub.subscribe(reloads);
256
256
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
257
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
258
258
  yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
259
259
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
260
260
  if (!wellknown.snapshot().length)
@@ -268,7 +268,7 @@ var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
268
268
  yield* reloadLock.withPermit(reconcile(initial));
269
269
  const update = Effect.fn("Config.update")(function* (patch) {
270
270
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
271
- const candidates = names3.map((name) => path.join(directory, name));
271
+ const candidates = names4.map((name) => path.join(directory, name));
272
272
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
273
273
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
274
274
  `;
@@ -283,7 +283,7 @@ var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
283
283
  `);
284
284
  yield* requestReload;
285
285
  }, (effect) => updateLock.withPermit(effect));
286
- return Service57.of({
286
+ return Service63.of({
287
287
  entries: Effect.fnUntraced(function* () {
288
288
  return configs;
289
289
  }),
@@ -295,22 +295,22 @@ var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
295
295
  update
296
296
  });
297
297
  }));
298
- function configured7(options) {
298
+ function configured6(options) {
299
299
  return makeLocationNode({
300
- service: Service57,
301
- layer: layer23(options),
300
+ service: Service63,
301
+ layer: layer20(options),
302
302
  deps: [
303
- node60,
303
+ node66,
304
304
  node89,
305
305
  FSUtil.node,
306
306
  Global.node,
307
- node86,
308
- node76,
309
- node61,
307
+ node84,
308
+ node87,
309
+ node67,
310
310
  AppProcess.node
311
311
  ]
312
312
  });
313
313
  }
314
- var node59 = configured7();
314
+ var node65 = configured6();
315
315
 
316
- export { latest2, Options7, Service57, Test2, testLayer2, layer23, configured7, node59, exports_config };
316
+ export { latest2, Options6, Service63, Test2, testLayer2, layer20, configured6, node65, exports_config };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service82
3
- } from "./schema-j9w080ad.js";
2
+ Service80
3
+ } from "./file-mutation-j8143y8a.js";
4
4
  import {
5
- ID7,
5
+ ID12,
6
6
  Family2
7
- } from "./schema-1skh4z6z.js";
7
+ } from "./file-mutation-4b4em5d4.js";
8
8
  import {
9
- Service57
10
- } from "./schema-n4s909p2.js";
9
+ Service63
10
+ } from "./file-mutation-mhg37pmq.js";
11
11
  import {
12
- Service80
13
- } from "./schema-hp36aydz.js";
12
+ Service71
13
+ } from "./file-mutation-3e2gnrvk.js";
14
14
  import {
15
15
  spawner2
16
- } from "./schema-hq3c8me3.js";
16
+ } from "./file-mutation-khmqacep.js";
17
17
  import {
18
18
  foldSettings2
19
- } from "./schema-g754c8fk.js";
19
+ } from "./file-mutation-5zbwkh3w.js";
20
20
 
21
21
  // src/plugin/provider/local.ts
22
22
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
32
32
  id: input.id,
33
33
  effect: Effect.fn(function* (ctx) {
34
34
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
35
- const config = yield* Service57;
36
- const environment = yield* Effect.serviceOption(Service80);
37
- const location = yield* Effect.serviceOption(Service82);
35
+ const config = yield* Service63;
36
+ const environment = yield* Effect.serviceOption(Service71);
37
+ const location = yield* Effect.serviceOption(Service80);
38
38
  const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
39
39
  const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
40
40
  const loaded = { models: [], hash: "[]" };
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
63
63
  for (const item of loaded.models) {
64
64
  const spec = input.model(item);
65
65
  providers.models.update(input.providerID, spec.id, (model) => {
66
- model.modelID = ID7.make(spec.id);
66
+ model.modelID = ID12.make(spec.id);
67
67
  model.name = spec.name || spec.id;
68
68
  model.family = spec.family ? Family2.make(spec.family) : undefined;
69
69
  model.capabilities = {
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-xtpd89cm.js";
3
+ } from "./file-mutation-szyc73at.js";
4
4
  import {
5
5
  Service85
6
- } from "./schema-vwssb2rn.js";
6
+ } from "./file-mutation-py2d2bhf.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./schema-gp3kkx05.js";
9
+ Event20
10
+ } from "./file-mutation-z0hcq1xj.js";
11
11
  import {
12
- ID12,
12
+ ID14,
13
13
  MethodID2
14
- } from "./schema-hq279geq.js";
14
+ } from "./file-mutation-ta0tc5c9.js";
15
15
  import {
16
- ID11
17
- } from "./schema-dk1ym1bf.js";
16
+ ID13
17
+ } from "./file-mutation-rpnfjj5z.js";
18
18
  import {
19
- ID7,
19
+ ID12,
20
20
  Family2
21
- } from "./schema-1skh4z6z.js";
21
+ } from "./file-mutation-4b4em5d4.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./schema-pjvnvgmy.js";
24
+ } from "./file-mutation-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
29
29
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
30
- var providerID = ID11.make("digitalocean");
31
- var integrationID = ID12.make("digitalocean");
30
+ var providerID = ID13.make("digitalocean");
31
+ var integrationID = ID14.make("digitalocean");
32
32
  var methodID = MethodID2.make("browser");
33
33
  var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
34
34
  var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID7.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID12.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./schema-rdw6cm16.js";
3
+ } from "./file-mutation-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./schema-qaymkmh1.js";
6
+ } from "./file-mutation-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./schema-9rqn6x4v.js";
9
+ } from "./file-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options4,
15
- Service: () => Service41,
14
+ Options: () => Options5,
15
+ Service: () => Service49,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured4,
18
+ configured: () => configured5,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name16,
24
- node: () => node44,
24
+ node: () => node51,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve2
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options4 = Schema.Struct({
46
+ var Options5 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service41 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service49 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service41, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service41, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service41.of({
202
+ return Service49.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured4(options) {
210
- return makeLocationNode({ service: Service41, layer: layer(options), deps: [Global.node] });
209
+ function configured5(options) {
210
+ return makeLocationNode({ service: Service49, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node44 = configured4();
212
+ var node51 = configured5();
213
213
 
214
- export { Options4, Service41, gitbash2, name16, login2, ps2, args2, environment2, resolve2, list3, configured4, node44, exports_select };
214
+ export { Options5, Service49, gitbash2, name16, login2, ps2, args2, environment2, resolve2, list4, configured5, node51, exports_select };
@@ -2,42 +2,42 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./schema-z5v4ffb3.js";
5
+ } from "./file-mutation-z5v4ffb3.js";
6
6
  import {
7
- Service82,
8
- node86
9
- } from "./schema-j9w080ad.js";
7
+ Service80,
8
+ node84
9
+ } from "./file-mutation-j8143y8a.js";
10
10
  import {
11
- Service78,
12
- node81
13
- } from "./schema-8m22mfav.js";
11
+ Service17,
12
+ node19
13
+ } from "./file-mutation-h7vxqxg2.js";
14
14
  import {
15
15
  __export
16
- } from "./schema-9rqn6x4v.js";
16
+ } from "./file-mutation-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event20,
27
+ Event: () => Event3,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput5,
32
+ ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError11,
34
+ NotFoundError: () => NotFoundError3,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service77,
36
+ Service: () => Service16,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node80
40
+ node: () => node18
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError11 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
75
75
  return `Access denied to directory: ${this.directory}`;
76
76
  }
77
77
  }
78
- var Content3 = Schema.Struct({
78
+ var Content2 = Schema.Struct({
79
79
  uri: Schema.String,
80
80
  name: Schema.String.pipe(Schema.optional),
81
81
  content: Schema.String,
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput5 = Schema.Struct({
85
+ var ListInput2 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event20 = FileSystem.Event;
108
+ var Event3 = FileSystem.Event;
109
109
 
110
- class Service77 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service16 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service77, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service82;
115
- const search = yield* Service78;
114
+ const location = yield* Service80;
115
+ const search = yield* Service17;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service77, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError11({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError11({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError11({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError11({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service77.of({
134
+ return Service16.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError11({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError11({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError3({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service77, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError11({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service77, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node80 = makeLocationNode({
175
- service: Service77,
174
+ var node18 = makeLocationNode({
175
+ service: Service16,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node86, node81]
177
+ deps: [FSUtil.node, node84, node19]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError11, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event20, Service77, node80, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service16, node18, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./file-mutation-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./schema-81f7vt2z.js";
6
+ } from "./file-mutation-kqv3x6rj.js";
7
7
  import {
8
- Info15
9
- } from "./schema-2ae0q92z.js";
8
+ Info17
9
+ } from "./file-mutation-967benbv.js";
10
10
  import {
11
- Info12
12
- } from "./schema-v5dkyp31.js";
11
+ Info16
12
+ } from "./file-mutation-b27vhd2z.js";
13
13
  import {
14
- Info13
15
- } from "./schema-4xpgt2w9.js";
14
+ Info15
15
+ } from "./file-mutation-kjdm35cs.js";
16
16
  import {
17
17
  Spec2
18
- } from "./schema-7dqw4kz8.js";
18
+ } from "./file-mutation-2k8khapm.js";
19
19
  import {
20
- Info14
21
- } from "./schema-47jkzegy.js";
20
+ Info19
21
+ } from "./file-mutation-2k9fjx65.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -28,10 +28,10 @@ import {
28
28
  migrateMcp2,
29
29
  migrateProvider2,
30
30
  providerID2
31
- } from "./schema-bnn3p74r.js";
31
+ } from "./file-mutation-5e2h11rs.js";
32
32
  import {
33
33
  __export
34
- } from "./schema-9rqn6x4v.js";
34
+ } from "./file-mutation-9rqn6x4v.js";
35
35
 
36
36
  // src/config/normalize.ts
37
37
  var exports_normalize = {};
@@ -98,12 +98,12 @@ function normalize2(input) {
98
98
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
99
99
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
100
100
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
101
- const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
101
+ const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
102
102
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
103
103
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
104
104
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
105
105
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
106
- const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
+ const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
107
107
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
108
108
  const migratedSmallModel = modelSelection2(legacySmallModel);
109
109
  if (legacySmallModel && !migratedSmallModel)
@@ -117,7 +117,7 @@ function normalize2(input) {
117
117
  model: migratedSmallModel,
118
118
  ...legacyAgents.title
119
119
  };
120
- const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
+ const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
121
121
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
122
122
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
123
123
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
219
219
  normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
220
220
  return;
221
221
  }
222
- const server = decodeValue(Info13, value, path, diagnostics);
222
+ const server = decodeValue(Info15, value, path, diagnostics);
223
223
  if (server !== undefined)
224
224
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
225
225
  });
@@ -435,7 +435,7 @@ function migrateProviders(value, diagnostics) {
435
435
  diagnoseProviderUnsupported(raw, path, diagnostics);
436
436
  if (invalidProviderOverlays(raw, path, diagnostics))
437
437
  return [];
438
- const provider = decodeValue(Info14, raw, path, diagnostics);
438
+ const provider = decodeValue(Info19, raw, path, diagnostics);
439
439
  if (provider === undefined)
440
440
  return [];
441
441
  const destination = providerID2(name);