@opencode-ai/core 0.0.0-beta-17595 → 0.0.0-beta-17727

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 (802) hide show
  1. package/dist/account/sql.js +2 -2
  2. package/dist/agent.js +72 -72
  3. package/dist/aisdk-native.js +3 -3
  4. package/dist/aisdk.js +4 -4
  5. package/dist/app.js +2 -2
  6. package/dist/bus.js +70 -70
  7. package/dist/catalog.js +80 -80
  8. package/dist/chunks/index-8jqmqb92.js +1 -1
  9. package/dist/chunks/{file-vks3mnpp.js → schema-00ryvvet.js} +11 -11
  10. package/dist/chunks/{file-02dbfq60.js → schema-02dbfq60.js} +1 -1
  11. package/dist/chunks/{file-gdndr5ds.js → schema-051fcmk5.js} +3 -3
  12. package/dist/chunks/{file-a4004nss.js → schema-060vc3kf.js} +88 -84
  13. package/dist/chunks/{file-j2f50m4s.js → schema-0b6ye7sf.js} +3 -3
  14. package/dist/chunks/{file-06h1zy40.js → schema-0cg1pw0s.js} +6 -6
  15. package/dist/chunks/{file-0kvmztkf.js → schema-0kvmztkf.js} +1 -1
  16. package/dist/chunks/{file-60c0k1qy.js → schema-0whbcza1.js} +5 -5
  17. package/dist/chunks/{file-xt2bapaq.js → schema-10gxy53r.js} +23 -17
  18. package/dist/chunks/{file-bn7p95jq.js → schema-10vxyagq.js} +10 -10
  19. package/dist/chunks/{file-027bgpms.js → schema-18kwzasz.js} +14 -14
  20. package/dist/chunks/{file-18pv8fg3.js → schema-18pv8fg3.js} +2 -2
  21. package/dist/chunks/{file-4223r8y8.js → schema-192rdx49.js} +3 -3
  22. package/dist/chunks/{file-04kwjb53.js → schema-19e1vard.js} +36 -4
  23. package/dist/chunks/{file-1c00jchy.js → schema-1c00jchy.js} +2 -2
  24. package/dist/chunks/{file-bbmh2dfw.js → schema-1g6t86sn.js} +2 -2
  25. package/dist/chunks/{file-p3zwavty.js → schema-1h0r72pv.js} +11 -3
  26. package/dist/chunks/{file-1xksxgzs.js → schema-1xksxgzs.js} +2 -2
  27. package/dist/chunks/{file-6t84bth1.js → schema-23pmvn2v.js} +31 -26
  28. package/dist/chunks/schema-250jcrxb.js +94 -0
  29. package/dist/chunks/{file-25pxtba7.js → schema-25pxtba7.js} +1 -1
  30. package/dist/chunks/{file-w5c5ggfg.js → schema-273j09zv.js} +10 -10
  31. package/dist/chunks/{file-8dwkjrbx.js → schema-2akqrmqf.js} +1 -1
  32. package/dist/chunks/{file-h7hxhz5s.js → schema-2mnqe42c.js} +6 -6
  33. package/dist/chunks/{file-2nmyybe0.js → schema-2nmyybe0.js} +1 -1
  34. package/dist/chunks/{file-szsnfq8s.js → schema-2p32b2ay.js} +106 -43
  35. package/dist/chunks/{file-8ss9enjp.js → schema-3567cphc.js} +3 -3
  36. package/dist/chunks/schema-35pj6hnw.js +40 -0
  37. package/dist/chunks/{file-trvnbm2r.js → schema-360p66gh.js} +4 -4
  38. package/dist/chunks/schema-395s1dxw.js +38 -0
  39. package/dist/chunks/schema-3at269ck.js +118 -0
  40. package/dist/chunks/{file-3g8vftxb.js → schema-3g8vftxb.js} +2 -2
  41. package/dist/chunks/{file-pxh2y4mp.js → schema-3nf0hvzp.js} +4 -4
  42. package/dist/chunks/{file-3thh6229.js → schema-3thh6229.js} +2 -2
  43. package/dist/chunks/{file-2wqqqft7.js → schema-41awt1t8.js} +2 -2
  44. package/dist/chunks/{file-42q4drvy.js → schema-42q4drvy.js} +2 -2
  45. package/dist/chunks/{file-4wnw1v48.js → schema-46yj76vd.js} +9 -9
  46. package/dist/chunks/{file-n32fctmg.js → schema-4ayp890x.js} +26 -10
  47. package/dist/chunks/{file-4s2xwh5d.js → schema-4s2xwh5d.js} +3 -3
  48. package/dist/chunks/{file-8b8db9dn.js → schema-4ye66y0n.js} +4 -4
  49. package/dist/chunks/{file-4zzdwbaz.js → schema-4zzdwbaz.js} +2 -2
  50. package/dist/chunks/{file-ttdn9mvh.js → schema-50epqr84.js} +9 -9
  51. package/dist/chunks/{file-50jxp3hw.js → schema-50jxp3hw.js} +1 -1
  52. package/dist/chunks/{file-52jzav25.js → schema-52jzav25.js} +1 -1
  53. package/dist/chunks/{file-57tzwnz4.js → schema-57tzwnz4.js} +1 -1
  54. package/dist/chunks/{file-5rs65q6p.js → schema-5rs65q6p.js} +1 -1
  55. package/dist/chunks/{file-5vcssjzn.js → schema-5vcssjzn.js} +1 -1
  56. package/dist/chunks/{file-cvh8045m.js → schema-5yea2tah.js} +2 -2
  57. package/dist/chunks/{file-9tgd1sa0.js → schema-62mb2nss.js} +66 -51
  58. package/dist/chunks/{file-6ky7rqk7.js → schema-6ky7rqk7.js} +1 -1
  59. package/dist/chunks/{file-xkapkgm1.js → schema-6pwv4qxp.js} +8 -8
  60. package/dist/chunks/{file-vacr5vr5.js → schema-6q0m15b3.js} +2 -2
  61. package/dist/chunks/{file-x143q1e8.js → schema-6qwdf3jx.js} +10 -10
  62. package/dist/chunks/{file-66ww2ke6.js → schema-6y9t5t54.js} +2 -2
  63. package/dist/chunks/{file-706a4azd.js → schema-706a4azd.js} +1 -1
  64. package/dist/chunks/{file-vhn5tvvs.js → schema-74q86k11.js} +7 -7
  65. package/dist/chunks/{file-zx1bs0qm.js → schema-7c1dg35e.js} +3 -3
  66. package/dist/chunks/{file-7mrpdsq5.js → schema-7mrpdsq5.js} +1 -1
  67. package/dist/chunks/{file-wamspyg8.js → schema-7q1h4qqg.js} +5 -5
  68. package/dist/chunks/{file-7wcmqxrc.js → schema-7wcmqxrc.js} +1 -1
  69. package/dist/chunks/{file-qy071k7t.js → schema-7xm5mbbb.js} +3 -3
  70. package/dist/chunks/{file-tfpq1akv.js → schema-7z0bpvtb.js} +10 -10
  71. package/dist/chunks/{file-hcypmxj6.js → schema-7z840kdh.js} +17 -17
  72. package/dist/chunks/{file-88jbfw8z.js → schema-88jbfw8z.js} +2 -2
  73. package/dist/chunks/{file-hsyk7kfz.js → schema-8bkmtpp6.js} +5 -5
  74. package/dist/chunks/{file-xjreyxj2.js → schema-8k08086v.js} +1 -1
  75. package/dist/chunks/{file-nthsreft.js → schema-8m21gddp.js} +12 -12
  76. package/dist/chunks/{file-b1jt21vx.js → schema-8meqn0qj.js} +7 -7
  77. package/dist/chunks/{file-zh6p9k71.js → schema-8nvwj8vn.js} +6 -6
  78. package/dist/chunks/{file-8v47shgf.js → schema-8v47shgf.js} +2 -2
  79. package/dist/chunks/{file-b4j6ey0s.js → schema-8zhast2r.js} +11 -11
  80. package/dist/chunks/{file-93qdgxxd.js → schema-93qdgxxd.js} +1 -1
  81. package/dist/chunks/{file-999qd968.js → schema-999qd968.js} +1 -1
  82. package/dist/chunks/{file-9d2xhdr4.js → schema-9d2xhdr4.js} +3 -3
  83. package/dist/chunks/{file-9f0rnpkn.js → schema-9f0rnpkn.js} +1 -1
  84. package/dist/chunks/{file-mzdzk01c.js → schema-9hpzhr6v.js} +9 -7
  85. package/dist/chunks/{file-f6a73nhd.js → schema-9qp6gb3m.js} +5 -4
  86. package/dist/chunks/{file-ngrtxfq1.js → schema-a231zq3c.js} +2 -2
  87. package/dist/chunks/{file-a65h300v.js → schema-a65h300v.js} +2 -2
  88. package/dist/chunks/{file-tr01v5pk.js → schema-a94tf2t8.js} +3 -3
  89. package/dist/chunks/{file-jwcdbjdr.js → schema-atc09b0q.js} +2 -2
  90. package/dist/chunks/{file-gxmfza0d.js → schema-atwe5a3v.js} +30 -30
  91. package/dist/chunks/{file-ayfwnm78.js → schema-ayfwnm78.js} +2 -2
  92. package/dist/chunks/{file-px7n0cd3.js → schema-b25zdeh7.js} +1 -1
  93. package/dist/chunks/schema-b3ds2mtq.js +36 -0
  94. package/dist/chunks/{file-s9f13v9h.js → schema-b8rm84kg.js} +2 -2
  95. package/dist/chunks/{file-aejdne0e.js → schema-bfjhgcka.js} +2 -2
  96. package/dist/chunks/{file-0x2z9q12.js → schema-bh0x2mrx.js} +8 -8
  97. package/dist/chunks/{file-18vh565s.js → schema-bhv5mzwt.js} +7 -7
  98. package/dist/chunks/{file-byab506k.js → schema-byab506k.js} +1 -1
  99. package/dist/chunks/{file-1w0svdh3.js → schema-bzbxgfwx.js} +2 -2
  100. package/dist/chunks/{file-f3rqrz1h.js → schema-c4pr1nyj.js} +3 -3
  101. package/dist/chunks/{file-20fnfdqj.js → schema-csp12q11.js} +10 -10
  102. package/dist/chunks/{file-en0j70s6.js → schema-cz2t2fc1.js} +3 -3
  103. package/dist/chunks/{file-cz3dkvcz.js → schema-cz3dkvcz.js} +1 -1
  104. package/dist/chunks/{file-ry4vhh7y.js → schema-d410ggef.js} +69 -38
  105. package/dist/chunks/{file-vwqhfv9a.js → schema-d8yk8dmg.js} +87 -75
  106. package/dist/chunks/{file-s6e3c6h1.js → schema-dex4g67x.js} +5 -5
  107. package/dist/chunks/{file-dhphtf1x.js → schema-dhphtf1x.js} +1 -1
  108. package/dist/chunks/{file-9jr1552g.js → schema-dk5s7bze.js} +5 -5
  109. package/dist/chunks/{file-38crwsq8.js → schema-dman5pj0.js} +9 -3
  110. package/dist/chunks/{file-70krbkh8.js → schema-dvtrg9yb.js} +4 -3
  111. package/dist/chunks/{file-ek4bes0b.js → schema-dyyjf1ar.js} +5 -5
  112. package/dist/chunks/{file-dyz5q1tb.js → schema-dyz5q1tb.js} +2 -2
  113. package/dist/chunks/{file-e1z9a0ts.js → schema-e1z9a0ts.js} +2 -2
  114. package/dist/chunks/schema-e24rm1tf.js +81 -0
  115. package/dist/chunks/{file-zxg28mmk.js → schema-e8vwgqms.js} +5 -5
  116. package/dist/chunks/{file-zj2qv98r.js → schema-e93xz9yp.js} +37 -41
  117. package/dist/chunks/{file-ec8vrfw5.js → schema-ec8vrfw5.js} +1 -1
  118. package/dist/chunks/{file-fvw35s1f.js → schema-eewexb7m.js} +6 -7
  119. package/dist/chunks/{file-erj4j75s.js → schema-erj4j75s.js} +1 -1
  120. package/dist/chunks/{file-eyk9wdct.js → schema-eyk9wdct.js} +2 -2
  121. package/dist/chunks/{file-y3ys4sce.js → schema-ezceyxgn.js} +3 -3
  122. package/dist/chunks/schema-ezr77j7d.js +76 -0
  123. package/dist/chunks/{file-f05p34aa.js → schema-f05p34aa.js} +3 -3
  124. package/dist/chunks/{file-gndxty6r.js → schema-f292tb9m.js} +16 -82
  125. package/dist/chunks/{file-wt193r4g.js → schema-f2kz495y.js} +2 -2
  126. package/dist/chunks/{file-64bdc2sf.js → schema-f86pb1d3.js} +3 -3
  127. package/dist/chunks/{file-fcefwnba.js → schema-fgvm1ve0.js} +10 -10
  128. package/dist/chunks/{file-0zs4qnv1.js → schema-fjtxtbhx.js} +4 -4
  129. package/dist/chunks/{file-z3nf8g8y.js → schema-fqxzsdmq.js} +2 -2
  130. package/dist/chunks/{file-vm3prpn4.js → schema-g790236b.js} +1 -1
  131. package/dist/chunks/{file-g9yygpzr.js → schema-g9yygpzr.js} +1 -1
  132. package/dist/chunks/{file-gcay93cp.js → schema-gcay93cp.js} +1 -1
  133. package/dist/chunks/{file-gd2xppx8.js → schema-gd2xppx8.js} +1 -1
  134. package/dist/chunks/schema-gp1p5nz4.js +55 -0
  135. package/dist/chunks/{file-c53n3hjv.js → schema-gz765asg.js} +2 -2
  136. package/dist/chunks/{file-4adhyg6m.js → schema-gzjf1jk5.js} +9 -9
  137. package/dist/chunks/{file-h8ecejt5.js → schema-h8ecejt5.js} +1 -1
  138. package/dist/chunks/{file-ywrrwgdd.js → schema-h8vsb53f.js} +6 -6
  139. package/dist/chunks/{file-7n13pnta.js → schema-hg5p6bzj.js} +6 -7
  140. package/dist/chunks/{file-va2xjmjn.js → schema-hwmywmxa.js} +14 -14
  141. package/dist/chunks/{file-f7evhwkg.js → schema-hxgabpg5.js} +10 -10
  142. package/dist/chunks/{file-j1a5h53y.js → schema-j1a5h53y.js} +1 -1
  143. package/dist/chunks/{file-9q7032rn.js → schema-j7gsmv3x.js} +10 -10
  144. package/dist/chunks/{file-v0ktexvy.js → schema-je6m2rhy.js} +2 -2
  145. package/dist/chunks/{file-3755670m.js → schema-jpbqgcgm.js} +24 -24
  146. package/dist/chunks/{file-jqkpryhn.js → schema-jqkpryhn.js} +4 -4
  147. package/dist/chunks/{file-jssy2dr3.js → schema-jssy2dr3.js} +2 -2
  148. package/dist/chunks/{file-kjkmrs65.js → schema-jt4wm1df.js} +65 -12
  149. package/dist/chunks/{file-cn5vww2k.js → schema-kbqjbq4z.js} +8 -8
  150. package/dist/chunks/{file-kzj2xtdg.js → schema-kctehe0f.js} +16 -16
  151. package/dist/chunks/{file-3s7e2f99.js → schema-kf410sde.js} +3 -3
  152. package/dist/chunks/{file-kg1345f7.js → schema-kg1345f7.js} +1 -1
  153. package/dist/chunks/{file-5mbfga6t.js → schema-kgd06n6f.js} +4 -4
  154. package/dist/chunks/{file-e62qqw9f.js → schema-khn0dsrz.js} +25 -18
  155. package/dist/chunks/{file-edvtf4tx.js → schema-kk4xakr8.js} +12 -12
  156. package/dist/chunks/{file-5rd2371y.js → schema-kke058j3.js} +7 -7
  157. package/dist/chunks/{file-4m2k2smt.js → schema-krpbg8xk.js} +4 -4
  158. package/dist/chunks/{file-658vcx0m.js → schema-ksvnrgsv.js} +5 -5
  159. package/dist/chunks/{file-k0630w4g.js → schema-m106neva.js} +10 -9
  160. package/dist/chunks/{file-9vc4jz8b.js → schema-mbn7wb87.js} +3 -3
  161. package/dist/chunks/{file-dgjzraq6.js → schema-md5jaask.js} +0 -1
  162. package/dist/chunks/{file-6f5gxeem.js → schema-mdj6kn7z.js} +25 -21
  163. package/dist/chunks/{file-mf0hyk7z.js → schema-mf0hyk7z.js} +1 -1
  164. package/dist/chunks/{file-mh28new4.js → schema-mh28new4.js} +2 -2
  165. package/dist/chunks/{file-knd350r7.js → schema-mm0veptv.js} +8 -8
  166. package/dist/chunks/{file-mnb85w6b.js → schema-mnb85w6b.js} +2 -2
  167. package/dist/chunks/{file-1yz6p2jq.js → schema-mnfp87kp.js} +3 -3
  168. package/dist/chunks/{file-mwceq5am.js → schema-mwceq5am.js} +1 -1
  169. package/dist/chunks/{file-fmyre8m1.js → schema-mxvw03gv.js} +2 -2
  170. package/dist/chunks/{file-k7pgcjt6.js → schema-mznpnvbz.js} +74 -43
  171. package/dist/chunks/{file-vv288965.js → schema-n2w8fz38.js} +5 -3
  172. package/dist/chunks/{file-n744begs.js → schema-n744begs.js} +4 -4
  173. package/dist/chunks/{file-as1t9t7n.js → schema-n7rn0p8g.js} +4 -4
  174. package/dist/chunks/{file-nesb2rcz.js → schema-nesb2rcz.js} +2 -2
  175. package/dist/chunks/{file-ezegptdr.js → schema-ngb74rpy.js} +57 -27
  176. package/dist/chunks/{file-2vxr0v86.js → schema-nk6yb8jk.js} +2 -2
  177. package/dist/chunks/{file-75z23hs9.js → schema-nnxkn71f.js} +14 -14
  178. package/dist/chunks/{file-nr76rjj3.js → schema-nr76rjj3.js} +2 -2
  179. package/dist/chunks/{file-663be8qb.js → schema-ntgfaaqc.js} +7 -7
  180. package/dist/chunks/{file-pxc9mm6x.js → schema-nx5svmx1.js} +18 -30
  181. package/dist/chunks/{file-nzrjycs5.js → schema-nzrjycs5.js} +1 -1
  182. package/dist/chunks/{file-1sx0aa4f.js → schema-p0zqjz05.js} +3 -3
  183. package/dist/chunks/{file-8a9n1ecs.js → schema-p1camtmy.js} +3 -3
  184. package/dist/chunks/{file-zgkcypa3.js → schema-p1qqy672.js} +9 -9
  185. package/dist/chunks/{file-p27xxkqg.js → schema-p27xxkqg.js} +3 -3
  186. package/dist/chunks/{file-yb1hpdkr.js → schema-p5q5g0dh.js} +10 -10
  187. package/dist/chunks/{file-pfqehjmy.js → schema-pfqehjmy.js} +2 -2
  188. package/dist/chunks/{file-ph1me6ah.js → schema-ph1me6ah.js} +2 -2
  189. package/dist/chunks/{file-tns74tew.js → schema-pjg2dtwn.js} +5 -5
  190. package/dist/chunks/{file-qxs84648.js → schema-pp0w786w.js} +16 -27
  191. package/dist/chunks/{file-pq4b4pqk.js → schema-pq4b4pqk.js} +2 -2
  192. package/dist/chunks/{file-prf9bavk.js → schema-prf9bavk.js} +3 -3
  193. package/dist/chunks/{file-6nfxvtta.js → schema-prx5vj63.js} +5 -5
  194. package/dist/chunks/{file-fvjr77vx.js → schema-psja2ka8.js} +5 -5
  195. package/dist/chunks/{file-kptd0d9x.js → schema-pvpbd174.js} +3 -3
  196. package/dist/chunks/{file-rg5spvbf.js → schema-q8eje61e.js} +27 -13
  197. package/dist/chunks/{file-qe0d689s.js → schema-qe0d689s.js} +2 -2
  198. package/dist/chunks/{file-qgt32wwf.js → schema-qgt32wwf.js} +3 -3
  199. package/dist/chunks/{file-73brgvey.js → schema-qp4w20e0.js} +33 -24
  200. package/dist/chunks/{file-qsgvz7g8.js → schema-qsgvz7g8.js} +2 -2
  201. package/dist/chunks/{file-b1z4y0ay.js → schema-qz7fnwev.js} +85 -85
  202. package/dist/chunks/{file-s8dhdr1a.js → schema-r12ar42m.js} +11 -11
  203. package/dist/chunks/{file-9dbphfd4.js → schema-r27by9gw.js} +10 -10
  204. package/dist/chunks/{file-r3k9abhd.js → schema-r3k9abhd.js} +2 -2
  205. package/dist/chunks/schema-renxfktz.js +82 -0
  206. package/dist/chunks/{file-mhsxry0w.js → schema-rptxw5ca.js} +5 -5
  207. package/dist/chunks/{file-rt6yg6j2.js → schema-rt6yg6j2.js} +2 -2
  208. package/dist/chunks/{file-ryap75b3.js → schema-ryap75b3.js} +1 -1
  209. package/dist/chunks/schema-s33fw6zm.js +16 -0
  210. package/dist/chunks/{file-8twz6z1z.js → schema-sfbv6a2b.js} +12 -1
  211. package/dist/chunks/{file-vd76ghhe.js → schema-sjmge7vj.js} +67 -67
  212. package/dist/chunks/{file-smpeg8c9.js → schema-smpeg8c9.js} +2 -2
  213. package/dist/chunks/{file-ztp8pcjx.js → schema-st4afeqv.js} +8 -8
  214. package/dist/chunks/{file-8ywqk2j9.js → schema-sw84ckhj.js} +4 -3
  215. package/dist/chunks/{file-xg3qgrrb.js → schema-syd62q9r.js} +5 -5
  216. package/dist/chunks/{file-gpee7ppy.js → schema-t066q9hw.js} +7 -7
  217. package/dist/chunks/{file-t14kykx1.js → schema-t14kykx1.js} +1 -1
  218. package/dist/chunks/{file-j2nmssd3.js → schema-t48qx23x.js} +105 -19
  219. package/dist/chunks/{file-9nxkvjkr.js → schema-t7dc291t.js} +17 -17
  220. package/dist/chunks/{file-tcn24h1d.js → schema-tcn24h1d.js} +1 -1
  221. package/dist/chunks/{file-6y00qkx7.js → schema-tdr7a9mr.js} +4 -4
  222. package/dist/chunks/{file-tenv3kfs.js → schema-tenv3kfs.js} +2 -2
  223. package/dist/chunks/{file-thstd87d.js → schema-thstd87d.js} +1 -1
  224. package/dist/chunks/{file-nve52h2s.js → schema-ts2w2c9a.js} +6 -6
  225. package/dist/chunks/{file-tgkwq7ey.js → schema-v1h0eg4v.js} +12 -12
  226. package/dist/chunks/{file-0dwyqmzq.js → schema-v2wshkax.js} +19 -10
  227. package/dist/chunks/{file-pe29tp57.js → schema-v4dy03sz.js} +20 -4
  228. package/dist/chunks/{file-v80zsxnb.js → schema-v80zsxnb.js} +1 -1
  229. package/dist/chunks/{file-v972xay6.js → schema-v972xay6.js} +1 -1
  230. package/dist/chunks/{file-v9bfv94f.js → schema-v9bfv94f.js} +1 -1
  231. package/dist/chunks/{file-yy9aw35r.js → schema-vbfnvw5r.js} +9 -9
  232. package/dist/chunks/schema-vxz5qdmp.js +31 -0
  233. package/dist/chunks/{file-vz89hfgr.js → schema-vz89hfgr.js} +1 -1
  234. package/dist/chunks/{file-mqfhnxg0.js → schema-w5z9v813.js} +61 -56
  235. package/dist/chunks/{file-3bk6rmsw.js → schema-w7yxqywk.js} +175 -119
  236. package/dist/chunks/schema-wb4dbzpz.js +23 -0
  237. package/dist/chunks/{file-wd268jeg.js → schema-wd268jeg.js} +1 -1
  238. package/dist/chunks/{file-1px4xhxb.js → schema-wh0zhxcg.js} +2 -2
  239. package/dist/chunks/{file-wmxdh12w.js → schema-wmxdh12w.js} +1 -1
  240. package/dist/chunks/{file-wps8gh8n.js → schema-wps8gh8n.js} +2 -2
  241. package/dist/chunks/{file-6tvgjq6v.js → schema-wxr0j9zg.js} +4 -4
  242. package/dist/chunks/{file-2krtwza0.js → schema-x817znxg.js} +7 -7
  243. package/dist/chunks/{file-xczfw7dq.js → schema-xczfw7dq.js} +1 -1
  244. package/dist/chunks/{file-3jfeqpzx.js → schema-xgm3katr.js} +49 -71
  245. package/dist/chunks/{file-xgv25zxy.js → schema-xgv25zxy.js} +1 -1
  246. package/dist/chunks/schema-xqrk9zsf.js +42 -0
  247. package/dist/chunks/{file-xwftk1fd.js → schema-xwftk1fd.js} +2 -2
  248. package/dist/chunks/{file-xxpvz42q.js → schema-xxpvz42q.js} +3 -3
  249. package/dist/chunks/{file-y0x38cee.js → schema-y0x38cee.js} +1 -1
  250. package/dist/chunks/{file-y198y2ra.js → schema-y198y2ra.js} +1 -1
  251. package/dist/chunks/{file-y67x6rf6.js → schema-y67x6rf6.js} +1 -1
  252. package/dist/chunks/{file-y8rs54ne.js → schema-y8rs54ne.js} +1 -1
  253. package/dist/chunks/{file-y980s7ka.js → schema-y980s7ka.js} +3 -3
  254. package/dist/chunks/{file-6q42t53d.js → schema-y98sxkck.js} +5 -5
  255. package/dist/chunks/{file-yf0knd5z.js → schema-yf0knd5z.js} +2 -2
  256. package/dist/chunks/{file-p3661pfb.js → schema-ypyb4rds.js} +9 -9
  257. package/dist/chunks/{file-yz0wm9s3.js → schema-yz0wm9s3.js} +2 -2
  258. package/dist/chunks/schema-z2mm0vp7.js +37 -0
  259. package/dist/chunks/{file-5qc7cxvj.js → schema-z2phqntd.js} +18 -18
  260. package/dist/chunks/{file-5aca3jzc.js → schema-z2zkanea.js} +8 -8
  261. package/dist/chunks/{file-tq2yp16c.js → schema-z3wzp1s4.js} +8 -18
  262. package/dist/chunks/{file-zbqqnp0n.js → schema-zbqqnp0n.js} +1 -1
  263. package/dist/chunks/{file-zdkg1k91.js → schema-zdkg1k91.js} +1 -1
  264. package/dist/chunks/{file-zfxc0ze5.js → schema-zfxc0ze5.js} +1 -1
  265. package/dist/chunks/{file-2g41g83c.js → schema-zgdhqszm.js} +2 -2
  266. package/dist/chunks/{file-zjvgdt9p.js → schema-zjvgdt9p.js} +3 -3
  267. package/dist/chunks/{file-hgn8axp1.js → schema-zkkkcc8p.js} +4 -4
  268. package/dist/chunks/{file-0q14sxyz.js → schema-zp05jrm8.js} +17 -27
  269. package/dist/chunks/schema-zpc0w2f6.js +46 -0
  270. package/dist/chunks/{file-cdrqa8qb.js → schema-zqh29h4g.js} +3 -3
  271. package/dist/chunks/{file-27xnc6tv.js → schema-zx1pgzr8.js} +9 -9
  272. package/dist/chunks/{file-zxe9jjhn.js → schema-zxe9jjhn.js} +2 -2
  273. package/dist/chunks/{file-w0nvndn8.js → schema-zzekq2w4.js} +9 -9
  274. package/dist/codemode/catalog.js +2 -2
  275. package/dist/codemode/instructions.js +4 -4
  276. package/dist/codemode/tool.js +3 -3
  277. package/dist/command.js +98 -130
  278. package/dist/config/markdown.js +2 -2
  279. package/dist/config/normalize.js +20 -20
  280. package/dist/config/plugin/agent.js +131 -131
  281. package/dist/config/plugin/command.js +128 -128
  282. package/dist/config/plugin/compaction.js +156 -0
  283. package/dist/config/plugin/formatter.js +122 -0
  284. package/dist/config/plugin/image.js +133 -0
  285. package/dist/config/plugin/instruction.js +87 -87
  286. package/dist/config/plugin/location-watcher.js +120 -0
  287. package/dist/config/plugin/mcp.js +124 -124
  288. package/dist/config/plugin/policy.js +112 -112
  289. package/dist/config/plugin/provider.js +111 -111
  290. package/dist/config/plugin/reference.js +115 -115
  291. package/dist/config/plugin/shell.js +121 -0
  292. package/dist/config/plugin/skill-file.js +104 -104
  293. package/dist/config/plugin/skill.js +134 -134
  294. package/dist/config/plugin/snapshot.js +120 -0
  295. package/dist/config/plugin/source.js +111 -111
  296. package/dist/config/plugin/tool-output.js +122 -0
  297. package/dist/config/plugin/websearch.js +111 -111
  298. package/dist/config/variable.js +4 -4
  299. package/dist/config.js +110 -110
  300. package/dist/credential/sql.js +3 -3
  301. package/dist/credential.js +70 -70
  302. package/dist/database/database.js +67 -67
  303. package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
  304. package/dist/database/drizzle/effect-sqlite/index.js +16 -16
  305. package/dist/database/drizzle/effect-sqlite/migrator.js +15 -15
  306. package/dist/database/drizzle/effect-sqlite/session.js +15 -15
  307. package/dist/database/drizzle/index.js +20 -20
  308. package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
  309. package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
  310. package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
  311. package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
  312. package/dist/database/drizzle/sqlite-core/effect/index.js +23 -23
  313. package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
  314. package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
  315. package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
  316. package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
  317. package/dist/database/drizzle/sqlite-core/effect/session.js +14 -14
  318. package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
  319. package/dist/database/drizzle/up-migrations/effect-sqlite.js +4 -4
  320. package/dist/database/drizzle/up-migrations/sqlite.js +2 -2
  321. package/dist/database/drizzle/up-migrations/utils.js +2 -2
  322. package/dist/database/drizzle.js +21 -21
  323. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
  324. package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
  325. package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
  326. package/dist/database/migration/20260225215848_workspace.js +2 -2
  327. package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
  328. package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
  329. package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
  330. package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
  331. package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
  332. package/dist/database/migration/20260323234822_events.js +2 -2
  333. package/dist/database/migration/20260410174513_workspace-name.js +2 -2
  334. package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
  335. package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
  336. package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
  337. package/dist/database/migration/20260428004200_add_session_path.js +2 -2
  338. package/dist/database/migration/20260501142318_next_venus.js +2 -2
  339. package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
  340. package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
  341. package/dist/database/migration/20260510033149_session_usage.js +2 -2
  342. package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
  343. package/dist/database/migration/20260511173437_session-metadata.js +2 -2
  344. package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
  345. package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
  346. package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
  347. package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
  348. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
  349. package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
  350. package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
  351. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
  352. package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
  353. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
  354. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
  355. package/dist/database/migration/20260611035744_credential.js +2 -2
  356. package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
  357. package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
  358. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
  359. package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
  360. package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
  361. package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
  362. package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
  363. package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
  364. package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
  365. package/dist/database/migration/20260812181746_session_inbox.js +2 -2
  366. package/dist/database/migration/20260812213948_worktree.js +2 -2
  367. package/dist/database/migration.gen.js +46 -46
  368. package/dist/database/migration.js +48 -48
  369. package/dist/database/path.js +3 -3
  370. package/dist/database/schema.gen.js +2 -2
  371. package/dist/database/schema.sql.js +2 -2
  372. package/dist/database/sqlite.bun.js +2 -2
  373. package/dist/database/sqlite.js +2 -2
  374. package/dist/database/sqlite.node.js +2 -2
  375. package/dist/database/sqlite.workerd.js +2 -2
  376. package/dist/database/v1-migration.bun.js +77 -77
  377. package/dist/database/v1-migration.js +2 -2
  378. package/dist/database/v1-migration.noop.js +1 -1
  379. package/dist/effect/app-node-builder.js +330 -319
  380. package/dist/effect/app-node-platform.js +2 -2
  381. package/dist/effect/keyed-mutex.js +2 -2
  382. package/dist/environment/driver.js +1 -1
  383. package/dist/environment/environment.js +88 -88
  384. package/dist/environment/exec-defaults.js +3 -3
  385. package/dist/environment/files.js +2 -2
  386. package/dist/environment/index.js +90 -90
  387. package/dist/environment/local.js +3 -3
  388. package/dist/environment/memory.js +3 -3
  389. package/dist/environment/unavailable.js +1 -1
  390. package/dist/event/sql.js +2 -2
  391. package/dist/event-logger.js +70 -70
  392. package/dist/file-mutation.js +89 -89
  393. package/dist/file-retention.js +9 -0
  394. package/dist/file.js +2 -2
  395. package/dist/filesystem/fff.bun.js +2 -2
  396. package/dist/filesystem/fff.js +2 -2
  397. package/dist/filesystem/fff.node.js +2 -2
  398. package/dist/filesystem/fff.workerd.js +2 -2
  399. package/dist/filesystem/ignore.js +1 -1
  400. package/dist/filesystem/location-watcher-policy.js +12 -0
  401. package/dist/filesystem/location-watcher.js +301 -111
  402. package/dist/filesystem/protected.js +2 -2
  403. package/dist/filesystem/search.js +93 -93
  404. package/dist/filesystem/watcher-binding.js +2 -2
  405. package/dist/filesystem/watcher.js +4 -4
  406. package/dist/filesystem.js +93 -93
  407. package/dist/form.js +71 -71
  408. package/dist/formatter/builtins.js +3 -3
  409. package/dist/formatter.js +82 -113
  410. package/dist/generate.js +85 -85
  411. package/dist/git.js +5 -5
  412. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
  413. package/dist/github-copilot/chat/get-response-metadata.js +2 -2
  414. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
  415. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
  416. package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
  417. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
  418. package/dist/github-copilot/copilot-provider.js +19 -19
  419. package/dist/github-copilot/models.js +4 -4
  420. package/dist/github-copilot/openai-compatible-error.js +2 -2
  421. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +3 -3
  422. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
  423. package/dist/github-copilot/responses/openai-error.js +2 -2
  424. package/dist/github-copilot/responses/openai-responses-language-model.js +12 -12
  425. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
  426. package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
  427. package/dist/github-copilot/responses/tool/file-search.js +2 -2
  428. package/dist/github-copilot/responses/tool/image-generation.js +2 -2
  429. package/dist/github-copilot/responses/tool/local-shell.js +2 -2
  430. package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
  431. package/dist/github-copilot/responses/tool/web-search.js +2 -2
  432. package/dist/id/id.js +2 -2
  433. package/dist/image/photon-wasm.bun.js +1 -1
  434. package/dist/image/photon-wasm.node.js +1 -1
  435. package/dist/image/photon-wasm.workerd.js +1 -1
  436. package/dist/image/photon.js +95 -124
  437. package/dist/image.js +95 -124
  438. package/dist/instruction-discovery.js +74 -74
  439. package/dist/instructions/builtins.js +83 -83
  440. package/dist/instructions/index.js +2 -2
  441. package/dist/integration/connection.js +2 -2
  442. package/dist/integration.js +77 -77
  443. package/dist/job.js +4 -4
  444. package/dist/kv/sql.js +3 -3
  445. package/dist/kv.js +70 -70
  446. package/dist/location-mutation.js +81 -81
  447. package/dist/location-service-map.js +81 -81
  448. package/dist/location-services.js +330 -319
  449. package/dist/location.js +80 -80
  450. package/dist/mcp/client.js +89 -89
  451. package/dist/mcp/index.js +95 -95
  452. package/dist/mcp/instructions.js +125 -151
  453. package/dist/mcp/oauth.js +2 -2
  454. package/dist/mcp/stdio.js +89 -89
  455. package/dist/mime.js +2 -2
  456. package/dist/model-resolver.js +83 -83
  457. package/dist/model.js +3 -3
  458. package/dist/models-dev.js +77 -77
  459. package/dist/oauth/page.js +2 -2
  460. package/dist/permission/saved.js +81 -81
  461. package/dist/permission/sql.js +6 -6
  462. package/dist/permission.js +101 -101
  463. package/dist/plugin/agent.js +102 -102
  464. package/dist/plugin/command.js +81 -81
  465. package/dist/plugin/hooks.js +3 -3
  466. package/dist/plugin/host.js +165 -185
  467. package/dist/plugin/internal.js +295 -278
  468. package/dist/plugin/mcp-codemode-exclusion.js +2 -2
  469. package/dist/plugin/models-dev.js +78 -78
  470. package/dist/plugin/plan.js +74 -74
  471. package/dist/plugin/promise.js +2 -2
  472. package/dist/plugin/provider/alibaba.js +3 -3
  473. package/dist/plugin/provider/amazon-bedrock.js +3 -3
  474. package/dist/plugin/provider/anthropic.js +3 -3
  475. package/dist/plugin/provider/azure.js +118 -118
  476. package/dist/plugin/provider/cerebras.js +3 -3
  477. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  478. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  479. package/dist/plugin/provider/cohere.js +3 -3
  480. package/dist/plugin/provider/configured.js +116 -116
  481. package/dist/plugin/provider/deepinfra.js +3 -3
  482. package/dist/plugin/provider/dynamic.js +2 -2
  483. package/dist/plugin/provider/factory.js +2 -2
  484. package/dist/plugin/provider/gateway.js +3 -3
  485. package/dist/plugin/provider/github-copilot.js +84 -84
  486. package/dist/plugin/provider/gitlab.js +4 -4
  487. package/dist/plugin/provider/google-vertex.js +3 -3
  488. package/dist/plugin/provider/groq.js +3 -3
  489. package/dist/plugin/provider/kilo.js +3 -3
  490. package/dist/plugin/provider/llmgateway.js +79 -79
  491. package/dist/plugin/provider/lmstudio.js +111 -111
  492. package/dist/plugin/provider/mistral.js +3 -3
  493. package/dist/plugin/provider/nvidia.js +3 -3
  494. package/dist/plugin/provider/ollama.js +111 -111
  495. package/dist/plugin/provider/openai-compatible.js +2 -2
  496. package/dist/plugin/provider/openai.js +81 -81
  497. package/dist/plugin/provider/opencode.js +95 -95
  498. package/dist/plugin/provider/openrouter.js +4 -4
  499. package/dist/plugin/provider/perplexity.js +3 -3
  500. package/dist/plugin/provider/sap-ai-core.js +3 -3
  501. package/dist/plugin/provider/snowflake-cortex.js +3 -3
  502. package/dist/plugin/provider/togetherai.js +3 -3
  503. package/dist/plugin/provider/venice.js +3 -3
  504. package/dist/plugin/provider/vercel.js +3 -3
  505. package/dist/plugin/provider/vllm.js +111 -111
  506. package/dist/plugin/provider/xai.js +79 -79
  507. package/dist/plugin/provider/zenmux.js +3 -3
  508. package/dist/plugin/provider.js +157 -157
  509. package/dist/plugin/runtime.js +151 -175
  510. package/dist/plugin/sdk.js +71 -71
  511. package/dist/plugin/skill.js +132 -132
  512. package/dist/plugin/supervisor-service.js +9 -0
  513. package/dist/plugin/supervisor.js +302 -284
  514. package/dist/plugin/system-prompt.js +2 -2
  515. package/dist/plugin/variant.js +4 -4
  516. package/dist/plugin/warming.js +112 -112
  517. package/dist/plugin/websearch/exa.js +4 -4
  518. package/dist/plugin/websearch/firecrawl.js +5 -5
  519. package/dist/plugin/websearch/index.js +9 -9
  520. package/dist/plugin/websearch/mcp.js +3 -3
  521. package/dist/plugin/websearch/parallel.js +5 -5
  522. package/dist/plugin/websearch/tavily.js +3 -3
  523. package/dist/plugin.js +165 -185
  524. package/dist/project/schema.js +3 -3
  525. package/dist/project/sql.js +5 -5
  526. package/dist/project.js +79 -79
  527. package/dist/provider.js +2 -2
  528. package/dist/pty/protocol.js +1 -1
  529. package/dist/pty/pty.bun.js +1 -1
  530. package/dist/pty/pty.node.js +1 -1
  531. package/dist/pty/pty.workerd.js +1 -1
  532. package/dist/pty/schema.js +2 -2
  533. package/dist/pty/ticket.js +72 -72
  534. package/dist/pty.js +86 -118
  535. package/dist/reference/instructions.js +79 -79
  536. package/dist/reference.js +77 -77
  537. package/dist/repository-cache.js +7 -7
  538. package/dist/repository.js +2 -2
  539. package/dist/ripgrep/binary.js +3 -3
  540. package/dist/ripgrep.js +91 -91
  541. package/dist/schema.js +2 -2
  542. package/dist/session/compaction.js +122 -147
  543. package/dist/session/context.js +308 -291
  544. package/dist/session/environment.js +3 -3
  545. package/dist/session/error.js +4 -4
  546. package/dist/session/event.js +2 -2
  547. package/dist/session/execution/restart.js +117 -117
  548. package/dist/session/execution.js +117 -117
  549. package/dist/session/generate-node.js +312 -297
  550. package/dist/session/generate.js +2 -2
  551. package/dist/session/history.js +79 -79
  552. package/dist/session/inbox.js +79 -85
  553. package/dist/session/info.js +89 -89
  554. package/dist/session/instruction-entry.js +75 -75
  555. package/dist/session/instruction-state.js +10 -10
  556. package/dist/session/instructions.js +98 -98
  557. package/dist/session/message-updater.js +4 -4
  558. package/dist/session/message.js +2 -2
  559. package/dist/session/model-headers.js +4 -4
  560. package/dist/session/model-hook.js +11 -0
  561. package/dist/session/model-http.js +4 -4
  562. package/dist/session/model-request.js +140 -299
  563. package/dist/session/model-transport.js +4 -4
  564. package/dist/session/projector.js +91 -91
  565. package/dist/session/prompt-cache-diagnostics.js +2 -2
  566. package/dist/session/prompt-cache-key.js +3 -3
  567. package/dist/session/revert.js +87 -116
  568. package/dist/session/run-coordinator.js +2 -2
  569. package/dist/session/runner/index.js +86 -86
  570. package/dist/session/runner/llm.js +317 -306
  571. package/dist/session/runner/max-steps.js +2 -2
  572. package/dist/session/runner/model.js +85 -85
  573. package/dist/session/runner/publish-llm-event.js +4 -4
  574. package/dist/session/runner/retry.js +74 -74
  575. package/dist/session/runner/to-llm-message.js +2 -2
  576. package/dist/session/schema.js +2 -2
  577. package/dist/session/sql.js +6 -6
  578. package/dist/session/store.js +97 -97
  579. package/dist/session/system-prompt.js +2 -2
  580. package/dist/session/title.js +115 -114
  581. package/dist/session/to-session-error.js +112 -112
  582. package/dist/session/transfer.js +154 -179
  583. package/dist/session/usage.js +2 -2
  584. package/dist/session.js +150 -174
  585. package/dist/shell/parse.js +5 -4
  586. package/dist/shell/parser-wasm.bun.js +1 -1
  587. package/dist/shell/parser-wasm.node.js +1 -1
  588. package/dist/shell/parser-wasm.workerd.js +1 -1
  589. package/dist/shell/select.js +10 -3
  590. package/dist/shell.js +103 -130
  591. package/dist/skill/discovery.js +3 -3
  592. package/dist/skill/instructions.js +103 -103
  593. package/dist/skill.js +102 -102
  594. package/dist/snapshot.js +82 -111
  595. package/dist/state.js +2 -2
  596. package/dist/tool/html-markdown.js +2 -2
  597. package/dist/tool/http-body.js +2 -2
  598. package/dist/tool/mcp.js +124 -150
  599. package/dist/tool/plugin/edit.js +111 -141
  600. package/dist/tool/plugin/file-diff.js +2 -2
  601. package/dist/tool/plugin/glob.js +113 -113
  602. package/dist/tool/plugin/grep.js +113 -113
  603. package/dist/tool/plugin/patch.js +111 -141
  604. package/dist/tool/plugin/question.js +103 -103
  605. package/dist/tool/plugin/read.js +116 -116
  606. package/dist/tool/plugin/shell.js +181 -179
  607. package/dist/tool/plugin/skill.js +103 -103
  608. package/dist/tool/plugin/subagent.js +178 -176
  609. package/dist/tool/plugin/webfetch.js +104 -104
  610. package/dist/tool/plugin/websearch.js +106 -132
  611. package/dist/tool/plugin/write.js +111 -141
  612. package/dist/tool/read-filesystem.js +95 -95
  613. package/dist/tool/runtime.js +2 -2
  614. package/dist/tool-output.js +5 -112
  615. package/dist/tool.js +117 -145
  616. package/dist/types/aisdk-native.d.ts +1 -0
  617. package/dist/types/command.d.ts +1 -10
  618. package/dist/types/config/plugin/compaction.d.ts +4 -0
  619. package/dist/types/config/plugin/formatter.d.ts +9 -0
  620. package/dist/types/config/plugin/image.d.ts +4 -0
  621. package/dist/types/config/plugin/location-watcher.d.ts +4 -0
  622. package/dist/types/config/plugin/shell.d.ts +4 -0
  623. package/dist/types/config/plugin/snapshot.d.ts +4 -0
  624. package/dist/types/config/plugin/tool-output.d.ts +4 -0
  625. package/dist/types/file-retention.d.ts +4 -0
  626. package/dist/types/filesystem/location-watcher-policy.d.ts +15 -0
  627. package/dist/types/formatter.d.ts +7 -1
  628. package/dist/types/image.d.ts +11 -1
  629. package/dist/types/kv.d.ts +14 -0
  630. package/dist/types/location-service-map.d.ts +2 -2
  631. package/dist/types/location-services.d.ts +2 -1
  632. package/dist/types/model-resolver.d.ts +3 -3
  633. package/dist/types/plugin/hooks.d.ts +3 -2
  634. package/dist/types/plugin/host.d.ts +40 -5
  635. package/dist/types/plugin/internal.d.ts +9 -3
  636. package/dist/types/plugin/supervisor-service.d.ts +13 -0
  637. package/dist/types/plugin/supervisor.d.ts +4 -9
  638. package/dist/types/plugin.d.ts +5 -2
  639. package/dist/types/provider.d.ts +1 -3
  640. package/dist/types/pty.d.ts +1 -8
  641. package/dist/types/session/compaction.d.ts +13 -9
  642. package/dist/types/session/execution.d.ts +6 -4
  643. package/dist/types/session/generate-node.d.ts +2 -2
  644. package/dist/types/session/history.d.ts +12 -4
  645. package/dist/types/session/inbox.d.ts +2 -182
  646. package/dist/types/session/model-hook.d.ts +12 -0
  647. package/dist/types/session/model-request.d.ts +38 -10
  648. package/dist/types/session/run-coordinator.d.ts +8 -12
  649. package/dist/types/session/runner/model.d.ts +1 -0
  650. package/dist/types/session/runner/publish-llm-event.d.ts +2 -0
  651. package/dist/types/session/title.d.ts +1 -1
  652. package/dist/types/session/transfer.d.ts +2 -2
  653. package/dist/types/shell/select.d.ts +13 -1
  654. package/dist/types/shell.d.ts +5 -10
  655. package/dist/types/snapshot.d.ts +5 -1
  656. package/dist/types/tool/plugin/websearch.d.ts +1 -2
  657. package/dist/types/tool-output.d.ts +9 -1
  658. package/dist/types/websearch.d.ts +6 -2
  659. package/dist/util/array.js +1 -1
  660. package/dist/util/error.js +2 -2
  661. package/dist/util/identifier.js +1 -1
  662. package/dist/util/iife.js +2 -2
  663. package/dist/util/lazy.js +2 -2
  664. package/dist/util/process-lock-ffi.bun.js +1 -1
  665. package/dist/util/process-lock-ffi.node.js +1 -1
  666. package/dist/util/process-lock-ffi.workerd.js +1 -1
  667. package/dist/util/process-lock.js +1 -1
  668. package/dist/util/slug.js +2 -2
  669. package/dist/util/token.js +2 -2
  670. package/dist/util/which.js +2 -2
  671. package/dist/util/wildcard.js +2 -2
  672. package/dist/v1/config/agent.js +4 -4
  673. package/dist/v1/config/attachment.js +3 -3
  674. package/dist/v1/config/command.js +2 -2
  675. package/dist/v1/config/config.js +15 -15
  676. package/dist/v1/config/error.js +3 -3
  677. package/dist/v1/config/formatter.js +2 -2
  678. package/dist/v1/config/layout.js +2 -2
  679. package/dist/v1/config/lsp.js +2 -2
  680. package/dist/v1/config/mcp.js +3 -3
  681. package/dist/v1/config/migrate.js +19 -19
  682. package/dist/v1/config/permission.js +2 -2
  683. package/dist/v1/config/plugin.js +2 -2
  684. package/dist/v1/config/provider-options.js +2 -2
  685. package/dist/v1/config/provider.js +3 -3
  686. package/dist/v1/config/server.js +3 -3
  687. package/dist/v1/config/skills.js +2 -2
  688. package/dist/v1/permission.js +1 -1
  689. package/dist/vcs/git.js +3 -3
  690. package/dist/vcs/hg.js +3 -3
  691. package/dist/vcs/patch.js +2 -2
  692. package/dist/vcs.js +84 -84
  693. package/dist/websearch.js +79 -72
  694. package/dist/wellknown/plugin.js +75 -75
  695. package/dist/wellknown.js +74 -74
  696. package/dist/workspace/driver.js +2 -2
  697. package/dist/workspace/sql.js +2 -2
  698. package/dist/workspace.js +71 -71
  699. package/dist/worktree/directory.js +3 -3
  700. package/dist/worktree/git.js +7 -7
  701. package/dist/worktree/sql.js +6 -6
  702. package/dist/worktree.js +84 -84
  703. package/package.json +11 -11
  704. package/dist/chunks/file-665983a3.js +0 -122
  705. package/dist/chunks/file-grghsxkg.js +0 -72
  706. package/dist/chunks/file-nj1s64cz.js +0 -112
  707. package/dist/chunks/file-qbvbyx91.js +0 -127
  708. package/dist/types/util/binary.d.ts +0 -7
  709. package/dist/types/util/encode.d.ts +0 -4
  710. package/dist/types/util/path.d.ts +0 -4
  711. package/dist/types/util/retry.d.ts +0 -8
  712. package/dist/util/binary.js +0 -43
  713. package/dist/util/encode.js +0 -48
  714. package/dist/util/path.js +0 -42
  715. package/dist/util/retry.js +0 -38
  716. /package/dist/chunks/{file-0cgt0xh2.js → schema-0cgt0xh2.js} +0 -0
  717. /package/dist/chunks/{file-0f48qthw.js → schema-0f48qthw.js} +0 -0
  718. /package/dist/chunks/{file-0zz82cjq.js → schema-0zz82cjq.js} +0 -0
  719. /package/dist/chunks/{file-1fb7bmpf.js → schema-1fb7bmpf.js} +0 -0
  720. /package/dist/chunks/{file-1wcz8fvj.js → schema-1wcz8fvj.js} +0 -0
  721. /package/dist/chunks/{file-2qdx6zz3.js → schema-2qdx6zz3.js} +0 -0
  722. /package/dist/chunks/{file-3c4nztf9.js → schema-3c4nztf9.js} +0 -0
  723. /package/dist/chunks/{file-3g3rpp2x.js → schema-3g3rpp2x.js} +0 -0
  724. /package/dist/chunks/{file-3q6gbwmd.js → schema-3q6gbwmd.js} +0 -0
  725. /package/dist/chunks/{file-3w3ybtfd.js → schema-3w3ybtfd.js} +0 -0
  726. /package/dist/chunks/{file-47ty4mvs.js → schema-47ty4mvs.js} +0 -0
  727. /package/dist/chunks/{file-4b2tz2m9.js → schema-4b2tz2m9.js} +0 -0
  728. /package/dist/chunks/{file-4zg0gww9.js → schema-4zg0gww9.js} +0 -0
  729. /package/dist/chunks/{file-5a5ch9ts.js → schema-5a5ch9ts.js} +0 -0
  730. /package/dist/chunks/{file-5va1yh78.js → schema-5va1yh78.js} +0 -0
  731. /package/dist/chunks/{file-69qrqpw0.js → schema-69qrqpw0.js} +0 -0
  732. /package/dist/chunks/{file-6yt963b8.js → schema-6yt963b8.js} +0 -0
  733. /package/dist/chunks/{file-7n9qwqk4.js → schema-7n9qwqk4.js} +0 -0
  734. /package/dist/chunks/{file-8nn8kqcn.js → schema-8nn8kqcn.js} +0 -0
  735. /package/dist/chunks/{file-8sj3ajy5.js → schema-8sj3ajy5.js} +0 -0
  736. /package/dist/chunks/{file-8w9tzfz1.js → schema-8w9tzfz1.js} +0 -0
  737. /package/dist/chunks/{file-906y0b6d.js → schema-906y0b6d.js} +0 -0
  738. /package/dist/chunks/{file-9dct5xhx.js → schema-9dct5xhx.js} +0 -0
  739. /package/dist/chunks/{file-9sdtsapf.js → schema-9sdtsapf.js} +0 -0
  740. /package/dist/chunks/{file-a02svayp.js → schema-a02svayp.js} +0 -0
  741. /package/dist/chunks/{file-a83yvq99.js → schema-a83yvq99.js} +0 -0
  742. /package/dist/chunks/{file-ayevdmef.js → schema-ayevdmef.js} +0 -0
  743. /package/dist/chunks/{file-b02txbh8.js → schema-b02txbh8.js} +0 -0
  744. /package/dist/chunks/{file-bbqs2y60.js → schema-bbqs2y60.js} +0 -0
  745. /package/dist/chunks/{file-brsh5f65.js → schema-brsh5f65.js} +0 -0
  746. /package/dist/chunks/{file-bxdhjb3y.js → schema-bxdhjb3y.js} +0 -0
  747. /package/dist/chunks/{file-c77ad0vh.js → schema-c77ad0vh.js} +0 -0
  748. /package/dist/chunks/{file-cm67rqy2.js → schema-cm67rqy2.js} +0 -0
  749. /package/dist/chunks/{file-d6s8p2vk.js → schema-d6s8p2vk.js} +0 -0
  750. /package/dist/chunks/{file-dbah77c1.js → schema-dbah77c1.js} +0 -0
  751. /package/dist/chunks/{file-df3v2q6j.js → schema-df3v2q6j.js} +0 -0
  752. /package/dist/chunks/{file-dhcq6c44.js → schema-dhcq6c44.js} +0 -0
  753. /package/dist/chunks/{file-dht5baf0.js → schema-dht5baf0.js} +0 -0
  754. /package/dist/chunks/{file-dkmkay92.js → schema-dkmkay92.js} +0 -0
  755. /package/dist/chunks/{file-ecxv0vtt.js → schema-ecxv0vtt.js} +0 -0
  756. /package/dist/chunks/{file-ehj9csmv.js → schema-ehj9csmv.js} +0 -0
  757. /package/dist/chunks/{file-em6xpscd.js → schema-em6xpscd.js} +0 -0
  758. /package/dist/chunks/{file-emmqknsm.js → schema-emmqknsm.js} +0 -0
  759. /package/dist/chunks/{file-ezs3tagn.js → schema-ezs3tagn.js} +0 -0
  760. /package/dist/chunks/{file-f14r7hfz.js → schema-f14r7hfz.js} +0 -0
  761. /package/dist/chunks/{file-f4cp4g4a.js → schema-f4cp4g4a.js} +0 -0
  762. /package/dist/chunks/{file-f84sxdqn.js → schema-f84sxdqn.js} +0 -0
  763. /package/dist/chunks/{file-faypg4r1.js → schema-faypg4r1.js} +0 -0
  764. /package/dist/chunks/{file-g7k9te92.js → schema-g7k9te92.js} +0 -0
  765. /package/dist/chunks/{file-gd5xeqc2.js → schema-gd5xeqc2.js} +0 -0
  766. /package/dist/chunks/{file-ghm4673n.js → schema-ghm4673n.js} +0 -0
  767. /package/dist/chunks/{file-ghwjy7my.js → schema-ghwjy7my.js} +0 -0
  768. /package/dist/chunks/{file-gy500k2r.js → schema-gy500k2r.js} +0 -0
  769. /package/dist/chunks/{file-hzeg9cfr.js → schema-hzeg9cfr.js} +0 -0
  770. /package/dist/chunks/{file-j07kk359.js → schema-j07kk359.js} +0 -0
  771. /package/dist/chunks/{file-jve7t217.js → schema-jve7t217.js} +0 -0
  772. /package/dist/chunks/{file-kpdbz7gn.js → schema-kpdbz7gn.js} +0 -0
  773. /package/dist/chunks/{file-kxy11nzk.js → schema-kxy11nzk.js} +0 -0
  774. /package/dist/chunks/{file-kyyqvx4s.js → schema-kyyqvx4s.js} +0 -0
  775. /package/dist/chunks/{file-m8cbvarh.js → schema-m8cbvarh.js} +0 -0
  776. /package/dist/chunks/{file-ma07p6tt.js → schema-ma07p6tt.js} +0 -0
  777. /package/dist/chunks/{file-ma60vzgv.js → schema-ma60vzgv.js} +0 -0
  778. /package/dist/chunks/{file-n3m50c2t.js → schema-n3m50c2t.js} +0 -0
  779. /package/dist/chunks/{file-nkm1m8dz.js → schema-nkm1m8dz.js} +0 -0
  780. /package/dist/chunks/{file-nsc0c3zb.js → schema-nsc0c3zb.js} +0 -0
  781. /package/dist/chunks/{file-qaarhjrp.js → schema-qaarhjrp.js} +0 -0
  782. /package/dist/chunks/{file-qc167nrn.js → schema-qc167nrn.js} +0 -0
  783. /package/dist/chunks/{file-qp95y4jb.js → schema-qp95y4jb.js} +0 -0
  784. /package/dist/chunks/{file-r8f4w671.js → schema-r8f4w671.js} +0 -0
  785. /package/dist/chunks/{file-rdfev9jy.js → schema-rdfev9jy.js} +0 -0
  786. /package/dist/chunks/{file-rvfvac9x.js → schema-rvfvac9x.js} +0 -0
  787. /package/dist/chunks/{file-s7whb9gt.js → schema-s7whb9gt.js} +0 -0
  788. /package/dist/chunks/{file-se76j685.js → schema-se76j685.js} +0 -0
  789. /package/dist/chunks/{file-sem2g21k.js → schema-sem2g21k.js} +0 -0
  790. /package/dist/chunks/{file-tmb1f636.js → schema-tmb1f636.js} +0 -0
  791. /package/dist/chunks/{file-ttxf0gsy.js → schema-ttxf0gsy.js} +0 -0
  792. /package/dist/chunks/{file-tvmhrvfj.js → schema-tvmhrvfj.js} +0 -0
  793. /package/dist/chunks/{file-v2adqbbe.js → schema-v2adqbbe.js} +0 -0
  794. /package/dist/chunks/{file-vkvb1sb3.js → schema-vkvb1sb3.js} +0 -0
  795. /package/dist/chunks/{file-wj4sxzqa.js → schema-wj4sxzqa.js} +0 -0
  796. /package/dist/chunks/{file-wwntjmk1.js → schema-wwntjmk1.js} +0 -0
  797. /package/dist/chunks/{file-wyqjaaa5.js → schema-wyqjaaa5.js} +0 -0
  798. /package/dist/chunks/{file-x4q807cx.js → schema-x4q807cx.js} +0 -0
  799. /package/dist/chunks/{file-xhz3jyrc.js → schema-xhz3jyrc.js} +0 -0
  800. /package/dist/chunks/{file-yrqrg4vp.js → schema-yrqrg4vp.js} +0 -0
  801. /package/dist/chunks/{file-z47nswr2.js → schema-z47nswr2.js} +0 -0
  802. /package/dist/chunks/{file-zsf8rs93.js → schema-zsf8rs93.js} +0 -0
