@opencode/core 0.0.0-dev-19579 → 0.0.0-dev-19580
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{form-10ynt1h5.js → project-00m1bynd.js} +23 -23
- package/dist/chunks/{form-055h4mnd.js → project-02rqmf8t.js} +7 -7
- package/dist/chunks/{form-wn0tjn2g.js → project-05aka3vz.js} +10 -10
- package/dist/chunks/{form-6byvmcg7.js → project-06drn7px.js} +27 -27
- package/dist/chunks/{form-rcjb3hxv.js → project-0968p0hh.js} +24 -24
- package/dist/chunks/{form-xv4vzzz6.js → project-09rx7y80.js} +19 -19
- package/dist/chunks/{form-2k8khapm.js → project-0jwsre1p.js} +5 -5
- package/dist/chunks/{form-bpjnc74n.js → project-0nbqqzve.js} +32 -32
- package/dist/chunks/{form-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-0q0f95c6.js → project-0q0f95c6.js} +1 -1
- package/dist/chunks/{form-bm1s3069.js → project-0qbfsv0x.js} +4 -4
- package/dist/chunks/{form-e74942tb.js → project-0zepd8pr.js} +15 -15
- package/dist/chunks/{form-c90hj8gh.js → project-14q26hv8.js} +6 -6
- package/dist/chunks/{form-11myjmvz.js → project-15kwn1dn.js} +9 -9
- package/dist/chunks/{form-yp2x3t23.js → project-1acjjqhc.js} +4 -4
- package/dist/chunks/{form-ntznpfwc.js → project-1ay21w3q.js} +41 -41
- package/dist/chunks/{form-fkrhk1yf.js → project-1b1wd996.js} +32 -32
- package/dist/chunks/{form-c0gy5km3.js → project-1bfsfmvc.js} +6 -6
- package/dist/chunks/{form-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-n1x5wxj8.js → project-1jyg2s8d.js} +26 -26
- package/dist/chunks/{form-xcs4r9b9.js → project-1qv9f1q5.js} +9 -9
- package/dist/chunks/{form-4ntvxm1s.js → project-1xddca5p.js} +5 -5
- package/dist/chunks/{form-t82d6hjp.js → project-20pdxw1w.js} +14 -14
- package/dist/chunks/{form-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{form-6h73sxmp.js → project-2402vzrj.js} +5 -5
- package/dist/chunks/{form-z63w68vq.js → project-29x78va6.js} +6 -6
- package/dist/chunks/{form-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-x0e6qwje.js → project-2syw43ez.js} +16 -16
- package/dist/chunks/{form-534t03c2.js → project-2xt6qnfn.js} +15 -15
- package/dist/chunks/{form-x8sv5g7y.js → project-30xc5vh3.js} +9 -9
- package/dist/chunks/{form-fm2qvscf.js → project-34rkz0x9.js} +5 -5
- package/dist/chunks/{form-1ff0effc.js → project-34ytdzas.js} +1 -1
- package/dist/chunks/{form-xm6ck93a.js → project-38321pkp.js} +19 -19
- package/dist/chunks/{form-a70ftxcy.js → project-3dbps2r6.js} +9 -9
- package/dist/chunks/{form-w1xzjbfc.js → project-3drwmh02.js} +27 -27
- package/dist/chunks/{form-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-nb8hcmkq.js → project-3ht98g72.js} +10 -10
- package/dist/chunks/{form-j10454sr.js → project-3sd6p3s1.js} +32 -32
- package/dist/chunks/{form-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-jg0d4mdm.js → project-3xjhp2te.js} +9 -9
- package/dist/chunks/project-3z9nfnkh.js +26 -0
- package/dist/chunks/{form-fdtqxjqf.js → project-41zvmsa4.js} +15 -15
- package/dist/chunks/project-465grwan.js +247 -0
- package/dist/chunks/{form-8dx337tp.js → project-488yvfzv.js} +30 -30
- package/dist/chunks/{form-x5xbzaa3.js → project-4bsx23h2.js} +12 -12
- package/dist/chunks/{form-q77t93j3.js → project-4fmbyqx8.js} +6 -6
- package/dist/chunks/{form-z31g4fd5.js → project-4gdq9s16.js} +43 -43
- package/dist/chunks/{form-wtzp478w.js → project-4pkczepw.js} +11 -11
- package/dist/chunks/{form-8y1r9423.js → project-4rmwe7sz.js} +6 -6
- package/dist/chunks/{form-46dv5p65.js → project-50pxy8en.js} +13 -13
- package/dist/chunks/{form-t8a3bn55.js → project-5525jcaq.js} +54 -54
- package/dist/chunks/{form-950320p1.js → project-5584g16y.js} +20 -20
- package/dist/chunks/{form-56gdpj1q.js → project-56gdpj1q.js} +2 -2
- package/dist/chunks/{form-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{form-6gwebs4h.js → project-5f6cf6rs.js} +20 -20
- package/dist/chunks/{form-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-p3bcj275.js → project-5t8ee1mf.js} +13 -13
- package/dist/chunks/{form-j6m5np4d.js → project-5vnwr7cj.js} +4 -4
- package/dist/chunks/{form-wmnxc830.js → project-63xctefh.js} +6 -6
- package/dist/chunks/{form-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{form-a7ytq3d6.js → project-6bf77ebh.js} +5 -5
- package/dist/chunks/{form-s0w6xev2.js → project-6fnapfer.js} +16 -16
- package/dist/chunks/{form-84hmmsmt.js → project-6h2zyr42.js} +8 -8
- package/dist/chunks/{form-hx9rn9d5.js → project-6k4zext7.js} +26 -26
- package/dist/chunks/{form-g4h4g9a5.js → project-6kbme1d4.js} +15 -15
- package/dist/chunks/{form-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{form-nw13281a.js → project-6q44kjsg.js} +11 -11
- package/dist/chunks/project-6r3amyyd.js +4 -0
- package/dist/chunks/{form-bwmmvwpj.js → project-6vebfzen.js} +11 -11
- package/dist/chunks/{form-b91mn11g.js → project-6wk9kj5f.js} +14 -14
- package/dist/chunks/{form-dfzjqex4.js → project-70y17xeh.js} +5 -5
- package/dist/chunks/{form-71q4at8m.js → project-71q4at8m.js} +1 -1
- package/dist/chunks/{form-2y1qhgm0.js → project-74w919ya.js} +24 -24
- package/dist/chunks/{form-tkqggtee.js → project-75s2ffw4.js} +20 -20
- package/dist/chunks/{form-0hdj05wv.js → project-76q5ez2f.js} +11 -11
- package/dist/chunks/{form-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-d2aac7k2.js → project-7gvwkz6m.js} +5 -5
- package/dist/chunks/{form-bfz2wy86.js → project-7ss0shf9.js} +8 -8
- package/dist/chunks/{form-ndqtf2h8.js → project-7w3s9kd0.js} +6 -6
- package/dist/chunks/{form-j7wq2tw5.js → project-7w99qc9d.js} +3 -3
- package/dist/chunks/{form-81swgkk7.js → project-81swgkk7.js} +2 -2
- package/dist/chunks/{form-vhmnsspb.js → project-86yhh05e.js} +50 -50
- package/dist/chunks/{form-w1k39n5e.js → project-88sz8qcd.js} +4 -4
- package/dist/chunks/{form-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-s9pykxaw.js → project-8ezz06rp.js} +9 -9
- package/dist/chunks/{form-raec4cfz.js → project-8f9zc16p.js} +12 -12
- package/dist/chunks/{form-hcc73bfp.js → project-8ke57jkr.js} +7 -7
- package/dist/chunks/{form-dj2t23y0.js → project-8p4f9s12.js} +2 -2
- package/dist/chunks/{form-q76hhjq3.js → project-8rc81fnj.js} +24 -24
- package/dist/chunks/{form-24vd9xje.js → project-90npfath.js} +8 -8
- package/dist/chunks/{form-y3e2hzgf.js → project-95a4nxen.js} +18 -18
- package/dist/chunks/{form-vnsejen8.js → project-9cpd9pem.js} +8 -8
- package/dist/chunks/{form-fgx0j8wy.js → project-9gykdhyz.js} +24 -24
- package/dist/chunks/{form-98vnk7qm.js → project-9k66nb05.js} +38 -38
- package/dist/chunks/{form-5c4hm403.js → project-a1bz86dw.js} +3 -3
- package/dist/chunks/{form-qpfg8bns.js → project-a6z0knwv.js} +27 -27
- package/dist/chunks/{form-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{form-25y9ayt4.js → project-abnh96pj.js} +11 -11
- package/dist/chunks/{form-z3pw5915.js → project-ag9w8cw1.js} +5 -5
- package/dist/chunks/{form-65z534qn.js → project-ajyrkhem.js} +11 -11
- package/dist/chunks/{form-wnbmemrg.js → project-atm1r3yj.js} +13 -13
- package/dist/chunks/{form-en7gpa1e.js → project-axvf9zqs.js} +8 -8
- package/dist/chunks/{form-04tk5mmt.js → project-axwkvar1.js} +20 -20
- package/dist/chunks/{form-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-wb5drhdh.js → project-b9ge025n.js} +4 -4
- package/dist/chunks/{form-gnx4ytbv.js → project-bajakh74.js} +4 -4
- package/dist/chunks/{form-4nan19nd.js → project-bcpg47zn.js} +7 -7
- package/dist/chunks/{form-0v53mg2y.js → project-bct739vz.js} +4 -4
- package/dist/chunks/{form-1vr0zdnx.js → project-bjmdedkt.js} +9 -9
- package/dist/chunks/{form-hdqqk1vd.js → project-bjsjea9y.js} +18 -18
- package/dist/chunks/{form-21gwcqqh.js → project-bqf954qd.js} +18 -18
- package/dist/chunks/{form-y4gz4htj.js → project-bt43cm3g.js} +4 -4
- package/dist/chunks/{form-5514jwe9.js → project-bx0bpgrb.js} +26 -26
- package/dist/chunks/{form-jva4mgym.js → project-c5gn303e.js} +4 -4
- package/dist/chunks/{form-fe9gw4d2.js → project-c7vry4z3.js} +33 -33
- package/dist/chunks/{form-m0jqrx5p.js → project-cfpkc3c9.js} +2 -2
- package/dist/chunks/{form-2ns1f0yc.js → project-cmyn6vk5.js} +32 -32
- package/dist/chunks/{form-pq6x3deh.js → project-cnhmn6x8.js} +165 -165
- package/dist/chunks/{form-tpw6cwsb.js → project-cxv3b682.js} +8 -8
- package/dist/chunks/{form-eraanh1f.js → project-da6kr1wx.js} +6 -6
- package/dist/chunks/{form-szd1nzgf.js → project-dk1gkaxb.js} +25 -25
- package/dist/chunks/{form-bppreckh.js → project-dp9kd0g8.js} +11 -11
- package/dist/chunks/{form-r4crfyhm.js → project-dqz5g3wr.js} +20 -20
- package/dist/chunks/{form-fvw5gb9z.js → project-drwvp74x.js} +6 -6
- package/dist/chunks/{form-5tr8dvhg.js → project-dzccjpex.js} +4 -4
- package/dist/chunks/{form-7zgmv3d0.js → project-dzgj1nss.js} +47 -47
- package/dist/chunks/{form-bndc73cn.js → project-e5nv3ght.js} +5 -5
- package/dist/chunks/{form-f4vwxjec.js → project-e86nekyr.js} +8 -8
- package/dist/chunks/{form-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-97xtfh9v.js → project-enhjh6fs.js} +18 -18
- package/dist/chunks/{form-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-52dmf901.js → project-ez6ac52v.js} +13 -13
- package/dist/chunks/{form-jrh4h7b1.js → project-f2qf85jg.js} +3 -3
- package/dist/chunks/{form-h5cfkvzn.js → project-f491hdxz.js} +17 -17
- package/dist/chunks/{form-xpb882n5.js → project-f4e59c7c.js} +30 -30
- package/dist/chunks/{form-hdnk95c8.js → project-f828m53h.js} +2 -2
- package/dist/chunks/{form-m515h74k.js → project-fcvjwfx6.js} +4 -4
- package/dist/chunks/{form-721s8qah.js → project-fkn6p80h.js} +3 -3
- package/dist/chunks/{form-qntdvq9j.js → project-fs6bp36w.js} +5 -5
- package/dist/chunks/{form-zrhjfbn0.js → project-fv9vnjc8.js} +11 -11
- package/dist/chunks/{form-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
- package/dist/chunks/{form-qynpn6w3.js → project-g47eftgs.js} +9 -9
- package/dist/chunks/{form-wq47cn3q.js → project-g500fjm7.js} +1 -1
- package/dist/chunks/{form-4jk0qxj4.js → project-g7mrm2xv.js} +8 -8
- package/dist/chunks/{form-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{form-t6nyzhp3.js → project-gy4p1xkh.js} +1 -1
- package/dist/chunks/{form-jmezxmf7.js → project-gzetp00y.js} +2 -2
- package/dist/chunks/{form-h03wrkyp.js → project-h03wrkyp.js} +2 -2
- package/dist/chunks/{form-ymgtrn6d.js → project-h62cg3tw.js} +29 -29
- package/dist/chunks/{form-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-pnv527nz.js → project-h7ygw6q4.js} +9 -9
- package/dist/chunks/{form-sh5yaj5r.js → project-hdvcakz8.js} +291 -291
- package/dist/chunks/{form-5fw77hhz.js → project-hjhmn98m.js} +6 -6
- package/dist/chunks/{form-nhy5jxhy.js → project-hjt4xg1x.js} +4 -4
- package/dist/chunks/{form-mk5c6pca.js → project-hy1g3bgf.js} +1 -1
- package/dist/chunks/{form-23pqda6t.js → project-j15mfg1p.js} +6 -6
- package/dist/chunks/{form-7ek43f41.js → project-j4vax3h0.js} +25 -25
- package/dist/chunks/{form-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{form-24emcxgn.js → project-j7gkfhd1.js} +26 -26
- package/dist/chunks/{form-paphc93g.js → project-j935v87r.js} +2 -2
- package/dist/chunks/{form-mzag3zw5.js → project-jgpe9gkw.js} +21 -21
- package/dist/chunks/{form-e6hmchc5.js → project-jv01nqvq.js} +5 -5
- package/dist/chunks/{form-0twxtbkf.js → project-k154e2xh.js} +30 -30
- package/dist/chunks/{form-x0wd78c0.js → project-k8q0rdfm.js} +43 -43
- package/dist/chunks/{form-1p8nc3em.js → project-kbbmey5m.js} +33 -33
- package/dist/chunks/{form-pyjnsg48.js → project-kccr456f.js} +5 -5
- package/dist/chunks/{form-kg06axw8.js → project-kg06axw8.js} +1 -1
- package/dist/chunks/{form-c2pb17nf.js → project-kgbdy0g8.js} +24 -24
- package/dist/chunks/{form-prmd6100.js → project-kqgw9f0v.js} +32 -32
- package/dist/chunks/{form-rh2xq39j.js → project-kz51atke.js} +18 -18
- package/dist/chunks/{form-ag4rn41e.js → project-m70sbz6t.js} +4 -4
- package/dist/chunks/{form-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-71xf56m3.js → project-mqxgdb0e.js} +24 -24
- package/dist/chunks/{form-0s1e1pf5.js → project-mt1h0n0p.js} +20 -20
- package/dist/chunks/{form-73tb2d7t.js → project-mvfsc1pv.js} +3 -3
- package/dist/chunks/{form-tfx62rqv.js → project-n5svd4h5.js} +35 -35
- package/dist/chunks/{form-4j1v6vvv.js → project-n7wts09c.js} +4 -4
- package/dist/chunks/{form-9gga9nrc.js → project-ng555z98.js} +11 -11
- package/dist/chunks/{form-rk93ytwn.js → project-njr1pezb.js} +8 -8
- package/dist/chunks/{form-xg9t41r3.js → project-nng2ktcm.js} +2 -2
- package/dist/chunks/{form-4xkpg0wv.js → project-nrm3zwkn.js} +6 -6
- package/dist/chunks/{form-2hjtz03m.js → project-nvfjhanm.js} +18 -18
- package/dist/chunks/{form-cj6rzf7k.js → project-nxf0cefn.js} +11 -11
- package/dist/chunks/{form-2464tg96.js → project-nxhjwxrp.js} +11 -11
- package/dist/chunks/{form-kbya2g6z.js → project-nya1qvzg.js} +15 -15
- package/dist/chunks/{form-fswk7hek.js → project-nyr3eh2k.js} +1 -1
- package/dist/chunks/{form-94np39z2.js → project-p1wf2k30.js} +9 -9
- package/dist/chunks/{form-r6dxm90c.js → project-p2nh6kz3.js} +5 -5
- package/dist/chunks/{form-1tkc0b12.js → project-pcdbzj1w.js} +11 -11
- package/dist/chunks/project-pf31ssb9.js +18 -0
- package/dist/chunks/{form-e1zg437k.js → project-phwvevj1.js} +30 -30
- package/dist/chunks/{form-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{form-t3g6pxg0.js → project-q38wwtxf.js} +91 -91
- package/dist/chunks/{form-t56yk56z.js → project-q3q65nqm.js} +12 -12
- package/dist/chunks/{form-sw3tg7qr.js → project-q6d4cs3t.js} +58 -58
- package/dist/chunks/{form-esmaevsk.js → project-qb5fn5h1.js} +17 -17
- package/dist/chunks/{form-hqgez0f8.js → project-qd3jn8mb.js} +82 -82
- package/dist/chunks/{form-h0m8g62z.js → project-qfzxbkvw.js} +10 -10
- package/dist/chunks/{form-gkfk1ff3.js → project-qks5x4dz.js} +9 -9
- package/dist/chunks/{form-31ymd36f.js → project-qpmbjarr.js} +63 -63
- package/dist/chunks/{form-6n88yxkj.js → project-qs001aqx.js} +11 -11
- package/dist/chunks/{form-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{form-15nepkqg.js → project-qvb3nf84.js} +8 -8
- package/dist/chunks/{form-j24mk0r1.js → project-qy64m5q3.js} +11 -11
- package/dist/chunks/{form-fgmem6tq.js → project-r3f0tkv4.js} +28 -28
- package/dist/chunks/{form-d6zg999z.js → project-r70c2fyq.js} +6 -6
- package/dist/chunks/{form-r9mregkx.js → project-r9mregkx.js} +2 -2
- package/dist/chunks/{form-4ykyx8vs.js → project-rew6fqm6.js} +34 -34
- package/dist/chunks/{form-3e9pe5ze.js → project-rmrfqh0b.js} +14 -14
- package/dist/chunks/{form-xeshd39k.js → project-rqx3cqxa.js} +17 -17
- package/dist/chunks/{form-axryf22p.js → project-rsb1fe67.js} +5 -5
- package/dist/chunks/{form-yqp46f6p.js → project-s2mphvxx.js} +17 -17
- package/dist/chunks/{form-b447kr2a.js → project-s33pnk4k.js} +30 -30
- package/dist/chunks/{form-yrznvahk.js → project-s4enseaf.js} +2 -2
- package/dist/chunks/{form-dgdatac4.js → project-sprgxkek.js} +25 -25
- package/dist/chunks/{form-f2ck635b.js → project-spvpjky1.js} +10 -10
- package/dist/chunks/{form-8hqxenar.js → project-ssqjd48r.js} +10 -10
- package/dist/chunks/{form-qjbrcyxd.js → project-svp0raxt.js} +37 -37
- package/dist/chunks/{form-eaj1djv9.js → project-t550f9t1.js} +8 -8
- package/dist/chunks/{form-tnbypbhe.js → project-t6jazmpc.js} +17 -17
- package/dist/chunks/{form-75s9xry6.js → project-t9rwkrx5.js} +22 -22
- package/dist/chunks/{form-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tcezcvh9.js → project-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{form-d45djpte.js → project-tj0j24wc.js} +12 -12
- package/dist/chunks/{form-f8mg9gyz.js → project-tje4b568.js} +10 -10
- package/dist/chunks/{form-qvn3tka3.js → project-trn0ebkj.js} +2 -2
- package/dist/chunks/{form-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{form-zc81rp9a.js → project-vasn832y.js} +23 -23
- package/dist/chunks/{form-vc4e6k4r.js → project-vc4e6k4r.js} +1 -1
- package/dist/chunks/{form-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{form-abehngfh.js → project-vjn9t6js.js} +47 -47
- package/dist/chunks/{form-5a0rkgkm.js → project-vrhghmab.js} +20 -20
- package/dist/chunks/{form-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{form-nj2exdv8.js → project-vzmvb9yb.js} +16 -16
- package/dist/chunks/{form-za6hx6wm.js → project-w28pchw6.js} +9 -9
- package/dist/chunks/{form-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-reen7spn.js → project-w5gmehn1.js} +41 -41
- package/dist/chunks/{form-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{form-j4tst3gk.js → project-wh08pv6v.js} +20 -20
- package/dist/chunks/{form-bv4kvpvk.js → project-wj80fc1y.js} +23 -23
- package/dist/chunks/{form-y85e4phv.js → project-wv19dcf5.js} +20 -20
- package/dist/chunks/{form-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{form-w4zk9745.js → project-x353b1jt.js} +8 -8
- package/dist/chunks/{form-w2sm5ssb.js → project-x4m2chzc.js} +4 -4
- package/dist/chunks/{form-h2fnsspk.js → project-x4t6e216.js} +11 -11
- package/dist/chunks/{form-mqqr0pb6.js → project-xcs774s4.js} +17 -17
- package/dist/chunks/{form-k2h4r4s0.js → project-xdk9p2qn.js} +21 -21
- package/dist/chunks/{form-jzzy94zk.js → project-xhmq8qgk.js} +9 -9
- package/dist/chunks/{form-x25rkjwp.js → project-xhyapkwc.js} +11 -11
- package/dist/chunks/{form-xz722xdc.js → project-xk3yn2qn.js} +15 -15
- package/dist/chunks/{form-8wntykbh.js → project-xqaynjaq.js} +11 -11
- package/dist/chunks/{form-ev3qxag4.js → project-xyfdqq7j.js} +17 -17
- package/dist/chunks/{form-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-4g59p92v.js → project-y4c4dmb1.js} +22 -22
- package/dist/chunks/{form-dpkg50ah.js → project-y71avatq.js} +4 -4
- package/dist/chunks/{form-ckrmy1qx.js → project-yeem3wz9.js} +12 -12
- package/dist/chunks/{form-bevp2kp2.js → project-ynanzy5q.js} +5 -5
- package/dist/chunks/{form-3be45edw.js → project-ynnjg6pe.js} +10 -10
- package/dist/chunks/{form-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{form-nedb85dc.js → project-yyfky2bj.js} +1 -1
- package/dist/chunks/{form-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-xe7fems8.js → project-z10nccyy.js} +40 -40
- package/dist/chunks/{form-6ge2d8aw.js → project-z3evvbyc.js} +22 -22
- package/dist/chunks/{form-m07et3yq.js → project-z4fsc67a.js} +19 -19
- package/dist/chunks/{form-qzenrqsn.js → project-zcq0p0qp.js} +10 -10
- package/dist/chunks/{form-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{form-qm7jrdpz.js → project-zex37ywk.js} +6 -6
- package/dist/chunks/{form-vm4ppm64.js → project-zfcp8yb0.js} +3 -3
- package/dist/chunks/{form-263s9v33.js → project-zfq65hpb.js} +13 -13
- package/dist/chunks/{form-qefbaqqz.js → project-zjdzpahr.js} +30 -30
- package/dist/chunks/{form-5cd5fjqe.js → project-zmv5twzp.js} +1 -1
- package/dist/chunks/{form-ez2razam.js → project-znhn1sj3.js} +20 -20
- package/dist/chunks/{form-fvbmgar6.js → project-zpff3ese.js} +21 -21
- package/dist/chunks/{form-qhhnphw5.js → project-zpn9qnw3.js} +4 -4
- package/dist/chunks/{form-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-034vs93c.js → project-zv8bg2tt.js} +18 -18
- package/dist/chunks/{form-426fp41w.js → project-zw3eb4dv.js} +24 -24
- package/dist/chunks/{form-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/chunks/{form-cp29dvgs.js → project-zxtan7te.js} +35 -35
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +119 -119
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +90 -90
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- 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 +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- 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/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +121 -121
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/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 +4 -4
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/form-cfpwp5xv.js +0 -26
- package/dist/chunks/form-gbadjzag.js +0 -4
- package/dist/chunks/form-phz3h32g.js +0 -18
- package/dist/chunks/form-xkp71aat.js +0 -247
- /package/dist/chunks/{form-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{form-hrnqkpcd.js → project-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-twg0f83k.js → project-twg0f83k.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-xdk9p2qn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info20
|
|
9
|
+
} from "./project-qs001aqx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info22
|
|
12
|
+
} from "./project-ag9w8cw1.js";
|
|
13
13
|
import {
|
|
14
14
|
Info17
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-34rkz0x9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info19
|
|
18
|
+
} from "./project-7gvwkz6m.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./project-0jwsre1p.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info18
|
|
24
|
+
} from "./project-jv01nqvq.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info13
|
|
27
|
+
} from "./project-1ay21w3q.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./project-zpn9qnw3.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./project-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info22, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info20, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info20, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info19, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info18, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service78,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node83,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service78 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service78.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured11(options) {
|
|
210
|
+
return makeLocationNode({ service: Service78, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node83 = configured11();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options10, Service78, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured11, node83, exports_select };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-tj0j24wc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./project-4gdq9s16.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-8ke57jkr.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service57;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID13.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make7();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make7, LMStudioPlugin2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
11
|
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -49,7 +49,7 @@ var Plugin35 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin35, exports_exa };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-njr1pezb.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/amazon-bedrock.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* ctx.integration.transform((editor) => {
|
|
24
24
|
editor.method.update({
|
|
25
|
-
integrationID:
|
|
25
|
+
integrationID: ID14.amazonBedrock,
|
|
26
26
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
27
27
|
});
|
|
28
28
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service47,
|
|
6
|
+
node50
|
|
7
|
+
} from "./project-zw3eb4dv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service39,
|
|
17
|
+
node: () => node42,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service39 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service47;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service39.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node42 = makeLocationNode({ service: Service39, layer, deps: [node50] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service39, readText2, syncTextBom2, node42, exports_file_mutation };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./project-20pdxw1w.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service14,
|
|
11
|
+
node17
|
|
12
|
+
} from "./project-k154e2xh.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
19
19
|
__export(exports_filesystem, {
|
|
20
|
-
Content: () =>
|
|
20
|
+
Content: () => Content2,
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event2,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
|
-
ListInput: () =>
|
|
29
|
+
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
|
-
NotFoundError: () =>
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
ReadInput: () => ReadInput2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service13,
|
|
34
34
|
Submatch: () => Submatch2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node16
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import path from "path";
|
|
@@ -44,18 +44,18 @@ var ReadInput2 = Schema.Struct({
|
|
|
44
44
|
path: RelativePath2
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
48
48
|
path: RelativePath2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Content2 = Schema.Struct({
|
|
52
52
|
uri: Schema.String,
|
|
53
53
|
name: Schema.String.pipe(Schema.optional),
|
|
54
54
|
content: Schema.String,
|
|
55
55
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
56
56
|
mime: Schema.String
|
|
57
57
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
58
|
-
var
|
|
58
|
+
var ListInput2 = Schema.Struct({
|
|
59
59
|
path: Schema.String.pipe(Schema.optional)
|
|
60
60
|
});
|
|
61
61
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
78
78
|
limit: Schema.optionalKey(PositiveInt2)
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
|
-
var
|
|
81
|
+
var Event2 = FileSystem.Event;
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class Service13 extends Context.Service()("@opencode/FileSystem") {
|
|
84
84
|
}
|
|
85
|
-
var baseLayer = Layer.effect(
|
|
85
|
+
var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
86
86
|
const fs = yield* FSUtil.Service;
|
|
87
|
-
const location = yield*
|
|
88
|
-
const search = yield*
|
|
87
|
+
const location = yield* Service75;
|
|
88
|
+
const search = yield* Service14;
|
|
89
89
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
90
90
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
91
91
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
96
96
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
97
97
|
return { absolute, real, directory: location.directory };
|
|
98
98
|
});
|
|
99
|
-
return
|
|
99
|
+
return Service13.of({
|
|
100
100
|
find: search.find,
|
|
101
101
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
102
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
103
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
102
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
103
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
104
104
|
if (info.type !== "File")
|
|
105
105
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
106
106
|
return {
|
|
107
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
107
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
108
108
|
mime: FSUtil.mimeType(target.real)
|
|
109
109
|
};
|
|
110
110
|
}),
|
|
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
131
|
+
var node16 = makeLocationNode({
|
|
132
|
+
service: Service13,
|
|
133
133
|
layer: baseLayer,
|
|
134
|
-
deps: [FSUtil.node,
|
|
134
|
+
deps: [FSUtil.node, node80, node17]
|
|
135
135
|
});
|
|
136
136
|
|
|
137
|
-
export { FindInput2, ReadInput2,
|
|
137
|
+
export { FindInput2, ReadInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-fkn6p80h.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-fcvjwfx6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./project-63xctefh.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service56
|
|
16
|
+
} from "./project-cmyn6vk5.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-bjmdedkt.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./project-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service36;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service56;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID9.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service36;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service56;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID9.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID9.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|