@opencode/core 0.0.0-dev-19570 → 0.0.0-dev-19572
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/app-00f3vtpz.js +26 -0
- package/dist/chunks/{bus-1gcg2swa.js → app-09fg0r3g.js} +6 -6
- package/dist/chunks/{bus-2djskdmr.js → app-0artwwxx.js} +3 -3
- package/dist/chunks/{bus-1r2qyred.js → app-0br9fxds.js} +8 -8
- package/dist/chunks/{bus-njsca4c1.js → app-0cgxzyp5.js} +11 -11
- package/dist/chunks/{bus-6g49tt7n.js → app-0cysygtg.js} +33 -33
- package/dist/chunks/{bus-2k8khapm.js → app-0jwsre1p.js} +5 -5
- package/dist/chunks/{bus-y95q8cn7.js → app-0kwc5anp.js} +46 -46
- package/dist/chunks/{bus-64wrsgp1.js → app-0nd20gz5.js} +62 -62
- package/dist/chunks/{bus-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-ger25q1p.js → app-0pb75hch.js} +5 -5
- package/dist/chunks/{bus-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{bus-ghhf1gy0.js → app-0r6zt4xr.js} +8 -8
- package/dist/chunks/{bus-g79e3arp.js → app-0yk09q55.js} +4 -4
- package/dist/chunks/{bus-th0k3b77.js → app-197zf3mp.js} +26 -26
- package/dist/chunks/{bus-1bbkgx8g.js → app-1bbkgx8g.js} +1 -1
- package/dist/chunks/{bus-4agbkdj3.js → app-1cbk4m95.js} +12 -12
- package/dist/chunks/{bus-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-a0rbwe21.js → app-1dbhq1b6.js} +4 -4
- package/dist/chunks/{bus-4fgnkb88.js → app-1fv46ncp.js} +5 -5
- package/dist/chunks/{bus-b52vn635.js → app-1r9f1gxg.js} +24 -24
- package/dist/chunks/{bus-v00d0rf7.js → app-1v0gvqr8.js} +24 -24
- package/dist/chunks/app-1x11rq2a.js +18 -0
- package/dist/chunks/{bus-56gdpj1q.js → app-1ygqh575.js} +9 -9
- package/dist/chunks/{bus-g6ddfetr.js → app-219neeqh.js} +5 -5
- package/dist/chunks/{bus-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{bus-2402vzrj.js → app-2402vzrj.js} +1 -1
- package/dist/chunks/{bus-wzvxt2x2.js → app-265kqrgy.js} +1 -1
- package/dist/chunks/{bus-z63w68vq.js → app-29x78va6.js} +6 -6
- package/dist/chunks/{bus-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-1dcmyt7q.js → app-2yh32t8t.js} +17 -17
- package/dist/chunks/{bus-8de9g2wa.js → app-30846h32.js} +8 -8
- package/dist/chunks/{bus-rncwbxby.js → app-32r2zhfd.js} +15 -15
- package/dist/chunks/{bus-nxs71vds.js → app-33n3bzdy.js} +8 -8
- package/dist/chunks/{bus-234dm2bj.js → app-35wynegs.js} +2 -2
- package/dist/chunks/{bus-7gvwkz6m.js → app-3cz8rj72.js} +5 -5
- package/dist/chunks/{bus-kbj8wr2s.js → app-3dz6zcjs.js} +40 -40
- package/dist/chunks/{bus-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-j83byb14.js → app-3j8sdtpz.js} +4 -4
- package/dist/chunks/{bus-4b40vsya.js → app-3jk7yf42.js} +1 -1
- package/dist/chunks/{bus-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-qryfzg1h.js → app-3v43m9xt.js} +2 -2
- package/dist/chunks/{bus-th5xa07d.js → app-3z60344c.js} +6 -6
- package/dist/chunks/{bus-nhy5jxhy.js → app-47gsdddb.js} +5 -5
- package/dist/chunks/{bus-qv39a0h3.js → app-48cm3ese.js} +11 -11
- package/dist/chunks/{bus-462wv2j1.js → app-4bdt2shk.js} +20 -20
- package/dist/chunks/{bus-dphstccg.js → app-4cqajk2a.js} +11 -11
- package/dist/chunks/{bus-tns9284t.js → app-4cqdxaxy.js} +22 -22
- package/dist/chunks/{bus-neh0hyzc.js → app-4hd03gdg.js} +26 -26
- package/dist/chunks/{bus-j8mgqwvx.js → app-4m2spwb8.js} +33 -33
- package/dist/chunks/{bus-a7afs06d.js → app-4smtzgwz.js} +24 -24
- package/dist/chunks/{bus-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-nnm0m2vm.js → app-5e926cyq.js} +14 -14
- package/dist/chunks/{bus-y8dsy1ds.js → app-5rvfpeh9.js} +4 -4
- package/dist/chunks/{bus-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-hkyvkxds.js → app-5vtmfx0c.js} +29 -29
- package/dist/chunks/{bus-kbmmzrfa.js → app-5xtgfte3.js} +8 -8
- package/dist/chunks/{bus-8ptxwh5a.js → app-60rvf92p.js} +27 -27
- package/dist/chunks/{bus-ytjjq03a.js → app-64vbpm9f.js} +27 -27
- package/dist/chunks/{bus-bcerr2wv.js → app-655w3vh0.js} +28 -28
- package/dist/chunks/{bus-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{bus-w3wqnbwq.js → app-6dk7y5gt.js} +10 -10
- package/dist/chunks/{bus-qpmbtp2f.js → app-6h41fqv2.js} +55 -55
- package/dist/chunks/{bus-jybjc72p.js → app-6jprretj.js} +16 -16
- package/dist/chunks/{bus-sqh6nayk.js → app-6mcq7jm9.js} +14 -14
- package/dist/chunks/{bus-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-vj81g6vn.js → app-6p3xbzsx.js} +4 -4
- package/dist/chunks/{bus-5g77nda4.js → app-6p8kmet2.js} +18 -18
- package/dist/chunks/{bus-nja4g5ja.js → app-6q9nc399.js} +18 -18
- package/dist/chunks/{bus-qynpn6w3.js → app-6s8jsf7y.js} +9 -9
- package/dist/chunks/{bus-hj3k4jh9.js → app-6y3a7z7q.js} +4 -4
- package/dist/chunks/{bus-4td4y4b3.js → app-70d2s7af.js} +1 -1
- package/dist/chunks/{bus-71q4at8m.js → app-71q4at8m.js} +1 -1
- package/dist/chunks/{bus-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-kjtbq1wq.js → app-7cmqstha.js} +24 -24
- package/dist/chunks/{bus-tgnjgtxt.js → app-7d2gt124.js} +3 -3
- package/dist/chunks/{bus-pw6fdyzd.js → app-7gbj7169.js} +15 -15
- package/dist/chunks/{bus-8ppq07x6.js → app-7s2tn799.js} +8 -8
- package/dist/chunks/{bus-6anwy9fs.js → app-7yqjxrmz.js} +6 -6
- package/dist/chunks/{bus-g8vphm7h.js → app-80caeh49.js} +10 -10
- package/dist/chunks/{bus-27fdv82p.js → app-843pd2wp.js} +7 -7
- package/dist/chunks/{bus-ptn3epm2.js → app-874ckvrc.js} +25 -25
- package/dist/chunks/{bus-a5fdd1f3.js → app-88hjze0t.js} +9 -9
- package/dist/chunks/{bus-894aw507.js → app-89jzje1y.js} +49 -49
- package/dist/chunks/{bus-svmeqp0f.js → app-8bkz8jq3.js} +14 -14
- package/dist/chunks/{bus-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-cxjxmgke.js → app-8f7jysjc.js} +10 -10
- package/dist/chunks/{bus-8p4f9s12.js → app-8p4f9s12.js} +2 -2
- package/dist/chunks/{bus-0ft5728k.js → app-8vj209te.js} +13 -13
- package/dist/chunks/{bus-xdgxy0vz.js → app-8xj0m62p.js} +15 -15
- package/dist/chunks/{bus-377tdzm5.js → app-93hpb89x.js} +3 -3
- package/dist/chunks/{bus-0ch8qyvr.js → app-947nexvd.js} +24 -24
- package/dist/chunks/{bus-k1pnz2cv.js → app-98a6070c.js} +10 -10
- package/dist/chunks/{bus-gnrgb9v9.js → app-9kregr37.js} +18 -18
- package/dist/chunks/{bus-271p385v.js → app-9vh8w842.js} +11 -11
- package/dist/chunks/{bus-a1bz86dw.js → app-a1bz86dw.js} +3 -3
- package/dist/chunks/{bus-ratrq7cm.js → app-a46v4e4v.js} +4 -4
- package/dist/chunks/{bus-s9d6zh0h.js → app-a63ae20j.js} +33 -33
- package/dist/chunks/{bus-mp5cac3t.js → app-a6n9gdfw.js} +26 -26
- package/dist/chunks/{bus-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-b51m2zsk.js → app-aehnz2rb.js} +25 -25
- package/dist/chunks/{bus-t1c45aet.js → app-ak5w0fh7.js} +37 -37
- package/dist/chunks/{bus-xrpv7mmk.js → app-anm66war.js} +9 -9
- package/dist/chunks/{bus-7v8mrxea.js → app-av4jxsn8.js} +27 -27
- package/dist/chunks/{bus-phre0exm.js → app-ax6xg82t.js} +43 -43
- package/dist/chunks/{bus-61r41eaq.js → app-az4m85wh.js} +18 -18
- package/dist/chunks/{bus-30pqz63q.js → app-b061vjp9.js} +32 -32
- package/dist/chunks/{bus-67dz7xe6.js → app-b11403r6.js} +4 -4
- package/dist/chunks/{bus-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-d171mqxg.js → app-ba9gbaff.js} +20 -20
- package/dist/chunks/{bus-hfdr1yjj.js → app-bajakh74.js} +4 -4
- package/dist/chunks/{bus-d16qd7aj.js → app-be40ghdv.js} +2 -2
- package/dist/chunks/{bus-e5nv3ght.js → app-bndc73cn.js} +5 -5
- package/dist/chunks/{bus-jggyssmj.js → app-brkvv4wc.js} +16 -16
- package/dist/chunks/{bus-kbedzpe2.js → app-bzrt576w.js} +14 -14
- package/dist/chunks/{bus-9yzj8nsj.js → app-c0m6k9pb.js} +7 -7
- package/dist/chunks/{bus-w5f57rs9.js → app-c3s2gn8c.js} +12 -12
- package/dist/chunks/{bus-n6zxh35m.js → app-c8r9g22t.js} +4 -4
- package/dist/chunks/{bus-cfpkc3c9.js → app-cfpkc3c9.js} +2 -2
- package/dist/chunks/{bus-vqq20hcc.js → app-cgr3n6sw.js} +47 -47
- package/dist/chunks/{bus-6jb52xp7.js → app-cgv5bxzw.js} +11 -11
- package/dist/chunks/{bus-fgw8ghar.js → app-cvsx2zmm.js} +20 -20
- package/dist/chunks/{bus-k04vznwt.js → app-cvtmmhw6.js} +1 -1
- package/dist/chunks/{bus-846kb21p.js → app-cw9sppwf.js} +6 -6
- package/dist/chunks/{bus-zwreznzq.js → app-cwyf4tzg.js} +45 -45
- package/dist/chunks/{bus-zcrspsvn.js → app-ddt2bs9e.js} +4 -4
- package/dist/chunks/{bus-m8kaps5v.js → app-dxzb6m8c.js} +17 -17
- package/dist/chunks/{bus-6dkvr0nf.js → app-e1e2cnnw.js} +7 -7
- package/dist/chunks/{bus-fm1a330d.js → app-e8ztz21q.js} +12 -12
- package/dist/chunks/{bus-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-4jk0qxj4.js → app-eq20ba7x.js} +4 -4
- package/dist/chunks/{bus-hbd7vws1.js → app-eq6c3fte.js} +4 -4
- package/dist/chunks/{bus-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-ssx0akr1.js → app-evy5tsgm.js} +8 -8
- package/dist/chunks/{bus-ybkecxqz.js → app-exktqakr.js} +15 -15
- package/dist/chunks/{bus-ntzps28c.js → app-f2c9c43z.js} +23 -23
- package/dist/chunks/{bus-f828m53h.js → app-f828m53h.js} +2 -2
- package/dist/chunks/{bus-9gs77c9s.js → app-f9fxyrbg.js} +170 -170
- package/dist/chunks/{bus-w3tyj9k1.js → app-fak0r9cx.js} +6 -6
- package/dist/chunks/{bus-1g2kwc9g.js → app-fdn4qskz.js} +11 -11
- package/dist/chunks/{bus-pekwdztj.js → app-ftm7k12t.js} +15 -15
- package/dist/chunks/{bus-m733rx17.js → app-fw0n5e24.js} +6 -6
- package/dist/chunks/{bus-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{bus-2xyebys0.js → app-fyygja3k.js} +17 -17
- package/dist/chunks/{bus-hfxc90m1.js → app-g0nkfm81.js} +18 -18
- package/dist/chunks/{bus-nk8q2g86.js → app-g24jq9rf.js} +12 -12
- package/dist/chunks/{bus-17xskt1m.js → app-g6anmqeq.js} +9 -9
- package/dist/chunks/{bus-5ze6kv9s.js → app-ga77xda9.js} +11 -11
- package/dist/chunks/{bus-1971h2ty.js → app-gb2m4tsa.js} +47 -47
- package/dist/chunks/{bus-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-3fc6dm20.js → app-gdvy8fx6.js} +4 -4
- package/dist/chunks/{bus-wwkhhn1t.js → app-gek4cbns.js} +20 -20
- package/dist/chunks/{bus-cftjh0pp.js → app-ggn5tyje.js} +12 -12
- package/dist/chunks/{bus-cby4dax6.js → app-gmrayv9w.js} +24 -24
- package/dist/chunks/{bus-gd4ngw4f.js → app-gt5v7hwy.js} +13 -13
- package/dist/chunks/{bus-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{bus-h03wrkyp.js → app-h03wrkyp.js} +2 -2
- package/dist/chunks/{bus-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-ggnfx1zm.js → app-h7btkfkz.js} +86 -86
- package/dist/chunks/{bus-gsx0ryk4.js → app-h7ygw6q4.js} +9 -9
- package/dist/chunks/{bus-yms94mzx.js → app-hcc3dcqg.js} +23 -23
- package/dist/chunks/{bus-h08befas.js → app-hjzkvxfk.js} +14 -14
- package/dist/chunks/{bus-p1wf2k30.js → app-hrvd6t1f.js} +9 -9
- package/dist/chunks/{bus-5hhq8srk.js → app-hte7rbq0.js} +16 -16
- package/dist/chunks/{bus-hp2wwktp.js → app-hv8g670q.js} +13 -13
- package/dist/chunks/app-hxa7m5za.js +4 -0
- package/dist/chunks/{bus-cgns8hyh.js → app-hz9j0f4m.js} +8 -8
- package/dist/chunks/{bus-4pk39vze.js → app-j0j00sjx.js} +20 -20
- package/dist/chunks/{bus-d01nnmxe.js → app-j1t5chsy.js} +29 -29
- package/dist/chunks/{bus-htxnrknq.js → app-j2cafn7q.js} +4 -4
- package/dist/chunks/{bus-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-vhvgae7m.js → app-j6e693f4.js} +11 -11
- package/dist/chunks/{bus-paphc93g.js → app-j935v87r.js} +2 -2
- package/dist/chunks/{bus-vqy652gj.js → app-jk5d0mzv.js} +85 -85
- package/dist/chunks/{bus-8gs75axt.js → app-jkcmfa2v.js} +18 -18
- package/dist/chunks/{bus-vgrnjjxn.js → app-jm9980x0.js} +20 -20
- package/dist/chunks/{bus-kskytfej.js → app-jng70mr7.js} +13 -13
- package/dist/chunks/{bus-vwddtshc.js → app-jpt5ba8t.js} +9 -9
- package/dist/chunks/{bus-pd33rgkw.js → app-jth5rdpp.js} +19 -19
- package/dist/chunks/{bus-641kt8g4.js → app-kacwvw93.js} +19 -19
- package/dist/chunks/{bus-14e5s19a.js → app-kaef12we.js} +9 -9
- package/dist/chunks/{bus-kg06axw8.js → app-kg06axw8.js} +1 -1
- package/dist/chunks/{bus-22rzttx5.js → app-kh88907v.js} +9 -9
- package/dist/chunks/{bus-kq4p5btq.js → app-kp27de7n.js} +16 -16
- package/dist/chunks/{bus-rp9eysdn.js → app-krrqw77a.js} +7 -7
- package/dist/chunks/{bus-30mvjzmx.js → app-kt8w7nyt.js} +26 -26
- package/dist/chunks/{bus-ctzssw83.js → app-m3zza4qd.js} +8 -8
- package/dist/chunks/{bus-1mhgpmmh.js → app-m7w0f2z5.js} +22 -22
- package/dist/chunks/{bus-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-13f55rxq.js → app-memqfyeh.js} +10 -10
- package/dist/chunks/{bus-nt8hxhfc.js → app-mh7g7new.js} +3 -3
- package/dist/chunks/{bus-nv5vn7qx.js → app-mw1s64b6.js} +4 -4
- package/dist/chunks/{bus-7t19srph.js → app-mz6ae2yf.js} +1 -1
- package/dist/chunks/{bus-tmfmshf6.js → app-n08xh122.js} +10 -10
- package/dist/chunks/{bus-23saz1kp.js → app-n2ccmr4d.js} +11 -11
- package/dist/chunks/{bus-1ffj5hr7.js → app-n32dagvk.js} +11 -11
- package/dist/chunks/{bus-n21kq4ae.js → app-nfsehd0f.js} +11 -11
- package/dist/chunks/{bus-trqrstes.js → app-nkwnz0wb.js} +14 -14
- package/dist/chunks/{bus-wam37p85.js → app-nxbcabge.js} +10 -10
- package/dist/chunks/{bus-wzk3psm3.js → app-nzzz2haw.js} +4 -4
- package/dist/chunks/{bus-m9wy7qrr.js → app-pjedbq3k.js} +6 -6
- package/dist/chunks/{bus-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{bus-2ckzgqv3.js → app-ppkwfznj.js} +23 -23
- package/dist/chunks/{bus-xtgghfpp.js → app-pt5tvm9y.js} +9 -9
- package/dist/chunks/{bus-prqh86n1.js → app-pv6ewt2y.js} +11 -11
- package/dist/chunks/{bus-9ya5zr4m.js → app-q2f8db2z.js} +4 -4
- package/dist/chunks/{bus-shjsgrxb.js → app-qcjwwegh.js} +13 -13
- package/dist/chunks/{bus-ezae1qs8.js → app-qd8wwfxt.js} +9 -9
- package/dist/chunks/{bus-zt4wyys7.js → app-qeb52aay.js} +26 -26
- package/dist/chunks/{bus-djx5tkqn.js → app-qnmb4df7.js} +5 -5
- package/dist/chunks/{bus-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-zh3ex7ps.js → app-qt529f91.js} +10 -10
- package/dist/chunks/{bus-amrfq6w6.js → app-qv6mxc70.js} +30 -30
- package/dist/chunks/{bus-0bmcfma8.js → app-qz319qzx.js} +13 -13
- package/dist/chunks/{bus-0rvzsnzh.js → app-r9asyhme.js} +11 -11
- package/dist/chunks/{bus-r9mregkx.js → app-r9mregkx.js} +2 -2
- package/dist/chunks/{bus-334mtn2p.js → app-rnp7s5g0.js} +14 -14
- package/dist/chunks/{bus-2f536cz1.js → app-rnwqg9yc.js} +9 -9
- package/dist/chunks/{bus-2gp10rzn.js → app-rtjvja3r.js} +5 -5
- package/dist/chunks/{bus-j0n016qx.js → app-s04efnj3.js} +25 -25
- package/dist/chunks/{bus-yrznvahk.js → app-s4enseaf.js} +2 -2
- package/dist/chunks/{bus-jw80jp6b.js → app-s8j6jbjj.js} +21 -21
- package/dist/chunks/{bus-g7392d0a.js → app-s9a4f9r5.js} +32 -32
- package/dist/chunks/{bus-bmfd5zff.js → app-sd7bj7eq.js} +46 -46
- package/dist/chunks/{bus-ec8389mk.js → app-shh6fz4q.js} +4 -4
- package/dist/chunks/{bus-m437k3d3.js → app-sm299svg.js} +30 -30
- package/dist/chunks/{bus-55sraxqh.js → app-stbv4b6b.js} +10 -10
- package/dist/chunks/{bus-mhct95dk.js → app-std511v1.js} +38 -38
- package/dist/chunks/{bus-3fv80nb4.js → app-t27ydrk5.js} +33 -33
- package/dist/chunks/{bus-s8d7rejh.js → app-t550f9t1.js} +4 -4
- package/dist/chunks/{bus-gndjvj2z.js → app-t8jgb82e.js} +11 -11
- package/dist/chunks/{bus-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-krxgbyqk.js → app-tbcfefrg.js} +27 -27
- package/dist/chunks/{bus-89znhe33.js → app-tcezcvh9.js} +4 -4
- package/dist/chunks/{bus-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{bus-wz2jsvc0.js → app-thsenk6x.js} +20 -20
- package/dist/chunks/{bus-c78bbtc9.js → app-tn0aqsam.js} +5 -5
- package/dist/chunks/{bus-f9jtafww.js → app-tn5dc3vv.js} +20 -20
- package/dist/chunks/{bus-qd28bed1.js → app-tss56qfk.js} +18 -18
- package/dist/chunks/{bus-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-4dd5jxqt.js → app-twcq5tv4.js} +15 -15
- package/dist/chunks/{bus-epdwxhd2.js → app-vcmt6bb3.js} +6 -6
- package/dist/chunks/{bus-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-6dc8cscg.js → app-vkfqqgrz.js} +34 -34
- package/dist/chunks/{bus-jv01nqvq.js → app-vmq7ehpy.js} +5 -5
- package/dist/chunks/{bus-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/app-w2xtz9sy.js +247 -0
- package/dist/chunks/{bus-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-nvmga65c.js → app-wavq5vqb.js} +1 -1
- package/dist/chunks/{bus-0q85yanv.js → app-wb658w3t.js} +14 -14
- package/dist/chunks/{bus-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{bus-7d52b4ts.js → app-wdwjsxs3.js} +1 -1
- package/dist/chunks/{bus-rxx5xmz4.js → app-webf8anp.js} +58 -58
- package/dist/chunks/{bus-4ph09amq.js → app-wft93wjr.js} +9 -9
- package/dist/chunks/{bus-fpt1t5k9.js → app-wx73y07f.js} +22 -22
- package/dist/chunks/{bus-5zr57rw5.js → app-wz9vdazb.js} +22 -22
- package/dist/chunks/{bus-3bdnfhpy.js → app-x0h4kn5x.js} +28 -28
- package/dist/chunks/{bus-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-hk44n11j.js → app-x52yt50w.js} +19 -19
- package/dist/chunks/{bus-6kt1brbc.js → app-x6bwxbe7.js} +29 -29
- package/dist/chunks/{bus-pk8w8bk6.js → app-xqrmy91b.js} +6 -6
- package/dist/chunks/{bus-9nkb7wgy.js → app-xx3k5fjp.js} +295 -295
- package/dist/chunks/{bus-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-81swgkk7.js → app-y5mrfvw4.js} +9 -9
- package/dist/chunks/{bus-dpkg50ah.js → app-y71avatq.js} +4 -4
- package/dist/chunks/{bus-hfzqgcyy.js → app-y73wgz5k.js} +17 -17
- package/dist/chunks/{bus-4g01fjsn.js → app-ya24qazg.js} +5 -5
- package/dist/chunks/{bus-g4jtkv0q.js → app-ye3z464r.js} +28 -28
- package/dist/chunks/{bus-q6jxhr7p.js → app-ygkgm02b.js} +12 -12
- package/dist/chunks/{bus-k4ckfpra.js → app-ygmrnnnx.js} +24 -24
- package/dist/chunks/{bus-yp2x3t23.js → app-yp2x3t23.js} +1 -1
- package/dist/chunks/{bus-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-kv6faprq.js → app-yrqsvr8q.js} +14 -14
- package/dist/chunks/{bus-5ph07jxe.js → app-yy9ssmmb.js} +7 -7
- package/dist/chunks/{bus-dxr9kpty.js → app-yz2q2fez.js} +37 -37
- package/dist/chunks/{bus-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-7x2gvtfy.js → app-za6yq9hg.js} +5 -5
- package/dist/chunks/{bus-ve6nm2s5.js → app-zcqf6png.js} +6 -6
- package/dist/chunks/{bus-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-rrsck48p.js → app-znvvv44x.js} +18 -18
- package/dist/chunks/{bus-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +213 -213
- 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 +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- 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 +121 -121
- 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 +117 -117
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +119 -119
- 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 +82 -82
- 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 +364 -364
- 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 +92 -92
- 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 +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- 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 +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +92 -92
- 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 +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- 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 +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- 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 +3 -3
- package/dist/model-resolver.js +87 -87
- 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 +81 -81
- 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 +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- 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 +2 -2
- 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 +79 -79
- 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 +137 -137
- 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 +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- 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 +124 -124
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- 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 +115 -115
- package/dist/session/model-transport.js +7 -7
- 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 +1 -1
- 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 +15 -15
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +125 -125
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- 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 +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/bus-0mesazry.js +0 -4
- package/dist/chunks/bus-371w62z2.js +0 -247
- package/dist/chunks/bus-4kb6yah9.js +0 -26
- package/dist/chunks/bus-ht5y0zrb.js +0 -18
- /package/dist/chunks/{bus-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-hrnqkpcd.js → app-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-nzzz2haw.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node69
|
|
9
|
+
} from "./app-ye3z464r.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-7cmqstha.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event9,
|
|
34
|
+
ID: () => ID6,
|
|
35
|
+
Info: () => Info10,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref2,
|
|
42
|
+
Service: () => Service48,
|
|
43
|
+
node: () => node51
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event9 } from "@opencode/schema/integration";
|
|
65
|
+
var ID6 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info10 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service48 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service66;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info10.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service48.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node51 = makeLocationNode({
|
|
569
|
+
service: Service48,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node69, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info10, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service48, node51, exports_integration, Event9 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin5,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin5 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin37 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin5, exports_exa };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service41,
|
|
6
|
+
node44
|
|
7
|
+
} from "./app-cwyf4tzg.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service32,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer13,
|
|
20
|
+
node: () => node36
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service32 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service41;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer23 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service32.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node36 = makeLocationNode({
|
|
69
|
+
service: Service32,
|
|
70
|
+
layer: layer13,
|
|
71
|
+
deps: [node44, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service32, layer13, node36, exports_generate2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref3
|
|
3
|
+
} from "./app-2yh32t8t.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service43,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node46
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service43 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service43, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node46 = LayerNode.unbound(Service43, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
|
-
return
|
|
28
|
+
return Ref3.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service43, node46, canonical3, exports_location_service_map };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-vcmt6bb3.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-7d2gt124.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./app-47gsdddb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./app-2yh32t8t.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service74;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./app-0kwc5anp.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin24
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin24 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service64;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin31 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin24, exports_websearch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./app-0kwc5anp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./app-1r9f1gxg.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin28
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin28 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service64;
|
|
27
|
+
const snapshot = yield* Service60;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin27 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin28, exports_snapshot };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./app-947nexvd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./app-0kwc5anp.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-j2cafn7q.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin22
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin22 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service64;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service65;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin18 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin22, exports_compatibility };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node75
|
|
9
|
+
} from "./app-1v0gvqr8.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service71,
|
|
24
|
+
node: () => node74
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service71 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service72;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service71.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node74 = makeLocationNode({ service: Service71, layer, deps: [node75, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service71, node74, exports_ripgrep };
|