@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,69 +1,69 @@
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
  Service83,
7
7
  node87
8
- } from "./model-resolver-70jrxnh2.js";
8
+ } from "./models-dev-dnms7f4c.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./model-resolver-5t3nmthw.js";
11
+ } from "./models-dev-5t3nmthw.js";
12
12
  import {
13
13
  create3
14
- } from "./model-resolver-rdw6cm16.js";
14
+ } from "./models-dev-rdw6cm16.js";
15
15
  import {
16
16
  estimate2
17
- } from "./model-resolver-h6vf3j39.js";
17
+ } from "./models-dev-h6vf3j39.js";
18
18
  import {
19
19
  SessionEvent2
20
- } from "./model-resolver-ec1grn59.js";
20
+ } from "./models-dev-ec1grn59.js";
21
21
  import {
22
22
  provenance2,
23
23
  compatible2,
24
24
  isCheckpoint2,
25
25
  encode2
26
- } from "./model-resolver-s30fyz93.js";
26
+ } from "./models-dev-5dkn69vz.js";
27
27
  import {
28
- load5
29
- } from "./model-resolver-mv3tycdn.js";
28
+ load4
29
+ } from "./models-dev-grjzxk1n.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./model-resolver-0bfcnrg1.js";
32
+ } from "./models-dev-h5w29vws.js";
33
33
  import {
34
34
  baseTranscript2,
35
35
  unsupportedParts2,
36
36
  boundImages2,
37
- Service22,
38
- node25
39
- } from "./model-resolver-snag70gz.js";
37
+ Service28,
38
+ node31
39
+ } from "./models-dev-34b2e4q6.js";
40
40
  import {
41
41
  isRetryable2,
42
42
  policy2
43
- } from "./model-resolver-b3f8fkhc.js";
43
+ } from "./models-dev-b3f8fkhc.js";
44
44
  import {
45
45
  toSessionError2,
46
46
  contentFilterError2
47
- } from "./model-resolver-7c08zpn2.js";
47
+ } from "./models-dev-8fj5kwwn.js";
48
48
  import {
49
49
  calculateCost2,
50
50
  record2,
51
51
  add2
52
- } from "./model-resolver-tdstcens.js";
52
+ } from "./models-dev-tdstcens.js";
53
53
  import {
54
54
  __export
55
- } from "./model-resolver-9rqn6x4v.js";
55
+ } from "./models-dev-9rqn6x4v.js";
56
56
 
57
57
  // src/session/compaction.ts
58
58
  var exports_compaction2 = {};
59
59
  __export(exports_compaction2, {
60
- Service: () => Service10,
60
+ Service: () => Service9,
61
61
  SessionCompaction: () => exports_compaction2,
62
62
  buildPrompt: () => buildPrompt2,
63
63
  estimateContext: () => estimateContext2,
64
64
  estimatePrompt: () => estimatePrompt2,
65
65
  layer: () => layer6,
66
- node: () => node12,
66
+ node: () => node11,
67
67
  recentUserMessages: () => recentUserMessages2
68
68
  });
