@opencode/core 0.0.0-dev-21920 → 0.0.0-dev-44

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 (849) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{wellknown-034tev2y.js → workspace-034tev2y.js} +2 -2
  8. package/dist/chunks/{wellknown-2320mcv1.js → workspace-03cg90a5.js} +34 -32
  9. package/dist/chunks/{wellknown-zyz0cj63.js → workspace-05hcn35g.js} +53 -46
  10. package/dist/chunks/{wellknown-wdvzjwq2.js → workspace-0b2278mc.js} +62 -62
  11. package/dist/chunks/{wellknown-9y8xp722.js → workspace-0cxeed95.js} +6 -6
  12. package/dist/chunks/{wellknown-bqct9qsz.js → workspace-0wtxmv38.js} +18 -14
  13. package/dist/chunks/{wellknown-ntpfk5qx.js → workspace-0x9e628c.js} +36 -36
  14. package/dist/chunks/{wellknown-npjtk884.js → workspace-0yt736da.js} +22 -22
  15. package/dist/chunks/{wellknown-5j9hygp5.js → workspace-115742jf.js} +31 -31
  16. package/dist/chunks/{wellknown-x8nvjgx0.js → workspace-11hfp36g.js} +4 -4
  17. package/dist/chunks/{wellknown-8hhyjxtn.js → workspace-1b28s763.js} +15 -15
  18. package/dist/chunks/{wellknown-4skqtp9p.js → workspace-1bb8zgeb.js} +8 -8
  19. package/dist/chunks/{wellknown-tyy5np2s.js → workspace-1bssk9xk.js} +5 -5
  20. package/dist/chunks/{wellknown-cxxq6shy.js → workspace-1e9r6beh.js} +15 -15
  21. package/dist/chunks/{wellknown-1ep2p91f.js → workspace-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{wellknown-wdmx20pv.js → workspace-1j0p5zqx.js} +5 -5
  23. package/dist/chunks/{wellknown-5fjb7ams.js → workspace-1jakw16s.js} +2 -2
  24. package/dist/chunks/{wellknown-gtn9c16a.js → workspace-1kn6jdkn.js} +4 -4
  25. package/dist/chunks/{wellknown-yn1q185v.js → workspace-1rdpnva5.js} +21 -21
  26. package/dist/chunks/{wellknown-1x2knyw4.js → workspace-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{wellknown-h2hkggp3.js → workspace-1yms9fvm.js} +25 -25
  28. package/dist/chunks/{wellknown-204s3925.js → workspace-204s3925.js} +1 -1
  29. package/dist/chunks/{wellknown-ke5gy3tk.js → workspace-21g12dr6.js} +43 -43
  30. package/dist/chunks/{wellknown-dhfzyyxh.js → workspace-25wbv3kn.js} +11 -11
  31. package/dist/chunks/{wellknown-vr1p6ca4.js → workspace-26asr065.js} +11 -11
  32. package/dist/chunks/{wellknown-3ech5htw.js → workspace-2q3pw4f4.js} +5 -5
  33. package/dist/chunks/{wellknown-0w2jttgf.js → workspace-2w13yf8v.js} +2 -2
  34. package/dist/chunks/{wellknown-zrz12vnv.js → workspace-2z0bbf9q.js} +11 -11
  35. package/dist/chunks/{wellknown-qqhrz1wm.js → workspace-31h7jx7a.js} +48 -37
  36. package/dist/chunks/{wellknown-yxnn9e9b.js → workspace-32s63gzk.js} +21 -23
  37. package/dist/chunks/{wellknown-s6t1b4j6.js → workspace-3a7vrk06.js} +11 -11
  38. package/dist/chunks/{wellknown-5gdxwc09.js → workspace-3d1z145j.js} +24 -24
  39. package/dist/chunks/{wellknown-cyrrj3vn.js → workspace-3h9vfbt2.js} +16 -16
  40. package/dist/chunks/{wellknown-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{wellknown-0tpkjg9c.js → workspace-3j1m3tq4.js} +11 -5
  42. package/dist/chunks/{wellknown-3nnrz6f6.js → workspace-3nnrz6f6.js} +1 -1
  43. package/dist/chunks/{wellknown-gc2j9cqs.js → workspace-3tkbzst4.js} +8 -8
  44. package/dist/chunks/{wellknown-wgxkdtrn.js → workspace-3vf9nnam.js} +9 -9
  45. package/dist/chunks/{wellknown-h8v7ynv1.js → workspace-3xtarm87.js} +8 -8
  46. package/dist/chunks/{wellknown-whnxx8mv.js → workspace-41gw1q61.js} +19 -19
  47. package/dist/chunks/{wellknown-w7n30nfw.js → workspace-4f77jkmz.js} +22 -22
  48. package/dist/chunks/{wellknown-bf3y8h5f.js → workspace-4n4j58bv.js} +219 -200
  49. package/dist/chunks/{wellknown-4pyp9zr9.js → workspace-4pyp9zr9.js} +1 -1
  50. package/dist/chunks/{wellknown-dj3vwt7t.js → workspace-4r0ztz0m.js} +7 -7
  51. package/dist/chunks/{wellknown-4v008n1t.js → workspace-4v008n1t.js} +1 -1
  52. package/dist/chunks/{wellknown-ttz88pvr.js → workspace-4watfg9m.js} +11 -11
  53. package/dist/chunks/{wellknown-apsy5ahh.js → workspace-51em56x4.js} +13 -10
  54. package/dist/chunks/{wellknown-40za9wsf.js → workspace-5enarcya.js} +6 -6
  55. package/dist/chunks/{wellknown-j2renyjr.js → workspace-5m8pjz4h.js} +30 -30
  56. package/dist/chunks/{wellknown-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{wellknown-y952b79c.js → workspace-5sxvsbaz.js} +17 -17
  58. package/dist/chunks/{wellknown-nf3nsvxh.js → workspace-5x26af84.js} +4 -4
  59. package/dist/chunks/{wellknown-18tp64nm.js → workspace-608ahxn3.js} +4 -4
  60. package/dist/chunks/{wellknown-sh36jtyp.js → workspace-6739jmjn.js} +5 -5
  61. package/dist/chunks/{wellknown-qse3wkg3.js → workspace-6c09pra0.js} +23 -23
  62. package/dist/chunks/{wellknown-6esdw8yj.js → workspace-6esdw8yj.js} +1 -1
  63. package/dist/chunks/{wellknown-05ps92hd.js → workspace-6f9jk43g.js} +27 -27
  64. package/dist/chunks/{wellknown-pevtk2h0.js → workspace-6kasyq0d.js} +6 -4
  65. package/dist/chunks/{wellknown-7g90vjnc.js → workspace-6n180eb9.js} +35 -35
  66. package/dist/chunks/{wellknown-s2tx6bjs.js → workspace-6sqa993f.js} +9 -9
  67. package/dist/chunks/{wellknown-8p5baybq.js → workspace-6xqtcmxs.js} +5 -5
  68. package/dist/chunks/{wellknown-hrtx3eh0.js → workspace-70s3x0a6.js} +31 -32
  69. package/dist/chunks/{wellknown-vxr65stp.js → workspace-71gcaexf.js} +27 -27
  70. package/dist/chunks/{wellknown-rww2kjr8.js → workspace-755bmxs3.js} +10 -10
  71. package/dist/chunks/{wellknown-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{wellknown-c1pf56e9.js → workspace-7jhsbrss.js} +14 -14
  73. package/dist/chunks/{wellknown-1hvsjts9.js → workspace-7pa3t2xk.js} +11 -11
  74. package/dist/chunks/{wellknown-fhym6smd.js → workspace-7qdazcae.js} +11 -11
  75. package/dist/chunks/{wellknown-7w2ypzdf.js → workspace-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{wellknown-2r4zmzmb.js → workspace-830eskpr.js} +30 -30
  77. package/dist/chunks/{wellknown-8tvz9phv.js → workspace-8hsrsqw0.js} +30 -30
  78. package/dist/chunks/{wellknown-ky596kc3.js → workspace-8r9nj4s8.js} +4 -4
  79. package/dist/chunks/{wellknown-8wtp7s3z.js → workspace-8wtp7s3z.js} +1 -1
  80. package/dist/chunks/workspace-8yc2jv87.js +257 -0
  81. package/dist/chunks/{wellknown-y8fjqfz6.js → workspace-90a4dvkd.js} +18 -18
  82. package/dist/chunks/{wellknown-maspj1v3.js → workspace-90zstvax.js} +44 -8
  83. package/dist/chunks/workspace-99yevx5r.js +513 -0
  84. package/dist/chunks/{wellknown-9cx9sm2q.js → workspace-9cx9sm2q.js} +1 -1
  85. package/dist/chunks/{wellknown-42e9prds.js → workspace-9era1v6z.js} +51 -51
  86. package/dist/chunks/{wellknown-pw0pep3j.js → workspace-9gadynp5.js} +23 -23
  87. package/dist/chunks/{wellknown-d04j6t4g.js → workspace-9ha38bm5.js} +4 -4
  88. package/dist/chunks/{wellknown-1er5yem5.js → workspace-9phxzr4p.js} +25 -25
  89. package/dist/chunks/{wellknown-hk78j51y.js → workspace-9r7wjzbr.js} +46 -46
  90. package/dist/chunks/{wellknown-0anyt1n6.js → workspace-9z9tayqc.js} +5 -5
  91. package/dist/chunks/{wellknown-q3zk63qm.js → workspace-a6h2hm85.js} +54 -54
  92. package/dist/chunks/{wellknown-kmzgegqq.js → workspace-aedwt843.js} +8 -8
  93. package/dist/chunks/{wellknown-gspvz5np.js → workspace-afyka953.js} +9 -9
  94. package/dist/chunks/{wellknown-v4wa8mpc.js → workspace-akmjs5z5.js} +44 -44
  95. package/dist/chunks/{wellknown-vjmaafeq.js → workspace-amkjttct.js} +7 -7
  96. package/dist/chunks/{wellknown-vavkps5a.js → workspace-amxp7tb6.js} +22 -20
  97. package/dist/chunks/{wellknown-de619e1b.js → workspace-awztprj3.js} +5 -3
  98. package/dist/chunks/{wellknown-ayjs7tqn.js → workspace-ayjs7tqn.js} +2 -2
  99. package/dist/chunks/{wellknown-qnr57htg.js → workspace-b19sr9k5.js} +29 -29
  100. package/dist/chunks/workspace-b1bdn9ww.js +18 -0
  101. package/dist/chunks/{wellknown-h362shv8.js → workspace-b50bzspk.js} +4 -4
  102. package/dist/chunks/{wellknown-b6vsg801.js → workspace-b6vsg801.js} +2 -2
  103. package/dist/chunks/{wellknown-jtzgr0na.js → workspace-befcg3vk.js} +10 -10
  104. package/dist/chunks/{wellknown-wjj7prxr.js → workspace-beh6qq61.js} +11 -0
  105. package/dist/chunks/{wellknown-mfnjseb2.js → workspace-bffx5779.js} +16 -16
  106. package/dist/chunks/{wellknown-gcjdgkn2.js → workspace-bgm817xr.js} +9 -9
  107. package/dist/chunks/{wellknown-7zefs2yx.js → workspace-bj6yd2m6.js} +11 -11
  108. package/dist/chunks/{wellknown-bstexjd6.js → workspace-bstexjd6.js} +1 -1
  109. package/dist/chunks/{wellknown-qgp6m71r.js → workspace-btvs6m9s.js} +27 -27
  110. package/dist/chunks/{wellknown-kkg9xr14.js → workspace-c7k55dj2.js} +1 -1
  111. package/dist/chunks/{wellknown-yefdp956.js → workspace-cayjy6n6.js} +18 -18
  112. package/dist/chunks/{wellknown-vxxrrfe0.js → workspace-ckzatb6h.js} +9 -9
  113. package/dist/chunks/{wellknown-q9wnq509.js → workspace-cpzhveq8.js} +4 -4
  114. package/dist/chunks/{wellknown-sdtzry9x.js → workspace-ctxfhcf9.js} +11 -11
  115. package/dist/chunks/{wellknown-b0mv4wxm.js → workspace-cwrgdav8.js} +2 -2
  116. package/dist/chunks/{wellknown-q80bq26q.js → workspace-cyxjym35.js} +6 -6
  117. package/dist/chunks/{wellknown-ssfehs1z.js → workspace-d2887f8n.js} +4 -4
  118. package/dist/chunks/{wellknown-d4v9tmah.js → workspace-d4v9tmah.js} +2 -2
  119. package/dist/chunks/{wellknown-2kzj9rs3.js → workspace-d7mpa99n.js} +86 -86
  120. package/dist/chunks/{wellknown-53g6s4ag.js → workspace-d80v8vzq.js} +26 -24
  121. package/dist/chunks/{wellknown-m75bxvp1.js → workspace-dk4vvp25.js} +26 -26
  122. package/dist/chunks/{wellknown-t4y7ct23.js → workspace-dm94hefv.js} +48 -48
  123. package/dist/chunks/{wellknown-j81g92s0.js → workspace-drvbhkez.js} +8 -8
  124. package/dist/chunks/{wellknown-j113cymg.js → workspace-dt77769w.js} +2 -2
  125. package/dist/chunks/{wellknown-rqspxrc1.js → workspace-dw8ve4v4.js} +10 -11
  126. package/dist/chunks/{wellknown-rwvswa9y.js → workspace-dwwyec8z.js} +6 -6
  127. package/dist/chunks/{wellknown-7dfq0tqd.js → workspace-dynac9eb.js} +13 -13
  128. package/dist/chunks/{wellknown-pcc6rjnf.js → workspace-e07q2w5p.js} +4 -4
  129. package/dist/chunks/{wellknown-mb9k54pt.js → workspace-e471twwt.js} +8 -8
  130. package/dist/chunks/{wellknown-e834z07m.js → workspace-e834z07m.js} +1 -1
  131. package/dist/chunks/{wellknown-q9c81yt7.js → workspace-e8jqfb1a.js} +15 -15
  132. package/dist/chunks/{wellknown-r5zh54gw.js → workspace-ehk1qjjw.js} +52 -52
  133. package/dist/chunks/{wellknown-0f80a8fy.js → workspace-ep0wsmvm.js} +33 -32
  134. package/dist/chunks/{wellknown-xf88twea.js → workspace-ery7kzhb.js} +2 -2
  135. package/dist/chunks/{wellknown-7yhc6exb.js → workspace-ey35m0mc.js} +9 -9
  136. package/dist/chunks/{wellknown-hwrqw3h8.js → workspace-ez0rpz4z.js} +40 -40
  137. package/dist/chunks/{wellknown-hnj5zxrz.js → workspace-f9bbcs0x.js} +12 -12
  138. package/dist/chunks/{wellknown-fffv3p7h.js → workspace-fffv3p7h.js} +1 -1
  139. package/dist/chunks/{wellknown-fg9p65nk.js → workspace-fg9p65nk.js} +2 -2
  140. package/dist/chunks/{wellknown-xqf52ny9.js → workspace-fp8mkx0f.js} +35 -22
  141. package/dist/chunks/{wellknown-m6kv1khg.js → workspace-frhk2vn3.js} +5 -5
  142. package/dist/chunks/{wellknown-0ft0yr9w.js → workspace-fs0zc2gt.js} +6 -6
  143. package/dist/chunks/{wellknown-fb4cnss3.js → workspace-fxcaqc0y.js} +13 -13
  144. package/dist/chunks/{wellknown-60maxesw.js → workspace-g1whzzn7.js} +4 -4
  145. package/dist/chunks/{wellknown-pw6gcn4x.js → workspace-g5hey3vt.js} +12 -12
  146. package/dist/chunks/{wellknown-2vgv6k8t.js → workspace-g9navxqt.js} +13 -13
  147. package/dist/chunks/{wellknown-gg8p9cgs.js → workspace-gg8p9cgs.js} +3 -3
  148. package/dist/chunks/{wellknown-8bfs1sgm.js → workspace-gsm10rvf.js} +35 -35
  149. package/dist/chunks/{wellknown-nw3bgfm4.js → workspace-gxk0f8v3.js} +12 -12
  150. package/dist/chunks/{wellknown-ksffszx3.js → workspace-gxqvyt19.js} +5 -5
  151. package/dist/chunks/{wellknown-jnmyx7e4.js → workspace-h5edevtj.js} +78 -78
  152. package/dist/chunks/{wellknown-v0hcd9zv.js → workspace-h7mq0gsg.js} +2 -2
  153. package/dist/chunks/{wellknown-xfap1w58.js → workspace-h8ydc4kt.js} +14 -14
  154. package/dist/chunks/{wellknown-18m168yb.js → workspace-haxfm848.js} +11 -11
  155. package/dist/chunks/{wellknown-xnh55p1t.js → workspace-hfgk9wzg.js} +7 -7
  156. package/dist/chunks/{wellknown-p7h66p9t.js → workspace-hfqt73mn.js} +11 -11
  157. package/dist/chunks/{wellknown-zb5gs1ba.js → workspace-hm291q16.js} +3 -3
  158. package/dist/chunks/{wellknown-6pjqjmy2.js → workspace-hpg1pkwy.js} +2 -2
  159. package/dist/chunks/{wellknown-wbbfqag7.js → workspace-hr7waqx2.js} +12 -12
  160. package/dist/chunks/{wellknown-90gp0j9c.js → workspace-ht34p3rm.js} +3 -3
  161. package/dist/chunks/{wellknown-47dnmp34.js → workspace-hvw13sdg.js} +19 -19
  162. package/dist/chunks/{wellknown-mvj8zay5.js → workspace-j5sbsz7w.js} +15 -15
  163. package/dist/chunks/{wellknown-3v67cre7.js → workspace-j6v813za.js} +54 -38
  164. package/dist/chunks/{wellknown-15xz4cvy.js → workspace-jergy4yb.js} +7 -7
  165. package/dist/chunks/{wellknown-91rj84md.js → workspace-jfaecv01.js} +2 -2
  166. package/dist/chunks/{wellknown-9ytkwk8q.js → workspace-jn88007r.js} +9 -9
  167. package/dist/chunks/{wellknown-4campf80.js → workspace-jnyr2zd2.js} +4 -4
  168. package/dist/chunks/{wellknown-d0gx834n.js → workspace-jskh73wk.js} +21 -21
  169. package/dist/chunks/{wellknown-g5h9c0rr.js → workspace-jtnps1zs.js} +2 -2
  170. package/dist/chunks/{wellknown-9dtf119m.js → workspace-jzavwc5a.js} +13 -13
  171. package/dist/chunks/{wellknown-2qbjrve9.js → workspace-k6ng50pn.js} +5 -5
  172. package/dist/chunks/{wellknown-k814nvkf.js → workspace-k814nvkf.js} +1 -1
  173. package/dist/chunks/{wellknown-ewz324b7.js → workspace-k8ndw37r.js} +53 -53
  174. package/dist/chunks/{wellknown-ecwctf3g.js → workspace-k8pk7m1a.js} +32 -32
  175. package/dist/chunks/{wellknown-wnjd27sh.js → workspace-ka4q668c.js} +18 -18
  176. package/dist/chunks/{wellknown-1xr13nyq.js → workspace-kb4jv8gq.js} +22 -22
  177. package/dist/chunks/{wellknown-xvd6zczk.js → workspace-kkv0936x.js} +21 -21
  178. package/dist/chunks/{wellknown-eb0ebbza.js → workspace-kqg80s2x.js} +21 -21
  179. package/dist/chunks/{wellknown-14dcnwrx.js → workspace-krq85k1q.js} +4 -4
  180. package/dist/chunks/{wellknown-kt3bjfbg.js → workspace-kt3bjfbg.js} +1 -1
  181. package/dist/chunks/{wellknown-2wdrepbb.js → workspace-kww0x7wp.js} +20 -20
  182. package/dist/chunks/{wellknown-zqtsax9d.js → workspace-m061cbn2.js} +22 -22
  183. package/dist/chunks/{wellknown-m1714858.js → workspace-m1714858.js} +1 -1
  184. package/dist/chunks/{wellknown-kxymkrsz.js → workspace-m9ptjqeh.js} +9 -9
  185. package/dist/chunks/{wellknown-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{wellknown-w2cmnvxm.js → workspace-mc5hffvt.js} +13 -13
  187. package/dist/chunks/{wellknown-v0t96s7a.js → workspace-mmx1mfjr.js} +4 -4
  188. package/dist/chunks/{wellknown-724c9pfv.js → workspace-my7hrdx3.js} +12 -12
  189. package/dist/chunks/{wellknown-t20d8q3a.js → workspace-n037b2rv.js} +15 -12
  190. package/dist/chunks/{wellknown-1yww55sr.js → workspace-n4njqkes.js} +28 -28
  191. package/dist/chunks/{wellknown-w5cna773.js → workspace-n4yb62ce.js} +29 -29
  192. package/dist/chunks/{wellknown-djjzzs3c.js → workspace-n66c6y3m.js} +6 -6
  193. package/dist/chunks/{wellknown-nah043kf.js → workspace-nah043kf.js} +1 -1
  194. package/dist/chunks/{wellknown-fx2b1b3j.js → workspace-nc159y24.js} +42 -42
  195. package/dist/chunks/{wellknown-pxer50tw.js → workspace-njaxvrn0.js} +15 -15
  196. package/dist/chunks/{wellknown-1vmknwag.js → workspace-nnb56zdr.js} +14 -14
  197. package/dist/chunks/{wellknown-6hbjb0nc.js → workspace-nq1gfgg7.js} +17 -17
  198. package/dist/chunks/{wellknown-ty7xyaae.js → workspace-ntgpnhzh.js} +7 -7
  199. package/dist/chunks/{wellknown-p015t6z3.js → workspace-p015t6z3.js} +2 -2
  200. package/dist/chunks/{wellknown-3ryz99p0.js → workspace-p0tsr9h6.js} +4 -4
  201. package/dist/chunks/{wellknown-0xv9h4nb.js → workspace-p2remtr5.js} +27 -27
  202. package/dist/chunks/{wellknown-w8xr7nv8.js → workspace-p3p972wa.js} +5 -5
  203. package/dist/chunks/workspace-p71gwv9c.js +153 -0
  204. package/dist/chunks/{wellknown-1yq9hg58.js → workspace-p7vhpwh8.js} +5 -5
  205. package/dist/chunks/{wellknown-hsjdcght.js → workspace-p7yet7aw.js} +26 -26
  206. package/dist/chunks/{wellknown-xre94b5v.js → workspace-p9az4c9x.js} +47 -35
  207. package/dist/chunks/{wellknown-ey3vkt1q.js → workspace-pcbcnm4r.js} +29 -29
  208. package/dist/chunks/{wellknown-xqdzg0d1.js → workspace-pd9dp0pk.js} +48 -48
  209. package/dist/chunks/{wellknown-0124gy6r.js → workspace-pjzas12s.js} +4 -4
  210. package/dist/chunks/{wellknown-pknna89w.js → workspace-pknna89w.js} +1 -1
  211. package/dist/chunks/{wellknown-fc6mge9b.js → workspace-pxc4avcg.js} +11 -11
  212. package/dist/chunks/{wellknown-024g9ezh.js → workspace-q0dc1a9h.js} +21 -21
  213. package/dist/chunks/{wellknown-nt6mqvwx.js → workspace-q2dh4fth.js} +6 -6
  214. package/dist/chunks/{wellknown-y79gjjan.js → workspace-q2yncp4a.js} +15 -15
  215. package/dist/chunks/{wellknown-xk9nzyx6.js → workspace-q371acht.js} +32 -32
  216. package/dist/chunks/{wellknown-21pdxbx2.js → workspace-qem07kdc.js} +6 -6
  217. package/dist/chunks/{wellknown-qz6rkytq.js → workspace-qm6s8ej8.js} +8 -8
  218. package/dist/chunks/{wellknown-qp7r0hxv.js → workspace-qp7r0hxv.js} +1 -1
  219. package/dist/chunks/{wellknown-r0yr0wbs.js → workspace-r0yr0wbs.js} +1 -1
  220. package/dist/chunks/{wellknown-r542h3bh.js → workspace-r542h3bh.js} +1 -1
  221. package/dist/chunks/{wellknown-neary136.js → workspace-r7xar5ns.js} +8 -8
  222. package/dist/chunks/{wellknown-rb9dy4dg.js → workspace-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{wellknown-4jt7skys.js → workspace-rg08y4e9.js} +23 -23
  224. package/dist/chunks/{wellknown-4e498fz4.js → workspace-rg6x42m8.js} +11 -11
  225. package/dist/chunks/{wellknown-ex2ghmgq.js → workspace-rhk24g9e.js} +5 -5
  226. package/dist/chunks/{wellknown-3bqphbas.js → workspace-rhyf1zg1.js} +15 -15
  227. package/dist/chunks/{wellknown-c0kyf5dr.js → workspace-rph8wvgf.js} +72 -38
  228. package/dist/chunks/{wellknown-48rxq2nm.js → workspace-rrwqa0x9.js} +21 -21
  229. package/dist/chunks/{wellknown-xr6tzfax.js → workspace-rsya75cp.js} +1 -1
  230. package/dist/chunks/{wellknown-rt5dr6hb.js → workspace-rt5dr6hb.js} +1 -1
  231. package/dist/chunks/{wellknown-cgbxrjpk.js → workspace-rwswcgad.js} +16 -16
  232. package/dist/chunks/{wellknown-dr8bgxdq.js → workspace-s00mzv4c.js} +24 -31
  233. package/dist/chunks/{wellknown-8j6zjvn4.js → workspace-s396tgzf.js} +28 -9
  234. package/dist/chunks/{wellknown-61ennm6n.js → workspace-s626qfae.js} +4 -4
  235. package/dist/chunks/{wellknown-ccp6j38y.js → workspace-s6p20e1k.js} +8 -8
  236. package/dist/chunks/{wellknown-vt0drty8.js → workspace-s6x6bhdw.js} +6 -6
  237. package/dist/chunks/{wellknown-6hxv0b70.js → workspace-s73mcn75.js} +21 -21
  238. package/dist/chunks/{wellknown-q7gd9zh7.js → workspace-s9r95bva.js} +36 -36
  239. package/dist/chunks/{wellknown-sa3fpqfw.js → workspace-sa3fpqfw.js} +2 -2
  240. package/dist/chunks/{wellknown-xhfxx4da.js → workspace-sfdw5d12.js} +11 -11
  241. package/dist/chunks/{wellknown-w68dkr85.js → workspace-sh1n2w0x.js} +18 -18
  242. package/dist/chunks/{wellknown-7sxvebxe.js → workspace-sk5cz3k6.js} +19 -15
  243. package/dist/chunks/{wellknown-phd9f911.js → workspace-sncehx48.js} +15 -15
  244. package/dist/chunks/{wellknown-49fagkab.js → workspace-sp13ydqz.js} +24 -24
  245. package/dist/chunks/{wellknown-sqjzf8x2.js → workspace-sqjzf8x2.js} +1 -1
  246. package/dist/chunks/{wellknown-zkg84ctx.js → workspace-svcy3p9a.js} +4 -2
  247. package/dist/chunks/{wellknown-5snrzpn2.js → workspace-t90jtn3y.js} +16 -16
  248. package/dist/chunks/{wellknown-4833vkmt.js → workspace-ta4g3tqy.js} +8 -8
  249. package/dist/chunks/{wellknown-tczq8hjw.js → workspace-tczq8hjw.js} +1 -1
  250. package/dist/chunks/{wellknown-zftkkf2m.js → workspace-tk6jy24y.js} +47 -47
  251. package/dist/chunks/{wellknown-r96ere88.js → workspace-tmd1r8tg.js} +4 -4
  252. package/dist/chunks/{wellknown-swveggkf.js → workspace-tms1d3r7.js} +24 -24
  253. package/dist/chunks/{wellknown-g1qvvw32.js → workspace-tmvc1kcy.js} +25 -25
  254. package/dist/chunks/{wellknown-twv2r8f4.js → workspace-twssxy5n.js} +2 -2
  255. package/dist/chunks/{wellknown-v2r1d0zg.js → workspace-v2r1d0zg.js} +1 -1
  256. package/dist/chunks/{wellknown-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  257. package/dist/chunks/{wellknown-qyq8h28g.js → workspace-vg0erq9k.js} +4 -4
  258. package/dist/chunks/{wellknown-0h78vc96.js → workspace-vp7nv6ts.js} +12 -12
  259. package/dist/chunks/{wellknown-vvzp50rp.js → workspace-vswznq9x.js} +19 -19
  260. package/dist/chunks/{wellknown-egcgdjrp.js → workspace-vxrwmfev.js} +1 -1
  261. package/dist/chunks/workspace-vznp0c4w.js +26 -0
  262. package/dist/chunks/{wellknown-0gg8tnxq.js → workspace-w1z9n04s.js} +61 -42
  263. package/dist/chunks/{wellknown-71vjzq8c.js → workspace-w2f8g9ey.js} +16 -17
  264. package/dist/chunks/{wellknown-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  265. package/dist/chunks/{wellknown-2p4cawxc.js → workspace-w4cmxjpb.js} +15 -15
  266. package/dist/chunks/{wellknown-fznmdakp.js → workspace-w687dnns.js} +4 -4
  267. package/dist/chunks/{wellknown-125q1ps8.js → workspace-w7qwarvw.js} +23 -23
  268. package/dist/chunks/{wellknown-76cb1hcw.js → workspace-w8qtt4th.js} +4 -4
  269. package/dist/chunks/{wellknown-wakvkjy4.js → workspace-wakvkjy4.js} +1 -1
  270. package/dist/chunks/{wellknown-ef1x4s0c.js → workspace-wctr8ape.js} +6 -6
  271. package/dist/chunks/{wellknown-wd87259q.js → workspace-wd87259q.js} +1 -1
  272. package/dist/chunks/{wellknown-2qe92jhz.js → workspace-xby723hm.js} +6 -6
  273. package/dist/chunks/{wellknown-hx65ke5p.js → workspace-xhf31v2h.js} +20 -20
  274. package/dist/chunks/{wellknown-fdg30131.js → workspace-xm65xzy2.js} +48 -47
  275. package/dist/chunks/{wellknown-sbtgcdj5.js → workspace-xmt3nt5n.js} +26 -24
  276. package/dist/chunks/{wellknown-0db4hbv7.js → workspace-xn8rwapq.js} +5 -5
  277. package/dist/chunks/{wellknown-tcxz7f1z.js → workspace-xq21eycy.js} +32 -32
  278. package/dist/chunks/{wellknown-6katn5jb.js → workspace-xq4c6pbn.js} +27 -27
  279. package/dist/chunks/{wellknown-wrcr1wzr.js → workspace-y4sbm31z.js} +336 -336
  280. package/dist/chunks/{wellknown-y4g98aeh.js → workspace-y5qv99bq.js} +24 -24
  281. package/dist/chunks/{wellknown-cy55exg4.js → workspace-y8r2caxt.js} +37 -37
  282. package/dist/chunks/{wellknown-yara3q77.js → workspace-yara3q77.js} +2 -2
  283. package/dist/chunks/{wellknown-yb20nhc3.js → workspace-yb20nhc3.js} +1 -1
  284. package/dist/chunks/{wellknown-4eyc3kpp.js → workspace-yd1z09nw.js} +97 -96
  285. package/dist/chunks/{wellknown-dbemrfqv.js → workspace-yd4hs1rm.js} +34 -34
  286. package/dist/chunks/{wellknown-2eqy3gj5.js → workspace-ym4mb7j3.js} +11 -11
  287. package/dist/chunks/{wellknown-e10gzbhc.js → workspace-ynvxk982.js} +11 -11
  288. package/dist/chunks/{wellknown-xqctgmq0.js → workspace-ysxs50rr.js} +32 -32
  289. package/dist/chunks/{wellknown-3dxzdqzy.js → workspace-ytfkq0y6.js} +23 -23
  290. package/dist/chunks/{wellknown-radh0f4v.js → workspace-yx85ewrr.js} +12 -12
  291. package/dist/chunks/{wellknown-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  292. package/dist/chunks/{wellknown-z38nccrw.js → workspace-z38nccrw.js} +1 -1
  293. package/dist/chunks/{wellknown-2q60wewa.js → workspace-z536rte3.js} +35 -35
  294. package/dist/chunks/{wellknown-g8tr5n07.js → workspace-zathn158.js} +43 -43
  295. package/dist/chunks/{wellknown-4xvmh7wp.js → workspace-zgkm4kzm.js} +3 -3
  296. package/dist/chunks/{wellknown-8ndw73nb.js → workspace-zgs7qsk5.js} +18 -16
  297. package/dist/chunks/{wellknown-63x76nbs.js → workspace-zv4bvann.js} +29 -29
  298. package/dist/chunks/{wellknown-09090e8v.js → workspace-zwz8wfn8.js} +3 -3
  299. package/dist/codemode/catalog.js +1 -1
  300. package/dist/codemode/instructions.js +7 -7
  301. package/dist/codemode/tool.js +3 -3
  302. package/dist/codemode/web.js +1 -1
  303. package/dist/command.js +87 -87
  304. package/dist/config/discovery.js +92 -92
  305. package/dist/config/integration.js +3 -3
  306. package/dist/config/markdown.js +1 -1
  307. package/dist/config/normalize.js +107 -107
  308. package/dist/config/plugin/agent.js +123 -123
  309. package/dist/config/plugin/command.js +221 -221
  310. package/dist/config/plugin/compaction.js +162 -162
  311. package/dist/config/plugin/compatibility.js +142 -142
  312. package/dist/config/plugin/entry-observer.js +1 -1
  313. package/dist/config/plugin/formatter.js +122 -122
  314. package/dist/config/plugin/image.js +121 -121
  315. package/dist/config/plugin/instruction.js +121 -121
  316. package/dist/config/plugin/location-watcher.js +121 -121
  317. package/dist/config/plugin/mcp.js +132 -132
  318. package/dist/config/plugin/policy.js +123 -123
  319. package/dist/config/plugin/provider.js +122 -122
  320. package/dist/config/plugin/reference.js +123 -123
  321. package/dist/config/plugin/shell.js +123 -123
  322. package/dist/config/plugin/skill-file.js +138 -138
  323. package/dist/config/plugin/skill-scan.js +1 -1
  324. package/dist/config/plugin/skill.js +145 -145
  325. package/dist/config/plugin/snapshot.js +121 -121
  326. package/dist/config/plugin/source.js +124 -124
  327. package/dist/config/plugin/tool-output.js +122 -122
  328. package/dist/config/plugin/websearch.js +122 -122
  329. package/dist/config/plugin/worktree.js +123 -123
  330. package/dist/config/variable.js +1 -1
  331. package/dist/config/watch.js +1 -1
  332. package/dist/config.js +126 -126
  333. package/dist/console-access.js +1 -1
  334. package/dist/credential/sql.js +2 -2
  335. package/dist/credential.js +89 -89
  336. package/dist/database/database.js +76 -76
  337. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  338. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  339. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  340. package/dist/database/drizzle/index.js +15 -15
  341. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  343. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  344. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  345. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  346. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  348. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  349. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  350. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  351. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  352. package/dist/database/drizzle.js +16 -16
  353. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  354. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  355. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  356. package/dist/database/migration/20260225215848_workspace.js +1 -1
  357. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  358. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  359. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  360. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  361. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  362. package/dist/database/migration/20260323234822_events.js +1 -1
  363. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  364. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  365. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  366. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  367. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  368. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  369. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  370. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  371. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  372. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  373. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  374. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  375. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  376. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  377. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  378. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  379. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  380. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  381. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  382. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  383. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  384. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  385. package/dist/database/migration/20260611035744_credential.js +1 -1
  386. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  387. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  388. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  389. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  390. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  391. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  392. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  393. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  394. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  395. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  396. package/dist/database/migration/20260812213948_worktree.js +1 -1
  397. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  398. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  399. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  400. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  401. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  402. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  403. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  404. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  405. package/dist/database/migration/20261025123711_blob.js +1 -1
  406. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  407. package/dist/database/migration.gen.js +55 -55
  408. package/dist/database/migration.js +57 -57
  409. package/dist/database/path.js +2 -2
  410. package/dist/database/schema.gen.js +1 -1
  411. package/dist/database/schema.sql.js +1 -1
  412. package/dist/database/sqlite.bun.js +1 -1
  413. package/dist/database/sqlite.js +1 -1
  414. package/dist/database/sqlite.node.js +1 -1
  415. package/dist/database/sqlite.workerd.js +1 -1
  416. package/dist/database/v1-migration.bun.js +103 -103
  417. package/dist/database/v1-migration.js +1 -1
  418. package/dist/effect/app-node-builder.js +382 -381
  419. package/dist/effect/app-node-platform.js +2 -2
  420. package/dist/effect/keyed-mutex.js +3 -3
  421. package/dist/effect/websocket-constructor.js +1 -1
  422. package/dist/environment/driver.js +1 -1
  423. package/dist/environment/environment.js +101 -101
  424. package/dist/environment/exec-defaults.js +2 -2
  425. package/dist/environment/files.js +3 -1
  426. package/dist/environment/index.js +106 -104
  427. package/dist/environment/local.js +2 -2
  428. package/dist/environment/memory.js +2 -2
  429. package/dist/environment/unavailable.js +3 -3
  430. package/dist/event/sql.js +1 -1
  431. package/dist/event-logger.js +80 -80
  432. package/dist/file-access.js +148 -140
  433. package/dist/file-mutation.js +102 -102
  434. package/dist/file-retention.js +1 -1
  435. package/dist/filesystem/fff.bun.js +2 -2
  436. package/dist/filesystem/fff.js +1 -1
  437. package/dist/filesystem/fff.node.js +2 -2
  438. package/dist/filesystem/fff.workerd.js +2 -2
  439. package/dist/filesystem/file-watch.js +86 -86
  440. package/dist/filesystem/location-watcher-policy.js +4 -4
  441. package/dist/filesystem/location-watcher.js +232 -232
  442. package/dist/filesystem/protected.js +3 -3
  443. package/dist/filesystem/search.js +107 -107
  444. package/dist/filesystem/watcher-binding.js +1 -1
  445. package/dist/filesystem/watcher.js +11 -11
  446. package/dist/filesystem.js +112 -112
  447. package/dist/form.js +90 -90
  448. package/dist/formatter/builtins.js +4 -4
  449. package/dist/formatter.js +91 -91
  450. package/dist/generate.js +115 -115
  451. package/dist/git.js +11 -11
  452. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  453. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  454. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  455. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  456. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  457. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  458. package/dist/github-copilot/copilot-provider.js +17 -17
  459. package/dist/github-copilot/models.js +99 -99
  460. package/dist/github-copilot/openai-compatible-error.js +1 -1
  461. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  462. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  463. package/dist/github-copilot/responses/openai-error.js +1 -1
  464. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  465. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  466. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  467. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  468. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  469. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  470. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  471. package/dist/image/photon-normalize.js +1 -1
  472. package/dist/image/photon-worker.js +1 -1
  473. package/dist/image/photon.js +4 -4
  474. package/dist/image.js +6 -6
  475. package/dist/instance/service.js +5 -5
  476. package/dist/instance.js +373 -372
  477. package/dist/instruction-discovery.js +90 -90
  478. package/dist/instructions/builtins.js +91 -91
  479. package/dist/instructions/index.js +3 -3
  480. package/dist/integration/connection.js +3 -3
  481. package/dist/integration.js +93 -93
  482. package/dist/job.js +84 -84
  483. package/dist/kv/sql.js +2 -2
  484. package/dist/kv.js +79 -79
  485. package/dist/location-activity.js +166 -166
  486. package/dist/location-lifecycle.js +142 -142
  487. package/dist/location-service-map.js +94 -94
  488. package/dist/location-services.js +370 -369
  489. package/dist/location.js +93 -93
  490. package/dist/managed-policy.js +9 -9
  491. package/dist/mcp/client.js +99 -99
  492. package/dist/mcp/index.js +115 -115
  493. package/dist/mcp/instructions.js +166 -166
  494. package/dist/mcp/oauth.js +84 -84
  495. package/dist/mcp/socket-client.js +1 -1
  496. package/dist/mcp/stdio.js +98 -98
  497. package/dist/mime.js +1 -1
  498. package/dist/modal/models.js +99 -99
  499. package/dist/model-resolver.js +107 -107
  500. package/dist/model-retry.js +1 -1
  501. package/dist/model.js +110 -108
  502. package/dist/models-dev/v1.js +8 -0
  503. package/dist/models-dev.js +120 -119
  504. package/dist/oauth/page.js +1 -1
  505. package/dist/permission/saved.js +88 -88
  506. package/dist/permission/sql.js +5 -5
  507. package/dist/permission.js +145 -145
  508. package/dist/persistent-pty/binary.bun.js +1 -1
  509. package/dist/persistent-pty/daemon.js +1 -1
  510. package/dist/persistent-pty/index.js +92 -92
  511. package/dist/persistent-pty/pty-binding.js +1 -1
  512. package/dist/persistent-pty.js +81 -81
  513. package/dist/plugin/agent.js +82 -82
  514. package/dist/plugin/command.js +110 -110
  515. package/dist/plugin/hooks.js +5 -5
  516. package/dist/plugin/host.js +227 -227
  517. package/dist/plugin/identity.js +5 -5
  518. package/dist/plugin/instance.js +5 -5
  519. package/dist/plugin/internal.js +343 -342
  520. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  521. package/dist/plugin/models-dev.js +105 -104
  522. package/dist/plugin/module.js +121 -121
  523. package/dist/plugin/optimize.js +4 -4
  524. package/dist/plugin/plan.js +138 -138
  525. package/dist/plugin/promise.js +1 -1
  526. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  527. package/dist/plugin/provider/azure.js +121 -121
  528. package/dist/plugin/provider/cerebras.js +1 -1
  529. package/dist/plugin/provider/chatgpt.js +121 -121
  530. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  531. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  532. package/dist/plugin/provider/cohere.js +2 -2
  533. package/dist/plugin/provider/configured.js +117 -117
  534. package/dist/plugin/provider/databricks.js +1 -1
  535. package/dist/plugin/provider/digitalocean.js +101 -101
  536. package/dist/plugin/provider/dynamic.js +2 -2
  537. package/dist/plugin/provider/factory.js +1 -1
  538. package/dist/plugin/provider/github-copilot.js +103 -103
  539. package/dist/plugin/provider/gitlab.js +101 -101
  540. package/dist/plugin/provider/google-vertex.js +118 -118
  541. package/dist/plugin/provider/kilo.js +1 -1
  542. package/dist/plugin/provider/llmgateway.js +84 -84
  543. package/dist/plugin/provider/lmstudio.js +130 -130
  544. package/dist/plugin/provider/local.js +127 -127
  545. package/dist/plugin/provider/modal.js +100 -100
  546. package/dist/plugin/provider/neon.js +1 -1
  547. package/dist/plugin/provider/nvidia.js +1 -1
  548. package/dist/plugin/provider/ollama.js +128 -128
  549. package/dist/plugin/provider/openai-context-caps.js +98 -98
  550. package/dist/plugin/provider/openai.js +123 -123
  551. package/dist/plugin/provider/opencode-legacy.js +108 -108
  552. package/dist/plugin/provider/opencode.js +127 -127
  553. package/dist/plugin/provider/openrouter.js +99 -99
  554. package/dist/plugin/provider/perplexity.js +2 -2
  555. package/dist/plugin/provider/poe.js +85 -85
  556. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  557. package/dist/plugin/provider/sap-ai-core.js +99 -99
  558. package/dist/plugin/provider/sdk-factory.js +1 -1
  559. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  560. package/dist/plugin/provider/vercel.js +98 -98
  561. package/dist/plugin/provider/vllm.js +130 -130
  562. package/dist/plugin/provider/xai.js +99 -99
  563. package/dist/plugin/provider/zenmux.js +1 -1
  564. package/dist/plugin/provider.js +178 -178
  565. package/dist/plugin/sdk.js +82 -82
  566. package/dist/plugin/service.js +3 -3
  567. package/dist/plugin/skill.js +141 -141
  568. package/dist/plugin/source-directory.js +1 -1
  569. package/dist/plugin/supervisor.js +360 -359
  570. package/dist/plugin/tool-input-repair.js +4 -4
  571. package/dist/plugin/update.js +6 -6
  572. package/dist/plugin/vcs/git.js +94 -94
  573. package/dist/plugin/vcs/hg.js +94 -94
  574. package/dist/plugin/verbosity.js +101 -101
  575. package/dist/plugin/warming.js +119 -119
  576. package/dist/plugin/websearch/exa.js +7 -7
  577. package/dist/plugin/websearch/firecrawl.js +8 -8
  578. package/dist/plugin/websearch/index.js +9 -9
  579. package/dist/plugin/websearch/mcp.js +4 -4
  580. package/dist/plugin/websearch/parallel.js +6 -6
  581. package/dist/plugin/websearch/tavily.js +6 -6
  582. package/dist/plugin/websearch/tinyfish.js +8 -8
  583. package/dist/plugin.js +236 -236
  584. package/dist/project/icon.js +5 -5
  585. package/dist/project/schema.js +4 -4
  586. package/dist/project/sql.js +4 -4
  587. package/dist/project.js +94 -94
  588. package/dist/provider.js +109 -107
  589. package/dist/pty/protocol.js +1 -1
  590. package/dist/pty/ticket.js +1 -1
  591. package/dist/pty.js +106 -106
  592. package/dist/reference/instructions.js +94 -94
  593. package/dist/reference.js +98 -98
  594. package/dist/repository-cache.js +88 -88
  595. package/dist/repository.js +1 -1
  596. package/dist/ripgrep/binary.js +2 -2
  597. package/dist/ripgrep.js +103 -103
  598. package/dist/rpc.js +96 -94
  599. package/dist/schema.js +1 -1
  600. package/dist/session/affinity.js +1 -1
  601. package/dist/session/blob.js +120 -120
  602. package/dist/session/command.js +80 -80
  603. package/dist/session/compaction.js +164 -164
  604. package/dist/session/context.js +188 -188
  605. package/dist/session/diff.js +96 -96
  606. package/dist/session/environment.js +5 -5
  607. package/dist/session/error.js +5 -5
  608. package/dist/session/event.js +1 -1
  609. package/dist/session/execution/restart.js +230 -230
  610. package/dist/session/execution.js +154 -154
  611. package/dist/session/generate.js +190 -190
  612. package/dist/session/history.js +127 -127
  613. package/dist/session/inbox.js +140 -140
  614. package/dist/session/info.js +3 -3
  615. package/dist/session/instruction-entry.js +85 -85
  616. package/dist/session/instruction-state.js +8 -8
  617. package/dist/session/instructions.js +132 -132
  618. package/dist/session/message-updater.js +2 -2
  619. package/dist/session/message.js +1 -1
  620. package/dist/session/model-request.js +155 -155
  621. package/dist/session/model-transport.js +9 -9
  622. package/dist/session/move.js +156 -156
  623. package/dist/session/projector.js +134 -134
  624. package/dist/session/prompt.js +140 -140
  625. package/dist/session/recent-text.js +1 -1
  626. package/dist/session/revert.js +130 -130
  627. package/dist/session/run-coordinator.js +3 -3
  628. package/dist/session/runner/index.js +3 -3
  629. package/dist/session/runner/llm.js +238 -238
  630. package/dist/session/runner/max-steps.js +1 -1
  631. package/dist/session/runner/model.js +108 -108
  632. package/dist/session/runner/publish-llm-event.js +141 -141
  633. package/dist/session/runner/retry.js +5 -5
  634. package/dist/session/runner/step.js +154 -154
  635. package/dist/session/runner/to-llm-message.js +128 -128
  636. package/dist/session/schema.js +5 -5
  637. package/dist/session/session.js +170 -170
  638. package/dist/session/shell.js +135 -135
  639. package/dist/session/skill.js +139 -139
  640. package/dist/session/sql.js +5 -5
  641. package/dist/session/stats.js +81 -81
  642. package/dist/session/store.js +133 -133
  643. package/dist/session/stored.js +2 -2
  644. package/dist/session/subagent-completion.js +1 -1
  645. package/dist/session/subagent-job.js +219 -219
  646. package/dist/session/system-prompt.js +5 -5
  647. package/dist/session/title.js +192 -192
  648. package/dist/session/to-session-error.js +140 -140
  649. package/dist/session/transfer.js +230 -230
  650. package/dist/session/usage.js +1 -1
  651. package/dist/session.js +223 -223
  652. package/dist/shell/parse.js +6 -6
  653. package/dist/shell/result.js +1 -1
  654. package/dist/shell/scan.js +1 -1
  655. package/dist/shell/select.js +15 -15
  656. package/dist/shell.js +137 -137
  657. package/dist/skill/discovery.js +6 -6
  658. package/dist/skill/instructions.js +141 -141
  659. package/dist/skill.js +144 -144
  660. package/dist/snapshot.js +101 -101
  661. package/dist/state.js +1 -1
  662. package/dist/tool/html-markdown.js +1 -1
  663. package/dist/tool/http-body.js +1 -1
  664. package/dist/tool/mcp.js +165 -165
  665. package/dist/tool/plugin/edit.js +156 -156
  666. package/dist/tool/plugin/file-diff.js +1 -1
  667. package/dist/tool/plugin/glob.js +160 -160
  668. package/dist/tool/plugin/grep.js +154 -154
  669. package/dist/tool/plugin/mcp-resource.js +154 -154
  670. package/dist/tool/plugin/opencode.js +153 -145
  671. package/dist/tool/plugin/patch.js +158 -158
  672. package/dist/tool/plugin/question.js +138 -138
  673. package/dist/tool/plugin/read.js +161 -161
  674. package/dist/tool/plugin/shell.js +224 -224
  675. package/dist/tool/plugin/skill.js +147 -147
  676. package/dist/tool/plugin/subagent.js +226 -226
  677. package/dist/tool/plugin/todo.js +145 -145
  678. package/dist/tool/plugin/webfetch.js +147 -147
  679. package/dist/tool/plugin/websearch.js +147 -147
  680. package/dist/tool/plugin/write.js +158 -158
  681. package/dist/tool/read-filesystem.js +110 -110
  682. package/dist/tool/runtime.js +1 -1
  683. package/dist/tool-output.js +7 -7
  684. package/dist/tool.js +16 -16
  685. package/dist/types/agent.d.ts +5 -0
  686. package/dist/types/credential.d.ts +2 -0
  687. package/dist/types/effect/app-node-platform.d.ts +2 -1
  688. package/dist/types/environment/files.d.ts +2 -0
  689. package/dist/types/environment/index.d.ts +1 -1
  690. package/dist/types/file-access.d.ts +3 -3
  691. package/dist/types/instance.d.ts +1 -1
  692. package/dist/types/integration.d.ts +2 -0
  693. package/dist/types/model-resolver.d.ts +2 -0
  694. package/dist/types/model.d.ts +25 -1
  695. package/dist/types/models-dev/v1.d.ts +3 -0
  696. package/dist/types/models-dev.d.ts +2 -6
  697. package/dist/types/plugin/internal.d.ts +1 -1
  698. package/dist/types/project.d.ts +3 -2
  699. package/dist/types/provider.d.ts +30 -2
  700. package/dist/types/ripgrep/binary.d.ts +1 -0
  701. package/dist/types/rpc.d.ts +2 -0
  702. package/dist/types/tool/plugin/edit.d.ts +1 -1
  703. package/dist/types/tool/plugin/glob.d.ts +1 -1
  704. package/dist/types/tool/plugin/grep.d.ts +1 -1
  705. package/dist/types/tool/plugin/patch.d.ts +1 -1
  706. package/dist/types/tool/plugin/shell.d.ts +1 -1
  707. package/dist/types/tool/plugin/write.d.ts +1 -1
  708. package/dist/types/tool/runtime.d.ts +1 -1
  709. package/dist/types/v1/config/mcp.d.ts +4 -0
  710. package/dist/types/v1/config/migrate.d.ts +2 -0
  711. package/dist/types/voice.d.ts +2 -1
  712. package/dist/usage-limits.js +93 -93
  713. package/dist/util/error-summary.js +1 -1
  714. package/dist/util/git-executable.js +3 -3
  715. package/dist/util/lazy.js +1 -1
  716. package/dist/util/slug.js +1 -1
  717. package/dist/util/token.js +1 -1
  718. package/dist/util/which.js +1 -1
  719. package/dist/util/wildcard.js +1 -1
  720. package/dist/v1/config/agent.js +5 -5
  721. package/dist/v1/config/command.js +3 -3
  722. package/dist/v1/config/mcp.js +4 -4
  723. package/dist/v1/config/migrate.js +100 -100
  724. package/dist/v1/config/permission.js +3 -3
  725. package/dist/v1/config/plugin.js +3 -3
  726. package/dist/v1/config/provider-options.js +1 -1
  727. package/dist/v1/config/provider.js +4 -4
  728. package/dist/variant.js +99 -99
  729. package/dist/vcs/patch.js +1 -1
  730. package/dist/vcs.js +97 -97
  731. package/dist/voice.js +94 -94
  732. package/dist/websearch.js +88 -88
  733. package/dist/wellknown/plugin.js +82 -82
  734. package/dist/wellknown.js +87 -87
  735. package/dist/workspace/driver.js +5 -5
  736. package/dist/workspace/sql.js +1 -1
  737. package/dist/workspace.js +88 -88
  738. package/dist/worktree/directory.js +2 -2
  739. package/dist/worktree/git.js +11 -11
  740. package/dist/worktree/sql.js +5 -5
  741. package/dist/worktree/strategies.js +97 -97
  742. package/dist/worktree.js +108 -108
  743. package/package.json +9 -8
  744. package/dist/chunks/wellknown-00ve6mdn.js +0 -18
  745. package/dist/chunks/wellknown-e9z9agtf.js +0 -352
  746. package/dist/chunks/wellknown-kgvgf0mp.js +0 -257
  747. package/dist/chunks/wellknown-wep3vcvy.js +0 -26
  748. /package/dist/chunks/{wellknown-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  749. /package/dist/chunks/{wellknown-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  750. /package/dist/chunks/{wellknown-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  751. /package/dist/chunks/{wellknown-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  752. /package/dist/chunks/{wellknown-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  753. /package/dist/chunks/{wellknown-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  754. /package/dist/chunks/{wellknown-2bv980vf.js → workspace-2bv980vf.js} +0 -0
  755. /package/dist/chunks/{wellknown-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  756. /package/dist/chunks/{wellknown-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  757. /package/dist/chunks/{wellknown-3asan66x.js → workspace-3asan66x.js} +0 -0
  758. /package/dist/chunks/{wellknown-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  759. /package/dist/chunks/{wellknown-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  760. /package/dist/chunks/{wellknown-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  761. /package/dist/chunks/{wellknown-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  762. /package/dist/chunks/{wellknown-4m86bj6y.js → workspace-4m86bj6y.js} +0 -0
  763. /package/dist/chunks/{wellknown-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  764. /package/dist/chunks/{wellknown-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  765. /package/dist/chunks/{wellknown-53557ph1.js → workspace-53557ph1.js} +0 -0
  766. /package/dist/chunks/{wellknown-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  767. /package/dist/chunks/{wellknown-5w3e23ze.js → workspace-5w3e23ze.js} +0 -0
  768. /package/dist/chunks/{wellknown-6prwharc.js → workspace-6prwharc.js} +0 -0
  769. /package/dist/chunks/{wellknown-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
  770. /package/dist/chunks/{wellknown-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  771. /package/dist/chunks/{wellknown-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  772. /package/dist/chunks/{wellknown-822emrt2.js → workspace-822emrt2.js} +0 -0
  773. /package/dist/chunks/{wellknown-84wd9syh.js → workspace-84wd9syh.js} +0 -0
  774. /package/dist/chunks/{wellknown-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  775. /package/dist/chunks/{wellknown-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  776. /package/dist/chunks/{wellknown-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
  777. /package/dist/chunks/{wellknown-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  778. /package/dist/chunks/{wellknown-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  779. /package/dist/chunks/{wellknown-a058387c.js → workspace-a058387c.js} +0 -0
  780. /package/dist/chunks/{wellknown-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  781. /package/dist/chunks/{wellknown-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  782. /package/dist/chunks/{wellknown-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  783. /package/dist/chunks/{wellknown-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  784. /package/dist/chunks/{wellknown-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  785. /package/dist/chunks/{wellknown-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  786. /package/dist/chunks/{wellknown-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  787. /package/dist/chunks/{wellknown-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  788. /package/dist/chunks/{wellknown-cqv5kn06.js → workspace-cqv5kn06.js} +0 -0
  789. /package/dist/chunks/{wellknown-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  790. /package/dist/chunks/{wellknown-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  791. /package/dist/chunks/{wellknown-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  792. /package/dist/chunks/{wellknown-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  793. /package/dist/chunks/{wellknown-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  794. /package/dist/chunks/{wellknown-df08tz66.js → workspace-df08tz66.js} +0 -0
  795. /package/dist/chunks/{wellknown-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  796. /package/dist/chunks/{wellknown-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  797. /package/dist/chunks/{wellknown-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  798. /package/dist/chunks/{wellknown-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  799. /package/dist/chunks/{wellknown-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  800. /package/dist/chunks/{wellknown-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  801. /package/dist/chunks/{wellknown-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  802. /package/dist/chunks/{wellknown-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  803. /package/dist/chunks/{wellknown-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  804. /package/dist/chunks/{wellknown-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  805. /package/dist/chunks/{wellknown-fkpq3x5p.js → workspace-fkpq3x5p.js} +0 -0
  806. /package/dist/chunks/{wellknown-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  807. /package/dist/chunks/{wellknown-g86h250q.js → workspace-g86h250q.js} +0 -0
  808. /package/dist/chunks/{wellknown-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  809. /package/dist/chunks/{wellknown-gftt206x.js → workspace-gftt206x.js} +0 -0
  810. /package/dist/chunks/{wellknown-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
  811. /package/dist/chunks/{wellknown-hk9envan.js → workspace-hk9envan.js} +0 -0
  812. /package/dist/chunks/{wellknown-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  813. /package/dist/chunks/{wellknown-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  814. /package/dist/chunks/{wellknown-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  815. /package/dist/chunks/{wellknown-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  816. /package/dist/chunks/{wellknown-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  817. /package/dist/chunks/{wellknown-jwr30sdr.js → workspace-jwr30sdr.js} +0 -0
  818. /package/dist/chunks/{wellknown-jze0r7bz.js → workspace-jze0r7bz.js} +0 -0
  819. /package/dist/chunks/{wellknown-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  820. /package/dist/chunks/{wellknown-m18g726c.js → workspace-m18g726c.js} +0 -0
  821. /package/dist/chunks/{wellknown-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  822. /package/dist/chunks/{wellknown-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  823. /package/dist/chunks/{wellknown-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  824. /package/dist/chunks/{wellknown-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  825. /package/dist/chunks/{wellknown-ncqqe42p.js → workspace-ncqqe42p.js} +0 -0
  826. /package/dist/chunks/{wellknown-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  827. /package/dist/chunks/{wellknown-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  828. /package/dist/chunks/{wellknown-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  829. /package/dist/chunks/{wellknown-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  830. /package/dist/chunks/{wellknown-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  831. /package/dist/chunks/{wellknown-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  832. /package/dist/chunks/{wellknown-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  833. /package/dist/chunks/{wellknown-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  834. /package/dist/chunks/{wellknown-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  835. /package/dist/chunks/{wellknown-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  836. /package/dist/chunks/{wellknown-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  837. /package/dist/chunks/{wellknown-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
  838. /package/dist/chunks/{wellknown-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  839. /package/dist/chunks/{wellknown-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  840. /package/dist/chunks/{wellknown-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  841. /package/dist/chunks/{wellknown-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  842. /package/dist/chunks/{wellknown-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  843. /package/dist/chunks/{wellknown-x61499pn.js → workspace-x61499pn.js} +0 -0
  844. /package/dist/chunks/{wellknown-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  845. /package/dist/chunks/{wellknown-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  846. /package/dist/chunks/{wellknown-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  847. /package/dist/chunks/{wellknown-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  848. /package/dist/chunks/{wellknown-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
  849. /package/dist/chunks/{wellknown-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,105 +1,105 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./wellknown-dhfzyyxh.js";
2
+ Service87,
3
+ node91
4
+ } from "./workspace-25wbv3kn.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./wellknown-hrtx3eh0.js";
6
+ Service85,
7
+ node89
8
+ } from "./workspace-70s3x0a6.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./wellknown-gftt206x.js";
11
+ } from "./workspace-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./wellknown-21pdxbx2.js";
14
+ } from "./workspace-qem07kdc.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./wellknown-ec1grn59.js";
17
+ } from "./workspace-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./wellknown-gg8p9cgs.js";
20
+ } from "./workspace-gg8p9cgs.js";
21
21
  import {
22
22
  prepare4
23
- } from "./wellknown-nf3nsvxh.js";
23
+ } from "./workspace-5x26af84.js";
24
24
  import {
25
25
  decodeMessageRow2,
26
26
  preview2
27
- } from "./wellknown-gspvz5np.js";
27
+ } from "./workspace-afyka953.js";
28
28
  import {
29
- Service67,
30
- node70
31
- } from "./wellknown-q9c81yt7.js";
29
+ Service57,
30
+ node60
31
+ } from "./workspace-e8jqfb1a.js";
32
32
  import {
33
- Service16,
34
- node18
35
- } from "./wellknown-ntpfk5qx.js";
33
+ Service53,
34
+ node56
35
+ } from "./workspace-0x9e628c.js";
36
36
  import {
37
37
  llmClient2
38
- } from "./wellknown-p015t6z3.js";
38
+ } from "./workspace-p015t6z3.js";
39
39
  import {
40
- Service30,
41
- node33
42
- } from "./wellknown-2eqy3gj5.js";
40
+ Service28,
41
+ node31
42
+ } from "./workspace-ym4mb7j3.js";
43
43
  import {
44
44
  baseTranscript2
45
- } from "./wellknown-0f80a8fy.js";
45
+ } from "./workspace-ep0wsmvm.js";
46
46
  import {
47
- make10
48
- } from "./wellknown-djjzzs3c.js";
47
+ make11
48
+ } from "./workspace-n66c6y3m.js";
49
49
  import {
50
50
  toSessionError2
51
- } from "./wellknown-sh36jtyp.js";
51
+ } from "./workspace-6739jmjn.js";
52
52
  import {
53
- Service11,
54
- node13,
53
+ Service9,
54
+ node11,
55
55
  estimatePrompt2
56
- } from "./wellknown-t4y7ct23.js";
56
+ } from "./workspace-dm94hefv.js";
57
57
  import {
58
- node85
59
- } from "./wellknown-1hvsjts9.js";
58
+ node65
59
+ } from "./workspace-7pa3t2xk.js";
60
60
  import {
61
- Service23,
62
- node26
63
- } from "./wellknown-2kzj9rs3.js";
61
+ Service21,
62
+ node24
63
+ } from "./workspace-d7mpa99n.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./wellknown-tcxz7f1z.js";
68
+ } from "./workspace-xq21eycy.js";
69
69
  import {
70
- Service6,
70
+ Service10,
71
71
  isUntitled2,
72
- node8
73
- } from "./wellknown-xk9nzyx6.js";
72
+ node12
73
+ } from "./workspace-q371acht.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service52
77
- } from "./wellknown-ky596kc3.js";
76
+ Service33
77
+ } from "./workspace-8r9nj4s8.js";
78
78
  import {
79
- node40
80
- } from "./wellknown-ecwctf3g.js";
79
+ node83
80
+ } from "./workspace-k8pk7m1a.js";
81
81
  import {
82
82
  Outcome2,
83
- make9
84
- } from "./wellknown-npjtk884.js";
83
+ make10
84
+ } from "./workspace-0yt736da.js";
85
85
  import {
86
- Service28
87
- } from "./wellknown-00ve6mdn.js";
86
+ Service20
87
+ } from "./workspace-b1bdn9ww.js";
88
88
  import {
89
- node21
90
- } from "./wellknown-y4g98aeh.js";
89
+ node18
90
+ } from "./workspace-y5qv99bq.js";
91
91
  import {
92
92
  MAX_STEPS_PROMPT2
93
- } from "./wellknown-y44na4kk.js";
93
+ } from "./workspace-y44na4kk.js";
94
94
  import {
95
95
  __export
96
- } from "./wellknown-9rqn6x4v.js";
96
+ } from "./workspace-9rqn6x4v.js";
97
97
 
98
98
  // src/session/runner/llm.ts
99
99
  var exports_llm = {};
100
100
  __export(exports_llm, {
101
101
  SessionRunnerLLM: () => exports_llm,
102
- node: () => node6
102
+ node: () => node10
103
103
  });
104
104
  import { Message } from "@opencode/ai/effect";
105
105
  import { and, desc, eq, inArray, sql } from "drizzle-orm";
@@ -107,17 +107,17 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
107
107
  import { makeLocationNode } from "@opencode/util/effect/app-node";
108
108
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
109
109
  var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
110
- var layer = Layer.effect(Service52, Effect.gen(function* () {
111
- const bus = yield* Service83;
112
- const lifecycle = yield* Service16;
113
- const store = yield* Service67;
114
- const context = yield* Service23;
115
- const modelTransport = yield* Service30;
116
- const db = (yield* Service84).db;
117
- const compaction = yield* Service11;
118
- const plugins = yield* Service28;
119
- const title = yield* Service6;
120
- const steps = yield* make9;
110
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
111
+ const bus = yield* Service85;
112
+ const lifecycle = yield* Service53;
113
+ const store = yield* Service57;
114
+ const context = yield* Service21;
115
+ const modelTransport = yield* Service28;
116
+ const db = (yield* Service87).db;
117
+ const compaction = yield* Service9;
118
+ const plugins = yield* Service20;
119
+ const title = yield* Service10;
120
+ const steps = yield* make10;
121
121
  const titles = yield* FiberMap.make();
122
122
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
123
123
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make10(bus, sessionID);
243
+ const retry = yield* make11(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -388,25 +388,25 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
388
388
  }
389
389
  }
390
390
  });
391
- return Service52.of({ drain });
391
+ return Service33.of({ drain });
392
392
  }));
393
- var node6 = makeLocationNode({
394
- service: Service52,
393
+ var node10 = makeLocationNode({
394
+ service: Service33,
395
395
  layer,
396
396
  deps: [
397
- node87,
398
- node18,
397
+ node89,
398
+ node56,
399
399
  llmClient2,
400
- node26,
401
- node33,
402
- node70,
403
- node13,
404
- node21,
405
- node8,
406
- node40,
407
- node85,
408
- node88
400
+ node24,
401
+ node31,
402
+ node60,
403
+ node11,
404
+ node18,
405
+ node12,
406
+ node83,
407
+ node65,
408
+ node91
409
409
  ]
410
410
  });
411
411
 
412
- export { node6, exports_llm };
412
+ export { node10, exports_llm };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  kept2
3
- } from "./wellknown-v2r1d0zg.js";
3
+ } from "./workspace-v2r1d0zg.js";
4
4
  import {
5
5
  NativeWindow2
6
- } from "./wellknown-gspvz5np.js";
6
+ } from "./workspace-afyka953.js";
7
7
 
8
8
  // src/session/runner/to-llm-message.ts
9
9
  import {
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./wellknown-zyz0cj63.js";
2
+ Service81,
3
+ node85
4
+ } from "./workspace-05hcn35g.js";
5
5
  import {
6
6
  __export
7
- } from "./wellknown-9rqn6x4v.js";
7
+ } from "./workspace-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -12,22 +12,22 @@ __export(exports_location, {
12
12
  Info: () => Info27,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref5,
15
- Service: () => Service76,
15
+ Service: () => Service80,
16
16
  boundNode: () => boundNode2,
17
- node: () => node79,
17
+ node: () => node84,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { Info as Info27, Ref as Ref5, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service76 extends Context.Service()("@opencode/Location") {
24
+ class Service80 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node79 = LayerNode.unbound(Service76, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service76, Effect.gen(function* () {
28
- const project = yield* Service79;
26
+ var node84 = LayerNode.unbound(Service80, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
28
+ const project = yield* Service81;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service76.of({
30
+ return Service80.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service76, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service76,
38
+ service: Service80,
39
39
  layer: layer(ref),
40
- deps: [node83]
40
+ deps: [node85]
41
41
  });
42
42
 
43
- export { Info27, Ref5, response2, Service76, node79, boundNode2, exports_location };
43
+ export { Info27, Ref5, response2, Service80, node84, boundNode2, exports_location };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Document2
3
- } from "./wellknown-pcc6rjnf.js";
3
+ } from "./workspace-e07q2w5p.js";
4
4
  import {
5
5
  match2
6
- } from "./wellknown-z38nccrw.js";
6
+ } from "./workspace-z38nccrw.js";
7
7
  import {
8
8
  __export
9
- } from "./wellknown-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/managed-policy.ts
12
12
  var exports_managed_policy = {};
13
13
  __export(exports_managed_policy, {
14
14
  ManagedPolicy: () => exports_managed_policy,
15
- Service: () => Service43,
15
+ Service: () => Service13,
16
16
  decision: () => decision2,
17
- layer: () => layer20,
18
- node: () => node46,
17
+ layer: () => layer9,
18
+ node: () => node15,
19
19
  statements: () => statements3
20
20
  });
21
21
  import { isDeepStrictEqual } from "node:util";
22
22
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
23
23
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
24
24
 
25
- class Service43 extends Context.Service()("@opencode/ManagedPolicy") {
25
+ class Service13 extends Context.Service()("@opencode/ManagedPolicy") {
26
26
  }
27
- var layer20 = Layer.effect(Service43, Effect.gen(function* () {
27
+ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
28
28
  const changes = yield* PubSub.unbounded();
29
29
  const state = { current: { statements: [] } };
30
- return Service43.of({
30
+ return Service13.of({
31
31
  changes: () => Stream.fromPubSub(changes),
32
32
  current: () => state.current,
33
33
  set: (next) => Effect.gen(function* () {
@@ -39,7 +39,7 @@ var layer20 = Layer.effect(Service43, Effect.gen(function* () {
39
39
  })
40
40
  });
41
41
  }));
42
- var node46 = makeGlobalNode({ service: Service43, layer: layer20, deps: [] });
42
+ var node15 = makeGlobalNode({ service: Service13, layer: layer9, deps: [] });
43
43
  function statements3(entries, organization) {
44
44
  return [
45
45
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => (entry.info.policies ?? []).map((policy) => ({
@@ -56,4 +56,4 @@ function decision2(policies, action, resource) {
56
56
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
57
57
  }
58
58
 
59
- export { Service43, layer20, node46, statements3, decision2, exports_managed_policy };
59
+ export { Service13, layer9, node15, statements3, decision2, exports_managed_policy };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
10
- render: () => render2
9
+ make: () => make16,
10
+ render: () => render3
11
11
  });
12
12
  // src/session/runner/prompt/system.txt
13
13
  var system_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
@@ -28,10 +28,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
28
28
  `;
29
29
 
30
30
  // src/session/system-prompt.ts
31
- function make15(tools) {
32
- return render2(system_default, tools);
31
+ function make16(tools) {
32
+ return render3(system_default, tools);
33
33
  }
34
- function render2(prompt, tools) {
34
+ function render3(prompt, tools) {
35
35
  const instructions = [];
36
36
  if (tools.includes("shell")) {
37
37
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -46,4 +46,4 @@ function render2(prompt, tools) {
46
46
  `));
47
47
  }
48
48
 
49
- export { make15, render2, exports_system_prompt };
49
+ export { make16, render3, exports_system_prompt };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service70
4
- } from "./wellknown-ewz324b7.js";
3
+ Service64
4
+ } from "./workspace-k8ndw37r.js";
5
5
  import {
6
- Service81
7
- } from "./wellknown-1hvsjts9.js";
6
+ Service62
7
+ } from "./workspace-7pa3t2xk.js";
8
8
  import {
9
9
  observe2
10
- } from "./wellknown-6pjqjmy2.js";
10
+ } from "./workspace-hpg1pkwy.js";
11
11
  import {
12
12
  __export
13
- } from "./wellknown-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin48
19
+ Plugin: () => Plugin7
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin48 = define({
23
+ var Plugin7 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service70;
27
- const output = yield* Service81;
26
+ const config = yield* Service64;
27
+ const output = yield* Service62;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin48 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin48, exports_tool_output };
41
+ export { Plugin7, exports_tool_output };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID11 = Session.ID;
5
- var Info16 = Session.Info;
4
+ var ID17 = Session.ID;
5
+ var Info30 = Session.Info;
6
6
 
7
- export { ID11, Info16, SessionSchema2 };
7
+ export { ID17, Info30, SessionSchema2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -12,7 +12,7 @@ import { Effect, Stream } from "effect";
12
12
  var observe2 = Effect.fnUntraced(function* (config, event, reload) {
13
13
  const loaded = { entries: yield* config.entries() };
14
14
  const refresh = config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(reload));
15
- yield* event.subscribe().pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => refresh), Effect.forkScoped({ startImmediately: true }));
15
+ yield* event.subscribe({ types: ["config.updated"] }).pipe(Stream.runForEach(() => refresh), Effect.forkScoped({ startImmediately: true }));
16
16
  loaded.entries = yield* config.entries();
17
17
  return loaded;
18
18
  });
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service83
3
- } from "./wellknown-hrtx3eh0.js";
2
+ Service85
3
+ } from "./workspace-70s3x0a6.js";
4
4
  import {
5
- Event20
6
- } from "./wellknown-xre94b5v.js";
5
+ Event15
6
+ } from "./workspace-p9az4c9x.js";
7
7
  import {
8
- ID14
9
- } from "./wellknown-3v67cre7.js";
8
+ ID9
9
+ } from "./workspace-j6v813za.js";
10
10
  import {
11
- ID13
12
- } from "./wellknown-c0kyf5dr.js";
11
+ ID8
12
+ } from "./workspace-rph8wvgf.js";
13
13
 
14
14
  // src/plugin/provider/openai-context-caps.ts
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Stream } from "effect";
17
- var integrationID = ID14.make("openai");
17
+ var integrationID = ID9.make("openai");
18
18
  var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
19
19
  var legacyInput = 272000;
20
20
  var currentInput = 500000;
21
21
  var OpenAIContextCapsPlugin2 = define({
22
22
  id: "opencode.provider.openai-context-caps",
23
23
  effect: Effect.fn(function* (ctx) {
24
- const bus = yield* Service83;
24
+ const bus = yield* Service85;
25
25
  let signedIn = false;
26
26
  const load = Effect.fn("OpenAIContextCapsPlugin.load")(function* () {
27
27
  const connection = yield* ctx.integration.connection.active(integrationID);
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
34
34
  yield* ctx.model.transform((models) => {
35
35
  if (!signedIn)
36
36
  return;
37
- for (const model of models.list(ID13.openai)) {
37
+ for (const model of models.list(ID8.openai)) {
38
38
  models.update(model.providerID, model.id, (draft) => {
39
39
  const input = cap(draft.modelID ?? draft.id);
40
40
  if ((draft.limit.input || draft.limit.context) <= input)
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
43
43
  });
44
44
  }
45
45
  });
46
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
46
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
47
47
  })
48
48
  });
49
49
  function cap(apiID) {
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./wellknown-qqhrz1wm.js";
2
+ ID7
3
+ } from "./workspace-31h7jx7a.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./wellknown-z5v4ffb3.js";
3
+ } from "./workspace-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./wellknown-v0t96s7a.js";
6
+ } from "./workspace-mmx1mfjr.js";
7
7
  import {
8
- Info18
9
- } from "./wellknown-neary136.js";
8
+ Info15
9
+ } from "./workspace-r7xar5ns.js";
10
10
  import {
11
- Info17
12
- } from "./wellknown-3ryz99p0.js";
11
+ Info14
12
+ } from "./workspace-p0tsr9h6.js";
13
13
  import {
14
- Info19
15
- } from "./wellknown-0tpkjg9c.js";
14
+ Info17
15
+ } from "./workspace-3j1m3tq4.js";
16
16
  import {
17
17
  Spec2
18
- } from "./wellknown-1yq9hg58.js";
18
+ } from "./workspace-p7vhpwh8.js";
19
19
  import {
20
- Info21
21
- } from "./wellknown-8p5baybq.js";
20
+ Info18
21
+ } from "./workspace-6xqtcmxs.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 "./wellknown-pevtk2h0.js";
31
+ } from "./workspace-6kasyq0d.js";
32
32
  import {
33
33
  __export
34
- } from "./wellknown-9rqn6x4v.js";
34
+ } from "./workspace-9rqn6x4v.js";
35
35
 
36
36
  // src/config/normalize.ts
37
37
  var exports_normalize = {};
@@ -40,7 +40,7 @@ __export(exports_normalize, {
40
40
  normalize: () => normalize3
41
41
  });
42
42
  import { isDeepStrictEqual } from "node:util";
43
- import { isRecord } from "@opencode/ai/utils/record";
43
+ import { isRecord } from "@opencode/util/record";
44
44
  import { Option, Schema } from "effect";
45
45
  import { Info } from "@opencode/schema/config";
46
46
  import { ConfigAgent } from "@opencode/schema/config/agent";
@@ -98,12 +98,12 @@ function normalize3(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, Info17, ["command"], diagnostics, decodeValue);
101
+ const legacyCommands = decodeMap(input.command, Info14, ["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, Info18, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
+ const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["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 normalize3(input) {
117
117
  model: migratedSmallModel,
118
118
  ...legacyAgents.title
119
119
  };
120
- const modeAgents = mapValues(decodeMap(input.mode, Info18, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
+ const modeAgents = mapValues(decodeMap(input.mode, Info15, ["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(Info19, value, path, diagnostics);
222
+ const server = decodeValue(Info17, value, path, diagnostics);
223
223
  if (server !== undefined)
224
224
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
225
225
  });
@@ -445,7 +445,7 @@ function migrateProviders(value, diagnostics) {
445
445
  diagnoseProviderUnsupported(raw, path, diagnostics);
446
446
  if (invalidProviderOverlays(raw, path, diagnostics))
447
447
  return [];
448
- const provider = decodeValue(Info21, raw, path, diagnostics);
448
+ const provider = decodeValue(Info18, raw, path, diagnostics);
449
449
  if (provider === undefined)
450
450
  return [];
451
451
  const destination = providerID2(name);