@opencode/core 0.0.0-dev-20295 → 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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-h3qzgcp1.js → vcs-0876npy8.js} +12 -12
- package/dist/chunks/{location-27z7pma6.js → vcs-0a1dfz7r.js} +16 -16
- package/dist/chunks/{location-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-87eb0wvk.js → vcs-0tqkw5bw.js} +20 -20
- package/dist/chunks/{location-swabsky0.js → vcs-0z1gmn2q.js} +6 -6
- package/dist/chunks/{location-csp167nn.js → vcs-18296zga.js} +20 -6
- package/dist/chunks/{location-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-mc8ws243.js → vcs-1djhwe97.js} +30 -30
- package/dist/chunks/{location-mntfxcz2.js → vcs-1ekk4s7j.js} +4 -4
- package/dist/chunks/{location-8j5e0nxw.js → vcs-1esepqbd.js} +35 -35
- package/dist/chunks/{location-rnr5nq63.js → vcs-1fw2a5v8.js} +19 -19
- package/dist/chunks/{location-cqhb2t13.js → vcs-1h0nj16t.js} +21 -21
- package/dist/chunks/{location-zm51y9zq.js → vcs-1v2b2k63.js} +16 -16
- package/dist/chunks/{location-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{location-wyanbm64.js → vcs-231222c6.js} +4 -4
- package/dist/chunks/{location-mq8f5nmh.js → vcs-28nztbsp.js} +30 -30
- package/dist/chunks/{location-kk3cv3zh.js → vcs-293305v0.js} +1 -1
- package/dist/chunks/{location-z63w68vq.js → vcs-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-jdhe76k5.js → vcs-2gqdr94z.js} +3 -3
- package/dist/chunks/{location-2k8khapm.js → vcs-2k8khapm.js} +1 -1
- package/dist/chunks/{location-w3efebdc.js → vcs-2kzd1k6y.js} +22 -22
- package/dist/chunks/{location-09mh3h53.js → vcs-2sv6eqec.js} +15 -15
- package/dist/chunks/{location-bx8vey6p.js → vcs-304ndgye.js} +21 -21
- package/dist/chunks/{location-427t97hr.js → vcs-3556dn8t.js} +1 -1
- package/dist/chunks/{location-6yvxz189.js → vcs-37sfe3bm.js} +10 -10
- package/dist/chunks/{location-e89xj288.js → vcs-38adaqc0.js} +5 -5
- package/dist/chunks/{location-knetett0.js → vcs-3aq2526j.js} +48 -48
- package/dist/chunks/{location-ckbtgcas.js → vcs-3cvhxgkj.js} +12 -12
- package/dist/chunks/{location-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-gydr4vsc.js → vcs-3h8yw40x.js} +9 -9
- package/dist/chunks/{location-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-5kbmmh0w.js → vcs-3kbhjp3q.js} +11 -11
- package/dist/chunks/{location-z1dsjv8w.js → vcs-3pebang0.js} +20 -20
- package/dist/chunks/{location-nxhp6d1h.js → vcs-3s57j9d0.js} +15 -15
- package/dist/chunks/{location-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-15zraegk.js → vcs-3vbw7yca.js} +30 -30
- package/dist/chunks/{location-0g11kb4v.js → vcs-3wgpjb8z.js} +16 -16
- package/dist/chunks/{location-cw1jgv1w.js → vcs-3y1r2rpt.js} +8 -8
- package/dist/chunks/{location-mpk0rfs5.js → vcs-3y377wv9.js} +4 -4
- package/dist/chunks/{location-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-5j3nemfx.js → vcs-40e80s20.js} +24 -24
- package/dist/chunks/{location-ek5t7eqg.js → vcs-42kdhqse.js} +3 -3
- package/dist/chunks/{location-v537vfcj.js → vcs-44m1ppkf.js} +44 -44
- package/dist/chunks/{location-pg092y7m.js → vcs-44txpx69.js} +20 -20
- package/dist/chunks/{location-sdvk2ad6.js → vcs-4acqjqp7.js} +24 -24
- package/dist/chunks/{location-4v0x0v53.js → vcs-4e9nfnk1.js} +53 -53
- package/dist/chunks/{location-5ns8y5nv.js → vcs-4j9evkcm.js} +8 -8
- package/dist/chunks/{location-30pndsv9.js → vcs-4mtvmndk.js} +4 -4
- package/dist/chunks/{location-pr72k1jg.js → vcs-4q8m0zqq.js} +13 -13
- package/dist/chunks/{location-syf57q56.js → vcs-4z58m4b4.js} +4 -4
- package/dist/chunks/{location-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{location-ckecvw8r.js → vcs-54tcyq79.js} +2 -2
- package/dist/chunks/{location-f5qn67hn.js → vcs-56dsz7qa.js} +324 -324
- package/dist/chunks/{location-56gdpj1q.js → vcs-56gdpj1q.js} +2 -2
- package/dist/chunks/vcs-5bzc4ph3.js +26 -0
- package/dist/chunks/{location-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{location-eag70mrj.js → vcs-5gwm7s57.js} +3 -3
- package/dist/chunks/{location-w6fmte8d.js → vcs-5k1yf8nh.js} +30 -30
- package/dist/chunks/{location-3ez35teb.js → vcs-5p6nskts.js} +15 -15
- package/dist/chunks/{location-eae26f42.js → vcs-5p9dmvg9.js} +13 -13
- package/dist/chunks/{location-ambwqhm0.js → vcs-5sz650yn.js} +68 -68
- package/dist/chunks/{location-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-jtfh4wfs.js → vcs-5v1c364k.js} +30 -30
- package/dist/chunks/vcs-619r8v3y.js +18 -0
- package/dist/chunks/{location-kn0epzjf.js → vcs-61zp4wnv.js} +11 -11
- package/dist/chunks/{location-d3z5vgb9.js → vcs-62ezrtah.js} +91 -91
- package/dist/chunks/{location-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{location-1gmrbm9q.js → vcs-66j8y0n9.js} +20 -20
- package/dist/chunks/{location-j6h5z8n4.js → vcs-6e5bh3xz.js} +28 -28
- package/dist/chunks/{location-hre7hyen.js → vcs-6erhv98a.js} +17 -17
- package/dist/chunks/{location-qrpna819.js → vcs-6fza0gtm.js} +15 -15
- package/dist/chunks/{location-z7eps1h1.js → vcs-6j71bdrn.js} +4 -4
- package/dist/chunks/{location-h23ctypg.js → vcs-6mg6ac8r.js} +18 -18
- package/dist/chunks/{location-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-qqcp2fey.js → vcs-70vk70yg.js} +16 -6
- package/dist/chunks/{location-gz5dk3bq.js → vcs-724n6vts.js} +3 -3
- package/dist/chunks/{location-h345add1.js → vcs-72f4v86y.js} +11 -11
- package/dist/chunks/{location-j028xdjb.js → vcs-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-math506r.js → vcs-755ktwre.js} +25 -25
- package/dist/chunks/{location-wpn654rn.js → vcs-76zvcd1g.js} +32 -32
- package/dist/chunks/{location-qtpgf39r.js → vcs-7854zz5a.js} +3 -3
- package/dist/chunks/{location-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-tjp0ts8d.js → vcs-7enbc4fp.js} +180 -180
- package/dist/chunks/{location-613reg7y.js → vcs-7j156qnj.js} +7 -7
- package/dist/chunks/{location-8aaqm6qj.js → vcs-7rwqf82v.js} +8 -8
- package/dist/chunks/{location-hnr8f6ws.js → vcs-7zpeh0yx.js} +4 -4
- package/dist/chunks/{location-rnx3qgyn.js → vcs-8041njv8.js} +42 -42
- package/dist/chunks/{location-hhc9atkh.js → vcs-83ww5tb3.js} +17 -17
- package/dist/chunks/{location-84txncab.js → vcs-84txncab.js} +1 -1
- package/dist/chunks/{location-5xpznt2d.js → vcs-86n330eh.js} +4 -4
- package/dist/chunks/{location-13xegjf9.js → vcs-88k66p5t.js} +31 -31
- package/dist/chunks/{location-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-pecb0brz.js → vcs-8jxztqqt.js} +5 -5
- package/dist/chunks/{location-4gma0qdv.js → vcs-8n9ym7bh.js} +11 -11
- package/dist/chunks/{location-j5fma2v7.js → vcs-8nqy64kg.js} +37 -37
- package/dist/chunks/{location-czfptnv9.js → vcs-8v6pyhej.js} +8 -8
- package/dist/chunks/{location-f3rj20sn.js → vcs-8vf9p1vn.js} +20 -20
- package/dist/chunks/{location-g5agzp2h.js → vcs-8zh4h089.js} +5 -5
- package/dist/chunks/{location-n0ppq016.js → vcs-983bx4tv.js} +14 -14
- package/dist/chunks/{location-at8brtyc.js → vcs-9f9b48nn.js} +20 -20
- package/dist/chunks/{location-4vgcem2z.js → vcs-9h4501ja.js} +1 -1
- package/dist/chunks/{location-kp8q1t60.js → vcs-9jzp6rtr.js} +9 -9
- package/dist/chunks/{location-hmr7k35w.js → vcs-9k60352s.js} +25 -25
- package/dist/chunks/{location-sz763eb6.js → vcs-9z431jrj.js} +9 -9
- package/dist/chunks/{location-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{location-jggnvhtg.js → vcs-axj6q4j4.js} +55 -55
- package/dist/chunks/{location-9h6052ys.js → vcs-b61wnr05.js} +36 -36
- package/dist/chunks/{location-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-96xc4j73.js → vcs-b8d4rmcw.js} +9 -9
- package/dist/chunks/{location-z07pqspn.js → vcs-bjtzbw4r.js} +3 -3
- package/dist/chunks/{location-8pv27hsx.js → vcs-bm3qhbmn.js} +17 -17
- package/dist/chunks/{location-px4zyfbx.js → vcs-bp5zn84r.js} +10 -10
- package/dist/chunks/{location-qrarvdac.js → vcs-btsrk6c2.js} +12 -12
- package/dist/chunks/{location-mam35mvc.js → vcs-bvkd440q.js} +12 -12
- package/dist/chunks/{location-qgt4e7dm.js → vcs-bxbtj1qd.js} +8 -8
- package/dist/chunks/{location-wpttx3ek.js → vcs-c7h0x4yk.js} +23 -23
- package/dist/chunks/{location-8x023p49.js → vcs-c8m1ndyk.js} +6 -6
- package/dist/chunks/{location-r0dmdece.js → vcs-cb6xbnd9.js} +2 -2
- package/dist/chunks/{location-xdqwyhzn.js → vcs-cf7p89xb.js} +10 -10
- package/dist/chunks/{location-ps9c259y.js → vcs-cnj8r2zb.js} +17 -17
- package/dist/chunks/{location-yjptyezs.js → vcs-cq46pgcx.js} +5 -5
- package/dist/chunks/{location-c78bbtc9.js → vcs-cqtvvg9q.js} +5 -5
- package/dist/chunks/{location-wxxtmkrx.js → vcs-ct913see.js} +5 -5
- package/dist/chunks/{location-bwqnkjsb.js → vcs-cw54z5t2.js} +17 -17
- package/dist/chunks/{location-cwa6csj7.js → vcs-cwa6csj7.js} +2 -2
- package/dist/chunks/{location-81swgkk7.js → vcs-d9s573fh.js} +7 -7
- package/dist/chunks/{location-patgj9rf.js → vcs-dda0p7y7.js} +9 -9
- package/dist/chunks/{location-1zr7j3r4.js → vcs-dds4m2b5.js} +5 -5
- package/dist/chunks/{location-j83byb14.js → vcs-dfe8djrf.js} +4 -4
- package/dist/chunks/{location-4c9fncqc.js → vcs-dfh0xed5.js} +5 -5
- package/dist/chunks/{location-3pbjq009.js → vcs-dsazm5eh.js} +11 -11
- package/dist/chunks/{location-qahgzyff.js → vcs-dyrwyt65.js} +32 -32
- package/dist/chunks/{location-5qd3pb7m.js → vcs-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-axs6pdy0.js → vcs-e8qyrgb1.js} +5 -5
- package/dist/chunks/{location-ecfe7b91.js → vcs-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-nwnnebx3.js → vcs-eef36fdw.js} +20 -20
- package/dist/chunks/{location-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-9sm9gfq3.js → vcs-ehn7vv3c.js} +20 -20
- package/dist/chunks/{location-yf8kg88s.js → vcs-ejm60891.js} +7 -7
- package/dist/chunks/{location-7ysj2gw8.js → vcs-erwyzksv.js} +27 -27
- package/dist/chunks/{location-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-299n82gd.js → vcs-f2wfspan.js} +8 -8
- package/dist/chunks/{location-1akzjdkx.js → vcs-f7sbcs1s.js} +22 -22
- package/dist/chunks/{location-zsh9941h.js → vcs-fhcrmec4.js} +10 -10
- package/dist/chunks/{location-y9kjyn13.js → vcs-fwv01ez0.js} +12 -12
- package/dist/chunks/{location-9jbrny13.js → vcs-fzd0b8n6.js} +32 -32
- package/dist/chunks/{location-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-94ek1h2f.js → vcs-gfvb90ym.js} +2 -2
- package/dist/chunks/{location-92r5fjaa.js → vcs-grbear6k.js} +32 -32
- package/dist/chunks/{location-18rp1xkf.js → vcs-gs4tkc79.js} +8 -8
- package/dist/chunks/{location-46t99vnr.js → vcs-gx21vd1f.js} +13 -13
- package/dist/chunks/{location-n1m68ejj.js → vcs-h5vcs21w.js} +20 -20
- package/dist/chunks/{location-hn75rfyg.js → vcs-h6dd5nj3.js} +11 -11
- package/dist/chunks/{location-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-6bass0b7.js → vcs-hh4v7266.js} +16 -16
- package/dist/chunks/{location-v4w8s23p.js → vcs-hk4fmd6v.js} +30 -30
- package/dist/chunks/{location-b09hzw3k.js → vcs-hkagk5ex.js} +2 -2
- package/dist/chunks/{location-06x8he3q.js → vcs-hn57h045.js} +4 -4
- package/dist/chunks/{location-jmasdga9.js → vcs-hndg17wg.js} +43 -43
- package/dist/chunks/{location-yxcw63er.js → vcs-hv3dmpp2.js} +12 -12
- package/dist/chunks/{location-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{location-2r60reda.js → vcs-j5r7mnag.js} +24 -24
- package/dist/chunks/{location-pgsw580e.js → vcs-j7y1n5ns.js} +17 -17
- package/dist/chunks/{location-a1b9eenk.js → vcs-jcs87n6r.js} +4 -4
- package/dist/chunks/{location-z5q8ygm0.js → vcs-jh1zbppd.js} +27 -27
- package/dist/chunks/{location-nzks3jc8.js → vcs-k3c624dm.js} +3 -3
- package/dist/chunks/{location-8t9r9m98.js → vcs-k3g1rb3k.js} +24 -24
- package/dist/chunks/{location-f0v8xfz9.js → vcs-k8t255qq.js} +19 -19
- package/dist/chunks/{location-d725fnbd.js → vcs-keqjy1g6.js} +26 -26
- package/dist/chunks/{location-xxewh186.js → vcs-khxyc70q.js} +9 -9
- package/dist/chunks/{location-ra4n65wq.js → vcs-knevfgda.js} +4 -4
- package/dist/chunks/{location-mn2xmmev.js → vcs-kzcxnww5.js} +9 -9
- package/dist/chunks/{location-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-1qetcq2f.js → vcs-mcjvxj01.js} +4 -4
- package/dist/chunks/{location-vfbk05zz.js → vcs-mdm5j4bj.js} +76 -76
- package/dist/chunks/{location-6nex2bx1.js → vcs-msq4ntpz.js} +25 -25
- package/dist/chunks/{location-3pe7sts8.js → vcs-mvn2r3z4.js} +9 -9
- package/dist/chunks/{location-51n8w2am.js → vcs-mwfejemj.js} +9 -9
- package/dist/chunks/{location-qwjmgwmn.js → vcs-n0tq777j.js} +8 -8
- package/dist/chunks/{location-q7sva9xj.js → vcs-n4z35x1w.js} +9 -9
- package/dist/chunks/{location-4928d4yw.js → vcs-n62nckym.js} +11 -11
- package/dist/chunks/{location-2y34zzjz.js → vcs-n8c291r7.js} +6 -6
- package/dist/chunks/{location-y6f0p4jw.js → vcs-ndmv45hp.js} +3 -3
- package/dist/chunks/{location-03b5ykzw.js → vcs-ng7678yv.js} +3 -3
- package/dist/chunks/{location-yk6wy72m.js → vcs-njx86ncx.js} +24 -24
- package/dist/chunks/{location-5bpccfdn.js → vcs-np4zyaxz.js} +15 -15
- package/dist/chunks/{location-7ybfkyhv.js → vcs-ntmafhxh.js} +19 -19
- package/dist/chunks/{location-4sb5xsr0.js → vcs-p2etx821.js} +20 -20
- package/dist/chunks/{location-v01qj8m2.js → vcs-p4q1g30v.js} +35 -35
- package/dist/chunks/{location-8zqs9j7p.js → vcs-p9kt6re1.js} +11 -11
- package/dist/chunks/{location-n77hk0vh.js → vcs-pgwqr8ee.js} +12 -12
- package/dist/chunks/{location-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-n5rr0bsk.js → vcs-pjz0zcv2.js} +11 -11
- package/dist/chunks/{location-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{location-wd3x2cqz.js → vcs-psazpmmj.js} +2 -2
- package/dist/chunks/{location-k0h4mfgc.js → vcs-ptm59064.js} +47 -47
- package/dist/chunks/{location-dvfstcq5.js → vcs-pxkhtqdc.js} +13 -13
- package/dist/chunks/{location-tjyds3np.js → vcs-pxpwb23y.js} +15 -15
- package/dist/chunks/{location-7fkffz83.js → vcs-py3kkmfq.js} +4 -4
- package/dist/chunks/{location-f6qf1r64.js → vcs-py6tvht3.js} +9 -9
- package/dist/chunks/{location-hq78f3qw.js → vcs-q2k50tdt.js} +33 -33
- package/dist/chunks/{location-gq9kk5at.js → vcs-q54gewa9.js} +6 -6
- package/dist/chunks/{location-h3s7v34z.js → vcs-q9xmsq5j.js} +6 -6
- package/dist/chunks/{location-jewzahs7.js → vcs-qbqbaz6q.js} +4 -4
- package/dist/chunks/{location-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{location-4r1h02t6.js → vcs-qtf7ajd6.js} +27 -27
- package/dist/chunks/{location-pb18q5py.js → vcs-qv52y0kk.js} +36 -36
- package/dist/chunks/{location-y4h12032.js → vcs-qz3g8v3b.js} +11 -11
- package/dist/chunks/{location-g8d3gcyj.js → vcs-ratrq7cm.js} +5 -5
- package/dist/chunks/{location-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-4jmq7cn8.js → vcs-rf0rwq9q.js} +11 -11
- package/dist/chunks/{location-fg6vqa6w.js → vcs-rfd4cgzf.js} +31 -31
- package/dist/chunks/{location-s8d7rejh.js → vcs-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-bj3zhn3q.js → vcs-rkj6e36x.js} +5 -5
- package/dist/chunks/{location-cpy6gm2a.js → vcs-rp8jz6x1.js} +6 -6
- package/dist/chunks/{location-zeh9ct20.js → vcs-rq775frq.js} +2 -2
- package/dist/chunks/{location-bpc3jfqy.js → vcs-rr7w9yzr.js} +11 -11
- package/dist/chunks/{location-v3679p2r.js → vcs-rt6eccz9.js} +17 -17
- package/dist/chunks/vcs-ryxm5mwn.js +252 -0
- package/dist/chunks/{location-sqr731h9.js → vcs-s1kdbxwg.js} +10 -10
- package/dist/chunks/{location-y5df08dr.js → vcs-s2ynmxvy.js} +12 -12
- package/dist/chunks/{location-vz2v0y1g.js → vcs-s4cpw0g8.js} +11 -11
- package/dist/chunks/{location-yrznvahk.js → vcs-s4enseaf.js} +2 -2
- package/dist/chunks/{location-sc4ksy03.js → vcs-s8anskx2.js} +8 -8
- package/dist/chunks/{location-5aserzf1.js → vcs-s9ampnzs.js} +11 -11
- package/dist/chunks/{location-kx6ewwgc.js → vcs-svaspcxn.js} +5 -5
- package/dist/chunks/{location-58exf9s3.js → vcs-szpqyd6h.js} +18 -18
- package/dist/chunks/{location-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{location-xxdt3syk.js → vcs-teyc4whj.js} +11 -11
- package/dist/chunks/{location-b7t5wn2m.js → vcs-tj141g8h.js} +20 -20
- package/dist/chunks/{location-yrccs5dw.js → vcs-tstnsxca.js} +18 -18
- package/dist/chunks/{location-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{location-1jysqf0q.js → vcs-v0xjps6b.js} +24 -24
- package/dist/chunks/{location-bnty75vp.js → vcs-v4aesa73.js} +5 -5
- package/dist/chunks/{location-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{location-ajpn13bz.js → vcs-vktfeg91.js} +22 -22
- package/dist/chunks/{location-sxzvkvgj.js → vcs-vqfzq50h.js} +6 -6
- package/dist/chunks/{location-mw2h8ask.js → vcs-vrq98xzz.js} +18 -18
- package/dist/chunks/{location-f99pqswk.js → vcs-vtg51jxy.js} +41 -41
- package/dist/chunks/{location-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-dnh5am79.js → vcs-w9h9v0y2.js} +10 -10
- package/dist/chunks/{location-ednp5hmx.js → vcs-was7srj9.js} +8 -8
- package/dist/chunks/{location-f9qcgrnz.js → vcs-wc17nh9t.js} +32 -32
- package/dist/chunks/{location-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{location-xd7pxsgz.js → vcs-wjrrvf51.js} +10 -10
- package/dist/chunks/{location-a6zkzxs1.js → vcs-wn21040f.js} +15 -15
- package/dist/chunks/{location-rp7q4m9n.js → vcs-wr6f3qv2.js} +9 -9
- package/dist/chunks/{location-016zrmbp.js → vcs-wrb545ka.js} +40 -40
- package/dist/chunks/{location-aqxvbtvc.js → vcs-ww82v16z.js} +23 -23
- package/dist/chunks/{location-nw7gx7cz.js → vcs-wycg3qep.js} +28 -28
- package/dist/chunks/{location-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-wtyk7tnn.js → vcs-x3an4z7c.js} +6 -6
- package/dist/chunks/{location-25h6wh0b.js → vcs-x5es4t48.js} +33 -33
- package/dist/chunks/{location-qwwvq786.js → vcs-xat61z3k.js} +11 -11
- package/dist/chunks/{location-f3ngv102.js → vcs-xdk9p2qn.js} +21 -21
- package/dist/chunks/{location-qqeeq2t9.js → vcs-xfkkasph.js} +7 -7
- package/dist/chunks/{location-xkntkrq7.js → vcs-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-yahe92kn.js → vcs-xna4x1sn.js} +26 -26
- package/dist/chunks/{location-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-v8v948yd.js → vcs-y5hhwgev.js} +10 -10
- package/dist/chunks/{location-y71avatq.js → vcs-y71avatq.js} +1 -1
- package/dist/chunks/{location-tvsfvamq.js → vcs-y7a3vg46.js} +5 -5
- package/dist/chunks/{location-jf5a25sz.js → vcs-y8s8f6j8.js} +46 -46
- package/dist/chunks/{location-sd23ea76.js → vcs-yavzwk2n.js} +15 -15
- package/dist/chunks/{location-j8zvn2fh.js → vcs-ydgy0jv4.js} +8 -8
- package/dist/chunks/{location-hn61d6g7.js → vcs-ymss648d.js} +7 -7
- package/dist/chunks/{location-f2n192rq.js → vcs-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-2zxaccxt.js → vcs-yqnvcheb.js} +10 -10
- package/dist/chunks/{location-pxya9xw6.js → vcs-yr5w62k6.js} +19 -19
- package/dist/chunks/{location-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-0jvg19fh.js → vcs-yvshgw5k.js} +22 -22
- package/dist/chunks/{location-gv6a8nnw.js → vcs-yyb7tjpc.js} +2 -2
- package/dist/chunks/{location-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-hngjveb4.js → vcs-z5g6ermd.js} +10 -10
- package/dist/chunks/{location-16a16tg4.js → vcs-zcws0pck.js} +13 -13
- package/dist/chunks/{location-5pc7ckbf.js → vcs-zd5bv8nv.js} +43 -43
- package/dist/chunks/{location-prww9d41.js → vcs-zffvdhag.js} +10 -10
- package/dist/chunks/{location-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +123 -123
- package/dist/config/plugin/command.js +213 -213
- 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 +130 -130
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +93 -93
- 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 +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- 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 +83 -83
- 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 +87 -87
- package/dist/job.js +79 -79
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- 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 +100 -100
- package/dist/models-dev.js +107 -107
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- 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 +2 -2
- 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 +93 -93
- 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 +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- 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 +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +151 -151
- 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 +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- 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 +122 -122
- 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 +122 -122
- 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 +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- 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 +3 -3
- 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 +1 -1
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-1s2cnys0.js +0 -252
- package/dist/chunks/location-aba4y9w7.js +0 -26
- package/dist/chunks/location-v1faaxn9.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-1ekk4s7j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./vcs-hh4v7266.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service58,
|
|
12
|
+
node61
|
|
13
|
+
} from "./vcs-j5r7mnag.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError7
|
|
16
|
+
} from "./vcs-9z431jrj.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service56,
|
|
19
|
+
node59
|
|
20
|
+
} from "./vcs-1v2b2k63.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service57,
|
|
26
|
+
node60
|
|
27
|
+
} from "./vcs-cnj8r2zb.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node79
|
|
31
|
+
} from "./vcs-n0tq777j.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event11,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError6,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service55,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node58
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event11 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID7,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service55 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service80;
|
|
133
|
+
const agents = yield* Service58;
|
|
134
|
+
const sessions = yield* Service56;
|
|
135
|
+
const saved = yield* Service57;
|
|
136
|
+
const hooks = yield* Service76;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError7({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID7.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError6({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service55.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node58 = makeLocationNode({
|
|
303
|
+
service: Service55,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87,
|
|
305
|
+
deps: [node87, node84, node61, node59, node60, node79]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service55, node58, exports_permission, Rule2, Ruleset2, Event11 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-18296zga.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-1ekk4s7j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service49,
|
|
11
|
+
node52
|
|
12
|
+
} from "./vcs-bm3qhbmn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service41,
|
|
15
|
+
node43
|
|
16
|
+
} from "./vcs-vqfzq50h.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./vcs-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./vcs-hn57h045.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service56,
|
|
29
|
+
node59
|
|
30
|
+
} from "./vcs-1v2b2k63.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-70vk70yg.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./vcs-3pebang0.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./vcs-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service37,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer16,
|
|
47
|
+
node: () => node40,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service37 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service56;
|
|
64
|
+
const instances = yield* Service41;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service49;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service37.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node40 = makeGlobalNode({
|
|
127
|
+
service: Service37,
|
|
128
|
+
layer: layer16,
|
|
129
|
+
deps: [node59, node43, node87, node88, node52]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service37, terminal2, layer16, node40, noopLayer2, exports_execution };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-hh4v7266.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service54,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node57,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service54 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service54, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node57 = LayerNode.unbound(Service54, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service54;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service54, node57, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-psazpmmj.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service72,
|
|
6
|
+
node75
|
|
7
|
+
} from "./vcs-fhcrmec4.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-ndmv45hp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service49,
|
|
23
|
+
make: () => make19,
|
|
24
|
+
node: () => node52
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service49 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make19 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service72;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make17 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service49.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make17 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service49, make19);
|
|
362
|
+
var node52 = makeGlobalNode({ service: Service49, layer, deps: [node75] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service49, make19, node52, exports_job };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./vcs-hh4v7266.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-66j8y0n9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin35,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin35 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin35, exports_git };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./vcs-hh4v7266.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-rhjbct0v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
18
|
Service: () => Service33,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node37
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -25,10 +25,10 @@ class Service33 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
|
25
25
|
}
|
|
26
26
|
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
28
|
+
const location = yield* Service80;
|
|
29
29
|
return Service33.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make20({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make20({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [Global.node, node84] });
|
|
64
64
|
|
|
65
|
-
export { Service33,
|
|
65
|
+
export { Service33, node37, exports_builtins };
|