package/dist/workspace.js CHANGED
@@ -6,77 +6,77 @@ import {
6
6
  configured,
7
7
  exports_workspace,
8
8
  node
9
- } from "./chunks/file-5aca3jzc.js";
10
- import"./chunks/file-3c4nztf9.js";
11
- import"./chunks/file-t14kykx1.js";
12
- import"./chunks/file-4223r8y8.js";
13
- import"./chunks/file-ttxf0gsy.js";
14
- import"./chunks/file-zh6p9k71.js";
15
- import"./chunks/file-1yz6p2jq.js";
16
- import"./chunks/file-6y00qkx7.js";
17
- import"./chunks/file-vm3prpn4.js";
18
- import"./chunks/file-9vc4jz8b.js";
19
- import"./chunks/file-hsyk7kfz.js";
20
- import"./chunks/file-4zg0gww9.js";
21
- import"./chunks/file-f84sxdqn.js";
22
- import"./chunks/file-va2xjmjn.js";
23
- import"./chunks/file-0f48qthw.js";
24
- import"./chunks/file-zfxc0ze5.js";
25
- import"./chunks/file-s7whb9gt.js";
26
- import"./chunks/file-erj4j75s.js";
27
- import"./chunks/file-g9yygpzr.js";
28
- import"./chunks/file-mwceq5am.js";
29
- import"./chunks/file-bxdhjb3y.js";
30
- import"./chunks/file-ma07p6tt.js";
31
- import"./chunks/file-tr01v5pk.js";
32
- import"./chunks/file-b1z4y0ay.js";
33
- import"./chunks/file-2qdx6zz3.js";
34
- import"./chunks/file-8sj3ajy5.js";
35
- import"./chunks/file-x4q807cx.js";
36
- import"./chunks/file-qc167nrn.js";
37
- import"./chunks/file-cm67rqy2.js";
38
- import"./chunks/file-906y0b6d.js";
39
- import"./chunks/file-69qrqpw0.js";
40
- import"./chunks/file-n3m50c2t.js";
41
- import"./chunks/file-5va1yh78.js";
42
- import"./chunks/file-3g3rpp2x.js";
43
- import"./chunks/file-wyqjaaa5.js";
44
- import"./chunks/file-em6xpscd.js";
45
- import"./chunks/file-ghm4673n.js";
46
- import"./chunks/file-emmqknsm.js";
47
- import"./chunks/file-9dct5xhx.js";
48
- import"./chunks/file-1fb7bmpf.js";
49
- import"./chunks/file-dhcq6c44.js";
50
- import"./chunks/file-9sdtsapf.js";
51
- import"./chunks/file-faypg4r1.js";
52
- import"./chunks/file-47ty4mvs.js";
53
- import"./chunks/file-6yt963b8.js";
54
- import"./chunks/file-ghwjy7my.js";
55
- import"./chunks/file-tmb1f636.js";
56
- import"./chunks/file-z47nswr2.js";
57
- import"./chunks/file-qp95y4jb.js";
58
- import"./chunks/file-ayevdmef.js";
59
- import"./chunks/file-yrqrg4vp.js";
60
- import"./chunks/file-8nn8kqcn.js";
61
- import"./chunks/file-se76j685.js";
62
- import"./chunks/file-kxy11nzk.js";
63
- import"./chunks/file-dht5baf0.js";
64
- import"./chunks/file-gd5xeqc2.js";
65
- import"./chunks/file-f4cp4g4a.js";
66
- import"./chunks/file-f14r7hfz.js";
67
- import"./chunks/file-kyyqvx4s.js";
68
- import"./chunks/file-nsc0c3zb.js";
69
- import"./chunks/file-nkm1m8dz.js";
70
- import"./chunks/file-b02txbh8.js";
71
- import"./chunks/file-3w3ybtfd.js";
72
- import"./chunks/file-kpdbz7gn.js";
73
- import"./chunks/file-vkvb1sb3.js";
74
- import"./chunks/file-ma60vzgv.js";
75
- import"./chunks/file-wwntjmk1.js";
76
- import"./chunks/file-v2adqbbe.js";
77
- import"./chunks/file-ecxv0vtt.js";
78
- import"./chunks/file-0kvmztkf.js";
79
- import"./chunks/file-rvfvac9x.js";
9
+ } from "./chunks/schema-z2zkanea.js";
10
+ import"./chunks/schema-t14kykx1.js";
11
+ import"./chunks/schema-3c4nztf9.js";
12
+ import"./chunks/schema-0kvmztkf.js";
13
+ import"./chunks/schema-192rdx49.js";
14
+ import"./chunks/schema-ttxf0gsy.js";
15
+ import"./chunks/schema-8nvwj8vn.js";
16
+ import"./chunks/schema-g790236b.js";
17
+ import"./chunks/schema-mnfp87kp.js";
18
+ import"./chunks/schema-tdr7a9mr.js";
19
+ import"./chunks/schema-mbn7wb87.js";
20
+ import"./chunks/schema-8bkmtpp6.js";
21
+ import"./chunks/schema-f84sxdqn.js";
22
+ import"./chunks/schema-4zg0gww9.js";
23
+ import"./chunks/schema-hwmywmxa.js";
24
+ import"./chunks/schema-erj4j75s.js";
25
+ import"./chunks/schema-mwceq5am.js";
26
+ import"./chunks/schema-0f48qthw.js";
27
+ import"./chunks/schema-g9yygpzr.js";
28
+ import"./chunks/schema-bxdhjb3y.js";
29
+ import"./chunks/schema-zfxc0ze5.js";
30
+ import"./chunks/schema-ma07p6tt.js";
31
+ import"./chunks/schema-s7whb9gt.js";
32
+ import"./chunks/schema-a94tf2t8.js";
33
+ import"./chunks/schema-qz7fnwev.js";
34
+ import"./chunks/schema-qc167nrn.js";
35
+ import"./chunks/schema-gd5xeqc2.js";
36
+ import"./chunks/schema-ayevdmef.js";
37
+ import"./chunks/schema-faypg4r1.js";
38
+ import"./chunks/schema-ma60vzgv.js";
39
+ import"./chunks/schema-wyqjaaa5.js";
40
+ import"./chunks/schema-69qrqpw0.js";
41
+ import"./chunks/schema-f4cp4g4a.js";
42
+ import"./chunks/schema-dht5baf0.js";
43
+ import"./chunks/schema-47ty4mvs.js";
44
+ import"./chunks/schema-kyyqvx4s.js";
45
+ import"./chunks/schema-3g3rpp2x.js";
46
+ import"./chunks/schema-dhcq6c44.js";
47
+ import"./chunks/schema-nkm1m8dz.js";
48
+ import"./chunks/schema-9sdtsapf.js";
49
+ import"./chunks/schema-6yt963b8.js";
50
+ import"./chunks/schema-z47nswr2.js";
51
+ import"./chunks/schema-f14r7hfz.js";
52
+ import"./chunks/schema-emmqknsm.js";
53
+ import"./chunks/schema-2qdx6zz3.js";
54
+ import"./chunks/schema-qp95y4jb.js";
55
+ import"./chunks/schema-nsc0c3zb.js";
56
+ import"./chunks/schema-n3m50c2t.js";
57
+ import"./chunks/schema-v2adqbbe.js";
58
+ import"./chunks/schema-tmb1f636.js";
59
+ import"./chunks/schema-cm67rqy2.js";
60
+ import"./chunks/schema-1fb7bmpf.js";
61
+ import"./chunks/schema-kpdbz7gn.js";
62
+ import"./chunks/schema-5va1yh78.js";
63
+ import"./chunks/schema-vkvb1sb3.js";
64
+ import"./chunks/schema-se76j685.js";
65
+ import"./chunks/schema-b02txbh8.js";
66
+ import"./chunks/schema-em6xpscd.js";
67
+ import"./chunks/schema-x4q807cx.js";
68
+ import"./chunks/schema-9dct5xhx.js";
69
+ import"./chunks/schema-3w3ybtfd.js";
70
+ import"./chunks/schema-yrqrg4vp.js";
71
+ import"./chunks/schema-906y0b6d.js";
72
+ import"./chunks/schema-ghm4673n.js";
73
+ import"./chunks/schema-ghwjy7my.js";
74
+ import"./chunks/schema-kxy11nzk.js";
75
+ import"./chunks/schema-8nn8kqcn.js";
76
+ import"./chunks/schema-wwntjmk1.js";
77
+ import"./chunks/schema-8sj3ajy5.js";
78
+ import"./chunks/schema-ecxv0vtt.js";
79
+ import"./chunks/schema-rvfvac9x.js";
80
80
  export {
81
81
  node,
82
82
  configured,
@@ -2,9 +2,9 @@ import {
2
2
  DirectoryUnavailableError,
3
3
  canonical,
4
4
  exports_directory
5
- } from "../chunks/file-mnb85w6b.js";
6
- import"../chunks/file-j07kk359.js";
7
- import"../chunks/file-rvfvac9x.js";
5
+ } from "../chunks/schema-mnb85w6b.js";
6
+ import"../chunks/schema-j07kk359.js";
7
+ import"../chunks/schema-rvfvac9x.js";
8
8
  export {
9
9
  canonical,
10
10
  exports_directory as WorktreeDirectory,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  exports_git,
3
3
  make
4
- } from "../chunks/file-qgt32wwf.js";
5
- import"../chunks/file-mnb85w6b.js";
6
- import"../chunks/file-zjvgdt9p.js";
7
- import"../chunks/file-j07kk359.js";
8
- import"../chunks/file-gd2xppx8.js";
9
- import"../chunks/file-0kvmztkf.js";
10
- import"../chunks/file-rvfvac9x.js";
4
+ } from "../chunks/schema-qgt32wwf.js";
5
+ import"../chunks/schema-mnb85w6b.js";
6
+ import"../chunks/schema-zjvgdt9p.js";
7
+ import"../chunks/schema-gd2xppx8.js";
8
+ import"../chunks/schema-j07kk359.js";
9
+ import"../chunks/schema-0kvmztkf.js";
10
+ import"../chunks/schema-rvfvac9x.js";
11
11
  export {
12
12
  make,
13
13
  exports_git as WorktreeGit
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  WorktreeTable
3
- } from "../chunks/file-mh28new4.js";
4
- import"../chunks/file-88jbfw8z.js";
5
- import"../chunks/file-zbqqnp0n.js";
6
- import"../chunks/file-j07kk359.js";
7
- import"../chunks/file-sem2g21k.js";
8
- import"../chunks/file-rvfvac9x.js";
3
+ } from "../chunks/schema-mh28new4.js";
4
+ import"../chunks/schema-88jbfw8z.js";
5
+ import"../chunks/schema-zbqqnp0n.js";
6
+ import"../chunks/schema-j07kk359.js";
7
+ import"../chunks/schema-sem2g21k.js";
8
+ import"../chunks/schema-rvfvac9x.js";
9
9
  export {
10
10
  WorktreeTable
11
11
  };
