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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{schema-4a32pvx7.js → file-mutation-083bb7kr.js} +1 -1
  8. package/dist/chunks/{schema-48kw51zw.js → file-mutation-08rawchj.js} +3 -3
  9. package/dist/chunks/{schema-4teq5az6.js → file-mutation-0eymxkpr.js} +51 -51
  10. package/dist/chunks/{schema-yx0rmv9r.js → file-mutation-0fn2v7vk.js} +6 -6
  11. package/dist/chunks/{schema-vag86jwj.js → file-mutation-0nqg4kny.js} +9 -9
  12. package/dist/chunks/{schema-84kr3hab.js → file-mutation-0r2cw8fn.js} +8 -8
  13. package/dist/chunks/{schema-wg91gmf4.js → file-mutation-0ryx4cv5.js} +36 -36
  14. package/dist/chunks/{schema-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{schema-d75x1326.js → file-mutation-0xz2mzgc.js} +26 -26
  16. package/dist/chunks/{schema-bzeyqsqd.js → file-mutation-1ep4rre3.js} +4 -4
  17. package/dist/chunks/{schema-9hhtrjbb.js → file-mutation-1f7m535t.js} +12 -12
  18. package/dist/chunks/{schema-j73na0aw.js → file-mutation-1rabqv72.js} +18 -18
  19. package/dist/chunks/{schema-1rmqtx3n.js → file-mutation-1rmqtx3n.js} +3 -3
  20. package/dist/chunks/{schema-74mhpw3w.js → file-mutation-21xx9xc6.js} +17 -17
  21. package/dist/chunks/{schema-mvg2napp.js → file-mutation-27p00kw8.js} +22 -22
  22. package/dist/chunks/{schema-e4771dax.js → file-mutation-2ccjc77m.js} +14 -14
  23. package/dist/chunks/{schema-42kfqa6a.js → file-mutation-2f26zb5h.js} +32 -32
  24. package/dist/chunks/file-mutation-2g1qnqk3.js +257 -0
  25. package/dist/chunks/{schema-7dqw4kz8.js → file-mutation-2k8khapm.js} +5 -5
  26. package/dist/chunks/{schema-47jkzegy.js → file-mutation-2k9fjx65.js} +5 -5
  27. package/dist/chunks/{schema-zdtbn3v6.js → file-mutation-2kjrre30.js} +20 -20
  28. package/dist/chunks/{schema-phse5vhf.js → file-mutation-2nb55xn8.js} +26 -26
  29. package/dist/chunks/{schema-xgmhetns.js → file-mutation-3179ttex.js} +14 -14
  30. package/dist/chunks/{schema-wcp8qb9k.js → file-mutation-322qbvpa.js} +18 -18
  31. package/dist/chunks/{schema-hp36aydz.js → file-mutation-3e2gnrvk.js} +24 -24
  32. package/dist/chunks/{schema-pcb8yjd0.js → file-mutation-3hefbbgh.js} +7 -7
  33. package/dist/chunks/{schema-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{schema-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{schema-3cn8netw.js → file-mutation-3k72abas.js} +19 -19
  36. package/dist/chunks/{schema-zsep494j.js → file-mutation-3p8nb07v.js} +5 -5
  37. package/dist/chunks/{schema-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{schema-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{schema-ahdc3t4z.js → file-mutation-3xymvwyv.js} +8 -8
  40. package/dist/chunks/{schema-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{schema-ke8th4a0.js → file-mutation-49ma6pwq.js} +13 -13
  42. package/dist/chunks/{schema-1skh4z6z.js → file-mutation-4b4em5d4.js} +31 -31
  43. package/dist/chunks/{schema-1bs8104e.js → file-mutation-4f5ezzxr.js} +8 -8
  44. package/dist/chunks/{schema-jm1wa9nf.js → file-mutation-4fm3tq8e.js} +20 -20
  45. package/dist/chunks/{schema-c8bydgjz.js → file-mutation-4mwpykj0.js} +6 -6
  46. package/dist/chunks/{schema-1knv165j.js → file-mutation-4xfddg59.js} +26 -26
  47. package/dist/chunks/{schema-1ffg5m5z.js → file-mutation-4yb17086.js} +45 -45
  48. package/dist/chunks/{schema-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
  49. package/dist/chunks/{schema-7pest08f.js → file-mutation-56byzq03.js} +9 -9
  50. package/dist/chunks/{schema-rkpm4y6y.js → file-mutation-59b3s74c.js} +11 -11
  51. package/dist/chunks/{schema-sqmzwr9m.js → file-mutation-5e1pzs32.js} +9 -9
  52. package/dist/chunks/{schema-bnn3p74r.js → file-mutation-5e2h11rs.js} +4 -4
  53. package/dist/chunks/{schema-5g57z1ma.js → file-mutation-5g57z1ma.js} +1 -1
  54. package/dist/chunks/{schema-a110k9h9.js → file-mutation-5g9pfety.js} +21 -21
  55. package/dist/chunks/{schema-v4b1xa27.js → file-mutation-5gxex9x8.js} +11 -11
  56. package/dist/chunks/{schema-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{schema-yr7e010d.js → file-mutation-5q7ksgvn.js} +10 -10
  58. package/dist/chunks/{schema-nqcscwec.js → file-mutation-5tew088c.js} +13 -13
  59. package/dist/chunks/{schema-6fkw3p3r.js → file-mutation-5tnh3egr.js} +4 -4
  60. package/dist/chunks/{schema-kp7tszm4.js → file-mutation-5xa5t8mt.js} +20 -20
  61. package/dist/chunks/{schema-ccz6qt78.js → file-mutation-5yc3gv1m.js} +13 -13
  62. package/dist/chunks/{schema-g754c8fk.js → file-mutation-5zbwkh3w.js} +6 -6
  63. package/dist/chunks/{schema-fw9jjgyr.js → file-mutation-6614sc7r.js} +19 -19
  64. package/dist/chunks/{schema-6827pfxn.js → file-mutation-6827pfxn.js} +1 -1
  65. package/dist/chunks/{schema-j05q090x.js → file-mutation-6gbkbwjk.js} +20 -20
  66. package/dist/chunks/{schema-2yjh3x6q.js → file-mutation-6k294dg0.js} +15 -15
  67. package/dist/chunks/{schema-4j8ys442.js → file-mutation-6p9h6rqd.js} +92 -92
  68. package/dist/chunks/{schema-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{schema-qa1bwf9y.js → file-mutation-70ake3ft.js} +17 -17
  70. package/dist/chunks/{schema-j6ktnsbj.js → file-mutation-72vb8ye8.js} +12 -12
  71. package/dist/chunks/{schema-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
  72. package/dist/chunks/{schema-qhfwh6dg.js → file-mutation-7bm0e0dp.js} +34 -34
  73. package/dist/chunks/{schema-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  74. package/dist/chunks/file-mutation-7fj5dwt0.js +18 -0
  75. package/dist/chunks/{schema-92zywa0s.js → file-mutation-7k4yx5jm.js} +11 -11
  76. package/dist/chunks/{schema-s15d9z4p.js → file-mutation-7q1btr1k.js} +27 -27
  77. package/dist/chunks/{schema-v20v5pjv.js → file-mutation-7rakk0e1.js} +33 -33
  78. package/dist/chunks/{schema-rhrxssrh.js → file-mutation-7tppg67e.js} +9 -9
  79. package/dist/chunks/{schema-84txncab.js → file-mutation-84txncab.js} +1 -1
  80. package/dist/chunks/{schema-p1p7f544.js → file-mutation-882c6a2f.js} +24 -24
  81. package/dist/chunks/{schema-rtka9wvf.js → file-mutation-89a6x4zk.js} +20 -20
  82. package/dist/chunks/{schema-3rtxz4nr.js → file-mutation-8aaqm6qj.js} +8 -8
  83. package/dist/chunks/{schema-pwjp0qa3.js → file-mutation-8b58bdns.js} +35 -35
  84. package/dist/chunks/{schema-dhsdmd8f.js → file-mutation-8f461wgz.js} +34 -34
  85. package/dist/chunks/{schema-bzwj8dcr.js → file-mutation-8g01qe2v.js} +29 -29
  86. package/dist/chunks/{schema-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{schema-yr2aghkb.js → file-mutation-8m71mjfm.js} +5 -5
  88. package/dist/chunks/{schema-8mywswrd.js → file-mutation-8mywswrd.js} +1 -1
  89. package/dist/chunks/{schema-bbcbabsp.js → file-mutation-8rddq889.js} +21 -21
  90. package/dist/chunks/{schema-w1ej9fkt.js → file-mutation-8sq4gyz7.js} +7 -7
  91. package/dist/chunks/{schema-6pc27hjz.js → file-mutation-8sze2n9a.js} +2 -2
  92. package/dist/chunks/{schema-z9c610pw.js → file-mutation-8xxydye1.js} +13 -13
  93. package/dist/chunks/{schema-30846h32.js → file-mutation-92swnv4m.js} +8 -8
  94. package/dist/chunks/{schema-d8j0mxkc.js → file-mutation-92waa1rm.js} +7 -7
  95. package/dist/chunks/{schema-rw5jw54j.js → file-mutation-94apha83.js} +8 -8
  96. package/dist/chunks/{schema-at94sxth.js → file-mutation-94kdqvgb.js} +9 -9
  97. package/dist/chunks/{schema-2ae0q92z.js → file-mutation-967benbv.js} +11 -11
  98. package/dist/chunks/{schema-scvzwabm.js → file-mutation-9mnf2aaj.js} +11 -11
  99. package/dist/chunks/{schema-qx53j35n.js → file-mutation-9q2hdfp3.js} +24 -24
  100. package/dist/chunks/{schema-87n3rrnw.js → file-mutation-9qkvvyqp.js} +32 -32
  101. package/dist/chunks/{schema-f4g83bm7.js → file-mutation-9vkqjddw.js} +11 -11
  102. package/dist/chunks/{schema-ek59gnbm.js → file-mutation-9wqkfqmh.js} +70 -70
  103. package/dist/chunks/{schema-a20pjse5.js → file-mutation-a20pjse5.js} +3 -3
  104. package/dist/chunks/{schema-9nexcd99.js → file-mutation-a6gf0ppz.js} +3 -3
  105. package/dist/chunks/{schema-3gasgs0k.js → file-mutation-a9km70y1.js} +5 -5
  106. package/dist/chunks/{schema-st4zt39s.js → file-mutation-ac5hykxd.js} +21 -21
  107. package/dist/chunks/{schema-mxvxcxwy.js → file-mutation-addxnjmp.js} +4 -4
  108. package/dist/chunks/{schema-qt44r66w.js → file-mutation-anhf8h1n.js} +3 -3
  109. package/dist/chunks/{schema-z41ahr7v.js → file-mutation-av3f13xe.js} +11 -11
  110. package/dist/chunks/{schema-v5dkyp31.js → file-mutation-b27vhd2z.js} +4 -4
  111. package/dist/chunks/{schema-6fyhx42r.js → file-mutation-b4ragnr9.js} +23 -23
  112. package/dist/chunks/{schema-wp1sg2es.js → file-mutation-b6ag07rz.js} +4 -4
  113. package/dist/chunks/{schema-5t1axb3v.js → file-mutation-b8d7xm3m.js} +13 -13
  114. package/dist/chunks/{schema-44ak30pa.js → file-mutation-bgc5ggmx.js} +4 -4
  115. package/dist/chunks/{schema-tsftnbvm.js → file-mutation-brdz51fb.js} +8 -8
  116. package/dist/chunks/{schema-pv4s4nxr.js → file-mutation-bvefa49m.js} +18 -18
  117. package/dist/chunks/{schema-kwr2em0p.js → file-mutation-bwpes1j3.js} +22 -22
  118. package/dist/chunks/{schema-rqkmn7me.js → file-mutation-bz5hym84.js} +21 -21
  119. package/dist/chunks/{schema-c1fqxshp.js → file-mutation-c1fqxshp.js} +3 -3
  120. package/dist/chunks/{schema-d5t26v95.js → file-mutation-cafkpj5t.js} +22 -22
  121. package/dist/chunks/{schema-cefkz2r6.js → file-mutation-cefkz2r6.js} +4 -4
  122. package/dist/chunks/{schema-zzmpqpc3.js → file-mutation-cj2gcgr0.js} +10 -10
  123. package/dist/chunks/{schema-mccws065.js → file-mutation-cjj3vnjk.js} +2 -2
  124. package/dist/chunks/{schema-hz7aezfr.js → file-mutation-cmftrgtq.js} +33 -33
  125. package/dist/chunks/{schema-nwwgs0kh.js → file-mutation-cmkgjnh5.js} +10 -10
  126. package/dist/chunks/{schema-0dzgkxam.js → file-mutation-cpewaxbb.js} +36 -36
  127. package/dist/chunks/{schema-825jjjdc.js → file-mutation-ctkvxx28.js} +26 -26
  128. package/dist/chunks/{schema-2sejkfem.js → file-mutation-cwa6csj7.js} +9 -9
  129. package/dist/chunks/{schema-gwj3kssr.js → file-mutation-d06kvh6k.js} +54 -54
  130. package/dist/chunks/{schema-e9vvnvyx.js → file-mutation-d7q21r69.js} +9 -9
  131. package/dist/chunks/{schema-q6chj63a.js → file-mutation-d9a4qpg5.js} +32 -32
  132. package/dist/chunks/{schema-fzz4ftgm.js → file-mutation-dccm8yky.js} +14 -14
  133. package/dist/chunks/{schema-jxda656q.js → file-mutation-df9339xm.js} +13 -13
  134. package/dist/chunks/{schema-nf3p155y.js → file-mutation-dqj1zep9.js} +5 -5
  135. package/dist/chunks/{schema-5zscwwge.js → file-mutation-dr99d0ac.js} +3 -3
  136. package/dist/chunks/{schema-2bep3sk1.js → file-mutation-dtgy4jeb.js} +7 -7
  137. package/dist/chunks/{schema-gjkbr6zc.js → file-mutation-e27v7yqk.js} +13 -13
  138. package/dist/chunks/{schema-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
  139. package/dist/chunks/{schema-txyw6bh0.js → file-mutation-ea6pkrn3.js} +2 -2
  140. package/dist/chunks/{schema-r2z489rp.js → file-mutation-ed1g29hy.js} +3 -3
  141. package/dist/chunks/{schema-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
  142. package/dist/chunks/{schema-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{schema-6xkcg1y6.js → file-mutation-eftecqvh.js} +23 -23
  144. package/dist/chunks/{schema-kecqjjhm.js → file-mutation-eh6ej367.js} +5 -5
  145. package/dist/chunks/{schema-d0vc93hk.js → file-mutation-f0y10khq.js} +25 -25
  146. package/dist/chunks/{schema-htvezcsh.js → file-mutation-f8fzv2x1.js} +3 -3
  147. package/dist/chunks/{schema-5j21s5mr.js → file-mutation-fa4te4zq.js} +23 -23
  148. package/dist/chunks/{schema-rt2zj1s0.js → file-mutation-fcs05vrx.js} +24 -24
  149. package/dist/chunks/{schema-fcy631f0.js → file-mutation-fcy631f0.js} +1 -1
  150. package/dist/chunks/{schema-6pxm0met.js → file-mutation-g18yemqx.js} +45 -45
  151. package/dist/chunks/{schema-yhc4wv29.js → file-mutation-gc69w8x5.js} +50 -50
  152. package/dist/chunks/{schema-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{schema-4176b2yk.js → file-mutation-gdgy10dy.js} +32 -32
  154. package/dist/chunks/{schema-6kp05j0h.js → file-mutation-gk5p4syv.js} +18 -18
  155. package/dist/chunks/{schema-fyzv33qs.js → file-mutation-gkm6v4vd.js} +43 -43
  156. package/dist/chunks/{schema-4j4wwavy.js → file-mutation-gnhr360k.js} +14 -14
  157. package/dist/chunks/{schema-nysxgq6d.js → file-mutation-gqagkb1x.js} +11 -11
  158. package/dist/chunks/{schema-dzyrc88t.js → file-mutation-gtndzxs8.js} +6 -6
  159. package/dist/chunks/{schema-p4p2ts1j.js → file-mutation-h6mg8ssc.js} +11 -11
  160. package/dist/chunks/{schema-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{schema-fdms3n6w.js → file-mutation-h71w788e.js} +9 -9
  162. package/dist/chunks/{schema-8m22mfav.js → file-mutation-h7vxqxg2.js} +32 -32
  163. package/dist/chunks/{schema-v210v162.js → file-mutation-h8bq8y5a.js} +9 -9
  164. package/dist/chunks/{schema-tej7bjmy.js → file-mutation-hebc8qwk.js} +13 -13
  165. package/dist/chunks/{schema-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
  166. package/dist/chunks/{schema-h6cpwytq.js → file-mutation-hh1mvxn6.js} +55 -55
  167. package/dist/chunks/{schema-66fgvbn3.js → file-mutation-hry64yvt.js} +17 -17
  168. package/dist/chunks/{schema-arypdymn.js → file-mutation-hzm5xem3.js} +30 -30
  169. package/dist/chunks/{schema-q9cqhrsb.js → file-mutation-j228j2n8.js} +2 -2
  170. package/dist/chunks/{schema-j9w080ad.js → file-mutation-j8143y8a.js} +16 -16
  171. package/dist/chunks/{schema-w4q7m0eq.js → file-mutation-jh0cf3gy.js} +18 -18
  172. package/dist/chunks/{schema-xqj10vmz.js → file-mutation-jspydjgs.js} +9 -9
  173. package/dist/chunks/{schema-rvbf7bre.js → file-mutation-jws504fy.js} +15 -15
  174. package/dist/chunks/{schema-ycc3121e.js → file-mutation-k2r06wff.js} +4 -4
  175. package/dist/chunks/{schema-chsnhwb3.js → file-mutation-ke9g58qf.js} +13 -13
  176. package/dist/chunks/{schema-8ngzfdb0.js → file-mutation-kf0ydnx7.js} +15 -15
  177. package/dist/chunks/{schema-man2x1hw.js → file-mutation-khcab136.js} +21 -21
  178. package/dist/chunks/{schema-hq3c8me3.js → file-mutation-khmqacep.js} +4 -4
  179. package/dist/chunks/{schema-4xpgt2w9.js → file-mutation-kjdm35cs.js} +5 -5
  180. package/dist/chunks/{schema-81f7vt2z.js → file-mutation-kqv3x6rj.js} +9 -9
  181. package/dist/chunks/{schema-rp73s9pz.js → file-mutation-ktb21g4v.js} +15 -15
  182. package/dist/chunks/{schema-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
  183. package/dist/chunks/{schema-0vfyfqrd.js → file-mutation-kz7145yv.js} +6 -6
  184. package/dist/chunks/{schema-hhyv66vq.js → file-mutation-m1z5ek08.js} +5 -5
  185. package/dist/chunks/{schema-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{schema-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
  187. package/dist/chunks/{schema-n4s909p2.js → file-mutation-mhg37pmq.js} +47 -47
  188. package/dist/chunks/{schema-hcgx9r92.js → file-mutation-mrcqdzkn.js} +14 -14
  189. package/dist/chunks/{schema-rk5y8ke4.js → file-mutation-mrv22f7s.js} +15 -15
  190. package/dist/chunks/{schema-exevrqmg.js → file-mutation-mwahwpcs.js} +18 -18
  191. package/dist/chunks/{schema-8td2p5q2.js → file-mutation-n5sg9n8b.js} +34 -34
  192. package/dist/chunks/{schema-s1y79ssk.js → file-mutation-n7c99d35.js} +18 -18
  193. package/dist/chunks/{schema-ydbf29gx.js → file-mutation-nn5t8xjm.js} +47 -47
  194. package/dist/chunks/{schema-9n0pq0p1.js → file-mutation-nwsypg2h.js} +11 -11
  195. package/dist/chunks/{schema-p37cw4rj.js → file-mutation-p4mj4rdp.js} +8 -8
  196. package/dist/chunks/{schema-3q4zrqsz.js → file-mutation-phk9d88z.js} +45 -45
  197. package/dist/chunks/{schema-cc9fn44q.js → file-mutation-pjhesq7k.js} +11 -11
  198. package/dist/chunks/{schema-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{schema-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  200. package/dist/chunks/{schema-ghrfrbg4.js → file-mutation-pkpp0jng.js} +4 -4
  201. package/dist/chunks/{schema-r4mzk1xx.js → file-mutation-ps2trwbq.js} +3 -3
  202. package/dist/chunks/{schema-vwssb2rn.js → file-mutation-py2d2bhf.js} +4 -4
  203. package/dist/chunks/{schema-36gdk6sm.js → file-mutation-pzz5tmzm.js} +17 -17
  204. package/dist/chunks/{schema-ec5r24jz.js → file-mutation-q2j64v3h.js} +6 -6
  205. package/dist/chunks/{schema-7erbtyx3.js → file-mutation-qaf3te0r.js} +11 -11
  206. package/dist/chunks/{schema-yw7v3j12.js → file-mutation-qb9hezfc.js} +27 -27
  207. package/dist/chunks/{schema-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{schema-4bgsdwgm.js → file-mutation-qnq8mqeg.js} +28 -28
  209. package/dist/chunks/{schema-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  210. package/dist/chunks/{schema-phq9g6aj.js → file-mutation-qxns1yyr.js} +19 -19
  211. package/dist/chunks/{schema-3f75xvkg.js → file-mutation-qz0pc5j5.js} +19 -19
  212. package/dist/chunks/{schema-4d3127hb.js → file-mutation-r5z9qnpm.js} +11 -11
  213. package/dist/chunks/{schema-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{schema-brgccpge.js → file-mutation-re4gtx8j.js} +25 -25
  215. package/dist/chunks/{schema-rert0e01.js → file-mutation-rert0e01.js} +2 -2
  216. package/dist/chunks/{schema-rj3eygr5.js → file-mutation-rj3eygr5.js} +2 -2
  217. package/dist/chunks/{schema-6w7d1qme.js → file-mutation-rp8hjwgz.js} +11 -11
  218. package/dist/chunks/{schema-dk1ym1bf.js → file-mutation-rpnfjj5z.js} +30 -30
  219. package/dist/chunks/{schema-csndn1v6.js → file-mutation-rqbas9ax.js} +19 -19
  220. package/dist/chunks/{schema-1f1kaem6.js → file-mutation-rqhevtjr.js} +14 -14
  221. package/dist/chunks/{schema-e5cghe60.js → file-mutation-rrb9pz5a.js} +1 -1
  222. package/dist/chunks/{schema-ejvnp2ks.js → file-mutation-s5qxm7c2.js} +11 -11
  223. package/dist/chunks/{schema-4459cj4r.js → file-mutation-s8yypaqy.js} +46 -46
  224. package/dist/chunks/{schema-sa8ekw3f.js → file-mutation-sa8ekw3f.js} +2 -2
  225. package/dist/chunks/{schema-rz6yywgf.js → file-mutation-sadarxxx.js} +35 -35
  226. package/dist/chunks/{schema-vh1fw6yt.js → file-mutation-sbr2r95b.js} +27 -27
  227. package/dist/chunks/{schema-syv4x271.js → file-mutation-syv4x271.js} +1 -1
  228. package/dist/chunks/{schema-xtpd89cm.js → file-mutation-szyc73at.js} +11 -11
  229. package/dist/chunks/{schema-ezc52dw2.js → file-mutation-t4bhgeye.js} +5 -5
  230. package/dist/chunks/{schema-t550f9t1.js → file-mutation-t550f9t1.js} +1 -1
  231. package/dist/chunks/{schema-js1t3555.js → file-mutation-t80p7bv8.js} +9 -9
  232. package/dist/chunks/{schema-hq279geq.js → file-mutation-ta0tc5c9.js} +26 -26
  233. package/dist/chunks/{schema-kcfh4jp8.js → file-mutation-taz2ghkg.js} +14 -14
  234. package/dist/chunks/{schema-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{schema-d858xzj7.js → file-mutation-tbmac1c7.js} +4 -4
  236. package/dist/chunks/{schema-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{schema-75ytgrqn.js → file-mutation-td1fm6rg.js} +21 -21
  238. package/dist/chunks/{schema-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  239. package/dist/chunks/{schema-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{schema-4c7g6ymp.js → file-mutation-ts412n3k.js} +37 -37
  241. package/dist/chunks/{schema-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
  242. package/dist/chunks/{schema-zqr7hr21.js → file-mutation-v08krjdw.js} +15 -15
  243. package/dist/chunks/{schema-v13b12ef.js → file-mutation-v13b12ef.js} +2 -2
  244. package/dist/chunks/file-mutation-v1yvzs5v.js +517 -0
  245. package/dist/chunks/{schema-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{schema-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  247. package/dist/chunks/{schema-5mbpffke.js → file-mutation-vt9q9evw.js} +10 -10
  248. package/dist/chunks/{schema-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{schema-bygmh04z.js → file-mutation-w3g2sjny.js} +14 -14
  250. package/dist/chunks/{schema-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{schema-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  252. package/dist/chunks/{schema-hwq6p19n.js → file-mutation-wdasqx75.js} +4 -4
  253. package/dist/chunks/{schema-mcxxahwh.js → file-mutation-wnyvz4dk.js} +45 -45
  254. package/dist/chunks/{schema-g4wty43c.js → file-mutation-wpys2vyv.js} +5 -5
  255. package/dist/chunks/{schema-y89gydzy.js → file-mutation-wqabm0nw.js} +17 -17
  256. package/dist/chunks/{schema-a7scjn5s.js → file-mutation-ws0ez784.js} +16 -16
  257. package/dist/chunks/{schema-5gydnkt7.js → file-mutation-x0k3z69x.js} +16 -16
  258. package/dist/chunks/{schema-ttacmzh5.js → file-mutation-x5dktsa5.js} +23 -23
  259. package/dist/chunks/{schema-ma48de29.js → file-mutation-x6pyv2yz.js} +5 -5
  260. package/dist/chunks/{schema-7vx8fxzm.js → file-mutation-xcevffwp.js} +82 -82
  261. package/dist/chunks/{schema-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
  262. package/dist/chunks/{schema-tt8gc4fv.js → file-mutation-xfktpdj6.js} +6 -6
  263. package/dist/chunks/{schema-2znnk454.js → file-mutation-xgrstn99.js} +11 -11
  264. package/dist/chunks/{schema-80jay3zv.js → file-mutation-xmb5688y.js} +33 -33
  265. package/dist/chunks/{schema-33srfa0b.js → file-mutation-xp80041t.js} +10 -10
  266. package/dist/chunks/{schema-vz2w9rtp.js → file-mutation-xs3kgst9.js} +23 -23
  267. package/dist/chunks/{schema-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{schema-h9r6r1hy.js → file-mutation-y59fqsw4.js} +26 -26
  269. package/dist/chunks/{schema-y71avatq.js → file-mutation-y71avatq.js} +1 -1
  270. package/dist/chunks/{schema-bacj9t34.js → file-mutation-y7nndgyc.js} +9 -9
  271. package/dist/chunks/{schema-gwaz9r47.js → file-mutation-ydjhy7jp.js} +4 -4
  272. package/dist/chunks/{schema-xekvc3d8.js → file-mutation-ye93bcpk.js} +13 -13
  273. package/dist/chunks/{schema-remtvbha.js → file-mutation-yebssw6b.js} +3 -3
  274. package/dist/chunks/{schema-9zj7wbnh.js → file-mutation-yr4z1qtt.js} +44 -44
  275. package/dist/chunks/{schema-bjx1sjef.js → file-mutation-ywt8jp22.js} +9 -9
  276. package/dist/chunks/{schema-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{schema-gp3kkx05.js → file-mutation-z0hcq1xj.js} +28 -28
  278. package/dist/chunks/{schema-z18fegx4.js → file-mutation-z18fegx4.js} +1 -1
  279. package/dist/chunks/{schema-1323fv79.js → file-mutation-zak5s96v.js} +4 -4
  280. package/dist/chunks/{schema-n46s7c5f.js → file-mutation-zcepehk0.js} +5 -5
  281. package/dist/chunks/file-mutation-zcrrhp36.js +26 -0
  282. package/dist/chunks/{schema-embw8kgh.js → file-mutation-zcrspsvn.js} +4 -4
  283. package/dist/chunks/{schema-fvgp290g.js → file-mutation-zh98cvta.js} +8 -8
  284. package/dist/chunks/{schema-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{schema-hh0a7fvf.js → file-mutation-zr8t0btn.js} +189 -189
  286. package/dist/chunks/{schema-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{schema-gjgye92n.js → file-mutation-zz19y5js.js} +17 -17
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +3 -3
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +208 -208
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +108 -108
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +73 -73
  465. package/dist/location-activity.js +155 -155
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +131 -131
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +86 -86
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +115 -115
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +88 -88
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +87 -87
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +215 -215
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +155 -155
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +95 -95
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +202 -202
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +159 -159
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +211 -211
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +212 -212
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +91 -91
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +128 -128
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +209 -209
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +114 -114
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +86 -86
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +96 -96
  691. package/package.json +8 -8
  692. package/dist/chunks/schema-1xy3bbfj.js +0 -517
  693. package/dist/chunks/schema-ebe1aw40.js +0 -257
  694. package/dist/chunks/schema-hktg20kd.js +0 -26
  695. package/dist/chunks/schema-vnkjks7b.js +0 -18
  696. /package/dist/chunks/{schema-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{schema-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{schema-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{schema-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{schema-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{schema-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{schema-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{schema-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{schema-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{schema-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{schema-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{schema-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  708. /package/dist/chunks/{schema-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{schema-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{schema-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{schema-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{schema-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{schema-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{schema-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{schema-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  716. /package/dist/chunks/{schema-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{schema-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  718. /package/dist/chunks/{schema-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{schema-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{schema-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{schema-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  722. /package/dist/chunks/{schema-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{schema-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{schema-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{schema-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{schema-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{schema-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{schema-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{schema-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{schema-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{schema-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{schema-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{schema-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{schema-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{schema-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{schema-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{schema-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{schema-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{schema-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{schema-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{schema-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  742. /package/dist/chunks/{schema-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{schema-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{schema-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{schema-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{schema-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{schema-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{schema-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{schema-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{schema-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{schema-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{schema-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{schema-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  754. /package/dist/chunks/{schema-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{schema-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  756. /package/dist/chunks/{schema-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{schema-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  758. /package/dist/chunks/{schema-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{schema-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{schema-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{schema-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{schema-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{schema-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{schema-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{schema-m18g726c.js → file-mutation-m18g726c.js} +0 -0
  766. /package/dist/chunks/{schema-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{schema-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{schema-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{schema-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{schema-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{schema-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{schema-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{schema-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{schema-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{schema-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{schema-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{schema-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{schema-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{schema-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{schema-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{schema-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{schema-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{schema-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{schema-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{schema-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{schema-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{schema-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{schema-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{schema-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{schema-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  791. /package/dist/chunks/{schema-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{schema-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{schema-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{schema-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{schema-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{schema-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./schema-dk1ym1bf.js";
4
+ } from "./file-mutation-rpnfjj5z.js";
5
5
  import {
6
6
  mergeCapabilities2
7
- } from "./schema-1skh4z6z.js";
7
+ } from "./file-mutation-4b4em5d4.js";
8
8
  import {
9
9
  latest2,
10
- Service57
11
- } from "./schema-n4s909p2.js";
10
+ Service63
11
+ } from "./file-mutation-mhg37pmq.js";
12
12
  import {
13
13
  supports2,
14
- resolve3
15
- } from "./schema-0vfyfqrd.js";
14
+ resolve4
15
+ } from "./file-mutation-kz7145yv.js";
16
16
  import {
17
17
  observe2
18
- } from "./schema-qsdy395h.js";
18
+ } from "./file-mutation-qsdy395h.js";
19
19
  import {
20
20
  __export
21
- } from "./schema-9rqn6x4v.js";
21
+ } from "./file-mutation-9rqn6x4v.js";
22
22
 
23
23
  // src/config/plugin/provider.ts
24
24
  var exports_provider = {};
25
25
  __export(exports_provider, {
26
26
  ConfigProviderPlugin: () => exports_provider,
27
- Plugin: () => Plugin50
27
+ Plugin: () => Plugin16
28
28
  });
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Money } from "@opencode/schema/money";
31
31
  import { Effect } from "effect";
32
- var Plugin50 = define({
32
+ var Plugin16 = define({
33
33
  id: "opencode.config.provider",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service57;
35
+ const config = yield* Service63;
36
36
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
37
37
  yield* ctx.integration.transform((integrations) => {
38
38
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -160,7 +160,7 @@ var Plugin50 = define({
160
160
  models.update(providerID, id, (model) => {
161
161
  if (config.capabilities?.reasoning !== undefined)
162
162
  model.variants = [
163
- ...resolve3({ ...model, package: model.package ?? models.provider.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
163
+ ...resolve4({ ...model, package: model.package ?? models.provider.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
164
164
  ];
165
165
  if (config.variants !== undefined) {
166
166
  model.variants ??= [];
@@ -196,7 +196,7 @@ var Plugin50 = define({
196
196
  if (config.variants === undefined && config.capabilities?.reasoning === undefined && (!source?.base || repackaged))
197
197
  models.update(providerID, id, (model) => {
198
198
  model.variants = [
199
- ...resolve3({
199
+ ...resolve4({
200
200
  ...model,
201
201
  package: model.package ?? models.provider.get(providerID)?.provider.package
202
202
  })
@@ -211,4 +211,4 @@ function configuredProviders(entries) {
211
211
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
212
212
  }
213
213
 
214
- export { Plugin50, exports_provider };
214
+ export { Plugin16, exports_provider };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./schema-emrn6kk6.js";
4
+ } from "./file-mutation-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./schema-emrn6kk6.js";
4
+ } from "./file-mutation-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./schema-550bvhaj.js";
3
+ } from "./file-mutation-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./schema-j5zkgpj8.js";
6
+ } from "./file-mutation-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./schema-3asan66x.js";
9
+ } from "./file-mutation-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./schema-ma48de29.js";
12
+ } from "./file-mutation-x6pyv2yz.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./schema-z5v4ffb3.js";
3
+ } from "./file-mutation-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service57
7
- } from "./schema-n4s909p2.js";
6
+ Service63
7
+ } from "./file-mutation-mhg37pmq.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./schema-hgz4x7wa.js";
10
+ } from "./file-mutation-hgz4x7wa.js";
11
11
  import {
12
- Service80
13
- } from "./schema-hp36aydz.js";
12
+ Service71
13
+ } from "./file-mutation-3e2gnrvk.js";
14
14
  import {
15
- Service75
16
- } from "./schema-rp73s9pz.js";
15
+ Service61
16
+ } from "./file-mutation-ktb21g4v.js";
17
17
  import {
18
- Service64
19
- } from "./schema-h6cpwytq.js";
18
+ Service56
19
+ } from "./file-mutation-hh1mvxn6.js";
20
20
  import {
21
- Service17,
21
+ Service21,
22
22
  resolvePath2
23
- } from "./schema-pv4s4nxr.js";
23
+ } from "./file-mutation-bvefa49m.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./schema-vzs5sf6e.js";
29
+ } from "./file-mutation-vzs5sf6e.js";
30
30
  import {
31
- Service41,
31
+ Service49,
32
32
  name16
33
- } from "./schema-exevrqmg.js";
33
+ } from "./file-mutation-mwahwpcs.js";
34
34
  import {
35
- NotFoundError5,
36
- Service35
37
- } from "./schema-ydbf29gx.js";
35
+ NotFoundError7,
36
+ Service47
37
+ } from "./file-mutation-nn5t8xjm.js";
38
38
  import {
39
- Service20
40
- } from "./schema-4j8ys442.js";
39
+ Service27
40
+ } from "./file-mutation-6p9h6rqd.js";
41
41
  import {
42
- scan3
43
- } from "./schema-2bep3sk1.js";
42
+ scan2
43
+ } from "./file-mutation-dtgy4jeb.js";
44
44
  import {
45
45
  __export
46
- } from "./schema-9rqn6x4v.js";
46
+ } from "./file-mutation-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input12,
53
- Plugin: () => Plugin30,
52
+ Input: () => Input6,
53
+ Plugin: () => Plugin7,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name12
55
+ name: () => name6
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name12 = "shell";
60
+ var name6 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input12 = Schema.Struct({
74
+ var Input6 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin30 = {
120
+ var Plugin7 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service20;
124
- const jobs = yield* Service75;
123
+ const sessions = yield* Service27;
124
+ const jobs = yield* Service61;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service80;
127
- const access = yield* Service17;
128
- const shell = yield* Service35;
129
- const shellSelect = yield* Service41;
126
+ const environment = yield* Service71;
127
+ const access = yield* Service21;
128
+ const shell = yield* Service47;
129
+ const shellSelect = yield* Service49;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service64;
132
- const config = yield* Service57;
131
+ const permission = yield* Service56;
132
+ const config = yield* Service63;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -140,7 +140,7 @@ var Plugin30 = {
140
140
  invocation.cwd = target.absolute;
141
141
  const timeout = invocation.timeout;
142
142
  const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
143
- const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
143
+ const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
144
144
  const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
145
145
  path: resolvePath2(target.absolute, directory),
146
146
  kind: "directory"
@@ -148,7 +148,7 @@ var Plugin30 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name12,
151
+ action: name6,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin30 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name12,
188
+ name: name6,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input12,
191
+ input: Input6,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin30 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError5({ id: info.id });
214
+ return yield* new NotFoundError7({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name12,
228
+ type: name6,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name12];
258
+ const tool = event.tools[name6];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name16(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin30, exports_shell };
269
+ export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin7, exports_shell };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID11
3
- } from "./schema-dk1ym1bf.js";
2
+ ID13
3
+ } from "./file-mutation-rpnfjj5z.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./schema-6q2bdcd1.js";
6
+ } from "./file-mutation-6q2bdcd1.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID11.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID11.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service85
3
- } from "./schema-vwssb2rn.js";
3
+ } from "./file-mutation-py2d2bhf.js";
4
4
  import {
5
5
  key2
6
- } from "./schema-mxvxcxwy.js";
6
+ } from "./file-mutation-addxnjmp.js";
7
7
  import {
8
- Event18
9
- } from "./schema-gp3kkx05.js";
8
+ Event20
9
+ } from "./file-mutation-z0hcq1xj.js";
10
10
  import {
11
- ID12
12
- } from "./schema-hq279geq.js";
11
+ ID14
12
+ } from "./file-mutation-ta0tc5c9.js";
13
13
  import {
14
- ID11,
15
- Service71
16
- } from "./schema-dk1ym1bf.js";
14
+ ID13,
15
+ Service78
16
+ } from "./file-mutation-rpnfjj5z.js";
17
17
  import {
18
- load3,
19
- derive3
20
- } from "./schema-ttacmzh5.js";
18
+ load2,
19
+ derive2
20
+ } from "./file-mutation-x5dktsa5.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID11.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service71;
29
+ const providers = yield* Service78;
30
30
  const bus = yield* Service85;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load3(baseURL, apiKey),
48
+ try: () => load2(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./schema-remtvbha.js";
4
+ } from "./file-mutation-yebssw6b.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./schema-c1fqxshp.js";
8
+ } from "./file-mutation-c1fqxshp.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load5
12
- } from "./schema-9n0pq0p1.js";
11
+ load4
12
+ } from "./file-mutation-nwsypg2h.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./schema-txyw6bh0.js";
15
+ } from "./file-mutation-ea6pkrn3.js";
16
16
  import {
17
17
  __export
18
- } from "./schema-9rqn6x4v.js";
18
+ } from "./file-mutation-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput4,
24
- Service: () => Service66,
23
+ ListInput: () => ListInput5,
24
+ Service: () => Service58,
25
25
  SessionStore: () => exports_store,
26
- node: () => node69
26
+ node: () => node60
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";
@@ -51,13 +51,13 @@ var ListProjectInput = Schema.Struct({
51
51
  subpath: RelativePath.pipe(Schema.optional)
52
52
  });
53
53
  var ListAllInput = Schema.Struct(ListInputBase);
54
- var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
+ var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
55
55
 
56
- class Service66 extends Context.Service()("@opencode/SessionStore") {
56
+ class Service58 extends Context.Service()("@opencode/SessionStore") {
57
57
  }
58
- var layer = Layer.effect(Service66, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
59
59
  const { db } = yield* Service86;
60
- return Service66.of({
60
+ return Service58.of({
61
61
  get: Effect.fnUntraced(function* (sessionID) {
62
62
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
63
63
  return row ? fromRow2(row) : undefined;
@@ -101,7 +101,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
101
101
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
102
102
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
103
103
  }),
104
- context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
104
+ context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
105
105
  message: Effect.fn("SessionStore.message")(function* (messageID) {
106
106
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
107
107
  return row ? {
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node69 = makeGlobalNode({ service: Service66, layer, deps: [node90] });
131
+ var node60 = makeGlobalNode({ service: Service58, layer, deps: [node90] });
132
132
 
133
- export { ListInput4, Service66, node69, exports_store };
133
+ export { ListInput5, Service58, node60, exports_store };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service56
3
- } from "./schema-sqmzwr9m.js";
2
+ Service55
3
+ } from "./file-mutation-5e1pzs32.js";
4
4
  import {
5
- Service49
6
- } from "./schema-c8bydgjz.js";
5
+ Service43
6
+ } from "./file-mutation-4mwpykj0.js";
7
7
  import {
8
8
  detect2
9
- } from "./schema-3smtnn6g.js";
9
+ } from "./file-mutation-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./schema-vnkjks7b.js";
12
+ } from "./file-mutation-7fj5dwt0.js";
13
13
  import {
14
- Service67
15
- } from "./schema-30846h32.js";
14
+ Service60
15
+ } from "./file-mutation-92swnv4m.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./schema-ec5r24jz.js";
19
+ } from "./file-mutation-q2j64v3h.js";
20
20
  import {
21
21
  prepare3,
22
- Service42
23
- } from "./schema-6kp05j0h.js";
22
+ Service52
23
+ } from "./file-mutation-gk5p4syv.js";
24
24
  import {
25
25
  __export
26
- } from "./schema-9rqn6x4v.js";
26
+ } from "./file-mutation-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service49;
42
+ const instances = yield* Service43;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service67;
45
+ const hooks = yield* Service60;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service42;
64
+ const skillService = yield* Service52;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service56;
129
+ const image = yield* Service55;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID11,
2
+ ID13,
3
3
  mergeOverlay2
4
- } from "./schema-dk1ym1bf.js";
4
+ } from "./file-mutation-rpnfjj5z.js";
5
5
  import {
6
- ID7,
6
+ ID12,
7
7
  VariantID2,
8
- Info17,
8
+ Info21,
9
9
  compatibility2
10
- } from "./schema-1skh4z6z.js";
10
+ } from "./file-mutation-4b4em5d4.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./file-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models2 = {};
17
- __export(exports_models2, {
18
- ModalModels: () => exports_models2,
19
- derive: () => derive3,
20
- get: () => get3,
21
- load: () => load3
16
+ var exports_models = {};
17
+ __export(exports_models, {
18
+ ModalModels: () => exports_models,
19
+ derive: () => derive2,
20
+ get: () => get2,
21
+ load: () => load2
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID11.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get3(baseURL, apiKey, existing) {
58
- return derive3(baseURL, await load3(baseURL, apiKey), existing);
57
+ async function get2(baseURL, apiKey, existing) {
58
+ return derive2(baseURL, await load2(baseURL, apiKey), existing);
59
59
  }
60
- async function load3(baseURL, apiKey) {
60
+ async function load2(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive3(baseURL, remote, existing) {
74
+ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID7.make(item.id);
78
+ const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID12.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info17.make({
98
- ...Info17.default(providerID, id),
97
+ return Info21.make({
98
+ ...Info21.default(providerID, id),
99
99
  id,
100
- modelID: ID7.make(remote.id),
100
+ modelID: ID12.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get3, load3, derive3, exports_models2 };
147
+ export { get2, load2, derive2, exports_models };