@opencode/core 0.0.0-dev-471 → 0.0.0-dev-473
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +240 -240
- package/dist/bus.js +80 -80
- package/dist/chunks/{file-mutation-034tev2y.js → command-034tev2y.js} +2 -2
- package/dist/chunks/{file-mutation-rhhzkp1n.js → command-04whjz6n.js} +9 -9
- package/dist/chunks/{file-mutation-4b372jv9.js → command-07qaf4yv.js} +35 -35
- package/dist/chunks/{file-mutation-df9cehde.js → command-0b4k4pxz.js} +21 -21
- package/dist/chunks/{file-mutation-vw9b2h8a.js → command-0h8q5847.js} +11 -11
- package/dist/chunks/{file-mutation-8nxhc1kn.js → command-0hmh74vw.js} +5 -5
- package/dist/chunks/{file-mutation-0ma9gw4f.js → command-0ma9gw4f.js} +2 -2
- package/dist/chunks/{file-mutation-ybgrrd7b.js → command-0mtc9g0s.js} +11 -11
- package/dist/chunks/{file-mutation-1skhq73y.js → command-0t98qjth.js} +38 -38
- package/dist/chunks/{file-mutation-ap07gbg5.js → command-0vvhnm77.js} +15 -15
- package/dist/chunks/{file-mutation-hm2xmxb4.js → command-12y3fhxk.js} +4 -4
- package/dist/chunks/{file-mutation-zf2gb031.js → command-16arwrrz.js} +49 -49
- package/dist/chunks/{file-mutation-1aqsckx4.js → command-1aqsckx4.js} +1 -1
- package/dist/chunks/{file-mutation-x3g8ptq1.js → command-1ck8c7p2.js} +20 -20
- package/dist/chunks/{file-mutation-397bqm3h.js → command-1dkwr9xd.js} +30 -30
- package/dist/chunks/{file-mutation-1ep2p91f.js → command-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-mutation-4an28v1d.js → command-1ethyhtf.js} +5 -5
- package/dist/chunks/{file-mutation-j4jnd719.js → command-1nkn9ee5.js} +3 -3
- package/dist/chunks/{file-mutation-sbz71ybr.js → command-1scgcwfj.js} +3 -3
- package/dist/chunks/{file-mutation-msd2a3qm.js → command-1v2g13eq.js} +4 -4
- package/dist/chunks/{file-mutation-1x2knyw4.js → command-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-mutation-1yq9hg58.js → command-1yq9hg58.js} +1 -1
- package/dist/chunks/{file-mutation-5srajy56.js → command-1zsfkcq1.js} +30 -30
- package/dist/chunks/{file-mutation-25h84942.js → command-25h84942.js} +1 -1
- package/dist/chunks/{file-mutation-kze6nzna.js → command-26wfx3k0.js} +7 -7
- package/dist/chunks/{file-mutation-9ps5jw7k.js → command-2f4qbtey.js} +21 -21
- package/dist/chunks/{file-mutation-v5rn8sre.js → command-2jyenyr4.js} +9 -9
- package/dist/chunks/{file-mutation-2p60zmnr.js → command-2p60zmnr.js} +2 -2
- package/dist/chunks/{file-mutation-665ej8j4.js → command-2zdv0xg6.js} +11 -11
- package/dist/chunks/{file-mutation-6f6jm3cp.js → command-31avdb49.js} +5 -5
- package/dist/chunks/{file-mutation-xkehk1qd.js → command-34memwys.js} +10 -10
- package/dist/chunks/{file-mutation-sf9y72b7.js → command-38aws4xb.js} +4 -4
- package/dist/chunks/{file-mutation-jcta2ebw.js → command-3ae1xfpg.js} +9 -9
- package/dist/chunks/{file-mutation-trp6s7qz.js → command-3djkmwgc.js} +21 -21
- package/dist/chunks/{file-mutation-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-dp9b76dy.js → command-3kpzvbrd.js} +6 -6
- package/dist/chunks/{file-mutation-kr47gt2d.js → command-3nfj9yse.js} +5 -5
- package/dist/chunks/{file-mutation-3nnrz6f6.js → command-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-mutation-vtpazhgh.js → command-3ntfh06s.js} +8 -8
- package/dist/chunks/{file-mutation-5chmme6c.js → command-3ta8hwe1.js} +49 -49
- package/dist/chunks/{file-mutation-rjn61k3a.js → command-3zjxarqk.js} +32 -32
- package/dist/chunks/{file-mutation-40y6dtc2.js → command-40y6dtc2.js} +1 -1
- package/dist/chunks/{file-mutation-w2eysc6j.js → command-40za9wsf.js} +9 -9
- package/dist/chunks/{file-mutation-ecy6knwg.js → command-4135qxvw.js} +21 -21
- package/dist/chunks/{file-mutation-bqh2wk7g.js → command-41znt795.js} +16 -16
- package/dist/chunks/{file-mutation-44pmzq9c.js → command-44pmzq9c.js} +2 -2
- package/dist/chunks/{file-mutation-r3q0x7xz.js → command-467fhfwc.js} +21 -21
- package/dist/chunks/{file-mutation-5akk0drc.js → command-480gje97.js} +29 -29
- package/dist/chunks/{file-mutation-0td0ztem.js → command-4aqsrd9z.js} +5 -5
- package/dist/chunks/{file-mutation-b9qgb13n.js → command-4d1kxyt7.js} +12 -12
- package/dist/chunks/{file-mutation-4dx1dgte.js → command-4dx1dgte.js} +1 -1
- package/dist/chunks/{file-mutation-jv89q0zq.js → command-4epg9cpd.js} +28 -28
- package/dist/chunks/{file-mutation-r542h3bh.js → command-4f25tdd0.js} +5 -5
- package/dist/chunks/{file-mutation-my5z10m3.js → command-4hhyssj0.js} +11 -11
- package/dist/chunks/{file-mutation-x43js2na.js → command-4jdt20jx.js} +13 -13
- package/dist/chunks/{file-mutation-4pyp9zr9.js → command-4pyp9zr9.js} +1 -1
- package/dist/chunks/{file-mutation-4v008n1t.js → command-4v008n1t.js} +1 -1
- package/dist/chunks/{file-mutation-2hn4npxj.js → command-4v7q4055.js} +9 -9
- package/dist/chunks/{file-mutation-3b4k3jby.js → command-4wkjhmtn.js} +22 -22
- package/dist/chunks/{file-mutation-mqz8gh7e.js → command-5k96f8ej.js} +11 -11
- package/dist/chunks/{file-mutation-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-mutation-pkas5f3h.js → command-61f595a1.js} +6 -6
- package/dist/chunks/{file-mutation-jv5ccajn.js → command-61qraad9.js} +5 -5
- package/dist/chunks/{file-mutation-jbxmwasx.js → command-62ngc9ha.js} +8 -8
- package/dist/chunks/{file-mutation-xmx7xj34.js → command-63xym3gh.js} +4 -4
- package/dist/chunks/{file-mutation-1436m8aj.js → command-646pg8x8.js} +43 -43
- package/dist/chunks/{file-mutation-kbgs7tyr.js → command-67wwskyb.js} +4 -4
- package/dist/chunks/{file-mutation-752st46s.js → command-68knvcz4.js} +27 -27
- package/dist/chunks/{file-mutation-zzbgp84k.js → command-69a09071.js} +7 -7
- package/dist/chunks/{file-mutation-k2b03dx2.js → command-6bcpeeft.js} +15 -15
- package/dist/chunks/{file-mutation-yb9wrz09.js → command-6cqkw5v2.js} +9 -7
- package/dist/chunks/{file-mutation-9a4e3c7v.js → command-6fy01jvj.js} +9 -9
- package/dist/chunks/{file-mutation-2965y1bb.js → command-6g8fwdfn.js} +3 -3
- package/dist/chunks/{file-mutation-gfgzeqgs.js → command-6ja1h8q3.js} +4 -4
- package/dist/chunks/{file-mutation-yhtv514x.js → command-6mftbgcc.js} +5 -5
- package/dist/chunks/{file-mutation-1f6tt8ca.js → command-6ncgp3d4.js} +9 -9
- package/dist/chunks/{file-mutation-z01nngww.js → command-6vsk825b.js} +4 -4
- package/dist/chunks/{file-mutation-3xgckhbm.js → command-7397vtrj.js} +46 -46
- package/dist/chunks/{file-mutation-76cb1hcw.js → command-76cb1hcw.js} +1 -1
- package/dist/chunks/{file-mutation-80mg3ag8.js → command-775hqbnd.js} +3 -3
- package/dist/chunks/{file-mutation-czwy3yzx.js → command-79k544d0.js} +4 -4
- package/dist/chunks/{file-mutation-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-srag9es4.js → command-7ht08nzg.js} +17 -17
- package/dist/chunks/{file-mutation-th2hp9ev.js → command-7j4g50fg.js} +12 -12
- package/dist/chunks/{file-mutation-7kr66rt3.js → command-7kr66rt3.js} +1 -1
- package/dist/chunks/{file-mutation-7w2ypzdf.js → command-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-mutation-7weczvnd.js → command-7weczvnd.js} +1 -1
- package/dist/chunks/{file-mutation-a7fam1e2.js → command-82zzf805.js} +7 -7
- package/dist/chunks/{file-mutation-89287pr7.js → command-89287pr7.js} +1 -1
- package/dist/chunks/{file-mutation-j5bw9awp.js → command-8a5z9jh8.js} +36 -36
- package/dist/chunks/{file-mutation-4d2dtj2f.js → command-8cg7mtm3.js} +4 -4
- package/dist/chunks/{file-mutation-6hatr4bt.js → command-8dt1w74b.js} +18 -18
- package/dist/chunks/{file-mutation-vn3h37jh.js → command-8ggprnar.js} +18 -18
- package/dist/chunks/{file-mutation-0ae0g9xx.js → command-8rhnpct3.js} +1 -1
- package/dist/chunks/{file-mutation-qvtnw8rj.js → command-8sb7jtsn.js} +9 -9
- package/dist/chunks/{file-mutation-8sxe6kv8.js → command-8sxe6kv8.js} +2 -2
- package/dist/chunks/{file-mutation-3xd6a55r.js → command-8ty8az89.js} +22 -22
- package/dist/chunks/{file-mutation-8wtp7s3z.js → command-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-mutation-8t3ye7bc.js → command-8x9ea4c9.js} +4 -4
- package/dist/chunks/{file-mutation-90zstvax.js → command-90zstvax.js} +1 -1
- package/dist/chunks/{file-mutation-m1rtyjr2.js → command-91mja9mb.js} +3 -3
- package/dist/chunks/{file-mutation-8f87pa43.js → command-93crpah6.js} +9 -9
- package/dist/chunks/{file-mutation-h7bmw023.js → command-96q1y33t.js} +33 -33
- package/dist/chunks/{file-mutation-kvmga4gg.js → command-98hcgb4h.js} +6 -6
- package/dist/chunks/{file-mutation-vst3nj2h.js → command-9ah5v1j5.js} +17 -17
- package/dist/chunks/{file-mutation-hcsxh3jd.js → command-9bgjscja.js} +9 -9
- package/dist/chunks/{file-mutation-9mrmhjp8.js → command-9cat8ctb.js} +199 -199
- package/dist/chunks/{file-mutation-fcfaw96t.js → command-9kxbeh9f.js} +21 -21
- package/dist/chunks/{file-mutation-ya88wpv1.js → command-a089nqtb.js} +4 -4
- package/dist/chunks/{file-mutation-s4yxycd6.js → command-a09npayz.js} +45 -45
- package/dist/chunks/{file-mutation-nnmrexdw.js → command-a5f4knde.js} +11 -11
- package/dist/chunks/{file-mutation-ayjs7tqn.js → command-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-mutation-8qcher9v.js → command-b0jj9b0h.js} +11 -11
- package/dist/chunks/{file-mutation-8bjrjs1n.js → command-b3a32pfz.js} +4 -4
- package/dist/chunks/{file-mutation-mpz6zxmf.js → command-b3fqmy3y.js} +8 -8
- package/dist/chunks/{file-mutation-b6vsg801.js → command-b6vsg801.js} +2 -2
- package/dist/chunks/{file-mutation-f2waefqe.js → command-bbp6z759.js} +26 -26
- package/dist/chunks/{file-mutation-qw9s6khe.js → command-bcwkd7ht.js} +11 -11
- package/dist/chunks/{file-mutation-t58rqcvk.js → command-bd6yt1rr.js} +3 -3
- package/dist/chunks/{file-mutation-y6d5c44g.js → command-bephacnj.js} +13 -13
- package/dist/chunks/{file-mutation-ke5c8wdk.js → command-bfgpgnwm.js} +17 -17
- package/dist/chunks/{file-mutation-aaq09yqv.js → command-bfjhbyam.js} +11 -11
- package/dist/chunks/{file-mutation-xgzvab4w.js → command-bgh17mfd.js} +15 -15
- package/dist/chunks/{file-mutation-ar410d7e.js → command-bk0kcnb3.js} +32 -32
- package/dist/chunks/{file-mutation-brrkn0s9.js → command-bmkaz8yz.js} +32 -32
- package/dist/chunks/{file-mutation-ndyke0kx.js → command-bncgzw47.js} +11 -11
- package/dist/chunks/{file-mutation-165snqmq.js → command-br1wrt32.js} +59 -59
- package/dist/chunks/{file-mutation-bstexjd6.js → command-bstexjd6.js} +1 -1
- package/dist/chunks/{file-mutation-sfgpzxqf.js → command-by0v9jkf.js} +3 -3
- package/dist/chunks/{file-mutation-217mtgw7.js → command-byd6ekmk.js} +29 -29
- package/dist/chunks/{file-mutation-stp14cc4.js → command-bzdbkzj3.js} +2 -2
- package/dist/chunks/{file-mutation-267s6g2x.js → command-c32zfq3f.js} +8 -8
- package/dist/chunks/{file-mutation-rp71bqw1.js → command-c68316wq.js} +5 -5
- package/dist/chunks/{file-mutation-51v19prt.js → command-c9w007wn.js} +14 -14
- package/dist/chunks/{file-mutation-4btwnqf8.js → command-cahp6e42.js} +6 -6
- package/dist/chunks/{file-mutation-vj50rhab.js → command-cf3f13z6.js} +8 -8
- package/dist/chunks/{file-mutation-epfxtgmh.js → command-cfx3hvwj.js} +10 -10
- package/dist/chunks/{file-mutation-m2mh4gzs.js → command-cmy2s0zw.js} +21 -21
- package/dist/chunks/{file-mutation-y1qhkr64.js → command-cp015mtv.js} +21 -21
- package/dist/chunks/{file-mutation-rcerbb12.js → command-cp1c96n9.js} +4 -4
- package/dist/chunks/{file-mutation-jn1vybs0.js → command-cpvnd12n.js} +6 -6
- package/dist/chunks/{file-mutation-s2j0v5dm.js → command-cq83j3ek.js} +18 -18
- package/dist/chunks/{file-mutation-ctgpy2ym.js → command-cqt1n9zr.js} +27 -27
- package/dist/chunks/{file-mutation-4nv9g8mf.js → command-crwdkx70.js} +26 -26
- package/dist/chunks/{file-mutation-9ptxwqxz.js → command-ctmqxg7x.js} +6 -6
- package/dist/chunks/{file-mutation-cwrgdav8.js → command-cwrgdav8.js} +2 -2
- package/dist/chunks/{file-mutation-d4v9tmah.js → command-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-mutation-vbzdt99y.js → command-d6yhcqah.js} +9 -9
- package/dist/chunks/{file-mutation-fes9vv4m.js → command-d7mf0cbr.js} +43 -43
- package/dist/chunks/{file-mutation-ebhcnw2h.js → command-danjpmwv.js} +23 -23
- package/dist/chunks/{file-mutation-82svtqr8.js → command-dcrq9x9w.js} +19 -19
- package/dist/chunks/{file-mutation-9tvpxs1q.js → command-ddwaa558.js} +4 -4
- package/dist/chunks/{file-mutation-7v7mvcha.js → command-djejg4dy.js} +9 -9
- package/dist/chunks/{file-mutation-be8r2m2w.js → command-dpja77t2.js} +53 -53
- package/dist/chunks/{file-mutation-adq8kyqw.js → command-dpz7e168.js} +38 -38
- package/dist/chunks/{file-mutation-dt77769w.js → command-dt77769w.js} +1 -1
- package/dist/chunks/{file-mutation-2afr6zk4.js → command-e0y24dw1.js} +8 -8
- package/dist/chunks/{file-mutation-e834z07m.js → command-e834z07m.js} +1 -1
- package/dist/chunks/{file-mutation-wyrr125q.js → command-edm37t96.js} +6 -6
- package/dist/chunks/{file-mutation-qys2tkj6.js → command-eg8gjqc9.js} +33 -33
- package/dist/chunks/{file-mutation-10exd076.js → command-en16g0fa.js} +15 -15
- package/dist/chunks/{file-mutation-ee5vh54n.js → command-eqt0t2ze.js} +5 -5
- package/dist/chunks/{file-mutation-eqw4pqj1.js → command-eqw4pqj1.js} +2 -2
- package/dist/chunks/{file-mutation-9bmcvzkg.js → command-eyprk2c0.js} +6 -6
- package/dist/chunks/command-f1m9n8xd.js +26 -0
- package/dist/chunks/{file-mutation-mmcj7ka8.js → command-f6p850ad.js} +35 -35
- package/dist/chunks/{file-mutation-fh0kbfb9.js → command-f6xrwzvp.js} +19 -19
- package/dist/chunks/{file-mutation-jg0mtrqr.js → command-f85k213m.js} +35 -35
- package/dist/chunks/{file-mutation-6384vqdq.js → command-fd18rm2r.js} +18 -18
- package/dist/chunks/{file-mutation-0f5bsa29.js → command-fd6qrwf6.js} +5 -5
- package/dist/chunks/{file-mutation-fffv3p7h.js → command-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-mutation-fg9p65nk.js → command-fg9p65nk.js} +2 -2
- package/dist/chunks/{file-mutation-hybp1pkg.js → command-fjt3j6q5.js} +15 -15
- package/dist/chunks/{file-mutation-ytc0rts3.js → command-fpasp1bt.js} +18 -18
- package/dist/chunks/{file-mutation-ggzmq0vf.js → command-g5dw3jkc.js} +28 -28
- package/dist/chunks/{file-mutation-x1jsn3rh.js → command-gabzcjmw.js} +9 -9
- package/dist/chunks/{file-mutation-gbjdnr5j.js → command-gbjdnr5j.js} +2 -2
- package/dist/chunks/{file-mutation-hq7eh954.js → command-gcd8vjs4.js} +27 -27
- package/dist/chunks/{file-mutation-0g88509v.js → command-gh1y3rvh.js} +14 -14
- package/dist/chunks/{file-mutation-88tpm1ry.js → command-gk5xmt04.js} +8 -8
- package/dist/chunks/{file-mutation-pz88djcj.js → command-grg0trsd.js} +4 -4
- package/dist/chunks/command-grzehpz7.js +18 -0
- package/dist/chunks/{file-mutation-chx6qssn.js → command-gvefjbhs.js} +6 -6
- package/dist/chunks/{file-mutation-f1xzkck5.js → command-gwj432m6.js} +21 -21
- package/dist/chunks/{file-mutation-tg7s7b5t.js → command-gxs71cxp.js} +4 -4
- package/dist/chunks/{file-mutation-7944ygvp.js → command-gzsjrwdp.js} +7 -7
- package/dist/chunks/{file-mutation-275w4vaz.js → command-h00x88kt.js} +24 -24
- package/dist/chunks/{file-mutation-nt907s04.js → command-h5chy42v.js} +3 -3
- package/dist/chunks/{file-mutation-nb33czjd.js → command-h6kevxeh.js} +37 -37
- package/dist/chunks/{file-mutation-w7zzwa2v.js → command-h9gwq6kt.js} +83 -83
- package/dist/chunks/{file-mutation-c674femj.js → command-hc7kk28r.js} +17 -17
- package/dist/chunks/{file-mutation-zrswxs5c.js → command-hkb47ark.js} +15 -15
- package/dist/chunks/{file-mutation-wv6rmryy.js → command-hnms7819.js} +11 -11
- package/dist/chunks/{file-mutation-hpg1pkwy.js → command-hpg1pkwy.js} +1 -1
- package/dist/chunks/{file-mutation-5btqxd5a.js → command-hptrp6qc.js} +31 -31
- package/dist/chunks/{file-mutation-gaxs3hw6.js → command-hyyv5ram.js} +14 -14
- package/dist/chunks/{file-mutation-b79gwpcy.js → command-j4k52jwy.js} +40 -40
- package/dist/chunks/{file-mutation-rmqeepmb.js → command-j4nbxgfz.js} +21 -21
- package/dist/chunks/{file-mutation-rr3gbfm5.js → command-j7wrq4eb.js} +7 -7
- package/dist/chunks/{file-mutation-t8yp7kys.js → command-j8avw84j.js} +12 -12
- package/dist/chunks/{file-mutation-ze75qvmd.js → command-j9nxzz3g.js} +3 -3
- package/dist/chunks/{file-mutation-bnzx9dwt.js → command-jf43mb4q.js} +5 -5
- package/dist/chunks/{file-mutation-h9vqyj7m.js → command-jfvkyem6.js} +26 -26
- package/dist/chunks/{file-mutation-s26c8eb5.js → command-jkdcm5hg.js} +4 -4
- package/dist/chunks/{file-mutation-jtnps1zs.js → command-jtnps1zs.js} +2 -2
- package/dist/chunks/{file-mutation-83d825hr.js → command-k9qkjmjj.js} +23 -23
- package/dist/chunks/{file-mutation-vmqe41cb.js → command-kj9n5bvh.js} +4 -4
- package/dist/chunks/{file-mutation-kt3bjfbg.js → command-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-mutation-kzczzf4v.js → command-kzczzf4v.js} +1 -1
- package/dist/chunks/{file-mutation-8hfctyyf.js → command-kzdam8c6.js} +7 -7
- package/dist/chunks/{file-mutation-f4v4cejd.js → command-kzrftevf.js} +5 -5
- package/dist/chunks/{file-mutation-btg3qkmc.js → command-m033a469.js} +18 -18
- package/dist/chunks/{file-mutation-m1714858.js → command-m1714858.js} +1 -1
- package/dist/chunks/{file-mutation-xdqjmn5k.js → command-m67npxa6.js} +25 -25
- package/dist/chunks/{file-mutation-1exmzxhg.js → command-m7wy21p6.js} +16 -16
- package/dist/chunks/{file-mutation-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-mb7mbhnz.js → command-mb7mbhnz.js} +3 -3
- package/dist/chunks/{file-mutation-1s424h9e.js → command-mr43x1ez.js} +11 -11
- package/dist/chunks/{file-mutation-yg4z3tvf.js → command-mr9vys13.js} +11 -11
- package/dist/chunks/{file-mutation-7wm9de43.js → command-mtz7qgkc.js} +17 -17
- package/dist/chunks/{file-mutation-wws03c5r.js → command-mzm8bzzq.js} +4 -4
- package/dist/chunks/{file-mutation-1c1bc264.js → command-n4h8s75p.js} +12 -12
- package/dist/chunks/{file-mutation-dzpzjmwe.js → command-n5m5byr1.js} +18 -18
- package/dist/chunks/{file-mutation-vk3c6w2m.js → command-n6dz78md.js} +6 -6
- package/dist/chunks/{file-mutation-jzwp2h9y.js → command-ncgygh99.js} +21 -21
- package/dist/chunks/{file-mutation-zybyjyfk.js → command-nk428tww.js} +15 -15
- package/dist/chunks/{file-mutation-xrqappe0.js → command-nmvjxcsb.js} +24 -24
- package/dist/chunks/{file-mutation-2hfj4fed.js → command-np7pfd3k.js} +11 -11
- package/dist/chunks/{file-mutation-rpethv5m.js → command-nqrb15q7.js} +26 -26
- package/dist/chunks/{file-mutation-kbt8ptmv.js → command-nvday014.js} +5 -5
- package/dist/chunks/{file-mutation-rc8a5dgp.js → command-p4qdt5t6.js} +15 -15
- package/dist/chunks/{file-mutation-9fad7rg5.js → command-p8cy59x8.js} +23 -23
- package/dist/chunks/{file-mutation-14726wrj.js → command-pc18qqdt.js} +8 -8
- package/dist/chunks/{file-mutation-1xwhtawf.js → command-pe49zvgn.js} +80 -80
- package/dist/chunks/{file-mutation-8qr0d1rk.js → command-pen16d07.js} +6 -6
- package/dist/chunks/{file-mutation-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-tq42zh37.js → command-pna81q4q.js} +12 -12
- package/dist/chunks/{file-mutation-9sqwpj53.js → command-pqpped4x.js} +42 -42
- package/dist/chunks/{file-mutation-f4y3d2yt.js → command-pqyke20e.js} +18 -18
- package/dist/chunks/{file-mutation-dg5naf6e.js → command-px7qpgcn.js} +4 -4
- package/dist/chunks/{file-mutation-5axszfmd.js → command-py78875p.js} +4 -4
- package/dist/chunks/{file-mutation-ek4ffqtr.js → command-pymf5tg2.js} +90 -90
- package/dist/chunks/{file-mutation-hrj4px7w.js → command-pyp1n8q3.js} +11 -11
- package/dist/chunks/command-pzc4vqfs.js +261 -0
- package/dist/chunks/command-q398sxw9.js +555 -0
- package/dist/chunks/{file-mutation-94s48bjb.js → command-q6yya7b3.js} +5 -5
- package/dist/chunks/{file-mutation-89vsj6p7.js → command-q8w0wzkt.js} +12 -12
- package/dist/chunks/{file-mutation-nwvy640x.js → command-qc91gfyq.js} +16 -16
- package/dist/chunks/{file-mutation-kzsyc22z.js → command-qcbm8ygy.js} +17 -17
- package/dist/chunks/{file-mutation-qdbh2539.js → command-qfmv8rq5.js} +20 -20
- package/dist/chunks/{file-mutation-tz1cy0v3.js → command-qh2f4k0x.js} +20 -20
- package/dist/chunks/{file-mutation-w1ckp3ft.js → command-qh9v8ntg.js} +36 -36
- package/dist/chunks/{file-mutation-cvvjr8ek.js → command-qj7xpee3.js} +12 -12
- package/dist/chunks/{file-mutation-3mxv6n0q.js → command-qjd3nqs5.js} +38 -38
- package/dist/chunks/{file-mutation-ha976ej8.js → command-qm9hf0ye.js} +14 -14
- package/dist/chunks/{file-mutation-qp7r0hxv.js → command-qp7r0hxv.js} +1 -1
- package/dist/chunks/{file-mutation-qqvy8y24.js → command-qqvy8y24.js} +1 -1
- package/dist/chunks/{file-mutation-2n444ktb.js → command-qtf35215.js} +3 -3
- package/dist/chunks/{file-mutation-vzppetdn.js → command-qw2t3dzn.js} +6 -6
- package/dist/chunks/{file-mutation-8t99kr38.js → command-r17fbvme.js} +4 -4
- package/dist/chunks/{file-mutation-29g2pqmm.js → command-r2yj4tp7.js} +21 -21
- package/dist/chunks/{file-mutation-1m3wvmpv.js → command-r5xncg2p.js} +3 -3
- package/dist/chunks/{file-mutation-ats6mqak.js → command-r6mp4hkw.js} +13 -13
- package/dist/chunks/{file-mutation-rb9dy4dg.js → command-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-mutation-ztf6n3de.js → command-rcbjwvze.js} +4 -4
- package/dist/chunks/{file-mutation-rt5dr6hb.js → command-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-mutation-n0sx90wr.js → command-rtmssjvh.js} +12 -12
- package/dist/chunks/{file-mutation-sa3fpqfw.js → command-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-mutation-sbya78hr.js → command-sbya78hr.js} +1 -1
- package/dist/chunks/{file-mutation-h5vrwpv8.js → command-sehddgew.js} +43 -43
- package/dist/chunks/{file-mutation-vas4fw4m.js → command-spedbffk.js} +44 -44
- package/dist/chunks/{file-mutation-sqjzf8x2.js → command-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-mutation-1fv2bgyk.js → command-stv14asb.js} +8 -8
- package/dist/chunks/{file-mutation-svcy3p9a.js → command-svcy3p9a.js} +1 -1
- package/dist/chunks/{file-mutation-p9nww0da.js → command-sw1sdatb.js} +6 -6
- package/dist/chunks/{file-mutation-kz9qwyvp.js → command-szdpkamw.js} +25 -25
- package/dist/chunks/{file-mutation-szwm4crx.js → command-szwm4crx.js} +4 -4
- package/dist/chunks/{file-mutation-5jy697fd.js → command-t1w2f4hm.js} +12 -12
- package/dist/chunks/{file-mutation-f12z7g8t.js → command-t41yqt6v.js} +11 -11
- package/dist/chunks/{file-mutation-tczq8hjw.js → command-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-mutation-wt59pqqy.js → command-tdhae4mv.js} +28 -28
- package/dist/chunks/{file-mutation-enkpkfwx.js → command-tg1vr1qt.js} +8 -8
- package/dist/chunks/{file-mutation-ntvd04ys.js → command-tndbqne4.js} +35 -35
- package/dist/chunks/{file-mutation-tr8x705m.js → command-tr8x705m.js} +1 -1
- package/dist/chunks/{file-mutation-5wtj8atr.js → command-tw3pa4d5.js} +17 -17
- package/dist/chunks/{file-mutation-twssxy5n.js → command-twssxy5n.js} +2 -2
- package/dist/chunks/{file-mutation-6fyqn791.js → command-tx09378e.js} +32 -32
- package/dist/chunks/{file-mutation-w79nt68w.js → command-v0t96s7a.js} +4 -4
- package/dist/chunks/{file-mutation-v2r1d0zg.js → command-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-mutation-zeqa3mtr.js → command-v3qz5a9b.js} +27 -27
- package/dist/chunks/{file-mutation-2zef7sn4.js → command-v5e29gby.js} +17 -17
- package/dist/chunks/{file-mutation-km8d638x.js → command-v8t80082.js} +56 -56
- package/dist/chunks/{file-mutation-v6ssv7wp.js → command-vcqv95a1.js} +10 -10
- package/dist/chunks/{file-mutation-vjf35v1f.js → command-vjf35v1f.js} +1 -1
- package/dist/chunks/{file-mutation-vt4r9rmy.js → command-vt4r9rmy.js} +2 -2
- package/dist/chunks/{file-mutation-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-c06xg1nc.js → command-w730jqkp.js} +15 -15
- package/dist/chunks/{file-mutation-jvcrhjj5.js → command-wafs2pe0.js} +5 -5
- package/dist/chunks/{file-mutation-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-mutation-2e77p8es.js → command-wczdw8fa.js} +37 -37
- package/dist/chunks/{file-mutation-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-wegkxhrn.js → command-wegkxhrn.js} +2 -2
- package/dist/chunks/{file-mutation-qtyhj1r4.js → command-wfdx5ztx.js} +4 -4
- package/dist/chunks/{file-mutation-srybd3a2.js → command-wg61qkfh.js} +14 -14
- package/dist/chunks/{file-mutation-wnhgecwx.js → command-wnhgecwx.js} +1 -1
- package/dist/chunks/{file-mutation-vqacxht7.js → command-wnx6gvsz.js} +2 -2
- package/dist/chunks/{file-mutation-wr3re1en.js → command-wr3re1en.js} +1 -1
- package/dist/chunks/{file-mutation-kczyz4a0.js → command-wv0q3v5p.js} +13 -13
- package/dist/chunks/{file-mutation-4e9by5qv.js → command-wzqa1p8j.js} +9 -9
- package/dist/chunks/{file-mutation-qpsz6rwd.js → command-x0zqxrsp.js} +5 -5
- package/dist/chunks/{file-mutation-a3fn0gmm.js → command-x150ncgg.js} +2 -2
- package/dist/chunks/{file-mutation-z0mgs8z4.js → command-x2x0p9p0.js} +21 -21
- package/dist/chunks/{file-mutation-znjfpv5m.js → command-x4mcewfn.js} +6 -6
- package/dist/chunks/{file-mutation-g9kt3m09.js → command-x9xc5xsf.js} +46 -46
- package/dist/chunks/{file-mutation-byd22xgp.js → command-xa7vqqs3.js} +23 -23
- package/dist/chunks/{file-mutation-6d0d1q6g.js → command-xgxp23qn.js} +4 -4
- package/dist/chunks/{file-mutation-8hvkce8x.js → command-xmpds20m.js} +8 -8
- package/dist/chunks/{file-mutation-rd795hfg.js → command-xxywzmpz.js} +8 -8
- package/dist/chunks/{file-mutation-6nks52pp.js → command-xznmvtrx.js} +28 -28
- package/dist/chunks/command-y32xxt00.js +16 -0
- package/dist/chunks/{file-mutation-yb20nhc3.js → command-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-mutation-x9aec1kz.js → command-yc277nf8.js} +29 -29
- package/dist/chunks/{file-mutation-8fhvm7ye.js → command-yeea4sy2.js} +10 -10
- package/dist/chunks/{file-mutation-1k2y84s4.js → command-ynd8sjv4.js} +7 -7
- package/dist/chunks/{file-mutation-x0fch2k3.js → command-yp7565be.js} +16 -16
- package/dist/chunks/{file-mutation-kw847yxt.js → command-ypn3ny7b.js} +18 -18
- package/dist/chunks/{file-mutation-yr705xyq.js → command-yr705xyq.js} +1 -1
- package/dist/chunks/{file-mutation-yvtc2x31.js → command-yvtc2x31.js} +1 -1
- package/dist/chunks/{file-mutation-dxsywhez.js → command-z0hqw6m5.js} +4 -4
- package/dist/chunks/{file-mutation-njb7b8r9.js → command-zjc1zpf3.js} +10 -10
- package/dist/chunks/{file-mutation-0e5e90b8.js → command-zxdyzb9b.js} +25 -25
- package/dist/chunks/{file-mutation-0mtp185z.js → command-zyfhsknv.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +239 -239
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -115
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +116 -116
- package/dist/git.js +11 -11
- 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 +104 -104
- 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/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +421 -421
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +176 -176
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +116 -116
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -153
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +112 -112
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +247 -247
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +239 -239
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +237 -237
- package/dist/session/usage.js +3 -3
- package/dist/session.js +235 -235
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +149 -149
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +100 -100
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +159 -159
- package/dist/tool/plugin/patch.js +164 -164
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +171 -171
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +115 -115
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/file-mutation-2dkjcnxp.js +0 -18
- package/dist/chunks/file-mutation-3xh7pa94.js +0 -26
- package/dist/chunks/file-mutation-cz50n3np.js +0 -261
- package/dist/chunks/file-mutation-e9r9mnye.js +0 -16
- package/dist/chunks/file-mutation-j1c24yhh.js +0 -555
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kah00gy.js → command-1kah00gy.js} +0 -0
- /package/dist/chunks/{file-mutation-1pevy3nx.js → command-1pevy3nx.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4qk9sjk2.js → command-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5w3e23ze.js → command-5w3e23ze.js} +0 -0
- /package/dist/chunks/{file-mutation-6agm2x70.js → command-6agm2x70.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-beh6qq61.js → command-beh6qq61.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cqv5kn06.js → command-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-dbht28n9.js → command-dbht28n9.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ean2d8b5.js → command-ean2d8b5.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fkpq3x5p.js → command-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jwr30sdr.js → command-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-nh4v3znn.js → command-nh4v3znn.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-p71gwv9c.js → command-p71gwv9c.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-syrav9an.js → command-syrav9an.js} +0 -0
- /package/dist/chunks/{file-mutation-t03h4f5z.js → command-t03h4f5z.js} +0 -0
- /package/dist/chunks/{file-mutation-ty7weeps.js → command-ty7weeps.js} +0 -0
- /package/dist/chunks/{file-mutation-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-mutation-vtarvj67.js → command-vtarvj67.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./command-7ht08nzg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID16,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-bbp6z759.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service76
|
|
10
|
+
} from "./command-16arwrrz.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service73
|
|
13
|
+
} from "./command-nmvjxcsb.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-wr3re1en.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-cahp6e42.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service76;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service73);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service81);
|
|
38
38
|
const defaultOrigin = origin ?? (photonWasm === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID16.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service80
|
|
4
|
+
} from "./command-xznmvtrx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./command-16arwrrz.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service80;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service76);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks2 = {};
|
|
7
7
|
__export(exports_hooks2, {
|
|
8
8
|
PluginHooks: () => exports_hooks2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service75,
|
|
10
|
+
node: () => node78
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service75 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service75.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node78 = makeLocationNode({ service: Service75, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service75, node78, exports_hooks2 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-rb9dy4dg.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-sa3fpqfw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service81
|
|
14
|
+
} from "./command-7ht08nzg.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-0b4k4pxz.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin5,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin5 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service81;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -588,4 +588,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
588
588
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
589
589
|
});
|
|
590
590
|
|
|
591
|
-
export {
|
|
591
|
+
export { Plugin5, exports_git };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./command-16arwrrz.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service69
|
|
10
|
+
} from "./command-pqpped4x.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
|
+
Output: () => Output7,
|
|
21
|
+
Plugin: () => Plugin31,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name10,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name10 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input10 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output7 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin31 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service76;
|
|
68
|
+
const permission = yield* Service69;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name10,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input10,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name10,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin26 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name10, Info2, Input10, Output7, summarize2, Plugin31, exports_todo };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-mr43x1ez.js";
|
|
4
4
|
import {
|
|
5
5
|
Service89
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-6vsk825b.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service87
|
|
11
|
+
} from "./command-4epg9cpd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID20,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-tdhae4mv.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-xznmvtrx.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID16,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info24
|
|
24
|
+
} from "./command-bbp6z759.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-cahp6e42.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID17.openai;
|
|
47
|
+
var integrationID = ID20.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -182,7 +182,7 @@ var ChatGPTPlugin2 = define({
|
|
|
182
182
|
id: "opencode.provider.chatgpt",
|
|
183
183
|
effect: Effect.fn(function* (ctx) {
|
|
184
184
|
const bus = yield* Service89;
|
|
185
|
-
const credentials = yield*
|
|
185
|
+
const credentials = yield* Service87;
|
|
186
186
|
const loading = Semaphore.makeUnsafe(1);
|
|
187
187
|
let chatgpt;
|
|
188
188
|
let source;
|
|
@@ -199,7 +199,7 @@ var ChatGPTPlugin2 = define({
|
|
|
199
199
|
yield* ctx.integration.transform((editor) => {
|
|
200
200
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
201
201
|
});
|
|
202
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
202
|
+
yield* Effect.forEach(yield* credentials.list(ID20.make("openai")), (entry) => {
|
|
203
203
|
const value = entry.value;
|
|
204
204
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
205
205
|
return Effect.void;
|
|
@@ -272,7 +272,7 @@ var ChatGPTPlugin2 = define({
|
|
|
272
272
|
}
|
|
273
273
|
});
|
|
274
274
|
const reload = () => loading.withPermit(load().pipe(Effect.flatMap((changed) => changed ? ctx.provider.reload() : Effect.void)));
|
|
275
|
-
yield* bus.subscribe(
|
|
275
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
276
276
|
})
|
|
277
277
|
});
|
|
278
278
|
function headers(app) {
|
|
@@ -329,7 +329,7 @@ function deriveModels2(remote, existing) {
|
|
|
329
329
|
const found = byID.get(model.modelID);
|
|
330
330
|
return found ? [deriveModel(found, model)] : [];
|
|
331
331
|
}),
|
|
332
|
-
...remote.filter((model) => !known.has(
|
|
332
|
+
...remote.filter((model) => !known.has(ID16.make(model.slug))).map((model) => deriveModel(model, Info24.default(ID17.openai, ID16.make(model.slug))))
|
|
333
333
|
];
|
|
334
334
|
}
|
|
335
335
|
function deriveModel(remote, previous) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-c9w007wn.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make15 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make18 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make15();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make15, LMStudioPlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
5
|
ID9,
|
|
6
6
|
Service42
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-4wkjhmtn.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-qtf35215.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-edm37t96.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service89,
|
|
4
4
|
node92
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-6vsk825b.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node86
|
|
9
|
+
} from "./command-yeea4sy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-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: () => Event16,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service79,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node82,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -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 Service79 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event16 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
84
|
+
const kv = yield* Service83;
|
|
85
85
|
const bus = yield* Service89;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service79.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node82 = makeGlobalNode({ service: Service79, layer, deps: [httpClient, node86, node92] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service79, Event16, inspect2, resolve4, node82, exports_wellknown };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID20,
|
|
7
|
+
Service86,
|
|
8
|
+
node89
|
|
9
|
+
} from "./command-tdhae4mv.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info4,
|
|
18
|
+
Service: () => Service17,
|
|
19
|
+
UnavailableError: () => UnavailableError2,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer9,
|
|
22
|
+
node: () => node19
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info4 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service17 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer9 = Layer.effect(Service17, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service86;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID20.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer23 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError2({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer23 = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service17.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node19 = makeLocationNode({
|
|
72
|
+
service: Service17,
|
|
73
|
+
layer: layer9,
|
|
74
|
+
deps: [node89, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError2({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info4, UnavailableError2, Service17, layer9, node19, exports_usage_limits };
|