@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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./vcs-zwdj2e8h.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-s8d7rejh.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
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service35,
|
|
19
|
+
node: () => node39
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service35 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service80;
|
|
29
|
+
return Service35.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make21({
|
|
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(Service30, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make21({
|
|
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(Service30, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node39 = makeLocationNode({ service: Service35, layer, deps: [Global.node, node84] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service35, node39, exports_builtins };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info17,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info17 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info17, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available3,
|
|
11
|
+
Service38,
|
|
12
|
+
node41
|
|
13
|
+
} from "./vcs-sk6f6663.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service33,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
|
+
node: () => node37
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID4,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service33 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service38;
|
|
67
|
+
return Service33.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
|
-
const available =
|
|
70
|
-
return
|
|
69
|
+
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
+
return make21({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [node41] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service33, node37, exports_instructions3 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-gp0zhvse.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-4k1naajh.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service48
|
|
11
|
+
} from "./vcs-cdw9nh7g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
resolve4
|
|
14
|
+
} from "./vcs-27n8va8w.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin24
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin24 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service48;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -175,7 +175,7 @@ var Plugin19 = define({
|
|
|
175
175
|
if (config.variants === undefined && !source?.base)
|
|
176
176
|
models.update(providerID, id, (model) => {
|
|
177
177
|
model.variants = [
|
|
178
|
-
...
|
|
178
|
+
...resolve4({
|
|
179
179
|
...model,
|
|
180
180
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
181
181
|
})
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin24, exports_provider };
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-agrc1xj0.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-41vvr2y3.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
16
|
estimate2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-h6vf3j39.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionEvent2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-ec1grn59.js";
|
|
21
21
|
import {
|
|
22
22
|
provenance2,
|
|
23
23
|
compatible2,
|
|
24
24
|
isCheckpoint2,
|
|
25
25
|
encode2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-n1n192bv.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
load5
|
|
29
|
+
} from "./vcs-akk93w6q.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-ns3eape4.js";
|
|
33
33
|
import {
|
|
34
34
|
baseTranscript2,
|
|
35
35
|
unsupportedParts2,
|
|
36
36
|
boundImages2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service31,
|
|
38
|
+
node35
|
|
39
|
+
} from "./vcs-2zavndn1.js";
|
|
40
40
|
import {
|
|
41
41
|
isRetryable2,
|
|
42
42
|
policy2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./vcs-wecqtg5s.js";
|
|
44
44
|
import {
|
|
45
45
|
toSessionError2,
|
|
46
46
|
contentFilterError2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./vcs-k7pz3erk.js";
|
|
48
48
|
import {
|
|
49
49
|
calculateCost2,
|
|
50
50
|
record2,
|
|
51
51
|
add2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./vcs-tdstcens.js";
|
|
53
53
|
import {
|
|
54
54
|
__export
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./vcs-9rqn6x4v.js";
|
|
56
56
|
|
|
57
57
|
// src/session/compaction.ts
|
|
58
58
|
var exports_compaction2 = {};
|
|
59
59
|
__export(exports_compaction2, {
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service7,
|
|
61
61
|
SessionCompaction: () => exports_compaction2,
|
|
62
62
|
buildPrompt: () => buildPrompt2,
|
|
63
63
|
estimateContext: () => estimateContext2,
|
|
64
64
|
estimatePrompt: () => estimatePrompt2,
|
|
65
65
|
layer: () => layer6,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node9,
|
|
67
67
|
recentUserMessages: () => recentUserMessages2
|
|
68
68
|
});
|
|
69
69
|
import {
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "@opencode/ai";
|
|
80
80
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
81
81
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
82
|
-
class
|
|
82
|
+
class Service7 extends Context.Service()("@opencode/SessionCompaction") {
|
|
83
83
|
}
|
|
84
84
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
85
85
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -158,11 +158,11 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
158
158
|
};
|
|
159
159
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
160
160
|
var LEGACY_HEADING = "## Additional Context";
|
|
161
|
-
var layer6 = Layer.effect(
|
|
161
|
+
var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
162
162
|
const bus = yield* Service83;
|
|
163
163
|
const llm = yield* LLMClient.Service;
|
|
164
164
|
const db = (yield* Service84).db;
|
|
165
|
-
const requests = yield*
|
|
165
|
+
const requests = yield* Service31;
|
|
166
166
|
const state = create3({
|
|
167
167
|
name: "session-compaction",
|
|
168
168
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -250,7 +250,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
250
250
|
const send = (request) => {
|
|
251
251
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
252
252
|
return Effect.gen(function* () {
|
|
253
|
-
const history = yield*
|
|
253
|
+
const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
|
|
254
254
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
255
255
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
256
256
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -450,16 +450,16 @@ ${text}`;
|
|
|
450
450
|
}, { metadata: outcome.metadata });
|
|
451
451
|
return { status: "completed" };
|
|
452
452
|
});
|
|
453
|
-
return
|
|
453
|
+
return Service7.of({
|
|
454
454
|
transform: state.transform,
|
|
455
455
|
reload: state.reload,
|
|
456
456
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
457
457
|
});
|
|
458
458
|
}));
|
|
459
|
-
var
|
|
460
|
-
service:
|
|
459
|
+
var node9 = makeLocationNode({
|
|
460
|
+
service: Service7,
|
|
461
461
|
layer: layer6,
|
|
462
|
-
deps: [node87, node88, llmClient2,
|
|
462
|
+
deps: [node87, node88, llmClient2, node35]
|
|
463
463
|
});
|
|
464
464
|
var previousCompaction = (messages) => {
|
|
465
465
|
const [first] = messages;
|
|
@@ -664,4 +664,4 @@ var estimateMedia = (mime) => {
|
|
|
664
664
|
return 0;
|
|
665
665
|
};
|
|
666
666
|
|
|
667
|
-
export {
|
|
667
|
+
export { Service7, buildPrompt2, layer6, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-agrc1xj0.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-f75zav2x.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info18,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service66,
|
|
21
|
+
node: () => node69
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info18 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service66 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID9.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service66.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node69 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID9, Info18, ListInput5, AddInput2, Service66, node69, exports_saved };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info10,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info10 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info10, exports_permission };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-41vvr2y3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./vcs-f1g2race.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event9,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service50,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node54,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service50 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event9 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service74;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event9.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service50.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event9.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event9.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node54 = makeGlobalNode({ service: Service50, layer, deps: [httpClient, node78, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service50, Event9, inspect2, resolve2, node54, exports_wellknown };
|