@opencode/core 0.0.0-dev-19337 → 0.0.0-dev-19340
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{credential-526v470z.js → command-058t7yf9.js} +2 -2
- package/dist/chunks/{credential-249nn8tn.js → command-06fs55ff.js} +21 -21
- package/dist/chunks/{credential-et95z6r9.js → command-071pgthj.js} +27 -27
- package/dist/chunks/{credential-0n3rk2gt.js → command-07am1m2n.js} +13 -13
- package/dist/chunks/{credential-151mpj9e.js → command-0arazqkx.js} +10 -10
- package/dist/chunks/{credential-0bnjtszc.js → command-0njkqfg3.js} +11 -11
- package/dist/chunks/{credential-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{credential-0q0f95c6.js → command-0q0f95c6.js} +1 -1
- package/dist/chunks/{credential-31dzdahz.js → command-16yyeh88.js} +3 -3
- package/dist/chunks/{credential-pc200wed.js → command-16zr1pr9.js} +11 -11
- package/dist/chunks/{credential-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{credential-1dfhrqqs.js → command-1dfhrqqs.js} +2 -2
- package/dist/chunks/{credential-79ygexg1.js → command-1hp1n8hq.js} +10 -10
- package/dist/chunks/{credential-3gfpy94r.js → command-1k8kk91w.js} +46 -46
- package/dist/chunks/{credential-j10vveh1.js → command-1tj6de83.js} +6 -6
- package/dist/chunks/{credential-1ygqh575.js → command-1ygqh575.js} +2 -2
- package/dist/chunks/{credential-p6d8qxhz.js → command-21pbdrht.js} +45 -45
- package/dist/chunks/{credential-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{credential-2nbt55tc.js → command-2336b01z.js} +8 -8
- package/dist/chunks/{credential-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{credential-v6pdazz0.js → command-289tsq5j.js} +34 -34
- package/dist/chunks/{credential-hhf650b6.js → command-290wsyyp.js} +20 -20
- package/dist/chunks/{credential-29x78va6.js → command-29x78va6.js} +2 -2
- package/dist/chunks/{credential-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{credential-dp84dkzj.js → command-2fptrwpm.js} +11 -11
- package/dist/chunks/{credential-nkz5kzvr.js → command-2gg4mvag.js} +16 -16
- package/dist/chunks/{credential-qz49fwgp.js → command-2jmaghvr.js} +6 -6
- package/dist/chunks/{credential-6kqsmg0b.js → command-2jr08de7.js} +23 -23
- package/dist/chunks/{credential-7dqw4kz8.js → command-2k8khapm.js} +5 -5
- package/dist/chunks/{credential-eere18dq.js → command-2r3qnbph.js} +5 -5
- package/dist/chunks/{credential-jj6pqn3w.js → command-2s62dw2x.js} +1 -1
- package/dist/chunks/{credential-4jmdj23e.js → command-352w66m8.js} +9 -9
- package/dist/chunks/{credential-9rdh6ewn.js → command-357er88r.js} +8 -8
- package/dist/chunks/{credential-j4m9dw8y.js → command-37wx6eva.js} +10 -10
- package/dist/chunks/{credential-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-tdw0q9zr.js → command-3hrzv0kt.js} +19 -19
- package/dist/chunks/{credential-bct739vz.js → command-3j8sdtpz.js} +4 -4
- package/dist/chunks/{credential-e1pb9r1r.js → command-3kp7n1bh.js} +25 -25
- package/dist/chunks/{credential-s2aq5fn4.js → command-3s259dc5.js} +7 -7
- package/dist/chunks/{credential-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-pjedbq3k.js → command-3wm7cf08.js} +6 -6
- package/dist/chunks/{credential-5gnvgr1s.js → command-3xgcdqsq.js} +35 -35
- package/dist/chunks/{credential-nhy5jxhy.js → command-47gsdddb.js} +5 -5
- package/dist/chunks/{credential-1j4x7018.js → command-4d14myfn.js} +33 -33
- package/dist/chunks/{credential-b0grxa7w.js → command-4drgpw32.js} +5 -5
- package/dist/chunks/{credential-ntdnj22e.js → command-4exj6bqr.js} +12 -12
- package/dist/chunks/{credential-22rswy7q.js → command-4tkmwwah.js} +7 -7
- package/dist/chunks/{credential-4rym0agr.js → command-4z9mtqyz.js} +11 -11
- package/dist/chunks/{credential-rxzbznts.js → command-4zy2mhr2.js} +26 -26
- package/dist/chunks/{credential-593yh7cm.js → command-556mt29y.js} +2 -2
- package/dist/chunks/{credential-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{credential-rgcx19v1.js → command-5gy68s7g.js} +21 -21
- package/dist/chunks/{credential-6gdcbxbt.js → command-5s59rewz.js} +5 -5
- package/dist/chunks/{credential-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{credential-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{credential-ja89yahs.js → command-68m404t8.js} +12 -12
- package/dist/chunks/{credential-trjjxkd4.js → command-68w7n5s5.js} +14 -14
- package/dist/chunks/{credential-4css7a44.js → command-6c7a0g9q.js} +13 -13
- package/dist/chunks/{credential-17qwwr3r.js → command-6hyh8d33.js} +13 -13
- package/dist/chunks/{credential-pnv527nz.js → command-6jnybvqn.js} +9 -9
- package/dist/chunks/{credential-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{credential-64kphnzf.js → command-6p3xbzsx.js} +4 -4
- package/dist/chunks/{credential-q19fwqr8.js → command-6sd8tygk.js} +4 -4
- package/dist/chunks/{credential-b5hymcep.js → command-70vxa6pp.js} +10 -10
- package/dist/chunks/{credential-71q4at8m.js → command-71q4at8m.js} +1 -1
- package/dist/chunks/{credential-n6avr4zf.js → command-71sxxhdq.js} +11 -11
- package/dist/chunks/{credential-a2ew8a62.js → command-73gmm198.js} +4 -4
- package/dist/chunks/{credential-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-mtft99cd.js → command-7gvwkz6m.js} +5 -5
- package/dist/chunks/{credential-98g7fywj.js → command-7zxy0r75.js} +11 -11
- package/dist/chunks/{credential-81swgkk7.js → command-81swgkk7.js} +2 -2
- package/dist/chunks/{credential-q26tgv94.js → command-844ef7ks.js} +8 -8
- package/dist/chunks/{credential-efhzxcq4.js → command-8560ytdy.js} +24 -24
- package/dist/chunks/{credential-dnba0na5.js → command-87s66tky.js} +8 -8
- package/dist/chunks/{credential-tcezcvh9.js → command-89znhe33.js} +4 -4
- package/dist/chunks/{credential-q5zfzp2a.js → command-8a43qwm6.js} +46 -46
- package/dist/chunks/{credential-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{credential-8483wvpx.js → command-8dpy7hpx.js} +7 -7
- package/dist/chunks/{credential-d94m8qs1.js → command-8em5q6v9.js} +12 -12
- package/dist/chunks/command-8jw9xxr7.js +22 -0
- package/dist/chunks/{credential-dj2t23y0.js → command-8p4f9s12.js} +2 -2
- package/dist/chunks/{credential-eg6kvm4e.js → command-8wkvwetv.js} +33 -33
- package/dist/chunks/{credential-73t188jy.js → command-8wsye86r.js} +8 -8
- package/dist/chunks/{credential-k8r06fnw.js → command-8xyemkvq.js} +3 -3
- package/dist/chunks/{credential-gg9d5pah.js → command-8zbbstcn.js} +16 -16
- package/dist/chunks/{credential-71qmvsg5.js → command-8zv2n1xn.js} +8 -8
- package/dist/chunks/{credential-wptwfzfm.js → command-9cctb9bg.js} +24 -24
- package/dist/chunks/{credential-b01ntp0y.js → command-9dwetznw.js} +287 -287
- package/dist/chunks/{credential-r50xb6dr.js → command-9v7bhpan.js} +11 -11
- package/dist/chunks/{credential-b9pe0b4x.js → command-9wrz99x9.js} +11 -11
- package/dist/chunks/{credential-5c4hm403.js → command-a1bz86dw.js} +3 -3
- package/dist/chunks/{credential-rxhbz9hr.js → command-a2fmrcfx.js} +4 -4
- package/dist/chunks/{credential-y8ztsxtk.js → command-a3vbp4x0.js} +9 -9
- package/dist/chunks/{credential-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{credential-rp0q961h.js → command-akqdjt52.js} +36 -36
- package/dist/chunks/{credential-2jhbac8t.js → command-atwtfknp.js} +21 -21
- package/dist/chunks/{credential-cqwj9awd.js → command-b06etp1z.js} +21 -21
- package/dist/chunks/{credential-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{credential-cbqmp7b7.js → command-baf8vqcb.js} +18 -18
- package/dist/chunks/{credential-hrj4tf28.js → command-bcm798z8.js} +3 -3
- package/dist/chunks/{credential-m4vn3qv8.js → command-bgcypqfq.js} +15 -15
- package/dist/chunks/{credential-3fh0rg45.js → command-bnm0713s.js} +11 -11
- package/dist/chunks/{credential-rc4v7jdw.js → command-bx97mp2c.js} +3 -3
- package/dist/chunks/{credential-55r4thj5.js → command-by885ras.js} +4 -4
- package/dist/chunks/{credential-j9cg0esf.js → command-ca8kgyjt.js} +78 -78
- package/dist/chunks/{credential-m0jqrx5p.js → command-cfpkc3c9.js} +2 -2
- package/dist/chunks/{credential-w27d4nw8.js → command-cgpqyknh.js} +28 -28
- package/dist/chunks/{credential-2tfmgkzg.js → command-cq37gk0t.js} +4 -4
- package/dist/chunks/{credential-mhayska3.js → command-cqq77scw.js} +6 -6
- package/dist/chunks/{credential-y91nxhfn.js → command-cy0caesz.js} +16 -16
- package/dist/chunks/{credential-z3pw5915.js → command-d87ppnb3.js} +5 -5
- package/dist/chunks/{credential-gb35scn0.js → command-dq5erfj9.js} +17 -17
- package/dist/chunks/{credential-5cnp842v.js → command-dt3kpdt2.js} +11 -11
- package/dist/chunks/{credential-ac32kc2r.js → command-dv5md250.js} +15 -15
- package/dist/chunks/{credential-bawspjyh.js → command-e81phd5e.js} +13 -13
- package/dist/chunks/{credential-npsw1jjn.js → command-ee0v75zs.js} +15 -15
- package/dist/chunks/{credential-1bbkgx8g.js → command-eq1pz5kg.js} +3 -3
- package/dist/chunks/{credential-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{credential-2tw57gz0.js → command-ewq934af.js} +9 -9
- package/dist/chunks/{credential-qmthdazp.js → command-ezxzkja2.js} +15 -15
- package/dist/chunks/{credential-qdykr49y.js → command-f1endfdf.js} +13 -13
- package/dist/chunks/{credential-enygcmwv.js → command-f405q49x.js} +14 -14
- package/dist/chunks/{credential-hdnk95c8.js → command-f828m53h.js} +2 -2
- package/dist/chunks/{credential-ahcp8nkf.js → command-ffd8yj9h.js} +3 -3
- package/dist/chunks/{credential-gh3h736b.js → command-fhh9803e.js} +11 -11
- package/dist/chunks/{credential-jxzmtya1.js → command-fhq6reqx.js} +26 -26
- package/dist/chunks/{credential-96h9wr4f.js → command-fq2b9r6y.js} +17 -17
- package/dist/chunks/{credential-a2tdmfa4.js → command-frdrseff.js} +27 -27
- package/dist/chunks/{credential-h1z6jwhd.js → command-ftt3rafc.js} +23 -23
- package/dist/chunks/{credential-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{credential-fyjrpq2n.js → command-fyjrpq2n.js} +3 -3
- package/dist/chunks/{credential-gp1yc2vx.js → command-g48a3zmh.js} +12 -12
- package/dist/chunks/{credential-5e20nh0k.js → command-gcgba2m6.js} +14 -14
- package/dist/chunks/{credential-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-3fc6dm20.js → command-gdvy8fx6.js} +4 -4
- package/dist/chunks/{credential-b8s54zd1.js → command-gfdt0few.js} +11 -11
- package/dist/chunks/command-gnc7c7rw.js +247 -0
- package/dist/chunks/{credential-x0srfm87.js → command-grw52wr5.js} +15 -15
- package/dist/chunks/{credential-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
- package/dist/chunks/{credential-h03wrkyp.js → command-h03wrkyp.js} +2 -2
- package/dist/chunks/{credential-w8gzpttc.js → command-h17eanzf.js} +23 -23
- package/dist/chunks/{credential-w09rpk5j.js → command-h29crgh1.js} +7 -7
- package/dist/chunks/{credential-e8184ah6.js → command-h336fp6c.js} +143 -143
- package/dist/chunks/{credential-gf4qtxm6.js → command-h457z9c3.js} +1 -1
- package/dist/chunks/{credential-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-wvhct48y.js → command-hc7b2h00.js} +24 -24
- package/dist/chunks/{credential-fbp1d1k7.js → command-hdx86dvw.js} +20 -20
- package/dist/chunks/{credential-exydcs1h.js → command-hjcy75b0.js} +15 -15
- package/dist/chunks/{credential-98408z27.js → command-hmv863ha.js} +30 -30
- package/dist/chunks/{credential-r4k4q95n.js → command-hn16n4ga.js} +43 -43
- package/dist/chunks/{credential-c3xdpmrh.js → command-hpr7c3g9.js} +8 -8
- package/dist/chunks/{credential-ahymmsbp.js → command-hrstj3y9.js} +14 -14
- package/dist/chunks/{credential-ghk9cxjs.js → command-hwe7x4em.js} +6 -6
- package/dist/chunks/{credential-g3nd3rk8.js → command-hzdjxxhj.js} +20 -20
- package/dist/chunks/{credential-yww5gzhe.js → command-j4e3jsg7.js} +5 -5
- package/dist/chunks/{credential-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{credential-1adagaa7.js → command-j91vykf4.js} +26 -26
- package/dist/chunks/{credential-z6rkfk30.js → command-jdfx4b8y.js} +15 -15
- package/dist/chunks/{credential-jefma2gq.js → command-jefma2gq.js} +3 -3
- package/dist/chunks/{credential-ddtk0mvx.js → command-jp4vwsmq.js} +10 -10
- package/dist/chunks/{credential-kk00bynn.js → command-jr3tywxk.js} +4 -4
- package/dist/chunks/{credential-hcz3zddy.js → command-jv01nqvq.js} +5 -5
- package/dist/chunks/{credential-0996nyz8.js → command-jwx4y25k.js} +5 -5
- package/dist/chunks/{credential-w7cj9ekx.js → command-kf5543nd.js} +4 -4
- package/dist/chunks/{credential-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/{credential-gx1zhcta.js → command-kjcr15p7.js} +1 -1
- package/dist/chunks/{credential-jx42jpcz.js → command-kv4yc82c.js} +11 -11
- package/dist/chunks/{credential-xzr3fv1j.js → command-kwktpek4.js} +6 -6
- package/dist/chunks/{credential-vqh4gwbt.js → command-m4bcmcjq.js} +29 -29
- package/dist/chunks/{credential-3gfv59ch.js → command-m5zyy4tv.js} +12 -12
- package/dist/chunks/{credential-ng5shs3s.js → command-m9g7kjz2.js} +1 -1
- package/dist/chunks/{credential-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-nc3q5shn.js → command-mbznh4s6.js} +79 -79
- package/dist/chunks/{credential-9a1bzkpj.js → command-mgkcxgp8.js} +11 -11
- package/dist/chunks/{credential-mkcjrzeh.js → command-mkcjrzeh.js} +1 -1
- package/dist/chunks/{credential-gj6dbvth.js → command-mpn2n5n1.js} +8 -8
- package/dist/chunks/{credential-jh4fk4tf.js → command-mrn52ye8.js} +16 -16
- package/dist/chunks/{credential-vgcq2s3r.js → command-mvqfncgj.js} +10 -10
- package/dist/chunks/{credential-mkw2wvv0.js → command-my9h9hzg.js} +17 -17
- package/dist/chunks/{credential-m1gz7xkc.js → command-n0j6r25c.js} +22 -22
- package/dist/chunks/{credential-89spjjbp.js → command-n5wndhd6.js} +25 -25
- package/dist/chunks/{credential-z8awfy9p.js → command-ncaz8497.js} +11 -11
- package/dist/chunks/{credential-cb5dpwd3.js → command-ndhysefr.js} +31 -31
- package/dist/chunks/{credential-6dtevzgb.js → command-neeqahzq.js} +59 -59
- package/dist/chunks/{credential-6ee1nj74.js → command-nq63wmfx.js} +7 -7
- package/dist/chunks/{credential-vsa2623n.js → command-nrpht070.js} +26 -26
- package/dist/chunks/{credential-3k31r9j9.js → command-nvnfwph8.js} +11 -11
- package/dist/chunks/{credential-p0sx4xrp.js → command-p34q75r1.js} +38 -38
- package/dist/chunks/{credential-vyje1mnf.js → command-p5gbrdgq.js} +17 -17
- package/dist/chunks/{credential-vr2q3kmy.js → command-phjaars8.js} +6 -6
- package/dist/chunks/{credential-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{credential-rhhgd1jt.js → command-q30tygxd.js} +2 -2
- package/dist/chunks/{credential-vyqtz9n7.js → command-qd417my5.js} +1 -1
- package/dist/chunks/{credential-nahk2kxe.js → command-qqd26nq6.js} +24 -24
- package/dist/chunks/{credential-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-7jdsj2a9.js → command-qsee9sfb.js} +3 -3
- package/dist/chunks/{credential-j1etvyav.js → command-qtsr48c5.js} +6 -6
- package/dist/chunks/{credential-eckjfj34.js → command-qwch66v3.js} +6 -6
- package/dist/chunks/{credential-f0yr6nyc.js → command-qymwj187.js} +22 -22
- package/dist/chunks/{credential-2998kf83.js → command-r54ga04y.js} +48 -48
- package/dist/chunks/{credential-w2q9x1k3.js → command-ra3qct3x.js} +7 -7
- package/dist/chunks/{credential-rap9a73h.js → command-rap9a73h.js} +1 -1
- package/dist/chunks/{credential-5hrkz7py.js → command-redwpn1x.js} +4 -4
- package/dist/chunks/{credential-dyhhrnbz.js → command-remxzp3g.js} +8 -8
- package/dist/chunks/{credential-1b5rdxkb.js → command-rgach609.js} +11 -11
- package/dist/chunks/{credential-eaj1djv9.js → command-rhjbct0v.js} +8 -8
- package/dist/chunks/{credential-3x4a4zpr.js → command-rhy34gnx.js} +6 -6
- package/dist/chunks/{credential-stb366ab.js → command-rj8d4vx7.js} +17 -17
- package/dist/chunks/{credential-5w5ha1nc.js → command-rqdgyf5f.js} +7 -7
- package/dist/chunks/{credential-t5pp6k6z.js → command-rr7cvzdb.js} +4 -4
- package/dist/chunks/{credential-2a29v3a8.js → command-s2kyekkn.js} +25 -25
- package/dist/chunks/{credential-s4enseaf.js → command-s4enseaf.js} +2 -2
- package/dist/chunks/{credential-jvmxcf50.js → command-s4szbmdb.js} +9 -9
- package/dist/chunks/{credential-hyj2vz80.js → command-s534qmrw.js} +4 -4
- package/dist/chunks/{credential-6qw5vjfk.js → command-s7kwm6zm.js} +5 -5
- package/dist/chunks/{credential-10es6fvg.js → command-scgtce1m.js} +2 -2
- package/dist/chunks/{credential-b1jm75xs.js → command-sjajpaqc.js} +11 -11
- package/dist/chunks/{credential-wrxgasq3.js → command-smsvd5z8.js} +17 -17
- package/dist/chunks/{credential-wfr0f2wv.js → command-snjca2tz.js} +40 -40
- package/dist/chunks/{credential-1hanh0e3.js → command-st3pa4gm.js} +25 -25
- package/dist/chunks/{credential-w031r0ta.js → command-swx6zjdy.js} +11 -11
- package/dist/chunks/{credential-a5gt7g2r.js → command-t0x5rdq8.js} +9 -9
- package/dist/chunks/{credential-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-qdmm088d.js → command-tb5310gf.js} +24 -24
- package/dist/chunks/{credential-rnwa6k7x.js → command-tbwa9y7t.js} +4 -4
- package/dist/chunks/{credential-st0tfbhf.js → command-tdmnc99b.js} +8 -8
- package/dist/chunks/{credential-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{credential-6va5e0hk.js → command-tk55yp24.js} +21 -21
- package/dist/chunks/{credential-fw4rsm43.js → command-tkbkgwhn.js} +22 -22
- package/dist/chunks/{credential-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{credential-qzteyjp0.js → command-v9g8grrj.js} +11 -11
- package/dist/chunks/{credential-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-egqpk7m0.js → command-vhs5mz75.js} +10 -10
- package/dist/chunks/{credential-8meg8dre.js → command-vptj8nd7.js} +9 -9
- package/dist/chunks/{credential-wnbzzbw2.js → command-vqanb4pf.js} +7 -7
- package/dist/chunks/{credential-w4enfkwp.js → command-vqfcvgsz.js} +22 -22
- package/dist/chunks/{credential-e4bvg1nj.js → command-vr9ffpmn.js} +20 -20
- package/dist/chunks/{credential-fr2qe1q3.js → command-vxkr754a.js} +6 -6
- package/dist/chunks/{credential-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{credential-9p3b3m98.js → command-vzrnynxw.js} +4 -4
- package/dist/chunks/{credential-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-nhvhf6q8.js → command-wa9n8nyq.js} +4 -4
- package/dist/chunks/{credential-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{credential-z2qvtray.js → command-wpm2rk0p.js} +6 -6
- package/dist/chunks/{credential-2566302p.js → command-wsjnvgbx.js} +7 -7
- package/dist/chunks/{credential-h74ge2a2.js → command-wstvv1gd.js} +8 -8
- package/dist/chunks/{credential-shh6fz4q.js → command-x0511brf.js} +4 -4
- package/dist/chunks/{credential-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{credential-x43y2vfs.js → command-x43y2vfs.js} +2 -2
- package/dist/chunks/{credential-0y6fnfyn.js → command-x8ya09y2.js} +13 -13
- package/dist/chunks/{credential-6jrdwt83.js → command-xfjwmp6z.js} +4 -4
- package/dist/chunks/{credential-abkdt1xb.js → command-xfxn6gek.js} +1 -1
- package/dist/chunks/{credential-mx65tve6.js → command-xgm06qps.js} +27 -27
- package/dist/chunks/{credential-g7hryrp6.js → command-xq4rgyah.js} +16 -16
- package/dist/chunks/{credential-28prswrc.js → command-xra6sk40.js} +6 -6
- package/dist/chunks/{credential-40wszbrc.js → command-xtcj8k9r.js} +41 -41
- package/dist/chunks/{credential-h32nz7rm.js → command-xw8fym13.js} +22 -22
- package/dist/chunks/{credential-7y8s6rgk.js → command-xwe3tfkg.js} +32 -32
- package/dist/chunks/{credential-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-mj233eqc.js → command-y45y5km7.js} +2 -2
- package/dist/chunks/{credential-0pyqcms3.js → command-y49qrr0k.js} +1 -1
- package/dist/chunks/{credential-y71avatq.js → command-y71avatq.js} +1 -1
- package/dist/chunks/{credential-p71dzhbg.js → command-ycyqxyvr.js} +7 -7
- package/dist/chunks/{credential-dqv7d9mx.js → command-yd8re12n.js} +18 -18
- package/dist/chunks/{credential-yjc83x66.js → command-yjdkc533.js} +22 -22
- package/dist/chunks/{credential-1acjjqhc.js → command-yp2x3t23.js} +4 -4
- package/dist/chunks/{credential-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{credential-p7m6avpa.js → command-ywj00zs4.js} +35 -35
- package/dist/chunks/{credential-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-cd4mc13g.js → command-z33n7yxw.js} +1 -1
- package/dist/chunks/{credential-h4rz3t7g.js → command-z5pdw36g.js} +34 -34
- package/dist/chunks/{credential-pn0ve21a.js → command-zbb6rgvj.js} +6 -6
- package/dist/chunks/{credential-tz4n1mmd.js → command-zcrspsvn.js} +4 -4
- package/dist/chunks/{credential-zeh9ct20.js → command-zeh9ct20.js} +2 -2
- package/dist/chunks/{credential-t0vv7hjv.js → command-zgq1tywg.js} +39 -39
- package/dist/chunks/{credential-zrrbqdrq.js → command-zpwwzgp1.js} +29 -29
- package/dist/chunks/{credential-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +112 -112
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +85 -85
- package/dist/git.js +3 -3
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +127 -127
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +3 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +215 -215
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +100 -100
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +85 -85
- package/package.json +8 -8
- package/dist/chunks/credential-bqchtq7z.js +0 -247
- package/dist/chunks/credential-jrj2y5pk.js +0 -22
- /package/dist/chunks/{credential-0mesazry.js → command-0mesazry.js} +0 -0
- /package/dist/chunks/{credential-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-hrnqkpcd.js → command-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-j935v87r.js → command-j935v87r.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-6sd8tygk.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-y45y5km7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service74,
|
|
11
|
+
node78
|
|
12
|
+
} from "./command-atwtfknp.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service39,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node43
|
|
20
|
+
} from "./command-dq5erfj9.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
Service63,
|
|
23
23
|
node67
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-ra3qct3x.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service37,
|
|
27
|
+
node41
|
|
28
|
+
} from "./command-8wsye86r.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-qsee9sfb.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service65,
|
|
35
|
+
node69
|
|
36
|
+
} from "./command-p34q75r1.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./command-g48a3zmh.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./command-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service36,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node40
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service36 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service36, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service79;
|
|
91
91
|
const location = yield* Service76;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service39;
|
|
94
|
+
const environment = yield* Service74;
|
|
95
|
+
const hooks = yield* Service63;
|
|
96
|
+
const environments = yield* Service37;
|
|
97
|
+
const config = yield* Service65;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service36.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node40 = makeLocationNode({
|
|
320
|
+
service: Service36,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node84,
|
|
324
324
|
node81,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
node43,
|
|
327
|
+
node78,
|
|
328
328
|
node67,
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
node41,
|
|
330
|
+
node69,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service36, cleanup2, node40, exports_shell4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-rhjbct0v.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID5,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service48,
|
|
13
|
+
node51
|
|
14
|
+
} from "./command-9cctb9bg.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions4 = {};
|
|
21
|
+
__export(exports_instructions4, {
|
|
22
|
+
Service: () => Service34,
|
|
23
|
+
SkillInstructions: () => exports_instructions4,
|
|
24
|
+
node: () => node38
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID5,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,18 +60,18 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service34 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service48;
|
|
67
|
+
return Service34.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
74
|
-
key:
|
|
73
|
+
return make20({
|
|
74
|
+
key: Key3.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
77
77
|
render: {
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node38 = makeLocationNode({ service: Service34, layer, deps: [node51] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service34, node38, exports_instructions4 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./command-atwtfknp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-6c7a0g9q.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service22
|
|
11
|
+
} from "./command-v9g8grrj.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service60
|
|
14
|
+
} from "./command-snjca2tz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service15
|
|
17
|
+
} from "./command-grw52wr5.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input6,
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin37,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name6,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name6 = "write";
|
|
39
|
+
var Input6 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin37 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service15;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service74;
|
|
58
|
+
const formatter = yield* Service22;
|
|
59
|
+
const permission = yield* Service60;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name6,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input6,
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name6, Input6, Output4, toModelContent3, Plugin37, exports_write };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-6sd8tygk.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
@@ -13,8 +13,8 @@ __export(exports_sdk, {
|
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
14
|
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer5,
|
|
17
|
+
node: () => node6
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -22,7 +22,7 @@ var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
|
22
22
|
|
|
23
23
|
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
@@ -33,6 +33,6 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node6 = makeGlobalNode({ service: Service3, layer: layer5, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2, Service3,
|
|
38
|
+
export { Updated2, Service3, layer5, node6, exports_sdk };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-6sd8tygk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node73
|
|
9
|
+
} from "./command-37wx6eva.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: () => Event17,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node71,
|
|
26
26
|
resolve: () => resolve3
|
|
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 Service67 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event17 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service69;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event17.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service67.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event17.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event17.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [httpClient, node73, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service67, Event17, inspect2, resolve3, node71, exports_wellknown };
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
4
|
Info29
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-vzrnynxw.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info28
|
|
8
|
+
} from "./command-70vxa6pp.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-6sd8tygk.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID6,
|
|
18
|
+
Service55,
|
|
19
|
+
node58
|
|
20
|
+
} from "./command-cgpqyknh.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
|
+
Service: () => Service54,
|
|
31
|
+
node: () => node57
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event8 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service54 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service55;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -95,7 +95,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
95
95
|
};
|
|
96
96
|
editor.providers.set(providerID, record);
|
|
97
97
|
}
|
|
98
|
-
const model = record.models.get(modelID) ??
|
|
98
|
+
const model = record.models.get(modelID) ?? Info28.default(providerID, modelID);
|
|
99
99
|
if (!record.models.has(modelID))
|
|
100
100
|
record.models.set(modelID, model);
|
|
101
101
|
fn(model);
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
129
129
|
}),
|
|
130
130
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
131
131
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
132
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
132
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID6.make(provider.id))));
|
|
133
133
|
})
|
|
134
134
|
},
|
|
135
135
|
model: {
|
|
@@ -184,9 +184,9 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
184
184
|
})
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
|
-
return
|
|
187
|
+
return Service54.of(result);
|
|
188
188
|
}));
|
|
189
189
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
190
|
-
var
|
|
190
|
+
var node57 = makeLocationNode({ service: Service54, layer, deps: [node84, node58] });
|
|
191
191
|
|
|
192
|
-
export {
|
|
192
|
+
export { Service54, node57, exports_catalog2, Event8 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|