69
69
  import {
@@ -79,7 +79,7 @@ import {
79
79
  } from "@opencode/ai";
80
80
  import { makeLocationNode } from "@opencode/util/effect/app-node";
81
81
  import { Context, Effect, Layer, Result, Stream } from "effect";
82
- class Service10 extends Context.Service()("@opencode/SessionCompaction") {
82
+ class Service9 extends Context.Service()("@opencode/SessionCompaction") {
83
83
  }
84
84
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
85
85
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -158,11 +158,11 @@ var buildPrompt2 = (update, legacy = false) => {
158
158
  };
159
159
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
160
160
  var LEGACY_HEADING = "## Additional Context";
161
- var layer6 = Layer.effect(Service10, Effect.gen(function* () {
161
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
162
162
  const bus = yield* Service83;
163
163
  const llm = yield* LLMClient.Service;
164
164
  const db = (yield* Service84).db;
165
- const requests = yield* Service22;
165
+ const requests = yield* Service28;
166
166
  const state = create3({
167
167
  name: "session-compaction",
168
168
  initial: () => ({ auto: true, keep: 15000 }),
@@ -250,7 +250,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
250
250
  const send = (request) => {
251
251
  if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
252
252
  return Effect.gen(function* () {
253
- const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
253
+ const history = yield* load4(db, context.session.id, "local").pipe(Effect.orDie);
254
254
  const retained = recentUserMessages2(history, context.model, keep);
255
255
  const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
256
256
  return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
@@ -450,16 +450,16 @@ ${text}`;
450
450
  }, { metadata: outcome.metadata });
451
451
  return { status: "completed" };
452
452
  });
453
- return Service10.of({
453
+ return Service9.of({
454
454
  transform: state.transform,
455
455
  reload: state.reload,
456
456
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
457
457
  });
458
458
  }));
459
- var node12 = makeLocationNode({
460
- service: Service10,
459
+ var node11 = makeLocationNode({
460
+ service: Service9,
461
461
  layer: layer6,
462
- deps: [node87, node88, llmClient2, node25]
462
+ deps: [node87, node88, llmClient2, node31]
463
463
  });
464
464
  var previousCompaction = (messages) => {
465
465
  const [first] = messages;
@@ -664,4 +664,4 @@ var estimateMedia = (mime) => {
664
664
  return 0;
665
665
  };
666
666
 
667
- export { Service10, buildPrompt2, layer6, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
667
+ export { Service9, buildPrompt2, layer6, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./models-dev-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./model-resolver-3f3sb00w.js";
6
+ } from "./models-dev-pyknvk9f.js";
7
7
  import {
8
8
  Service80,
9
9
  node84
10
- } from "./model-resolver-xvyvc58w.js";
10
+ } from "./models-dev-94nzh446.js";
11
11
  import {
12
- Service75,
13
- node79
14
- } from "./model-resolver-6sy3a1sn.js";
12
+ Service59,
13
+ node62
14
+ } from "./models-dev-cw8px619.js";
15
15
  import {
16
16
  __export
17
- } from "./model-resolver-9rqn6x4v.js";
17
+ } from "./models-dev-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service74,
26
- node: () => node78,
25
+ Service: () => Service48,
26
+ node: () => node50,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service74 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service48 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service74, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
54
  const location = yield* Service80;
55
- const permission = yield* Service75;
55
+ const permission = yield* Service59;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service74.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service48.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node78 = makeLocationNode({ service: Service74, layer, deps: [FSUtil.node, node84, node79] });
106
+ var node50 = makeLocationNode({ service: Service48, layer, deps: [FSUtil.node, node84, node62] });
107
107
 
108
- export { Kind2, ResolveInput2, Service74, resolvePath2, node78, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service48, resolvePath2, node50, exports_file_access };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID15,
3
- Service79
4
- } from "./model-resolver-rz5y6gq8.js";
2
+ ID9,
3
+ Service62
4
+ } from "./models-dev-gnmz4mfp.js";
5
5
  import {
6
6
  Service80
7
- } from "./model-resolver-xvyvc58w.js";
7
+ } from "./models-dev-94nzh446.js";
8
8
  import {
9
- Service58
10
- } from "./model-resolver-fj6ewzsk.js";
9
+ Service66
10
+ } from "./models-dev-mdf0vfvr.js";
11
11
  import {
12
- Service57,
12
+ Service65,
13
13
  args2
14
- } from "./model-resolver-zw9m0b6f.js";
14
+ } from "./models-dev-fvd1j64v.js";
15
15
  import {
16
- Service15
17
- } from "./model-resolver-kwasnf1h.js";
16
+ Service17
17
+ } from "./models-dev-jcrngy5a.js";
18
18
  import {
19
- make11
20
- } from "./model-resolver-8r8vfh9s.js";
19
+ make9
20
+ } from "./models-dev-mjn2kb0q.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./model-resolver-5daktx2q.js";
23
+ } from "./models-dev-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./model-resolver-9rqn6x4v.js";
26
+ } from "./models-dev-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command2 = {};
30
30
  __export(exports_command2, {
31
31
  ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin27
32
+ Plugin: () => Plugin36
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin27 = define({
44
+ var Plugin36 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service58;
47
+ const config = yield* Service66;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -56,10 +56,10 @@ var Plugin27 = define({
56
56
  });
57
57
  const location = yield* Service80;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service57;
60
- const sessions = yield* Service15;
61
- const agents = yield* Service79;
62
- const subagents = yield* make11;
59
+ const shell = yield* Service65;
60
+ const sessions = yield* Service17;
61
+ const agents = yield* Service62;
62
+ const subagents = yield* make9;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin27 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin27, exports_command2 };
207
+ export { Plugin36, exports_command2 };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./model-resolver-wv396vej.js";
8
+ } from "./models-dev-s8d7rejh.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./model-resolver-ec1grn59.js";
11
+ } from "./models-dev-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./model-resolver-9e5bzkjp.js";
15
+ } from "./models-dev-kb9j3d72.js";
16
16
  import {
17
17
  __export
18
- } from "./model-resolver-9rqn6x4v.js";
18
+ } from "./models-dev-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./models-dev-z5v4ffb3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./model-resolver-zc5g640q.js";
7
+ } from "./models-dev-ep44p4pe.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./model-resolver-84txncab.js";
13
+ } from "./models-dev-84txncab.js";
14
14
  import {
15
- Service61,
16
- node64
17
- } from "./model-resolver-myw6wz04.js";
15
+ Service77,
16
+ node81
17
+ } from "./models-dev-xs7syv2k.js";
18
18
  import {
19
19
  __export
20
- } from "./model-resolver-9rqn6x4v.js";
20
+ } from "./models-dev-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service55,
33
+ Service: () => Service44,
34
34
  isError: () => isError2,
35
- node: () => node57,
35
+ node: () => node46,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service55 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service44 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service55, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service61;
110
- return Service55.of({
109
+ const kv = yield* Service77;
110
+ return Service44.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node57 = makeGlobalNode({
171
- service: Service55,
170
+ var node46 = makeGlobalNode({
171
+ service: Service44,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node64]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node81]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service55, isError2, validateBranch2, node57, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service44, isError2, validateBranch2, node46, exports_repository_cache };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-70jrxnh2.js";
4
+ } from "./models-dev-dnms7f4c.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./model-resolver-xvyvc58w.js";
8
+ } from "./models-dev-94nzh446.js";
9
9
  import {
10
- Service45,
11
- node47
12
- } from "./model-resolver-taxap598.js";
10
+ Service68,
11
+ node71
12
+ } from "./models-dev-r46qcwzx.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./model-resolver-gd4qta3r.js";
15
+ } from "./models-dev-gd4qta3r.js";
16
16
  import {
17
- Service57,
17
+ Service65,
18
18
  args2,
19
- node60
20
- } from "./model-resolver-zw9m0b6f.js";
19
+ node68
20
+ } from "./models-dev-fvd1j64v.js";
21
21
  import {
22
22
  Service78,
23
23
  node82
24
- } from "./model-resolver-tx9w5tca.js";
24
+ } from "./models-dev-tx9w5tca.js";
25
25
  import {
26
- Service30,
27
- node33
28
- } from "./model-resolver-2aet7wja.js";
26
+ Service64,
27
+ node67
28
+ } from "./models-dev-91p1v22t.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./model-resolver-5cmxdwv8.js";
31
+ } from "./models-dev-2f04pwep.js";
32
32
  import {
33
33
  latest2,
34
- Service58,
35
- node61
36
- } from "./model-resolver-fj6ewzsk.js";
34
+ Service66,
35
+ node69
36
+ } from "./models-dev-mdf0vfvr.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./model-resolver-df54n7py.js";
40
+ } from "./models-dev-76jv6ta8.js";
41
41
  import {
42
42
  __export
43
- } from "./model-resolver-9rqn6x4v.js";
43
+ } from "./models-dev-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError9,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service29,
51
+ Service: () => Service63,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node32
54
+ node: () => node66
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service29 extends Context.Service()("@opencode/Shell") {
74
+ class Service63 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service29, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service63, Effect.gen(function* () {
91
91
  const bus = yield* Service83;
92
92
  const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service57;
95
- const environment = yield* Service45;
94
+ const shell = yield* Service65;
95
+ const environment = yield* Service68;
96
96
  const hooks = yield* Service78;
97
- const environments = yield* Service30;
98
- const config = yield* Service58;
97
+ const environments = yield* Service64;
98
+ const config = yield* Service66;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError4({ id });
119
+ return yield* new NotFoundError9({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError9({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service29.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service63.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node32 = makeLocationNode({
329
- service: Service29,
328
+ var node66 = makeLocationNode({
329
+ service: Service63,
330
330
  layer: layer(),
331
331
  deps: [
332
332
  node87,
333
333
  node84,
334
334
  Global.node,
335
- node60,
336
- node47,
335
+ node68,
336
+ node71,
337
337
  node82,
338
- node33,
339
- node61,
338
+ node67,
339
+ node69,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service29, cleanup2, node32, exports_shell4 };
344
+ export { NotFoundError9, RETENTION2, DIRECTORY2, Service63, cleanup2, node66, exports_shell4 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-resolver-dpkg50ah.js";
3
+ } from "./models-dev-nxm207yx.js";
4
4
  import {
5
- Service45,
6
- node47
7
- } from "./model-resolver-taxap598.js";
5
+ Service68,
6
+ node71
7
+ } from "./models-dev-r46qcwzx.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./models-dev-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service34,
17
- node: () => node37,
16
+ Service: () => Service47,
17
+ node: () => node49,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service34 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service47 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service34, Effect.gen(function* () {
38
- const environment = yield* Service45;
37
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
38
+ const environment = yield* Service68;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service34.of({ withLock, write, writeTextPreservingBom });
59
+ return Service47.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node37 = makeLocationNode({ service: Service34, layer, deps: [node47] });
61
+ var node49 = makeLocationNode({ service: Service47, layer, deps: [node71] });
62
62
 
63
- export { Service34, readText2, syncTextBom2, node37, exports_file_mutation };
63
+ export { Service47, readText2, syncTextBom2, node49, exports_file_mutation };