@opencode/core 0.0.0-dev-20416 → 0.0.0-dev-20420

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{event-logger-dkmywptv.js → image-08cc3crx.js} +12 -12
  8. package/dist/chunks/{event-logger-s6776ax8.js → image-09vgy7d7.js} +24 -24
  9. package/dist/chunks/{event-logger-0paq2nw3.js → image-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{event-logger-t3swkhbg.js → image-0r7yqxbf.js} +5 -5
  11. package/dist/chunks/{event-logger-2c42hanh.js → image-0vwyq9fa.js} +12 -14
  12. package/dist/chunks/{event-logger-g7afzaxy.js → image-12htfbcb.js} +11 -11
  13. package/dist/chunks/{event-logger-hbn7w743.js → image-189xa6nw.js} +8 -8
  14. package/dist/chunks/{event-logger-1dazxqgg.js → image-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{event-logger-twtjjjev.js → image-1gn2b5rd.js} +8 -8
  16. package/dist/chunks/{event-logger-3032hhxb.js → image-1h2tf2pz.js} +3 -3
  17. package/dist/chunks/{event-logger-0gr0dgrd.js → image-1mr17jyd.js} +5 -5
  18. package/dist/chunks/{event-logger-v0rzgg0c.js → image-1sayd3qa.js} +47 -47
  19. package/dist/chunks/{event-logger-dqq9xe44.js → image-1vsy90zb.js} +27 -27
  20. package/dist/chunks/{event-logger-96s3rq5g.js → image-1yce9yd2.js} +19 -19
  21. package/dist/chunks/{event-logger-21r38tys.js → image-21r38tys.js} +1 -1
  22. package/dist/chunks/{event-logger-49tz1vf4.js → image-257x5s3c.js} +41 -41
  23. package/dist/chunks/{event-logger-2a5m3afh.js → image-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{event-logger-5kyehztc.js → image-2ffw9mnr.js} +11 -11
  25. package/dist/chunks/image-2g0vd6zq.js +26 -0
  26. package/dist/chunks/{event-logger-dfd6nqfg.js → image-2gw8ssgq.js} +9 -9
  27. package/dist/chunks/{event-logger-vw0kv50g.js → image-2ptzyb5x.js} +17 -17
  28. package/dist/chunks/{event-logger-rfxyr88f.js → image-2smhrpmj.js} +38 -38
  29. package/dist/chunks/{event-logger-670p6hpz.js → image-2yv7jqsy.js} +2 -2
  30. package/dist/chunks/{event-logger-1ygqh575.js → image-33w4ejhs.js} +6 -6
  31. package/dist/chunks/{event-logger-tsf7ps50.js → image-39wagmdt.js} +5 -5
  32. package/dist/chunks/{event-logger-qdbakdjh.js → image-3bc8czyk.js} +5 -5
  33. package/dist/chunks/{event-logger-xy2t9kqq.js → image-3dsy9998.js} +28 -28
  34. package/dist/chunks/{event-logger-3fc6dm20.js → image-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{event-logger-g45t7an4.js → image-3fh5m38b.js} +5 -5
  36. package/dist/chunks/{event-logger-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{event-logger-gtm482jc.js → image-3p6vpnrg.js} +12 -12
  38. package/dist/chunks/{event-logger-kfvedqw3.js → image-3pbjq009.js} +8 -8
  39. package/dist/chunks/{event-logger-xn4rdr4r.js → image-3pemy4mj.js} +43 -43
  40. package/dist/chunks/{event-logger-3smtnn6g.js → image-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{event-logger-3tvqynh2.js → image-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{event-logger-5sj81wm5.js → image-3w0fmcng.js} +5 -5
  43. package/dist/chunks/{event-logger-5n9fdw5n.js → image-3yscd9tq.js} +23 -23
  44. package/dist/chunks/{event-logger-3zsf4n22.js → image-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{event-logger-056xzx59.js → image-410wgjg3.js} +17 -17
  46. package/dist/chunks/{event-logger-chrxq3ex.js → image-44nyv85r.js} +12 -12
  47. package/dist/chunks/{event-logger-41wasfk9.js → image-44vdmdsx.js} +5 -5
  48. package/dist/chunks/{event-logger-78ftde5m.js → image-44zg68ra.js} +27 -27
  49. package/dist/chunks/{event-logger-byb8yc9m.js → image-4a1xd2mc.js} +34 -34
  50. package/dist/chunks/{event-logger-mtazec1p.js → image-4m5fa9e1.js} +32 -32
  51. package/dist/chunks/{event-logger-n6pgtx9h.js → image-4pdbz8wr.js} +4 -4
  52. package/dist/chunks/{event-logger-qvfvz5h6.js → image-4txpgtd5.js} +9 -9
  53. package/dist/chunks/{event-logger-30846h32.js → image-4w5f3qm5.js} +8 -8
  54. package/dist/chunks/{event-logger-0zpkfkm4.js → image-4xj83bvy.js} +10 -10
  55. package/dist/chunks/{event-logger-vwgs6v8p.js → image-51rzsxjq.js} +36 -36
  56. package/dist/chunks/{event-logger-xx2yb7w0.js → image-54pn5t4s.js} +40 -40
  57. package/dist/chunks/{event-logger-54tcyq79.js → image-54tcyq79.js} +2 -2
  58. package/dist/chunks/{event-logger-dvc89yjx.js → image-56b3zt1s.js} +8 -8
  59. package/dist/chunks/{event-logger-d2q3stg4.js → image-57ez7d0k.js} +7 -7
  60. package/dist/chunks/{event-logger-5daktx2q.js → image-5daktx2q.js} +1 -1
  61. package/dist/chunks/{event-logger-qgccrrkf.js → image-5e9ex5tq.js} +13 -13
  62. package/dist/chunks/{event-logger-rkqpmy5q.js → image-5esmevc9.js} +23 -23
  63. package/dist/chunks/{event-logger-5t3nmthw.js → image-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{event-logger-g578wdqb.js → image-63pd56y5.js} +13 -13
  65. package/dist/chunks/{event-logger-669tq793.js → image-669tq793.js} +1 -1
  66. package/dist/chunks/{event-logger-rsntv4fw.js → image-69hv900b.js} +11 -11
  67. package/dist/chunks/{event-logger-a358s59g.js → image-6dcamqcs.js} +36 -36
  68. package/dist/chunks/{event-logger-fenjx7x0.js → image-6mk64feq.js} +5 -5
  69. package/dist/chunks/{event-logger-6msgmcgs.js → image-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{event-logger-pkpw5sx5.js → image-74s3n81d.js} +32 -32
  71. package/dist/chunks/{event-logger-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{event-logger-qgn6gcr1.js → image-7dqw4kz8.js} +5 -5
  73. package/dist/chunks/{event-logger-tqhrypxk.js → image-7hdbg4yw.js} +16 -16
  74. package/dist/chunks/{event-logger-5pw6jttx.js → image-7j5e6wjq.js} +8 -8
  75. package/dist/chunks/{event-logger-twvtekjm.js → image-7npnsjne.js} +12 -12
  76. package/dist/chunks/{event-logger-1bksvrzb.js → image-7w5kah94.js} +40 -40
  77. package/dist/chunks/{event-logger-84txncab.js → image-84txncab.js} +1 -1
  78. package/dist/chunks/{event-logger-hnnwg8mk.js → image-87sgw6dv.js} +27 -27
  79. package/dist/chunks/{event-logger-yxkyb042.js → image-87yk6njf.js} +24 -24
  80. package/dist/chunks/{event-logger-4xe71878.js → image-8bzcbfjx.js} +27 -27
  81. package/dist/chunks/{event-logger-4x85amra.js → image-8c98pape.js} +309 -309
  82. package/dist/chunks/{event-logger-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{event-logger-kvt93wrg.js → image-8tr76t7q.js} +4 -4
  84. package/dist/chunks/{event-logger-0kskbm85.js → image-8v60zwy0.js} +18 -18
  85. package/dist/chunks/{event-logger-1m38g5s1.js → image-92pqcnfv.js} +42 -42
  86. package/dist/chunks/{event-logger-vbdhqjda.js → image-9352f8b0.js} +11 -11
  87. package/dist/chunks/{event-logger-b6q8nkfr.js → image-94be766r.js} +9 -9
  88. package/dist/chunks/{event-logger-801jjte1.js → image-98rjzhgf.js} +3 -3
  89. package/dist/chunks/{event-logger-yn3dmqqd.js → image-98ya4gjh.js} +23 -23
  90. package/dist/chunks/{event-logger-emsz7g57.js → image-9fxxshwk.js} +46 -46
  91. package/dist/chunks/{event-logger-kxfyed36.js → image-9pgc1ftw.js} +82 -82
  92. package/dist/chunks/{event-logger-s8d7rejh.js → image-9t7a50xb.js} +4 -4
  93. package/dist/chunks/{event-logger-b09hzw3k.js → image-a3r4dcrj.js} +2 -2
  94. package/dist/chunks/{event-logger-277eer69.js → image-a89e0tac.js} +4 -4
  95. package/dist/chunks/{event-logger-474z6p00.js → image-a8vt68jm.js} +22 -22
  96. package/dist/chunks/{event-logger-aaet6srn.js → image-aaet6srn.js} +2 -2
  97. package/dist/chunks/{event-logger-et0s89qn.js → image-abq6qjef.js} +22 -22
  98. package/dist/chunks/{event-logger-9kf8crr2.js → image-aj1p7gt3.js} +3 -3
  99. package/dist/chunks/{event-logger-j5aanxkf.js → image-anz9cf4w.js} +15 -15
  100. package/dist/chunks/{event-logger-7478rs74.js → image-aphn2g51.js} +11 -11
  101. package/dist/chunks/{event-logger-8h3t5p2d.js → image-apxd6vqt.js} +13 -13
  102. package/dist/chunks/{event-logger-xj3htnp5.js → image-asb7s1px.js} +15 -15
  103. package/dist/chunks/{event-logger-px42xchs.js → image-ave9n0d8.js} +19 -19
  104. package/dist/chunks/{event-logger-hpje7ss6.js → image-awarry27.js} +18 -18
  105. package/dist/chunks/{event-logger-fdv30zvt.js → image-b27vhd2z.js} +7 -7
  106. package/dist/chunks/{event-logger-b6gygkdw.js → image-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{event-logger-tkzj0056.js → image-bczcn6w4.js} +4 -4
  108. package/dist/chunks/{event-logger-g1rejjsd.js → image-bdw71yz3.js} +12 -12
  109. package/dist/chunks/{event-logger-d6e90v2e.js → image-bey9aa5n.js} +24 -24
  110. package/dist/chunks/{event-logger-bjtzbw4r.js → image-bjtzbw4r.js} +3 -3
  111. package/dist/chunks/{event-logger-xmszv9zx.js → image-bkhvbshk.js} +26 -26
  112. package/dist/chunks/{event-logger-y4jjsjgg.js → image-chn746cp.js} +35 -35
  113. package/dist/chunks/{event-logger-f885rbej.js → image-cm4676z0.js} +18 -18
  114. package/dist/chunks/{event-logger-cwa6csj7.js → image-cpneeje0.js} +9 -9
  115. package/dist/chunks/{event-logger-r4fq1cvf.js → image-csx9mte4.js} +42 -33
  116. package/dist/chunks/{event-logger-m2pxj8c0.js → image-d8sh9q4a.js} +26 -26
  117. package/dist/chunks/{event-logger-c3bsdxv3.js → image-dhzxrwkg.js} +9 -9
  118. package/dist/chunks/{event-logger-mpk0rfs5.js → image-dnxkq42g.js} +4 -4
  119. package/dist/chunks/{event-logger-2bx4t2ca.js → image-dweptn8x.js} +14 -14
  120. package/dist/chunks/{event-logger-t6w4mtk7.js → image-dz3gce22.js} +13 -13
  121. package/dist/chunks/{event-logger-qsf46761.js → image-e1gx0x5b.js} +8 -8
  122. package/dist/chunks/{event-logger-96p7brnx.js → image-e1vxf24z.js} +31 -31
  123. package/dist/chunks/{event-logger-h6046181.js → image-e3ygdm6b.js} +24 -24
  124. package/dist/chunks/{event-logger-dyzkfz1n.js → image-e72dvkew.js} +25 -25
  125. package/dist/chunks/{event-logger-7jz5tqjy.js → image-e8syvjy6.js} +15 -15
  126. package/dist/chunks/{event-logger-b34hkfqm.js → image-edxf7q0v.js} +30 -30
  127. package/dist/chunks/{event-logger-frn296px.js → image-eeyn7p3y.js} +5 -5
  128. package/dist/chunks/{event-logger-ef5x83kb.js → image-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{event-logger-b6jzatxk.js → image-eh21xe1z.js} +44 -44
  130. package/dist/chunks/{event-logger-a1gpj94z.js → image-eq1pz5kg.js} +3 -3
  131. package/dist/chunks/{event-logger-etq0c3wd.js → image-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{event-logger-2336b01z.js → image-etzz3kcr.js} +8 -8
  133. package/dist/chunks/{event-logger-syf57q56.js → image-f29mbr7f.js} +4 -4
  134. package/dist/chunks/{event-logger-hcy42j4t.js → image-f2ra6ejh.js} +27 -27
  135. package/dist/chunks/{event-logger-mjymc32g.js → image-f3ngv102.js} +4 -4
  136. package/dist/chunks/{event-logger-rna2mx7d.js → image-fdv5t5g0.js} +30 -30
  137. package/dist/chunks/{event-logger-b0eftgcg.js → image-ffpqsr69.js} +32 -32
  138. package/dist/chunks/{event-logger-8mv5n3j0.js → image-fjzghbfh.js} +24 -24
  139. package/dist/chunks/{event-logger-y6hv0j91.js → image-fz0jyhtj.js} +26 -26
  140. package/dist/chunks/{event-logger-p37cw4rj.js → image-g0445xdp.js} +8 -8
  141. package/dist/chunks/{event-logger-ha5qz99h.js → image-g6em3hs7.js} +14 -14
  142. package/dist/chunks/{event-logger-bkdfrtpa.js → image-g80d2raz.js} +5 -5
  143. package/dist/chunks/{event-logger-125m14jt.js → image-g9698bze.js} +10 -10
  144. package/dist/chunks/{event-logger-aqcksy77.js → image-gbp3tmc2.js} +9 -9
  145. package/dist/chunks/{event-logger-gd4qta3r.js → image-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{event-logger-gfvb90ym.js → image-gfvb90ym.js} +2 -2
  147. package/dist/chunks/{event-logger-6btz5c3h.js → image-gq3rpds4.js} +56 -56
  148. package/dist/chunks/{event-logger-yyb7tjpc.js → image-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{event-logger-hnw30wnd.js → image-h6n47w4x.js} +9 -9
  150. package/dist/chunks/{event-logger-h6vf3j39.js → image-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{event-logger-9wpgsbre.js → image-h7ygw6q4.js} +9 -9
  152. package/dist/chunks/{event-logger-24eg1qa8.js → image-h9bcwp57.js} +8 -8
  153. package/dist/chunks/{event-logger-4wwqnvbr.js → image-hehaxqkv.js} +4 -4
  154. package/dist/chunks/{event-logger-s9mbqkha.js → image-hfz95zw3.js} +22 -22
  155. package/dist/chunks/{event-logger-vdzspbnc.js → image-hkfg6fzm.js} +5 -5
  156. package/dist/chunks/{event-logger-j56e64zr.js → image-j56e64zr.js} +1 -1
  157. package/dist/chunks/{event-logger-bpa997y7.js → image-j6x1e07f.js} +16 -16
  158. package/dist/chunks/{event-logger-36xy1yzh.js → image-j9eqrz8s.js} +12 -12
  159. package/dist/chunks/{event-logger-y6f0p4jw.js → image-jexxy024.js} +3 -3
  160. package/dist/chunks/{event-logger-bk5z8xts.js → image-jfr8p1nc.js} +11 -11
  161. package/dist/chunks/{event-logger-9szwjyee.js → image-jj72jhew.js} +6 -6
  162. package/dist/chunks/{event-logger-6pah7r0c.js → image-jmhnkzbv.js} +1 -1
  163. package/dist/chunks/{event-logger-dg5h694m.js → image-jr6nesqj.js} +48 -48
  164. package/dist/chunks/{event-logger-8mj95qcv.js → image-jr7yx8jc.js} +5 -5
  165. package/dist/chunks/{event-logger-qa5emg3d.js → image-jv14matq.js} +7 -7
  166. package/dist/chunks/{event-logger-y39dv51y.js → image-k0cjby8k.js} +35 -35
  167. package/dist/chunks/{event-logger-zzd0m6f2.js → image-kma0a23x.js} +53 -53
  168. package/dist/chunks/{event-logger-rph3zd4r.js → image-kxpygcw9.js} +4 -4
  169. package/dist/chunks/{event-logger-m3fdjcah.js → image-m3fdjcah.js} +1 -1
  170. package/dist/chunks/{event-logger-zzqx3mne.js → image-m50qhwfm.js} +8 -8
  171. package/dist/chunks/{event-logger-m58kmhef.js → image-m58kmhef.js} +2 -2
  172. package/dist/chunks/{event-logger-wpgrwh85.js → image-m6fsgx1c.js} +9 -9
  173. package/dist/chunks/{event-logger-mp3rs6rf.js → image-m9b9fvvz.js} +12 -12
  174. package/dist/chunks/{event-logger-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{event-logger-hevc4bph.js → image-ma9b7dad.js} +3 -3
  176. package/dist/chunks/{event-logger-wpwx019v.js → image-mk3zm8w3.js} +15 -15
  177. package/dist/chunks/{event-logger-1js6j2vy.js → image-n6bdjd7t.js} +5 -5
  178. package/dist/chunks/{event-logger-mybqtq6t.js → image-n6gsfqsz.js} +305 -305
  179. package/dist/chunks/{event-logger-1b4xyzex.js → image-ngwfcb89.js} +11 -11
  180. package/dist/chunks/{event-logger-cj8231sg.js → image-nkh7xb07.js} +10 -10
  181. package/dist/chunks/{event-logger-9rewjmnr.js → image-nn1s08mm.js} +22 -22
  182. package/dist/chunks/{event-logger-2kahjab4.js → image-nr1s5933.js} +20 -20
  183. package/dist/chunks/{event-logger-m7kk9p21.js → image-nrbk2kv0.js} +6 -6
  184. package/dist/chunks/{event-logger-5zm9k7fe.js → image-nsfzc1qf.js} +29 -29
  185. package/dist/chunks/{event-logger-nxm207yx.js → image-nxm207yx.js} +1 -1
  186. package/dist/chunks/{event-logger-k3c624dm.js → image-nzks3jc8.js} +3 -3
  187. package/dist/chunks/{event-logger-eac16bg9.js → image-pf2g5091.js} +50 -50
  188. package/dist/chunks/{event-logger-7pmz6bbz.js → image-pf9vtx43.js} +12 -12
  189. package/dist/chunks/{event-logger-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{event-logger-pknna89w.js → image-pknna89w.js} +1 -1
  191. package/dist/chunks/{event-logger-qafkbnc3.js → image-pq8fxsmn.js} +32 -32
  192. package/dist/chunks/{event-logger-tcay1cqt.js → image-prmgem5b.js} +6 -6
  193. package/dist/chunks/{event-logger-psazpmmj.js → image-psazpmmj.js} +2 -2
  194. package/dist/chunks/{event-logger-s18e97c5.js → image-pxye9d3v.js} +91 -91
  195. package/dist/chunks/{event-logger-cfsekr6v.js → image-py3kkmfq.js} +2 -2
  196. package/dist/chunks/{event-logger-6jvpc8jy.js → image-q6hzchqe.js} +4 -4
  197. package/dist/chunks/image-qc068m1q.js +18 -0
  198. package/dist/chunks/{event-logger-krfw2wza.js → image-qcv1wgnv.js} +10 -10
  199. package/dist/chunks/{event-logger-apn8f15b.js → image-qq8x5mwt.js} +7 -7
  200. package/dist/chunks/{event-logger-qsdy395h.js → image-qsdy395h.js} +1 -1
  201. package/dist/chunks/{event-logger-ntt46qkd.js → image-qww8dk20.js} +23 -23
  202. package/dist/chunks/{event-logger-b3f8fkhc.js → image-qygbw77c.js} +5 -5
  203. package/dist/chunks/{event-logger-07yjvnaz.js → image-qytp0p6t.js} +5 -5
  204. package/dist/chunks/{event-logger-54ma36ye.js → image-r94pvvab.js} +4 -4
  205. package/dist/chunks/{event-logger-wq15az09.js → image-ra8smtek.js} +19 -19
  206. package/dist/chunks/{event-logger-gnxyvke2.js → image-rc92zmyt.js} +23 -23
  207. package/dist/chunks/{event-logger-rdw6cm16.js → image-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{event-logger-1acjjqhc.js → image-rhraev7y.js} +4 -4
  209. package/dist/chunks/{event-logger-427t97hr.js → image-rk1r2hx8.js} +1 -1
  210. package/dist/chunks/{event-logger-pm2ytph1.js → image-rpg9mwd2.js} +27 -28
  211. package/dist/chunks/{event-logger-ba50v45e.js → image-rr741bpx.js} +4 -4
  212. package/dist/chunks/{event-logger-dhmh7aw6.js → image-rwm5vee1.js} +4 -4
  213. package/dist/chunks/{event-logger-xvq5hbj2.js → image-s349tpfq.js} +24 -24
  214. package/dist/chunks/{event-logger-pe642vya.js → image-s7vn0b15.js} +12 -12
  215. package/dist/chunks/{event-logger-h9b27k9k.js → image-sadm9mde.js} +9 -9
  216. package/dist/chunks/{event-logger-s4jagjf8.js → image-sc24egzq.js} +9 -9
  217. package/dist/chunks/{event-logger-s50vkwph.js → image-sez2zsv2.js} +3 -3
  218. package/dist/chunks/{event-logger-3by5zhag.js → image-spr7x8vd.js} +30 -30
  219. package/dist/chunks/{event-logger-kpy4yfav.js → image-syx3683f.js} +1 -1
  220. package/dist/chunks/{event-logger-dfe8djrf.js → image-t9zs3egg.js} +4 -4
  221. package/dist/chunks/{event-logger-tazgh4e4.js → image-tazgh4e4.js} +1 -1
  222. package/dist/chunks/{event-logger-pk4ymh6x.js → image-tbe0yh0n.js} +20 -20
  223. package/dist/chunks/{event-logger-tcezcvh9.js → image-tcezcvh9.js} +1 -1
  224. package/dist/chunks/{event-logger-tdstcens.js → image-tdstcens.js} +1 -1
  225. package/dist/chunks/{event-logger-3whn8bgs.js → image-thwj5qp5.js} +10 -10
  226. package/dist/chunks/{event-logger-4wrkd8nn.js → image-tpew0fxa.js} +7 -7
  227. package/dist/chunks/{event-logger-g8ynk2e5.js → image-ts4697w6.js} +32 -32
  228. package/dist/chunks/{event-logger-tvtrv512.js → image-tvtrv512.js} +1 -1
  229. package/dist/chunks/{event-logger-fkq03hc4.js → image-v08hbz58.js} +18 -18
  230. package/dist/chunks/{event-logger-m6nmcdhk.js → image-v4ya61sm.js} +17 -17
  231. package/dist/chunks/{event-logger-2vgzs72b.js → image-v6ghzfeb.js} +5 -5
  232. package/dist/chunks/{event-logger-qtz788pa.js → image-v9463pt3.js} +22 -22
  233. package/dist/chunks/{event-logger-mwme0r2x.js → image-vdjkcp1a.js} +10 -10
  234. package/dist/chunks/{event-logger-veqvce7d.js → image-veqvce7d.js} +1 -1
  235. package/dist/chunks/{event-logger-5gepjxtb.js → image-vev74ge2.js} +13 -13
  236. package/dist/chunks/{event-logger-e6rgzrg1.js → image-vgxhzj35.js} +11 -11
  237. package/dist/chunks/{event-logger-sz763eb6.js → image-vjjxy6yb.js} +6 -6
  238. package/dist/chunks/{event-logger-4q8h7cm3.js → image-vq4s12sx.js} +30 -30
  239. package/dist/chunks/{event-logger-qbtyy1xv.js → image-vq5ej43a.js} +32 -32
  240. package/dist/chunks/{event-logger-3z4fvzn9.js → image-vrpbqt8c.js} +20 -20
  241. package/dist/chunks/{event-logger-vzcthcp8.js → image-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{event-logger-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{event-logger-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{event-logger-89a25q8r.js → image-w4y2qeev.js} +29 -29
  245. package/dist/chunks/{event-logger-hfpyh3je.js → image-w6s43q3f.js} +11 -11
  246. package/dist/chunks/{event-logger-dy7wbn3s.js → image-wabfeqb8.js} +11 -11
  247. package/dist/chunks/{event-logger-wd87259q.js → image-wd87259q.js} +1 -1
  248. package/dist/chunks/{event-logger-mgyjezvw.js → image-wkkjk60x.js} +41 -41
  249. package/dist/chunks/{event-logger-9zkw4r8w.js → image-wp2da0y2.js} +68 -68
  250. package/dist/chunks/{event-logger-72czns48.js → image-wrbnapbr.js} +3 -3
  251. package/dist/chunks/{event-logger-5kg9mh08.js → image-wxfthr7h.js} +172 -172
  252. package/dist/chunks/{event-logger-vwk34294.js → image-wzbyfwsn.js} +3 -3
  253. package/dist/chunks/{event-logger-xda1fc24.js → image-x1dwmb2w.js} +16 -16
  254. package/dist/chunks/{event-logger-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{event-logger-w3x9v1nk.js → image-x5c3aeq5.js} +8 -8
  256. package/dist/chunks/{event-logger-qc39ajn0.js → image-x7g19880.js} +9 -9
  257. package/dist/chunks/{event-logger-2h7tvynr.js → image-xd3taepx.js} +15 -15
  258. package/dist/chunks/{event-logger-vps92m75.js → image-xdrba4jw.js} +9 -9
  259. package/dist/chunks/{event-logger-g5w8qwbj.js → image-xfkkasph.js} +4 -4
  260. package/dist/chunks/{event-logger-dmqcgk4z.js → image-xkntkrq7.js} +5 -5
  261. package/dist/chunks/{event-logger-wng992rj.js → image-xpb82v70.js} +17 -17
  262. package/dist/chunks/{event-logger-2wva2jkh.js → image-xtf7vn19.js} +17 -17
  263. package/dist/chunks/{event-logger-1sfkerqt.js → image-xzbn3rqq.js} +6 -6
  264. package/dist/chunks/{event-logger-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{event-logger-b0vhkd8y.js → image-y1gke2m2.js} +4 -4
  266. package/dist/chunks/{event-logger-4nh1t5qm.js → image-y4f6tqdt.js} +23 -23
  267. package/dist/chunks/{event-logger-asyqfrs8.js → image-y6bxn8ge.js} +10 -10
  268. package/dist/chunks/image-y8w35d73.js +252 -0
  269. package/dist/chunks/{event-logger-b8gbgwp4.js → image-yc4m8b4c.js} +48 -48
  270. package/dist/chunks/{event-logger-qy24xa0s.js → image-ydz4e7k1.js} +13 -13
  271. package/dist/chunks/{event-logger-9qem93zb.js → image-yfs06vqd.js} +3 -3
  272. package/dist/chunks/{event-logger-qvkn8f97.js → image-ygwcwb09.js} +4 -4
  273. package/dist/chunks/{event-logger-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{event-logger-yrznvahk.js → image-yrznvahk.js} +2 -2
  275. package/dist/chunks/{event-logger-gvtxaj7z.js → image-yvq70187.js} +21 -21
  276. package/dist/chunks/{event-logger-44ak30pa.js → image-ywxndyv1.js} +4 -4
  277. package/dist/chunks/{event-logger-mgtej8q6.js → image-yzyn3x45.js} +28 -28
  278. package/dist/chunks/{event-logger-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{event-logger-z63w68vq.js → image-z63w68vq.js} +2 -2
  280. package/dist/chunks/{event-logger-wv2pvdd1.js → image-z844dt8c.js} +22 -22
  281. package/dist/chunks/{event-logger-7k2avqd9.js → image-z8a1da1q.js} +21 -21
  282. package/dist/chunks/{event-logger-jtjn351v.js → image-z8dtv2mk.js} +16 -16
  283. package/dist/chunks/{event-logger-5wxrmrks.js → image-zd755v0h.js} +7 -7
  284. package/dist/chunks/{event-logger-fxrhgb5s.js → image-zeffrx5b.js} +5 -5
  285. package/dist/chunks/{event-logger-rq775frq.js → image-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{event-logger-8bwjdssr.js → image-zen14cpe.js} +13 -13
  287. package/dist/chunks/{event-logger-6hhet5rf.js → image-zm1zrekh.js} +11 -11
  288. package/dist/chunks/{event-logger-jv4989nc.js → image-zqerc4cv.js} +21 -21
  289. package/dist/chunks/{event-logger-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{event-logger-xhjp5ndj.js → image-zrr907e3.js} +10 -10
  291. package/dist/chunks/{event-logger-zxq2ej10.js → image-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{event-logger-k8kza4t3.js → image-zxwpcx7f.js} +12 -12
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +121 -121
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +120 -120
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +74 -74
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +99 -99
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +85 -85
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +103 -103
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -100
  484. package/dist/models-dev.js +101 -101
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +109 -109
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +78 -78
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +124 -124
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +96 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +74 -74
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +6 -6
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +97 -97
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +97 -97
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +85 -85
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +82 -82
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +3 -3
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +133 -133
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +225 -225
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +118 -118
  597. package/dist/session/model-transport.js +7 -7
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +221 -221
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +219 -219
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +122 -122
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +218 -218
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/types/model.d.ts +6 -0
  660. package/dist/types/v1/config/migrate.d.ts +3 -3
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +5 -5
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +91 -91
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +82 -82
  691. package/dist/wellknown/plugin.js +74 -74
  692. package/dist/wellknown.js +79 -79
  693. package/dist/workspace/driver.js +5 -5
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +80 -80
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +8 -8
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +85 -85
  700. package/dist/worktree.js +92 -92
  701. package/package.json +8 -8
  702. package/dist/chunks/event-logger-g013tbqx.js +0 -26
  703. package/dist/chunks/event-logger-rap9a73h.js +0 -18
  704. package/dist/chunks/event-logger-z0wm06r0.js +0 -252
  705. /package/dist/chunks/{event-logger-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{event-logger-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{event-logger-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{event-logger-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{event-logger-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{event-logger-24dcb14g.js → image-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{event-logger-2710q6r3.js → image-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{event-logger-2axfhc9x.js → image-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{event-logger-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{event-logger-34c7v6d4.js → image-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{event-logger-359p4xyc.js → image-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{event-logger-3asan66x.js → image-3asan66x.js} +0 -0
  717. /package/dist/chunks/{event-logger-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{event-logger-3w5fmr99.js → image-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{event-logger-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{event-logger-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{event-logger-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{event-logger-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{event-logger-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{event-logger-53557ph1.js → image-53557ph1.js} +0 -0
  725. /package/dist/chunks/{event-logger-550bvhaj.js → image-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{event-logger-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{event-logger-6prwharc.js → image-6prwharc.js} +0 -0
  728. /package/dist/chunks/{event-logger-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{event-logger-7m9af43g.js → image-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{event-logger-822emrt2.js → image-822emrt2.js} +0 -0
  731. /package/dist/chunks/{event-logger-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{event-logger-8n3pysct.js → image-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{event-logger-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{event-logger-922hggd3.js → image-922hggd3.js} +0 -0
  735. /package/dist/chunks/{event-logger-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{event-logger-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{event-logger-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{event-logger-af5trqkr.js → image-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{event-logger-afrmfg78.js → image-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{event-logger-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{event-logger-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{event-logger-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{event-logger-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{event-logger-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{event-logger-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{event-logger-d9fn303g.js → image-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{event-logger-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{event-logger-dajrwvna.js → image-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{event-logger-dap0rakb.js → image-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{event-logger-df08tz66.js → image-df08tz66.js} +0 -0
  751. /package/dist/chunks/{event-logger-dy18nga0.js → image-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{event-logger-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{event-logger-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{event-logger-ec1grn59.js → image-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{event-logger-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{event-logger-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{event-logger-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{event-logger-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{event-logger-faypxj3z.js → image-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{event-logger-fd410y7t.js → image-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{event-logger-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{event-logger-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{event-logger-g86h250q.js → image-g86h250q.js} +0 -0
  764. /package/dist/chunks/{event-logger-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{event-logger-gftt206x.js → image-gftt206x.js} +0 -0
  766. /package/dist/chunks/{event-logger-hjbc5kem.js → image-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{event-logger-hk9envan.js → image-hk9envan.js} +0 -0
  768. /package/dist/chunks/{event-logger-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{event-logger-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{event-logger-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{event-logger-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{event-logger-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{event-logger-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{event-logger-mp448xyj.js → image-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{event-logger-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{event-logger-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{event-logger-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{event-logger-njntx4h6.js → image-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{event-logger-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{event-logger-q74kybfr.js → image-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{event-logger-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{event-logger-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{event-logger-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{event-logger-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{event-logger-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{event-logger-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{event-logger-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{event-logger-sk3qaz4a.js → image-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{event-logger-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{event-logger-w803qqfp.js → image-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{event-logger-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{event-logger-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{event-logger-wtztk69x.js → image-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{event-logger-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{event-logger-x61499pn.js → image-x61499pn.js} +0 -0
  796. /package/dist/chunks/{event-logger-y44na4kk.js → image-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{event-logger-y8cydn3q.js → image-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{event-logger-y8f7s663.js → image-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{event-logger-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{event-logger-ym463w8f.js → image-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{event-logger-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service79,
3
- node82
4
- } from "./event-logger-jtjn351v.js";
2
+ Service80,
3
+ node84
4
+ } from "./image-z8dtv2mk.js";
5
5
  import {
6
6
  Key3,
7
- make21,
7
+ make22,
8
8
  combine2
9
- } from "./event-logger-s8d7rejh.js";
9
+ } from "./image-9t7a50xb.js";
10
10
  import {
11
11
  __export
12
- } from "./event-logger-9rqn6x4v.js";
12
+ } from "./image-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service36,
19
- node: () => node39
18
+ Service: () => Service33,
19
+ node: () => node37
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service36 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service33 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service36, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service79;
29
- return Service36.of({
28
+ const location = yield* Service80;
29
+ return Service33.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make21({
31
+ make22({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make21({
40
+ make22({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node39 = makeLocationNode({ service: Service36, layer, deps: [Global.node, node82] });
63
+ var node37 = makeLocationNode({ service: Service33, layer, deps: [Global.node, node84] });
64
64
 
65
- export { Service36, node39, exports_builtins };
65
+ export { Service33, node37, exports_builtins };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./event-logger-dy7wbn3s.js";
3
+ } from "./image-wabfeqb8.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./image-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin3,
11
+ Plugin: () => Plugin17,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint3 = "https://api.tavily.com/search";
18
+ var endpoint2 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin3 = define({
32
+ var Plugin17 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin3 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin3 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin3, exports_tavily };
80
+ export { endpoint2, Plugin17, exports_tavily };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./event-logger-vwk34294.js";
4
+ } from "./image-wzbyfwsn.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./event-logger-bjtzbw4r.js";
8
+ } from "./image-bjtzbw4r.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load5
12
- } from "./event-logger-qsf46761.js";
12
+ } from "./image-e1gx0x5b.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./event-logger-b09hzw3k.js";
15
+ } from "./image-a3r4dcrj.js";
16
16
  import {
17
17
  __export
18
- } from "./event-logger-9rqn6x4v.js";
18
+ } from "./image-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput5,
24
- Service: () => Service65,
24
+ Service: () => Service68,
25
25
  SessionStore: () => exports_store,
26
- node: () => node68
26
+ node: () => node72
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service65 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service68 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service65, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
58
58
  const { db } = yield* Service84;
59
- return Service65.of({
59
+ return Service68.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node68 = makeGlobalNode({ service: Service65, layer, deps: [node88] });
128
+ var node72 = makeGlobalNode({ service: Service68, layer, deps: [node88] });
129
129
 
130
- export { ListInput5, Service65, node68, exports_store };
130
+ export { ListInput5, Service68, node72, exports_store };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./event-logger-mpk0rfs5.js";
3
+ } from "./image-dnxkq42g.js";
4
4
  import {
5
- Service82
6
- } from "./event-logger-2bx4t2ca.js";
5
+ Service83
6
+ } from "./image-dweptn8x.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./event-logger-96p7brnx.js";
9
+ Event20
10
+ } from "./image-e1vxf24z.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./event-logger-hnnwg8mk.js";
14
+ } from "./image-87sgw6dv.js";
15
15
  import {
16
- ID12,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service74
20
- } from "./event-logger-4x85amra.js";
19
+ Service75
20
+ } from "./image-8c98pape.js";
21
21
  import {
22
- ID11
23
- } from "./event-logger-r4fq1cvf.js";
22
+ ID12
23
+ } from "./image-csx9mte4.js";
24
24
  import {
25
- load2,
26
- derive2
27
- } from "./event-logger-wv2pvdd1.js";
25
+ load3,
26
+ derive3
27
+ } from "./image-z844dt8c.js";
28
28
  import {
29
29
  useragent2
30
- } from "./event-logger-dy7wbn3s.js";
30
+ } from "./image-wabfeqb8.js";
31
31
  import {
32
- ID9
33
- } from "./event-logger-xvq5hbj2.js";
32
+ ID10
33
+ } from "./image-s349tpfq.js";
34
34
  import {
35
- get5
36
- } from "./event-logger-54ma36ye.js";
35
+ get4
36
+ } from "./image-r94pvvab.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID13.make("github-copilot"),
68
+ integrationID: ID14.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,8 +163,8 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service74;
167
- const bus = yield* Service82;
166
+ const providers = yield* Service75;
167
+ const bus = yield* Service83;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
170
170
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID12.githubCopilot);
183
+ const provider = yield* providers.get(ID13.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
- try: () => load2(url, {
185
+ try: () => load3(url, {
186
186
  ...provider?.headers,
187
187
  Authorization: `Bearer ${credential.refresh}`,
188
188
  "User-Agent": useragent2(ctx.app),
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID12.githubCopilot);
205
+ const item = evt.get(ID13.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
209
209
  evt.add({
210
210
  info: item.provider,
211
- models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
211
+ models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
212
  sourceConnection: loaded.connection
213
213
  });
214
214
  return;
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
222
222
  }
223
223
  });
224
224
  yield* ctx.model.transform((models) => {
225
- if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
226
- models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
225
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
226
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
227
227
  model.enabled = false;
228
228
  });
229
229
  }
230
230
  });
231
231
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
232
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
232
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
233
233
  yield* refresh().pipe(Effect.forkScoped);
234
234
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
235
- if (evt.model.providerID !== ID12.githubCopilot)
235
+ if (evt.model.providerID !== ID13.githubCopilot)
236
236
  return;
237
237
  if (evt.package !== "@ai-sdk/github-copilot")
238
238
  return;
@@ -241,23 +241,23 @@ var GithubCopilotPlugin2 = define({
241
241
  evt.sdk = mod.createOpenaiCompatible(evt.options);
242
242
  }));
243
243
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
244
- if (evt.model.providerID !== ID12.githubCopilot)
244
+ if (evt.model.providerID !== ID13.githubCopilot)
245
245
  return;
246
246
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
247
247
  return;
248
248
  }));
249
249
  const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
250
250
  evt.headers["X-Interaction-Type"] = interaction;
251
- evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
251
+ evt.headers["X-Interaction-Id"] = session ? get4(session) : evt.sessionID;
252
252
  if (interaction !== "conversation-agent")
253
253
  evt.headers["x-initiator"] = "agent";
254
- }), { providerID: ID12.githubCopilot });
254
+ }), { providerID: ID13.githubCopilot });
255
255
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
256
- if (evt.model.providerID !== ID12.githubCopilot)
256
+ if (evt.model.providerID !== ID13.githubCopilot)
257
257
  return;
258
258
  if (!loaded.baseURL || !loaded.token || !loaded.models)
259
259
  return;
260
- const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
260
+ const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
261
261
  return;
262
262
  }));
263
263
  if (agent?.data.model)
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
268
268
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
- }), { providerID: ID12.githubCopilot });
271
+ }), { providerID: ID13.githubCopilot });
272
272
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
273
- if (evt.model.providerID !== ID12.githubCopilot)
273
+ if (evt.model.providerID !== ID13.githubCopilot)
274
274
  return;
275
275
  const token = evt.request.headers.get("x-api-key");
276
276
  if (!token)
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
278
278
  const text = yield* Effect.promise(() => evt.request.clone().text());
279
279
  const body = Option.getOrUndefined(decodeBody(text));
280
280
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
281
- }), { providerID: ID12.githubCopilot });
281
+ }), { providerID: ID13.githubCopilot });
282
282
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
283
- if (evt.model.providerID !== ID12.githubCopilot)
283
+ if (evt.model.providerID !== ID13.githubCopilot)
284
284
  return;
285
285
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
286
286
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./event-logger-2bx4t2ca.js";
2
+ Service83,
3
+ node87
4
+ } from "./image-dweptn8x.js";
5
5
  import {
6
6
  Key4,
7
- Service76,
8
- node79
9
- } from "./event-logger-96p7brnx.js";
7
+ Service78,
8
+ node82
9
+ } from "./image-e1vxf24z.js";
10
10
  import {
11
11
  create3
12
- } from "./event-logger-rdw6cm16.js";
12
+ } from "./image-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./event-logger-mpk0rfs5.js";
15
+ } from "./image-dnxkq42g.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./event-logger-asyqfrs8.js";
19
+ } from "./image-y6bxn8ge.js";
20
20
  import {
21
21
  __export
22
- } from "./event-logger-9rqn6x4v.js";
22
+ } from "./image-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -35,16 +35,16 @@ __export(exports_integration, {
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
37
  Event: () => Event18,
38
- ID: () => ID13,
39
- Info: () => Info27,
38
+ ID: () => ID14,
39
+ Info: () => Info28,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service75,
47
- node: () => node78
46
+ Service: () => Service76,
47
+ node: () => node80
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -67,7 +67,7 @@ import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
69
  import { Event as Event18 } from "@opencode/schema/integration";
70
- var ID13 = Integration.ID;
70
+ var ID14 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info27 = Integration.Info;
78
+ var Info28 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,20 +98,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID13,
101
+ integrationID: ID14,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service75 extends Context.Service()("@opencode/Integration") {
107
+ class Service76 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service75, Effect.gen(function* () {
113
- const credentials = yield* Service76;
114
- const bus = yield* Service82;
112
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
113
+ const credentials = yield* Service78;
114
+ const bus = yield* Service83;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
117
117
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info27.make({
210
+ const project = (entry, connections) => Info28.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service75.of({
443
+ return Service76.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node78 = makeLocationNode({
603
- service: Service75,
602
+ var node80 = makeLocationNode({
603
+ service: Service76,
604
604
  layer,
605
- deps: [node79, node85, AppProcess.node]
605
+ deps: [node82, node87, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info27, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node78, exports_integration, Event18 };
608
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./event-logger-922hggd3.js";
3
+ } from "./image-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./event-logger-mjymc32g.js";
6
+ } from "./image-f3ngv102.js";
7
7
  import {
8
- Info10
9
- } from "./event-logger-kfvedqw3.js";
10
- import {
11
- Info12
12
- } from "./event-logger-5sj81wm5.js";
8
+ Info17
9
+ } from "./image-3pbjq009.js";
13
10
  import {
14
- Info14
15
- } from "./event-logger-fdv30zvt.js";
11
+ Info15
12
+ } from "./image-3w0fmcng.js";
16
13
  import {
17
14
  Info16
18
- } from "./event-logger-vdzspbnc.js";
15
+ } from "./image-b27vhd2z.js";
16
+ import {
17
+ Info12
18
+ } from "./image-hkfg6fzm.js";
19
19
  import {
20
20
  Spec2
21
- } from "./event-logger-qgn6gcr1.js";
21
+ } from "./image-7dqw4kz8.js";
22
22
  import {
23
- Info13
24
- } from "./event-logger-t3swkhbg.js";
23
+ Info14
24
+ } from "./image-0r7yqxbf.js";
25
25
  import {
26
- Info9
27
- } from "./event-logger-xn4rdr4r.js";
26
+ Info10
27
+ } from "./image-3pemy4mj.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./event-logger-qvkn8f97.js";
36
+ } from "./image-ygwcwb09.js";
37
37
  import {
38
38
  __export
39
- } from "./event-logger-9rqn6x4v.js";
39
+ } from "./image-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info12, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info16, value, path, diagnostics);
228
+ const server = decodeValue(Info12, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info13, raw, path, diagnostics);
424
+ const provider = decodeValue(Info14, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);