package/dist/worktree.js CHANGED
@@ -19,92 +19,92 @@ import {
19
19
  node,
20
20
  refreshAfterBoot,
21
21
  refreshNode
22
- } from "./chunks/file-75z23hs9.js";
23
- import"./chunks/file-qgt32wwf.js";
22
+ } from "./chunks/schema-nnxkn71f.js";
23
+ import"./chunks/schema-qgt32wwf.js";
24
24
  import {
25
25
  DirectoryUnavailableError
26
- } from "./chunks/file-mnb85w6b.js";
27
- import"./chunks/file-df3v2q6j.js";
28
- import"./chunks/file-v0ktexvy.js";
29
- import"./chunks/file-yb1hpdkr.js";
30
- import"./chunks/file-8v47shgf.js";
31
- import"./chunks/file-mh28new4.js";
32
- import"./chunks/file-88jbfw8z.js";
33
- import"./chunks/file-zbqqnp0n.js";
34
- import"./chunks/file-zjvgdt9p.js";
35
- import"./chunks/file-j07kk359.js";
36
- import"./chunks/file-gd2xppx8.js";
37
- import"./chunks/file-sem2g21k.js";
38
- import"./chunks/file-ywrrwgdd.js";
39
- import"./chunks/file-zsf8rs93.js";
40
- import"./chunks/file-4223r8y8.js";
41
- import"./chunks/file-ttxf0gsy.js";
42
- import"./chunks/file-zh6p9k71.js";
43
- import"./chunks/file-1yz6p2jq.js";
44
- import"./chunks/file-6y00qkx7.js";
45
- import"./chunks/file-vm3prpn4.js";
46
- import"./chunks/file-9vc4jz8b.js";
47
- import"./chunks/file-hsyk7kfz.js";
48
- import"./chunks/file-4zg0gww9.js";
49
- import"./chunks/file-f84sxdqn.js";
50
- import"./chunks/file-va2xjmjn.js";
51
- import"./chunks/file-0f48qthw.js";
52
- import"./chunks/file-zfxc0ze5.js";
53
- import"./chunks/file-s7whb9gt.js";
54
- import"./chunks/file-erj4j75s.js";
55
- import"./chunks/file-g9yygpzr.js";
56
- import"./chunks/file-mwceq5am.js";
57
- import"./chunks/file-bxdhjb3y.js";
58
- import"./chunks/file-ma07p6tt.js";
59
- import"./chunks/file-tr01v5pk.js";
60
- import"./chunks/file-b1z4y0ay.js";
61
- import"./chunks/file-2qdx6zz3.js";
62
- import"./chunks/file-8sj3ajy5.js";
63
- import"./chunks/file-x4q807cx.js";
64
- import"./chunks/file-qc167nrn.js";
65
- import"./chunks/file-cm67rqy2.js";
66
- import"./chunks/file-906y0b6d.js";
67
- import"./chunks/file-69qrqpw0.js";
68
- import"./chunks/file-n3m50c2t.js";
69
- import"./chunks/file-5va1yh78.js";
70
- import"./chunks/file-3g3rpp2x.js";
71
- import"./chunks/file-wyqjaaa5.js";
72
- import"./chunks/file-em6xpscd.js";
73
- import"./chunks/file-ghm4673n.js";
74
- import"./chunks/file-emmqknsm.js";
75
- import"./chunks/file-9dct5xhx.js";
76
- import"./chunks/file-1fb7bmpf.js";
77
- import"./chunks/file-dhcq6c44.js";
78
- import"./chunks/file-9sdtsapf.js";
79
- import"./chunks/file-faypg4r1.js";
80
- import"./chunks/file-47ty4mvs.js";
81
- import"./chunks/file-6yt963b8.js";
82
- import"./chunks/file-ghwjy7my.js";
83
- import"./chunks/file-tmb1f636.js";
84
- import"./chunks/file-z47nswr2.js";
85
- import"./chunks/file-qp95y4jb.js";
86
- import"./chunks/file-ayevdmef.js";
87
- import"./chunks/file-yrqrg4vp.js";
88
- import"./chunks/file-8nn8kqcn.js";
89
- import"./chunks/file-se76j685.js";
90
- import"./chunks/file-kxy11nzk.js";
91
- import"./chunks/file-dht5baf0.js";
92
- import"./chunks/file-gd5xeqc2.js";
93
- import"./chunks/file-f4cp4g4a.js";
94
- import"./chunks/file-f14r7hfz.js";
95
- import"./chunks/file-kyyqvx4s.js";
96
- import"./chunks/file-nsc0c3zb.js";
97
- import"./chunks/file-nkm1m8dz.js";
98
- import"./chunks/file-b02txbh8.js";
99
- import"./chunks/file-3w3ybtfd.js";
100
- import"./chunks/file-kpdbz7gn.js";
101
- import"./chunks/file-vkvb1sb3.js";
102
- import"./chunks/file-ma60vzgv.js";
103
- import"./chunks/file-wwntjmk1.js";
104
- import"./chunks/file-v2adqbbe.js";
105
- import"./chunks/file-ecxv0vtt.js";
106
- import"./chunks/file-0kvmztkf.js";
107
- import"./chunks/file-rvfvac9x.js";
26
+ } from "./chunks/schema-mnb85w6b.js";
27
+ import"./chunks/schema-df3v2q6j.js";
28
+ import"./chunks/schema-je6m2rhy.js";
29
+ import"./chunks/schema-p5q5g0dh.js";
30
+ import"./chunks/schema-mh28new4.js";
31
+ import"./chunks/schema-8v47shgf.js";
32
+ import"./chunks/schema-88jbfw8z.js";
33
+ import"./chunks/schema-zbqqnp0n.js";
34
+ import"./chunks/schema-zjvgdt9p.js";
35
+ import"./chunks/schema-gd2xppx8.js";
36
+ import"./chunks/schema-j07kk359.js";
37
+ import"./chunks/schema-sem2g21k.js";
38
+ import"./chunks/schema-h8vsb53f.js";
39
+ import"./chunks/schema-zsf8rs93.js";
40
+ import"./chunks/schema-0kvmztkf.js";
41
+ import"./chunks/schema-192rdx49.js";
42
+ import"./chunks/schema-ttxf0gsy.js";
43
+ import"./chunks/schema-8nvwj8vn.js";
44
+ import"./chunks/schema-g790236b.js";
45
+ import"./chunks/schema-mnfp87kp.js";
46
+ import"./chunks/schema-tdr7a9mr.js";
47
+ import"./chunks/schema-mbn7wb87.js";
48
+ import"./chunks/schema-8bkmtpp6.js";
49
+ import"./chunks/schema-f84sxdqn.js";
50
+ import"./chunks/schema-4zg0gww9.js";
51
+ import"./chunks/schema-hwmywmxa.js";
52
+ import"./chunks/schema-erj4j75s.js";
53
+ import"./chunks/schema-mwceq5am.js";
54
+ import"./chunks/schema-0f48qthw.js";
55
+ import"./chunks/schema-g9yygpzr.js";
56
+ import"./chunks/schema-bxdhjb3y.js";
57
+ import"./chunks/schema-zfxc0ze5.js";
58
+ import"./chunks/schema-ma07p6tt.js";
59
+ import"./chunks/schema-s7whb9gt.js";
60
+ import"./chunks/schema-a94tf2t8.js";
61
+ import"./chunks/schema-qz7fnwev.js";
62
+ import"./chunks/schema-qc167nrn.js";
63
+ import"./chunks/schema-gd5xeqc2.js";
64
+ import"./chunks/schema-ayevdmef.js";
65
+ import"./chunks/schema-faypg4r1.js";
66
+ import"./chunks/schema-ma60vzgv.js";
67
+ import"./chunks/schema-wyqjaaa5.js";
68
+ import"./chunks/schema-69qrqpw0.js";
69
+ import"./chunks/schema-f4cp4g4a.js";
70
+ import"./chunks/schema-dht5baf0.js";
71
+ import"./chunks/schema-47ty4mvs.js";
72
+ import"./chunks/schema-kyyqvx4s.js";
73
+ import"./chunks/schema-3g3rpp2x.js";
74
+ import"./chunks/schema-dhcq6c44.js";
75
+ import"./chunks/schema-nkm1m8dz.js";
76
+ import"./chunks/schema-9sdtsapf.js";
77
+ import"./chunks/schema-6yt963b8.js";
78
+ import"./chunks/schema-z47nswr2.js";
79
+ import"./chunks/schema-f14r7hfz.js";
80
+ import"./chunks/schema-emmqknsm.js";
81
+ import"./chunks/schema-2qdx6zz3.js";
82
+ import"./chunks/schema-qp95y4jb.js";
83
+ import"./chunks/schema-nsc0c3zb.js";
84
+ import"./chunks/schema-n3m50c2t.js";
85
+ import"./chunks/schema-v2adqbbe.js";
86
+ import"./chunks/schema-tmb1f636.js";
87
+ import"./chunks/schema-cm67rqy2.js";
88
+ import"./chunks/schema-1fb7bmpf.js";
89
+ import"./chunks/schema-kpdbz7gn.js";
90
+ import"./chunks/schema-5va1yh78.js";
91
+ import"./chunks/schema-vkvb1sb3.js";
92
+ import"./chunks/schema-se76j685.js";
93
+ import"./chunks/schema-b02txbh8.js";
94
+ import"./chunks/schema-em6xpscd.js";
95
+ import"./chunks/schema-x4q807cx.js";
96
+ import"./chunks/schema-9dct5xhx.js";
97
+ import"./chunks/schema-3w3ybtfd.js";
98
+ import"./chunks/schema-yrqrg4vp.js";
99
+ import"./chunks/schema-906y0b6d.js";
100
+ import"./chunks/schema-ghm4673n.js";
101
+ import"./chunks/schema-ghwjy7my.js";
102
+ import"./chunks/schema-kxy11nzk.js";
103
+ import"./chunks/schema-8nn8kqcn.js";
104
+ import"./chunks/schema-wwntjmk1.js";
105
+ import"./chunks/schema-8sj3ajy5.js";
106
+ import"./chunks/schema-ecxv0vtt.js";
107
+ import"./chunks/schema-rvfvac9x.js";
108
108
  export {
109
109
  refreshNode,
110
110
  refreshAfterBoot,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "0.0.0-beta-17595",
3
+ "version": "0.0.0-beta-17727",
4
4
  "name": "@opencode-ai/core",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -77,13 +77,13 @@
77
77
  }
