@opencode/core 0.0.0-dev-20285 → 0.0.0-dev-20287

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 +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{file-retention-f638v0k7.js → model-resolver-02mam7mg.js} +17 -17
  8. package/dist/chunks/{file-retention-0gdmqesm.js → model-resolver-02nrjc1r.js} +8 -8
  9. package/dist/chunks/{file-retention-7jn4cbqh.js → model-resolver-02v6ekhe.js} +3 -3
  10. package/dist/chunks/{file-retention-fe8gfspk.js → model-resolver-09zzmmve.js} +11 -11
  11. package/dist/chunks/{file-retention-dte89hxh.js → model-resolver-0cjtfqfg.js} +32 -32
  12. package/dist/chunks/{file-retention-y1afxrem.js → model-resolver-0fb5qscw.js} +5 -5
  13. package/dist/chunks/{file-retention-51f5btjf.js → model-resolver-0jkw1j53.js} +6 -6
  14. package/dist/chunks/{file-retention-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-retention-zd4enfcj.js → model-resolver-0qxf76vs.js} +20 -20
  16. package/dist/chunks/{file-retention-r98e92ep.js → model-resolver-0v53mg2y.js} +4 -4
  17. package/dist/chunks/{file-retention-kryy842e.js → model-resolver-0v5grnq4.js} +43 -43
  18. package/dist/chunks/{file-retention-hbsdh60r.js → model-resolver-0w4g3y4c.js} +17 -17
  19. package/dist/chunks/{file-retention-b29g69qn.js → model-resolver-0ybcar0z.js} +29 -29
  20. package/dist/chunks/{file-retention-47378fkq.js → model-resolver-12gw954a.js} +7 -7
  21. package/dist/chunks/{file-retention-k1k1f0xx.js → model-resolver-12s112hc.js} +20 -20
  22. package/dist/chunks/{file-retention-svx0194h.js → model-resolver-14gkyck6.js} +33 -33
  23. package/dist/chunks/{file-retention-g2tbeqr5.js → model-resolver-18nq8aak.js} +12 -12
  24. package/dist/chunks/{file-retention-1acjjqhc.js → model-resolver-1acjjqhc.js} +1 -1
  25. package/dist/chunks/{file-retention-vxje23vy.js → model-resolver-1bmx2daa.js} +7 -7
  26. package/dist/chunks/{file-retention-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{file-retention-g0x0gx4j.js → model-resolver-1fx9aqpr.js} +25 -25
  28. package/dist/chunks/{file-retention-0ywk5tx6.js → model-resolver-1mzz2bvg.js} +4 -4
  29. package/dist/chunks/{file-retention-8sze2n9a.js → model-resolver-1p07q0wb.js} +8 -8
  30. package/dist/chunks/{file-retention-ms03nq7r.js → model-resolver-1z8t22df.js} +13 -13
  31. package/dist/chunks/{file-retention-21r38tys.js → model-resolver-21r38tys.js} +1 -1
  32. package/dist/chunks/{file-retention-5ndd65f1.js → model-resolver-2507s413.js} +9 -9
  33. package/dist/chunks/{file-retention-0m56zc8a.js → model-resolver-27de2wkz.js} +26 -26
  34. package/dist/chunks/model-resolver-289z41pq.js +507 -0
  35. package/dist/chunks/{file-retention-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{file-retention-etwdtmvh.js → model-resolver-2ej4jj92.js} +12 -12
  37. package/dist/chunks/{file-retention-ah16ew7h.js → model-resolver-2t8dba19.js} +11 -11
  38. package/dist/chunks/{file-retention-9gjt9gbs.js → model-resolver-2wtv204s.js} +15 -15
  39. package/dist/chunks/{file-retention-tv83fb5h.js → model-resolver-2y1mzw7q.js} +23 -23
  40. package/dist/chunks/{file-retention-7yj99b4g.js → model-resolver-309z119j.js} +32 -32
  41. package/dist/chunks/{file-retention-16gx62bp.js → model-resolver-312373c7.js} +2 -2
  42. package/dist/chunks/{file-retention-rb8xkgfd.js → model-resolver-36cdy2c1.js} +13 -13
  43. package/dist/chunks/{file-retention-2bef5nan.js → model-resolver-3ckfa135.js} +35 -35
  44. package/dist/chunks/{file-retention-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{file-retention-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{file-retention-gzj4cxdc.js → model-resolver-3kk1mn5p.js} +22 -22
  47. package/dist/chunks/{file-retention-21b4tg1x.js → model-resolver-3nk0dpt4.js} +11 -11
  48. package/dist/chunks/{file-retention-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{file-retention-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{file-retention-dgk65g6a.js → model-resolver-3xs92vpq.js} +11 -11
  51. package/dist/chunks/{file-retention-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{file-retention-60amgp41.js → model-resolver-40py8n81.js} +4 -4
  53. package/dist/chunks/{file-retention-z5jasrp0.js → model-resolver-4crx14w5.js} +25 -25
  54. package/dist/chunks/{file-retention-nt2xy26d.js → model-resolver-4g4nqdg4.js} +32 -32
  55. package/dist/chunks/{file-retention-d9s573fh.js → model-resolver-4sn99hha.js} +7 -7
  56. package/dist/chunks/{file-retention-481cetth.js → model-resolver-4txbmjfp.js} +13 -13
  57. package/dist/chunks/{file-retention-psbrwbtd.js → model-resolver-510m7gjw.js} +5 -5
  58. package/dist/chunks/{file-retention-7s2tn799.js → model-resolver-52fpbh6z.js} +8 -8
  59. package/dist/chunks/{file-retention-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
  60. package/dist/chunks/{file-retention-xfkkasph.js → model-resolver-57b9ws8p.js} +7 -7
  61. package/dist/chunks/{file-retention-pzwaf65z.js → model-resolver-5aexa4he.js} +37 -37
  62. package/dist/chunks/{file-retention-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
  63. package/dist/chunks/{file-retention-341r3tte.js → model-resolver-5dhepvmf.js} +35 -35
  64. package/dist/chunks/{file-retention-fhff0x2d.js → model-resolver-5e1pzs32.js} +9 -9
  65. package/dist/chunks/{file-retention-4bgvjpaj.js → model-resolver-5g9mk9a9.js} +19 -19
  66. package/dist/chunks/{file-retention-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
  67. package/dist/chunks/{file-retention-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{file-retention-szekdmz8.js → model-resolver-5vy8s2tt.js} +24 -24
  69. package/dist/chunks/{file-retention-p37cw4rj.js → model-resolver-5xtgfte3.js} +4 -4
  70. package/dist/chunks/{file-retention-dwwxx3ad.js → model-resolver-6660xsne.js} +25 -25
  71. package/dist/chunks/{file-retention-669tq793.js → model-resolver-669tq793.js} +1 -1
  72. package/dist/chunks/{file-retention-4q599fyn.js → model-resolver-67pxqpv3.js} +8 -8
  73. package/dist/chunks/{file-retention-snjen9h6.js → model-resolver-68z8ec46.js} +45 -45
  74. package/dist/chunks/{file-retention-9gk01zf5.js → model-resolver-6j0d4bfq.js} +13 -13
  75. package/dist/chunks/{file-retention-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{file-retention-q1n3a0d0.js → model-resolver-6nxs6bmb.js} +6 -6
  77. package/dist/chunks/{file-retention-ez49j3s8.js → model-resolver-6q5nb5ny.js} +21 -21
  78. package/dist/chunks/{file-retention-1fdwkrhc.js → model-resolver-6w0z1cey.js} +36 -36
  79. package/dist/chunks/{file-retention-tffeed3q.js → model-resolver-6z9y85k1.js} +12 -12
  80. package/dist/chunks/{file-retention-pg27pa1a.js → model-resolver-782920ah.js} +35 -35
  81. package/dist/chunks/{file-retention-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-retention-2k8khapm.js → model-resolver-7dqw4kz8.js} +5 -5
  83. package/dist/chunks/model-resolver-7fj5dwt0.js +18 -0
  84. package/dist/chunks/{file-retention-tnppw0jd.js → model-resolver-7y2ssk5t.js} +37 -37
  85. package/dist/chunks/{file-retention-xj0hxfaf.js → model-resolver-7y4dpfk6.js} +18 -18
  86. package/dist/chunks/{file-retention-0jq9fyba.js → model-resolver-82rhge12.js} +9 -9
  87. package/dist/chunks/{file-retention-rjpmn9fg.js → model-resolver-86b7s5s7.js} +28 -28
  88. package/dist/chunks/{file-retention-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{file-retention-ps5z82g9.js → model-resolver-8f7td570.js} +5 -5
  90. package/dist/chunks/{file-retention-srey4qzw.js → model-resolver-8tb71k3x.js} +9 -9
  91. package/dist/chunks/{file-retention-p3t9fn4d.js → model-resolver-8w7za83g.js} +9 -9
  92. package/dist/chunks/{file-retention-vd7rzxqf.js → model-resolver-8zh4h089.js} +5 -5
  93. package/dist/chunks/{file-retention-3q73b6mj.js → model-resolver-92x5e2q8.js} +25 -25
  94. package/dist/chunks/{file-retention-4pf42kt4.js → model-resolver-93934eye.js} +6 -6
  95. package/dist/chunks/{file-retention-gfvb90ym.js → model-resolver-94ek1h2f.js} +2 -2
  96. package/dist/chunks/{file-retention-jpq1mxv8.js → model-resolver-9a3afvhq.js} +10 -10
  97. package/dist/chunks/{file-retention-sc51f7bh.js → model-resolver-9eq5kwq7.js} +8 -8
  98. package/dist/chunks/{file-retention-f79rnm05.js → model-resolver-9qk46xax.js} +8 -8
  99. package/dist/chunks/{file-retention-ccrmjght.js → model-resolver-a0gyjzw3.js} +36 -36
  100. package/dist/chunks/{file-retention-4z58m4b4.js → model-resolver-a81kfqvn.js} +4 -4
  101. package/dist/chunks/{file-retention-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
  102. package/dist/chunks/{file-retention-60e937tk.js → model-resolver-aaz4evtx.js} +18 -18
  103. package/dist/chunks/{file-retention-yg47fsda.js → model-resolver-ae8tse6q.js} +10 -10
  104. package/dist/chunks/{file-retention-80scg3y3.js → model-resolver-afrtgck4.js} +4 -4
  105. package/dist/chunks/{file-retention-rr5wp26c.js → model-resolver-akrnn5pm.js} +11 -11
  106. package/dist/chunks/{file-retention-s2byz38y.js → model-resolver-ap4mmp3q.js} +4 -4
  107. package/dist/chunks/{file-retention-4bpxp8jr.js → model-resolver-aye9t8w1.js} +11 -11
  108. package/dist/chunks/{file-retention-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{file-retention-bbb7krmb.js → model-resolver-b9yq29xv.js} +1 -1
  110. package/dist/chunks/{file-retention-zcrspsvn.js → model-resolver-baaqp4zd.js} +4 -4
  111. package/dist/chunks/{file-retention-2fz0za61.js → model-resolver-beyx1pkk.js} +22 -22
  112. package/dist/chunks/{file-retention-c1y4bq5r.js → model-resolver-bt48ydtb.js} +15 -15
  113. package/dist/chunks/{file-retention-xsq4etav.js → model-resolver-c63b3eb6.js} +30 -30
  114. package/dist/chunks/{file-retention-d9bmnkpe.js → model-resolver-cdynj408.js} +23 -23
  115. package/dist/chunks/{file-retention-54tcyq79.js → model-resolver-ckecvw8r.js} +2 -2
  116. package/dist/chunks/{file-retention-g5q29pcg.js → model-resolver-cq364ng9.js} +22 -22
  117. package/dist/chunks/{file-retention-yec3cmat.js → model-resolver-d1wa36m8.js} +5 -5
  118. package/dist/chunks/{file-retention-n2az5f76.js → model-resolver-d2va843e.js} +10 -10
  119. package/dist/chunks/{file-retention-7h1rvsdd.js → model-resolver-d96fczqh.js} +17 -17
  120. package/dist/chunks/{file-retention-jwhd9bgz.js → model-resolver-dgdn6h98.js} +15 -15
  121. package/dist/chunks/{file-retention-7k8jnmap.js → model-resolver-dj2b5gt2.js} +44 -44
  122. package/dist/chunks/{file-retention-r2m716tb.js → model-resolver-djszqvmq.js} +9 -9
  123. package/dist/chunks/{file-retention-41rmpfss.js → model-resolver-dt8c207w.js} +25 -25
  124. package/dist/chunks/{file-retention-yx0fmswe.js → model-resolver-dyqx6pj7.js} +14 -14
  125. package/dist/chunks/{file-retention-gkcpgxvn.js → model-resolver-e08g86r3.js} +11 -11
  126. package/dist/chunks/{file-retention-e5etnha4.js → model-resolver-e0f9fjmh.js} +18 -18
  127. package/dist/chunks/{file-retention-gjyhvyzk.js → model-resolver-e5tcccaa.js} +11 -11
  128. package/dist/chunks/{file-retention-kmkwybff.js → model-resolver-e6hd9jay.js} +4 -4
  129. package/dist/chunks/{file-retention-xznz5zdk.js → model-resolver-e72j5d8n.js} +1 -1
  130. package/dist/chunks/{file-retention-jdtz6xe6.js → model-resolver-e80a14hq.js} +11 -11
  131. package/dist/chunks/{file-retention-yr5t88vm.js → model-resolver-e8v7tggz.js} +5 -5
  132. package/dist/chunks/{file-retention-yd5d63z4.js → model-resolver-e9e65bk8.js} +29 -29
  133. package/dist/chunks/{file-retention-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
  134. package/dist/chunks/{file-retention-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{file-retention-rjbmcc11.js → model-resolver-enf33bpj.js} +11 -11
  136. package/dist/chunks/{file-retention-782bh3pr.js → model-resolver-es818167.js} +25 -25
  137. package/dist/chunks/{file-retention-rkp2w2jx.js → model-resolver-esmfnkq0.js} +34 -34
  138. package/dist/chunks/{file-retention-958ry1en.js → model-resolver-et80q73h.js} +20 -20
  139. package/dist/chunks/{file-retention-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{file-retention-36cgn824.js → model-resolver-evbgk2k8.js} +5 -5
  141. package/dist/chunks/{file-retention-y1zeze83.js → model-resolver-f83da79h.js} +5 -5
  142. package/dist/chunks/{file-retention-addykxcr.js → model-resolver-f9d9xn2t.js} +29 -29
  143. package/dist/chunks/{file-retention-fx4fe4nq.js → model-resolver-fbmcmy2w.js} +4 -4
  144. package/dist/chunks/{file-retention-61h3kr51.js → model-resolver-fgwp6wvs.js} +31 -31
  145. package/dist/chunks/{file-retention-r59n77gh.js → model-resolver-fwwaqksj.js} +22 -22
  146. package/dist/chunks/{file-retention-cjj4r78p.js → model-resolver-g4zc67y8.js} +12 -12
  147. package/dist/chunks/{file-retention-679y6aj6.js → model-resolver-g7nh3h7e.js} +19 -19
  148. package/dist/chunks/{file-retention-vnwmzs4a.js → model-resolver-gcavn3wx.js} +5 -5
  149. package/dist/chunks/{file-retention-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{file-retention-3556dn8t.js → model-resolver-gg3hnhsj.js} +1 -1
  151. package/dist/chunks/{file-retention-hfym5axa.js → model-resolver-gjr5vbhk.js} +10 -10
  152. package/dist/chunks/{file-retention-r5d8z5dp.js → model-resolver-gktpjf8e.js} +10 -10
  153. package/dist/chunks/{file-retention-5pk58n1t.js → model-resolver-gn1qq9yk.js} +26 -26
  154. package/dist/chunks/{file-retention-yyb7tjpc.js → model-resolver-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{file-retention-v9aw8j7f.js → model-resolver-gvsybxtf.js} +93 -93
  156. package/dist/chunks/{file-retention-dk1h4k3m.js → model-resolver-h0ttmn00.js} +27 -27
  157. package/dist/chunks/{file-retention-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{file-retention-kbegyq1c.js → model-resolver-hkagk5ex.js} +2 -2
  159. package/dist/chunks/{file-retention-rrb87pxb.js → model-resolver-hkfaxnqd.js} +20 -20
  160. package/dist/chunks/{file-retention-8jxztqqt.js → model-resolver-hkfg6fzm.js} +5 -5
  161. package/dist/chunks/{file-retention-twd39qy8.js → model-resolver-hts4vzf1.js} +19 -19
  162. package/dist/chunks/{file-retention-3m43f51c.js → model-resolver-hzr2qqx8.js} +26 -26
  163. package/dist/chunks/{file-retention-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
  164. package/dist/chunks/{file-retention-s1a7yt6d.js → model-resolver-j63mkyf2.js} +48 -48
  165. package/dist/chunks/{file-retention-wd0xah3x.js → model-resolver-jjgtwx64.js} +32 -32
  166. package/dist/chunks/{file-retention-6scfp7gb.js → model-resolver-jjs74g98.js} +9 -9
  167. package/dist/chunks/{file-retention-tb1cafh6.js → model-resolver-jpqeh2wc.js} +4 -4
  168. package/dist/chunks/{file-retention-nzks3jc8.js → model-resolver-k3c624dm.js} +3 -3
  169. package/dist/chunks/{file-retention-6zcagf6x.js → model-resolver-k41vwr9d.js} +6 -6
  170. package/dist/chunks/{file-retention-ekf0jtj0.js → model-resolver-k5qvkmwp.js} +3 -3
  171. package/dist/chunks/{file-retention-5khy2bd0.js → model-resolver-kb6jkvf1.js} +39 -39
  172. package/dist/chunks/{file-retention-vsx1rdgx.js → model-resolver-kjaarbta.js} +21 -21
  173. package/dist/chunks/{file-retention-qeb5ksby.js → model-resolver-kjwygmc9.js} +53 -53
  174. package/dist/chunks/{file-retention-kspsnyg5.js → model-resolver-ktk6m7yv.js} +12 -12
  175. package/dist/chunks/{file-retention-h78cdha0.js → model-resolver-m210z9se.js} +43 -43
  176. package/dist/chunks/{file-retention-1caf5nrg.js → model-resolver-m2hdddfe.js} +25 -25
  177. package/dist/chunks/{file-retention-pzhy0znt.js → model-resolver-m3c96kre.js} +18 -18
  178. package/dist/chunks/{file-retention-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{file-retention-q3cwr1ch.js → model-resolver-m4mq5212.js} +63 -63
  180. package/dist/chunks/{file-retention-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{file-retention-8xyqwyw4.js → model-resolver-mdmxc2h2.js} +20 -20
  182. package/dist/chunks/{file-retention-v2hpcb12.js → model-resolver-mean0qec.js} +11 -11
  183. package/dist/chunks/{file-retention-mfqp6xfm.js → model-resolver-mfqp6xfm.js} +2 -2
  184. package/dist/chunks/{file-retention-3vzfjtr8.js → model-resolver-mgeh0yn6.js} +5 -5
  185. package/dist/chunks/{file-retention-ftbwh1a1.js → model-resolver-mgvjhcwg.js} +9 -9
  186. package/dist/chunks/{file-retention-c01tdnkp.js → model-resolver-mk4qzd84.js} +38 -38
  187. package/dist/chunks/{file-retention-9jbvj98d.js → model-resolver-n0tq777j.js} +8 -8
  188. package/dist/chunks/{file-retention-grfgqh29.js → model-resolver-nc64kt7a.js} +18 -18
  189. package/dist/chunks/{file-retention-gzsrjqqd.js → model-resolver-nc7t749v.js} +77 -77
  190. package/dist/chunks/{file-retention-fw2v9256.js → model-resolver-ncjresk4.js} +8 -8
  191. package/dist/chunks/{file-retention-n7d88tpn.js → model-resolver-ndmv45hp.js} +3 -3
  192. package/dist/chunks/{file-retention-rwh68y4k.js → model-resolver-ndqtf2h8.js} +6 -6
  193. package/dist/chunks/{file-retention-5gerj4ra.js → model-resolver-nrsh6tk0.js} +47 -47
  194. package/dist/chunks/{file-retention-4s8ysvrb.js → model-resolver-nv6em8ry.js} +40 -40
  195. package/dist/chunks/{file-retention-y4spq9gz.js → model-resolver-p0d9yfeb.js} +94 -94
  196. package/dist/chunks/{file-retention-vxzh5eqq.js → model-resolver-pc4b88sv.js} +4 -4
  197. package/dist/chunks/{file-retention-jz6k0e3h.js → model-resolver-pfk6y5a9.js} +3 -3
  198. package/dist/chunks/{file-retention-ydgy0jv4.js → model-resolver-phpw85vv.js} +4 -4
  199. package/dist/chunks/{file-retention-zgw5b4rz.js → model-resolver-pjf50ww2.js} +13 -13
  200. package/dist/chunks/{file-retention-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{file-retention-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  202. package/dist/chunks/{file-retention-g298hghc.js → model-resolver-pq4mxcs4.js} +32 -32
  203. package/dist/chunks/{file-retention-3czz45a3.js → model-resolver-q5cxqncr.js} +3 -3
  204. package/dist/chunks/{file-retention-at5d07az.js → model-resolver-qa3qhgw8.js} +4 -4
  205. package/dist/chunks/{file-retention-njhj3ca1.js → model-resolver-qd6sxt3f.js} +13 -13
  206. package/dist/chunks/{file-retention-2pnhn36q.js → model-resolver-qj8eh1ht.js} +21 -21
  207. package/dist/chunks/{file-retention-qgc72k7m.js → model-resolver-qkn0bf4a.js} +8 -8
  208. package/dist/chunks/{file-retention-amhzemjk.js → model-resolver-qpyj4d94.js} +11 -11
  209. package/dist/chunks/{file-retention-vk4wj6sj.js → model-resolver-qsb13eat.js} +24 -24
  210. package/dist/chunks/{file-retention-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
  211. package/dist/chunks/{file-retention-dvzj1xmf.js → model-resolver-qtg64bph.js} +17 -17
  212. package/dist/chunks/{file-retention-1wr3xbz8.js → model-resolver-qvreyy9g.js} +5 -5
  213. package/dist/chunks/{file-retention-30dn2p1d.js → model-resolver-qxcr5sj8.js} +27 -27
  214. package/dist/chunks/{file-retention-1fscjbh9.js → model-resolver-r1vxhqvv.js} +3 -3
  215. package/dist/chunks/{file-retention-1bbkgx8g.js → model-resolver-r5x6zcsm.js} +3 -3
  216. package/dist/chunks/{file-retention-474p48fz.js → model-resolver-rbcy0mcv.js} +13 -13
  217. package/dist/chunks/{file-retention-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{file-retention-chthj8nn.js → model-resolver-rrx1e06a.js} +17 -17
  219. package/dist/chunks/{file-retention-h6p0mwy3.js → model-resolver-rz6dkkgy.js} +15 -15
  220. package/dist/chunks/{file-retention-k0aew57z.js → model-resolver-s61t9ejp.js} +40 -40
  221. package/dist/chunks/{file-retention-4jrfqp12.js → model-resolver-s6v4rjr2.js} +29 -29
  222. package/dist/chunks/{file-retention-kag9wx21.js → model-resolver-s6vew4x4.js} +27 -27
  223. package/dist/chunks/{file-retention-gx02ghzj.js → model-resolver-sbgs7n57.js} +9 -9
  224. package/dist/chunks/{file-retention-9asxwhye.js → model-resolver-t7zmjtqp.js} +10 -10
  225. package/dist/chunks/{file-retention-4x93m9qy.js → model-resolver-t88yr9ve.js} +20 -20
  226. package/dist/chunks/{file-retention-2a31wvsa.js → model-resolver-tafnspmy.js} +17 -17
  227. package/dist/chunks/{file-retention-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{file-retention-9ckhpt6a.js → model-resolver-tbebh6wt.js} +35 -35
  229. package/dist/chunks/{file-retention-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
  230. package/dist/chunks/{file-retention-tdstcens.js → model-resolver-tdstcens.js} +1 -1
  231. package/dist/chunks/{file-retention-nnk7v8pm.js → model-resolver-tf4wmns1.js} +8 -8
  232. package/dist/chunks/{file-retention-5dg6696f.js → model-resolver-tjb0cp7v.js} +33 -33
  233. package/dist/chunks/{file-retention-3vehk3w1.js → model-resolver-tn2czw04.js} +15 -15
  234. package/dist/chunks/{file-retention-jrh7cjv9.js → model-resolver-tv1yapnf.js} +19 -19
  235. package/dist/chunks/{file-retention-4f1mqxn7.js → model-resolver-tvmwean2.js} +4 -4
  236. package/dist/chunks/{file-retention-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
  237. package/dist/chunks/{file-retention-5epvw41m.js → model-resolver-tyr8t8jb.js} +38 -38
  238. package/dist/chunks/{file-retention-3st197qb.js → model-resolver-v4a37k2n.js} +59 -59
  239. package/dist/chunks/{file-retention-p9te1kmc.js → model-resolver-va9r1m6h.js} +43 -43
  240. package/dist/chunks/{file-retention-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  241. package/dist/chunks/{file-retention-wapkz1da.js → model-resolver-vqmd05dp.js} +22 -22
  242. package/dist/chunks/{file-retention-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
  243. package/dist/chunks/{file-retention-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
  244. package/dist/chunks/{file-retention-84txncab.js → model-resolver-w1eejvng.js} +5 -5
  245. package/dist/chunks/{file-retention-yte8k0cp.js → model-resolver-w2w41gxq.js} +21 -21
  246. package/dist/chunks/{file-retention-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{file-retention-frtvfavf.js → model-resolver-wb1r8yr9.js} +6 -6
  248. package/dist/chunks/{file-retention-dp089qyj.js → model-resolver-wcqjfzwh.js} +11 -11
  249. package/dist/chunks/{file-retention-psazpmmj.js → model-resolver-wd3x2cqz.js} +2 -2
  250. package/dist/chunks/{file-retention-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  251. package/dist/chunks/{file-retention-yrc0g15d.js → model-resolver-wg9731he.js} +3 -3
  252. package/dist/chunks/{file-retention-w2wbxgzd.js → model-resolver-wgcg4671.js} +7 -7
  253. package/dist/chunks/{file-retention-qcmd6j3d.js → model-resolver-wgtcm0m7.js} +4 -4
  254. package/dist/chunks/{file-retention-gja6y8ab.js → model-resolver-wj7vq2ea.js} +22 -22
  255. package/dist/chunks/{file-retention-f9v3w90c.js → model-resolver-wmmnpfs6.js} +19 -19
  256. package/dist/chunks/{file-retention-4a49dmp5.js → model-resolver-wsr3wm9b.js} +18 -18
  257. package/dist/chunks/{file-retention-e4e0rb9m.js → model-resolver-wwqbqry9.js} +11 -11
  258. package/dist/chunks/model-resolver-wzeytf8f.js +252 -0
  259. package/dist/chunks/{file-retention-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{file-retention-9hbvw80x.js → model-resolver-x3ymtx59.js} +16 -16
  261. package/dist/chunks/{file-retention-mpk0rfs5.js → model-resolver-x661k3y3.js} +4 -4
  262. package/dist/chunks/{file-retention-t3tn9a53.js → model-resolver-x929eknx.js} +9 -9
  263. package/dist/chunks/{file-retention-ew2nq7xx.js → model-resolver-xa1a1wzx.js} +6 -6
  264. package/dist/chunks/{file-retention-s6yj2pcz.js → model-resolver-xa1e8bc0.js} +6 -6
  265. package/dist/chunks/{file-retention-cg045a5a.js → model-resolver-xdxwx81a.js} +22 -22
  266. package/dist/chunks/model-resolver-xh9cn0qf.js +26 -0
  267. package/dist/chunks/{file-retention-g87nsqnj.js → model-resolver-xkmg7qp8.js} +5 -5
  268. package/dist/chunks/{file-retention-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
  269. package/dist/chunks/{file-retention-20k655vp.js → model-resolver-xn8j33mp.js} +8 -8
  270. package/dist/chunks/{file-retention-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{file-retention-43m7x77p.js → model-resolver-y1k0c4q8.js} +20 -20
  272. package/dist/chunks/{file-retention-nenvs776.js → model-resolver-y6mjvh6p.js} +9 -9
  273. package/dist/chunks/{file-retention-y71avatq.js → model-resolver-y71avatq.js} +1 -1
  274. package/dist/chunks/{file-retention-14rxwr6z.js → model-resolver-yc2dt6gh.js} +47 -47
  275. package/dist/chunks/{file-retention-zzp9hs8b.js → model-resolver-yedg7326.js} +33 -33
  276. package/dist/chunks/{file-retention-4dcyp64e.js → model-resolver-yefqq88c.js} +11 -11
  277. package/dist/chunks/{file-retention-x1mx0z9d.js → model-resolver-yetcaet6.js} +10 -10
  278. package/dist/chunks/{file-retention-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{file-retention-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
  280. package/dist/chunks/{file-retention-c9h5a3rv.js → model-resolver-ys8bcvtf.js} +32 -32
  281. package/dist/chunks/{file-retention-k6c967g7.js → model-resolver-yzscc1x4.js} +3 -3
  282. package/dist/chunks/{file-retention-bjtzbw4r.js → model-resolver-z07pqspn.js} +3 -3
  283. package/dist/chunks/{file-retention-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{file-retention-xw6mcszy.js → model-resolver-z28qgkdb.js} +16 -16
  285. package/dist/chunks/{file-retention-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
  286. package/dist/chunks/{file-retention-rq775frq.js → model-resolver-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{file-retention-2yxf3rmy.js → model-resolver-zexagpgf.js} +34 -34
  288. package/dist/chunks/{file-retention-b0a139tp.js → model-resolver-zgnhzt77.js} +5 -5
  289. package/dist/chunks/{file-retention-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{file-retention-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{file-retention-3gd62aj9.js → model-resolver-zyj926zy.js} +188 -188
  292. package/dist/chunks/{file-retention-j6wzn4gt.js → model-resolver-zzypbymf.js} +17 -17
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -371
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +86 -86
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  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 +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -102
  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 +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +3 -3
  500. package/dist/plugin/internal.js +334 -334
  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 +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -95
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +78 -78
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +95 -95
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +79 -79
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +120 -120
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +162 -162
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +139 -139
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +353 -353
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +2 -2
  557. package/dist/plugin/websearch/parallel.js +6 -6
  558. package/dist/plugin/websearch/tavily.js +4 -4
  559. package/dist/plugin/websearch/tinyfish.js +6 -6
  560. package/dist/plugin.js +226 -226
  561. package/dist/project/schema.js +6 -6
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +88 -88
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +99 -99
  568. package/dist/reference/instructions.js +89 -89
  569. package/dist/reference.js +89 -89
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +135 -135
  579. package/dist/session/context.js +153 -153
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +225 -225
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +154 -154
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +84 -84
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -118
  596. package/dist/session/model-transport.js +7 -7
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +1 -1
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -232
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +170 -170
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +75 -75
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +211 -211
  620. package/dist/session/system-prompt.js +5 -5
  621. package/dist/session/title.js +157 -157
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +224 -224
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +221 -221
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +11 -11
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +128 -128
  639. package/dist/tool/plugin/edit.js +118 -118
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +122 -122
  643. package/dist/tool/plugin/mcp-resource.js +117 -117
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +105 -105
  647. package/dist/tool/plugin/read.js +119 -119
  648. package/dist/tool/plugin/shell.js +216 -216
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +220 -220
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +3 -3
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +87 -87
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +79 -79
  690. package/dist/workspace/driver.js +3 -3
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +8 -8
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +98 -98
  698. package/package.json +8 -8
  699. package/dist/chunks/file-retention-0awdyt48.js +0 -26
  700. package/dist/chunks/file-retention-5g7fvmhm.js +0 -507
  701. package/dist/chunks/file-retention-c2k3cth8.js +0 -252
  702. package/dist/chunks/file-retention-ht5y0zrb.js +0 -18
  703. /package/dist/chunks/{file-retention-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{file-retention-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{file-retention-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{file-retention-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{file-retention-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{file-retention-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{file-retention-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{file-retention-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{file-retention-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{file-retention-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{file-retention-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{file-retention-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  715. /package/dist/chunks/{file-retention-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{file-retention-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{file-retention-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{file-retention-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{file-retention-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{file-retention-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{file-retention-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{file-retention-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  723. /package/dist/chunks/{file-retention-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{file-retention-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  725. /package/dist/chunks/{file-retention-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{file-retention-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{file-retention-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  728. /package/dist/chunks/{file-retention-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{file-retention-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{file-retention-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{file-retention-922hggd3.js → model-resolver-922hggd3.js} +0 -0
  732. /package/dist/chunks/{file-retention-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{file-retention-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{file-retention-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{file-retention-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{file-retention-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{file-retention-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{file-retention-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{file-retention-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{file-retention-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{file-retention-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{file-retention-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{file-retention-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{file-retention-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{file-retention-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{file-retention-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{file-retention-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  748. /package/dist/chunks/{file-retention-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{file-retention-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{file-retention-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{file-retention-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{file-retention-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{file-retention-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{file-retention-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{file-retention-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{file-retention-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{file-retention-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{file-retention-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{file-retention-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{file-retention-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  761. /package/dist/chunks/{file-retention-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{file-retention-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  763. /package/dist/chunks/{file-retention-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{file-retention-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  765. /package/dist/chunks/{file-retention-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{file-retention-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{file-retention-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{file-retention-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{file-retention-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{file-retention-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{file-retention-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{file-retention-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{file-retention-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{file-retention-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{file-retention-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{file-retention-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{file-retention-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{file-retention-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{file-retention-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{file-retention-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{file-retention-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{file-retention-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{file-retention-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{file-retention-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{file-retention-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{file-retention-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{file-retention-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{file-retention-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{file-retention-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{file-retention-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{file-retention-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{file-retention-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  793. /package/dist/chunks/{file-retention-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{file-retention-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{file-retention-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{file-retention-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{file-retention-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{file-retention-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./file-retention-60e937tk.js";
5
- import {
6
- Service80,
2
+ Service81,
7
3
  node84
8
- } from "./file-retention-9hbvw80x.js";
4
+ } from "./model-resolver-aaz4evtx.js";
5
+ import {
6
+ Service78,
7
+ node81
8
+ } from "./model-resolver-x3ymtx59.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./file-retention-ec1grn59.js";
11
+ } from "./model-resolver-ec1grn59.js";
12
12
  import {
13
- Service51,
14
- node53
15
- } from "./file-retention-7h1rvsdd.js";
13
+ Service74,
14
+ node77
15
+ } from "./model-resolver-d96fczqh.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service9,
23
+ Service: () => Service11,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node11
25
+ node: () => node13
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service9 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service11 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service9, Effect.gen(function* () {
38
- const bus = yield* Service83;
37
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
38
+ const bus = yield* Service81;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service51;
41
- const location = yield* Service80;
40
+ const store = yield* Service74;
41
+ const location = yield* Service78;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service9.of({ load });
87
+ return Service11.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node11 = makeLocationNode({
98
+ var node13 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node87, FSUtil.node, node84, node53]
101
+ deps: [node84, FSUtil.node, node81, node77]
102
102
  });
103
103
 
104
- export { Service9, node11, exports_instructions };
104
+ export { Service11, node13, exports_instructions };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./file-retention-nenvs776.js";
4
+ } from "./model-resolver-y6mjvh6p.js";
5
5
  import {
6
6
  BlockedError2
7
- } from "./file-retention-q3cwr1ch.js";
7
+ } from "./model-resolver-m4mq5212.js";
8
8
  import {
9
9
  AuthorizationError2
10
- } from "./file-retention-5dg6696f.js";
10
+ } from "./model-resolver-tjb0cp7v.js";
11
11
  import {
12
12
  VariantUnavailableError2,
13
13
  UnsupportedPackageError2,
@@ -15,11 +15,11 @@ import {
15
15
  ModelInitializationError2,
16
16
  UnresolvedProviderVariablesError2,
17
17
  UnsupportedCompactionError2
18
- } from "./file-retention-7k8jnmap.js";
18
+ } from "./model-resolver-dj2b5gt2.js";
19
19
  import {
20
20
  ModelNotSelectedError2,
21
21
  ModelUnavailableError2
22
- } from "./file-retention-ms03nq7r.js";
22
+ } from "./model-resolver-1z8t22df.js";
23
23
 
24
24
  // src/session/to-session-error.ts
25
25
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./file-retention-2bef5nan.js";
4
+ } from "./model-resolver-3ckfa135.js";
5
5
  import {
6
6
  latest2,
7
- Service66
8
- } from "./file-retention-14rxwr6z.js";
7
+ Service59
8
+ } from "./model-resolver-yc2dt6gh.js";
9
9
  import {
10
10
  resolve2
11
- } from "./file-retention-7jn4cbqh.js";
11
+ } from "./model-resolver-02v6ekhe.js";
12
12
  import {
13
13
  observe2
14
- } from "./file-retention-qsdy395h.js";
14
+ } from "./model-resolver-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./file-retention-9rqn6x4v.js";
17
+ } from "./model-resolver-9rqn6x4v.js";
18
18
 
19
19
  // src/config/plugin/provider.ts
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin10
23
+ Plugin: () => Plugin14
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin10 = define({
28
+ var Plugin14 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service66;
31
+ const config = yield* Service59;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
192
192
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
193
193
  }
194
194
 
195
- export { Plugin10, exports_provider };
195
+ export { Plugin14, exports_provider };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./file-retention-4bpxp8jr.js";
2
+ Service83,
3
+ node87
4
+ } from "./model-resolver-aye9t8w1.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./file-retention-bjtzbw4r.js";
8
+ } from "./model-resolver-z07pqspn.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load4
12
- } from "./file-retention-ah16ew7h.js";
11
+ load5
12
+ } from "./model-resolver-2t8dba19.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./file-retention-kbegyq1c.js";
15
+ } from "./model-resolver-hkagk5ex.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput4,
24
- Service: () => Service51,
24
+ Service: () => Service74,
25
25
  SessionStore: () => exports_store,
26
- node: () => node53
26
+ node: () => node77
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service51 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service74 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service51, Effect.gen(function* () {
58
- const { db } = yield* Service84;
59
- return Service51.of({
57
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
58
+ const { db } = yield* Service83;
59
+ return Service74.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node53 = makeGlobalNode({ service: Service51, layer, deps: [node88] });
128
+ var node77 = makeGlobalNode({ service: Service74, layer, deps: [node87] });
129
129
 
130
- export { ListInput4, Service51, node53, exports_store };
130
+ export { ListInput4, Service74, node77, exports_store };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./file-retention-9hbvw80x.js";
2
+ Service78,
3
+ node81
4
+ } from "./model-resolver-x3ymtx59.js";
5
5
  import {
6
6
  create3
7
- } from "./file-retention-rdw6cm16.js";
7
+ } from "./model-resolver-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service59,
17
- node: () => node61
16
+ Service: () => Service15,
17
+ node: () => node17
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service59 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service15 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service59, Effect.gen(function* () {
27
- const location = yield* Service80;
26
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
27
+ const location = yield* Service78;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service59.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service15.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node61 = makeLocationNode({
91
- service: Service59,
90
+ var node17 = makeLocationNode({
91
+ service: Service15,
92
92
  layer,
93
- deps: [node84, AppProcess.node]
93
+ deps: [node81, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service59, node61, exports_formatter2 };
96
+ export { Service15, node17, exports_formatter2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID13,
3
- Service71,
4
- node74
5
- } from "./file-retention-5dg6696f.js";
2
+ ID8,
3
+ Service69,
4
+ node72
5
+ } from "./model-resolver-tjb0cp7v.js";
6
6
  import {
7
- ID12,
7
+ ID7,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service70,
16
- node73
17
- } from "./file-retention-2bef5nan.js";
15
+ Service68,
16
+ node71
17
+ } from "./model-resolver-3ckfa135.js";
18
18
  import {
19
- Service55,
20
- node57
21
- } from "./file-retention-4dcyp64e.js";
19
+ Service66,
20
+ node69
21
+ } from "./model-resolver-yefqq88c.js";
22
22
  import {
23
- ID11,
23
+ ID6,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service69,
27
- node72
28
- } from "./file-retention-9ckhpt6a.js";
26
+ Service67,
27
+ node70
28
+ } from "./model-resolver-tbebh6wt.js";
29
29
  import {
30
30
  __export
31
- } from "./file-retention-9rqn6x4v.js";
31
+ } from "./model-resolver-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError2,
38
38
  ModelInitializationError: () => ModelInitializationError2,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service54,
40
+ Service: () => Service65,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError2,
44
44
  VariantUnavailableError: () => VariantUnavailableError2,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer19,
48
- node: () => node56,
47
+ layer: () => layer24,
48
+ node: () => node68,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID12,
59
- modelID: ID11,
58
+ providerID: ID7,
59
+ modelID: ID6,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -65,8 +65,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID12,
69
- modelID: ID11,
68
+ providerID: ID7,
69
+ modelID: ID6,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -76,8 +76,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID12,
80
- modelID: ID11,
79
+ providerID: ID7,
80
+ modelID: ID6,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -87,8 +87,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID12,
91
- modelID: ID11,
90
+ providerID: ID7,
91
+ modelID: ID6,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -99,8 +99,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID12,
103
- modelID: ID11,
102
+ providerID: ID7,
103
+ modelID: ID6,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID12,
113
- modelID: ID11,
112
+ providerID: ID7,
113
+ modelID: ID6,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service54 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service65 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer19 = Layer.effect(Service54, Effect.gen(function* () {
262
- const providers = yield* Service70;
263
- const models = yield* Service69;
264
- const integrations = yield* Service71;
261
+ var layer24 = Layer.effect(Service65, Effect.gen(function* () {
262
+ const providers = yield* Service68;
263
+ const models = yield* Service67;
264
+ const integrations = yield* Service69;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service55;
266
+ const aisdk = yield* Service66;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -293,7 +293,7 @@ var layer19 = Layer.effect(Service54, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service54.of({
296
+ return Service65.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node56 = makeLocationNode({
314
- service: Service54,
315
- layer: layer19,
316
- deps: [node73, node72, node74, Npm.node, node57]
313
+ var node68 = makeLocationNode({
314
+ service: Service65,
315
+ layer: layer24,
316
+ deps: [node71, node70, node72, Npm.node, node69]
317
317
  });
318
318
 
319
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node56, exports_model_resolver };
319
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service65, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node68, exports_model_resolver };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./file-retention-rdw6cm16.js";
3
+ } from "./model-resolver-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./model-resolver-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service7,
13
- node: () => node8
12
+ Service: () => Service10,
13
+ node: () => node12
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service7, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service7.of({
44
+ return Service10.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node8 = makeLocationNode({ service: Service7, layer, deps: [] });
51
+ var node12 = makeLocationNode({ service: Service10, layer, deps: [] });
52
52
 
53
- export { Service7, node8, exports_location_watcher_policy };
53
+ export { Service10, node12, exports_location_watcher_policy };