@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options9,
|
|
15
|
+
Service: () => Service54,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured9,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node58,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options9 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service54 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service54.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured9(options) {
|
|
210
|
+
return makeLocationNode({ service: Service54, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node58 = configured9();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options9, Service54, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured9, node58, exports_select };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info11 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info20 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info11, exports_provider2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-41vvr2y3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
16
|
Event: () => Event12,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info15,
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Service: () => Service58,
|
|
21
|
+
layer: () => layer19,
|
|
22
|
+
node: () => node62
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
import { Event as Event12 } from "@opencode/schema/command";
|
|
28
|
-
var
|
|
28
|
+
var Info15 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service58 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer19 = Layer.effect(Service58, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info15.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service58.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer21 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node62 = makeLocationNode({
|
|
75
|
+
service: Service58,
|
|
76
|
+
layer: layer19,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info15, NotFoundError7, ExecutionError2, Service58, layer19, node62, exports_command5, Event12 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-gp0zhvse.js";
|
|
5
5
|
import {
|
|
6
6
|
ID12,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-4k1naajh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,7 +71,7 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info24 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-tcy7k4rn.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-5mm51762.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-my4zabxr.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-1gpb38yh.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-s8d7rejh.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-kb9j3d72.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-rx9ava5n.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-n1n192bv.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-agrc1xj0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-41vvr2y3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./vcs-r5wgqceq.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-1gpb38yh.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service65
|
|
29
|
+
} from "./vcs-f2tpabag.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service61
|
|
34
|
+
} from "./vcs-89x1chzy.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service59
|
|
37
|
+
} from "./vcs-d27eh3t3.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./vcs-dxjr8qb0.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./vcs-76n77kwq.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./vcs-873yzq4y.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./vcs-cg8113cm.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./vcs-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make14
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make14 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service65;
|
|
69
|
+
const instances = yield* Service63;
|
|
70
|
+
const execution = yield* Service59;
|
|
71
|
+
const admission = yield* Service61;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError9({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make15 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service63, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make15 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service63, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service63, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service63, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service63, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make14, exports_session2 };
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-gp0zhvse.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
@@ -16,7 +16,7 @@ __export(exports_aisdk, {
|
|
|
16
16
|
InitError: () => InitError2,
|
|
17
17
|
Service: () => Service72,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node75
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node75 = makeLocationNode({ service: Service72, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2, Service72, locationLayer2,
|
|
879
|
+
export { InitError2, Service72, locationLayer2, node75, exports_aisdk };
|