@opencode/core 0.0.0-dev-19587 → 0.0.0-dev-19588

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +76 -76
  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 +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{aisdk-native-9zswys26.js → repository-0996nyz8.js} +9 -9
  9. package/dist/chunks/repository-0c6pz7ms.js +466 -0
  10. package/dist/chunks/{aisdk-native-2zphh7x8.js → repository-0dh2v9fk.js} +26 -26
  11. package/dist/chunks/{aisdk-native-6z8ng6g9.js → repository-0h00gbcb.js} +16 -16
  12. package/dist/chunks/{aisdk-native-ww9ntz46.js → repository-0kc779ng.js} +12 -12
  13. package/dist/chunks/{aisdk-native-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{aisdk-native-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{aisdk-native-vtjpe2v7.js → repository-0qevpf4w.js} +11 -11
  16. package/dist/chunks/{aisdk-native-jvdd4w81.js → repository-16cax9zb.js} +8 -8
  17. package/dist/chunks/{aisdk-native-mhkvc446.js → repository-1bbkgx8g.js} +3 -3
  18. package/dist/chunks/{aisdk-native-qfzde7bh.js → repository-1bvekr7f.js} +6 -6
  19. package/dist/chunks/{aisdk-native-ehh6ph8c.js → repository-1cfwn2bt.js} +7 -7
  20. package/dist/chunks/{aisdk-native-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{aisdk-native-v9kk4whf.js → repository-1e17p1v6.js} +17 -17
  22. package/dist/chunks/{aisdk-native-q4s82tbp.js → repository-1j9stpns.js} +29 -29
  23. package/dist/chunks/{aisdk-native-s8d2x3ew.js → repository-1jv4xg0p.js} +36 -36
  24. package/dist/chunks/{aisdk-native-83t0mtbr.js → repository-1kwjmtsc.js} +22 -22
  25. package/dist/chunks/{aisdk-native-b12e5c9w.js → repository-1r601apj.js} +21 -21
  26. package/dist/chunks/{aisdk-native-732en32p.js → repository-1vnsgk5t.js} +33 -33
  27. package/dist/chunks/{aisdk-native-j07mcewt.js → repository-1zfadm9n.js} +13 -13
  28. package/dist/chunks/{aisdk-native-dps54153.js → repository-206yk4e9.js} +4 -4
  29. package/dist/chunks/{aisdk-native-21r38tys.js → repository-21r38tys.js} +1 -1
  30. package/dist/chunks/{aisdk-native-2402vzrj.js → repository-2402vzrj.js} +1 -1
  31. package/dist/chunks/{aisdk-native-hpbqdbh7.js → repository-2a25p4mv.js} +32 -32
  32. package/dist/chunks/{aisdk-native-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{aisdk-native-wqrrwyse.js → repository-2ce9th4e.js} +170 -170
  34. package/dist/chunks/{aisdk-native-b2hqgwse.js → repository-2d802nvw.js} +1 -1
  35. package/dist/chunks/{aisdk-native-607tc6va.js → repository-2k8khapm.js} +5 -5
  36. package/dist/chunks/{aisdk-native-dwh3xqh5.js → repository-2kesvzjb.js} +13 -13
  37. package/dist/chunks/{aisdk-native-dc7kgzha.js → repository-3163b9jg.js} +22 -22
  38. package/dist/chunks/{aisdk-native-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{aisdk-native-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{aisdk-native-baeegw7z.js → repository-3pjcaesv.js} +11 -11
  41. package/dist/chunks/{aisdk-native-rfnf90hr.js → repository-3s8rj46j.js} +30 -30
  42. package/dist/chunks/{aisdk-native-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{aisdk-native-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{aisdk-native-jxyew9fw.js → repository-473n3n7b.js} +4 -4
  45. package/dist/chunks/{aisdk-native-h3zz7w3j.js → repository-4emwyx28.js} +87 -87
  46. package/dist/chunks/{aisdk-native-12zzk1x1.js → repository-4etetb1j.js} +22 -22
  47. package/dist/chunks/{aisdk-native-xbh8dx30.js → repository-4j90697n.js} +34 -34
  48. package/dist/chunks/{aisdk-native-77240dtv.js → repository-51hcmbxq.js} +5 -5
  49. package/dist/chunks/{aisdk-native-89sq04rc.js → repository-52f3envg.js} +16 -16
  50. package/dist/chunks/{aisdk-native-mfqp6xfm.js → repository-56gdpj1q.js} +6 -6
  51. package/dist/chunks/{aisdk-native-23279rje.js → repository-5892jdtn.js} +8 -8
  52. package/dist/chunks/{aisdk-native-rdt0v5r4.js → repository-592a4gpn.js} +18 -18
  53. package/dist/chunks/{aisdk-native-1z24fpan.js → repository-5a78h29x.js} +10 -10
  54. package/dist/chunks/{aisdk-native-0b65cpzw.js → repository-5ct4k76c.js} +15 -15
  55. package/dist/chunks/{aisdk-native-5daktx2q.js → repository-5daktx2q.js} +1 -1
  56. package/dist/chunks/{aisdk-native-r92yfjvg.js → repository-5dt15a5r.js} +18 -18
  57. package/dist/chunks/{aisdk-native-73rvebw6.js → repository-5dwnc6b3.js} +24 -24
  58. package/dist/chunks/{aisdk-native-xdk7gfvz.js → repository-5mp00kj1.js} +35 -35
  59. package/dist/chunks/{aisdk-native-3v2fsnmc.js → repository-5n6hsxyx.js} +25 -25
  60. package/dist/chunks/{aisdk-native-enw7m7xp.js → repository-5qkxfyep.js} +6 -6
  61. package/dist/chunks/{aisdk-native-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{aisdk-native-8798nsf2.js → repository-6035qjw6.js} +11 -11
  63. package/dist/chunks/{aisdk-native-c9sxab00.js → repository-62rpeqaf.js} +8 -8
  64. package/dist/chunks/{aisdk-native-f2jyds91.js → repository-630f9zf9.js} +8 -8
  65. package/dist/chunks/{aisdk-native-669tq793.js → repository-669tq793.js} +1 -1
  66. package/dist/chunks/{aisdk-native-ez39whr3.js → repository-6a88x1v8.js} +13 -13
  67. package/dist/chunks/{aisdk-native-47v7jqjw.js → repository-6cbvf3zm.js} +44 -44
  68. package/dist/chunks/{aisdk-native-vdp162ys.js → repository-6gfqk85e.js} +28 -28
  69. package/dist/chunks/{aisdk-native-1kzvh1r6.js → repository-6ht32ya1.js} +18 -18
  70. package/dist/chunks/{aisdk-native-ckhhmwpb.js → repository-6jdhkm56.js} +14 -14
  71. package/dist/chunks/{aisdk-native-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{aisdk-native-pscvwjzk.js → repository-6yp6qgnr.js} +29 -29
  73. package/dist/chunks/{aisdk-native-71q4at8m.js → repository-71q4at8m.js} +1 -1
  74. package/dist/chunks/{aisdk-native-raxattbk.js → repository-7207rjaj.js} +8 -8
  75. package/dist/chunks/{aisdk-native-expn7grm.js → repository-745ca1rp.js} +3 -3
  76. package/dist/chunks/{aisdk-native-h0vxvrcv.js → repository-74jx9dmy.js} +43 -43
  77. package/dist/chunks/{aisdk-native-tpw7nhda.js → repository-7a1nds04.js} +8 -8
  78. package/dist/chunks/{aisdk-native-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{aisdk-native-vbeq5p7h.js → repository-7gnac2s0.js} +60 -60
  80. package/dist/chunks/{aisdk-native-dgs0k0pe.js → repository-7qpszgx3.js} +20 -20
  81. package/dist/chunks/{aisdk-native-etpa6mg3.js → repository-7s5hb2nx.js} +22 -22
  82. package/dist/chunks/{aisdk-native-8wzfhrcc.js → repository-8028yanh.js} +13 -13
  83. package/dist/chunks/{aisdk-native-a7zawp2b.js → repository-83wzj7ta.js} +3 -3
  84. package/dist/chunks/{aisdk-native-ryck9khc.js → repository-86agcrtg.js} +30 -30
  85. package/dist/chunks/{aisdk-native-0pb75hch.js → repository-8c7y8dn0.js} +5 -5
  86. package/dist/chunks/{aisdk-native-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{aisdk-native-exs5x9p4.js → repository-8fcwscdw.js} +26 -26
  88. package/dist/chunks/{aisdk-native-njg0nnyy.js → repository-8fsnk1kc.js} +10 -10
  89. package/dist/chunks/{aisdk-native-06x8he3q.js → repository-8gxqpgph.js} +4 -4
  90. package/dist/chunks/{aisdk-native-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{aisdk-native-1aw4vz7v.js → repository-94d58mvd.js} +32 -32
  92. package/dist/chunks/{aisdk-native-ep6bb0y2.js → repository-96987kcb.js} +89 -89
  93. package/dist/chunks/{aisdk-native-5j9m80r0.js → repository-9j2s9z86.js} +8 -8
  94. package/dist/chunks/{aisdk-native-zs6mkee1.js → repository-9q22g6vd.js} +5 -5
  95. package/dist/chunks/{aisdk-native-afcey384.js → repository-9whdk0qy.js} +13 -13
  96. package/dist/chunks/{aisdk-native-z65s34ts.js → repository-9zpvy9zc.js} +26 -26
  97. package/dist/chunks/repository-9zxwq9ha.js +26 -0
  98. package/dist/chunks/{aisdk-native-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
  99. package/dist/chunks/{aisdk-native-tamfydwv.js → repository-a8rkycwa.js} +16 -16
  100. package/dist/chunks/{aisdk-native-xtrzjk7e.js → repository-a8ve50ng.js} +6 -6
  101. package/dist/chunks/{aisdk-native-aaet6srn.js → repository-aaet6srn.js} +2 -2
  102. package/dist/chunks/{aisdk-native-jg1wx3s5.js → repository-aemscjqt.js} +20 -20
  103. package/dist/chunks/{aisdk-native-b09hzw3k.js → repository-b09hzw3k.js} +2 -2
  104. package/dist/chunks/{aisdk-native-w8r3hzxb.js → repository-b1kv8p8w.js} +6 -6
  105. package/dist/chunks/{aisdk-native-1hstdxwt.js → repository-b3pcj4k8.js} +30 -30
  106. package/dist/chunks/{aisdk-native-kxgkddgm.js → repository-b6f6xskg.js} +7 -7
  107. package/dist/chunks/{aisdk-native-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{aisdk-native-35wynegs.js → repository-b6hy6gkz.js} +2 -2
  109. package/dist/chunks/{aisdk-native-cvtmmhw6.js → repository-bbarxbyb.js} +1 -1
  110. package/dist/chunks/{aisdk-native-3snae86b.js → repository-bfntb90j.js} +9 -9
  111. package/dist/chunks/{aisdk-native-1n48fvpd.js → repository-bgxa3gb8.js} +15 -15
  112. package/dist/chunks/{aisdk-native-0efqgjpv.js → repository-bmtr48j2.js} +9 -9
  113. package/dist/chunks/{aisdk-native-n2kah95r.js → repository-bw0vgseb.js} +8 -8
  114. package/dist/chunks/{aisdk-native-qjwa214h.js → repository-c9wtqnwj.js} +11 -11
  115. package/dist/chunks/{aisdk-native-7tfjhc0x.js → repository-car4fhb7.js} +19 -19
  116. package/dist/chunks/{aisdk-native-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{aisdk-native-t1dawjzh.js → repository-cfv81dax.js} +8 -8
  118. package/dist/chunks/{aisdk-native-0artwwxx.js → repository-cg1ew3t4.js} +3 -3
  119. package/dist/chunks/{aisdk-native-hceg7q13.js → repository-cpn39njb.js} +16 -16
  120. package/dist/chunks/{aisdk-native-cq37gk0t.js → repository-cq37gk0t.js} +4 -4
  121. package/dist/chunks/{aisdk-native-2nb9akgd.js → repository-cxkh8aa2.js} +32 -32
  122. package/dist/chunks/{aisdk-native-c2hgjq9y.js → repository-cyhxv4yp.js} +10 -10
  123. package/dist/chunks/{aisdk-native-95bxmfq6.js → repository-d4exv1s8.js} +31 -31
  124. package/dist/chunks/{aisdk-native-rs64jzc9.js → repository-d4shdzcf.js} +24 -24
  125. package/dist/chunks/{aisdk-native-8r3crzsj.js → repository-d50dhb3t.js} +9 -9
  126. package/dist/chunks/{aisdk-native-1313y6az.js → repository-deanft1t.js} +35 -35
  127. package/dist/chunks/{aisdk-native-y8ve9161.js → repository-dfey964p.js} +9 -9
  128. package/dist/chunks/{aisdk-native-5b7vf1m4.js → repository-dg6ptqm6.js} +28 -28
  129. package/dist/chunks/{aisdk-native-877fs4kk.js → repository-dht5s97y.js} +9 -9
  130. package/dist/chunks/{aisdk-native-5nhasct8.js → repository-dn0vp9ws.js} +6 -6
  131. package/dist/chunks/{aisdk-native-mj5qpa52.js → repository-dqgjsbg6.js} +18 -18
  132. package/dist/chunks/{aisdk-native-jx8g4evx.js → repository-drknmmyh.js} +9 -9
  133. package/dist/chunks/{aisdk-native-e5nv3ght.js → repository-e5nv3ght.js} +2 -2
  134. package/dist/chunks/{aisdk-native-e5xpd6yj.js → repository-e5xpd6yj.js} +3 -3
  135. package/dist/chunks/{aisdk-native-g9h27qxy.js → repository-e8x92nmy.js} +7 -7
  136. package/dist/chunks/{aisdk-native-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  137. package/dist/chunks/repository-ejvrra8h.js +247 -0
  138. package/dist/chunks/{aisdk-native-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{aisdk-native-975vv60r.js → repository-ewq2135v.js} +22 -22
  140. package/dist/chunks/{aisdk-native-mz6ae2yf.js → repository-eztf1wzg.js} +1 -1
  141. package/dist/chunks/{aisdk-native-f828m53h.js → repository-f828m53h.js} +2 -2
  142. package/dist/chunks/{aisdk-native-558gpyz0.js → repository-f9apq077.js} +71 -71
  143. package/dist/chunks/{aisdk-native-z87g79ds.js → repository-fahke4hq.js} +4 -4
  144. package/dist/chunks/{aisdk-native-4knrs4xe.js → repository-fgqgf88m.js} +15 -15
  145. package/dist/chunks/{aisdk-native-b84cfsc8.js → repository-fmgfnr5t.js} +9 -9
  146. package/dist/chunks/{aisdk-native-shrtfrh2.js → repository-fr89gf7f.js} +33 -33
  147. package/dist/chunks/{aisdk-native-61q379j8.js → repository-fscyzxmk.js} +9 -9
  148. package/dist/chunks/{aisdk-native-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{aisdk-native-50mzsvk4.js → repository-g190xswt.js} +4 -4
  150. package/dist/chunks/{aisdk-native-h42r5qa0.js → repository-g2c4pnq1.js} +4 -4
  151. package/dist/chunks/{aisdk-native-tkmwgdpd.js → repository-g8d3gcyj.js} +4 -4
  152. package/dist/chunks/{aisdk-native-7n1bsde3.js → repository-g8mks886.js} +11 -11
  153. package/dist/chunks/{aisdk-native-bqz616gy.js → repository-gaf3dhda.js} +8 -8
  154. package/dist/chunks/{aisdk-native-9f8bm3tt.js → repository-gay8ct22.js} +23 -23
  155. package/dist/chunks/{aisdk-native-4087s44y.js → repository-gd0jy5mm.js} +11 -11
  156. package/dist/chunks/{aisdk-native-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{aisdk-native-0dyhjbwy.js → repository-gma6pakk.js} +6 -6
  158. package/dist/chunks/{aisdk-native-cq2eqyzg.js → repository-gs36njwm.js} +45 -45
  159. package/dist/chunks/{aisdk-native-th5km1p3.js → repository-gv6a8nnw.js} +5 -5
  160. package/dist/chunks/{aisdk-native-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{aisdk-native-3sppp1ax.js → repository-h13rq2ha.js} +22 -22
  162. package/dist/chunks/{aisdk-native-kj81w035.js → repository-h27f8war.js} +11 -11
  163. package/dist/chunks/{aisdk-native-fyymr9xg.js → repository-h6jr292a.js} +4 -4
  164. package/dist/chunks/{aisdk-native-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{aisdk-native-vcmavarf.js → repository-haj0byqn.js} +4 -4
  166. package/dist/chunks/{aisdk-native-t0hp8g0z.js → repository-hgg8kawy.js} +8 -8
  167. package/dist/chunks/{aisdk-native-mvrepv4q.js → repository-hjr4mjkc.js} +27 -27
  168. package/dist/chunks/{aisdk-native-e82z9tr0.js → repository-hjt4xg1x.js} +7 -7
  169. package/dist/chunks/{aisdk-native-0d65gp2j.js → repository-hm7n6gxm.js} +16 -16
  170. package/dist/chunks/{aisdk-native-rsym84ch.js → repository-hqjg1cx1.js} +9 -9
  171. package/dist/chunks/{aisdk-native-rn79xn25.js → repository-hqxaqnsz.js} +8 -8
  172. package/dist/chunks/{aisdk-native-2f4q0qv2.js → repository-ht8esz14.js} +5 -5
  173. package/dist/chunks/{aisdk-native-k8tj7ker.js → repository-hx4p0gz5.js} +26 -26
  174. package/dist/chunks/{aisdk-native-96dvff6g.js → repository-j3ht12x2.js} +15 -15
  175. package/dist/chunks/{aisdk-native-cjg4xdhd.js → repository-j4z2qnee.js} +11 -11
  176. package/dist/chunks/{aisdk-native-j56e64zr.js → repository-j56e64zr.js} +1 -1
  177. package/dist/chunks/{aisdk-native-yppnjwr8.js → repository-j5xt7epv.js} +12 -12
  178. package/dist/chunks/{aisdk-native-f901ejzv.js → repository-jbdvhc0s.js} +23 -23
  179. package/dist/chunks/{aisdk-native-r3rhgkxa.js → repository-jmr68t6h.js} +5 -5
  180. package/dist/chunks/repository-jqh9b0xq.js +18 -0
  181. package/dist/chunks/{aisdk-native-e0gy8g4h.js → repository-jwttr378.js} +43 -43
  182. package/dist/chunks/{aisdk-native-jxnsayze.js → repository-jxvsdwym.js} +13 -13
  183. package/dist/chunks/{aisdk-native-96bqv5va.js → repository-jydw0f72.js} +28 -28
  184. package/dist/chunks/{aisdk-native-k2dherqe.js → repository-k2dherqe.js} +1 -1
  185. package/dist/chunks/{aisdk-native-x6qm3ve3.js → repository-kee0d0vv.js} +15 -15
  186. package/dist/chunks/{aisdk-native-kg06axw8.js → repository-kg06axw8.js} +1 -1
  187. package/dist/chunks/{aisdk-native-k8rh8kbe.js → repository-kmbbtncp.js} +23 -23
  188. package/dist/chunks/{aisdk-native-v6yxqhem.js → repository-kq7s33qp.js} +8 -8
  189. package/dist/chunks/{aisdk-native-9jdakqgh.js → repository-ky16kd9n.js} +12 -12
  190. package/dist/chunks/{aisdk-native-4ba3v9yg.js → repository-m12fw1ht.js} +32 -32
  191. package/dist/chunks/{aisdk-native-xekzrwwc.js → repository-m2d0j7c0.js} +5 -5
  192. package/dist/chunks/{aisdk-native-ft5xsh3g.js → repository-m2weea1a.js} +43 -43
  193. package/dist/chunks/{aisdk-native-t2tfq0sa.js → repository-m74ad31j.js} +15 -15
  194. package/dist/chunks/{aisdk-native-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{aisdk-native-jbr3crdn.js → repository-mfeb23pb.js} +16 -16
  196. package/dist/chunks/{aisdk-native-qm6d722f.js → repository-mhfnevvs.js} +13 -13
  197. package/dist/chunks/{aisdk-native-wt3f654q.js → repository-ms3qkpaz.js} +11 -11
  198. package/dist/chunks/{aisdk-native-msq0jde0.js → repository-msq0jde0.js} +1 -1
  199. package/dist/chunks/{aisdk-native-kss69rth.js → repository-mtkf2msq.js} +51 -51
  200. package/dist/chunks/{aisdk-native-bbea3drv.js → repository-mwdf18ba.js} +35 -35
  201. package/dist/chunks/{aisdk-native-txvev1mj.js → repository-n64yq744.js} +24 -24
  202. package/dist/chunks/{aisdk-native-sjp111s2.js → repository-nb1yf551.js} +28 -28
  203. package/dist/chunks/{aisdk-native-wjeb65nc.js → repository-ngs1gmwy.js} +6 -6
  204. package/dist/chunks/{aisdk-native-sysvp9tr.js → repository-nphm860s.js} +22 -22
  205. package/dist/chunks/{aisdk-native-jghsd1wz.js → repository-nxamnhdf.js} +12 -12
  206. package/dist/chunks/{aisdk-native-msp5pacb.js → repository-p2t1ayvx.js} +46 -46
  207. package/dist/chunks/{aisdk-native-jt6t2dx0.js → repository-p5q26rjs.js} +17 -17
  208. package/dist/chunks/{aisdk-native-r7by1z8b.js → repository-p807tth1.js} +18 -18
  209. package/dist/chunks/{aisdk-native-x3et2xth.js → repository-pa8pe2x7.js} +8 -8
  210. package/dist/chunks/{aisdk-native-265kqrgy.js → repository-peejr10p.js} +1 -1
  211. package/dist/chunks/{aisdk-native-nw4bp5ek.js → repository-pgw46sns.js} +24 -24
  212. package/dist/chunks/{aisdk-native-wavq5vqb.js → repository-pjrv1sn1.js} +1 -1
  213. package/dist/chunks/{aisdk-native-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{aisdk-native-pknna89w.js → repository-pknna89w.js} +1 -1
  215. package/dist/chunks/{aisdk-native-q2b1ymqp.js → repository-pmr4s4kc.js} +4 -4
  216. package/dist/chunks/{aisdk-native-pt1wzm9p.js → repository-pwf15mvc.js} +4 -4
  217. package/dist/chunks/{aisdk-native-qy9vy1f4.js → repository-pxbzt21m.js} +6 -6
  218. package/dist/chunks/{aisdk-native-8k4hkv5d.js → repository-pxhak851.js} +6 -6
  219. package/dist/chunks/{aisdk-native-33n3bzdy.js → repository-pye8sh6e.js} +6 -6
  220. package/dist/chunks/{aisdk-native-3e8p36t5.js → repository-q7cmwac7.js} +6 -6
  221. package/dist/chunks/{aisdk-native-1sk4t3bw.js → repository-q9fqv6nm.js} +92 -291
  222. package/dist/chunks/repository-qapv375x.js +4 -0
  223. package/dist/chunks/{aisdk-native-yjptyezs.js → repository-qjnxxf51.js} +5 -5
  224. package/dist/chunks/{aisdk-native-219neeqh.js → repository-qkrnz1pz.js} +5 -5
  225. package/dist/chunks/{aisdk-native-9v25y94j.js → repository-qp8nwhvn.js} +38 -38
  226. package/dist/chunks/{aisdk-native-2eykfrat.js → repository-qqyxjxre.js} +22 -22
  227. package/dist/chunks/{aisdk-native-qsdy395h.js → repository-qsdy395h.js} +1 -1
  228. package/dist/chunks/{aisdk-native-a6v99qxw.js → repository-r33ff4dw.js} +6 -6
  229. package/dist/chunks/{aisdk-native-6jw7qbdc.js → repository-r628x9jn.js} +20 -26
  230. package/dist/chunks/{aisdk-native-yp2x3t23.js → repository-r8xr0va3.js} +4 -4
  231. package/dist/chunks/{aisdk-native-r9mregkx.js → repository-r9mregkx.js} +2 -2
  232. package/dist/chunks/{aisdk-native-f0f4ttvk.js → repository-rg7n2a7e.js} +47 -47
  233. package/dist/chunks/{aisdk-native-rhjbct0v.js → repository-rhjbct0v.js} +1 -1
  234. package/dist/chunks/{aisdk-native-92n9kp68.js → repository-rjt1dhz0.js} +11 -11
  235. package/dist/chunks/{aisdk-native-vfjw4etf.js → repository-rqpczt31.js} +18 -18
  236. package/dist/chunks/{aisdk-native-b5vcnazb.js → repository-s2t8c8fj.js} +4 -4
  237. package/dist/chunks/{aisdk-native-0f9afca0.js → repository-s8zy8myc.js} +5 -5
  238. package/dist/chunks/{aisdk-native-39dcxt5x.js → repository-shg3amz7.js} +22 -22
  239. package/dist/chunks/{aisdk-native-87j3jmrh.js → repository-sm236kpq.js} +11 -11
  240. package/dist/chunks/{aisdk-native-hrswm3w7.js → repository-sr7k2y9v.js} +32 -32
  241. package/dist/chunks/{aisdk-native-8764jjnd.js → repository-swc0nz61.js} +18 -18
  242. package/dist/chunks/{aisdk-native-m5n1efj3.js → repository-swh40x6v.js} +12 -12
  243. package/dist/chunks/{aisdk-native-gcavn3wx.js → repository-sznyev98.js} +5 -5
  244. package/dist/chunks/{aisdk-native-37s12vcn.js → repository-t0fxg8b9.js} +5 -5
  245. package/dist/chunks/{aisdk-native-t0x5rdq8.js → repository-t0x5rdq8.js} +2 -2
  246. package/dist/chunks/{aisdk-native-z4fsc67a.js → repository-t3p48s2k.js} +13 -13
  247. package/dist/chunks/{aisdk-native-4ff8ce17.js → repository-t5wmzvpv.js} +14 -14
  248. package/dist/chunks/{aisdk-native-1x3znp50.js → repository-t9cms4w2.js} +11 -11
  249. package/dist/chunks/{aisdk-native-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  250. package/dist/chunks/{aisdk-native-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  251. package/dist/chunks/{aisdk-native-tdstcens.js → repository-tdstcens.js} +1 -1
  252. package/dist/chunks/{aisdk-native-pded2qbh.js → repository-te29s6sc.js} +12 -12
  253. package/dist/chunks/{aisdk-native-tvtrv512.js → repository-tvtrv512.js} +1 -1
  254. package/dist/chunks/{aisdk-native-wvmhx4nb.js → repository-tx9qvpbt.js} +4 -4
  255. package/dist/chunks/{aisdk-native-4y910e9x.js → repository-v7eqyjmy.js} +5 -5
  256. package/dist/chunks/{aisdk-native-4zxxnnpk.js → repository-vapde0g8.js} +3 -3
  257. package/dist/chunks/{aisdk-native-veqvce7d.js → repository-veqvce7d.js} +1 -1
  258. package/dist/chunks/{aisdk-native-6136p1w5.js → repository-vh329328.js} +15 -15
  259. package/dist/chunks/{aisdk-native-5mdd6pyz.js → repository-vjjm1fp8.js} +11 -11
  260. package/dist/chunks/{aisdk-native-ry3zdq1e.js → repository-vpwejdc6.js} +15 -15
  261. package/dist/chunks/{aisdk-native-st8p8d2e.js → repository-vtxfwj71.js} +5 -5
  262. package/dist/chunks/{aisdk-native-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  263. package/dist/chunks/{aisdk-native-cweffwkq.js → repository-w26xsmnw.js} +21 -21
  264. package/dist/chunks/{aisdk-native-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  265. package/dist/chunks/{aisdk-native-4ns3h2re.js → repository-w4axh9wz.js} +4 -4
  266. package/dist/chunks/{aisdk-native-wd87259q.js → repository-wd87259q.js} +1 -1
  267. package/dist/chunks/{aisdk-native-acxdgsqj.js → repository-wdhn35hf.js} +9 -9
  268. package/dist/chunks/{aisdk-native-1jzc9t6q.js → repository-wx95frst.js} +11 -11
  269. package/dist/chunks/{aisdk-native-5e6hx92c.js → repository-wz0ehf68.js} +47 -47
  270. package/dist/chunks/{aisdk-native-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  271. package/dist/chunks/{aisdk-native-q29qt9dw.js → repository-x1f4bnb6.js} +2 -2
  272. package/dist/chunks/{aisdk-native-9p3mq0sv.js → repository-x20sjj3e.js} +46 -46
  273. package/dist/chunks/{aisdk-native-1bykzgew.js → repository-xqax0h2z.js} +23 -23
  274. package/dist/chunks/{aisdk-native-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{aisdk-native-fp838efq.js → repository-y5ff4yjy.js} +11 -11
  276. package/dist/chunks/{aisdk-native-5tc8t3sp.js → repository-y5znnrem.js} +27 -27
  277. package/dist/chunks/{aisdk-native-y71avatq.js → repository-y71avatq.js} +1 -1
  278. package/dist/chunks/{aisdk-native-ewnjf4j9.js → repository-y86j32r6.js} +25 -25
  279. package/dist/chunks/{aisdk-native-7ct7dy8g.js → repository-yn35vfdn.js} +17 -17
  280. package/dist/chunks/{aisdk-native-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{aisdk-native-yrznvahk.js → repository-yrznvahk.js} +2 -2
  282. package/dist/chunks/{aisdk-native-efj89ke9.js → repository-yyzm5aws.js} +10 -10
  283. package/dist/chunks/{aisdk-native-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{aisdk-native-z63w68vq.js → repository-z63w68vq.js} +2 -2
  285. package/dist/chunks/{aisdk-native-70d2s7af.js → repository-zc2xj3qj.js} +1 -1
  286. package/dist/chunks/{aisdk-native-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{aisdk-native-jm425462.js → repository-zfdedwf3.js} +36 -36
  288. package/dist/chunks/{aisdk-native-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{aisdk-native-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +119 -119
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +120 -120
  303. package/dist/config/plugin/image.js +119 -119
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +119 -119
  306. package/dist/config/plugin/mcp.js +128 -128
  307. package/dist/config/plugin/policy.js +118 -118
  308. package/dist/config/plugin/provider.js +117 -117
  309. package/dist/config/plugin/reference.js +121 -121
  310. package/dist/config/plugin/shell.js +119 -119
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +119 -119
  314. package/dist/config/plugin/source.js +121 -121
  315. package/dist/config/plugin/tool-output.js +121 -121
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +122 -122
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +365 -365
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +2 -2
  422. package/dist/filesystem/location-watcher.js +219 -219
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +92 -92
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +3 -3
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +82 -82
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +137 -137
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +87 -87
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +88 -88
  470. package/dist/mcp/client.js +202 -260
  471. package/dist/mcp/index.js +103 -121
  472. package/dist/mcp/instructions.js +124 -124
  473. package/dist/mcp/oauth.js +259 -38
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +3 -3
  477. package/dist/model-resolver.js +87 -87
  478. package/dist/model.js +8 -8
  479. package/dist/models-dev.js +87 -87
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +75 -75
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +104 -104
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +76 -76
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +79 -79
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +137 -137
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +346 -346
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +227 -227
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +89 -89
  558. package/dist/provider.js +5 -5
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +90 -90
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +96 -96
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +3 -3
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +128 -128
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +87 -87
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +92 -92
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +117 -117
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +1 -1
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +228 -228
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +87 -87
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +114 -114
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +1 -1
  606. package/dist/session/session.js +172 -172
  607. package/dist/session/shell.js +134 -134
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +74 -74
  611. package/dist/session/store.js +84 -84
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +155 -155
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +220 -220
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +209 -209
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +9 -9
  624. package/dist/shell.js +136 -136
  625. package/dist/skill/discovery.js +4 -4
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +109 -109
  628. package/dist/snapshot.js +92 -92
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +119 -119
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +121 -121
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +214 -214
  642. package/dist/tool/plugin/skill.js +112 -112
  643. package/dist/tool/plugin/subagent.js +210 -210
  644. package/dist/tool/plugin/webfetch.js +111 -111
  645. package/dist/tool/plugin/websearch.js +111 -111
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/types/mcp/client.d.ts +220 -124
  652. package/dist/types/mcp/index.d.ts +23 -87
  653. package/dist/types/mcp/oauth.d.ts +26 -51
  654. package/dist/types/mcp/stdio.d.ts +1 -1
  655. package/dist/types/v1/config/migrate.d.ts +2 -0
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +5 -5
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +4 -4
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +83 -83
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +3 -3
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +4 -4
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/refresh.js +345 -345
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree.js +95 -95
  695. package/package.json +17 -16
  696. package/dist/chunks/aisdk-native-0mesazry.js +0 -4
  697. package/dist/chunks/aisdk-native-0pae2qra.js +0 -466
  698. package/dist/chunks/aisdk-native-45th5jwr.js +0 -18
  699. package/dist/chunks/aisdk-native-681gxtn0.js +0 -247
  700. package/dist/chunks/aisdk-native-6m8sxegb.js +0 -26
  701. /package/dist/chunks/{aisdk-native-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{aisdk-native-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{aisdk-native-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{aisdk-native-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{aisdk-native-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{aisdk-native-2710q6r3.js → repository-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{aisdk-native-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{aisdk-native-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{aisdk-native-359p4xyc.js → repository-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{aisdk-native-3asan66x.js → repository-3asan66x.js} +0 -0
  711. /package/dist/chunks/{aisdk-native-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{aisdk-native-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{aisdk-native-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{aisdk-native-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{aisdk-native-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{aisdk-native-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{aisdk-native-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{aisdk-native-53557ph1.js → repository-53557ph1.js} +0 -0
  719. /package/dist/chunks/{aisdk-native-550bvhaj.js → repository-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{aisdk-native-6prwharc.js → repository-6prwharc.js} +0 -0
  721. /package/dist/chunks/{aisdk-native-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{aisdk-native-7m9af43g.js → repository-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{aisdk-native-822emrt2.js → repository-822emrt2.js} +0 -0
  724. /package/dist/chunks/{aisdk-native-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{aisdk-native-8n3pysct.js → repository-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{aisdk-native-922hggd3.js → repository-922hggd3.js} +0 -0
  727. /package/dist/chunks/{aisdk-native-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{aisdk-native-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{aisdk-native-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{aisdk-native-af5trqkr.js → repository-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{aisdk-native-afrmfg78.js → repository-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{aisdk-native-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{aisdk-native-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{aisdk-native-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{aisdk-native-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{aisdk-native-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{aisdk-native-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{aisdk-native-d9fn303g.js → repository-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{aisdk-native-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{aisdk-native-dajrwvna.js → repository-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{aisdk-native-dap0rakb.js → repository-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{aisdk-native-df08tz66.js → repository-df08tz66.js} +0 -0
  743. /package/dist/chunks/{aisdk-native-dy18nga0.js → repository-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{aisdk-native-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{aisdk-native-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{aisdk-native-ec1grn59.js → repository-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{aisdk-native-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{aisdk-native-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{aisdk-native-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{aisdk-native-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{aisdk-native-faypxj3z.js → repository-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{aisdk-native-fd410y7t.js → repository-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{aisdk-native-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{aisdk-native-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{aisdk-native-g86h250q.js → repository-g86h250q.js} +0 -0
  756. /package/dist/chunks/{aisdk-native-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{aisdk-native-gftt206x.js → repository-gftt206x.js} +0 -0
  758. /package/dist/chunks/{aisdk-native-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{aisdk-native-hk9envan.js → repository-hk9envan.js} +0 -0
  760. /package/dist/chunks/{aisdk-native-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
  761. /package/dist/chunks/{aisdk-native-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{aisdk-native-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{aisdk-native-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{aisdk-native-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{aisdk-native-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{aisdk-native-mp448xyj.js → repository-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{aisdk-native-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{aisdk-native-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{aisdk-native-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{aisdk-native-njntx4h6.js → repository-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{aisdk-native-paphc93g.js → repository-paphc93g.js} +0 -0
  772. /package/dist/chunks/{aisdk-native-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{aisdk-native-q74kybfr.js → repository-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{aisdk-native-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{aisdk-native-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{aisdk-native-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{aisdk-native-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{aisdk-native-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{aisdk-native-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{aisdk-native-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{aisdk-native-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{aisdk-native-twg0f83k.js → repository-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{aisdk-native-w803qqfp.js → repository-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{aisdk-native-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{aisdk-native-wtztk69x.js → repository-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{aisdk-native-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{aisdk-native-x61499pn.js → repository-x61499pn.js} +0 -0
  788. /package/dist/chunks/{aisdk-native-y44na4kk.js → repository-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{aisdk-native-y6f0p4jw.js → repository-y6f0p4jw.js} +0 -0
  790. /package/dist/chunks/{aisdk-native-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{aisdk-native-y8f7s663.js → repository-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{aisdk-native-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{aisdk-native-ym463w8f.js → repository-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{aisdk-native-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./aisdk-native-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
- Service73
6
- } from "./aisdk-native-v9kk4whf.js";
5
+ Service66
6
+ } from "./repository-1e17p1v6.js";
7
7
  import {
8
- Service35
9
- } from "./aisdk-native-msp5pacb.js";
8
+ Service44
9
+ } from "./repository-p2t1ayvx.js";
10
10
  import {
11
- Service49
12
- } from "./aisdk-native-5e6hx92c.js";
11
+ Service18
12
+ } from "./repository-wz0ehf68.js";
13
13
  import {
14
14
  observe2
15
- } from "./aisdk-native-qsdy395h.js";
15
+ } from "./repository-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./aisdk-native-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin7
24
+ Plugin: () => Plugin8
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin7 = define({
30
+ var Plugin8 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service35;
34
- const location = yield* Service73;
33
+ const config = yield* Service44;
34
+ const location = yield* Service66;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service49;
36
+ const worktrees = yield* Service18;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin7 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin7, exports_worktree };
51
+ export { Plugin8, exports_worktree };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service35
3
- } from "./aisdk-native-msp5pacb.js";
2
+ Service44
3
+ } from "./repository-p2t1ayvx.js";
4
4
  import {
5
5
  match2
6
- } from "./aisdk-native-y1fvbwt7.js";
6
+ } from "./repository-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./aisdk-native-qsdy395h.js";
9
+ } from "./repository-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./aisdk-native-9rqn6x4v.js";
12
+ } from "./repository-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin12
18
+ Plugin: () => Plugin10
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin12 = define({
22
+ var Plugin10 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service35;
25
+ const config = yield* Service44;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin12 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin12, exports_policy };
38
+ export { Plugin10, exports_policy };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./aisdk-native-922hggd3.js";
4
+ } from "./repository-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service75,
9
- node80
10
- } from "./aisdk-native-m5n1efj3.js";
8
+ Service68,
9
+ node72
10
+ } from "./repository-swh40x6v.js";
11
11
  import {
12
- Service73,
13
- node78
14
- } from "./aisdk-native-v9kk4whf.js";
12
+ Service66,
13
+ node70
14
+ } from "./repository-1e17p1v6.js";
15
15
  import {
16
16
  create3
17
- } from "./aisdk-native-kg06axw8.js";
17
+ } from "./repository-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./aisdk-native-9rqn6x4v.js";
20
+ } from "./repository-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service53,
25
+ Error: () => Error4,
26
+ ID: () => ID6,
27
+ Service: () => Service47,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node57,
30
- noopLayer: () => noopLayer3
29
+ node: () => node52,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID6 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service53 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service47 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service53, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service75;
50
+ const git = yield* Service68;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service73;
52
+ const location = yield* Service66;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID6.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service53.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node57 = makeLocationNode({
144
- service: Service53,
143
+ var node52 = makeLocationNode({
144
+ service: Service47,
145
145
  layer,
146
- deps: [FSUtil.node, node80, Global.node, node78]
146
+ deps: [FSUtil.node, node72, Global.node, node70]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service53, Service53.of({
148
+ var noopLayer2 = Layer.succeed(Service47, Service47.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service53, Service53.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error3, Service53, node57, noopLayer3, exports_snapshot2 };
166
+ export { ID6, Error4, Service47, node52, noopLayer2, exports_snapshot2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./aisdk-native-33n3bzdy.js";
4
+ } from "./repository-pye8sh6e.js";
5
5
  import {
6
6
  latest2,
7
- Service35
8
- } from "./aisdk-native-msp5pacb.js";
7
+ Service44
8
+ } from "./repository-p2t1ayvx.js";
9
9
  import {
10
10
  observe2
11
- } from "./aisdk-native-qsdy395h.js";
11
+ } from "./repository-qsdy395h.js";
12
12
  import {
13
13
  __export
14
- } from "./aisdk-native-9rqn6x4v.js";
14
+ } from "./repository-9rqn6x4v.js";
15
15
 
16
16
  // src/config/plugin/provider.ts
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin15
20
+ Plugin: () => Plugin3
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin15 = define({
25
+ var Plugin3 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service35;
28
+ const config = yield* Service44;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
159
159
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
160
160
  }
161
161
 
162
- export { Plugin15, exports_provider };
162
+ export { Plugin3, exports_provider };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-native-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-native-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info14,
10
+ Info: () => Info16,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info14 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info14, exports_permission };
41
+ export { Action2, Object2, Rule2, Info16, exports_permission };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./aisdk-native-e5xpd6yj.js";
5
+ } from "./repository-e5xpd6yj.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./aisdk-native-9v25y94j.js";
8
+ } from "./repository-qp8nwhvn.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./aisdk-native-1hstdxwt.js";
11
+ } from "./repository-b3pcj4k8.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./aisdk-native-dwh3xqh5.js";
21
+ } from "./repository-2kesvzjb.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-native-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command4 = {};
7
7
  __export(exports_command4, {
8
8
  ConfigCommandV1: () => exports_command4,
9
- Info: () => Info12
9
+ Info: () => Info15
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info12 = Schema.Struct({
12
+ var Info15 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info12, exports_command4 };
21
+ export { Info15, exports_command4 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./aisdk-native-5t3nmthw.js";
3
+ } from "./repository-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./aisdk-native-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service27,
11
+ Service: () => Service37,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer10,
13
+ layer: () => layer15,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node31
15
+ node: () => node41
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service27.of({ bind, close, closeAll });
359
+ return Service37.of({ bind, close, closeAll });
360
360
  }));
361
- var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node31 = makeGlobalNode({ service: Service27, layer: layer10, deps: [webSocketConstructor2] });
364
+ var node41 = makeGlobalNode({ service: Service37, layer: layer15, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service27, makeLayer2, layer10, node31, exports_model_transport };
366
+ export { Service37, makeLayer2, layer15, node41, exports_model_transport };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service46
3
- } from "./aisdk-native-7ct7dy8g.js";
2
+ Service54
3
+ } from "./repository-yn35vfdn.js";
4
4
  import {
5
- Service19
6
- } from "./aisdk-native-ep6bb0y2.js";
5
+ Service26
6
+ } from "./repository-96987kcb.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./aisdk-native-x1ezjp6w.js";
10
+ } from "./repository-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./aisdk-native-9rqn6x4v.js";
13
+ } from "./repository-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
22
  var make10 = Effect.gen(function* () {
23
- const sessions = yield* Service19;
24
- const jobs = yield* Service46;
23
+ const sessions = yield* Service26;
24
+ const jobs = yield* Service54;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./aisdk-native-hceg7q13.js";
2
+ Service78,
3
+ node83
4
+ } from "./repository-cpn39njb.js";
5
5
  import {
6
6
  create3
7
- } from "./aisdk-native-kg06axw8.js";
7
+ } from "./repository-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./aisdk-native-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command5 = {};
14
14
  __export(exports_command5, {
15
15
  Command: () => exports_command5,
16
- Event: () => Event11,
16
+ Event: () => Event16,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info19,
19
- NotFoundError: () => NotFoundError6,
20
- Service: () => Service54,
18
+ Info: () => Info27,
19
+ NotFoundError: () => NotFoundError10,
20
+ Service: () => Service69,
21
21
  layer: () => layer22,
22
- node: () => node58
22
+ node: () => node73
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event11 } from "@opencode/schema/command";
28
- var Info19 = Command.Info;
27
+ import { Event as Event16 } from "@opencode/schema/command";
28
+ var Info27 = Command.Info;
29
29
 
30
- class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError10 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service54 extends Context.Service()("@opencode/Command") {
42
+ class Service69 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer22 = Layer.effect(Service54, Effect.gen(function* () {
45
- const bus = yield* Service79;
44
+ var layer22 = Layer.effect(Service69, Effect.gen(function* () {
45
+ const bus = yield* Service78;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer22 = Layer.effect(Service54, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info19.make({
54
+ const info = (definition) => Info27.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service54.of({
58
+ return Service69.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer22 = Layer.effect(Service54, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError10({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node58 = makeLocationNode({
75
- service: Service54,
74
+ var node73 = makeLocationNode({
75
+ service: Service69,
76
76
  layer: layer22,
77
- deps: [node84]
77
+ deps: [node83]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info19, NotFoundError6, ExecutionError2, Service54, layer22, node58, exports_command5, Event11 };
89
+ export { Info27, NotFoundError10, ExecutionError2, Service69, layer22, node73, exports_command5, Event16 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service35
3
- } from "./aisdk-native-msp5pacb.js";
2
+ Service44
3
+ } from "./repository-p2t1ayvx.js";
4
4
  import {
5
- Service8
6
- } from "./aisdk-native-5b7vf1m4.js";
5
+ Service10
6
+ } from "./repository-dg6ptqm6.js";
7
7
  import {
8
8
  observe2
9
- } from "./aisdk-native-qsdy395h.js";
9
+ } from "./repository-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./aisdk-native-9rqn6x4v.js";
12
+ } from "./repository-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
15
  var exports_compaction = {};
16
16
  __export(exports_compaction, {
17
17
  ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin13
18
+ Plugin: () => Plugin18
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin13 = define({
22
+ var Plugin18 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service35;
26
- const compaction = yield* Service8;
25
+ const config = yield* Service44;
26
+ const compaction = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin13 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin13, exports_compaction };
42
+ export { Plugin18, exports_compaction };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-native-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};