@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,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./project-8rc81fnj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make10
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make10 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service58;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make10, LoadError2, exports_module };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-fkn6p80h.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node52
|
|
12
|
+
} from "./project-g7mrm2xv.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID5,
|
|
25
|
+
Info: () => Info9,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service48,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured5,
|
|
30
|
+
node: () => node51
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID5 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info9 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID5,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info11 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID5,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service48 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured5 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service48,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node52]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info9({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service48.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID5.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node51 = configured5();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID5, Info9, NotFound3, CreateConflict2, Service48, configured5, node51, exports_workspace };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-fcvjwfx6.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service75,
|
|
12
|
+
node80
|
|
13
|
+
} from "./project-20pdxw1w.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service15,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node19
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service15 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service75;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service15.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node19 = makeLocationNode({ service: Service15, layer, deps: [node84, node80] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service15, node19, exports_rpc, define2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured10,
|
|
11
|
+
layer: () => layer24,
|
|
12
|
+
make: () => make21,
|
|
13
|
+
node: () => node73,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make21()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make21(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make21(input));
|
|
32
|
+
var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node73 = configured10();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make21, useragent2, layer24, configured10, node73, exports_app };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./project-4gdq9s16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./project-g47eftgs.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin11
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin11 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service57;
|
|
26
|
+
const image = yield* Service64;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin8 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin11, exports_image };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-fkn6p80h.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load2
|
|
12
|
+
} from "./project-pcdbzj1w.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-nng2ktcm.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service53,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node57
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service53 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service80;
|
|
59
|
-
return
|
|
59
|
+
return Service53.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load2(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node57 = makeGlobalNode({ service: Service53, layer, deps: [node85] });
|
|
129
129
|
|
|
130
|
-
export { ListInput4,
|
|
130
|
+
export { ListInput4, Service53, node57, exports_store };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,33 +1,33 @@
|
|
|
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
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event13,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info23,
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
|
+
Service: () => Service62,
|
|
21
|
+
layer: () => layer21,
|
|
22
|
+
node: () => node66
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event13 } from "@opencode/schema/command";
|
|
28
|
+
var Info23 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service62 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer21 = Layer.effect(Service62, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info23.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service62.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer20 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node66 = makeLocationNode({
|
|
75
|
+
service: Service62,
|
|
76
|
+
layer: layer21,
|
|
77
77
|
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info23, NotFoundError7, ExecutionError2, Service62, layer21, node66, exports_command5, Event13 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-6q44kjsg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-fcvjwfx6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./project-488yvfzv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID11,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-h62cg3tw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
packageName2,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-njr1pezb.js";
|
|
20
20
|
import {
|
|
21
21
|
iife2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-1kg9ymc8.js";
|
|
23
23
|
import {
|
|
24
24
|
which2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-qaymkmh1.js";
|
|
26
26
|
import {
|
|
27
27
|
configuredSettings2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-8ke57jkr.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/azure.ts
|
|
31
31
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,7 +45,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
45
45
|
var AzurePlugin2 = define({
|
|
46
46
|
id: "opencode.provider.azure",
|
|
47
47
|
effect: Effect.fn(function* (ctx) {
|
|
48
|
-
const configured = yield* configuredSettings2(
|
|
48
|
+
const configured = yield* configuredSettings2(ID14.azure);
|
|
49
49
|
const processes = yield* AppProcess.Service;
|
|
50
50
|
const bus = yield* Service79;
|
|
51
51
|
const tokens = new Map;
|
|
@@ -81,13 +81,13 @@ var AzurePlugin2 = define({
|
|
|
81
81
|
});
|
|
82
82
|
yield* ctx.integration.transform((editor) => {
|
|
83
83
|
editor.method.update({
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID14.azure,
|
|
85
85
|
method: { type: "key", label: "API key", form: form() }
|
|
86
86
|
});
|
|
87
87
|
if (!available)
|
|
88
88
|
return;
|
|
89
89
|
editor.method.update({
|
|
90
|
-
integrationID:
|
|
90
|
+
integrationID: ID14.azure,
|
|
91
91
|
method: {
|
|
92
92
|
id: methodID,
|
|
93
93
|
type: "oauth",
|
|
@@ -119,7 +119,7 @@ var AzurePlugin2 = define({
|
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
121
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
122
|
-
const connection = yield* ctx.integration.connection.active(
|
|
122
|
+
const connection = yield* ctx.integration.connection.active(ID14.azure);
|
|
123
123
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
124
124
|
return;
|
|
125
125
|
})) : undefined;
|
|
@@ -133,7 +133,7 @@ var AzurePlugin2 = define({
|
|
|
133
133
|
yield* load();
|
|
134
134
|
yield* ctx.catalog.transform((evt) => {
|
|
135
135
|
for (const item of evt.provider.list()) {
|
|
136
|
-
if (item.provider.id !==
|
|
136
|
+
if (item.provider.id !== ID14.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
137
137
|
continue;
|
|
138
138
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
139
139
|
if (resourceName)
|
|
@@ -157,11 +157,11 @@ var AzurePlugin2 = define({
|
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
160
|
-
yield* bus.subscribe(
|
|
160
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
161
161
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
162
|
-
if (evt.model.providerID !==
|
|
162
|
+
if (evt.model.providerID !== ID14.azure)
|
|
163
163
|
return;
|
|
164
|
-
const connection = yield* ctx.integration.connection.active(
|
|
164
|
+
const connection = yield* ctx.integration.connection.active(ID14.azure);
|
|
165
165
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
166
166
|
return;
|
|
167
167
|
})) : undefined;
|
|
@@ -174,7 +174,7 @@ var AzurePlugin2 = define({
|
|
|
174
174
|
evt.request.headers.delete("x-api-key");
|
|
175
175
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
176
176
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
177
|
-
}), { providerID:
|
|
177
|
+
}), { providerID: ID14.azure });
|
|
178
178
|
})
|
|
179
179
|
});
|
|
180
180
|
function resolveResourceName(settings, fallback) {
|