78
78
  },
79
79
  "devDependencies": {
80
- "@effect/platform-node": "4.0.0-beta.107",
81
- "@effect/sql-sqlite-bun": "4.0.0-beta.107",
80
+ "@effect/platform-node": "4.0.0-rc.110",
81
+ "@effect/sql-sqlite-bun": "4.0.0-rc.110",
82
82
  "@tsconfig/bun": "1.0.9",
83
83
  "@types/bun": "1.3.13",
84
84
  "@types/node": "24.12.2",
85
85
  "@types/which": "3.0.4",
86
- "@opencode-ai/shell-scan": "0.0.0-beta-17595",
86
+ "@opencode-ai/shell-scan": "0.0.0-beta-17727",
87
87
  "@parcel/watcher-darwin-arm64": "2.5.1",
88
88
  "@parcel/watcher-darwin-x64": "2.5.1",
89
89
  "@parcel/watcher-linux-arm64-glibc": "2.5.1",
@@ -92,7 +92,7 @@
92
92
  "@parcel/watcher-linux-x64-musl": "2.5.1",
93
93
  "@parcel/watcher-win32-arm64": "2.5.1",
94
94
  "@parcel/watcher-win32-x64": "2.5.1",
95
- "@opencode-ai/http-recorder": "0.0.0-beta-17595",
95
+ "@opencode-ai/http-recorder": "0.0.0-beta-17727",
96
96
  "drizzle-kit": "1.0.0-rc.2"
97
97
  },
