@opencode/core 0.0.0-dev-19340 → 0.0.0-dev-19342

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{command-zpwwzgp1.js → file-retention-0bzed8qe.js} +30 -30
  9. package/dist/chunks/{command-vqanb4pf.js → file-retention-0djgsxfa.js} +9 -9
  10. package/dist/chunks/{command-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{command-0q0f95c6.js → file-retention-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{command-cy0caesz.js → file-retention-0sdp51s0.js} +16 -16
  13. package/dist/chunks/{command-352w66m8.js → file-retention-0vqy458c.js} +8 -8
  14. package/dist/chunks/{command-3s259dc5.js → file-retention-1d0fhjp0.js} +9 -9
  15. package/dist/chunks/{command-6sd8tygk.js → file-retention-1d5qcw44.js} +4 -4
  16. package/dist/chunks/{command-1dazxqgg.js → file-retention-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{command-1dfhrqqs.js → file-retention-1dfhrqqs.js} +2 -2
  18. package/dist/chunks/{command-fyjrpq2n.js → file-retention-1emffesh.js} +5 -5
  19. package/dist/chunks/{command-jdfx4b8y.js → file-retention-1p35s36r.js} +17 -17
  20. package/dist/chunks/{command-4drgpw32.js → file-retention-1q5awywt.js} +5 -5
  21. package/dist/chunks/{command-21r38tys.js → file-retention-21r38tys.js} +1 -1
  22. package/dist/chunks/{command-2402vzrj.js → file-retention-2402vzrj.js} +1 -1
  23. package/dist/chunks/{command-hdx86dvw.js → file-retention-283c8amn.js} +20 -20
  24. package/dist/chunks/{command-29x78va6.js → file-retention-29x78va6.js} +2 -2
  25. package/dist/chunks/{command-2336b01z.js → file-retention-2a4f6v5q.js} +8 -8
  26. package/dist/chunks/{command-2a5m3afh.js → file-retention-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{command-g48a3zmh.js → file-retention-2a9489x0.js} +12 -12
  28. package/dist/chunks/{command-snjca2tz.js → file-retention-2dhvjk9m.js} +54 -54
  29. package/dist/chunks/{command-tb5310gf.js → file-retention-2wddc2mm.js} +27 -27
  30. package/dist/chunks/{command-v9g8grrj.js → file-retention-2wmkh6wf.js} +15 -15
  31. package/dist/chunks/{command-ftt3rafc.js → file-retention-35etrq90.js} +22 -22
  32. package/dist/chunks/{command-ycyqxyvr.js → file-retention-35gx5fr5.js} +10 -10
  33. package/dist/chunks/{command-ca8kgyjt.js → file-retention-3bfh1azg.js} +81 -81
  34. package/dist/chunks/{command-16zr1pr9.js → file-retention-3cqavhax.js} +8 -8
  35. package/dist/chunks/{command-2gg4mvag.js → file-retention-3eqpb9zq.js} +20 -20
  36. package/dist/chunks/{command-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{command-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{command-p5gbrdgq.js → file-retention-3tc1r0mp.js} +20 -20
  39. package/dist/chunks/{command-f405q49x.js → file-retention-3tf484fr.js} +18 -18
  40. package/dist/chunks/{command-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{command-dv5md250.js → file-retention-42fa2mq1.js} +26 -26
  42. package/dist/chunks/{command-a3vbp4x0.js → file-retention-457xx6wr.js} +9 -9
  43. package/dist/chunks/{command-8560ytdy.js → file-retention-45ax9jcn.js} +26 -26
  44. package/dist/chunks/{command-47gsdddb.js → file-retention-47gsdddb.js} +1 -1
  45. package/dist/chunks/{command-68m404t8.js → file-retention-495xzanh.js} +15 -15
  46. package/dist/chunks/{command-ffd8yj9h.js → file-retention-49ej072a.js} +3 -3
  47. package/dist/chunks/{command-mgkcxgp8.js → file-retention-4c9pdqrn.js} +16 -16
  48. package/dist/chunks/{command-hmv863ha.js → file-retention-4hqfr28c.js} +32 -32
  49. package/dist/chunks/{command-hrstj3y9.js → file-retention-4ram32jk.js} +19 -19
  50. package/dist/chunks/{command-ra3qct3x.js → file-retention-50mx3fww.js} +8 -8
  51. package/dist/chunks/{command-1k8kk91w.js → file-retention-51pqj4sw.js} +46 -46
  52. package/dist/chunks/{command-68w7n5s5.js → file-retention-53b5596a.js} +9 -9
  53. package/dist/chunks/{command-y45y5km7.js → file-retention-541f07s9.js} +17 -17
  54. package/dist/chunks/{command-1ygqh575.js → file-retention-56gdpj1q.js} +9 -9
  55. package/dist/chunks/{command-tkbkgwhn.js → file-retention-585pw9ae.js} +22 -22
  56. package/dist/chunks/{command-xwe3tfkg.js → file-retention-5c9mjg6a.js} +26 -26
  57. package/dist/chunks/{command-5daktx2q.js → file-retention-5daktx2q.js} +1 -1
  58. package/dist/chunks/{command-fhh9803e.js → file-retention-5qng0t1j.js} +9 -9
  59. package/dist/chunks/{command-5t3nmthw.js → file-retention-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{command-vxkr754a.js → file-retention-629h1w84.js} +6 -6
  61. package/dist/chunks/{command-556mt29y.js → file-retention-62qy00sv.js} +2 -2
  62. package/dist/chunks/{command-6p3xbzsx.js → file-retention-64kphnzf.js} +4 -4
  63. package/dist/chunks/{command-669tq793.js → file-retention-669tq793.js} +1 -1
  64. package/dist/chunks/{command-rqdgyf5f.js → file-retention-68vz8m4p.js} +14 -14
  65. package/dist/chunks/{command-8wkvwetv.js → file-retention-69ycz7qv.js} +30 -30
  66. package/dist/chunks/{command-h17eanzf.js → file-retention-6bdbvcy9.js} +23 -23
  67. package/dist/chunks/{command-cgpqyknh.js → file-retention-6dxcmtmc.js} +24 -24
  68. package/dist/chunks/{command-n0j6r25c.js → file-retention-6f22aege.js} +28 -28
  69. package/dist/chunks/{command-6jnybvqn.js → file-retention-6jnybvqn.js} +2 -2
  70. package/dist/chunks/{command-6msgmcgs.js → file-retention-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{command-hzdjxxhj.js → file-retention-6ppfrw8p.js} +23 -23
  72. package/dist/chunks/{command-cqq77scw.js → file-retention-6tkx0wew.js} +6 -6
  73. package/dist/chunks/{command-2fptrwpm.js → file-retention-6vfxs2dk.js} +16 -16
  74. package/dist/chunks/{command-7zxy0r75.js → file-retention-6xfzx76p.js} +11 -11
  75. package/dist/chunks/{command-mvqfncgj.js → file-retention-6zagmew0.js} +13 -13
  76. package/dist/chunks/{command-71q4at8m.js → file-retention-71q4at8m.js} +1 -1
  77. package/dist/chunks/{command-eq1pz5kg.js → file-retention-73tb2d7t.js} +3 -3
  78. package/dist/chunks/file-retention-79fjvhba.js +247 -0
  79. package/dist/chunks/{command-8a43qwm6.js → file-retention-7b6kgw3h.js} +40 -40
  80. package/dist/chunks/{command-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{command-2k8khapm.js → file-retention-7dqw4kz8.js} +5 -5
  82. package/dist/chunks/{command-s4szbmdb.js → file-retention-7eagj9kf.js} +9 -9
  83. package/dist/chunks/{command-2jmaghvr.js → file-retention-7ebn0nc0.js} +6 -6
  84. package/dist/chunks/{command-jp4vwsmq.js → file-retention-7zypnq1v.js} +10 -10
  85. package/dist/chunks/{command-844ef7ks.js → file-retention-844ef7ks.js} +1 -1
  86. package/dist/chunks/{command-remxzp3g.js → file-retention-84e78dg0.js} +5 -5
  87. package/dist/chunks/{command-z5pdw36g.js → file-retention-89xjw27r.js} +34 -34
  88. package/dist/chunks/{command-8d7r5vzw.js → file-retention-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{command-2s62dw2x.js → file-retention-8h998g6s.js} +1 -1
  90. package/dist/chunks/{command-8p4f9s12.js → file-retention-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{command-xw8fym13.js → file-retention-8pak98y4.js} +18 -18
  92. package/dist/chunks/{command-wstvv1gd.js → file-retention-8qbgjw8c.js} +6 -6
  93. package/dist/chunks/{command-bcm798z8.js → file-retention-8vg9ss2j.js} +5 -5
  94. package/dist/chunks/{command-8wsye86r.js → file-retention-8wsye86r.js} +1 -1
  95. package/dist/chunks/{command-07am1m2n.js → file-retention-8yc64hpa.js} +14 -14
  96. package/dist/chunks/{command-9v7bhpan.js → file-retention-95fjfv4d.js} +11 -11
  97. package/dist/chunks/{command-h457z9c3.js → file-retention-96yt6zt0.js} +1 -1
  98. package/dist/chunks/{command-21pbdrht.js → file-retention-9a0n252a.js} +50 -50
  99. package/dist/chunks/{command-f1endfdf.js → file-retention-9p2ve8w2.js} +27 -27
  100. package/dist/chunks/{command-06fs55ff.js → file-retention-9pgqtxcp.js} +21 -21
  101. package/dist/chunks/{command-ezxzkja2.js → file-retention-9pyf0cwy.js} +17 -17
  102. package/dist/chunks/file-retention-9sh4wc5j.js +18 -0
  103. package/dist/chunks/{command-xra6sk40.js → file-retention-9t1jp5yp.js} +9 -9
  104. package/dist/chunks/{command-2r3qnbph.js → file-retention-9wnjnk6r.js} +5 -5
  105. package/dist/chunks/{command-a1bz86dw.js → file-retention-a1bz86dw.js} +3 -3
  106. package/dist/chunks/file-retention-a4qn8ft9.js +462 -0
  107. package/dist/chunks/{command-tbwa9y7t.js → file-retention-a6x36d81.js} +4 -4
  108. package/dist/chunks/{command-dq5erfj9.js → file-retention-a8zn6wm8.js} +15 -15
  109. package/dist/chunks/{command-aaet6srn.js → file-retention-aaet6srn.js} +2 -2
  110. package/dist/chunks/{command-hpr7c3g9.js → file-retention-ab3m9e4p.js} +8 -8
  111. package/dist/chunks/{command-gfdt0few.js → file-retention-agj0b0se.js} +17 -17
  112. package/dist/chunks/{command-by885ras.js → file-retention-aj8kkpvr.js} +4 -4
  113. package/dist/chunks/{command-6hyh8d33.js → file-retention-anhfpk2y.js} +15 -15
  114. package/dist/chunks/{command-p34q75r1.js → file-retention-aqhnkr3e.js} +45 -45
  115. package/dist/chunks/{command-zgq1tywg.js → file-retention-asqsdy15.js} +41 -41
  116. package/dist/chunks/{command-ncaz8497.js → file-retention-aywpdfxt.js} +13 -13
  117. package/dist/chunks/{command-qtsr48c5.js → file-retention-b0p6ev8e.js} +6 -6
  118. package/dist/chunks/{command-3xgcdqsq.js → file-retention-b65ks73n.js} +37 -37
  119. package/dist/chunks/{command-b6gygkdw.js → file-retention-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{command-xfjwmp6z.js → file-retention-baeg8a9n.js} +4 -4
  121. package/dist/chunks/{command-058t7yf9.js → file-retention-bcnz578n.js} +2 -2
  122. package/dist/chunks/{command-fq2b9r6y.js → file-retention-bd1zqjbj.js} +15 -15
  123. package/dist/chunks/{command-3j8sdtpz.js → file-retention-bf0ztrs3.js} +4 -4
  124. package/dist/chunks/{command-8em5q6v9.js → file-retention-bs7hmeg3.js} +18 -18
  125. package/dist/chunks/{command-kv4yc82c.js → file-retention-ccmdxyv2.js} +11 -11
  126. package/dist/chunks/{command-cfpkc3c9.js → file-retention-cfpkc3c9.js} +2 -2
  127. package/dist/chunks/{command-rgach609.js → file-retention-cne0g9zz.js} +11 -11
  128. package/dist/chunks/{command-h336fp6c.js → file-retention-cvmpta01.js} +166 -166
  129. package/dist/chunks/{command-sjajpaqc.js → file-retention-cyymmyy1.js} +13 -13
  130. package/dist/chunks/{command-357er88r.js → file-retention-cz0cqjej.js} +5 -5
  131. package/dist/chunks/{command-1tj6de83.js → file-retention-d0zk2jym.js} +6 -6
  132. package/dist/chunks/{command-81swgkk7.js → file-retention-d67aqa6n.js} +9 -9
  133. package/dist/chunks/{command-my9h9hzg.js → file-retention-d8s0zgrq.js} +9 -9
  134. package/dist/chunks/{command-b06etp1z.js → file-retention-dcm7ab38.js} +28 -28
  135. package/dist/chunks/{command-frdrseff.js → file-retention-dfdxrv27.js} +26 -26
  136. package/dist/chunks/{command-atwtfknp.js → file-retention-dfwmnba5.js} +24 -24
  137. package/dist/chunks/{command-bnm0713s.js → file-retention-dn5dwck5.js} +15 -15
  138. package/dist/chunks/{command-hwe7x4em.js → file-retention-dn7xhbn4.js} +6 -6
  139. package/dist/chunks/{command-y71avatq.js → file-retention-dpkg50ah.js} +4 -4
  140. package/dist/chunks/{command-rj8d4vx7.js → file-retention-dy2q6f9r.js} +17 -17
  141. package/dist/chunks/{command-phjaars8.js → file-retention-e2nxat5d.js} +6 -6
  142. package/dist/chunks/{command-6c7a0g9q.js → file-retention-e59w6ff2.js} +13 -13
  143. package/dist/chunks/{command-3wm7cf08.js → file-retention-e6d6pdps.js} +6 -6
  144. package/dist/chunks/{command-grw52wr5.js → file-retention-e7058pvs.js} +18 -18
  145. package/dist/chunks/{command-x0511brf.js → file-retention-ec8389mk.js} +4 -4
  146. package/dist/chunks/{command-bx97mp2c.js → file-retention-eksy8cvr.js} +3 -3
  147. package/dist/chunks/{command-wsjnvgbx.js → file-retention-emc1bwfy.js} +10 -10
  148. package/dist/chunks/{command-9wrz99x9.js → file-retention-ep52dk3v.js} +18 -18
  149. package/dist/chunks/{command-n5wndhd6.js → file-retention-epfxrcc1.js} +27 -27
  150. package/dist/chunks/{command-mbznh4s6.js → file-retention-ephtsj6m.js} +73 -73
  151. package/dist/chunks/{command-a2fmrcfx.js → file-retention-er56z9m3.js} +4 -4
  152. package/dist/chunks/{command-etq0c3wd.js → file-retention-etq0c3wd.js} +1 -1
  153. package/dist/chunks/{command-jwx4y25k.js → file-retention-f7ehr2sm.js} +2 -2
  154. package/dist/chunks/{command-f828m53h.js → file-retention-f828m53h.js} +2 -2
  155. package/dist/chunks/{command-nrpht070.js → file-retention-f8hk6r9n.js} +24 -24
  156. package/dist/chunks/{command-y49qrr0k.js → file-retention-f8q7mv7a.js} +1 -1
  157. package/dist/chunks/{command-j91vykf4.js → file-retention-fcnx6kxm.js} +26 -26
  158. package/dist/chunks/{command-m9g7kjz2.js → file-retention-fgh0kbhd.js} +1 -1
  159. package/dist/chunks/{command-4exj6bqr.js → file-retention-fpasx09t.js} +15 -15
  160. package/dist/chunks/{command-4zy2mhr2.js → file-retention-fpffc2t3.js} +26 -26
  161. package/dist/chunks/{command-vr9ffpmn.js → file-retention-fs0qk05d.js} +14 -14
  162. package/dist/chunks/{command-fxbjtjnd.js → file-retention-fxbjtjnd.js} +1 -1
  163. package/dist/chunks/{command-8xyemkvq.js → file-retention-fygdb7h7.js} +3 -3
  164. package/dist/chunks/{command-0arazqkx.js → file-retention-g7kcqsv9.js} +10 -10
  165. package/dist/chunks/{command-bgcypqfq.js → file-retention-g917tkp4.js} +17 -17
  166. package/dist/chunks/{command-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
  167. package/dist/chunks/{command-gdvy8fx6.js → file-retention-gdvy8fx6.js} +1 -1
  168. package/dist/chunks/{command-87s66tky.js → file-retention-gexddpvz.js} +8 -8
  169. package/dist/chunks/{command-gcgba2m6.js → file-retention-gnv2jnak.js} +11 -11
  170. package/dist/chunks/{command-37wx6eva.js → file-retention-gpa4jt68.js} +10 -10
  171. package/dist/chunks/{command-gv6a8nnw.js → file-retention-gv6a8nnw.js} +2 -2
  172. package/dist/chunks/{command-kjcr15p7.js → file-retention-gx1zhcta.js} +1 -1
  173. package/dist/chunks/{command-h03wrkyp.js → file-retention-h03wrkyp.js} +2 -2
  174. package/dist/chunks/{command-xtcj8k9r.js → file-retention-h66ky8mw.js} +36 -36
  175. package/dist/chunks/{command-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
  176. package/dist/chunks/{command-tk55yp24.js → file-retention-havkms48.js} +21 -21
  177. package/dist/chunks/{command-cq37gk0t.js → file-retention-hfdr1yjj.js} +4 -4
  178. package/dist/chunks/{command-5gy68s7g.js → file-retention-hgdkda7v.js} +22 -22
  179. package/dist/chunks/{command-289tsq5j.js → file-retention-hp4rcpke.js} +36 -36
  180. package/dist/chunks/{command-3hrzv0kt.js → file-retention-hs0jw6ga.js} +33 -33
  181. package/dist/chunks/{command-jefma2gq.js → file-retention-j26kwb45.js} +10 -10
  182. package/dist/chunks/{command-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
  183. package/dist/chunks/{command-dt3kpdt2.js → file-retention-j62zf0j4.js} +11 -11
  184. package/dist/chunks/{command-5s59rewz.js → file-retention-jdzbt2xe.js} +5 -5
  185. package/dist/chunks/{command-8zbbstcn.js → file-retention-jf9e43jb.js} +25 -25
  186. package/dist/chunks/{command-ywj00zs4.js → file-retention-jfcgv9fx.js} +37 -37
  187. package/dist/chunks/{command-fhq6reqx.js → file-retention-jkg5sjyj.js} +18 -18
  188. package/dist/chunks/{command-jr3tywxk.js → file-retention-jr3tywxk.js} +1 -1
  189. package/dist/chunks/{command-s534qmrw.js → file-retention-jwjk52g2.js} +4 -4
  190. package/dist/chunks/{command-xfxn6gek.js → file-retention-k16ay38w.js} +1 -1
  191. package/dist/chunks/{command-0njkqfg3.js → file-retention-k2fzxap7.js} +11 -11
  192. package/dist/chunks/{command-kwktpek4.js → file-retention-k3aec3va.js} +6 -6
  193. package/dist/chunks/{command-zcrspsvn.js → file-retention-k76fn4kw.js} +4 -4
  194. package/dist/chunks/{command-kg06axw8.js → file-retention-kg06axw8.js} +1 -1
  195. package/dist/chunks/{command-baf8vqcb.js → file-retention-kntggcm2.js} +13 -13
  196. package/dist/chunks/{command-qd417my5.js → file-retention-ksz0h0wp.js} +1 -1
  197. package/dist/chunks/{command-9cctb9bg.js → file-retention-ktd0ny7h.js} +14 -14
  198. package/dist/chunks/{command-3kp7n1bh.js → file-retention-kty5e6rg.js} +24 -24
  199. package/dist/chunks/{command-vzrnynxw.js → file-retention-m27pyyd3.js} +6 -6
  200. package/dist/chunks/{command-swx6zjdy.js → file-retention-m7a7ecn8.js} +20 -20
  201. package/dist/chunks/{command-m4bcmcjq.js → file-retention-m7ckg0ge.js} +39 -39
  202. package/dist/chunks/{command-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
  203. package/dist/chunks/{command-redwpn1x.js → file-retention-mas5vrzc.js} +4 -4
  204. package/dist/chunks/{command-mkcjrzeh.js → file-retention-mkcjrzeh.js} +1 -1
  205. package/dist/chunks/{command-mrn52ye8.js → file-retention-mry8kks8.js} +16 -16
  206. package/dist/chunks/{command-7gvwkz6m.js → file-retention-mtft99cd.js} +5 -5
  207. package/dist/chunks/{command-qwch66v3.js → file-retention-mwsqdqh0.js} +6 -6
  208. package/dist/chunks/{command-yjdkc533.js → file-retention-mwxv72xg.js} +25 -25
  209. package/dist/chunks/{command-j4e3jsg7.js → file-retention-n76fdqym.js} +5 -5
  210. package/dist/chunks/{command-akqdjt52.js → file-retention-nd0e9ps3.js} +38 -38
  211. package/dist/chunks/{command-ee0v75zs.js → file-retention-ng32y6cj.js} +12 -12
  212. package/dist/chunks/{command-m5zyy4tv.js → file-retention-np25b77a.js} +16 -16
  213. package/dist/chunks/{command-xgm06qps.js → file-retention-nqk5w1a0.js} +30 -30
  214. package/dist/chunks/{command-r54ga04y.js → file-retention-nqvtjg2n.js} +56 -56
  215. package/dist/chunks/{command-qsee9sfb.js → file-retention-nvxqht09.js} +3 -3
  216. package/dist/chunks/{command-tdmnc99b.js → file-retention-p1tnmtrd.js} +38 -38
  217. package/dist/chunks/{command-ndhysefr.js → file-retention-p5gjast5.js} +25 -25
  218. package/dist/chunks/{command-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
  219. package/dist/chunks/{command-pknna89w.js → file-retention-pknna89w.js} +1 -1
  220. package/dist/chunks/{command-290wsyyp.js → file-retention-pmhn6z4y.js} +17 -17
  221. package/dist/chunks/{command-q30tygxd.js → file-retention-pnean495.js} +5 -5
  222. package/dist/chunks/{command-2jr08de7.js → file-retention-pqfk32hy.js} +26 -26
  223. package/dist/chunks/{command-e81phd5e.js → file-retention-qb679xd1.js} +13 -13
  224. package/dist/chunks/{command-071pgthj.js → file-retention-qqnpzgrv.js} +32 -32
  225. package/dist/chunks/{command-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
  226. package/dist/chunks/{command-jv01nqvq.js → file-retention-qte5z7bc.js} +5 -5
  227. package/dist/chunks/{command-mpn2n5n1.js → file-retention-qz85fsjb.js} +10 -10
  228. package/dist/chunks/{command-x8ya09y2.js → file-retention-qzf7gp6y.js} +14 -14
  229. package/dist/chunks/{command-rhy34gnx.js → file-retention-qzg4pp06.js} +6 -6
  230. package/dist/chunks/{command-yp2x3t23.js → file-retention-r8xr0va3.js} +4 -4
  231. package/dist/chunks/{command-z33n7yxw.js → file-retention-r9babyk8.js} +1 -1
  232. package/dist/chunks/{command-vhs5mz75.js → file-retention-rajee5vh.js} +10 -10
  233. package/dist/chunks/{command-71sxxhdq.js → file-retention-rm1xb6h6.js} +11 -11
  234. package/dist/chunks/{command-s2kyekkn.js → file-retention-rmmwd74s.js} +16 -16
  235. package/dist/chunks/{command-st3pa4gm.js → file-retention-rpd6j9rw.js} +20 -20
  236. package/dist/chunks/{command-8dpy7hpx.js → file-retention-rr6hv98y.js} +7 -7
  237. package/dist/chunks/{command-smsvd5z8.js → file-retention-rv7h995b.js} +20 -20
  238. package/dist/chunks/{command-nq63wmfx.js → file-retention-s1jhc5dh.js} +7 -7
  239. package/dist/chunks/{command-s4enseaf.js → file-retention-s4enseaf.js} +2 -2
  240. package/dist/chunks/{command-rhjbct0v.js → file-retention-s8d7rejh.js} +4 -4
  241. package/dist/chunks/file-retention-sb5atwea.js +22 -0
  242. package/dist/chunks/{command-zbb6rgvj.js → file-retention-szbk6at4.js} +4 -4
  243. package/dist/chunks/{command-t0x5rdq8.js → file-retention-t0x5rdq8.js} +2 -2
  244. package/dist/chunks/{command-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{command-89znhe33.js → file-retention-tcezcvh9.js} +4 -4
  246. package/dist/chunks/{command-tdstcens.js → file-retention-tdstcens.js} +1 -1
  247. package/dist/chunks/{command-1hp1n8hq.js → file-retention-tk4atcvg.js} +10 -10
  248. package/dist/chunks/{command-tvtrv512.js → file-retention-tvtrv512.js} +1 -1
  249. package/dist/chunks/{command-qqd26nq6.js → file-retention-v0pw5p58.js} +24 -24
  250. package/dist/chunks/{command-nvnfwph8.js → file-retention-v98h3e24.js} +11 -11
  251. package/dist/chunks/{command-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
  252. package/dist/chunks/{command-kf5543nd.js → file-retention-vmcy0e8f.js} +4 -4
  253. package/dist/chunks/{command-neeqahzq.js → file-retention-vt377krn.js} +55 -55
  254. package/dist/chunks/{command-70vxa6pp.js → file-retention-vvv3thrh.js} +12 -12
  255. package/dist/chunks/{command-vzcthcp8.js → file-retention-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{command-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{command-scgtce1m.js → file-retention-w9s5j4xj.js} +2 -2
  258. package/dist/chunks/{command-wa9n8nyq.js → file-retention-wa9n8nyq.js} +2 -2
  259. package/dist/chunks/{command-xq4rgyah.js → file-retention-wac04bcv.js} +16 -16
  260. package/dist/chunks/{command-wd87259q.js → file-retention-wd87259q.js} +1 -1
  261. package/dist/chunks/{command-vptj8nd7.js → file-retention-wznsaygs.js} +7 -7
  262. package/dist/chunks/{command-x1ezjp6w.js → file-retention-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{command-x43y2vfs.js → file-retention-x43y2vfs.js} +2 -2
  264. package/dist/chunks/{command-4z9mtqyz.js → file-retention-xg28p7zb.js} +25 -25
  265. package/dist/chunks/{command-ewq934af.js → file-retention-xhpvdsvw.js} +14 -14
  266. package/dist/chunks/{command-hn16n4ga.js → file-retention-xmqphtg9.js} +41 -41
  267. package/dist/chunks/{command-wpm2rk0p.js → file-retention-xxk5ry2v.js} +6 -6
  268. package/dist/chunks/{command-16yyeh88.js → file-retention-xxmdkfzw.js} +6 -6
  269. package/dist/chunks/{command-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{command-qymwj187.js → file-retention-y7xpfv66.js} +27 -27
  271. package/dist/chunks/{command-8zv2n1xn.js → file-retention-y9btvcpe.js} +10 -10
  272. package/dist/chunks/{command-vqfcvgsz.js → file-retention-ya188s48.js} +24 -24
  273. package/dist/chunks/{command-h29crgh1.js → file-retention-yeyn4dnq.js} +7 -7
  274. package/dist/chunks/{command-4d14myfn.js → file-retention-ymbwjezv.js} +33 -33
  275. package/dist/chunks/{command-yrhqyw5v.js → file-retention-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{command-yd8re12n.js → file-retention-yy1nq4n5.js} +18 -18
  277. package/dist/chunks/{command-4tkmwwah.js → file-retention-yz6s7xzz.js} +9 -9
  278. package/dist/chunks/{command-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{command-d87ppnb3.js → file-retention-z3pw5915.js} +5 -5
  280. package/dist/chunks/{command-s7kwm6zm.js → file-retention-z69s9t6b.js} +5 -5
  281. package/dist/chunks/{command-hc7b2h00.js → file-retention-z8jx6s5t.js} +20 -20
  282. package/dist/chunks/{command-rr7cvzdb.js → file-retention-zcxgbk88.js} +4 -4
  283. package/dist/chunks/{command-zeh9ct20.js → file-retention-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{command-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{command-73gmm198.js → file-retention-zv0544jz.js} +4 -4
  286. package/dist/chunks/{command-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{command-hjcy75b0.js → file-retention-zzyk28zh.js} +18 -18
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +81 -81
  292. package/dist/config/discovery.js +79 -79
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +117 -117
  296. package/dist/config/plugin/command.js +209 -209
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +115 -115
  301. package/dist/config/plugin/instruction.js +85 -85
  302. package/dist/config/plugin/location-watcher.js +115 -115
  303. package/dist/config/plugin/mcp.js +126 -126
  304. package/dist/config/plugin/policy.js +114 -114
  305. package/dist/config/plugin/provider.js +113 -113
  306. package/dist/config/plugin/reference.js +117 -117
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +97 -97
  309. package/dist/config/plugin/skill.js +136 -136
  310. package/dist/config/plugin/snapshot.js +115 -115
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +113 -113
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +119 -119
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +64 -64
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration.gen.js +47 -47
  384. package/dist/database/migration.js +49 -49
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +74 -74
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +362 -362
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +88 -88
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +90 -90
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +68 -68
  408. package/dist/file-access.js +99 -99
  409. package/dist/file-mutation.js +89 -89
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +2 -2
  418. package/dist/filesystem/location-watcher.js +216 -216
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +102 -102
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +82 -82
  427. package/dist/generate.js +93 -93
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +7 -7
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +4 -4
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +353 -353
  453. package/dist/instruction-discovery.js +83 -83
  454. package/dist/instructions/builtins.js +82 -82
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +84 -84
  458. package/dist/job.js +77 -77
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +71 -71
  461. package/dist/location-activity.js +128 -128
  462. package/dist/location-mutation.js +99 -99
  463. package/dist/location-service-map.js +81 -81
  464. package/dist/location-services.js +350 -350
  465. package/dist/location.js +84 -84
  466. package/dist/mcp/client.js +86 -86
  467. package/dist/mcp/index.js +103 -103
  468. package/dist/mcp/instructions.js +122 -122
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +85 -85
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +7 -7
  473. package/dist/model-resolver.js +86 -86
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +86 -86
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +108 -108
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +73 -73
  485. package/dist/plugin/agent.js +99 -99
  486. package/dist/plugin/command.js +96 -96
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/instance.js +1 -1
  490. package/dist/plugin/internal.js +324 -324
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +75 -75
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +97 -97
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/anthropic.js +2 -2
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/digitalocean.js +79 -79
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +80 -80
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +117 -117
  516. package/dist/plugin/provider/mistral.js +2 -2
  517. package/dist/plugin/provider/modal.js +79 -79
  518. package/dist/plugin/provider/nvidia.js +2 -2
  519. package/dist/plugin/provider/ollama.js +117 -117
  520. package/dist/plugin/provider/openai-compatible.js +1 -1
  521. package/dist/plugin/provider/openai.js +78 -78
  522. package/dist/plugin/provider/opencode.js +79 -79
  523. package/dist/plugin/provider/openrouter.js +3 -3
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +76 -76
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +339 -339
  540. package/dist/plugin/update.js +2 -2
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +6 -6
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +83 -83
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +82 -82
  560. package/dist/reference/instructions.js +82 -82
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +81 -81
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +1 -1
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +213 -213
  575. package/dist/session/execution.js +124 -124
  576. package/dist/session/generate.js +148 -148
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +86 -86
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +223 -223
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +86 -86
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +167 -167
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +71 -71
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +145 -145
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +209 -209
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +209 -209
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +129 -129
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +101 -101
  624. package/dist/snapshot.js +86 -86
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +121 -121
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +117 -117
  635. package/dist/tool/plugin/question.js +100 -100
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +108 -108
  639. package/dist/tool/plugin/subagent.js +214 -214
  640. package/dist/tool/plugin/webfetch.js +107 -107
  641. package/dist/tool/plugin/websearch.js +107 -107
  642. package/dist/tool/plugin/write.js +113 -113
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +3 -3
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +2 -2
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +4 -4
  665. package/dist/v1/config/permission.js +1 -1
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +85 -85
  674. package/dist/websearch.js +82 -82
  675. package/dist/wellknown/plugin.js +74 -74
  676. package/dist/wellknown.js +77 -77
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +78 -78
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +5 -5
  682. package/dist/worktree/refresh.js +340 -340
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree.js +89 -89
  685. package/package.json +8 -8
  686. package/dist/chunks/command-8jw9xxr7.js +0 -22
  687. package/dist/chunks/command-9dwetznw.js +0 -462
  688. package/dist/chunks/command-gnc7c7rw.js +0 -247
  689. package/dist/chunks/command-rap9a73h.js +0 -18
  690. /package/dist/chunks/{command-0mesazry.js → file-retention-0mesazry.js} +0 -0
  691. /package/dist/chunks/{command-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{command-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{command-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{command-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{command-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{command-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{command-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{command-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{command-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{command-3asan66x.js → file-retention-3asan66x.js} +0 -0
  701. /package/dist/chunks/{command-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{command-3w5fmr99.js → file-retention-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{command-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{command-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{command-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{command-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{command-53557ph1.js → file-retention-53557ph1.js} +0 -0
  708. /package/dist/chunks/{command-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{command-6prwharc.js → file-retention-6prwharc.js} +0 -0
  710. /package/dist/chunks/{command-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{command-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{command-822emrt2.js → file-retention-822emrt2.js} +0 -0
  713. /package/dist/chunks/{command-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{command-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{command-922hggd3.js → file-retention-922hggd3.js} +0 -0
  716. /package/dist/chunks/{command-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{command-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{command-a1tpkmh4.js → file-retention-a1tpkmh4.js} +0 -0
  719. /package/dist/chunks/{command-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{command-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{command-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{command-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{command-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{command-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{command-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{command-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{command-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{command-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{command-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{command-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{command-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{command-df08tz66.js → file-retention-df08tz66.js} +0 -0
  733. /package/dist/chunks/{command-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{command-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{command-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{command-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{command-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{command-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{command-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{command-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{command-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{command-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{command-fxgpk5d8.js → file-retention-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{command-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{command-g86h250q.js → file-retention-g86h250q.js} +0 -0
  746. /package/dist/chunks/{command-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{command-gftt206x.js → file-retention-gftt206x.js} +0 -0
  748. /package/dist/chunks/{command-hjbc5kem.js → file-retention-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{command-hk9envan.js → file-retention-hk9envan.js} +0 -0
  750. /package/dist/chunks/{command-hrnqkpcd.js → file-retention-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{command-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{command-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{command-j935v87r.js → file-retention-j935v87r.js} +0 -0
  754. /package/dist/chunks/{command-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{command-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{command-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{command-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{command-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{command-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{command-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{command-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{command-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{command-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{command-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{command-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{command-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{command-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{command-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{command-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{command-sk3qaz4a.js → file-retention-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{command-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{command-twg0f83k.js → file-retention-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{command-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{command-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{command-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{command-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{command-x61499pn.js → file-retention-x61499pn.js} +0 -0
  778. /package/dist/chunks/{command-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{command-y8cydn3q.js → file-retention-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{command-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{command-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{command-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./command-kg06axw8.js";
3
+ } from "./file-retention-kg06axw8.js";
4
4
  import {
5
5
  which2
6
- } from "./command-qaymkmh1.js";
6
+ } from "./file-retention-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./file-retention-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options4,
15
- Service: () => Service39,
14
+ Options: () => Options6,
15
+ Service: () => Service47,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured4,
18
+ configured: () => configured7,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list3,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node43,
24
+ node: () => node52,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve2
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options4 = Schema.Struct({
46
+ var Options6 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service39 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service47 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -188,7 +188,7 @@ async function list3(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service39, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service47, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service39, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service39.of({
202
+ return Service47.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
206
206
  });
207
207
  }));
208
- function configured4(options) {
209
- return makeLocationNode({ service: Service39, layer: layer(options), deps: [Global.node] });
208
+ function configured7(options) {
209
+ return makeLocationNode({ service: Service47, layer: layer(options), deps: [Global.node] });
210
210
  }
211
- var node43 = configured4();
211
+ var node52 = configured7();
212
212
 
213
- export { Options4, Service39, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured4, node43, exports_select };
213
+ export { Options6, Service47, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured7, node52, exports_select };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./command-2a5m3afh.js";
5
+ } from "./file-retention-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./command-9rqn6x4v.js";
8
+ } from "./file-retention-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./command-gftt206x.js";
3
+ } from "./file-retention-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./command-qsee9sfb.js";
6
+ } from "./file-retention-nvxqht09.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./command-kwktpek4.js";
9
+ } from "./file-retention-k3aec3va.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./command-rhjbct0v.js";
13
+ } from "./file-retention-s8d7rejh.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./command-a1bz86dw.js";
16
+ } from "./file-retention-a1bz86dw.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./command-cq37gk0t.js";
20
+ } from "./file-retention-hfdr1yjj.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./command-6p3xbzsx.js";
25
+ } from "./file-retention-64kphnzf.js";
26
26
  import {
27
27
  __export
28
- } from "./command-9rqn6x4v.js";
28
+ } from "./file-retention-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- ID14,
2
+ ID18,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./command-vzrnynxw.js";
5
+ } from "./file-retention-m27pyyd3.js";
6
6
  import {
7
- ID13,
7
+ ID16,
8
8
  VariantID2,
9
9
  Family2,
10
- Info28
11
- } from "./command-70vxa6pp.js";
10
+ Info31
11
+ } from "./file-retention-vvv3thrh.js";
12
12
  import {
13
13
  __export
14
- } from "./command-9rqn6x4v.js";
14
+ } from "./file-retention-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- get: () => get3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ get: () => get2
21
21
  });
22
22
  import { Money } from "@opencode/schema/money";
23
23
  import { Option, Schema } from "effect";
@@ -66,7 +66,7 @@ var RemoteModel = Schema.Struct({
66
66
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
67
67
  var decodeResponse = Schema.decodeUnknownSync(Response);
68
68
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
69
- async function get3(baseURL, headers, existing) {
69
+ async function get2(baseURL, headers, existing) {
70
70
  const response = await fetch(`${baseURL}/models`, {
71
71
  headers,
72
72
  signal: AbortSignal.timeout(5000)
@@ -87,7 +87,7 @@ async function get3(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID13.make(id);
90
+ const key = ID16.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info28.make({
115
- ...Info28.default(ID14.githubCopilot, id),
114
+ return Info31.make({
115
+ ...Info31.default(ID18.githubCopilot, id),
116
116
  id,
117
- modelID: ID13.make(remote.id),
118
- providerID: ID14.githubCopilot,
117
+ modelID: ID16.make(remote.id),
118
+ providerID: ID18.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -190,4 +190,4 @@ function variants(remote, messages) {
190
190
  ];
191
191
  }
192
192
 
193
- export { get3, exports_models2 };
193
+ export { get2, exports_models };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./command-vzrnynxw.js";
4
+ } from "./file-retention-m27pyyd3.js";
5
5
  import {
6
- ID13
7
- } from "./command-70vxa6pp.js";
6
+ ID16
7
+ } from "./file-retention-vvv3thrh.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID13.make("gpt-5-chat-latest"), ID13.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID16.make("gpt-5-chat-latest"), ID16.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service66
3
- } from "./command-tkbkgwhn.js";
2
+ Service72
3
+ } from "./file-retention-585pw9ae.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./command-rhjbct0v.js";
6
+ } from "./file-retention-s8d7rejh.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./command-922hggd3.js";
9
+ } from "./file-retention-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service57
13
- } from "./command-nrpht070.js";
12
+ Service67
13
+ } from "./file-retention-f8hk6r9n.js";
14
14
  import {
15
- Service76
16
- } from "./command-y45y5km7.js";
15
+ Service73
16
+ } from "./file-retention-541f07s9.js";
17
17
  import {
18
18
  __export
19
- } from "./command-9rqn6x4v.js";
19
+ } from "./file-retention-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin25
25
+ Plugin: () => Plugin8
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin25 = define({
32
+ var Plugin8 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service57;
35
+ const discovery = yield* Service67;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service76;
42
- const watcher = yield* Service66;
41
+ const location = yield* Service73;
42
+ const watcher = yield* Service72;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin25, exports_instruction };
117
+ export { Plugin8, exports_instruction };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./command-6sd8tygk.js";
4
+ } from "./file-retention-1d5qcw44.js";
5
5
  import {
6
- Event18,
7
- Service68,
8
- node72
9
- } from "./command-n0j6r25c.js";
6
+ Event20,
7
+ Service78,
8
+ node83
9
+ } from "./file-retention-6f22aege.js";
10
10
  import {
11
- Service66,
12
- node70
13
- } from "./command-tkbkgwhn.js";
11
+ Service72,
12
+ node77
13
+ } from "./file-retention-585pw9ae.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./command-922hggd3.js";
16
+ } from "./file-retention-922hggd3.js";
17
17
  import {
18
- Service76,
19
- node81
20
- } from "./command-y45y5km7.js";
18
+ Service73,
19
+ node78
20
+ } from "./file-retention-541f07s9.js";
21
21
  import {
22
22
  substitute2
23
- } from "./command-s4enseaf.js";
23
+ } from "./file-retention-s4enseaf.js";
24
24
  import {
25
25
  normalize2
26
- } from "./command-qqd26nq6.js";
26
+ } from "./file-retention-v0pw5p58.js";
27
27
  import {
28
- names3,
28
+ names4,
29
29
  discover3
30
- } from "./command-mpn2n5n1.js";
30
+ } from "./file-retention-qz85fsjb.js";
31
31
  import {
32
32
  plan2
33
- } from "./command-j56e64zr.js";
33
+ } from "./file-retention-j56e64zr.js";
34
34
  import {
35
- Service67,
36
- Event17,
37
- node71
38
- } from "./command-yd8re12n.js";
35
+ Service75,
36
+ Event19,
37
+ node80
38
+ } from "./file-retention-yy1nq4n5.js";
39
39
  import {
40
40
  __export
41
- } from "./command-9rqn6x4v.js";
41
+ } from "./file-retention-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service65,
47
+ Options: () => Options8,
48
+ Service: () => Service71,
49
49
  Test: () => Test2,
50
- configured: () => configured8,
50
+ configured: () => configured10,
51
51
  latest: () => latest2,
52
- layer: () => layer23,
53
- node: () => node69,
52
+ layer: () => layer24,
53
+ node: () => node76,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
71
71
  function latest2(entries, key) {
72
72
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
73
73
  }
74
- var Options7 = Schema.Struct({
74
+ var Options8 = Schema.Struct({
75
75
  project: Schema.optional(Schema.Boolean),
76
76
  global: Schema.optional(Schema.Boolean),
77
77
  file: Schema.optional(Schema.String),
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service65 extends Context.Service()("@opencode/Config") {
81
+ class Service71 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service65, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service71, service), Context.add(Test2, service));
96
96
  }));
97
- var layer23 = (options) => Layer.effect(Service65, Effect.gen(function* () {
97
+ var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const location = yield* Service76;
100
- const watcher = yield* Service66;
99
+ const location = yield* Service73;
100
+ const watcher = yield* Service72;
101
101
  const bus = yield* Service79;
102
- const credentials = yield* Service68;
103
- const wellknown = yield* Service67;
102
+ const credentials = yield* Service78;
103
+ const wellknown = yield* Service75;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
106
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
@@ -168,7 +168,7 @@ var layer23 = (options) => Layer.effect(Service65, Effect.gen(function* () {
168
168
  });
169
169
  const loadDirectory = Effect.fnUntraced(function* (directory) {
170
170
  return [
171
- ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
+ ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
172
172
  new Directory({ type: "directory", path: directory })
173
173
  ];
174
174
  });
@@ -223,8 +223,8 @@ var layer23 = (options) => Layer.effect(Service65, Effect.gen(function* () {
223
223
  }, (effect) => reloadLock.withPermit(effect));
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event19.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,20 +235,20 @@ var layer23 = (options) => Layer.effect(Service65, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service65.of({
238
+ return Service71.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
242
242
  changes: () => Stream.fromPubSub(updates)
243
243
  });
244
244
  }));
245
- function configured8(options) {
245
+ function configured10(options) {
246
246
  return makeLocationNode({
247
- service: Service65,
248
- layer: layer23(options),
249
- deps: [node70, node84, FSUtil.node, Global.node, node81, node72, node71]
247
+ service: Service71,
248
+ layer: layer24(options),
249
+ deps: [node77, node84, FSUtil.node, Global.node, node78, node83, node80]
250
250
  });
251
251
  }
252
- var node69 = configured8();
252
+ var node76 = configured10();
253
253
 
254
- export { latest2, Options7, Service65, Test2, testLayer2, layer23, configured8, node69, exports_config };
254
+ export { latest2, Options8, Service71, Test2, testLayer2, layer24, configured10, node76, exports_config };
@@ -1,49 +1,49 @@
1
1
  import {
2
- ID14,
2
+ ID18,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./command-vzrnynxw.js";
8
+ } from "./file-retention-m27pyyd3.js";
9
9
  import {
10
- Service53,
11
- node56
12
- } from "./command-kv4yc82c.js";
10
+ Service63,
11
+ node68
12
+ } from "./file-retention-ccmdxyv2.js";
13
13
  import {
14
14
  map2
15
- } from "./command-058t7yf9.js";
15
+ } from "./file-retention-bcnz578n.js";
16
16
  import {
17
- ID13,
17
+ ID16,
18
18
  VariantID2,
19
- Ref3
20
- } from "./command-70vxa6pp.js";
19
+ Ref4
20
+ } from "./file-retention-vvv3thrh.js";
21
21
  import {
22
- ID6,
23
- Service55,
24
- node58
25
- } from "./command-cgpqyknh.js";
22
+ ID12,
23
+ Service69,
24
+ node74
25
+ } from "./file-retention-6dxcmtmc.js";
26
26
  import {
27
- Service54,
28
- node57
29
- } from "./command-yjdkc533.js";
27
+ Service68,
28
+ node73
29
+ } from "./file-retention-mwxv72xg.js";
30
30
  import {
31
31
  __export
32
- } from "./command-9rqn6x4v.js";
32
+ } from "./file-retention-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service52,
38
+ Service: () => Service62,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
41
41
  UnsupportedPackageError: () => UnsupportedPackageError3,
42
42
  VariantUnavailableError: () => VariantUnavailableError3,
43
43
  fromCatalogModel: () => fromCatalogModel2,
44
44
  hasPackage: () => hasPackage2,
45
- layer: () => layer17,
46
- node: () => node55,
45
+ layer: () => layer21,
46
+ node: () => node67,
47
47
  resolveModel: () => resolveModel2,
48
48
  withVariant: () => withVariant2
49
49
  });
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
53
53
  import { Context, Effect, Layer, Schema, Struct } from "effect";
54
54
  import { Npm } from "@opencode/util/npm";
55
55
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
56
- providerID: ID14,
57
- modelID: ID13,
56
+ providerID: ID18,
57
+ modelID: ID16,
58
58
  variant: VariantID2
59
59
  }) {
60
60
  get message() {
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
63
63
  }
64
64
 
65
65
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
66
- providerID: ID14,
67
- modelID: ID13,
66
+ providerID: ID18,
67
+ modelID: ID16,
68
68
  package: Schema.String
69
69
  }) {
70
70
  get message() {
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
73
73
  }
74
74
 
75
75
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
76
- providerID: ID14,
77
- modelID: ID13,
76
+ providerID: ID18,
77
+ modelID: ID16,
78
78
  variables: Schema.Array(Schema.String)
79
79
  }) {
80
80
  get message() {
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
83
83
  }
84
84
 
85
85
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
86
- providerID: ID14,
87
- modelID: ID13,
86
+ providerID: ID18,
87
+ modelID: ID16,
88
88
  route: Schema.String
89
89
  }) {
90
90
  get message() {
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
92
92
  }
93
93
  }
94
94
 
95
- class Service52 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service62 extends Context.Service()("@opencode/ModelResolver") {
96
96
  }
97
97
  var withVariant2 = (model, variantID) => {
98
98
  const id = variantID === "default" ? undefined : variantID;
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
218
218
  });
219
219
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
220
220
  var hasPackage2 = (model) => Boolean(model.package);
221
- var layer17 = Layer.effect(Service52, Effect.gen(function* () {
222
- const catalog = yield* Service54;
223
- const integrations = yield* Service55;
221
+ var layer21 = Layer.effect(Service62, Effect.gen(function* () {
222
+ const catalog = yield* Service68;
223
+ const integrations = yield* Service69;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service53;
225
+ const aisdk = yield* Service63;
226
226
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
227
227
  const provider = yield* catalog.provider.get(selected.providerID);
228
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID6.make(selected.providerID));
228
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
229
229
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
230
230
  const runtimeInfo = yield* withVariant2(selected, variant);
231
231
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -235,7 +235,7 @@ var layer17 = Layer.effect(Service52, Effect.gen(function* () {
235
235
  const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
236
236
  return {
237
237
  model: runtime,
238
- ref: Ref3.make({
238
+ ref: Ref4.make({
239
239
  id: selected.id,
240
240
  providerID: selected.providerID,
241
241
  ...variant === undefined ? {} : { variant }
@@ -246,7 +246,7 @@ var layer17 = Layer.effect(Service52, Effect.gen(function* () {
246
246
  compaction: selected.compaction
247
247
  };
248
248
  });
249
- return Service52.of({
249
+ return Service62.of({
250
250
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
251
251
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
252
252
  if (!selected)
@@ -263,10 +263,10 @@ function usesAPIKeyAuth(packageName) {
263
263
  const name = packageName2(packageName);
264
264
  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;
265
265
  }
266
- var node55 = makeLocationNode({
267
- service: Service52,
268
- layer: layer17,
269
- deps: [node57, node58, Npm.node, node56]
266
+ var node67 = makeLocationNode({
267
+ service: Service62,
268
+ layer: layer21,
269
+ deps: [node73, node74, Npm.node, node68]
270
270
  });
271
271
 
272
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service52, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer17, node55, exports_model_resolver };
272
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service62, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node67, exports_model_resolver };