@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load3
|
|
6
|
+
} from "./project-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service58,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node62,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load3());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service58 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service58.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer23 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service58.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service58).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service58, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service58, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node62 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options7, Service58, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured7, node62, exports_watcher };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-6q44kjsg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin33,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin33 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin38 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin33, exports_tavily };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-njr1pezb.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info27,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-tj0j24wc.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
ModalModels: () => exports_models2,
|
|
20
|
+
get: () => get3
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID14.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get3(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID13.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID13.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info27.make({
|
|
92
|
+
...Info27.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID13.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get3, exports_models2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./project-74w919ya.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./project-63xctefh.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-pf31ssb9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service36;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service62), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-fcvjwfx6.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-q6d4cs3t.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Info: () => Info5,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service31,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event6 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info5 = Skill.Info;
|
|
43
|
+
var ID3 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service31 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID3.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID3.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID3.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID3.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service31.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node35 = makeLocationNode({
|
|
112
|
+
service: Service31,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID3, Name2, available2, toModelOutput3, prepare3, Service31, node35, exports_skill5, Event6 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service55
|
|
4
|
+
} from "./project-0968p0hh.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service57
|
|
8
|
+
} from "./project-4gdq9s16.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-7w99qc9d.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service66
|
|
14
|
+
} from "./project-s2mphvxx.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service52
|
|
18
|
+
} from "./project-q6d4cs3t.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service17
|
|
21
|
+
} from "./project-q38wwtxf.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./project-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make6
|
|
27
|
+
} from "./project-xqaynjaq.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
36
|
Output: () => Output3,
|
|
37
|
-
Plugin: () =>
|
|
37
|
+
Plugin: () => Plugin22,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description2,
|
|
40
|
+
name: () => name3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name3 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input3 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -68,7 +68,7 @@ var Output3 = Schema.Struct({
|
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description2 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,20 +77,20 @@ var description3 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin22 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service17;
|
|
84
|
+
const jobs = yield* Service66;
|
|
85
|
+
const agents = yield* Service55;
|
|
86
|
+
const config = yield* Service57;
|
|
87
|
+
const permission = yield* Service52;
|
|
88
|
+
const subagents = yield* make6;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name3,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
92
|
+
description: description2,
|
|
93
|
+
input: Input3,
|
|
94
94
|
output: Output3,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
@@ -111,7 +111,7 @@ var Plugin23 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name3,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin23 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID8.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
const hook = (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name3];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -207,4 +207,4 @@ ${output.output}
|
|
|
207
207
|
})
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { name3, Input3, Output3, description2, Plugin22, exports_subagent };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|