98
98
  "dependencies": {
@@ -118,11 +118,11 @@
118
118
  "@modelcontextprotocol/sdk": "1.29.0",
119
119
  "@ff-labs/fff-bun": "0.10.1",
120
120
  "@ff-labs/fff-node": "0.10.1",
121
- "@opencode-ai/codemode": "0.0.0-beta-17595",
122
- "@opencode-ai/ai": "0.0.0-beta-17595",
123
- "@opencode-ai/schema": "0.0.0-beta-17595",
124
- "@opencode-ai/plugin": "0.0.0-beta-17595",
125
- "@opencode-ai/util": "0.0.0-beta-17595",
121
+ "@opencode-ai/codemode": "0.0.0-beta-17727",
122
+ "@opencode-ai/ai": "0.0.0-beta-17727",
123
+ "@opencode-ai/schema": "0.0.0-beta-17727",
124
+ "@opencode-ai/plugin": "0.0.0-beta-17727",
125
+ "@opencode-ai/util": "0.0.0-beta-17727",
126
126
  "@standard-schema/spec": "1.1.0",
127
127
  "@parcel/watcher": "2.5.1",
128
128
  "@silvia-odwyer/photon-node": "0.3.4",
@@ -130,7 +130,7 @@
130
130
  "bun-pty": "0.4.8",
131
131
  "diff": "8.0.2",
132
132
  "drizzle-orm": "1.0.0-rc.2",
133
- "effect": "4.0.0-beta.107",
133
+ "effect": "4.0.0-rc.110",
134
134
  "fuzzysort": "3.1.0",
135
135
  "gitlab-ai-provider": "6.12.1",
136
136
  "google-auth-library": "10.5.0",
@@ -1,122 +0,0 @@
1
- import {
2
- toLLMMessages
3
- } from "./file-dgjzraq6.js";
4
- import {
5
- exports_context
6
- } from "./file-gxmfza0d.js";
7
- import {
8
- exports_system_prompt
9
- } from "./file-v80zsxnb.js";
10
- import {
11
- exports_model_http
12
- } from "./file-93qdgxxd.js";
13
- import {
14
- exports_prompt_cache_key
15
- } from "./file-52jzav25.js";
16
- import {
17
- exports_model_headers
18
- } from "./file-1xksxgzs.js";
19
- import {
20
- exports_generate
21
- } from "./file-xgv25zxy.js";
22
- import {
23
- exports_model
24
- } from "./file-k0630w4g.js";
25
- import {
26
- exports_hooks
27
- } from "./file-0dwyqmzq.js";
28
- import {
29
- exports_history
30
- } from "./file-b4j6ey0s.js";
31
- import {
32
- llmClient
33
- } from "./file-j1a5h53y.js";
34
- import {
35
- exports_app
36
- } from "./file-50jxp3hw.js";
37
- import {
38
- exports_database
39
- } from "./file-4223r8y8.js";
40
- import {
41
- __export
42
- } from "./file-rvfvac9x.js";
43
-
44
- // src/session/generate-node.ts
45
- var exports_generate_node = {};
46
- __export(exports_generate_node, {
47
- node: () => node,
48
- layer: () => layer,
49
- SessionGenerateNode: () => exports_generate_node
50
- });
51
- import { LLM, LLMClient, Message, SystemPart } from "@opencode-ai/ai";
52
- import { Effect, Layer } from "effect";
53
- import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
54
- var layer = Layer.effect(exports_generate.Service, Effect.gen(function* () {
55
- const context = yield* exports_context.Service;
56
- const database = yield* exports_database.Service;
57
- const hooks = yield* exports_hooks.Service;
58
- const llm = yield* LLMClient.Service;
59
- const models = yield* exports_model.Service;
60
- const app = yield* exports_app.Metadata;
61
- return exports_generate.Service.of({
62
- generate: Effect.fn("SessionGenerate.generate")(function* (input) {
63
- const selection = yield* context.select(input.sessionID);
64
- const model = yield* models.resolve(selection.session);
65
- const history = yield* exports_history.preview(database.db, selection.session.id, selection.instructions);
66
- const providerMetadataKey = model.model.route.providerMetadataKey ?? model.model.provider;
67
- const tools = selection.tools;
68
- const toolDefinitions = tools.definitions;
69
- const toolsByName = new Map(toolDefinitions.map((tool) => [tool.name, tool]));
70
- const contextEvent = yield* hooks.trigger("session", "context", {
71
- sessionID: selection.session.id,
72
- agent: selection.agent.id,
73
- model: model.ref,
74
- system: [
75
- selection.agent.info.system ? selection.agent.info.system : exports_system_prompt.make(toolDefinitions.map((tool) => tool.name)),
76
- history.initial
77
- ].filter((part) => part.length > 0).map(SystemPart.make),
78
- messages: [
79
- ...toLLMMessages(history.messages, model.ref, providerMetadataKey),
80
- ...history.instructionUpdate ? [Message.system(history.instructionUpdate)] : [],
81
- Message.user(input.prompt)
82
- ],
83
- tools: Object.fromEntries(toolDefinitions.map((tool) => [
84
- tool.name,
85
- { description: tool.description, input: { ...tool.inputSchema } }
86
- ]))
87
- });
88
- const hookedTools = Object.entries(contextEvent.tools).flatMap(([name, tool]) => {
89
- const registered = toolsByName.get(name);
90
- return registered ? [Object.assign({}, registered, { description: tool.description, inputSchema: tool.input })] : [];
91
- });
92
- yield* Effect.logInfo("sending session generation request", {
93
- sessionID: selection.session.id,
94
- providerID: model.ref.providerID,
95
- modelID: model.ref.id
96
- });
97
- const response = yield* llm.generate(LLM.request({
98
- model: model.model,
99
- http: { headers: exports_model_headers.make(selection.session, app) },
100
- promptCacheKey: exports_prompt_cache_key.make(selection.session.id),
101
- system: contextEvent.system,
102
- messages: contextEvent.messages,
103
- tools: hookedTools
104
- }), {
105
- http: exports_model_http.middleware(hooks, {
106
- sessionID: selection.session.id,
107
- agent: selection.agent.id,
108
- model: model.ref
109
- })
110
- });
111
- yield* Effect.logInfo("session generation usage diagnostic", { usage: response.usage });
112
- return response.text;
113
- })
114
- });
115
- }));
116
- var node = makeLocationNode({
117
- service: exports_generate.Service,
118
- layer,
119
- deps: [exports_context.node, exports_database.node, exports_hooks.node, exports_model.node, exports_app.node, llmClient]
120
- });
121
-
122
- export { layer, node, exports_generate_node };
@@ -1,72 +0,0 @@
1
- import {
2
- exports_config
3
- } from "./file-tgkwq7ey.js";
4
- import {
5
- exports_watcher
6
- } from "./file-y980s7ka.js";
7
- import {
8
- exports_location
9
- } from "./file-v0ktexvy.js";
10
- import {
11
- exports_git
12
- } from "./file-zjvgdt9p.js";
13
- import {
14
- exports_bus
15
- } from "./file-ywrrwgdd.js";
16
- import {
17
- __export
18
- } from "./file-rvfvac9x.js";
19
-
20
- // src/filesystem/location-watcher.ts
21
- var exports_location_watcher = {};
22
- __export(exports_location_watcher, {
23
- node: () => node,
24
- Service: () => Service,
25
- LocationWatcher: () => exports_location_watcher
26
- });
27
- import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
28
- import { Context, Effect, Layer, Stream } from "effect";
29
- import { FileSystem } from "@opencode-ai/schema/filesystem";
30
- import path from "path";
31
- import { FSUtil } from "@opencode-ai/util/fs-util";
32
- class Service extends Context.Service()("@opencode/LocationWatcher") {
33
- }
34
- var layer = Layer.effect(Service, Effect.gen(function* () {
35
- const location = yield* exports_location.Service;
36
- const watcher = yield* exports_watcher.Service;
37
- const bus = yield* exports_bus.Service;
38
- const fs = yield* FSUtil.Service;
39
- const git = yield* exports_git.Service;
40
- const configService = yield* exports_config.Service;
41
- const publish = (update) => bus.publish(FileSystem.Event.Changed, {
42
- file: update.path,
43
- event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
44
- });
45
- yield* Effect.gen(function* () {
46
- const config = (yield* configService.entries()).filter((entry) => entry.type === "document").flatMap((item) => item.info.watcher?.ignore ?? []);
47
- if (location.vcs?.type === "git") {
48
- const resolved = (yield* git.repo.discover(location.directory))?.gitDirectory;
49
- const vcs = resolved ? yield* fs.realPath(resolved).pipe(Effect.catch(() => Effect.succeed(resolved))) : undefined;
50
- if (vcs && !config.includes(".git") && !config.includes(vcs) && (!resolved || !config.includes(resolved))) {
51
- const updates = yield* watcher.subscribe({ path: path.join(vcs, "HEAD"), type: "file" });
52
- yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped);
53
- }
54
- }
55
- if (location.vcs?.type === "hg") {
56
- const store = location.vcs.store;
57
- const vcs = yield* fs.realPath(store).pipe(Effect.catch(() => Effect.succeed(store)));
58
- if (!config.includes(".hg") && !config.includes(vcs)) {
59
- const updates = yield* watcher.subscribe({ path: path.join(vcs, "branch"), type: "file" });
60
- yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped);
61
- }
62
- }
63
- }).pipe(Effect.withSpan("LocationWatcher.start", { attributes: { directory: location.directory } }), Effect.catchCause((cause) => Effect.logError("failed to init location watcher service", { cause })), Effect.forkScoped);
64
- return Service.of({});
65
- }));
66
- var node = makeLocationNode({
67
- service: Service,
68
- layer,
69
- deps: [exports_watcher.node, FSUtil.node, exports_location.node, exports_config.node, exports_git.node, exports_bus.node]
70
- });
71
-
72
- export { Service, node, exports_location_watcher };