@opencode/core 0.0.0-dev-19390 → 0.0.0-dev-19392

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 (786) 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 +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{kv-0jb4n2a0.js → repository-02e0y54q.js} +15 -15
  9. package/dist/chunks/{kv-1g49rwcy.js → repository-04fcbydd.js} +6 -6
  10. package/dist/chunks/{kv-haav6xr7.js → repository-0chgf8x9.js} +44 -44
  11. package/dist/chunks/{kv-re8mxfzd.js → repository-0h1dgn2a.js} +21 -21
  12. package/dist/chunks/{kv-qjfc5n3j.js → repository-0jvretd3.js} +13 -13
  13. package/dist/chunks/{kv-yfkq0gfv.js → repository-0n0mhreg.js} +27 -27
  14. package/dist/chunks/{kv-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{kv-eqrqx1n9.js → repository-0pcjts55.js} +63 -63
  16. package/dist/chunks/{kv-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{kv-8478weqf.js → repository-0v13smbh.js} +11 -11
  18. package/dist/chunks/{kv-647wzfv2.js → repository-0wh211te.js} +7 -7
  19. package/dist/chunks/{kv-k4c4r259.js → repository-11kz9drc.js} +21 -21
  20. package/dist/chunks/{kv-b2m2g9cq.js → repository-17y9e0xf.js} +9 -9
  21. package/dist/chunks/{kv-jw9satmb.js → repository-1ck6d65j.js} +13 -13
  22. package/dist/chunks/{kv-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{kv-1eyaby9q.js → repository-1eyaby9q.js} +2 -2
  24. package/dist/chunks/{kv-ghs4y90d.js → repository-1h8056qn.js} +176 -176
  25. package/dist/chunks/{kv-kg5y7jy3.js → repository-1mr1b0wr.js} +34 -34
  26. package/dist/chunks/{kv-p7kse70a.js → repository-1vtz46z8.js} +8 -8
  27. package/dist/chunks/{kv-21r38tys.js → repository-21r38tys.js} +1 -1
  28. package/dist/chunks/{kv-cfhv7k6a.js → repository-24tr1rny.js} +41 -41
  29. package/dist/chunks/{kv-hr5bc81f.js → repository-2a4f6v5q.js} +8 -8
  30. package/dist/chunks/{kv-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{kv-y41m72jr.js → repository-2az9q9m5.js} +47 -47
  32. package/dist/chunks/{kv-tf15gxw8.js → repository-2venq07n.js} +20 -20
  33. package/dist/chunks/{kv-k0xz0zmp.js → repository-343vvr6y.js} +13 -13
  34. package/dist/chunks/{kv-kb85snj8.js → repository-37wraq67.js} +9 -9
  35. package/dist/chunks/{kv-3jp54z3r.js → repository-39r80e1r.js} +1 -1
  36. package/dist/chunks/{kv-73pkveg5.js → repository-3a6d4gwd.js} +11 -11
  37. package/dist/chunks/{kv-3cfzdc8e.js → repository-3cfzdc8e.js} +2 -2
  38. package/dist/chunks/{kv-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{kv-0gb0b71h.js → repository-3g5b63xy.js} +25 -25
  40. package/dist/chunks/{kv-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{kv-hxhax0yh.js → repository-3r9tyhmb.js} +18 -18
  42. package/dist/chunks/{kv-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{kv-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{kv-vrrfbpyj.js → repository-3vaccfnm.js} +32 -32
  45. package/dist/chunks/{kv-qckw2k72.js → repository-45yvhxnf.js} +8 -8
  46. package/dist/chunks/{kv-fagy7rdj.js → repository-48974jce.js} +36 -36
  47. package/dist/chunks/{kv-02zskd6f.js → repository-49hrpkdk.js} +4 -4
  48. package/dist/chunks/{kv-ser5sghd.js → repository-4hgtqqtz.js} +3 -3
  49. package/dist/chunks/{kv-nyqpwg46.js → repository-4hnbmwf5.js} +4 -4
  50. package/dist/chunks/{kv-snvhmjc6.js → repository-4jfex6ks.js} +11 -11
  51. package/dist/chunks/{kv-md368hrg.js → repository-4jktxnha.js} +8 -8
  52. package/dist/chunks/{kv-ktp4kh0a.js → repository-4mtecjc1.js} +26 -26
  53. package/dist/chunks/{kv-en2byt25.js → repository-4t0960ha.js} +10 -10
  54. package/dist/chunks/{kv-rpgbr9ce.js → repository-4v5k2jq1.js} +22 -22
  55. package/dist/chunks/{kv-qp1z02r1.js → repository-4vbarqrf.js} +30 -30
  56. package/dist/chunks/{kv-j9echq48.js → repository-4yk32cn1.js} +9 -9
  57. package/dist/chunks/{kv-jehgatyy.js → repository-54q2yb5y.js} +43 -43
  58. package/dist/chunks/{kv-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
  59. package/dist/chunks/{kv-4prjfj1p.js → repository-57vc1f1w.js} +31 -31
  60. package/dist/chunks/{kv-jj6j4x9t.js → repository-5a7jwez6.js} +43 -43
  61. package/dist/chunks/{kv-ptyjv6sg.js → repository-5b0ze84y.js} +3 -3
  62. package/dist/chunks/{kv-5daktx2q.js → repository-5daktx2q.js} +1 -1
  63. package/dist/chunks/{kv-dyev18v0.js → repository-5dczmsbe.js} +8 -8
  64. package/dist/chunks/{kv-prhmc65q.js → repository-5qp0xphp.js} +25 -25
  65. package/dist/chunks/{kv-qw1avwf1.js → repository-5sh276j6.js} +11 -11
  66. package/dist/chunks/{kv-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{kv-669tq793.js → repository-669tq793.js} +1 -1
  68. package/dist/chunks/{kv-2402vzrj.js → repository-6h73sxmp.js} +5 -5
  69. package/dist/chunks/{kv-dntgyp5f.js → repository-6hhx0jg1.js} +29 -28
  70. package/dist/chunks/{kv-65c5xzsx.js → repository-6kgdg5m2.js} +17 -17
  71. package/dist/chunks/{kv-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{kv-efnnyr8k.js → repository-6pmke597.js} +43 -42
  73. package/dist/chunks/{kv-43k56ejq.js → repository-6vjnk7fh.js} +9 -9
  74. package/dist/chunks/{kv-414z0nek.js → repository-6yt6jtkp.js} +13 -13
  75. package/dist/chunks/{kv-71q4at8m.js → repository-71q4at8m.js} +1 -1
  76. package/dist/chunks/{kv-w00fmqn9.js → repository-77e0zb3k.js} +20 -20
  77. package/dist/chunks/{kv-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{kv-ry9rqqdj.js → repository-7ebdzj7v.js} +27 -27
  79. package/dist/chunks/{kv-tpsh7nep.js → repository-7g7rfx25.js} +12 -12
  80. package/dist/chunks/{kv-agty4mtf.js → repository-7y5q31fh.js} +71 -71
  81. package/dist/chunks/{kv-mrqdrzhn.js → repository-81swgkk7.js} +9 -9
  82. package/dist/chunks/{kv-9zq90cq7.js → repository-85jhkfmq.js} +4 -4
  83. package/dist/chunks/{kv-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{kv-fv6994dx.js → repository-8j0ymjpm.js} +23 -23
  85. package/dist/chunks/{kv-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
  86. package/dist/chunks/{kv-tqe05zcw.js → repository-8vtetfvn.js} +24 -24
  87. package/dist/chunks/{kv-wzwrnqbk.js → repository-8x8j0yap.js} +7 -7
  88. package/dist/chunks/{kv-pkh14f8a.js → repository-919rdka5.js} +26 -26
  89. package/dist/chunks/{kv-9htnacz2.js → repository-93v0v8g0.js} +32 -32
  90. package/dist/chunks/{kv-9r33v7f0.js → repository-98k43r7d.js} +25 -25
  91. package/dist/chunks/{kv-7pqzfj2e.js → repository-9hm1nb7k.js} +17 -17
  92. package/dist/chunks/{kv-zxwebrdg.js → repository-9s7jgwbd.js} +12 -12
  93. package/dist/chunks/{kv-q52pkfc0.js → repository-9tvhpt1h.js} +34 -34
  94. package/dist/chunks/{kv-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{kv-vqa763dh.js → repository-a29n1zs3.js} +7 -7
  96. package/dist/chunks/{kv-aaet6srn.js → repository-aaet6srn.js} +2 -2
  97. package/dist/chunks/{kv-jg8cj1ke.js → repository-ab1rm27r.js} +14 -14
  98. package/dist/chunks/{kv-xaq7y018.js → repository-aeh5fpw2.js} +37 -37
  99. package/dist/chunks/{kv-v76by4bg.js → repository-aggqyzrf.js} +6 -6
  100. package/dist/chunks/{kv-7q4tg7d5.js → repository-anrzzgjr.js} +20 -20
  101. package/dist/chunks/{kv-415j81f1.js → repository-ar3kqjsa.js} +22 -22
  102. package/dist/chunks/{kv-3c1tgrea.js → repository-asn1qnte.js} +6 -6
  103. package/dist/chunks/{kv-43k15f45.js → repository-b17kd43r.js} +4 -4
  104. package/dist/chunks/{kv-kp15nsp5.js → repository-b1h1c68h.js} +8 -8
  105. package/dist/chunks/{kv-f8q7mv7a.js → repository-b47t4zxj.js} +1 -1
  106. package/dist/chunks/{kv-2bvz9nnf.js → repository-b67qqecp.js} +11 -11
  107. package/dist/chunks/{kv-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{kv-bajakh74.js → repository-bajakh74.js} +4 -4
  109. package/dist/chunks/{kv-2ehqxkpw.js → repository-bfhmxbp5.js} +12 -12
  110. package/dist/chunks/{kv-yv6gpnv9.js → repository-bpf5xa8r.js} +6 -6
  111. package/dist/chunks/{kv-eqn55phe.js → repository-bragb0zt.js} +11 -11
  112. package/dist/chunks/{kv-bv56xrks.js → repository-bv56xrks.js} +2 -2
  113. package/dist/chunks/{kv-cxr98dhw.js → repository-bx51kgqc.js} +20 -20
  114. package/dist/chunks/{kv-bwy0a1tx.js → repository-c08088rs.js} +88 -88
  115. package/dist/chunks/{kv-vz7veymp.js → repository-c5ws0z31.js} +58 -58
  116. package/dist/chunks/{kv-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{kv-1n7b5642.js → repository-cjdhxnc7.js} +28 -28
  118. package/dist/chunks/{kv-cpde8a39.js → repository-cqmjdmfy.js} +34 -34
  119. package/dist/chunks/{kv-yt0fqk68.js → repository-cr07tj7n.js} +5 -5
  120. package/dist/chunks/{kv-m86bnw2c.js → repository-crptryd9.js} +9 -9
  121. package/dist/chunks/{kv-7sy2vt23.js → repository-cv1c066y.js} +45 -45
  122. package/dist/chunks/{kv-8f6ywf8a.js → repository-cw5vx56j.js} +36 -36
  123. package/dist/chunks/{kv-cg9e05fy.js → repository-cwsfv75g.js} +10 -10
  124. package/dist/chunks/{kv-844ef7ks.js → repository-cxv3b682.js} +8 -8
  125. package/dist/chunks/{kv-1vwgwxct.js → repository-d1yx4qwh.js} +9 -9
  126. package/dist/chunks/{kv-vweeh7m7.js → repository-d2t4pj3k.js} +22 -22
  127. package/dist/chunks/{kv-sbpd7n04.js → repository-d3j72vaa.js} +7 -7
  128. package/dist/chunks/{kv-d8nc1xcx.js → repository-d8nc1xcx.js} +1 -1
  129. package/dist/chunks/{kv-bvggqreg.js → repository-ddbrkqgx.js} +18 -18
  130. package/dist/chunks/{kv-b3d84yq7.js → repository-depcwyj9.js} +24 -24
  131. package/dist/chunks/{kv-790ch1hh.js → repository-dk4nfg5s.js} +10 -10
  132. package/dist/chunks/repository-dxj72tfx.js +18 -0
  133. package/dist/chunks/{kv-ksz0h0wp.js → repository-e0g3hjre.js} +1 -1
  134. package/dist/chunks/{kv-ecw6ew9r.js → repository-e275mf5g.js} +4 -4
  135. package/dist/chunks/{kv-c3jmffjz.js → repository-e2q75spx.js} +13 -13
  136. package/dist/chunks/{kv-e4wgfgxg.js → repository-e6z046pm.js} +11 -11
  137. package/dist/chunks/{kv-99xay3p1.js → repository-eeaf82dq.js} +8 -8
  138. package/dist/chunks/{kv-4zf1v1ax.js → repository-epg4pcgt.js} +7 -7
  139. package/dist/chunks/{kv-fgwnwwwp.js → repository-es5b1610.js} +10 -10
  140. package/dist/chunks/{kv-55xz4zh9.js → repository-es9es8em.js} +83 -83
  141. package/dist/chunks/{kv-tjsj89dc.js → repository-esj243wz.js} +9 -9
  142. package/dist/chunks/{kv-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{kv-f828m53h.js → repository-f828m53h.js} +2 -2
  144. package/dist/chunks/{kv-k16ay38w.js → repository-fa6dyqja.js} +1 -1
  145. package/dist/chunks/{kv-ratrq7cm.js → repository-fdv30zvt.js} +7 -7
  146. package/dist/chunks/{kv-aqb5rer3.js → repository-fmnw6ddm.js} +36 -36
  147. package/dist/chunks/{kv-nx39g39j.js → repository-fpvgn4t1.js} +14 -14
  148. package/dist/chunks/{kv-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{kv-m27pyyd3.js → repository-fy497h6e.js} +8 -8
  150. package/dist/chunks/{kv-szhk0a37.js → repository-fyjrpq2n.js} +5 -5
  151. package/dist/chunks/{kv-tfngb0ww.js → repository-fz21q8me.js} +4 -4
  152. package/dist/chunks/{kv-968baqck.js → repository-g2ttgsev.js} +38 -38
  153. package/dist/chunks/{kv-a9e4s6y5.js → repository-g5yyevqf.js} +4 -4
  154. package/dist/chunks/{kv-96yt6zt0.js → repository-gbtq0qkg.js} +1 -1
  155. package/dist/chunks/{kv-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{kv-0wddtmhn.js → repository-gf1vyzcg.js} +12 -12
  157. package/dist/chunks/{kv-r9babyk8.js → repository-gfwf98p3.js} +1 -1
  158. package/dist/chunks/{kv-ca40vn5a.js → repository-gpe6jd74.js} +8 -8
  159. package/dist/chunks/{kv-q931v04c.js → repository-gr925e17.js} +5 -5
  160. package/dist/chunks/{kv-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{kv-5kfhy3k0.js → repository-gxcjkrww.js} +284 -284
  162. package/dist/chunks/{kv-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  163. package/dist/chunks/{kv-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{kv-afre2yrw.js → repository-h72eb9sx.js} +30 -30
  165. package/dist/chunks/{kv-nppefrsq.js → repository-ha2ymhej.js} +16 -16
  166. package/dist/chunks/{kv-1awm1f41.js → repository-hc5nrc85.js} +14 -14
  167. package/dist/chunks/{kv-hjt4xg1x.js → repository-hjt4xg1x.js} +1 -1
  168. package/dist/chunks/{kv-h6ws6p6t.js → repository-hkwasy14.js} +32 -32
  169. package/dist/chunks/{kv-ybd0vcw2.js → repository-htdwccg2.js} +9 -9
  170. package/dist/chunks/{kv-3pb6rp4z.js → repository-hzy2m5kh.js} +24 -24
  171. package/dist/chunks/{kv-ebxxmhre.js → repository-j4jvep9r.js} +14 -14
  172. package/dist/chunks/{kv-j56e64zr.js → repository-j56e64zr.js} +1 -1
  173. package/dist/chunks/{kv-azsdtfe1.js → repository-j7as52rv.js} +13 -13
  174. package/dist/chunks/{kv-knb36ns0.js → repository-jefma2gq.js} +10 -10
  175. package/dist/chunks/{kv-etq9z835.js → repository-jfkc9b5n.js} +2 -2
  176. package/dist/chunks/{kv-drknmmyh.js → repository-jx8g4evx.js} +9 -9
  177. package/dist/chunks/{kv-bcnz578n.js → repository-jxn3d5qw.js} +2 -2
  178. package/dist/chunks/{kv-76v974f3.js → repository-jz8tty61.js} +15 -15
  179. package/dist/chunks/{kv-8jen4ca3.js → repository-k5f8wpb1.js} +16 -16
  180. package/dist/chunks/{kv-rfbwz2gh.js → repository-k7z88jgs.js} +19 -19
  181. package/dist/chunks/{kv-cmbyd9dr.js → repository-ka539jxw.js} +15 -14
  182. package/dist/chunks/{kv-edgdtr1s.js → repository-kbep69gp.js} +42 -42
  183. package/dist/chunks/{kv-2k9xzrh9.js → repository-kedqt550.js} +20 -20
  184. package/dist/chunks/{kv-75tda2q9.js → repository-kf2529h4.js} +37 -37
  185. package/dist/chunks/{kv-kg06axw8.js → repository-kg06axw8.js} +1 -1
  186. package/dist/chunks/{kv-an11pnnt.js → repository-kg0jjcwj.js} +11 -11
  187. package/dist/chunks/{kv-70fkcx2s.js → repository-kj13mq9d.js} +39 -39
  188. package/dist/chunks/{kv-tmbkz46m.js → repository-kq4ab4h1.js} +1 -1
  189. package/dist/chunks/{kv-vz1j9mmw.js → repository-kr4ape1v.js} +18 -18
  190. package/dist/chunks/{kv-yqxv12x1.js → repository-m06pgbf8.js} +29 -29
  191. package/dist/chunks/{kv-4c2a19jd.js → repository-m3rgfk03.js} +6 -6
  192. package/dist/chunks/{kv-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{kv-axmvebxj.js → repository-magykp64.js} +21 -21
  194. package/dist/chunks/{kv-a7386y5n.js → repository-majq4y6w.js} +16 -16
  195. package/dist/chunks/{kv-z69s9t6b.js → repository-mbchyd0s.js} +5 -5
  196. package/dist/chunks/{kv-csf2jhsg.js → repository-mfhfdr54.js} +4 -4
  197. package/dist/chunks/{kv-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
  198. package/dist/chunks/{kv-0t2h2sk3.js → repository-mpshf1ye.js} +5 -5
  199. package/dist/chunks/{kv-eaeq89r9.js → repository-mq52b90g.js} +10 -10
  200. package/dist/chunks/{kv-7yh4e7ss.js → repository-mvfsc1pv.js} +3 -3
  201. package/dist/chunks/{kv-wve3yzk2.js → repository-nhdt7g4d.js} +12 -12
  202. package/dist/chunks/{kv-2s81ped3.js → repository-nkdjhhay.js} +32 -32
  203. package/dist/chunks/{kv-fq6fvjs0.js → repository-nr8cezy4.js} +5 -5
  204. package/dist/chunks/{kv-vnwmzs4a.js → repository-nrk5vjbf.js} +5 -5
  205. package/dist/chunks/{kv-8f0b5v45.js → repository-ns2b79zq.js} +20 -20
  206. package/dist/chunks/{kv-nsgsffy1.js → repository-nsgsffy1.js} +3 -3
  207. package/dist/chunks/{kv-rfhs208y.js → repository-p5t1en88.js} +15 -15
  208. package/dist/chunks/{kv-h7gz2dsa.js → repository-p5vq1h1x.js} +32 -32
  209. package/dist/chunks/{kv-f3qv5bx3.js → repository-p8jw0zjb.js} +6 -6
  210. package/dist/chunks/repository-p9zbhqep.js +247 -0
  211. package/dist/chunks/{kv-j935v87r.js → repository-paphc93g.js} +2 -2
  212. package/dist/chunks/{kv-0egjfnvx.js → repository-pe4p92xe.js} +15 -15
  213. package/dist/chunks/{kv-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{kv-pknna89w.js → repository-pknna89w.js} +1 -1
  215. package/dist/chunks/{kv-g298z4kx.js → repository-ppr425jm.js} +19 -19
  216. package/dist/chunks/{kv-5zdb2bkc.js → repository-ppzcs5qe.js} +22 -22
  217. package/dist/chunks/{kv-pqx6j71q.js → repository-pxv8awr7.js} +32 -34
  218. package/dist/chunks/{kv-mhecb7s9.js → repository-q0efknh2.js} +24 -24
  219. package/dist/chunks/{kv-7aserdg0.js → repository-q5sgvk0q.js} +11 -11
  220. package/dist/chunks/{kv-fgxxhjfg.js → repository-q9y68wbv.js} +5 -5
  221. package/dist/chunks/{kv-rykrqnsz.js → repository-qfhza6js.js} +33 -18
  222. package/dist/chunks/{kv-qgn6gcr1.js → repository-qgn6gcr1.js} +1 -1
  223. package/dist/chunks/{kv-qsdy395h.js → repository-qsdy395h.js} +1 -1
  224. package/dist/chunks/repository-qtvmxc8s.js +4 -0
  225. package/dist/chunks/{kv-ja0y4ynt.js → repository-r2rry8w2.js} +15 -15
  226. package/dist/chunks/{kv-2jmaghvr.js → repository-r33ff4dw.js} +6 -6
  227. package/dist/chunks/{kv-9j28mq2b.js → repository-r3pdfb8a.js} +27 -27
  228. package/dist/chunks/{kv-hwewrxtp.js → repository-rm2yqhr0.js} +15 -15
  229. package/dist/chunks/{kv-m520pkxe.js → repository-s3fhdh3x.js} +18 -18
  230. package/dist/chunks/{kv-cenmv2f9.js → repository-s644107t.js} +2 -2
  231. package/dist/chunks/{kv-n76fdqym.js → repository-s7hhpcvx.js} +5 -5
  232. package/dist/chunks/{kv-gcybaz41.js → repository-s7zz1j9y.js} +31 -31
  233. package/dist/chunks/{kv-vncycja5.js → repository-sx1n432n.js} +4 -4
  234. package/dist/chunks/{kv-twy35tz0.js → repository-t0x5rdq8.js} +9 -9
  235. package/dist/chunks/{kv-t550f9t1.js → repository-t550f9t1.js} +1 -1
  236. package/dist/chunks/{kv-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{kv-89znhe33.js → repository-tcezcvh9.js} +4 -4
  238. package/dist/chunks/{kv-tdstcens.js → repository-tdstcens.js} +1 -1
  239. package/dist/chunks/{kv-wz6f4x3q.js → repository-tjq77wbb.js} +19 -19
  240. package/dist/chunks/{kv-yx1b2vz2.js → repository-tq3hxdpy.js} +49 -49
  241. package/dist/chunks/{kv-tvtrv512.js → repository-tvtrv512.js} +1 -1
  242. package/dist/chunks/{kv-06x8he3q.js → repository-tz4n1mmd.js} +4 -4
  243. package/dist/chunks/{kv-a08t2777.js → repository-v34has66.js} +11 -11
  244. package/dist/chunks/{kv-nafsrqg5.js → repository-v7rvz788.js} +27 -27
  245. package/dist/chunks/{kv-trvfwcf3.js → repository-vd9p42jh.js} +34 -34
  246. package/dist/chunks/{kv-veqvce7d.js → repository-veqvce7d.js} +1 -1
  247. package/dist/chunks/{kv-9wjnegnz.js → repository-vyqn3nqs.js} +6 -6
  248. package/dist/chunks/{kv-231m2dt6.js → repository-vz71brqr.js} +6 -6
  249. package/dist/chunks/{kv-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{kv-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{kv-cz2808j2.js → repository-w48xm36n.js} +9 -9
  252. package/dist/chunks/{kv-7nmf5ssc.js → repository-w68crq9a.js} +24 -24
  253. package/dist/chunks/{kv-qdhh6c6w.js → repository-w6kysxt2.js} +7 -7
  254. package/dist/chunks/{kv-wd87259q.js → repository-wd87259q.js} +1 -1
  255. package/dist/chunks/{kv-axawr4n3.js → repository-wg3j617h.js} +15 -15
  256. package/dist/chunks/{kv-0fr0exqw.js → repository-wny5a0c2.js} +28 -28
  257. package/dist/chunks/{kv-qk0gpxf2.js → repository-wpm2rk0p.js} +6 -6
  258. package/dist/chunks/{kv-w61n6csx.js → repository-wt0zt129.js} +25 -25
  259. package/dist/chunks/{kv-fgh0kbhd.js → repository-wxyreeq2.js} +1 -1
  260. package/dist/chunks/{kv-nberrbqf.js → repository-x0nxw1am.js} +3 -3
  261. package/dist/chunks/{kv-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{kv-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
  263. package/dist/chunks/{kv-barmx2sx.js → repository-xarast0t.js} +4 -4
  264. package/dist/chunks/{kv-pc89afeg.js → repository-xcq99e6n.js} +11 -11
  265. package/dist/chunks/{kv-f2tmy4z7.js → repository-xevndded.js} +23 -23
  266. package/dist/chunks/{kv-y6ttfmkw.js → repository-xqpzppg3.js} +16 -16
  267. package/dist/chunks/{kv-2w8771a9.js → repository-xz57177z.js} +46 -46
  268. package/dist/chunks/{kv-b2rq0zs9.js → repository-y0s3dbwc.js} +4 -4
  269. package/dist/chunks/{kv-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{kv-s60tm16d.js → repository-y5qdajv2.js} +10 -10
  271. package/dist/chunks/{kv-pxt4kznk.js → repository-y6f0p4jw.js} +2 -2
  272. package/dist/chunks/{kv-y71avatq.js → repository-y71avatq.js} +1 -1
  273. package/dist/chunks/{kv-hbkrh4y4.js → repository-y8vfbp1t.js} +3 -3
  274. package/dist/chunks/{kv-0a9nes1v.js → repository-ydwbxywx.js} +15 -15
  275. package/dist/chunks/{kv-cd63sa4g.js → repository-ygm68jz5.js} +18 -18
  276. package/dist/chunks/{kv-jv01nqvq.js → repository-yjptyezs.js} +5 -5
  277. package/dist/chunks/{kv-1acjjqhc.js → repository-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{kv-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{kv-s4enseaf.js → repository-yrznvahk.js} +2 -2
  280. package/dist/chunks/{kv-06c7t6vr.js → repository-yw2dvzw4.js} +13 -9
  281. package/dist/chunks/{kv-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{kv-8cf7d7hg.js → repository-z399x6eb.js} +17 -17
  283. package/dist/chunks/{kv-29x78va6.js → repository-z63w68vq.js} +6 -6
  284. package/dist/chunks/{kv-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{kv-wm3463ak.js → repository-zeqg0xp7.js} +25 -25
  286. package/dist/chunks/{kv-38zh3dk0.js → repository-zewav7xs.js} +15 -15
  287. package/dist/chunks/{kv-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{kv-2m27ke96.js → repository-zx243jn3.js} +28 -28
  289. package/dist/chunks/{kv-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +3 -3
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +83 -83
  294. package/dist/config/discovery.js +79 -79
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +115 -115
  298. package/dist/config/plugin/command.js +207 -207
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +117 -117
  305. package/dist/config/plugin/mcp.js +124 -124
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +134 -134
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +115 -115
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +113 -113
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +115 -115
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +77 -77
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +11 -11
  425. package/dist/filesystem.js +100 -100
  426. package/dist/form.js +82 -82
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +82 -82
  429. package/dist/generate.js +91 -91
  430. package/dist/git.js +7 -7
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +3 -3
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +77 -77
  456. package/dist/instructions/builtins.js +78 -78
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +84 -84
  460. package/dist/job.js +75 -75
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +131 -131
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +81 -81
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +97 -97
  470. package/dist/mcp/instructions.js +120 -120
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +3 -3
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +10 -10
  477. package/dist/models-dev.js +86 -86
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +80 -80
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +110 -110
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +86 -86
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +97 -97
  488. package/dist/plugin/command.js +94 -94
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +78 -78
  524. package/dist/plugin/provider/opencode.js +79 -79
  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 +76 -76
  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 +117 -117
  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 +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +72 -72
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +131 -131
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +341 -341
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +80 -80
  546. package/dist/plugin/warming.js +110 -110
  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 +8 -8
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin.js +220 -220
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +85 -85
  557. package/dist/provider.js +7 -7
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +92 -92
  562. package/dist/reference/instructions.js +82 -82
  563. package/dist/reference.js +84 -84
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +93 -93
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +127 -127
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +219 -219
  577. package/dist/session/execution.js +122 -122
  578. package/dist/session/generate.js +146 -146
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +86 -86
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +119 -119
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +3 -3
  604. package/dist/session/session.js +167 -167
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +73 -73
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +149 -149
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +218 -218
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +11 -11
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +100 -100
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +121 -121
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +210 -210
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +107 -107
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/types/model-resolver.d.ts +2 -0
  650. package/dist/types/model.d.ts +1 -0
  651. package/dist/types/provider.d.ts +1 -0
  652. package/dist/types/session/runner/model.d.ts +1 -0
  653. package/dist/types/v1/config/migrate.d.ts +2 -0
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +2 -2
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +4 -4
  667. package/dist/v1/config/formatter.js +5 -5
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +4 -4
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +1 -1
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +85 -85
  681. package/dist/websearch.js +82 -82
  682. package/dist/wellknown/plugin.js +74 -74
  683. package/dist/wellknown.js +77 -77
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +76 -76
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +5 -5
  689. package/dist/worktree/refresh.js +342 -342
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree.js +89 -89
  692. package/package.json +8 -8
  693. package/dist/chunks/kv-4zbw9bfp.js +0 -247
  694. package/dist/chunks/kv-619r8v3y.js +0 -18
  695. package/dist/chunks/kv-6kdq0pjd.js +0 -4
  696. /package/dist/chunks/{kv-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{kv-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{kv-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{kv-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{kv-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{kv-2710q6r3.js → repository-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{kv-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{kv-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{kv-359p4xyc.js → repository-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{kv-3asan66x.js → repository-3asan66x.js} +0 -0
  706. /package/dist/chunks/{kv-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{kv-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{kv-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{kv-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{kv-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{kv-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{kv-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{kv-53557ph1.js → repository-53557ph1.js} +0 -0
  714. /package/dist/chunks/{kv-550bvhaj.js → repository-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{kv-6prwharc.js → repository-6prwharc.js} +0 -0
  716. /package/dist/chunks/{kv-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{kv-7m9af43g.js → repository-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{kv-822emrt2.js → repository-822emrt2.js} +0 -0
  719. /package/dist/chunks/{kv-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{kv-8n3pysct.js → repository-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{kv-922hggd3.js → repository-922hggd3.js} +0 -0
  722. /package/dist/chunks/{kv-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{kv-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{kv-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{kv-af5trqkr.js → repository-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{kv-afrmfg78.js → repository-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{kv-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{kv-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{kv-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{kv-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{kv-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{kv-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{kv-d9fn303g.js → repository-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{kv-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{kv-dajrwvna.js → repository-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{kv-dap0rakb.js → repository-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{kv-df08tz66.js → repository-df08tz66.js} +0 -0
  738. /package/dist/chunks/{kv-dy18nga0.js → repository-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{kv-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{kv-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{kv-ec1grn59.js → repository-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{kv-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{kv-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{kv-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{kv-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{kv-faypxj3z.js → repository-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{kv-fd410y7t.js → repository-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{kv-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{kv-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{kv-g86h250q.js → repository-g86h250q.js} +0 -0
  751. /package/dist/chunks/{kv-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{kv-gftt206x.js → repository-gftt206x.js} +0 -0
  753. /package/dist/chunks/{kv-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{kv-hk9envan.js → repository-hk9envan.js} +0 -0
  755. /package/dist/chunks/{kv-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{kv-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{kv-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{kv-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{kv-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{kv-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{kv-mp448xyj.js → repository-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{kv-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{kv-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{kv-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{kv-njntx4h6.js → repository-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{kv-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{kv-q74kybfr.js → repository-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{kv-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{kv-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{kv-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{kv-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{kv-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{kv-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{kv-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{kv-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{kv-twg0f83k.js → repository-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{kv-w803qqfp.js → repository-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{kv-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{kv-wtztk69x.js → repository-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{kv-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{kv-x61499pn.js → repository-x61499pn.js} +0 -0
  782. /package/dist/chunks/{kv-y44na4kk.js → repository-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{kv-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{kv-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{kv-ym463w8f.js → repository-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{kv-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./kv-ec1grn59.js";
3
+ } from "./repository-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./kv-tdstcens.js";
6
+ } from "./repository-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID18,
2
+ ID6,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./kv-m27pyyd3.js";
5
+ } from "./repository-fy497h6e.js";
6
6
  import {
7
- ID17
8
- } from "./kv-1awm1f41.js";
7
+ ID5
8
+ } from "./repository-hc5nrc85.js";
9
9
  import {
10
- Service76
11
- } from "./kv-y6ttfmkw.js";
10
+ Service79
11
+ } from "./repository-xqpzppg3.js";
12
12
  import {
13
13
  OAuth3,
14
- Event20
15
- } from "./kv-kg5y7jy3.js";
14
+ Event17
15
+ } from "./repository-1mr1b0wr.js";
16
16
  import {
17
- ID14,
17
+ ID11,
18
18
  MethodID2
19
- } from "./kv-yfkq0gfv.js";
19
+ } from "./repository-0n0mhreg.js";
20
20
  import {
21
- Service72
22
- } from "./kv-dntgyp5f.js";
21
+ Service49
22
+ } from "./repository-6hhx0jg1.js";
23
23
  import {
24
24
  get2
25
- } from "./kv-a08t2777.js";
25
+ } from "./repository-v34has66.js";
26
26
  import {
27
27
  useragent2
28
- } from "./kv-4zf1v1ax.js";
28
+ } from "./repository-epg4pcgt.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID14.make("github-copilot"),
60
+ integrationID: ID11.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,8 +155,8 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service72;
159
- const bus = yield* Service76;
158
+ const catalog = yield* Service49;
159
+ const bus = yield* Service79;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
162
162
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID18.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID6.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID6.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
176
  try: () => get2(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID18.githubCopilot);
190
+ const item = evt.provider.get(ID6.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID17.make(id)))
195
+ if (!loaded.models.has(ID5.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID17.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID17.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID5.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID5.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID18.githubCopilot)
220
+ if (evt.model.providerID !== ID6.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID18.githubCopilot)
229
+ if (evt.model.providerID !== ID6.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
236
236
  evt.headers["X-Interaction-Id"] = evt.sessionID;
237
237
  if (interaction !== "conversation-agent")
238
238
  evt.headers["x-initiator"] = "agent";
239
- }), { providerID: ID18.githubCopilot });
239
+ }), { providerID: ID6.githubCopilot });
240
240
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID18.githubCopilot)
241
+ if (evt.model.providerID !== ID6.githubCopilot)
242
242
  return;
243
243
  const token = evt.request.headers.get("x-api-key");
244
244
  if (!token)
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
246
246
  const text = yield* Effect.promise(() => evt.request.clone().text());
247
247
  const body = Option.getOrUndefined(decodeBody(text));
248
248
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
249
- }), { providerID: ID18.githubCopilot });
249
+ }), { providerID: ID6.githubCopilot });
250
250
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
251
- if (evt.model.providerID !== ID18.githubCopilot)
251
+ if (evt.model.providerID !== ID6.githubCopilot)
252
252
  return;
253
253
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
254
254
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service80
3
- } from "./kv-drknmmyh.js";
2
+ Service51
3
+ } from "./repository-jx8g4evx.js";
4
4
  import {
5
- Service41
6
- } from "./kv-3c1tgrea.js";
5
+ Service37
6
+ } from "./repository-asn1qnte.js";
7
7
  import {
8
8
  detect2
9
- } from "./kv-3smtnn6g.js";
9
+ } from "./repository-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./kv-619r8v3y.js";
12
+ } from "./repository-dxj72tfx.js";
13
13
  import {
14
- Service79
15
- } from "./kv-p7kse70a.js";
14
+ Service60
15
+ } from "./repository-1vtz46z8.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./kv-43k56ejq.js";
19
+ } from "./repository-6vjnk7fh.js";
20
20
  import {
21
21
  prepare3,
22
- Service45
23
- } from "./kv-2m27ke96.js";
22
+ Service46
23
+ } from "./repository-zx243jn3.js";
24
24
  import {
25
25
  __export
26
- } from "./kv-9rqn6x4v.js";
26
+ } from "./repository-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service41;
42
+ const instances = yield* Service37;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service79;
45
+ const hooks = yield* Service60;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service45;
64
+ const skillService = yield* Service46;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
125
125
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
126
126
  if (!mime.startsWith("image/"))
127
127
  return { data: Base64.make(data), mime };
128
- const image = yield* Service80;
128
+ const image = yield* Service51;
129
129
  const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
130
130
  const content = { uri: label, content: data, encoding: "base64", mime };
131
131
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID18
3
- } from "./kv-m27pyyd3.js";
2
+ ID6
3
+ } from "./repository-fy497h6e.js";
4
4
  import {
5
5
  __export
6
- } from "./kv-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/model.ts
9
9
  var exports_model2 = {};
@@ -12,25 +12,25 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID17,
16
- Info: () => Info32,
15
+ ID: () => ID5,
16
+ Info: () => Info18,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
- Ref: () => Ref4,
19
+ Ref: () => Ref2,
20
20
  VariantID: () => VariantID2,
21
21
  compatibility: () => compatibility2,
22
- parse: () => parse5
22
+ parse: () => parse4
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
- var ID17 = Model.ID;
25
+ var ID5 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
29
29
  var Compatibility2 = Model.Compatibility;
30
30
  var Capabilities2 = Model.Capabilities;
31
31
  var Cost2 = Model.Cost;
32
- var Ref4 = Model.Ref;
33
- var Info32 = Model.Info;
32
+ var Ref2 = Model.Ref;
33
+ var Info18 = Model.Info;
34
34
  function compatibility2(input) {
35
35
  if (typeof input === "string")
36
36
  return { reasoningField: input };
@@ -38,12 +38,12 @@ function compatibility2(input) {
38
38
  return;
39
39
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
40
40
  }
41
- function parse5(input) {
41
+ function parse4(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID18.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID17.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID6.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID5.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID17, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref4, Info32, compatibility2, parse5, exports_model2 };
49
+ export { ID5, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info18, compatibility2, parse4, exports_model2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./kv-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
- Service65,
6
- node70
7
- } from "./kv-8cf7d7hg.js";
5
+ Service76,
6
+ node81
7
+ } from "./repository-z399x6eb.js";
8
8
  import {
9
- Service62,
10
- node66
11
- } from "./kv-m520pkxe.js";
9
+ Service16,
10
+ node19
11
+ } from "./repository-s3fhdh3x.js";
12
12
  import {
13
13
  isHome2,
14
- names4
15
- } from "./kv-89znhe33.js";
14
+ names3
15
+ } from "./repository-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./kv-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options10,
25
- Service: () => Service61,
26
- configured: () => configured10,
24
+ Options: () => Options2,
25
+ Service: () => Service15,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer22,
29
- node: () => node65,
28
+ layer: () => layer8,
29
+ node: () => node18,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options10 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service61 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service61, Effect.gen(function* () {
62
- const location = yield* Service65;
63
- const ripgrep = yield* Service62;
61
+ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
62
+ const location = yield* Service76;
63
+ const ripgrep = yield* Service16;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service61, Effect.gen(function* () {
77
77
  cwd: location.directory,
78
78
  pattern: "*",
79
79
  limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
80
- exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
80
+ exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
81
81
  onEntry: (entry) => Effect.sync(() => {
82
82
  next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
83
83
  const parts = entry.path.split("/");
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service61, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service61.of({
108
+ return Service15.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
116
- const location = yield* Service65;
115
+ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
116
+ const location = yield* Service76;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service61.of({
129
+ return Service15.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service61.of({
134
+ return Service15.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer22 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service65;
177
+ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service76;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured10(options) {
186
- return makeLocationNode({ service: Service61, layer: layer22(options), deps: [node70, node66] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node81, node19] });
187
187
  }
188
- var node65 = configured10();
188
+ var node18 = configured2();
189
189
 
190
- export { Options10, Service61, ripgrepLayer2, fffLayer2, layer22, configured10, node65, exports_search };
190
+ export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node18, exports_search };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service65
3
- } from "./kv-8cf7d7hg.js";
2
+ Service76
3
+ } from "./repository-z399x6eb.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2,
9
9
  chunksByFile2
10
- } from "./kv-tazgh4e4.js";
10
+ } from "./repository-tazgh4e4.js";
11
11
  import {
12
12
  DiffError2
13
- } from "./kv-rpgbr9ce.js";
13
+ } from "./repository-4v5k2jq1.js";
14
14
  import {
15
15
  __export
16
- } from "./kv-9rqn6x4v.js";
16
+ } from "./repository-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/vcs/git.ts
19
19
  var exports_git = {};
20
20
  __export(exports_git, {
21
- Plugin: () => Plugin33,
21
+ Plugin: () => Plugin31,
22
22
  VcsGitPlugin: () => exports_git
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { Effect } from "effect";
26
26
  import { ChildProcess } from "effect/unstable/process";
27
27
  import { AppProcess } from "@opencode/util/process";
28
- var Plugin33 = define({
28
+ var Plugin31 = define({
29
29
  id: "opencode.vcs.git",
30
30
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
31
- const location = yield* Service65;
31
+ const location = yield* Service76;
32
32
  if (location.vcs?.type !== "git")
33
33
  return;
34
34
  const processes = yield* AppProcess.Service;
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
467
467
  return yield* diffAgainstRef(ctx, ref, options);
468
468
  });
469
469
 
470
- export { Plugin33, exports_git };
470
+ export { Plugin31, exports_git };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./kv-3w5fmr99.js";
7
+ } from "./repository-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./kv-x43y2vfs.js";
11
+ } from "./repository-x43y2vfs.js";
12
12
  import {
13
13
  create3
14
- } from "./kv-kg06axw8.js";
14
+ } from "./repository-kg06axw8.js";
15
15
  import {
16
- Service80,
17
- node85
18
- } from "./kv-drknmmyh.js";
16
+ Service51,
17
+ node54
18
+ } from "./repository-jx8g4evx.js";
19
19
  import {
20
- Service79,
21
- node84
22
- } from "./kv-p7kse70a.js";
20
+ Service60,
21
+ node63
22
+ } from "./repository-1vtz46z8.js";
23
23
  import {
24
24
  match2
25
- } from "./kv-y1fvbwt7.js";
25
+ } from "./repository-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./kv-9rqn6x4v.js";
28
+ } from "./repository-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error5,
35
+ Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service78,
38
+ Service: () => Service41,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node83
41
+ node: () => node44
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service78 extends Context.Service()("@opencode/Tool") {
54
+ class Service41 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service78, Effect.gen(function* () {
57
- const hooks = yield* Service79;
58
- const image = yield* Service80;
56
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
57
+ const hooks = yield* Service60;
58
+ const image = yield* Service51;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service78.of({
183
+ return Service41.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node83 = makeLocationNode({
266
- service: Service78,
265
+ var node44 = makeLocationNode({
266
+ service: Service41,
267
267
  layer,
268
- deps: [node84, node85]
268
+ deps: [node63, node54]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service78, node83, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service41, node44, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service77
3
- } from "./kv-eqn55phe.js";
2
+ Service80
3
+ } from "./repository-bragb0zt.js";
4
4
  import {
5
- Service41
6
- } from "./kv-3c1tgrea.js";
5
+ Service37
6
+ } from "./repository-asn1qnte.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./kv-619r8v3y.js";
9
+ } from "./repository-dxj72tfx.js";
10
10
  import {
11
11
  provenance2
12
- } from "./kv-csf2jhsg.js";
12
+ } from "./repository-mfhfdr54.js";
13
13
  import {
14
14
  preview2
15
- } from "./kv-e4wgfgxg.js";
15
+ } from "./repository-e6z046pm.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./kv-pqx6j71q.js";
18
+ } from "./repository-pxv8awr7.js";
19
19
  import {
20
- Service25
21
- } from "./kv-55xz4zh9.js";
20
+ Service22
21
+ } from "./repository-es9es8em.js";
22
22
  import {
23
23
  __export
24
- } from "./kv-9rqn6x4v.js";
24
+ } from "./repository-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate = {};
@@ -32,12 +32,12 @@ __export(exports_generate, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service41;
36
- const database = yield* Service77;
35
+ const instances = yield* Service37;
36
+ const database = yield* Service80;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service25;
40
+ const context = yield* Service22;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};