@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
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./command-atwtfknp.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service73,
|
|
24
|
+
node: () => node77
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service73 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service74;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service73.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [node78, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export { Error4, InvalidPatternError2,
|
|
179
|
+
export { Error4, InvalidPatternError2, Service73, node77, exports_ripgrep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-16yyeh88.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-bx97mp2c.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./command-rj8d4vx7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service23
|
|
6
|
+
} from "./command-mbznh4s6.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service23;
|
|
24
|
+
const jobs = yield* Service51;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-6sd8tygk.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-jefma2gq.js";
|
|
9
9
|
import {
|
|
10
10
|
Service76,
|
|
11
11
|
node81
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-y45y5km7.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-rap9a73h.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service66,
|
|
18
|
+
node70
|
|
19
|
+
} from "./command-tkbkgwhn.js";
|
|
20
20
|
import {
|
|
21
21
|
node19
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-9wrz99x9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node15
|
|
26
|
+
} from "./command-t0x5rdq8.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service11,
|
|
36
|
+
node: () => node14
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service76;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service66;
|
|
48
48
|
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service78;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service11.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node14 = makeLocationNode({
|
|
106
|
+
service: Service11,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node70, FSUtil.node, node81, node83, node84, node19, node15]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service11, node14, exports_location_watcher2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-ffd8yj9h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-a1bz86dw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service32,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node37,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service32 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make20({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service32.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node37 = makeLocationNode({ service: Service32, layer, deps: [node85] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node37, exports_instruction_entry };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./command-4zy2mhr2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./command-snjca2tz.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service21
|
|
14
|
+
} from "./command-8zbbstcn.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input10,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin41,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name10 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input10 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin41 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service60;
|
|
53
|
+
const forms = yield* Service56;
|
|
54
|
+
const websearch = yield* Service21;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name10,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input10,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name10,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name10];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name10, NO_RESULTS2, description4, Input10, Plugin41, exports_websearch2 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-x43y2vfs.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service47,
|
|
17
|
+
node50
|
|
18
|
+
} from "./command-352w66m8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
Service63,
|
|
21
21
|
node67
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-ra3qct3x.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content2,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service46,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node49
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content2, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service46 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service63;
|
|
58
|
+
const image = yield* Service47;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service46.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -262,10 +262,10 @@ function namespaceError(name) {
|
|
|
262
262
|
return;
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
265
|
+
var node49 = makeLocationNode({
|
|
266
|
+
service: Service46,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [node67,
|
|
268
|
+
deps: [node67, node50]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service46, node49, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-jefma2gq.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service38,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node42
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service38 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service38.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node42 = makeLocationNode({
|
|
143
|
+
service: Service38,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service38, node42, exports_tool_output2 };
|