@opencode/core 0.0.0-dev-20294 → 0.0.0-dev-20297
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-pd23kvzh.js → vcs-0876npy8.js} +15 -15
- package/dist/chunks/{repository-wj9mseqa.js → vcs-0a1dfz7r.js} +16 -16
- package/dist/chunks/{repository-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-w9bdab02.js → vcs-0tqkw5bw.js} +32 -32
- package/dist/chunks/{repository-yn6k8b68.js → vcs-0z1gmn2q.js} +6 -6
- package/dist/chunks/{repository-q9s2wchy.js → vcs-18296zga.js} +20 -6
- package/dist/chunks/{repository-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-gz56tzj2.js → vcs-1djhwe97.js} +30 -30
- package/dist/chunks/{repository-2ydsszd5.js → vcs-1ekk4s7j.js} +4 -4
- package/dist/chunks/{repository-cn62kwfv.js → vcs-1esepqbd.js} +33 -33
- package/dist/chunks/{repository-3dktm290.js → vcs-1fw2a5v8.js} +11 -11
- package/dist/chunks/{repository-w9e6cfzq.js → vcs-1h0nj16t.js} +20 -20
- package/dist/chunks/{repository-zrs9t7hx.js → vcs-1v2b2k63.js} +16 -16
- package/dist/chunks/{repository-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{repository-src5ze84.js → vcs-231222c6.js} +4 -4
- package/dist/chunks/{repository-9aj1bw61.js → vcs-28nztbsp.js} +25 -25
- package/dist/chunks/{repository-ghv7h55a.js → vcs-293305v0.js} +1 -1
- package/dist/chunks/{repository-z63w68vq.js → vcs-29x78va6.js} +6 -6
- package/dist/chunks/{repository-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-4d9efcsa.js → vcs-2gqdr94z.js} +3 -3
- package/dist/chunks/{repository-7dqw4kz8.js → vcs-2k8khapm.js} +5 -5
- package/dist/chunks/{repository-3z2k3hnx.js → vcs-2kzd1k6y.js} +20 -20
- package/dist/chunks/{repository-g2se78h0.js → vcs-2sv6eqec.js} +15 -15
- package/dist/chunks/{repository-yfychzeb.js → vcs-304ndgye.js} +14 -14
- package/dist/chunks/{repository-hd8vw2pw.js → vcs-3556dn8t.js} +1 -1
- package/dist/chunks/{repository-thtzhryg.js → vcs-37sfe3bm.js} +12 -12
- package/dist/chunks/{repository-2cmv458r.js → vcs-38adaqc0.js} +5 -5
- package/dist/chunks/{repository-z4djtsmk.js → vcs-3aq2526j.js} +48 -48
- package/dist/chunks/{repository-fgkd623f.js → vcs-3cvhxgkj.js} +12 -12
- package/dist/chunks/{repository-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-kcfw5k6d.js → vcs-3h8yw40x.js} +7 -7
- package/dist/chunks/{repository-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-ynmv8dbs.js → vcs-3kbhjp3q.js} +11 -11
- package/dist/chunks/{repository-886z1dpc.js → vcs-3pebang0.js} +18 -18
- package/dist/chunks/{repository-z83thqvg.js → vcs-3s57j9d0.js} +18 -18
- package/dist/chunks/{repository-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-sv5c2zxk.js → vcs-3vbw7yca.js} +27 -27
- package/dist/chunks/{repository-pykzy8ep.js → vcs-3wgpjb8z.js} +16 -16
- package/dist/chunks/{repository-z0xq2v1s.js → vcs-3y1r2rpt.js} +8 -8
- package/dist/chunks/{repository-mpk0rfs5.js → vcs-3y377wv9.js} +4 -4
- package/dist/chunks/{repository-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-8ta41r54.js → vcs-40e80s20.js} +21 -21
- package/dist/chunks/{repository-2w1sghnn.js → vcs-42kdhqse.js} +6 -6
- package/dist/chunks/{repository-j4tvhaks.js → vcs-44m1ppkf.js} +40 -40
- package/dist/chunks/{repository-y6zfrytz.js → vcs-44txpx69.js} +23 -23
- package/dist/chunks/{repository-ze7g7145.js → vcs-4acqjqp7.js} +20 -20
- package/dist/chunks/{repository-m1m46bga.js → vcs-4e9nfnk1.js} +50 -50
- package/dist/chunks/{repository-52kykq2z.js → vcs-4j9evkcm.js} +8 -8
- package/dist/chunks/{repository-cmsgt7am.js → vcs-4mtvmndk.js} +4 -4
- package/dist/chunks/{repository-nqdgrntv.js → vcs-4q8m0zqq.js} +13 -13
- package/dist/chunks/{repository-4j4tgtq5.js → vcs-4z58m4b4.js} +4 -4
- package/dist/chunks/{repository-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-54tcyq79.js → vcs-54tcyq79.js} +2 -2
- package/dist/chunks/{repository-rvs18j5z.js → vcs-56dsz7qa.js} +310 -310
- package/dist/chunks/{repository-1ygqh575.js → vcs-56gdpj1q.js} +9 -9
- package/dist/chunks/vcs-5bzc4ph3.js +26 -0
- package/dist/chunks/{repository-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-pjt329ss.js → vcs-5gwm7s57.js} +3 -3
- package/dist/chunks/{repository-pqkd14gs.js → vcs-5k1yf8nh.js} +8 -8
- package/dist/chunks/{repository-bw624gy4.js → vcs-5p6nskts.js} +11 -11
- package/dist/chunks/{repository-ejeqwj0w.js → vcs-5p9dmvg9.js} +11 -11
- package/dist/chunks/{repository-jjvmyn1y.js → vcs-5sz650yn.js} +61 -61
- package/dist/chunks/{repository-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-86d5j3vh.js → vcs-5v1c364k.js} +27 -27
- package/dist/chunks/vcs-619r8v3y.js +18 -0
- package/dist/chunks/{repository-pztqrn0p.js → vcs-61zp4wnv.js} +8 -8
- package/dist/chunks/{repository-75s06ger.js → vcs-62ezrtah.js} +85 -85
- package/dist/chunks/{repository-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{repository-wa5jcfmw.js → vcs-66j8y0n9.js} +16 -16
- package/dist/chunks/{repository-7j0c068z.js → vcs-6e5bh3xz.js} +24 -24
- package/dist/chunks/{repository-fkx959jc.js → vcs-6erhv98a.js} +20 -20
- package/dist/chunks/{repository-1qkgxr4g.js → vcs-6fza0gtm.js} +13 -13
- package/dist/chunks/{repository-ny1k4mkg.js → vcs-6j71bdrn.js} +4 -4
- package/dist/chunks/{repository-mkmyr10v.js → vcs-6mg6ac8r.js} +18 -18
- package/dist/chunks/{repository-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-14jy69rb.js → vcs-70vk70yg.js} +16 -6
- package/dist/chunks/{repository-ebmxv542.js → vcs-724n6vts.js} +5 -5
- package/dist/chunks/{repository-scyxybgw.js → vcs-72f4v86y.js} +11 -11
- package/dist/chunks/{repository-73tb2d7t.js → vcs-73tb2d7t.js} +1 -1
- package/dist/chunks/{repository-18vsvbhm.js → vcs-755ktwre.js} +25 -25
- package/dist/chunks/{repository-1n707za3.js → vcs-76zvcd1g.js} +45 -45
- package/dist/chunks/{repository-mgp6rfqa.js → vcs-7854zz5a.js} +3 -3
- package/dist/chunks/{repository-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-nwa29mh0.js → vcs-7enbc4fp.js} +164 -164
- package/dist/chunks/{repository-qzy69xxq.js → vcs-7j156qnj.js} +7 -7
- package/dist/chunks/{repository-hpfvhvya.js → vcs-7rwqf82v.js} +8 -8
- package/dist/chunks/{repository-4wwqnvbr.js → vcs-7zpeh0yx.js} +4 -4
- package/dist/chunks/{repository-3jb78rkx.js → vcs-8041njv8.js} +35 -35
- package/dist/chunks/{repository-yees5yn6.js → vcs-83ww5tb3.js} +11 -11
- package/dist/chunks/{repository-w1eejvng.js → vcs-84txncab.js} +5 -5
- package/dist/chunks/{repository-mzywpf3p.js → vcs-86n330eh.js} +4 -4
- package/dist/chunks/{repository-x8x9h4hg.js → vcs-88k66p5t.js} +26 -26
- package/dist/chunks/{repository-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-yt0fqk68.js → vcs-8jxztqqt.js} +5 -5
- package/dist/chunks/{repository-7y0vmfhg.js → vcs-8n9ym7bh.js} +11 -11
- package/dist/chunks/{repository-cq8d0ptr.js → vcs-8nqy64kg.js} +27 -27
- package/dist/chunks/{repository-5xtgfte3.js → vcs-8v6pyhej.js} +8 -8
- package/dist/chunks/{repository-x4x4w9ve.js → vcs-8vf9p1vn.js} +18 -18
- package/dist/chunks/{repository-xvp1j2dc.js → vcs-8zh4h089.js} +5 -5
- package/dist/chunks/{repository-zknh836p.js → vcs-983bx4tv.js} +14 -14
- package/dist/chunks/{repository-fhb7j999.js → vcs-9f9b48nn.js} +17 -17
- package/dist/chunks/{repository-p53a8atn.js → vcs-9h4501ja.js} +1 -1
- package/dist/chunks/{repository-k79tzb9n.js → vcs-9jzp6rtr.js} +9 -9
- package/dist/chunks/{repository-87ezq1ce.js → vcs-9k60352s.js} +16 -16
- package/dist/chunks/{repository-gmkr1ekh.js → vcs-9z431jrj.js} +9 -9
- package/dist/chunks/{repository-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-s182s2zc.js → vcs-axj6q4j4.js} +55 -55
- package/dist/chunks/{repository-d0kzhv0j.js → vcs-b61wnr05.js} +34 -34
- package/dist/chunks/{repository-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-50jssn3y.js → vcs-b8d4rmcw.js} +9 -9
- package/dist/chunks/{repository-bjtzbw4r.js → vcs-bjtzbw4r.js} +3 -3
- package/dist/chunks/{repository-4m95e5xq.js → vcs-bm3qhbmn.js} +15 -15
- package/dist/chunks/{repository-vac7npjk.js → vcs-bp5zn84r.js} +8 -8
- package/dist/chunks/{repository-r8mtfjmr.js → vcs-btsrk6c2.js} +12 -12
- package/dist/chunks/{repository-fmnw2r23.js → vcs-bvkd440q.js} +15 -15
- package/dist/chunks/{repository-vpy2jm9e.js → vcs-bxbtj1qd.js} +5 -5
- package/dist/chunks/{repository-eqzxj8fj.js → vcs-c7h0x4yk.js} +19 -19
- package/dist/chunks/{repository-eg2xygd3.js → vcs-c8m1ndyk.js} +4 -4
- package/dist/chunks/{repository-63bdqmma.js → vcs-cb6xbnd9.js} +2 -2
- package/dist/chunks/{repository-x8e57zem.js → vcs-cf7p89xb.js} +10 -10
- package/dist/chunks/{repository-805s2bhx.js → vcs-cnj8r2zb.js} +17 -17
- package/dist/chunks/{repository-jv01nqvq.js → vcs-cq46pgcx.js} +5 -5
- package/dist/chunks/{repository-t0fxg8b9.js → vcs-cqtvvg9q.js} +5 -5
- package/dist/chunks/{repository-6pws2pt7.js → vcs-ct913see.js} +5 -5
- package/dist/chunks/{repository-2wt8p97z.js → vcs-cw54z5t2.js} +13 -13
- package/dist/chunks/{repository-cwa6csj7.js → vcs-cwa6csj7.js} +2 -2
- package/dist/chunks/{repository-57ez7d0k.js → vcs-d9s573fh.js} +2 -2
- package/dist/chunks/{repository-y54hr7f3.js → vcs-dda0p7y7.js} +9 -9
- package/dist/chunks/{repository-5r2rf0nq.js → vcs-dds4m2b5.js} +3 -3
- package/dist/chunks/{repository-vncycja5.js → vcs-dfe8djrf.js} +4 -4
- package/dist/chunks/{repository-mvj8ndq3.js → vcs-dfh0xed5.js} +5 -5
- package/dist/chunks/{repository-tdhe5xga.js → vcs-dsazm5eh.js} +11 -11
- package/dist/chunks/{repository-cszxnbmn.js → vcs-dyrwyt65.js} +30 -30
- package/dist/chunks/{repository-5qd3pb7m.js → vcs-e3qxr5gk.js} +2 -2
- package/dist/chunks/{repository-4n607a2z.js → vcs-e8qyrgb1.js} +5 -5
- package/dist/chunks/{repository-ecfe7b91.js → vcs-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-3py87nww.js → vcs-eef36fdw.js} +20 -20
- package/dist/chunks/{repository-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-r3pe7rtq.js → vcs-ehn7vv3c.js} +18 -18
- package/dist/chunks/{repository-mdqw8d12.js → vcs-ejm60891.js} +7 -7
- package/dist/chunks/{repository-bdx7mas8.js → vcs-erwyzksv.js} +21 -21
- package/dist/chunks/{repository-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-83rdsyqm.js → vcs-f2wfspan.js} +3 -3
- package/dist/chunks/{repository-ybw404hh.js → vcs-f7sbcs1s.js} +15 -15
- package/dist/chunks/{repository-e3m0js48.js → vcs-fhcrmec4.js} +10 -10
- package/dist/chunks/{repository-6zmn3x4v.js → vcs-fwv01ez0.js} +10 -10
- package/dist/chunks/{repository-brmf2hf9.js → vcs-fzd0b8n6.js} +30 -30
- package/dist/chunks/{repository-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-gfvb90ym.js → vcs-gfvb90ym.js} +2 -2
- package/dist/chunks/{repository-p8hnm1nw.js → vcs-grbear6k.js} +28 -28
- package/dist/chunks/{repository-n9k80d2m.js → vcs-gs4tkc79.js} +8 -8
- package/dist/chunks/{repository-x0skcyz0.js → vcs-gx21vd1f.js} +13 -13
- package/dist/chunks/{repository-rswr9y71.js → vcs-h5vcs21w.js} +20 -20
- package/dist/chunks/{repository-19zwwnfa.js → vcs-h6dd5nj3.js} +11 -11
- package/dist/chunks/{repository-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-j93j9byk.js → vcs-hh4v7266.js} +2 -2
- package/dist/chunks/{repository-71xq2mh9.js → vcs-hk4fmd6v.js} +21 -21
- package/dist/chunks/{repository-x0600czv.js → vcs-hkagk5ex.js} +2 -2
- package/dist/chunks/{repository-jvf3yq6v.js → vcs-hn57h045.js} +4 -4
- package/dist/chunks/{repository-856ceffp.js → vcs-hndg17wg.js} +41 -41
- package/dist/chunks/{repository-55b5dnwk.js → vcs-hv3dmpp2.js} +12 -12
- package/dist/chunks/{repository-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-rvfwzs2a.js → vcs-j5r7mnag.js} +24 -24
- package/dist/chunks/{repository-33djd3yz.js → vcs-j7y1n5ns.js} +13 -13
- package/dist/chunks/{repository-s1bapamg.js → vcs-jcs87n6r.js} +4 -4
- package/dist/chunks/{repository-9bkvwbce.js → vcs-jh1zbppd.js} +24 -24
- package/dist/chunks/{repository-nzks3jc8.js → vcs-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-6kzh7v0b.js → vcs-k3g1rb3k.js} +7 -7
- package/dist/chunks/{repository-c474ncq9.js → vcs-k8t255qq.js} +13 -13
- package/dist/chunks/{repository-gr7cmsbq.js → vcs-keqjy1g6.js} +19 -19
- package/dist/chunks/{repository-rn3nfvms.js → vcs-khxyc70q.js} +9 -9
- package/dist/chunks/{repository-j34bs4nz.js → vcs-knevfgda.js} +4 -4
- package/dist/chunks/{repository-1w1f4pd6.js → vcs-kzcxnww5.js} +11 -11
- package/dist/chunks/{repository-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-mpcnc0n1.js → vcs-mcjvxj01.js} +4 -4
- package/dist/chunks/{repository-xr3qtd12.js → vcs-mdm5j4bj.js} +81 -81
- package/dist/chunks/{repository-f6jjas3f.js → vcs-msq4ntpz.js} +26 -26
- package/dist/chunks/{repository-qg0jgkcp.js → vcs-mvn2r3z4.js} +9 -9
- package/dist/chunks/{repository-x3pdy2ky.js → vcs-mwfejemj.js} +9 -9
- package/dist/chunks/{repository-4w5f3qm5.js → vcs-n0tq777j.js} +8 -8
- package/dist/chunks/{repository-vh8736dd.js → vcs-n4z35x1w.js} +6 -6
- package/dist/chunks/{repository-akrnt5pz.js → vcs-n62nckym.js} +11 -11
- package/dist/chunks/{repository-2y34zzjz.js → vcs-n8c291r7.js} +6 -6
- package/dist/chunks/{repository-8jmaqybk.js → vcs-ndmv45hp.js} +3 -3
- package/dist/chunks/{repository-8m7dbv6d.js → vcs-ng7678yv.js} +3 -3
- package/dist/chunks/{repository-7jdgcrb4.js → vcs-njx86ncx.js} +16 -16
- package/dist/chunks/{repository-0vkpmgbt.js → vcs-np4zyaxz.js} +12 -12
- package/dist/chunks/{repository-0hpqhmg5.js → vcs-ntmafhxh.js} +9 -9
- package/dist/chunks/{repository-y1hpjhb0.js → vcs-p2etx821.js} +20 -20
- package/dist/chunks/{repository-bedctmvj.js → vcs-p4q1g30v.js} +33 -33
- package/dist/chunks/{repository-g2042726.js → vcs-p9kt6re1.js} +11 -11
- package/dist/chunks/{repository-v84na98c.js → vcs-pgwqr8ee.js} +12 -12
- package/dist/chunks/{repository-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-95crna3w.js → vcs-pjz0zcv2.js} +11 -11
- package/dist/chunks/{repository-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{repository-psazpmmj.js → vcs-psazpmmj.js} +2 -2
- package/dist/chunks/{repository-vxssw4qv.js → vcs-ptm59064.js} +43 -43
- package/dist/chunks/{repository-3xyp34gk.js → vcs-pxkhtqdc.js} +11 -11
- package/dist/chunks/{repository-es0x5b7y.js → vcs-pxpwb23y.js} +15 -15
- package/dist/chunks/{repository-w92k2e0p.js → vcs-py3kkmfq.js} +8 -8
- package/dist/chunks/{repository-vc31r3zd.js → vcs-py6tvht3.js} +9 -9
- package/dist/chunks/{repository-dew5gbm6.js → vcs-q2k50tdt.js} +30 -30
- package/dist/chunks/{repository-fjmsqycw.js → vcs-q54gewa9.js} +4 -4
- package/dist/chunks/{repository-qscpncy3.js → vcs-q9xmsq5j.js} +3 -3
- package/dist/chunks/{repository-277eer69.js → vcs-qbqbaz6q.js} +4 -4
- package/dist/chunks/{repository-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-9fnp4mg3.js → vcs-qtf7ajd6.js} +24 -24
- package/dist/chunks/{repository-86mrmjc9.js → vcs-qv52y0kk.js} +31 -31
- package/dist/chunks/{repository-67zyhdmh.js → vcs-qz3g8v3b.js} +11 -11
- package/dist/chunks/{repository-ratrq7cm.js → vcs-ratrq7cm.js} +1 -1
- package/dist/chunks/{repository-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-bs9hg8dp.js → vcs-rf0rwq9q.js} +12 -12
- package/dist/chunks/{repository-e85g35n7.js → vcs-rfd4cgzf.js} +33 -33
- package/dist/chunks/{repository-s8d7rejh.js → vcs-rhjbct0v.js} +4 -4
- package/dist/chunks/{repository-qbwywm89.js → vcs-rkj6e36x.js} +5 -5
- package/dist/chunks/{repository-cpy6gm2a.js → vcs-rp8jz6x1.js} +6 -6
- package/dist/chunks/{repository-zeh9ct20.js → vcs-rq775frq.js} +2 -2
- package/dist/chunks/{repository-gbwn371a.js → vcs-rr7w9yzr.js} +11 -11
- package/dist/chunks/{repository-v9atbmms.js → vcs-rt6eccz9.js} +19 -19
- package/dist/chunks/vcs-ryxm5mwn.js +252 -0
- package/dist/chunks/{repository-hrjt4dpr.js → vcs-s1kdbxwg.js} +10 -10
- package/dist/chunks/{repository-m88agcr3.js → vcs-s2ynmxvy.js} +5 -5
- package/dist/chunks/{repository-pv4awm7k.js → vcs-s4cpw0g8.js} +11 -11
- package/dist/chunks/{repository-yrznvahk.js → vcs-s4enseaf.js} +2 -2
- package/dist/chunks/{repository-hpxs712n.js → vcs-s8anskx2.js} +6 -6
- package/dist/chunks/{repository-cp0ek693.js → vcs-s9ampnzs.js} +11 -11
- package/dist/chunks/{repository-wdea4gcq.js → vcs-svaspcxn.js} +5 -5
- package/dist/chunks/{repository-28jks9yb.js → vcs-szpqyd6h.js} +15 -15
- package/dist/chunks/{repository-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{repository-4s80pf4a.js → vcs-teyc4whj.js} +11 -11
- package/dist/chunks/{repository-a9k4z3j9.js → vcs-tj141g8h.js} +17 -17
- package/dist/chunks/{repository-vndcnmc3.js → vcs-tstnsxca.js} +29 -29
- package/dist/chunks/{repository-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-knh73zev.js → vcs-v0xjps6b.js} +28 -28
- package/dist/chunks/{repository-yqy8qetg.js → vcs-v4aesa73.js} +3 -3
- package/dist/chunks/{repository-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-xbepgsdw.js → vcs-vktfeg91.js} +22 -22
- package/dist/chunks/{repository-51f5btjf.js → vcs-vqfzq50h.js} +6 -6
- package/dist/chunks/{repository-aezgccn6.js → vcs-vrq98xzz.js} +15 -15
- package/dist/chunks/{repository-8w5neka9.js → vcs-vtg51jxy.js} +41 -41
- package/dist/chunks/{repository-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-sf5yjpcs.js → vcs-w9h9v0y2.js} +10 -10
- package/dist/chunks/{repository-qp3v07n2.js → vcs-was7srj9.js} +8 -8
- package/dist/chunks/{repository-3z9zcdgn.js → vcs-wc17nh9t.js} +25 -25
- package/dist/chunks/{repository-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{repository-v5p1ehqe.js → vcs-wjrrvf51.js} +10 -10
- package/dist/chunks/{repository-1vcb7p82.js → vcs-wn21040f.js} +11 -11
- package/dist/chunks/{repository-qab3c6m1.js → vcs-wr6f3qv2.js} +9 -9
- package/dist/chunks/{repository-k73wm98n.js → vcs-wrb545ka.js} +35 -35
- package/dist/chunks/{repository-vgb6a2zp.js → vcs-ww82v16z.js} +23 -23
- package/dist/chunks/{repository-hc5t8axk.js → vcs-wycg3qep.js} +25 -25
- package/dist/chunks/{repository-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-1mtt7xvh.js → vcs-x3an4z7c.js} +6 -6
- package/dist/chunks/{repository-3b9kky5h.js → vcs-x5es4t48.js} +33 -33
- package/dist/chunks/{repository-fnpsswcg.js → vcs-xat61z3k.js} +9 -9
- package/dist/chunks/{repository-mjymc32g.js → vcs-xdk9p2qn.js} +21 -21
- package/dist/chunks/{repository-57b9ws8p.js → vcs-xfkkasph.js} +7 -7
- package/dist/chunks/{repository-xkntkrq7.js → vcs-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-eypemsfj.js → vcs-xna4x1sn.js} +24 -24
- package/dist/chunks/{repository-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-aeb41jaw.js → vcs-y5hhwgev.js} +13 -13
- package/dist/chunks/{repository-dpkg50ah.js → vcs-y71avatq.js} +4 -4
- package/dist/chunks/{repository-aw2a2x8a.js → vcs-y7a3vg46.js} +5 -5
- package/dist/chunks/{repository-zexqyf06.js → vcs-y8s8f6j8.js} +46 -46
- package/dist/chunks/{repository-xee1h9b3.js → vcs-yavzwk2n.js} +11 -11
- package/dist/chunks/{repository-g8atgw3j.js → vcs-ydgy0jv4.js} +6 -6
- package/dist/chunks/{repository-ntzq23qa.js → vcs-ymss648d.js} +9 -9
- package/dist/chunks/{repository-yp2x3t23.js → vcs-yp2x3t23.js} +1 -1
- package/dist/chunks/{repository-fcdb6q1z.js → vcs-yqnvcheb.js} +10 -10
- package/dist/chunks/{repository-jcqt8fek.js → vcs-yr5w62k6.js} +17 -17
- package/dist/chunks/{repository-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-19b6gxjs.js → vcs-yvshgw5k.js} +22 -22
- package/dist/chunks/{repository-gv6a8nnw.js → vcs-yyb7tjpc.js} +2 -2
- package/dist/chunks/{repository-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-r5vjqpht.js → vcs-z5g6ermd.js} +10 -10
- package/dist/chunks/{repository-6pmv43wt.js → vcs-zcws0pck.js} +13 -13
- package/dist/chunks/{repository-mmcph4q4.js → vcs-zd5bv8nv.js} +32 -32
- package/dist/chunks/{repository-28w42cxn.js → vcs-zffvdhag.js} +12 -12
- package/dist/chunks/{repository-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-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 +73 -73
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +91 -91
- 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 +362 -362
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- 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 +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +7 -7
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +1 -1
- 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 +92 -92
- 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 +4 -4
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/repository-678t04nd.js +0 -252
- package/dist/chunks/repository-rap9a73h.js +0 -18
- package/dist/chunks/repository-tbqg5x42.js +0 -26
- /package/dist/chunks/{repository-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-1fw2a5v8.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./vcs-40e80s20.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service63,
|
|
24
|
+
node: () => node66
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service63 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service78;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service63.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node66 = makeLocationNode({ service: Service63, layer, deps: [node81, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service63, node66, exports_ripgrep };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-9z431jrj.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-axj6q4j4.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-keqjy1g6.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,15 +16,25 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-44m1ppkf.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-gx21vd1f.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Tool } from "@opencode/schema/tool";
|
|
28
|
+
var tokenSharingMessages = {
|
|
29
|
+
subscription_sharing_v2_user_not_eligible: "ChatGPT token sharing isn't available for this account. Connect with an API key or choose another provider.",
|
|
30
|
+
subscription_sharing_usage_limit_exceeded: "ChatGPT usage limit reached. Try again after your allowance resets; check ChatGPT Settings → Usage for details.",
|
|
31
|
+
subscription_sharing_usage_unavailable: "ChatGPT usage can't be checked right now. Try again later.",
|
|
32
|
+
subscription_sharing_unsupported_capability: "This request uses a feature ChatGPT token sharing doesn't support. Remove the unsupported feature and try again.",
|
|
33
|
+
subscription_sharing_v2_client_not_enabled: "This ChatGPT client isn't enabled for token sharing. Contact the app maintainer or choose another connection.",
|
|
34
|
+
subscription_sharing_v2_route_not_supported: "ChatGPT token sharing doesn't support this API route. Check the configured endpoint and HTTP method.",
|
|
35
|
+
subscription_sharing_v2_invalid_user: "This ChatGPT connection is no longer valid. Reconnect to ChatGPT.",
|
|
36
|
+
subscription_sharing_v2_user_unavailable: "Your ChatGPT account is temporarily unavailable. Try again later."
|
|
37
|
+
};
|
|
28
38
|
function toSessionError2(cause) {
|
|
29
39
|
if (cause instanceof AIError) {
|
|
30
40
|
switch (cause.reason._tag) {
|
|
@@ -84,7 +94,7 @@ function providerError(type, reason) {
|
|
|
84
94
|
const status = reason.http?.status;
|
|
85
95
|
return {
|
|
86
96
|
type,
|
|
87
|
-
message: reason.message,
|
|
97
|
+
message: Object.entries(tokenSharingMessages).find(([code]) => reason.body?.includes(code))?.[1] ?? reason.message,
|
|
88
98
|
...status === undefined ? {} : { status },
|
|
89
99
|
...reason.body === undefined ? {} : { response: { body: reason.body } }
|
|
90
100
|
};
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-293305v0.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-42kdhqse.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-ndmv45hp.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9z431jrj.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-bjtzbw4r.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-86n330eh.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-4z58m4b4.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -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-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service47,
|
|
17
|
+
node50
|
|
18
|
+
} from "./vcs-dda0p7y7.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service76,
|
|
21
|
+
node79
|
|
22
|
+
} from "./vcs-n0tq777j.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
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service36,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node39
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error2, 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 Service36 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(Service36, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service76;
|
|
58
|
+
const image = yield* Service47;
|
|
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(Service47, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service36.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 node39 = makeLocationNode({
|
|
277
|
+
service: Service36,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node79, node50]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service36, node39, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service58
|
|
4
|
+
} from "./vcs-j5r7mnag.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service71
|
|
8
|
+
} from "./vcs-3vbw7yca.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service67
|
|
12
|
+
} from "./vcs-zd5bv8nv.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-ndmv45hp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service49
|
|
18
|
+
} from "./vcs-bm3qhbmn.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service55
|
|
22
|
+
} from "./vcs-axj6q4j4.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service23
|
|
25
|
+
} from "./vcs-62ezrtah.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make5
|
|
31
|
+
} from "./vcs-pjz0zcv2.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input11,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin31,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name11
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name11 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input11 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input4 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output8 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin31 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service23;
|
|
93
|
+
const jobs = yield* Service49;
|
|
94
|
+
const agents = yield* Service58;
|
|
95
|
+
const config = yield* Service67;
|
|
96
|
+
const permission = yield* Service55;
|
|
97
|
+
const models = yield* Service71;
|
|
98
|
+
const subagents = yield* make5;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin22 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name11,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input11,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin22 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name11,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin22 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID9.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name11 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name11];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name11, Input11, Output8, description5, Plugin31, exports_subagent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./vcs-hk4fmd6v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID11.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|