@opencode/core 0.0.0-dev-20451 → 0.0.0-dev-20452

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{model-resolver-03698r9s.js → models-dev-0854p0gv.js} +11 -11
  8. package/dist/chunks/{model-resolver-mmr9n9n6.js → models-dev-0941922b.js} +13 -13
  9. package/dist/chunks/{model-resolver-pf2hb43r.js → models-dev-0gaj4617.js} +6 -6
  10. package/dist/chunks/{model-resolver-q0xm7vwc.js → models-dev-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{model-resolver-0paq2nw3.js → models-dev-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{model-resolver-dg8e6nc3.js → models-dev-0rgzkkjh.js} +16 -16
  13. package/dist/chunks/{model-resolver-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{model-resolver-bpke0n4y.js → models-dev-0xkn7ts5.js} +14 -14
  15. package/dist/chunks/{model-resolver-hns04bnr.js → models-dev-15khhqps.js} +3 -3
  16. package/dist/chunks/{model-resolver-r98e92ep.js → models-dev-1a6p2twq.js} +4 -4
  17. package/dist/chunks/{model-resolver-yp2x3t23.js → models-dev-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{model-resolver-9hn6k4tm.js → models-dev-1ajx6rf5.js} +8 -8
  19. package/dist/chunks/{model-resolver-a37e8zcw.js → models-dev-1bnhazxr.js} +17 -17
  20. package/dist/chunks/{model-resolver-1dazxqgg.js → models-dev-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{model-resolver-h9jfnbdc.js → models-dev-1nr7swwt.js} +24 -24
  22. package/dist/chunks/{model-resolver-ss33t2y8.js → models-dev-1xzpbkn4.js} +7 -7
  23. package/dist/chunks/{model-resolver-21r38tys.js → models-dev-21r38tys.js} +1 -1
  24. package/dist/chunks/{model-resolver-gaep76ax.js → models-dev-28jzq77a.js} +7 -7
  25. package/dist/chunks/{model-resolver-2a5m3afh.js → models-dev-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{model-resolver-4ts7tf6z.js → models-dev-2ccvkpx1.js} +2 -2
  27. package/dist/chunks/{model-resolver-5cmxdwv8.js → models-dev-2f04pwep.js} +2 -2
  28. package/dist/chunks/{model-resolver-tvjfdkdg.js → models-dev-2hd82kvp.js} +12 -12
  29. package/dist/chunks/{model-resolver-0yjfzc4y.js → models-dev-2q0q2dbh.js} +11 -11
  30. package/dist/chunks/{model-resolver-13gay51w.js → models-dev-30a4a7c7.js} +25 -25
  31. package/dist/chunks/{model-resolver-1ygqh575.js → models-dev-33w4ejhs.js} +6 -6
  32. package/dist/chunks/{model-resolver-snag70gz.js → models-dev-34b2e4q6.js} +27 -27
  33. package/dist/chunks/{model-resolver-h2b79v29.js → models-dev-3cegwx68.js} +2 -2
  34. package/dist/chunks/{model-resolver-42r0vthb.js → models-dev-3d7fh724.js} +39 -39
  35. package/dist/chunks/{model-resolver-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{model-resolver-x73h0cn1.js → models-dev-3fkh8yn6.js} +4 -4
  37. package/dist/chunks/{model-resolver-7190hwh5.js → models-dev-3h2t63zm.js} +5 -5
  38. package/dist/chunks/{model-resolver-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{model-resolver-23mzt4g8.js → models-dev-3hwtxg0v.js} +8 -8
  40. package/dist/chunks/{model-resolver-2g3v3994.js → models-dev-3krgv8g4.js} +17 -17
  41. package/dist/chunks/{model-resolver-3ppptnan.js → models-dev-3ppptnan.js} +1 -1
  42. package/dist/chunks/{model-resolver-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{model-resolver-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{model-resolver-3v5tjer0.js → models-dev-3v5tjer0.js} +2 -2
  45. package/dist/chunks/{model-resolver-y6bex35g.js → models-dev-3y377wv9.js} +4 -4
  46. package/dist/chunks/{model-resolver-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{model-resolver-29qym6xz.js → models-dev-41czef58.js} +4 -4
  48. package/dist/chunks/{model-resolver-qkp9yadg.js → models-dev-4689bssz.js} +68 -68
  49. package/dist/chunks/{model-resolver-98nepyqz.js → models-dev-47fz0wt3.js} +33 -33
  50. package/dist/chunks/{model-resolver-dnv1ypcb.js → models-dev-4b5nm53p.js} +5 -5
  51. package/dist/chunks/{model-resolver-ybgaf8pp.js → models-dev-4bwj76ev.js} +8 -8
  52. package/dist/chunks/{model-resolver-rc77m1db.js → models-dev-4w44m13j.js} +18 -18
  53. package/dist/chunks/{model-resolver-8a61e19g.js → models-dev-4z2rrndc.js} +9 -9
  54. package/dist/chunks/{model-resolver-djk2jk4m.js → models-dev-4z7vafm8.js} +3 -3
  55. package/dist/chunks/{model-resolver-pvxf3j12.js → models-dev-50ff8der.js} +11 -11
  56. package/dist/chunks/{model-resolver-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
  57. package/dist/chunks/{model-resolver-g6yfr6ja.js → models-dev-57myy5jh.js} +5 -5
  58. package/dist/chunks/{model-resolver-cdahn06p.js → models-dev-5camj7kj.js} +20 -20
  59. package/dist/chunks/{model-resolver-5daktx2q.js → models-dev-5daktx2q.js} +1 -1
  60. package/dist/chunks/{model-resolver-s30fyz93.js → models-dev-5dkn69vz.js} +4 -4
  61. package/dist/chunks/{model-resolver-5t3nmthw.js → models-dev-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{model-resolver-jw80jp6b.js → models-dev-5wtwrezn.js} +19 -19
  63. package/dist/chunks/{model-resolver-6qajxv40.js → models-dev-5yr0wy5h.js} +15 -15
  64. package/dist/chunks/{model-resolver-669tq793.js → models-dev-669tq793.js} +1 -1
  65. package/dist/chunks/{model-resolver-hfm9a2d0.js → models-dev-69gs4be7.js} +2 -2
  66. package/dist/chunks/{model-resolver-t9kqhrb1.js → models-dev-6fa1qwgn.js} +16 -16
  67. package/dist/chunks/{model-resolver-1gn2mkkg.js → models-dev-6pk1e853.js} +7 -7
  68. package/dist/chunks/{model-resolver-60wzt80q.js → models-dev-6vpxdn2q.js} +10 -10
  69. package/dist/chunks/{model-resolver-1w8tpf8c.js → models-dev-72sx6zak.js} +17 -17
  70. package/dist/chunks/{model-resolver-tx6hj8vh.js → models-dev-76b9s0hs.js} +24 -24
  71. package/dist/chunks/{model-resolver-df54n7py.js → models-dev-76jv6ta8.js} +12 -12
  72. package/dist/chunks/{model-resolver-ay2xdk2g.js → models-dev-78z7twd2.js} +11 -11
  73. package/dist/chunks/{model-resolver-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{model-resolver-407ckyyg.js → models-dev-7dhc0z2g.js} +10 -10
  75. package/dist/chunks/{model-resolver-y4z5xdc7.js → models-dev-7gpa0nna.js} +23 -23
  76. package/dist/chunks/{model-resolver-z1wzh4em.js → models-dev-7pdbbtzd.js} +27 -27
  77. package/dist/chunks/{model-resolver-gse0ck6f.js → models-dev-7pt59mmg.js} +3 -3
  78. package/dist/chunks/models-dev-7vde8y59.js +26 -0
  79. package/dist/chunks/{model-resolver-zfe5250d.js → models-dev-7wyxp894.js} +22 -22
  80. package/dist/chunks/{model-resolver-7k895je9.js → models-dev-7zcddhn7.js} +22 -22
  81. package/dist/chunks/{model-resolver-ekfwq4bz.js → models-dev-7zxwfvat.js} +19 -19
  82. package/dist/chunks/{model-resolver-1dvck2a7.js → models-dev-84h8c373.js} +2 -2
  83. package/dist/chunks/{model-resolver-84txncab.js → models-dev-84txncab.js} +1 -1
  84. package/dist/chunks/{model-resolver-n8sna2wb.js → models-dev-8a6ws7jr.js} +9 -9
  85. package/dist/chunks/{model-resolver-8d7r5vzw.js → models-dev-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{model-resolver-7c08zpn2.js → models-dev-8fj5kwwn.js} +5 -5
  87. package/dist/chunks/{model-resolver-zh60fjan.js → models-dev-8th4ygjr.js} +17 -17
  88. package/dist/chunks/{model-resolver-2aet7wja.js → models-dev-91p1v22t.js} +8 -8
  89. package/dist/chunks/{model-resolver-xvyvc58w.js → models-dev-94nzh446.js} +2 -2
  90. package/dist/chunks/{model-resolver-myqg0pwz.js → models-dev-96n8ayew.js} +11 -11
  91. package/dist/chunks/{model-resolver-2hg7qvzt.js → models-dev-994b2pxg.js} +5 -5
  92. package/dist/chunks/{model-resolver-27w6v31t.js → models-dev-9aq1p9cp.js} +12 -12
  93. package/dist/chunks/{model-resolver-5vfmzxnc.js → models-dev-9gb2ync7.js} +26 -26
  94. package/dist/chunks/{model-resolver-k5hqpvc4.js → models-dev-9tk07j9p.js} +42 -42
  95. package/dist/chunks/{model-resolver-skgj9ax5.js → models-dev-9vm7vwcp.js} +17 -17
  96. package/dist/chunks/{model-resolver-cms9xxzm.js → models-dev-9zvcehk9.js} +29 -29
  97. package/dist/chunks/{model-resolver-eq1pz5kg.js → models-dev-a1gpj94z.js} +3 -3
  98. package/dist/chunks/{model-resolver-qa3qhgw8.js → models-dev-a46v4e4v.js} +4 -4
  99. package/dist/chunks/{model-resolver-aaet6srn.js → models-dev-aaet6srn.js} +2 -2
  100. package/dist/chunks/{model-resolver-qp1n1vy7.js → models-dev-axajacq6.js} +10 -10
  101. package/dist/chunks/{model-resolver-jz1jgw4t.js → models-dev-ayf8bq8f.js} +4 -4
  102. package/dist/chunks/{model-resolver-fc6w6yf8.js → models-dev-b19dd42m.js} +10 -10
  103. package/dist/chunks/{model-resolver-b3f8fkhc.js → models-dev-b3f8fkhc.js} +2 -2
  104. package/dist/chunks/{model-resolver-b6gygkdw.js → models-dev-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{model-resolver-mkpw75cb.js → models-dev-ba15hegp.js} +11 -11
  106. package/dist/chunks/{model-resolver-ztb5xmgg.js → models-dev-bdn2jqxx.js} +6 -6
  107. package/dist/chunks/{model-resolver-dg5bcj4q.js → models-dev-bdqrk2vk.js} +6 -6
  108. package/dist/chunks/{model-resolver-k8f3jam7.js → models-dev-bfnsmjbw.js} +5 -5
  109. package/dist/chunks/{model-resolver-gfgy34x3.js → models-dev-bqr0zv8z.js} +13 -13
  110. package/dist/chunks/{model-resolver-b9hjm50k.js → models-dev-bssw5rpn.js} +12 -12
  111. package/dist/chunks/{model-resolver-ar6s7d1p.js → models-dev-bvqgm5rf.js} +10 -10
  112. package/dist/chunks/{model-resolver-2a545107.js → models-dev-c4ww8g45.js} +9 -9
  113. package/dist/chunks/{model-resolver-7psexnws.js → models-dev-c81zrbea.js} +34 -34
  114. package/dist/chunks/{model-resolver-k3hh5zvs.js → models-dev-c8gaqqnw.js} +25 -25
  115. package/dist/chunks/{model-resolver-5hvxb13s.js → models-dev-c99jdjhh.js} +31 -31
  116. package/dist/chunks/{model-resolver-8q54bcf9.js → models-dev-cjamm04q.js} +25 -25
  117. package/dist/chunks/{model-resolver-y3nba2x3.js → models-dev-cjp0a610.js} +4 -4
  118. package/dist/chunks/{model-resolver-6sy3a1sn.js → models-dev-cw8px619.js} +54 -54
  119. package/dist/chunks/{model-resolver-n5cn0tb9.js → models-dev-d0h48npz.js} +162 -162
  120. package/dist/chunks/{model-resolver-kmkk6jeb.js → models-dev-d26jcb5s.js} +26 -26
  121. package/dist/chunks/{model-resolver-9j6n7gng.js → models-dev-d697ebzy.js} +16 -16
  122. package/dist/chunks/{model-resolver-09w5hx8q.js → models-dev-dessa7tv.js} +25 -25
  123. package/dist/chunks/{model-resolver-r2m716tb.js → models-dev-djszqvmq.js} +9 -9
  124. package/dist/chunks/{model-resolver-dmqcgk4z.js → models-dev-dmqcgk4z.js} +2 -2
  125. package/dist/chunks/{model-resolver-70jrxnh2.js → models-dev-dnms7f4c.js} +4 -4
  126. package/dist/chunks/{model-resolver-gfvjxb5k.js → models-dev-dny01r52.js} +1 -1
  127. package/dist/chunks/{model-resolver-5qd3pb7m.js → models-dev-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{model-resolver-1p1dbgcw.js → models-dev-ea1ysjqz.js} +21 -21
  129. package/dist/chunks/{model-resolver-5ms1yq5h.js → models-dev-ea2mkzh4.js} +17 -17
  130. package/dist/chunks/{model-resolver-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{model-resolver-ee0fmwbc.js → models-dev-egk0xxbt.js} +13 -13
  132. package/dist/chunks/{model-resolver-zc5g640q.js → models-dev-ep44p4pe.js} +5 -5
  133. package/dist/chunks/{model-resolver-vff75evq.js → models-dev-es70bpzk.js} +6 -6
  134. package/dist/chunks/{model-resolver-etq0c3wd.js → models-dev-etq0c3wd.js} +1 -1
  135. package/dist/chunks/{model-resolver-h9hhdsha.js → models-dev-f48bmfs2.js} +32 -32
  136. package/dist/chunks/{model-resolver-xv43dmfe.js → models-dev-f5w4681e.js} +6 -6
  137. package/dist/chunks/{model-resolver-71az546q.js → models-dev-f75zav2x.js} +2 -2
  138. package/dist/chunks/{model-resolver-fcrkznn8.js → models-dev-fcrkznn8.js} +1 -1
  139. package/dist/chunks/{model-resolver-vwfaknzj.js → models-dev-ffej5mt0.js} +48 -48
  140. package/dist/chunks/{model-resolver-815qh5kc.js → models-dev-fjg160xg.js} +15 -15
  141. package/dist/chunks/{model-resolver-q4kmjcgn.js → models-dev-fjpwdv2c.js} +17 -17
  142. package/dist/chunks/{model-resolver-zw9m0b6f.js → models-dev-fvd1j64v.js} +11 -11
  143. package/dist/chunks/{model-resolver-0dxv4pc1.js → models-dev-fwzq5ze9.js} +17 -17
  144. package/dist/chunks/{model-resolver-b00xvs8t.js → models-dev-g3bs2z4s.js} +8 -8
  145. package/dist/chunks/{model-resolver-8w6zmm29.js → models-dev-g4vce337.js} +8 -8
  146. package/dist/chunks/{model-resolver-6cjrbf46.js → models-dev-gc17wrd4.js} +20 -20
  147. package/dist/chunks/{model-resolver-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{model-resolver-4h9h96qc.js → models-dev-gfz42td9.js} +5 -5
  149. package/dist/chunks/{model-resolver-gkwvz8ht.js → models-dev-ggx4xapp.js} +6 -6
  150. package/dist/chunks/models-dev-gjn21cm9.js +507 -0
  151. package/dist/chunks/{model-resolver-rz5y6gq8.js → models-dev-gnmz4mfp.js} +24 -24
  152. package/dist/chunks/{model-resolver-mv3tycdn.js → models-dev-grjzxk1n.js} +11 -11
  153. package/dist/chunks/{model-resolver-y2naxmkz.js → models-dev-gt865pk9.js} +34 -34
  154. package/dist/chunks/{model-resolver-0bfcnrg1.js → models-dev-h5w29vws.js} +1 -1
  155. package/dist/chunks/{model-resolver-2nw4ywcq.js → models-dev-h68w0c9y.js} +45 -45
  156. package/dist/chunks/{model-resolver-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{model-resolver-vxtvrbna.js → models-dev-hg94kzqt.js} +35 -35
  158. package/dist/chunks/{model-resolver-3kp3mpme.js → models-dev-hjj70apt.js} +11 -11
  159. package/dist/chunks/{model-resolver-2xwzbqew.js → models-dev-hn03y5ym.js} +11 -11
  160. package/dist/chunks/{model-resolver-gst7axd9.js → models-dev-hn57h045.js} +4 -4
  161. package/dist/chunks/{model-resolver-66gm3q6y.js → models-dev-hqz2x645.js} +4 -4
  162. package/dist/chunks/{model-resolver-dbvwyaaj.js → models-dev-hs0m3p05.js} +6 -6
  163. package/dist/chunks/{model-resolver-x3pwywrr.js → models-dev-hzev1cpq.js} +25 -25
  164. package/dist/chunks/{model-resolver-p17a2fe3.js → models-dev-j06x3ba4.js} +15 -15
  165. package/dist/chunks/{model-resolver-8nsvf304.js → models-dev-j1z9jwn5.js} +9 -9
  166. package/dist/chunks/{model-resolver-h0e1kdvt.js → models-dev-j45zys5r.js} +3 -3
  167. package/dist/chunks/{model-resolver-j56e64zr.js → models-dev-j56e64zr.js} +1 -1
  168. package/dist/chunks/{model-resolver-4jk0qxj4.js → models-dev-j7zryc91.js} +6 -6
  169. package/dist/chunks/{model-resolver-1zbgyhkq.js → models-dev-j9f4ayep.js} +5 -5
  170. package/dist/chunks/{model-resolver-q00e2evn.js → models-dev-j9pj3dv9.js} +11 -11
  171. package/dist/chunks/{model-resolver-kwasnf1h.js → models-dev-jcrngy5a.js} +74 -74
  172. package/dist/chunks/{model-resolver-wv3dv6v0.js → models-dev-jjne9kqm.js} +18 -18
  173. package/dist/chunks/{model-resolver-8d6mt9k1.js → models-dev-jjpnvsv5.js} +24 -24
  174. package/dist/chunks/{model-resolver-yyjgzmbq.js → models-dev-jkb8b3m3.js} +82 -82
  175. package/dist/chunks/{model-resolver-57pz8w7b.js → models-dev-k1j07rkf.js} +5 -5
  176. package/dist/chunks/{model-resolver-k3c624dm.js → models-dev-k3c624dm.js} +3 -3
  177. package/dist/chunks/{model-resolver-30krspkn.js → models-dev-k3sn4jay.js} +4 -4
  178. package/dist/chunks/{model-resolver-rsdvke6b.js → models-dev-k575kmd9.js} +17 -17
  179. package/dist/chunks/{model-resolver-9e5bzkjp.js → models-dev-kb9j3d72.js} +3 -3
  180. package/dist/chunks/{model-resolver-ae2sw1mw.js → models-dev-kg7ge82a.js} +11 -11
  181. package/dist/chunks/{model-resolver-7zdrdht4.js → models-dev-knpw8ths.js} +6 -6
  182. package/dist/chunks/{model-resolver-1t43bwgc.js → models-dev-kwjg5y80.js} +36 -36
  183. package/dist/chunks/{model-resolver-2q0dq8kx.js → models-dev-kxg15bn0.js} +18 -18
  184. package/dist/chunks/{model-resolver-m3fdjcah.js → models-dev-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{model-resolver-0smnwsv0.js → models-dev-m8h539s8.js} +5 -5
  186. package/dist/chunks/{model-resolver-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{model-resolver-mazbtkaa.js → models-dev-mazbtkaa.js} +2 -2
  188. package/dist/chunks/{model-resolver-fj6ewzsk.js → models-dev-mdf0vfvr.js} +36 -36
  189. package/dist/chunks/{model-resolver-99cqk6xv.js → models-dev-mj3gjnr3.js} +6 -6
  190. package/dist/chunks/{model-resolver-8r8vfh9s.js → models-dev-mjn2kb0q.js} +11 -11
  191. package/dist/chunks/{model-resolver-a8tp2z0n.js → models-dev-mpd49xq9.js} +7 -7
  192. package/dist/chunks/{model-resolver-gp83hdk9.js → models-dev-msm8dbqf.js} +46 -46
  193. package/dist/chunks/{model-resolver-zm76h1z5.js → models-dev-mw5vjjnv.js} +33 -33
  194. package/dist/chunks/{model-resolver-pf4vdr5b.js → models-dev-mz2wn5cm.js} +3 -3
  195. package/dist/chunks/{model-resolver-y144jg7q.js → models-dev-mz8j3se7.js} +23 -23
  196. package/dist/chunks/{model-resolver-nkmk0g3b.js → models-dev-mzg4v7ne.js} +3 -3
  197. package/dist/chunks/{model-resolver-308n8ycv.js → models-dev-n64ekd07.js} +34 -34
  198. package/dist/chunks/{model-resolver-9hz0dqf5.js → models-dev-n7kgbkmj.js} +17 -17
  199. package/dist/chunks/{model-resolver-r9w3djhf.js → models-dev-n9j73x72.js} +9 -9
  200. package/dist/chunks/{model-resolver-v7aegc90.js → models-dev-nj9rn0w0.js} +26 -26
  201. package/dist/chunks/{model-resolver-4ek442ae.js → models-dev-nwecgvxa.js} +24 -24
  202. package/dist/chunks/{model-resolver-dpkg50ah.js → models-dev-nxm207yx.js} +4 -4
  203. package/dist/chunks/{model-resolver-te3gjas8.js → models-dev-p7th5rf1.js} +27 -27
  204. package/dist/chunks/{model-resolver-t4phn8cw.js → models-dev-pg1edytp.js} +3 -3
  205. package/dist/chunks/{model-resolver-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{model-resolver-8ejhbdfw.js → models-dev-pkarsag3.js} +3 -3
  207. package/dist/chunks/{model-resolver-m3ma28tp.js → models-dev-pkk3tbq8.js} +48 -48
  208. package/dist/chunks/{model-resolver-pknna89w.js → models-dev-pknna89w.js} +1 -1
  209. package/dist/chunks/{model-resolver-91933pa3.js → models-dev-pmpd12e6.js} +30 -30
  210. package/dist/chunks/{model-resolver-8sze2n9a.js → models-dev-py3kkmfq.js} +6 -6
  211. package/dist/chunks/{model-resolver-3f3sb00w.js → models-dev-pyknvk9f.js} +8 -8
  212. package/dist/chunks/models-dev-q509s3k3.js +18 -0
  213. package/dist/chunks/{model-resolver-ne9ahhv5.js → models-dev-q7qc39dk.js} +10 -10
  214. package/dist/chunks/{model-resolver-shcrmf00.js → models-dev-q9v720k4.js} +20 -20
  215. package/dist/chunks/{model-resolver-13cq8rcn.js → models-dev-qberb5rk.js} +45 -45
  216. package/dist/chunks/{model-resolver-0n2zq7cp.js → models-dev-qcf84e04.js} +18 -18
  217. package/dist/chunks/{model-resolver-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
  218. package/dist/chunks/{model-resolver-2pnbxc62.js → models-dev-qpba4stm.js} +11 -11
  219. package/dist/chunks/{model-resolver-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
  220. package/dist/chunks/{model-resolver-7r06ja40.js → models-dev-qtgkeadk.js} +10 -10
  221. package/dist/chunks/{model-resolver-2fhst40w.js → models-dev-qvex2fwt.js} +7 -7
  222. package/dist/chunks/{model-resolver-4n607a2z.js → models-dev-qvreyy9g.js} +5 -5
  223. package/dist/chunks/{model-resolver-xk8t8a3e.js → models-dev-qxv76s3g.js} +27 -27
  224. package/dist/chunks/{model-resolver-taxap598.js → models-dev-r46qcwzx.js} +21 -21
  225. package/dist/chunks/{model-resolver-dyv1acsa.js → models-dev-r760g5yg.js} +9 -9
  226. package/dist/chunks/{model-resolver-8r34s1qs.js → models-dev-rah7jrnv.js} +28 -28
  227. package/dist/chunks/{model-resolver-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{model-resolver-3m0yxqav.js → models-dev-rj0h5jdm.js} +15 -15
  229. package/dist/chunks/{model-resolver-z4qahwf9.js → models-dev-rv1r98f4.js} +23 -23
  230. package/dist/chunks/{model-resolver-pkqb68ka.js → models-dev-rx9ava5n.js} +4 -4
  231. package/dist/chunks/{model-resolver-v2j2nd9r.js → models-dev-rxdvt16e.js} +17 -17
  232. package/dist/chunks/{model-resolver-m5ddjyhh.js → models-dev-rxnymjhb.js} +39 -39
  233. package/dist/chunks/{model-resolver-re5ckjab.js → models-dev-rxxn2p47.js} +13 -13
  234. package/dist/chunks/{model-resolver-86qzxe6p.js → models-dev-s26hbv8p.js} +4 -4
  235. package/dist/chunks/{model-resolver-wv396vej.js → models-dev-s8d7rejh.js} +8 -8
  236. package/dist/chunks/{model-resolver-3gz55zfp.js → models-dev-s9y893z5.js} +10 -10
  237. package/dist/chunks/models-dev-srxc1jks.js +252 -0
  238. package/dist/chunks/{model-resolver-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{model-resolver-tcezcvh9.js → models-dev-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{model-resolver-tdstcens.js → models-dev-tdstcens.js} +1 -1
  241. package/dist/chunks/{model-resolver-n3vygs5b.js → models-dev-tf9n7p6x.js} +9 -9
  242. package/dist/chunks/{model-resolver-et0g6e5t.js → models-dev-thz89ekf.js} +33 -33
  243. package/dist/chunks/{model-resolver-q639q6k1.js → models-dev-tk5pxr4m.js} +30 -30
  244. package/dist/chunks/{model-resolver-tvtrv512.js → models-dev-tvtrv512.js} +1 -1
  245. package/dist/chunks/{model-resolver-tx9w5tca.js → models-dev-tx9w5tca.js} +1 -1
  246. package/dist/chunks/{model-resolver-qv8n8zgy.js → models-dev-txbqve9a.js} +25 -25
  247. package/dist/chunks/{model-resolver-5zt844k8.js → models-dev-v2ywphxf.js} +6 -6
  248. package/dist/chunks/{model-resolver-j3w99yee.js → models-dev-v74bjsep.js} +18 -18
  249. package/dist/chunks/{model-resolver-a28jd6sb.js → models-dev-v8x1qhfk.js} +10 -10
  250. package/dist/chunks/{model-resolver-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
  251. package/dist/chunks/{model-resolver-akfm9xjf.js → models-dev-vfrzc6ap.js} +11 -11
  252. package/dist/chunks/{model-resolver-jv7q5gx3.js → models-dev-vtmev6yp.js} +9 -9
  253. package/dist/chunks/{model-resolver-prt7p8he.js → models-dev-vxxrqfnj.js} +7 -7
  254. package/dist/chunks/{model-resolver-vzcthcp8.js → models-dev-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{model-resolver-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{model-resolver-efmywzjq.js → models-dev-w09wcjew.js} +11 -11
  257. package/dist/chunks/{model-resolver-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{model-resolver-wd87259q.js → models-dev-wd87259q.js} +1 -1
  259. package/dist/chunks/{model-resolver-vkt5fbj2.js → models-dev-wewgh3cc.js} +8 -8
  260. package/dist/chunks/{model-resolver-1093zhcq.js → models-dev-wr868rd8.js} +11 -11
  261. package/dist/chunks/{model-resolver-rz96cyzp.js → models-dev-wrewqvzj.js} +18 -18
  262. package/dist/chunks/{model-resolver-kan6af9e.js → models-dev-wrs1pmrk.js} +20 -20
  263. package/dist/chunks/{model-resolver-t3ta0jn1.js → models-dev-wrw7ce18.js} +30 -30
  264. package/dist/chunks/{model-resolver-wegd5fp2.js → models-dev-wvakb6ya.js} +7 -7
  265. package/dist/chunks/{model-resolver-mmxxk9et.js → models-dev-wwb7w8xq.js} +11 -11
  266. package/dist/chunks/{model-resolver-b3vyfqsd.js → models-dev-wz78mht8.js} +20 -20
  267. package/dist/chunks/{model-resolver-x1ezjp6w.js → models-dev-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{model-resolver-hbw5wb31.js → models-dev-x3kzhska.js} +5 -5
  269. package/dist/chunks/{model-resolver-eg948mnw.js → models-dev-x9tj9kct.js} +26 -26
  270. package/dist/chunks/{model-resolver-yacwftk6.js → models-dev-xbd41jnn.js} +16 -16
  271. package/dist/chunks/{model-resolver-2kewd2va.js → models-dev-xdx7acry.js} +9 -9
  272. package/dist/chunks/{model-resolver-xfkkasph.js → models-dev-xfkkasph.js} +1 -1
  273. package/dist/chunks/{model-resolver-ww2b7n8h.js → models-dev-xgmb673h.js} +8 -8
  274. package/dist/chunks/{model-resolver-wkr32rjm.js → models-dev-xjkfysn5.js} +16 -16
  275. package/dist/chunks/{model-resolver-myw6wz04.js → models-dev-xs7syv2k.js} +10 -10
  276. package/dist/chunks/{model-resolver-b23z4qnb.js → models-dev-xtpj533y.js} +7 -7
  277. package/dist/chunks/{model-resolver-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
  278. package/dist/chunks/{model-resolver-ypnw9vt7.js → models-dev-y7yg13q5.js} +16 -16
  279. package/dist/chunks/{model-resolver-v5g0yskm.js → models-dev-ycwt2det.js} +2 -2
  280. package/dist/chunks/{model-resolver-y8ny8g7a.js → models-dev-yfa166b5.js} +22 -22
  281. package/dist/chunks/{model-resolver-qzvme19v.js → models-dev-ype27pzt.js} +27 -27
  282. package/dist/chunks/{model-resolver-yrhqyw5v.js → models-dev-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{model-resolver-rkqabadz.js → models-dev-yw3sds42.js} +44 -44
  284. package/dist/chunks/{model-resolver-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{model-resolver-y7ts3hqa.js → models-dev-z3zz13kr.js} +20 -20
  286. package/dist/chunks/{model-resolver-aads351p.js → models-dev-z40qz8jp.js} +1 -1
  287. package/dist/chunks/{model-resolver-fwfvrmc2.js → models-dev-z651bw9w.js} +4 -4
  288. package/dist/chunks/{model-resolver-tsp4afg5.js → models-dev-zavx45x2.js} +11 -11
  289. package/dist/chunks/{model-resolver-ksdw2mz7.js → models-dev-zkawt10r.js} +21 -21
  290. package/dist/chunks/{model-resolver-0r3c1bmw.js → models-dev-zmr78fwr.js} +5 -5
  291. package/dist/chunks/{model-resolver-m73je9hm.js → models-dev-zpwh3y5j.js} +15 -15
  292. package/dist/chunks/{model-resolver-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
  293. package/dist/chunks/{model-resolver-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +5 -5
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +81 -81
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +124 -124
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -85
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +366 -366
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +222 -222
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +11 -11
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +101 -101
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +1 -1
  460. package/dist/instance.js +359 -359
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +117 -117
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +1 -1
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +124 -124
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +95 -95
  529. package/dist/plugin/provider/opencode.js +96 -96
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +354 -354
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +226 -226
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +85 -85
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +133 -133
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +7 -7
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +152 -152
  588. package/dist/session/history.js +15 -15
  589. package/dist/session/inbox.js +84 -84
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +113 -113
  609. package/dist/session/runner/retry.js +2 -2
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +3 -3
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +212 -212
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +219 -219
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +7 -7
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +114 -114
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +126 -126
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +101 -101
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +105 -105
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +4 -4
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +5 -5
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +80 -80
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +79 -79
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +78 -78
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/model-resolver-etcmb7zb.js +0 -252
  700. package/dist/chunks/model-resolver-k40pk40z.js +0 -26
  701. package/dist/chunks/model-resolver-npsq8fb9.js +0 -507
  702. package/dist/chunks/model-resolver-phz3h32g.js +0 -18
  703. /package/dist/chunks/{model-resolver-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{model-resolver-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{model-resolver-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{model-resolver-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{model-resolver-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{model-resolver-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{model-resolver-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{model-resolver-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{model-resolver-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{model-resolver-34c7v6d4.js → models-dev-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{model-resolver-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{model-resolver-3asan66x.js → models-dev-3asan66x.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{model-resolver-3w5fmr99.js → models-dev-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{model-resolver-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{model-resolver-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{model-resolver-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{model-resolver-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{model-resolver-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{model-resolver-53557ph1.js → models-dev-53557ph1.js} +0 -0
  723. /package/dist/chunks/{model-resolver-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{model-resolver-6prwharc.js → models-dev-6prwharc.js} +0 -0
  725. /package/dist/chunks/{model-resolver-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{model-resolver-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{model-resolver-822emrt2.js → models-dev-822emrt2.js} +0 -0
  728. /package/dist/chunks/{model-resolver-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{model-resolver-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{model-resolver-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{model-resolver-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{model-resolver-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{model-resolver-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{model-resolver-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{model-resolver-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{model-resolver-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{model-resolver-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{model-resolver-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{model-resolver-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{model-resolver-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{model-resolver-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{model-resolver-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{model-resolver-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{model-resolver-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{model-resolver-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{model-resolver-df08tz66.js → models-dev-df08tz66.js} +0 -0
  747. /package/dist/chunks/{model-resolver-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{model-resolver-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{model-resolver-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{model-resolver-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{model-resolver-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{model-resolver-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{model-resolver-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{model-resolver-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{model-resolver-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{model-resolver-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{model-resolver-fxgpk5d8.js → models-dev-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{model-resolver-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{model-resolver-g86h250q.js → models-dev-g86h250q.js} +0 -0
  760. /package/dist/chunks/{model-resolver-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{model-resolver-gftt206x.js → models-dev-gftt206x.js} +0 -0
  762. /package/dist/chunks/{model-resolver-hjbc5kem.js → models-dev-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{model-resolver-hk9envan.js → models-dev-hk9envan.js} +0 -0
  764. /package/dist/chunks/{model-resolver-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{model-resolver-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{model-resolver-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{model-resolver-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{model-resolver-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{model-resolver-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{model-resolver-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{model-resolver-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{model-resolver-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{model-resolver-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{model-resolver-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{model-resolver-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{model-resolver-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{model-resolver-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{model-resolver-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{model-resolver-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{model-resolver-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{model-resolver-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{model-resolver-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{model-resolver-sk3qaz4a.js → models-dev-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{model-resolver-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{model-resolver-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{model-resolver-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{model-resolver-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{model-resolver-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{model-resolver-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{model-resolver-x61499pn.js → models-dev-x61499pn.js} +0 -0
  792. /package/dist/chunks/{model-resolver-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{model-resolver-y8cydn3q.js → models-dev-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{model-resolver-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{model-resolver-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{model-resolver-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{model-resolver-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
  798. /package/dist/chunks/{model-resolver-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-resolver-djk2jk4m.js";
4
+ } from "./models-dev-4z7vafm8.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./model-resolver-dpkg50ah.js";
7
+ } from "./models-dev-nxm207yx.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node66
12
- } from "./model-resolver-4jk0qxj4.js";
11
+ node73
12
+ } from "./models-dev-j7zryc91.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./model-resolver-faypxj3z.js";
15
+ } from "./models-dev-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./models-dev-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID7,
25
- Info: () => Info20,
24
+ ID: () => ID10,
25
+ Info: () => Info23,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service62,
27
+ Service: () => Service69,
28
28
  Workspace: () => exports_workspace,
29
29
  configured: () => configured11,
30
- node: () => node65
30
+ node: () => node72
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID7 = Workspace.ID;
38
+ var ID10 = Workspace.ID;
39
39
 
40
- class Info20 extends Schema.Class("Workspace.Info")({
41
- id: ID7,
40
+ class Info23 extends Schema.Class("Workspace.Info")({
41
+ id: ID10,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info20 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID7,
53
+ workspaceID: ID10,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service62 extends Context.Service()("@opencode/Workspace") {
59
+ class Service69 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
61
  var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service62,
62
+ service: Service69,
63
63
  layer: layer(options),
64
- deps: [node88, node66]
64
+ deps: [node88, node73]
65
65
  });
66
- var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
67
67
  const db = (yield* Service84).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info20({
83
+ const info = (row, binding) => new Info23({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service62.of({
157
+ return Service69.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID7.create();
159
+ const workspaceID = input.id ?? ID10.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node65 = configured11();
224
+ var node72 = configured11();
225
225
 
226
- export { ID7, Info20, NotFound3, CreateConflict2, Service62, configured11, node65, exports_workspace };
226
+ export { ID10, Info23, NotFound3, CreateConflict2, Service69, configured11, node72, exports_workspace };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./model-resolver-gd4qta3r.js";
3
+ } from "./models-dev-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./model-resolver-tvtrv512.js";
6
+ } from "./models-dev-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./model-resolver-rdw6cm16.js";
9
+ } from "./models-dev-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./models-dev-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service54,
21
+ Service: () => Service71,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node56
23
+ node: () => node75
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service54 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service71 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service54, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service54.of({
119
+ return Service71.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node56 = makeLocationNode({
137
- service: Service54,
136
+ var node75 = makeLocationNode({
137
+ service: Service71,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service54, node56, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service71, node75, exports_tool_output2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./model-resolver-fj6ewzsk.js";
3
+ Service66
4
+ } from "./models-dev-mdf0vfvr.js";
5
5
  import {
6
- Service54
7
- } from "./model-resolver-df54n7py.js";
6
+ Service71
7
+ } from "./models-dev-76jv6ta8.js";
8
8
  import {
9
9
  observe2
10
- } from "./model-resolver-qsdy395h.js";
10
+ } from "./models-dev-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./models-dev-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: () => Plugin35
19
+ Plugin: () => Plugin39
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin35 = define({
23
+ var Plugin39 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service58;
27
- const output = yield* Service54;
26
+ const config = yield* Service66;
27
+ const output = yield* Service71;
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 Plugin35 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin35, exports_tool_output };
41
+ export { Plugin39, exports_tool_output };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./model-resolver-emrn6kk6.js";
5
+ } from "./models-dev-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service21
6
- } from "./model-resolver-vwfaknzj.js";
5
+ Service27
6
+ } from "./models-dev-ffej5mt0.js";
7
7
  import {
8
- Service75
9
- } from "./model-resolver-6sy3a1sn.js";
8
+ Service59
9
+ } from "./models-dev-cw8px619.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./models-dev-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin40
18
+ Plugin: () => Plugin5
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin40 = {
22
+ var Plugin5 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service21;
26
- const permission = yield* Service75;
25
+ const mcp = yield* Service27;
26
+ const permission = yield* Service59;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin40 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin40, exports_mcp_resource };
96
+ export { Plugin5, exports_mcp_resource };
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID9,
2
+ ID12,
3
3
  mergeOverlay2
4
- } from "./model-resolver-cms9xxzm.js";
4
+ } from "./models-dev-9zvcehk9.js";
5
5
  import {
6
- ID8,
6
+ ID11,
7
7
  VariantID2,
8
- Info22,
8
+ Info24,
9
9
  compatibility2
10
- } from "./model-resolver-qzvme19v.js";
10
+ } from "./models-dev-ype27pzt.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./models-dev-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load2
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load3
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID9.make("modal");
25
+ var providerID = ID12.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 get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load2(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load3(baseURL, apiKey), existing);
59
59
  }
60
- async function load2(baseURL, apiKey) {
60
+ async function load3(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 load2(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(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(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID8.make(item.id);
78
+ const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID11.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 Info22.make({
98
- ...Info22.default(providerID, id),
97
+ return Info24.make({
98
+ ...Info24.default(providerID, id),
99
99
  id,
100
- modelID: ID8.make(remote.id),
100
+ modelID: ID11.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 { get2, load2, derive2, exports_models };
147
+ export { get3, load3, derive3, exports_models2 };
@@ -2,42 +2,42 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./model-resolver-z5v4ffb3.js";
5
+ } from "./models-dev-z5v4ffb3.js";
6
6
  import {
7
7
  Service80,
8
8
  node84
9
- } from "./model-resolver-xvyvc58w.js";
9
+ } from "./models-dev-94nzh446.js";
10
10
  import {
11
- Service43,
12
- node45
13
- } from "./model-resolver-13gay51w.js";
11
+ Service15,
12
+ node17
13
+ } from "./models-dev-30a4a7c7.js";
14
14
  import {
15
15
  __export
16
- } from "./model-resolver-9rqn6x4v.js";
16
+ } from "./models-dev-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event7,
27
+ Event: () => Event3,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput3,
32
+ ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError5,
34
+ NotFoundError: () => NotFoundError3,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service42,
36
+ Service: () => Service14,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node44
40
+ node: () => node16
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
75
75
  return `Access denied to directory: ${this.directory}`;
76
76
  }
77
77
  }
78
- var Content3 = Schema.Struct({
78
+ var Content2 = Schema.Struct({
79
79
  uri: Schema.String,
80
80
  name: Schema.String.pipe(Schema.optional),
81
81
  content: Schema.String,
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput3 = Schema.Struct({
85
+ var ListInput2 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event7 = FileSystem.Event;
108
+ var Event3 = FileSystem.Event;
109
109
 
110
- class Service42 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service14 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
114
  const location = yield* Service80;
115
- const search = yield* Service43;
115
+ const search = yield* Service15;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
129
129
  return yield* Effect.die(new Error("Path escapes the location"));
130
130
  return { absolute, real, directory: location.directory };
131
131
  });
132
- return Service42.of({
132
+ return Service14.of({
133
133
  find: search.find,
134
134
  read: Effect.fn("FileSystem.read")(function* (input) {
135
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
136
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
135
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
136
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
137
137
  if (info.type !== "File")
138
138
  return yield* Effect.die(new Error("Path is not a file"));
139
139
  return {
140
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error))),
140
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
141
141
  mime: FSUtil.mimeType(target.real)
142
142
  };
143
143
  }),
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
166
166
  })
167
167
  });
168
168
  }));
169
- var node44 = makeLocationNode({
170
- service: Service42,
169
+ var node16 = makeLocationNode({
170
+ service: Service14,
171
171
  layer: baseLayer,
172
- deps: [FSUtil.node, node84, node45]
172
+ deps: [FSUtil.node, node84, node17]
173
173
  });
174
174
 
175
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service42, node44, exports_filesystem, Entry2, Match2, Submatch2 };
175
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./model-resolver-m3ma28tp.js";
3
+ } from "./models-dev-pkk3tbq8.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./model-resolver-34c7v6d4.js";
6
+ } from "./models-dev-34c7v6d4.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./models-dev-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin18
3
+ } from "./models-dev-wewgh3cc.js";
4
+ import {
5
+ Plugin20
6
+ } from "./models-dev-vtmev6yp.js";
7
+ import {
8
+ Plugin16
9
+ } from "./models-dev-4z2rrndc.js";
10
+ import {
11
+ Plugin19
12
+ } from "./models-dev-3hwtxg0v.js";
13
+ import {
14
+ Plugin17
15
+ } from "./models-dev-es70bpzk.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin18,
20
+ Plugin20,
21
+ Plugin16,
22
+ Plugin19,
23
+ Plugin17
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID9,
2
+ ID12,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./model-resolver-cms9xxzm.js";
5
+ } from "./models-dev-9zvcehk9.js";
6
6
  import {
7
- ID8,
7
+ ID11,
8
8
  VariantID2,
9
9
  Family2,
10
- Info22
11
- } from "./model-resolver-qzvme19v.js";
10
+ Info24
11
+ } from "./models-dev-ype27pzt.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./models-dev-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load2
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load3(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load2(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load2(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID8.make(id);
97
+ const key = ID11.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info22.make({
122
- ...Info22.default(ID9.githubCopilot, id),
121
+ return Info24.make({
122
+ ...Info24.default(ID12.githubCopilot, id),
123
123
  id,
124
- modelID: ID8.make(remote.id),
125
- providerID: ID9.githubCopilot,
124
+ modelID: ID11.make(remote.id),
125
+ providerID: ID12.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load3, derive3, exports_models2 };
200
+ export { get2, load2, derive2, exports_models };