@opencode/core 0.0.0-dev-19976 → 0.0.0-dev-19977
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{workspace-dfe8djrf.js → vcs-00z3vp5f.js} +4 -4
- package/dist/chunks/{workspace-jzj5fe77.js → vcs-026mxvrw.js} +24 -24
- package/dist/chunks/{workspace-j71eb661.js → vcs-02egfabs.js} +14 -14
- package/dist/chunks/{workspace-rxxp0mym.js → vcs-04zx5mpa.js} +1 -1
- package/dist/chunks/{workspace-y9c8ds6g.js → vcs-0b9vs59q.js} +1 -1
- package/dist/chunks/{workspace-qkp1k0b9.js → vcs-0csvndr3.js} +3 -3
- package/dist/chunks/{workspace-9bkpwrqx.js → vcs-0cvxc6ms.js} +38 -38
- package/dist/chunks/{workspace-phbsj0j2.js → vcs-0gyx6ezr.js} +16 -16
- package/dist/chunks/{workspace-37sfe3bm.js → vcs-0mm9aq32.js} +11 -11
- package/dist/chunks/{workspace-hc5h1fwz.js → vcs-0p47j88a.js} +11 -11
- package/dist/chunks/{workspace-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-gfrjm2xz.js → vcs-14604q16.js} +20 -20
- package/dist/chunks/{workspace-8z45c87w.js → vcs-1571dsgn.js} +12 -12
- package/dist/chunks/{workspace-shh6fz4q.js → vcs-18e56dsp.js} +4 -4
- package/dist/chunks/{workspace-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-dn1jy3t2.js → vcs-1enqjbtj.js} +9 -9
- package/dist/chunks/{workspace-xygf558z.js → vcs-1gx19wx1.js} +13 -13
- package/dist/chunks/{workspace-xqrhjvfz.js → vcs-1scs63j0.js} +22 -22
- package/dist/chunks/{workspace-dkkf29sp.js → vcs-1wy7xpcm.js} +10 -10
- package/dist/chunks/{workspace-1y9dt3g7.js → vcs-21jmns5z.js} +54 -54
- package/dist/chunks/{workspace-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-c05v4fnx.js → vcs-22a20jna.js} +31 -31
- package/dist/chunks/{workspace-6h73sxmp.js → vcs-2402vzrj.js} +5 -5
- package/dist/chunks/{workspace-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-jttm2z5k.js → vcs-2m91t0br.js} +133 -133
- package/dist/chunks/{workspace-6y1vxjf5.js → vcs-2n0f0xad.js} +18 -18
- package/dist/chunks/{workspace-h05xe26f.js → vcs-2ndbjpj7.js} +2 -2
- package/dist/chunks/{workspace-r02e4wv6.js → vcs-31a459na.js} +11 -11
- package/dist/chunks/{workspace-hsg668p1.js → vcs-31ckz9nn.js} +16 -16
- package/dist/chunks/{workspace-g9avfrxv.js → vcs-31dgsdk7.js} +9 -9
- package/dist/chunks/{workspace-sttw4gkc.js → vcs-34d507gh.js} +33 -33
- package/dist/chunks/{workspace-2cmnwcq0.js → vcs-35qq722n.js} +7 -7
- package/dist/chunks/{workspace-vhv5xdae.js → vcs-36k6dezp.js} +9 -9
- package/dist/chunks/{workspace-en40pvpc.js → vcs-3790xwfd.js} +25 -25
- package/dist/chunks/{workspace-3w2b2yj4.js → vcs-37s12vcn.js} +5 -5
- package/dist/chunks/{workspace-277eer69.js → vcs-3ewed21c.js} +4 -4
- package/dist/chunks/{workspace-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/vcs-3p71wzhx.js +252 -0
- package/dist/chunks/{workspace-cs700ddv.js → vcs-3qjhd3zm.js} +11 -11
- package/dist/chunks/{workspace-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-tjszthyy.js → vcs-47r4vyk3.js} +8 -8
- package/dist/chunks/{workspace-y39x7n9b.js → vcs-4c8cjtxr.js} +6 -6
- package/dist/chunks/{workspace-w068zxwj.js → vcs-4fp0tc5q.js} +17 -17
- package/dist/chunks/{workspace-ns9v291x.js → vcs-4mj78ng4.js} +1 -1
- package/dist/chunks/{workspace-njpe9gsc.js → vcs-4s7kcajh.js} +17 -17
- package/dist/chunks/{workspace-1ygqh575.js → vcs-56gdpj1q.js} +9 -9
- package/dist/chunks/{workspace-57ez7d0k.js → vcs-57ez7d0k.js} +2 -2
- package/dist/chunks/{workspace-t8djmwwn.js → vcs-5b5g75gf.js} +8 -8
- package/dist/chunks/{workspace-csf2jhsg.js → vcs-5c0f1prt.js} +4 -4
- package/dist/chunks/{workspace-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-qqveq5z9.js → vcs-5g96j2vd.js} +8 -8
- package/dist/chunks/{workspace-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
- package/dist/chunks/{workspace-dnk3rzs1.js → vcs-5sb1zc5g.js} +15 -15
- package/dist/chunks/{workspace-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-9t3w81t2.js → vcs-5xjstr01.js} +20 -20
- package/dist/chunks/{workspace-6r6sqe9n.js → vcs-5ypy0aps.js} +3 -3
- package/dist/chunks/{workspace-qnye80mc.js → vcs-5zdtcgy0.js} +38 -38
- package/dist/chunks/{workspace-kfpry7jw.js → vcs-5zr8nydg.js} +32 -32
- package/dist/chunks/vcs-619r8v3y.js +18 -0
- package/dist/chunks/{workspace-jck03djw.js → vcs-636n1fx9.js} +24 -24
- package/dist/chunks/{workspace-n7hq9y22.js → vcs-65gfcbyz.js} +29 -29
- package/dist/chunks/{workspace-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{workspace-jy1x85rx.js → vcs-6mm913p5.js} +4 -4
- package/dist/chunks/{workspace-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-k55f3hcm.js → vcs-6mwa2s17.js} +10 -10
- package/dist/chunks/{workspace-frq37dj9.js → vcs-6vx8265g.js} +24 -24
- package/dist/chunks/{workspace-6878ajz3.js → vcs-6xyj4q8a.js} +9 -9
- package/dist/chunks/{workspace-drkc87kz.js → vcs-70rtrpe7.js} +11 -11
- package/dist/chunks/{workspace-p7gtrmqp.js → vcs-73sq42y9.js} +4 -4
- package/dist/chunks/{workspace-9pkkzrmj.js → vcs-762r0j46.js} +5 -5
- package/dist/chunks/{workspace-nhkza4qs.js → vcs-77n73x0z.js} +14 -14
- package/dist/chunks/{workspace-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-ex4wm9dq.js → vcs-7f4kevra.js} +30 -30
- package/dist/chunks/{workspace-a3afvmqg.js → vcs-7hgdmm2q.js} +7 -7
- package/dist/chunks/{workspace-egmeyekh.js → vcs-7jmzt1bp.js} +20 -20
- package/dist/chunks/{workspace-0z7rzftk.js → vcs-7pej1m6n.js} +6 -6
- package/dist/chunks/{workspace-ed6ewr6r.js → vcs-7z1m1xqn.js} +8 -8
- package/dist/chunks/{workspace-8j6z6d32.js → vcs-88b3bgew.js} +22 -22
- package/dist/chunks/{workspace-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-cm5z7ssw.js → vcs-8g3cnzmf.js} +13 -13
- package/dist/chunks/{workspace-8p4f9s12.js → vcs-8p4f9s12.js} +2 -2
- package/dist/chunks/{workspace-fb08vzds.js → vcs-8vbzfqqc.js} +31 -31
- package/dist/chunks/{workspace-jbnhwg68.js → vcs-91p43skh.js} +3 -3
- package/dist/chunks/{workspace-dj97z1h1.js → vcs-93pp14as.js} +11 -11
- package/dist/chunks/{workspace-dnq79vah.js → vcs-9c1r8673.js} +10 -10
- package/dist/chunks/{workspace-a1bz86dw.js → vcs-a1bz86dw.js} +3 -3
- package/dist/chunks/{workspace-4nj4bn9q.js → vcs-a3ftg8j6.js} +9 -9
- package/dist/chunks/{workspace-g97bb4fb.js → vcs-a3r4dcrj.js} +2 -2
- package/dist/chunks/{workspace-evstn2e1.js → vcs-a4gexze1.js} +20 -20
- package/dist/chunks/{workspace-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-nz40v0xg.js → vcs-aee8h6x3.js} +15 -15
- package/dist/chunks/{workspace-jdhqnsv9.js → vcs-arcxrr1g.js} +24 -24
- package/dist/chunks/{workspace-57sydnee.js → vcs-at3m1tvy.js} +18 -18
- package/dist/chunks/{workspace-1407x5yq.js → vcs-b4fb1g87.js} +6 -6
- package/dist/chunks/{workspace-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-8hyqnzhe.js → vcs-bjtgrew5.js} +50 -50
- package/dist/chunks/{workspace-gjmk74th.js → vcs-bw9zjykr.js} +6 -6
- package/dist/chunks/{workspace-6m0tgnv5.js → vcs-bzmv9v1t.js} +35 -35
- package/dist/chunks/{workspace-v2gb0a2b.js → vcs-c3065vva.js} +3 -3
- package/dist/chunks/{workspace-za2m9gf5.js → vcs-c9jrejd8.js} +24 -24
- package/dist/chunks/{workspace-89ad7fzy.js → vcs-ca5qybfk.js} +9 -9
- package/dist/chunks/{workspace-axmvebxj.js → vcs-cavr175a.js} +21 -21
- package/dist/chunks/{workspace-68arvhxb.js → vcs-ce4c0a8t.js} +7 -7
- package/dist/chunks/{workspace-cfpkc3c9.js → vcs-cfpkc3c9.js} +2 -2
- package/dist/chunks/{workspace-cq37gk0t.js → vcs-cq37gk0t.js} +4 -4
- package/dist/chunks/{workspace-q37hvqsc.js → vcs-cr17rqga.js} +9 -9
- package/dist/chunks/{workspace-r2m716tb.js → vcs-d4he2qe1.js} +9 -9
- package/dist/chunks/{workspace-m2333cga.js → vcs-d7r387ef.js} +6 -6
- package/dist/chunks/{workspace-v2mh11m3.js → vcs-dedh1m42.js} +20 -20
- package/dist/chunks/{workspace-kkkjbbh2.js → vcs-dgpaqazm.js} +6 -6
- package/dist/chunks/{workspace-m7a66szm.js → vcs-dnrd96kf.js} +20 -20
- package/dist/chunks/{workspace-wnf5egzc.js → vcs-dpewnr59.js} +9 -9
- package/dist/chunks/{workspace-y9k1g73x.js → vcs-e1j0qnan.js} +3 -3
- package/dist/chunks/{workspace-9fc3v4re.js → vcs-e6fmpsdj.js} +4 -4
- package/dist/chunks/{workspace-7b0gpmec.js → vcs-ea198e8q.js} +16 -16
- package/dist/chunks/{workspace-ehe4wzqm.js → vcs-ebfttpxm.js} +11 -11
- package/dist/chunks/{workspace-0jrsc0d0.js → vcs-ebt3yecv.js} +24 -24
- package/dist/chunks/{workspace-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-qft4n94x.js → vcs-eg9s2d14.js} +3 -3
- package/dist/chunks/{workspace-3nenj1by.js → vcs-ehyhzm66.js} +11 -11
- package/dist/chunks/{workspace-s8ah00f6.js → vcs-ejsjeqcn.js} +6 -6
- package/dist/chunks/{workspace-7rce4ag1.js → vcs-eq9pbqr9.js} +10 -10
- package/dist/chunks/{workspace-erw5rpbs.js → vcs-erw5rpbs.js} +2 -2
- package/dist/chunks/{workspace-jd2q17ad.js → vcs-esp4rdvc.js} +11 -11
- package/dist/chunks/{workspace-ppygek1b.js → vcs-esww11we.js} +16 -16
- package/dist/chunks/{workspace-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-724bb6xm.js → vcs-eveqffnf.js} +24 -24
- package/dist/chunks/{workspace-33k257v5.js → vcs-ewtse9cq.js} +17 -17
- package/dist/chunks/{workspace-f7djnycc.js → vcs-f0xae989.js} +15 -15
- package/dist/chunks/{workspace-yx53t0r1.js → vcs-f47ks197.js} +21 -21
- package/dist/chunks/{workspace-hpew3xwe.js → vcs-f501bh8q.js} +1 -1
- package/dist/chunks/{workspace-zymwz594.js → vcs-f6mdpyt7.js} +47 -47
- package/dist/chunks/{workspace-axm728m5.js → vcs-f7f62ppg.js} +41 -41
- package/dist/chunks/{workspace-f828m53h.js → vcs-f828m53h.js} +2 -2
- package/dist/chunks/{workspace-gy8jtxss.js → vcs-fmb18yvb.js} +18 -18
- package/dist/chunks/{workspace-qz49fwgp.js → vcs-fng9e0je.js} +6 -6
- package/dist/chunks/{workspace-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-a46v4e4v.js → vcs-g8d3gcyj.js} +7 -7
- package/dist/chunks/{workspace-f32czd11.js → vcs-g8jasmdt.js} +11 -11
- package/dist/chunks/{workspace-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-7yg3y2sd.js → vcs-gkpeh6zm.js} +11 -11
- package/dist/chunks/{workspace-9v1v9bph.js → vcs-gqf37yrc.js} +4 -4
- package/dist/chunks/{workspace-x9m6b332.js → vcs-grhn0qhx.js} +5 -5
- package/dist/chunks/{workspace-yf10kn3d.js → vcs-gs4tkc79.js} +8 -8
- package/dist/chunks/{workspace-9zmsvm50.js → vcs-gtmm17wr.js} +24 -24
- package/dist/chunks/{workspace-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-5bkw2dcb.js → vcs-h1smzm8e.js} +9 -9
- package/dist/chunks/{workspace-v9bkd1yb.js → vcs-h3emgna1.js} +21 -21
- package/dist/chunks/{workspace-h6r3nrb9.js → vcs-h6r3nrb9.js} +1 -1
- package/dist/chunks/{workspace-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-tx1r3w21.js → vcs-hh877wqm.js} +10 -10
- package/dist/chunks/{workspace-txw29g1t.js → vcs-hn09sy8b.js} +4 -4
- package/dist/chunks/{workspace-hnr5yq9h.js → vcs-hnr5yq9h.js} +2 -2
- package/dist/chunks/{workspace-7h57f7d7.js → vcs-hy8nah29.js} +35 -35
- package/dist/chunks/{workspace-whtf8zfp.js → vcs-j0c0jrrq.js} +9 -9
- package/dist/chunks/{workspace-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-m1xzdp0d.js → vcs-ja7awhpc.js} +21 -21
- package/dist/chunks/{workspace-5epte933.js → vcs-jexxy024.js} +3 -3
- package/dist/chunks/{workspace-cskcxkdr.js → vcs-jfmt6x2y.js} +11 -11
- package/dist/chunks/{workspace-6qa9hb0h.js → vcs-jg9pn0ks.js} +16 -16
- package/dist/chunks/{workspace-eatsc6yh.js → vcs-jqgys1dy.js} +10 -10
- package/dist/chunks/{workspace-ersf5sn4.js → vcs-jspmbzq8.js} +10 -10
- package/dist/chunks/{workspace-qby9dwvd.js → vcs-k1gkpfdk.js} +8 -8
- package/dist/chunks/{workspace-pm8erawn.js → vcs-kbxs9t8f.js} +11 -11
- package/dist/chunks/{workspace-zn2rtdne.js → vcs-krjf62r2.js} +6 -6
- package/dist/chunks/{workspace-64prggvs.js → vcs-krw5nhfk.js} +33 -33
- package/dist/chunks/{workspace-zcaw5wve.js → vcs-kt8hxg6p.js} +16 -16
- package/dist/chunks/{workspace-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-sx7xb6j6.js → vcs-mgj4p8m4.js} +14 -14
- package/dist/chunks/{workspace-vkt5fbj2.js → vcs-mm5kxf07.js} +8 -8
- package/dist/chunks/{workspace-k9kj6xed.js → vcs-mmr7bq34.js} +4 -4
- package/dist/chunks/{workspace-6ky7efr6.js → vcs-mn77zb4p.js} +70 -70
- package/dist/chunks/{workspace-8vabvz82.js → vcs-mp0zv96f.js} +13 -13
- package/dist/chunks/{workspace-p0ar7mqv.js → vcs-mqxthytd.js} +11 -11
- package/dist/chunks/{workspace-95aphakr.js → vcs-mxqk8fax.js} +8 -8
- package/dist/chunks/{workspace-6bstxtt3.js → vcs-n2havasm.js} +13 -13
- package/dist/chunks/{workspace-vs1j1ez4.js → vcs-n64bhgvh.js} +11 -11
- package/dist/chunks/{workspace-438fgj0f.js → vcs-ncne3zzx.js} +20 -20
- package/dist/chunks/{workspace-bsfgxy3a.js → vcs-nehsc8qp.js} +8 -8
- package/dist/chunks/{workspace-bdqrk2vk.js → vcs-nkcwakxz.js} +6 -6
- package/dist/chunks/{workspace-xk747vep.js → vcs-nq7qbqzc.js} +9 -9
- package/dist/chunks/{workspace-cq01mcjf.js → vcs-nw28za41.js} +84 -84
- package/dist/chunks/{workspace-4zvygart.js → vcs-nxf13baa.js} +8 -8
- package/dist/chunks/{workspace-nzks3jc8.js → vcs-nzks3jc8.js} +3 -3
- package/dist/chunks/{workspace-p28j5sbe.js → vcs-p28j5sbe.js} +2 -2
- package/dist/chunks/{workspace-d2aac7k2.js → vcs-p44d8wdy.js} +5 -5
- package/dist/chunks/{workspace-j04hx8st.js → vcs-p5tk2x4g.js} +2 -2
- package/dist/chunks/{workspace-xtn5wpmn.js → vcs-pdx9bhth.js} +11 -11
- package/dist/chunks/{workspace-9hn6k4tm.js → vcs-phstrbs2.js} +8 -8
- package/dist/chunks/{workspace-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-vd7ypez6.js → vcs-pkr90xzg.js} +7 -7
- package/dist/chunks/{workspace-jprse0xe.js → vcs-pxp43rx9.js} +25 -25
- package/dist/chunks/{workspace-zetnz1cj.js → vcs-pyds7pwm.js} +3 -3
- package/dist/chunks/{workspace-9403nfm7.js → vcs-pzk07e2t.js} +32 -32
- package/dist/chunks/{workspace-9zdcna1n.js → vcs-q29hs5tk.js} +22 -22
- package/dist/chunks/{workspace-yga8c4n1.js → vcs-q6f7adkm.js} +12 -12
- package/dist/chunks/{workspace-2aftd3a2.js → vcs-qa1eq3gf.js} +3 -3
- package/dist/chunks/{workspace-2qmapw28.js → vcs-qagsqzqe.js} +16 -16
- package/dist/chunks/vcs-qapv375x.js +4 -0
- package/dist/chunks/{workspace-qwv4fpqw.js → vcs-qdpmgmct.js} +10 -10
- package/dist/chunks/{workspace-7dqw4kz8.js → vcs-qgn6gcr1.js} +5 -5
- package/dist/chunks/{workspace-rjg5g3rw.js → vcs-qmhk62hb.js} +12 -12
- package/dist/chunks/{workspace-00jp707z.js → vcs-qnre3gvs.js} +34 -34
- package/dist/chunks/{workspace-xfkkasph.js → vcs-qqeeq2t9.js} +7 -7
- package/dist/chunks/{workspace-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-crf141y6.js → vcs-qw1bjgpz.js} +24 -24
- package/dist/chunks/{workspace-ptx7r7w6.js → vcs-qx03bd0a.js} +11 -11
- package/dist/chunks/{workspace-1bbkgx8g.js → vcs-r5x6zcsm.js} +3 -3
- package/dist/chunks/{workspace-1acjjqhc.js → vcs-r8xr0va3.js} +4 -4
- package/dist/chunks/{workspace-0rvp7ahq.js → vcs-ra3bs4fs.js} +20 -20
- package/dist/chunks/{workspace-jn6zj5k7.js → vcs-raj0fffq.js} +18 -18
- package/dist/chunks/{workspace-x57r3cf8.js → vcs-rbrcjd28.js} +17 -17
- package/dist/chunks/{workspace-brpd6fv5.js → vcs-rd68j2my.js} +24 -24
- package/dist/chunks/{workspace-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/vcs-rgevtwgf.js +26 -0
- package/dist/chunks/{workspace-rhjbct0v.js → vcs-rhjbct0v.js} +1 -1
- package/dist/chunks/{workspace-5yyt2gzp.js → vcs-rvmg0ahe.js} +1 -1
- package/dist/chunks/{workspace-zav06jzw.js → vcs-rwm5vee1.js} +4 -4
- package/dist/chunks/{workspace-egm44ayq.js → vcs-s8a7esdq.js} +15 -15
- package/dist/chunks/{workspace-hby81b9r.js → vcs-sj4zt4zs.js} +5 -5
- package/dist/chunks/{workspace-gmqh62m1.js → vcs-sk41x0qc.js} +16 -16
- package/dist/chunks/{workspace-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-mzkzf2w3.js → vcs-tdvtfxdy.js} +10 -10
- package/dist/chunks/{workspace-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-1kzq6qnm.js → vcs-tzjwyy45.js} +6 -6
- package/dist/chunks/{workspace-5nzaa539.js → vcs-v00wb7q9.js} +43 -43
- package/dist/chunks/{workspace-mbj6r9mg.js → vcs-ve9gaad2.js} +2 -2
- package/dist/chunks/{workspace-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-0x0c0f3f.js → vcs-vm6hw26a.js} +10 -10
- package/dist/chunks/{workspace-hq9c8xrb.js → vcs-vmact3ma.js} +26 -26
- package/dist/chunks/{workspace-607q5haz.js → vcs-vy4zg7qh.js} +5 -5
- package/dist/chunks/{workspace-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-ezqe822v.js → vcs-w12svhvm.js} +41 -41
- package/dist/chunks/{workspace-hcpextjt.js → vcs-w3aqdajt.js} +13 -13
- package/dist/chunks/{workspace-szgj26xm.js → vcs-w3nmmr0q.js} +2 -2
- package/dist/chunks/{workspace-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-mksgfzgs.js → vcs-w6dttbvj.js} +6 -6
- package/dist/chunks/{workspace-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-bh6xnkn8.js → vcs-wgtgqmgr.js} +320 -320
- package/dist/chunks/{workspace-vrxn6v33.js → vcs-wh2pd5f7.js} +82 -82
- package/dist/chunks/{workspace-yemygy56.js → vcs-wq8d43zf.js} +26 -26
- package/dist/chunks/{workspace-77g3a63m.js → vcs-wqys0xwa.js} +13 -13
- package/dist/chunks/{workspace-en5ms791.js → vcs-wrka22zr.js} +22 -22
- package/dist/chunks/{workspace-ay0gn1a8.js → vcs-wv50yr5g.js} +43 -43
- package/dist/chunks/{workspace-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-vjz8een3.js → vcs-x2rjr4y2.js} +23 -23
- package/dist/chunks/{workspace-mvfdckk2.js → vcs-x8cycxf4.js} +6 -6
- package/dist/chunks/{workspace-g652nsve.js → vcs-xcckkd32.js} +22 -22
- package/dist/chunks/{workspace-xhxcwzqv.js → vcs-xd4kzs7n.js} +6 -6
- package/dist/chunks/{workspace-0tmgye68.js → vcs-xdrba4jw.js} +9 -9
- package/dist/chunks/{workspace-wc444ph0.js → vcs-xfja6ssk.js} +15 -15
- package/dist/chunks/{workspace-42em1327.js → vcs-xp7fz8rg.js} +28 -28
- package/dist/chunks/{workspace-4vv2c1zf.js → vcs-xta7qcpj.js} +11 -11
- package/dist/chunks/{workspace-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-8ykdne12.js → vcs-y2swddp5.js} +12 -12
- package/dist/chunks/{workspace-wj557cjd.js → vcs-y307swq8.js} +10 -10
- package/dist/chunks/{workspace-vpv31xpv.js → vcs-y30evbxf.js} +4 -4
- package/dist/chunks/{workspace-yz5wbtz1.js → vcs-y36f9vsb.js} +20 -20
- package/dist/chunks/{workspace-dpkg50ah.js → vcs-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-yv13jgjp.js → vcs-ybhbtxjg.js} +9 -9
- package/dist/chunks/{workspace-915kganc.js → vcs-yf18nbwz.js} +19 -19
- package/dist/chunks/{workspace-vh4jega5.js → vcs-ypk83nm1.js} +4 -4
- package/dist/chunks/{workspace-61fvg6ge.js → vcs-ypyq0fq8.js} +3 -3
- package/dist/chunks/{workspace-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-s4enseaf.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-hbyhqfhs.js → vcs-yt3hy1g9.js} +5 -5
- package/dist/chunks/{workspace-7s2tn799.js → vcs-yvvvp4gn.js} +8 -8
- package/dist/chunks/{workspace-9rcspwcs.js → vcs-yzrxx1hs.js} +29 -29
- package/dist/chunks/{workspace-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-29x78va6.js → vcs-z63w68vq.js} +6 -6
- package/dist/chunks/{workspace-cwp5p4t3.js → vcs-z7syg6j7.js} +26 -26
- package/dist/chunks/{workspace-05jrxfe9.js → vcs-zamycwzx.js} +16 -16
- package/dist/chunks/{workspace-4t3xng2k.js → vcs-ze01d2sn.js} +33 -33
- package/dist/chunks/{workspace-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-ts2x07a1.js → vcs-zhq6vg7a.js} +1 -1
- package/dist/chunks/{workspace-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-fnxvy9mq.js → vcs-zvdcdv1n.js} +23 -23
- package/dist/chunks/{workspace-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +79 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/workspace-0mesazry.js +0 -4
- package/dist/chunks/workspace-2a7ewa7q.js +0 -26
- package/dist/chunks/workspace-nt2g1hn6.js +0 -252
- package/dist/chunks/workspace-vkrew15q.js +0 -18
- /package/dist/chunks/{workspace-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-p5tk2x4g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service58
|
|
11
|
+
} from "./vcs-h3emgna1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./vcs-xta7qcpj.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service57,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-1gx19wx1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./vcs-21jmns5z.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service24,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-f0xae989.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin13,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name12 = "patch";
|
|
89
|
+
var Input12 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin13 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service58;
|
|
112
|
+
const access = yield* Service24;
|
|
113
|
+
const fileMutation = yield* Service57;
|
|
114
|
+
const formatter = yield* Service18;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service65;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin21 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name12, Input12, Applied2, Output8, toModelContent6, Plugin13, exports_patch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make13,
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make13(tools) {
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make13, render2, exports_system_prompt };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-nzks3jc8.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service49,
|
|
17
|
+
node53
|
|
18
|
+
} from "./vcs-xdrba4jw.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service68,
|
|
21
|
+
node72
|
|
22
|
+
} from "./vcs-k1gkpfdk.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-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: () =>
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service39,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node42
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, 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
|
|
54
|
+
class Service39 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service68;
|
|
58
|
+
const image = yield* Service49;
|
|
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/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service39.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node42 = makeLocationNode({
|
|
277
|
+
service: Service39,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node72, node53]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service39, node42, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service41, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service34.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node38 = makeGlobalNode({ service: Service34, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service34, makeLayer2, layer14, node38, exports_model_transport };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make5(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make5 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-91p43skh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-73sq42y9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./vcs-bw9zjykr.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service38
|
|
16
|
+
} from "./vcs-z7syg6j7.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-ybhbtxjg.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service62;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service38;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service62;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service38;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./vcs-21jmns5z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./vcs-wrka22zr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
18
|
Input: () => Input5,
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin6,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
22
|
description: () => description3,
|
|
23
23
|
name: () => name5,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
@@ -28,9 +28,9 @@ import { Effect, Schema } from "effect";
|
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
var name5 = "skill";
|
|
30
30
|
var Input5 = Schema.Struct({
|
|
31
|
-
id:
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,18 +43,18 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin6 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service41;
|
|
51
|
+
const permission = yield* Service65;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
53
|
name: name5,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description3,
|
|
56
56
|
input: Input5,
|
|
57
|
-
output:
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
@@ -79,4 +79,4 @@ var Plugin23 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export { name5, Input5,
|
|
82
|
+
export { name5, Input5, Output4, description3, toModelOutput2, Plugin6, exports_skill };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-73sq42y9.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node80
|
|
9
|
+
} from "./vcs-q6f7adkm.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-6xyj4q8a.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -40,8 +40,8 @@ __export(exports_integration, {
|
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service75,
|
|
44
|
+
node: () => node79
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -100,13 +100,13 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service75 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service76;
|
|
110
110
|
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service75.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node79 = makeLocationNode({
|
|
583
|
+
service: Service75,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [
|
|
585
|
+
deps: [node80, node87, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3,
|
|
588
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event18 };
|