@opencode/core 0.0.0-dev-20541 → 0.0.0-dev-20542
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +92 -92
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{command-6f8r1xek.js → vcs-032g16hx.js} +12 -12
- package/dist/chunks/{command-6v2t73g4.js → vcs-05y52jq2.js} +21 -21
- package/dist/chunks/{command-1v328y5z.js → vcs-0djvsza3.js} +311 -311
- package/dist/chunks/{command-fcrkznn8.js → vcs-0jwsre1p.js} +5 -5
- package/dist/chunks/{command-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-hbyhqfhs.js → vcs-0ryd0fps.js} +5 -5
- package/dist/chunks/{command-0vbcp93d.js → vcs-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-2pxx49tn.js → vcs-0zf2vxyq.js} +18 -18
- package/dist/chunks/{command-cwbq0mfh.js → vcs-18b1etme.js} +28 -28
- package/dist/chunks/{command-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-n2zgnq50.js → vcs-1dq79xpa.js} +30 -30
- package/dist/chunks/{command-pee00n06.js → vcs-1f73aaze.js} +27 -27
- package/dist/chunks/{command-0djpsv8h.js → vcs-1g4209et.js} +16 -16
- package/dist/chunks/{command-h6m8mpqk.js → vcs-1gpb38yh.js} +9 -9
- package/dist/chunks/{command-re5v1f1h.js → vcs-1sjf069y.js} +12 -12
- package/dist/chunks/{command-6y94d6d5.js → vcs-1wazn8nx.js} +2 -2
- package/dist/chunks/{command-vbfgae2j.js → vcs-1y283654.js} +4 -4
- package/dist/chunks/{command-61d0nta3.js → vcs-26b9v9sx.js} +79 -79
- package/dist/chunks/{command-0n4qmygn.js → vcs-27n8va8w.js} +6 -6
- package/dist/chunks/{command-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-7q5hsd78.js → vcs-2aqmbtyj.js} +26 -26
- package/dist/chunks/{command-g9v33ymf.js → vcs-2br74stp.js} +4 -4
- package/dist/chunks/{command-mmq4tvzh.js → vcs-2cawvqkb.js} +18 -18
- package/dist/chunks/{command-5vyb2hja.js → vcs-2cf3b2jy.js} +5 -5
- package/dist/chunks/{command-js7ztaqx.js → vcs-2mn2xacz.js} +19 -19
- package/dist/chunks/{command-g7xb4ge4.js → vcs-2namw3xg.js} +1 -1
- package/dist/chunks/{command-kgf2vxaw.js → vcs-2xxdjjs3.js} +4 -4
- package/dist/chunks/{command-jhk6nqbr.js → vcs-2zavndn1.js} +31 -31
- package/dist/chunks/{command-h2b79v29.js → vcs-3cegwx68.js} +2 -2
- package/dist/chunks/{command-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-xqjr5z5q.js → vcs-3maw4159.js} +34 -34
- package/dist/chunks/{command-21xha1jy.js → vcs-3pvr2b0s.js} +35 -35
- package/dist/chunks/{command-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-tc2wd370.js → vcs-3t78edg3.js} +8 -8
- package/dist/chunks/{command-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-z7s65jz9.js → vcs-41vvr2y3.js} +4 -4
- package/dist/chunks/{command-kgffmydg.js → vcs-444j15kp.js} +43 -43
- package/dist/chunks/{command-kykbznp4.js → vcs-496rqfwn.js} +9 -9
- package/dist/chunks/{command-ntxrry2n.js → vcs-4a1ejpw3.js} +11 -11
- package/dist/chunks/{command-392tpz92.js → vcs-4bpbtp0a.js} +1 -1
- package/dist/chunks/{command-9aqw140n.js → vcs-4k1naajh.js} +22 -22
- package/dist/chunks/{command-axm04d2k.js → vcs-4k5ht055.js} +15 -15
- package/dist/chunks/{command-2ccvkpx1.js → vcs-4ts7tf6z.js} +2 -2
- package/dist/chunks/{command-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{command-1ygqh575.js → vcs-56gdpj1q.js} +9 -9
- package/dist/chunks/{command-3vn5r7fz.js → vcs-5b5aj4v2.js} +4 -4
- package/dist/chunks/{command-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{command-wgkw1say.js → vcs-5mm51762.js} +3 -3
- package/dist/chunks/{command-e3qxr5gk.js → vcs-5qd3pb7m.js} +2 -2
- package/dist/chunks/{command-cs216amt.js → vcs-5r69sf90.js} +9 -9
- package/dist/chunks/{command-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-thnqqb5h.js → vcs-5vqrxjkm.js} +15 -15
- package/dist/chunks/{command-eda73v46.js → vcs-5w6ne2rj.js} +11 -11
- package/dist/chunks/{command-22t0k3cz.js → vcs-5yz6eqax.js} +22 -22
- package/dist/chunks/{command-r9ggpxfb.js → vcs-633bc7gg.js} +53 -53
- package/dist/chunks/{command-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{command-401cxz9d.js → vcs-68vs7jp0.js} +11 -11
- package/dist/chunks/{command-5crddx1s.js → vcs-6qcw2y52.js} +32 -32
- package/dist/chunks/{command-dzv118g2.js → vcs-6rb86tnz.js} +8 -8
- package/dist/chunks/{command-f3k65vz0.js → vcs-6tysj855.js} +27 -27
- package/dist/chunks/{command-as8e1r60.js → vcs-76n77kwq.js} +20 -20
- package/dist/chunks/{command-d392bjy5.js → vcs-78kb7271.js} +13 -13
- package/dist/chunks/{command-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-trazswah.js → vcs-7d24rw0e.js} +17 -17
- package/dist/chunks/{command-yke0wfjf.js → vcs-7e8sen0c.js} +20 -20
- package/dist/chunks/{command-h1ff3r7d.js → vcs-7m6w379t.js} +11 -11
- package/dist/chunks/{command-75rpacef.js → vcs-7nn43tqg.js} +23 -23
- package/dist/chunks/{command-7yfar2g1.js → vcs-80ycrk5c.js} +8 -8
- package/dist/chunks/{command-1dvck2a7.js → vcs-84h8c373.js} +2 -2
- package/dist/chunks/{command-84txncab.js → vcs-84txncab.js} +1 -1
- package/dist/chunks/{command-8t624zf9.js → vcs-873yzq4y.js} +9 -9
- package/dist/chunks/{command-z96ftasq.js → vcs-89x1chzy.js} +24 -24
- package/dist/chunks/{command-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-ag82fysq.js → vcs-8rr00yh2.js} +9 -9
- package/dist/chunks/{command-9hn6k4tm.js → vcs-8v6pyhej.js} +8 -8
- package/dist/chunks/{command-nmdr856g.js → vcs-8z91h3sm.js} +5 -5
- package/dist/chunks/{command-gqepmfk7.js → vcs-94egvv51.js} +29 -29
- package/dist/chunks/{command-rpms11rw.js → vcs-9hg28wmb.js} +22 -22
- package/dist/chunks/{command-wbgabvvj.js → vcs-9hwaqfsw.js} +5 -5
- package/dist/chunks/{command-achynwnm.js → vcs-9phv9fdd.js} +22 -22
- package/dist/chunks/{command-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{command-ytfp8a9c.js → vcs-aay714yp.js} +14 -14
- package/dist/chunks/{command-3y377wv9.js → vcs-addxnjmp.js} +4 -4
- package/dist/chunks/{command-8sqk77t7.js → vcs-agrc1xj0.js} +3 -3
- package/dist/chunks/{command-b4gp33hv.js → vcs-akk93w6q.js} +11 -11
- package/dist/chunks/{command-way54g3t.js → vcs-anrc0yrh.js} +33 -33
- package/dist/chunks/{command-0axee2zp.js → vcs-avv5f6bw.js} +5 -5
- package/dist/chunks/{command-7qdef5aj.js → vcs-ay68nmfm.js} +17 -17
- package/dist/chunks/{command-cfsekr6v.js → vcs-b4twkq7r.js} +6 -6
- package/dist/chunks/{command-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-ezyde299.js → vcs-b82ykvfb.js} +17 -17
- package/dist/chunks/{command-1cfb3ja4.js → vcs-bgs9y14h.js} +5 -5
- package/dist/chunks/{command-bq7b46md.js → vcs-bh2h312c.js} +11 -11
- package/dist/chunks/{command-6w9me9g4.js → vcs-bjb10bhf.js} +23 -23
- package/dist/chunks/{command-ztxh1f3e.js → vcs-bkmkjhmh.js} +28 -28
- package/dist/chunks/{command-x691ctxc.js → vcs-bv6943e1.js} +1 -1
- package/dist/chunks/{command-f9hcp00g.js → vcs-bw6j7p8n.js} +10 -10
- package/dist/chunks/{command-p1et7349.js → vcs-cdw9nh7g.js} +43 -43
- package/dist/chunks/{command-5zqqr9b4.js → vcs-cevjbcfc.js} +10 -10
- package/dist/chunks/{command-578mczcx.js → vcs-cevyjb4d.js} +7 -7
- package/dist/chunks/{command-zeb7mf4e.js → vcs-cg8113cm.js} +9 -9
- package/dist/chunks/{command-6z2jg7m4.js → vcs-chkwe70y.js} +11 -11
- package/dist/chunks/{command-nj45zehw.js → vcs-cxqpwn2x.js} +8 -8
- package/dist/chunks/{command-f7p9evzq.js → vcs-d27eh3t3.js} +35 -35
- package/dist/chunks/{command-7zk0wn2x.js → vcs-d2e4n0dz.js} +25 -25
- package/dist/chunks/{command-t1s0jw3q.js → vcs-d45s0hm2.js} +24 -24
- package/dist/chunks/{command-zwas51cn.js → vcs-d49dmxja.js} +8 -8
- package/dist/chunks/{command-bnymekt2.js → vcs-dfynq9y8.js} +15 -15
- package/dist/chunks/{command-dympa6h6.js → vcs-dpa7r3sp.js} +1 -1
- package/dist/chunks/{command-nxm207yx.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{command-qygccx2c.js → vcs-dpzb953a.js} +24 -24
- package/dist/chunks/{command-5t5wrhde.js → vcs-drnf6xwf.js} +2 -2
- package/dist/chunks/{command-g90rxwkd.js → vcs-dv0smdjs.js} +11 -11
- package/dist/chunks/{command-jpzv3ykh.js → vcs-dxbe5etx.js} +13 -13
- package/dist/chunks/{command-3cve9wcq.js → vcs-dxjr8qb0.js} +16 -16
- package/dist/chunks/{command-77acw9m0.js → vcs-ea462v4r.js} +1 -1
- package/dist/chunks/{command-15nepkqg.js → vcs-eeaf82dq.js} +8 -8
- package/dist/chunks/{command-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-8gt91z3r.js → vcs-egvvc6yq.js} +24 -24
- package/dist/chunks/{command-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-y9bry2a2.js → vcs-exp1wtcs.js} +14 -14
- package/dist/chunks/{command-stff7yw3.js → vcs-eyttazzr.js} +31 -31
- package/dist/chunks/{command-0wv8zgxx.js → vcs-ez1vvzrg.js} +5 -5
- package/dist/chunks/{command-g8n6k2e8.js → vcs-f1g2race.js} +10 -10
- package/dist/chunks/{command-4n47a3cw.js → vcs-f2tpabag.js} +16 -16
- package/dist/chunks/{command-71az546q.js → vcs-f75zav2x.js} +2 -2
- package/dist/chunks/{command-0jf2y13k.js → vcs-f85drh53.js} +24 -24
- package/dist/chunks/{command-g3xnrmzn.js → vcs-fc6renp4.js} +24 -24
- package/dist/chunks/{command-5tcm9639.js → vcs-g31erja1.js} +9 -9
- package/dist/chunks/{command-g5w8qwbj.js → vcs-g5w8qwbj.js} +1 -1
- package/dist/chunks/{command-q7s4p2ws.js → vcs-gc9nvknh.js} +11 -11
- package/dist/chunks/{command-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-m6eqcf37.js → vcs-ghsygkbs.js} +48 -48
- package/dist/chunks/{command-8gdnnedh.js → vcs-gn3vc2fg.js} +11 -11
- package/dist/chunks/{command-s4jagjf8.js → vcs-gngkw3v3.js} +9 -9
- package/dist/chunks/{command-dywq9pkt.js → vcs-gp0zhvse.js} +25 -25
- package/dist/chunks/{command-fgktf29t.js → vcs-gs3s1a1g.js} +8 -8
- package/dist/chunks/{command-1k3q76yn.js → vcs-gwwtdvqe.js} +11 -11
- package/dist/chunks/{command-5n7vjdk6.js → vcs-gxft1d9m.js} +5 -5
- package/dist/chunks/{command-yyc39645.js → vcs-h0thcbq2.js} +18 -18
- package/dist/chunks/{command-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-mdcbxeg1.js → vcs-h86m2kqr.js} +4 -4
- package/dist/chunks/{command-rvn3tqg0.js → vcs-hbsztvnn.js} +31 -31
- package/dist/chunks/{command-fgvgk3nc.js → vcs-hk12qhj6.js} +19 -19
- package/dist/chunks/{command-vxzh5eqq.js → vcs-hnr8f6ws.js} +4 -4
- package/dist/chunks/{command-7yetp8jc.js → vcs-hyr7mp4z.js} +24 -24
- package/dist/chunks/{command-74wsvbja.js → vcs-j33nfkg3.js} +6 -6
- package/dist/chunks/{command-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{command-7skj7b3t.js → vcs-jervv9x6.js} +11 -11
- package/dist/chunks/{command-ypkf29hv.js → vcs-jg28bfy1.js} +42 -42
- package/dist/chunks/{command-ct4faptp.js → vcs-jgytgpzc.js} +8 -8
- package/dist/chunks/{command-v66k9e3r.js → vcs-jq1ee2ph.js} +26 -26
- package/dist/chunks/vcs-jqh9b0xq.js +18 -0
- package/dist/chunks/{command-6v33vpya.js → vcs-k0zzshk0.js} +3 -3
- package/dist/chunks/{command-x1cxff1x.js → vcs-k1yszdcb.js} +21 -21
- package/dist/chunks/{command-01jzyxk2.js → vcs-k7pz3erk.js} +5 -5
- package/dist/chunks/{command-8wwws4s2.js → vcs-k8kt8k0g.js} +28 -28
- package/dist/chunks/{command-9e5bzkjp.js → vcs-kb9j3d72.js} +3 -3
- package/dist/chunks/{command-0qs5s41g.js → vcs-kd3y9bnn.js} +11 -11
- package/dist/chunks/{command-s2q9yd17.js → vcs-kd8b8z06.js} +24 -24
- package/dist/chunks/{command-2336b01z.js → vcs-kjfdeayr.js} +5 -5
- package/dist/chunks/{command-1dfrqcjm.js → vcs-krrt2pbg.js} +8 -8
- package/dist/chunks/{command-eaf5gakt.js → vcs-kty4dv98.js} +11 -11
- package/dist/chunks/{command-2qx5ewc2.js → vcs-kyktj0vd.js} +6 -6
- package/dist/chunks/{command-6rwesznr.js → vcs-m3drsj2y.js} +15 -15
- package/dist/chunks/{command-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{command-k6yxz2kp.js → vcs-m6kqcfab.js} +24 -24
- package/dist/chunks/{command-j1a331kd.js → vcs-m7b1awws.js} +15 -15
- package/dist/chunks/{command-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-kzrjs8je.js → vcs-me0yaqbt.js} +13 -13
- package/dist/chunks/{command-9qbdnxkb.js → vcs-mg2z0cw8.js} +18 -18
- package/dist/chunks/{command-ywpe0k31.js → vcs-mjqndqed.js} +12 -12
- package/dist/chunks/{command-mxmsd58h.js → vcs-mkjk38wz.js} +20 -20
- package/dist/chunks/{command-x1bgc40t.js → vcs-mnqvabpf.js} +13 -13
- package/dist/chunks/{command-rrkmkyg6.js → vcs-mprmhdhs.js} +6 -6
- package/dist/chunks/{command-hvaebh52.js → vcs-mq44vbk9.js} +18 -18
- package/dist/chunks/{command-pds74t41.js → vcs-my4zabxr.js} +3 -3
- package/dist/chunks/{command-ksk3n4cg.js → vcs-my9jbn68.js} +5 -5
- package/dist/chunks/{command-hhdeq4zt.js → vcs-n06f2vwx.js} +16 -16
- package/dist/chunks/{command-4z58m4b4.js → vcs-n1n192bv.js} +4 -4
- package/dist/chunks/{command-emvq8ywb.js → vcs-n3bbtbf3.js} +1 -1
- package/dist/chunks/{command-4xqwpdwt.js → vcs-n7v4a6zs.js} +22 -22
- package/dist/chunks/{command-d0cgwrbg.js → vcs-neg4rnba.js} +13 -13
- package/dist/chunks/{command-t2c2p23z.js → vcs-nkr3xask.js} +28 -28
- package/dist/chunks/{command-w243dze7.js → vcs-nqf1a8vv.js} +17 -17
- package/dist/chunks/{command-6sr3ve8g.js → vcs-nrdmrqsx.js} +21 -21
- package/dist/chunks/{command-3556dn8t.js → vcs-ns3eape4.js} +1 -1
- package/dist/chunks/{command-kdtk6ytk.js → vcs-nw351ncq.js} +20 -20
- package/dist/chunks/{command-d46e2cta.js → vcs-p29q1m0x.js} +14 -14
- package/dist/chunks/{command-3sqh8pm2.js → vcs-p2r87vr4.js} +20 -20
- package/dist/chunks/{command-w67z85jj.js → vcs-p4mrt67q.js} +18 -18
- package/dist/chunks/{command-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{command-qy9s2ye0.js → vcs-pm8f24c6.js} +10 -10
- package/dist/chunks/{command-6y03q21h.js → vcs-pmsv8f6n.js} +2 -2
- package/dist/chunks/{command-hyssag4y.js → vcs-psc03azy.js} +11 -11
- package/dist/chunks/{command-c55dey07.js → vcs-px4escs4.js} +24 -24
- package/dist/chunks/{command-n2rmdmjc.js → vcs-q0mxarp9.js} +18 -18
- package/dist/chunks/{command-0j77ygfz.js → vcs-q0xm7vwc.js} +6 -6
- package/dist/chunks/vcs-q6es4t5x.js +26 -0
- package/dist/chunks/{command-tj682e1p.js → vcs-qg3b25dp.js} +8 -8
- package/dist/chunks/{command-sr0pxs2g.js → vcs-qk4ehg30.js} +34 -34
- package/dist/chunks/{command-t1ams5g6.js → vcs-qkqy46n6.js} +14 -14
- package/dist/chunks/{command-fm2qvscf.js → vcs-qm0v3jhh.js} +7 -7
- package/dist/chunks/{command-79qaa2kf.js → vcs-qmqgtz8f.js} +9 -9
- package/dist/chunks/{command-qnc92qwc.js → vcs-qnc92qwc.js} +1 -1
- package/dist/chunks/{command-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{command-qxjc9qry.js → vcs-qxjc9qry.js} +3 -3
- package/dist/chunks/{command-4mwpykj0.js → vcs-r5wgqceq.js} +6 -6
- package/dist/chunks/{command-eq1pz5kg.js → vcs-r5x6zcsm.js} +3 -3
- package/dist/chunks/{command-b7mjc4a6.js → vcs-r7hw61av.js} +3 -3
- package/dist/chunks/{command-r8xr0va3.js → vcs-r8xr0va3.js} +1 -1
- package/dist/chunks/{command-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-h9431wzg.js → vcs-rez1pkj2.js} +48 -48
- package/dist/chunks/{command-8b107kjv.js → vcs-rt8vjvr0.js} +16 -16
- package/dist/chunks/{command-3ndhv5ev.js → vcs-rx68spbt.js} +42 -42
- package/dist/chunks/{command-vn72gsba.js → vcs-rx9ava5n.js} +4 -4
- package/dist/chunks/{command-dzty4xcq.js → vcs-s2emygws.js} +65 -65
- package/dist/chunks/{command-yb7z5tge.js → vcs-s3k1ghfx.js} +147 -147
- package/dist/chunks/{command-6nx5bmak.js → vcs-s5cbn5gv.js} +9 -9
- package/dist/chunks/{command-9t7a50xb.js → vcs-s8d7rejh.js} +4 -4
- package/dist/chunks/{command-a881zpfh.js → vcs-s9xxw18e.js} +9 -9
- package/dist/chunks/{command-sqdwm1my.js → vcs-sabta156.js} +35 -35
- package/dist/chunks/{command-jpesrvwe.js → vcs-sk6f6663.js} +26 -26
- package/dist/chunks/{command-z5anw93z.js → vcs-spf5hfz2.js} +78 -78
- package/dist/chunks/{command-pacph0q8.js → vcs-sqz8vfts.js} +11 -11
- package/dist/chunks/{command-mv87szkv.js → vcs-ssh52gjb.js} +7 -7
- package/dist/chunks/{command-1g7wkek7.js → vcs-ta961bqk.js} +6 -6
- package/dist/chunks/{command-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-c33q63qa.js → vcs-tbzahsjw.js} +18 -18
- package/dist/chunks/{command-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-9basgg3g.js → vcs-tcy7k4rn.js} +6 -6
- package/dist/chunks/{command-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{command-c67sz4xq.js → vcs-tta527dv.js} +40 -40
- package/dist/chunks/{command-tvpc0ybq.js → vcs-tv7qhnrz.js} +34 -34
- package/dist/chunks/{command-c61jsrw6.js → vcs-v0emqez4.js} +9 -9
- package/dist/chunks/{command-3byrw2k0.js → vcs-v0es1rhs.js} +9 -9
- package/dist/chunks/{command-cstxe3ar.js → vcs-v5xzwmgq.js} +14 -14
- package/dist/chunks/{command-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{command-tag3ynyp.js → vcs-vrnerakx.js} +14 -14
- package/dist/chunks/{command-vv95jtq1.js → vcs-vsz3x4t5.js} +11 -11
- package/dist/chunks/{command-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-r897vr76.js → vcs-w5ystqj3.js} +5 -5
- package/dist/chunks/{command-t38tm3cf.js → vcs-w92r2f21.js} +36 -36
- package/dist/chunks/{command-awttz7et.js → vcs-wama9jpe.js} +29 -29
- package/dist/chunks/{command-c9k10dz7.js → vcs-wc1gtajg.js} +8 -8
- package/dist/chunks/{command-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{command-zckshxme.js → vcs-wdmcq2dv.js} +18 -18
- package/dist/chunks/{command-b3f8fkhc.js → vcs-wecqtg5s.js} +5 -5
- package/dist/chunks/{command-6yz0wx8n.js → vcs-wh6zw745.js} +5 -5
- package/dist/chunks/{command-3b9mfnb1.js → vcs-wrvch3jb.js} +41 -41
- package/dist/chunks/{command-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-8wbxkt1z.js → vcs-x3gqap9d.js} +4 -4
- package/dist/chunks/{command-2gef892y.js → vcs-x639pxmy.js} +9 -9
- package/dist/chunks/{command-dmqcgk4z.js → vcs-xkntkrq7.js} +5 -5
- package/dist/chunks/vcs-xmbxbqg7.js +253 -0
- package/dist/chunks/{command-45vb5exr.js → vcs-xrstanqz.js} +20 -20
- package/dist/chunks/{command-6fd4dcha.js → vcs-xtvkrcq6.js} +32 -32
- package/dist/chunks/{command-bpfb0a3w.js → vcs-xy0vq4n8.js} +11 -11
- package/dist/chunks/{command-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-nqzan4bx.js → vcs-y4226ey0.js} +6 -6
- package/dist/chunks/{command-1q3t7fvn.js → vcs-ybpswvk8.js} +40 -40
- package/dist/chunks/{command-f5gy8qwh.js → vcs-yf10kn3d.js} +8 -8
- package/dist/chunks/{command-cfy01m6q.js → vcs-yf4fz14f.js} +2 -2
- package/dist/chunks/{command-ea26v2e4.js → vcs-ygrdr60h.js} +14 -14
- package/dist/chunks/{command-sfzn7zth.js → vcs-yrdkt02y.js} +15 -15
- package/dist/chunks/{command-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-j1tnjqr2.js → vcs-z2x2d8nb.js} +11 -11
- package/dist/chunks/{command-y5hk5168.js → vcs-zdkwvzrd.js} +18 -18
- package/dist/chunks/{command-zcrspsvn.js → vcs-zee1rnkq.js} +4 -4
- package/dist/chunks/{command-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-722cwwxx.js → vcs-zrayvwax.js} +24 -24
- package/dist/chunks/{command-213p2swk.js → vcs-zwdj2e8h.js} +17 -17
- package/dist/chunks/{command-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- 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 +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 +364 -364
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +125 -125
- 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 +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +96 -96
- 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 +90 -90
- 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 +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- 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 +133 -133
- 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 +211 -211
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- 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 +125 -125
- 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 +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- 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 +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- 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 +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- 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/variant.js +93 -93
- 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 +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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +85 -85
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/command-by5v678g.js +0 -18
- package/dist/chunks/command-epwxyjh7.js +0 -253
- package/dist/chunks/command-kgw2tax4.js +0 -26
- /package/dist/chunks/{command-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → vcs-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-q0mxarp9.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info9
|
|
9
|
+
} from "./vcs-jervv9x6.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-2xxdjjs3.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service48
|
|
16
|
+
} from "./vcs-cdw9nh7g.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin23
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info9);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin23 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service48;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin23, exports_agent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-g5w8qwbj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-5w6ne2rj.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-41vvr2y3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID15,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event19,
|
|
11
|
+
Service78
|
|
12
|
+
} from "./vcs-k8kt8k0g.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-18b1etme.js";
|
|
20
20
|
import {
|
|
21
21
|
ID13,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-gp0zhvse.js";
|
|
24
24
|
import {
|
|
25
25
|
ID12,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Info21
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-4k1naajh.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -42,7 +42,7 @@ var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
44
|
var providerID = ID13.openai;
|
|
45
|
-
var integrationID =
|
|
45
|
+
var integrationID = ID14.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -172,7 +172,7 @@ var ChatGPTPlugin2 = define({
|
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
174
|
const bus = yield* Service83;
|
|
175
|
-
const credentials = yield*
|
|
175
|
+
const credentials = yield* Service78;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
178
178
|
let available;
|
|
@@ -194,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
194
194
|
yield* ctx.integration.transform((editor) => {
|
|
195
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
196
196
|
});
|
|
197
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
198
198
|
const value = entry.value;
|
|
199
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
200
200
|
return Effect.void;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID15.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service41,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node44
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service41 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service41.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node44 = makeLocationNode({
|
|
137
|
+
service: Service41,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service41, node44, exports_tool_output2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
Service71,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node74
|
|
7
|
+
} from "./vcs-egvvc6yq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service57,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer18,
|
|
20
|
+
node: () => node61
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,15 +28,15 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service57 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer18 = Layer.effect(Service57, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
41
|
const resolver = yield* Service71;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
@@ -48,7 +48,7 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service57.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node61 = makeLocationNode({
|
|
74
|
+
service: Service57,
|
|
75
|
+
layer: layer18,
|
|
76
|
+
deps: [node74, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service57, layer18, node61, exports_generate2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./vcs-633bc7gg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service38
|
|
10
|
+
} from "./vcs-sk6f6663.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input3,
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin5,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name3,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name3 = "skill";
|
|
30
|
+
var Input3 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin5 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service38;
|
|
51
|
+
const permission = yield* Service64;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name3,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input3,
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name3,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin43 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name3, Input3, Output3, description2, toModelOutput2, Plugin5, exports_skill };
|
|
@@ -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-zwdj2e8h.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-k1yszdcb.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 && location.vcs.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -475,4 +475,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
475
475
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
476
476
|
});
|
|
477
477
|
|
|
478
|
-
export {
|
|
478
|
+
export { Plugin35, exports_git };
|